~ubuntu-branches/ubuntu/lucid/sound-juicer/lucid

« back to all changes in this revision

Viewing changes to debian/patches/02_autoconf.patch

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette, Emilio Pozuelo Monfort, Josselin Mouette
  • Date: 2009-07-08 00:15:24 UTC
  • mfrom: (2.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090708001524-hfin6r4zt85z8967
Tags: 2.26.1-1
[ Emilio Pozuelo Monfort ]
* Suggest gstreamer0.10-plugins-ugly rather than -bad, the twolame
  plugin has been moved to -ugly. Update the description too.
  Thanks to Fabian Greffrath.

[ Josselin Mouette ]
* Stop mentioning GNOME 2.

[ Emilio Pozuelo Monfort ]
* New upstream version.
  + Actually sets disc number. Closes: #525468.
* Update build-dependencies.
* debian/patches/01_manpage_error.patch: removed, fixed upstream.
* debian/rules: remove simple-patchsys.mk
* debian/copyright:
  - Point to GPL-2 rather than GPL.
  - Updated.
* Section is sound.
* Standards-Version is 3.8.2, no changes needed.

[ Josselin Mouette ]
* Add missing build-dependency on libcdio-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--- sound-juicer-2.26.1/aclocal.m4      2009-04-10 10:52:12.000000000 +0100
2
 
+++ sound-juicer-2.26.1.new/aclocal.m4  2009-04-13 19:04:09.000000000 +0100
3
 
@@ -1,4 +1,4 @@
4
 
-# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
5
 
+# generated automatically by aclocal 1.10.2 -*- Autoconf -*-
6
 
 
7
 
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
8
 
 # 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
9
 
@@ -13,8 +13,8 @@
10
 
 
11
 
 m4_ifndef([AC_AUTOCONF_VERSION],
12
 
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
13
 
-m4_if(AC_AUTOCONF_VERSION, [2.61],,
14
 
-[m4_warning([this file was generated for autoconf 2.61.
15
 
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
16
 
+[m4_warning([this file was generated for autoconf 2.63.
17
 
 You have another version of autoconf.  It may work, but is not guaranteed to.
18
 
 If you have problems, you may need to regenerate the build system entirely.
19
 
 To do so, use the procedure documented by the package, typically `autoreconf'.])])
20
 
@@ -710,6658 +710,6 @@
21
 
   fi
22
 
 ])
23
 
 
24
 
-# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
25
 
-
26
 
-# serial 52 Debian 1.5.26-4 AC_PROG_LIBTOOL
27
 
-
28
 
-
29
 
-# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
30
 
-# -----------------------------------------------------------
31
 
-# If this macro is not defined by Autoconf, define it here.
32
 
-m4_ifdef([AC_PROVIDE_IFELSE],
33
 
-         [],
34
 
-         [m4_define([AC_PROVIDE_IFELSE],
35
 
-                [m4_ifdef([AC_PROVIDE_$1],
36
 
-                          [$2], [$3])])])
37
 
-
38
 
-
39
 
-# AC_PROG_LIBTOOL
40
 
-# ---------------
41
 
-AC_DEFUN([AC_PROG_LIBTOOL],
42
 
-[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
43
 
-dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
44
 
-dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
45
 
-  AC_PROVIDE_IFELSE([AC_PROG_CXX],
46
 
-    [AC_LIBTOOL_CXX],
47
 
-    [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
48
 
-  ])])
49
 
-dnl And a similar setup for Fortran 77 support
50
 
-  AC_PROVIDE_IFELSE([AC_PROG_F77],
51
 
-    [AC_LIBTOOL_F77],
52
 
-    [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
53
 
-])])
54
 
-
55
 
-dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
56
 
-dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
57
 
-dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
58
 
-  AC_PROVIDE_IFELSE([AC_PROG_GCJ],
59
 
-    [AC_LIBTOOL_GCJ],
60
 
-    [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
61
 
-      [AC_LIBTOOL_GCJ],
62
 
-      [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
63
 
-       [AC_LIBTOOL_GCJ],
64
 
-      [ifdef([AC_PROG_GCJ],
65
 
-            [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
66
 
-       ifdef([A][M_PROG_GCJ],
67
 
-            [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
68
 
-       ifdef([LT_AC_PROG_GCJ],
69
 
-            [define([LT_AC_PROG_GCJ],
70
 
-               defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
71
 
-])])# AC_PROG_LIBTOOL
72
 
-
73
 
-
74
 
-# _AC_PROG_LIBTOOL
75
 
-# ----------------
76
 
-AC_DEFUN([_AC_PROG_LIBTOOL],
77
 
-[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
78
 
-AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
79
 
-AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
80
 
-AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
81
 
-
82
 
-# This can be used to rebuild libtool when needed
83
 
-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
84
 
-
85
 
-# Always use our own libtool.
86
 
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
87
 
-AC_SUBST(LIBTOOL)dnl
88
 
-
89
 
-# Prevent multiple expansion
90
 
-define([AC_PROG_LIBTOOL], [])
91
 
-])# _AC_PROG_LIBTOOL
92
 
-
93
 
-
94
 
-# AC_LIBTOOL_SETUP
95
 
-# ----------------
96
 
-AC_DEFUN([AC_LIBTOOL_SETUP],
97
 
-[AC_PREREQ(2.50)dnl
98
 
-AC_REQUIRE([AC_ENABLE_SHARED])dnl
99
 
-AC_REQUIRE([AC_ENABLE_STATIC])dnl
100
 
-AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
101
 
-AC_REQUIRE([AC_CANONICAL_HOST])dnl
102
 
-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
103
 
-AC_REQUIRE([AC_PROG_CC])dnl
104
 
-AC_REQUIRE([AC_PROG_LD])dnl
105
 
-AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
106
 
-AC_REQUIRE([AC_PROG_NM])dnl
107
 
-
108
 
-AC_REQUIRE([AC_PROG_LN_S])dnl
109
 
-AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
110
 
-# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
111
 
-AC_REQUIRE([AC_OBJEXT])dnl
112
 
-AC_REQUIRE([AC_EXEEXT])dnl
113
 
-dnl
114
 
-AC_LIBTOOL_SYS_MAX_CMD_LEN
115
 
-AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
116
 
-AC_LIBTOOL_OBJDIR
117
 
-
118
 
-AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
119
 
-_LT_AC_PROG_ECHO_BACKSLASH
120
 
-
121
 
-case $host_os in
122
 
-aix3*)
123
 
-  # AIX sometimes has problems with the GCC collect2 program.  For some
124
 
-  # reason, if we set the COLLECT_NAMES environment variable, the problems
125
 
-  # vanish in a puff of smoke.
126
 
-  if test "X${COLLECT_NAMES+set}" != Xset; then
127
 
-    COLLECT_NAMES=
128
 
-    export COLLECT_NAMES
129
 
-  fi
130
 
-  ;;
131
 
-esac
132
 
-
133
 
-# Sed substitution that helps us do robust quoting.  It backslashifies
134
 
-# metacharacters that are still active within double-quoted strings.
135
 
-Xsed='sed -e 1s/^X//'
136
 
-[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
137
 
-
138
 
-# Same as above, but do not quote variable references.
139
 
-[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
140
 
-
141
 
-# Sed substitution to delay expansion of an escaped shell variable in a
142
 
-# double_quote_subst'ed string.
143
 
-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
144
 
-
145
 
-# Sed substitution to avoid accidental globbing in evaled expressions
146
 
-no_glob_subst='s/\*/\\\*/g'
147
 
-
148
 
-# Constants:
149
 
-rm="rm -f"
150
 
-
151
 
-# Global variables:
152
 
-default_ofile=libtool
153
 
-can_build_shared=yes
154
 
-
155
 
-# All known linkers require a `.a' archive for static linking (except MSVC,
156
 
-# which needs '.lib').
157
 
-libext=a
158
 
-ltmain="$ac_aux_dir/ltmain.sh"
159
 
-ofile="$default_ofile"
160
 
-with_gnu_ld="$lt_cv_prog_gnu_ld"
161
 
-
162
 
-AC_CHECK_TOOL(AR, ar, false)
163
 
-AC_CHECK_TOOL(RANLIB, ranlib, :)
164
 
-AC_CHECK_TOOL(STRIP, strip, :)
165
 
-
166
 
-old_CC="$CC"
167
 
-old_CFLAGS="$CFLAGS"
168
 
-
169
 
-# Set sane defaults for various variables
170
 
-test -z "$AR" && AR=ar
171
 
-test -z "$AR_FLAGS" && AR_FLAGS=cru
172
 
-test -z "$AS" && AS=as
173
 
-test -z "$CC" && CC=cc
174
 
-test -z "$LTCC" && LTCC=$CC
175
 
-test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
176
 
-test -z "$DLLTOOL" && DLLTOOL=dlltool
177
 
-test -z "$LD" && LD=ld
178
 
-test -z "$LN_S" && LN_S="ln -s"
179
 
-test -z "$MAGIC_CMD" && MAGIC_CMD=file
180
 
-test -z "$NM" && NM=nm
181
 
-test -z "$SED" && SED=sed
182
 
-test -z "$OBJDUMP" && OBJDUMP=objdump
183
 
-test -z "$RANLIB" && RANLIB=:
184
 
-test -z "$STRIP" && STRIP=:
185
 
-test -z "$ac_objext" && ac_objext=o
186
 
-
187
 
-# Determine commands to create old-style static archives.
188
 
-old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
189
 
-old_postinstall_cmds='chmod 644 $oldlib'
190
 
-old_postuninstall_cmds=
191
 
-
192
 
-if test -n "$RANLIB"; then
193
 
-  case $host_os in
194
 
-  openbsd*)
195
 
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
196
 
-    ;;
197
 
-  *)
198
 
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
199
 
-    ;;
200
 
-  esac
201
 
-  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
202
 
-fi
203
 
-
204
 
-_LT_CC_BASENAME([$compiler])
205
 
-
206
 
-# Only perform the check for file, if the check method requires it
207
 
-case $deplibs_check_method in
208
 
-file_magic*)
209
 
-  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
210
 
-    AC_PATH_MAGIC
211
 
-  fi
212
 
-  ;;
213
 
-esac
214
 
-
215
 
-_LT_REQUIRED_DARWIN_CHECKS
216
 
-
217
 
-AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
218
 
-AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
219
 
-enable_win32_dll=yes, enable_win32_dll=no)
220
 
-
221
 
-AC_ARG_ENABLE([libtool-lock],
222
 
-    [AC_HELP_STRING([--disable-libtool-lock],
223
 
-       [avoid locking (might break parallel builds)])])
224
 
-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
225
 
-
226
 
-AC_ARG_WITH([pic],
227
 
-    [AC_HELP_STRING([--with-pic],
228
 
-       [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
229
 
-    [pic_mode="$withval"],
230
 
-    [pic_mode=default])
231
 
-test -z "$pic_mode" && pic_mode=default
232
 
-
233
 
-# Use C for the default configuration in the libtool script
234
 
-tagname=
235
 
-AC_LIBTOOL_LANG_C_CONFIG
236
 
-_LT_AC_TAGCONFIG
237
 
-])# AC_LIBTOOL_SETUP
238
 
-
239
 
-
240
 
-# _LT_AC_SYS_COMPILER
241
 
-# -------------------
242
 
-AC_DEFUN([_LT_AC_SYS_COMPILER],
243
 
-[AC_REQUIRE([AC_PROG_CC])dnl
244
 
-
245
 
-# If no C compiler was specified, use CC.
246
 
-LTCC=${LTCC-"$CC"}
247
 
-
248
 
-# If no C compiler flags were specified, use CFLAGS.
249
 
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
250
 
-
251
 
-# Allow CC to be a program name with arguments.
252
 
-compiler=$CC
253
 
-])# _LT_AC_SYS_COMPILER
254
 
-
255
 
-
256
 
-# _LT_CC_BASENAME(CC)
257
 
-# -------------------
258
 
-# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
259
 
-AC_DEFUN([_LT_CC_BASENAME],
260
 
-[for cc_temp in $1""; do
261
 
-  case $cc_temp in
262
 
-    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
263
 
-    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
264
 
-    \-*) ;;
265
 
-    *) break;;
266
 
-  esac
267
 
-done
268
 
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
269
 
-])
270
 
-
271
 
-
272
 
-# _LT_COMPILER_BOILERPLATE
273
 
-# ------------------------
274
 
-# Check for compiler boilerplate output or warnings with
275
 
-# the simple compiler test code.
276
 
-AC_DEFUN([_LT_COMPILER_BOILERPLATE],
277
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
278
 
-ac_outfile=conftest.$ac_objext
279
 
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext
280
 
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
281
 
-_lt_compiler_boilerplate=`cat conftest.err`
282
 
-$rm conftest*
283
 
-])# _LT_COMPILER_BOILERPLATE
284
 
-
285
 
-
286
 
-# _LT_LINKER_BOILERPLATE
287
 
-# ----------------------
288
 
-# Check for linker boilerplate output or warnings with
289
 
-# the simple link test code.
290
 
-AC_DEFUN([_LT_LINKER_BOILERPLATE],
291
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
292
 
-ac_outfile=conftest.$ac_objext
293
 
-echo "$lt_simple_link_test_code" >conftest.$ac_ext
294
 
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
295
 
-_lt_linker_boilerplate=`cat conftest.err`
296
 
-$rm -r conftest*
297
 
-])# _LT_LINKER_BOILERPLATE
298
 
-
299
 
-# _LT_REQUIRED_DARWIN_CHECKS
300
 
-# --------------------------
301
 
-# Check for some things on darwin
302
 
-AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[
303
 
-  case $host_os in
304
 
-    rhapsody* | darwin*)
305
 
-    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
306
 
-    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
307
 
-
308
 
-    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
309
 
-      [lt_cv_apple_cc_single_mod=no
310
 
-      if test -z "${LT_MULTI_MODULE}"; then
311
 
-   # By default we will add the -single_module flag. You can override
312
 
-   # by either setting the environment variable LT_MULTI_MODULE
313
 
-   # non-empty at configure time, or by adding -multi_module to the
314
 
-   # link flags.
315
 
-   echo "int foo(void){return 1;}" > conftest.c
316
 
-   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
317
 
-     -dynamiclib ${wl}-single_module conftest.c
318
 
-   if test -f libconftest.dylib; then
319
 
-     lt_cv_apple_cc_single_mod=yes
320
 
-     rm -rf libconftest.dylib*
321
 
-   fi
322
 
-   rm conftest.c
323
 
-      fi])
324
 
-    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
325
 
-      [lt_cv_ld_exported_symbols_list],
326
 
-      [lt_cv_ld_exported_symbols_list=no
327
 
-      save_LDFLAGS=$LDFLAGS
328
 
-      echo "_main" > conftest.sym
329
 
-      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
330
 
-      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
331
 
-   [lt_cv_ld_exported_symbols_list=yes],
332
 
-   [lt_cv_ld_exported_symbols_list=no])
333
 
-   LDFLAGS="$save_LDFLAGS"
334
 
-    ])
335
 
-    case $host_os in
336
 
-    rhapsody* | darwin1.[[0123]])
337
 
-      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
338
 
-    darwin1.*)
339
 
-     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
340
 
-    darwin*)
341
 
-      # if running on 10.5 or later, the deployment target defaults
342
 
-      # to the OS version, if on x86, and 10.4, the deployment
343
 
-      # target defaults to 10.4. Don't you love it?
344
 
-      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
345
 
-   10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
346
 
-     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
347
 
-   10.[[012]]*)
348
 
-     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
349
 
-   10.*)
350
 
-     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
351
 
-      esac
352
 
-    ;;
353
 
-  esac
354
 
-    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
355
 
-      _lt_dar_single_mod='$single_module'
356
 
-    fi
357
 
-    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
358
 
-      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
359
 
-    else
360
 
-      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
361
 
-    fi
362
 
-    if test "$DSYMUTIL" != ":"; then
363
 
-      _lt_dsymutil="~$DSYMUTIL \$lib || :"
364
 
-    else
365
 
-      _lt_dsymutil=
366
 
-    fi
367
 
-    ;;
368
 
-  esac
369
 
-])
370
 
-
371
 
-# _LT_AC_SYS_LIBPATH_AIX
372
 
-# ----------------------
373
 
-# Links a minimal program and checks the executable
374
 
-# for the system default hardcoded library path. In most cases,
375
 
-# this is /usr/lib:/lib, but when the MPI compilers are used
376
 
-# the location of the communication and MPI libs are included too.
377
 
-# If we don't find anything, use the default library path according
378
 
-# to the aix ld manual.
379
 
-AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
380
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
381
 
-AC_LINK_IFELSE(AC_LANG_PROGRAM,[
382
 
-lt_aix_libpath_sed='
383
 
-    /Import File Strings/,/^$/ {
384
 
-       /^0/ {
385
 
-           s/^0  *\(.*\)$/\1/
386
 
-           p
387
 
-       }
388
 
-    }'
389
 
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
390
 
-# Check for a 64-bit object if we didn't find anything.
391
 
-if test -z "$aix_libpath"; then
392
 
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
393
 
-fi],[])
394
 
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
395
 
-])# _LT_AC_SYS_LIBPATH_AIX
396
 
-
397
 
-
398
 
-# _LT_AC_SHELL_INIT(ARG)
399
 
-# ----------------------
400
 
-AC_DEFUN([_LT_AC_SHELL_INIT],
401
 
-[ifdef([AC_DIVERSION_NOTICE],
402
 
-            [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
403
 
-        [AC_DIVERT_PUSH(NOTICE)])
404
 
-$1
405
 
-AC_DIVERT_POP
406
 
-])# _LT_AC_SHELL_INIT
407
 
-
408
 
-
409
 
-# _LT_AC_PROG_ECHO_BACKSLASH
410
 
-# --------------------------
411
 
-# Add some code to the start of the generated configure script which
412
 
-# will find an echo command which doesn't interpret backslashes.
413
 
-AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
414
 
-[_LT_AC_SHELL_INIT([
415
 
-# Check that we are running under the correct shell.
416
 
-SHELL=${CONFIG_SHELL-/bin/sh}
417
 
-
418
 
-case X$ECHO in
419
 
-X*--fallback-echo)
420
 
-  # Remove one level of quotation (which was required for Make).
421
 
-  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
422
 
-  ;;
423
 
-esac
424
 
-
425
 
-echo=${ECHO-echo}
426
 
-if test "X[$]1" = X--no-reexec; then
427
 
-  # Discard the --no-reexec flag, and continue.
428
 
-  shift
429
 
-elif test "X[$]1" = X--fallback-echo; then
430
 
-  # Avoid inline document here, it may be left over
431
 
-  :
432
 
-elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
433
 
-  # Yippee, $echo works!
434
 
-  :
435
 
-else
436
 
-  # Restart under the correct shell.
437
 
-  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
438
 
-fi
439
 
-
440
 
-if test "X[$]1" = X--fallback-echo; then
441
 
-  # used as fallback echo
442
 
-  shift
443
 
-  cat <<EOF
444
 
-[$]*
445
 
-EOF
446
 
-  exit 0
447
 
-fi
448
 
-
449
 
-# The HP-UX ksh and POSIX shell print the target directory to stdout
450
 
-# if CDPATH is set.
451
 
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
452
 
-
453
 
-if test -z "$ECHO"; then
454
 
-if test "X${echo_test_string+set}" != Xset; then
455
 
-# find a string as large as possible, as long as the shell can cope with it
456
 
-  for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
457
 
-    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
458
 
-    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
459
 
-       echo_test_string=`eval $cmd` &&
460
 
-       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
461
 
-    then
462
 
-      break
463
 
-    fi
464
 
-  done
465
 
-fi
466
 
-
467
 
-if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
468
 
-   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
469
 
-   test "X$echo_testing_string" = "X$echo_test_string"; then
470
 
-  :
471
 
-else
472
 
-  # The Solaris, AIX, and Digital Unix default echo programs unquote
473
 
-  # backslashes.  This makes it impossible to quote backslashes using
474
 
-  #   echo "$something" | sed 's/\\/\\\\/g'
475
 
-  #
476
 
-  # So, first we look for a working echo in the user's PATH.
477
 
-
478
 
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
479
 
-  for dir in $PATH /usr/ucb; do
480
 
-    IFS="$lt_save_ifs"
481
 
-    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
482
 
-       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
483
 
-       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
484
 
-       test "X$echo_testing_string" = "X$echo_test_string"; then
485
 
-      echo="$dir/echo"
486
 
-      break
487
 
-    fi
488
 
-  done
489
 
-  IFS="$lt_save_ifs"
490
 
-
491
 
-  if test "X$echo" = Xecho; then
492
 
-    # We didn't find a better echo, so look for alternatives.
493
 
-    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
494
 
-       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
495
 
-       test "X$echo_testing_string" = "X$echo_test_string"; then
496
 
-      # This shell has a builtin print -r that does the trick.
497
 
-      echo='print -r'
498
 
-    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
499
 
-        test "X$CONFIG_SHELL" != X/bin/ksh; then
500
 
-      # If we have ksh, try running configure again with it.
501
 
-      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
502
 
-      export ORIGINAL_CONFIG_SHELL
503
 
-      CONFIG_SHELL=/bin/ksh
504
 
-      export CONFIG_SHELL
505
 
-      exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
506
 
-    else
507
 
-      # Try using printf.
508
 
-      echo='printf %s\n'
509
 
-      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
510
 
-        echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
511
 
-        test "X$echo_testing_string" = "X$echo_test_string"; then
512
 
-       # Cool, printf works
513
 
-       :
514
 
-      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
515
 
-          test "X$echo_testing_string" = 'X\t' &&
516
 
-          echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
517
 
-          test "X$echo_testing_string" = "X$echo_test_string"; then
518
 
-       CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
519
 
-       export CONFIG_SHELL
520
 
-       SHELL="$CONFIG_SHELL"
521
 
-       export SHELL
522
 
-       echo="$CONFIG_SHELL [$]0 --fallback-echo"
523
 
-      elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
524
 
-          test "X$echo_testing_string" = 'X\t' &&
525
 
-          echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
526
 
-          test "X$echo_testing_string" = "X$echo_test_string"; then
527
 
-       echo="$CONFIG_SHELL [$]0 --fallback-echo"
528
 
-      else
529
 
-       # maybe with a smaller string...
530
 
-       prev=:
531
 
-
532
 
-       for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
533
 
-         if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
534
 
-         then
535
 
-           break
536
 
-         fi
537
 
-         prev="$cmd"
538
 
-       done
539
 
-
540
 
-       if test "$prev" != 'sed 50q "[$]0"'; then
541
 
-         echo_test_string=`eval $prev`
542
 
-         export echo_test_string
543
 
-         exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
544
 
-       else
545
 
-         # Oops.  We lost completely, so just stick with echo.
546
 
-         echo=echo
547
 
-       fi
548
 
-      fi
549
 
-    fi
550
 
-  fi
551
 
-fi
552
 
-fi
553
 
-
554
 
-# Copy echo and quote the copy suitably for passing to libtool from
555
 
-# the Makefile, instead of quoting the original, which is used later.
556
 
-ECHO=$echo
557
 
-if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
558
 
-   ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
559
 
-fi
560
 
-
561
 
-AC_SUBST(ECHO)
562
 
-])])# _LT_AC_PROG_ECHO_BACKSLASH
563
 
-
564
 
-
565
 
-# _LT_AC_LOCK
566
 
-# -----------
567
 
-AC_DEFUN([_LT_AC_LOCK],
568
 
-[AC_ARG_ENABLE([libtool-lock],
569
 
-    [AC_HELP_STRING([--disable-libtool-lock],
570
 
-       [avoid locking (might break parallel builds)])])
571
 
-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
572
 
-
573
 
-# Some flags need to be propagated to the compiler or linker for good
574
 
-# libtool support.
575
 
-case $host in
576
 
-ia64-*-hpux*)
577
 
-  # Find out which ABI we are using.
578
 
-  echo 'int i;' > conftest.$ac_ext
579
 
-  if AC_TRY_EVAL(ac_compile); then
580
 
-    case `/usr/bin/file conftest.$ac_objext` in
581
 
-    *ELF-32*)
582
 
-      HPUX_IA64_MODE="32"
583
 
-      ;;
584
 
-    *ELF-64*)
585
 
-      HPUX_IA64_MODE="64"
586
 
-      ;;
587
 
-    esac
588
 
-  fi
589
 
-  rm -rf conftest*
590
 
-  ;;
591
 
-*-*-irix6*)
592
 
-  # Find out which ABI we are using.
593
 
-  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
594
 
-  if AC_TRY_EVAL(ac_compile); then
595
 
-   if test "$lt_cv_prog_gnu_ld" = yes; then
596
 
-    case `/usr/bin/file conftest.$ac_objext` in
597
 
-    *32-bit*)
598
 
-      LD="${LD-ld} -melf32bsmip"
599
 
-      ;;
600
 
-    *N32*)
601
 
-      LD="${LD-ld} -melf32bmipn32"
602
 
-      ;;
603
 
-    *64-bit*)
604
 
-      LD="${LD-ld} -melf64bmip"
605
 
-      ;;
606
 
-    esac
607
 
-   else
608
 
-    case `/usr/bin/file conftest.$ac_objext` in
609
 
-    *32-bit*)
610
 
-      LD="${LD-ld} -32"
611
 
-      ;;
612
 
-    *N32*)
613
 
-      LD="${LD-ld} -n32"
614
 
-      ;;
615
 
-    *64-bit*)
616
 
-      LD="${LD-ld} -64"
617
 
-      ;;
618
 
-    esac
619
 
-   fi
620
 
-  fi
621
 
-  rm -rf conftest*
622
 
-  ;;
623
 
-
624
 
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
625
 
-s390*-*linux*|sparc*-*linux*)
626
 
-  # Find out which ABI we are using.
627
 
-  echo 'int i;' > conftest.$ac_ext
628
 
-  if AC_TRY_EVAL(ac_compile); then
629
 
-    case `/usr/bin/file conftest.o` in
630
 
-    *32-bit*)
631
 
-      case $host in
632
 
-        x86_64-*kfreebsd*-gnu)
633
 
-          LD="${LD-ld} -m elf_i386_fbsd"
634
 
-          ;;
635
 
-        x86_64-*linux*)
636
 
-          LD="${LD-ld} -m elf_i386"
637
 
-          ;;
638
 
-        ppc64-*linux*|powerpc64-*linux*)
639
 
-          LD="${LD-ld} -m elf32ppclinux"
640
 
-          ;;
641
 
-        s390x-*linux*)
642
 
-          LD="${LD-ld} -m elf_s390"
643
 
-          ;;
644
 
-        sparc64-*linux*)
645
 
-          LD="${LD-ld} -m elf32_sparc"
646
 
-          ;;
647
 
-      esac
648
 
-      ;;
649
 
-    *64-bit*)
650
 
-      case $host in
651
 
-        x86_64-*kfreebsd*-gnu)
652
 
-          LD="${LD-ld} -m elf_x86_64_fbsd"
653
 
-          ;;
654
 
-        x86_64-*linux*)
655
 
-          LD="${LD-ld} -m elf_x86_64"
656
 
-          ;;
657
 
-        ppc*-*linux*|powerpc*-*linux*)
658
 
-          LD="${LD-ld} -m elf64ppc"
659
 
-          ;;
660
 
-        s390*-*linux*)
661
 
-          LD="${LD-ld} -m elf64_s390"
662
 
-          ;;
663
 
-        sparc*-*linux*)
664
 
-          LD="${LD-ld} -m elf64_sparc"
665
 
-          ;;
666
 
-      esac
667
 
-      ;;
668
 
-    esac
669
 
-  fi
670
 
-  rm -rf conftest*
671
 
-  ;;
672
 
-
673
 
-*-*-sco3.2v5*)
674
 
-  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
675
 
-  SAVE_CFLAGS="$CFLAGS"
676
 
-  CFLAGS="$CFLAGS -belf"
677
 
-  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
678
 
-    [AC_LANG_PUSH(C)
679
 
-     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
680
 
-     AC_LANG_POP])
681
 
-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
682
 
-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
683
 
-    CFLAGS="$SAVE_CFLAGS"
684
 
-  fi
685
 
-  ;;
686
 
-sparc*-*solaris*)
687
 
-  # Find out which ABI we are using.
688
 
-  echo 'int i;' > conftest.$ac_ext
689
 
-  if AC_TRY_EVAL(ac_compile); then
690
 
-    case `/usr/bin/file conftest.o` in
691
 
-    *64-bit*)
692
 
-      case $lt_cv_prog_gnu_ld in
693
 
-      yes*) LD="${LD-ld} -m elf64_sparc" ;;
694
 
-      *)
695
 
-        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
696
 
-         LD="${LD-ld} -64"
697
 
-       fi
698
 
-       ;;
699
 
-      esac
700
 
-      ;;
701
 
-    esac
702
 
-  fi
703
 
-  rm -rf conftest*
704
 
-  ;;
705
 
-
706
 
-AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
707
 
-[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
708
 
-  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
709
 
-  AC_CHECK_TOOL(AS, as, false)
710
 
-  AC_CHECK_TOOL(OBJDUMP, objdump, false)
711
 
-  ;;
712
 
-  ])
713
 
-esac
714
 
-
715
 
-need_locks="$enable_libtool_lock"
716
 
-
717
 
-])# _LT_AC_LOCK
718
 
-
719
 
-
720
 
-# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
721
 
-#              [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
722
 
-# ----------------------------------------------------------------
723
 
-# Check whether the given compiler option works
724
 
-AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
725
 
-[AC_REQUIRE([LT_AC_PROG_SED])
726
 
-AC_CACHE_CHECK([$1], [$2],
727
 
-  [$2=no
728
 
-  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
729
 
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
730
 
-   lt_compiler_flag="$3"
731
 
-   # Insert the option either (1) after the last *FLAGS variable, or
732
 
-   # (2) before a word containing "conftest.", or (3) at the end.
733
 
-   # Note that $ac_compile itself does not contain backslashes and begins
734
 
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
735
 
-   # The option is referenced via a variable to avoid confusing sed.
736
 
-   lt_compile=`echo "$ac_compile" | $SED \
737
 
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
738
 
-   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
739
 
-   -e 's:$: $lt_compiler_flag:'`
740
 
-   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
741
 
-   (eval "$lt_compile" 2>conftest.err)
742
 
-   ac_status=$?
743
 
-   cat conftest.err >&AS_MESSAGE_LOG_FD
744
 
-   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
745
 
-   if (exit $ac_status) && test -s "$ac_outfile"; then
746
 
-     # The compiler can only warn and ignore the option if not recognized
747
 
-     # So say no if there are warnings other than the usual output.
748
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
749
 
-     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
750
 
-     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
751
 
-       $2=yes
752
 
-     fi
753
 
-   fi
754
 
-   $rm conftest*
755
 
-])
756
 
-
757
 
-if test x"[$]$2" = xyes; then
758
 
-    ifelse([$5], , :, [$5])
759
 
-else
760
 
-    ifelse([$6], , :, [$6])
761
 
-fi
762
 
-])# AC_LIBTOOL_COMPILER_OPTION
763
 
-
764
 
-
765
 
-# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
766
 
-#                          [ACTION-SUCCESS], [ACTION-FAILURE])
767
 
-# ------------------------------------------------------------
768
 
-# Check whether the given compiler option works
769
 
-AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
770
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
771
 
-AC_CACHE_CHECK([$1], [$2],
772
 
-  [$2=no
773
 
-   save_LDFLAGS="$LDFLAGS"
774
 
-   LDFLAGS="$LDFLAGS $3"
775
 
-   echo "$lt_simple_link_test_code" > conftest.$ac_ext
776
 
-   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
777
 
-     # The linker can only warn and ignore the option if not recognized
778
 
-     # So say no if there are warnings
779
 
-     if test -s conftest.err; then
780
 
-       # Append any errors to the config.log.
781
 
-       cat conftest.err 1>&AS_MESSAGE_LOG_FD
782
 
-       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
783
 
-       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
784
 
-       if diff conftest.exp conftest.er2 >/dev/null; then
785
 
-         $2=yes
786
 
-       fi
787
 
-     else
788
 
-       $2=yes
789
 
-     fi
790
 
-   fi
791
 
-   $rm -r conftest*
792
 
-   LDFLAGS="$save_LDFLAGS"
793
 
-])
794
 
-
795
 
-if test x"[$]$2" = xyes; then
796
 
-    ifelse([$4], , :, [$4])
797
 
-else
798
 
-    ifelse([$5], , :, [$5])
799
 
-fi
800
 
-])# AC_LIBTOOL_LINKER_OPTION
801
 
-
802
 
-
803
 
-# AC_LIBTOOL_SYS_MAX_CMD_LEN
804
 
-# --------------------------
805
 
-AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
806
 
-[# find the maximum length of command line arguments
807
 
-AC_MSG_CHECKING([the maximum length of command line arguments])
808
 
-AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
809
 
-  i=0
810
 
-  teststring="ABCD"
811
 
-
812
 
-  case $build_os in
813
 
-  msdosdjgpp*)
814
 
-    # On DJGPP, this test can blow up pretty badly due to problems in libc
815
 
-    # (any single argument exceeding 2000 bytes causes a buffer overrun
816
 
-    # during glob expansion).  Even if it were fixed, the result of this
817
 
-    # check would be larger than it should be.
818
 
-    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
819
 
-    ;;
820
 
-
821
 
-  gnu*)
822
 
-    # Under GNU Hurd, this test is not required because there is
823
 
-    # no limit to the length of command line arguments.
824
 
-    # Libtool will interpret -1 as no limit whatsoever
825
 
-    lt_cv_sys_max_cmd_len=-1;
826
 
-    ;;
827
 
-
828
 
-  cygwin* | mingw*)
829
 
-    # On Win9x/ME, this test blows up -- it succeeds, but takes
830
 
-    # about 5 minutes as the teststring grows exponentially.
831
 
-    # Worse, since 9x/ME are not pre-emptively multitasking,
832
 
-    # you end up with a "frozen" computer, even though with patience
833
 
-    # the test eventually succeeds (with a max line length of 256k).
834
 
-    # Instead, let's just punt: use the minimum linelength reported by
835
 
-    # all of the supported platforms: 8192 (on NT/2K/XP).
836
 
-    lt_cv_sys_max_cmd_len=8192;
837
 
-    ;;
838
 
-
839
 
-  amigaos*)
840
 
-    # On AmigaOS with pdksh, this test takes hours, literally.
841
 
-    # So we just punt and use a minimum line length of 8192.
842
 
-    lt_cv_sys_max_cmd_len=8192;
843
 
-    ;;
844
 
-
845
 
-  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
846
 
-    # This has been around since 386BSD, at least.  Likely further.
847
 
-    if test -x /sbin/sysctl; then
848
 
-      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
849
 
-    elif test -x /usr/sbin/sysctl; then
850
 
-      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
851
 
-    else
852
 
-      lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
853
 
-    fi
854
 
-    # And add a safety zone
855
 
-    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
856
 
-    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
857
 
-    ;;
858
 
-
859
 
-  interix*)
860
 
-    # We know the value 262144 and hardcode it with a safety zone (like BSD)
861
 
-    lt_cv_sys_max_cmd_len=196608
862
 
-    ;;
863
 
-
864
 
-  osf*)
865
 
-    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
866
 
-    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
867
 
-    # nice to cause kernel panics so lets avoid the loop below.
868
 
-    # First set a reasonable default.
869
 
-    lt_cv_sys_max_cmd_len=16384
870
 
-    #
871
 
-    if test -x /sbin/sysconfig; then
872
 
-      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
873
 
-        *1*) lt_cv_sys_max_cmd_len=-1 ;;
874
 
-      esac
875
 
-    fi
876
 
-    ;;
877
 
-  sco3.2v5*)
878
 
-    lt_cv_sys_max_cmd_len=102400
879
 
-    ;;
880
 
-  sysv5* | sco5v6* | sysv4.2uw2*)
881
 
-    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
882
 
-    if test -n "$kargmax"; then
883
 
-      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[       ]]//'`
884
 
-    else
885
 
-      lt_cv_sys_max_cmd_len=32768
886
 
-    fi
887
 
-    ;;
888
 
-  *)
889
 
-    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
890
 
-    if test -n "$lt_cv_sys_max_cmd_len"; then
891
 
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
892
 
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
893
 
-    else
894
 
-      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
895
 
-      while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
896
 
-              = "XX$teststring") >/dev/null 2>&1 &&
897
 
-             new_result=`expr "X$teststring" : ".*" 2>&1` &&
898
 
-             lt_cv_sys_max_cmd_len=$new_result &&
899
 
-             test $i != 17 # 1/2 MB should be enough
900
 
-      do
901
 
-        i=`expr $i + 1`
902
 
-        teststring=$teststring$teststring
903
 
-      done
904
 
-      teststring=
905
 
-      # Add a significant safety factor because C++ compilers can tack on massive
906
 
-      # amounts of additional arguments before passing them to the linker.
907
 
-      # It appears as though 1/2 is a usable value.
908
 
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
909
 
-    fi
910
 
-    ;;
911
 
-  esac
912
 
-])
913
 
-if test -n $lt_cv_sys_max_cmd_len ; then
914
 
-  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
915
 
-else
916
 
-  AC_MSG_RESULT(none)
917
 
-fi
918
 
-])# AC_LIBTOOL_SYS_MAX_CMD_LEN
919
 
-
920
 
-
921
 
-# _LT_AC_CHECK_DLFCN
922
 
-# ------------------
923
 
-AC_DEFUN([_LT_AC_CHECK_DLFCN],
924
 
-[AC_CHECK_HEADERS(dlfcn.h)dnl
925
 
-])# _LT_AC_CHECK_DLFCN
926
 
-
927
 
-
928
 
-# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
929
 
-#                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
930
 
-# ---------------------------------------------------------------------
931
 
-AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
932
 
-[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
933
 
-if test "$cross_compiling" = yes; then :
934
 
-  [$4]
935
 
-else
936
 
-  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
937
 
-  lt_status=$lt_dlunknown
938
 
-  cat > conftest.$ac_ext <<EOF
939
 
-[#line __oline__ "configure"
940
 
-#include "confdefs.h"
941
 
-
942
 
-#if HAVE_DLFCN_H
943
 
-#include <dlfcn.h>
944
 
-#endif
945
 
-
946
 
-#include <stdio.h>
947
 
-
948
 
-#ifdef RTLD_GLOBAL
949
 
-#  define LT_DLGLOBAL          RTLD_GLOBAL
950
 
-#else
951
 
-#  ifdef DL_GLOBAL
952
 
-#    define LT_DLGLOBAL                DL_GLOBAL
953
 
-#  else
954
 
-#    define LT_DLGLOBAL                0
955
 
-#  endif
956
 
-#endif
957
 
-
958
 
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
959
 
-   find out it does not work in some platform. */
960
 
-#ifndef LT_DLLAZY_OR_NOW
961
 
-#  ifdef RTLD_LAZY
962
 
-#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
963
 
-#  else
964
 
-#    ifdef DL_LAZY
965
 
-#      define LT_DLLAZY_OR_NOW         DL_LAZY
966
 
-#    else
967
 
-#      ifdef RTLD_NOW
968
 
-#        define LT_DLLAZY_OR_NOW       RTLD_NOW
969
 
-#      else
970
 
-#        ifdef DL_NOW
971
 
-#          define LT_DLLAZY_OR_NOW     DL_NOW
972
 
-#        else
973
 
-#          define LT_DLLAZY_OR_NOW     0
974
 
-#        endif
975
 
-#      endif
976
 
-#    endif
977
 
-#  endif
978
 
-#endif
979
 
-
980
 
-#ifdef __cplusplus
981
 
-extern "C" void exit (int);
982
 
-#endif
983
 
-
984
 
-void fnord() { int i=42;}
985
 
-int main ()
986
 
-{
987
 
-  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
988
 
-  int status = $lt_dlunknown;
989
 
-
990
 
-  if (self)
991
 
-    {
992
 
-      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
993
 
-      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
994
 
-      /* dlclose (self); */
995
 
-    }
996
 
-  else
997
 
-    puts (dlerror ());
998
 
-
999
 
-    exit (status);
1000
 
-}]
1001
 
-EOF
1002
 
-  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
1003
 
-    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
1004
 
-    lt_status=$?
1005
 
-    case x$lt_status in
1006
 
-      x$lt_dlno_uscore) $1 ;;
1007
 
-      x$lt_dlneed_uscore) $2 ;;
1008
 
-      x$lt_dlunknown|x*) $3 ;;
1009
 
-    esac
1010
 
-  else :
1011
 
-    # compilation failed
1012
 
-    $3
1013
 
-  fi
1014
 
-fi
1015
 
-rm -fr conftest*
1016
 
-])# _LT_AC_TRY_DLOPEN_SELF
1017
 
-
1018
 
-
1019
 
-# AC_LIBTOOL_DLOPEN_SELF
1020
 
-# ----------------------
1021
 
-AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
1022
 
-[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
1023
 
-if test "x$enable_dlopen" != xyes; then
1024
 
-  enable_dlopen=unknown
1025
 
-  enable_dlopen_self=unknown
1026
 
-  enable_dlopen_self_static=unknown
1027
 
-else
1028
 
-  lt_cv_dlopen=no
1029
 
-  lt_cv_dlopen_libs=
1030
 
-
1031
 
-  case $host_os in
1032
 
-  beos*)
1033
 
-    lt_cv_dlopen="load_add_on"
1034
 
-    lt_cv_dlopen_libs=
1035
 
-    lt_cv_dlopen_self=yes
1036
 
-    ;;
1037
 
-
1038
 
-  mingw* | pw32*)
1039
 
-    lt_cv_dlopen="LoadLibrary"
1040
 
-    lt_cv_dlopen_libs=
1041
 
-   ;;
1042
 
-
1043
 
-  cygwin*)
1044
 
-    lt_cv_dlopen="dlopen"
1045
 
-    lt_cv_dlopen_libs=
1046
 
-   ;;
1047
 
-
1048
 
-  darwin*)
1049
 
-  # if libdl is installed we need to link against it
1050
 
-    AC_CHECK_LIB([dl], [dlopen],
1051
 
-               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
1052
 
-    lt_cv_dlopen="dyld"
1053
 
-    lt_cv_dlopen_libs=
1054
 
-    lt_cv_dlopen_self=yes
1055
 
-    ])
1056
 
-   ;;
1057
 
-
1058
 
-  *)
1059
 
-    AC_CHECK_FUNC([shl_load],
1060
 
-         [lt_cv_dlopen="shl_load"],
1061
 
-      [AC_CHECK_LIB([dld], [shl_load],
1062
 
-           [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
1063
 
-       [AC_CHECK_FUNC([dlopen],
1064
 
-             [lt_cv_dlopen="dlopen"],
1065
 
-         [AC_CHECK_LIB([dl], [dlopen],
1066
 
-               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
1067
 
-           [AC_CHECK_LIB([svld], [dlopen],
1068
 
-                 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
1069
 
-             [AC_CHECK_LIB([dld], [dld_link],
1070
 
-                   [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
1071
 
-             ])
1072
 
-           ])
1073
 
-         ])
1074
 
-       ])
1075
 
-      ])
1076
 
-    ;;
1077
 
-  esac
1078
 
-
1079
 
-  if test "x$lt_cv_dlopen" != xno; then
1080
 
-    enable_dlopen=yes
1081
 
-  else
1082
 
-    enable_dlopen=no
1083
 
-  fi
1084
 
-
1085
 
-  case $lt_cv_dlopen in
1086
 
-  dlopen)
1087
 
-    save_CPPFLAGS="$CPPFLAGS"
1088
 
-    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1089
 
-
1090
 
-    save_LDFLAGS="$LDFLAGS"
1091
 
-    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1092
 
-
1093
 
-    save_LIBS="$LIBS"
1094
 
-    LIBS="$lt_cv_dlopen_libs $LIBS"
1095
 
-
1096
 
-    AC_CACHE_CHECK([whether a program can dlopen itself],
1097
 
-         lt_cv_dlopen_self, [dnl
1098
 
-         _LT_AC_TRY_DLOPEN_SELF(
1099
 
-           lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
1100
 
-           lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
1101
 
-    ])
1102
 
-
1103
 
-    if test "x$lt_cv_dlopen_self" = xyes; then
1104
 
-      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1105
 
-      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
1106
 
-         lt_cv_dlopen_self_static, [dnl
1107
 
-         _LT_AC_TRY_DLOPEN_SELF(
1108
 
-           lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
1109
 
-           lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
1110
 
-      ])
1111
 
-    fi
1112
 
-
1113
 
-    CPPFLAGS="$save_CPPFLAGS"
1114
 
-    LDFLAGS="$save_LDFLAGS"
1115
 
-    LIBS="$save_LIBS"
1116
 
-    ;;
1117
 
-  esac
1118
 
-
1119
 
-  case $lt_cv_dlopen_self in
1120
 
-  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
1121
 
-  *) enable_dlopen_self=unknown ;;
1122
 
-  esac
1123
 
-
1124
 
-  case $lt_cv_dlopen_self_static in
1125
 
-  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
1126
 
-  *) enable_dlopen_self_static=unknown ;;
1127
 
-  esac
1128
 
-fi
1129
 
-])# AC_LIBTOOL_DLOPEN_SELF
1130
 
-
1131
 
-
1132
 
-# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
1133
 
-# ---------------------------------
1134
 
-# Check to see if options -c and -o are simultaneously supported by compiler
1135
 
-AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
1136
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
1137
 
-AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
1138
 
-AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
1139
 
-  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
1140
 
-  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
1141
 
-   $rm -r conftest 2>/dev/null
1142
 
-   mkdir conftest
1143
 
-   cd conftest
1144
 
-   mkdir out
1145
 
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1146
 
-
1147
 
-   lt_compiler_flag="-o out/conftest2.$ac_objext"
1148
 
-   # Insert the option either (1) after the last *FLAGS variable, or
1149
 
-   # (2) before a word containing "conftest.", or (3) at the end.
1150
 
-   # Note that $ac_compile itself does not contain backslashes and begins
1151
 
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
1152
 
-   lt_compile=`echo "$ac_compile" | $SED \
1153
 
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1154
 
-   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1155
 
-   -e 's:$: $lt_compiler_flag:'`
1156
 
-   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1157
 
-   (eval "$lt_compile" 2>out/conftest.err)
1158
 
-   ac_status=$?
1159
 
-   cat out/conftest.err >&AS_MESSAGE_LOG_FD
1160
 
-   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1161
 
-   if (exit $ac_status) && test -s out/conftest2.$ac_objext
1162
 
-   then
1163
 
-     # The compiler can only warn and ignore the option if not recognized
1164
 
-     # So say no if there are warnings
1165
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
1166
 
-     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
1167
 
-     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1168
 
-       _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
1169
 
-     fi
1170
 
-   fi
1171
 
-   chmod u+w . 2>&AS_MESSAGE_LOG_FD
1172
 
-   $rm conftest*
1173
 
-   # SGI C++ compiler will create directory out/ii_files/ for
1174
 
-   # template instantiation
1175
 
-   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
1176
 
-   $rm out/* && rmdir out
1177
 
-   cd ..
1178
 
-   rmdir conftest
1179
 
-   $rm conftest*
1180
 
-])
1181
 
-])# AC_LIBTOOL_PROG_CC_C_O
1182
 
-
1183
 
-
1184
 
-# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
1185
 
-# -----------------------------------------
1186
 
-# Check to see if we can do hard links to lock some files if needed
1187
 
-AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
1188
 
-[AC_REQUIRE([_LT_AC_LOCK])dnl
1189
 
-
1190
 
-hard_links="nottested"
1191
 
-if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
1192
 
-  # do not overwrite the value of need_locks provided by the user
1193
 
-  AC_MSG_CHECKING([if we can lock with hard links])
1194
 
-  hard_links=yes
1195
 
-  $rm conftest*
1196
 
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
1197
 
-  touch conftest.a
1198
 
-  ln conftest.a conftest.b 2>&5 || hard_links=no
1199
 
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
1200
 
-  AC_MSG_RESULT([$hard_links])
1201
 
-  if test "$hard_links" = no; then
1202
 
-    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
1203
 
-    need_locks=warn
1204
 
-  fi
1205
 
-else
1206
 
-  need_locks=no
1207
 
-fi
1208
 
-])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
1209
 
-
1210
 
-
1211
 
-# AC_LIBTOOL_OBJDIR
1212
 
-# -----------------
1213
 
-AC_DEFUN([AC_LIBTOOL_OBJDIR],
1214
 
-[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
1215
 
-[rm -f .libs 2>/dev/null
1216
 
-mkdir .libs 2>/dev/null
1217
 
-if test -d .libs; then
1218
 
-  lt_cv_objdir=.libs
1219
 
-else
1220
 
-  # MS-DOS does not allow filenames that begin with a dot.
1221
 
-  lt_cv_objdir=_libs
1222
 
-fi
1223
 
-rmdir .libs 2>/dev/null])
1224
 
-objdir=$lt_cv_objdir
1225
 
-])# AC_LIBTOOL_OBJDIR
1226
 
-
1227
 
-
1228
 
-# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
1229
 
-# ----------------------------------------------
1230
 
-# Check hardcoding attributes.
1231
 
-AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
1232
 
-[AC_MSG_CHECKING([how to hardcode library paths into programs])
1233
 
-_LT_AC_TAGVAR(hardcode_action, $1)=
1234
 
-if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
1235
 
-   test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
1236
 
-   test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
1237
 
-
1238
 
-  # We can hardcode non-existant directories.
1239
 
-  if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
1240
 
-     # If the only mechanism to avoid hardcoding is shlibpath_var, we
1241
 
-     # have to relink, otherwise we might link with an installed library
1242
 
-     # when we should be linking with a yet-to-be-installed one
1243
 
-     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
1244
 
-     test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
1245
 
-    # Linking always hardcodes the temporary library directory.
1246
 
-    _LT_AC_TAGVAR(hardcode_action, $1)=relink
1247
 
-  else
1248
 
-    # We can link without hardcoding, and we can hardcode nonexisting dirs.
1249
 
-    _LT_AC_TAGVAR(hardcode_action, $1)=immediate
1250
 
-  fi
1251
 
-else
1252
 
-  # We cannot hardcode anything, or else we can only hardcode existing
1253
 
-  # directories.
1254
 
-  _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
1255
 
-fi
1256
 
-AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
1257
 
-
1258
 
-if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
1259
 
-  # Fast installation is not supported
1260
 
-  enable_fast_install=no
1261
 
-elif test "$shlibpath_overrides_runpath" = yes ||
1262
 
-     test "$enable_shared" = no; then
1263
 
-  # Fast installation is not necessary
1264
 
-  enable_fast_install=needless
1265
 
-fi
1266
 
-])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
1267
 
-
1268
 
-
1269
 
-# AC_LIBTOOL_SYS_LIB_STRIP
1270
 
-# ------------------------
1271
 
-AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
1272
 
-[striplib=
1273
 
-old_striplib=
1274
 
-AC_MSG_CHECKING([whether stripping libraries is possible])
1275
 
-if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
1276
 
-  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
1277
 
-  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1278
 
-  AC_MSG_RESULT([yes])
1279
 
-else
1280
 
-# FIXME - insert some real tests, host_os isn't really good enough
1281
 
-  case $host_os in
1282
 
-   darwin*)
1283
 
-       if test -n "$STRIP" ; then
1284
 
-         striplib="$STRIP -x"
1285
 
-         old_striplib="$STRIP -S"
1286
 
-         AC_MSG_RESULT([yes])
1287
 
-       else
1288
 
-  AC_MSG_RESULT([no])
1289
 
-fi
1290
 
-       ;;
1291
 
-   *)
1292
 
-  AC_MSG_RESULT([no])
1293
 
-    ;;
1294
 
-  esac
1295
 
-fi
1296
 
-])# AC_LIBTOOL_SYS_LIB_STRIP
1297
 
-
1298
 
-
1299
 
-# AC_LIBTOOL_SYS_DYNAMIC_LINKER
1300
 
-# -----------------------------
1301
 
-# PORTME Fill in your ld.so characteristics
1302
 
-AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
1303
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
1304
 
-AC_MSG_CHECKING([dynamic linker characteristics])
1305
 
-library_names_spec=
1306
 
-libname_spec='lib$name'
1307
 
-soname_spec=
1308
 
-shrext_cmds=".so"
1309
 
-postinstall_cmds=
1310
 
-postuninstall_cmds=
1311
 
-finish_cmds=
1312
 
-finish_eval=
1313
 
-shlibpath_var=
1314
 
-shlibpath_overrides_runpath=unknown
1315
 
-version_type=none
1316
 
-dynamic_linker="$host_os ld.so"
1317
 
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
1318
 
-m4_if($1,[],[
1319
 
-if test "$GCC" = yes; then
1320
 
-  case $host_os in
1321
 
-    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
1322
 
-    *) lt_awk_arg="/^libraries:/" ;;
1323
 
-  esac
1324
 
-  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1325
 
-  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
1326
 
-    # if the path contains ";" then we assume it to be the separator
1327
 
-    # otherwise default to the standard path separator (i.e. ":") - it is
1328
 
-    # assumed that no part of a normal pathname contains ";" but that should
1329
 
-    # okay in the real world where ";" in dirpaths is itself problematic.
1330
 
-    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
1331
 
-  else
1332
 
-    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
1333
 
-  fi
1334
 
-  # Ok, now we have the path, separated by spaces, we can step through it
1335
 
-  # and add multilib dir if necessary.
1336
 
-  lt_tmp_lt_search_path_spec=
1337
 
-  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
1338
 
-  for lt_sys_path in $lt_search_path_spec; do
1339
 
-    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
1340
 
-      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
1341
 
-    else
1342
 
-      test -d "$lt_sys_path" && \
1343
 
-       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
1344
 
-    fi
1345
 
-  done
1346
 
-  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
1347
 
-BEGIN {RS=" "; FS="/|\n";} {
1348
 
-  lt_foo="";
1349
 
-  lt_count=0;
1350
 
-  for (lt_i = NF; lt_i > 0; lt_i--) {
1351
 
-    if ($lt_i != "" && $lt_i != ".") {
1352
 
-      if ($lt_i == "..") {
1353
 
-        lt_count++;
1354
 
-      } else {
1355
 
-        if (lt_count == 0) {
1356
 
-          lt_foo="/" $lt_i lt_foo;
1357
 
-        } else {
1358
 
-          lt_count--;
1359
 
-        }
1360
 
-      }
1361
 
-    }
1362
 
-  }
1363
 
-  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
1364
 
-  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
1365
 
-}'`
1366
 
-  sys_lib_search_path_spec=`echo $lt_search_path_spec`
1367
 
-else
1368
 
-  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1369
 
-fi])
1370
 
-need_lib_prefix=unknown
1371
 
-hardcode_into_libs=no
1372
 
-
1373
 
-# when you set need_version to no, make sure it does not cause -set_version
1374
 
-# flags to be left without arguments
1375
 
-need_version=unknown
1376
 
-
1377
 
-case $host_os in
1378
 
-aix3*)
1379
 
-  version_type=linux
1380
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
1381
 
-  shlibpath_var=LIBPATH
1382
 
-
1383
 
-  # AIX 3 has no versioning support, so we append a major version to the name.
1384
 
-  soname_spec='${libname}${release}${shared_ext}$major'
1385
 
-  ;;
1386
 
-
1387
 
-aix[[4-9]]*)
1388
 
-  version_type=linux
1389
 
-  need_lib_prefix=no
1390
 
-  need_version=no
1391
 
-  hardcode_into_libs=yes
1392
 
-  if test "$host_cpu" = ia64; then
1393
 
-    # AIX 5 supports IA64
1394
 
-    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
1395
 
-    shlibpath_var=LD_LIBRARY_PATH
1396
 
-  else
1397
 
-    # With GCC up to 2.95.x, collect2 would create an import file
1398
 
-    # for dependence libraries.  The import file would start with
1399
 
-    # the line `#! .'.  This would cause the generated library to
1400
 
-    # depend on `.', always an invalid library.  This was fixed in
1401
 
-    # development snapshots of GCC prior to 3.0.
1402
 
-    case $host_os in
1403
 
-      aix4 | aix4.[[01]] | aix4.[[01]].*)
1404
 
-      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
1405
 
-          echo ' yes '
1406
 
-          echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
1407
 
-       :
1408
 
-      else
1409
 
-       can_build_shared=no
1410
 
-      fi
1411
 
-      ;;
1412
 
-    esac
1413
 
-    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
1414
 
-    # soname into executable. Probably we can add versioning support to
1415
 
-    # collect2, so additional links can be useful in future.
1416
 
-    if test "$aix_use_runtimelinking" = yes; then
1417
 
-      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
1418
 
-      # instead of lib<name>.a to let people know that these are not
1419
 
-      # typical AIX shared libraries.
1420
 
-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1421
 
-    else
1422
 
-      # We preserve .a as extension for shared libraries through AIX4.2
1423
 
-      # and later when we are not doing run time linking.
1424
 
-      library_names_spec='${libname}${release}.a $libname.a'
1425
 
-      soname_spec='${libname}${release}${shared_ext}$major'
1426
 
-    fi
1427
 
-    shlibpath_var=LIBPATH
1428
 
-  fi
1429
 
-  ;;
1430
 
-
1431
 
-amigaos*)
1432
 
-  library_names_spec='$libname.ixlibrary $libname.a'
1433
 
-  # Create ${libname}_ixlibrary.a entries in /sys/libs.
1434
 
-  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'
1435
 
-  ;;
1436
 
-
1437
 
-beos*)
1438
 
-  library_names_spec='${libname}${shared_ext}'
1439
 
-  dynamic_linker="$host_os ld.so"
1440
 
-  shlibpath_var=LIBRARY_PATH
1441
 
-  ;;
1442
 
-
1443
 
-bsdi[[45]]*)
1444
 
-  version_type=linux
1445
 
-  need_version=no
1446
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1447
 
-  soname_spec='${libname}${release}${shared_ext}$major'
1448
 
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
1449
 
-  shlibpath_var=LD_LIBRARY_PATH
1450
 
-  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
1451
 
-  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
1452
 
-  # the default ld.so.conf also contains /usr/contrib/lib and
1453
 
-  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
1454
 
-  # libtool to hard-code these into programs
1455
 
-  ;;
1456
 
-
1457
 
-cygwin* | mingw* | pw32*)
1458
 
-  version_type=windows
1459
 
-  shrext_cmds=".dll"
1460
 
-  need_version=no
1461
 
-  need_lib_prefix=no
1462
 
-
1463
 
-  case $GCC,$host_os in
1464
 
-  yes,cygwin* | yes,mingw* | yes,pw32*)
1465
 
-    library_names_spec='$libname.dll.a'
1466
 
-    # DLL is installed to $(libdir)/../bin by postinstall_cmds
1467
 
-    postinstall_cmds='base_file=`basename \${file}`~
1468
 
-      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
1469
 
-      dldir=$destdir/`dirname \$dlpath`~
1470
 
-      test -d \$dldir || mkdir -p \$dldir~
1471
 
-      $install_prog $dir/$dlname \$dldir/$dlname~
1472
 
-      chmod a+x \$dldir/$dlname'
1473
 
-    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1474
 
-      dlpath=$dir/\$dldll~
1475
 
-       $rm \$dlpath'
1476
 
-    shlibpath_overrides_runpath=yes
1477
 
-
1478
 
-    case $host_os in
1479
 
-    cygwin*)
1480
 
-      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1481
 
-      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1482
 
-      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
1483
 
-      ;;
1484
 
-    mingw*)
1485
 
-      # MinGW DLLs use traditional 'lib' prefix
1486
 
-      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1487
 
-      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1488
 
-      if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
1489
 
-        # It is most probably a Windows format PATH printed by
1490
 
-        # mingw gcc, but we are running on Cygwin. Gcc prints its search
1491
 
-        # path with ; separators, and with drive letters. We can handle the
1492
 
-        # drive letters (cygwin fileutils understands them), so leave them,
1493
 
-        # especially as we might pass files found there to a mingw objdump,
1494
 
-        # which wouldn't understand a cygwinified path. Ahh.
1495
 
-        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1496
 
-      else
1497
 
-        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
1498
 
-      fi
1499
 
-      ;;
1500
 
-    pw32*)
1501
 
-      # pw32 DLLs use 'pw' prefix rather than 'lib'
1502
 
-      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1503
 
-      ;;
1504
 
-    esac
1505
 
-    ;;
1506
 
-
1507
 
-  *)
1508
 
-    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
1509
 
-    ;;
1510
 
-  esac
1511
 
-  dynamic_linker='Win32 ld.exe'
1512
 
-  # FIXME: first we should search . and the directory the executable is in
1513
 
-  shlibpath_var=PATH
1514
 
-  ;;
1515
 
-
1516
 
-darwin* | rhapsody*)
1517
 
-  dynamic_linker="$host_os dyld"
1518
 
-  version_type=darwin
1519
 
-  need_lib_prefix=no
1520
 
-  need_version=no
1521
 
-  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1522
 
-  soname_spec='${libname}${release}${major}$shared_ext'
1523
 
-  shlibpath_overrides_runpath=yes
1524
 
-  shlibpath_var=DYLD_LIBRARY_PATH
1525
 
-  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1526
 
-  m4_if([$1], [],[
1527
 
-  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) 
1528
 
-  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1529
 
-  ;;
1530
 
-
1531
 
-dgux*)
1532
 
-  version_type=linux
1533
 
-  need_lib_prefix=no
1534
 
-  need_version=no
1535
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
1536
 
-  soname_spec='${libname}${release}${shared_ext}$major'
1537
 
-  shlibpath_var=LD_LIBRARY_PATH
1538
 
-  ;;
1539
 
-
1540
 
-freebsd1*)
1541
 
-  dynamic_linker=no
1542
 
-  ;;
1543
 
-
1544
 
-freebsd* | dragonfly*)
1545
 
-  # DragonFly does not have aout.  When/if they implement a new
1546
 
-  # versioning mechanism, adjust this.
1547
 
-  if test -x /usr/bin/objformat; then
1548
 
-    objformat=`/usr/bin/objformat`
1549
 
-  else
1550
 
-    case $host_os in
1551
 
-    freebsd[[123]]*) objformat=aout ;;
1552
 
-    *) objformat=elf ;;
1553
 
-    esac
1554
 
-  fi
1555
 
-  version_type=freebsd-$objformat
1556
 
-  case $version_type in
1557
 
-    freebsd-elf*)
1558
 
-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1559
 
-      need_version=no
1560
 
-      need_lib_prefix=no
1561
 
-      ;;
1562
 
-    freebsd-*)
1563
 
-      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
1564
 
-      need_version=yes
1565
 
-      ;;
1566
 
-  esac
1567
 
-  shlibpath_var=LD_LIBRARY_PATH
1568
 
-  case $host_os in
1569
 
-  freebsd2*)
1570
 
-    shlibpath_overrides_runpath=yes
1571
 
-    ;;
1572
 
-  freebsd3.[[01]]* | freebsdelf3.[[01]]*)
1573
 
-    shlibpath_overrides_runpath=yes
1574
 
-    hardcode_into_libs=yes
1575
 
-    ;;
1576
 
-  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
1577
 
-  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
1578
 
-    shlibpath_overrides_runpath=no
1579
 
-    hardcode_into_libs=yes
1580
 
-    ;;
1581
 
-  *) # from 4.6 on, and DragonFly
1582
 
-    shlibpath_overrides_runpath=yes
1583
 
-    hardcode_into_libs=yes
1584
 
-    ;;
1585
 
-  esac
1586
 
-  ;;
1587
 
-
1588
 
-gnu*)
1589
 
-  version_type=linux
1590
 
-  need_lib_prefix=no
1591
 
-  need_version=no
1592
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
1593
 
-  soname_spec='${libname}${release}${shared_ext}$major'
1594
 
-  shlibpath_var=LD_LIBRARY_PATH
1595
 
-  hardcode_into_libs=yes
1596
 
-  ;;
1597
 
-
1598
 
-hpux9* | hpux10* | hpux11*)
1599
 
-  # Give a soname corresponding to the major version so that dld.sl refuses to
1600
 
-  # link against other versions.
1601
 
-  version_type=sunos
1602
 
-  need_lib_prefix=no
1603
 
-  need_version=no
1604
 
-  case $host_cpu in
1605
 
-  ia64*)
1606
 
-    shrext_cmds='.so'
1607
 
-    hardcode_into_libs=yes
1608
 
-    dynamic_linker="$host_os dld.so"
1609
 
-    shlibpath_var=LD_LIBRARY_PATH
1610
 
-    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1611
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1612
 
-    soname_spec='${libname}${release}${shared_ext}$major'
1613
 
-    if test "X$HPUX_IA64_MODE" = X32; then
1614
 
-      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1615
 
-    else
1616
 
-      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1617
 
-    fi
1618
 
-    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1619
 
-    ;;
1620
 
-   hppa*64*)
1621
 
-     shrext_cmds='.sl'
1622
 
-     hardcode_into_libs=yes
1623
 
-     dynamic_linker="$host_os dld.sl"
1624
 
-     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
1625
 
-     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1626
 
-     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1627
 
-     soname_spec='${libname}${release}${shared_ext}$major'
1628
 
-     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
1629
 
-     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1630
 
-     ;;
1631
 
-   *)
1632
 
-    shrext_cmds='.sl'
1633
 
-    dynamic_linker="$host_os dld.sl"
1634
 
-    shlibpath_var=SHLIB_PATH
1635
 
-    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1636
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1637
 
-    soname_spec='${libname}${release}${shared_ext}$major'
1638
 
-    ;;
1639
 
-  esac
1640
 
-  # HP-UX runs *really* slowly unless shared libraries are mode 555.
1641
 
-  postinstall_cmds='chmod 555 $lib'
1642
 
-  ;;
1643
 
-
1644
 
-interix[[3-9]]*)
1645
 
-  version_type=linux
1646
 
-  need_lib_prefix=no
1647
 
-  need_version=no
1648
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1649
 
-  soname_spec='${libname}${release}${shared_ext}$major'
1650
 
-  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
1651
 
-  shlibpath_var=LD_LIBRARY_PATH
1652
 
-  shlibpath_overrides_runpath=no
1653
 
-  hardcode_into_libs=yes
1654
 
-  ;;
1655
 
-
1656
 
-irix5* | irix6* | nonstopux*)
1657
 
-  case $host_os in
1658
 
-    nonstopux*) version_type=nonstopux ;;
1659
 
-    *)
1660
 
-       if test "$lt_cv_prog_gnu_ld" = yes; then
1661
 
-               version_type=linux
1662
 
-       else
1663
 
-               version_type=irix
1664
 
-       fi ;;
1665
 
-  esac
1666
 
-  need_lib_prefix=no
1667
 
-  need_version=no
1668
 
-  soname_spec='${libname}${release}${shared_ext}$major'
1669
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
1670
 
-  case $host_os in
1671
 
-  irix5* | nonstopux*)
1672
 
-    libsuff= shlibsuff=
1673
 
-    ;;
1674
 
-  *)
1675
 
-    case $LD in # libtool.m4 will add one of these switches to LD
1676
 
-    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
1677
 
-      libsuff= shlibsuff= libmagic=32-bit;;
1678
 
-    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
1679
 
-      libsuff=32 shlibsuff=N32 libmagic=N32;;
1680
 
-    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
1681
 
-      libsuff=64 shlibsuff=64 libmagic=64-bit;;
1682
 
-    *) libsuff= shlibsuff= libmagic=never-match;;
1683
 
-    esac
1684
 
-    ;;
1685
 
-  esac
1686
 
-  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
1687
 
-  shlibpath_overrides_runpath=no
1688
 
-  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
1689
 
-  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
1690
 
-  hardcode_into_libs=yes
1691
 
-  ;;
1692
 
-
1693
 
-# No shared lib support for Linux oldld, aout, or coff.
1694
 
-linux*oldld* | linux*aout* | linux*coff*)
1695
 
-  dynamic_linker=no
1696
 
-  ;;
1697
 
-
1698
 
-# This must be Linux ELF.
1699
 
-linux* | k*bsd*-gnu)
1700
 
-  version_type=linux
1701
 
-  need_lib_prefix=no
1702
 
-  need_version=no
1703
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1704
 
-  soname_spec='${libname}${release}${shared_ext}$major'
1705
 
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
1706
 
-  shlibpath_var=LD_LIBRARY_PATH
1707
 
-  shlibpath_overrides_runpath=no
1708
 
-  # This implies no fast_install, which is unacceptable.
1709
 
-  # Some rework will be needed to allow for fast_install
1710
 
-  # before this can be enabled.
1711
 
-  hardcode_into_libs=yes
1712
 
-
1713
 
-  # Append ld.so.conf contents to the search path
1714
 
-  if test -f /etc/ld.so.conf; then
1715
 
-    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' ' '`
1716
 
-    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1717
 
-  fi
1718
 
-
1719
 
-  # We used to test for /lib/ld.so.1 and disable shared libraries on
1720
 
-  # powerpc, because MkLinux only supported shared libraries with the
1721
 
-  # GNU dynamic linker.  Since this was broken with cross compilers,
1722
 
-  # most powerpc-linux boxes support dynamic linking these days and
1723
 
-  # people can always --disable-shared, the test was removed, and we
1724
 
-  # assume the GNU/Linux dynamic linker is in use.
1725
 
-  dynamic_linker='GNU/Linux ld.so'
1726
 
-  ;;
1727
 
-
1728
 
-netbsdelf*-gnu)
1729
 
-  version_type=linux
1730
 
-  need_lib_prefix=no
1731
 
-  need_version=no
1732
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1733
 
-  soname_spec='${libname}${release}${shared_ext}$major'
1734
 
-  shlibpath_var=LD_LIBRARY_PATH
1735
 
-  shlibpath_overrides_runpath=no
1736
 
-  hardcode_into_libs=yes
1737
 
-  dynamic_linker='NetBSD ld.elf_so'
1738
 
-  ;;
1739
 
-
1740
 
-netbsd*)
1741
 
-  version_type=sunos
1742
 
-  need_lib_prefix=no
1743
 
-  need_version=no
1744
 
-  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1745
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1746
 
-    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1747
 
-    dynamic_linker='NetBSD (a.out) ld.so'
1748
 
-  else
1749
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1750
 
-    soname_spec='${libname}${release}${shared_ext}$major'
1751
 
-    dynamic_linker='NetBSD ld.elf_so'
1752
 
-  fi
1753
 
-  shlibpath_var=LD_LIBRARY_PATH
1754
 
-  shlibpath_overrides_runpath=yes
1755
 
-  hardcode_into_libs=yes
1756
 
-  ;;
1757
 
-
1758
 
-newsos6)
1759
 
-  version_type=linux
1760
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1761
 
-  shlibpath_var=LD_LIBRARY_PATH
1762
 
-  shlibpath_overrides_runpath=yes
1763
 
-  ;;
1764
 
-
1765
 
-nto-qnx*)
1766
 
-  version_type=linux
1767
 
-  need_lib_prefix=no
1768
 
-  need_version=no
1769
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1770
 
-  soname_spec='${libname}${release}${shared_ext}$major'
1771
 
-  shlibpath_var=LD_LIBRARY_PATH
1772
 
-  shlibpath_overrides_runpath=yes
1773
 
-  ;;
1774
 
-
1775
 
-openbsd*)
1776
 
-  version_type=sunos
1777
 
-  sys_lib_dlsearch_path_spec="/usr/lib"
1778
 
-  need_lib_prefix=no
1779
 
-  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
1780
 
-  case $host_os in
1781
 
-    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
1782
 
-    *)                         need_version=no  ;;
1783
 
-  esac
1784
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1785
 
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1786
 
-  shlibpath_var=LD_LIBRARY_PATH
1787
 
-  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1788
 
-    case $host_os in
1789
 
-      openbsd2.[[89]] | openbsd2.[[89]].*)
1790
 
-       shlibpath_overrides_runpath=no
1791
 
-       ;;
1792
 
-      *)
1793
 
-       shlibpath_overrides_runpath=yes
1794
 
-       ;;
1795
 
-      esac
1796
 
-  else
1797
 
-    shlibpath_overrides_runpath=yes
1798
 
-  fi
1799
 
-  ;;
1800
 
-
1801
 
-os2*)
1802
 
-  libname_spec='$name'
1803
 
-  shrext_cmds=".dll"
1804
 
-  need_lib_prefix=no
1805
 
-  library_names_spec='$libname${shared_ext} $libname.a'
1806
 
-  dynamic_linker='OS/2 ld.exe'
1807
 
-  shlibpath_var=LIBPATH
1808
 
-  ;;
1809
 
-
1810
 
-osf3* | osf4* | osf5*)
1811
 
-  version_type=osf
1812
 
-  need_lib_prefix=no
1813
 
-  need_version=no
1814
 
-  soname_spec='${libname}${release}${shared_ext}$major'
1815
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1816
 
-  shlibpath_var=LD_LIBRARY_PATH
1817
 
-  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1818
 
-  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1819
 
-  ;;
1820
 
-
1821
 
-rdos*)
1822
 
-  dynamic_linker=no
1823
 
-  ;;
1824
 
-
1825
 
-solaris*)
1826
 
-  version_type=linux
1827
 
-  need_lib_prefix=no
1828
 
-  need_version=no
1829
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1830
 
-  soname_spec='${libname}${release}${shared_ext}$major'
1831
 
-  shlibpath_var=LD_LIBRARY_PATH
1832
 
-  shlibpath_overrides_runpath=yes
1833
 
-  hardcode_into_libs=yes
1834
 
-  # ldd complains unless libraries are executable
1835
 
-  postinstall_cmds='chmod +x $lib'
1836
 
-  ;;
1837
 
-
1838
 
-sunos4*)
1839
 
-  version_type=sunos
1840
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1841
 
-  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
1842
 
-  shlibpath_var=LD_LIBRARY_PATH
1843
 
-  shlibpath_overrides_runpath=yes
1844
 
-  if test "$with_gnu_ld" = yes; then
1845
 
-    need_lib_prefix=no
1846
 
-  fi
1847
 
-  need_version=yes
1848
 
-  ;;
1849
 
-
1850
 
-sysv4 | sysv4.3*)
1851
 
-  version_type=linux
1852
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1853
 
-  soname_spec='${libname}${release}${shared_ext}$major'
1854
 
-  shlibpath_var=LD_LIBRARY_PATH
1855
 
-  case $host_vendor in
1856
 
-    sni)
1857
 
-      shlibpath_overrides_runpath=no
1858
 
-      need_lib_prefix=no
1859
 
-      export_dynamic_flag_spec='${wl}-Blargedynsym'
1860
 
-      runpath_var=LD_RUN_PATH
1861
 
-      ;;
1862
 
-    siemens)
1863
 
-      need_lib_prefix=no
1864
 
-      ;;
1865
 
-    motorola)
1866
 
-      need_lib_prefix=no
1867
 
-      need_version=no
1868
 
-      shlibpath_overrides_runpath=no
1869
 
-      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
1870
 
-      ;;
1871
 
-  esac
1872
 
-  ;;
1873
 
-
1874
 
-sysv4*MP*)
1875
 
-  if test -d /usr/nec ;then
1876
 
-    version_type=linux
1877
 
-    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
1878
 
-    soname_spec='$libname${shared_ext}.$major'
1879
 
-    shlibpath_var=LD_LIBRARY_PATH
1880
 
-  fi
1881
 
-  ;;
1882
 
-
1883
 
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1884
 
-  version_type=freebsd-elf
1885
 
-  need_lib_prefix=no
1886
 
-  need_version=no
1887
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1888
 
-  soname_spec='${libname}${release}${shared_ext}$major'
1889
 
-  shlibpath_var=LD_LIBRARY_PATH
1890
 
-  hardcode_into_libs=yes
1891
 
-  if test "$with_gnu_ld" = yes; then
1892
 
-    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
1893
 
-    shlibpath_overrides_runpath=no
1894
 
-  else
1895
 
-    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
1896
 
-    shlibpath_overrides_runpath=yes
1897
 
-    case $host_os in
1898
 
-      sco3.2v5*)
1899
 
-        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
1900
 
-       ;;
1901
 
-    esac
1902
 
-  fi
1903
 
-  sys_lib_dlsearch_path_spec='/usr/lib'
1904
 
-  ;;
1905
 
-
1906
 
-uts4*)
1907
 
-  version_type=linux
1908
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1909
 
-  soname_spec='${libname}${release}${shared_ext}$major'
1910
 
-  shlibpath_var=LD_LIBRARY_PATH
1911
 
-  ;;
1912
 
-
1913
 
-*)
1914
 
-  dynamic_linker=no
1915
 
-  ;;
1916
 
-esac
1917
 
-AC_MSG_RESULT([$dynamic_linker])
1918
 
-test "$dynamic_linker" = no && can_build_shared=no
1919
 
-
1920
 
-AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec],
1921
 
-[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"])
1922
 
-sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
1923
 
-AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec],
1924
 
-[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"])
1925
 
-sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
1926
 
-
1927
 
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1928
 
-if test "$GCC" = yes; then
1929
 
-  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1930
 
-fi
1931
 
-])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
1932
 
-
1933
 
-
1934
 
-# _LT_AC_TAGCONFIG
1935
 
-# ----------------
1936
 
-AC_DEFUN([_LT_AC_TAGCONFIG],
1937
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
1938
 
-AC_ARG_WITH([tags],
1939
 
-    [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
1940
 
-        [include additional configurations @<:@automatic@:>@])],
1941
 
-    [tagnames="$withval"])
1942
 
-
1943
 
-if test -f "$ltmain" && test -n "$tagnames"; then
1944
 
-  if test ! -f "${ofile}"; then
1945
 
-    AC_MSG_WARN([output file `$ofile' does not exist])
1946
 
-  fi
1947
 
-
1948
 
-  if test -z "$LTCC"; then
1949
 
-    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
1950
 
-    if test -z "$LTCC"; then
1951
 
-      AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
1952
 
-    else
1953
 
-      AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
1954
 
-    fi
1955
 
-  fi
1956
 
-  if test -z "$LTCFLAGS"; then
1957
 
-    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
1958
 
-  fi
1959
 
-
1960
 
-  # Extract list of available tagged configurations in $ofile.
1961
 
-  # Note that this assumes the entire list is on one line.
1962
 
-  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
1963
 
-
1964
 
-  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1965
 
-  for tagname in $tagnames; do
1966
 
-    IFS="$lt_save_ifs"
1967
 
-    # Check whether tagname contains only valid characters
1968
 
-    case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
1969
 
-    "") ;;
1970
 
-    *)  AC_MSG_ERROR([invalid tag name: $tagname])
1971
 
-       ;;
1972
 
-    esac
1973
 
-
1974
 
-    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
1975
 
-    then
1976
 
-      AC_MSG_ERROR([tag name \"$tagname\" already exists])
1977
 
-    fi
1978
 
-
1979
 
-    # Update the list of available tags.
1980
 
-    if test -n "$tagname"; then
1981
 
-      echo appending configuration tag \"$tagname\" to $ofile
1982
 
-
1983
 
-      case $tagname in
1984
 
-      CXX)
1985
 
-       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
1986
 
-           ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
1987
 
-           (test "X$CXX" != "Xg++"))) ; then
1988
 
-         AC_LIBTOOL_LANG_CXX_CONFIG
1989
 
-       else
1990
 
-         tagname=""
1991
 
-       fi
1992
 
-       ;;
1993
 
-
1994
 
-      F77)
1995
 
-       if test -n "$F77" && test "X$F77" != "Xno"; then
1996
 
-         AC_LIBTOOL_LANG_F77_CONFIG
1997
 
-       else
1998
 
-         tagname=""
1999
 
-       fi
2000
 
-       ;;
2001
 
-
2002
 
-      GCJ)
2003
 
-       if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
2004
 
-         AC_LIBTOOL_LANG_GCJ_CONFIG
2005
 
-       else
2006
 
-         tagname=""
2007
 
-       fi
2008
 
-       ;;
2009
 
-
2010
 
-      RC)
2011
 
-       AC_LIBTOOL_LANG_RC_CONFIG
2012
 
-       ;;
2013
 
-
2014
 
-      *)
2015
 
-       AC_MSG_ERROR([Unsupported tag name: $tagname])
2016
 
-       ;;
2017
 
-      esac
2018
 
-
2019
 
-      # Append the new tag name to the list of available tags.
2020
 
-      if test -n "$tagname" ; then
2021
 
-      available_tags="$available_tags $tagname"
2022
 
-    fi
2023
 
-    fi
2024
 
-  done
2025
 
-  IFS="$lt_save_ifs"
2026
 
-
2027
 
-  # Now substitute the updated list of available tags.
2028
 
-  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
2029
 
-    mv "${ofile}T" "$ofile"
2030
 
-    chmod +x "$ofile"
2031
 
-  else
2032
 
-    rm -f "${ofile}T"
2033
 
-    AC_MSG_ERROR([unable to update list of available tagged configurations.])
2034
 
-  fi
2035
 
-fi
2036
 
-])# _LT_AC_TAGCONFIG
2037
 
-
2038
 
-
2039
 
-# AC_LIBTOOL_DLOPEN
2040
 
-# -----------------
2041
 
-# enable checks for dlopen support
2042
 
-AC_DEFUN([AC_LIBTOOL_DLOPEN],
2043
 
- [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
2044
 
-])# AC_LIBTOOL_DLOPEN
2045
 
-
2046
 
-
2047
 
-# AC_LIBTOOL_WIN32_DLL
2048
 
-# --------------------
2049
 
-# declare package support for building win32 DLLs
2050
 
-AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
2051
 
-[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
2052
 
-])# AC_LIBTOOL_WIN32_DLL
2053
 
-
2054
 
-
2055
 
-# AC_ENABLE_SHARED([DEFAULT])
2056
 
-# ---------------------------
2057
 
-# implement the --enable-shared flag
2058
 
-# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
2059
 
-AC_DEFUN([AC_ENABLE_SHARED],
2060
 
-[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
2061
 
-AC_ARG_ENABLE([shared],
2062
 
-    [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
2063
 
-       [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
2064
 
-    [p=${PACKAGE-default}
2065
 
-    case $enableval in
2066
 
-    yes) enable_shared=yes ;;
2067
 
-    no) enable_shared=no ;;
2068
 
-    *)
2069
 
-      enable_shared=no
2070
 
-      # Look at the argument we got.  We use all the common list separators.
2071
 
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2072
 
-      for pkg in $enableval; do
2073
 
-       IFS="$lt_save_ifs"
2074
 
-       if test "X$pkg" = "X$p"; then
2075
 
-         enable_shared=yes
2076
 
-       fi
2077
 
-      done
2078
 
-      IFS="$lt_save_ifs"
2079
 
-      ;;
2080
 
-    esac],
2081
 
-    [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
2082
 
-])# AC_ENABLE_SHARED
2083
 
-
2084
 
-
2085
 
-# AC_DISABLE_SHARED
2086
 
-# -----------------
2087
 
-# set the default shared flag to --disable-shared
2088
 
-AC_DEFUN([AC_DISABLE_SHARED],
2089
 
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2090
 
-AC_ENABLE_SHARED(no)
2091
 
-])# AC_DISABLE_SHARED
2092
 
-
2093
 
-
2094
 
-# AC_ENABLE_STATIC([DEFAULT])
2095
 
-# ---------------------------
2096
 
-# implement the --enable-static flag
2097
 
-# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
2098
 
-AC_DEFUN([AC_ENABLE_STATIC],
2099
 
-[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
2100
 
-AC_ARG_ENABLE([static],
2101
 
-    [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
2102
 
-       [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
2103
 
-    [p=${PACKAGE-default}
2104
 
-    case $enableval in
2105
 
-    yes) enable_static=yes ;;
2106
 
-    no) enable_static=no ;;
2107
 
-    *)
2108
 
-     enable_static=no
2109
 
-      # Look at the argument we got.  We use all the common list separators.
2110
 
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2111
 
-      for pkg in $enableval; do
2112
 
-       IFS="$lt_save_ifs"
2113
 
-       if test "X$pkg" = "X$p"; then
2114
 
-         enable_static=yes
2115
 
-       fi
2116
 
-      done
2117
 
-      IFS="$lt_save_ifs"
2118
 
-      ;;
2119
 
-    esac],
2120
 
-    [enable_static=]AC_ENABLE_STATIC_DEFAULT)
2121
 
-])# AC_ENABLE_STATIC
2122
 
-
2123
 
-
2124
 
-# AC_DISABLE_STATIC
2125
 
-# -----------------
2126
 
-# set the default static flag to --disable-static
2127
 
-AC_DEFUN([AC_DISABLE_STATIC],
2128
 
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2129
 
-AC_ENABLE_STATIC(no)
2130
 
-])# AC_DISABLE_STATIC
2131
 
-
2132
 
-
2133
 
-# AC_ENABLE_FAST_INSTALL([DEFAULT])
2134
 
-# ---------------------------------
2135
 
-# implement the --enable-fast-install flag
2136
 
-# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
2137
 
-AC_DEFUN([AC_ENABLE_FAST_INSTALL],
2138
 
-[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
2139
 
-AC_ARG_ENABLE([fast-install],
2140
 
-    [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
2141
 
-    [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
2142
 
-    [p=${PACKAGE-default}
2143
 
-    case $enableval in
2144
 
-    yes) enable_fast_install=yes ;;
2145
 
-    no) enable_fast_install=no ;;
2146
 
-    *)
2147
 
-      enable_fast_install=no
2148
 
-      # Look at the argument we got.  We use all the common list separators.
2149
 
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2150
 
-      for pkg in $enableval; do
2151
 
-       IFS="$lt_save_ifs"
2152
 
-       if test "X$pkg" = "X$p"; then
2153
 
-         enable_fast_install=yes
2154
 
-       fi
2155
 
-      done
2156
 
-      IFS="$lt_save_ifs"
2157
 
-      ;;
2158
 
-    esac],
2159
 
-    [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
2160
 
-])# AC_ENABLE_FAST_INSTALL
2161
 
-
2162
 
-
2163
 
-# AC_DISABLE_FAST_INSTALL
2164
 
-# -----------------------
2165
 
-# set the default to --disable-fast-install
2166
 
-AC_DEFUN([AC_DISABLE_FAST_INSTALL],
2167
 
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2168
 
-AC_ENABLE_FAST_INSTALL(no)
2169
 
-])# AC_DISABLE_FAST_INSTALL
2170
 
-
2171
 
-
2172
 
-# AC_LIBTOOL_PICMODE([MODE])
2173
 
-# --------------------------
2174
 
-# implement the --with-pic flag
2175
 
-# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
2176
 
-AC_DEFUN([AC_LIBTOOL_PICMODE],
2177
 
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2178
 
-pic_mode=ifelse($#,1,$1,default)
2179
 
-])# AC_LIBTOOL_PICMODE
2180
 
-
2181
 
-
2182
 
-# AC_PROG_EGREP
2183
 
-# -------------
2184
 
-# This is predefined starting with Autoconf 2.54, so this conditional
2185
 
-# definition can be removed once we require Autoconf 2.54 or later.
2186
 
-m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
2187
 
-[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
2188
 
-   [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2189
 
-    then ac_cv_prog_egrep='grep -E'
2190
 
-    else ac_cv_prog_egrep='egrep'
2191
 
-    fi])
2192
 
- EGREP=$ac_cv_prog_egrep
2193
 
- AC_SUBST([EGREP])
2194
 
-])])
2195
 
-
2196
 
-
2197
 
-# AC_PATH_TOOL_PREFIX
2198
 
-# -------------------
2199
 
-# find a file program which can recognize shared library
2200
 
-AC_DEFUN([AC_PATH_TOOL_PREFIX],
2201
 
-[AC_REQUIRE([AC_PROG_EGREP])dnl
2202
 
-AC_MSG_CHECKING([for $1])
2203
 
-AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
2204
 
-[case $MAGIC_CMD in
2205
 
-[[\\/*] |  ?:[\\/]*])
2206
 
-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2207
 
-  ;;
2208
 
-*)
2209
 
-  lt_save_MAGIC_CMD="$MAGIC_CMD"
2210
 
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2211
 
-dnl $ac_dummy forces splitting on constant user-supplied paths.
2212
 
-dnl POSIX.2 word splitting is done only on the output of word expansions,
2213
 
-dnl not every word.  This closes a longstanding sh security hole.
2214
 
-  ac_dummy="ifelse([$2], , $PATH, [$2])"
2215
 
-  for ac_dir in $ac_dummy; do
2216
 
-    IFS="$lt_save_ifs"
2217
 
-    test -z "$ac_dir" && ac_dir=.
2218
 
-    if test -f $ac_dir/$1; then
2219
 
-      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
2220
 
-      if test -n "$file_magic_test_file"; then
2221
 
-       case $deplibs_check_method in
2222
 
-       "file_magic "*)
2223
 
-         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
2224
 
-         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2225
 
-         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2226
 
-           $EGREP "$file_magic_regex" > /dev/null; then
2227
 
-           :
2228
 
-         else
2229
 
-           cat <<EOF 1>&2
2230
 
-
2231
 
-*** Warning: the command libtool uses to detect shared libraries,
2232
 
-*** $file_magic_cmd, produces output that libtool cannot recognize.
2233
 
-*** The result is that libtool may fail to recognize shared libraries
2234
 
-*** as such.  This will affect the creation of libtool libraries that
2235
 
-*** depend on shared libraries, but programs linked with such libtool
2236
 
-*** libraries will work regardless of this problem.  Nevertheless, you
2237
 
-*** may want to report the problem to your system manager and/or to
2238
 
-*** bug-libtool@gnu.org
2239
 
-
2240
 
-EOF
2241
 
-         fi ;;
2242
 
-       esac
2243
 
-      fi
2244
 
-      break
2245
 
-    fi
2246
 
-  done
2247
 
-  IFS="$lt_save_ifs"
2248
 
-  MAGIC_CMD="$lt_save_MAGIC_CMD"
2249
 
-  ;;
2250
 
-esac])
2251
 
-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2252
 
-if test -n "$MAGIC_CMD"; then
2253
 
-  AC_MSG_RESULT($MAGIC_CMD)
2254
 
-else
2255
 
-  AC_MSG_RESULT(no)
2256
 
-fi
2257
 
-])# AC_PATH_TOOL_PREFIX
2258
 
-
2259
 
-
2260
 
-# AC_PATH_MAGIC
2261
 
-# -------------
2262
 
-# find a file program which can recognize a shared library
2263
 
-AC_DEFUN([AC_PATH_MAGIC],
2264
 
-[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
2265
 
-if test -z "$lt_cv_path_MAGIC_CMD"; then
2266
 
-  if test -n "$ac_tool_prefix"; then
2267
 
-    AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
2268
 
-  else
2269
 
-    MAGIC_CMD=:
2270
 
-  fi
2271
 
-fi
2272
 
-])# AC_PATH_MAGIC
2273
 
-
2274
 
-
2275
 
-# AC_PROG_LD
2276
 
-# ----------
2277
 
-# find the pathname to the GNU or non-GNU linker
2278
 
-AC_DEFUN([AC_PROG_LD],
2279
 
-[AC_ARG_WITH([gnu-ld],
2280
 
-    [AC_HELP_STRING([--with-gnu-ld],
2281
 
-       [assume the C compiler uses GNU ld @<:@default=no@:>@])],
2282
 
-    [test "$withval" = no || with_gnu_ld=yes],
2283
 
-    [with_gnu_ld=no])
2284
 
-AC_REQUIRE([LT_AC_PROG_SED])dnl
2285
 
-AC_REQUIRE([AC_PROG_CC])dnl
2286
 
-AC_REQUIRE([AC_CANONICAL_HOST])dnl
2287
 
-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
2288
 
-ac_prog=ld
2289
 
-if test "$GCC" = yes; then
2290
 
-  # Check if gcc -print-prog-name=ld gives a path.
2291
 
-  AC_MSG_CHECKING([for ld used by $CC])
2292
 
-  case $host in
2293
 
-  *-*-mingw*)
2294
 
-    # gcc leaves a trailing carriage return which upsets mingw
2295
 
-    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2296
 
-  *)
2297
 
-    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
2298
 
-  esac
2299
 
-  case $ac_prog in
2300
 
-    # Accept absolute paths.
2301
 
-    [[\\/]]* | ?:[[\\/]]*)
2302
 
-      re_direlt='/[[^/]][[^/]]*/\.\./'
2303
 
-      # Canonicalize the pathname of ld
2304
 
-      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
2305
 
-      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
2306
 
-       ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
2307
 
-      done
2308
 
-      test -z "$LD" && LD="$ac_prog"
2309
 
-      ;;
2310
 
-  "")
2311
 
-    # If it fails, then pretend we aren't using GCC.
2312
 
-    ac_prog=ld
2313
 
-    ;;
2314
 
-  *)
2315
 
-    # If it is relative, then search for the first ld in PATH.
2316
 
-    with_gnu_ld=unknown
2317
 
-    ;;
2318
 
-  esac
2319
 
-elif test "$with_gnu_ld" = yes; then
2320
 
-  AC_MSG_CHECKING([for GNU ld])
2321
 
-else
2322
 
-  AC_MSG_CHECKING([for non-GNU ld])
2323
 
-fi
2324
 
-AC_CACHE_VAL(lt_cv_path_LD,
2325
 
-[if test -z "$LD"; then
2326
 
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2327
 
-  for ac_dir in $PATH; do
2328
 
-    IFS="$lt_save_ifs"
2329
 
-    test -z "$ac_dir" && ac_dir=.
2330
 
-    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
2331
 
-      lt_cv_path_LD="$ac_dir/$ac_prog"
2332
 
-      # Check to see if the program is GNU ld.  I'd rather use --version,
2333
 
-      # but apparently some variants of GNU ld only accept -v.
2334
 
-      # Break only if it was the GNU/non-GNU ld that we prefer.
2335
 
-      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
2336
 
-      *GNU* | *'with BFD'*)
2337
 
-       test "$with_gnu_ld" != no && break
2338
 
-       ;;
2339
 
-      *)
2340
 
-       test "$with_gnu_ld" != yes && break
2341
 
-       ;;
2342
 
-      esac
2343
 
-    fi
2344
 
-  done
2345
 
-  IFS="$lt_save_ifs"
2346
 
-else
2347
 
-  lt_cv_path_LD="$LD" # Let the user override the test with a path.
2348
 
-fi])
2349
 
-LD="$lt_cv_path_LD"
2350
 
-if test -n "$LD"; then
2351
 
-  AC_MSG_RESULT($LD)
2352
 
-else
2353
 
-  AC_MSG_RESULT(no)
2354
 
-fi
2355
 
-test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
2356
 
-AC_PROG_LD_GNU
2357
 
-])# AC_PROG_LD
2358
 
-
2359
 
-
2360
 
-# AC_PROG_LD_GNU
2361
 
-# --------------
2362
 
-AC_DEFUN([AC_PROG_LD_GNU],
2363
 
-[AC_REQUIRE([AC_PROG_EGREP])dnl
2364
 
-AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
2365
 
-[# I'd rather use --version here, but apparently some GNU lds only accept -v.
2366
 
-case `$LD -v 2>&1 </dev/null` in
2367
 
-*GNU* | *'with BFD'*)
2368
 
-  lt_cv_prog_gnu_ld=yes
2369
 
-  ;;
2370
 
-*)
2371
 
-  lt_cv_prog_gnu_ld=no
2372
 
-  ;;
2373
 
-esac])
2374
 
-with_gnu_ld=$lt_cv_prog_gnu_ld
2375
 
-])# AC_PROG_LD_GNU
2376
 
-
2377
 
-
2378
 
-# AC_PROG_LD_RELOAD_FLAG
2379
 
-# ----------------------
2380
 
-# find reload flag for linker
2381
 
-#   -- PORTME Some linkers may need a different reload flag.
2382
 
-AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
2383
 
-[AC_CACHE_CHECK([for $LD option to reload object files],
2384
 
-  lt_cv_ld_reload_flag,
2385
 
-  [lt_cv_ld_reload_flag='-r'])
2386
 
-reload_flag=$lt_cv_ld_reload_flag
2387
 
-case $reload_flag in
2388
 
-"" | " "*) ;;
2389
 
-*) reload_flag=" $reload_flag" ;;
2390
 
-esac
2391
 
-reload_cmds='$LD$reload_flag -o $output$reload_objs'
2392
 
-case $host_os in
2393
 
-  darwin*)
2394
 
-    if test "$GCC" = yes; then
2395
 
-      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
2396
 
-    else
2397
 
-      reload_cmds='$LD$reload_flag -o $output$reload_objs'
2398
 
-    fi
2399
 
-    ;;
2400
 
-esac
2401
 
-])# AC_PROG_LD_RELOAD_FLAG
2402
 
-
2403
 
-
2404
 
-# AC_DEPLIBS_CHECK_METHOD
2405
 
-# -----------------------
2406
 
-# how to check for library dependencies
2407
 
-#  -- PORTME fill in with the dynamic library characteristics
2408
 
-AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
2409
 
-[AC_CACHE_CHECK([how to recognize dependent libraries],
2410
 
-lt_cv_deplibs_check_method,
2411
 
-[lt_cv_file_magic_cmd='$MAGIC_CMD'
2412
 
-lt_cv_file_magic_test_file=
2413
 
-lt_cv_deplibs_check_method='unknown'
2414
 
-# Need to set the preceding variable on all platforms that support
2415
 
-# interlibrary dependencies.
2416
 
-# 'none' -- dependencies not supported.
2417
 
-# `unknown' -- same as none, but documents that we really don't know.
2418
 
-# 'pass_all' -- all dependencies passed with no checks.
2419
 
-# 'test_compile' -- check by making test program.
2420
 
-# 'file_magic [[regex]]' -- check by looking for files in library path
2421
 
-# which responds to the $file_magic_cmd with a given extended regex.
2422
 
-# If you have `file' or equivalent on your system and you're not sure
2423
 
-# whether `pass_all' will *always* work, you probably want this one.
2424
 
-
2425
 
-case $host_os in
2426
 
-aix[[4-9]]*)
2427
 
-  lt_cv_deplibs_check_method=pass_all
2428
 
-  ;;
2429
 
-
2430
 
-beos*)
2431
 
-  lt_cv_deplibs_check_method=pass_all
2432
 
-  ;;
2433
 
-
2434
 
-bsdi[[45]]*)
2435
 
-  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
2436
 
-  lt_cv_file_magic_cmd='/usr/bin/file -L'
2437
 
-  lt_cv_file_magic_test_file=/shlib/libc.so
2438
 
-  ;;
2439
 
-
2440
 
-cygwin*)
2441
 
-  # func_win32_libid is a shell function defined in ltmain.sh
2442
 
-  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
2443
 
-  lt_cv_file_magic_cmd='func_win32_libid'
2444
 
-  ;;
2445
 
-
2446
 
-mingw* | pw32*)
2447
 
-  # Base MSYS/MinGW do not provide the 'file' command needed by
2448
 
-  # func_win32_libid shell function, so use a weaker test based on 'objdump',
2449
 
-  # unless we find 'file', for example because we are cross-compiling.
2450
 
-  if ( file / ) >/dev/null 2>&1; then
2451
 
-    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
2452
 
-    lt_cv_file_magic_cmd='func_win32_libid'
2453
 
-  else
2454
 
-    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
2455
 
-    lt_cv_file_magic_cmd='$OBJDUMP -f'
2456
 
-  fi
2457
 
-  ;;
2458
 
-
2459
 
-darwin* | rhapsody*)
2460
 
-  lt_cv_deplibs_check_method=pass_all
2461
 
-  ;;
2462
 
-
2463
 
-freebsd* | dragonfly*)
2464
 
-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2465
 
-    case $host_cpu in
2466
 
-    i*86 )
2467
 
-      # Not sure whether the presence of OpenBSD here was a mistake.
2468
 
-      # Let's accept both of them until this is cleared up.
2469
 
-      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
2470
 
-      lt_cv_file_magic_cmd=/usr/bin/file
2471
 
-      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
2472
 
-      ;;
2473
 
-    esac
2474
 
-  else
2475
 
-    lt_cv_deplibs_check_method=pass_all
2476
 
-  fi
2477
 
-  ;;
2478
 
-
2479
 
-gnu*)
2480
 
-  lt_cv_deplibs_check_method=pass_all
2481
 
-  ;;
2482
 
-
2483
 
-hpux10.20* | hpux11*)
2484
 
-  lt_cv_file_magic_cmd=/usr/bin/file
2485
 
-  case $host_cpu in
2486
 
-  ia64*)
2487
 
-    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
2488
 
-    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
2489
 
-    ;;
2490
 
-  hppa*64*)
2491
 
-    [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]']
2492
 
-    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
2493
 
-    ;;
2494
 
-  *)
2495
 
-    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
2496
 
-    lt_cv_file_magic_test_file=/usr/lib/libc.sl
2497
 
-    ;;
2498
 
-  esac
2499
 
-  ;;
2500
 
-
2501
 
-interix[[3-9]]*)
2502
 
-  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
2503
 
-  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
2504
 
-  ;;
2505
 
-
2506
 
-irix5* | irix6* | nonstopux*)
2507
 
-  case $LD in
2508
 
-  *-32|*"-32 ") libmagic=32-bit;;
2509
 
-  *-n32|*"-n32 ") libmagic=N32;;
2510
 
-  *-64|*"-64 ") libmagic=64-bit;;
2511
 
-  *) libmagic=never-match;;
2512
 
-  esac
2513
 
-  lt_cv_deplibs_check_method=pass_all
2514
 
-  ;;
2515
 
-
2516
 
-# This must be Linux ELF.
2517
 
-linux* | k*bsd*-gnu)
2518
 
-  lt_cv_deplibs_check_method=pass_all
2519
 
-  ;;
2520
 
-
2521
 
-netbsd* | netbsdelf*-gnu)
2522
 
-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2523
 
-    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
2524
 
-  else
2525
 
-    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
2526
 
-  fi
2527
 
-  ;;
2528
 
-
2529
 
-newos6*)
2530
 
-  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
2531
 
-  lt_cv_file_magic_cmd=/usr/bin/file
2532
 
-  lt_cv_file_magic_test_file=/usr/lib/libnls.so
2533
 
-  ;;
2534
 
-
2535
 
-nto-qnx*)
2536
 
-  lt_cv_deplibs_check_method=unknown
2537
 
-  ;;
2538
 
-
2539
 
-openbsd*)
2540
 
-  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
2541
 
-    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
2542
 
-  else
2543
 
-    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
2544
 
-  fi
2545
 
-  ;;
2546
 
-
2547
 
-osf3* | osf4* | osf5*)
2548
 
-  lt_cv_deplibs_check_method=pass_all
2549
 
-  ;;
2550
 
-
2551
 
-rdos*)
2552
 
-  lt_cv_deplibs_check_method=pass_all
2553
 
-  ;;
2554
 
-
2555
 
-solaris*)
2556
 
-  lt_cv_deplibs_check_method=pass_all
2557
 
-  ;;
2558
 
-
2559
 
-sysv4 | sysv4.3*)
2560
 
-  case $host_vendor in
2561
 
-  motorola)
2562
 
-    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]]'
2563
 
-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2564
 
-    ;;
2565
 
-  ncr)
2566
 
-    lt_cv_deplibs_check_method=pass_all
2567
 
-    ;;
2568
 
-  sequent)
2569
 
-    lt_cv_file_magic_cmd='/bin/file'
2570
 
-    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
2571
 
-    ;;
2572
 
-  sni)
2573
 
-    lt_cv_file_magic_cmd='/bin/file'
2574
 
-    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
2575
 
-    lt_cv_file_magic_test_file=/lib/libc.so
2576
 
-    ;;
2577
 
-  siemens)
2578
 
-    lt_cv_deplibs_check_method=pass_all
2579
 
-    ;;
2580
 
-  pc)
2581
 
-    lt_cv_deplibs_check_method=pass_all
2582
 
-    ;;
2583
 
-  esac
2584
 
-  ;;
2585
 
-
2586
 
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
2587
 
-  lt_cv_deplibs_check_method=pass_all
2588
 
-  ;;
2589
 
-esac
2590
 
-])
2591
 
-file_magic_cmd=$lt_cv_file_magic_cmd
2592
 
-deplibs_check_method=$lt_cv_deplibs_check_method
2593
 
-test -z "$deplibs_check_method" && deplibs_check_method=unknown
2594
 
-])# AC_DEPLIBS_CHECK_METHOD
2595
 
-
2596
 
-
2597
 
-# AC_PROG_NM
2598
 
-# ----------
2599
 
-# find the pathname to a BSD-compatible name lister
2600
 
-AC_DEFUN([AC_PROG_NM],
2601
 
-[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
2602
 
-[if test -n "$NM"; then
2603
 
-  # Let the user override the test.
2604
 
-  lt_cv_path_NM="$NM"
2605
 
-else
2606
 
-  lt_nm_to_check="${ac_tool_prefix}nm"
2607
 
-  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
2608
 
-    lt_nm_to_check="$lt_nm_to_check nm"
2609
 
-  fi
2610
 
-  for lt_tmp_nm in $lt_nm_to_check; do
2611
 
-    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2612
 
-    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
2613
 
-      IFS="$lt_save_ifs"
2614
 
-      test -z "$ac_dir" && ac_dir=.
2615
 
-      tmp_nm="$ac_dir/$lt_tmp_nm"
2616
 
-      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
2617
 
-       # Check to see if the nm accepts a BSD-compat flag.
2618
 
-       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
2619
 
-       #   nm: unknown option "B" ignored
2620
 
-       # Tru64's nm complains that /dev/null is an invalid object file
2621
 
-       case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
2622
 
-       */dev/null* | *'Invalid file or object type'*)
2623
 
-         lt_cv_path_NM="$tmp_nm -B"
2624
 
-         break
2625
 
-         ;;
2626
 
-       *)
2627
 
-         case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
2628
 
-         */dev/null*)
2629
 
-           lt_cv_path_NM="$tmp_nm -p"
2630
 
-           break
2631
 
-           ;;
2632
 
-         *)
2633
 
-           lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
2634
 
-           continue # so that we can try to find one that supports BSD flags
2635
 
-           ;;
2636
 
-         esac
2637
 
-         ;;
2638
 
-       esac
2639
 
-      fi
2640
 
-    done
2641
 
-    IFS="$lt_save_ifs"
2642
 
-  done
2643
 
-  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
2644
 
-fi])
2645
 
-NM="$lt_cv_path_NM"
2646
 
-])# AC_PROG_NM
2647
 
-
2648
 
-
2649
 
-# AC_CHECK_LIBM
2650
 
-# -------------
2651
 
-# check for math library
2652
 
-AC_DEFUN([AC_CHECK_LIBM],
2653
 
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
2654
 
-LIBM=
2655
 
-case $host in
2656
 
-*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
2657
 
-  # These system don't have libm, or don't need it
2658
 
-  ;;
2659
 
-*-ncr-sysv4.3*)
2660
 
-  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
2661
 
-  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
2662
 
-  ;;
2663
 
-*)
2664
 
-  AC_CHECK_LIB(m, cos, LIBM="-lm")
2665
 
-  ;;
2666
 
-esac
2667
 
-])# AC_CHECK_LIBM
2668
 
-
2669
 
-
2670
 
-# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
2671
 
-# -----------------------------------
2672
 
-# sets LIBLTDL to the link flags for the libltdl convenience library and
2673
 
-# LTDLINCL to the include flags for the libltdl header and adds
2674
 
-# --enable-ltdl-convenience to the configure arguments.  Note that
2675
 
-# AC_CONFIG_SUBDIRS is not called here.  If DIRECTORY is not provided,
2676
 
-# it is assumed to be `libltdl'.  LIBLTDL will be prefixed with
2677
 
-# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
2678
 
-# (note the single quotes!).  If your package is not flat and you're not
2679
 
-# using automake, define top_builddir and top_srcdir appropriately in
2680
 
-# the Makefiles.
2681
 
-AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
2682
 
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2683
 
-  case $enable_ltdl_convenience in
2684
 
-  no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
2685
 
-  "") enable_ltdl_convenience=yes
2686
 
-      ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
2687
 
-  esac
2688
 
-  LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
2689
 
-  LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
2690
 
-  # For backwards non-gettext consistent compatibility...
2691
 
-  INCLTDL="$LTDLINCL"
2692
 
-])# AC_LIBLTDL_CONVENIENCE
2693
 
-
2694
 
-
2695
 
-# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
2696
 
-# -----------------------------------
2697
 
-# sets LIBLTDL to the link flags for the libltdl installable library and
2698
 
-# LTDLINCL to the include flags for the libltdl header and adds
2699
 
-# --enable-ltdl-install to the configure arguments.  Note that
2700
 
-# AC_CONFIG_SUBDIRS is not called here.  If DIRECTORY is not provided,
2701
 
-# and an installed libltdl is not found, it is assumed to be `libltdl'.
2702
 
-# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
2703
 
-# '${top_srcdir}/' (note the single quotes!).  If your package is not
2704
 
-# flat and you're not using automake, define top_builddir and top_srcdir
2705
 
-# appropriately in the Makefiles.
2706
 
-# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
2707
 
-AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
2708
 
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2709
 
-  AC_CHECK_LIB(ltdl, lt_dlinit,
2710
 
-  [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
2711
 
-  [if test x"$enable_ltdl_install" = xno; then
2712
 
-     AC_MSG_WARN([libltdl not installed, but installation disabled])
2713
 
-   else
2714
 
-     enable_ltdl_install=yes
2715
 
-   fi
2716
 
-  ])
2717
 
-  if test x"$enable_ltdl_install" = x"yes"; then
2718
 
-    ac_configure_args="$ac_configure_args --enable-ltdl-install"
2719
 
-    LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
2720
 
-    LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
2721
 
-  else
2722
 
-    ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
2723
 
-    LIBLTDL="-lltdl"
2724
 
-    LTDLINCL=
2725
 
-  fi
2726
 
-  # For backwards non-gettext consistent compatibility...
2727
 
-  INCLTDL="$LTDLINCL"
2728
 
-])# AC_LIBLTDL_INSTALLABLE
2729
 
-
2730
 
-
2731
 
-# AC_LIBTOOL_CXX
2732
 
-# --------------
2733
 
-# enable support for C++ libraries
2734
 
-AC_DEFUN([AC_LIBTOOL_CXX],
2735
 
-[AC_REQUIRE([_LT_AC_LANG_CXX])
2736
 
-])# AC_LIBTOOL_CXX
2737
 
-
2738
 
-
2739
 
-# _LT_AC_LANG_CXX
2740
 
-# ---------------
2741
 
-AC_DEFUN([_LT_AC_LANG_CXX],
2742
 
-[AC_REQUIRE([AC_PROG_CXX])
2743
 
-AC_REQUIRE([_LT_AC_PROG_CXXCPP])
2744
 
-_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
2745
 
-])# _LT_AC_LANG_CXX
2746
 
-
2747
 
-# _LT_AC_PROG_CXXCPP
2748
 
-# ------------------
2749
 
-AC_DEFUN([_LT_AC_PROG_CXXCPP],
2750
 
-[
2751
 
-AC_REQUIRE([AC_PROG_CXX])
2752
 
-if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
2753
 
-    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
2754
 
-    (test "X$CXX" != "Xg++"))) ; then
2755
 
-  AC_PROG_CXXCPP
2756
 
-fi
2757
 
-])# _LT_AC_PROG_CXXCPP
2758
 
-
2759
 
-# AC_LIBTOOL_F77
2760
 
-# --------------
2761
 
-# enable support for Fortran 77 libraries
2762
 
-AC_DEFUN([AC_LIBTOOL_F77],
2763
 
-[AC_REQUIRE([_LT_AC_LANG_F77])
2764
 
-])# AC_LIBTOOL_F77
2765
 
-
2766
 
-
2767
 
-# _LT_AC_LANG_F77
2768
 
-# ---------------
2769
 
-AC_DEFUN([_LT_AC_LANG_F77],
2770
 
-[AC_REQUIRE([AC_PROG_F77])
2771
 
-_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
2772
 
-])# _LT_AC_LANG_F77
2773
 
-
2774
 
-
2775
 
-# AC_LIBTOOL_GCJ
2776
 
-# --------------
2777
 
-# enable support for GCJ libraries
2778
 
-AC_DEFUN([AC_LIBTOOL_GCJ],
2779
 
-[AC_REQUIRE([_LT_AC_LANG_GCJ])
2780
 
-])# AC_LIBTOOL_GCJ
2781
 
-
2782
 
-
2783
 
-# _LT_AC_LANG_GCJ
2784
 
-# ---------------
2785
 
-AC_DEFUN([_LT_AC_LANG_GCJ],
2786
 
-[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
2787
 
-  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
2788
 
-    [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
2789
 
-      [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
2790
 
-        [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
2791
 
-          [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
2792
 
-_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
2793
 
-])# _LT_AC_LANG_GCJ
2794
 
-
2795
 
-
2796
 
-# AC_LIBTOOL_RC
2797
 
-# -------------
2798
 
-# enable support for Windows resource files
2799
 
-AC_DEFUN([AC_LIBTOOL_RC],
2800
 
-[AC_REQUIRE([LT_AC_PROG_RC])
2801
 
-_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
2802
 
-])# AC_LIBTOOL_RC
2803
 
-
2804
 
-
2805
 
-# AC_LIBTOOL_LANG_C_CONFIG
2806
 
-# ------------------------
2807
 
-# Ensure that the configuration vars for the C compiler are
2808
 
-# suitably defined.  Those variables are subsequently used by
2809
 
-# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
2810
 
-AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
2811
 
-AC_DEFUN([_LT_AC_LANG_C_CONFIG],
2812
 
-[lt_save_CC="$CC"
2813
 
-AC_LANG_PUSH(C)
2814
 
-
2815
 
-# Source file extension for C test sources.
2816
 
-ac_ext=c
2817
 
-
2818
 
-# Object file extension for compiled C test sources.
2819
 
-objext=o
2820
 
-_LT_AC_TAGVAR(objext, $1)=$objext
2821
 
-
2822
 
-# Code to be used in simple compile tests
2823
 
-lt_simple_compile_test_code="int some_variable = 0;"
2824
 
-
2825
 
-# Code to be used in simple link tests
2826
 
-lt_simple_link_test_code='int main(){return(0);}'
2827
 
-
2828
 
-_LT_AC_SYS_COMPILER
2829
 
-
2830
 
-# save warnings/boilerplate of simple test code
2831
 
-_LT_COMPILER_BOILERPLATE
2832
 
-_LT_LINKER_BOILERPLATE
2833
 
-
2834
 
-AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
2835
 
-AC_LIBTOOL_PROG_COMPILER_PIC($1)
2836
 
-AC_LIBTOOL_PROG_CC_C_O($1)
2837
 
-AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
2838
 
-AC_LIBTOOL_PROG_LD_SHLIBS($1)
2839
 
-AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
2840
 
-AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
2841
 
-AC_LIBTOOL_SYS_LIB_STRIP
2842
 
-AC_LIBTOOL_DLOPEN_SELF
2843
 
-
2844
 
-# Report which library types will actually be built
2845
 
-AC_MSG_CHECKING([if libtool supports shared libraries])
2846
 
-AC_MSG_RESULT([$can_build_shared])
2847
 
-
2848
 
-AC_MSG_CHECKING([whether to build shared libraries])
2849
 
-test "$can_build_shared" = "no" && enable_shared=no
2850
 
-
2851
 
-# On AIX, shared libraries and static libraries use the same namespace, and
2852
 
-# are all built from PIC.
2853
 
-case $host_os in
2854
 
-aix3*)
2855
 
-  test "$enable_shared" = yes && enable_static=no
2856
 
-  if test -n "$RANLIB"; then
2857
 
-    archive_cmds="$archive_cmds~\$RANLIB \$lib"
2858
 
-    postinstall_cmds='$RANLIB $lib'
2859
 
-  fi
2860
 
-  ;;
2861
 
-
2862
 
-aix[[4-9]]*)
2863
 
-  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
2864
 
-    test "$enable_shared" = yes && enable_static=no
2865
 
-  fi
2866
 
-    ;;
2867
 
-esac
2868
 
-AC_MSG_RESULT([$enable_shared])
2869
 
-
2870
 
-AC_MSG_CHECKING([whether to build static libraries])
2871
 
-# Make sure either enable_shared or enable_static is yes.
2872
 
-test "$enable_shared" = yes || enable_static=yes
2873
 
-AC_MSG_RESULT([$enable_static])
2874
 
-
2875
 
-AC_LIBTOOL_CONFIG($1)
2876
 
-
2877
 
-AC_LANG_POP
2878
 
-CC="$lt_save_CC"
2879
 
-])# AC_LIBTOOL_LANG_C_CONFIG
2880
 
-
2881
 
-
2882
 
-# AC_LIBTOOL_LANG_CXX_CONFIG
2883
 
-# --------------------------
2884
 
-# Ensure that the configuration vars for the C compiler are
2885
 
-# suitably defined.  Those variables are subsequently used by
2886
 
-# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
2887
 
-AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
2888
 
-AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
2889
 
-[AC_LANG_PUSH(C++)
2890
 
-AC_REQUIRE([AC_PROG_CXX])
2891
 
-AC_REQUIRE([_LT_AC_PROG_CXXCPP])
2892
 
-
2893
 
-_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2894
 
-_LT_AC_TAGVAR(allow_undefined_flag, $1)=
2895
 
-_LT_AC_TAGVAR(always_export_symbols, $1)=no
2896
 
-_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
2897
 
-_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
2898
 
-_LT_AC_TAGVAR(hardcode_direct, $1)=no
2899
 
-_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
2900
 
-_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
2901
 
-_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
2902
 
-_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
2903
 
-_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
2904
 
-_LT_AC_TAGVAR(hardcode_automatic, $1)=no
2905
 
-_LT_AC_TAGVAR(module_cmds, $1)=
2906
 
-_LT_AC_TAGVAR(module_expsym_cmds, $1)=
2907
 
-_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
2908
 
-_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
2909
 
-_LT_AC_TAGVAR(no_undefined_flag, $1)=
2910
 
-_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
2911
 
-_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
2912
 
-
2913
 
-# Dependencies to place before and after the object being linked:
2914
 
-_LT_AC_TAGVAR(predep_objects, $1)=
2915
 
-_LT_AC_TAGVAR(postdep_objects, $1)=
2916
 
-_LT_AC_TAGVAR(predeps, $1)=
2917
 
-_LT_AC_TAGVAR(postdeps, $1)=
2918
 
-_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
2919
 
-_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
2920
 
-
2921
 
-# Source file extension for C++ test sources.
2922
 
-ac_ext=cpp
2923
 
-
2924
 
-# Object file extension for compiled C++ test sources.
2925
 
-objext=o
2926
 
-_LT_AC_TAGVAR(objext, $1)=$objext
2927
 
-
2928
 
-# Code to be used in simple compile tests
2929
 
-lt_simple_compile_test_code="int some_variable = 0;"
2930
 
-
2931
 
-# Code to be used in simple link tests
2932
 
-lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
2933
 
-
2934
 
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
2935
 
-_LT_AC_SYS_COMPILER
2936
 
-
2937
 
-# save warnings/boilerplate of simple test code
2938
 
-_LT_COMPILER_BOILERPLATE
2939
 
-_LT_LINKER_BOILERPLATE
2940
 
-
2941
 
-# Allow CC to be a program name with arguments.
2942
 
-lt_save_CC=$CC
2943
 
-lt_save_LD=$LD
2944
 
-lt_save_GCC=$GCC
2945
 
-GCC=$GXX
2946
 
-lt_save_with_gnu_ld=$with_gnu_ld
2947
 
-lt_save_path_LD=$lt_cv_path_LD
2948
 
-if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
2949
 
-  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
2950
 
-else
2951
 
-  $as_unset lt_cv_prog_gnu_ld
2952
 
-fi
2953
 
-if test -n "${lt_cv_path_LDCXX+set}"; then
2954
 
-  lt_cv_path_LD=$lt_cv_path_LDCXX
2955
 
-else
2956
 
-  $as_unset lt_cv_path_LD
2957
 
-fi
2958
 
-test -z "${LDCXX+set}" || LD=$LDCXX
2959
 
-CC=${CXX-"c++"}
2960
 
-compiler=$CC
2961
 
-_LT_AC_TAGVAR(compiler, $1)=$CC
2962
 
-_LT_CC_BASENAME([$compiler])
2963
 
-
2964
 
-# We don't want -fno-exception wen compiling C++ code, so set the
2965
 
-# no_builtin_flag separately
2966
 
-if test "$GXX" = yes; then
2967
 
-  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
2968
 
-else
2969
 
-  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
2970
 
-fi
2971
 
-
2972
 
-if test "$GXX" = yes; then
2973
 
-  # Set up default GNU C++ configuration
2974
 
-
2975
 
-  AC_PROG_LD
2976
 
-
2977
 
-  # Check if GNU C++ uses GNU ld as the underlying linker, since the
2978
 
-  # archiving commands below assume that GNU ld is being used.
2979
 
-  if test "$with_gnu_ld" = yes; then
2980
 
-    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
2981
 
-    _LT_AC_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'
2982
 
-
2983
 
-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
2984
 
-    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
2985
 
-
2986
 
-    # If archive_cmds runs LD, not CC, wlarc should be empty
2987
 
-    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
2988
 
-    #     investigate it a little bit more. (MM)
2989
 
-    wlarc='${wl}'
2990
 
-
2991
 
-    # ancient GNU ld didn't support --whole-archive et. al.
2992
 
-    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
2993
 
-       grep 'no-whole-archive' > /dev/null; then
2994
 
-      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
2995
 
-    else
2996
 
-      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
2997
 
-    fi
2998
 
-  else
2999
 
-    with_gnu_ld=no
3000
 
-    wlarc=
3001
 
-
3002
 
-    # A generic and very simple default shared library creation
3003
 
-    # command for GNU C++ for the case where it uses the native
3004
 
-    # linker, instead of GNU ld.  If possible, this setting should
3005
 
-    # overridden to take advantage of the native linker features on
3006
 
-    # the platform it is being used on.
3007
 
-    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
3008
 
-  fi
3009
 
-
3010
 
-  # Commands to make compiler produce verbose output that lists
3011
 
-  # what "hidden" libraries, object files and flags are used when
3012
 
-  # linking a shared library.
3013
 
-  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
3014
 
-
3015
 
-else
3016
 
-  GXX=no
3017
 
-  with_gnu_ld=no
3018
 
-  wlarc=
3019
 
-fi
3020
 
-
3021
 
-# PORTME: fill in a description of your system's C++ link characteristics
3022
 
-AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
3023
 
-_LT_AC_TAGVAR(ld_shlibs, $1)=yes
3024
 
-case $host_os in
3025
 
-  aix3*)
3026
 
-    # FIXME: insert proper C++ library support
3027
 
-    _LT_AC_TAGVAR(ld_shlibs, $1)=no
3028
 
-    ;;
3029
 
-  aix[[4-9]]*)
3030
 
-    if test "$host_cpu" = ia64; then
3031
 
-      # On IA64, the linker does run time linking by default, so we don't
3032
 
-      # have to do anything special.
3033
 
-      aix_use_runtimelinking=no
3034
 
-      exp_sym_flag='-Bexport'
3035
 
-      no_entry_flag=""
3036
 
-    else
3037
 
-      aix_use_runtimelinking=no
3038
 
-
3039
 
-      # Test if we are trying to use run time linking or normal
3040
 
-      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
3041
 
-      # need to do runtime linking.
3042
 
-      case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
3043
 
-       for ld_flag in $LDFLAGS; do
3044
 
-         case $ld_flag in
3045
 
-         *-brtl*)
3046
 
-           aix_use_runtimelinking=yes
3047
 
-           break
3048
 
-           ;;
3049
 
-         esac
3050
 
-       done
3051
 
-       ;;
3052
 
-      esac
3053
 
-
3054
 
-      exp_sym_flag='-bexport'
3055
 
-      no_entry_flag='-bnoentry'
3056
 
-    fi
3057
 
-
3058
 
-    # When large executables or shared objects are built, AIX ld can
3059
 
-    # have problems creating the table of contents.  If linking a library
3060
 
-    # or program results in "error TOC overflow" add -mminimal-toc to
3061
 
-    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
3062
 
-    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
3063
 
-
3064
 
-    _LT_AC_TAGVAR(archive_cmds, $1)=''
3065
 
-    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3066
 
-    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
3067
 
-    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3068
 
-
3069
 
-    if test "$GXX" = yes; then
3070
 
-      case $host_os in aix4.[[012]]|aix4.[[012]].*)
3071
 
-      # We only want to do this on AIX 4.2 and lower, the check
3072
 
-      # below for broken collect2 doesn't work under 4.3+
3073
 
-       collect2name=`${CC} -print-prog-name=collect2`
3074
 
-       if test -f "$collect2name" && \
3075
 
-          strings "$collect2name" | grep resolve_lib_name >/dev/null
3076
 
-       then
3077
 
-         # We have reworked collect2
3078
 
-         :
3079
 
-       else
3080
 
-         # We have old collect2
3081
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
3082
 
-         # It fails to find uninstalled libraries when the uninstalled
3083
 
-         # path is not listed in the libpath.  Setting hardcode_minus_L
3084
 
-         # to unsupported forces relinking
3085
 
-         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3086
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3087
 
-         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
3088
 
-       fi
3089
 
-       ;;
3090
 
-      esac
3091
 
-      shared_flag='-shared'
3092
 
-      if test "$aix_use_runtimelinking" = yes; then
3093
 
-       shared_flag="$shared_flag "'${wl}-G'
3094
 
-      fi
3095
 
-    else
3096
 
-      # not using gcc
3097
 
-      if test "$host_cpu" = ia64; then
3098
 
-       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
3099
 
-       # chokes on -Wl,-G. The following line is correct:
3100
 
-       shared_flag='-G'
3101
 
-      else
3102
 
-       if test "$aix_use_runtimelinking" = yes; then
3103
 
-         shared_flag='${wl}-G'
3104
 
-       else
3105
 
-         shared_flag='${wl}-bM:SRE'
3106
 
-       fi
3107
 
-      fi
3108
 
-    fi
3109
 
-
3110
 
-    # It seems that -bexpall does not export symbols beginning with
3111
 
-    # underscore (_), so it is better to generate a list of symbols to export.
3112
 
-    _LT_AC_TAGVAR(always_export_symbols, $1)=yes
3113
 
-    if test "$aix_use_runtimelinking" = yes; then
3114
 
-      # Warning - without using the other runtime loading flags (-brtl),
3115
 
-      # -berok will link without error, but may produce a broken library.
3116
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
3117
 
-      # Determine the default libpath from the value encoded in an empty executable.
3118
 
-      _LT_AC_SYS_LIBPATH_AIX
3119
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
3120
 
-
3121
 
-      _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"
3122
 
-     else
3123
 
-      if test "$host_cpu" = ia64; then
3124
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
3125
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
3126
 
-       _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"
3127
 
-      else
3128
 
-       # Determine the default libpath from the value encoded in an empty executable.
3129
 
-       _LT_AC_SYS_LIBPATH_AIX
3130
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
3131
 
-       # Warning - without using the other run time loading flags,
3132
 
-       # -berok will link without error, but may produce a broken library.
3133
 
-       _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
3134
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
3135
 
-       # Exported symbols can be pulled into shared objects from archives
3136
 
-       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
3137
 
-       _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
3138
 
-       # This is similar to how AIX traditionally builds its shared libraries.
3139
 
-       _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'
3140
 
-      fi
3141
 
-    fi
3142
 
-    ;;
3143
 
-
3144
 
-  beos*)
3145
 
-    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3146
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
3147
 
-      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
3148
 
-      # support --undefined.  This deserves some investigation.  FIXME
3149
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3150
 
-    else
3151
 
-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
3152
 
-    fi
3153
 
-    ;;
3154
 
-
3155
 
-  chorus*)
3156
 
-    case $cc_basename in
3157
 
-      *)
3158
 
-       # FIXME: insert proper C++ library support
3159
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3160
 
-       ;;
3161
 
-    esac
3162
 
-    ;;
3163
 
-
3164
 
-  cygwin* | mingw* | pw32*)
3165
 
-    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
3166
 
-    # as there is no search path for DLLs.
3167
 
-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3168
 
-    _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
3169
 
-    _LT_AC_TAGVAR(always_export_symbols, $1)=no
3170
 
-    _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
3171
 
-
3172
 
-    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
3173
 
-      _LT_AC_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'
3174
 
-      # If the export-symbols file already is a .def file (1st line
3175
 
-      # is EXPORTS), use it as is; otherwise, prepend...
3176
 
-      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
3177
 
-       cp $export_symbols $output_objdir/$soname.def;
3178
 
-      else
3179
 
-       echo EXPORTS > $output_objdir/$soname.def;
3180
 
-       cat $export_symbols >> $output_objdir/$soname.def;
3181
 
-      fi~
3182
 
-      $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'
3183
 
-    else
3184
 
-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
3185
 
-    fi
3186
 
-  ;;
3187
 
-      darwin* | rhapsody*)
3188
 
-      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3189
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=no
3190
 
-      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3191
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3192
 
-      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
3193
 
-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3194
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
3195
 
-      if test "$GXX" = yes ; then
3196
 
-      output_verbose_link_cmd='echo'
3197
 
-      _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}"
3198
 
-      _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
3199
 
-      _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}"
3200
 
-      _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}"
3201
 
-      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
3202
 
-        _LT_AC_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}"
3203
 
-        _LT_AC_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}"
3204
 
-      fi
3205
 
-      else
3206
 
-      case $cc_basename in
3207
 
-        xlc*)
3208
 
-         output_verbose_link_cmd='echo'
3209
 
-          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
3210
 
-          _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3211
 
-          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3212
 
-          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3213
 
-          _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}'
3214
 
-          ;;
3215
 
-       *)
3216
 
-         _LT_AC_TAGVAR(ld_shlibs, $1)=no
3217
 
-          ;;
3218
 
-      esac
3219
 
-      fi
3220
 
-        ;;
3221
 
-
3222
 
-  dgux*)
3223
 
-    case $cc_basename in
3224
 
-      ec++*)
3225
 
-       # FIXME: insert proper C++ library support
3226
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3227
 
-       ;;
3228
 
-      ghcx*)
3229
 
-       # Green Hills C++ Compiler
3230
 
-       # FIXME: insert proper C++ library support
3231
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3232
 
-       ;;
3233
 
-      *)
3234
 
-       # FIXME: insert proper C++ library support
3235
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3236
 
-       ;;
3237
 
-    esac
3238
 
-    ;;
3239
 
-  freebsd[[12]]*)
3240
 
-    # C++ shared libraries reported to be fairly broken before switch to ELF
3241
 
-    _LT_AC_TAGVAR(ld_shlibs, $1)=no
3242
 
-    ;;
3243
 
-  freebsd-elf*)
3244
 
-    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3245
 
-    ;;
3246
 
-  freebsd* | dragonfly*)
3247
 
-    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
3248
 
-    # conventions
3249
 
-    _LT_AC_TAGVAR(ld_shlibs, $1)=yes
3250
 
-    ;;
3251
 
-  gnu*)
3252
 
-    ;;
3253
 
-  hpux9*)
3254
 
-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3255
 
-    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3256
 
-    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3257
 
-    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3258
 
-    _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
3259
 
-                               # but as the default
3260
 
-                               # location of the library.
3261
 
-
3262
 
-    case $cc_basename in
3263
 
-    CC*)
3264
 
-      # FIXME: insert proper C++ library support
3265
 
-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
3266
 
-      ;;
3267
 
-    aCC*)
3268
 
-      _LT_AC_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'
3269
 
-      # Commands to make compiler produce verbose output that lists
3270
 
-      # what "hidden" libraries, object files and flags are used when
3271
 
-      # linking a shared library.
3272
 
-      #
3273
 
-      # There doesn't appear to be a way to prevent this compiler from
3274
 
-      # explicitly linking system object files so we need to strip them
3275
 
-      # from the output so that they don't get included in the library
3276
 
-      # dependencies.
3277
 
-      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 $list'
3278
 
-      ;;
3279
 
-    *)
3280
 
-      if test "$GXX" = yes; then
3281
 
-        _LT_AC_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'
3282
 
-      else
3283
 
-        # FIXME: insert proper C++ library support
3284
 
-        _LT_AC_TAGVAR(ld_shlibs, $1)=no
3285
 
-      fi
3286
 
-      ;;
3287
 
-    esac
3288
 
-    ;;
3289
 
-  hpux10*|hpux11*)
3290
 
-    if test $with_gnu_ld = no; then
3291
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3292
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3293
 
-
3294
 
-      case $host_cpu in
3295
 
-      hppa*64*|ia64*) ;;
3296
 
-      *)
3297
 
-       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3298
 
-        ;;
3299
 
-      esac
3300
 
-    fi
3301
 
-    case $host_cpu in
3302
 
-    hppa*64*|ia64*)
3303
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=no
3304
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3305
 
-      ;;
3306
 
-    *)
3307
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3308
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
3309
 
-                                             # but as the default
3310
 
-                                             # location of the library.
3311
 
-      ;;
3312
 
-    esac
3313
 
-
3314
 
-    case $cc_basename in
3315
 
-      CC*)
3316
 
-       # FIXME: insert proper C++ library support
3317
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3318
 
-       ;;
3319
 
-      aCC*)
3320
 
-       case $host_cpu in
3321
 
-       hppa*64*)
3322
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3323
 
-         ;;
3324
 
-       ia64*)
3325
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3326
 
-         ;;
3327
 
-       *)
3328
 
-         _LT_AC_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'
3329
 
-         ;;
3330
 
-       esac
3331
 
-       # Commands to make compiler produce verbose output that lists
3332
 
-       # what "hidden" libraries, object files and flags are used when
3333
 
-       # linking a shared library.
3334
 
-       #
3335
 
-       # There doesn't appear to be a way to prevent this compiler from
3336
 
-       # explicitly linking system object files so we need to strip them
3337
 
-       # from the output so that they don't get included in the library
3338
 
-       # dependencies.
3339
 
-       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 $list'
3340
 
-       ;;
3341
 
-      *)
3342
 
-       if test "$GXX" = yes; then
3343
 
-         if test $with_gnu_ld = no; then
3344
 
-           case $host_cpu in
3345
 
-           hppa*64*)
3346
 
-             _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3347
 
-             ;;
3348
 
-           ia64*)
3349
 
-             _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3350
 
-             ;;
3351
 
-           *)
3352
 
-             _LT_AC_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'
3353
 
-             ;;
3354
 
-           esac
3355
 
-         fi
3356
 
-       else
3357
 
-         # FIXME: insert proper C++ library support
3358
 
-         _LT_AC_TAGVAR(ld_shlibs, $1)=no
3359
 
-       fi
3360
 
-       ;;
3361
 
-    esac
3362
 
-    ;;
3363
 
-  interix[[3-9]]*)
3364
 
-    _LT_AC_TAGVAR(hardcode_direct, $1)=no
3365
 
-    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3366
 
-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3367
 
-    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3368
 
-    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
3369
 
-    # Instead, shared libraries are loaded at an image base (0x10000000 by
3370
 
-    # default) and relocated if they conflict, which is a slow very memory
3371
 
-    # consuming and fragmenting process.  To avoid this, we pick a random,
3372
 
-    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
3373
 
-    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
3374
 
-    _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'
3375
 
-    _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'
3376
 
-    ;;
3377
 
-  irix5* | irix6*)
3378
 
-    case $cc_basename in
3379
 
-      CC*)
3380
 
-       # SGI C++
3381
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
3382
 
-
3383
 
-       # Archives containing C++ object files must be created using
3384
 
-       # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
3385
 
-       # necessary to make sure instantiated templates are included
3386
 
-       # in the archive.
3387
 
-       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
3388
 
-       ;;
3389
 
-      *)
3390
 
-       if test "$GXX" = yes; then
3391
 
-         if test "$with_gnu_ld" = no; then
3392
 
-           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
3393
 
-         else
3394
 
-           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
3395
 
-         fi
3396
 
-       fi
3397
 
-       _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3398
 
-       ;;
3399
 
-    esac
3400
 
-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3401
 
-    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3402
 
-    ;;
3403
 
-  linux* | k*bsd*-gnu)
3404
 
-    case $cc_basename in
3405
 
-      KCC*)
3406
 
-       # Kuck and Associates, Inc. (KAI) C++ Compiler
3407
 
-
3408
 
-       # KCC will only create a shared library if the output file
3409
 
-       # ends with ".so" (or ".sl" for HP-UX), so rename the library
3410
 
-       # to its proper name (with version) after linking.
3411
 
-       _LT_AC_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'
3412
 
-       _LT_AC_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'
3413
 
-       # Commands to make compiler produce verbose output that lists
3414
 
-       # what "hidden" libraries, object files and flags are used when
3415
 
-       # linking a shared library.
3416
 
-       #
3417
 
-       # There doesn't appear to be a way to prevent this compiler from
3418
 
-       # explicitly linking system object files so we need to strip them
3419
 
-       # from the output so that they don't get included in the library
3420
 
-       # dependencies.
3421
 
-       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 $list'
3422
 
-
3423
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
3424
 
-       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3425
 
-
3426
 
-       # Archives containing C++ object files must be created using
3427
 
-       # "CC -Bstatic", where "CC" is the KAI C++ compiler.
3428
 
-       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
3429
 
-       ;;
3430
 
-      icpc*)
3431
 
-       # Intel C++
3432
 
-       with_gnu_ld=yes
3433
 
-       # version 8.0 and above of icpc choke on multiply defined symbols
3434
 
-       # if we add $predep_objects and $postdep_objects, however 7.1 and
3435
 
-       # earlier do not add the objects themselves.
3436
 
-       case `$CC -V 2>&1` in
3437
 
-       *"Version 7."*)
3438
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
3439
 
-         _LT_AC_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'
3440
 
-         ;;
3441
 
-       *)  # Version 8.0 or newer
3442
 
-         tmp_idyn=
3443
 
-         case $host_cpu in
3444
 
-           ia64*) tmp_idyn=' -i_dynamic';;
3445
 
-         esac
3446
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3447
 
-         _LT_AC_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'
3448
 
-         ;;
3449
 
-       esac
3450
 
-       _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3451
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3452
 
-       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3453
 
-       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
3454
 
-       ;;
3455
 
-      pgCC* | pgcpp*)
3456
 
-        # Portland Group C++ compiler
3457
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
3458
 
-       _LT_AC_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'
3459
 
-
3460
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
3461
 
-       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3462
 
-       _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'
3463
 
-        ;;
3464
 
-      cxx*)
3465
 
-       # Compaq C++
3466
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
3467
 
-       _LT_AC_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'
3468
 
-
3469
 
-       runpath_var=LD_RUN_PATH
3470
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
3471
 
-       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3472
 
-
3473
 
-       # Commands to make compiler produce verbose output that lists
3474
 
-       # what "hidden" libraries, object files and flags are used when
3475
 
-       # linking a shared library.
3476
 
-       #
3477
 
-       # There doesn't appear to be a way to prevent this compiler from
3478
 
-       # explicitly linking system object files so we need to strip them
3479
 
-       # from the output so that they don't get included in the library
3480
 
-       # dependencies.
3481
 
-       output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
3482
 
-       ;;
3483
 
-      *)
3484
 
-       case `$CC -V 2>&1 | sed 5q` in
3485
 
-       *Sun\ C*)
3486
 
-         # Sun C++ 5.9
3487
 
-         _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
3488
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3489
 
-         _LT_AC_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'
3490
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3491
 
-         _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'
3492
 
-
3493
 
-         # Not sure whether something based on
3494
 
-         # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
3495
 
-         # would be better.
3496
 
-         output_verbose_link_cmd='echo'
3497
 
-
3498
 
-         # Archives containing C++ object files must be created using
3499
 
-         # "CC -xar", where "CC" is the Sun C++ compiler.  This is
3500
 
-         # necessary to make sure instantiated templates are included
3501
 
-         # in the archive.
3502
 
-         _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
3503
 
-         ;;
3504
 
-       esac
3505
 
-       ;;
3506
 
-    esac
3507
 
-    ;;
3508
 
-  lynxos*)
3509
 
-    # FIXME: insert proper C++ library support
3510
 
-    _LT_AC_TAGVAR(ld_shlibs, $1)=no
3511
 
-    ;;
3512
 
-  m88k*)
3513
 
-    # FIXME: insert proper C++ library support
3514
 
-    _LT_AC_TAGVAR(ld_shlibs, $1)=no
3515
 
-    ;;
3516
 
-  mvs*)
3517
 
-    case $cc_basename in
3518
 
-      cxx*)
3519
 
-       # FIXME: insert proper C++ library support
3520
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3521
 
-       ;;
3522
 
-      *)
3523
 
-       # FIXME: insert proper C++ library support
3524
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3525
 
-       ;;
3526
 
-    esac
3527
 
-    ;;
3528
 
-  netbsd* | netbsdelf*-gnu)
3529
 
-    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3530
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
3531
 
-      wlarc=
3532
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3533
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3534
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3535
 
-    fi
3536
 
-    # Workaround some broken pre-1.5 toolchains
3537
 
-    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
3538
 
-    ;;
3539
 
-  openbsd2*)
3540
 
-    # C++ shared libraries are fairly broken
3541
 
-    _LT_AC_TAGVAR(ld_shlibs, $1)=no
3542
 
-    ;;
3543
 
-  openbsd*)
3544
 
-    if test -f /usr/libexec/ld.so; then
3545
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3546
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3547
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
3548
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3549
 
-      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3550
 
-       _LT_AC_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'
3551
 
-       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3552
 
-       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3553
 
-      fi
3554
 
-      output_verbose_link_cmd='echo'
3555
 
-    else
3556
 
-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
3557
 
-    fi
3558
 
-    ;;
3559
 
-  osf3*)
3560
 
-    case $cc_basename in
3561
 
-      KCC*)
3562
 
-       # Kuck and Associates, Inc. (KAI) C++ Compiler
3563
 
-
3564
 
-       # KCC will only create a shared library if the output file
3565
 
-       # ends with ".so" (or ".sl" for HP-UX), so rename the library
3566
 
-       # to its proper name (with version) after linking.
3567
 
-       _LT_AC_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'
3568
 
-
3569
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3570
 
-       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3571
 
-
3572
 
-       # Archives containing C++ object files must be created using
3573
 
-       # "CC -Bstatic", where "CC" is the KAI C++ compiler.
3574
 
-       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
3575
 
-
3576
 
-       ;;
3577
 
-      RCC*)
3578
 
-       # Rational C++ 2.4.1
3579
 
-       # FIXME: insert proper C++ library support
3580
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3581
 
-       ;;
3582
 
-      cxx*)
3583
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
3584
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
3585
 
-
3586
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3587
 
-       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3588
 
-
3589
 
-       # Commands to make compiler produce verbose output that lists
3590
 
-       # what "hidden" libraries, object files and flags are used when
3591
 
-       # linking a shared library.
3592
 
-       #
3593
 
-       # There doesn't appear to be a way to prevent this compiler from
3594
 
-       # explicitly linking system object files so we need to strip them
3595
 
-       # from the output so that they don't get included in the library
3596
 
-       # dependencies.
3597
 
-       output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
3598
 
-       ;;
3599
 
-      *)
3600
 
-       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
3601
 
-         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
3602
 
-         _LT_AC_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 ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
3603
 
-
3604
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3605
 
-         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3606
 
-
3607
 
-         # Commands to make compiler produce verbose output that lists
3608
 
-         # what "hidden" libraries, object files and flags are used when
3609
 
-         # linking a shared library.
3610
 
-         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
3611
 
-
3612
 
-       else
3613
 
-         # FIXME: insert proper C++ library support
3614
 
-         _LT_AC_TAGVAR(ld_shlibs, $1)=no
3615
 
-       fi
3616
 
-       ;;
3617
 
-    esac
3618
 
-    ;;
3619
 
-  osf4* | osf5*)
3620
 
-    case $cc_basename in
3621
 
-      KCC*)
3622
 
-       # Kuck and Associates, Inc. (KAI) C++ Compiler
3623
 
-
3624
 
-       # KCC will only create a shared library if the output file
3625
 
-       # ends with ".so" (or ".sl" for HP-UX), so rename the library
3626
 
-       # to its proper name (with version) after linking.
3627
 
-       _LT_AC_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'
3628
 
-
3629
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3630
 
-       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3631
 
-
3632
 
-       # Archives containing C++ object files must be created using
3633
 
-       # the KAI C++ compiler.
3634
 
-       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
3635
 
-       ;;
3636
 
-      RCC*)
3637
 
-       # Rational C++ 2.4.1
3638
 
-       # FIXME: insert proper C++ library support
3639
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3640
 
-       ;;
3641
 
-      cxx*)
3642
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
3643
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
3644
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
3645
 
-         echo "-hidden">> $lib.exp~
3646
 
-         $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
3647
 
-         $rm $lib.exp'
3648
 
-
3649
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
3650
 
-       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3651
 
-
3652
 
-       # Commands to make compiler produce verbose output that lists
3653
 
-       # what "hidden" libraries, object files and flags are used when
3654
 
-       # linking a shared library.
3655
 
-       #
3656
 
-       # There doesn't appear to be a way to prevent this compiler from
3657
 
-       # explicitly linking system object files so we need to strip them
3658
 
-       # from the output so that they don't get included in the library
3659
 
-       # dependencies.
3660
 
-       output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
3661
 
-       ;;
3662
 
-      *)
3663
 
-       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
3664
 
-         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
3665
 
-        _LT_AC_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` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
3666
 
-
3667
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3668
 
-         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3669
 
-
3670
 
-         # Commands to make compiler produce verbose output that lists
3671
 
-         # what "hidden" libraries, object files and flags are used when
3672
 
-         # linking a shared library.
3673
 
-         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
3674
 
-
3675
 
-       else
3676
 
-         # FIXME: insert proper C++ library support
3677
 
-         _LT_AC_TAGVAR(ld_shlibs, $1)=no
3678
 
-       fi
3679
 
-       ;;
3680
 
-    esac
3681
 
-    ;;
3682
 
-  psos*)
3683
 
-    # FIXME: insert proper C++ library support
3684
 
-    _LT_AC_TAGVAR(ld_shlibs, $1)=no
3685
 
-    ;;
3686
 
-  sunos4*)
3687
 
-    case $cc_basename in
3688
 
-      CC*)
3689
 
-       # Sun C++ 4.x
3690
 
-       # FIXME: insert proper C++ library support
3691
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3692
 
-       ;;
3693
 
-      lcc*)
3694
 
-       # Lucid
3695
 
-       # FIXME: insert proper C++ library support
3696
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3697
 
-       ;;
3698
 
-      *)
3699
 
-       # FIXME: insert proper C++ library support
3700
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3701
 
-       ;;
3702
 
-    esac
3703
 
-    ;;
3704
 
-  solaris*)
3705
 
-    case $cc_basename in
3706
 
-      CC*)
3707
 
-       # Sun C++ 4.2, 5.x and Centerline C++
3708
 
-        _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
3709
 
-       _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
3710
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3711
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3712
 
-       $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'
3713
 
-
3714
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3715
 
-       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3716
 
-       case $host_os in
3717
 
-         solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
3718
 
-         *)
3719
 
-           # The compiler driver will combine and reorder linker options,
3720
 
-           # but understands `-z linker_flag'.
3721
 
-           # Supported since Solaris 2.6 (maybe 2.5.1?)
3722
 
-           _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
3723
 
-           ;;
3724
 
-       esac
3725
 
-       _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3726
 
-
3727
 
-       output_verbose_link_cmd='echo'
3728
 
-
3729
 
-       # Archives containing C++ object files must be created using
3730
 
-       # "CC -xar", where "CC" is the Sun C++ compiler.  This is
3731
 
-       # necessary to make sure instantiated templates are included
3732
 
-       # in the archive.
3733
 
-       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
3734
 
-       ;;
3735
 
-      gcx*)
3736
 
-       # Green Hills C++ Compiler
3737
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
3738
 
-
3739
 
-       # The C++ compiler must be used to create the archive.
3740
 
-       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
3741
 
-       ;;
3742
 
-      *)
3743
 
-       # GNU C++ compiler with Solaris linker
3744
 
-       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
3745
 
-         _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
3746
 
-         if $CC --version | grep -v '^2\.7' > /dev/null; then
3747
 
-           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
3748
 
-           _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3749
 
-               $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
3750
 
-
3751
 
-           # Commands to make compiler produce verbose output that lists
3752
 
-           # what "hidden" libraries, object files and flags are used when
3753
 
-           # linking a shared library.
3754
 
-           output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
3755
 
-         else
3756
 
-           # g++ 2.7 appears to require `-G' NOT `-shared' on this
3757
 
-           # platform.
3758
 
-           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
3759
 
-           _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3760
 
-               $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
3761
 
-
3762
 
-           # Commands to make compiler produce verbose output that lists
3763
 
-           # what "hidden" libraries, object files and flags are used when
3764
 
-           # linking a shared library.
3765
 
-           output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
3766
 
-         fi
3767
 
-
3768
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
3769
 
-         case $host_os in
3770
 
-         solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
3771
 
-         *)
3772
 
-           _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
3773
 
-           ;;
3774
 
-         esac
3775
 
-       fi
3776
 
-       ;;
3777
 
-    esac
3778
 
-    ;;
3779
 
-  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
3780
 
-    _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
3781
 
-    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3782
 
-    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3783
 
-    runpath_var='LD_RUN_PATH'
3784
 
-
3785
 
-    case $cc_basename in
3786
 
-      CC*)
3787
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3788
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3789
 
-       ;;
3790
 
-      *)
3791
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3792
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3793
 
-       ;;
3794
 
-    esac
3795
 
-    ;;
3796
 
-  sysv5* | sco3.2v5* | sco5v6*)
3797
 
-    # Note: We can NOT use -z defs as we might desire, because we do not
3798
 
-    # link with -lc, and that would cause any symbols used from libc to
3799
 
-    # always be unresolved, which means just about no library would
3800
 
-    # ever link correctly.  If we're not using GNU ld we use -z text
3801
 
-    # though, which does catch some bad symbols but isn't as heavy-handed
3802
 
-    # as -z defs.
3803
 
-    # For security reasons, it is highly recommended that you always
3804
 
-    # use absolute paths for naming shared libraries, and exclude the
3805
 
-    # DT_RUNPATH tag from executables and libraries.  But doing so
3806
 
-    # requires that you compile everything twice, which is a pain.
3807
 
-    # So that behaviour is only enabled if SCOABSPATH is set to a
3808
 
-    # non-empty value in the environment.  Most likely only useful for
3809
 
-    # creating official distributions of packages.
3810
 
-    # This is a hack until libtool officially supports absolute path
3811
 
-    # names for shared libraries.
3812
 
-    _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
3813
 
-    _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
3814
 
-    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3815
 
-    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3816
 
-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
3817
 
-    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
3818
 
-    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3819
 
-    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
3820
 
-    runpath_var='LD_RUN_PATH'
3821
 
-
3822
 
-    case $cc_basename in
3823
 
-      CC*)
3824
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3825
 
-       _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'
3826
 
-       ;;
3827
 
-      *)
3828
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3829
 
-       _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'
3830
 
-       ;;
3831
 
-    esac
3832
 
-    ;;
3833
 
-  tandem*)
3834
 
-    case $cc_basename in
3835
 
-      NCC*)
3836
 
-       # NonStop-UX NCC 3.20
3837
 
-       # FIXME: insert proper C++ library support
3838
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3839
 
-       ;;
3840
 
-      *)
3841
 
-       # FIXME: insert proper C++ library support
3842
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3843
 
-       ;;
3844
 
-    esac
3845
 
-    ;;
3846
 
-  vxworks*)
3847
 
-    # FIXME: insert proper C++ library support
3848
 
-    _LT_AC_TAGVAR(ld_shlibs, $1)=no
3849
 
-    ;;
3850
 
-  *)
3851
 
-    # FIXME: insert proper C++ library support
3852
 
-    _LT_AC_TAGVAR(ld_shlibs, $1)=no
3853
 
-    ;;
3854
 
-esac
3855
 
-AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
3856
 
-test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
3857
 
-
3858
 
-_LT_AC_TAGVAR(GCC, $1)="$GXX"
3859
 
-_LT_AC_TAGVAR(LD, $1)="$LD"
3860
 
-
3861
 
-AC_LIBTOOL_POSTDEP_PREDEP($1)
3862
 
-AC_LIBTOOL_PROG_COMPILER_PIC($1)
3863
 
-AC_LIBTOOL_PROG_CC_C_O($1)
3864
 
-AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
3865
 
-AC_LIBTOOL_PROG_LD_SHLIBS($1)
3866
 
-AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3867
 
-AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
3868
 
-
3869
 
-AC_LIBTOOL_CONFIG($1)
3870
 
-
3871
 
-AC_LANG_POP
3872
 
-CC=$lt_save_CC
3873
 
-LDCXX=$LD
3874
 
-LD=$lt_save_LD
3875
 
-GCC=$lt_save_GCC
3876
 
-with_gnu_ldcxx=$with_gnu_ld
3877
 
-with_gnu_ld=$lt_save_with_gnu_ld
3878
 
-lt_cv_path_LDCXX=$lt_cv_path_LD
3879
 
-lt_cv_path_LD=$lt_save_path_LD
3880
 
-lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
3881
 
-lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
3882
 
-])# AC_LIBTOOL_LANG_CXX_CONFIG
3883
 
-
3884
 
-# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
3885
 
-# ------------------------------------
3886
 
-# Figure out "hidden" library dependencies from verbose
3887
 
-# compiler output when linking a shared library.
3888
 
-# Parse the compiler output and extract the necessary
3889
 
-# objects, libraries and library flags.
3890
 
-AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],
3891
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
3892
 
-dnl we can't use the lt_simple_compile_test_code here,
3893
 
-dnl because it contains code intended for an executable,
3894
 
-dnl not a library.  It's possible we should let each
3895
 
-dnl tag define a new lt_????_link_test_code variable,
3896
 
-dnl but it's only used here...
3897
 
-ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
3898
 
-int a;
3899
 
-void foo (void) { a = 0; }
3900
 
-EOF
3901
 
-],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
3902
 
-class Foo
3903
 
-{
3904
 
-public:
3905
 
-  Foo (void) { a = 0; }
3906
 
-private:
3907
 
-  int a;
3908
 
-};
3909
 
-EOF
3910
 
-],[$1],[F77],[cat > conftest.$ac_ext <<EOF
3911
 
-      subroutine foo
3912
 
-      implicit none
3913
 
-      integer*4 a
3914
 
-      a=0
3915
 
-      return
3916
 
-      end
3917
 
-EOF
3918
 
-],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
3919
 
-public class foo {
3920
 
-  private int a;
3921
 
-  public void bar (void) {
3922
 
-    a = 0;
3923
 
-  }
3924
 
-};
3925
 
-EOF
3926
 
-])
3927
 
-dnl Parse the compiler output and extract the necessary
3928
 
-dnl objects, libraries and library flags.
3929
 
-if AC_TRY_EVAL(ac_compile); then
3930
 
-  # Parse the compiler output and extract the necessary
3931
 
-  # objects, libraries and library flags.
3932
 
-
3933
 
-  # Sentinel used to keep track of whether or not we are before
3934
 
-  # the conftest object file.
3935
 
-  pre_test_object_deps_done=no
3936
 
-
3937
 
-  # The `*' in the case matches for architectures that use `case' in
3938
 
-  # $output_verbose_cmd can trigger glob expansion during the loop
3939
 
-  # eval without this substitution.
3940
 
-  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
3941
 
-
3942
 
-  for p in `eval $output_verbose_link_cmd`; do
3943
 
-    case $p in
3944
 
-
3945
 
-    -L* | -R* | -l*)
3946
 
-       # Some compilers place space between "-{L,R}" and the path.
3947
 
-       # Remove the space.
3948
 
-       if test $p = "-L" \
3949
 
-         || test $p = "-R"; then
3950
 
-        prev=$p
3951
 
-        continue
3952
 
-       else
3953
 
-        prev=
3954
 
-       fi
3955
 
-
3956
 
-       if test "$pre_test_object_deps_done" = no; then
3957
 
-        case $p in
3958
 
-        -L* | -R*)
3959
 
-          # Internal compiler library paths should come after those
3960
 
-          # provided the user.  The postdeps already come after the
3961
 
-          # user supplied libs so there is no need to process them.
3962
 
-          if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
3963
 
-            _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
3964
 
-          else
3965
 
-            _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
3966
 
-          fi
3967
 
-          ;;
3968
 
-        # The "-l" case would never come before the object being
3969
 
-        # linked, so don't bother handling this case.
3970
 
-        esac
3971
 
-       else
3972
 
-        if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
3973
 
-          _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
3974
 
-        else
3975
 
-          _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
3976
 
-        fi
3977
 
-       fi
3978
 
-       ;;
3979
 
-
3980
 
-    *.$objext)
3981
 
-       # This assumes that the test object file only shows up
3982
 
-       # once in the compiler output.
3983
 
-       if test "$p" = "conftest.$objext"; then
3984
 
-        pre_test_object_deps_done=yes
3985
 
-        continue
3986
 
-       fi
3987
 
-
3988
 
-       if test "$pre_test_object_deps_done" = no; then
3989
 
-        if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
3990
 
-          _LT_AC_TAGVAR(predep_objects, $1)="$p"
3991
 
-        else
3992
 
-          _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
3993
 
-        fi
3994
 
-       else
3995
 
-        if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
3996
 
-          _LT_AC_TAGVAR(postdep_objects, $1)="$p"
3997
 
-        else
3998
 
-          _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
3999
 
-        fi
4000
 
-       fi
4001
 
-       ;;
4002
 
-
4003
 
-    *) ;; # Ignore the rest.
4004
 
-
4005
 
-    esac
4006
 
-  done
4007
 
-
4008
 
-  # Clean up.
4009
 
-  rm -f a.out a.exe
4010
 
-else
4011
 
-  echo "libtool.m4: error: problem compiling $1 test program"
4012
 
-fi
4013
 
-
4014
 
-$rm -f confest.$objext
4015
 
-
4016
 
-_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
4017
 
-if test -n "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
4018
 
-  _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_AC_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
4019
 
-fi
4020
 
-
4021
 
-# PORTME: override above test on systems where it is broken
4022
 
-ifelse([$1],[CXX],
4023
 
-[case $host_os in
4024
 
-interix[[3-9]]*)
4025
 
-  # Interix 3.5 installs completely hosed .la files for C++, so rather than
4026
 
-  # hack all around it, let's just trust "g++" to DTRT.
4027
 
-  _LT_AC_TAGVAR(predep_objects,$1)=
4028
 
-  _LT_AC_TAGVAR(postdep_objects,$1)=
4029
 
-  _LT_AC_TAGVAR(postdeps,$1)=
4030
 
-  ;;
4031
 
-
4032
 
-linux*)
4033
 
-  case `$CC -V 2>&1 | sed 5q` in
4034
 
-  *Sun\ C*)
4035
 
-    # Sun C++ 5.9
4036
 
-    #
4037
 
-    # The more standards-conforming stlport4 library is
4038
 
-    # incompatible with the Cstd library. Avoid specifying
4039
 
-    # it if it's in CXXFLAGS. Ignore libCrun as
4040
 
-    # -library=stlport4 depends on it.
4041
 
-    case " $CXX $CXXFLAGS " in
4042
 
-    *" -library=stlport4 "*)
4043
 
-      solaris_use_stlport4=yes
4044
 
-      ;;
4045
 
-    esac
4046
 
-    if test "$solaris_use_stlport4" != yes; then
4047
 
-      _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
4048
 
-    fi
4049
 
-    ;;
4050
 
-  esac
4051
 
-  ;;
4052
 
-
4053
 
-solaris*)
4054
 
-  case $cc_basename in
4055
 
-  CC*)
4056
 
-    # The more standards-conforming stlport4 library is
4057
 
-    # incompatible with the Cstd library. Avoid specifying
4058
 
-    # it if it's in CXXFLAGS. Ignore libCrun as
4059
 
-    # -library=stlport4 depends on it.
4060
 
-    case " $CXX $CXXFLAGS " in
4061
 
-    *" -library=stlport4 "*)
4062
 
-      solaris_use_stlport4=yes
4063
 
-      ;;
4064
 
-    esac
4065
 
-
4066
 
-    # Adding this requires a known-good setup of shared libraries for
4067
 
-    # Sun compiler versions before 5.6, else PIC objects from an old
4068
 
-    # archive will be linked into the output, leading to subtle bugs.
4069
 
-    if test "$solaris_use_stlport4" != yes; then
4070
 
-      _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
4071
 
-    fi
4072
 
-    ;;
4073
 
-  esac
4074
 
-  ;;
4075
 
-esac
4076
 
-])
4077
 
-case " $_LT_AC_TAGVAR(postdeps, $1) " in
4078
 
-*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
4079
 
-esac
4080
 
-])# AC_LIBTOOL_POSTDEP_PREDEP
4081
 
-
4082
 
-# AC_LIBTOOL_LANG_F77_CONFIG
4083
 
-# --------------------------
4084
 
-# Ensure that the configuration vars for the C compiler are
4085
 
-# suitably defined.  Those variables are subsequently used by
4086
 
-# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4087
 
-AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
4088
 
-AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
4089
 
-[AC_REQUIRE([AC_PROG_F77])
4090
 
-AC_LANG_PUSH(Fortran 77)
4091
 
-
4092
 
-_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4093
 
-_LT_AC_TAGVAR(allow_undefined_flag, $1)=
4094
 
-_LT_AC_TAGVAR(always_export_symbols, $1)=no
4095
 
-_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
4096
 
-_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
4097
 
-_LT_AC_TAGVAR(hardcode_direct, $1)=no
4098
 
-_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
4099
 
-_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
4100
 
-_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
4101
 
-_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
4102
 
-_LT_AC_TAGVAR(hardcode_automatic, $1)=no
4103
 
-_LT_AC_TAGVAR(module_cmds, $1)=
4104
 
-_LT_AC_TAGVAR(module_expsym_cmds, $1)=
4105
 
-_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
4106
 
-_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
4107
 
-_LT_AC_TAGVAR(no_undefined_flag, $1)=
4108
 
-_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
4109
 
-_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
4110
 
-
4111
 
-# Source file extension for f77 test sources.
4112
 
-ac_ext=f
4113
 
-
4114
 
-# Object file extension for compiled f77 test sources.
4115
 
-objext=o
4116
 
-_LT_AC_TAGVAR(objext, $1)=$objext
4117
 
-
4118
 
-# Code to be used in simple compile tests
4119
 
-lt_simple_compile_test_code="\
4120
 
-      subroutine t
4121
 
-      return
4122
 
-      end
4123
 
-"
4124
 
-
4125
 
-# Code to be used in simple link tests
4126
 
-lt_simple_link_test_code="\
4127
 
-      program t
4128
 
-      end
4129
 
-"
4130
 
-
4131
 
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
4132
 
-_LT_AC_SYS_COMPILER
4133
 
-
4134
 
-# save warnings/boilerplate of simple test code
4135
 
-_LT_COMPILER_BOILERPLATE
4136
 
-_LT_LINKER_BOILERPLATE
4137
 
-
4138
 
-# Allow CC to be a program name with arguments.
4139
 
-lt_save_CC="$CC"
4140
 
-CC=${F77-"f77"}
4141
 
-compiler=$CC
4142
 
-_LT_AC_TAGVAR(compiler, $1)=$CC
4143
 
-_LT_CC_BASENAME([$compiler])
4144
 
-
4145
 
-AC_MSG_CHECKING([if libtool supports shared libraries])
4146
 
-AC_MSG_RESULT([$can_build_shared])
4147
 
-
4148
 
-AC_MSG_CHECKING([whether to build shared libraries])
4149
 
-test "$can_build_shared" = "no" && enable_shared=no
4150
 
-
4151
 
-# On AIX, shared libraries and static libraries use the same namespace, and
4152
 
-# are all built from PIC.
4153
 
-case $host_os in
4154
 
-aix3*)
4155
 
-  test "$enable_shared" = yes && enable_static=no
4156
 
-  if test -n "$RANLIB"; then
4157
 
-    archive_cmds="$archive_cmds~\$RANLIB \$lib"
4158
 
-    postinstall_cmds='$RANLIB $lib'
4159
 
-  fi
4160
 
-  ;;
4161
 
-aix[[4-9]]*)
4162
 
-  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
4163
 
-    test "$enable_shared" = yes && enable_static=no
4164
 
-  fi
4165
 
-  ;;
4166
 
-esac
4167
 
-AC_MSG_RESULT([$enable_shared])
4168
 
-
4169
 
-AC_MSG_CHECKING([whether to build static libraries])
4170
 
-# Make sure either enable_shared or enable_static is yes.
4171
 
-test "$enable_shared" = yes || enable_static=yes
4172
 
-AC_MSG_RESULT([$enable_static])
4173
 
-
4174
 
-_LT_AC_TAGVAR(GCC, $1)="$G77"
4175
 
-_LT_AC_TAGVAR(LD, $1)="$LD"
4176
 
-
4177
 
-AC_LIBTOOL_PROG_COMPILER_PIC($1)
4178
 
-AC_LIBTOOL_PROG_CC_C_O($1)
4179
 
-AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
4180
 
-AC_LIBTOOL_PROG_LD_SHLIBS($1)
4181
 
-AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
4182
 
-AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
4183
 
-
4184
 
-AC_LIBTOOL_CONFIG($1)
4185
 
-
4186
 
-AC_LANG_POP
4187
 
-CC="$lt_save_CC"
4188
 
-])# AC_LIBTOOL_LANG_F77_CONFIG
4189
 
-
4190
 
-
4191
 
-# AC_LIBTOOL_LANG_GCJ_CONFIG
4192
 
-# --------------------------
4193
 
-# Ensure that the configuration vars for the C compiler are
4194
 
-# suitably defined.  Those variables are subsequently used by
4195
 
-# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4196
 
-AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
4197
 
-AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
4198
 
-[AC_LANG_SAVE
4199
 
-
4200
 
-# Source file extension for Java test sources.
4201
 
-ac_ext=java
4202
 
-
4203
 
-# Object file extension for compiled Java test sources.
4204
 
-objext=o
4205
 
-_LT_AC_TAGVAR(objext, $1)=$objext
4206
 
-
4207
 
-# Code to be used in simple compile tests
4208
 
-lt_simple_compile_test_code="class foo {}"
4209
 
-
4210
 
-# Code to be used in simple link tests
4211
 
-lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
4212
 
-
4213
 
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
4214
 
-_LT_AC_SYS_COMPILER
4215
 
-
4216
 
-# save warnings/boilerplate of simple test code
4217
 
-_LT_COMPILER_BOILERPLATE
4218
 
-_LT_LINKER_BOILERPLATE
4219
 
-
4220
 
-# Allow CC to be a program name with arguments.
4221
 
-lt_save_CC="$CC"
4222
 
-CC=${GCJ-"gcj"}
4223
 
-compiler=$CC
4224
 
-_LT_AC_TAGVAR(compiler, $1)=$CC
4225
 
-_LT_CC_BASENAME([$compiler])
4226
 
-
4227
 
-# GCJ did not exist at the time GCC didn't implicitly link libc in.
4228
 
-_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4229
 
-
4230
 
-_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
4231
 
-
4232
 
-AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
4233
 
-AC_LIBTOOL_PROG_COMPILER_PIC($1)
4234
 
-AC_LIBTOOL_PROG_CC_C_O($1)
4235
 
-AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
4236
 
-AC_LIBTOOL_PROG_LD_SHLIBS($1)
4237
 
-AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
4238
 
-AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
4239
 
-
4240
 
-AC_LIBTOOL_CONFIG($1)
4241
 
-
4242
 
-AC_LANG_RESTORE
4243
 
-CC="$lt_save_CC"
4244
 
-])# AC_LIBTOOL_LANG_GCJ_CONFIG
4245
 
-
4246
 
-
4247
 
-# AC_LIBTOOL_LANG_RC_CONFIG
4248
 
-# -------------------------
4249
 
-# Ensure that the configuration vars for the Windows resource compiler are
4250
 
-# suitably defined.  Those variables are subsequently used by
4251
 
-# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4252
 
-AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
4253
 
-AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
4254
 
-[AC_LANG_SAVE
4255
 
-
4256
 
-# Source file extension for RC test sources.
4257
 
-ac_ext=rc
4258
 
-
4259
 
-# Object file extension for compiled RC test sources.
4260
 
-objext=o
4261
 
-_LT_AC_TAGVAR(objext, $1)=$objext
4262
 
-
4263
 
-# Code to be used in simple compile tests
4264
 
-lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
4265
 
-
4266
 
-# Code to be used in simple link tests
4267
 
-lt_simple_link_test_code="$lt_simple_compile_test_code"
4268
 
-
4269
 
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
4270
 
-_LT_AC_SYS_COMPILER
4271
 
-
4272
 
-# save warnings/boilerplate of simple test code
4273
 
-_LT_COMPILER_BOILERPLATE
4274
 
-_LT_LINKER_BOILERPLATE
4275
 
-
4276
 
-# Allow CC to be a program name with arguments.
4277
 
-lt_save_CC="$CC"
4278
 
-CC=${RC-"windres"}
4279
 
-compiler=$CC
4280
 
-_LT_AC_TAGVAR(compiler, $1)=$CC
4281
 
-_LT_CC_BASENAME([$compiler])
4282
 
-_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
4283
 
-
4284
 
-AC_LIBTOOL_CONFIG($1)
4285
 
-
4286
 
-AC_LANG_RESTORE
4287
 
-CC="$lt_save_CC"
4288
 
-])# AC_LIBTOOL_LANG_RC_CONFIG
4289
 
-
4290
 
-
4291
 
-# AC_LIBTOOL_CONFIG([TAGNAME])
4292
 
-# ----------------------------
4293
 
-# If TAGNAME is not passed, then create an initial libtool script
4294
 
-# with a default configuration from the untagged config vars.  Otherwise
4295
 
-# add code to config.status for appending the configuration named by
4296
 
-# TAGNAME from the matching tagged config vars.
4297
 
-AC_DEFUN([AC_LIBTOOL_CONFIG],
4298
 
-[# The else clause should only fire when bootstrapping the
4299
 
-# libtool distribution, otherwise you forgot to ship ltmain.sh
4300
 
-# with your package, and you will get complaints that there are
4301
 
-# no rules to generate ltmain.sh.
4302
 
-if test -f "$ltmain"; then
4303
 
-  # See if we are running on zsh, and set the options which allow our commands through
4304
 
-  # without removal of \ escapes.
4305
 
-  if test -n "${ZSH_VERSION+set}" ; then
4306
 
-    setopt NO_GLOB_SUBST
4307
 
-  fi
4308
 
-  # Now quote all the things that may contain metacharacters while being
4309
 
-  # careful not to overquote the AC_SUBSTed values.  We take copies of the
4310
 
-  # variables and quote the copies for generation of the libtool script.
4311
 
-  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
4312
 
-    SED SHELL STRIP \
4313
 
-    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
4314
 
-    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
4315
 
-    deplibs_check_method reload_flag reload_cmds need_locks \
4316
 
-    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
4317
 
-    lt_cv_sys_global_symbol_to_c_name_address \
4318
 
-    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
4319
 
-    old_postinstall_cmds old_postuninstall_cmds \
4320
 
-    _LT_AC_TAGVAR(compiler, $1) \
4321
 
-    _LT_AC_TAGVAR(CC, $1) \
4322
 
-    _LT_AC_TAGVAR(LD, $1) \
4323
 
-    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
4324
 
-    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
4325
 
-    _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
4326
 
-    _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
4327
 
-    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
4328
 
-    _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
4329
 
-    _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
4330
 
-    _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
4331
 
-    _LT_AC_TAGVAR(old_archive_cmds, $1) \
4332
 
-    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
4333
 
-    _LT_AC_TAGVAR(predep_objects, $1) \
4334
 
-    _LT_AC_TAGVAR(postdep_objects, $1) \
4335
 
-    _LT_AC_TAGVAR(predeps, $1) \
4336
 
-    _LT_AC_TAGVAR(postdeps, $1) \
4337
 
-    _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
4338
 
-    _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \
4339
 
-    _LT_AC_TAGVAR(archive_cmds, $1) \
4340
 
-    _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
4341
 
-    _LT_AC_TAGVAR(postinstall_cmds, $1) \
4342
 
-    _LT_AC_TAGVAR(postuninstall_cmds, $1) \
4343
 
-    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
4344
 
-    _LT_AC_TAGVAR(allow_undefined_flag, $1) \
4345
 
-    _LT_AC_TAGVAR(no_undefined_flag, $1) \
4346
 
-    _LT_AC_TAGVAR(export_symbols_cmds, $1) \
4347
 
-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
4348
 
-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
4349
 
-    _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
4350
 
-    _LT_AC_TAGVAR(hardcode_automatic, $1) \
4351
 
-    _LT_AC_TAGVAR(module_cmds, $1) \
4352
 
-    _LT_AC_TAGVAR(module_expsym_cmds, $1) \
4353
 
-    _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
4354
 
-    _LT_AC_TAGVAR(fix_srcfile_path, $1) \
4355
 
-    _LT_AC_TAGVAR(exclude_expsyms, $1) \
4356
 
-    _LT_AC_TAGVAR(include_expsyms, $1); do
4357
 
-
4358
 
-    case $var in
4359
 
-    _LT_AC_TAGVAR(old_archive_cmds, $1) | \
4360
 
-    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
4361
 
-    _LT_AC_TAGVAR(archive_cmds, $1) | \
4362
 
-    _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
4363
 
-    _LT_AC_TAGVAR(module_cmds, $1) | \
4364
 
-    _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
4365
 
-    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
4366
 
-    _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
4367
 
-    extract_expsyms_cmds | reload_cmds | finish_cmds | \
4368
 
-    postinstall_cmds | postuninstall_cmds | \
4369
 
-    old_postinstall_cmds | old_postuninstall_cmds | \
4370
 
-    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
4371
 
-      # Double-quote double-evaled strings.
4372
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
4373
 
-      ;;
4374
 
-    *)
4375
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
4376
 
-      ;;
4377
 
-    esac
4378
 
-  done
4379
 
-
4380
 
-  case $lt_echo in
4381
 
-  *'\[$]0 --fallback-echo"')
4382
 
-    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
4383
 
-    ;;
4384
 
-  esac
4385
 
-
4386
 
-ifelse([$1], [],
4387
 
-  [cfgfile="${ofile}T"
4388
 
-  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
4389
 
-  $rm -f "$cfgfile"
4390
 
-  AC_MSG_NOTICE([creating $ofile])],
4391
 
-  [cfgfile="$ofile"])
4392
 
-
4393
 
-  cat <<__EOF__ >> "$cfgfile"
4394
 
-ifelse([$1], [],
4395
 
-[#! $SHELL
4396
 
-
4397
 
-# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
4398
 
-# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
4399
 
-# NOTE: Changes made to this file will be lost: look at ltmain.sh.
4400
 
-#
4401
 
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
4402
 
-# Free Software Foundation, Inc.
4403
 
-#
4404
 
-# This file is part of GNU Libtool:
4405
 
-# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
4406
 
-#
4407
 
-# This program is free software; you can redistribute it and/or modify
4408
 
-# it under the terms of the GNU General Public License as published by
4409
 
-# the Free Software Foundation; either version 2 of the License, or
4410
 
-# (at your option) any later version.
4411
 
-#
4412
 
-# This program is distributed in the hope that it will be useful, but
4413
 
-# WITHOUT ANY WARRANTY; without even the implied warranty of
4414
 
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
4415
 
-# General Public License for more details.
4416
 
-#
4417
 
-# You should have received a copy of the GNU General Public License
4418
 
-# along with this program; if not, write to the Free Software
4419
 
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
4420
 
-#
4421
 
-# As a special exception to the GNU General Public License, if you
4422
 
-# distribute this file as part of a program that contains a
4423
 
-# configuration script generated by Autoconf, you may include it under
4424
 
-# the same distribution terms that you use for the rest of that program.
4425
 
-
4426
 
-# A sed program that does not truncate output.
4427
 
-SED=$lt_SED
4428
 
-
4429
 
-# Sed that helps us avoid accidentally triggering echo(1) options like -n.
4430
 
-Xsed="$SED -e 1s/^X//"
4431
 
-
4432
 
-# The HP-UX ksh and POSIX shell print the target directory to stdout
4433
 
-# if CDPATH is set.
4434
 
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4435
 
-
4436
 
-# The names of the tagged configurations supported by this script.
4437
 
-available_tags=
4438
 
-
4439
 
-# ### BEGIN LIBTOOL CONFIG],
4440
 
-[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
4441
 
-
4442
 
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
4443
 
-
4444
 
-# Shell to use when invoking shell scripts.
4445
 
-SHELL=$lt_SHELL
4446
 
-
4447
 
-# Whether or not to build shared libraries.
4448
 
-build_libtool_libs=$enable_shared
4449
 
-
4450
 
-# Whether or not to build static libraries.
4451
 
-build_old_libs=$enable_static
4452
 
-
4453
 
-# Whether or not to add -lc for building shared libraries.
4454
 
-build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
4455
 
-
4456
 
-# Whether or not to disallow shared libs when runtime libs are static
4457
 
-allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
4458
 
-
4459
 
-# Whether or not to optimize for fast installation.
4460
 
-fast_install=$enable_fast_install
4461
 
-
4462
 
-# The host system.
4463
 
-host_alias=$host_alias
4464
 
-host=$host
4465
 
-host_os=$host_os
4466
 
-
4467
 
-# The build system.
4468
 
-build_alias=$build_alias
4469
 
-build=$build
4470
 
-build_os=$build_os
4471
 
-
4472
 
-# An echo program that does not interpret backslashes.
4473
 
-echo=$lt_echo
4474
 
-
4475
 
-# The archiver.
4476
 
-AR=$lt_AR
4477
 
-AR_FLAGS=$lt_AR_FLAGS
4478
 
-
4479
 
-# A C compiler.
4480
 
-LTCC=$lt_LTCC
4481
 
-
4482
 
-# LTCC compiler flags.
4483
 
-LTCFLAGS=$lt_LTCFLAGS
4484
 
-
4485
 
-# A language-specific compiler.
4486
 
-CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
4487
 
-
4488
 
-# Is the compiler the GNU C compiler?
4489
 
-with_gcc=$_LT_AC_TAGVAR(GCC, $1)
4490
 
-
4491
 
-# An ERE matcher.
4492
 
-EGREP=$lt_EGREP
4493
 
-
4494
 
-# The linker used to build libraries.
4495
 
-LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
4496
 
-
4497
 
-# Whether we need hard or soft links.
4498
 
-LN_S=$lt_LN_S
4499
 
-
4500
 
-# A BSD-compatible nm program.
4501
 
-NM=$lt_NM
4502
 
-
4503
 
-# A symbol stripping program
4504
 
-STRIP=$lt_STRIP
4505
 
-
4506
 
-# Used to examine libraries when file_magic_cmd begins "file"
4507
 
-MAGIC_CMD=$MAGIC_CMD
4508
 
-
4509
 
-# Used on cygwin: DLL creation program.
4510
 
-DLLTOOL="$DLLTOOL"
4511
 
-
4512
 
-# Used on cygwin: object dumper.
4513
 
-OBJDUMP="$OBJDUMP"
4514
 
-
4515
 
-# Used on cygwin: assembler.
4516
 
-AS="$AS"
4517
 
-
4518
 
-# The name of the directory that contains temporary libtool files.
4519
 
-objdir=$objdir
4520
 
-
4521
 
-# How to create reloadable object files.
4522
 
-reload_flag=$lt_reload_flag
4523
 
-reload_cmds=$lt_reload_cmds
4524
 
-
4525
 
-# How to pass a linker flag through the compiler.
4526
 
-wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
4527
 
-
4528
 
-# Object file suffix (normally "o").
4529
 
-objext="$ac_objext"
4530
 
-
4531
 
-# Old archive suffix (normally "a").
4532
 
-libext="$libext"
4533
 
-
4534
 
-# Shared library suffix (normally ".so").
4535
 
-shrext_cmds='$shrext_cmds'
4536
 
-
4537
 
-# Executable file suffix (normally "").
4538
 
-exeext="$exeext"
4539
 
-
4540
 
-# Additional compiler flags for building library objects.
4541
 
-pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
4542
 
-pic_mode=$pic_mode
4543
 
-
4544
 
-# What is the maximum length of a command?
4545
 
-max_cmd_len=$lt_cv_sys_max_cmd_len
4546
 
-
4547
 
-# Does compiler simultaneously support -c and -o options?
4548
 
-compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
4549
 
-
4550
 
-# Must we lock files when doing compilation?
4551
 
-need_locks=$lt_need_locks
4552
 
-
4553
 
-# Do we need the lib prefix for modules?
4554
 
-need_lib_prefix=$need_lib_prefix
4555
 
-
4556
 
-# Do we need a version for libraries?
4557
 
-need_version=$need_version
4558
 
-
4559
 
-# Whether dlopen is supported.
4560
 
-dlopen_support=$enable_dlopen
4561
 
-
4562
 
-# Whether dlopen of programs is supported.
4563
 
-dlopen_self=$enable_dlopen_self
4564
 
-
4565
 
-# Whether dlopen of statically linked programs is supported.
4566
 
-dlopen_self_static=$enable_dlopen_self_static
4567
 
-
4568
 
-# Compiler flag to prevent dynamic linking.
4569
 
-link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
4570
 
-
4571
 
-# Compiler flag to turn off builtin functions.
4572
 
-no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
4573
 
-
4574
 
-# Compiler flag to allow reflexive dlopens.
4575
 
-export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
4576
 
-
4577
 
-# Compiler flag to generate shared objects directly from archives.
4578
 
-whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
4579
 
-
4580
 
-# Compiler flag to generate thread-safe objects.
4581
 
-thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
4582
 
-
4583
 
-# Library versioning type.
4584
 
-version_type=$version_type
4585
 
-
4586
 
-# Format of library name prefix.
4587
 
-libname_spec=$lt_libname_spec
4588
 
-
4589
 
-# List of archive names.  First name is the real one, the rest are links.
4590
 
-# The last name is the one that the linker finds with -lNAME.
4591
 
-library_names_spec=$lt_library_names_spec
4592
 
-
4593
 
-# The coded name of the library, if different from the real name.
4594
 
-soname_spec=$lt_soname_spec
4595
 
-
4596
 
-# Commands used to build and install an old-style archive.
4597
 
-RANLIB=$lt_RANLIB
4598
 
-old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
4599
 
-old_postinstall_cmds=$lt_old_postinstall_cmds
4600
 
-old_postuninstall_cmds=$lt_old_postuninstall_cmds
4601
 
-
4602
 
-# Create an old-style archive from a shared archive.
4603
 
-old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
4604
 
-
4605
 
-# Create a temporary old-style archive to link instead of a shared archive.
4606
 
-old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
4607
 
-
4608
 
-# Commands used to build and install a shared archive.
4609
 
-archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
4610
 
-archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
4611
 
-postinstall_cmds=$lt_postinstall_cmds
4612
 
-postuninstall_cmds=$lt_postuninstall_cmds
4613
 
-
4614
 
-# Commands used to build a loadable module (assumed same as above if empty)
4615
 
-module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
4616
 
-module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
4617
 
-
4618
 
-# Commands to strip libraries.
4619
 
-old_striplib=$lt_old_striplib
4620
 
-striplib=$lt_striplib
4621
 
-
4622
 
-# Dependencies to place before the objects being linked to create a
4623
 
-# shared library.
4624
 
-predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
4625
 
-
4626
 
-# Dependencies to place after the objects being linked to create a
4627
 
-# shared library.
4628
 
-postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
4629
 
-
4630
 
-# Dependencies to place before the objects being linked to create a
4631
 
-# shared library.
4632
 
-predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
4633
 
-
4634
 
-# Dependencies to place after the objects being linked to create a
4635
 
-# shared library.
4636
 
-postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
4637
 
-
4638
 
-# The directories searched by this compiler when creating a shared
4639
 
-# library
4640
 
-compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)
4641
 
-
4642
 
-# The library search path used internally by the compiler when linking
4643
 
-# a shared library.
4644
 
-compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
4645
 
-
4646
 
-# Method to check whether dependent libraries are shared objects.
4647
 
-deplibs_check_method=$lt_deplibs_check_method
4648
 
-
4649
 
-# Command to use when deplibs_check_method == file_magic.
4650
 
-file_magic_cmd=$lt_file_magic_cmd
4651
 
-
4652
 
-# Flag that allows shared libraries with undefined symbols to be built.
4653
 
-allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
4654
 
-
4655
 
-# Flag that forces no undefined symbols.
4656
 
-no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
4657
 
-
4658
 
-# Commands used to finish a libtool library installation in a directory.
4659
 
-finish_cmds=$lt_finish_cmds
4660
 
-
4661
 
-# Same as above, but a single script fragment to be evaled but not shown.
4662
 
-finish_eval=$lt_finish_eval
4663
 
-
4664
 
-# Take the output of nm and produce a listing of raw symbols and C names.
4665
 
-global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
4666
 
-
4667
 
-# Transform the output of nm in a proper C declaration
4668
 
-global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
4669
 
-
4670
 
-# Transform the output of nm in a C name address pair
4671
 
-global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
4672
 
-
4673
 
-# This is the shared library runtime path variable.
4674
 
-runpath_var=$runpath_var
4675
 
-
4676
 
-# This is the shared library path variable.
4677
 
-shlibpath_var=$shlibpath_var
4678
 
-
4679
 
-# Is shlibpath searched before the hard-coded library search path?
4680
 
-shlibpath_overrides_runpath=$shlibpath_overrides_runpath
4681
 
-
4682
 
-# How to hardcode a shared library path into an executable.
4683
 
-hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
4684
 
-
4685
 
-# Whether we should hardcode library paths into libraries.
4686
 
-hardcode_into_libs=$hardcode_into_libs
4687
 
-
4688
 
-# Flag to hardcode \$libdir into a binary during linking.
4689
 
-# This must work even if \$libdir does not exist.
4690
 
-hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
4691
 
-
4692
 
-# If ld is used when linking, flag to hardcode \$libdir into
4693
 
-# a binary during linking. This must work even if \$libdir does
4694
 
-# not exist.
4695
 
-hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
4696
 
-
4697
 
-# Whether we need a single -rpath flag with a separated argument.
4698
 
-hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
4699
 
-
4700
 
-# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
4701
 
-# resulting binary.
4702
 
-hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
4703
 
-
4704
 
-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
4705
 
-# resulting binary.
4706
 
-hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
4707
 
-
4708
 
-# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
4709
 
-# the resulting binary.
4710
 
-hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
4711
 
-
4712
 
-# Set to yes if building a shared library automatically hardcodes DIR into the library
4713
 
-# and all subsequent libraries and executables linked against it.
4714
 
-hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
4715
 
-
4716
 
-# Variables whose values should be saved in libtool wrapper scripts and
4717
 
-# restored at relink time.
4718
 
-variables_saved_for_relink="$variables_saved_for_relink"
4719
 
-
4720
 
-# Whether libtool must link a program against all its dependency libraries.
4721
 
-link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
4722
 
-
4723
 
-# Compile-time system search path for libraries
4724
 
-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
4725
 
-
4726
 
-# Run-time system search path for libraries
4727
 
-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
4728
 
-
4729
 
-# Fix the shell variable \$srcfile for the compiler.
4730
 
-fix_srcfile_path=$lt_fix_srcfile_path
4731
 
-
4732
 
-# Set to yes if exported symbols are required.
4733
 
-always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
4734
 
-
4735
 
-# The commands to list exported symbols.
4736
 
-export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
4737
 
-
4738
 
-# The commands to extract the exported symbol list from a shared archive.
4739
 
-extract_expsyms_cmds=$lt_extract_expsyms_cmds
4740
 
-
4741
 
-# Symbols that should not be listed in the preloaded symbols.
4742
 
-exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
4743
 
-
4744
 
-# Symbols that must always be exported.
4745
 
-include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
4746
 
-
4747
 
-ifelse([$1],[],
4748
 
-[# ### END LIBTOOL CONFIG],
4749
 
-[# ### END LIBTOOL TAG CONFIG: $tagname])
4750
 
-
4751
 
-__EOF__
4752
 
-
4753
 
-ifelse([$1],[], [
4754
 
-  case $host_os in
4755
 
-  aix3*)
4756
 
-    cat <<\EOF >> "$cfgfile"
4757
 
-
4758
 
-# AIX sometimes has problems with the GCC collect2 program.  For some
4759
 
-# reason, if we set the COLLECT_NAMES environment variable, the problems
4760
 
-# vanish in a puff of smoke.
4761
 
-if test "X${COLLECT_NAMES+set}" != Xset; then
4762
 
-  COLLECT_NAMES=
4763
 
-  export COLLECT_NAMES
4764
 
-fi
4765
 
-EOF
4766
 
-    ;;
4767
 
-  esac
4768
 
-
4769
 
-  # We use sed instead of cat because bash on DJGPP gets confused if
4770
 
-  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
4771
 
-  # text mode, it properly converts lines to CR/LF.  This bash problem
4772
 
-  # is reportedly fixed, but why not run on old versions too?
4773
 
-  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
4774
 
-
4775
 
-  mv -f "$cfgfile" "$ofile" || \
4776
 
-    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
4777
 
-  chmod +x "$ofile"
4778
 
-])
4779
 
-else
4780
 
-  # If there is no Makefile yet, we rely on a make rule to execute
4781
 
-  # `config.status --recheck' to rerun these tests and create the
4782
 
-  # libtool script then.
4783
 
-  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
4784
 
-  if test -f "$ltmain_in"; then
4785
 
-    test -f Makefile && make "$ltmain"
4786
 
-  fi
4787
 
-fi
4788
 
-])# AC_LIBTOOL_CONFIG
4789
 
-
4790
 
-
4791
 
-# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
4792
 
-# -------------------------------------------
4793
 
-AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
4794
 
-[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
4795
 
-
4796
 
-_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
4797
 
-
4798
 
-if test "$GCC" = yes; then
4799
 
-  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
4800
 
-
4801
 
-  AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
4802
 
-    lt_cv_prog_compiler_rtti_exceptions,
4803
 
-    [-fno-rtti -fno-exceptions], [],
4804
 
-    [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
4805
 
-fi
4806
 
-])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
4807
 
-
4808
 
-
4809
 
-# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
4810
 
-# ---------------------------------
4811
 
-AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
4812
 
-[AC_REQUIRE([AC_CANONICAL_HOST])
4813
 
-AC_REQUIRE([LT_AC_PROG_SED])
4814
 
-AC_REQUIRE([AC_PROG_NM])
4815
 
-AC_REQUIRE([AC_OBJEXT])
4816
 
-# Check for command to grab the raw symbol name followed by C symbol from nm.
4817
 
-AC_MSG_CHECKING([command to parse $NM output from $compiler object])
4818
 
-AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
4819
 
-[
4820
 
-# These are sane defaults that work on at least a few old systems.
4821
 
-# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
4822
 
-
4823
 
-# Character class describing NM global symbol codes.
4824
 
-symcode='[[BCDEGRST]]'
4825
 
-
4826
 
-# Regexp to match symbols that can be accessed directly from C.
4827
 
-sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
4828
 
-
4829
 
-# Transform an extracted symbol line into a proper C declaration
4830
 
-lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
4831
 
-
4832
 
-# Transform an extracted symbol line into symbol name and symbol address
4833
 
-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'"
4834
 
-
4835
 
-# Define system-specific variables.
4836
 
-case $host_os in
4837
 
-aix*)
4838
 
-  symcode='[[BCDT]]'
4839
 
-  ;;
4840
 
-cygwin* | mingw* | pw32*)
4841
 
-  symcode='[[ABCDGISTW]]'
4842
 
-  ;;
4843
 
-hpux*) # Its linker distinguishes data from code symbols
4844
 
-  if test "$host_cpu" = ia64; then
4845
 
-    symcode='[[ABCDEGRST]]'
4846
 
-  fi
4847
 
-  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4848
 
-  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'"
4849
 
-  ;;
4850
 
-linux* | k*bsd*-gnu)
4851
 
-  if test "$host_cpu" = ia64; then
4852
 
-    symcode='[[ABCDGIRSTW]]'
4853
 
-    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4854
 
-    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'"
4855
 
-  fi
4856
 
-  ;;
4857
 
-irix* | nonstopux*)
4858
 
-  symcode='[[BCDEGRST]]'
4859
 
-  ;;
4860
 
-osf*)
4861
 
-  symcode='[[BCDEGQRST]]'
4862
 
-  ;;
4863
 
-solaris*)
4864
 
-  symcode='[[BDRT]]'
4865
 
-  ;;
4866
 
-sco3.2v5*)
4867
 
-  symcode='[[DT]]'
4868
 
-  ;;
4869
 
-sysv4.2uw2*)
4870
 
-  symcode='[[DT]]'
4871
 
-  ;;
4872
 
-sysv5* | sco5v6* | unixware* | OpenUNIX*)
4873
 
-  symcode='[[ABDT]]'
4874
 
-  ;;
4875
 
-sysv4)
4876
 
-  symcode='[[DFNSTU]]'
4877
 
-  ;;
4878
 
-esac
4879
 
-
4880
 
-# Handle CRLF in mingw tool chain
4881
 
-opt_cr=
4882
 
-case $build_os in
4883
 
-mingw*)
4884
 
-  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4885
 
-  ;;
4886
 
-esac
4887
 
-
4888
 
-# If we're using GNU nm, then use its standard symbol codes.
4889
 
-case `$NM -V 2>&1` in
4890
 
-*GNU* | *'with BFD'*)
4891
 
-  symcode='[[ABCDGIRSTW]]' ;;
4892
 
-esac
4893
 
-
4894
 
-# Try without a prefix undercore, then with it.
4895
 
-for ac_symprfx in "" "_"; do
4896
 
-
4897
 
-  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4898
 
-  symxfrm="\\1 $ac_symprfx\\2 \\2"
4899
 
-
4900
 
-  # Write the raw and C identifiers.
4901
 
-  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[     ]]\($symcode$symcode*\)[[       ]][[    ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4902
 
-
4903
 
-  # Check to see that the pipe works correctly.
4904
 
-  pipe_works=no
4905
 
-
4906
 
-  rm -f conftest*
4907
 
-  cat > conftest.$ac_ext <<EOF
4908
 
-#ifdef __cplusplus
4909
 
-extern "C" {
4910
 
-#endif
4911
 
-char nm_test_var;
4912
 
-void nm_test_func(){}
4913
 
-#ifdef __cplusplus
4914
 
-}
4915
 
-#endif
4916
 
-int main(){nm_test_var='a';nm_test_func();return(0);}
4917
 
-EOF
4918
 
-
4919
 
-  if AC_TRY_EVAL(ac_compile); then
4920
 
-    # Now try to grab the symbols.
4921
 
-    nlist=conftest.nm
4922
 
-    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
4923
 
-      # Try sorting and uniquifying the output.
4924
 
-      if sort "$nlist" | uniq > "$nlist"T; then
4925
 
-       mv -f "$nlist"T "$nlist"
4926
 
-      else
4927
 
-       rm -f "$nlist"T
4928
 
-      fi
4929
 
-
4930
 
-      # Make sure that we snagged all the symbols we need.
4931
 
-      if grep ' nm_test_var$' "$nlist" >/dev/null; then
4932
 
-       if grep ' nm_test_func$' "$nlist" >/dev/null; then
4933
 
-         cat <<EOF > conftest.$ac_ext
4934
 
-#ifdef __cplusplus
4935
 
-extern "C" {
4936
 
-#endif
4937
 
-
4938
 
-EOF
4939
 
-         # Now generate the symbol file.
4940
 
-         eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
4941
 
-
4942
 
-         cat <<EOF >> conftest.$ac_ext
4943
 
-#if defined (__STDC__) && __STDC__
4944
 
-# define lt_ptr_t void *
4945
 
-#else
4946
 
-# define lt_ptr_t char *
4947
 
-# define const
4948
 
-#endif
4949
 
-
4950
 
-/* The mapping between symbol names and symbols. */
4951
 
-const struct {
4952
 
-  const char *name;
4953
 
-  lt_ptr_t address;
4954
 
-}
4955
 
-lt_preloaded_symbols[[]] =
4956
 
-{
4957
 
-EOF
4958
 
-         $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
4959
 
-         cat <<\EOF >> conftest.$ac_ext
4960
 
-  {0, (lt_ptr_t) 0}
4961
 
-};
4962
 
-
4963
 
-#ifdef __cplusplus
4964
 
-}
4965
 
-#endif
4966
 
-EOF
4967
 
-         # Now try linking the two files.
4968
 
-         mv conftest.$ac_objext conftstm.$ac_objext
4969
 
-         lt_save_LIBS="$LIBS"
4970
 
-         lt_save_CFLAGS="$CFLAGS"
4971
 
-         LIBS="conftstm.$ac_objext"
4972
 
-         CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
4973
 
-         if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
4974
 
-           pipe_works=yes
4975
 
-         fi
4976
 
-         LIBS="$lt_save_LIBS"
4977
 
-         CFLAGS="$lt_save_CFLAGS"
4978
 
-       else
4979
 
-         echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
4980
 
-       fi
4981
 
-      else
4982
 
-       echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
4983
 
-      fi
4984
 
-    else
4985
 
-      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
4986
 
-    fi
4987
 
-  else
4988
 
-    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
4989
 
-    cat conftest.$ac_ext >&5
4990
 
-  fi
4991
 
-  rm -rf conftest* conftst*
4992
 
-
4993
 
-  # Do not use the global_symbol_pipe unless it works.
4994
 
-  if test "$pipe_works" = yes; then
4995
 
-    break
4996
 
-  else
4997
 
-    lt_cv_sys_global_symbol_pipe=
4998
 
-  fi
4999
 
-done
5000
 
-])
5001
 
-if test -z "$lt_cv_sys_global_symbol_pipe"; then
5002
 
-  lt_cv_sys_global_symbol_to_cdecl=
5003
 
-fi
5004
 
-if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5005
 
-  AC_MSG_RESULT(failed)
5006
 
-else
5007
 
-  AC_MSG_RESULT(ok)
5008
 
-fi
5009
 
-]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
5010
 
-
5011
 
-
5012
 
-# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
5013
 
-# ---------------------------------------
5014
 
-AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
5015
 
-[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
5016
 
-_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5017
 
-_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
5018
 
-
5019
 
-AC_MSG_CHECKING([for $compiler option to produce PIC])
5020
 
- ifelse([$1],[CXX],[
5021
 
-  # C++ specific cases for pic, static, wl, etc.
5022
 
-  if test "$GXX" = yes; then
5023
 
-    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5024
 
-    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5025
 
-
5026
 
-    case $host_os in
5027
 
-    aix*)
5028
 
-      # All AIX code is PIC.
5029
 
-      if test "$host_cpu" = ia64; then
5030
 
-       # AIX 5 now supports IA64 processor
5031
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5032
 
-      fi
5033
 
-      ;;
5034
 
-    amigaos*)
5035
 
-      # FIXME: we need at least 68020 code to build shared libraries, but
5036
 
-      # adding the `-m68020' flag to GCC prevents building anything better,
5037
 
-      # like `-m68040'.
5038
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
5039
 
-      ;;
5040
 
-    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5041
 
-      # PIC is the default for these OSes.
5042
 
-      ;;
5043
 
-    mingw* | cygwin* | os2* | pw32*)
5044
 
-      # This hack is so that the source file can tell whether it is being
5045
 
-      # built for inclusion in a dll (and should export symbols for example).
5046
 
-      # Although the cygwin gcc ignores -fPIC, still need this for old-style
5047
 
-      # (--disable-auto-import) libraries
5048
 
-      m4_if([$1], [GCJ], [],
5049
 
-       [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
5050
 
-      ;;
5051
 
-    darwin* | rhapsody*)
5052
 
-      # PIC is the default on this platform
5053
 
-      # Common symbols not allowed in MH_DYLIB files
5054
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
5055
 
-      ;;
5056
 
-    *djgpp*)
5057
 
-      # DJGPP does not support shared libraries at all
5058
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5059
 
-      ;;
5060
 
-    interix[[3-9]]*)
5061
 
-      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
5062
 
-      # Instead, we relocate shared libraries at runtime.
5063
 
-      ;;
5064
 
-    sysv4*MP*)
5065
 
-      if test -d /usr/nec; then
5066
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
5067
 
-      fi
5068
 
-      ;;
5069
 
-    hpux*)
5070
 
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
5071
 
-      # not for PA HP-UX.
5072
 
-      case $host_cpu in
5073
 
-      hppa*64*|ia64*)
5074
 
-       ;;
5075
 
-      *)
5076
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5077
 
-       ;;
5078
 
-      esac
5079
 
-      ;;
5080
 
-    *)
5081
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5082
 
-      ;;
5083
 
-    esac
5084
 
-  else
5085
 
-    case $host_os in
5086
 
-      aix[[4-9]]*)
5087
 
-       # All AIX code is PIC.
5088
 
-       if test "$host_cpu" = ia64; then
5089
 
-         # AIX 5 now supports IA64 processor
5090
 
-         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5091
 
-       else
5092
 
-         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
5093
 
-       fi
5094
 
-       ;;
5095
 
-      chorus*)
5096
 
-       case $cc_basename in
5097
 
-       cxch68*)
5098
 
-         # Green Hills C++ Compiler
5099
 
-         # _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"
5100
 
-         ;;
5101
 
-       esac
5102
 
-       ;;
5103
 
-       darwin*)
5104
 
-         # PIC is the default on this platform
5105
 
-         # Common symbols not allowed in MH_DYLIB files
5106
 
-         case $cc_basename in
5107
 
-           xlc*)
5108
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
5109
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5110
 
-           ;;
5111
 
-         esac
5112
 
-       ;;
5113
 
-      dgux*)
5114
 
-       case $cc_basename in
5115
 
-         ec++*)
5116
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5117
 
-           ;;
5118
 
-         ghcx*)
5119
 
-           # Green Hills C++ Compiler
5120
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5121
 
-           ;;
5122
 
-         *)
5123
 
-           ;;
5124
 
-       esac
5125
 
-       ;;
5126
 
-      freebsd* | dragonfly*)
5127
 
-       # FreeBSD uses GNU C++
5128
 
-       ;;
5129
 
-      hpux9* | hpux10* | hpux11*)
5130
 
-       case $cc_basename in
5131
 
-         CC*)
5132
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5133
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
5134
 
-           if test "$host_cpu" != ia64; then
5135
 
-             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
5136
 
-           fi
5137
 
-           ;;
5138
 
-         aCC*)
5139
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5140
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
5141
 
-           case $host_cpu in
5142
 
-           hppa*64*|ia64*)
5143
 
-             # +Z the default
5144
 
-             ;;
5145
 
-           *)
5146
 
-             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
5147
 
-             ;;
5148
 
-           esac
5149
 
-           ;;
5150
 
-         *)
5151
 
-           ;;
5152
 
-       esac
5153
 
-       ;;
5154
 
-      interix*)
5155
 
-       # This is c89, which is MS Visual C++ (no shared libs)
5156
 
-       # Anyone wants to do a port?
5157
 
-       ;;
5158
 
-      irix5* | irix6* | nonstopux*)
5159
 
-       case $cc_basename in
5160
 
-         CC*)
5161
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5162
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5163
 
-           # CC pic flag -KPIC is the default.
5164
 
-           ;;
5165
 
-         *)
5166
 
-           ;;
5167
 
-       esac
5168
 
-       ;;
5169
 
-      linux* | k*bsd*-gnu)
5170
 
-       case $cc_basename in
5171
 
-         KCC*)
5172
 
-           # KAI C++ Compiler
5173
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
5174
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5175
 
-           ;;
5176
 
-         icpc* | ecpc*)
5177
 
-           # Intel C++
5178
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5179
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5180
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5181
 
-           ;;
5182
 
-         pgCC* | pgcpp*)
5183
 
-           # Portland Group C++ compiler.
5184
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5185
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
5186
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5187
 
-           ;;
5188
 
-         cxx*)
5189
 
-           # Compaq C++
5190
 
-           # Make sure the PIC flag is empty.  It appears that all Alpha
5191
 
-           # Linux and Compaq Tru64 Unix objects are PIC.
5192
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5193
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5194
 
-           ;;
5195
 
-         *)
5196
 
-           case `$CC -V 2>&1 | sed 5q` in
5197
 
-           *Sun\ C*)
5198
 
-             # Sun C++ 5.9
5199
 
-             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5200
 
-             _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5201
 
-             _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
5202
 
-             ;;
5203
 
-           esac
5204
 
-           ;;
5205
 
-       esac
5206
 
-       ;;
5207
 
-      lynxos*)
5208
 
-       ;;
5209
 
-      m88k*)
5210
 
-       ;;
5211
 
-      mvs*)
5212
 
-       case $cc_basename in
5213
 
-         cxx*)
5214
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
5215
 
-           ;;
5216
 
-         *)
5217
 
-           ;;
5218
 
-       esac
5219
 
-       ;;
5220
 
-      netbsd* | netbsdelf*-gnu)
5221
 
-       ;;
5222
 
-      osf3* | osf4* | osf5*)
5223
 
-       case $cc_basename in
5224
 
-         KCC*)
5225
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
5226
 
-           ;;
5227
 
-         RCC*)
5228
 
-           # Rational C++ 2.4.1
5229
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5230
 
-           ;;
5231
 
-         cxx*)
5232
 
-           # Digital/Compaq C++
5233
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5234
 
-           # Make sure the PIC flag is empty.  It appears that all Alpha
5235
 
-           # Linux and Compaq Tru64 Unix objects are PIC.
5236
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5237
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5238
 
-           ;;
5239
 
-         *)
5240
 
-           ;;
5241
 
-       esac
5242
 
-       ;;
5243
 
-      psos*)
5244
 
-       ;;
5245
 
-      solaris*)
5246
 
-       case $cc_basename in
5247
 
-         CC*)
5248
 
-           # Sun C++ 4.2, 5.x and Centerline C++
5249
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5250
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5251
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
5252
 
-           ;;
5253
 
-         gcx*)
5254
 
-           # Green Hills C++ Compiler
5255
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
5256
 
-           ;;
5257
 
-         *)
5258
 
-           ;;
5259
 
-       esac
5260
 
-       ;;
5261
 
-      sunos4*)
5262
 
-       case $cc_basename in
5263
 
-         CC*)
5264
 
-           # Sun C++ 4.x
5265
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5266
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5267
 
-           ;;
5268
 
-         lcc*)
5269
 
-           # Lucid
5270
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5271
 
-           ;;
5272
 
-         *)
5273
 
-           ;;
5274
 
-       esac
5275
 
-       ;;
5276
 
-      tandem*)
5277
 
-       case $cc_basename in
5278
 
-         NCC*)
5279
 
-           # NonStop-UX NCC 3.20
5280
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5281
 
-           ;;
5282
 
-         *)
5283
 
-           ;;
5284
 
-       esac
5285
 
-       ;;
5286
 
-      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
5287
 
-       case $cc_basename in
5288
 
-         CC*)
5289
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5290
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5291
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5292
 
-           ;;
5293
 
-       esac
5294
 
-       ;;
5295
 
-      vxworks*)
5296
 
-       ;;
5297
 
-      *)
5298
 
-       _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
5299
 
-       ;;
5300
 
-    esac
5301
 
-  fi
5302
 
-],
5303
 
-[
5304
 
-  if test "$GCC" = yes; then
5305
 
-    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5306
 
-    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5307
 
-
5308
 
-    case $host_os in
5309
 
-      aix*)
5310
 
-      # All AIX code is PIC.
5311
 
-      if test "$host_cpu" = ia64; then
5312
 
-       # AIX 5 now supports IA64 processor
5313
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5314
 
-      fi
5315
 
-      ;;
5316
 
-
5317
 
-    amigaos*)
5318
 
-      # FIXME: we need at least 68020 code to build shared libraries, but
5319
 
-      # adding the `-m68020' flag to GCC prevents building anything better,
5320
 
-      # like `-m68040'.
5321
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
5322
 
-      ;;
5323
 
-
5324
 
-    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5325
 
-      # PIC is the default for these OSes.
5326
 
-      ;;
5327
 
-
5328
 
-    mingw* | cygwin* | pw32* | os2*)
5329
 
-      # This hack is so that the source file can tell whether it is being
5330
 
-      # built for inclusion in a dll (and should export symbols for example).
5331
 
-      # Although the cygwin gcc ignores -fPIC, still need this for old-style
5332
 
-      # (--disable-auto-import) libraries
5333
 
-      m4_if([$1], [GCJ], [],
5334
 
-       [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
5335
 
-      ;;
5336
 
-
5337
 
-    darwin* | rhapsody*)
5338
 
-      # PIC is the default on this platform
5339
 
-      # Common symbols not allowed in MH_DYLIB files
5340
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
5341
 
-      ;;
5342
 
-
5343
 
-    interix[[3-9]]*)
5344
 
-      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
5345
 
-      # Instead, we relocate shared libraries at runtime.
5346
 
-      ;;
5347
 
-
5348
 
-    msdosdjgpp*)
5349
 
-      # Just because we use GCC doesn't mean we suddenly get shared libraries
5350
 
-      # on systems that don't support them.
5351
 
-      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
5352
 
-      enable_shared=no
5353
 
-      ;;
5354
 
-
5355
 
-    sysv4*MP*)
5356
 
-      if test -d /usr/nec; then
5357
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
5358
 
-      fi
5359
 
-      ;;
5360
 
-
5361
 
-    hpux*)
5362
 
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
5363
 
-      # not for PA HP-UX.
5364
 
-      case $host_cpu in
5365
 
-      hppa*64*|ia64*)
5366
 
-       # +Z the default
5367
 
-       ;;
5368
 
-      *)
5369
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5370
 
-       ;;
5371
 
-      esac
5372
 
-      ;;
5373
 
-
5374
 
-    *)
5375
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5376
 
-      ;;
5377
 
-    esac
5378
 
-  else
5379
 
-    # PORTME Check for flag to pass linker flags through the system compiler.
5380
 
-    case $host_os in
5381
 
-    aix*)
5382
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5383
 
-      if test "$host_cpu" = ia64; then
5384
 
-       # AIX 5 now supports IA64 processor
5385
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5386
 
-      else
5387
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
5388
 
-      fi
5389
 
-      ;;
5390
 
-      darwin*)
5391
 
-        # PIC is the default on this platform
5392
 
-        # Common symbols not allowed in MH_DYLIB files
5393
 
-       case $cc_basename in
5394
 
-         xlc*)
5395
 
-         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
5396
 
-         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5397
 
-         ;;
5398
 
-       esac
5399
 
-       ;;
5400
 
-
5401
 
-    mingw* | cygwin* | pw32* | os2*)
5402
 
-      # This hack is so that the source file can tell whether it is being
5403
 
-      # built for inclusion in a dll (and should export symbols for example).
5404
 
-      m4_if([$1], [GCJ], [],
5405
 
-       [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
5406
 
-      ;;
5407
 
-
5408
 
-    hpux9* | hpux10* | hpux11*)
5409
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5410
 
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
5411
 
-      # not for PA HP-UX.
5412
 
-      case $host_cpu in
5413
 
-      hppa*64*|ia64*)
5414
 
-       # +Z the default
5415
 
-       ;;
5416
 
-      *)
5417
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
5418
 
-       ;;
5419
 
-      esac
5420
 
-      # Is there a better lt_prog_compiler_static that works with the bundled CC?
5421
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
5422
 
-      ;;
5423
 
-
5424
 
-    irix5* | irix6* | nonstopux*)
5425
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5426
 
-      # PIC (with -KPIC) is the default.
5427
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5428
 
-      ;;
5429
 
-
5430
 
-    newsos6)
5431
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5432
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5433
 
-      ;;
5434
 
-
5435
 
-    linux* | k*bsd*-gnu)
5436
 
-      case $cc_basename in
5437
 
-      icc* | ecc*)
5438
 
-       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5439
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5440
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5441
 
-        ;;
5442
 
-      pgcc* | pgf77* | pgf90* | pgf95*)
5443
 
-        # Portland Group compilers (*not* the Pentium gcc compiler,
5444
 
-       # which looks to be a dead project)
5445
 
-       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5446
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
5447
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5448
 
-        ;;
5449
 
-      ccc*)
5450
 
-        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5451
 
-        # All Alpha code is PIC.
5452
 
-        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5453
 
-        ;;
5454
 
-      *)
5455
 
-        case `$CC -V 2>&1 | sed 5q` in
5456
 
-       *Sun\ C*)
5457
 
-         # Sun C 5.9
5458
 
-         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5459
 
-         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5460
 
-         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5461
 
-         ;;
5462
 
-       *Sun\ F*)
5463
 
-         # Sun Fortran 8.3 passes all unrecognized flags to the linker
5464
 
-         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5465
 
-         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5466
 
-         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''
5467
 
-         ;;
5468
 
-       esac
5469
 
-       ;;
5470
 
-      esac
5471
 
-      ;;
5472
 
-
5473
 
-    osf3* | osf4* | osf5*)
5474
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5475
 
-      # All OSF/1 code is PIC.
5476
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5477
 
-      ;;
5478
 
-
5479
 
-    rdos*)
5480
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5481
 
-      ;;
5482
 
-
5483
 
-    solaris*)
5484
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5485
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5486
 
-      case $cc_basename in
5487
 
-      f77* | f90* | f95*)
5488
 
-       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
5489
 
-      *)
5490
 
-       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
5491
 
-      esac
5492
 
-      ;;
5493
 
-
5494
 
-    sunos4*)
5495
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
5496
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
5497
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5498
 
-      ;;
5499
 
-
5500
 
-    sysv4 | sysv4.2uw2* | sysv4.3*)
5501
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5502
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5503
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5504
 
-      ;;
5505
 
-
5506
 
-    sysv4*MP*)
5507
 
-      if test -d /usr/nec ;then
5508
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
5509
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5510
 
-      fi
5511
 
-      ;;
5512
 
-
5513
 
-    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
5514
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5515
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5516
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5517
 
-      ;;
5518
 
-
5519
 
-    unicos*)
5520
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5521
 
-      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
5522
 
-      ;;
5523
 
-
5524
 
-    uts4*)
5525
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5526
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5527
 
-      ;;
5528
 
-
5529
 
-    *)
5530
 
-      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
5531
 
-      ;;
5532
 
-    esac
5533
 
-  fi
5534
 
-])
5535
 
-AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
5536
 
-
5537
 
-#
5538
 
-# Check to make sure the PIC flag actually works.
5539
 
-#
5540
 
-if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
5541
 
-  AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
5542
 
-    _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
5543
 
-    [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
5544
 
-    [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
5545
 
-     "" | " "*) ;;
5546
 
-     *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
5547
 
-     esac],
5548
 
-    [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5549
 
-     _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
5550
 
-fi
5551
 
-case $host_os in
5552
 
-  # For platforms which do not support PIC, -DPIC is meaningless:
5553
 
-  *djgpp*)
5554
 
-    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5555
 
-    ;;
5556
 
-  *)
5557
 
-    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
5558
 
-    ;;
5559
 
-esac
5560
 
-
5561
 
-#
5562
 
-# Check to make sure the static flag actually works.
5563
 
-#
5564
 
-wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
5565
 
-AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
5566
 
-  _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1),
5567
 
-  $lt_tmp_static_flag,
5568
 
-  [],
5569
 
-  [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
5570
 
-])
5571
 
-
5572
 
-
5573
 
-# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
5574
 
-# ------------------------------------
5575
 
-# See if the linker supports building shared libraries.
5576
 
-AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
5577
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
5578
 
-AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
5579
 
-ifelse([$1],[CXX],[
5580
 
-  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5581
 
-  case $host_os in
5582
 
-  aix[[4-9]]*)
5583
 
-    # If we're using GNU nm, then we don't want the "-C" option.
5584
 
-    # -C means demangle to AIX nm, but means don't demangle with GNU nm
5585
 
-    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
5586
 
-      _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'
5587
 
-    else
5588
 
-      _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'
5589
 
-    fi
5590
 
-    ;;
5591
 
-  pw32*)
5592
 
-    _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
5593
 
-  ;;
5594
 
-  cygwin* | mingw*)
5595
 
-    _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'
5596
 
-  ;;
5597
 
-  linux* | k*bsd*-gnu)
5598
 
-    _LT_AC_TAGVAR(link_all_deplibs, $1)=no
5599
 
-  ;;
5600
 
-  *)
5601
 
-    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5602
 
-  ;;
5603
 
-  esac
5604
 
-  _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
5605
 
-],[
5606
 
-  runpath_var=
5607
 
-  _LT_AC_TAGVAR(allow_undefined_flag, $1)=
5608
 
-  _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
5609
 
-  _LT_AC_TAGVAR(archive_cmds, $1)=
5610
 
-  _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
5611
 
-  _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
5612
 
-  _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
5613
 
-  _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
5614
 
-  _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
5615
 
-  _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
5616
 
-  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
5617
 
-  _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
5618
 
-  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
5619
 
-  _LT_AC_TAGVAR(hardcode_direct, $1)=no
5620
 
-  _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
5621
 
-  _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
5622
 
-  _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
5623
 
-  _LT_AC_TAGVAR(hardcode_automatic, $1)=no
5624
 
-  _LT_AC_TAGVAR(module_cmds, $1)=
5625
 
-  _LT_AC_TAGVAR(module_expsym_cmds, $1)=
5626
 
-  _LT_AC_TAGVAR(always_export_symbols, $1)=no
5627
 
-  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5628
 
-  # include_expsyms should be a list of space-separated symbols to be *always*
5629
 
-  # included in the symbol list
5630
 
-  _LT_AC_TAGVAR(include_expsyms, $1)=
5631
 
-  # exclude_expsyms can be an extended regexp of symbols to exclude
5632
 
-  # it will be wrapped by ` (' and `)$', so one must not match beginning or
5633
 
-  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
5634
 
-  # as well as any symbol that contains `d'.
5635
 
-  _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
5636
 
-  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
5637
 
-  # platforms (ab)use it in PIC code, but their linkers get confused if
5638
 
-  # the symbol is explicitly referenced.  Since portable code cannot
5639
 
-  # rely on this symbol name, it's probably fine to never include it in
5640
 
-  # preloaded symbol tables.
5641
 
-  # Exclude shared library initialization/finalization symbols.
5642
 
-dnl Note also adjust exclude_expsyms for C++ above.
5643
 
-  extract_expsyms_cmds=
5644
 
-  # Just being paranoid about ensuring that cc_basename is set.
5645
 
-  _LT_CC_BASENAME([$compiler])
5646
 
-  case $host_os in
5647
 
-  cygwin* | mingw* | pw32*)
5648
 
-    # FIXME: the MSVC++ port hasn't been tested in a loooong time
5649
 
-    # When not using gcc, we currently assume that we are using
5650
 
-    # Microsoft Visual C++.
5651
 
-    if test "$GCC" != yes; then
5652
 
-      with_gnu_ld=no
5653
 
-    fi
5654
 
-    ;;
5655
 
-  interix*)
5656
 
-    # we just hope/assume this is gcc and not c89 (= MSVC++)
5657
 
-    with_gnu_ld=yes
5658
 
-    ;;
5659
 
-  openbsd*)
5660
 
-    with_gnu_ld=no
5661
 
-    ;;
5662
 
-  esac
5663
 
-
5664
 
-  _LT_AC_TAGVAR(ld_shlibs, $1)=yes
5665
 
-  if test "$with_gnu_ld" = yes; then
5666
 
-    # If archive_cmds runs LD, not CC, wlarc should be empty
5667
 
-    wlarc='${wl}'
5668
 
-
5669
 
-    # Set some defaults for GNU ld with shared library support. These
5670
 
-    # are reset later if shared libraries are not supported. Putting them
5671
 
-    # here allows them to be overridden if necessary.
5672
 
-    runpath_var=LD_RUN_PATH
5673
 
-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
5674
 
-    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
5675
 
-    # ancient GNU ld didn't support --whole-archive et. al.
5676
 
-    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
5677
 
-       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
5678
 
-      else
5679
 
-       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
5680
 
-    fi
5681
 
-    supports_anon_versioning=no
5682
 
-    case `$LD -v 2>/dev/null` in
5683
 
-      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
5684
 
-      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
5685
 
-      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
5686
 
-      *\ 2.11.*) ;; # other 2.11 versions
5687
 
-      *) supports_anon_versioning=yes ;;
5688
 
-    esac
5689
 
-
5690
 
-    # See if GNU ld supports shared libraries.
5691
 
-    case $host_os in
5692
 
-    aix[[3-9]]*)
5693
 
-      # On AIX/PPC, the GNU linker is very broken
5694
 
-      if test "$host_cpu" != ia64; then
5695
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
5696
 
-       cat <<EOF 1>&2
5697
 
-
5698
 
-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
5699
 
-*** to be unable to reliably create shared libraries on AIX.
5700
 
-*** Therefore, libtool is disabling shared libraries support.  If you
5701
 
-*** really care for shared libraries, you may want to modify your PATH
5702
 
-*** so that a non-GNU linker is found, and then restart.
5703
 
-
5704
 
-EOF
5705
 
-      fi
5706
 
-      ;;
5707
 
-
5708
 
-    amigaos*)
5709
 
-      _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)'
5710
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5711
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5712
 
-
5713
 
-      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
5714
 
-      # that the semantics of dynamic libraries on AmigaOS, at least up
5715
 
-      # to version 4, is to share data among multiple programs linked
5716
 
-      # with the same dynamic library.  Since this doesn't match the
5717
 
-      # behavior of shared libraries on other platforms, we can't use
5718
 
-      # them.
5719
 
-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
5720
 
-      ;;
5721
 
-
5722
 
-    beos*)
5723
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5724
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
5725
 
-       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
5726
 
-       # support --undefined.  This deserves some investigation.  FIXME
5727
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5728
 
-      else
5729
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
5730
 
-      fi
5731
 
-      ;;
5732
 
-
5733
 
-    cygwin* | mingw* | pw32*)
5734
 
-      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
5735
 
-      # as there is no search path for DLLs.
5736
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5737
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
5738
 
-      _LT_AC_TAGVAR(always_export_symbols, $1)=no
5739
 
-      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5740
 
-      _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'
5741
 
-
5742
 
-      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
5743
 
-        _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'
5744
 
-       # If the export-symbols file already is a .def file (1st line
5745
 
-       # is EXPORTS), use it as is; otherwise, prepend...
5746
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
5747
 
-         cp $export_symbols $output_objdir/$soname.def;
5748
 
-       else
5749
 
-         echo EXPORTS > $output_objdir/$soname.def;
5750
 
-         cat $export_symbols >> $output_objdir/$soname.def;
5751
 
-       fi~
5752
 
-       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
5753
 
-      else
5754
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
5755
 
-      fi
5756
 
-      ;;
5757
 
-
5758
 
-    interix[[3-9]]*)
5759
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=no
5760
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5761
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5762
 
-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5763
 
-      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
5764
 
-      # Instead, shared libraries are loaded at an image base (0x10000000 by
5765
 
-      # default) and relocated if they conflict, which is a slow very memory
5766
 
-      # consuming and fragmenting process.  To avoid this, we pick a random,
5767
 
-      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
5768
 
-      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
5769
 
-      _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'
5770
 
-      _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'
5771
 
-      ;;
5772
 
-
5773
 
-    gnu* | linux* | k*bsd*-gnu)
5774
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5775
 
-       tmp_addflag=
5776
 
-       case $cc_basename,$host_cpu in
5777
 
-       pgcc*)                          # Portland Group C compiler
5778
 
-         _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'
5779
 
-         tmp_addflag=' $pic_flag'
5780
 
-         ;;
5781
 
-       pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
5782
 
-         _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'
5783
 
-         tmp_addflag=' $pic_flag -Mnomain' ;;
5784
 
-       ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
5785
 
-         tmp_addflag=' -i_dynamic' ;;
5786
 
-       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
5787
 
-         tmp_addflag=' -i_dynamic -nofor_main' ;;
5788
 
-       ifc* | ifort*)                  # Intel Fortran compiler
5789
 
-         tmp_addflag=' -nofor_main' ;;
5790
 
-       esac
5791
 
-       case `$CC -V 2>&1 | sed 5q` in
5792
 
-       *Sun\ C*)                       # Sun C 5.9
5793
 
-         _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'
5794
 
-         tmp_sharedflag='-G' ;;
5795
 
-       *Sun\ F*)                       # Sun Fortran 8.3
5796
 
-         tmp_sharedflag='-G' ;;
5797
 
-       *)
5798
 
-         tmp_sharedflag='-shared' ;;
5799
 
-       esac
5800
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5801
 
-
5802
 
-       if test $supports_anon_versioning = yes; then
5803
 
-         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
5804
 
-  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5805
 
-  $echo "local: *; };" >> $output_objdir/$libname.ver~
5806
 
-         $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
5807
 
-       fi
5808
 
-       _LT_AC_TAGVAR(link_all_deplibs, $1)=no
5809
 
-      else
5810
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
5811
 
-      fi
5812
 
-      ;;
5813
 
-
5814
 
-    netbsd* | netbsdelf*-gnu)
5815
 
-      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5816
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5817
 
-       wlarc=
5818
 
-      else
5819
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5820
 
-       _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'
5821
 
-      fi
5822
 
-      ;;
5823
 
-
5824
 
-    solaris*)
5825
 
-      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
5826
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
5827
 
-       cat <<EOF 1>&2
5828
 
-
5829
 
-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
5830
 
-*** create shared libraries on Solaris systems.  Therefore, libtool
5831
 
-*** is disabling shared libraries support.  We urge you to upgrade GNU
5832
 
-*** binutils to release 2.9.1 or newer.  Another option is to modify
5833
 
-*** your PATH or compiler configuration so that the native linker is
5834
 
-*** used, and then restart.
5835
 
-
5836
 
-EOF
5837
 
-      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5838
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5839
 
-       _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'
5840
 
-      else
5841
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
5842
 
-      fi
5843
 
-      ;;
5844
 
-
5845
 
-    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
5846
 
-      case `$LD -v 2>&1` in
5847
 
-        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
5848
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
5849
 
-       cat <<_LT_EOF 1>&2
5850
 
-
5851
 
-*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
5852
 
-*** reliably create shared libraries on SCO systems.  Therefore, libtool
5853
 
-*** is disabling shared libraries support.  We urge you to upgrade GNU
5854
 
-*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
5855
 
-*** your PATH or compiler configuration so that the native linker is
5856
 
-*** used, and then restart.
5857
 
-
5858
 
-_LT_EOF
5859
 
-       ;;
5860
 
-       *)
5861
 
-         if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5862
 
-           _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
5863
 
-           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
5864
 
-           _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'
5865
 
-         else
5866
 
-           _LT_AC_TAGVAR(ld_shlibs, $1)=no
5867
 
-         fi
5868
 
-       ;;
5869
 
-      esac
5870
 
-      ;;
5871
 
-
5872
 
-    sunos4*)
5873
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5874
 
-      wlarc=
5875
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5876
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5877
 
-      ;;
5878
 
-
5879
 
-    *)
5880
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5881
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5882
 
-       _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'
5883
 
-      else
5884
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
5885
 
-      fi
5886
 
-      ;;
5887
 
-    esac
5888
 
-
5889
 
-    if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
5890
 
-      runpath_var=
5891
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
5892
 
-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
5893
 
-      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
5894
 
-    fi
5895
 
-  else
5896
 
-    # PORTME fill in a description of your system's linker (not GNU ld)
5897
 
-    case $host_os in
5898
 
-    aix3*)
5899
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
5900
 
-      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
5901
 
-      _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'
5902
 
-      # Note: this linker hardcodes the directories in LIBPATH if there
5903
 
-      # are no directories specified by -L.
5904
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5905
 
-      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
5906
 
-       # Neither direct hardcoding nor static linking is supported with a
5907
 
-       # broken collect2.
5908
 
-       _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
5909
 
-      fi
5910
 
-      ;;
5911
 
-
5912
 
-    aix[[4-9]]*)
5913
 
-      if test "$host_cpu" = ia64; then
5914
 
-       # On IA64, the linker does run time linking by default, so we don't
5915
 
-       # have to do anything special.
5916
 
-       aix_use_runtimelinking=no
5917
 
-       exp_sym_flag='-Bexport'
5918
 
-       no_entry_flag=""
5919
 
-      else
5920
 
-       # If we're using GNU nm, then we don't want the "-C" option.
5921
 
-       # -C means demangle to AIX nm, but means don't demangle with GNU nm
5922
 
-       if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
5923
 
-         _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'
5924
 
-       else
5925
 
-         _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'
5926
 
-       fi
5927
 
-       aix_use_runtimelinking=no
5928
 
-
5929
 
-       # Test if we are trying to use run time linking or normal
5930
 
-       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5931
 
-       # need to do runtime linking.
5932
 
-       case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
5933
 
-         for ld_flag in $LDFLAGS; do
5934
 
-         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
5935
 
-           aix_use_runtimelinking=yes
5936
 
-           break
5937
 
-         fi
5938
 
-         done
5939
 
-         ;;
5940
 
-       esac
5941
 
-
5942
 
-       exp_sym_flag='-bexport'
5943
 
-       no_entry_flag='-bnoentry'
5944
 
-      fi
5945
 
-
5946
 
-      # When large executables or shared objects are built, AIX ld can
5947
 
-      # have problems creating the table of contents.  If linking a library
5948
 
-      # or program results in "error TOC overflow" add -mminimal-toc to
5949
 
-      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
5950
 
-      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5951
 
-
5952
 
-      _LT_AC_TAGVAR(archive_cmds, $1)=''
5953
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5954
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
5955
 
-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5956
 
-
5957
 
-      if test "$GCC" = yes; then
5958
 
-       case $host_os in aix4.[[012]]|aix4.[[012]].*)
5959
 
-       # We only want to do this on AIX 4.2 and lower, the check
5960
 
-       # below for broken collect2 doesn't work under 4.3+
5961
 
-         collect2name=`${CC} -print-prog-name=collect2`
5962
 
-         if test -f "$collect2name" && \
5963
 
-          strings "$collect2name" | grep resolve_lib_name >/dev/null
5964
 
-         then
5965
 
-         # We have reworked collect2
5966
 
-         :
5967
 
-         else
5968
 
-         # We have old collect2
5969
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
5970
 
-         # It fails to find uninstalled libraries when the uninstalled
5971
 
-         # path is not listed in the libpath.  Setting hardcode_minus_L
5972
 
-         # to unsupported forces relinking
5973
 
-         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5974
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5975
 
-         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
5976
 
-         fi
5977
 
-         ;;
5978
 
-       esac
5979
 
-       shared_flag='-shared'
5980
 
-       if test "$aix_use_runtimelinking" = yes; then
5981
 
-         shared_flag="$shared_flag "'${wl}-G'
5982
 
-       fi
5983
 
-      else
5984
 
-       # not using gcc
5985
 
-       if test "$host_cpu" = ia64; then
5986
 
-       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
5987
 
-       # chokes on -Wl,-G. The following line is correct:
5988
 
-         shared_flag='-G'
5989
 
-       else
5990
 
-         if test "$aix_use_runtimelinking" = yes; then
5991
 
-           shared_flag='${wl}-G'
5992
 
-         else
5993
 
-           shared_flag='${wl}-bM:SRE'
5994
 
-         fi
5995
 
-       fi
5996
 
-      fi
5997
 
-
5998
 
-      # It seems that -bexpall does not export symbols beginning with
5999
 
-      # underscore (_), so it is better to generate a list of symbols to export.
6000
 
-      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
6001
 
-      if test "$aix_use_runtimelinking" = yes; then
6002
 
-       # Warning - without using the other runtime loading flags (-brtl),
6003
 
-       # -berok will link without error, but may produce a broken library.
6004
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
6005
 
-       # Determine the default libpath from the value encoded in an empty executable.
6006
 
-       _LT_AC_SYS_LIBPATH_AIX
6007
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
6008
 
-       _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"
6009
 
-       else
6010
 
-       if test "$host_cpu" = ia64; then
6011
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
6012
 
-         _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
6013
 
-         _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"
6014
 
-       else
6015
 
-        # Determine the default libpath from the value encoded in an empty executable.
6016
 
-        _LT_AC_SYS_LIBPATH_AIX
6017
 
-        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
6018
 
-         # Warning - without using the other run time loading flags,
6019
 
-         # -berok will link without error, but may produce a broken library.
6020
 
-         _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
6021
 
-         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
6022
 
-         # Exported symbols can be pulled into shared objects from archives
6023
 
-         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
6024
 
-         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
6025
 
-         # This is similar to how AIX traditionally builds its shared libraries.
6026
 
-         _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'
6027
 
-       fi
6028
 
-      fi
6029
 
-      ;;
6030
 
-
6031
 
-    amigaos*)
6032
 
-      _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)'
6033
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6034
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6035
 
-      # see comment about different semantics on the GNU ld section
6036
 
-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
6037
 
-      ;;
6038
 
-
6039
 
-    bsdi[[45]]*)
6040
 
-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
6041
 
-      ;;
6042
 
-
6043
 
-    cygwin* | mingw* | pw32*)
6044
 
-      # When not using gcc, we currently assume that we are using
6045
 
-      # Microsoft Visual C++.
6046
 
-      # hardcode_libdir_flag_spec is actually meaningless, as there is
6047
 
-      # no search path for DLLs.
6048
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
6049
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
6050
 
-      # Tell ltmain to make .lib files, not .a files.
6051
 
-      libext=lib
6052
 
-      # Tell ltmain to make .dll files, not .so files.
6053
 
-      shrext_cmds=".dll"
6054
 
-      # FIXME: Setting linknames here is a bad hack.
6055
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
6056
 
-      # The linker will automatically build a .lib file if we build a DLL.
6057
 
-      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
6058
 
-      # FIXME: Should let the user specify the lib program.
6059
 
-      _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
6060
 
-      _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
6061
 
-      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6062
 
-      ;;
6063
 
-
6064
 
-    darwin* | rhapsody*)
6065
 
-      case $host_os in
6066
 
-        rhapsody* | darwin1.[[012]])
6067
 
-         _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
6068
 
-         ;;
6069
 
-       *) # Darwin 1.3 on
6070
 
-         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
6071
 
-           _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6072
 
-         else
6073
 
-           case ${MACOSX_DEPLOYMENT_TARGET} in
6074
 
-             10.[[012]])
6075
 
-               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6076
 
-               ;;
6077
 
-             10.*)
6078
 
-               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
6079
 
-               ;;
6080
 
-           esac
6081
 
-         fi
6082
 
-         ;;
6083
 
-      esac
6084
 
-      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6085
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=no
6086
 
-      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
6087
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
6088
 
-      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
6089
 
-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6090
 
-    if test "$GCC" = yes ; then
6091
 
-       output_verbose_link_cmd='echo'
6092
 
-        _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}"
6093
 
-        _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
6094
 
-        _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}"
6095
 
-        _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}"
6096
 
-    else
6097
 
-      case $cc_basename in
6098
 
-        xlc*)
6099
 
-         output_verbose_link_cmd='echo'
6100
 
-         _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'
6101
 
-         _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6102
 
-          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6103
 
-         _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}'
6104
 
-          _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}'
6105
 
-          ;;
6106
 
-       *)
6107
 
-         _LT_AC_TAGVAR(ld_shlibs, $1)=no
6108
 
-          ;;
6109
 
-      esac
6110
 
-    fi
6111
 
-      ;;
6112
 
-
6113
 
-    dgux*)
6114
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6115
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6116
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6117
 
-      ;;
6118
 
-
6119
 
-    freebsd1*)
6120
 
-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
6121
 
-      ;;
6122
 
-
6123
 
-    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
6124
 
-    # support.  Future versions do this automatically, but an explicit c++rt0.o
6125
 
-    # does not break anything, and helps significantly (at the cost of a little
6126
 
-    # extra space).
6127
 
-    freebsd2.2*)
6128
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
6129
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6130
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6131
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6132
 
-      ;;
6133
 
-
6134
 
-    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
6135
 
-    freebsd2*)
6136
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6137
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6138
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6139
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6140
 
-      ;;
6141
 
-
6142
 
-    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
6143
 
-    freebsd* | dragonfly*)
6144
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6145
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6146
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6147
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6148
 
-      ;;
6149
 
-
6150
 
-    hpux9*)
6151
 
-      if test "$GCC" = yes; then
6152
 
-       _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'
6153
 
-      else
6154
 
-       _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'
6155
 
-      fi
6156
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
6157
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6158
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6159
 
-
6160
 
-      # hardcode_minus_L: Not really in the search PATH,
6161
 
-      # but as the default location of the library.
6162
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6163
 
-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6164
 
-      ;;
6165
 
-
6166
 
-    hpux10*)
6167
 
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
6168
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6169
 
-      else
6170
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
6171
 
-      fi
6172
 
-      if test "$with_gnu_ld" = no; then
6173
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
6174
 
-       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6175
 
-
6176
 
-       _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6177
 
-       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6178
 
-
6179
 
-       # hardcode_minus_L: Not really in the search PATH,
6180
 
-       # but as the default location of the library.
6181
 
-       _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6182
 
-      fi
6183
 
-      ;;
6184
 
-
6185
 
-    hpux11*)
6186
 
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
6187
 
-       case $host_cpu in
6188
 
-       hppa*64*)
6189
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6190
 
-         ;;
6191
 
-       ia64*)
6192
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
6193
 
-         ;;
6194
 
-       *)
6195
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6196
 
-         ;;
6197
 
-       esac
6198
 
-      else
6199
 
-       case $host_cpu in
6200
 
-       hppa*64*)
6201
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6202
 
-         ;;
6203
 
-       ia64*)
6204
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
6205
 
-         ;;
6206
 
-       *)
6207
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6208
 
-         ;;
6209
 
-       esac
6210
 
-      fi
6211
 
-      if test "$with_gnu_ld" = no; then
6212
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
6213
 
-       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6214
 
-
6215
 
-       case $host_cpu in
6216
 
-       hppa*64*|ia64*)
6217
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
6218
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=no
6219
 
-         _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6220
 
-         ;;
6221
 
-       *)
6222
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6223
 
-         _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6224
 
-
6225
 
-         # hardcode_minus_L: Not really in the search PATH,
6226
 
-         # but as the default location of the library.
6227
 
-         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6228
 
-         ;;
6229
 
-       esac
6230
 
-      fi
6231
 
-      ;;
6232
 
-
6233
 
-    irix5* | irix6* | nonstopux*)
6234
 
-      if test "$GCC" = yes; then
6235
 
-       _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'
6236
 
-      else
6237
 
-       _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'
6238
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
6239
 
-      fi
6240
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6241
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6242
 
-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6243
 
-      ;;
6244
 
-
6245
 
-    netbsd* | netbsdelf*-gnu)
6246
 
-      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6247
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
6248
 
-      else
6249
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
6250
 
-      fi
6251
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6252
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6253
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6254
 
-      ;;
6255
 
-
6256
 
-    newsos6)
6257
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6258
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6259
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6260
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6261
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6262
 
-      ;;
6263
 
-
6264
 
-    openbsd*)
6265
 
-      if test -f /usr/libexec/ld.so; then
6266
 
-       _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6267
 
-       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6268
 
-       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6269
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6270
 
-         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
6271
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6272
 
-         _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6273
 
-       else
6274
 
-         case $host_os in
6275
 
-          openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
6276
 
-            _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6277
 
-            _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6278
 
-            ;;
6279
 
-          *)
6280
 
-            _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6281
 
-            _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6282
 
-            ;;
6283
 
-         esac
6284
 
-        fi
6285
 
-      else
6286
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
6287
 
-      fi
6288
 
-      ;;
6289
 
-
6290
 
-    os2*)
6291
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6292
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6293
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
6294
 
-      _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'
6295
 
-      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
6296
 
-      ;;
6297
 
-
6298
 
-    osf3*)
6299
 
-      if test "$GCC" = yes; then
6300
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
6301
 
-       _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'
6302
 
-      else
6303
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
6304
 
-       _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'
6305
 
-      fi
6306
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6307
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6308
 
-      ;;
6309
 
-
6310
 
-    osf4* | osf5*)     # as osf3* with the addition of -msym flag
6311
 
-      if test "$GCC" = yes; then
6312
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
6313
 
-       _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'
6314
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6315
 
-      else
6316
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
6317
 
-       _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'
6318
 
-       _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~
6319
 
-       $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'
6320
 
-
6321
 
-       # Both c and cxx compiler support -rpath directly
6322
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
6323
 
-      fi
6324
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6325
 
-      ;;
6326
 
-
6327
 
-    solaris*)
6328
 
-      _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
6329
 
-      if test "$GCC" = yes; then
6330
 
-       wlarc='${wl}'
6331
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6332
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6333
 
-         $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
6334
 
-      else
6335
 
-       wlarc=''
6336
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6337
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6338
 
-       $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6339
 
-      fi
6340
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6341
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6342
 
-      case $host_os in
6343
 
-      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
6344
 
-      *)
6345
 
-       # The compiler driver will combine and reorder linker options,
6346
 
-       # but understands `-z linker_flag'.  GCC discards it without `$wl',
6347
 
-       # but is careful enough not to reorder.
6348
 
-       # Supported since Solaris 2.6 (maybe 2.5.1?)
6349
 
-       if test "$GCC" = yes; then
6350
 
-         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
6351
 
-       else
6352
 
-         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
6353
 
-       fi
6354
 
-       ;;
6355
 
-      esac
6356
 
-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6357
 
-      ;;
6358
 
-
6359
 
-    sunos4*)
6360
 
-      if test "x$host_vendor" = xsequent; then
6361
 
-       # Use $CC to link under sequent, because it throws in some extra .o
6362
 
-       # files that make .init and .fini sections work.
6363
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
6364
 
-      else
6365
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
6366
 
-      fi
6367
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6368
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6369
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6370
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6371
 
-      ;;
6372
 
-
6373
 
-    sysv4)
6374
 
-      case $host_vendor in
6375
 
-       sni)
6376
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6377
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
6378
 
-       ;;
6379
 
-       siemens)
6380
 
-         ## LD is ld it makes a PLAMLIB
6381
 
-         ## CC just makes a GrossModule.
6382
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6383
 
-         _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
6384
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=no
6385
 
-        ;;
6386
 
-       motorola)
6387
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6388
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
6389
 
-       ;;
6390
 
-      esac
6391
 
-      runpath_var='LD_RUN_PATH'
6392
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6393
 
-      ;;
6394
 
-
6395
 
-    sysv4.3*)
6396
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6397
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6398
 
-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
6399
 
-      ;;
6400
 
-
6401
 
-    sysv4*MP*)
6402
 
-      if test -d /usr/nec; then
6403
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6404
 
-       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6405
 
-       runpath_var=LD_RUN_PATH
6406
 
-       hardcode_runpath_var=yes
6407
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=yes
6408
 
-      fi
6409
 
-      ;;
6410
 
-
6411
 
-    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
6412
 
-      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
6413
 
-      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6414
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6415
 
-      runpath_var='LD_RUN_PATH'
6416
 
-
6417
 
-      if test "$GCC" = yes; then
6418
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6419
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6420
 
-      else
6421
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6422
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6423
 
-      fi
6424
 
-      ;;
6425
 
-
6426
 
-    sysv5* | sco3.2v5* | sco5v6*)
6427
 
-      # Note: We can NOT use -z defs as we might desire, because we do not
6428
 
-      # link with -lc, and that would cause any symbols used from libc to
6429
 
-      # always be unresolved, which means just about no library would
6430
 
-      # ever link correctly.  If we're not using GNU ld we use -z text
6431
 
-      # though, which does catch some bad symbols but isn't as heavy-handed
6432
 
-      # as -z defs.
6433
 
-      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
6434
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
6435
 
-      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6436
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6437
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
6438
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
6439
 
-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6440
 
-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
6441
 
-      runpath_var='LD_RUN_PATH'
6442
 
-
6443
 
-      if test "$GCC" = yes; then
6444
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6445
 
-       _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'
6446
 
-      else
6447
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6448
 
-       _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'
6449
 
-      fi
6450
 
-      ;;
6451
 
-
6452
 
-    uts4*)
6453
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6454
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6455
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6456
 
-      ;;
6457
 
-
6458
 
-    *)
6459
 
-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
6460
 
-      ;;
6461
 
-    esac
6462
 
-  fi
6463
 
-])
6464
 
-AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
6465
 
-test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
6466
 
-
6467
 
-#
6468
 
-# Do we need to explicitly link libc?
6469
 
-#
6470
 
-case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
6471
 
-x|xyes)
6472
 
-  # Assume -lc should be added
6473
 
-  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
6474
 
-
6475
 
-  if test "$enable_shared" = yes && test "$GCC" = yes; then
6476
 
-    case $_LT_AC_TAGVAR(archive_cmds, $1) in
6477
 
-    *'~'*)
6478
 
-      # FIXME: we may have to deal with multi-command sequences.
6479
 
-      ;;
6480
 
-    '$CC '*)
6481
 
-      # Test whether the compiler implicitly links with -lc since on some
6482
 
-      # systems, -lgcc has to come before -lc. If gcc already passes -lc
6483
 
-      # to ld, don't add -lc before -lgcc.
6484
 
-      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
6485
 
-      $rm conftest*
6486
 
-      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6487
 
-
6488
 
-      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
6489
 
-        soname=conftest
6490
 
-        lib=conftest
6491
 
-        libobjs=conftest.$ac_objext
6492
 
-        deplibs=
6493
 
-        wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
6494
 
-       pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
6495
 
-        compiler_flags=-v
6496
 
-        linker_flags=-v
6497
 
-        verstring=
6498
 
-        output_objdir=.
6499
 
-        libname=conftest
6500
 
-        lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
6501
 
-        _LT_AC_TAGVAR(allow_undefined_flag, $1)=
6502
 
-        if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
6503
 
-        then
6504
 
-         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6505
 
-        else
6506
 
-         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
6507
 
-        fi
6508
 
-        _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
6509
 
-      else
6510
 
-        cat conftest.err 1>&5
6511
 
-      fi
6512
 
-      $rm conftest*
6513
 
-      AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
6514
 
-      ;;
6515
 
-    esac
6516
 
-  fi
6517
 
-  ;;
6518
 
-esac
6519
 
-])# AC_LIBTOOL_PROG_LD_SHLIBS
6520
 
-
6521
 
-
6522
 
-# _LT_AC_FILE_LTDLL_C
6523
 
-# -------------------
6524
 
-# Be careful that the start marker always follows a newline.
6525
 
-AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
6526
 
-# /* ltdll.c starts here */
6527
 
-# #define WIN32_LEAN_AND_MEAN
6528
 
-# #include <windows.h>
6529
 
-# #undef WIN32_LEAN_AND_MEAN
6530
 
-# #include <stdio.h>
6531
 
-#
6532
 
-# #ifndef __CYGWIN__
6533
 
-# #  ifdef __CYGWIN32__
6534
 
-# #    define __CYGWIN__ __CYGWIN32__
6535
 
-# #  endif
6536
 
-# #endif
6537
 
-#
6538
 
-# #ifdef __cplusplus
6539
 
-# extern "C" {
6540
 
-# #endif
6541
 
-# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
6542
 
-# #ifdef __cplusplus
6543
 
-# }
6544
 
-# #endif
6545
 
-#
6546
 
-# #ifdef __CYGWIN__
6547
 
-# #include <cygwin/cygwin_dll.h>
6548
 
-# DECLARE_CYGWIN_DLL( DllMain );
6549
 
-# #endif
6550
 
-# HINSTANCE __hDllInstance_base;
6551
 
-#
6552
 
-# BOOL APIENTRY
6553
 
-# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
6554
 
-# {
6555
 
-#   __hDllInstance_base = hInst;
6556
 
-#   return TRUE;
6557
 
-# }
6558
 
-# /* ltdll.c ends here */
6559
 
-])# _LT_AC_FILE_LTDLL_C
6560
 
-
6561
 
-
6562
 
-# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
6563
 
-# ---------------------------------
6564
 
-AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
6565
 
-
6566
 
-
6567
 
-# old names
6568
 
-AC_DEFUN([AM_PROG_LIBTOOL],   [AC_PROG_LIBTOOL])
6569
 
-AC_DEFUN([AM_ENABLE_SHARED],  [AC_ENABLE_SHARED($@)])
6570
 
-AC_DEFUN([AM_ENABLE_STATIC],  [AC_ENABLE_STATIC($@)])
6571
 
-AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
6572
 
-AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
6573
 
-AC_DEFUN([AM_PROG_LD],        [AC_PROG_LD])
6574
 
-AC_DEFUN([AM_PROG_NM],        [AC_PROG_NM])
6575
 
-
6576
 
-# This is just to silence aclocal about the macro not being used
6577
 
-ifelse([AC_DISABLE_FAST_INSTALL])
6578
 
-
6579
 
-AC_DEFUN([LT_AC_PROG_GCJ],
6580
 
-[AC_CHECK_TOOL(GCJ, gcj, no)
6581
 
-  test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
6582
 
-  AC_SUBST(GCJFLAGS)
6583
 
-])
6584
 
-
6585
 
-AC_DEFUN([LT_AC_PROG_RC],
6586
 
-[AC_CHECK_TOOL(RC, windres, no)
6587
 
-])
6588
 
-
6589
 
-
6590
 
-# Cheap backport of AS_EXECUTABLE_P and required macros
6591
 
-# from Autoconf 2.59; we should not use $as_executable_p directly.
6592
 
-
6593
 
-# _AS_TEST_PREPARE
6594
 
-# ----------------
6595
 
-m4_ifndef([_AS_TEST_PREPARE],
6596
 
-[m4_defun([_AS_TEST_PREPARE],
6597
 
-[if test -x / >/dev/null 2>&1; then
6598
 
-  as_executable_p='test -x'
6599
 
-else
6600
 
-  as_executable_p='test -f'
6601
 
-fi
6602
 
-])])# _AS_TEST_PREPARE
6603
 
-
6604
 
-# AS_EXECUTABLE_P
6605
 
-# ---------------
6606
 
-# Check whether a file is executable.
6607
 
-m4_ifndef([AS_EXECUTABLE_P],
6608
 
-[m4_defun([AS_EXECUTABLE_P],
6609
 
-[AS_REQUIRE([_AS_TEST_PREPARE])dnl
6610
 
-$as_executable_p $1[]dnl
6611
 
-])])# AS_EXECUTABLE_P
6612
 
-
6613
 
-# NOTE: This macro has been submitted for inclusion into   #
6614
 
-#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
6615
 
-#  a released version of Autoconf we should remove this    #
6616
 
-#  macro and use it instead.                               #
6617
 
-# LT_AC_PROG_SED
6618
 
-# --------------
6619
 
-# Check for a fully-functional sed program, that truncates
6620
 
-# as few characters as possible.  Prefer GNU sed if found.
6621
 
-AC_DEFUN([LT_AC_PROG_SED],
6622
 
-[AC_MSG_CHECKING([for a sed that does not truncate output])
6623
 
-AC_CACHE_VAL(lt_cv_path_SED,
6624
 
-[# Loop through the user's path and test for sed and gsed.
6625
 
-# Then use that list of sed's as ones to test for truncation.
6626
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6627
 
-for as_dir in $PATH
6628
 
-do
6629
 
-  IFS=$as_save_IFS
6630
 
-  test -z "$as_dir" && as_dir=.
6631
 
-  for lt_ac_prog in sed gsed; do
6632
 
-    for ac_exec_ext in '' $ac_executable_extensions; do
6633
 
-      if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then
6634
 
-        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6635
 
-      fi
6636
 
-    done
6637
 
-  done
6638
 
-done
6639
 
-IFS=$as_save_IFS
6640
 
-lt_ac_max=0
6641
 
-lt_ac_count=0
6642
 
-# Add /usr/xpg4/bin/sed as it is typically found on Solaris
6643
 
-# along with /bin/sed that truncates output.
6644
 
-for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
6645
 
-  test ! -f $lt_ac_sed && continue
6646
 
-  cat /dev/null > conftest.in
6647
 
-  lt_ac_count=0
6648
 
-  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
6649
 
-  # Check for GNU sed and select it if it is found.
6650
 
-  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
6651
 
-    lt_cv_path_SED=$lt_ac_sed
6652
 
-    break
6653
 
-  fi
6654
 
-  while true; do
6655
 
-    cat conftest.in conftest.in >conftest.tmp
6656
 
-    mv conftest.tmp conftest.in
6657
 
-    cp conftest.in conftest.nl
6658
 
-    echo >>conftest.nl
6659
 
-    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
6660
 
-    cmp -s conftest.out conftest.nl || break
6661
 
-    # 10000 chars as input seems more than enough
6662
 
-    test $lt_ac_count -gt 10 && break
6663
 
-    lt_ac_count=`expr $lt_ac_count + 1`
6664
 
-    if test $lt_ac_count -gt $lt_ac_max; then
6665
 
-      lt_ac_max=$lt_ac_count
6666
 
-      lt_cv_path_SED=$lt_ac_sed
6667
 
-    fi
6668
 
-  done
6669
 
-done
6670
 
-])
6671
 
-SED=$lt_cv_path_SED
6672
 
-AC_SUBST([SED])
6673
 
-AC_MSG_RESULT([$SED])
6674
 
-])
6675
 
-
6676
 
 # nls.m4 serial 3 (gettext-0.15)
6677
 
 dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc.
6678
 
 dnl This file is free software; the Free Software Foundation
6679
 
@@ -7552,7 +900,7 @@
6680
 
 fi[]dnl
6681
 
 ])# PKG_CHECK_MODULES
6682
 
 
6683
 
-# Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc.
6684
 
+# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
6685
 
 #
6686
 
 # This file is free software; the Free Software Foundation
6687
 
 # gives unlimited permission to copy and/or distribute it,
6688
 
@@ -7567,7 +915,7 @@
6689
 
 [am__api_version='1.10'
6690
 
 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
6691
 
 dnl require some minimum version.  Point them to the right macro.
6692
 
-m4_if([$1], [1.10.1], [],
6693
 
+m4_if([$1], [1.10.2], [],
6694
 
       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
6695
 
 ])
6696
 
 
6697
 
@@ -7581,12 +929,12 @@
6698
 
 # AM_SET_CURRENT_AUTOMAKE_VERSION
6699
 
 # -------------------------------
6700
 
 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
6701
 
-# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
6702
 
+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
6703
 
 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
6704
 
-[AM_AUTOMAKE_VERSION([1.10.1])dnl
6705
 
+[AM_AUTOMAKE_VERSION([1.10.2])dnl
6706
 
 m4_ifndef([AC_AUTOCONF_VERSION],
6707
 
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
6708
 
-_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
6709
 
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
6710
 
 
6711
 
 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
6712
 
 
6713
 
@@ -7836,57 +1184,68 @@
6714
 
 
6715
 
 # Generate code to set up dependency tracking.              -*- Autoconf -*-
6716
 
 
6717
 
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
6718
 
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
6719
 
 # Free Software Foundation, Inc.
6720
 
 #
6721
 
 # This file is free software; the Free Software Foundation
6722
 
 # gives unlimited permission to copy and/or distribute it,
6723
 
 # with or without modifications, as long as this notice is preserved.
6724
 
 
6725
 
-#serial 3
6726
 
+#serial 5
6727
 
 
6728
 
 # _AM_OUTPUT_DEPENDENCY_COMMANDS
6729
 
 # ------------------------------
6730
 
 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
6731
 
-[for mf in $CONFIG_FILES; do
6732
 
-  # Strip MF so we end up with the name of the file.
6733
 
-  mf=`echo "$mf" | sed -e 's/:.*$//'`
6734
 
-  # Check whether this is an Automake generated Makefile or not.
6735
 
-  # We used to match only the files named `Makefile.in', but
6736
 
-  # some people rename them; so instead we look at the file content.
6737
 
-  # Grep'ing the first line is not enough: some people post-process
6738
 
-  # each Makefile.in and add a new line on top of each file to say so.
6739
 
-  # Grep'ing the whole file is not good either: AIX grep has a line
6740
 
-  # limit of 2048, but all sed's we know have understand at least 4000.
6741
 
-  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6742
 
-    dirpart=`AS_DIRNAME("$mf")`
6743
 
-  else
6744
 
-    continue
6745
 
-  fi
6746
 
-  # Extract the definition of DEPDIR, am__include, and am__quote
6747
 
-  # from the Makefile without running `make'.
6748
 
-  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6749
 
-  test -z "$DEPDIR" && continue
6750
 
-  am__include=`sed -n 's/^am__include = //p' < "$mf"`
6751
 
-  test -z "am__include" && continue
6752
 
-  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6753
 
-  # When using ansi2knr, U may be empty or an underscore; expand it
6754
 
-  U=`sed -n 's/^U = //p' < "$mf"`
6755
 
-  # Find all dependency output files, they are included files with
6756
 
-  # $(DEPDIR) in their names.  We invoke sed twice because it is the
6757
 
-  # simplest approach to changing $(DEPDIR) to its actual value in the
6758
 
-  # expansion.
6759
 
-  for file in `sed -n "
6760
 
-    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6761
 
-       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6762
 
-    # Make sure the directory exists.
6763
 
-    test -f "$dirpart/$file" && continue
6764
 
-    fdir=`AS_DIRNAME(["$file"])`
6765
 
-    AS_MKDIR_P([$dirpart/$fdir])
6766
 
-    # echo "creating $dirpart/$file"
6767
 
-    echo '# dummy' > "$dirpart/$file"
6768
 
+[{
6769
 
+  # Autoconf 2.62 quotes --file arguments for eval, but not when files
6770
 
+  # are listed without --file.  Let's play safe and only enable the eval
6771
 
+  # if we detect the quoting.
6772
 
+  case $CONFIG_FILES in
6773
 
+  *\'*) eval set x "$CONFIG_FILES" ;;
6774
 
+  *)   set x $CONFIG_FILES ;;
6775
 
+  esac
6776
 
+  shift
6777
 
+  for mf
6778
 
+  do
6779
 
+    # Strip MF so we end up with the name of the file.
6780
 
+    mf=`echo "$mf" | sed -e 's/:.*$//'`
6781
 
+    # Check whether this is an Automake generated Makefile or not.
6782
 
+    # We used to match only the files named `Makefile.in', but
6783
 
+    # some people rename them; so instead we look at the file content.
6784
 
+    # Grep'ing the first line is not enough: some people post-process
6785
 
+    # each Makefile.in and add a new line on top of each file to say so.
6786
 
+    # Grep'ing the whole file is not good either: AIX grep has a line
6787
 
+    # limit of 2048, but all sed's we know have understand at least 4000.
6788
 
+    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6789
 
+      dirpart=`AS_DIRNAME("$mf")`
6790
 
+    else
6791
 
+      continue
6792
 
+    fi
6793
 
+    # Extract the definition of DEPDIR, am__include, and am__quote
6794
 
+    # from the Makefile without running `make'.
6795
 
+    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6796
 
+    test -z "$DEPDIR" && continue
6797
 
+    am__include=`sed -n 's/^am__include = //p' < "$mf"`
6798
 
+    test -z "am__include" && continue
6799
 
+    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6800
 
+    # When using ansi2knr, U may be empty or an underscore; expand it
6801
 
+    U=`sed -n 's/^U = //p' < "$mf"`
6802
 
+    # Find all dependency output files, they are included files with
6803
 
+    # $(DEPDIR) in their names.  We invoke sed twice because it is the
6804
 
+    # simplest approach to changing $(DEPDIR) to its actual value in the
6805
 
+    # expansion.
6806
 
+    for file in `sed -n "
6807
 
+      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6808
 
+        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6809
 
+      # Make sure the directory exists.
6810
 
+      test -f "$dirpart/$file" && continue
6811
 
+      fdir=`AS_DIRNAME(["$file"])`
6812
 
+      AS_MKDIR_P([$dirpart/$fdir])
6813
 
+      # echo "creating $dirpart/$file"
6814
 
+      echo '# dummy' > "$dirpart/$file"
6815
 
+    done
6816
 
   done
6817
 
-done
6818
 
+}
6819
 
 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
6820
 
 
6821
 
 
6822
 
@@ -8157,14 +1516,14 @@
6823
 
 rm -f confinc confmf
6824
 
 ])
6825
 
 
6826
 
-# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005
6827
 
+# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008
6828
 
 # Free Software Foundation, Inc.
6829
 
 #
6830
 
 # This file is free software; the Free Software Foundation
6831
 
 # gives unlimited permission to copy and/or distribute it,
6832
 
 # with or without modifications, as long as this notice is preserved.
6833
 
 
6834
 
-# serial 5
6835
 
+# serial 6
6836
 
 
6837
 
 # AM_PROG_CC_C_O
6838
 
 # --------------
6839
 
@@ -8176,8 +1535,9 @@
6840
 
 # FIXME: we rely on the cache variable name because
6841
 
 # there is no other way.
6842
 
 set dummy $CC
6843
 
-ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
6844
 
-if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
6845
 
+am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
6846
 
+eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
6847
 
+if test "$am_t" != yes; then
6848
 
    # Losing compiler, so override with the script.
6849
 
    # FIXME: It is wrong to rewrite CC.
6850
 
    # But if we don't then we get into trouble of one sort or another.
6851
 
@@ -8255,13 +1615,13 @@
6852
 
 
6853
 
 # Helper functions for option handling.                     -*- Autoconf -*-
6854
 
 
6855
 
-# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
6856
 
+# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
6857
 
 #
6858
 
 # This file is free software; the Free Software Foundation
6859
 
 # gives unlimited permission to copy and/or distribute it,
6860
 
 # with or without modifications, as long as this notice is preserved.
6861
 
 
6862
 
-# serial 3
6863
 
+# serial 4
6864
 
 
6865
 
 # _AM_MANGLE_OPTION(NAME)
6866
 
 # -----------------------
6867
 
@@ -8278,7 +1638,7 @@
6868
 
 # ----------------------------------
6869
 
 # OPTIONS is a space-separated list of Automake options.
6870
 
 AC_DEFUN([_AM_SET_OPTIONS],
6871
 
-[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
6872
 
+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
6873
 
 
6874
 
 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
6875
 
 # -------------------------------------------
6876
 
@@ -8476,3 +1836,8 @@
6877
 
 
6878
 
 m4_include([m4/gnome-doc-utils.m4])
6879
 
 m4_include([m4/intltool.m4])
6880
 
+m4_include([m4/libtool.m4])
6881
 
+m4_include([m4/ltoptions.m4])
6882
 
+m4_include([m4/ltsugar.m4])
6883
 
+m4_include([m4/ltversion.m4])
6884
 
+m4_include([m4/lt~obsolete.m4])
6885
 
--- sound-juicer-2.26.1/config.h.in     2009-04-10 10:52:15.000000000 +0100
6886
 
+++ sound-juicer-2.26.1.new/config.h.in 2009-04-13 19:04:11.000000000 +0100
6887
 
@@ -69,6 +69,10 @@
6888
 
 /* Define to 1 if you have the <unistd.h> header file. */
6889
 
 #undef HAVE_UNISTD_H
6890
 
 
6891
 
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
6892
 
+   */
6893
 
+#undef LT_OBJDIR
6894
 
+
6895
 
 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
6896
 
 #undef NO_MINUS_C_MINUS_O
6897
 
 
6898
 
--- sound-juicer-2.26.1/configure       2009-04-10 10:52:15.000000000 +0100
6899
 
+++ sound-juicer-2.26.1.new/configure   2009-04-13 19:04:11.000000000 +0100
6900
 
@@ -1,11 +1,11 @@
6901
 
 #! /bin/sh
6902
 
 # Guess values for system-dependent variables and create Makefiles.
6903
 
-# Generated by GNU Autoconf 2.61 for Sound Juicer 2.26.1.
6904
 
+# Generated by GNU Autoconf 2.63 for Sound Juicer 2.26.1.
6905
 
 #
6906
 
 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=sound-juicer>.
6907
 
 #
6908
 
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6909
 
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6910
 
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6911
 
 # This configure script is free software; the Free Software Foundation
6912
 
 # gives unlimited permission to copy, distribute and modify it.
6913
 
 ## --------------------- ##
6914
 
@@ -17,7 +17,7 @@
6915
 
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6916
 
   emulate sh
6917
 
   NULLCMD=:
6918
 
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6919
 
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6920
 
   # is contrary to our usage.  Disable this feature.
6921
 
   alias -g '${1+"$@"}'='"$@"'
6922
 
   setopt NO_GLOB_SUBST
6923
 
@@ -39,17 +39,45 @@
6924
 
 as_cr_digits='0123456789'
6925
 
 as_cr_alnum=$as_cr_Letters$as_cr_digits
6926
 
 
6927
 
+as_nl='
6928
 
+'
6929
 
+export as_nl
6930
 
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
6931
 
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6932
 
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6933
 
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6934
 
+if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6935
 
+  as_echo='printf %s\n'
6936
 
+  as_echo_n='printf %s'
6937
 
+else
6938
 
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6939
 
+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6940
 
+    as_echo_n='/usr/ucb/echo -n'
6941
 
+  else
6942
 
+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6943
 
+    as_echo_n_body='eval
6944
 
+      arg=$1;
6945
 
+      case $arg in
6946
 
+      *"$as_nl"*)
6947
 
+       expr "X$arg" : "X\\(.*\\)$as_nl";
6948
 
+       arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6949
 
+      esac;
6950
 
+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6951
 
+    '
6952
 
+    export as_echo_n_body
6953
 
+    as_echo_n='sh -c $as_echo_n_body as_echo'
6954
 
+  fi
6955
 
+  export as_echo_body
6956
 
+  as_echo='sh -c $as_echo_body as_echo'
6957
 
+fi
6958
 
+
6959
 
 # The user is always right.
6960
 
 if test "${PATH_SEPARATOR+set}" != set; then
6961
 
-  echo "#! /bin/sh" >conf$$.sh
6962
 
-  echo  "exit 0"   >>conf$$.sh
6963
 
-  chmod +x conf$$.sh
6964
 
-  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6965
 
-    PATH_SEPARATOR=';'
6966
 
-  else
6967
 
-    PATH_SEPARATOR=:
6968
 
-  fi
6969
 
-  rm -f conf$$.sh
6970
 
+  PATH_SEPARATOR=:
6971
 
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6972
 
+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6973
 
+      PATH_SEPARATOR=';'
6974
 
+  }
6975
 
 fi
6976
 
 
6977
 
 # Support unset when possible.
6978
 
@@ -65,8 +93,6 @@
6979
 
 # there to prevent editors from complaining about space-tab.
6980
 
 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6981
 
 # splitting by setting IFS to empty value.)
6982
 
-as_nl='
6983
 
-'
6984
 
 IFS=" ""       $as_nl"
6985
 
 
6986
 
 # Find who we are.  Look in the path if we contain no directory separator.
6987
 
@@ -89,7 +115,7 @@
6988
 
   as_myself=$0
6989
 
 fi
6990
 
 if test ! -f "$as_myself"; then
6991
 
-  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6992
 
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6993
 
   { (exit 1); exit 1; }
6994
 
 fi
6995
 
 
6996
 
@@ -102,17 +128,10 @@
6997
 
 PS4='+ '
6998
 
 
6999
 
 # NLS nuisances.
7000
 
-for as_var in \
7001
 
-  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7002
 
-  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7003
 
-  LC_TELEPHONE LC_TIME
7004
 
-do
7005
 
-  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7006
 
-    eval $as_var=C; export $as_var
7007
 
-  else
7008
 
-    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7009
 
-  fi
7010
 
-done
7011
 
+LC_ALL=C
7012
 
+export LC_ALL
7013
 
+LANGUAGE=C
7014
 
+export LANGUAGE
7015
 
 
7016
 
 # Required to use basename.
7017
 
 if expr a : '\(a\)' >/dev/null 2>&1 &&
7018
 
@@ -134,7 +153,7 @@
7019
 
 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7020
 
         X"$0" : 'X\(//\)$' \| \
7021
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7022
 
-echo X/"$0" |
7023
 
+$as_echo X/"$0" |
7024
 
     sed '/^.*\/\([^/][^/]*\)\/*$/{
7025
 
            s//\1/
7026
 
            q
7027
 
@@ -160,7 +179,7 @@
7028
 
   as_have_required=no
7029
 
 fi
7030
 
 
7031
 
-  if test $as_have_required = yes &&    (eval ":
7032
 
+  if test $as_have_required = yes &&    (eval ":
7033
 
 (as_func_return () {
7034
 
   (exit \$1)
7035
 
 }
7036
 
@@ -242,7 +261,7 @@
7037
 
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7038
 
   emulate sh
7039
 
   NULLCMD=:
7040
 
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7041
 
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7042
 
   # is contrary to our usage.  Disable this feature.
7043
 
   alias -g '${1+"$@"}'='"$@"'
7044
 
   setopt NO_GLOB_SUBST
7045
 
@@ -263,7 +282,7 @@
7046
 
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7047
 
   emulate sh
7048
 
   NULLCMD=:
7049
 
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7050
 
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7051
 
   # is contrary to our usage.  Disable this feature.
7052
 
   alias -g '${1+"$@"}'='"$@"'
7053
 
   setopt NO_GLOB_SUBST
7054
 
@@ -343,10 +362,10 @@
7055
 
 
7056
 
       if test "x$CONFIG_SHELL" != x; then
7057
 
   for as_var in BASH_ENV ENV
7058
 
-        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7059
 
-        done
7060
 
-        export CONFIG_SHELL
7061
 
-        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
7062
 
+       do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7063
 
+       done
7064
 
+       export CONFIG_SHELL
7065
 
+       exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
7066
 
 fi
7067
 
 
7068
 
 
7069
 
@@ -415,9 +434,10 @@
7070
 
 
7071
 
 test \$exitcode = 0") || {
7072
 
   echo No shell found that supports shell functions.
7073
 
-  echo Please tell autoconf@gnu.org about your system,
7074
 
-  echo including any error possibly output before this
7075
 
-  echo message
7076
 
+  echo Please tell bug-autoconf@gnu.org about your system,
7077
 
+  echo including any error possibly output before this message.
7078
 
+  echo This can help us improve future autoconf versions.
7079
 
+  echo Configuration will now proceed without shell functions.
7080
 
 }
7081
 
 
7082
 
 
7083
 
@@ -453,7 +473,7 @@
7084
 
       s/-\n.*//
7085
 
     ' >$as_me.lineno &&
7086
 
   chmod +x "$as_me.lineno" ||
7087
 
-    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7088
 
+    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7089
 
    { (exit 1); exit 1; }; }
7090
 
 
7091
 
   # Don't try to exec as it changes $[0], causing all sort of problems
7092
 
@@ -481,7 +501,6 @@
7093
 
 *)
7094
 
   ECHO_N='-n';;
7095
 
 esac
7096
 
-
7097
 
 if expr a : '\(a\)' >/dev/null 2>&1 &&
7098
 
    test "X`expr 00001 : '.*\(...\)'`" = X001; then
7099
 
   as_expr=expr
7100
 
@@ -494,19 +513,22 @@
7101
 
   rm -f conf$$.dir/conf$$.file
7102
 
 else
7103
 
   rm -f conf$$.dir
7104
 
-  mkdir conf$$.dir
7105
 
+  mkdir conf$$.dir 2>/dev/null
7106
 
 fi
7107
 
-echo >conf$$.file
7108
 
-if ln -s conf$$.file conf$$ 2>/dev/null; then
7109
 
-  as_ln_s='ln -s'
7110
 
-  # ... but there are two gotchas:
7111
 
-  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7112
 
-  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7113
 
-  # In both cases, we have to default to `cp -p'.
7114
 
-  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7115
 
+if (echo >conf$$.file) 2>/dev/null; then
7116
 
+  if ln -s conf$$.file conf$$ 2>/dev/null; then
7117
 
+    as_ln_s='ln -s'
7118
 
+    # ... but there are two gotchas:
7119
 
+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7120
 
+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7121
 
+    # In both cases, we have to default to `cp -p'.
7122
 
+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7123
 
+      as_ln_s='cp -p'
7124
 
+  elif ln conf$$.file conf$$ 2>/dev/null; then
7125
 
+    as_ln_s=ln
7126
 
+  else
7127
 
     as_ln_s='cp -p'
7128
 
-elif ln conf$$.file conf$$ 2>/dev/null; then
7129
 
-  as_ln_s=ln
7130
 
+  fi
7131
 
 else
7132
 
   as_ln_s='cp -p'
7133
 
 fi
7134
 
@@ -531,10 +553,10 @@
7135
 
   as_test_x='
7136
 
     eval sh -c '\''
7137
 
       if test -d "$1"; then
7138
 
-        test -d "$1/.";
7139
 
+       test -d "$1/.";
7140
 
       else
7141
 
        case $1 in
7142
 
-        -*)set "./$1";;
7143
 
+       -*)set "./$1";;
7144
 
        esac;
7145
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
7146
 
        ???[sx]*):;;*)false;;esac;fi
7147
 
@@ -555,22 +577,22 @@
7148
 
 # Check that we are running under the correct shell.
7149
 
 SHELL=${CONFIG_SHELL-/bin/sh}
7150
 
 
7151
 
-case X$ECHO in
7152
 
+case X$lt_ECHO in
7153
 
 X*--fallback-echo)
7154
 
   # Remove one level of quotation (which was required for Make).
7155
 
-  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
7156
 
+  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
7157
 
   ;;
7158
 
 esac
7159
 
 
7160
 
-echo=${ECHO-echo}
7161
 
+ECHO=${lt_ECHO-echo}
7162
 
 if test "X$1" = X--no-reexec; then
7163
 
   # Discard the --no-reexec flag, and continue.
7164
 
   shift
7165
 
 elif test "X$1" = X--fallback-echo; then
7166
 
   # Avoid inline document here, it may be left over
7167
 
   :
7168
 
-elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
7169
 
-  # Yippee, $echo works!
7170
 
+elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
7171
 
+  # Yippee, $ECHO works!
7172
 
   :
7173
 
 else
7174
 
   # Restart under the correct shell.
7175
 
@@ -580,9 +602,9 @@
7176
 
 if test "X$1" = X--fallback-echo; then
7177
 
   # used as fallback echo
7178
 
   shift
7179
 
-  cat <<EOF
7180
 
+  cat <<_LT_EOF
7181
 
 $*
7182
 
-EOF
7183
 
+_LT_EOF
7184
 
   exit 0
7185
 
 fi
7186
 
 
7187
 
@@ -590,121 +612,116 @@
7188
 
 # if CDPATH is set.
7189
 
 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7190
 
 
7191
 
-if test -z "$ECHO"; then
7192
 
-if test "X${echo_test_string+set}" != Xset; then
7193
 
-# find a string as large as possible, as long as the shell can cope with it
7194
 
-  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
7195
 
-    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
7196
 
-    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
7197
 
-       echo_test_string=`eval $cmd` &&
7198
 
-       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
7199
 
-    then
7200
 
-      break
7201
 
-    fi
7202
 
-  done
7203
 
-fi
7204
 
+if test -z "$lt_ECHO"; then
7205
 
+  if test "X${echo_test_string+set}" != Xset; then
7206
 
+    # find a string as large as possible, as long as the shell can cope with it
7207
 
+    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
7208
 
+      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
7209
 
+      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
7210
 
+        { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
7211
 
+      then
7212
 
+        break
7213
 
+      fi
7214
 
+    done
7215
 
+  fi
7216
 
 
7217
 
-if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
7218
 
-   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
7219
 
-   test "X$echo_testing_string" = "X$echo_test_string"; then
7220
 
-  :
7221
 
-else
7222
 
-  # The Solaris, AIX, and Digital Unix default echo programs unquote
7223
 
-  # backslashes.  This makes it impossible to quote backslashes using
7224
 
-  #   echo "$something" | sed 's/\\/\\\\/g'
7225
 
-  #
7226
 
-  # So, first we look for a working echo in the user's PATH.
7227
 
+  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
7228
 
+     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
7229
 
+     test "X$echo_testing_string" = "X$echo_test_string"; then
7230
 
+    :
7231
 
+  else
7232
 
+    # The Solaris, AIX, and Digital Unix default echo programs unquote
7233
 
+    # backslashes.  This makes it impossible to quote backslashes using
7234
 
+    #   echo "$something" | sed 's/\\/\\\\/g'
7235
 
+    #
7236
 
+    # So, first we look for a working echo in the user's PATH.
7237
 
 
7238
 
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7239
 
-  for dir in $PATH /usr/ucb; do
7240
 
+    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7241
 
+    for dir in $PATH /usr/ucb; do
7242
 
+      IFS="$lt_save_ifs"
7243
 
+      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
7244
 
+         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
7245
 
+         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
7246
 
+         test "X$echo_testing_string" = "X$echo_test_string"; then
7247
 
+        ECHO="$dir/echo"
7248
 
+        break
7249
 
+      fi
7250
 
+    done
7251
 
     IFS="$lt_save_ifs"
7252
 
-    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
7253
 
-       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
7254
 
-       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
7255
 
-       test "X$echo_testing_string" = "X$echo_test_string"; then
7256
 
-      echo="$dir/echo"
7257
 
-      break
7258
 
-    fi
7259
 
-  done
7260
 
-  IFS="$lt_save_ifs"
7261
 
 
7262
 
-  if test "X$echo" = Xecho; then
7263
 
-    # We didn't find a better echo, so look for alternatives.
7264
 
-    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
7265
 
-       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
7266
 
-       test "X$echo_testing_string" = "X$echo_test_string"; then
7267
 
-      # This shell has a builtin print -r that does the trick.
7268
 
-      echo='print -r'
7269
 
-    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
7270
 
-        test "X$CONFIG_SHELL" != X/bin/ksh; then
7271
 
-      # If we have ksh, try running configure again with it.
7272
 
-      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
7273
 
-      export ORIGINAL_CONFIG_SHELL
7274
 
-      CONFIG_SHELL=/bin/ksh
7275
 
-      export CONFIG_SHELL
7276
 
-      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
7277
 
-    else
7278
 
-      # Try using printf.
7279
 
-      echo='printf %s\n'
7280
 
-      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
7281
 
-        echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
7282
 
-        test "X$echo_testing_string" = "X$echo_test_string"; then
7283
 
-       # Cool, printf works
7284
 
-       :
7285
 
-      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
7286
 
-          test "X$echo_testing_string" = 'X\t' &&
7287
 
-          echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
7288
 
-          test "X$echo_testing_string" = "X$echo_test_string"; then
7289
 
-       CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
7290
 
-       export CONFIG_SHELL
7291
 
-       SHELL="$CONFIG_SHELL"
7292
 
-       export SHELL
7293
 
-       echo="$CONFIG_SHELL $0 --fallback-echo"
7294
 
-      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
7295
 
-          test "X$echo_testing_string" = 'X\t' &&
7296
 
-          echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
7297
 
-          test "X$echo_testing_string" = "X$echo_test_string"; then
7298
 
-       echo="$CONFIG_SHELL $0 --fallback-echo"
7299
 
+    if test "X$ECHO" = Xecho; then
7300
 
+      # We didn't find a better echo, so look for alternatives.
7301
 
+      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
7302
 
+         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
7303
 
+         test "X$echo_testing_string" = "X$echo_test_string"; then
7304
 
+        # This shell has a builtin print -r that does the trick.
7305
 
+        ECHO='print -r'
7306
 
+      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
7307
 
+          test "X$CONFIG_SHELL" != X/bin/ksh; then
7308
 
+        # If we have ksh, try running configure again with it.
7309
 
+        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
7310
 
+        export ORIGINAL_CONFIG_SHELL
7311
 
+        CONFIG_SHELL=/bin/ksh
7312
 
+        export CONFIG_SHELL
7313
 
+        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
7314
 
       else
7315
 
-       # maybe with a smaller string...
7316
 
-       prev=:
7317
 
+        # Try using printf.
7318
 
+        ECHO='printf %s\n'
7319
 
+        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
7320
 
+          echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
7321
 
+          test "X$echo_testing_string" = "X$echo_test_string"; then
7322
 
+         # Cool, printf works
7323
 
+         :
7324
 
+        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
7325
 
+            test "X$echo_testing_string" = 'X\t' &&
7326
 
+            echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
7327
 
+            test "X$echo_testing_string" = "X$echo_test_string"; then
7328
 
+         CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
7329
 
+         export CONFIG_SHELL
7330
 
+         SHELL="$CONFIG_SHELL"
7331
 
+         export SHELL
7332
 
+         ECHO="$CONFIG_SHELL $0 --fallback-echo"
7333
 
+        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
7334
 
+            test "X$echo_testing_string" = 'X\t' &&
7335
 
+            echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
7336
 
+            test "X$echo_testing_string" = "X$echo_test_string"; then
7337
 
+         ECHO="$CONFIG_SHELL $0 --fallback-echo"
7338
 
+        else
7339
 
+         # maybe with a smaller string...
7340
 
+         prev=:
7341
 
 
7342
 
-       for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
7343
 
-         if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
7344
 
-         then
7345
 
-           break
7346
 
-         fi
7347
 
-         prev="$cmd"
7348
 
-       done
7349
 
+         for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
7350
 
+           if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
7351
 
+           then
7352
 
+             break
7353
 
+           fi
7354
 
+           prev="$cmd"
7355
 
+         done
7356
 
 
7357
 
-       if test "$prev" != 'sed 50q "$0"'; then
7358
 
-         echo_test_string=`eval $prev`
7359
 
-         export echo_test_string
7360
 
-         exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
7361
 
-       else
7362
 
-         # Oops.  We lost completely, so just stick with echo.
7363
 
-         echo=echo
7364
 
-       fi
7365
 
+         if test "$prev" != 'sed 50q "$0"'; then
7366
 
+           echo_test_string=`eval $prev`
7367
 
+           export echo_test_string
7368
 
+           exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
7369
 
+         else
7370
 
+           # Oops.  We lost completely, so just stick with echo.
7371
 
+           ECHO=echo
7372
 
+         fi
7373
 
+        fi
7374
 
       fi
7375
 
     fi
7376
 
   fi
7377
 
 fi
7378
 
-fi
7379
 
 
7380
 
 # Copy echo and quote the copy suitably for passing to libtool from
7381
 
 # the Makefile, instead of quoting the original, which is used later.
7382
 
-ECHO=$echo
7383
 
-if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
7384
 
-   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
7385
 
+lt_ECHO=$ECHO
7386
 
+if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
7387
 
+   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
7388
 
 fi
7389
 
 
7390
 
 
7391
 
 
7392
 
 
7393
 
-tagnames=${tagnames+${tagnames},}CXX
7394
 
-
7395
 
-tagnames=${tagnames+${tagnames},}F77
7396
 
-
7397
 
 exec 7<&0 </dev/null 6>&1
7398
 
 
7399
 
 # Name of the host.
7400
 
@@ -769,206 +786,238 @@
7401
 
 # include <unistd.h>
7402
 
 #endif"
7403
 
 
7404
 
-ac_subst_vars='SHELL
7405
 
-PATH_SEPARATOR
7406
 
-PACKAGE_NAME
7407
 
-PACKAGE_TARNAME
7408
 
-PACKAGE_VERSION
7409
 
-PACKAGE_STRING
7410
 
-PACKAGE_BUGREPORT
7411
 
-exec_prefix
7412
 
-prefix
7413
 
-program_transform_name
7414
 
-bindir
7415
 
-sbindir
7416
 
-libexecdir
7417
 
-datarootdir
7418
 
-datadir
7419
 
-sysconfdir
7420
 
-sharedstatedir
7421
 
-localstatedir
7422
 
-includedir
7423
 
-oldincludedir
7424
 
-docdir
7425
 
-infodir
7426
 
-htmldir
7427
 
-dvidir
7428
 
-pdfdir
7429
 
-psdir
7430
 
-libdir
7431
 
-localedir
7432
 
-mandir
7433
 
-DEFS
7434
 
-ECHO_C
7435
 
-ECHO_N
7436
 
-ECHO_T
7437
 
-LIBS
7438
 
-build_alias
7439
 
-host_alias
7440
 
-target_alias
7441
 
-INSTALL_PROGRAM
7442
 
-INSTALL_SCRIPT
7443
 
-INSTALL_DATA
7444
 
-am__isrc
7445
 
-CYGPATH_W
7446
 
-PACKAGE
7447
 
-VERSION
7448
 
-ACLOCAL
7449
 
-AUTOCONF
7450
 
-AUTOMAKE
7451
 
-AUTOHEADER
7452
 
-MAKEINFO
7453
 
-install_sh
7454
 
-STRIP
7455
 
-INSTALL_STRIP_PROGRAM
7456
 
-mkdir_p
7457
 
-AWK
7458
 
-SET_MAKE
7459
 
-am__leading_dot
7460
 
-AMTAR
7461
 
-am__tar
7462
 
-am__untar
7463
 
-ACLOCAL_AMFLAGS
7464
 
-GETTEXT_PACKAGE
7465
 
-CC
7466
 
-CFLAGS
7467
 
-LDFLAGS
7468
 
-CPPFLAGS
7469
 
-ac_ct_CC
7470
 
-EXEEXT
7471
 
-OBJEXT
7472
 
-DEPDIR
7473
 
-am__include
7474
 
-am__quote
7475
 
-AMDEP_TRUE
7476
 
-AMDEP_FALSE
7477
 
-AMDEPBACKSLASH
7478
 
-CCDEPMODE
7479
 
-am__fastdepCC_TRUE
7480
 
-am__fastdepCC_FALSE
7481
 
-CPP
7482
 
-GREP
7483
 
-EGREP
7484
 
-USE_NLS
7485
 
-MSGFMT
7486
 
-MSGFMT_OPTS
7487
 
-GMSGFMT
7488
 
-XGETTEXT
7489
 
-CATALOGS
7490
 
-CATOBJEXT
7491
 
-DATADIRNAME
7492
 
-GMOFILES
7493
 
-INSTOBJEXT
7494
 
-INTLLIBS
7495
 
-PO_IN_DATADIR_TRUE
7496
 
-PO_IN_DATADIR_FALSE
7497
 
-POFILES
7498
 
-POSUB
7499
 
-MKINSTALLDIRS
7500
 
-CXX
7501
 
-CXXFLAGS
7502
 
-ac_ct_CXX
7503
 
-CXXDEPMODE
7504
 
-am__fastdepCXX_TRUE
7505
 
-am__fastdepCXX_FALSE
7506
 
-build
7507
 
-build_cpu
7508
 
-build_vendor
7509
 
-build_os
7510
 
-host
7511
 
-host_cpu
7512
 
-host_vendor
7513
 
-host_os
7514
 
-SED
7515
 
-LN_S
7516
 
-ECHO
7517
 
-AR
7518
 
-RANLIB
7519
 
-DSYMUTIL
7520
 
-NMEDIT
7521
 
-CXXCPP
7522
 
-F77
7523
 
-FFLAGS
7524
 
-ac_ct_F77
7525
 
-LIBTOOL
7526
 
-INTLTOOL_UPDATE
7527
 
-INTLTOOL_MERGE
7528
 
-INTLTOOL_EXTRACT
7529
 
-INTLTOOL_DESKTOP_RULE
7530
 
-INTLTOOL_DIRECTORY_RULE
7531
 
-INTLTOOL_KEYS_RULE
7532
 
-INTLTOOL_PROP_RULE
7533
 
-INTLTOOL_OAF_RULE
7534
 
-INTLTOOL_PONG_RULE
7535
 
-INTLTOOL_SERVER_RULE
7536
 
-INTLTOOL_SHEET_RULE
7537
 
-INTLTOOL_SOUNDLIST_RULE
7538
 
-INTLTOOL_UI_RULE
7539
 
-INTLTOOL_XAM_RULE
7540
 
-INTLTOOL_KBD_RULE
7541
 
-INTLTOOL_XML_RULE
7542
 
-INTLTOOL_XML_NOMERGE_RULE
7543
 
-INTLTOOL_CAVES_RULE
7544
 
-INTLTOOL_SCHEMAS_RULE
7545
 
-INTLTOOL_THEME_RULE
7546
 
-INTLTOOL_SERVICE_RULE
7547
 
-INTLTOOL_POLICY_RULE
7548
 
-MSGMERGE
7549
 
-INTLTOOL_PERL
7550
 
-ALL_LINGUAS
7551
 
-WARN_CFLAGS
7552
 
-WARN_CXXFLAGS
7553
 
-MAINTAINER_MODE_TRUE
7554
 
-MAINTAINER_MODE_FALSE
7555
 
-MAINT
7556
 
-DISABLE_DEPRECATED
7557
 
-PKG_CONFIG
7558
 
-HELP_DIR
7559
 
-OMF_DIR
7560
 
-DOC_USER_FORMATS
7561
 
-ENABLE_SK_TRUE
7562
 
-ENABLE_SK_FALSE
7563
 
-DISTCHECK_CONFIGURE_FLAGS
7564
 
-HAVE_GNOME_DOC_UTILS_TRUE
7565
 
-HAVE_GNOME_DOC_UTILS_FALSE
7566
 
-GLIB_CFLAGS
7567
 
-GLIB_LIBS
7568
 
-BURN_CFLAGS
7569
 
-BURN_LIBS
7570
 
-UI_CFLAGS
7571
 
-UI_LIBS
7572
 
-GSTREAMER_CFLAGS
7573
 
-GSTREAMER_LIBS
7574
 
-GST_INSPECT
7575
 
-MEDIA_PROFILES_CFLAGS
7576
 
-MEDIA_PROFILES_LIBS
7577
 
-CDIO_CFLAGS
7578
 
-CDIO_LIBS
7579
 
-HAVE_LIBCDIO_TRUE
7580
 
-HAVE_LIBCDIO_FALSE
7581
 
-MUSICBRAINZ3_CFLAGS
7582
 
-MUSICBRAINZ3_LIBS
7583
 
-HAVE_MUSICBRAINZ3_TRUE
7584
 
-HAVE_MUSICBRAINZ3_FALSE
7585
 
-MUSICBRAINZ_CFLAGS
7586
 
-MUSICBRAINZ_LIBS
7587
 
-HAVE_MUSICBRAINZ_TRUE
7588
 
-HAVE_MUSICBRAINZ_FALSE
7589
 
-GIO_CFLAGS
7590
 
-GIO_LIBS
7591
 
-GCONFTOOL
7592
 
-GCONF_SCHEMA_CONFIG_SOURCE
7593
 
-GCONF_SCHEMA_FILE_DIR
7594
 
-GCONF_SCHEMAS_INSTALL_TRUE
7595
 
-GCONF_SCHEMAS_INSTALL_FALSE
7596
 
-SCROLLKEEPER_BUILD_REQUIRED
7597
 
-AM_CPPFLAGS
7598
 
-AM_CFLAGS
7599
 
-AM_CXXFLAGS
7600
 
-AM_LDFLAGS
7601
 
+ac_subst_vars='LTLIBOBJS
7602
 
 LIBOBJS
7603
 
-LTLIBOBJS'
7604
 
+AM_LDFLAGS
7605
 
+AM_CXXFLAGS
7606
 
+AM_CFLAGS
7607
 
+AM_CPPFLAGS
7608
 
+SCROLLKEEPER_BUILD_REQUIRED
7609
 
+GCONF_SCHEMAS_INSTALL_FALSE
7610
 
+GCONF_SCHEMAS_INSTALL_TRUE
7611
 
+GCONF_SCHEMA_FILE_DIR
7612
 
+GCONF_SCHEMA_CONFIG_SOURCE
7613
 
+GCONFTOOL
7614
 
+GIO_LIBS
7615
 
+GIO_CFLAGS
7616
 
+HAVE_MUSICBRAINZ_FALSE
7617
 
+HAVE_MUSICBRAINZ_TRUE
7618
 
+MUSICBRAINZ_LIBS
7619
 
+MUSICBRAINZ_CFLAGS
7620
 
+HAVE_MUSICBRAINZ3_FALSE
7621
 
+HAVE_MUSICBRAINZ3_TRUE
7622
 
+MUSICBRAINZ3_LIBS
7623
 
+MUSICBRAINZ3_CFLAGS
7624
 
+HAVE_LIBCDIO_FALSE
7625
 
+HAVE_LIBCDIO_TRUE
7626
 
+CDIO_LIBS
7627
 
+CDIO_CFLAGS
7628
 
+MEDIA_PROFILES_LIBS
7629
 
+MEDIA_PROFILES_CFLAGS
7630
 
+GST_INSPECT
7631
 
+GSTREAMER_LIBS
7632
 
+GSTREAMER_CFLAGS
7633
 
+UI_LIBS
7634
 
+UI_CFLAGS
7635
 
+BURN_LIBS
7636
 
+BURN_CFLAGS
7637
 
+GLIB_LIBS
7638
 
+GLIB_CFLAGS
7639
 
+HAVE_GNOME_DOC_UTILS_FALSE
7640
 
+HAVE_GNOME_DOC_UTILS_TRUE
7641
 
+DISTCHECK_CONFIGURE_FLAGS
7642
 
+ENABLE_SK_FALSE
7643
 
+ENABLE_SK_TRUE
7644
 
+DOC_USER_FORMATS
7645
 
+OMF_DIR
7646
 
+HELP_DIR
7647
 
+PKG_CONFIG
7648
 
+DISABLE_DEPRECATED
7649
 
+MAINT
7650
 
+MAINTAINER_MODE_FALSE
7651
 
+MAINTAINER_MODE_TRUE
7652
 
+WARN_CXXFLAGS
7653
 
+WARN_CFLAGS
7654
 
+ALL_LINGUAS
7655
 
+INTLTOOL_PERL
7656
 
+MSGMERGE
7657
 
+INTLTOOL_POLICY_RULE
7658
 
+INTLTOOL_SERVICE_RULE
7659
 
+INTLTOOL_THEME_RULE
7660
 
+INTLTOOL_SCHEMAS_RULE
7661
 
+INTLTOOL_CAVES_RULE
7662
 
+INTLTOOL_XML_NOMERGE_RULE
7663
 
+INTLTOOL_XML_RULE
7664
 
+INTLTOOL_KBD_RULE
7665
 
+INTLTOOL_XAM_RULE
7666
 
+INTLTOOL_UI_RULE
7667
 
+INTLTOOL_SOUNDLIST_RULE
7668
 
+INTLTOOL_SHEET_RULE
7669
 
+INTLTOOL_SERVER_RULE
7670
 
+INTLTOOL_PONG_RULE
7671
 
+INTLTOOL_OAF_RULE
7672
 
+INTLTOOL_PROP_RULE
7673
 
+INTLTOOL_KEYS_RULE
7674
 
+INTLTOOL_DIRECTORY_RULE
7675
 
+INTLTOOL_DESKTOP_RULE
7676
 
+INTLTOOL_EXTRACT
7677
 
+INTLTOOL_MERGE
7678
 
+INTLTOOL_UPDATE
7679
 
+CXXCPP
7680
 
+OTOOL64
7681
 
+OTOOL
7682
 
+LIPO
7683
 
+NMEDIT
7684
 
+DSYMUTIL
7685
 
+lt_ECHO
7686
 
+RANLIB
7687
 
+AR
7688
 
+OBJDUMP
7689
 
+LN_S
7690
 
+NM
7691
 
+ac_ct_DUMPBIN
7692
 
+DUMPBIN
7693
 
+LD
7694
 
+FGREP
7695
 
+SED
7696
 
+host_os
7697
 
+host_vendor
7698
 
+host_cpu
7699
 
+host
7700
 
+build_os
7701
 
+build_vendor
7702
 
+build_cpu
7703
 
+build
7704
 
+LIBTOOL
7705
 
+am__fastdepCXX_FALSE
7706
 
+am__fastdepCXX_TRUE
7707
 
+CXXDEPMODE
7708
 
+ac_ct_CXX
7709
 
+CXXFLAGS
7710
 
+CXX
7711
 
+MKINSTALLDIRS
7712
 
+POSUB
7713
 
+POFILES
7714
 
+PO_IN_DATADIR_FALSE
7715
 
+PO_IN_DATADIR_TRUE
7716
 
+INTLLIBS
7717
 
+INSTOBJEXT
7718
 
+GMOFILES
7719
 
+DATADIRNAME
7720
 
+CATOBJEXT
7721
 
+CATALOGS
7722
 
+XGETTEXT
7723
 
+GMSGFMT
7724
 
+MSGFMT_OPTS
7725
 
+MSGFMT
7726
 
+USE_NLS
7727
 
+EGREP
7728
 
+GREP
7729
 
+CPP
7730
 
+am__fastdepCC_FALSE
7731
 
+am__fastdepCC_TRUE
7732
 
+CCDEPMODE
7733
 
+AMDEPBACKSLASH
7734
 
+AMDEP_FALSE
7735
 
+AMDEP_TRUE
7736
 
+am__quote
7737
 
+am__include
7738
 
+DEPDIR
7739
 
+OBJEXT
7740
 
+EXEEXT
7741
 
+ac_ct_CC
7742
 
+CPPFLAGS
7743
 
+LDFLAGS
7744
 
+CFLAGS
7745
 
+CC
7746
 
+GETTEXT_PACKAGE
7747
 
+ACLOCAL_AMFLAGS
7748
 
+am__untar
7749
 
+am__tar
7750
 
+AMTAR
7751
 
+am__leading_dot
7752
 
+SET_MAKE
7753
 
+AWK
7754
 
+mkdir_p
7755
 
+MKDIR_P
7756
 
+INSTALL_STRIP_PROGRAM
7757
 
+STRIP
7758
 
+install_sh
7759
 
+MAKEINFO
7760
 
+AUTOHEADER
7761
 
+AUTOMAKE
7762
 
+AUTOCONF
7763
 
+ACLOCAL
7764
 
+VERSION
7765
 
+PACKAGE
7766
 
+CYGPATH_W
7767
 
+am__isrc
7768
 
+INSTALL_DATA
7769
 
+INSTALL_SCRIPT
7770
 
+INSTALL_PROGRAM
7771
 
+target_alias
7772
 
+host_alias
7773
 
+build_alias
7774
 
+LIBS
7775
 
+ECHO_T
7776
 
+ECHO_N
7777
 
+ECHO_C
7778
 
+DEFS
7779
 
+mandir
7780
 
+localedir
7781
 
+libdir
7782
 
+psdir
7783
 
+pdfdir
7784
 
+dvidir
7785
 
+htmldir
7786
 
+infodir
7787
 
+docdir
7788
 
+oldincludedir
7789
 
+includedir
7790
 
+localstatedir
7791
 
+sharedstatedir
7792
 
+sysconfdir
7793
 
+datadir
7794
 
+datarootdir
7795
 
+libexecdir
7796
 
+sbindir
7797
 
+bindir
7798
 
+program_transform_name
7799
 
+prefix
7800
 
+exec_prefix
7801
 
+PACKAGE_BUGREPORT
7802
 
+PACKAGE_STRING
7803
 
+PACKAGE_VERSION
7804
 
+PACKAGE_TARNAME
7805
 
+PACKAGE_NAME
7806
 
+PATH_SEPARATOR
7807
 
+SHELL'
7808
 
 ac_subst_files=''
7809
 
+ac_user_opts='
7810
 
+enable_option_checking
7811
 
+enable_dependency_tracking
7812
 
+enable_shared
7813
 
+enable_static
7814
 
+with_pic
7815
 
+enable_fast_install
7816
 
+with_gnu_ld
7817
 
+enable_libtool_lock
7818
 
+enable_nls
7819
 
+enable_compile_warnings
7820
 
+enable_iso_c
7821
 
+enable_cxx_warnings
7822
 
+enable_iso_cxx
7823
 
+enable_debug
7824
 
+enable_maintainer_mode
7825
 
+with_help_dir
7826
 
+with_omf_dir
7827
 
+with_help_formats
7828
 
+enable_scrollkeeper
7829
 
+with_gconf_source
7830
 
+with_gconf_schema_file_dir
7831
 
+enable_schemas_install
7832
 
+enable_deprecations
7833
 
+'
7834
 
       ac_precious_vars='build_alias
7835
 
 host_alias
7836
 
 target_alias
7837
 
@@ -982,8 +1031,6 @@
7838
 
 CXXFLAGS
7839
 
 CCC
7840
 
 CXXCPP
7841
 
-F77
7842
 
-FFLAGS
7843
 
 PKG_CONFIG
7844
 
 GLIB_CFLAGS
7845
 
 GLIB_LIBS
7846
 
@@ -1008,6 +1055,8 @@
7847
 
 # Initialize some variables set by options.
7848
 
 ac_init_help=
7849
 
 ac_init_version=false
7850
 
+ac_unrecognized_opts=
7851
 
+ac_unrecognized_sep=
7852
 
 # The variables have the same names as the options, with
7853
 
 # dashes changed to underlines.
7854
 
 cache_file=/dev/null
7855
 
@@ -1106,13 +1155,21 @@
7856
 
     datarootdir=$ac_optarg ;;
7857
 
 
7858
 
   -disable-* | --disable-*)
7859
 
-    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
7860
 
+    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
7861
 
     # Reject names that are not valid shell variable names.
7862
 
-    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
7863
 
-      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
7864
 
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
7865
 
+      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
7866
 
    { (exit 1); exit 1; }; }
7867
 
-    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
7868
 
-    eval enable_$ac_feature=no ;;
7869
 
+    ac_useropt_orig=$ac_useropt
7870
 
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
7871
 
+    case $ac_user_opts in
7872
 
+      *"
7873
 
+"enable_$ac_useropt"
7874
 
+"*) ;;
7875
 
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
7876
 
+        ac_unrecognized_sep=', ';;
7877
 
+    esac
7878
 
+    eval enable_$ac_useropt=no ;;
7879
 
 
7880
 
   -docdir | --docdir | --docdi | --doc | --do)
7881
 
     ac_prev=docdir ;;
7882
 
@@ -1125,13 +1182,21 @@
7883
 
     dvidir=$ac_optarg ;;
7884
 
 
7885
 
   -enable-* | --enable-*)
7886
 
-    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
7887
 
+    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
7888
 
     # Reject names that are not valid shell variable names.
7889
 
-    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
7890
 
-      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
7891
 
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
7892
 
+      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
7893
 
    { (exit 1); exit 1; }; }
7894
 
-    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
7895
 
-    eval enable_$ac_feature=\$ac_optarg ;;
7896
 
+    ac_useropt_orig=$ac_useropt
7897
 
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
7898
 
+    case $ac_user_opts in
7899
 
+      *"
7900
 
+"enable_$ac_useropt"
7901
 
+"*) ;;
7902
 
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
7903
 
+        ac_unrecognized_sep=', ';;
7904
 
+    esac
7905
 
+    eval enable_$ac_useropt=\$ac_optarg ;;
7906
 
 
7907
 
   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
7908
 
   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
7909
 
@@ -1322,22 +1387,38 @@
7910
 
     ac_init_version=: ;;
7911
 
 
7912
 
   -with-* | --with-*)
7913
 
-    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
7914
 
+    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
7915
 
     # Reject names that are not valid shell variable names.
7916
 
-    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
7917
 
-      { echo "$as_me: error: invalid package name: $ac_package" >&2
7918
 
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
7919
 
+      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
7920
 
    { (exit 1); exit 1; }; }
7921
 
-    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
7922
 
-    eval with_$ac_package=\$ac_optarg ;;
7923
 
+    ac_useropt_orig=$ac_useropt
7924
 
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
7925
 
+    case $ac_user_opts in
7926
 
+      *"
7927
 
+"with_$ac_useropt"
7928
 
+"*) ;;
7929
 
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
7930
 
+        ac_unrecognized_sep=', ';;
7931
 
+    esac
7932
 
+    eval with_$ac_useropt=\$ac_optarg ;;
7933
 
 
7934
 
   -without-* | --without-*)
7935
 
-    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
7936
 
+    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
7937
 
     # Reject names that are not valid shell variable names.
7938
 
-    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
7939
 
-      { echo "$as_me: error: invalid package name: $ac_package" >&2
7940
 
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
7941
 
+      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
7942
 
    { (exit 1); exit 1; }; }
7943
 
-    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
7944
 
-    eval with_$ac_package=no ;;
7945
 
+    ac_useropt_orig=$ac_useropt
7946
 
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
7947
 
+    case $ac_user_opts in
7948
 
+      *"
7949
 
+"with_$ac_useropt"
7950
 
+"*) ;;
7951
 
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
7952
 
+        ac_unrecognized_sep=', ';;
7953
 
+    esac
7954
 
+    eval with_$ac_useropt=no ;;
7955
 
 
7956
 
   --x)
7957
 
     # Obsolete; use --with-x.
7958
 
@@ -1357,7 +1438,7 @@
7959
 
   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
7960
 
     x_libraries=$ac_optarg ;;
7961
 
 
7962
 
-  -*) { echo "$as_me: error: unrecognized option: $ac_option
7963
 
+  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
7964
 
 Try \`$0 --help' for more information." >&2
7965
 
    { (exit 1); exit 1; }; }
7966
 
     ;;
7967
 
@@ -1366,16 +1447,16 @@
7968
 
     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
7969
 
     # Reject names that are not valid shell variable names.
7970
 
     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
7971
 
-      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
7972
 
+      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
7973
 
    { (exit 1); exit 1; }; }
7974
 
     eval $ac_envvar=\$ac_optarg
7975
 
     export $ac_envvar ;;
7976
 
 
7977
 
   *)
7978
 
     # FIXME: should be removed in autoconf 3.0.
7979
 
-    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
7980
 
+    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
7981
 
     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
7982
 
-      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
7983
 
+      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
7984
 
     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
7985
 
     ;;
7986
 
 
7987
 
@@ -1384,22 +1465,38 @@
7988
 
 
7989
 
 if test -n "$ac_prev"; then
7990
 
   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
7991
 
-  { echo "$as_me: error: missing argument to $ac_option" >&2
7992
 
+  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
7993
 
    { (exit 1); exit 1; }; }
7994
 
 fi
7995
 
 
7996
 
-# Be sure to have absolute directory names.
7997
 
+if test -n "$ac_unrecognized_opts"; then
7998
 
+  case $enable_option_checking in
7999
 
+    no) ;;
8000
 
+    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
8001
 
+   { (exit 1); exit 1; }; } ;;
8002
 
+    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
8003
 
+  esac
8004
 
+fi
8005
 
+
8006
 
+# Check all directory arguments for consistency.
8007
 
 for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
8008
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
8009
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
8010
 
                libdir localedir mandir
8011
 
 do
8012
 
   eval ac_val=\$$ac_var
8013
 
+  # Remove trailing slashes.
8014
 
+  case $ac_val in
8015
 
+    */ )
8016
 
+      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
8017
 
+      eval $ac_var=\$ac_val;;
8018
 
+  esac
8019
 
+  # Be sure to have absolute directory names.
8020
 
   case $ac_val in
8021
 
     [\\/$]* | ?:[\\/]* )  continue;;
8022
 
     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
8023
 
   esac
8024
 
-  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
8025
 
+  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
8026
 
    { (exit 1); exit 1; }; }
8027
 
 done
8028
 
 
8029
 
@@ -1414,7 +1511,7 @@
8030
 
 if test "x$host_alias" != x; then
8031
 
   if test "x$build_alias" = x; then
8032
 
     cross_compiling=maybe
8033
 
-    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
8034
 
+    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
8035
 
     If a cross compiler is detected then cross compile mode will be used." >&2
8036
 
   elif test "x$build_alias" != "x$host_alias"; then
8037
 
     cross_compiling=yes
8038
 
@@ -1430,10 +1527,10 @@
8039
 
 ac_pwd=`pwd` && test -n "$ac_pwd" &&
8040
 
 ac_ls_di=`ls -di .` &&
8041
 
 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
8042
 
-  { echo "$as_me: error: Working directory cannot be determined" >&2
8043
 
+  { $as_echo "$as_me: error: working directory cannot be determined" >&2
8044
 
    { (exit 1); exit 1; }; }
8045
 
 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
8046
 
-  { echo "$as_me: error: pwd does not report name of working directory" >&2
8047
 
+  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
8048
 
    { (exit 1); exit 1; }; }
8049
 
 
8050
 
 
8051
 
@@ -1441,12 +1538,12 @@
8052
 
 if test -z "$srcdir"; then
8053
 
   ac_srcdir_defaulted=yes
8054
 
   # Try the directory containing this script, then the parent directory.
8055
 
-  ac_confdir=`$as_dirname -- "$0" ||
8056
 
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8057
 
-        X"$0" : 'X\(//\)[^/]' \| \
8058
 
-        X"$0" : 'X\(//\)$' \| \
8059
 
-        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8060
 
-echo X"$0" |
8061
 
+  ac_confdir=`$as_dirname -- "$as_myself" ||
8062
 
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8063
 
+        X"$as_myself" : 'X\(//\)[^/]' \| \
8064
 
+        X"$as_myself" : 'X\(//\)$' \| \
8065
 
+        X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
8066
 
+$as_echo X"$as_myself" |
8067
 
     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8068
 
            s//\1/
8069
 
            q
8070
 
@@ -1473,12 +1570,12 @@
8071
 
 fi
8072
 
 if test ! -r "$srcdir/$ac_unique_file"; then
8073
 
   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
8074
 
-  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
8075
 
+  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
8076
 
    { (exit 1); exit 1; }; }
8077
 
 fi
8078
 
 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
8079
 
 ac_abs_confdir=`(
8080
 
-       cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
8081
 
+       cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
8082
 
    { (exit 1); exit 1; }; }
8083
 
        pwd)`
8084
 
 # When building in place, set srcdir=.
8085
 
@@ -1527,9 +1624,9 @@
8086
 
 
8087
 
 Installation directories:
8088
 
   --prefix=PREFIX         install architecture-independent files in PREFIX
8089
 
-                         [$ac_default_prefix]
8090
 
+                          [$ac_default_prefix]
8091
 
   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
8092
 
-                         [PREFIX]
8093
 
+                          [PREFIX]
8094
 
 
8095
 
 By default, \`make install' will install all the files in
8096
 
 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
8097
 
@@ -1539,25 +1636,25 @@
8098
 
 For better control, use the options below.
8099
 
 
8100
 
 Fine tuning of the installation directories:
8101
 
-  --bindir=DIR           user executables [EPREFIX/bin]
8102
 
-  --sbindir=DIR          system admin executables [EPREFIX/sbin]
8103
 
-  --libexecdir=DIR       program executables [EPREFIX/libexec]
8104
 
-  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
8105
 
-  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
8106
 
-  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
8107
 
-  --libdir=DIR           object code libraries [EPREFIX/lib]
8108
 
-  --includedir=DIR       C header files [PREFIX/include]
8109
 
-  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
8110
 
-  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
8111
 
-  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
8112
 
-  --infodir=DIR          info documentation [DATAROOTDIR/info]
8113
 
-  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
8114
 
-  --mandir=DIR           man documentation [DATAROOTDIR/man]
8115
 
-  --docdir=DIR           documentation root [DATAROOTDIR/doc/sound-juicer]
8116
 
-  --htmldir=DIR          html documentation [DOCDIR]
8117
 
-  --dvidir=DIR           dvi documentation [DOCDIR]
8118
 
-  --pdfdir=DIR           pdf documentation [DOCDIR]
8119
 
-  --psdir=DIR            ps documentation [DOCDIR]
8120
 
+  --bindir=DIR            user executables [EPREFIX/bin]
8121
 
+  --sbindir=DIR           system admin executables [EPREFIX/sbin]
8122
 
+  --libexecdir=DIR        program executables [EPREFIX/libexec]
8123
 
+  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
8124
 
+  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
8125
 
+  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
8126
 
+  --libdir=DIR            object code libraries [EPREFIX/lib]
8127
 
+  --includedir=DIR        C header files [PREFIX/include]
8128
 
+  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
8129
 
+  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
8130
 
+  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
8131
 
+  --infodir=DIR           info documentation [DATAROOTDIR/info]
8132
 
+  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
8133
 
+  --mandir=DIR            man documentation [DATAROOTDIR/man]
8134
 
+  --docdir=DIR            documentation root [DATAROOTDIR/doc/sound-juicer]
8135
 
+  --htmldir=DIR           html documentation [DOCDIR]
8136
 
+  --dvidir=DIR            dvi documentation [DOCDIR]
8137
 
+  --pdfdir=DIR            pdf documentation [DOCDIR]
8138
 
+  --psdir=DIR             ps documentation [DOCDIR]
8139
 
 _ACEOF
8140
 
 
8141
 
   cat <<\_ACEOF
8142
 
@@ -1580,6 +1677,7 @@
8143
 
   cat <<\_ACEOF
8144
 
 
8145
 
 Optional Features:
8146
 
+  --disable-option-checking  ignore unrecognized --enable/--with options
8147
 
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
8148
 
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
8149
 
   --disable-dependency-tracking  speeds up one-time build
8150
 
@@ -1607,10 +1705,9 @@
8151
 
 Optional Packages:
8152
 
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
8153
 
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
8154
 
-  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
8155
 
   --with-pic              try to use only PIC/non-PIC objects [default=use
8156
 
                           both]
8157
 
-  --with-tags[=TAGS]      include additional configurations [automatic]
8158
 
+  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
8159
 
   --with-help-dir=DIR     path to help docs
8160
 
   --with-omf-dir=DIR      path to OMF files
8161
 
   --with-help-formats=FORMATS
8162
 
@@ -1632,8 +1729,6 @@
8163
 
   CXX         C++ compiler command
8164
 
   CXXFLAGS    C++ compiler flags
8165
 
   CXXCPP      C++ preprocessor
8166
 
-  F77         Fortran 77 compiler command
8167
 
-  FFLAGS      Fortran 77 compiler flags
8168
 
   PKG_CONFIG  path to pkg-config utility
8169
 
   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
8170
 
   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
8171
 
@@ -1673,15 +1768,17 @@
8172
 
 if test "$ac_init_help" = "recursive"; then
8173
 
   # If there are subdirs, report their specific --help.
8174
 
   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
8175
 
-    test -d "$ac_dir" || continue
8176
 
+    test -d "$ac_dir" ||
8177
 
+      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
8178
 
+      continue
8179
 
     ac_builddir=.
8180
 
 
8181
 
 case "$ac_dir" in
8182
 
 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8183
 
 *)
8184
 
-  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8185
 
+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8186
 
   # A ".." for each directory in $ac_dir_suffix.
8187
 
-  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
8188
 
+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8189
 
   case $ac_top_builddir_sub in
8190
 
   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8191
 
   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8192
 
@@ -1717,7 +1814,7 @@
8193
 
       echo &&
8194
 
       $SHELL "$ac_srcdir/configure" --help=recursive
8195
 
     else
8196
 
-      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
8197
 
+      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
8198
 
     fi || ac_status=$?
8199
 
     cd "$ac_pwd" || { ac_status=$?; break; }
8200
 
   done
8201
 
@@ -1727,10 +1824,10 @@
8202
 
 if $ac_init_version; then
8203
 
   cat <<\_ACEOF
8204
 
 Sound Juicer configure 2.26.1
8205
 
-generated by GNU Autoconf 2.61
8206
 
+generated by GNU Autoconf 2.63
8207
 
 
8208
 
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8209
 
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8210
 
+2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
8211
 
 This configure script is free software; the Free Software Foundation
8212
 
 gives unlimited permission to copy, distribute and modify it.
8213
 
 _ACEOF
8214
 
@@ -1741,7 +1838,7 @@
8215
 
 running configure, to aid debugging if configure makes a mistake.
8216
 
 
8217
 
 It was created by Sound Juicer $as_me 2.26.1, which was
8218
 
-generated by GNU Autoconf 2.61.  Invocation command line was
8219
 
+generated by GNU Autoconf 2.63.  Invocation command line was
8220
 
 
8221
 
   $ $0 $@
8222
 
 
8223
 
@@ -1777,7 +1874,7 @@
8224
 
 do
8225
 
   IFS=$as_save_IFS
8226
 
   test -z "$as_dir" && as_dir=.
8227
 
-  echo "PATH: $as_dir"
8228
 
+  $as_echo "PATH: $as_dir"
8229
 
 done
8230
 
 IFS=$as_save_IFS
8231
 
 
8232
 
@@ -1812,7 +1909,7 @@
8233
 
     | -silent | --silent | --silen | --sile | --sil)
8234
 
       continue ;;
8235
 
     *\'*)
8236
 
-      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8237
 
+      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8238
 
     esac
8239
 
     case $ac_pass in
8240
 
     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
8241
 
@@ -1864,11 +1961,12 @@
8242
 
     case $ac_val in #(
8243
 
     *${as_nl}*)
8244
 
       case $ac_var in #(
8245
 
-      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
8246
 
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
8247
 
+      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
8248
 
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8249
 
       esac
8250
 
       case $ac_var in #(
8251
 
       _ | IFS | as_nl) ;; #(
8252
 
+      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8253
 
       *) $as_unset $ac_var ;;
8254
 
       esac ;;
8255
 
     esac
8256
 
@@ -1898,9 +1996,9 @@
8257
 
     do
8258
 
       eval ac_val=\$$ac_var
8259
 
       case $ac_val in
8260
 
-      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
8261
 
+      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
8262
 
       esac
8263
 
-      echo "$ac_var='\''$ac_val'\''"
8264
 
+      $as_echo "$ac_var='\''$ac_val'\''"
8265
 
     done | sort
8266
 
     echo
8267
 
 
8268
 
@@ -1915,9 +2013,9 @@
8269
 
       do
8270
 
        eval ac_val=\$$ac_var
8271
 
        case $ac_val in
8272
 
-       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
8273
 
+       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
8274
 
        esac
8275
 
-       echo "$ac_var='\''$ac_val'\''"
8276
 
+       $as_echo "$ac_var='\''$ac_val'\''"
8277
 
       done | sort
8278
 
       echo
8279
 
     fi
8280
 
@@ -1933,8 +2031,8 @@
8281
 
       echo
8282
 
     fi
8283
 
     test "$ac_signal" != 0 &&
8284
 
-      echo "$as_me: caught signal $ac_signal"
8285
 
-    echo "$as_me: exit $exit_status"
8286
 
+      $as_echo "$as_me: caught signal $ac_signal"
8287
 
+    $as_echo "$as_me: exit $exit_status"
8288
 
   } >&5
8289
 
   rm -f core *.core core.conftest.* &&
8290
 
     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
8291
 
@@ -1976,21 +2074,24 @@
8292
 
 
8293
 
 
8294
 
 # Let the site file select an alternate cache file if it wants to.
8295
 
-# Prefer explicitly selected file to automatically selected ones.
8296
 
+# Prefer an explicitly selected file to automatically selected ones.
8297
 
+ac_site_file1=NONE
8298
 
+ac_site_file2=NONE
8299
 
 if test -n "$CONFIG_SITE"; then
8300
 
-  set x "$CONFIG_SITE"
8301
 
+  ac_site_file1=$CONFIG_SITE
8302
 
 elif test "x$prefix" != xNONE; then
8303
 
-  set x "$prefix/share/config.site" "$prefix/etc/config.site"
8304
 
+  ac_site_file1=$prefix/share/config.site
8305
 
+  ac_site_file2=$prefix/etc/config.site
8306
 
 else
8307
 
-  set x "$ac_default_prefix/share/config.site" \
8308
 
-       "$ac_default_prefix/etc/config.site"
8309
 
+  ac_site_file1=$ac_default_prefix/share/config.site
8310
 
+  ac_site_file2=$ac_default_prefix/etc/config.site
8311
 
 fi
8312
 
-shift
8313
 
-for ac_site_file
8314
 
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
8315
 
 do
8316
 
+  test "x$ac_site_file" = xNONE && continue
8317
 
   if test -r "$ac_site_file"; then
8318
 
-    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
8319
 
-echo "$as_me: loading site script $ac_site_file" >&6;}
8320
 
+    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
8321
 
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
8322
 
     sed 's/^/| /' "$ac_site_file" >&5
8323
 
     . "$ac_site_file"
8324
 
   fi
8325
 
@@ -2000,16 +2101,16 @@
8326
 
   # Some versions of bash will fail to source /dev/null (special
8327
 
   # files actually), so we avoid doing that.
8328
 
   if test -f "$cache_file"; then
8329
 
-    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
8330
 
-echo "$as_me: loading cache $cache_file" >&6;}
8331
 
+    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
8332
 
+$as_echo "$as_me: loading cache $cache_file" >&6;}
8333
 
     case $cache_file in
8334
 
       [\\/]* | ?:[\\/]* ) . "$cache_file";;
8335
 
       *)                      . "./$cache_file";;
8336
 
     esac
8337
 
   fi
8338
 
 else
8339
 
-  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
8340
 
-echo "$as_me: creating cache $cache_file" >&6;}
8341
 
+  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
8342
 
+$as_echo "$as_me: creating cache $cache_file" >&6;}
8343
 
   >$cache_file
8344
 
 fi
8345
 
 
8346
 
@@ -2023,29 +2124,38 @@
8347
 
   eval ac_new_val=\$ac_env_${ac_var}_value
8348
 
   case $ac_old_set,$ac_new_set in
8349
 
     set,)
8350
 
-      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
8351
 
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
8352
 
+      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
8353
 
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
8354
 
       ac_cache_corrupted=: ;;
8355
 
     ,set)
8356
 
-      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
8357
 
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
8358
 
+      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
8359
 
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
8360
 
       ac_cache_corrupted=: ;;
8361
 
     ,);;
8362
 
     *)
8363
 
       if test "x$ac_old_val" != "x$ac_new_val"; then
8364
 
-       { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
8365
 
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
8366
 
-       { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
8367
 
-echo "$as_me:   former value:  $ac_old_val" >&2;}
8368
 
-       { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
8369
 
-echo "$as_me:   current value: $ac_new_val" >&2;}
8370
 
-       ac_cache_corrupted=:
8371
 
+       # differences in whitespace do not lead to failure.
8372
 
+       ac_old_val_w=`echo x $ac_old_val`
8373
 
+       ac_new_val_w=`echo x $ac_new_val`
8374
 
+       if test "$ac_old_val_w" != "$ac_new_val_w"; then
8375
 
+         { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
8376
 
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
8377
 
+         ac_cache_corrupted=:
8378
 
+       else
8379
 
+         { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
8380
 
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
8381
 
+         eval $ac_var=\$ac_old_val
8382
 
+       fi
8383
 
+       { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
8384
 
+$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
8385
 
+       { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
8386
 
+$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
8387
 
       fi;;
8388
 
   esac
8389
 
   # Pass precious variables to config.status.
8390
 
   if test "$ac_new_set" = set; then
8391
 
     case $ac_new_val in
8392
 
-    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
8393
 
+    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
8394
 
     *) ac_arg=$ac_var=$ac_new_val ;;
8395
 
     esac
8396
 
     case " $ac_configure_args " in
8397
 
@@ -2055,10 +2165,12 @@
8398
 
   fi
8399
 
 done
8400
 
 if $ac_cache_corrupted; then
8401
 
-  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
8402
 
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
8403
 
-  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
8404
 
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
8405
 
+  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8406
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8407
 
+  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
8408
 
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
8409
 
+  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
8410
 
+$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
8411
 
    { (exit 1); exit 1; }; }
8412
 
 fi
8413
 
 
8414
 
@@ -2115,8 +2227,8 @@
8415
 
   fi
8416
 
 done
8417
 
 if test -z "$ac_aux_dir"; then
8418
 
-  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
8419
 
-echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
8420
 
+  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
8421
 
+$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
8422
 
    { (exit 1); exit 1; }; }
8423
 
 fi
8424
 
 
8425
 
@@ -2142,11 +2254,12 @@
8426
 
 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8427
 
 # OS/2's system install, which has a completely different semantic
8428
 
 # ./install, which can be erroneously created by make from ./install.sh.
8429
 
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8430
 
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
8431
 
+# Reject install programs that cannot install multiple files.
8432
 
+{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8433
 
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
8434
 
 if test -z "$INSTALL"; then
8435
 
 if test "${ac_cv_path_install+set}" = set; then
8436
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8437
 
+  $as_echo_n "(cached) " >&6
8438
 
 else
8439
 
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8440
 
 for as_dir in $PATH
8441
 
@@ -2175,17 +2288,29 @@
8442
 
            # program-specific install script used by HP pwplus--don't use.
8443
 
            :
8444
 
          else
8445
 
-           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
8446
 
-           break 3
8447
 
+           rm -rf conftest.one conftest.two conftest.dir
8448
 
+           echo one > conftest.one
8449
 
+           echo two > conftest.two
8450
 
+           mkdir conftest.dir
8451
 
+           if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
8452
 
+             test -s conftest.one && test -s conftest.two &&
8453
 
+             test -s conftest.dir/conftest.one &&
8454
 
+             test -s conftest.dir/conftest.two
8455
 
+           then
8456
 
+             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
8457
 
+             break 3
8458
 
+           fi
8459
 
          fi
8460
 
        fi
8461
 
       done
8462
 
     done
8463
 
     ;;
8464
 
 esac
8465
 
+
8466
 
 done
8467
 
 IFS=$as_save_IFS
8468
 
 
8469
 
+rm -rf conftest.one conftest.two conftest.dir
8470
 
 
8471
 
 fi
8472
 
   if test "${ac_cv_path_install+set}" = set; then
8473
 
@@ -2198,8 +2323,8 @@
8474
 
     INSTALL=$ac_install_sh
8475
 
   fi
8476
 
 fi
8477
 
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
8478
 
-echo "${ECHO_T}$INSTALL" >&6; }
8479
 
+{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
8480
 
+$as_echo "$INSTALL" >&6; }
8481
 
 
8482
 
 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8483
 
 # It thinks the first close brace ends the variable substitution.
8484
 
@@ -2209,8 +2334,8 @@
8485
 
 
8486
 
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
8487
 
 
8488
 
-{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
8489
 
-echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
8490
 
+{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
8491
 
+$as_echo_n "checking whether build environment is sane... " >&6; }
8492
 
 # Just in case
8493
 
 sleep 1
8494
 
 echo timestamp > conftest.file
8495
 
@@ -2233,9 +2358,9 @@
8496
 
       # if, for instance, CONFIG_SHELL is bash and it inherits a
8497
 
       # broken ls alias from the environment.  This has actually
8498
 
       # happened.  Such a system could not be considered "sane".
8499
 
-      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
8500
 
+      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
8501
 
 alias in your environment" >&5
8502
 
-echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
8503
 
+$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
8504
 
 alias in your environment" >&2;}
8505
 
    { (exit 1); exit 1; }; }
8506
 
    fi
8507
 
@@ -2246,26 +2371,23 @@
8508
 
    # Ok.
8509
 
    :
8510
 
 else
8511
 
-   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
8512
 
+   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
8513
 
 Check your system clock" >&5
8514
 
-echo "$as_me: error: newly created file is older than distributed files!
8515
 
+$as_echo "$as_me: error: newly created file is older than distributed files!
8516
 
 Check your system clock" >&2;}
8517
 
    { (exit 1); exit 1; }; }
8518
 
 fi
8519
 
-{ echo "$as_me:$LINENO: result: yes" >&5
8520
 
-echo "${ECHO_T}yes" >&6; }
8521
 
+{ $as_echo "$as_me:$LINENO: result: yes" >&5
8522
 
+$as_echo "yes" >&6; }
8523
 
 test "$program_prefix" != NONE &&
8524
 
   program_transform_name="s&^&$program_prefix&;$program_transform_name"
8525
 
 # Use a double $ so make ignores it.
8526
 
 test "$program_suffix" != NONE &&
8527
 
   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
8528
 
-# Double any \ or $.  echo might interpret backslashes.
8529
 
+# Double any \ or $.
8530
 
 # By default was `s,x,x', remove it if useless.
8531
 
-cat <<\_ACEOF >conftest.sed
8532
 
-s/[\\$]/&&/g;s/;s,x,x,$//
8533
 
-_ACEOF
8534
 
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
8535
 
-rm -f conftest.sed
8536
 
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
8537
 
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
8538
 
 
8539
 
 # expand $ac_aux_dir to an absolute path
8540
 
 am_aux_dir=`cd $ac_aux_dir && pwd`
8541
 
@@ -2276,15 +2398,15 @@
8542
 
   am_missing_run="$MISSING --run "
8543
 
 else
8544
 
   am_missing_run=
8545
 
-  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
8546
 
-echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
8547
 
+  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
8548
 
+$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
8549
 
 fi
8550
 
 
8551
 
-{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
8552
 
-echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
8553
 
+{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
8554
 
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
8555
 
 if test -z "$MKDIR_P"; then
8556
 
   if test "${ac_cv_path_mkdir+set}" = set; then
8557
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8558
 
+  $as_echo_n "(cached) " >&6
8559
 
 else
8560
 
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8561
 
 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
8562
 
@@ -2319,8 +2441,8 @@
8563
 
     MKDIR_P="$ac_install_sh -d"
8564
 
   fi
8565
 
 fi
8566
 
-{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
8567
 
-echo "${ECHO_T}$MKDIR_P" >&6; }
8568
 
+{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
8569
 
+$as_echo "$MKDIR_P" >&6; }
8570
 
 
8571
 
 mkdir_p="$MKDIR_P"
8572
 
 case $mkdir_p in
8573
 
@@ -2332,10 +2454,10 @@
8574
 
 do
8575
 
   # Extract the first word of "$ac_prog", so it can be a program name with args.
8576
 
 set dummy $ac_prog; ac_word=$2
8577
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8578
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8579
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8580
 
+$as_echo_n "checking for $ac_word... " >&6; }
8581
 
 if test "${ac_cv_prog_AWK+set}" = set; then
8582
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8583
 
+  $as_echo_n "(cached) " >&6
8584
 
 else
8585
 
   if test -n "$AWK"; then
8586
 
   ac_cv_prog_AWK="$AWK" # Let the user override the test.
8587
 
@@ -2348,7 +2470,7 @@
8588
 
   for ac_exec_ext in '' $ac_executable_extensions; do
8589
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8590
 
     ac_cv_prog_AWK="$ac_prog"
8591
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8592
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8593
 
     break 2
8594
 
   fi
8595
 
 done
8596
 
@@ -2359,22 +2481,23 @@
8597
 
 fi
8598
 
 AWK=$ac_cv_prog_AWK
8599
 
 if test -n "$AWK"; then
8600
 
-  { echo "$as_me:$LINENO: result: $AWK" >&5
8601
 
-echo "${ECHO_T}$AWK" >&6; }
8602
 
+  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
8603
 
+$as_echo "$AWK" >&6; }
8604
 
 else
8605
 
-  { echo "$as_me:$LINENO: result: no" >&5
8606
 
-echo "${ECHO_T}no" >&6; }
8607
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
8608
 
+$as_echo "no" >&6; }
8609
 
 fi
8610
 
 
8611
 
 
8612
 
   test -n "$AWK" && break
8613
 
 done
8614
 
 
8615
 
-{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8616
 
-echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
8617
 
-set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
8618
 
+{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8619
 
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
8620
 
+set x ${MAKE-make}
8621
 
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
8622
 
 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
8623
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8624
 
+  $as_echo_n "(cached) " >&6
8625
 
 else
8626
 
   cat >conftest.make <<\_ACEOF
8627
 
 SHELL = /bin/sh
8628
 
@@ -2391,12 +2514,12 @@
8629
 
 rm -f conftest.make
8630
 
 fi
8631
 
 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
8632
 
-  { echo "$as_me:$LINENO: result: yes" >&5
8633
 
-echo "${ECHO_T}yes" >&6; }
8634
 
+  { $as_echo "$as_me:$LINENO: result: yes" >&5
8635
 
+$as_echo "yes" >&6; }
8636
 
   SET_MAKE=
8637
 
 else
8638
 
-  { echo "$as_me:$LINENO: result: no" >&5
8639
 
-echo "${ECHO_T}no" >&6; }
8640
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
8641
 
+$as_echo "no" >&6; }
8642
 
   SET_MAKE="MAKE=${MAKE-make}"
8643
 
 fi
8644
 
 
8645
 
@@ -2415,8 +2538,8 @@
8646
 
   am__isrc=' -I$(srcdir)'
8647
 
   # test to see if srcdir already configured
8648
 
   if test -f $srcdir/config.status; then
8649
 
-    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
8650
 
-echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
8651
 
+    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
8652
 
+$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
8653
 
    { (exit 1); exit 1; }; }
8654
 
   fi
8655
 
 fi
8656
 
@@ -2471,10 +2594,10 @@
8657
 
   if test -n "$ac_tool_prefix"; then
8658
 
   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8659
 
 set dummy ${ac_tool_prefix}strip; ac_word=$2
8660
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8661
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8662
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8663
 
+$as_echo_n "checking for $ac_word... " >&6; }
8664
 
 if test "${ac_cv_prog_STRIP+set}" = set; then
8665
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8666
 
+  $as_echo_n "(cached) " >&6
8667
 
 else
8668
 
   if test -n "$STRIP"; then
8669
 
   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8670
 
@@ -2487,7 +2610,7 @@
8671
 
   for ac_exec_ext in '' $ac_executable_extensions; do
8672
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8673
 
     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8674
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8675
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8676
 
     break 2
8677
 
   fi
8678
 
 done
8679
 
@@ -2498,11 +2621,11 @@
8680
 
 fi
8681
 
 STRIP=$ac_cv_prog_STRIP
8682
 
 if test -n "$STRIP"; then
8683
 
-  { echo "$as_me:$LINENO: result: $STRIP" >&5
8684
 
-echo "${ECHO_T}$STRIP" >&6; }
8685
 
+  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
8686
 
+$as_echo "$STRIP" >&6; }
8687
 
 else
8688
 
-  { echo "$as_me:$LINENO: result: no" >&5
8689
 
-echo "${ECHO_T}no" >&6; }
8690
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
8691
 
+$as_echo "no" >&6; }
8692
 
 fi
8693
 
 
8694
 
 
8695
 
@@ -2511,10 +2634,10 @@
8696
 
   ac_ct_STRIP=$STRIP
8697
 
   # Extract the first word of "strip", so it can be a program name with args.
8698
 
 set dummy strip; ac_word=$2
8699
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8700
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8701
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8702
 
+$as_echo_n "checking for $ac_word... " >&6; }
8703
 
 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8704
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8705
 
+  $as_echo_n "(cached) " >&6
8706
 
 else
8707
 
   if test -n "$ac_ct_STRIP"; then
8708
 
   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8709
 
@@ -2527,7 +2650,7 @@
8710
 
   for ac_exec_ext in '' $ac_executable_extensions; do
8711
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8712
 
     ac_cv_prog_ac_ct_STRIP="strip"
8713
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8714
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8715
 
     break 2
8716
 
   fi
8717
 
 done
8718
 
@@ -2538,11 +2661,11 @@
8719
 
 fi
8720
 
 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8721
 
 if test -n "$ac_ct_STRIP"; then
8722
 
-  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8723
 
-echo "${ECHO_T}$ac_ct_STRIP" >&6; }
8724
 
+  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8725
 
+$as_echo "$ac_ct_STRIP" >&6; }
8726
 
 else
8727
 
-  { echo "$as_me:$LINENO: result: no" >&5
8728
 
-echo "${ECHO_T}no" >&6; }
8729
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
8730
 
+$as_echo "no" >&6; }
8731
 
 fi
8732
 
 
8733
 
   if test "x$ac_ct_STRIP" = x; then
8734
 
@@ -2550,12 +2673,8 @@
8735
 
   else
8736
 
     case $cross_compiling:$ac_tool_warned in
8737
 
 yes:)
8738
 
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8739
 
-whose name does not start with the host triplet.  If you think this
8740
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
8741
 
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8742
 
-whose name does not start with the host triplet.  If you think this
8743
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8744
 
+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8745
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8746
 
 ac_tool_warned=yes ;;
8747
 
 esac
8748
 
     STRIP=$ac_ct_STRIP
8749
 
@@ -2615,8 +2734,8 @@
8750
 
 .PHONY: am__doit
8751
 
 END
8752
 
 # If we don't find an include directive, just comment out the code.
8753
 
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
8754
 
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
8755
 
+{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
8756
 
+$as_echo_n "checking for style of include used by $am_make... " >&6; }
8757
 
 am__include="#"
8758
 
 am__quote=
8759
 
 _am_result=none
8760
 
@@ -2643,8 +2762,8 @@
8761
 
 fi
8762
 
 
8763
 
 
8764
 
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
8765
 
-echo "${ECHO_T}$_am_result" >&6; }
8766
 
+{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
8767
 
+$as_echo "$_am_result" >&6; }
8768
 
 rm -f confinc confmf
8769
 
 
8770
 
 # Check whether --enable-dependency-tracking was given.
8771
 
@@ -2673,10 +2792,10 @@
8772
 
 if test -n "$ac_tool_prefix"; then
8773
 
   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
8774
 
 set dummy ${ac_tool_prefix}gcc; ac_word=$2
8775
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8776
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8777
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8778
 
+$as_echo_n "checking for $ac_word... " >&6; }
8779
 
 if test "${ac_cv_prog_CC+set}" = set; then
8780
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8781
 
+  $as_echo_n "(cached) " >&6
8782
 
 else
8783
 
   if test -n "$CC"; then
8784
 
   ac_cv_prog_CC="$CC" # Let the user override the test.
8785
 
@@ -2689,7 +2808,7 @@
8786
 
   for ac_exec_ext in '' $ac_executable_extensions; do
8787
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8788
 
     ac_cv_prog_CC="${ac_tool_prefix}gcc"
8789
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8790
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8791
 
     break 2
8792
 
   fi
8793
 
 done
8794
 
@@ -2700,11 +2819,11 @@
8795
 
 fi
8796
 
 CC=$ac_cv_prog_CC
8797
 
 if test -n "$CC"; then
8798
 
-  { echo "$as_me:$LINENO: result: $CC" >&5
8799
 
-echo "${ECHO_T}$CC" >&6; }
8800
 
+  { $as_echo "$as_me:$LINENO: result: $CC" >&5
8801
 
+$as_echo "$CC" >&6; }
8802
 
 else
8803
 
-  { echo "$as_me:$LINENO: result: no" >&5
8804
 
-echo "${ECHO_T}no" >&6; }
8805
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
8806
 
+$as_echo "no" >&6; }
8807
 
 fi
8808
 
 
8809
 
 
8810
 
@@ -2713,10 +2832,10 @@
8811
 
   ac_ct_CC=$CC
8812
 
   # Extract the first word of "gcc", so it can be a program name with args.
8813
 
 set dummy gcc; ac_word=$2
8814
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8815
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8816
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8817
 
+$as_echo_n "checking for $ac_word... " >&6; }
8818
 
 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
8819
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8820
 
+  $as_echo_n "(cached) " >&6
8821
 
 else
8822
 
   if test -n "$ac_ct_CC"; then
8823
 
   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
8824
 
@@ -2729,7 +2848,7 @@
8825
 
   for ac_exec_ext in '' $ac_executable_extensions; do
8826
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8827
 
     ac_cv_prog_ac_ct_CC="gcc"
8828
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8829
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8830
 
     break 2
8831
 
   fi
8832
 
 done
8833
 
@@ -2740,11 +2859,11 @@
8834
 
 fi
8835
 
 ac_ct_CC=$ac_cv_prog_ac_ct_CC
8836
 
 if test -n "$ac_ct_CC"; then
8837
 
-  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
8838
 
-echo "${ECHO_T}$ac_ct_CC" >&6; }
8839
 
+  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
8840
 
+$as_echo "$ac_ct_CC" >&6; }
8841
 
 else
8842
 
-  { echo "$as_me:$LINENO: result: no" >&5
8843
 
-echo "${ECHO_T}no" >&6; }
8844
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
8845
 
+$as_echo "no" >&6; }
8846
 
 fi
8847
 
 
8848
 
   if test "x$ac_ct_CC" = x; then
8849
 
@@ -2752,12 +2871,8 @@
8850
 
   else
8851
 
     case $cross_compiling:$ac_tool_warned in
8852
 
 yes:)
8853
 
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8854
 
-whose name does not start with the host triplet.  If you think this
8855
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
8856
 
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8857
 
-whose name does not start with the host triplet.  If you think this
8858
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8859
 
+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8860
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8861
 
 ac_tool_warned=yes ;;
8862
 
 esac
8863
 
     CC=$ac_ct_CC
8864
 
@@ -2770,10 +2885,10 @@
8865
 
           if test -n "$ac_tool_prefix"; then
8866
 
     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
8867
 
 set dummy ${ac_tool_prefix}cc; ac_word=$2
8868
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8869
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8870
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8871
 
+$as_echo_n "checking for $ac_word... " >&6; }
8872
 
 if test "${ac_cv_prog_CC+set}" = set; then
8873
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8874
 
+  $as_echo_n "(cached) " >&6
8875
 
 else
8876
 
   if test -n "$CC"; then
8877
 
   ac_cv_prog_CC="$CC" # Let the user override the test.
8878
 
@@ -2786,7 +2901,7 @@
8879
 
   for ac_exec_ext in '' $ac_executable_extensions; do
8880
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8881
 
     ac_cv_prog_CC="${ac_tool_prefix}cc"
8882
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8883
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8884
 
     break 2
8885
 
   fi
8886
 
 done
8887
 
@@ -2797,11 +2912,11 @@
8888
 
 fi
8889
 
 CC=$ac_cv_prog_CC
8890
 
 if test -n "$CC"; then
8891
 
-  { echo "$as_me:$LINENO: result: $CC" >&5
8892
 
-echo "${ECHO_T}$CC" >&6; }
8893
 
+  { $as_echo "$as_me:$LINENO: result: $CC" >&5
8894
 
+$as_echo "$CC" >&6; }
8895
 
 else
8896
 
-  { echo "$as_me:$LINENO: result: no" >&5
8897
 
-echo "${ECHO_T}no" >&6; }
8898
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
8899
 
+$as_echo "no" >&6; }
8900
 
 fi
8901
 
 
8902
 
 
8903
 
@@ -2810,10 +2925,10 @@
8904
 
 if test -z "$CC"; then
8905
 
   # Extract the first word of "cc", so it can be a program name with args.
8906
 
 set dummy cc; ac_word=$2
8907
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8908
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8909
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8910
 
+$as_echo_n "checking for $ac_word... " >&6; }
8911
 
 if test "${ac_cv_prog_CC+set}" = set; then
8912
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8913
 
+  $as_echo_n "(cached) " >&6
8914
 
 else
8915
 
   if test -n "$CC"; then
8916
 
   ac_cv_prog_CC="$CC" # Let the user override the test.
8917
 
@@ -2831,7 +2946,7 @@
8918
 
        continue
8919
 
      fi
8920
 
     ac_cv_prog_CC="cc"
8921
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8922
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8923
 
     break 2
8924
 
   fi
8925
 
 done
8926
 
@@ -2854,11 +2969,11 @@
8927
 
 fi
8928
 
 CC=$ac_cv_prog_CC
8929
 
 if test -n "$CC"; then
8930
 
-  { echo "$as_me:$LINENO: result: $CC" >&5
8931
 
-echo "${ECHO_T}$CC" >&6; }
8932
 
+  { $as_echo "$as_me:$LINENO: result: $CC" >&5
8933
 
+$as_echo "$CC" >&6; }
8934
 
 else
8935
 
-  { echo "$as_me:$LINENO: result: no" >&5
8936
 
-echo "${ECHO_T}no" >&6; }
8937
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
8938
 
+$as_echo "no" >&6; }
8939
 
 fi
8940
 
 
8941
 
 
8942
 
@@ -2869,10 +2984,10 @@
8943
 
   do
8944
 
     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8945
 
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8946
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8947
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8948
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8949
 
+$as_echo_n "checking for $ac_word... " >&6; }
8950
 
 if test "${ac_cv_prog_CC+set}" = set; then
8951
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8952
 
+  $as_echo_n "(cached) " >&6
8953
 
 else
8954
 
   if test -n "$CC"; then
8955
 
   ac_cv_prog_CC="$CC" # Let the user override the test.
8956
 
@@ -2885,7 +3000,7 @@
8957
 
   for ac_exec_ext in '' $ac_executable_extensions; do
8958
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8959
 
     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
8960
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8961
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8962
 
     break 2
8963
 
   fi
8964
 
 done
8965
 
@@ -2896,11 +3011,11 @@
8966
 
 fi
8967
 
 CC=$ac_cv_prog_CC
8968
 
 if test -n "$CC"; then
8969
 
-  { echo "$as_me:$LINENO: result: $CC" >&5
8970
 
-echo "${ECHO_T}$CC" >&6; }
8971
 
+  { $as_echo "$as_me:$LINENO: result: $CC" >&5
8972
 
+$as_echo "$CC" >&6; }
8973
 
 else
8974
 
-  { echo "$as_me:$LINENO: result: no" >&5
8975
 
-echo "${ECHO_T}no" >&6; }
8976
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
8977
 
+$as_echo "no" >&6; }
8978
 
 fi
8979
 
 
8980
 
 
8981
 
@@ -2913,10 +3028,10 @@
8982
 
 do
8983
 
   # Extract the first word of "$ac_prog", so it can be a program name with args.
8984
 
 set dummy $ac_prog; ac_word=$2
8985
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8986
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8987
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8988
 
+$as_echo_n "checking for $ac_word... " >&6; }
8989
 
 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
8990
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8991
 
+  $as_echo_n "(cached) " >&6
8992
 
 else
8993
 
   if test -n "$ac_ct_CC"; then
8994
 
   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
8995
 
@@ -2929,7 +3044,7 @@
8996
 
   for ac_exec_ext in '' $ac_executable_extensions; do
8997
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8998
 
     ac_cv_prog_ac_ct_CC="$ac_prog"
8999
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9000
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9001
 
     break 2
9002
 
   fi
9003
 
 done
9004
 
@@ -2940,11 +3055,11 @@
9005
 
 fi
9006
 
 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9007
 
 if test -n "$ac_ct_CC"; then
9008
 
-  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9009
 
-echo "${ECHO_T}$ac_ct_CC" >&6; }
9010
 
+  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9011
 
+$as_echo "$ac_ct_CC" >&6; }
9012
 
 else
9013
 
-  { echo "$as_me:$LINENO: result: no" >&5
9014
 
-echo "${ECHO_T}no" >&6; }
9015
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
9016
 
+$as_echo "no" >&6; }
9017
 
 fi
9018
 
 
9019
 
 
9020
 
@@ -2956,12 +3071,8 @@
9021
 
   else
9022
 
     case $cross_compiling:$ac_tool_warned in
9023
 
 yes:)
9024
 
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9025
 
-whose name does not start with the host triplet.  If you think this
9026
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
9027
 
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9028
 
-whose name does not start with the host triplet.  If you think this
9029
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9030
 
+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9031
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9032
 
 ac_tool_warned=yes ;;
9033
 
 esac
9034
 
     CC=$ac_ct_CC
9035
 
@@ -2971,44 +3082,50 @@
9036
 
 fi
9037
 
 
9038
 
 
9039
 
-test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
9040
 
+test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
9041
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9042
 
+{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
9043
 
 See \`config.log' for more details." >&5
9044
 
-echo "$as_me: error: no acceptable C compiler found in \$PATH
9045
 
+$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
9046
 
 See \`config.log' for more details." >&2;}
9047
 
-   { (exit 1); exit 1; }; }
9048
 
+   { (exit 1); exit 1; }; }; }
9049
 
 
9050
 
 # Provide some information about the compiler.
9051
 
-echo "$as_me:$LINENO: checking for C compiler version" >&5
9052
 
-ac_compiler=`set X $ac_compile; echo $2`
9053
 
+$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
9054
 
+set X $ac_compile
9055
 
+ac_compiler=$2
9056
 
 { (ac_try="$ac_compiler --version >&5"
9057
 
 case "(($ac_try" in
9058
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9059
 
   *) ac_try_echo=$ac_try;;
9060
 
 esac
9061
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9062
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9063
 
+$as_echo "$ac_try_echo") >&5
9064
 
   (eval "$ac_compiler --version >&5") 2>&5
9065
 
   ac_status=$?
9066
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9067
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068
 
   (exit $ac_status); }
9069
 
 { (ac_try="$ac_compiler -v >&5"
9070
 
 case "(($ac_try" in
9071
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9072
 
   *) ac_try_echo=$ac_try;;
9073
 
 esac
9074
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9075
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9076
 
+$as_echo "$ac_try_echo") >&5
9077
 
   (eval "$ac_compiler -v >&5") 2>&5
9078
 
   ac_status=$?
9079
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9081
 
   (exit $ac_status); }
9082
 
 { (ac_try="$ac_compiler -V >&5"
9083
 
 case "(($ac_try" in
9084
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9085
 
   *) ac_try_echo=$ac_try;;
9086
 
 esac
9087
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9088
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9089
 
+$as_echo "$ac_try_echo") >&5
9090
 
   (eval "$ac_compiler -V >&5") 2>&5
9091
 
   ac_status=$?
9092
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9093
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9094
 
   (exit $ac_status); }
9095
 
 
9096
 
 cat >conftest.$ac_ext <<_ACEOF
9097
 
@@ -3027,27 +3144,22 @@
9098
 
 }
9099
 
 _ACEOF
9100
 
 ac_clean_files_save=$ac_clean_files
9101
 
-ac_clean_files="$ac_clean_files a.out a.exe b.out"
9102
 
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
9103
 
 # Try to create an executable without -o first, disregard a.out.
9104
 
 # It will help us diagnose broken compilers, and finding out an intuition
9105
 
 # of exeext.
9106
 
-{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
9107
 
-echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
9108
 
-ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
9109
 
-#
9110
 
-# List of possible output files, starting from the most likely.
9111
 
-# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
9112
 
-# only as a last resort.  b.out is created by i960 compilers.
9113
 
-ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
9114
 
-#
9115
 
-# The IRIX 6 linker writes into existing files which may not be
9116
 
-# executable, retaining their permissions.  Remove them first so a
9117
 
-# subsequent execution test works.
9118
 
+{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
9119
 
+$as_echo_n "checking for C compiler default output file name... " >&6; }
9120
 
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
9121
 
+
9122
 
+# The possible output files:
9123
 
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
9124
 
+
9125
 
 ac_rmfiles=
9126
 
 for ac_file in $ac_files
9127
 
 do
9128
 
   case $ac_file in
9129
 
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
9130
 
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
9131
 
     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
9132
 
   esac
9133
 
 done
9134
 
@@ -3058,10 +3170,11 @@
9135
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9136
 
   *) ac_try_echo=$ac_try;;
9137
 
 esac
9138
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9139
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9140
 
+$as_echo "$ac_try_echo") >&5
9141
 
   (eval "$ac_link_default") 2>&5
9142
 
   ac_status=$?
9143
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9145
 
   (exit $ac_status); }; then
9146
 
   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
9147
 
 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
9148
 
@@ -3072,7 +3185,7 @@
9149
 
 do
9150
 
   test -f "$ac_file" || continue
9151
 
   case $ac_file in
9152
 
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
9153
 
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
9154
 
        ;;
9155
 
     [ab].out )
9156
 
        # We found the default executable, but exeext='' is most
9157
 
@@ -3099,25 +3212,27 @@
9158
 
   ac_file=''
9159
 
 fi
9160
 
 
9161
 
-{ echo "$as_me:$LINENO: result: $ac_file" >&5
9162
 
-echo "${ECHO_T}$ac_file" >&6; }
9163
 
+{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
9164
 
+$as_echo "$ac_file" >&6; }
9165
 
 if test -z "$ac_file"; then
9166
 
-  echo "$as_me: failed program was:" >&5
9167
 
+  $as_echo "$as_me: failed program was:" >&5
9168
 
 sed 's/^/| /' conftest.$ac_ext >&5
9169
 
 
9170
 
-{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
9171
 
+{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
9172
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9173
 
+{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
9174
 
 See \`config.log' for more details." >&5
9175
 
-echo "$as_me: error: C compiler cannot create executables
9176
 
+$as_echo "$as_me: error: C compiler cannot create executables
9177
 
 See \`config.log' for more details." >&2;}
9178
 
-   { (exit 77); exit 77; }; }
9179
 
+   { (exit 77); exit 77; }; }; }
9180
 
 fi
9181
 
 
9182
 
 ac_exeext=$ac_cv_exeext
9183
 
 
9184
 
 # Check that the compiler produces executables we can run.  If not, either
9185
 
 # the compiler is broken, or we cross compile.
9186
 
-{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
9187
 
-echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
9188
 
+{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
9189
 
+$as_echo_n "checking whether the C compiler works... " >&6; }
9190
 
 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
9191
 
 # If not cross compiling, check that we can run a simple program.
9192
 
 if test "$cross_compiling" != yes; then
9193
 
@@ -3126,49 +3241,53 @@
9194
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9195
 
   *) ac_try_echo=$ac_try;;
9196
 
 esac
9197
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9198
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9199
 
+$as_echo "$ac_try_echo") >&5
9200
 
   (eval "$ac_try") 2>&5
9201
 
   ac_status=$?
9202
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9203
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9204
 
   (exit $ac_status); }; }; then
9205
 
     cross_compiling=no
9206
 
   else
9207
 
     if test "$cross_compiling" = maybe; then
9208
 
        cross_compiling=yes
9209
 
     else
9210
 
-       { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
9211
 
+       { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
9212
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9213
 
+{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
9214
 
 If you meant to cross compile, use \`--host'.
9215
 
 See \`config.log' for more details." >&5
9216
 
-echo "$as_me: error: cannot run C compiled programs.
9217
 
+$as_echo "$as_me: error: cannot run C compiled programs.
9218
 
 If you meant to cross compile, use \`--host'.
9219
 
 See \`config.log' for more details." >&2;}
9220
 
-   { (exit 1); exit 1; }; }
9221
 
+   { (exit 1); exit 1; }; }; }
9222
 
     fi
9223
 
   fi
9224
 
 fi
9225
 
-{ echo "$as_me:$LINENO: result: yes" >&5
9226
 
-echo "${ECHO_T}yes" >&6; }
9227
 
+{ $as_echo "$as_me:$LINENO: result: yes" >&5
9228
 
+$as_echo "yes" >&6; }
9229
 
 
9230
 
-rm -f a.out a.exe conftest$ac_cv_exeext b.out
9231
 
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
9232
 
 ac_clean_files=$ac_clean_files_save
9233
 
 # Check that the compiler produces executables we can run.  If not, either
9234
 
 # the compiler is broken, or we cross compile.
9235
 
-{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
9236
 
-echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
9237
 
-{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
9238
 
-echo "${ECHO_T}$cross_compiling" >&6; }
9239
 
+{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
9240
 
+$as_echo_n "checking whether we are cross compiling... " >&6; }
9241
 
+{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
9242
 
+$as_echo "$cross_compiling" >&6; }
9243
 
 
9244
 
-{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
9245
 
-echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
9246
 
+{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
9247
 
+$as_echo_n "checking for suffix of executables... " >&6; }
9248
 
 if { (ac_try="$ac_link"
9249
 
 case "(($ac_try" in
9250
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9251
 
   *) ac_try_echo=$ac_try;;
9252
 
 esac
9253
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9254
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9255
 
+$as_echo "$ac_try_echo") >&5
9256
 
   (eval "$ac_link") 2>&5
9257
 
   ac_status=$?
9258
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9259
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9260
 
   (exit $ac_status); }; then
9261
 
   # If both `conftest.exe' and `conftest' are `present' (well, observable)
9262
 
 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
9263
 
@@ -3177,31 +3296,33 @@
9264
 
 for ac_file in conftest.exe conftest conftest.*; do
9265
 
   test -f "$ac_file" || continue
9266
 
   case $ac_file in
9267
 
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
9268
 
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
9269
 
     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
9270
 
          break;;
9271
 
     * ) break;;
9272
 
   esac
9273
 
 done
9274
 
 else
9275
 
-  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
9276
 
+  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
9277
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9278
 
+{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
9279
 
 See \`config.log' for more details." >&5
9280
 
-echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
9281
 
+$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
9282
 
 See \`config.log' for more details." >&2;}
9283
 
-   { (exit 1); exit 1; }; }
9284
 
+   { (exit 1); exit 1; }; }; }
9285
 
 fi
9286
 
 
9287
 
 rm -f conftest$ac_cv_exeext
9288
 
-{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
9289
 
-echo "${ECHO_T}$ac_cv_exeext" >&6; }
9290
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
9291
 
+$as_echo "$ac_cv_exeext" >&6; }
9292
 
 
9293
 
 rm -f conftest.$ac_ext
9294
 
 EXEEXT=$ac_cv_exeext
9295
 
 ac_exeext=$EXEEXT
9296
 
-{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
9297
 
-echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
9298
 
+{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
9299
 
+$as_echo_n "checking for suffix of object files... " >&6; }
9300
 
 if test "${ac_cv_objext+set}" = set; then
9301
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
9302
 
+  $as_echo_n "(cached) " >&6
9303
 
 else
9304
 
   cat >conftest.$ac_ext <<_ACEOF
9305
 
 /* confdefs.h.  */
9306
 
@@ -3224,40 +3345,43 @@
9307
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9308
 
   *) ac_try_echo=$ac_try;;
9309
 
 esac
9310
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9311
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9312
 
+$as_echo "$ac_try_echo") >&5
9313
 
   (eval "$ac_compile") 2>&5
9314
 
   ac_status=$?
9315
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9316
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9317
 
   (exit $ac_status); }; then
9318
 
   for ac_file in conftest.o conftest.obj conftest.*; do
9319
 
   test -f "$ac_file" || continue;
9320
 
   case $ac_file in
9321
 
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
9322
 
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
9323
 
     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
9324
 
        break;;
9325
 
   esac
9326
 
 done
9327
 
 else
9328
 
-  echo "$as_me: failed program was:" >&5
9329
 
+  $as_echo "$as_me: failed program was:" >&5
9330
 
 sed 's/^/| /' conftest.$ac_ext >&5
9331
 
 
9332
 
-{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
9333
 
+{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
9334
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9335
 
+{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
9336
 
 See \`config.log' for more details." >&5
9337
 
-echo "$as_me: error: cannot compute suffix of object files: cannot compile
9338
 
+$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
9339
 
 See \`config.log' for more details." >&2;}
9340
 
-   { (exit 1); exit 1; }; }
9341
 
+   { (exit 1); exit 1; }; }; }
9342
 
 fi
9343
 
 
9344
 
 rm -f conftest.$ac_cv_objext conftest.$ac_ext
9345
 
 fi
9346
 
-{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
9347
 
-echo "${ECHO_T}$ac_cv_objext" >&6; }
9348
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
9349
 
+$as_echo "$ac_cv_objext" >&6; }
9350
 
 OBJEXT=$ac_cv_objext
9351
 
 ac_objext=$OBJEXT
9352
 
-{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
9353
 
-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
9354
 
+{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
9355
 
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
9356
 
 if test "${ac_cv_c_compiler_gnu+set}" = set; then
9357
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
9358
 
+  $as_echo_n "(cached) " >&6
9359
 
 else
9360
 
   cat >conftest.$ac_ext <<_ACEOF
9361
 
 /* confdefs.h.  */
9362
 
@@ -3283,20 +3407,21 @@
9363
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9364
 
   *) ac_try_echo=$ac_try;;
9365
 
 esac
9366
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9367
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9368
 
+$as_echo "$ac_try_echo") >&5
9369
 
   (eval "$ac_compile") 2>conftest.er1
9370
 
   ac_status=$?
9371
 
   grep -v '^ *+' conftest.er1 >conftest.err
9372
 
   rm -f conftest.er1
9373
 
   cat conftest.err >&5
9374
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9375
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9376
 
   (exit $ac_status); } && {
9377
 
         test -z "$ac_c_werror_flag" ||
9378
 
         test ! -s conftest.err
9379
 
        } && test -s conftest.$ac_objext; then
9380
 
   ac_compiler_gnu=yes
9381
 
 else
9382
 
-  echo "$as_me: failed program was:" >&5
9383
 
+  $as_echo "$as_me: failed program was:" >&5
9384
 
 sed 's/^/| /' conftest.$ac_ext >&5
9385
 
 
9386
 
        ac_compiler_gnu=no
9387
 
@@ -3306,15 +3431,19 @@
9388
 
 ac_cv_c_compiler_gnu=$ac_compiler_gnu
9389
 
 
9390
 
 fi
9391
 
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
9392
 
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
9393
 
-GCC=`test $ac_compiler_gnu = yes && echo yes`
9394
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
9395
 
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
9396
 
+if test $ac_compiler_gnu = yes; then
9397
 
+  GCC=yes
9398
 
+else
9399
 
+  GCC=
9400
 
+fi
9401
 
 ac_test_CFLAGS=${CFLAGS+set}
9402
 
 ac_save_CFLAGS=$CFLAGS
9403
 
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
9404
 
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
9405
 
+{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
9406
 
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
9407
 
 if test "${ac_cv_prog_cc_g+set}" = set; then
9408
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
9409
 
+  $as_echo_n "(cached) " >&6
9410
 
 else
9411
 
   ac_save_c_werror_flag=$ac_c_werror_flag
9412
 
    ac_c_werror_flag=yes
9413
 
@@ -3341,20 +3470,21 @@
9414
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9415
 
   *) ac_try_echo=$ac_try;;
9416
 
 esac
9417
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9418
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9419
 
+$as_echo "$ac_try_echo") >&5
9420
 
   (eval "$ac_compile") 2>conftest.er1
9421
 
   ac_status=$?
9422
 
   grep -v '^ *+' conftest.er1 >conftest.err
9423
 
   rm -f conftest.er1
9424
 
   cat conftest.err >&5
9425
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9426
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9427
 
   (exit $ac_status); } && {
9428
 
         test -z "$ac_c_werror_flag" ||
9429
 
         test ! -s conftest.err
9430
 
        } && test -s conftest.$ac_objext; then
9431
 
   ac_cv_prog_cc_g=yes
9432
 
 else
9433
 
-  echo "$as_me: failed program was:" >&5
9434
 
+  $as_echo "$as_me: failed program was:" >&5
9435
 
 sed 's/^/| /' conftest.$ac_ext >&5
9436
 
 
9437
 
        CFLAGS=""
9438
 
@@ -3379,20 +3509,21 @@
9439
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9440
 
   *) ac_try_echo=$ac_try;;
9441
 
 esac
9442
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9443
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9444
 
+$as_echo "$ac_try_echo") >&5
9445
 
   (eval "$ac_compile") 2>conftest.er1
9446
 
   ac_status=$?
9447
 
   grep -v '^ *+' conftest.er1 >conftest.err
9448
 
   rm -f conftest.er1
9449
 
   cat conftest.err >&5
9450
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9451
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9452
 
   (exit $ac_status); } && {
9453
 
         test -z "$ac_c_werror_flag" ||
9454
 
         test ! -s conftest.err
9455
 
        } && test -s conftest.$ac_objext; then
9456
 
   :
9457
 
 else
9458
 
-  echo "$as_me: failed program was:" >&5
9459
 
+  $as_echo "$as_me: failed program was:" >&5
9460
 
 sed 's/^/| /' conftest.$ac_ext >&5
9461
 
 
9462
 
        ac_c_werror_flag=$ac_save_c_werror_flag
9463
 
@@ -3418,20 +3549,21 @@
9464
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9465
 
   *) ac_try_echo=$ac_try;;
9466
 
 esac
9467
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9468
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9469
 
+$as_echo "$ac_try_echo") >&5
9470
 
   (eval "$ac_compile") 2>conftest.er1
9471
 
   ac_status=$?
9472
 
   grep -v '^ *+' conftest.er1 >conftest.err
9473
 
   rm -f conftest.er1
9474
 
   cat conftest.err >&5
9475
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9476
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9477
 
   (exit $ac_status); } && {
9478
 
         test -z "$ac_c_werror_flag" ||
9479
 
         test ! -s conftest.err
9480
 
        } && test -s conftest.$ac_objext; then
9481
 
   ac_cv_prog_cc_g=yes
9482
 
 else
9483
 
-  echo "$as_me: failed program was:" >&5
9484
 
+  $as_echo "$as_me: failed program was:" >&5
9485
 
 sed 's/^/| /' conftest.$ac_ext >&5
9486
 
 
9487
 
 
9488
 
@@ -3446,8 +3578,8 @@
9489
 
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9490
 
    ac_c_werror_flag=$ac_save_c_werror_flag
9491
 
 fi
9492
 
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
9493
 
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
9494
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
9495
 
+$as_echo "$ac_cv_prog_cc_g" >&6; }
9496
 
 if test "$ac_test_CFLAGS" = set; then
9497
 
   CFLAGS=$ac_save_CFLAGS
9498
 
 elif test $ac_cv_prog_cc_g = yes; then
9499
 
@@ -3463,10 +3595,10 @@
9500
 
     CFLAGS=
9501
 
   fi
9502
 
 fi
9503
 
-{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
9504
 
-echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
9505
 
+{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
9506
 
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
9507
 
 if test "${ac_cv_prog_cc_c89+set}" = set; then
9508
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
9509
 
+  $as_echo_n "(cached) " >&6
9510
 
 else
9511
 
   ac_cv_prog_cc_c89=no
9512
 
 ac_save_CC=$CC
9513
 
@@ -3537,20 +3669,21 @@
9514
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9515
 
   *) ac_try_echo=$ac_try;;
9516
 
 esac
9517
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9518
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9519
 
+$as_echo "$ac_try_echo") >&5
9520
 
   (eval "$ac_compile") 2>conftest.er1
9521
 
   ac_status=$?
9522
 
   grep -v '^ *+' conftest.er1 >conftest.err
9523
 
   rm -f conftest.er1
9524
 
   cat conftest.err >&5
9525
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9526
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9527
 
   (exit $ac_status); } && {
9528
 
         test -z "$ac_c_werror_flag" ||
9529
 
         test ! -s conftest.err
9530
 
        } && test -s conftest.$ac_objext; then
9531
 
   ac_cv_prog_cc_c89=$ac_arg
9532
 
 else
9533
 
-  echo "$as_me: failed program was:" >&5
9534
 
+  $as_echo "$as_me: failed program was:" >&5
9535
 
 sed 's/^/| /' conftest.$ac_ext >&5
9536
 
 
9537
 
 
9538
 
@@ -3566,15 +3699,15 @@
9539
 
 # AC_CACHE_VAL
9540
 
 case "x$ac_cv_prog_cc_c89" in
9541
 
   x)
9542
 
-    { echo "$as_me:$LINENO: result: none needed" >&5
9543
 
-echo "${ECHO_T}none needed" >&6; } ;;
9544
 
+    { $as_echo "$as_me:$LINENO: result: none needed" >&5
9545
 
+$as_echo "none needed" >&6; } ;;
9546
 
   xno)
9547
 
-    { echo "$as_me:$LINENO: result: unsupported" >&5
9548
 
-echo "${ECHO_T}unsupported" >&6; } ;;
9549
 
+    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
9550
 
+$as_echo "unsupported" >&6; } ;;
9551
 
   *)
9552
 
     CC="$CC $ac_cv_prog_cc_c89"
9553
 
-    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
9554
 
-echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
9555
 
+    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
9556
 
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
9557
 
 esac
9558
 
 
9559
 
 
9560
 
@@ -3586,10 +3719,10 @@
9561
 
 
9562
 
 depcc="$CC"   am_compiler_list=
9563
 
 
9564
 
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
9565
 
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
9566
 
+{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
9567
 
+$as_echo_n "checking dependency style of $depcc... " >&6; }
9568
 
 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
9569
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
9570
 
+  $as_echo_n "(cached) " >&6
9571
 
 else
9572
 
   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9573
 
   # We make a subdir and do the tests there.  Otherwise we can end up
9574
 
@@ -3677,8 +3810,8 @@
9575
 
 fi
9576
 
 
9577
 
 fi
9578
 
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
9579
 
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
9580
 
+{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
9581
 
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
9582
 
 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
9583
 
 
9584
 
  if
9585
 
@@ -3698,15 +3831,15 @@
9586
 
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9587
 
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9588
 
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9589
 
-{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
9590
 
-echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
9591
 
+{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
9592
 
+$as_echo_n "checking how to run the C preprocessor... " >&6; }
9593
 
 # On Suns, sometimes $CPP names a directory.
9594
 
 if test -n "$CPP" && test -d "$CPP"; then
9595
 
   CPP=
9596
 
 fi
9597
 
 if test -z "$CPP"; then
9598
 
   if test "${ac_cv_prog_CPP+set}" = set; then
9599
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
9600
 
+  $as_echo_n "(cached) " >&6
9601
 
 else
9602
 
       # Double quotes because CPP needs to be expanded
9603
 
     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
9604
 
@@ -3738,20 +3871,21 @@
9605
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9606
 
   *) ac_try_echo=$ac_try;;
9607
 
 esac
9608
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9609
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9610
 
+$as_echo "$ac_try_echo") >&5
9611
 
   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9612
 
   ac_status=$?
9613
 
   grep -v '^ *+' conftest.er1 >conftest.err
9614
 
   rm -f conftest.er1
9615
 
   cat conftest.err >&5
9616
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9617
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9618
 
   (exit $ac_status); } >/dev/null && {
9619
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9620
 
         test ! -s conftest.err
9621
 
        }; then
9622
 
   :
9623
 
 else
9624
 
-  echo "$as_me: failed program was:" >&5
9625
 
+  $as_echo "$as_me: failed program was:" >&5
9626
 
 sed 's/^/| /' conftest.$ac_ext >&5
9627
 
 
9628
 
   # Broken: fails on valid input.
9629
 
@@ -3775,13 +3909,14 @@
9630
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9631
 
   *) ac_try_echo=$ac_try;;
9632
 
 esac
9633
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9634
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9635
 
+$as_echo "$ac_try_echo") >&5
9636
 
   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9637
 
   ac_status=$?
9638
 
   grep -v '^ *+' conftest.er1 >conftest.err
9639
 
   rm -f conftest.er1
9640
 
   cat conftest.err >&5
9641
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9642
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9643
 
   (exit $ac_status); } >/dev/null && {
9644
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9645
 
         test ! -s conftest.err
9646
 
@@ -3789,7 +3924,7 @@
9647
 
   # Broken: success on invalid input.
9648
 
 continue
9649
 
 else
9650
 
-  echo "$as_me: failed program was:" >&5
9651
 
+  $as_echo "$as_me: failed program was:" >&5
9652
 
 sed 's/^/| /' conftest.$ac_ext >&5
9653
 
 
9654
 
   # Passes both tests.
9655
 
@@ -3814,8 +3949,8 @@
9656
 
 else
9657
 
   ac_cv_prog_CPP=$CPP
9658
 
 fi
9659
 
-{ echo "$as_me:$LINENO: result: $CPP" >&5
9660
 
-echo "${ECHO_T}$CPP" >&6; }
9661
 
+{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
9662
 
+$as_echo "$CPP" >&6; }
9663
 
 ac_preproc_ok=false
9664
 
 for ac_c_preproc_warn_flag in '' yes
9665
 
 do
9666
 
@@ -3843,20 +3978,21 @@
9667
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9668
 
   *) ac_try_echo=$ac_try;;
9669
 
 esac
9670
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9671
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9672
 
+$as_echo "$ac_try_echo") >&5
9673
 
   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9674
 
   ac_status=$?
9675
 
   grep -v '^ *+' conftest.er1 >conftest.err
9676
 
   rm -f conftest.er1
9677
 
   cat conftest.err >&5
9678
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9680
 
   (exit $ac_status); } >/dev/null && {
9681
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9682
 
         test ! -s conftest.err
9683
 
        }; then
9684
 
   :
9685
 
 else
9686
 
-  echo "$as_me: failed program was:" >&5
9687
 
+  $as_echo "$as_me: failed program was:" >&5
9688
 
 sed 's/^/| /' conftest.$ac_ext >&5
9689
 
 
9690
 
   # Broken: fails on valid input.
9691
 
@@ -3880,13 +4016,14 @@
9692
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9693
 
   *) ac_try_echo=$ac_try;;
9694
 
 esac
9695
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9696
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9697
 
+$as_echo "$ac_try_echo") >&5
9698
 
   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9699
 
   ac_status=$?
9700
 
   grep -v '^ *+' conftest.er1 >conftest.err
9701
 
   rm -f conftest.er1
9702
 
   cat conftest.err >&5
9703
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9704
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9705
 
   (exit $ac_status); } >/dev/null && {
9706
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9707
 
         test ! -s conftest.err
9708
 
@@ -3894,7 +4031,7 @@
9709
 
   # Broken: success on invalid input.
9710
 
 continue
9711
 
 else
9712
 
-  echo "$as_me: failed program was:" >&5
9713
 
+  $as_echo "$as_me: failed program was:" >&5
9714
 
 sed 's/^/| /' conftest.$ac_ext >&5
9715
 
 
9716
 
   # Passes both tests.
9717
 
@@ -3910,11 +4047,13 @@
9718
 
 if $ac_preproc_ok; then
9719
 
   :
9720
 
 else
9721
 
-  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
9722
 
+  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
9723
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9724
 
+{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
9725
 
 See \`config.log' for more details." >&5
9726
 
-echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
9727
 
+$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
9728
 
 See \`config.log' for more details." >&2;}
9729
 
-   { (exit 1); exit 1; }; }
9730
 
+   { (exit 1); exit 1; }; }; }
9731
 
 fi
9732
 
 
9733
 
 ac_ext=c
9734
 
@@ -3924,42 +4063,37 @@
9735
 
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9736
 
 
9737
 
 
9738
 
-{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
9739
 
-echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
9740
 
-if test "${ac_cv_path_GREP+set}" = set; then
9741
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
9742
 
-else
9743
 
-  # Extract the first word of "grep ggrep" to use in msg output
9744
 
-if test -z "$GREP"; then
9745
 
-set dummy grep ggrep; ac_prog_name=$2
9746
 
+{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
9747
 
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
9748
 
 if test "${ac_cv_path_GREP+set}" = set; then
9749
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
9750
 
+  $as_echo_n "(cached) " >&6
9751
 
 else
9752
 
+  if test -z "$GREP"; then
9753
 
   ac_path_GREP_found=false
9754
 
-# Loop through the user's path and test for each of PROGNAME-LIST
9755
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9756
 
+  # Loop through the user's path and test for each of PROGNAME-LIST
9757
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9758
 
 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
9759
 
 do
9760
 
   IFS=$as_save_IFS
9761
 
   test -z "$as_dir" && as_dir=.
9762
 
   for ac_prog in grep ggrep; do
9763
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
9764
 
-    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
9765
 
-    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
9766
 
-    # Check for GNU ac_path_GREP and select it if it is found.
9767
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
9768
 
+      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
9769
 
+      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
9770
 
+# Check for GNU ac_path_GREP and select it if it is found.
9771
 
   # Check for GNU $ac_path_GREP
9772
 
 case `"$ac_path_GREP" --version 2>&1` in
9773
 
 *GNU*)
9774
 
   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
9775
 
 *)
9776
 
   ac_count=0
9777
 
-  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
9778
 
+  $as_echo_n 0123456789 >"conftest.in"
9779
 
   while :
9780
 
   do
9781
 
     cat "conftest.in" "conftest.in" >"conftest.tmp"
9782
 
     mv "conftest.tmp" "conftest.in"
9783
 
     cp "conftest.in" "conftest.nl"
9784
 
-    echo 'GREP' >> "conftest.nl"
9785
 
+    $as_echo 'GREP' >> "conftest.nl"
9786
 
     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
9787
 
     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
9788
 
     ac_count=`expr $ac_count + 1`
9789
 
@@ -3974,74 +4108,60 @@
9790
 
   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
9791
 
 esac
9792
 
 
9793
 
-
9794
 
-    $ac_path_GREP_found && break 3
9795
 
+      $ac_path_GREP_found && break 3
9796
 
+    done
9797
 
   done
9798
 
 done
9799
 
-
9800
 
-done
9801
 
 IFS=$as_save_IFS
9802
 
-
9803
 
-
9804
 
-fi
9805
 
-
9806
 
-GREP="$ac_cv_path_GREP"
9807
 
-if test -z "$GREP"; then
9808
 
-  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
9809
 
-echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
9810
 
+  if test -z "$ac_cv_path_GREP"; then
9811
 
+    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
9812
 
+$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
9813
 
    { (exit 1); exit 1; }; }
9814
 
-fi
9815
 
-
9816
 
+  fi
9817
 
 else
9818
 
   ac_cv_path_GREP=$GREP
9819
 
 fi
9820
 
 
9821
 
-
9822
 
 fi
9823
 
-{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
9824
 
-echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
9825
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
9826
 
+$as_echo "$ac_cv_path_GREP" >&6; }
9827
 
  GREP="$ac_cv_path_GREP"
9828
 
 
9829
 
 
9830
 
-{ echo "$as_me:$LINENO: checking for egrep" >&5
9831
 
-echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
9832
 
+{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
9833
 
+$as_echo_n "checking for egrep... " >&6; }
9834
 
 if test "${ac_cv_path_EGREP+set}" = set; then
9835
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
9836
 
+  $as_echo_n "(cached) " >&6
9837
 
 else
9838
 
   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
9839
 
    then ac_cv_path_EGREP="$GREP -E"
9840
 
    else
9841
 
-     # Extract the first word of "egrep" to use in msg output
9842
 
-if test -z "$EGREP"; then
9843
 
-set dummy egrep; ac_prog_name=$2
9844
 
-if test "${ac_cv_path_EGREP+set}" = set; then
9845
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
9846
 
-else
9847
 
+     if test -z "$EGREP"; then
9848
 
   ac_path_EGREP_found=false
9849
 
-# Loop through the user's path and test for each of PROGNAME-LIST
9850
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9851
 
+  # Loop through the user's path and test for each of PROGNAME-LIST
9852
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9853
 
 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
9854
 
 do
9855
 
   IFS=$as_save_IFS
9856
 
   test -z "$as_dir" && as_dir=.
9857
 
   for ac_prog in egrep; do
9858
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
9859
 
-    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
9860
 
-    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
9861
 
-    # Check for GNU ac_path_EGREP and select it if it is found.
9862
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
9863
 
+      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
9864
 
+      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
9865
 
+# Check for GNU ac_path_EGREP and select it if it is found.
9866
 
   # Check for GNU $ac_path_EGREP
9867
 
 case `"$ac_path_EGREP" --version 2>&1` in
9868
 
 *GNU*)
9869
 
   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
9870
 
 *)
9871
 
   ac_count=0
9872
 
-  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
9873
 
+  $as_echo_n 0123456789 >"conftest.in"
9874
 
   while :
9875
 
   do
9876
 
     cat "conftest.in" "conftest.in" >"conftest.tmp"
9877
 
     mv "conftest.tmp" "conftest.in"
9878
 
     cp "conftest.in" "conftest.nl"
9879
 
-    echo 'EGREP' >> "conftest.nl"
9880
 
+    $as_echo 'EGREP' >> "conftest.nl"
9881
 
     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
9882
 
     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
9883
 
     ac_count=`expr $ac_count + 1`
9884
 
@@ -4056,40 +4176,31 @@
9885
 
   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
9886
 
 esac
9887
 
 
9888
 
-
9889
 
-    $ac_path_EGREP_found && break 3
9890
 
+      $ac_path_EGREP_found && break 3
9891
 
+    done
9892
 
   done
9893
 
 done
9894
 
-
9895
 
-done
9896
 
 IFS=$as_save_IFS
9897
 
-
9898
 
-
9899
 
-fi
9900
 
-
9901
 
-EGREP="$ac_cv_path_EGREP"
9902
 
-if test -z "$EGREP"; then
9903
 
-  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
9904
 
-echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
9905
 
+  if test -z "$ac_cv_path_EGREP"; then
9906
 
+    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
9907
 
+$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
9908
 
    { (exit 1); exit 1; }; }
9909
 
-fi
9910
 
-
9911
 
+  fi
9912
 
 else
9913
 
   ac_cv_path_EGREP=$EGREP
9914
 
 fi
9915
 
 
9916
 
-
9917
 
    fi
9918
 
 fi
9919
 
-{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
9920
 
-echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
9921
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
9922
 
+$as_echo "$ac_cv_path_EGREP" >&6; }
9923
 
  EGREP="$ac_cv_path_EGREP"
9924
 
 
9925
 
 
9926
 
-{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9927
 
-echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
9928
 
+{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9929
 
+$as_echo_n "checking for ANSI C header files... " >&6; }
9930
 
 if test "${ac_cv_header_stdc+set}" = set; then
9931
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
9932
 
+  $as_echo_n "(cached) " >&6
9933
 
 else
9934
 
   cat >conftest.$ac_ext <<_ACEOF
9935
 
 /* confdefs.h.  */
9936
 
@@ -4116,20 +4227,21 @@
9937
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9938
 
   *) ac_try_echo=$ac_try;;
9939
 
 esac
9940
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9941
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9942
 
+$as_echo "$ac_try_echo") >&5
9943
 
   (eval "$ac_compile") 2>conftest.er1
9944
 
   ac_status=$?
9945
 
   grep -v '^ *+' conftest.er1 >conftest.err
9946
 
   rm -f conftest.er1
9947
 
   cat conftest.err >&5
9948
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9949
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9950
 
   (exit $ac_status); } && {
9951
 
         test -z "$ac_c_werror_flag" ||
9952
 
         test ! -s conftest.err
9953
 
        } && test -s conftest.$ac_objext; then
9954
 
   ac_cv_header_stdc=yes
9955
 
 else
9956
 
-  echo "$as_me: failed program was:" >&5
9957
 
+  $as_echo "$as_me: failed program was:" >&5
9958
 
 sed 's/^/| /' conftest.$ac_ext >&5
9959
 
 
9960
 
        ac_cv_header_stdc=no
9961
 
@@ -4221,37 +4333,40 @@
9962
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9963
 
   *) ac_try_echo=$ac_try;;
9964
 
 esac
9965
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9966
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9967
 
+$as_echo "$ac_try_echo") >&5
9968
 
   (eval "$ac_link") 2>&5
9969
 
   ac_status=$?
9970
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9971
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972
 
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9973
 
   { (case "(($ac_try" in
9974
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9975
 
   *) ac_try_echo=$ac_try;;
9976
 
 esac
9977
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9978
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9979
 
+$as_echo "$ac_try_echo") >&5
9980
 
   (eval "$ac_try") 2>&5
9981
 
   ac_status=$?
9982
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9983
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9984
 
   (exit $ac_status); }; }; then
9985
 
   :
9986
 
 else
9987
 
-  echo "$as_me: program exited with status $ac_status" >&5
9988
 
-echo "$as_me: failed program was:" >&5
9989
 
+  $as_echo "$as_me: program exited with status $ac_status" >&5
9990
 
+$as_echo "$as_me: failed program was:" >&5
9991
 
 sed 's/^/| /' conftest.$ac_ext >&5
9992
 
 
9993
 
 ( exit $ac_status )
9994
 
 ac_cv_header_stdc=no
9995
 
 fi
9996
 
+rm -rf conftest.dSYM
9997
 
 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9998
 
 fi
9999
 
 
10000
 
 
10001
 
 fi
10002
 
 fi
10003
 
-{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
10004
 
-echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
10005
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
10006
 
+$as_echo "$ac_cv_header_stdc" >&6; }
10007
 
 if test $ac_cv_header_stdc = yes; then
10008
 
 
10009
 
 cat >>confdefs.h <<\_ACEOF
10010
 
@@ -4273,11 +4388,11 @@
10011
 
 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
10012
 
                  inttypes.h stdint.h unistd.h
10013
 
 do
10014
 
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10015
 
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10016
 
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10017
 
+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10018
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10019
 
+$as_echo_n "checking for $ac_header... " >&6; }
10020
 
 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10021
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
10022
 
+  $as_echo_n "(cached) " >&6
10023
 
 else
10024
 
   cat >conftest.$ac_ext <<_ACEOF
10025
 
 /* confdefs.h.  */
10026
 
@@ -4295,20 +4410,21 @@
10027
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10028
 
   *) ac_try_echo=$ac_try;;
10029
 
 esac
10030
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10031
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10032
 
+$as_echo "$ac_try_echo") >&5
10033
 
   (eval "$ac_compile") 2>conftest.er1
10034
 
   ac_status=$?
10035
 
   grep -v '^ *+' conftest.er1 >conftest.err
10036
 
   rm -f conftest.er1
10037
 
   cat conftest.err >&5
10038
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10039
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10040
 
   (exit $ac_status); } && {
10041
 
         test -z "$ac_c_werror_flag" ||
10042
 
         test ! -s conftest.err
10043
 
        } && test -s conftest.$ac_objext; then
10044
 
   eval "$as_ac_Header=yes"
10045
 
 else
10046
 
-  echo "$as_me: failed program was:" >&5
10047
 
+  $as_echo "$as_me: failed program was:" >&5
10048
 
 sed 's/^/| /' conftest.$ac_ext >&5
10049
 
 
10050
 
        eval "$as_ac_Header=no"
10051
 
@@ -4316,12 +4432,15 @@
10052
 
 
10053
 
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10054
 
 fi
10055
 
-ac_res=`eval echo '${'$as_ac_Header'}'`
10056
 
-              { echo "$as_me:$LINENO: result: $ac_res" >&5
10057
 
-echo "${ECHO_T}$ac_res" >&6; }
10058
 
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
10059
 
+ac_res=`eval 'as_val=${'$as_ac_Header'}
10060
 
+                $as_echo "$as_val"'`
10061
 
+              { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10062
 
+$as_echo "$ac_res" >&6; }
10063
 
+as_val=`eval 'as_val=${'$as_ac_Header'}
10064
 
+                $as_echo "$as_val"'`
10065
 
+   if test "x$as_val" = x""yes; then
10066
 
   cat >>confdefs.h <<_ACEOF
10067
 
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10068
 
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10069
 
 _ACEOF
10070
 
 
10071
 
 fi
10072
 
@@ -4333,20 +4452,21 @@
10073
 
 
10074
 
 for ac_header in locale.h
10075
 
 do
10076
 
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10077
 
+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10078
 
 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10079
 
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
10080
 
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10081
 
+  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10082
 
+$as_echo_n "checking for $ac_header... " >&6; }
10083
 
 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10084
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
10085
 
+  $as_echo_n "(cached) " >&6
10086
 
 fi
10087
 
-ac_res=`eval echo '${'$as_ac_Header'}'`
10088
 
-              { echo "$as_me:$LINENO: result: $ac_res" >&5
10089
 
-echo "${ECHO_T}$ac_res" >&6; }
10090
 
+ac_res=`eval 'as_val=${'$as_ac_Header'}
10091
 
+                $as_echo "$as_val"'`
10092
 
+              { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10093
 
+$as_echo "$ac_res" >&6; }
10094
 
 else
10095
 
   # Is the header compilable?
10096
 
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10097
 
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10098
 
+{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10099
 
+$as_echo_n "checking $ac_header usability... " >&6; }
10100
 
 cat >conftest.$ac_ext <<_ACEOF
10101
 
 /* confdefs.h.  */
10102
 
 _ACEOF
10103
 
@@ -4362,32 +4482,33 @@
10104
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10105
 
   *) ac_try_echo=$ac_try;;
10106
 
 esac
10107
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10108
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10109
 
+$as_echo "$ac_try_echo") >&5
10110
 
   (eval "$ac_compile") 2>conftest.er1
10111
 
   ac_status=$?
10112
 
   grep -v '^ *+' conftest.er1 >conftest.err
10113
 
   rm -f conftest.er1
10114
 
   cat conftest.err >&5
10115
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10116
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10117
 
   (exit $ac_status); } && {
10118
 
         test -z "$ac_c_werror_flag" ||
10119
 
         test ! -s conftest.err
10120
 
        } && test -s conftest.$ac_objext; then
10121
 
   ac_header_compiler=yes
10122
 
 else
10123
 
-  echo "$as_me: failed program was:" >&5
10124
 
+  $as_echo "$as_me: failed program was:" >&5
10125
 
 sed 's/^/| /' conftest.$ac_ext >&5
10126
 
 
10127
 
        ac_header_compiler=no
10128
 
 fi
10129
 
 
10130
 
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10131
 
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10132
 
-echo "${ECHO_T}$ac_header_compiler" >&6; }
10133
 
+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10134
 
+$as_echo "$ac_header_compiler" >&6; }
10135
 
 
10136
 
 # Is the header present?
10137
 
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10138
 
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10139
 
+{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10140
 
+$as_echo_n "checking $ac_header presence... " >&6; }
10141
 
 cat >conftest.$ac_ext <<_ACEOF
10142
 
 /* confdefs.h.  */
10143
 
 _ACEOF
10144
 
@@ -4401,51 +4522,52 @@
10145
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10146
 
   *) ac_try_echo=$ac_try;;
10147
 
 esac
10148
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10149
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10150
 
+$as_echo "$ac_try_echo") >&5
10151
 
   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10152
 
   ac_status=$?
10153
 
   grep -v '^ *+' conftest.er1 >conftest.err
10154
 
   rm -f conftest.er1
10155
 
   cat conftest.err >&5
10156
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10157
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10158
 
   (exit $ac_status); } >/dev/null && {
10159
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10160
 
         test ! -s conftest.err
10161
 
        }; then
10162
 
   ac_header_preproc=yes
10163
 
 else
10164
 
-  echo "$as_me: failed program was:" >&5
10165
 
+  $as_echo "$as_me: failed program was:" >&5
10166
 
 sed 's/^/| /' conftest.$ac_ext >&5
10167
 
 
10168
 
   ac_header_preproc=no
10169
 
 fi
10170
 
 
10171
 
 rm -f conftest.err conftest.$ac_ext
10172
 
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10173
 
-echo "${ECHO_T}$ac_header_preproc" >&6; }
10174
 
+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10175
 
+$as_echo "$ac_header_preproc" >&6; }
10176
 
 
10177
 
 # So?  What about this header?
10178
 
 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10179
 
   yes:no: )
10180
 
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10181
 
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10182
 
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10183
 
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10184
 
+    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10185
 
+$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10186
 
+    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10187
 
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10188
 
     ac_header_preproc=yes
10189
 
     ;;
10190
 
   no:yes:* )
10191
 
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10192
 
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10193
 
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
10194
 
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
10195
 
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10196
 
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10197
 
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
10198
 
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
10199
 
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10200
 
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10201
 
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10202
 
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10203
 
+    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10204
 
+$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10205
 
+    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
10206
 
+$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
10207
 
+    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10208
 
+$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10209
 
+    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
10210
 
+$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
10211
 
+    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10212
 
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10213
 
+    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10214
 
+$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10215
 
     ( cat <<\_ASBOX
10216
 
 ## --------------------------------------------------------------------------- ##
10217
 
 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=sound-juicer ##
10218
 
@@ -4454,21 +4576,24 @@
10219
 
      ) | sed "s/^/$as_me: WARNING:     /" >&2
10220
 
     ;;
10221
 
 esac
10222
 
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10223
 
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10224
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10225
 
+$as_echo_n "checking for $ac_header... " >&6; }
10226
 
 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10227
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
10228
 
+  $as_echo_n "(cached) " >&6
10229
 
 else
10230
 
   eval "$as_ac_Header=\$ac_header_preproc"
10231
 
 fi
10232
 
-ac_res=`eval echo '${'$as_ac_Header'}'`
10233
 
-              { echo "$as_me:$LINENO: result: $ac_res" >&5
10234
 
-echo "${ECHO_T}$ac_res" >&6; }
10235
 
+ac_res=`eval 'as_val=${'$as_ac_Header'}
10236
 
+                $as_echo "$as_val"'`
10237
 
+              { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10238
 
+$as_echo "$ac_res" >&6; }
10239
 
 
10240
 
 fi
10241
 
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
10242
 
+as_val=`eval 'as_val=${'$as_ac_Header'}
10243
 
+                $as_echo "$as_val"'`
10244
 
+   if test "x$as_val" = x""yes; then
10245
 
   cat >>confdefs.h <<_ACEOF
10246
 
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10247
 
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10248
 
 _ACEOF
10249
 
 
10250
 
 fi
10251
 
@@ -4476,10 +4601,10 @@
10252
 
 done
10253
 
 
10254
 
     if test $ac_cv_header_locale_h = yes; then
10255
 
-    { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
10256
 
-echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
10257
 
+    { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
10258
 
+$as_echo_n "checking for LC_MESSAGES... " >&6; }
10259
 
 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
10260
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
10261
 
+  $as_echo_n "(cached) " >&6
10262
 
 else
10263
 
   cat >conftest.$ac_ext <<_ACEOF
10264
 
 /* confdefs.h.  */
10265
 
@@ -4502,31 +4627,35 @@
10266
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10267
 
   *) ac_try_echo=$ac_try;;
10268
 
 esac
10269
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10270
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10271
 
+$as_echo "$ac_try_echo") >&5
10272
 
   (eval "$ac_link") 2>conftest.er1
10273
 
   ac_status=$?
10274
 
   grep -v '^ *+' conftest.er1 >conftest.err
10275
 
   rm -f conftest.er1
10276
 
   cat conftest.err >&5
10277
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10278
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10279
 
   (exit $ac_status); } && {
10280
 
         test -z "$ac_c_werror_flag" ||
10281
 
         test ! -s conftest.err
10282
 
-       } && test -s conftest$ac_exeext &&
10283
 
-       $as_test_x conftest$ac_exeext; then
10284
 
+       } && test -s conftest$ac_exeext && {
10285
 
+        test "$cross_compiling" = yes ||
10286
 
+        $as_test_x conftest$ac_exeext
10287
 
+       }; then
10288
 
   am_cv_val_LC_MESSAGES=yes
10289
 
 else
10290
 
-  echo "$as_me: failed program was:" >&5
10291
 
+  $as_echo "$as_me: failed program was:" >&5
10292
 
 sed 's/^/| /' conftest.$ac_ext >&5
10293
 
 
10294
 
        am_cv_val_LC_MESSAGES=no
10295
 
 fi
10296
 
 
10297
 
+rm -rf conftest.dSYM
10298
 
 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10299
 
       conftest$ac_exeext conftest.$ac_ext
10300
 
 fi
10301
 
-{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
10302
 
-echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
10303
 
+{ $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
10304
 
+$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
10305
 
     if test $am_cv_val_LC_MESSAGES = yes; then
10306
 
 
10307
 
 cat >>confdefs.h <<\_ACEOF
10308
 
@@ -4545,17 +4674,17 @@
10309
 
     INTLLIBS=
10310
 
 
10311
 
     if test "${ac_cv_header_libintl_h+set}" = set; then
10312
 
-  { echo "$as_me:$LINENO: checking for libintl.h" >&5
10313
 
-echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
10314
 
+  { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
10315
 
+$as_echo_n "checking for libintl.h... " >&6; }
10316
 
 if test "${ac_cv_header_libintl_h+set}" = set; then
10317
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
10318
 
+  $as_echo_n "(cached) " >&6
10319
 
 fi
10320
 
-{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
10321
 
-echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
10322
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
10323
 
+$as_echo "$ac_cv_header_libintl_h" >&6; }
10324
 
 else
10325
 
   # Is the header compilable?
10326
 
-{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
10327
 
-echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
10328
 
+{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
10329
 
+$as_echo_n "checking libintl.h usability... " >&6; }
10330
 
 cat >conftest.$ac_ext <<_ACEOF
10331
 
 /* confdefs.h.  */
10332
 
 _ACEOF
10333
 
@@ -4571,32 +4700,33 @@
10334
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10335
 
   *) ac_try_echo=$ac_try;;
10336
 
 esac
10337
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10338
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10339
 
+$as_echo "$ac_try_echo") >&5
10340
 
   (eval "$ac_compile") 2>conftest.er1
10341
 
   ac_status=$?
10342
 
   grep -v '^ *+' conftest.er1 >conftest.err
10343
 
   rm -f conftest.er1
10344
 
   cat conftest.err >&5
10345
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10346
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10347
 
   (exit $ac_status); } && {
10348
 
         test -z "$ac_c_werror_flag" ||
10349
 
         test ! -s conftest.err
10350
 
        } && test -s conftest.$ac_objext; then
10351
 
   ac_header_compiler=yes
10352
 
 else
10353
 
-  echo "$as_me: failed program was:" >&5
10354
 
+  $as_echo "$as_me: failed program was:" >&5
10355
 
 sed 's/^/| /' conftest.$ac_ext >&5
10356
 
 
10357
 
        ac_header_compiler=no
10358
 
 fi
10359
 
 
10360
 
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10361
 
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10362
 
-echo "${ECHO_T}$ac_header_compiler" >&6; }
10363
 
+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10364
 
+$as_echo "$ac_header_compiler" >&6; }
10365
 
 
10366
 
 # Is the header present?
10367
 
-{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
10368
 
-echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
10369
 
+{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
10370
 
+$as_echo_n "checking libintl.h presence... " >&6; }
10371
 
 cat >conftest.$ac_ext <<_ACEOF
10372
 
 /* confdefs.h.  */
10373
 
 _ACEOF
10374
 
@@ -4610,51 +4740,52 @@
10375
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10376
 
   *) ac_try_echo=$ac_try;;
10377
 
 esac
10378
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10379
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10380
 
+$as_echo "$ac_try_echo") >&5
10381
 
   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10382
 
   ac_status=$?
10383
 
   grep -v '^ *+' conftest.er1 >conftest.err
10384
 
   rm -f conftest.er1
10385
 
   cat conftest.err >&5
10386
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10387
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10388
 
   (exit $ac_status); } >/dev/null && {
10389
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10390
 
         test ! -s conftest.err
10391
 
        }; then
10392
 
   ac_header_preproc=yes
10393
 
 else
10394
 
-  echo "$as_me: failed program was:" >&5
10395
 
+  $as_echo "$as_me: failed program was:" >&5
10396
 
 sed 's/^/| /' conftest.$ac_ext >&5
10397
 
 
10398
 
   ac_header_preproc=no
10399
 
 fi
10400
 
 
10401
 
 rm -f conftest.err conftest.$ac_ext
10402
 
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10403
 
-echo "${ECHO_T}$ac_header_preproc" >&6; }
10404
 
+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10405
 
+$as_echo "$ac_header_preproc" >&6; }
10406
 
 
10407
 
 # So?  What about this header?
10408
 
 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10409
 
   yes:no: )
10410
 
-    { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
10411
 
-echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10412
 
-    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
10413
 
-echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
10414
 
+    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
10415
 
+$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10416
 
+    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
10417
 
+$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
10418
 
     ac_header_preproc=yes
10419
 
     ;;
10420
 
   no:yes:* )
10421
 
-    { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
10422
 
-echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
10423
 
-    { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
10424
 
-echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
10425
 
-    { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
10426
 
-echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
10427
 
-    { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
10428
 
-echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
10429
 
-    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
10430
 
-echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
10431
 
-    { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
10432
 
-echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
10433
 
+    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
10434
 
+$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
10435
 
+    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
10436
 
+$as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
10437
 
+    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
10438
 
+$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
10439
 
+    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
10440
 
+$as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
10441
 
+    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
10442
 
+$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
10443
 
+    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
10444
 
+$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
10445
 
     ( cat <<\_ASBOX
10446
 
 ## --------------------------------------------------------------------------- ##
10447
 
 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=sound-juicer ##
10448
 
@@ -4663,28 +4794,28 @@
10449
 
      ) | sed "s/^/$as_me: WARNING:     /" >&2
10450
 
     ;;
10451
 
 esac
10452
 
-{ echo "$as_me:$LINENO: checking for libintl.h" >&5
10453
 
-echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
10454
 
+{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
10455
 
+$as_echo_n "checking for libintl.h... " >&6; }
10456
 
 if test "${ac_cv_header_libintl_h+set}" = set; then
10457
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
10458
 
+  $as_echo_n "(cached) " >&6
10459
 
 else
10460
 
   ac_cv_header_libintl_h=$ac_header_preproc
10461
 
 fi
10462
 
-{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
10463
 
-echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
10464
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
10465
 
+$as_echo "$ac_cv_header_libintl_h" >&6; }
10466
 
 
10467
 
 fi
10468
 
-if test $ac_cv_header_libintl_h = yes; then
10469
 
+if test "x$ac_cv_header_libintl_h" = x""yes; then
10470
 
   gt_cv_func_dgettext_libintl="no"
10471
 
       libintl_extra_libs=""
10472
 
 
10473
 
       #
10474
 
       # First check in libc
10475
 
       #
10476
 
-      { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
10477
 
-echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
10478
 
+      { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
10479
 
+$as_echo_n "checking for ngettext in libc... " >&6; }
10480
 
 if test "${gt_cv_func_ngettext_libc+set}" = set; then
10481
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
10482
 
+  $as_echo_n "(cached) " >&6
10483
 
 else
10484
 
   cat >conftest.$ac_ext <<_ACEOF
10485
 
 /* confdefs.h.  */
10486
 
@@ -4709,38 +4840,42 @@
10487
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10488
 
   *) ac_try_echo=$ac_try;;
10489
 
 esac
10490
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10491
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10492
 
+$as_echo "$ac_try_echo") >&5
10493
 
   (eval "$ac_link") 2>conftest.er1
10494
 
   ac_status=$?
10495
 
   grep -v '^ *+' conftest.er1 >conftest.err
10496
 
   rm -f conftest.er1
10497
 
   cat conftest.err >&5
10498
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10499
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10500
 
   (exit $ac_status); } && {
10501
 
         test -z "$ac_c_werror_flag" ||
10502
 
         test ! -s conftest.err
10503
 
-       } && test -s conftest$ac_exeext &&
10504
 
-       $as_test_x conftest$ac_exeext; then
10505
 
+       } && test -s conftest$ac_exeext && {
10506
 
+        test "$cross_compiling" = yes ||
10507
 
+        $as_test_x conftest$ac_exeext
10508
 
+       }; then
10509
 
   gt_cv_func_ngettext_libc=yes
10510
 
 else
10511
 
-  echo "$as_me: failed program was:" >&5
10512
 
+  $as_echo "$as_me: failed program was:" >&5
10513
 
 sed 's/^/| /' conftest.$ac_ext >&5
10514
 
 
10515
 
        gt_cv_func_ngettext_libc=no
10516
 
 fi
10517
 
 
10518
 
+rm -rf conftest.dSYM
10519
 
 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10520
 
       conftest$ac_exeext conftest.$ac_ext
10521
 
 
10522
 
 fi
10523
 
-{ echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
10524
 
-echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
10525
 
+{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
10526
 
+$as_echo "$gt_cv_func_ngettext_libc" >&6; }
10527
 
 
10528
 
       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
10529
 
-             { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
10530
 
-echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
10531
 
+             { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
10532
 
+$as_echo_n "checking for dgettext in libc... " >&6; }
10533
 
 if test "${gt_cv_func_dgettext_libc+set}" = set; then
10534
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
10535
 
+  $as_echo_n "(cached) " >&6
10536
 
 else
10537
 
   cat >conftest.$ac_ext <<_ACEOF
10538
 
 /* confdefs.h.  */
10539
 
@@ -4765,43 +4900,47 @@
10540
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10541
 
   *) ac_try_echo=$ac_try;;
10542
 
 esac
10543
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10544
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10545
 
+$as_echo "$ac_try_echo") >&5
10546
 
   (eval "$ac_link") 2>conftest.er1
10547
 
   ac_status=$?
10548
 
   grep -v '^ *+' conftest.er1 >conftest.err
10549
 
   rm -f conftest.er1
10550
 
   cat conftest.err >&5
10551
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10552
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10553
 
   (exit $ac_status); } && {
10554
 
         test -z "$ac_c_werror_flag" ||
10555
 
         test ! -s conftest.err
10556
 
-       } && test -s conftest$ac_exeext &&
10557
 
-       $as_test_x conftest$ac_exeext; then
10558
 
+       } && test -s conftest$ac_exeext && {
10559
 
+        test "$cross_compiling" = yes ||
10560
 
+        $as_test_x conftest$ac_exeext
10561
 
+       }; then
10562
 
   gt_cv_func_dgettext_libc=yes
10563
 
 else
10564
 
-  echo "$as_me: failed program was:" >&5
10565
 
+  $as_echo "$as_me: failed program was:" >&5
10566
 
 sed 's/^/| /' conftest.$ac_ext >&5
10567
 
 
10568
 
        gt_cv_func_dgettext_libc=no
10569
 
 fi
10570
 
 
10571
 
+rm -rf conftest.dSYM
10572
 
 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10573
 
       conftest$ac_exeext conftest.$ac_ext
10574
 
 
10575
 
 fi
10576
 
-{ echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
10577
 
-echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
10578
 
+{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
10579
 
+$as_echo "$gt_cv_func_dgettext_libc" >&6; }
10580
 
       fi
10581
 
 
10582
 
       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
10583
 
 
10584
 
 for ac_func in bind_textdomain_codeset
10585
 
 do
10586
 
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10587
 
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
10588
 
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10589
 
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10590
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10591
 
+$as_echo_n "checking for $ac_func... " >&6; }
10592
 
 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10593
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
10594
 
+  $as_echo_n "(cached) " >&6
10595
 
 else
10596
 
   cat >conftest.$ac_ext <<_ACEOF
10597
 
 /* confdefs.h.  */
10598
 
@@ -4854,35 +4993,42 @@
10599
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10600
 
   *) ac_try_echo=$ac_try;;
10601
 
 esac
10602
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10603
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10604
 
+$as_echo "$ac_try_echo") >&5
10605
 
   (eval "$ac_link") 2>conftest.er1
10606
 
   ac_status=$?
10607
 
   grep -v '^ *+' conftest.er1 >conftest.err
10608
 
   rm -f conftest.er1
10609
 
   cat conftest.err >&5
10610
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10611
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10612
 
   (exit $ac_status); } && {
10613
 
         test -z "$ac_c_werror_flag" ||
10614
 
         test ! -s conftest.err
10615
 
-       } && test -s conftest$ac_exeext &&
10616
 
-       $as_test_x conftest$ac_exeext; then
10617
 
+       } && test -s conftest$ac_exeext && {
10618
 
+        test "$cross_compiling" = yes ||
10619
 
+        $as_test_x conftest$ac_exeext
10620
 
+       }; then
10621
 
   eval "$as_ac_var=yes"
10622
 
 else
10623
 
-  echo "$as_me: failed program was:" >&5
10624
 
+  $as_echo "$as_me: failed program was:" >&5
10625
 
 sed 's/^/| /' conftest.$ac_ext >&5
10626
 
 
10627
 
        eval "$as_ac_var=no"
10628
 
 fi
10629
 
 
10630
 
+rm -rf conftest.dSYM
10631
 
 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10632
 
       conftest$ac_exeext conftest.$ac_ext
10633
 
 fi
10634
 
-ac_res=`eval echo '${'$as_ac_var'}'`
10635
 
-              { echo "$as_me:$LINENO: result: $ac_res" >&5
10636
 
-echo "${ECHO_T}$ac_res" >&6; }
10637
 
-if test `eval echo '${'$as_ac_var'}'` = yes; then
10638
 
+ac_res=`eval 'as_val=${'$as_ac_var'}
10639
 
+                $as_echo "$as_val"'`
10640
 
+              { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10641
 
+$as_echo "$ac_res" >&6; }
10642
 
+as_val=`eval 'as_val=${'$as_ac_var'}
10643
 
+                $as_echo "$as_val"'`
10644
 
+   if test "x$as_val" = x""yes; then
10645
 
   cat >>confdefs.h <<_ACEOF
10646
 
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10647
 
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10648
 
 _ACEOF
10649
 
 
10650
 
 fi
10651
 
@@ -4897,10 +5043,10 @@
10652
 
         || test "$gt_cv_func_ngettext_libc" != "yes" \
10653
 
          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
10654
 
 
10655
 
-        { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
10656
 
-echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
10657
 
+        { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
10658
 
+$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
10659
 
 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
10660
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
10661
 
+  $as_echo_n "(cached) " >&6
10662
 
 else
10663
 
   ac_check_lib_save_LIBS=$LIBS
10664
 
 LIBS="-lintl  $LIBS"
10665
 
@@ -4932,37 +5078,41 @@
10666
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10667
 
   *) ac_try_echo=$ac_try;;
10668
 
 esac
10669
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10670
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10671
 
+$as_echo "$ac_try_echo") >&5
10672
 
   (eval "$ac_link") 2>conftest.er1
10673
 
   ac_status=$?
10674
 
   grep -v '^ *+' conftest.er1 >conftest.err
10675
 
   rm -f conftest.er1
10676
 
   cat conftest.err >&5
10677
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10678
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10679
 
   (exit $ac_status); } && {
10680
 
         test -z "$ac_c_werror_flag" ||
10681
 
         test ! -s conftest.err
10682
 
-       } && test -s conftest$ac_exeext &&
10683
 
-       $as_test_x conftest$ac_exeext; then
10684
 
+       } && test -s conftest$ac_exeext && {
10685
 
+        test "$cross_compiling" = yes ||
10686
 
+        $as_test_x conftest$ac_exeext
10687
 
+       }; then
10688
 
   ac_cv_lib_intl_bindtextdomain=yes
10689
 
 else
10690
 
-  echo "$as_me: failed program was:" >&5
10691
 
+  $as_echo "$as_me: failed program was:" >&5
10692
 
 sed 's/^/| /' conftest.$ac_ext >&5
10693
 
 
10694
 
        ac_cv_lib_intl_bindtextdomain=no
10695
 
 fi
10696
 
 
10697
 
+rm -rf conftest.dSYM
10698
 
 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10699
 
       conftest$ac_exeext conftest.$ac_ext
10700
 
 LIBS=$ac_check_lib_save_LIBS
10701
 
 fi
10702
 
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
10703
 
-echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
10704
 
-if test $ac_cv_lib_intl_bindtextdomain = yes; then
10705
 
-  { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
10706
 
-echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
10707
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
10708
 
+$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
10709
 
+if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
10710
 
+  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
10711
 
+$as_echo_n "checking for ngettext in -lintl... " >&6; }
10712
 
 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
10713
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
10714
 
+  $as_echo_n "(cached) " >&6
10715
 
 else
10716
 
   ac_check_lib_save_LIBS=$LIBS
10717
 
 LIBS="-lintl  $LIBS"
10718
 
@@ -4994,37 +5144,41 @@
10719
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10720
 
   *) ac_try_echo=$ac_try;;
10721
 
 esac
10722
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10723
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10724
 
+$as_echo "$ac_try_echo") >&5
10725
 
   (eval "$ac_link") 2>conftest.er1
10726
 
   ac_status=$?
10727
 
   grep -v '^ *+' conftest.er1 >conftest.err
10728
 
   rm -f conftest.er1
10729
 
   cat conftest.err >&5
10730
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10731
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10732
 
   (exit $ac_status); } && {
10733
 
         test -z "$ac_c_werror_flag" ||
10734
 
         test ! -s conftest.err
10735
 
-       } && test -s conftest$ac_exeext &&
10736
 
-       $as_test_x conftest$ac_exeext; then
10737
 
+       } && test -s conftest$ac_exeext && {
10738
 
+        test "$cross_compiling" = yes ||
10739
 
+        $as_test_x conftest$ac_exeext
10740
 
+       }; then
10741
 
   ac_cv_lib_intl_ngettext=yes
10742
 
 else
10743
 
-  echo "$as_me: failed program was:" >&5
10744
 
+  $as_echo "$as_me: failed program was:" >&5
10745
 
 sed 's/^/| /' conftest.$ac_ext >&5
10746
 
 
10747
 
        ac_cv_lib_intl_ngettext=no
10748
 
 fi
10749
 
 
10750
 
+rm -rf conftest.dSYM
10751
 
 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10752
 
       conftest$ac_exeext conftest.$ac_ext
10753
 
 LIBS=$ac_check_lib_save_LIBS
10754
 
 fi
10755
 
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
10756
 
-echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
10757
 
-if test $ac_cv_lib_intl_ngettext = yes; then
10758
 
-  { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
10759
 
-echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
10760
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
10761
 
+$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
10762
 
+if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
10763
 
+  { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
10764
 
+$as_echo_n "checking for dgettext in -lintl... " >&6; }
10765
 
 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
10766
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
10767
 
+  $as_echo_n "(cached) " >&6
10768
 
 else
10769
 
   ac_check_lib_save_LIBS=$LIBS
10770
 
 LIBS="-lintl  $LIBS"
10771
 
@@ -5056,33 +5210,37 @@
10772
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10773
 
   *) ac_try_echo=$ac_try;;
10774
 
 esac
10775
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10776
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10777
 
+$as_echo "$ac_try_echo") >&5
10778
 
   (eval "$ac_link") 2>conftest.er1
10779
 
   ac_status=$?
10780
 
   grep -v '^ *+' conftest.er1 >conftest.err
10781
 
   rm -f conftest.er1
10782
 
   cat conftest.err >&5
10783
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10785
 
   (exit $ac_status); } && {
10786
 
         test -z "$ac_c_werror_flag" ||
10787
 
         test ! -s conftest.err
10788
 
-       } && test -s conftest$ac_exeext &&
10789
 
-       $as_test_x conftest$ac_exeext; then
10790
 
+       } && test -s conftest$ac_exeext && {
10791
 
+        test "$cross_compiling" = yes ||
10792
 
+        $as_test_x conftest$ac_exeext
10793
 
+       }; then
10794
 
   ac_cv_lib_intl_dgettext=yes
10795
 
 else
10796
 
-  echo "$as_me: failed program was:" >&5
10797
 
+  $as_echo "$as_me: failed program was:" >&5
10798
 
 sed 's/^/| /' conftest.$ac_ext >&5
10799
 
 
10800
 
        ac_cv_lib_intl_dgettext=no
10801
 
 fi
10802
 
 
10803
 
+rm -rf conftest.dSYM
10804
 
 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10805
 
       conftest$ac_exeext conftest.$ac_ext
10806
 
 LIBS=$ac_check_lib_save_LIBS
10807
 
 fi
10808
 
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
10809
 
-echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
10810
 
-if test $ac_cv_lib_intl_dgettext = yes; then
10811
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
10812
 
+$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
10813
 
+if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
10814
 
   gt_cv_func_dgettext_libintl=yes
10815
 
 fi
10816
 
 
10817
 
@@ -5092,14 +5250,14 @@
10818
 
 
10819
 
 
10820
 
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
10821
 
-         { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
10822
 
-echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
10823
 
-         { echo "$as_me:$LINENO: result: " >&5
10824
 
-echo "${ECHO_T}" >&6; }
10825
 
-         { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
10826
 
-echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
10827
 
+         { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
10828
 
+$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
10829
 
+         { $as_echo "$as_me:$LINENO: result: " >&5
10830
 
+$as_echo "" >&6; }
10831
 
+         { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
10832
 
+$as_echo_n "checking for ngettext in -lintl... " >&6; }
10833
 
 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
10834
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
10835
 
+  $as_echo_n "(cached) " >&6
10836
 
 else
10837
 
   ac_check_lib_save_LIBS=$LIBS
10838
 
 LIBS="-lintl -liconv $LIBS"
10839
 
@@ -5131,37 +5289,41 @@
10840
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10841
 
   *) ac_try_echo=$ac_try;;
10842
 
 esac
10843
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10844
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10845
 
+$as_echo "$ac_try_echo") >&5
10846
 
   (eval "$ac_link") 2>conftest.er1
10847
 
   ac_status=$?
10848
 
   grep -v '^ *+' conftest.er1 >conftest.err
10849
 
   rm -f conftest.er1
10850
 
   cat conftest.err >&5
10851
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10852
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10853
 
   (exit $ac_status); } && {
10854
 
         test -z "$ac_c_werror_flag" ||
10855
 
         test ! -s conftest.err
10856
 
-       } && test -s conftest$ac_exeext &&
10857
 
-       $as_test_x conftest$ac_exeext; then
10858
 
+       } && test -s conftest$ac_exeext && {
10859
 
+        test "$cross_compiling" = yes ||
10860
 
+        $as_test_x conftest$ac_exeext
10861
 
+       }; then
10862
 
   ac_cv_lib_intl_ngettext=yes
10863
 
 else
10864
 
-  echo "$as_me: failed program was:" >&5
10865
 
+  $as_echo "$as_me: failed program was:" >&5
10866
 
 sed 's/^/| /' conftest.$ac_ext >&5
10867
 
 
10868
 
        ac_cv_lib_intl_ngettext=no
10869
 
 fi
10870
 
 
10871
 
+rm -rf conftest.dSYM
10872
 
 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10873
 
       conftest$ac_exeext conftest.$ac_ext
10874
 
 LIBS=$ac_check_lib_save_LIBS
10875
 
 fi
10876
 
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
10877
 
-echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
10878
 
-if test $ac_cv_lib_intl_ngettext = yes; then
10879
 
-  { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
10880
 
-echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
10881
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
10882
 
+$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
10883
 
+if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
10884
 
+  { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
10885
 
+$as_echo_n "checking for dcgettext in -lintl... " >&6; }
10886
 
 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
10887
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
10888
 
+  $as_echo_n "(cached) " >&6
10889
 
 else
10890
 
   ac_check_lib_save_LIBS=$LIBS
10891
 
 LIBS="-lintl -liconv $LIBS"
10892
 
@@ -5193,33 +5355,37 @@
10893
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10894
 
   *) ac_try_echo=$ac_try;;
10895
 
 esac
10896
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10897
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10898
 
+$as_echo "$ac_try_echo") >&5
10899
 
   (eval "$ac_link") 2>conftest.er1
10900
 
   ac_status=$?
10901
 
   grep -v '^ *+' conftest.er1 >conftest.err
10902
 
   rm -f conftest.er1
10903
 
   cat conftest.err >&5
10904
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10905
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906
 
   (exit $ac_status); } && {
10907
 
         test -z "$ac_c_werror_flag" ||
10908
 
         test ! -s conftest.err
10909
 
-       } && test -s conftest$ac_exeext &&
10910
 
-       $as_test_x conftest$ac_exeext; then
10911
 
+       } && test -s conftest$ac_exeext && {
10912
 
+        test "$cross_compiling" = yes ||
10913
 
+        $as_test_x conftest$ac_exeext
10914
 
+       }; then
10915
 
   ac_cv_lib_intl_dcgettext=yes
10916
 
 else
10917
 
-  echo "$as_me: failed program was:" >&5
10918
 
+  $as_echo "$as_me: failed program was:" >&5
10919
 
 sed 's/^/| /' conftest.$ac_ext >&5
10920
 
 
10921
 
        ac_cv_lib_intl_dcgettext=no
10922
 
 fi
10923
 
 
10924
 
+rm -rf conftest.dSYM
10925
 
 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10926
 
       conftest$ac_exeext conftest.$ac_ext
10927
 
 LIBS=$ac_check_lib_save_LIBS
10928
 
 fi
10929
 
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
10930
 
-echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
10931
 
-if test $ac_cv_lib_intl_dcgettext = yes; then
10932
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
10933
 
+$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
10934
 
+if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
10935
 
   gt_cv_func_dgettext_libintl=yes
10936
 
                        libintl_extra_libs=-liconv
10937
 
 else
10938
 
@@ -5244,11 +5410,11 @@
10939
 
 
10940
 
 for ac_func in bind_textdomain_codeset
10941
 
 do
10942
 
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10943
 
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
10944
 
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10945
 
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10946
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10947
 
+$as_echo_n "checking for $ac_func... " >&6; }
10948
 
 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10949
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
10950
 
+  $as_echo_n "(cached) " >&6
10951
 
 else
10952
 
   cat >conftest.$ac_ext <<_ACEOF
10953
 
 /* confdefs.h.  */
10954
 
@@ -5301,35 +5467,42 @@
10955
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10956
 
   *) ac_try_echo=$ac_try;;
10957
 
 esac
10958
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10959
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10960
 
+$as_echo "$ac_try_echo") >&5
10961
 
   (eval "$ac_link") 2>conftest.er1
10962
 
   ac_status=$?
10963
 
   grep -v '^ *+' conftest.er1 >conftest.err
10964
 
   rm -f conftest.er1
10965
 
   cat conftest.err >&5
10966
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10968
 
   (exit $ac_status); } && {
10969
 
         test -z "$ac_c_werror_flag" ||
10970
 
         test ! -s conftest.err
10971
 
-       } && test -s conftest$ac_exeext &&
10972
 
-       $as_test_x conftest$ac_exeext; then
10973
 
+       } && test -s conftest$ac_exeext && {
10974
 
+        test "$cross_compiling" = yes ||
10975
 
+        $as_test_x conftest$ac_exeext
10976
 
+       }; then
10977
 
   eval "$as_ac_var=yes"
10978
 
 else
10979
 
-  echo "$as_me: failed program was:" >&5
10980
 
+  $as_echo "$as_me: failed program was:" >&5
10981
 
 sed 's/^/| /' conftest.$ac_ext >&5
10982
 
 
10983
 
        eval "$as_ac_var=no"
10984
 
 fi
10985
 
 
10986
 
+rm -rf conftest.dSYM
10987
 
 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10988
 
       conftest$ac_exeext conftest.$ac_ext
10989
 
 fi
10990
 
-ac_res=`eval echo '${'$as_ac_var'}'`
10991
 
-              { echo "$as_me:$LINENO: result: $ac_res" >&5
10992
 
-echo "${ECHO_T}$ac_res" >&6; }
10993
 
-if test `eval echo '${'$as_ac_var'}'` = yes; then
10994
 
+ac_res=`eval 'as_val=${'$as_ac_var'}
10995
 
+                $as_echo "$as_val"'`
10996
 
+              { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10997
 
+$as_echo "$ac_res" >&6; }
10998
 
+as_val=`eval 'as_val=${'$as_ac_var'}
10999
 
+                $as_echo "$as_val"'`
11000
 
+   if test "x$as_val" = x""yes; then
11001
 
   cat >>confdefs.h <<_ACEOF
11002
 
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11003
 
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11004
 
 _ACEOF
11005
 
 
11006
 
 fi
11007
 
@@ -5365,10 +5538,10 @@
11008
 
 
11009
 
        # Extract the first word of "msgfmt", so it can be a program name with args.
11010
 
 set dummy msgfmt; ac_word=$2
11011
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11012
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11013
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11014
 
+$as_echo_n "checking for $ac_word... " >&6; }
11015
 
 if test "${ac_cv_path_MSGFMT+set}" = set; then
11016
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
11017
 
+  $as_echo_n "(cached) " >&6
11018
 
 else
11019
 
   case "$MSGFMT" in
11020
 
   /*)
11021
 
@@ -5392,11 +5565,11 @@
11022
 
 fi
11023
 
 MSGFMT="$ac_cv_path_MSGFMT"
11024
 
 if test "$MSGFMT" != "no"; then
11025
 
-  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
11026
 
-echo "${ECHO_T}$MSGFMT" >&6; }
11027
 
+  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
11028
 
+$as_echo "$MSGFMT" >&6; }
11029
 
 else
11030
 
-  { echo "$as_me:$LINENO: result: no" >&5
11031
 
-echo "${ECHO_T}no" >&6; }
11032
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
11033
 
+$as_echo "no" >&6; }
11034
 
 fi
11035
 
        if test "$MSGFMT" != "no"; then
11036
 
           glib_save_LIBS="$LIBS"
11037
 
@@ -5404,11 +5577,11 @@
11038
 
 
11039
 
 for ac_func in dcgettext
11040
 
 do
11041
 
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11042
 
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
11043
 
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11044
 
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11045
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11046
 
+$as_echo_n "checking for $ac_func... " >&6; }
11047
 
 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11048
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
11049
 
+  $as_echo_n "(cached) " >&6
11050
 
 else
11051
 
   cat >conftest.$ac_ext <<_ACEOF
11052
 
 /* confdefs.h.  */
11053
 
@@ -5461,43 +5634,50 @@
11054
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11055
 
   *) ac_try_echo=$ac_try;;
11056
 
 esac
11057
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11058
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11059
 
+$as_echo "$ac_try_echo") >&5
11060
 
   (eval "$ac_link") 2>conftest.er1
11061
 
   ac_status=$?
11062
 
   grep -v '^ *+' conftest.er1 >conftest.err
11063
 
   rm -f conftest.er1
11064
 
   cat conftest.err >&5
11065
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11067
 
   (exit $ac_status); } && {
11068
 
         test -z "$ac_c_werror_flag" ||
11069
 
         test ! -s conftest.err
11070
 
-       } && test -s conftest$ac_exeext &&
11071
 
-       $as_test_x conftest$ac_exeext; then
11072
 
+       } && test -s conftest$ac_exeext && {
11073
 
+        test "$cross_compiling" = yes ||
11074
 
+        $as_test_x conftest$ac_exeext
11075
 
+       }; then
11076
 
   eval "$as_ac_var=yes"
11077
 
 else
11078
 
-  echo "$as_me: failed program was:" >&5
11079
 
+  $as_echo "$as_me: failed program was:" >&5
11080
 
 sed 's/^/| /' conftest.$ac_ext >&5
11081
 
 
11082
 
        eval "$as_ac_var=no"
11083
 
 fi
11084
 
 
11085
 
+rm -rf conftest.dSYM
11086
 
 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11087
 
       conftest$ac_exeext conftest.$ac_ext
11088
 
 fi
11089
 
-ac_res=`eval echo '${'$as_ac_var'}'`
11090
 
-              { echo "$as_me:$LINENO: result: $ac_res" >&5
11091
 
-echo "${ECHO_T}$ac_res" >&6; }
11092
 
-if test `eval echo '${'$as_ac_var'}'` = yes; then
11093
 
+ac_res=`eval 'as_val=${'$as_ac_var'}
11094
 
+                $as_echo "$as_val"'`
11095
 
+              { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11096
 
+$as_echo "$ac_res" >&6; }
11097
 
+as_val=`eval 'as_val=${'$as_ac_var'}
11098
 
+                $as_echo "$as_val"'`
11099
 
+   if test "x$as_val" = x""yes; then
11100
 
   cat >>confdefs.h <<_ACEOF
11101
 
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11102
 
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11103
 
 _ACEOF
11104
 
 
11105
 
 fi
11106
 
 done
11107
 
 
11108
 
          MSGFMT_OPTS=
11109
 
-         { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
11110
 
-echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
11111
 
+         { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
11112
 
+$as_echo_n "checking if msgfmt accepts -c... " >&6; }
11113
 
          cat >conftest.foo <<_ACEOF
11114
 
 
11115
 
 msgid ""
11116
 
@@ -5511,25 +5691,25 @@
11117
 
 "Content-Transfer-Encoding: 8bit\n"
11118
 
 
11119
 
 _ACEOF
11120
 
-if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
11121
 
+if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
11122
 
   ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
11123
 
   ac_status=$?
11124
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11126
 
   (exit $ac_status); }; then
11127
 
-  MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
11128
 
-echo "${ECHO_T}yes" >&6; }
11129
 
-else { echo "$as_me:$LINENO: result: no" >&5
11130
 
-echo "${ECHO_T}no" >&6; }
11131
 
+  MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
11132
 
+$as_echo "yes" >&6; }
11133
 
+else { $as_echo "$as_me:$LINENO: result: no" >&5
11134
 
+$as_echo "no" >&6; }
11135
 
 echo "$as_me: failed input was:" >&5
11136
 
 sed 's/^/| /' conftest.foo >&5
11137
 
 fi
11138
 
 
11139
 
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
11140
 
 set dummy gmsgfmt; ac_word=$2
11141
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11142
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11143
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11144
 
+$as_echo_n "checking for $ac_word... " >&6; }
11145
 
 if test "${ac_cv_path_GMSGFMT+set}" = set; then
11146
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
11147
 
+  $as_echo_n "(cached) " >&6
11148
 
 else
11149
 
   case $GMSGFMT in
11150
 
   [\\/]* | ?:[\\/]*)
11151
 
@@ -5544,7 +5724,7 @@
11152
 
   for ac_exec_ext in '' $ac_executable_extensions; do
11153
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11154
 
     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11155
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11156
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11157
 
     break 2
11158
 
   fi
11159
 
 done
11160
 
@@ -5557,20 +5737,20 @@
11161
 
 fi
11162
 
 GMSGFMT=$ac_cv_path_GMSGFMT
11163
 
 if test -n "$GMSGFMT"; then
11164
 
-  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
11165
 
-echo "${ECHO_T}$GMSGFMT" >&6; }
11166
 
+  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
11167
 
+$as_echo "$GMSGFMT" >&6; }
11168
 
 else
11169
 
-  { echo "$as_me:$LINENO: result: no" >&5
11170
 
-echo "${ECHO_T}no" >&6; }
11171
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
11172
 
+$as_echo "no" >&6; }
11173
 
 fi
11174
 
 
11175
 
 
11176
 
          # Extract the first word of "xgettext", so it can be a program name with args.
11177
 
 set dummy xgettext; ac_word=$2
11178
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11179
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11180
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11181
 
+$as_echo_n "checking for $ac_word... " >&6; }
11182
 
 if test "${ac_cv_path_XGETTEXT+set}" = set; then
11183
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
11184
 
+  $as_echo_n "(cached) " >&6
11185
 
 else
11186
 
   case "$XGETTEXT" in
11187
 
   /*)
11188
 
@@ -5594,11 +5774,11 @@
11189
 
 fi
11190
 
 XGETTEXT="$ac_cv_path_XGETTEXT"
11191
 
 if test "$XGETTEXT" != ":"; then
11192
 
-  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
11193
 
-echo "${ECHO_T}$XGETTEXT" >&6; }
11194
 
+  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
11195
 
+$as_echo "$XGETTEXT" >&6; }
11196
 
 else
11197
 
-  { echo "$as_me:$LINENO: result: no" >&5
11198
 
-echo "${ECHO_T}no" >&6; }
11199
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
11200
 
+$as_echo "no" >&6; }
11201
 
 fi
11202
 
 
11203
 
          cat >conftest.$ac_ext <<_ACEOF
11204
 
@@ -5623,30 +5803,33 @@
11205
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11206
 
   *) ac_try_echo=$ac_try;;
11207
 
 esac
11208
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11209
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11210
 
+$as_echo "$ac_try_echo") >&5
11211
 
   (eval "$ac_link") 2>conftest.er1
11212
 
   ac_status=$?
11213
 
   grep -v '^ *+' conftest.er1 >conftest.err
11214
 
   rm -f conftest.er1
11215
 
   cat conftest.err >&5
11216
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11217
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11218
 
   (exit $ac_status); } && {
11219
 
         test -z "$ac_c_werror_flag" ||
11220
 
         test ! -s conftest.err
11221
 
-       } && test -s conftest$ac_exeext &&
11222
 
-       $as_test_x conftest$ac_exeext; then
11223
 
+       } && test -s conftest$ac_exeext && {
11224
 
+        test "$cross_compiling" = yes ||
11225
 
+        $as_test_x conftest$ac_exeext
11226
 
+       }; then
11227
 
   CATOBJEXT=.gmo
11228
 
              DATADIRNAME=share
11229
 
 else
11230
 
-  echo "$as_me: failed program was:" >&5
11231
 
+  $as_echo "$as_me: failed program was:" >&5
11232
 
 sed 's/^/| /' conftest.$ac_ext >&5
11233
 
 
11234
 
        case $host in
11235
 
            *-*-solaris*)
11236
 
-                                                               { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
11237
 
-echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
11238
 
+                                                               { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
11239
 
+$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
11240
 
 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
11241
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
11242
 
+  $as_echo_n "(cached) " >&6
11243
 
 else
11244
 
   cat >conftest.$ac_ext <<_ACEOF
11245
 
 /* confdefs.h.  */
11246
 
@@ -5699,32 +5882,36 @@
11247
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11248
 
   *) ac_try_echo=$ac_try;;
11249
 
 esac
11250
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11251
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11252
 
+$as_echo "$ac_try_echo") >&5
11253
 
   (eval "$ac_link") 2>conftest.er1
11254
 
   ac_status=$?
11255
 
   grep -v '^ *+' conftest.er1 >conftest.err
11256
 
   rm -f conftest.er1
11257
 
   cat conftest.err >&5
11258
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11259
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11260
 
   (exit $ac_status); } && {
11261
 
         test -z "$ac_c_werror_flag" ||
11262
 
         test ! -s conftest.err
11263
 
-       } && test -s conftest$ac_exeext &&
11264
 
-       $as_test_x conftest$ac_exeext; then
11265
 
+       } && test -s conftest$ac_exeext && {
11266
 
+        test "$cross_compiling" = yes ||
11267
 
+        $as_test_x conftest$ac_exeext
11268
 
+       }; then
11269
 
   ac_cv_func_bind_textdomain_codeset=yes
11270
 
 else
11271
 
-  echo "$as_me: failed program was:" >&5
11272
 
+  $as_echo "$as_me: failed program was:" >&5
11273
 
 sed 's/^/| /' conftest.$ac_ext >&5
11274
 
 
11275
 
        ac_cv_func_bind_textdomain_codeset=no
11276
 
 fi
11277
 
 
11278
 
+rm -rf conftest.dSYM
11279
 
 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11280
 
       conftest$ac_exeext conftest.$ac_ext
11281
 
 fi
11282
 
-{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
11283
 
-echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
11284
 
-if test $ac_cv_func_bind_textdomain_codeset = yes; then
11285
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
11286
 
+$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
11287
 
+if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
11288
 
   CATOBJEXT=.gmo
11289
 
                DATADIRNAME=share
11290
 
 else
11291
 
@@ -5740,6 +5927,7 @@
11292
 
            esac
11293
 
 fi
11294
 
 
11295
 
+rm -rf conftest.dSYM
11296
 
 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11297
 
       conftest$ac_exeext conftest.$ac_ext
11298
 
           LIBS="$glib_save_LIBS"
11299
 
@@ -5765,8 +5953,8 @@
11300
 
                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
11301
 
         : ;
11302
 
       else
11303
 
-        { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
11304
 
-echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
11305
 
+        { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
11306
 
+$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
11307
 
         XGETTEXT=":"
11308
 
       fi
11309
 
     fi
11310
 
@@ -5798,8 +5986,8 @@
11311
 
      if test "x$ALL_LINGUAS" = "x"; then
11312
 
        LINGUAS=
11313
 
      else
11314
 
-       { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
11315
 
-echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
11316
 
+       { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
11317
 
+$as_echo_n "checking for catalogs to be installed... " >&6; }
11318
 
        NEW_LINGUAS=
11319
 
        for presentlang in $ALL_LINGUAS; do
11320
 
          useit=no
11321
 
@@ -5823,8 +6011,8 @@
11322
 
          fi
11323
 
        done
11324
 
        LINGUAS=$NEW_LINGUAS
11325
 
-       { echo "$as_me:$LINENO: result: $LINGUAS" >&5
11326
 
-echo "${ECHO_T}$LINGUAS" >&6; }
11327
 
+       { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
11328
 
+$as_echo "$LINGUAS" >&6; }
11329
 
      fi
11330
 
 
11331
 
           if test -n "$LINGUAS"; then
11332
 
@@ -5858,10 +6046,10 @@
11333
 
 
11334
 
 
11335
 
 # Standard C and C++ compiler mojo
11336
 
-{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
11337
 
-echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
11338
 
+{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
11339
 
+$as_echo_n "checking for library containing strerror... " >&6; }
11340
 
 if test "${ac_cv_search_strerror+set}" = set; then
11341
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
11342
 
+  $as_echo_n "(cached) " >&6
11343
 
 else
11344
 
   ac_func_search_save_LIBS=$LIBS
11345
 
 cat >conftest.$ac_ext <<_ACEOF
11346
 
@@ -5899,26 +6087,30 @@
11347
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11348
 
   *) ac_try_echo=$ac_try;;
11349
 
 esac
11350
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11351
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11352
 
+$as_echo "$ac_try_echo") >&5
11353
 
   (eval "$ac_link") 2>conftest.er1
11354
 
   ac_status=$?
11355
 
   grep -v '^ *+' conftest.er1 >conftest.err
11356
 
   rm -f conftest.er1
11357
 
   cat conftest.err >&5
11358
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11359
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360
 
   (exit $ac_status); } && {
11361
 
         test -z "$ac_c_werror_flag" ||
11362
 
         test ! -s conftest.err
11363
 
-       } && test -s conftest$ac_exeext &&
11364
 
-       $as_test_x conftest$ac_exeext; then
11365
 
+       } && test -s conftest$ac_exeext && {
11366
 
+        test "$cross_compiling" = yes ||
11367
 
+        $as_test_x conftest$ac_exeext
11368
 
+       }; then
11369
 
   ac_cv_search_strerror=$ac_res
11370
 
 else
11371
 
-  echo "$as_me: failed program was:" >&5
11372
 
+  $as_echo "$as_me: failed program was:" >&5
11373
 
 sed 's/^/| /' conftest.$ac_ext >&5
11374
 
 
11375
 
 
11376
 
 fi
11377
 
 
11378
 
+rm -rf conftest.dSYM
11379
 
 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11380
 
       conftest$ac_exeext
11381
 
   if test "${ac_cv_search_strerror+set}" = set; then
11382
 
@@ -5933,8 +6125,8 @@
11383
 
 rm conftest.$ac_ext
11384
 
 LIBS=$ac_func_search_save_LIBS
11385
 
 fi
11386
 
-{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
11387
 
-echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
11388
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
11389
 
+$as_echo "$ac_cv_search_strerror" >&6; }
11390
 
 ac_res=$ac_cv_search_strerror
11391
 
 if test "$ac_res" != no; then
11392
 
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11393
 
@@ -5942,16 +6134,16 @@
11394
 
 fi
11395
 
 
11396
 
 if test "x$CC" != xcc; then
11397
 
-  { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
11398
 
-echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
11399
 
+  { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
11400
 
+$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11401
 
 else
11402
 
-  { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
11403
 
-echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
11404
 
+  { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
11405
 
+$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11406
 
 fi
11407
 
-set dummy $CC; ac_cc=`echo $2 |
11408
 
+set dummy $CC; ac_cc=`$as_echo "$2" |
11409
 
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11410
 
 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
11411
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
11412
 
+  $as_echo_n "(cached) " >&6
11413
 
 else
11414
 
   cat >conftest.$ac_ext <<_ACEOF
11415
 
 /* confdefs.h.  */
11416
 
@@ -5977,19 +6169,21 @@
11417
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11418
 
   *) ac_try_echo=$ac_try;;
11419
 
 esac
11420
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11421
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11422
 
+$as_echo "$ac_try_echo") >&5
11423
 
   (eval "$ac_try") 2>&5
11424
 
   ac_status=$?
11425
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11426
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11427
 
   (exit $ac_status); } &&
11428
 
    test -f conftest2.$ac_objext && { (case "(($ac_try" in
11429
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11430
 
   *) ac_try_echo=$ac_try;;
11431
 
 esac
11432
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11433
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11434
 
+$as_echo "$ac_try_echo") >&5
11435
 
   (eval "$ac_try") 2>&5
11436
 
   ac_status=$?
11437
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11438
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11439
 
   (exit $ac_status); };
11440
 
 then
11441
 
   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11442
 
@@ -6000,10 +6194,11 @@
11443
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11444
 
   *) ac_try_echo=$ac_try;;
11445
 
 esac
11446
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11447
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11448
 
+$as_echo "$ac_try_echo") >&5
11449
 
   (eval "$ac_try") 2>&5
11450
 
   ac_status=$?
11451
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11452
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453
 
   (exit $ac_status); }; }; then
11454
 
       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11455
 
       rm -f conftest2.*
11456
 
@@ -6011,19 +6206,21 @@
11457
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11458
 
   *) ac_try_echo=$ac_try;;
11459
 
 esac
11460
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11461
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11462
 
+$as_echo "$ac_try_echo") >&5
11463
 
   (eval "$ac_try") 2>&5
11464
 
   ac_status=$?
11465
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11466
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11467
 
   (exit $ac_status); } &&
11468
 
         test -f conftest2.$ac_objext && { (case "(($ac_try" in
11469
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11470
 
   *) ac_try_echo=$ac_try;;
11471
 
 esac
11472
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11473
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11474
 
+$as_echo "$ac_try_echo") >&5
11475
 
   (eval "$ac_try") 2>&5
11476
 
   ac_status=$?
11477
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11479
 
   (exit $ac_status); };
11480
 
       then
11481
 
        # cc works too.
11482
 
@@ -6041,11 +6238,11 @@
11483
 
 
11484
 
 fi
11485
 
 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11486
 
-  { echo "$as_me:$LINENO: result: yes" >&5
11487
 
-echo "${ECHO_T}yes" >&6; }
11488
 
+  { $as_echo "$as_me:$LINENO: result: yes" >&5
11489
 
+$as_echo "yes" >&6; }
11490
 
 else
11491
 
-  { echo "$as_me:$LINENO: result: no" >&5
11492
 
-echo "${ECHO_T}no" >&6; }
11493
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
11494
 
+$as_echo "no" >&6; }
11495
 
 
11496
 
 cat >>confdefs.h <<\_ACEOF
11497
 
 #define NO_MINUS_C_MINUS_O 1
11498
 
@@ -6056,8 +6253,9 @@
11499
 
 # FIXME: we rely on the cache variable name because
11500
 
 # there is no other way.
11501
 
 set dummy $CC
11502
 
-ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11503
 
-if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
11504
 
+am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11505
 
+eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11506
 
+if test "$am_t" != yes; then
11507
 
    # Losing compiler, so override with the script.
11508
 
    # FIXME: It is wrong to rewrite CC.
11509
 
    # But if we don't then we get into trouble of one sort or another.
11510
 
@@ -6067,10 +6265,10 @@
11511
 
 fi
11512
 
 
11513
 
 
11514
 
-{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11515
 
-echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
11516
 
+{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11517
 
+$as_echo_n "checking for ANSI C header files... " >&6; }
11518
 
 if test "${ac_cv_header_stdc+set}" = set; then
11519
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
11520
 
+  $as_echo_n "(cached) " >&6
11521
 
 else
11522
 
   cat >conftest.$ac_ext <<_ACEOF
11523
 
 /* confdefs.h.  */
11524
 
@@ -6097,20 +6295,21 @@
11525
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11526
 
   *) ac_try_echo=$ac_try;;
11527
 
 esac
11528
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11529
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11530
 
+$as_echo "$ac_try_echo") >&5
11531
 
   (eval "$ac_compile") 2>conftest.er1
11532
 
   ac_status=$?
11533
 
   grep -v '^ *+' conftest.er1 >conftest.err
11534
 
   rm -f conftest.er1
11535
 
   cat conftest.err >&5
11536
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11537
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11538
 
   (exit $ac_status); } && {
11539
 
         test -z "$ac_c_werror_flag" ||
11540
 
         test ! -s conftest.err
11541
 
        } && test -s conftest.$ac_objext; then
11542
 
   ac_cv_header_stdc=yes
11543
 
 else
11544
 
-  echo "$as_me: failed program was:" >&5
11545
 
+  $as_echo "$as_me: failed program was:" >&5
11546
 
 sed 's/^/| /' conftest.$ac_ext >&5
11547
 
 
11548
 
        ac_cv_header_stdc=no
11549
 
@@ -6202,37 +6401,40 @@
11550
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11551
 
   *) ac_try_echo=$ac_try;;
11552
 
 esac
11553
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11554
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11555
 
+$as_echo "$ac_try_echo") >&5
11556
 
   (eval "$ac_link") 2>&5
11557
 
   ac_status=$?
11558
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11559
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11560
 
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11561
 
   { (case "(($ac_try" in
11562
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11563
 
   *) ac_try_echo=$ac_try;;
11564
 
 esac
11565
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11566
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11567
 
+$as_echo "$ac_try_echo") >&5
11568
 
   (eval "$ac_try") 2>&5
11569
 
   ac_status=$?
11570
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11572
 
   (exit $ac_status); }; }; then
11573
 
   :
11574
 
 else
11575
 
-  echo "$as_me: program exited with status $ac_status" >&5
11576
 
-echo "$as_me: failed program was:" >&5
11577
 
+  $as_echo "$as_me: program exited with status $ac_status" >&5
11578
 
+$as_echo "$as_me: failed program was:" >&5
11579
 
 sed 's/^/| /' conftest.$ac_ext >&5
11580
 
 
11581
 
 ( exit $ac_status )
11582
 
 ac_cv_header_stdc=no
11583
 
 fi
11584
 
+rm -rf conftest.dSYM
11585
 
 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11586
 
 fi
11587
 
 
11588
 
 
11589
 
 fi
11590
 
 fi
11591
 
-{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11592
 
-echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
11593
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11594
 
+$as_echo "$ac_cv_header_stdc" >&6; }
11595
 
 if test $ac_cv_header_stdc = yes; then
11596
 
 
11597
 
 cat >>confdefs.h <<\_ACEOF
11598
 
@@ -6255,10 +6457,10 @@
11599
 
   do
11600
 
     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11601
 
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11602
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11603
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11604
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11605
 
+$as_echo_n "checking for $ac_word... " >&6; }
11606
 
 if test "${ac_cv_prog_CXX+set}" = set; then
11607
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
11608
 
+  $as_echo_n "(cached) " >&6
11609
 
 else
11610
 
   if test -n "$CXX"; then
11611
 
   ac_cv_prog_CXX="$CXX" # Let the user override the test.
11612
 
@@ -6271,7 +6473,7 @@
11613
 
   for ac_exec_ext in '' $ac_executable_extensions; do
11614
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11615
 
     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11616
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11617
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11618
 
     break 2
11619
 
   fi
11620
 
 done
11621
 
@@ -6282,11 +6484,11 @@
11622
 
 fi
11623
 
 CXX=$ac_cv_prog_CXX
11624
 
 if test -n "$CXX"; then
11625
 
-  { echo "$as_me:$LINENO: result: $CXX" >&5
11626
 
-echo "${ECHO_T}$CXX" >&6; }
11627
 
+  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
11628
 
+$as_echo "$CXX" >&6; }
11629
 
 else
11630
 
-  { echo "$as_me:$LINENO: result: no" >&5
11631
 
-echo "${ECHO_T}no" >&6; }
11632
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
11633
 
+$as_echo "no" >&6; }
11634
 
 fi
11635
 
 
11636
 
 
11637
 
@@ -6299,10 +6501,10 @@
11638
 
 do
11639
 
   # Extract the first word of "$ac_prog", so it can be a program name with args.
11640
 
 set dummy $ac_prog; ac_word=$2
11641
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11642
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11643
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11644
 
+$as_echo_n "checking for $ac_word... " >&6; }
11645
 
 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11646
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
11647
 
+  $as_echo_n "(cached) " >&6
11648
 
 else
11649
 
   if test -n "$ac_ct_CXX"; then
11650
 
   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11651
 
@@ -6315,7 +6517,7 @@
11652
 
   for ac_exec_ext in '' $ac_executable_extensions; do
11653
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11654
 
     ac_cv_prog_ac_ct_CXX="$ac_prog"
11655
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11656
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11657
 
     break 2
11658
 
   fi
11659
 
 done
11660
 
@@ -6326,11 +6528,11 @@
11661
 
 fi
11662
 
 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11663
 
 if test -n "$ac_ct_CXX"; then
11664
 
-  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11665
 
-echo "${ECHO_T}$ac_ct_CXX" >&6; }
11666
 
+  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11667
 
+$as_echo "$ac_ct_CXX" >&6; }
11668
 
 else
11669
 
-  { echo "$as_me:$LINENO: result: no" >&5
11670
 
-echo "${ECHO_T}no" >&6; }
11671
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
11672
 
+$as_echo "no" >&6; }
11673
 
 fi
11674
 
 
11675
 
 
11676
 
@@ -6342,12 +6544,8 @@
11677
 
   else
11678
 
     case $cross_compiling:$ac_tool_warned in
11679
 
 yes:)
11680
 
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11681
 
-whose name does not start with the host triplet.  If you think this
11682
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
11683
 
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11684
 
-whose name does not start with the host triplet.  If you think this
11685
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11686
 
+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11687
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11688
 
 ac_tool_warned=yes ;;
11689
 
 esac
11690
 
     CXX=$ac_ct_CXX
11691
 
@@ -6357,43 +6555,47 @@
11692
 
   fi
11693
 
 fi
11694
 
 # Provide some information about the compiler.
11695
 
-echo "$as_me:$LINENO: checking for C++ compiler version" >&5
11696
 
-ac_compiler=`set X $ac_compile; echo $2`
11697
 
+$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
11698
 
+set X $ac_compile
11699
 
+ac_compiler=$2
11700
 
 { (ac_try="$ac_compiler --version >&5"
11701
 
 case "(($ac_try" in
11702
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11703
 
   *) ac_try_echo=$ac_try;;
11704
 
 esac
11705
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11706
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11707
 
+$as_echo "$ac_try_echo") >&5
11708
 
   (eval "$ac_compiler --version >&5") 2>&5
11709
 
   ac_status=$?
11710
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11711
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11712
 
   (exit $ac_status); }
11713
 
 { (ac_try="$ac_compiler -v >&5"
11714
 
 case "(($ac_try" in
11715
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11716
 
   *) ac_try_echo=$ac_try;;
11717
 
 esac
11718
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11719
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11720
 
+$as_echo "$ac_try_echo") >&5
11721
 
   (eval "$ac_compiler -v >&5") 2>&5
11722
 
   ac_status=$?
11723
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11725
 
   (exit $ac_status); }
11726
 
 { (ac_try="$ac_compiler -V >&5"
11727
 
 case "(($ac_try" in
11728
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11729
 
   *) ac_try_echo=$ac_try;;
11730
 
 esac
11731
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11732
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11733
 
+$as_echo "$ac_try_echo") >&5
11734
 
   (eval "$ac_compiler -V >&5") 2>&5
11735
 
   ac_status=$?
11736
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738
 
   (exit $ac_status); }
11739
 
 
11740
 
-{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11741
 
-echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
11742
 
+{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11743
 
+$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11744
 
 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11745
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
11746
 
+  $as_echo_n "(cached) " >&6
11747
 
 else
11748
 
   cat >conftest.$ac_ext <<_ACEOF
11749
 
 /* confdefs.h.  */
11750
 
@@ -6419,20 +6621,21 @@
11751
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11752
 
   *) ac_try_echo=$ac_try;;
11753
 
 esac
11754
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11755
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11756
 
+$as_echo "$ac_try_echo") >&5
11757
 
   (eval "$ac_compile") 2>conftest.er1
11758
 
   ac_status=$?
11759
 
   grep -v '^ *+' conftest.er1 >conftest.err
11760
 
   rm -f conftest.er1
11761
 
   cat conftest.err >&5
11762
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11763
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764
 
   (exit $ac_status); } && {
11765
 
         test -z "$ac_cxx_werror_flag" ||
11766
 
         test ! -s conftest.err
11767
 
        } && test -s conftest.$ac_objext; then
11768
 
   ac_compiler_gnu=yes
11769
 
 else
11770
 
-  echo "$as_me: failed program was:" >&5
11771
 
+  $as_echo "$as_me: failed program was:" >&5
11772
 
 sed 's/^/| /' conftest.$ac_ext >&5
11773
 
 
11774
 
        ac_compiler_gnu=no
11775
 
@@ -6442,15 +6645,19 @@
11776
 
 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11777
 
 
11778
 
 fi
11779
 
-{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11780
 
-echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
11781
 
-GXX=`test $ac_compiler_gnu = yes && echo yes`
11782
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11783
 
+$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11784
 
+if test $ac_compiler_gnu = yes; then
11785
 
+  GXX=yes
11786
 
+else
11787
 
+  GXX=
11788
 
+fi
11789
 
 ac_test_CXXFLAGS=${CXXFLAGS+set}
11790
 
 ac_save_CXXFLAGS=$CXXFLAGS
11791
 
-{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11792
 
-echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
11793
 
+{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11794
 
+$as_echo_n "checking whether $CXX accepts -g... " >&6; }
11795
 
 if test "${ac_cv_prog_cxx_g+set}" = set; then
11796
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
11797
 
+  $as_echo_n "(cached) " >&6
11798
 
 else
11799
 
   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11800
 
    ac_cxx_werror_flag=yes
11801
 
@@ -6477,20 +6684,21 @@
11802
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11803
 
   *) ac_try_echo=$ac_try;;
11804
 
 esac
11805
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11806
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11807
 
+$as_echo "$ac_try_echo") >&5
11808
 
   (eval "$ac_compile") 2>conftest.er1
11809
 
   ac_status=$?
11810
 
   grep -v '^ *+' conftest.er1 >conftest.err
11811
 
   rm -f conftest.er1
11812
 
   cat conftest.err >&5
11813
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11814
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11815
 
   (exit $ac_status); } && {
11816
 
         test -z "$ac_cxx_werror_flag" ||
11817
 
         test ! -s conftest.err
11818
 
        } && test -s conftest.$ac_objext; then
11819
 
   ac_cv_prog_cxx_g=yes
11820
 
 else
11821
 
-  echo "$as_me: failed program was:" >&5
11822
 
+  $as_echo "$as_me: failed program was:" >&5
11823
 
 sed 's/^/| /' conftest.$ac_ext >&5
11824
 
 
11825
 
        CXXFLAGS=""
11826
 
@@ -6515,20 +6723,21 @@
11827
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11828
 
   *) ac_try_echo=$ac_try;;
11829
 
 esac
11830
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11831
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11832
 
+$as_echo "$ac_try_echo") >&5
11833
 
   (eval "$ac_compile") 2>conftest.er1
11834
 
   ac_status=$?
11835
 
   grep -v '^ *+' conftest.er1 >conftest.err
11836
 
   rm -f conftest.er1
11837
 
   cat conftest.err >&5
11838
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11839
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11840
 
   (exit $ac_status); } && {
11841
 
         test -z "$ac_cxx_werror_flag" ||
11842
 
         test ! -s conftest.err
11843
 
        } && test -s conftest.$ac_objext; then
11844
 
   :
11845
 
 else
11846
 
-  echo "$as_me: failed program was:" >&5
11847
 
+  $as_echo "$as_me: failed program was:" >&5
11848
 
 sed 's/^/| /' conftest.$ac_ext >&5
11849
 
 
11850
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11851
 
@@ -6554,20 +6763,21 @@
11852
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11853
 
   *) ac_try_echo=$ac_try;;
11854
 
 esac
11855
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11856
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11857
 
+$as_echo "$ac_try_echo") >&5
11858
 
   (eval "$ac_compile") 2>conftest.er1
11859
 
   ac_status=$?
11860
 
   grep -v '^ *+' conftest.er1 >conftest.err
11861
 
   rm -f conftest.er1
11862
 
   cat conftest.err >&5
11863
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11865
 
   (exit $ac_status); } && {
11866
 
         test -z "$ac_cxx_werror_flag" ||
11867
 
         test ! -s conftest.err
11868
 
        } && test -s conftest.$ac_objext; then
11869
 
   ac_cv_prog_cxx_g=yes
11870
 
 else
11871
 
-  echo "$as_me: failed program was:" >&5
11872
 
+  $as_echo "$as_me: failed program was:" >&5
11873
 
 sed 's/^/| /' conftest.$ac_ext >&5
11874
 
 
11875
 
 
11876
 
@@ -6582,8 +6792,8 @@
11877
 
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11878
 
    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11879
 
 fi
11880
 
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11881
 
-echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
11882
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11883
 
+$as_echo "$ac_cv_prog_cxx_g" >&6; }
11884
 
 if test "$ac_test_CXXFLAGS" = set; then
11885
 
   CXXFLAGS=$ac_save_CXXFLAGS
11886
 
 elif test $ac_cv_prog_cxx_g = yes; then
11887
 
@@ -6607,10 +6817,10 @@
11888
 
 
11889
 
 depcc="$CXX"  am_compiler_list=
11890
 
 
11891
 
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
11892
 
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
11893
 
+{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
11894
 
+$as_echo_n "checking dependency style of $depcc... " >&6; }
11895
 
 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
11896
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
11897
 
+  $as_echo_n "(cached) " >&6
11898
 
 else
11899
 
   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11900
 
   # We make a subdir and do the tests there.  Otherwise we can end up
11901
 
@@ -6698,8 +6908,8 @@
11902
 
 fi
11903
 
 
11904
 
 fi
11905
 
-{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
11906
 
-echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
11907
 
+{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
11908
 
+$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
11909
 
 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
11910
 
 
11911
 
  if
11912
 
@@ -6713,108 +6923,61 @@
11913
 
 fi
11914
 
 
11915
 
 
11916
 
-# Check whether --enable-shared was given.
11917
 
-if test "${enable_shared+set}" = set; then
11918
 
-  enableval=$enable_shared; p=${PACKAGE-default}
11919
 
-    case $enableval in
11920
 
-    yes) enable_shared=yes ;;
11921
 
-    no) enable_shared=no ;;
11922
 
-    *)
11923
 
-      enable_shared=no
11924
 
-      # Look at the argument we got.  We use all the common list separators.
11925
 
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11926
 
-      for pkg in $enableval; do
11927
 
-       IFS="$lt_save_ifs"
11928
 
-       if test "X$pkg" = "X$p"; then
11929
 
-         enable_shared=yes
11930
 
-       fi
11931
 
-      done
11932
 
-      IFS="$lt_save_ifs"
11933
 
-      ;;
11934
 
-    esac
11935
 
-else
11936
 
-  enable_shared=yes
11937
 
-fi
11938
 
+case `pwd` in
11939
 
+  *\ * | *\    *)
11940
 
+    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
11941
 
+$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
11942
 
+esac
11943
 
 
11944
 
 
11945
 
-# Check whether --enable-static was given.
11946
 
-if test "${enable_static+set}" = set; then
11947
 
-  enableval=$enable_static; p=${PACKAGE-default}
11948
 
-    case $enableval in
11949
 
-    yes) enable_static=yes ;;
11950
 
-    no) enable_static=no ;;
11951
 
-    *)
11952
 
-     enable_static=no
11953
 
-      # Look at the argument we got.  We use all the common list separators.
11954
 
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11955
 
-      for pkg in $enableval; do
11956
 
-       IFS="$lt_save_ifs"
11957
 
-       if test "X$pkg" = "X$p"; then
11958
 
-         enable_static=yes
11959
 
-       fi
11960
 
-      done
11961
 
-      IFS="$lt_save_ifs"
11962
 
-      ;;
11963
 
-    esac
11964
 
-else
11965
 
-  enable_static=yes
11966
 
-fi
11967
 
+
11968
 
+macro_version='2.2.6'
11969
 
+macro_revision='1.3012'
11970
 
+
11971
 
 
11972
 
 
11973
 
-# Check whether --enable-fast-install was given.
11974
 
-if test "${enable_fast_install+set}" = set; then
11975
 
-  enableval=$enable_fast_install; p=${PACKAGE-default}
11976
 
-    case $enableval in
11977
 
-    yes) enable_fast_install=yes ;;
11978
 
-    no) enable_fast_install=no ;;
11979
 
-    *)
11980
 
-      enable_fast_install=no
11981
 
-      # Look at the argument we got.  We use all the common list separators.
11982
 
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11983
 
-      for pkg in $enableval; do
11984
 
-       IFS="$lt_save_ifs"
11985
 
-       if test "X$pkg" = "X$p"; then
11986
 
-         enable_fast_install=yes
11987
 
-       fi
11988
 
-      done
11989
 
-      IFS="$lt_save_ifs"
11990
 
-      ;;
11991
 
-    esac
11992
 
-else
11993
 
-  enable_fast_install=yes
11994
 
-fi
11995
 
 
11996
 
 
11997
 
+
11998
 
+
11999
 
+
12000
 
+
12001
 
+
12002
 
+
12003
 
+
12004
 
+
12005
 
+ltmain="$ac_aux_dir/ltmain.sh"
12006
 
+
12007
 
 # Make sure we can run config.sub.
12008
 
 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
12009
 
-  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
12010
 
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
12011
 
+  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
12012
 
+$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
12013
 
    { (exit 1); exit 1; }; }
12014
 
 
12015
 
-{ echo "$as_me:$LINENO: checking build system type" >&5
12016
 
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
12017
 
+{ $as_echo "$as_me:$LINENO: checking build system type" >&5
12018
 
+$as_echo_n "checking build system type... " >&6; }
12019
 
 if test "${ac_cv_build+set}" = set; then
12020
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
12021
 
+  $as_echo_n "(cached) " >&6
12022
 
 else
12023
 
   ac_build_alias=$build_alias
12024
 
 test "x$ac_build_alias" = x &&
12025
 
   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
12026
 
 test "x$ac_build_alias" = x &&
12027
 
-  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
12028
 
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
12029
 
+  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
12030
 
+$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
12031
 
    { (exit 1); exit 1; }; }
12032
 
 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
12033
 
-  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
12034
 
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
12035
 
+  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
12036
 
+$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
12037
 
    { (exit 1); exit 1; }; }
12038
 
 
12039
 
 fi
12040
 
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
12041
 
-echo "${ECHO_T}$ac_cv_build" >&6; }
12042
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
12043
 
+$as_echo "$ac_cv_build" >&6; }
12044
 
 case $ac_cv_build in
12045
 
 *-*-*) ;;
12046
 
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
12047
 
-echo "$as_me: error: invalid value of canonical build" >&2;}
12048
 
+*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
12049
 
+$as_echo "$as_me: error: invalid value of canonical build" >&2;}
12050
 
    { (exit 1); exit 1; }; };;
12051
 
 esac
12052
 
 build=$ac_cv_build
12053
 
@@ -6831,27 +6994,27 @@
12054
 
 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
12055
 
 
12056
 
 
12057
 
-{ echo "$as_me:$LINENO: checking host system type" >&5
12058
 
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
12059
 
+{ $as_echo "$as_me:$LINENO: checking host system type" >&5
12060
 
+$as_echo_n "checking host system type... " >&6; }
12061
 
 if test "${ac_cv_host+set}" = set; then
12062
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
12063
 
+  $as_echo_n "(cached) " >&6
12064
 
 else
12065
 
   if test "x$host_alias" = x; then
12066
 
   ac_cv_host=$ac_cv_build
12067
 
 else
12068
 
   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
12069
 
-    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
12070
 
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
12071
 
+    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
12072
 
+$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
12073
 
    { (exit 1); exit 1; }; }
12074
 
 fi
12075
 
 
12076
 
 fi
12077
 
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
12078
 
-echo "${ECHO_T}$ac_cv_host" >&6; }
12079
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
12080
 
+$as_echo "$ac_cv_host" >&6; }
12081
 
 case $ac_cv_host in
12082
 
 *-*-*) ;;
12083
 
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
12084
 
-echo "$as_me: error: invalid value of canonical host" >&2;}
12085
 
+*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
12086
 
+$as_echo "$as_me: error: invalid value of canonical host" >&2;}
12087
 
    { (exit 1); exit 1; }; };;
12088
 
 esac
12089
 
 host=$ac_cv_host
12090
 
@@ -6868,64 +7031,177 @@
12091
 
 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
12092
 
 
12093
 
 
12094
 
-{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
12095
 
-echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
12096
 
-if test "${lt_cv_path_SED+set}" = set; then
12097
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
12098
 
-else
12099
 
-  # Loop through the user's path and test for sed and gsed.
12100
 
-# Then use that list of sed's as ones to test for truncation.
12101
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12102
 
+{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
12103
 
+$as_echo_n "checking for a sed that does not truncate output... " >&6; }
12104
 
+if test "${ac_cv_path_SED+set}" = set; then
12105
 
+  $as_echo_n "(cached) " >&6
12106
 
+else
12107
 
+            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
12108
 
+     for ac_i in 1 2 3 4 5 6 7; do
12109
 
+       ac_script="$ac_script$as_nl$ac_script"
12110
 
+     done
12111
 
+     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
12112
 
+     $as_unset ac_script || ac_script=
12113
 
+     if test -z "$SED"; then
12114
 
+  ac_path_SED_found=false
12115
 
+  # Loop through the user's path and test for each of PROGNAME-LIST
12116
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12117
 
 for as_dir in $PATH
12118
 
 do
12119
 
   IFS=$as_save_IFS
12120
 
   test -z "$as_dir" && as_dir=.
12121
 
-  for lt_ac_prog in sed gsed; do
12122
 
+  for ac_prog in sed gsed; do
12123
 
     for ac_exec_ext in '' $ac_executable_extensions; do
12124
 
-      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
12125
 
-        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
12126
 
-      fi
12127
 
+      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
12128
 
+      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
12129
 
+# Check for GNU ac_path_SED and select it if it is found.
12130
 
+  # Check for GNU $ac_path_SED
12131
 
+case `"$ac_path_SED" --version 2>&1` in
12132
 
+*GNU*)
12133
 
+  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
12134
 
+*)
12135
 
+  ac_count=0
12136
 
+  $as_echo_n 0123456789 >"conftest.in"
12137
 
+  while :
12138
 
+  do
12139
 
+    cat "conftest.in" "conftest.in" >"conftest.tmp"
12140
 
+    mv "conftest.tmp" "conftest.in"
12141
 
+    cp "conftest.in" "conftest.nl"
12142
 
+    $as_echo '' >> "conftest.nl"
12143
 
+    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
12144
 
+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
12145
 
+    ac_count=`expr $ac_count + 1`
12146
 
+    if test $ac_count -gt ${ac_path_SED_max-0}; then
12147
 
+      # Best one so far, save it but keep looking for a better one
12148
 
+      ac_cv_path_SED="$ac_path_SED"
12149
 
+      ac_path_SED_max=$ac_count
12150
 
+    fi
12151
 
+    # 10*(2^10) chars as input seems more than enough
12152
 
+    test $ac_count -gt 10 && break
12153
 
+  done
12154
 
+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
12155
 
+esac
12156
 
+
12157
 
+      $ac_path_SED_found && break 3
12158
 
     done
12159
 
   done
12160
 
 done
12161
 
 IFS=$as_save_IFS
12162
 
-lt_ac_max=0
12163
 
-lt_ac_count=0
12164
 
-# Add /usr/xpg4/bin/sed as it is typically found on Solaris
12165
 
-# along with /bin/sed that truncates output.
12166
 
-for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
12167
 
-  test ! -f $lt_ac_sed && continue
12168
 
-  cat /dev/null > conftest.in
12169
 
-  lt_ac_count=0
12170
 
-  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
12171
 
-  # Check for GNU sed and select it if it is found.
12172
 
-  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
12173
 
-    lt_cv_path_SED=$lt_ac_sed
12174
 
-    break
12175
 
+  if test -z "$ac_cv_path_SED"; then
12176
 
+    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
12177
 
+$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
12178
 
+   { (exit 1); exit 1; }; }
12179
 
   fi
12180
 
-  while true; do
12181
 
-    cat conftest.in conftest.in >conftest.tmp
12182
 
-    mv conftest.tmp conftest.in
12183
 
-    cp conftest.in conftest.nl
12184
 
-    echo >>conftest.nl
12185
 
-    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
12186
 
-    cmp -s conftest.out conftest.nl || break
12187
 
-    # 10000 chars as input seems more than enough
12188
 
-    test $lt_ac_count -gt 10 && break
12189
 
-    lt_ac_count=`expr $lt_ac_count + 1`
12190
 
-    if test $lt_ac_count -gt $lt_ac_max; then
12191
 
-      lt_ac_max=$lt_ac_count
12192
 
-      lt_cv_path_SED=$lt_ac_sed
12193
 
+else
12194
 
+  ac_cv_path_SED=$SED
12195
 
+fi
12196
 
+
12197
 
+fi
12198
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
12199
 
+$as_echo "$ac_cv_path_SED" >&6; }
12200
 
+ SED="$ac_cv_path_SED"
12201
 
+  rm -f conftest.sed
12202
 
+
12203
 
+test -z "$SED" && SED=sed
12204
 
+Xsed="$SED -e 1s/^X//"
12205
 
+
12206
 
+
12207
 
+
12208
 
+
12209
 
+
12210
 
+
12211
 
+
12212
 
+
12213
 
+
12214
 
+
12215
 
+
12216
 
+{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
12217
 
+$as_echo_n "checking for fgrep... " >&6; }
12218
 
+if test "${ac_cv_path_FGREP+set}" = set; then
12219
 
+  $as_echo_n "(cached) " >&6
12220
 
+else
12221
 
+  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
12222
 
+   then ac_cv_path_FGREP="$GREP -F"
12223
 
+   else
12224
 
+     if test -z "$FGREP"; then
12225
 
+  ac_path_FGREP_found=false
12226
 
+  # Loop through the user's path and test for each of PROGNAME-LIST
12227
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12228
 
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
12229
 
+do
12230
 
+  IFS=$as_save_IFS
12231
 
+  test -z "$as_dir" && as_dir=.
12232
 
+  for ac_prog in fgrep; do
12233
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
12234
 
+      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
12235
 
+      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
12236
 
+# Check for GNU ac_path_FGREP and select it if it is found.
12237
 
+  # Check for GNU $ac_path_FGREP
12238
 
+case `"$ac_path_FGREP" --version 2>&1` in
12239
 
+*GNU*)
12240
 
+  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
12241
 
+*)
12242
 
+  ac_count=0
12243
 
+  $as_echo_n 0123456789 >"conftest.in"
12244
 
+  while :
12245
 
+  do
12246
 
+    cat "conftest.in" "conftest.in" >"conftest.tmp"
12247
 
+    mv "conftest.tmp" "conftest.in"
12248
 
+    cp "conftest.in" "conftest.nl"
12249
 
+    $as_echo 'FGREP' >> "conftest.nl"
12250
 
+    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
12251
 
+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
12252
 
+    ac_count=`expr $ac_count + 1`
12253
 
+    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
12254
 
+      # Best one so far, save it but keep looking for a better one
12255
 
+      ac_cv_path_FGREP="$ac_path_FGREP"
12256
 
+      ac_path_FGREP_max=$ac_count
12257
 
     fi
12258
 
+    # 10*(2^10) chars as input seems more than enough
12259
 
+    test $ac_count -gt 10 && break
12260
 
+  done
12261
 
+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
12262
 
+esac
12263
 
+
12264
 
+      $ac_path_FGREP_found && break 3
12265
 
+    done
12266
 
   done
12267
 
 done
12268
 
+IFS=$as_save_IFS
12269
 
+  if test -z "$ac_cv_path_FGREP"; then
12270
 
+    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
12271
 
+$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
12272
 
+   { (exit 1); exit 1; }; }
12273
 
+  fi
12274
 
+else
12275
 
+  ac_cv_path_FGREP=$FGREP
12276
 
+fi
12277
 
 
12278
 
+   fi
12279
 
 fi
12280
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
12281
 
+$as_echo "$ac_cv_path_FGREP" >&6; }
12282
 
+ FGREP="$ac_cv_path_FGREP"
12283
 
+
12284
 
+
12285
 
+test -z "$GREP" && GREP=grep
12286
 
+
12287
 
+
12288
 
+
12289
 
+
12290
 
+
12291
 
+
12292
 
+
12293
 
+
12294
 
+
12295
 
+
12296
 
+
12297
 
+
12298
 
+
12299
 
+
12300
 
+
12301
 
 
12302
 
-SED=$lt_cv_path_SED
12303
 
 
12304
 
-{ echo "$as_me:$LINENO: result: $SED" >&5
12305
 
-echo "${ECHO_T}$SED" >&6; }
12306
 
 
12307
 
 
12308
 
 # Check whether --with-gnu-ld was given.
12309
 
@@ -6938,8 +7214,8 @@
12310
 
 ac_prog=ld
12311
 
 if test "$GCC" = yes; then
12312
 
   # Check if gcc -print-prog-name=ld gives a path.
12313
 
-  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12314
 
-echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12315
 
+  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12316
 
+$as_echo_n "checking for ld used by $CC... " >&6; }
12317
 
   case $host in
12318
 
   *-*-mingw*)
12319
 
     # gcc leaves a trailing carriage return which upsets mingw
12320
 
@@ -6952,9 +7228,9 @@
12321
 
     [\\/]* | ?:[\\/]*)
12322
 
       re_direlt='/[^/][^/]*/\.\./'
12323
 
       # Canonicalize the pathname of ld
12324
 
-      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12325
 
-      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12326
 
-       ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
12327
 
+      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12328
 
+      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12329
 
+       ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12330
 
       done
12331
 
       test -z "$LD" && LD="$ac_prog"
12332
 
       ;;
12333
 
@@ -6968,14 +7244,14 @@
12334
 
     ;;
12335
 
   esac
12336
 
 elif test "$with_gnu_ld" = yes; then
12337
 
-  { echo "$as_me:$LINENO: checking for GNU ld" >&5
12338
 
-echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12339
 
+  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
12340
 
+$as_echo_n "checking for GNU ld... " >&6; }
12341
 
 else
12342
 
-  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12343
 
-echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12344
 
+  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12345
 
+$as_echo_n "checking for non-GNU ld... " >&6; }
12346
 
 fi
12347
 
 if test "${lt_cv_path_LD+set}" = set; then
12348
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
12349
 
+  $as_echo_n "(cached) " >&6
12350
 
 else
12351
 
   if test -z "$LD"; then
12352
 
   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12353
 
@@ -7005,19 +7281,19 @@
12354
 
 
12355
 
 LD="$lt_cv_path_LD"
12356
 
 if test -n "$LD"; then
12357
 
-  { echo "$as_me:$LINENO: result: $LD" >&5
12358
 
-echo "${ECHO_T}$LD" >&6; }
12359
 
+  { $as_echo "$as_me:$LINENO: result: $LD" >&5
12360
 
+$as_echo "$LD" >&6; }
12361
 
 else
12362
 
-  { echo "$as_me:$LINENO: result: no" >&5
12363
 
-echo "${ECHO_T}no" >&6; }
12364
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
12365
 
+$as_echo "no" >&6; }
12366
 
 fi
12367
 
-test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12368
 
-echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12369
 
+test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12370
 
+$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12371
 
    { (exit 1); exit 1; }; }
12372
 
-{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12373
 
-echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12374
 
+{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12375
 
+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12376
 
 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12377
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
12378
 
+  $as_echo_n "(cached) " >&6
12379
 
 else
12380
 
   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12381
 
 case `$LD -v 2>&1 </dev/null` in
12382
 
@@ -7029,40 +7305,22 @@
12383
 
   ;;
12384
 
 esac
12385
 
 fi
12386
 
-{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12387
 
-echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12388
 
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12389
 
+$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12390
 
 with_gnu_ld=$lt_cv_prog_gnu_ld
12391
 
 
12392
 
 
12393
 
-{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
12394
 
-echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
12395
 
-if test "${lt_cv_ld_reload_flag+set}" = set; then
12396
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
12397
 
-else
12398
 
-  lt_cv_ld_reload_flag='-r'
12399
 
-fi
12400
 
-{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
12401
 
-echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
12402
 
-reload_flag=$lt_cv_ld_reload_flag
12403
 
-case $reload_flag in
12404
 
-"" | " "*) ;;
12405
 
-*) reload_flag=" $reload_flag" ;;
12406
 
-esac
12407
 
-reload_cmds='$LD$reload_flag -o $output$reload_objs'
12408
 
-case $host_os in
12409
 
-  darwin*)
12410
 
-    if test "$GCC" = yes; then
12411
 
-      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
12412
 
-    else
12413
 
-      reload_cmds='$LD$reload_flag -o $output$reload_objs'
12414
 
-    fi
12415
 
-    ;;
12416
 
-esac
12417
 
 
12418
 
-{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
12419
 
-echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
12420
 
+
12421
 
+
12422
 
+
12423
 
+
12424
 
+
12425
 
+
12426
 
+{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
12427
 
+$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
12428
 
 if test "${lt_cv_path_NM+set}" = set; then
12429
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
12430
 
+  $as_echo_n "(cached) " >&6
12431
 
 else
12432
 
   if test -n "$NM"; then
12433
 
   # Let the user override the test.
12434
 
@@ -7105,844 +7363,712 @@
12435
 
     done
12436
 
     IFS="$lt_save_ifs"
12437
 
   done
12438
 
-  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
12439
 
+  : ${lt_cv_path_NM=no}
12440
 
 fi
12441
 
 fi
12442
 
-{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
12443
 
-echo "${ECHO_T}$lt_cv_path_NM" >&6; }
12444
 
-NM="$lt_cv_path_NM"
12445
 
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
12446
 
+$as_echo "$lt_cv_path_NM" >&6; }
12447
 
+if test "$lt_cv_path_NM" != "no"; then
12448
 
+  NM="$lt_cv_path_NM"
12449
 
+else
12450
 
+  # Didn't find any BSD compatible name lister, look for dumpbin.
12451
 
+  if test -n "$ac_tool_prefix"; then
12452
 
+  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
12453
 
+  do
12454
 
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12455
 
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12456
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12457
 
+$as_echo_n "checking for $ac_word... " >&6; }
12458
 
+if test "${ac_cv_prog_DUMPBIN+set}" = set; then
12459
 
+  $as_echo_n "(cached) " >&6
12460
 
+else
12461
 
+  if test -n "$DUMPBIN"; then
12462
 
+  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
12463
 
+else
12464
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12465
 
+for as_dir in $PATH
12466
 
+do
12467
 
+  IFS=$as_save_IFS
12468
 
+  test -z "$as_dir" && as_dir=.
12469
 
+  for ac_exec_ext in '' $ac_executable_extensions; do
12470
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12471
 
+    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
12472
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12473
 
+    break 2
12474
 
+  fi
12475
 
+done
12476
 
+done
12477
 
+IFS=$as_save_IFS
12478
 
 
12479
 
-{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
12480
 
-echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
12481
 
-LN_S=$as_ln_s
12482
 
-if test "$LN_S" = "ln -s"; then
12483
 
-  { echo "$as_me:$LINENO: result: yes" >&5
12484
 
-echo "${ECHO_T}yes" >&6; }
12485
 
+fi
12486
 
+fi
12487
 
+DUMPBIN=$ac_cv_prog_DUMPBIN
12488
 
+if test -n "$DUMPBIN"; then
12489
 
+  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
12490
 
+$as_echo "$DUMPBIN" >&6; }
12491
 
 else
12492
 
-  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12493
 
-echo "${ECHO_T}no, using $LN_S" >&6; }
12494
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
12495
 
+$as_echo "no" >&6; }
12496
 
 fi
12497
 
 
12498
 
-{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
12499
 
-echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
12500
 
-if test "${lt_cv_deplibs_check_method+set}" = set; then
12501
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
12502
 
+
12503
 
+    test -n "$DUMPBIN" && break
12504
 
+  done
12505
 
+fi
12506
 
+if test -z "$DUMPBIN"; then
12507
 
+  ac_ct_DUMPBIN=$DUMPBIN
12508
 
+  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
12509
 
+do
12510
 
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
12511
 
+set dummy $ac_prog; ac_word=$2
12512
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12513
 
+$as_echo_n "checking for $ac_word... " >&6; }
12514
 
+if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
12515
 
+  $as_echo_n "(cached) " >&6
12516
 
 else
12517
 
-  lt_cv_file_magic_cmd='$MAGIC_CMD'
12518
 
-lt_cv_file_magic_test_file=
12519
 
-lt_cv_deplibs_check_method='unknown'
12520
 
-# Need to set the preceding variable on all platforms that support
12521
 
-# interlibrary dependencies.
12522
 
-# 'none' -- dependencies not supported.
12523
 
-# `unknown' -- same as none, but documents that we really don't know.
12524
 
-# 'pass_all' -- all dependencies passed with no checks.
12525
 
-# 'test_compile' -- check by making test program.
12526
 
-# 'file_magic [[regex]]' -- check by looking for files in library path
12527
 
-# which responds to the $file_magic_cmd with a given extended regex.
12528
 
-# If you have `file' or equivalent on your system and you're not sure
12529
 
-# whether `pass_all' will *always* work, you probably want this one.
12530
 
-
12531
 
-case $host_os in
12532
 
-aix[4-9]*)
12533
 
-  lt_cv_deplibs_check_method=pass_all
12534
 
-  ;;
12535
 
+  if test -n "$ac_ct_DUMPBIN"; then
12536
 
+  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
12537
 
+else
12538
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12539
 
+for as_dir in $PATH
12540
 
+do
12541
 
+  IFS=$as_save_IFS
12542
 
+  test -z "$as_dir" && as_dir=.
12543
 
+  for ac_exec_ext in '' $ac_executable_extensions; do
12544
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12545
 
+    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
12546
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12547
 
+    break 2
12548
 
+  fi
12549
 
+done
12550
 
+done
12551
 
+IFS=$as_save_IFS
12552
 
 
12553
 
-beos*)
12554
 
-  lt_cv_deplibs_check_method=pass_all
12555
 
-  ;;
12556
 
+fi
12557
 
+fi
12558
 
+ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
12559
 
+if test -n "$ac_ct_DUMPBIN"; then
12560
 
+  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
12561
 
+$as_echo "$ac_ct_DUMPBIN" >&6; }
12562
 
+else
12563
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
12564
 
+$as_echo "no" >&6; }
12565
 
+fi
12566
 
 
12567
 
-bsdi[45]*)
12568
 
-  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
12569
 
-  lt_cv_file_magic_cmd='/usr/bin/file -L'
12570
 
-  lt_cv_file_magic_test_file=/shlib/libc.so
12571
 
-  ;;
12572
 
 
12573
 
-cygwin*)
12574
 
-  # func_win32_libid is a shell function defined in ltmain.sh
12575
 
-  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12576
 
-  lt_cv_file_magic_cmd='func_win32_libid'
12577
 
-  ;;
12578
 
+  test -n "$ac_ct_DUMPBIN" && break
12579
 
+done
12580
 
 
12581
 
-mingw* | pw32*)
12582
 
-  # Base MSYS/MinGW do not provide the 'file' command needed by
12583
 
-  # func_win32_libid shell function, so use a weaker test based on 'objdump',
12584
 
-  # unless we find 'file', for example because we are cross-compiling.
12585
 
-  if ( file / ) >/dev/null 2>&1; then
12586
 
-    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12587
 
-    lt_cv_file_magic_cmd='func_win32_libid'
12588
 
+  if test "x$ac_ct_DUMPBIN" = x; then
12589
 
+    DUMPBIN=":"
12590
 
   else
12591
 
-    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
12592
 
-    lt_cv_file_magic_cmd='$OBJDUMP -f'
12593
 
+    case $cross_compiling:$ac_tool_warned in
12594
 
+yes:)
12595
 
+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12596
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12597
 
+ac_tool_warned=yes ;;
12598
 
+esac
12599
 
+    DUMPBIN=$ac_ct_DUMPBIN
12600
 
   fi
12601
 
-  ;;
12602
 
+fi
12603
 
 
12604
 
-darwin* | rhapsody*)
12605
 
-  lt_cv_deplibs_check_method=pass_all
12606
 
-  ;;
12607
 
 
12608
 
-freebsd* | dragonfly*)
12609
 
-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12610
 
-    case $host_cpu in
12611
 
-    i*86 )
12612
 
-      # Not sure whether the presence of OpenBSD here was a mistake.
12613
 
-      # Let's accept both of them until this is cleared up.
12614
 
-      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
12615
 
-      lt_cv_file_magic_cmd=/usr/bin/file
12616
 
-      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
12617
 
-      ;;
12618
 
-    esac
12619
 
-  else
12620
 
-    lt_cv_deplibs_check_method=pass_all
12621
 
+  if test "$DUMPBIN" != ":"; then
12622
 
+    NM="$DUMPBIN"
12623
 
   fi
12624
 
-  ;;
12625
 
+fi
12626
 
+test -z "$NM" && NM=nm
12627
 
 
12628
 
-gnu*)
12629
 
-  lt_cv_deplibs_check_method=pass_all
12630
 
-  ;;
12631
 
 
12632
 
-hpux10.20* | hpux11*)
12633
 
-  lt_cv_file_magic_cmd=/usr/bin/file
12634
 
-  case $host_cpu in
12635
 
-  ia64*)
12636
 
-    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
12637
 
-    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
12638
 
-    ;;
12639
 
-  hppa*64*)
12640
 
-    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]'
12641
 
-    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
12642
 
-    ;;
12643
 
-  *)
12644
 
-    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
12645
 
-    lt_cv_file_magic_test_file=/usr/lib/libc.sl
12646
 
-    ;;
12647
 
-  esac
12648
 
-  ;;
12649
 
 
12650
 
-interix[3-9]*)
12651
 
-  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
12652
 
-  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
12653
 
-  ;;
12654
 
 
12655
 
-irix5* | irix6* | nonstopux*)
12656
 
-  case $LD in
12657
 
-  *-32|*"-32 ") libmagic=32-bit;;
12658
 
-  *-n32|*"-n32 ") libmagic=N32;;
12659
 
-  *-64|*"-64 ") libmagic=64-bit;;
12660
 
-  *) libmagic=never-match;;
12661
 
-  esac
12662
 
-  lt_cv_deplibs_check_method=pass_all
12663
 
-  ;;
12664
 
 
12665
 
-# This must be Linux ELF.
12666
 
-linux* | k*bsd*-gnu)
12667
 
-  lt_cv_deplibs_check_method=pass_all
12668
 
-  ;;
12669
 
 
12670
 
-netbsd* | netbsdelf*-gnu)
12671
 
-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12672
 
-    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12673
 
-  else
12674
 
-    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
12675
 
+{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
12676
 
+$as_echo_n "checking the name lister ($NM) interface... " >&6; }
12677
 
+if test "${lt_cv_nm_interface+set}" = set; then
12678
 
+  $as_echo_n "(cached) " >&6
12679
 
+else
12680
 
+  lt_cv_nm_interface="BSD nm"
12681
 
+  echo "int some_variable = 0;" > conftest.$ac_ext
12682
 
+  (eval echo "\"\$as_me:7494: $ac_compile\"" >&5)
12683
 
+  (eval "$ac_compile" 2>conftest.err)
12684
 
+  cat conftest.err >&5
12685
 
+  (eval echo "\"\$as_me:7497: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
12686
 
+  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
12687
 
+  cat conftest.err >&5
12688
 
+  (eval echo "\"\$as_me:7500: output\"" >&5)
12689
 
+  cat conftest.out >&5
12690
 
+  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
12691
 
+    lt_cv_nm_interface="MS dumpbin"
12692
 
   fi
12693
 
-  ;;
12694
 
+  rm -f conftest*
12695
 
+fi
12696
 
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
12697
 
+$as_echo "$lt_cv_nm_interface" >&6; }
12698
 
 
12699
 
-newos6*)
12700
 
-  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
12701
 
-  lt_cv_file_magic_cmd=/usr/bin/file
12702
 
-  lt_cv_file_magic_test_file=/usr/lib/libnls.so
12703
 
-  ;;
12704
 
+{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
12705
 
+$as_echo_n "checking whether ln -s works... " >&6; }
12706
 
+LN_S=$as_ln_s
12707
 
+if test "$LN_S" = "ln -s"; then
12708
 
+  { $as_echo "$as_me:$LINENO: result: yes" >&5
12709
 
+$as_echo "yes" >&6; }
12710
 
+else
12711
 
+  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12712
 
+$as_echo "no, using $LN_S" >&6; }
12713
 
+fi
12714
 
 
12715
 
-nto-qnx*)
12716
 
-  lt_cv_deplibs_check_method=unknown
12717
 
-  ;;
12718
 
+# find the maximum length of command line arguments
12719
 
+{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
12720
 
+$as_echo_n "checking the maximum length of command line arguments... " >&6; }
12721
 
+if test "${lt_cv_sys_max_cmd_len+set}" = set; then
12722
 
+  $as_echo_n "(cached) " >&6
12723
 
+else
12724
 
+    i=0
12725
 
+  teststring="ABCD"
12726
 
 
12727
 
-openbsd*)
12728
 
-  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12729
 
-    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
12730
 
-  else
12731
 
-    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12732
 
-  fi
12733
 
-  ;;
12734
 
+  case $build_os in
12735
 
+  msdosdjgpp*)
12736
 
+    # On DJGPP, this test can blow up pretty badly due to problems in libc
12737
 
+    # (any single argument exceeding 2000 bytes causes a buffer overrun
12738
 
+    # during glob expansion).  Even if it were fixed, the result of this
12739
 
+    # check would be larger than it should be.
12740
 
+    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
12741
 
+    ;;
12742
 
 
12743
 
-osf3* | osf4* | osf5*)
12744
 
-  lt_cv_deplibs_check_method=pass_all
12745
 
-  ;;
12746
 
+  gnu*)
12747
 
+    # Under GNU Hurd, this test is not required because there is
12748
 
+    # no limit to the length of command line arguments.
12749
 
+    # Libtool will interpret -1 as no limit whatsoever
12750
 
+    lt_cv_sys_max_cmd_len=-1;
12751
 
+    ;;
12752
 
 
12753
 
-rdos*)
12754
 
-  lt_cv_deplibs_check_method=pass_all
12755
 
-  ;;
12756
 
+  cygwin* | mingw* | cegcc*)
12757
 
+    # On Win9x/ME, this test blows up -- it succeeds, but takes
12758
 
+    # about 5 minutes as the teststring grows exponentially.
12759
 
+    # Worse, since 9x/ME are not pre-emptively multitasking,
12760
 
+    # you end up with a "frozen" computer, even though with patience
12761
 
+    # the test eventually succeeds (with a max line length of 256k).
12762
 
+    # Instead, let's just punt: use the minimum linelength reported by
12763
 
+    # all of the supported platforms: 8192 (on NT/2K/XP).
12764
 
+    lt_cv_sys_max_cmd_len=8192;
12765
 
+    ;;
12766
 
 
12767
 
-solaris*)
12768
 
-  lt_cv_deplibs_check_method=pass_all
12769
 
-  ;;
12770
 
+  amigaos*)
12771
 
+    # On AmigaOS with pdksh, this test takes hours, literally.
12772
 
+    # So we just punt and use a minimum line length of 8192.
12773
 
+    lt_cv_sys_max_cmd_len=8192;
12774
 
+    ;;
12775
 
 
12776
 
-sysv4 | sysv4.3*)
12777
 
-  case $host_vendor in
12778
 
-  motorola)
12779
 
-    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]'
12780
 
-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
12781
 
+  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
12782
 
+    # This has been around since 386BSD, at least.  Likely further.
12783
 
+    if test -x /sbin/sysctl; then
12784
 
+      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
12785
 
+    elif test -x /usr/sbin/sysctl; then
12786
 
+      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
12787
 
+    else
12788
 
+      lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
12789
 
+    fi
12790
 
+    # And add a safety zone
12791
 
+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
12792
 
+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
12793
 
     ;;
12794
 
-  ncr)
12795
 
-    lt_cv_deplibs_check_method=pass_all
12796
 
+
12797
 
+  interix*)
12798
 
+    # We know the value 262144 and hardcode it with a safety zone (like BSD)
12799
 
+    lt_cv_sys_max_cmd_len=196608
12800
 
     ;;
12801
 
-  sequent)
12802
 
-    lt_cv_file_magic_cmd='/bin/file'
12803
 
-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
12804
 
+
12805
 
+  osf*)
12806
 
+    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
12807
 
+    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
12808
 
+    # nice to cause kernel panics so lets avoid the loop below.
12809
 
+    # First set a reasonable default.
12810
 
+    lt_cv_sys_max_cmd_len=16384
12811
 
+    #
12812
 
+    if test -x /sbin/sysconfig; then
12813
 
+      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
12814
 
+        *1*) lt_cv_sys_max_cmd_len=-1 ;;
12815
 
+      esac
12816
 
+    fi
12817
 
     ;;
12818
 
-  sni)
12819
 
-    lt_cv_file_magic_cmd='/bin/file'
12820
 
-    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
12821
 
-    lt_cv_file_magic_test_file=/lib/libc.so
12822
 
+  sco3.2v5*)
12823
 
+    lt_cv_sys_max_cmd_len=102400
12824
 
     ;;
12825
 
-  siemens)
12826
 
-    lt_cv_deplibs_check_method=pass_all
12827
 
+  sysv5* | sco5v6* | sysv4.2uw2*)
12828
 
+    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
12829
 
+    if test -n "$kargmax"; then
12830
 
+      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
12831
 
+    else
12832
 
+      lt_cv_sys_max_cmd_len=32768
12833
 
+    fi
12834
 
     ;;
12835
 
-  pc)
12836
 
-    lt_cv_deplibs_check_method=pass_all
12837
 
+  *)
12838
 
+    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
12839
 
+    if test -n "$lt_cv_sys_max_cmd_len"; then
12840
 
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
12841
 
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
12842
 
+    else
12843
 
+      # Make teststring a little bigger before we do anything with it.
12844
 
+      # a 1K string should be a reasonable start.
12845
 
+      for i in 1 2 3 4 5 6 7 8 ; do
12846
 
+        teststring=$teststring$teststring
12847
 
+      done
12848
 
+      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
12849
 
+      # If test is not a shell built-in, we'll probably end up computing a
12850
 
+      # maximum length that is only half of the actual maximum length, but
12851
 
+      # we can't tell.
12852
 
+      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
12853
 
+                = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
12854
 
+             test $i != 17 # 1/2 MB should be enough
12855
 
+      do
12856
 
+        i=`expr $i + 1`
12857
 
+        teststring=$teststring$teststring
12858
 
+      done
12859
 
+      # Only check the string length outside the loop.
12860
 
+      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
12861
 
+      teststring=
12862
 
+      # Add a significant safety factor because C++ compilers can tack on
12863
 
+      # massive amounts of additional arguments before passing them to the
12864
 
+      # linker.  It appears as though 1/2 is a usable value.
12865
 
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
12866
 
+    fi
12867
 
     ;;
12868
 
   esac
12869
 
-  ;;
12870
 
 
12871
 
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12872
 
-  lt_cv_deplibs_check_method=pass_all
12873
 
-  ;;
12874
 
-esac
12875
 
+fi
12876
 
 
12877
 
+if test -n $lt_cv_sys_max_cmd_len ; then
12878
 
+  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
12879
 
+$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
12880
 
+else
12881
 
+  { $as_echo "$as_me:$LINENO: result: none" >&5
12882
 
+$as_echo "none" >&6; }
12883
 
 fi
12884
 
-{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
12885
 
-echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
12886
 
-file_magic_cmd=$lt_cv_file_magic_cmd
12887
 
-deplibs_check_method=$lt_cv_deplibs_check_method
12888
 
-test -z "$deplibs_check_method" && deplibs_check_method=unknown
12889
 
+max_cmd_len=$lt_cv_sys_max_cmd_len
12890
 
 
12891
 
 
12892
 
 
12893
 
 
12894
 
-# If no C compiler was specified, use CC.
12895
 
-LTCC=${LTCC-"$CC"}
12896
 
 
12897
 
-# If no C compiler flags were specified, use CFLAGS.
12898
 
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12899
 
 
12900
 
-# Allow CC to be a program name with arguments.
12901
 
-compiler=$CC
12902
 
+: ${CP="cp -f"}
12903
 
+: ${MV="mv -f"}
12904
 
+: ${RM="rm -f"}
12905
 
+
12906
 
+{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
12907
 
+$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
12908
 
+# Try some XSI features
12909
 
+xsi_shell=no
12910
 
+( _lt_dummy="a/b/c"
12911
 
+  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
12912
 
+      = c,a/b,, \
12913
 
+    && eval 'test $(( 1 + 1 )) -eq 2 \
12914
 
+    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
12915
 
+  && xsi_shell=yes
12916
 
+{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
12917
 
+$as_echo "$xsi_shell" >&6; }
12918
 
+
12919
 
+
12920
 
+{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
12921
 
+$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
12922
 
+lt_shell_append=no
12923
 
+( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
12924
 
+    >/dev/null 2>&1 \
12925
 
+  && lt_shell_append=yes
12926
 
+{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
12927
 
+$as_echo "$lt_shell_append" >&6; }
12928
 
 
12929
 
-# Check whether --enable-libtool-lock was given.
12930
 
-if test "${enable_libtool_lock+set}" = set; then
12931
 
-  enableval=$enable_libtool_lock;
12932
 
+
12933
 
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12934
 
+  lt_unset=unset
12935
 
+else
12936
 
+  lt_unset=false
12937
 
 fi
12938
 
 
12939
 
-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
12940
 
 
12941
 
-# Some flags need to be propagated to the compiler or linker for good
12942
 
-# libtool support.
12943
 
-case $host in
12944
 
-ia64-*-hpux*)
12945
 
-  # Find out which ABI we are using.
12946
 
-  echo 'int i;' > conftest.$ac_ext
12947
 
-  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12948
 
-  (eval $ac_compile) 2>&5
12949
 
-  ac_status=$?
12950
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951
 
-  (exit $ac_status); }; then
12952
 
-    case `/usr/bin/file conftest.$ac_objext` in
12953
 
-    *ELF-32*)
12954
 
-      HPUX_IA64_MODE="32"
12955
 
-      ;;
12956
 
-    *ELF-64*)
12957
 
-      HPUX_IA64_MODE="64"
12958
 
-      ;;
12959
 
-    esac
12960
 
-  fi
12961
 
-  rm -rf conftest*
12962
 
+
12963
 
+
12964
 
+
12965
 
+# test EBCDIC or ASCII
12966
 
+case `echo X|tr X '\101'` in
12967
 
+ A) # ASCII based system
12968
 
+    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
12969
 
+  lt_SP2NL='tr \040 \012'
12970
 
+  lt_NL2SP='tr \015\012 \040\040'
12971
 
   ;;
12972
 
-*-*-irix6*)
12973
 
-  # Find out which ABI we are using.
12974
 
-  echo '#line 7361 "configure"' > conftest.$ac_ext
12975
 
-  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12976
 
-  (eval $ac_compile) 2>&5
12977
 
-  ac_status=$?
12978
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12979
 
-  (exit $ac_status); }; then
12980
 
-   if test "$lt_cv_prog_gnu_ld" = yes; then
12981
 
-    case `/usr/bin/file conftest.$ac_objext` in
12982
 
-    *32-bit*)
12983
 
-      LD="${LD-ld} -melf32bsmip"
12984
 
-      ;;
12985
 
-    *N32*)
12986
 
-      LD="${LD-ld} -melf32bmipn32"
12987
 
-      ;;
12988
 
-    *64-bit*)
12989
 
-      LD="${LD-ld} -melf64bmip"
12990
 
-      ;;
12991
 
-    esac
12992
 
-   else
12993
 
-    case `/usr/bin/file conftest.$ac_objext` in
12994
 
-    *32-bit*)
12995
 
-      LD="${LD-ld} -32"
12996
 
-      ;;
12997
 
-    *N32*)
12998
 
-      LD="${LD-ld} -n32"
12999
 
-      ;;
13000
 
-    *64-bit*)
13001
 
-      LD="${LD-ld} -64"
13002
 
-      ;;
13003
 
-    esac
13004
 
-   fi
13005
 
-  fi
13006
 
-  rm -rf conftest*
13007
 
+ *) # EBCDIC based system
13008
 
+  lt_SP2NL='tr \100 \n'
13009
 
+  lt_NL2SP='tr \r\n \100\100'
13010
 
   ;;
13011
 
+esac
13012
 
 
13013
 
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
13014
 
-s390*-*linux*|sparc*-*linux*)
13015
 
-  # Find out which ABI we are using.
13016
 
-  echo 'int i;' > conftest.$ac_ext
13017
 
-  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13018
 
-  (eval $ac_compile) 2>&5
13019
 
-  ac_status=$?
13020
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13021
 
-  (exit $ac_status); }; then
13022
 
-    case `/usr/bin/file conftest.o` in
13023
 
-    *32-bit*)
13024
 
-      case $host in
13025
 
-        x86_64-*kfreebsd*-gnu)
13026
 
-          LD="${LD-ld} -m elf_i386_fbsd"
13027
 
-          ;;
13028
 
-        x86_64-*linux*)
13029
 
-          LD="${LD-ld} -m elf_i386"
13030
 
-          ;;
13031
 
-        ppc64-*linux*|powerpc64-*linux*)
13032
 
-          LD="${LD-ld} -m elf32ppclinux"
13033
 
-          ;;
13034
 
-        s390x-*linux*)
13035
 
-          LD="${LD-ld} -m elf_s390"
13036
 
-          ;;
13037
 
-        sparc64-*linux*)
13038
 
-          LD="${LD-ld} -m elf32_sparc"
13039
 
-          ;;
13040
 
-      esac
13041
 
-      ;;
13042
 
-    *64-bit*)
13043
 
-      case $host in
13044
 
-        x86_64-*kfreebsd*-gnu)
13045
 
-          LD="${LD-ld} -m elf_x86_64_fbsd"
13046
 
-          ;;
13047
 
-        x86_64-*linux*)
13048
 
-          LD="${LD-ld} -m elf_x86_64"
13049
 
-          ;;
13050
 
-        ppc*-*linux*|powerpc*-*linux*)
13051
 
-          LD="${LD-ld} -m elf64ppc"
13052
 
-          ;;
13053
 
-        s390*-*linux*)
13054
 
-          LD="${LD-ld} -m elf64_s390"
13055
 
-          ;;
13056
 
-        sparc*-*linux*)
13057
 
-          LD="${LD-ld} -m elf64_sparc"
13058
 
-          ;;
13059
 
-      esac
13060
 
-      ;;
13061
 
-    esac
13062
 
-  fi
13063
 
-  rm -rf conftest*
13064
 
-  ;;
13065
 
 
13066
 
-*-*-sco3.2v5*)
13067
 
-  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
13068
 
-  SAVE_CFLAGS="$CFLAGS"
13069
 
-  CFLAGS="$CFLAGS -belf"
13070
 
-  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
13071
 
-echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
13072
 
-if test "${lt_cv_cc_needs_belf+set}" = set; then
13073
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
13074
 
-else
13075
 
-  ac_ext=c
13076
 
-ac_cpp='$CPP $CPPFLAGS'
13077
 
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13078
 
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13079
 
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
13080
 
 
13081
 
-     cat >conftest.$ac_ext <<_ACEOF
13082
 
-/* confdefs.h.  */
13083
 
-_ACEOF
13084
 
-cat confdefs.h >>conftest.$ac_ext
13085
 
-cat >>conftest.$ac_ext <<_ACEOF
13086
 
-/* end confdefs.h.  */
13087
 
 
13088
 
-int
13089
 
-main ()
13090
 
-{
13091
 
 
13092
 
-  ;
13093
 
-  return 0;
13094
 
-}
13095
 
-_ACEOF
13096
 
-rm -f conftest.$ac_objext conftest$ac_exeext
13097
 
-if { (ac_try="$ac_link"
13098
 
-case "(($ac_try" in
13099
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13100
 
-  *) ac_try_echo=$ac_try;;
13101
 
-esac
13102
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13103
 
-  (eval "$ac_link") 2>conftest.er1
13104
 
-  ac_status=$?
13105
 
-  grep -v '^ *+' conftest.er1 >conftest.err
13106
 
-  rm -f conftest.er1
13107
 
-  cat conftest.err >&5
13108
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13109
 
-  (exit $ac_status); } && {
13110
 
-        test -z "$ac_c_werror_flag" ||
13111
 
-        test ! -s conftest.err
13112
 
-       } && test -s conftest$ac_exeext &&
13113
 
-       $as_test_x conftest$ac_exeext; then
13114
 
-  lt_cv_cc_needs_belf=yes
13115
 
-else
13116
 
-  echo "$as_me: failed program was:" >&5
13117
 
-sed 's/^/| /' conftest.$ac_ext >&5
13118
 
 
13119
 
-       lt_cv_cc_needs_belf=no
13120
 
-fi
13121
 
 
13122
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13123
 
-      conftest$ac_exeext conftest.$ac_ext
13124
 
-     ac_ext=c
13125
 
-ac_cpp='$CPP $CPPFLAGS'
13126
 
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13127
 
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13128
 
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
13129
 
 
13130
 
+
13131
 
+{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
13132
 
+$as_echo_n "checking for $LD option to reload object files... " >&6; }
13133
 
+if test "${lt_cv_ld_reload_flag+set}" = set; then
13134
 
+  $as_echo_n "(cached) " >&6
13135
 
+else
13136
 
+  lt_cv_ld_reload_flag='-r'
13137
 
 fi
13138
 
-{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
13139
 
-echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
13140
 
-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
13141
 
-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
13142
 
-    CFLAGS="$SAVE_CFLAGS"
13143
 
-  fi
13144
 
-  ;;
13145
 
-sparc*-*solaris*)
13146
 
-  # Find out which ABI we are using.
13147
 
-  echo 'int i;' > conftest.$ac_ext
13148
 
-  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13149
 
-  (eval $ac_compile) 2>&5
13150
 
-  ac_status=$?
13151
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152
 
-  (exit $ac_status); }; then
13153
 
-    case `/usr/bin/file conftest.o` in
13154
 
-    *64-bit*)
13155
 
-      case $lt_cv_prog_gnu_ld in
13156
 
-      yes*) LD="${LD-ld} -m elf64_sparc" ;;
13157
 
-      *)
13158
 
-        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
13159
 
-         LD="${LD-ld} -64"
13160
 
-       fi
13161
 
-       ;;
13162
 
-      esac
13163
 
-      ;;
13164
 
-    esac
13165
 
-  fi
13166
 
-  rm -rf conftest*
13167
 
-  ;;
13168
 
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
13169
 
+$as_echo "$lt_cv_ld_reload_flag" >&6; }
13170
 
+reload_flag=$lt_cv_ld_reload_flag
13171
 
+case $reload_flag in
13172
 
+"" | " "*) ;;
13173
 
+*) reload_flag=" $reload_flag" ;;
13174
 
+esac
13175
 
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
13176
 
+case $host_os in
13177
 
+  darwin*)
13178
 
+    if test "$GCC" = yes; then
13179
 
+      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
13180
 
+    else
13181
 
+      reload_cmds='$LD$reload_flag -o $output$reload_objs'
13182
 
+    fi
13183
 
+    ;;
13184
 
+esac
13185
 
 
13186
 
 
13187
 
-esac
13188
 
 
13189
 
-need_locks="$enable_libtool_lock"
13190
 
 
13191
 
 
13192
 
 
13193
 
-for ac_header in dlfcn.h
13194
 
+
13195
 
+
13196
 
+
13197
 
+if test -n "$ac_tool_prefix"; then
13198
 
+  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
13199
 
+set dummy ${ac_tool_prefix}objdump; ac_word=$2
13200
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13201
 
+$as_echo_n "checking for $ac_word... " >&6; }
13202
 
+if test "${ac_cv_prog_OBJDUMP+set}" = set; then
13203
 
+  $as_echo_n "(cached) " >&6
13204
 
+else
13205
 
+  if test -n "$OBJDUMP"; then
13206
 
+  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
13207
 
+else
13208
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13209
 
+for as_dir in $PATH
13210
 
 do
13211
 
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13212
 
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13213
 
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
13214
 
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13215
 
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13216
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
13217
 
+  IFS=$as_save_IFS
13218
 
+  test -z "$as_dir" && as_dir=.
13219
 
+  for ac_exec_ext in '' $ac_executable_extensions; do
13220
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13221
 
+    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
13222
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13223
 
+    break 2
13224
 
+  fi
13225
 
+done
13226
 
+done
13227
 
+IFS=$as_save_IFS
13228
 
+
13229
 
 fi
13230
 
-ac_res=`eval echo '${'$as_ac_Header'}'`
13231
 
-              { echo "$as_me:$LINENO: result: $ac_res" >&5
13232
 
-echo "${ECHO_T}$ac_res" >&6; }
13233
 
-else
13234
 
-  # Is the header compilable?
13235
 
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
13236
 
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
13237
 
-cat >conftest.$ac_ext <<_ACEOF
13238
 
-/* confdefs.h.  */
13239
 
-_ACEOF
13240
 
-cat confdefs.h >>conftest.$ac_ext
13241
 
-cat >>conftest.$ac_ext <<_ACEOF
13242
 
-/* end confdefs.h.  */
13243
 
-$ac_includes_default
13244
 
-#include <$ac_header>
13245
 
-_ACEOF
13246
 
-rm -f conftest.$ac_objext
13247
 
-if { (ac_try="$ac_compile"
13248
 
-case "(($ac_try" in
13249
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13250
 
-  *) ac_try_echo=$ac_try;;
13251
 
-esac
13252
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13253
 
-  (eval "$ac_compile") 2>conftest.er1
13254
 
-  ac_status=$?
13255
 
-  grep -v '^ *+' conftest.er1 >conftest.err
13256
 
-  rm -f conftest.er1
13257
 
-  cat conftest.err >&5
13258
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13259
 
-  (exit $ac_status); } && {
13260
 
-        test -z "$ac_c_werror_flag" ||
13261
 
-        test ! -s conftest.err
13262
 
-       } && test -s conftest.$ac_objext; then
13263
 
-  ac_header_compiler=yes
13264
 
+fi
13265
 
+OBJDUMP=$ac_cv_prog_OBJDUMP
13266
 
+if test -n "$OBJDUMP"; then
13267
 
+  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
13268
 
+$as_echo "$OBJDUMP" >&6; }
13269
 
 else
13270
 
-  echo "$as_me: failed program was:" >&5
13271
 
-sed 's/^/| /' conftest.$ac_ext >&5
13272
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
13273
 
+$as_echo "no" >&6; }
13274
 
+fi
13275
 
+
13276
 
 
13277
 
-       ac_header_compiler=no
13278
 
 fi
13279
 
+if test -z "$ac_cv_prog_OBJDUMP"; then
13280
 
+  ac_ct_OBJDUMP=$OBJDUMP
13281
 
+  # Extract the first word of "objdump", so it can be a program name with args.
13282
 
+set dummy objdump; ac_word=$2
13283
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13284
 
+$as_echo_n "checking for $ac_word... " >&6; }
13285
 
+if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
13286
 
+  $as_echo_n "(cached) " >&6
13287
 
+else
13288
 
+  if test -n "$ac_ct_OBJDUMP"; then
13289
 
+  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
13290
 
+else
13291
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13292
 
+for as_dir in $PATH
13293
 
+do
13294
 
+  IFS=$as_save_IFS
13295
 
+  test -z "$as_dir" && as_dir=.
13296
 
+  for ac_exec_ext in '' $ac_executable_extensions; do
13297
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13298
 
+    ac_cv_prog_ac_ct_OBJDUMP="objdump"
13299
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13300
 
+    break 2
13301
 
+  fi
13302
 
+done
13303
 
+done
13304
 
+IFS=$as_save_IFS
13305
 
 
13306
 
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13307
 
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13308
 
-echo "${ECHO_T}$ac_header_compiler" >&6; }
13309
 
+fi
13310
 
+fi
13311
 
+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
13312
 
+if test -n "$ac_ct_OBJDUMP"; then
13313
 
+  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
13314
 
+$as_echo "$ac_ct_OBJDUMP" >&6; }
13315
 
+else
13316
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
13317
 
+$as_echo "no" >&6; }
13318
 
+fi
13319
 
 
13320
 
-# Is the header present?
13321
 
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
13322
 
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
13323
 
-cat >conftest.$ac_ext <<_ACEOF
13324
 
-/* confdefs.h.  */
13325
 
-_ACEOF
13326
 
-cat confdefs.h >>conftest.$ac_ext
13327
 
-cat >>conftest.$ac_ext <<_ACEOF
13328
 
-/* end confdefs.h.  */
13329
 
-#include <$ac_header>
13330
 
-_ACEOF
13331
 
-if { (ac_try="$ac_cpp conftest.$ac_ext"
13332
 
-case "(($ac_try" in
13333
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13334
 
-  *) ac_try_echo=$ac_try;;
13335
 
+  if test "x$ac_ct_OBJDUMP" = x; then
13336
 
+    OBJDUMP="false"
13337
 
+  else
13338
 
+    case $cross_compiling:$ac_tool_warned in
13339
 
+yes:)
13340
 
+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
13341
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13342
 
+ac_tool_warned=yes ;;
13343
 
 esac
13344
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13345
 
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13346
 
-  ac_status=$?
13347
 
-  grep -v '^ *+' conftest.er1 >conftest.err
13348
 
-  rm -f conftest.er1
13349
 
-  cat conftest.err >&5
13350
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13351
 
-  (exit $ac_status); } >/dev/null && {
13352
 
-        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13353
 
-        test ! -s conftest.err
13354
 
-       }; then
13355
 
-  ac_header_preproc=yes
13356
 
+    OBJDUMP=$ac_ct_OBJDUMP
13357
 
+  fi
13358
 
 else
13359
 
-  echo "$as_me: failed program was:" >&5
13360
 
-sed 's/^/| /' conftest.$ac_ext >&5
13361
 
-
13362
 
-  ac_header_preproc=no
13363
 
+  OBJDUMP="$ac_cv_prog_OBJDUMP"
13364
 
 fi
13365
 
 
13366
 
-rm -f conftest.err conftest.$ac_ext
13367
 
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13368
 
-echo "${ECHO_T}$ac_header_preproc" >&6; }
13369
 
-
13370
 
-# So?  What about this header?
13371
 
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13372
 
-  yes:no: )
13373
 
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13374
 
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13375
 
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13376
 
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13377
 
-    ac_header_preproc=yes
13378
 
-    ;;
13379
 
-  no:yes:* )
13380
 
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13381
 
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13382
 
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
13383
 
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
13384
 
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13385
 
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13386
 
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
13387
 
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
13388
 
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13389
 
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13390
 
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13391
 
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13392
 
-    ( cat <<\_ASBOX
13393
 
-## --------------------------------------------------------------------------- ##
13394
 
-## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=sound-juicer ##
13395
 
-## --------------------------------------------------------------------------- ##
13396
 
-_ASBOX
13397
 
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
13398
 
-    ;;
13399
 
-esac
13400
 
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
13401
 
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13402
 
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13403
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
13404
 
-else
13405
 
-  eval "$as_ac_Header=\$ac_header_preproc"
13406
 
-fi
13407
 
-ac_res=`eval echo '${'$as_ac_Header'}'`
13408
 
-              { echo "$as_me:$LINENO: result: $ac_res" >&5
13409
 
-echo "${ECHO_T}$ac_res" >&6; }
13410
 
+test -z "$OBJDUMP" && OBJDUMP=objdump
13411
 
 
13412
 
-fi
13413
 
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
13414
 
-  cat >>confdefs.h <<_ACEOF
13415
 
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13416
 
-_ACEOF
13417
 
 
13418
 
-fi
13419
 
 
13420
 
-done
13421
 
 
13422
 
 
13423
 
 
13424
 
-if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13425
 
-    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13426
 
-    (test "X$CXX" != "Xg++"))) ; then
13427
 
-  ac_ext=cpp
13428
 
-ac_cpp='$CXXCPP $CPPFLAGS'
13429
 
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13430
 
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13431
 
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13432
 
-{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
13433
 
-echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
13434
 
-if test -z "$CXXCPP"; then
13435
 
-  if test "${ac_cv_prog_CXXCPP+set}" = set; then
13436
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
13437
 
-else
13438
 
-      # Double quotes because CXXCPP needs to be expanded
13439
 
-    for CXXCPP in "$CXX -E" "/lib/cpp"
13440
 
-    do
13441
 
-      ac_preproc_ok=false
13442
 
-for ac_cxx_preproc_warn_flag in '' yes
13443
 
-do
13444
 
-  # Use a header file that comes with gcc, so configuring glibc
13445
 
-  # with a fresh cross-compiler works.
13446
 
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13447
 
-  # <limits.h> exists even on freestanding compilers.
13448
 
-  # On the NeXT, cc -E runs the code through the compiler's parser,
13449
 
-  # not just through cpp. "Syntax error" is here to catch this case.
13450
 
-  cat >conftest.$ac_ext <<_ACEOF
13451
 
-/* confdefs.h.  */
13452
 
-_ACEOF
13453
 
-cat confdefs.h >>conftest.$ac_ext
13454
 
-cat >>conftest.$ac_ext <<_ACEOF
13455
 
-/* end confdefs.h.  */
13456
 
-#ifdef __STDC__
13457
 
-# include <limits.h>
13458
 
-#else
13459
 
-# include <assert.h>
13460
 
-#endif
13461
 
-                    Syntax error
13462
 
-_ACEOF
13463
 
-if { (ac_try="$ac_cpp conftest.$ac_ext"
13464
 
-case "(($ac_try" in
13465
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13466
 
-  *) ac_try_echo=$ac_try;;
13467
 
-esac
13468
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13469
 
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13470
 
-  ac_status=$?
13471
 
-  grep -v '^ *+' conftest.er1 >conftest.err
13472
 
-  rm -f conftest.er1
13473
 
-  cat conftest.err >&5
13474
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475
 
-  (exit $ac_status); } >/dev/null && {
13476
 
-        test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13477
 
-        test ! -s conftest.err
13478
 
-       }; then
13479
 
-  :
13480
 
-else
13481
 
-  echo "$as_me: failed program was:" >&5
13482
 
-sed 's/^/| /' conftest.$ac_ext >&5
13483
 
 
13484
 
-  # Broken: fails on valid input.
13485
 
-continue
13486
 
-fi
13487
 
 
13488
 
-rm -f conftest.err conftest.$ac_ext
13489
 
 
13490
 
-  # OK, works on sane cases.  Now check whether nonexistent headers
13491
 
-  # can be detected and how.
13492
 
-  cat >conftest.$ac_ext <<_ACEOF
13493
 
-/* confdefs.h.  */
13494
 
-_ACEOF
13495
 
-cat confdefs.h >>conftest.$ac_ext
13496
 
-cat >>conftest.$ac_ext <<_ACEOF
13497
 
-/* end confdefs.h.  */
13498
 
-#include <ac_nonexistent.h>
13499
 
-_ACEOF
13500
 
-if { (ac_try="$ac_cpp conftest.$ac_ext"
13501
 
-case "(($ac_try" in
13502
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13503
 
-  *) ac_try_echo=$ac_try;;
13504
 
-esac
13505
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13506
 
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13507
 
-  ac_status=$?
13508
 
-  grep -v '^ *+' conftest.er1 >conftest.err
13509
 
-  rm -f conftest.er1
13510
 
-  cat conftest.err >&5
13511
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512
 
-  (exit $ac_status); } >/dev/null && {
13513
 
-        test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13514
 
-        test ! -s conftest.err
13515
 
-       }; then
13516
 
-  # Broken: success on invalid input.
13517
 
-continue
13518
 
+{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
13519
 
+$as_echo_n "checking how to recognize dependent libraries... " >&6; }
13520
 
+if test "${lt_cv_deplibs_check_method+set}" = set; then
13521
 
+  $as_echo_n "(cached) " >&6
13522
 
 else
13523
 
-  echo "$as_me: failed program was:" >&5
13524
 
-sed 's/^/| /' conftest.$ac_ext >&5
13525
 
+  lt_cv_file_magic_cmd='$MAGIC_CMD'
13526
 
+lt_cv_file_magic_test_file=
13527
 
+lt_cv_deplibs_check_method='unknown'
13528
 
+# Need to set the preceding variable on all platforms that support
13529
 
+# interlibrary dependencies.
13530
 
+# 'none' -- dependencies not supported.
13531
 
+# `unknown' -- same as none, but documents that we really don't know.
13532
 
+# 'pass_all' -- all dependencies passed with no checks.
13533
 
+# 'test_compile' -- check by making test program.
13534
 
+# 'file_magic [[regex]]' -- check by looking for files in library path
13535
 
+# which responds to the $file_magic_cmd with a given extended regex.
13536
 
+# If you have `file' or equivalent on your system and you're not sure
13537
 
+# whether `pass_all' will *always* work, you probably want this one.
13538
 
 
13539
 
-  # Passes both tests.
13540
 
-ac_preproc_ok=:
13541
 
-break
13542
 
-fi
13543
 
+case $host_os in
13544
 
+aix[4-9]*)
13545
 
+  lt_cv_deplibs_check_method=pass_all
13546
 
+  ;;
13547
 
 
13548
 
-rm -f conftest.err conftest.$ac_ext
13549
 
+beos*)
13550
 
+  lt_cv_deplibs_check_method=pass_all
13551
 
+  ;;
13552
 
 
13553
 
-done
13554
 
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13555
 
-rm -f conftest.err conftest.$ac_ext
13556
 
-if $ac_preproc_ok; then
13557
 
-  break
13558
 
-fi
13559
 
+bsdi[45]*)
13560
 
+  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
13561
 
+  lt_cv_file_magic_cmd='/usr/bin/file -L'
13562
 
+  lt_cv_file_magic_test_file=/shlib/libc.so
13563
 
+  ;;
13564
 
 
13565
 
-    done
13566
 
-    ac_cv_prog_CXXCPP=$CXXCPP
13567
 
+cygwin*)
13568
 
+  # func_win32_libid is a shell function defined in ltmain.sh
13569
 
+  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
13570
 
+  lt_cv_file_magic_cmd='func_win32_libid'
13571
 
+  ;;
13572
 
 
13573
 
-fi
13574
 
-  CXXCPP=$ac_cv_prog_CXXCPP
13575
 
-else
13576
 
-  ac_cv_prog_CXXCPP=$CXXCPP
13577
 
-fi
13578
 
-{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
13579
 
-echo "${ECHO_T}$CXXCPP" >&6; }
13580
 
-ac_preproc_ok=false
13581
 
-for ac_cxx_preproc_warn_flag in '' yes
13582
 
-do
13583
 
-  # Use a header file that comes with gcc, so configuring glibc
13584
 
-  # with a fresh cross-compiler works.
13585
 
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13586
 
-  # <limits.h> exists even on freestanding compilers.
13587
 
-  # On the NeXT, cc -E runs the code through the compiler's parser,
13588
 
-  # not just through cpp. "Syntax error" is here to catch this case.
13589
 
-  cat >conftest.$ac_ext <<_ACEOF
13590
 
-/* confdefs.h.  */
13591
 
-_ACEOF
13592
 
-cat confdefs.h >>conftest.$ac_ext
13593
 
-cat >>conftest.$ac_ext <<_ACEOF
13594
 
-/* end confdefs.h.  */
13595
 
-#ifdef __STDC__
13596
 
-# include <limits.h>
13597
 
-#else
13598
 
-# include <assert.h>
13599
 
-#endif
13600
 
-                    Syntax error
13601
 
-_ACEOF
13602
 
-if { (ac_try="$ac_cpp conftest.$ac_ext"
13603
 
-case "(($ac_try" in
13604
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13605
 
-  *) ac_try_echo=$ac_try;;
13606
 
-esac
13607
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13608
 
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13609
 
-  ac_status=$?
13610
 
-  grep -v '^ *+' conftest.er1 >conftest.err
13611
 
-  rm -f conftest.er1
13612
 
-  cat conftest.err >&5
13613
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13614
 
-  (exit $ac_status); } >/dev/null && {
13615
 
-        test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13616
 
-        test ! -s conftest.err
13617
 
-       }; then
13618
 
-  :
13619
 
-else
13620
 
-  echo "$as_me: failed program was:" >&5
13621
 
-sed 's/^/| /' conftest.$ac_ext >&5
13622
 
+mingw* | pw32*)
13623
 
+  # Base MSYS/MinGW do not provide the 'file' command needed by
13624
 
+  # func_win32_libid shell function, so use a weaker test based on 'objdump',
13625
 
+  # unless we find 'file', for example because we are cross-compiling.
13626
 
+  if ( file / ) >/dev/null 2>&1; then
13627
 
+    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
13628
 
+    lt_cv_file_magic_cmd='func_win32_libid'
13629
 
+  else
13630
 
+    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
13631
 
+    lt_cv_file_magic_cmd='$OBJDUMP -f'
13632
 
+  fi
13633
 
+  ;;
13634
 
 
13635
 
-  # Broken: fails on valid input.
13636
 
-continue
13637
 
-fi
13638
 
+cegcc)
13639
 
+  # use the weaker test based on 'objdump'. See mingw*.
13640
 
+  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
13641
 
+  lt_cv_file_magic_cmd='$OBJDUMP -f'
13642
 
+  ;;
13643
 
 
13644
 
-rm -f conftest.err conftest.$ac_ext
13645
 
+darwin* | rhapsody*)
13646
 
+  lt_cv_deplibs_check_method=pass_all
13647
 
+  ;;
13648
 
 
13649
 
-  # OK, works on sane cases.  Now check whether nonexistent headers
13650
 
-  # can be detected and how.
13651
 
-  cat >conftest.$ac_ext <<_ACEOF
13652
 
-/* confdefs.h.  */
13653
 
-_ACEOF
13654
 
-cat confdefs.h >>conftest.$ac_ext
13655
 
-cat >>conftest.$ac_ext <<_ACEOF
13656
 
-/* end confdefs.h.  */
13657
 
-#include <ac_nonexistent.h>
13658
 
-_ACEOF
13659
 
-if { (ac_try="$ac_cpp conftest.$ac_ext"
13660
 
-case "(($ac_try" in
13661
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13662
 
-  *) ac_try_echo=$ac_try;;
13663
 
+freebsd* | dragonfly*)
13664
 
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
13665
 
+    case $host_cpu in
13666
 
+    i*86 )
13667
 
+      # Not sure whether the presence of OpenBSD here was a mistake.
13668
 
+      # Let's accept both of them until this is cleared up.
13669
 
+      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
13670
 
+      lt_cv_file_magic_cmd=/usr/bin/file
13671
 
+      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
13672
 
+      ;;
13673
 
+    esac
13674
 
+  else
13675
 
+    lt_cv_deplibs_check_method=pass_all
13676
 
+  fi
13677
 
+  ;;
13678
 
+
13679
 
+gnu*)
13680
 
+  lt_cv_deplibs_check_method=pass_all
13681
 
+  ;;
13682
 
+
13683
 
+hpux10.20* | hpux11*)
13684
 
+  lt_cv_file_magic_cmd=/usr/bin/file
13685
 
+  case $host_cpu in
13686
 
+  ia64*)
13687
 
+    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
13688
 
+    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
13689
 
+    ;;
13690
 
+  hppa*64*)
13691
 
+    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]'
13692
 
+    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
13693
 
+    ;;
13694
 
+  *)
13695
 
+    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
13696
 
+    lt_cv_file_magic_test_file=/usr/lib/libc.sl
13697
 
+    ;;
13698
 
+  esac
13699
 
+  ;;
13700
 
+
13701
 
+interix[3-9]*)
13702
 
+  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
13703
 
+  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
13704
 
+  ;;
13705
 
+
13706
 
+irix5* | irix6* | nonstopux*)
13707
 
+  case $LD in
13708
 
+  *-32|*"-32 ") libmagic=32-bit;;
13709
 
+  *-n32|*"-n32 ") libmagic=N32;;
13710
 
+  *-64|*"-64 ") libmagic=64-bit;;
13711
 
+  *) libmagic=never-match;;
13712
 
+  esac
13713
 
+  lt_cv_deplibs_check_method=pass_all
13714
 
+  ;;
13715
 
+
13716
 
+# This must be Linux ELF.
13717
 
+linux* | k*bsd*-gnu)
13718
 
+  lt_cv_deplibs_check_method=pass_all
13719
 
+  ;;
13720
 
+
13721
 
+netbsd* | netbsdelf*-gnu)
13722
 
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
13723
 
+    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
13724
 
+  else
13725
 
+    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
13726
 
+  fi
13727
 
+  ;;
13728
 
+
13729
 
+newos6*)
13730
 
+  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
13731
 
+  lt_cv_file_magic_cmd=/usr/bin/file
13732
 
+  lt_cv_file_magic_test_file=/usr/lib/libnls.so
13733
 
+  ;;
13734
 
+
13735
 
+*nto* | *qnx*)
13736
 
+  lt_cv_deplibs_check_method=pass_all
13737
 
+  ;;
13738
 
+
13739
 
+openbsd*)
13740
 
+  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13741
 
+    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
13742
 
+  else
13743
 
+    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
13744
 
+  fi
13745
 
+  ;;
13746
 
+
13747
 
+osf3* | osf4* | osf5*)
13748
 
+  lt_cv_deplibs_check_method=pass_all
13749
 
+  ;;
13750
 
+
13751
 
+rdos*)
13752
 
+  lt_cv_deplibs_check_method=pass_all
13753
 
+  ;;
13754
 
+
13755
 
+solaris*)
13756
 
+  lt_cv_deplibs_check_method=pass_all
13757
 
+  ;;
13758
 
+
13759
 
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13760
 
+  lt_cv_deplibs_check_method=pass_all
13761
 
+  ;;
13762
 
+
13763
 
+sysv4 | sysv4.3*)
13764
 
+  case $host_vendor in
13765
 
+  motorola)
13766
 
+    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]'
13767
 
+    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
13768
 
+    ;;
13769
 
+  ncr)
13770
 
+    lt_cv_deplibs_check_method=pass_all
13771
 
+    ;;
13772
 
+  sequent)
13773
 
+    lt_cv_file_magic_cmd='/bin/file'
13774
 
+    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
13775
 
+    ;;
13776
 
+  sni)
13777
 
+    lt_cv_file_magic_cmd='/bin/file'
13778
 
+    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
13779
 
+    lt_cv_file_magic_test_file=/lib/libc.so
13780
 
+    ;;
13781
 
+  siemens)
13782
 
+    lt_cv_deplibs_check_method=pass_all
13783
 
+    ;;
13784
 
+  pc)
13785
 
+    lt_cv_deplibs_check_method=pass_all
13786
 
+    ;;
13787
 
+  esac
13788
 
+  ;;
13789
 
+
13790
 
+tpf*)
13791
 
+  lt_cv_deplibs_check_method=pass_all
13792
 
+  ;;
13793
 
 esac
13794
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13795
 
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13796
 
-  ac_status=$?
13797
 
-  grep -v '^ *+' conftest.er1 >conftest.err
13798
 
-  rm -f conftest.er1
13799
 
-  cat conftest.err >&5
13800
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13801
 
-  (exit $ac_status); } >/dev/null && {
13802
 
-        test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13803
 
-        test ! -s conftest.err
13804
 
-       }; then
13805
 
-  # Broken: success on invalid input.
13806
 
-continue
13807
 
-else
13808
 
-  echo "$as_me: failed program was:" >&5
13809
 
-sed 's/^/| /' conftest.$ac_ext >&5
13810
 
 
13811
 
-  # Passes both tests.
13812
 
-ac_preproc_ok=:
13813
 
-break
13814
 
 fi
13815
 
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
13816
 
+$as_echo "$lt_cv_deplibs_check_method" >&6; }
13817
 
+file_magic_cmd=$lt_cv_file_magic_cmd
13818
 
+deplibs_check_method=$lt_cv_deplibs_check_method
13819
 
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
13820
 
+
13821
 
+
13822
 
+
13823
 
+
13824
 
+
13825
 
+
13826
 
 
13827
 
-rm -f conftest.err conftest.$ac_ext
13828
 
 
13829
 
-done
13830
 
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13831
 
-rm -f conftest.err conftest.$ac_ext
13832
 
-if $ac_preproc_ok; then
13833
 
-  :
13834
 
-else
13835
 
-  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13836
 
-See \`config.log' for more details." >&5
13837
 
-echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13838
 
-See \`config.log' for more details." >&2;}
13839
 
-   { (exit 1); exit 1; }; }
13840
 
-fi
13841
 
 
13842
 
-ac_ext=cpp
13843
 
-ac_cpp='$CXXCPP $CPPFLAGS'
13844
 
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13845
 
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13846
 
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13847
 
 
13848
 
-fi
13849
 
 
13850
 
 
13851
 
-ac_ext=f
13852
 
-ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13853
 
-ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13854
 
-ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13855
 
 if test -n "$ac_tool_prefix"; then
13856
 
-  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
13857
 
-  do
13858
 
-    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13859
 
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13860
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
13861
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13862
 
-if test "${ac_cv_prog_F77+set}" = set; then
13863
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
13864
 
+  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13865
 
+set dummy ${ac_tool_prefix}ar; ac_word=$2
13866
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13867
 
+$as_echo_n "checking for $ac_word... " >&6; }
13868
 
+if test "${ac_cv_prog_AR+set}" = set; then
13869
 
+  $as_echo_n "(cached) " >&6
13870
 
 else
13871
 
-  if test -n "$F77"; then
13872
 
-  ac_cv_prog_F77="$F77" # Let the user override the test.
13873
 
+  if test -n "$AR"; then
13874
 
+  ac_cv_prog_AR="$AR" # Let the user override the test.
13875
 
 else
13876
 
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13877
 
 for as_dir in $PATH
13878
 
@@ -7951,8 +8077,8 @@
13879
 
   test -z "$as_dir" && as_dir=.
13880
 
   for ac_exec_ext in '' $ac_executable_extensions; do
13881
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13882
 
-    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
13883
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13884
 
+    ac_cv_prog_AR="${ac_tool_prefix}ar"
13885
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13886
 
     break 2
13887
 
   fi
13888
 
 done
13889
 
@@ -7961,32 +8087,28 @@
13890
 
 
13891
 
 fi
13892
 
 fi
13893
 
-F77=$ac_cv_prog_F77
13894
 
-if test -n "$F77"; then
13895
 
-  { echo "$as_me:$LINENO: result: $F77" >&5
13896
 
-echo "${ECHO_T}$F77" >&6; }
13897
 
+AR=$ac_cv_prog_AR
13898
 
+if test -n "$AR"; then
13899
 
+  { $as_echo "$as_me:$LINENO: result: $AR" >&5
13900
 
+$as_echo "$AR" >&6; }
13901
 
 else
13902
 
-  { echo "$as_me:$LINENO: result: no" >&5
13903
 
-echo "${ECHO_T}no" >&6; }
13904
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
13905
 
+$as_echo "no" >&6; }
13906
 
 fi
13907
 
 
13908
 
 
13909
 
-    test -n "$F77" && break
13910
 
-  done
13911
 
 fi
13912
 
-if test -z "$F77"; then
13913
 
-  ac_ct_F77=$F77
13914
 
-  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
13915
 
-do
13916
 
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
13917
 
-set dummy $ac_prog; ac_word=$2
13918
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
13919
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13920
 
-if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
13921
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
13922
 
+if test -z "$ac_cv_prog_AR"; then
13923
 
+  ac_ct_AR=$AR
13924
 
+  # Extract the first word of "ar", so it can be a program name with args.
13925
 
+set dummy ar; ac_word=$2
13926
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13927
 
+$as_echo_n "checking for $ac_word... " >&6; }
13928
 
+if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
13929
 
+  $as_echo_n "(cached) " >&6
13930
 
 else
13931
 
-  if test -n "$ac_ct_F77"; then
13932
 
-  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
13933
 
+  if test -n "$ac_ct_AR"; then
13934
 
+  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
13935
 
 else
13936
 
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13937
 
 for as_dir in $PATH
13938
 
@@ -7995,8 +8117,8 @@
13939
 
   test -z "$as_dir" && as_dir=.
13940
 
   for ac_exec_ext in '' $ac_executable_extensions; do
13941
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13942
 
-    ac_cv_prog_ac_ct_F77="$ac_prog"
13943
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13944
 
+    ac_cv_prog_ac_ct_AR="ar"
13945
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13946
 
     break 2
13947
 
   fi
13948
 
 done
13949
 
@@ -8005,323 +8127,309 @@
13950
 
 
13951
 
 fi
13952
 
 fi
13953
 
-ac_ct_F77=$ac_cv_prog_ac_ct_F77
13954
 
-if test -n "$ac_ct_F77"; then
13955
 
-  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
13956
 
-echo "${ECHO_T}$ac_ct_F77" >&6; }
13957
 
+ac_ct_AR=$ac_cv_prog_ac_ct_AR
13958
 
+if test -n "$ac_ct_AR"; then
13959
 
+  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
13960
 
+$as_echo "$ac_ct_AR" >&6; }
13961
 
 else
13962
 
-  { echo "$as_me:$LINENO: result: no" >&5
13963
 
-echo "${ECHO_T}no" >&6; }
13964
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
13965
 
+$as_echo "no" >&6; }
13966
 
 fi
13967
 
 
13968
 
-
13969
 
-  test -n "$ac_ct_F77" && break
13970
 
-done
13971
 
-
13972
 
-  if test "x$ac_ct_F77" = x; then
13973
 
-    F77=""
13974
 
+  if test "x$ac_ct_AR" = x; then
13975
 
+    AR="false"
13976
 
   else
13977
 
     case $cross_compiling:$ac_tool_warned in
13978
 
 yes:)
13979
 
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13980
 
-whose name does not start with the host triplet.  If you think this
13981
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
13982
 
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13983
 
-whose name does not start with the host triplet.  If you think this
13984
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13985
 
+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
13986
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13987
 
 ac_tool_warned=yes ;;
13988
 
 esac
13989
 
-    F77=$ac_ct_F77
13990
 
+    AR=$ac_ct_AR
13991
 
   fi
13992
 
+else
13993
 
+  AR="$ac_cv_prog_AR"
13994
 
 fi
13995
 
 
13996
 
+test -z "$AR" && AR=ar
13997
 
+test -z "$AR_FLAGS" && AR_FLAGS=cru
13998
 
 
13999
 
-# Provide some information about the compiler.
14000
 
-echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
14001
 
-ac_compiler=`set X $ac_compile; echo $2`
14002
 
-{ (ac_try="$ac_compiler --version >&5"
14003
 
-case "(($ac_try" in
14004
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14005
 
-  *) ac_try_echo=$ac_try;;
14006
 
-esac
14007
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14008
 
-  (eval "$ac_compiler --version >&5") 2>&5
14009
 
-  ac_status=$?
14010
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011
 
-  (exit $ac_status); }
14012
 
-{ (ac_try="$ac_compiler -v >&5"
14013
 
-case "(($ac_try" in
14014
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14015
 
-  *) ac_try_echo=$ac_try;;
14016
 
-esac
14017
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14018
 
-  (eval "$ac_compiler -v >&5") 2>&5
14019
 
-  ac_status=$?
14020
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14021
 
-  (exit $ac_status); }
14022
 
-{ (ac_try="$ac_compiler -V >&5"
14023
 
-case "(($ac_try" in
14024
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14025
 
-  *) ac_try_echo=$ac_try;;
14026
 
-esac
14027
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14028
 
-  (eval "$ac_compiler -V >&5") 2>&5
14029
 
-  ac_status=$?
14030
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14031
 
-  (exit $ac_status); }
14032
 
-rm -f a.out
14033
 
 
14034
 
-# If we don't use `.F' as extension, the preprocessor is not run on the
14035
 
-# input file.  (Note that this only needs to work for GNU compilers.)
14036
 
-ac_save_ext=$ac_ext
14037
 
-ac_ext=F
14038
 
-{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
14039
 
-echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
14040
 
-if test "${ac_cv_f77_compiler_gnu+set}" = set; then
14041
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
14042
 
-else
14043
 
-  cat >conftest.$ac_ext <<_ACEOF
14044
 
-      program main
14045
 
-#ifndef __GNUC__
14046
 
-       choke me
14047
 
-#endif
14048
 
 
14049
 
-      end
14050
 
-_ACEOF
14051
 
-rm -f conftest.$ac_objext
14052
 
-if { (ac_try="$ac_compile"
14053
 
-case "(($ac_try" in
14054
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14055
 
-  *) ac_try_echo=$ac_try;;
14056
 
-esac
14057
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14058
 
-  (eval "$ac_compile") 2>conftest.er1
14059
 
-  ac_status=$?
14060
 
-  grep -v '^ *+' conftest.er1 >conftest.err
14061
 
-  rm -f conftest.er1
14062
 
-  cat conftest.err >&5
14063
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14064
 
-  (exit $ac_status); } && {
14065
 
-        test -z "$ac_f77_werror_flag" ||
14066
 
-        test ! -s conftest.err
14067
 
-       } && test -s conftest.$ac_objext; then
14068
 
-  ac_compiler_gnu=yes
14069
 
-else
14070
 
-  echo "$as_me: failed program was:" >&5
14071
 
-sed 's/^/| /' conftest.$ac_ext >&5
14072
 
 
14073
 
-       ac_compiler_gnu=no
14074
 
-fi
14075
 
 
14076
 
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14077
 
-ac_cv_f77_compiler_gnu=$ac_compiler_gnu
14078
 
 
14079
 
-fi
14080
 
-{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
14081
 
-echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
14082
 
-ac_ext=$ac_save_ext
14083
 
-ac_test_FFLAGS=${FFLAGS+set}
14084
 
-ac_save_FFLAGS=$FFLAGS
14085
 
-FFLAGS=
14086
 
-{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
14087
 
-echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
14088
 
-if test "${ac_cv_prog_f77_g+set}" = set; then
14089
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
14090
 
-else
14091
 
-  FFLAGS=-g
14092
 
-cat >conftest.$ac_ext <<_ACEOF
14093
 
-      program main
14094
 
 
14095
 
-      end
14096
 
-_ACEOF
14097
 
-rm -f conftest.$ac_objext
14098
 
-if { (ac_try="$ac_compile"
14099
 
-case "(($ac_try" in
14100
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14101
 
-  *) ac_try_echo=$ac_try;;
14102
 
-esac
14103
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14104
 
-  (eval "$ac_compile") 2>conftest.er1
14105
 
-  ac_status=$?
14106
 
-  grep -v '^ *+' conftest.er1 >conftest.err
14107
 
-  rm -f conftest.er1
14108
 
-  cat conftest.err >&5
14109
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14110
 
-  (exit $ac_status); } && {
14111
 
-        test -z "$ac_f77_werror_flag" ||
14112
 
-        test ! -s conftest.err
14113
 
-       } && test -s conftest.$ac_objext; then
14114
 
-  ac_cv_prog_f77_g=yes
14115
 
+
14116
 
+
14117
 
+
14118
 
+
14119
 
+if test -n "$ac_tool_prefix"; then
14120
 
+  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14121
 
+set dummy ${ac_tool_prefix}strip; ac_word=$2
14122
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14123
 
+$as_echo_n "checking for $ac_word... " >&6; }
14124
 
+if test "${ac_cv_prog_STRIP+set}" = set; then
14125
 
+  $as_echo_n "(cached) " >&6
14126
 
 else
14127
 
-  echo "$as_me: failed program was:" >&5
14128
 
-sed 's/^/| /' conftest.$ac_ext >&5
14129
 
+  if test -n "$STRIP"; then
14130
 
+  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14131
 
+else
14132
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14133
 
+for as_dir in $PATH
14134
 
+do
14135
 
+  IFS=$as_save_IFS
14136
 
+  test -z "$as_dir" && as_dir=.
14137
 
+  for ac_exec_ext in '' $ac_executable_extensions; do
14138
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14139
 
+    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
14140
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14141
 
+    break 2
14142
 
+  fi
14143
 
+done
14144
 
+done
14145
 
+IFS=$as_save_IFS
14146
 
 
14147
 
-       ac_cv_prog_f77_g=no
14148
 
+fi
14149
 
+fi
14150
 
+STRIP=$ac_cv_prog_STRIP
14151
 
+if test -n "$STRIP"; then
14152
 
+  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
14153
 
+$as_echo "$STRIP" >&6; }
14154
 
+else
14155
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
14156
 
+$as_echo "no" >&6; }
14157
 
 fi
14158
 
 
14159
 
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14160
 
 
14161
 
 fi
14162
 
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
14163
 
-echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
14164
 
-if test "$ac_test_FFLAGS" = set; then
14165
 
-  FFLAGS=$ac_save_FFLAGS
14166
 
-elif test $ac_cv_prog_f77_g = yes; then
14167
 
-  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
14168
 
-    FFLAGS="-g -O2"
14169
 
-  else
14170
 
-    FFLAGS="-g"
14171
 
+if test -z "$ac_cv_prog_STRIP"; then
14172
 
+  ac_ct_STRIP=$STRIP
14173
 
+  # Extract the first word of "strip", so it can be a program name with args.
14174
 
+set dummy strip; ac_word=$2
14175
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14176
 
+$as_echo_n "checking for $ac_word... " >&6; }
14177
 
+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14178
 
+  $as_echo_n "(cached) " >&6
14179
 
+else
14180
 
+  if test -n "$ac_ct_STRIP"; then
14181
 
+  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14182
 
+else
14183
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14184
 
+for as_dir in $PATH
14185
 
+do
14186
 
+  IFS=$as_save_IFS
14187
 
+  test -z "$as_dir" && as_dir=.
14188
 
+  for ac_exec_ext in '' $ac_executable_extensions; do
14189
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14190
 
+    ac_cv_prog_ac_ct_STRIP="strip"
14191
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14192
 
+    break 2
14193
 
   fi
14194
 
+done
14195
 
+done
14196
 
+IFS=$as_save_IFS
14197
 
+
14198
 
+fi
14199
 
+fi
14200
 
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14201
 
+if test -n "$ac_ct_STRIP"; then
14202
 
+  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14203
 
+$as_echo "$ac_ct_STRIP" >&6; }
14204
 
 else
14205
 
-  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
14206
 
-    FFLAGS="-O2"
14207
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
14208
 
+$as_echo "no" >&6; }
14209
 
+fi
14210
 
+
14211
 
+  if test "x$ac_ct_STRIP" = x; then
14212
 
+    STRIP=":"
14213
 
   else
14214
 
-    FFLAGS=
14215
 
+    case $cross_compiling:$ac_tool_warned in
14216
 
+yes:)
14217
 
+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
14218
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14219
 
+ac_tool_warned=yes ;;
14220
 
+esac
14221
 
+    STRIP=$ac_ct_STRIP
14222
 
   fi
14223
 
+else
14224
 
+  STRIP="$ac_cv_prog_STRIP"
14225
 
 fi
14226
 
 
14227
 
-G77=`test $ac_compiler_gnu = yes && echo yes`
14228
 
-ac_ext=c
14229
 
-ac_cpp='$CPP $CPPFLAGS'
14230
 
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14231
 
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14232
 
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
14233
 
-
14234
 
+test -z "$STRIP" && STRIP=:
14235
 
 
14236
 
 
14237
 
-# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
14238
 
-# find the maximum length of command line arguments
14239
 
-{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
14240
 
-echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
14241
 
-if test "${lt_cv_sys_max_cmd_len+set}" = set; then
14242
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
14243
 
-else
14244
 
-    i=0
14245
 
-  teststring="ABCD"
14246
 
 
14247
 
-  case $build_os in
14248
 
-  msdosdjgpp*)
14249
 
-    # On DJGPP, this test can blow up pretty badly due to problems in libc
14250
 
-    # (any single argument exceeding 2000 bytes causes a buffer overrun
14251
 
-    # during glob expansion).  Even if it were fixed, the result of this
14252
 
-    # check would be larger than it should be.
14253
 
-    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
14254
 
-    ;;
14255
 
 
14256
 
-  gnu*)
14257
 
-    # Under GNU Hurd, this test is not required because there is
14258
 
-    # no limit to the length of command line arguments.
14259
 
-    # Libtool will interpret -1 as no limit whatsoever
14260
 
-    lt_cv_sys_max_cmd_len=-1;
14261
 
-    ;;
14262
 
 
14263
 
-  cygwin* | mingw*)
14264
 
-    # On Win9x/ME, this test blows up -- it succeeds, but takes
14265
 
-    # about 5 minutes as the teststring grows exponentially.
14266
 
-    # Worse, since 9x/ME are not pre-emptively multitasking,
14267
 
-    # you end up with a "frozen" computer, even though with patience
14268
 
-    # the test eventually succeeds (with a max line length of 256k).
14269
 
-    # Instead, let's just punt: use the minimum linelength reported by
14270
 
-    # all of the supported platforms: 8192 (on NT/2K/XP).
14271
 
-    lt_cv_sys_max_cmd_len=8192;
14272
 
-    ;;
14273
 
 
14274
 
-  amigaos*)
14275
 
-    # On AmigaOS with pdksh, this test takes hours, literally.
14276
 
-    # So we just punt and use a minimum line length of 8192.
14277
 
-    lt_cv_sys_max_cmd_len=8192;
14278
 
-    ;;
14279
 
+if test -n "$ac_tool_prefix"; then
14280
 
+  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14281
 
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14282
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14283
 
+$as_echo_n "checking for $ac_word... " >&6; }
14284
 
+if test "${ac_cv_prog_RANLIB+set}" = set; then
14285
 
+  $as_echo_n "(cached) " >&6
14286
 
+else
14287
 
+  if test -n "$RANLIB"; then
14288
 
+  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14289
 
+else
14290
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14291
 
+for as_dir in $PATH
14292
 
+do
14293
 
+  IFS=$as_save_IFS
14294
 
+  test -z "$as_dir" && as_dir=.
14295
 
+  for ac_exec_ext in '' $ac_executable_extensions; do
14296
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14297
 
+    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14298
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14299
 
+    break 2
14300
 
+  fi
14301
 
+done
14302
 
+done
14303
 
+IFS=$as_save_IFS
14304
 
 
14305
 
-  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
14306
 
-    # This has been around since 386BSD, at least.  Likely further.
14307
 
-    if test -x /sbin/sysctl; then
14308
 
-      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
14309
 
-    elif test -x /usr/sbin/sysctl; then
14310
 
-      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
14311
 
-    else
14312
 
-      lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
14313
 
-    fi
14314
 
-    # And add a safety zone
14315
 
-    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
14316
 
-    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
14317
 
-    ;;
14318
 
+fi
14319
 
+fi
14320
 
+RANLIB=$ac_cv_prog_RANLIB
14321
 
+if test -n "$RANLIB"; then
14322
 
+  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
14323
 
+$as_echo "$RANLIB" >&6; }
14324
 
+else
14325
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
14326
 
+$as_echo "no" >&6; }
14327
 
+fi
14328
 
 
14329
 
-  interix*)
14330
 
-    # We know the value 262144 and hardcode it with a safety zone (like BSD)
14331
 
-    lt_cv_sys_max_cmd_len=196608
14332
 
-    ;;
14333
 
 
14334
 
-  osf*)
14335
 
-    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
14336
 
-    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
14337
 
-    # nice to cause kernel panics so lets avoid the loop below.
14338
 
-    # First set a reasonable default.
14339
 
-    lt_cv_sys_max_cmd_len=16384
14340
 
-    #
14341
 
-    if test -x /sbin/sysconfig; then
14342
 
-      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
14343
 
-        *1*) lt_cv_sys_max_cmd_len=-1 ;;
14344
 
-      esac
14345
 
-    fi
14346
 
-    ;;
14347
 
-  sco3.2v5*)
14348
 
-    lt_cv_sys_max_cmd_len=102400
14349
 
-    ;;
14350
 
-  sysv5* | sco5v6* | sysv4.2uw2*)
14351
 
-    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
14352
 
-    if test -n "$kargmax"; then
14353
 
-      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[        ]//'`
14354
 
-    else
14355
 
-      lt_cv_sys_max_cmd_len=32768
14356
 
-    fi
14357
 
-    ;;
14358
 
-  *)
14359
 
-    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
14360
 
-    if test -n "$lt_cv_sys_max_cmd_len"; then
14361
 
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
14362
 
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
14363
 
-    else
14364
 
-      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
14365
 
-      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
14366
 
-              = "XX$teststring") >/dev/null 2>&1 &&
14367
 
-             new_result=`expr "X$teststring" : ".*" 2>&1` &&
14368
 
-             lt_cv_sys_max_cmd_len=$new_result &&
14369
 
-             test $i != 17 # 1/2 MB should be enough
14370
 
-      do
14371
 
-        i=`expr $i + 1`
14372
 
-        teststring=$teststring$teststring
14373
 
-      done
14374
 
-      teststring=
14375
 
-      # Add a significant safety factor because C++ compilers can tack on massive
14376
 
-      # amounts of additional arguments before passing them to the linker.
14377
 
-      # It appears as though 1/2 is a usable value.
14378
 
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
14379
 
-    fi
14380
 
-    ;;
14381
 
-  esac
14382
 
+fi
14383
 
+if test -z "$ac_cv_prog_RANLIB"; then
14384
 
+  ac_ct_RANLIB=$RANLIB
14385
 
+  # Extract the first word of "ranlib", so it can be a program name with args.
14386
 
+set dummy ranlib; ac_word=$2
14387
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14388
 
+$as_echo_n "checking for $ac_word... " >&6; }
14389
 
+if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14390
 
+  $as_echo_n "(cached) " >&6
14391
 
+else
14392
 
+  if test -n "$ac_ct_RANLIB"; then
14393
 
+  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14394
 
+else
14395
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14396
 
+for as_dir in $PATH
14397
 
+do
14398
 
+  IFS=$as_save_IFS
14399
 
+  test -z "$as_dir" && as_dir=.
14400
 
+  for ac_exec_ext in '' $ac_executable_extensions; do
14401
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14402
 
+    ac_cv_prog_ac_ct_RANLIB="ranlib"
14403
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14404
 
+    break 2
14405
 
+  fi
14406
 
+done
14407
 
+done
14408
 
+IFS=$as_save_IFS
14409
 
 
14410
 
 fi
14411
 
+fi
14412
 
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14413
 
+if test -n "$ac_ct_RANLIB"; then
14414
 
+  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14415
 
+$as_echo "$ac_ct_RANLIB" >&6; }
14416
 
+else
14417
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
14418
 
+$as_echo "no" >&6; }
14419
 
+fi
14420
 
 
14421
 
-if test -n $lt_cv_sys_max_cmd_len ; then
14422
 
-  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
14423
 
-echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
14424
 
+  if test "x$ac_ct_RANLIB" = x; then
14425
 
+    RANLIB=":"
14426
 
+  else
14427
 
+    case $cross_compiling:$ac_tool_warned in
14428
 
+yes:)
14429
 
+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
14430
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14431
 
+ac_tool_warned=yes ;;
14432
 
+esac
14433
 
+    RANLIB=$ac_ct_RANLIB
14434
 
+  fi
14435
 
 else
14436
 
-  { echo "$as_me:$LINENO: result: none" >&5
14437
 
-echo "${ECHO_T}none" >&6; }
14438
 
+  RANLIB="$ac_cv_prog_RANLIB"
14439
 
 fi
14440
 
 
14441
 
+test -z "$RANLIB" && RANLIB=:
14442
 
 
14443
 
 
14444
 
 
14445
 
 
14446
 
-# Check for command to grab the raw symbol name followed by C symbol from nm.
14447
 
-{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
14448
 
-echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
14449
 
-if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
14450
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
14451
 
-else
14452
 
 
14453
 
-# These are sane defaults that work on at least a few old systems.
14454
 
+
14455
 
+# Determine commands to create old-style static archives.
14456
 
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
14457
 
+old_postinstall_cmds='chmod 644 $oldlib'
14458
 
+old_postuninstall_cmds=
14459
 
+
14460
 
+if test -n "$RANLIB"; then
14461
 
+  case $host_os in
14462
 
+  openbsd*)
14463
 
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
14464
 
+    ;;
14465
 
+  *)
14466
 
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
14467
 
+    ;;
14468
 
+  esac
14469
 
+  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
14470
 
+fi
14471
 
+
14472
 
+
14473
 
+
14474
 
+
14475
 
+
14476
 
+
14477
 
+
14478
 
+
14479
 
+
14480
 
+
14481
 
+
14482
 
+
14483
 
+
14484
 
+
14485
 
+
14486
 
+
14487
 
+
14488
 
+
14489
 
+
14490
 
+
14491
 
+
14492
 
+
14493
 
+
14494
 
+
14495
 
+
14496
 
+
14497
 
+
14498
 
+
14499
 
+
14500
 
+
14501
 
+
14502
 
+
14503
 
+
14504
 
+
14505
 
+# If no C compiler was specified, use CC.
14506
 
+LTCC=${LTCC-"$CC"}
14507
 
+
14508
 
+# If no C compiler flags were specified, use CFLAGS.
14509
 
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14510
 
+
14511
 
+# Allow CC to be a program name with arguments.
14512
 
+compiler=$CC
14513
 
+
14514
 
+
14515
 
+# Check for command to grab the raw symbol name followed by C symbol from nm.
14516
 
+{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
14517
 
+$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
14518
 
+if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
14519
 
+  $as_echo_n "(cached) " >&6
14520
 
+else
14521
 
+
14522
 
+# These are sane defaults that work on at least a few old systems.
14523
 
 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
14524
 
 
14525
 
 # Character class describing NM global symbol codes.
14526
 
@@ -8330,33 +8438,18 @@
14527
 
 # Regexp to match symbols that can be accessed directly from C.
14528
 
 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
14529
 
 
14530
 
-# Transform an extracted symbol line into a proper C declaration
14531
 
-lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
14532
 
-
14533
 
-# Transform an extracted symbol line into symbol name and symbol address
14534
 
-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'"
14535
 
-
14536
 
 # Define system-specific variables.
14537
 
 case $host_os in
14538
 
 aix*)
14539
 
   symcode='[BCDT]'
14540
 
   ;;
14541
 
-cygwin* | mingw* | pw32*)
14542
 
+cygwin* | mingw* | pw32* | cegcc*)
14543
 
   symcode='[ABCDGISTW]'
14544
 
   ;;
14545
 
-hpux*) # Its linker distinguishes data from code symbols
14546
 
+hpux*)
14547
 
   if test "$host_cpu" = ia64; then
14548
 
     symcode='[ABCDEGRST]'
14549
 
   fi
14550
 
-  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
14551
 
-  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'"
14552
 
-  ;;
14553
 
-linux* | k*bsd*-gnu)
14554
 
-  if test "$host_cpu" = ia64; then
14555
 
-    symcode='[ABCDGIRSTW]'
14556
 
-    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
14557
 
-    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'"
14558
 
-  fi
14559
 
   ;;
14560
 
 irix* | nonstopux*)
14561
 
   symcode='[BCDEGRST]'
14562
 
@@ -8381,56 +8474,84 @@
14563
 
   ;;
14564
 
 esac
14565
 
 
14566
 
+# If we're using GNU nm, then use its standard symbol codes.
14567
 
+case `$NM -V 2>&1` in
14568
 
+*GNU* | *'with BFD'*)
14569
 
+  symcode='[ABCDGIRSTW]' ;;
14570
 
+esac
14571
 
+
14572
 
+# Transform an extracted symbol line into a proper C declaration.
14573
 
+# Some systems (esp. on ia64) link data and code symbols differently,
14574
 
+# so use this general approach.
14575
 
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
14576
 
+
14577
 
+# Transform an extracted symbol line into symbol name and symbol address
14578
 
+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
14579
 
+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'"
14580
 
+
14581
 
 # Handle CRLF in mingw tool chain
14582
 
 opt_cr=
14583
 
 case $build_os in
14584
 
 mingw*)
14585
 
-  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
14586
 
+  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
14587
 
   ;;
14588
 
 esac
14589
 
 
14590
 
-# If we're using GNU nm, then use its standard symbol codes.
14591
 
-case `$NM -V 2>&1` in
14592
 
-*GNU* | *'with BFD'*)
14593
 
-  symcode='[ABCDGIRSTW]' ;;
14594
 
-esac
14595
 
-
14596
 
-# Try without a prefix undercore, then with it.
14597
 
+# Try without a prefix underscore, then with it.
14598
 
 for ac_symprfx in "" "_"; do
14599
 
 
14600
 
   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
14601
 
   symxfrm="\\1 $ac_symprfx\\2 \\2"
14602
 
 
14603
 
   # Write the raw and C identifiers.
14604
 
-  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
14605
 
+  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
14606
 
+    # Fake it for dumpbin and say T for any non-static function
14607
 
+    # and D for any global variable.
14608
 
+    # Also find C++ and __fastcall symbols from MSVC++,
14609
 
+    # which start with @ or ?.
14610
 
+    lt_cv_sys_global_symbol_pipe="$AWK '"\
14611
 
+"     {last_section=section; section=\$ 3};"\
14612
 
+"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
14613
 
+"     \$ 0!~/External *\|/{next};"\
14614
 
+"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
14615
 
+"     {if(hide[section]) next};"\
14616
 
+"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
14617
 
+"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
14618
 
+"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
14619
 
+"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
14620
 
+"     ' prfx=^$ac_symprfx"
14621
 
+  else
14622
 
+    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
14623
 
+  fi
14624
 
 
14625
 
   # Check to see that the pipe works correctly.
14626
 
   pipe_works=no
14627
 
 
14628
 
   rm -f conftest*
14629
 
-  cat > conftest.$ac_ext <<EOF
14630
 
+  cat > conftest.$ac_ext <<_LT_EOF
14631
 
 #ifdef __cplusplus
14632
 
 extern "C" {
14633
 
 #endif
14634
 
 char nm_test_var;
14635
 
-void nm_test_func(){}
14636
 
+void nm_test_func(void);
14637
 
+void nm_test_func(void){}
14638
 
 #ifdef __cplusplus
14639
 
 }
14640
 
 #endif
14641
 
 int main(){nm_test_var='a';nm_test_func();return(0);}
14642
 
-EOF
14643
 
+_LT_EOF
14644
 
 
14645
 
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14646
 
   (eval $ac_compile) 2>&5
14647
 
   ac_status=$?
14648
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14649
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650
 
   (exit $ac_status); }; then
14651
 
     # Now try to grab the symbols.
14652
 
     nlist=conftest.nm
14653
 
     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
14654
 
   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
14655
 
   ac_status=$?
14656
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658
 
   (exit $ac_status); } && test -s "$nlist"; then
14659
 
       # Try sorting and uniquifying the output.
14660
 
       if sort "$nlist" | uniq > "$nlist"T; then
14661
 
@@ -8440,42 +8561,44 @@
14662
 
       fi
14663
 
 
14664
 
       # Make sure that we snagged all the symbols we need.
14665
 
-      if grep ' nm_test_var$' "$nlist" >/dev/null; then
14666
 
-       if grep ' nm_test_func$' "$nlist" >/dev/null; then
14667
 
-         cat <<EOF > conftest.$ac_ext
14668
 
+      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
14669
 
+       if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
14670
 
+         cat <<_LT_EOF > conftest.$ac_ext
14671
 
 #ifdef __cplusplus
14672
 
 extern "C" {
14673
 
 #endif
14674
 
 
14675
 
-EOF
14676
 
+_LT_EOF
14677
 
          # Now generate the symbol file.
14678
 
-         eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
14679
 
+         eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
14680
 
 
14681
 
-         cat <<EOF >> conftest.$ac_ext
14682
 
-#if defined (__STDC__) && __STDC__
14683
 
-# define lt_ptr_t void *
14684
 
-#else
14685
 
-# define lt_ptr_t char *
14686
 
-# define const
14687
 
-#endif
14688
 
+         cat <<_LT_EOF >> conftest.$ac_ext
14689
 
 
14690
 
-/* The mapping between symbol names and symbols. */
14691
 
+/* The mapping between symbol names and symbols.  */
14692
 
 const struct {
14693
 
   const char *name;
14694
 
-  lt_ptr_t address;
14695
 
+  void       *address;
14696
 
 }
14697
 
-lt_preloaded_symbols[] =
14698
 
+lt__PROGRAM__LTX_preloaded_symbols[] =
14699
 
 {
14700
 
-EOF
14701
 
-         $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
14702
 
-         cat <<\EOF >> conftest.$ac_ext
14703
 
-  {0, (lt_ptr_t) 0}
14704
 
+  { "@PROGRAM@", (void *) 0 },
14705
 
+_LT_EOF
14706
 
+         $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
14707
 
+         cat <<\_LT_EOF >> conftest.$ac_ext
14708
 
+  {0, (void *) 0}
14709
 
 };
14710
 
 
14711
 
+/* This works around a problem in FreeBSD linker */
14712
 
+#ifdef FREEBSD_WORKAROUND
14713
 
+static const void *lt_preloaded_setup() {
14714
 
+  return lt__PROGRAM__LTX_preloaded_symbols;
14715
 
+}
14716
 
+#endif
14717
 
+
14718
 
 #ifdef __cplusplus
14719
 
 }
14720
 
 #endif
14721
 
-EOF
14722
 
+_LT_EOF
14723
 
          # Now try linking the two files.
14724
 
          mv conftest.$ac_objext conftstm.$ac_objext
14725
 
          lt_save_LIBS="$LIBS"
14726
 
@@ -8485,7 +8608,7 @@
14727
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14728
 
   (eval $ac_link) 2>&5
14729
 
   ac_status=$?
14730
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732
 
   (exit $ac_status); } && test -s conftest${ac_exeext}; then
14733
 
            pipe_works=yes
14734
 
          fi
14735
 
@@ -8520,279 +8643,269 @@
14736
 
   lt_cv_sys_global_symbol_to_cdecl=
14737
 
 fi
14738
 
 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
14739
 
-  { echo "$as_me:$LINENO: result: failed" >&5
14740
 
-echo "${ECHO_T}failed" >&6; }
14741
 
+  { $as_echo "$as_me:$LINENO: result: failed" >&5
14742
 
+$as_echo "failed" >&6; }
14743
 
 else
14744
 
-  { echo "$as_me:$LINENO: result: ok" >&5
14745
 
-echo "${ECHO_T}ok" >&6; }
14746
 
+  { $as_echo "$as_me:$LINENO: result: ok" >&5
14747
 
+$as_echo "ok" >&6; }
14748
 
 fi
14749
 
 
14750
 
-{ echo "$as_me:$LINENO: checking for objdir" >&5
14751
 
-echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
14752
 
-if test "${lt_cv_objdir+set}" = set; then
14753
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
14754
 
-else
14755
 
-  rm -f .libs 2>/dev/null
14756
 
-mkdir .libs 2>/dev/null
14757
 
-if test -d .libs; then
14758
 
-  lt_cv_objdir=.libs
14759
 
-else
14760
 
-  # MS-DOS does not allow filenames that begin with a dot.
14761
 
-  lt_cv_objdir=_libs
14762
 
-fi
14763
 
-rmdir .libs 2>/dev/null
14764
 
-fi
14765
 
-{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
14766
 
-echo "${ECHO_T}$lt_cv_objdir" >&6; }
14767
 
-objdir=$lt_cv_objdir
14768
 
 
14769
 
 
14770
 
 
14771
 
 
14772
 
 
14773
 
-case $host_os in
14774
 
-aix3*)
14775
 
-  # AIX sometimes has problems with the GCC collect2 program.  For some
14776
 
-  # reason, if we set the COLLECT_NAMES environment variable, the problems
14777
 
-  # vanish in a puff of smoke.
14778
 
-  if test "X${COLLECT_NAMES+set}" != Xset; then
14779
 
-    COLLECT_NAMES=
14780
 
-    export COLLECT_NAMES
14781
 
-  fi
14782
 
-  ;;
14783
 
-esac
14784
 
 
14785
 
-# Sed substitution that helps us do robust quoting.  It backslashifies
14786
 
-# metacharacters that are still active within double-quoted strings.
14787
 
-Xsed='sed -e 1s/^X//'
14788
 
-sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
14789
 
 
14790
 
-# Same as above, but do not quote variable references.
14791
 
-double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
14792
 
 
14793
 
-# Sed substitution to delay expansion of an escaped shell variable in a
14794
 
-# double_quote_subst'ed string.
14795
 
-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
14796
 
 
14797
 
-# Sed substitution to avoid accidental globbing in evaled expressions
14798
 
-no_glob_subst='s/\*/\\\*/g'
14799
 
 
14800
 
-# Constants:
14801
 
-rm="rm -f"
14802
 
 
14803
 
-# Global variables:
14804
 
-default_ofile=libtool
14805
 
-can_build_shared=yes
14806
 
 
14807
 
-# All known linkers require a `.a' archive for static linking (except MSVC,
14808
 
-# which needs '.lib').
14809
 
-libext=a
14810
 
-ltmain="$ac_aux_dir/ltmain.sh"
14811
 
-ofile="$default_ofile"
14812
 
-with_gnu_ld="$lt_cv_prog_gnu_ld"
14813
 
 
14814
 
-if test -n "$ac_tool_prefix"; then
14815
 
-  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14816
 
-set dummy ${ac_tool_prefix}ar; ac_word=$2
14817
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14818
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14819
 
-if test "${ac_cv_prog_AR+set}" = set; then
14820
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
14821
 
-else
14822
 
-  if test -n "$AR"; then
14823
 
-  ac_cv_prog_AR="$AR" # Let the user override the test.
14824
 
-else
14825
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14826
 
-for as_dir in $PATH
14827
 
-do
14828
 
-  IFS=$as_save_IFS
14829
 
-  test -z "$as_dir" && as_dir=.
14830
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
14831
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14832
 
-    ac_cv_prog_AR="${ac_tool_prefix}ar"
14833
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14834
 
-    break 2
14835
 
-  fi
14836
 
-done
14837
 
-done
14838
 
-IFS=$as_save_IFS
14839
 
 
14840
 
-fi
14841
 
-fi
14842
 
-AR=$ac_cv_prog_AR
14843
 
-if test -n "$AR"; then
14844
 
-  { echo "$as_me:$LINENO: result: $AR" >&5
14845
 
-echo "${ECHO_T}$AR" >&6; }
14846
 
-else
14847
 
-  { echo "$as_me:$LINENO: result: no" >&5
14848
 
-echo "${ECHO_T}no" >&6; }
14849
 
-fi
14850
 
 
14851
 
 
14852
 
-fi
14853
 
-if test -z "$ac_cv_prog_AR"; then
14854
 
-  ac_ct_AR=$AR
14855
 
-  # Extract the first word of "ar", so it can be a program name with args.
14856
 
-set dummy ar; ac_word=$2
14857
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14858
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14859
 
-if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14860
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
14861
 
-else
14862
 
-  if test -n "$ac_ct_AR"; then
14863
 
-  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14864
 
-else
14865
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14866
 
-for as_dir in $PATH
14867
 
-do
14868
 
-  IFS=$as_save_IFS
14869
 
-  test -z "$as_dir" && as_dir=.
14870
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
14871
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14872
 
-    ac_cv_prog_ac_ct_AR="ar"
14873
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14874
 
-    break 2
14875
 
-  fi
14876
 
-done
14877
 
-done
14878
 
-IFS=$as_save_IFS
14879
 
 
14880
 
-fi
14881
 
-fi
14882
 
-ac_ct_AR=$ac_cv_prog_ac_ct_AR
14883
 
-if test -n "$ac_ct_AR"; then
14884
 
-  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14885
 
-echo "${ECHO_T}$ac_ct_AR" >&6; }
14886
 
-else
14887
 
-  { echo "$as_me:$LINENO: result: no" >&5
14888
 
-echo "${ECHO_T}no" >&6; }
14889
 
-fi
14890
 
 
14891
 
-  if test "x$ac_ct_AR" = x; then
14892
 
-    AR="false"
14893
 
-  else
14894
 
-    case $cross_compiling:$ac_tool_warned in
14895
 
-yes:)
14896
 
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14897
 
-whose name does not start with the host triplet.  If you think this
14898
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
14899
 
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14900
 
-whose name does not start with the host triplet.  If you think this
14901
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14902
 
-ac_tool_warned=yes ;;
14903
 
-esac
14904
 
-    AR=$ac_ct_AR
14905
 
-  fi
14906
 
-else
14907
 
-  AR="$ac_cv_prog_AR"
14908
 
-fi
14909
 
 
14910
 
-if test -n "$ac_tool_prefix"; then
14911
 
-  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14912
 
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14913
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14914
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14915
 
-if test "${ac_cv_prog_RANLIB+set}" = set; then
14916
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
14917
 
-else
14918
 
-  if test -n "$RANLIB"; then
14919
 
-  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14920
 
-else
14921
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14922
 
-for as_dir in $PATH
14923
 
-do
14924
 
-  IFS=$as_save_IFS
14925
 
-  test -z "$as_dir" && as_dir=.
14926
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
14927
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14928
 
-    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14929
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14930
 
-    break 2
14931
 
-  fi
14932
 
-done
14933
 
-done
14934
 
-IFS=$as_save_IFS
14935
 
 
14936
 
-fi
14937
 
-fi
14938
 
-RANLIB=$ac_cv_prog_RANLIB
14939
 
-if test -n "$RANLIB"; then
14940
 
-  { echo "$as_me:$LINENO: result: $RANLIB" >&5
14941
 
-echo "${ECHO_T}$RANLIB" >&6; }
14942
 
-else
14943
 
-  { echo "$as_me:$LINENO: result: no" >&5
14944
 
-echo "${ECHO_T}no" >&6; }
14945
 
+
14946
 
+# Check whether --enable-libtool-lock was given.
14947
 
+if test "${enable_libtool_lock+set}" = set; then
14948
 
+  enableval=$enable_libtool_lock;
14949
 
 fi
14950
 
 
14951
 
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
14952
 
 
14953
 
-fi
14954
 
-if test -z "$ac_cv_prog_RANLIB"; then
14955
 
-  ac_ct_RANLIB=$RANLIB
14956
 
-  # Extract the first word of "ranlib", so it can be a program name with args.
14957
 
-set dummy ranlib; ac_word=$2
14958
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14959
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14960
 
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14961
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
14962
 
-else
14963
 
-  if test -n "$ac_ct_RANLIB"; then
14964
 
-  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14965
 
-else
14966
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14967
 
-for as_dir in $PATH
14968
 
-do
14969
 
-  IFS=$as_save_IFS
14970
 
-  test -z "$as_dir" && as_dir=.
14971
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
14972
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14973
 
-    ac_cv_prog_ac_ct_RANLIB="ranlib"
14974
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14975
 
-    break 2
14976
 
+# Some flags need to be propagated to the compiler or linker for good
14977
 
+# libtool support.
14978
 
+case $host in
14979
 
+ia64-*-hpux*)
14980
 
+  # Find out which ABI we are using.
14981
 
+  echo 'int i;' > conftest.$ac_ext
14982
 
+  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14983
 
+  (eval $ac_compile) 2>&5
14984
 
+  ac_status=$?
14985
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14986
 
+  (exit $ac_status); }; then
14987
 
+    case `/usr/bin/file conftest.$ac_objext` in
14988
 
+      *ELF-32*)
14989
 
+       HPUX_IA64_MODE="32"
14990
 
+       ;;
14991
 
+      *ELF-64*)
14992
 
+       HPUX_IA64_MODE="64"
14993
 
+       ;;
14994
 
+    esac
14995
 
   fi
14996
 
-done
14997
 
-done
14998
 
-IFS=$as_save_IFS
14999
 
+  rm -rf conftest*
15000
 
+  ;;
15001
 
+*-*-irix6*)
15002
 
+  # Find out which ABI we are using.
15003
 
+  echo '#line 8705 "configure"' > conftest.$ac_ext
15004
 
+  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15005
 
+  (eval $ac_compile) 2>&5
15006
 
+  ac_status=$?
15007
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008
 
+  (exit $ac_status); }; then
15009
 
+    if test "$lt_cv_prog_gnu_ld" = yes; then
15010
 
+      case `/usr/bin/file conftest.$ac_objext` in
15011
 
+       *32-bit*)
15012
 
+         LD="${LD-ld} -melf32bsmip"
15013
 
+         ;;
15014
 
+       *N32*)
15015
 
+         LD="${LD-ld} -melf32bmipn32"
15016
 
+         ;;
15017
 
+       *64-bit*)
15018
 
+         LD="${LD-ld} -melf64bmip"
15019
 
+       ;;
15020
 
+      esac
15021
 
+    else
15022
 
+      case `/usr/bin/file conftest.$ac_objext` in
15023
 
+       *32-bit*)
15024
 
+         LD="${LD-ld} -32"
15025
 
+         ;;
15026
 
+       *N32*)
15027
 
+         LD="${LD-ld} -n32"
15028
 
+         ;;
15029
 
+       *64-bit*)
15030
 
+         LD="${LD-ld} -64"
15031
 
+         ;;
15032
 
+      esac
15033
 
+    fi
15034
 
+  fi
15035
 
+  rm -rf conftest*
15036
 
+  ;;
15037
 
 
15038
 
-fi
15039
 
-fi
15040
 
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15041
 
-if test -n "$ac_ct_RANLIB"; then
15042
 
-  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15043
 
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
15044
 
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
15045
 
+s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
15046
 
+  # Find out which ABI we are using.
15047
 
+  echo 'int i;' > conftest.$ac_ext
15048
 
+  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15049
 
+  (eval $ac_compile) 2>&5
15050
 
+  ac_status=$?
15051
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15052
 
+  (exit $ac_status); }; then
15053
 
+    case `/usr/bin/file conftest.o` in
15054
 
+      *32-bit*)
15055
 
+       case $host in
15056
 
+         x86_64-*kfreebsd*-gnu)
15057
 
+           LD="${LD-ld} -m elf_i386_fbsd"
15058
 
+           ;;
15059
 
+         x86_64-*linux*)
15060
 
+           LD="${LD-ld} -m elf_i386"
15061
 
+           ;;
15062
 
+         ppc64-*linux*|powerpc64-*linux*)
15063
 
+           LD="${LD-ld} -m elf32ppclinux"
15064
 
+           ;;
15065
 
+         s390x-*linux*)
15066
 
+           LD="${LD-ld} -m elf_s390"
15067
 
+           ;;
15068
 
+         sparc64-*linux*)
15069
 
+           LD="${LD-ld} -m elf32_sparc"
15070
 
+           ;;
15071
 
+       esac
15072
 
+       ;;
15073
 
+      *64-bit*)
15074
 
+       case $host in
15075
 
+         x86_64-*kfreebsd*-gnu)
15076
 
+           LD="${LD-ld} -m elf_x86_64_fbsd"
15077
 
+           ;;
15078
 
+         x86_64-*linux*)
15079
 
+           LD="${LD-ld} -m elf_x86_64"
15080
 
+           ;;
15081
 
+         ppc*-*linux*|powerpc*-*linux*)
15082
 
+           LD="${LD-ld} -m elf64ppc"
15083
 
+           ;;
15084
 
+         s390*-*linux*|s390*-*tpf*)
15085
 
+           LD="${LD-ld} -m elf64_s390"
15086
 
+           ;;
15087
 
+         sparc*-*linux*)
15088
 
+           LD="${LD-ld} -m elf64_sparc"
15089
 
+           ;;
15090
 
+       esac
15091
 
+       ;;
15092
 
+    esac
15093
 
+  fi
15094
 
+  rm -rf conftest*
15095
 
+  ;;
15096
 
+
15097
 
+*-*-sco3.2v5*)
15098
 
+  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
15099
 
+  SAVE_CFLAGS="$CFLAGS"
15100
 
+  CFLAGS="$CFLAGS -belf"
15101
 
+  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
15102
 
+$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
15103
 
+if test "${lt_cv_cc_needs_belf+set}" = set; then
15104
 
+  $as_echo_n "(cached) " >&6
15105
 
 else
15106
 
-  { echo "$as_me:$LINENO: result: no" >&5
15107
 
-echo "${ECHO_T}no" >&6; }
15108
 
-fi
15109
 
+  ac_ext=c
15110
 
+ac_cpp='$CPP $CPPFLAGS'
15111
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15112
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15113
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
15114
 
 
15115
 
-  if test "x$ac_ct_RANLIB" = x; then
15116
 
-    RANLIB=":"
15117
 
-  else
15118
 
-    case $cross_compiling:$ac_tool_warned in
15119
 
-yes:)
15120
 
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15121
 
-whose name does not start with the host triplet.  If you think this
15122
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
15123
 
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15124
 
-whose name does not start with the host triplet.  If you think this
15125
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15126
 
-ac_tool_warned=yes ;;
15127
 
+     cat >conftest.$ac_ext <<_ACEOF
15128
 
+/* confdefs.h.  */
15129
 
+_ACEOF
15130
 
+cat confdefs.h >>conftest.$ac_ext
15131
 
+cat >>conftest.$ac_ext <<_ACEOF
15132
 
+/* end confdefs.h.  */
15133
 
+
15134
 
+int
15135
 
+main ()
15136
 
+{
15137
 
+
15138
 
+  ;
15139
 
+  return 0;
15140
 
+}
15141
 
+_ACEOF
15142
 
+rm -f conftest.$ac_objext conftest$ac_exeext
15143
 
+if { (ac_try="$ac_link"
15144
 
+case "(($ac_try" in
15145
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15146
 
+  *) ac_try_echo=$ac_try;;
15147
 
 esac
15148
 
-    RANLIB=$ac_ct_RANLIB
15149
 
-  fi
15150
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15151
 
+$as_echo "$ac_try_echo") >&5
15152
 
+  (eval "$ac_link") 2>conftest.er1
15153
 
+  ac_status=$?
15154
 
+  grep -v '^ *+' conftest.er1 >conftest.err
15155
 
+  rm -f conftest.er1
15156
 
+  cat conftest.err >&5
15157
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15158
 
+  (exit $ac_status); } && {
15159
 
+        test -z "$ac_c_werror_flag" ||
15160
 
+        test ! -s conftest.err
15161
 
+       } && test -s conftest$ac_exeext && {
15162
 
+        test "$cross_compiling" = yes ||
15163
 
+        $as_test_x conftest$ac_exeext
15164
 
+       }; then
15165
 
+  lt_cv_cc_needs_belf=yes
15166
 
 else
15167
 
-  RANLIB="$ac_cv_prog_RANLIB"
15168
 
+  $as_echo "$as_me: failed program was:" >&5
15169
 
+sed 's/^/| /' conftest.$ac_ext >&5
15170
 
+
15171
 
+       lt_cv_cc_needs_belf=no
15172
 
 fi
15173
 
 
15174
 
-if test -n "$ac_tool_prefix"; then
15175
 
-  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15176
 
-set dummy ${ac_tool_prefix}strip; ac_word=$2
15177
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
15178
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15179
 
-if test "${ac_cv_prog_STRIP+set}" = set; then
15180
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
15181
 
+rm -rf conftest.dSYM
15182
 
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15183
 
+      conftest$ac_exeext conftest.$ac_ext
15184
 
+     ac_ext=c
15185
 
+ac_cpp='$CPP $CPPFLAGS'
15186
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15187
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15188
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
15189
 
+
15190
 
+fi
15191
 
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
15192
 
+$as_echo "$lt_cv_cc_needs_belf" >&6; }
15193
 
+  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
15194
 
+    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
15195
 
+    CFLAGS="$SAVE_CFLAGS"
15196
 
+  fi
15197
 
+  ;;
15198
 
+sparc*-*solaris*)
15199
 
+  # Find out which ABI we are using.
15200
 
+  echo 'int i;' > conftest.$ac_ext
15201
 
+  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15202
 
+  (eval $ac_compile) 2>&5
15203
 
+  ac_status=$?
15204
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15205
 
+  (exit $ac_status); }; then
15206
 
+    case `/usr/bin/file conftest.o` in
15207
 
+    *64-bit*)
15208
 
+      case $lt_cv_prog_gnu_ld in
15209
 
+      yes*) LD="${LD-ld} -m elf64_sparc" ;;
15210
 
+      *)
15211
 
+       if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
15212
 
+         LD="${LD-ld} -64"
15213
 
+       fi
15214
 
+       ;;
15215
 
+      esac
15216
 
+      ;;
15217
 
+    esac
15218
 
+  fi
15219
 
+  rm -rf conftest*
15220
 
+  ;;
15221
 
+esac
15222
 
+
15223
 
+need_locks="$enable_libtool_lock"
15224
 
+
15225
 
+
15226
 
+  case $host_os in
15227
 
+    rhapsody* | darwin*)
15228
 
+    if test -n "$ac_tool_prefix"; then
15229
 
+  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
15230
 
+set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
15231
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15232
 
+$as_echo_n "checking for $ac_word... " >&6; }
15233
 
+if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
15234
 
+  $as_echo_n "(cached) " >&6
15235
 
 else
15236
 
-  if test -n "$STRIP"; then
15237
 
-  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15238
 
+  if test -n "$DSYMUTIL"; then
15239
 
+  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
15240
 
 else
15241
 
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15242
 
 for as_dir in $PATH
15243
 
@@ -8801,8 +8914,8 @@
15244
 
   test -z "$as_dir" && as_dir=.
15245
 
   for ac_exec_ext in '' $ac_executable_extensions; do
15246
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15247
 
-    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15248
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15249
 
+    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
15250
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15251
 
     break 2
15252
 
   fi
15253
 
 done
15254
 
@@ -8811,28 +8924,28 @@
15255
 
 
15256
 
 fi
15257
 
 fi
15258
 
-STRIP=$ac_cv_prog_STRIP
15259
 
-if test -n "$STRIP"; then
15260
 
-  { echo "$as_me:$LINENO: result: $STRIP" >&5
15261
 
-echo "${ECHO_T}$STRIP" >&6; }
15262
 
+DSYMUTIL=$ac_cv_prog_DSYMUTIL
15263
 
+if test -n "$DSYMUTIL"; then
15264
 
+  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
15265
 
+$as_echo "$DSYMUTIL" >&6; }
15266
 
 else
15267
 
-  { echo "$as_me:$LINENO: result: no" >&5
15268
 
-echo "${ECHO_T}no" >&6; }
15269
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
15270
 
+$as_echo "no" >&6; }
15271
 
 fi
15272
 
 
15273
 
 
15274
 
 fi
15275
 
-if test -z "$ac_cv_prog_STRIP"; then
15276
 
-  ac_ct_STRIP=$STRIP
15277
 
-  # Extract the first word of "strip", so it can be a program name with args.
15278
 
-set dummy strip; ac_word=$2
15279
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
15280
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15281
 
-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15282
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
15283
 
+if test -z "$ac_cv_prog_DSYMUTIL"; then
15284
 
+  ac_ct_DSYMUTIL=$DSYMUTIL
15285
 
+  # Extract the first word of "dsymutil", so it can be a program name with args.
15286
 
+set dummy dsymutil; ac_word=$2
15287
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15288
 
+$as_echo_n "checking for $ac_word... " >&6; }
15289
 
+if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
15290
 
+  $as_echo_n "(cached) " >&6
15291
 
 else
15292
 
-  if test -n "$ac_ct_STRIP"; then
15293
 
-  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15294
 
+  if test -n "$ac_ct_DSYMUTIL"; then
15295
 
+  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
15296
 
 else
15297
 
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15298
 
 for as_dir in $PATH
15299
 
@@ -8841,8 +8954,8 @@
15300
 
   test -z "$as_dir" && as_dir=.
15301
 
   for ac_exec_ext in '' $ac_executable_extensions; do
15302
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15303
 
-    ac_cv_prog_ac_ct_STRIP="strip"
15304
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15305
 
+    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
15306
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15307
 
     break 2
15308
 
   fi
15309
 
 done
15310
 
@@ -8851,232 +8964,224 @@
15311
 
 
15312
 
 fi
15313
 
 fi
15314
 
-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15315
 
-if test -n "$ac_ct_STRIP"; then
15316
 
-  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15317
 
-echo "${ECHO_T}$ac_ct_STRIP" >&6; }
15318
 
+ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
15319
 
+if test -n "$ac_ct_DSYMUTIL"; then
15320
 
+  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
15321
 
+$as_echo "$ac_ct_DSYMUTIL" >&6; }
15322
 
 else
15323
 
-  { echo "$as_me:$LINENO: result: no" >&5
15324
 
-echo "${ECHO_T}no" >&6; }
15325
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
15326
 
+$as_echo "no" >&6; }
15327
 
 fi
15328
 
 
15329
 
-  if test "x$ac_ct_STRIP" = x; then
15330
 
-    STRIP=":"
15331
 
+  if test "x$ac_ct_DSYMUTIL" = x; then
15332
 
+    DSYMUTIL=":"
15333
 
   else
15334
 
     case $cross_compiling:$ac_tool_warned in
15335
 
 yes:)
15336
 
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15337
 
-whose name does not start with the host triplet.  If you think this
15338
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
15339
 
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15340
 
-whose name does not start with the host triplet.  If you think this
15341
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15342
 
+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
15343
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15344
 
 ac_tool_warned=yes ;;
15345
 
 esac
15346
 
-    STRIP=$ac_ct_STRIP
15347
 
+    DSYMUTIL=$ac_ct_DSYMUTIL
15348
 
   fi
15349
 
 else
15350
 
-  STRIP="$ac_cv_prog_STRIP"
15351
 
+  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
15352
 
 fi
15353
 
 
15354
 
+    if test -n "$ac_tool_prefix"; then
15355
 
+  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
15356
 
+set dummy ${ac_tool_prefix}nmedit; ac_word=$2
15357
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15358
 
+$as_echo_n "checking for $ac_word... " >&6; }
15359
 
+if test "${ac_cv_prog_NMEDIT+set}" = set; then
15360
 
+  $as_echo_n "(cached) " >&6
15361
 
+else
15362
 
+  if test -n "$NMEDIT"; then
15363
 
+  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
15364
 
+else
15365
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15366
 
+for as_dir in $PATH
15367
 
+do
15368
 
+  IFS=$as_save_IFS
15369
 
+  test -z "$as_dir" && as_dir=.
15370
 
+  for ac_exec_ext in '' $ac_executable_extensions; do
15371
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15372
 
+    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
15373
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15374
 
+    break 2
15375
 
+  fi
15376
 
+done
15377
 
+done
15378
 
+IFS=$as_save_IFS
15379
 
 
15380
 
-old_CC="$CC"
15381
 
-old_CFLAGS="$CFLAGS"
15382
 
+fi
15383
 
+fi
15384
 
+NMEDIT=$ac_cv_prog_NMEDIT
15385
 
+if test -n "$NMEDIT"; then
15386
 
+  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
15387
 
+$as_echo "$NMEDIT" >&6; }
15388
 
+else
15389
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
15390
 
+$as_echo "no" >&6; }
15391
 
+fi
15392
 
 
15393
 
-# Set sane defaults for various variables
15394
 
-test -z "$AR" && AR=ar
15395
 
-test -z "$AR_FLAGS" && AR_FLAGS=cru
15396
 
-test -z "$AS" && AS=as
15397
 
-test -z "$CC" && CC=cc
15398
 
-test -z "$LTCC" && LTCC=$CC
15399
 
-test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
15400
 
-test -z "$DLLTOOL" && DLLTOOL=dlltool
15401
 
-test -z "$LD" && LD=ld
15402
 
-test -z "$LN_S" && LN_S="ln -s"
15403
 
-test -z "$MAGIC_CMD" && MAGIC_CMD=file
15404
 
-test -z "$NM" && NM=nm
15405
 
-test -z "$SED" && SED=sed
15406
 
-test -z "$OBJDUMP" && OBJDUMP=objdump
15407
 
-test -z "$RANLIB" && RANLIB=:
15408
 
-test -z "$STRIP" && STRIP=:
15409
 
-test -z "$ac_objext" && ac_objext=o
15410
 
-
15411
 
-# Determine commands to create old-style static archives.
15412
 
-old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
15413
 
-old_postinstall_cmds='chmod 644 $oldlib'
15414
 
-old_postuninstall_cmds=
15415
 
 
15416
 
-if test -n "$RANLIB"; then
15417
 
-  case $host_os in
15418
 
-  openbsd*)
15419
 
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
15420
 
-    ;;
15421
 
-  *)
15422
 
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
15423
 
-    ;;
15424
 
-  esac
15425
 
-  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
15426
 
 fi
15427
 
-
15428
 
-for cc_temp in $compiler""; do
15429
 
-  case $cc_temp in
15430
 
-    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15431
 
-    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15432
 
-    \-*) ;;
15433
 
-    *) break;;
15434
 
-  esac
15435
 
+if test -z "$ac_cv_prog_NMEDIT"; then
15436
 
+  ac_ct_NMEDIT=$NMEDIT
15437
 
+  # Extract the first word of "nmedit", so it can be a program name with args.
15438
 
+set dummy nmedit; ac_word=$2
15439
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15440
 
+$as_echo_n "checking for $ac_word... " >&6; }
15441
 
+if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
15442
 
+  $as_echo_n "(cached) " >&6
15443
 
+else
15444
 
+  if test -n "$ac_ct_NMEDIT"; then
15445
 
+  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
15446
 
+else
15447
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15448
 
+for as_dir in $PATH
15449
 
+do
15450
 
+  IFS=$as_save_IFS
15451
 
+  test -z "$as_dir" && as_dir=.
15452
 
+  for ac_exec_ext in '' $ac_executable_extensions; do
15453
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15454
 
+    ac_cv_prog_ac_ct_NMEDIT="nmedit"
15455
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15456
 
+    break 2
15457
 
+  fi
15458
 
 done
15459
 
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15460
 
-
15461
 
+done
15462
 
+IFS=$as_save_IFS
15463
 
 
15464
 
-# Only perform the check for file, if the check method requires it
15465
 
-case $deplibs_check_method in
15466
 
-file_magic*)
15467
 
-  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
15468
 
-    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
15469
 
-echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
15470
 
-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
15471
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
15472
 
+fi
15473
 
+fi
15474
 
+ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
15475
 
+if test -n "$ac_ct_NMEDIT"; then
15476
 
+  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
15477
 
+$as_echo "$ac_ct_NMEDIT" >&6; }
15478
 
 else
15479
 
-  case $MAGIC_CMD in
15480
 
-[\\/*] |  ?:[\\/]*)
15481
 
-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
15482
 
-  ;;
15483
 
-*)
15484
 
-  lt_save_MAGIC_CMD="$MAGIC_CMD"
15485
 
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15486
 
-  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
15487
 
-  for ac_dir in $ac_dummy; do
15488
 
-    IFS="$lt_save_ifs"
15489
 
-    test -z "$ac_dir" && ac_dir=.
15490
 
-    if test -f $ac_dir/${ac_tool_prefix}file; then
15491
 
-      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
15492
 
-      if test -n "$file_magic_test_file"; then
15493
 
-       case $deplibs_check_method in
15494
 
-       "file_magic "*)
15495
 
-         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
15496
 
-         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
15497
 
-         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
15498
 
-           $EGREP "$file_magic_regex" > /dev/null; then
15499
 
-           :
15500
 
-         else
15501
 
-           cat <<EOF 1>&2
15502
 
-
15503
 
-*** Warning: the command libtool uses to detect shared libraries,
15504
 
-*** $file_magic_cmd, produces output that libtool cannot recognize.
15505
 
-*** The result is that libtool may fail to recognize shared libraries
15506
 
-*** as such.  This will affect the creation of libtool libraries that
15507
 
-*** depend on shared libraries, but programs linked with such libtool
15508
 
-*** libraries will work regardless of this problem.  Nevertheless, you
15509
 
-*** may want to report the problem to your system manager and/or to
15510
 
-*** bug-libtool@gnu.org
15511
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
15512
 
+$as_echo "no" >&6; }
15513
 
+fi
15514
 
 
15515
 
-EOF
15516
 
-         fi ;;
15517
 
-       esac
15518
 
-      fi
15519
 
-      break
15520
 
-    fi
15521
 
-  done
15522
 
-  IFS="$lt_save_ifs"
15523
 
-  MAGIC_CMD="$lt_save_MAGIC_CMD"
15524
 
-  ;;
15525
 
+  if test "x$ac_ct_NMEDIT" = x; then
15526
 
+    NMEDIT=":"
15527
 
+  else
15528
 
+    case $cross_compiling:$ac_tool_warned in
15529
 
+yes:)
15530
 
+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
15531
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15532
 
+ac_tool_warned=yes ;;
15533
 
 esac
15534
 
+    NMEDIT=$ac_ct_NMEDIT
15535
 
+  fi
15536
 
+else
15537
 
+  NMEDIT="$ac_cv_prog_NMEDIT"
15538
 
 fi
15539
 
 
15540
 
-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
15541
 
-if test -n "$MAGIC_CMD"; then
15542
 
-  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
15543
 
-echo "${ECHO_T}$MAGIC_CMD" >&6; }
15544
 
+    if test -n "$ac_tool_prefix"; then
15545
 
+  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
15546
 
+set dummy ${ac_tool_prefix}lipo; ac_word=$2
15547
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15548
 
+$as_echo_n "checking for $ac_word... " >&6; }
15549
 
+if test "${ac_cv_prog_LIPO+set}" = set; then
15550
 
+  $as_echo_n "(cached) " >&6
15551
 
 else
15552
 
-  { echo "$as_me:$LINENO: result: no" >&5
15553
 
-echo "${ECHO_T}no" >&6; }
15554
 
-fi
15555
 
+  if test -n "$LIPO"; then
15556
 
+  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
15557
 
+else
15558
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15559
 
+for as_dir in $PATH
15560
 
+do
15561
 
+  IFS=$as_save_IFS
15562
 
+  test -z "$as_dir" && as_dir=.
15563
 
+  for ac_exec_ext in '' $ac_executable_extensions; do
15564
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15565
 
+    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
15566
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15567
 
+    break 2
15568
 
+  fi
15569
 
+done
15570
 
+done
15571
 
+IFS=$as_save_IFS
15572
 
 
15573
 
-if test -z "$lt_cv_path_MAGIC_CMD"; then
15574
 
-  if test -n "$ac_tool_prefix"; then
15575
 
-    { echo "$as_me:$LINENO: checking for file" >&5
15576
 
-echo $ECHO_N "checking for file... $ECHO_C" >&6; }
15577
 
-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
15578
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
15579
 
+fi
15580
 
+fi
15581
 
+LIPO=$ac_cv_prog_LIPO
15582
 
+if test -n "$LIPO"; then
15583
 
+  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
15584
 
+$as_echo "$LIPO" >&6; }
15585
 
 else
15586
 
-  case $MAGIC_CMD in
15587
 
-[\\/*] |  ?:[\\/]*)
15588
 
-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
15589
 
-  ;;
15590
 
-*)
15591
 
-  lt_save_MAGIC_CMD="$MAGIC_CMD"
15592
 
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15593
 
-  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
15594
 
-  for ac_dir in $ac_dummy; do
15595
 
-    IFS="$lt_save_ifs"
15596
 
-    test -z "$ac_dir" && ac_dir=.
15597
 
-    if test -f $ac_dir/file; then
15598
 
-      lt_cv_path_MAGIC_CMD="$ac_dir/file"
15599
 
-      if test -n "$file_magic_test_file"; then
15600
 
-       case $deplibs_check_method in
15601
 
-       "file_magic "*)
15602
 
-         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
15603
 
-         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
15604
 
-         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
15605
 
-           $EGREP "$file_magic_regex" > /dev/null; then
15606
 
-           :
15607
 
-         else
15608
 
-           cat <<EOF 1>&2
15609
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
15610
 
+$as_echo "no" >&6; }
15611
 
+fi
15612
 
 
15613
 
-*** Warning: the command libtool uses to detect shared libraries,
15614
 
-*** $file_magic_cmd, produces output that libtool cannot recognize.
15615
 
-*** The result is that libtool may fail to recognize shared libraries
15616
 
-*** as such.  This will affect the creation of libtool libraries that
15617
 
-*** depend on shared libraries, but programs linked with such libtool
15618
 
-*** libraries will work regardless of this problem.  Nevertheless, you
15619
 
-*** may want to report the problem to your system manager and/or to
15620
 
-*** bug-libtool@gnu.org
15621
 
 
15622
 
-EOF
15623
 
-         fi ;;
15624
 
-       esac
15625
 
-      fi
15626
 
-      break
15627
 
-    fi
15628
 
-  done
15629
 
-  IFS="$lt_save_ifs"
15630
 
-  MAGIC_CMD="$lt_save_MAGIC_CMD"
15631
 
-  ;;
15632
 
-esac
15633
 
 fi
15634
 
+if test -z "$ac_cv_prog_LIPO"; then
15635
 
+  ac_ct_LIPO=$LIPO
15636
 
+  # Extract the first word of "lipo", so it can be a program name with args.
15637
 
+set dummy lipo; ac_word=$2
15638
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15639
 
+$as_echo_n "checking for $ac_word... " >&6; }
15640
 
+if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
15641
 
+  $as_echo_n "(cached) " >&6
15642
 
+else
15643
 
+  if test -n "$ac_ct_LIPO"; then
15644
 
+  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
15645
 
+else
15646
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15647
 
+for as_dir in $PATH
15648
 
+do
15649
 
+  IFS=$as_save_IFS
15650
 
+  test -z "$as_dir" && as_dir=.
15651
 
+  for ac_exec_ext in '' $ac_executable_extensions; do
15652
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15653
 
+    ac_cv_prog_ac_ct_LIPO="lipo"
15654
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15655
 
+    break 2
15656
 
+  fi
15657
 
+done
15658
 
+done
15659
 
+IFS=$as_save_IFS
15660
 
 
15661
 
-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
15662
 
-if test -n "$MAGIC_CMD"; then
15663
 
-  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
15664
 
-echo "${ECHO_T}$MAGIC_CMD" >&6; }
15665
 
+fi
15666
 
+fi
15667
 
+ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
15668
 
+if test -n "$ac_ct_LIPO"; then
15669
 
+  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
15670
 
+$as_echo "$ac_ct_LIPO" >&6; }
15671
 
 else
15672
 
-  { echo "$as_me:$LINENO: result: no" >&5
15673
 
-echo "${ECHO_T}no" >&6; }
15674
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
15675
 
+$as_echo "no" >&6; }
15676
 
 fi
15677
 
 
15678
 
+  if test "x$ac_ct_LIPO" = x; then
15679
 
+    LIPO=":"
15680
 
   else
15681
 
-    MAGIC_CMD=:
15682
 
+    case $cross_compiling:$ac_tool_warned in
15683
 
+yes:)
15684
 
+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
15685
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15686
 
+ac_tool_warned=yes ;;
15687
 
+esac
15688
 
+    LIPO=$ac_ct_LIPO
15689
 
   fi
15690
 
+else
15691
 
+  LIPO="$ac_cv_prog_LIPO"
15692
 
 fi
15693
 
 
15694
 
-  fi
15695
 
-  ;;
15696
 
-esac
15697
 
-
15698
 
-
15699
 
-  case $host_os in
15700
 
-    rhapsody* | darwin*)
15701
 
     if test -n "$ac_tool_prefix"; then
15702
 
-  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
15703
 
-set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
15704
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
15705
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15706
 
-if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
15707
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
15708
 
+  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
15709
 
+set dummy ${ac_tool_prefix}otool; ac_word=$2
15710
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15711
 
+$as_echo_n "checking for $ac_word... " >&6; }
15712
 
+if test "${ac_cv_prog_OTOOL+set}" = set; then
15713
 
+  $as_echo_n "(cached) " >&6
15714
 
 else
15715
 
-  if test -n "$DSYMUTIL"; then
15716
 
-  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
15717
 
+  if test -n "$OTOOL"; then
15718
 
+  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
15719
 
 else
15720
 
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15721
 
 for as_dir in $PATH
15722
 
@@ -9085,8 +9190,8 @@
15723
 
   test -z "$as_dir" && as_dir=.
15724
 
   for ac_exec_ext in '' $ac_executable_extensions; do
15725
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15726
 
-    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
15727
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15728
 
+    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
15729
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15730
 
     break 2
15731
 
   fi
15732
 
 done
15733
 
@@ -9095,28 +9200,28 @@
15734
 
 
15735
 
 fi
15736
 
 fi
15737
 
-DSYMUTIL=$ac_cv_prog_DSYMUTIL
15738
 
-if test -n "$DSYMUTIL"; then
15739
 
-  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
15740
 
-echo "${ECHO_T}$DSYMUTIL" >&6; }
15741
 
+OTOOL=$ac_cv_prog_OTOOL
15742
 
+if test -n "$OTOOL"; then
15743
 
+  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
15744
 
+$as_echo "$OTOOL" >&6; }
15745
 
 else
15746
 
-  { echo "$as_me:$LINENO: result: no" >&5
15747
 
-echo "${ECHO_T}no" >&6; }
15748
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
15749
 
+$as_echo "no" >&6; }
15750
 
 fi
15751
 
 
15752
 
 
15753
 
 fi
15754
 
-if test -z "$ac_cv_prog_DSYMUTIL"; then
15755
 
-  ac_ct_DSYMUTIL=$DSYMUTIL
15756
 
-  # Extract the first word of "dsymutil", so it can be a program name with args.
15757
 
-set dummy dsymutil; ac_word=$2
15758
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
15759
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15760
 
-if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
15761
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
15762
 
+if test -z "$ac_cv_prog_OTOOL"; then
15763
 
+  ac_ct_OTOOL=$OTOOL
15764
 
+  # Extract the first word of "otool", so it can be a program name with args.
15765
 
+set dummy otool; ac_word=$2
15766
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15767
 
+$as_echo_n "checking for $ac_word... " >&6; }
15768
 
+if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
15769
 
+  $as_echo_n "(cached) " >&6
15770
 
 else
15771
 
-  if test -n "$ac_ct_DSYMUTIL"; then
15772
 
-  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
15773
 
+  if test -n "$ac_ct_OTOOL"; then
15774
 
+  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
15775
 
 else
15776
 
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15777
 
 for as_dir in $PATH
15778
 
@@ -9125,8 +9230,8 @@
15779
 
   test -z "$as_dir" && as_dir=.
15780
 
   for ac_exec_ext in '' $ac_executable_extensions; do
15781
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15782
 
-    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
15783
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15784
 
+    ac_cv_prog_ac_ct_OTOOL="otool"
15785
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15786
 
     break 2
15787
 
   fi
15788
 
 done
15789
 
@@ -9135,44 +9240,40 @@
15790
 
 
15791
 
 fi
15792
 
 fi
15793
 
-ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
15794
 
-if test -n "$ac_ct_DSYMUTIL"; then
15795
 
-  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
15796
 
-echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
15797
 
+ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
15798
 
+if test -n "$ac_ct_OTOOL"; then
15799
 
+  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
15800
 
+$as_echo "$ac_ct_OTOOL" >&6; }
15801
 
 else
15802
 
-  { echo "$as_me:$LINENO: result: no" >&5
15803
 
-echo "${ECHO_T}no" >&6; }
15804
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
15805
 
+$as_echo "no" >&6; }
15806
 
 fi
15807
 
 
15808
 
-  if test "x$ac_ct_DSYMUTIL" = x; then
15809
 
-    DSYMUTIL=":"
15810
 
+  if test "x$ac_ct_OTOOL" = x; then
15811
 
+    OTOOL=":"
15812
 
   else
15813
 
     case $cross_compiling:$ac_tool_warned in
15814
 
 yes:)
15815
 
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15816
 
-whose name does not start with the host triplet.  If you think this
15817
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
15818
 
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15819
 
-whose name does not start with the host triplet.  If you think this
15820
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15821
 
+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
15822
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15823
 
 ac_tool_warned=yes ;;
15824
 
 esac
15825
 
-    DSYMUTIL=$ac_ct_DSYMUTIL
15826
 
+    OTOOL=$ac_ct_OTOOL
15827
 
   fi
15828
 
 else
15829
 
-  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
15830
 
+  OTOOL="$ac_cv_prog_OTOOL"
15831
 
 fi
15832
 
 
15833
 
     if test -n "$ac_tool_prefix"; then
15834
 
-  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
15835
 
-set dummy ${ac_tool_prefix}nmedit; ac_word=$2
15836
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
15837
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15838
 
-if test "${ac_cv_prog_NMEDIT+set}" = set; then
15839
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
15840
 
+  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
15841
 
+set dummy ${ac_tool_prefix}otool64; ac_word=$2
15842
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15843
 
+$as_echo_n "checking for $ac_word... " >&6; }
15844
 
+if test "${ac_cv_prog_OTOOL64+set}" = set; then
15845
 
+  $as_echo_n "(cached) " >&6
15846
 
 else
15847
 
-  if test -n "$NMEDIT"; then
15848
 
-  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
15849
 
+  if test -n "$OTOOL64"; then
15850
 
+  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
15851
 
 else
15852
 
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15853
 
 for as_dir in $PATH
15854
 
@@ -9181,8 +9282,8 @@
15855
 
   test -z "$as_dir" && as_dir=.
15856
 
   for ac_exec_ext in '' $ac_executable_extensions; do
15857
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15858
 
-    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
15859
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15860
 
+    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
15861
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15862
 
     break 2
15863
 
   fi
15864
 
 done
15865
 
@@ -9191,28 +9292,28 @@
15866
 
 
15867
 
 fi
15868
 
 fi
15869
 
-NMEDIT=$ac_cv_prog_NMEDIT
15870
 
-if test -n "$NMEDIT"; then
15871
 
-  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
15872
 
-echo "${ECHO_T}$NMEDIT" >&6; }
15873
 
+OTOOL64=$ac_cv_prog_OTOOL64
15874
 
+if test -n "$OTOOL64"; then
15875
 
+  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
15876
 
+$as_echo "$OTOOL64" >&6; }
15877
 
 else
15878
 
-  { echo "$as_me:$LINENO: result: no" >&5
15879
 
-echo "${ECHO_T}no" >&6; }
15880
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
15881
 
+$as_echo "no" >&6; }
15882
 
 fi
15883
 
 
15884
 
 
15885
 
 fi
15886
 
-if test -z "$ac_cv_prog_NMEDIT"; then
15887
 
-  ac_ct_NMEDIT=$NMEDIT
15888
 
-  # Extract the first word of "nmedit", so it can be a program name with args.
15889
 
-set dummy nmedit; ac_word=$2
15890
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
15891
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15892
 
-if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
15893
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
15894
 
+if test -z "$ac_cv_prog_OTOOL64"; then
15895
 
+  ac_ct_OTOOL64=$OTOOL64
15896
 
+  # Extract the first word of "otool64", so it can be a program name with args.
15897
 
+set dummy otool64; ac_word=$2
15898
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15899
 
+$as_echo_n "checking for $ac_word... " >&6; }
15900
 
+if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
15901
 
+  $as_echo_n "(cached) " >&6
15902
 
 else
15903
 
-  if test -n "$ac_ct_NMEDIT"; then
15904
 
-  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
15905
 
+  if test -n "$ac_ct_OTOOL64"; then
15906
 
+  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
15907
 
 else
15908
 
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15909
 
 for as_dir in $PATH
15910
 
@@ -9221,8 +9322,8 @@
15911
 
   test -z "$as_dir" && as_dir=.
15912
 
   for ac_exec_ext in '' $ac_executable_extensions; do
15913
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15914
 
-    ac_cv_prog_ac_ct_NMEDIT="nmedit"
15915
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15916
 
+    ac_cv_prog_ac_ct_OTOOL64="otool64"
15917
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15918
 
     break 2
15919
 
   fi
15920
 
 done
15921
 
@@ -9231,66 +9332,93 @@
15922
 
 
15923
 
 fi
15924
 
 fi
15925
 
-ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
15926
 
-if test -n "$ac_ct_NMEDIT"; then
15927
 
-  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
15928
 
-echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
15929
 
+ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
15930
 
+if test -n "$ac_ct_OTOOL64"; then
15931
 
+  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
15932
 
+$as_echo "$ac_ct_OTOOL64" >&6; }
15933
 
 else
15934
 
-  { echo "$as_me:$LINENO: result: no" >&5
15935
 
-echo "${ECHO_T}no" >&6; }
15936
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
15937
 
+$as_echo "no" >&6; }
15938
 
 fi
15939
 
 
15940
 
-  if test "x$ac_ct_NMEDIT" = x; then
15941
 
-    NMEDIT=":"
15942
 
+  if test "x$ac_ct_OTOOL64" = x; then
15943
 
+    OTOOL64=":"
15944
 
   else
15945
 
     case $cross_compiling:$ac_tool_warned in
15946
 
 yes:)
15947
 
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15948
 
-whose name does not start with the host triplet.  If you think this
15949
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
15950
 
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15951
 
-whose name does not start with the host triplet.  If you think this
15952
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15953
 
+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
15954
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15955
 
 ac_tool_warned=yes ;;
15956
 
 esac
15957
 
-    NMEDIT=$ac_ct_NMEDIT
15958
 
+    OTOOL64=$ac_ct_OTOOL64
15959
 
   fi
15960
 
 else
15961
 
-  NMEDIT="$ac_cv_prog_NMEDIT"
15962
 
+  OTOOL64="$ac_cv_prog_OTOOL64"
15963
 
 fi
15964
 
 
15965
 
 
15966
 
-    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
15967
 
-echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
15968
 
-if test "${lt_cv_apple_cc_single_mod+set}" = set; then
15969
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
15970
 
-else
15971
 
-  lt_cv_apple_cc_single_mod=no
15972
 
-      if test -z "${LT_MULTI_MODULE}"; then
15973
 
-   # By default we will add the -single_module flag. You can override
15974
 
-   # by either setting the environment variable LT_MULTI_MODULE
15975
 
-   # non-empty at configure time, or by adding -multi_module to the
15976
 
-   # link flags.
15977
 
-   echo "int foo(void){return 1;}" > conftest.c
15978
 
-   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
15979
 
-     -dynamiclib ${wl}-single_module conftest.c
15980
 
-   if test -f libconftest.dylib; then
15981
 
-     lt_cv_apple_cc_single_mod=yes
15982
 
-     rm -rf libconftest.dylib*
15983
 
-   fi
15984
 
-   rm conftest.c
15985
 
-      fi
15986
 
-fi
15987
 
-{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
15988
 
-echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
15989
 
-    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
15990
 
-echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
15991
 
-if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
15992
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
15993
 
-else
15994
 
-  lt_cv_ld_exported_symbols_list=no
15995
 
-      save_LDFLAGS=$LDFLAGS
15996
 
-      echo "_main" > conftest.sym
15997
 
+
15998
 
+
15999
 
+
16000
 
+
16001
 
+
16002
 
+
16003
 
+
16004
 
+
16005
 
+
16006
 
+
16007
 
+
16008
 
+
16009
 
+
16010
 
+
16011
 
+
16012
 
+
16013
 
+
16014
 
+
16015
 
+
16016
 
+
16017
 
+
16018
 
+
16019
 
+
16020
 
+
16021
 
+
16022
 
+    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
16023
 
+$as_echo_n "checking for -single_module linker flag... " >&6; }
16024
 
+if test "${lt_cv_apple_cc_single_mod+set}" = set; then
16025
 
+  $as_echo_n "(cached) " >&6
16026
 
+else
16027
 
+  lt_cv_apple_cc_single_mod=no
16028
 
+      if test -z "${LT_MULTI_MODULE}"; then
16029
 
+       # By default we will add the -single_module flag. You can override
16030
 
+       # by either setting the environment variable LT_MULTI_MODULE
16031
 
+       # non-empty at configure time, or by adding -multi_module to the
16032
 
+       # link flags.
16033
 
+       rm -rf libconftest.dylib*
16034
 
+       echo "int foo(void){return 1;}" > conftest.c
16035
 
+       echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
16036
 
+-dynamiclib -Wl,-single_module conftest.c" >&5
16037
 
+       $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
16038
 
+         -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
16039
 
+        _lt_result=$?
16040
 
+       if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
16041
 
+         lt_cv_apple_cc_single_mod=yes
16042
 
+       else
16043
 
+         cat conftest.err >&5
16044
 
+       fi
16045
 
+       rm -rf libconftest.dylib*
16046
 
+       rm -f conftest.*
16047
 
+      fi
16048
 
+fi
16049
 
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
16050
 
+$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
16051
 
+    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
16052
 
+$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
16053
 
+if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
16054
 
+  $as_echo_n "(cached) " >&6
16055
 
+else
16056
 
+  lt_cv_ld_exported_symbols_list=no
16057
 
+      save_LDFLAGS=$LDFLAGS
16058
 
+      echo "_main" > conftest.sym
16059
 
       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
16060
 
       cat >conftest.$ac_ext <<_ACEOF
16061
 
 /* confdefs.h.  */
16062
 
@@ -9313,49 +9441,53 @@
16063
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16064
 
   *) ac_try_echo=$ac_try;;
16065
 
 esac
16066
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16067
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16068
 
+$as_echo "$ac_try_echo") >&5
16069
 
   (eval "$ac_link") 2>conftest.er1
16070
 
   ac_status=$?
16071
 
   grep -v '^ *+' conftest.er1 >conftest.err
16072
 
   rm -f conftest.er1
16073
 
   cat conftest.err >&5
16074
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16075
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076
 
   (exit $ac_status); } && {
16077
 
         test -z "$ac_c_werror_flag" ||
16078
 
         test ! -s conftest.err
16079
 
-       } && test -s conftest$ac_exeext &&
16080
 
-       $as_test_x conftest$ac_exeext; then
16081
 
+       } && test -s conftest$ac_exeext && {
16082
 
+        test "$cross_compiling" = yes ||
16083
 
+        $as_test_x conftest$ac_exeext
16084
 
+       }; then
16085
 
   lt_cv_ld_exported_symbols_list=yes
16086
 
 else
16087
 
-  echo "$as_me: failed program was:" >&5
16088
 
+  $as_echo "$as_me: failed program was:" >&5
16089
 
 sed 's/^/| /' conftest.$ac_ext >&5
16090
 
 
16091
 
        lt_cv_ld_exported_symbols_list=no
16092
 
 fi
16093
 
 
16094
 
+rm -rf conftest.dSYM
16095
 
 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16096
 
       conftest$ac_exeext conftest.$ac_ext
16097
 
-   LDFLAGS="$save_LDFLAGS"
16098
 
+       LDFLAGS="$save_LDFLAGS"
16099
 
 
16100
 
 fi
16101
 
-{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
16102
 
-echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
16103
 
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
16104
 
+$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
16105
 
     case $host_os in
16106
 
-    rhapsody* | darwin1.[0123])
16107
 
+    rhapsody* | darwin1.[012])
16108
 
       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
16109
 
     darwin1.*)
16110
 
-     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
16111
 
-    darwin*)
16112
 
+      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
16113
 
+    darwin*) # darwin 5.x on
16114
 
       # if running on 10.5 or later, the deployment target defaults
16115
 
       # to the OS version, if on x86, and 10.4, the deployment
16116
 
       # target defaults to 10.4. Don't you love it?
16117
 
       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
16118
 
-   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
16119
 
-     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
16120
 
-   10.[012]*)
16121
 
-     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
16122
 
-   10.*)
16123
 
-     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
16124
 
+       10.0,*86*-darwin8*|10.0,*-darwin[91]*)
16125
 
+         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
16126
 
+       10.[012]*)
16127
 
+         _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
16128
 
+       10.*)
16129
 
+         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
16130
 
       esac
16131
 
     ;;
16132
 
   esac
16133
 
@@ -9365,10 +9497,10 @@
16134
 
     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
16135
 
       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
16136
 
     else
16137
 
-      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
16138
 
+      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
16139
 
     fi
16140
 
     if test "$DSYMUTIL" != ":"; then
16141
 
-      _lt_dsymutil="~$DSYMUTIL \$lib || :"
16142
 
+      _lt_dsymutil='~$DSYMUTIL $lib || :'
16143
 
     else
16144
 
       _lt_dsymutil=
16145
 
     fi
16146
 
@@ -9376,10838 +9508,6973 @@
16147
 
   esac
16148
 
 
16149
 
 
16150
 
-enable_dlopen=no
16151
 
-enable_win32_dll=no
16152
 
-
16153
 
-# Check whether --enable-libtool-lock was given.
16154
 
-if test "${enable_libtool_lock+set}" = set; then
16155
 
-  enableval=$enable_libtool_lock;
16156
 
-fi
16157
 
-
16158
 
-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
16159
 
-
16160
 
-
16161
 
-# Check whether --with-pic was given.
16162
 
-if test "${with_pic+set}" = set; then
16163
 
-  withval=$with_pic; pic_mode="$withval"
16164
 
+for ac_header in dlfcn.h
16165
 
+do
16166
 
+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16167
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16168
 
+$as_echo_n "checking for $ac_header... " >&6; }
16169
 
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16170
 
+  $as_echo_n "(cached) " >&6
16171
 
 else
16172
 
-  pic_mode=default
16173
 
-fi
16174
 
-
16175
 
-test -z "$pic_mode" && pic_mode=default
16176
 
-
16177
 
-# Use C for the default configuration in the libtool script
16178
 
-tagname=
16179
 
-lt_save_CC="$CC"
16180
 
-ac_ext=c
16181
 
-ac_cpp='$CPP $CPPFLAGS'
16182
 
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16183
 
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16184
 
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
16185
 
-
16186
 
-
16187
 
-# Source file extension for C test sources.
16188
 
-ac_ext=c
16189
 
-
16190
 
-# Object file extension for compiled C test sources.
16191
 
-objext=o
16192
 
-objext=$objext
16193
 
-
16194
 
-# Code to be used in simple compile tests
16195
 
-lt_simple_compile_test_code="int some_variable = 0;"
16196
 
-
16197
 
-# Code to be used in simple link tests
16198
 
-lt_simple_link_test_code='int main(){return(0);}'
16199
 
-
16200
 
-
16201
 
-# If no C compiler was specified, use CC.
16202
 
-LTCC=${LTCC-"$CC"}
16203
 
+  cat >conftest.$ac_ext <<_ACEOF
16204
 
+/* confdefs.h.  */
16205
 
+_ACEOF
16206
 
+cat confdefs.h >>conftest.$ac_ext
16207
 
+cat >>conftest.$ac_ext <<_ACEOF
16208
 
+/* end confdefs.h.  */
16209
 
+$ac_includes_default
16210
 
 
16211
 
-# If no C compiler flags were specified, use CFLAGS.
16212
 
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16213
 
+#include <$ac_header>
16214
 
+_ACEOF
16215
 
+rm -f conftest.$ac_objext
16216
 
+if { (ac_try="$ac_compile"
16217
 
+case "(($ac_try" in
16218
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16219
 
+  *) ac_try_echo=$ac_try;;
16220
 
+esac
16221
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16222
 
+$as_echo "$ac_try_echo") >&5
16223
 
+  (eval "$ac_compile") 2>conftest.er1
16224
 
+  ac_status=$?
16225
 
+  grep -v '^ *+' conftest.er1 >conftest.err
16226
 
+  rm -f conftest.er1
16227
 
+  cat conftest.err >&5
16228
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229
 
+  (exit $ac_status); } && {
16230
 
+        test -z "$ac_c_werror_flag" ||
16231
 
+        test ! -s conftest.err
16232
 
+       } && test -s conftest.$ac_objext; then
16233
 
+  eval "$as_ac_Header=yes"
16234
 
+else
16235
 
+  $as_echo "$as_me: failed program was:" >&5
16236
 
+sed 's/^/| /' conftest.$ac_ext >&5
16237
 
 
16238
 
-# Allow CC to be a program name with arguments.
16239
 
-compiler=$CC
16240
 
+       eval "$as_ac_Header=no"
16241
 
+fi
16242
 
 
16243
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16244
 
+fi
16245
 
+ac_res=`eval 'as_val=${'$as_ac_Header'}
16246
 
+                $as_echo "$as_val"'`
16247
 
+              { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16248
 
+$as_echo "$ac_res" >&6; }
16249
 
+as_val=`eval 'as_val=${'$as_ac_Header'}
16250
 
+                $as_echo "$as_val"'`
16251
 
+   if test "x$as_val" = x""yes; then
16252
 
+  cat >>confdefs.h <<_ACEOF
16253
 
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16254
 
+_ACEOF
16255
 
 
16256
 
-# save warnings/boilerplate of simple test code
16257
 
-ac_outfile=conftest.$ac_objext
16258
 
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16259
 
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16260
 
-_lt_compiler_boilerplate=`cat conftest.err`
16261
 
-$rm conftest*
16262
 
+fi
16263
 
 
16264
 
-ac_outfile=conftest.$ac_objext
16265
 
-echo "$lt_simple_link_test_code" >conftest.$ac_ext
16266
 
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16267
 
-_lt_linker_boilerplate=`cat conftest.err`
16268
 
-$rm -r conftest*
16269
 
+done
16270
 
 
16271
 
 
16272
 
 
16273
 
-lt_prog_compiler_no_builtin_flag=
16274
 
+ac_ext=cpp
16275
 
+ac_cpp='$CXXCPP $CPPFLAGS'
16276
 
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16277
 
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16278
 
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16279
 
+if test -z "$CXX"; then
16280
 
+  if test -n "$CCC"; then
16281
 
+    CXX=$CCC
16282
 
+  else
16283
 
+    if test -n "$ac_tool_prefix"; then
16284
 
+  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16285
 
+  do
16286
 
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16287
 
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16288
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16289
 
+$as_echo_n "checking for $ac_word... " >&6; }
16290
 
+if test "${ac_cv_prog_CXX+set}" = set; then
16291
 
+  $as_echo_n "(cached) " >&6
16292
 
+else
16293
 
+  if test -n "$CXX"; then
16294
 
+  ac_cv_prog_CXX="$CXX" # Let the user override the test.
16295
 
+else
16296
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16297
 
+for as_dir in $PATH
16298
 
+do
16299
 
+  IFS=$as_save_IFS
16300
 
+  test -z "$as_dir" && as_dir=.
16301
 
+  for ac_exec_ext in '' $ac_executable_extensions; do
16302
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16303
 
+    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16304
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16305
 
+    break 2
16306
 
+  fi
16307
 
+done
16308
 
+done
16309
 
+IFS=$as_save_IFS
16310
 
 
16311
 
-if test "$GCC" = yes; then
16312
 
-  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
16313
 
+fi
16314
 
+fi
16315
 
+CXX=$ac_cv_prog_CXX
16316
 
+if test -n "$CXX"; then
16317
 
+  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
16318
 
+$as_echo "$CXX" >&6; }
16319
 
+else
16320
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
16321
 
+$as_echo "no" >&6; }
16322
 
+fi
16323
 
 
16324
 
 
16325
 
-{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16326
 
-echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16327
 
-if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16328
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
16329
 
+    test -n "$CXX" && break
16330
 
+  done
16331
 
+fi
16332
 
+if test -z "$CXX"; then
16333
 
+  ac_ct_CXX=$CXX
16334
 
+  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16335
 
+do
16336
 
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
16337
 
+set dummy $ac_prog; ac_word=$2
16338
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16339
 
+$as_echo_n "checking for $ac_word... " >&6; }
16340
 
+if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16341
 
+  $as_echo_n "(cached) " >&6
16342
 
 else
16343
 
-  lt_cv_prog_compiler_rtti_exceptions=no
16344
 
-  ac_outfile=conftest.$ac_objext
16345
 
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16346
 
-   lt_compiler_flag="-fno-rtti -fno-exceptions"
16347
 
-   # Insert the option either (1) after the last *FLAGS variable, or
16348
 
-   # (2) before a word containing "conftest.", or (3) at the end.
16349
 
-   # Note that $ac_compile itself does not contain backslashes and begins
16350
 
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
16351
 
-   # The option is referenced via a variable to avoid confusing sed.
16352
 
-   lt_compile=`echo "$ac_compile" | $SED \
16353
 
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16354
 
-   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16355
 
-   -e 's:$: $lt_compiler_flag:'`
16356
 
-   (eval echo "\"\$as_me:9472: $lt_compile\"" >&5)
16357
 
-   (eval "$lt_compile" 2>conftest.err)
16358
 
-   ac_status=$?
16359
 
-   cat conftest.err >&5
16360
 
-   echo "$as_me:9476: \$? = $ac_status" >&5
16361
 
-   if (exit $ac_status) && test -s "$ac_outfile"; then
16362
 
-     # The compiler can only warn and ignore the option if not recognized
16363
 
-     # So say no if there are warnings other than the usual output.
16364
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16365
 
-     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16366
 
-     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16367
 
-       lt_cv_prog_compiler_rtti_exceptions=yes
16368
 
-     fi
16369
 
-   fi
16370
 
-   $rm conftest*
16371
 
+  if test -n "$ac_ct_CXX"; then
16372
 
+  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16373
 
+else
16374
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16375
 
+for as_dir in $PATH
16376
 
+do
16377
 
+  IFS=$as_save_IFS
16378
 
+  test -z "$as_dir" && as_dir=.
16379
 
+  for ac_exec_ext in '' $ac_executable_extensions; do
16380
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16381
 
+    ac_cv_prog_ac_ct_CXX="$ac_prog"
16382
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16383
 
+    break 2
16384
 
+  fi
16385
 
+done
16386
 
+done
16387
 
+IFS=$as_save_IFS
16388
 
 
16389
 
 fi
16390
 
-{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16391
 
-echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16392
 
-
16393
 
-if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16394
 
-    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
16395
 
-else
16396
 
-    :
16397
 
 fi
16398
 
-
16399
 
+ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16400
 
+if test -n "$ac_ct_CXX"; then
16401
 
+  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16402
 
+$as_echo "$ac_ct_CXX" >&6; }
16403
 
+else
16404
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
16405
 
+$as_echo "no" >&6; }
16406
 
 fi
16407
 
 
16408
 
-lt_prog_compiler_wl=
16409
 
-lt_prog_compiler_pic=
16410
 
-lt_prog_compiler_static=
16411
 
 
16412
 
-{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16413
 
-echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16414
 
+  test -n "$ac_ct_CXX" && break
16415
 
+done
16416
 
 
16417
 
-  if test "$GCC" = yes; then
16418
 
-    lt_prog_compiler_wl='-Wl,'
16419
 
-    lt_prog_compiler_static='-static'
16420
 
+  if test "x$ac_ct_CXX" = x; then
16421
 
+    CXX="g++"
16422
 
+  else
16423
 
+    case $cross_compiling:$ac_tool_warned in
16424
 
+yes:)
16425
 
+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
16426
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16427
 
+ac_tool_warned=yes ;;
16428
 
+esac
16429
 
+    CXX=$ac_ct_CXX
16430
 
+  fi
16431
 
+fi
16432
 
 
16433
 
-    case $host_os in
16434
 
-      aix*)
16435
 
-      # All AIX code is PIC.
16436
 
-      if test "$host_cpu" = ia64; then
16437
 
-       # AIX 5 now supports IA64 processor
16438
 
-       lt_prog_compiler_static='-Bstatic'
16439
 
-      fi
16440
 
-      ;;
16441
 
+  fi
16442
 
+fi
16443
 
+# Provide some information about the compiler.
16444
 
+$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16445
 
+set X $ac_compile
16446
 
+ac_compiler=$2
16447
 
+{ (ac_try="$ac_compiler --version >&5"
16448
 
+case "(($ac_try" in
16449
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16450
 
+  *) ac_try_echo=$ac_try;;
16451
 
+esac
16452
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16453
 
+$as_echo "$ac_try_echo") >&5
16454
 
+  (eval "$ac_compiler --version >&5") 2>&5
16455
 
+  ac_status=$?
16456
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457
 
+  (exit $ac_status); }
16458
 
+{ (ac_try="$ac_compiler -v >&5"
16459
 
+case "(($ac_try" in
16460
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16461
 
+  *) ac_try_echo=$ac_try;;
16462
 
+esac
16463
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16464
 
+$as_echo "$ac_try_echo") >&5
16465
 
+  (eval "$ac_compiler -v >&5") 2>&5
16466
 
+  ac_status=$?
16467
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468
 
+  (exit $ac_status); }
16469
 
+{ (ac_try="$ac_compiler -V >&5"
16470
 
+case "(($ac_try" in
16471
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16472
 
+  *) ac_try_echo=$ac_try;;
16473
 
+esac
16474
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16475
 
+$as_echo "$ac_try_echo") >&5
16476
 
+  (eval "$ac_compiler -V >&5") 2>&5
16477
 
+  ac_status=$?
16478
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16479
 
+  (exit $ac_status); }
16480
 
 
16481
 
-    amigaos*)
16482
 
-      # FIXME: we need at least 68020 code to build shared libraries, but
16483
 
-      # adding the `-m68020' flag to GCC prevents building anything better,
16484
 
-      # like `-m68040'.
16485
 
-      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
16486
 
-      ;;
16487
 
+{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16488
 
+$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
16489
 
+if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16490
 
+  $as_echo_n "(cached) " >&6
16491
 
+else
16492
 
+  cat >conftest.$ac_ext <<_ACEOF
16493
 
+/* confdefs.h.  */
16494
 
+_ACEOF
16495
 
+cat confdefs.h >>conftest.$ac_ext
16496
 
+cat >>conftest.$ac_ext <<_ACEOF
16497
 
+/* end confdefs.h.  */
16498
 
 
16499
 
-    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16500
 
-      # PIC is the default for these OSes.
16501
 
-      ;;
16502
 
+int
16503
 
+main ()
16504
 
+{
16505
 
+#ifndef __GNUC__
16506
 
+       choke me
16507
 
+#endif
16508
 
 
16509
 
-    mingw* | cygwin* | pw32* | os2*)
16510
 
-      # This hack is so that the source file can tell whether it is being
16511
 
-      # built for inclusion in a dll (and should export symbols for example).
16512
 
-      # Although the cygwin gcc ignores -fPIC, still need this for old-style
16513
 
-      # (--disable-auto-import) libraries
16514
 
-      lt_prog_compiler_pic='-DDLL_EXPORT'
16515
 
-      ;;
16516
 
+  ;
16517
 
+  return 0;
16518
 
+}
16519
 
+_ACEOF
16520
 
+rm -f conftest.$ac_objext
16521
 
+if { (ac_try="$ac_compile"
16522
 
+case "(($ac_try" in
16523
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16524
 
+  *) ac_try_echo=$ac_try;;
16525
 
+esac
16526
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16527
 
+$as_echo "$ac_try_echo") >&5
16528
 
+  (eval "$ac_compile") 2>conftest.er1
16529
 
+  ac_status=$?
16530
 
+  grep -v '^ *+' conftest.er1 >conftest.err
16531
 
+  rm -f conftest.er1
16532
 
+  cat conftest.err >&5
16533
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16534
 
+  (exit $ac_status); } && {
16535
 
+        test -z "$ac_cxx_werror_flag" ||
16536
 
+        test ! -s conftest.err
16537
 
+       } && test -s conftest.$ac_objext; then
16538
 
+  ac_compiler_gnu=yes
16539
 
+else
16540
 
+  $as_echo "$as_me: failed program was:" >&5
16541
 
+sed 's/^/| /' conftest.$ac_ext >&5
16542
 
 
16543
 
-    darwin* | rhapsody*)
16544
 
-      # PIC is the default on this platform
16545
 
-      # Common symbols not allowed in MH_DYLIB files
16546
 
-      lt_prog_compiler_pic='-fno-common'
16547
 
-      ;;
16548
 
+       ac_compiler_gnu=no
16549
 
+fi
16550
 
 
16551
 
-    interix[3-9]*)
16552
 
-      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16553
 
-      # Instead, we relocate shared libraries at runtime.
16554
 
-      ;;
16555
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16556
 
+ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16557
 
 
16558
 
-    msdosdjgpp*)
16559
 
-      # Just because we use GCC doesn't mean we suddenly get shared libraries
16560
 
-      # on systems that don't support them.
16561
 
-      lt_prog_compiler_can_build_shared=no
16562
 
-      enable_shared=no
16563
 
-      ;;
16564
 
+fi
16565
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16566
 
+$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
16567
 
+if test $ac_compiler_gnu = yes; then
16568
 
+  GXX=yes
16569
 
+else
16570
 
+  GXX=
16571
 
+fi
16572
 
+ac_test_CXXFLAGS=${CXXFLAGS+set}
16573
 
+ac_save_CXXFLAGS=$CXXFLAGS
16574
 
+{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16575
 
+$as_echo_n "checking whether $CXX accepts -g... " >&6; }
16576
 
+if test "${ac_cv_prog_cxx_g+set}" = set; then
16577
 
+  $as_echo_n "(cached) " >&6
16578
 
+else
16579
 
+  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16580
 
+   ac_cxx_werror_flag=yes
16581
 
+   ac_cv_prog_cxx_g=no
16582
 
+   CXXFLAGS="-g"
16583
 
+   cat >conftest.$ac_ext <<_ACEOF
16584
 
+/* confdefs.h.  */
16585
 
+_ACEOF
16586
 
+cat confdefs.h >>conftest.$ac_ext
16587
 
+cat >>conftest.$ac_ext <<_ACEOF
16588
 
+/* end confdefs.h.  */
16589
 
 
16590
 
-    sysv4*MP*)
16591
 
-      if test -d /usr/nec; then
16592
 
-       lt_prog_compiler_pic=-Kconform_pic
16593
 
-      fi
16594
 
-      ;;
16595
 
+int
16596
 
+main ()
16597
 
+{
16598
 
 
16599
 
-    hpux*)
16600
 
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16601
 
-      # not for PA HP-UX.
16602
 
-      case $host_cpu in
16603
 
-      hppa*64*|ia64*)
16604
 
-       # +Z the default
16605
 
-       ;;
16606
 
-      *)
16607
 
-       lt_prog_compiler_pic='-fPIC'
16608
 
-       ;;
16609
 
-      esac
16610
 
-      ;;
16611
 
+  ;
16612
 
+  return 0;
16613
 
+}
16614
 
+_ACEOF
16615
 
+rm -f conftest.$ac_objext
16616
 
+if { (ac_try="$ac_compile"
16617
 
+case "(($ac_try" in
16618
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16619
 
+  *) ac_try_echo=$ac_try;;
16620
 
+esac
16621
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16622
 
+$as_echo "$ac_try_echo") >&5
16623
 
+  (eval "$ac_compile") 2>conftest.er1
16624
 
+  ac_status=$?
16625
 
+  grep -v '^ *+' conftest.er1 >conftest.err
16626
 
+  rm -f conftest.er1
16627
 
+  cat conftest.err >&5
16628
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629
 
+  (exit $ac_status); } && {
16630
 
+        test -z "$ac_cxx_werror_flag" ||
16631
 
+        test ! -s conftest.err
16632
 
+       } && test -s conftest.$ac_objext; then
16633
 
+  ac_cv_prog_cxx_g=yes
16634
 
+else
16635
 
+  $as_echo "$as_me: failed program was:" >&5
16636
 
+sed 's/^/| /' conftest.$ac_ext >&5
16637
 
 
16638
 
-    *)
16639
 
-      lt_prog_compiler_pic='-fPIC'
16640
 
-      ;;
16641
 
-    esac
16642
 
-  else
16643
 
-    # PORTME Check for flag to pass linker flags through the system compiler.
16644
 
-    case $host_os in
16645
 
-    aix*)
16646
 
-      lt_prog_compiler_wl='-Wl,'
16647
 
-      if test "$host_cpu" = ia64; then
16648
 
-       # AIX 5 now supports IA64 processor
16649
 
-       lt_prog_compiler_static='-Bstatic'
16650
 
-      else
16651
 
-       lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
16652
 
-      fi
16653
 
-      ;;
16654
 
-      darwin*)
16655
 
-        # PIC is the default on this platform
16656
 
-        # Common symbols not allowed in MH_DYLIB files
16657
 
-       case $cc_basename in
16658
 
-         xlc*)
16659
 
-         lt_prog_compiler_pic='-qnocommon'
16660
 
-         lt_prog_compiler_wl='-Wl,'
16661
 
-         ;;
16662
 
-       esac
16663
 
-       ;;
16664
 
+       CXXFLAGS=""
16665
 
+      cat >conftest.$ac_ext <<_ACEOF
16666
 
+/* confdefs.h.  */
16667
 
+_ACEOF
16668
 
+cat confdefs.h >>conftest.$ac_ext
16669
 
+cat >>conftest.$ac_ext <<_ACEOF
16670
 
+/* end confdefs.h.  */
16671
 
 
16672
 
-    mingw* | cygwin* | pw32* | os2*)
16673
 
-      # This hack is so that the source file can tell whether it is being
16674
 
-      # built for inclusion in a dll (and should export symbols for example).
16675
 
-      lt_prog_compiler_pic='-DDLL_EXPORT'
16676
 
-      ;;
16677
 
+int
16678
 
+main ()
16679
 
+{
16680
 
 
16681
 
-    hpux9* | hpux10* | hpux11*)
16682
 
-      lt_prog_compiler_wl='-Wl,'
16683
 
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16684
 
-      # not for PA HP-UX.
16685
 
-      case $host_cpu in
16686
 
-      hppa*64*|ia64*)
16687
 
-       # +Z the default
16688
 
-       ;;
16689
 
-      *)
16690
 
-       lt_prog_compiler_pic='+Z'
16691
 
-       ;;
16692
 
-      esac
16693
 
-      # Is there a better lt_prog_compiler_static that works with the bundled CC?
16694
 
-      lt_prog_compiler_static='${wl}-a ${wl}archive'
16695
 
-      ;;
16696
 
+  ;
16697
 
+  return 0;
16698
 
+}
16699
 
+_ACEOF
16700
 
+rm -f conftest.$ac_objext
16701
 
+if { (ac_try="$ac_compile"
16702
 
+case "(($ac_try" in
16703
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16704
 
+  *) ac_try_echo=$ac_try;;
16705
 
+esac
16706
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16707
 
+$as_echo "$ac_try_echo") >&5
16708
 
+  (eval "$ac_compile") 2>conftest.er1
16709
 
+  ac_status=$?
16710
 
+  grep -v '^ *+' conftest.er1 >conftest.err
16711
 
+  rm -f conftest.er1
16712
 
+  cat conftest.err >&5
16713
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714
 
+  (exit $ac_status); } && {
16715
 
+        test -z "$ac_cxx_werror_flag" ||
16716
 
+        test ! -s conftest.err
16717
 
+       } && test -s conftest.$ac_objext; then
16718
 
+  :
16719
 
+else
16720
 
+  $as_echo "$as_me: failed program was:" >&5
16721
 
+sed 's/^/| /' conftest.$ac_ext >&5
16722
 
 
16723
 
-    irix5* | irix6* | nonstopux*)
16724
 
-      lt_prog_compiler_wl='-Wl,'
16725
 
-      # PIC (with -KPIC) is the default.
16726
 
-      lt_prog_compiler_static='-non_shared'
16727
 
-      ;;
16728
 
+       ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16729
 
+        CXXFLAGS="-g"
16730
 
+        cat >conftest.$ac_ext <<_ACEOF
16731
 
+/* confdefs.h.  */
16732
 
+_ACEOF
16733
 
+cat confdefs.h >>conftest.$ac_ext
16734
 
+cat >>conftest.$ac_ext <<_ACEOF
16735
 
+/* end confdefs.h.  */
16736
 
 
16737
 
-    newsos6)
16738
 
-      lt_prog_compiler_pic='-KPIC'
16739
 
-      lt_prog_compiler_static='-Bstatic'
16740
 
-      ;;
16741
 
+int
16742
 
+main ()
16743
 
+{
16744
 
 
16745
 
-    linux* | k*bsd*-gnu)
16746
 
-      case $cc_basename in
16747
 
-      icc* | ecc*)
16748
 
-       lt_prog_compiler_wl='-Wl,'
16749
 
-       lt_prog_compiler_pic='-KPIC'
16750
 
-       lt_prog_compiler_static='-static'
16751
 
-        ;;
16752
 
-      pgcc* | pgf77* | pgf90* | pgf95*)
16753
 
-        # Portland Group compilers (*not* the Pentium gcc compiler,
16754
 
-       # which looks to be a dead project)
16755
 
-       lt_prog_compiler_wl='-Wl,'
16756
 
-       lt_prog_compiler_pic='-fpic'
16757
 
-       lt_prog_compiler_static='-Bstatic'
16758
 
-        ;;
16759
 
-      ccc*)
16760
 
-        lt_prog_compiler_wl='-Wl,'
16761
 
-        # All Alpha code is PIC.
16762
 
-        lt_prog_compiler_static='-non_shared'
16763
 
-        ;;
16764
 
-      *)
16765
 
-        case `$CC -V 2>&1 | sed 5q` in
16766
 
-       *Sun\ C*)
16767
 
-         # Sun C 5.9
16768
 
-         lt_prog_compiler_pic='-KPIC'
16769
 
-         lt_prog_compiler_static='-Bstatic'
16770
 
-         lt_prog_compiler_wl='-Wl,'
16771
 
-         ;;
16772
 
-       *Sun\ F*)
16773
 
-         # Sun Fortran 8.3 passes all unrecognized flags to the linker
16774
 
-         lt_prog_compiler_pic='-KPIC'
16775
 
-         lt_prog_compiler_static='-Bstatic'
16776
 
-         lt_prog_compiler_wl=''
16777
 
-         ;;
16778
 
-       esac
16779
 
-       ;;
16780
 
-      esac
16781
 
-      ;;
16782
 
-
16783
 
-    osf3* | osf4* | osf5*)
16784
 
-      lt_prog_compiler_wl='-Wl,'
16785
 
-      # All OSF/1 code is PIC.
16786
 
-      lt_prog_compiler_static='-non_shared'
16787
 
-      ;;
16788
 
+  ;
16789
 
+  return 0;
16790
 
+}
16791
 
+_ACEOF
16792
 
+rm -f conftest.$ac_objext
16793
 
+if { (ac_try="$ac_compile"
16794
 
+case "(($ac_try" in
16795
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16796
 
+  *) ac_try_echo=$ac_try;;
16797
 
+esac
16798
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16799
 
+$as_echo "$ac_try_echo") >&5
16800
 
+  (eval "$ac_compile") 2>conftest.er1
16801
 
+  ac_status=$?
16802
 
+  grep -v '^ *+' conftest.er1 >conftest.err
16803
 
+  rm -f conftest.er1
16804
 
+  cat conftest.err >&5
16805
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16806
 
+  (exit $ac_status); } && {
16807
 
+        test -z "$ac_cxx_werror_flag" ||
16808
 
+        test ! -s conftest.err
16809
 
+       } && test -s conftest.$ac_objext; then
16810
 
+  ac_cv_prog_cxx_g=yes
16811
 
+else
16812
 
+  $as_echo "$as_me: failed program was:" >&5
16813
 
+sed 's/^/| /' conftest.$ac_ext >&5
16814
 
 
16815
 
-    rdos*)
16816
 
-      lt_prog_compiler_static='-non_shared'
16817
 
-      ;;
16818
 
 
16819
 
-    solaris*)
16820
 
-      lt_prog_compiler_pic='-KPIC'
16821
 
-      lt_prog_compiler_static='-Bstatic'
16822
 
-      case $cc_basename in
16823
 
-      f77* | f90* | f95*)
16824
 
-       lt_prog_compiler_wl='-Qoption ld ';;
16825
 
-      *)
16826
 
-       lt_prog_compiler_wl='-Wl,';;
16827
 
-      esac
16828
 
-      ;;
16829
 
+fi
16830
 
 
16831
 
-    sunos4*)
16832
 
-      lt_prog_compiler_wl='-Qoption ld '
16833
 
-      lt_prog_compiler_pic='-PIC'
16834
 
-      lt_prog_compiler_static='-Bstatic'
16835
 
-      ;;
16836
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16837
 
+fi
16838
 
 
16839
 
-    sysv4 | sysv4.2uw2* | sysv4.3*)
16840
 
-      lt_prog_compiler_wl='-Wl,'
16841
 
-      lt_prog_compiler_pic='-KPIC'
16842
 
-      lt_prog_compiler_static='-Bstatic'
16843
 
-      ;;
16844
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16845
 
+fi
16846
 
 
16847
 
-    sysv4*MP*)
16848
 
-      if test -d /usr/nec ;then
16849
 
-       lt_prog_compiler_pic='-Kconform_pic'
16850
 
-       lt_prog_compiler_static='-Bstatic'
16851
 
-      fi
16852
 
-      ;;
16853
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16854
 
+   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16855
 
+fi
16856
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16857
 
+$as_echo "$ac_cv_prog_cxx_g" >&6; }
16858
 
+if test "$ac_test_CXXFLAGS" = set; then
16859
 
+  CXXFLAGS=$ac_save_CXXFLAGS
16860
 
+elif test $ac_cv_prog_cxx_g = yes; then
16861
 
+  if test "$GXX" = yes; then
16862
 
+    CXXFLAGS="-g -O2"
16863
 
+  else
16864
 
+    CXXFLAGS="-g"
16865
 
+  fi
16866
 
+else
16867
 
+  if test "$GXX" = yes; then
16868
 
+    CXXFLAGS="-O2"
16869
 
+  else
16870
 
+    CXXFLAGS=
16871
 
+  fi
16872
 
+fi
16873
 
+ac_ext=c
16874
 
+ac_cpp='$CPP $CPPFLAGS'
16875
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16876
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16877
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
16878
 
 
16879
 
-    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16880
 
-      lt_prog_compiler_wl='-Wl,'
16881
 
-      lt_prog_compiler_pic='-KPIC'
16882
 
-      lt_prog_compiler_static='-Bstatic'
16883
 
-      ;;
16884
 
+depcc="$CXX"  am_compiler_list=
16885
 
 
16886
 
-    unicos*)
16887
 
-      lt_prog_compiler_wl='-Wl,'
16888
 
-      lt_prog_compiler_can_build_shared=no
16889
 
-      ;;
16890
 
+{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
16891
 
+$as_echo_n "checking dependency style of $depcc... " >&6; }
16892
 
+if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
16893
 
+  $as_echo_n "(cached) " >&6
16894
 
+else
16895
 
+  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16896
 
+  # We make a subdir and do the tests there.  Otherwise we can end up
16897
 
+  # making bogus files that we don't know about and never remove.  For
16898
 
+  # instance it was reported that on HP-UX the gcc test will end up
16899
 
+  # making a dummy file named `D' -- because `-MD' means `put the output
16900
 
+  # in D'.
16901
 
+  mkdir conftest.dir
16902
 
+  # Copy depcomp to subdir because otherwise we won't find it if we're
16903
 
+  # using a relative directory.
16904
 
+  cp "$am_depcomp" conftest.dir
16905
 
+  cd conftest.dir
16906
 
+  # We will build objects and dependencies in a subdirectory because
16907
 
+  # it helps to detect inapplicable dependency modes.  For instance
16908
 
+  # both Tru64's cc and ICC support -MD to output dependencies as a
16909
 
+  # side effect of compilation, but ICC will put the dependencies in
16910
 
+  # the current directory while Tru64 will put them in the object
16911
 
+  # directory.
16912
 
+  mkdir sub
16913
 
 
16914
 
-    uts4*)
16915
 
-      lt_prog_compiler_pic='-pic'
16916
 
-      lt_prog_compiler_static='-Bstatic'
16917
 
-      ;;
16918
 
+  am_cv_CXX_dependencies_compiler_type=none
16919
 
+  if test "$am_compiler_list" = ""; then
16920
 
+     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16921
 
+  fi
16922
 
+  for depmode in $am_compiler_list; do
16923
 
+    # Setup a source with many dependencies, because some compilers
16924
 
+    # like to wrap large dependency lists on column 80 (with \), and
16925
 
+    # we should not choose a depcomp mode which is confused by this.
16926
 
+    #
16927
 
+    # We need to recreate these files for each test, as the compiler may
16928
 
+    # overwrite some of them when testing with obscure command lines.
16929
 
+    # This happens at least with the AIX C compiler.
16930
 
+    : > sub/conftest.c
16931
 
+    for i in 1 2 3 4 5 6; do
16932
 
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
16933
 
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16934
 
+      # Solaris 8's {/usr,}/bin/sh.
16935
 
+      touch sub/conftst$i.h
16936
 
+    done
16937
 
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16938
 
 
16939
 
-    *)
16940
 
-      lt_prog_compiler_can_build_shared=no
16941
 
+    case $depmode in
16942
 
+    nosideeffect)
16943
 
+      # after this tag, mechanisms are not by side-effect, so they'll
16944
 
+      # only be used when explicitly requested
16945
 
+      if test "x$enable_dependency_tracking" = xyes; then
16946
 
+       continue
16947
 
+      else
16948
 
+       break
16949
 
+      fi
16950
 
       ;;
16951
 
+    none) break ;;
16952
 
     esac
16953
 
-  fi
16954
 
-
16955
 
-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
16956
 
-echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
16957
 
-
16958
 
-#
16959
 
-# Check to make sure the PIC flag actually works.
16960
 
-#
16961
 
-if test -n "$lt_prog_compiler_pic"; then
16962
 
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
16963
 
+    # mode.  It turns out that the SunPro C++ compiler does not properly
16964
 
+    # handle `-M -o', and we need to detect this.
16965
 
+    if depmode=$depmode \
16966
 
+       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
16967
 
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
16968
 
+       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
16969
 
+         >/dev/null 2>conftest.err &&
16970
 
+       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
16971
 
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
16972
 
+       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
16973
 
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
16974
 
+      # icc doesn't choke on unknown options, it will just issue warnings
16975
 
+      # or remarks (even with -Werror).  So we grep stderr for any message
16976
 
+      # that says an option was ignored or not supported.
16977
 
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
16978
 
+      #   icc: Command line warning: ignoring option '-M'; no argument required
16979
 
+      # The diagnosis changed in icc 8.0:
16980
 
+      #   icc: Command line remark: option '-MP' not supported
16981
 
+      if (grep 'ignoring option' conftest.err ||
16982
 
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
16983
 
+        am_cv_CXX_dependencies_compiler_type=$depmode
16984
 
+        break
16985
 
+      fi
16986
 
+    fi
16987
 
+  done
16988
 
 
16989
 
-{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
16990
 
-echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
16991
 
-if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
16992
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
16993
 
+  cd ..
16994
 
+  rm -rf conftest.dir
16995
 
 else
16996
 
-  lt_cv_prog_compiler_pic_works=no
16997
 
-  ac_outfile=conftest.$ac_objext
16998
 
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16999
 
-   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
17000
 
-   # Insert the option either (1) after the last *FLAGS variable, or
17001
 
-   # (2) before a word containing "conftest.", or (3) at the end.
17002
 
-   # Note that $ac_compile itself does not contain backslashes and begins
17003
 
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
17004
 
-   # The option is referenced via a variable to avoid confusing sed.
17005
 
-   lt_compile=`echo "$ac_compile" | $SED \
17006
 
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17007
 
-   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17008
 
-   -e 's:$: $lt_compiler_flag:'`
17009
 
-   (eval echo "\"\$as_me:9762: $lt_compile\"" >&5)
17010
 
-   (eval "$lt_compile" 2>conftest.err)
17011
 
-   ac_status=$?
17012
 
-   cat conftest.err >&5
17013
 
-   echo "$as_me:9766: \$? = $ac_status" >&5
17014
 
-   if (exit $ac_status) && test -s "$ac_outfile"; then
17015
 
-     # The compiler can only warn and ignore the option if not recognized
17016
 
-     # So say no if there are warnings other than the usual output.
17017
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17018
 
-     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17019
 
-     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17020
 
-       lt_cv_prog_compiler_pic_works=yes
17021
 
-     fi
17022
 
-   fi
17023
 
-   $rm conftest*
17024
 
+  am_cv_CXX_dependencies_compiler_type=none
17025
 
+fi
17026
 
 
17027
 
 fi
17028
 
-{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
17029
 
-echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
17030
 
+{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
17031
 
+$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
17032
 
+CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
17033
 
 
17034
 
-if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
17035
 
-    case $lt_prog_compiler_pic in
17036
 
-     "" | " "*) ;;
17037
 
-     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
17038
 
-     esac
17039
 
+ if
17040
 
+  test "x$enable_dependency_tracking" != xno \
17041
 
+  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
17042
 
+  am__fastdepCXX_TRUE=
17043
 
+  am__fastdepCXX_FALSE='#'
17044
 
 else
17045
 
-    lt_prog_compiler_pic=
17046
 
-     lt_prog_compiler_can_build_shared=no
17047
 
+  am__fastdepCXX_TRUE='#'
17048
 
+  am__fastdepCXX_FALSE=
17049
 
 fi
17050
 
 
17051
 
-fi
17052
 
-case $host_os in
17053
 
-  # For platforms which do not support PIC, -DPIC is meaningless:
17054
 
-  *djgpp*)
17055
 
-    lt_prog_compiler_pic=
17056
 
-    ;;
17057
 
-  *)
17058
 
-    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
17059
 
-    ;;
17060
 
-esac
17061
 
 
17062
 
-#
17063
 
-# Check to make sure the static flag actually works.
17064
 
-#
17065
 
-wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
17066
 
-{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17067
 
-echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17068
 
-if test "${lt_cv_prog_compiler_static_works+set}" = set; then
17069
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
17070
 
+if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
17071
 
+    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
17072
 
+    (test "X$CXX" != "Xg++"))) ; then
17073
 
+  ac_ext=cpp
17074
 
+ac_cpp='$CXXCPP $CPPFLAGS'
17075
 
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17076
 
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17077
 
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17078
 
+{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17079
 
+$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
17080
 
+if test -z "$CXXCPP"; then
17081
 
+  if test "${ac_cv_prog_CXXCPP+set}" = set; then
17082
 
+  $as_echo_n "(cached) " >&6
17083
 
 else
17084
 
-  lt_cv_prog_compiler_static_works=no
17085
 
-   save_LDFLAGS="$LDFLAGS"
17086
 
-   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17087
 
-   echo "$lt_simple_link_test_code" > conftest.$ac_ext
17088
 
-   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17089
 
-     # The linker can only warn and ignore the option if not recognized
17090
 
-     # So say no if there are warnings
17091
 
-     if test -s conftest.err; then
17092
 
-       # Append any errors to the config.log.
17093
 
-       cat conftest.err 1>&5
17094
 
-       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17095
 
-       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17096
 
-       if diff conftest.exp conftest.er2 >/dev/null; then
17097
 
-         lt_cv_prog_compiler_static_works=yes
17098
 
-       fi
17099
 
-     else
17100
 
-       lt_cv_prog_compiler_static_works=yes
17101
 
-     fi
17102
 
-   fi
17103
 
-   $rm -r conftest*
17104
 
-   LDFLAGS="$save_LDFLAGS"
17105
 
+      # Double quotes because CXXCPP needs to be expanded
17106
 
+    for CXXCPP in "$CXX -E" "/lib/cpp"
17107
 
+    do
17108
 
+      ac_preproc_ok=false
17109
 
+for ac_cxx_preproc_warn_flag in '' yes
17110
 
+do
17111
 
+  # Use a header file that comes with gcc, so configuring glibc
17112
 
+  # with a fresh cross-compiler works.
17113
 
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17114
 
+  # <limits.h> exists even on freestanding compilers.
17115
 
+  # On the NeXT, cc -E runs the code through the compiler's parser,
17116
 
+  # not just through cpp. "Syntax error" is here to catch this case.
17117
 
+  cat >conftest.$ac_ext <<_ACEOF
17118
 
+/* confdefs.h.  */
17119
 
+_ACEOF
17120
 
+cat confdefs.h >>conftest.$ac_ext
17121
 
+cat >>conftest.$ac_ext <<_ACEOF
17122
 
+/* end confdefs.h.  */
17123
 
+#ifdef __STDC__
17124
 
+# include <limits.h>
17125
 
+#else
17126
 
+# include <assert.h>
17127
 
+#endif
17128
 
+                    Syntax error
17129
 
+_ACEOF
17130
 
+if { (ac_try="$ac_cpp conftest.$ac_ext"
17131
 
+case "(($ac_try" in
17132
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17133
 
+  *) ac_try_echo=$ac_try;;
17134
 
+esac
17135
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17136
 
+$as_echo "$ac_try_echo") >&5
17137
 
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17138
 
+  ac_status=$?
17139
 
+  grep -v '^ *+' conftest.er1 >conftest.err
17140
 
+  rm -f conftest.er1
17141
 
+  cat conftest.err >&5
17142
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17143
 
+  (exit $ac_status); } >/dev/null && {
17144
 
+        test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
17145
 
+        test ! -s conftest.err
17146
 
+       }; then
17147
 
+  :
17148
 
+else
17149
 
+  $as_echo "$as_me: failed program was:" >&5
17150
 
+sed 's/^/| /' conftest.$ac_ext >&5
17151
 
 
17152
 
+  # Broken: fails on valid input.
17153
 
+continue
17154
 
 fi
17155
 
-{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
17156
 
-echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
17157
 
 
17158
 
-if test x"$lt_cv_prog_compiler_static_works" = xyes; then
17159
 
-    :
17160
 
+rm -f conftest.err conftest.$ac_ext
17161
 
+
17162
 
+  # OK, works on sane cases.  Now check whether nonexistent headers
17163
 
+  # can be detected and how.
17164
 
+  cat >conftest.$ac_ext <<_ACEOF
17165
 
+/* confdefs.h.  */
17166
 
+_ACEOF
17167
 
+cat confdefs.h >>conftest.$ac_ext
17168
 
+cat >>conftest.$ac_ext <<_ACEOF
17169
 
+/* end confdefs.h.  */
17170
 
+#include <ac_nonexistent.h>
17171
 
+_ACEOF
17172
 
+if { (ac_try="$ac_cpp conftest.$ac_ext"
17173
 
+case "(($ac_try" in
17174
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17175
 
+  *) ac_try_echo=$ac_try;;
17176
 
+esac
17177
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17178
 
+$as_echo "$ac_try_echo") >&5
17179
 
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17180
 
+  ac_status=$?
17181
 
+  grep -v '^ *+' conftest.er1 >conftest.err
17182
 
+  rm -f conftest.er1
17183
 
+  cat conftest.err >&5
17184
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185
 
+  (exit $ac_status); } >/dev/null && {
17186
 
+        test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
17187
 
+        test ! -s conftest.err
17188
 
+       }; then
17189
 
+  # Broken: success on invalid input.
17190
 
+continue
17191
 
 else
17192
 
-    lt_prog_compiler_static=
17193
 
+  $as_echo "$as_me: failed program was:" >&5
17194
 
+sed 's/^/| /' conftest.$ac_ext >&5
17195
 
+
17196
 
+  # Passes both tests.
17197
 
+ac_preproc_ok=:
17198
 
+break
17199
 
 fi
17200
 
 
17201
 
+rm -f conftest.err conftest.$ac_ext
17202
 
 
17203
 
-{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17204
 
-echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17205
 
-if test "${lt_cv_prog_compiler_c_o+set}" = set; then
17206
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
17207
 
-else
17208
 
-  lt_cv_prog_compiler_c_o=no
17209
 
-   $rm -r conftest 2>/dev/null
17210
 
-   mkdir conftest
17211
 
-   cd conftest
17212
 
-   mkdir out
17213
 
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17214
 
+done
17215
 
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17216
 
+rm -f conftest.err conftest.$ac_ext
17217
 
+if $ac_preproc_ok; then
17218
 
+  break
17219
 
+fi
17220
 
 
17221
 
-   lt_compiler_flag="-o out/conftest2.$ac_objext"
17222
 
-   # Insert the option either (1) after the last *FLAGS variable, or
17223
 
-   # (2) before a word containing "conftest.", or (3) at the end.
17224
 
-   # Note that $ac_compile itself does not contain backslashes and begins
17225
 
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
17226
 
-   lt_compile=`echo "$ac_compile" | $SED \
17227
 
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17228
 
-   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17229
 
-   -e 's:$: $lt_compiler_flag:'`
17230
 
-   (eval echo "\"\$as_me:9866: $lt_compile\"" >&5)
17231
 
-   (eval "$lt_compile" 2>out/conftest.err)
17232
 
-   ac_status=$?
17233
 
-   cat out/conftest.err >&5
17234
 
-   echo "$as_me:9870: \$? = $ac_status" >&5
17235
 
-   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17236
 
-   then
17237
 
-     # The compiler can only warn and ignore the option if not recognized
17238
 
-     # So say no if there are warnings
17239
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17240
 
-     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17241
 
-     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17242
 
-       lt_cv_prog_compiler_c_o=yes
17243
 
-     fi
17244
 
-   fi
17245
 
-   chmod u+w . 2>&5
17246
 
-   $rm conftest*
17247
 
-   # SGI C++ compiler will create directory out/ii_files/ for
17248
 
-   # template instantiation
17249
 
-   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17250
 
-   $rm out/* && rmdir out
17251
 
-   cd ..
17252
 
-   rmdir conftest
17253
 
-   $rm conftest*
17254
 
+    done
17255
 
+    ac_cv_prog_CXXCPP=$CXXCPP
17256
 
+
17257
 
+fi
17258
 
+  CXXCPP=$ac_cv_prog_CXXCPP
17259
 
+else
17260
 
+  ac_cv_prog_CXXCPP=$CXXCPP
17261
 
+fi
17262
 
+{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
17263
 
+$as_echo "$CXXCPP" >&6; }
17264
 
+ac_preproc_ok=false
17265
 
+for ac_cxx_preproc_warn_flag in '' yes
17266
 
+do
17267
 
+  # Use a header file that comes with gcc, so configuring glibc
17268
 
+  # with a fresh cross-compiler works.
17269
 
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17270
 
+  # <limits.h> exists even on freestanding compilers.
17271
 
+  # On the NeXT, cc -E runs the code through the compiler's parser,
17272
 
+  # not just through cpp. "Syntax error" is here to catch this case.
17273
 
+  cat >conftest.$ac_ext <<_ACEOF
17274
 
+/* confdefs.h.  */
17275
 
+_ACEOF
17276
 
+cat confdefs.h >>conftest.$ac_ext
17277
 
+cat >>conftest.$ac_ext <<_ACEOF
17278
 
+/* end confdefs.h.  */
17279
 
+#ifdef __STDC__
17280
 
+# include <limits.h>
17281
 
+#else
17282
 
+# include <assert.h>
17283
 
+#endif
17284
 
+                    Syntax error
17285
 
+_ACEOF
17286
 
+if { (ac_try="$ac_cpp conftest.$ac_ext"
17287
 
+case "(($ac_try" in
17288
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17289
 
+  *) ac_try_echo=$ac_try;;
17290
 
+esac
17291
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17292
 
+$as_echo "$ac_try_echo") >&5
17293
 
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17294
 
+  ac_status=$?
17295
 
+  grep -v '^ *+' conftest.er1 >conftest.err
17296
 
+  rm -f conftest.er1
17297
 
+  cat conftest.err >&5
17298
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17299
 
+  (exit $ac_status); } >/dev/null && {
17300
 
+        test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
17301
 
+        test ! -s conftest.err
17302
 
+       }; then
17303
 
+  :
17304
 
+else
17305
 
+  $as_echo "$as_me: failed program was:" >&5
17306
 
+sed 's/^/| /' conftest.$ac_ext >&5
17307
 
 
17308
 
+  # Broken: fails on valid input.
17309
 
+continue
17310
 
 fi
17311
 
-{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
17312
 
-echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
17313
 
 
17314
 
+rm -f conftest.err conftest.$ac_ext
17315
 
 
17316
 
-hard_links="nottested"
17317
 
-if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
17318
 
-  # do not overwrite the value of need_locks provided by the user
17319
 
-  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17320
 
-echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17321
 
-  hard_links=yes
17322
 
-  $rm conftest*
17323
 
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17324
 
-  touch conftest.a
17325
 
-  ln conftest.a conftest.b 2>&5 || hard_links=no
17326
 
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17327
 
-  { echo "$as_me:$LINENO: result: $hard_links" >&5
17328
 
-echo "${ECHO_T}$hard_links" >&6; }
17329
 
-  if test "$hard_links" = no; then
17330
 
-    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17331
 
-echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17332
 
-    need_locks=warn
17333
 
-  fi
17334
 
+  # OK, works on sane cases.  Now check whether nonexistent headers
17335
 
+  # can be detected and how.
17336
 
+  cat >conftest.$ac_ext <<_ACEOF
17337
 
+/* confdefs.h.  */
17338
 
+_ACEOF
17339
 
+cat confdefs.h >>conftest.$ac_ext
17340
 
+cat >>conftest.$ac_ext <<_ACEOF
17341
 
+/* end confdefs.h.  */
17342
 
+#include <ac_nonexistent.h>
17343
 
+_ACEOF
17344
 
+if { (ac_try="$ac_cpp conftest.$ac_ext"
17345
 
+case "(($ac_try" in
17346
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17347
 
+  *) ac_try_echo=$ac_try;;
17348
 
+esac
17349
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17350
 
+$as_echo "$ac_try_echo") >&5
17351
 
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17352
 
+  ac_status=$?
17353
 
+  grep -v '^ *+' conftest.er1 >conftest.err
17354
 
+  rm -f conftest.er1
17355
 
+  cat conftest.err >&5
17356
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17357
 
+  (exit $ac_status); } >/dev/null && {
17358
 
+        test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
17359
 
+        test ! -s conftest.err
17360
 
+       }; then
17361
 
+  # Broken: success on invalid input.
17362
 
+continue
17363
 
 else
17364
 
-  need_locks=no
17365
 
+  $as_echo "$as_me: failed program was:" >&5
17366
 
+sed 's/^/| /' conftest.$ac_ext >&5
17367
 
+
17368
 
+  # Passes both tests.
17369
 
+ac_preproc_ok=:
17370
 
+break
17371
 
 fi
17372
 
 
17373
 
-{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17374
 
-echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17375
 
+rm -f conftest.err conftest.$ac_ext
17376
 
 
17377
 
-  runpath_var=
17378
 
-  allow_undefined_flag=
17379
 
-  enable_shared_with_static_runtimes=no
17380
 
-  archive_cmds=
17381
 
-  archive_expsym_cmds=
17382
 
-  old_archive_From_new_cmds=
17383
 
-  old_archive_from_expsyms_cmds=
17384
 
-  export_dynamic_flag_spec=
17385
 
-  whole_archive_flag_spec=
17386
 
-  thread_safe_flag_spec=
17387
 
-  hardcode_libdir_flag_spec=
17388
 
-  hardcode_libdir_flag_spec_ld=
17389
 
-  hardcode_libdir_separator=
17390
 
-  hardcode_direct=no
17391
 
-  hardcode_minus_L=no
17392
 
-  hardcode_shlibpath_var=unsupported
17393
 
-  link_all_deplibs=unknown
17394
 
-  hardcode_automatic=no
17395
 
-  module_cmds=
17396
 
-  module_expsym_cmds=
17397
 
-  always_export_symbols=no
17398
 
-  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17399
 
-  # include_expsyms should be a list of space-separated symbols to be *always*
17400
 
-  # included in the symbol list
17401
 
-  include_expsyms=
17402
 
-  # exclude_expsyms can be an extended regexp of symbols to exclude
17403
 
-  # it will be wrapped by ` (' and `)$', so one must not match beginning or
17404
 
-  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17405
 
-  # as well as any symbol that contains `d'.
17406
 
-  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17407
 
-  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17408
 
-  # platforms (ab)use it in PIC code, but their linkers get confused if
17409
 
-  # the symbol is explicitly referenced.  Since portable code cannot
17410
 
-  # rely on this symbol name, it's probably fine to never include it in
17411
 
-  # preloaded symbol tables.
17412
 
-  # Exclude shared library initialization/finalization symbols.
17413
 
-  extract_expsyms_cmds=
17414
 
-  # Just being paranoid about ensuring that cc_basename is set.
17415
 
-  for cc_temp in $compiler""; do
17416
 
-  case $cc_temp in
17417
 
-    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17418
 
-    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17419
 
-    \-*) ;;
17420
 
-    *) break;;
17421
 
-  esac
17422
 
 done
17423
 
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17424
 
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17425
 
+rm -f conftest.err conftest.$ac_ext
17426
 
+if $ac_preproc_ok; then
17427
 
+  :
17428
 
+else
17429
 
+  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17430
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17431
 
+_lt_caught_CXX_error=yes; }
17432
 
+fi
17433
 
 
17434
 
-  case $host_os in
17435
 
-  cygwin* | mingw* | pw32*)
17436
 
-    # FIXME: the MSVC++ port hasn't been tested in a loooong time
17437
 
-    # When not using gcc, we currently assume that we are using
17438
 
-    # Microsoft Visual C++.
17439
 
-    if test "$GCC" != yes; then
17440
 
-      with_gnu_ld=no
17441
 
-    fi
17442
 
-    ;;
17443
 
-  interix*)
17444
 
-    # we just hope/assume this is gcc and not c89 (= MSVC++)
17445
 
-    with_gnu_ld=yes
17446
 
-    ;;
17447
 
-  openbsd*)
17448
 
-    with_gnu_ld=no
17449
 
-    ;;
17450
 
-  esac
17451
 
+ac_ext=c
17452
 
+ac_cpp='$CPP $CPPFLAGS'
17453
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17454
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17455
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
17456
 
 
17457
 
-  ld_shlibs=yes
17458
 
-  if test "$with_gnu_ld" = yes; then
17459
 
-    # If archive_cmds runs LD, not CC, wlarc should be empty
17460
 
-    wlarc='${wl}'
17461
 
+else
17462
 
+  _lt_caught_CXX_error=yes
17463
 
+fi
17464
 
 
17465
 
-    # Set some defaults for GNU ld with shared library support. These
17466
 
-    # are reset later if shared libraries are not supported. Putting them
17467
 
-    # here allows them to be overridden if necessary.
17468
 
-    runpath_var=LD_RUN_PATH
17469
 
-    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
17470
 
-    export_dynamic_flag_spec='${wl}--export-dynamic'
17471
 
-    # ancient GNU ld didn't support --whole-archive et. al.
17472
 
-    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17473
 
-       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17474
 
-      else
17475
 
-       whole_archive_flag_spec=
17476
 
-    fi
17477
 
-    supports_anon_versioning=no
17478
 
-    case `$LD -v 2>/dev/null` in
17479
 
-      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17480
 
-      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17481
 
-      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17482
 
-      *\ 2.11.*) ;; # other 2.11 versions
17483
 
-      *) supports_anon_versioning=yes ;;
17484
 
-    esac
17485
 
 
17486
 
-    # See if GNU ld supports shared libraries.
17487
 
-    case $host_os in
17488
 
-    aix[3-9]*)
17489
 
-      # On AIX/PPC, the GNU linker is very broken
17490
 
-      if test "$host_cpu" != ia64; then
17491
 
-       ld_shlibs=no
17492
 
-       cat <<EOF 1>&2
17493
 
 
17494
 
-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17495
 
-*** to be unable to reliably create shared libraries on AIX.
17496
 
-*** Therefore, libtool is disabling shared libraries support.  If you
17497
 
-*** really care for shared libraries, you may want to modify your PATH
17498
 
-*** so that a non-GNU linker is found, and then restart.
17499
 
 
17500
 
-EOF
17501
 
-      fi
17502
 
-      ;;
17503
 
 
17504
 
-    amigaos*)
17505
 
-      archive_cmds='$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)'
17506
 
-      hardcode_libdir_flag_spec='-L$libdir'
17507
 
-      hardcode_minus_L=yes
17508
 
+# Set options
17509
 
 
17510
 
-      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17511
 
-      # that the semantics of dynamic libraries on AmigaOS, at least up
17512
 
-      # to version 4, is to share data among multiple programs linked
17513
 
-      # with the same dynamic library.  Since this doesn't match the
17514
 
-      # behavior of shared libraries on other platforms, we can't use
17515
 
-      # them.
17516
 
-      ld_shlibs=no
17517
 
-      ;;
17518
 
 
17519
 
-    beos*)
17520
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17521
 
-       allow_undefined_flag=unsupported
17522
 
-       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17523
 
-       # support --undefined.  This deserves some investigation.  FIXME
17524
 
-       archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17525
 
-      else
17526
 
-       ld_shlibs=no
17527
 
-      fi
17528
 
-      ;;
17529
 
 
17530
 
-    cygwin* | mingw* | pw32*)
17531
 
-      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
17532
 
-      # as there is no search path for DLLs.
17533
 
-      hardcode_libdir_flag_spec='-L$libdir'
17534
 
-      allow_undefined_flag=unsupported
17535
 
-      always_export_symbols=no
17536
 
-      enable_shared_with_static_runtimes=yes
17537
 
-      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17538
 
+        enable_dlopen=no
17539
 
 
17540
 
-      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17541
 
-        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17542
 
-       # If the export-symbols file already is a .def file (1st line
17543
 
-       # is EXPORTS), use it as is; otherwise, prepend...
17544
 
-       archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17545
 
-         cp $export_symbols $output_objdir/$soname.def;
17546
 
-       else
17547
 
-         echo EXPORTS > $output_objdir/$soname.def;
17548
 
-         cat $export_symbols >> $output_objdir/$soname.def;
17549
 
-       fi~
17550
 
-       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17551
 
-      else
17552
 
-       ld_shlibs=no
17553
 
-      fi
17554
 
-      ;;
17555
 
 
17556
 
-    interix[3-9]*)
17557
 
-      hardcode_direct=no
17558
 
-      hardcode_shlibpath_var=no
17559
 
-      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
17560
 
-      export_dynamic_flag_spec='${wl}-E'
17561
 
-      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17562
 
-      # Instead, shared libraries are loaded at an image base (0x10000000 by
17563
 
-      # default) and relocated if they conflict, which is a slow very memory
17564
 
-      # consuming and fragmenting process.  To avoid this, we pick a random,
17565
 
-      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17566
 
-      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
17567
 
-      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17568
 
-      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17569
 
-      ;;
17570
 
+  enable_win32_dll=no
17571
 
 
17572
 
-    gnu* | linux* | k*bsd*-gnu)
17573
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17574
 
-       tmp_addflag=
17575
 
-       case $cc_basename,$host_cpu in
17576
 
-       pgcc*)                          # Portland Group C compiler
17577
 
-         whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17578
 
-         tmp_addflag=' $pic_flag'
17579
 
-         ;;
17580
 
-       pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
17581
 
-         whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17582
 
-         tmp_addflag=' $pic_flag -Mnomain' ;;
17583
 
-       ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
17584
 
-         tmp_addflag=' -i_dynamic' ;;
17585
 
-       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
17586
 
-         tmp_addflag=' -i_dynamic -nofor_main' ;;
17587
 
-       ifc* | ifort*)                  # Intel Fortran compiler
17588
 
-         tmp_addflag=' -nofor_main' ;;
17589
 
-       esac
17590
 
-       case `$CC -V 2>&1 | sed 5q` in
17591
 
-       *Sun\ C*)                       # Sun C 5.9
17592
 
-         whole_archive_flag_spec='${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'
17593
 
-         tmp_sharedflag='-G' ;;
17594
 
-       *Sun\ F*)                       # Sun Fortran 8.3
17595
 
-         tmp_sharedflag='-G' ;;
17596
 
-       *)
17597
 
-         tmp_sharedflag='-shared' ;;
17598
 
-       esac
17599
 
-       archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17600
 
 
17601
 
-       if test $supports_anon_versioning = yes; then
17602
 
-         archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
17603
 
-  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17604
 
-  $echo "local: *; };" >> $output_objdir/$libname.ver~
17605
 
-         $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17606
 
+            # Check whether --enable-shared was given.
17607
 
+if test "${enable_shared+set}" = set; then
17608
 
+  enableval=$enable_shared; p=${PACKAGE-default}
17609
 
+    case $enableval in
17610
 
+    yes) enable_shared=yes ;;
17611
 
+    no) enable_shared=no ;;
17612
 
+    *)
17613
 
+      enable_shared=no
17614
 
+      # Look at the argument we got.  We use all the common list separators.
17615
 
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
17616
 
+      for pkg in $enableval; do
17617
 
+       IFS="$lt_save_ifs"
17618
 
+       if test "X$pkg" = "X$p"; then
17619
 
+         enable_shared=yes
17620
 
        fi
17621
 
-       link_all_deplibs=no
17622
 
-      else
17623
 
-       ld_shlibs=no
17624
 
-      fi
17625
 
+      done
17626
 
+      IFS="$lt_save_ifs"
17627
 
       ;;
17628
 
+    esac
17629
 
+else
17630
 
+  enable_shared=yes
17631
 
+fi
17632
 
 
17633
 
-    netbsd* | netbsdelf*-gnu)
17634
 
-      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17635
 
-       archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17636
 
-       wlarc=
17637
 
-      else
17638
 
-       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17639
 
-       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17640
 
-      fi
17641
 
-      ;;
17642
 
 
17643
 
-    solaris*)
17644
 
-      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17645
 
-       ld_shlibs=no
17646
 
-       cat <<EOF 1>&2
17647
 
 
17648
 
-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17649
 
-*** create shared libraries on Solaris systems.  Therefore, libtool
17650
 
-*** is disabling shared libraries support.  We urge you to upgrade GNU
17651
 
-*** binutils to release 2.9.1 or newer.  Another option is to modify
17652
 
-*** your PATH or compiler configuration so that the native linker is
17653
 
-*** used, and then restart.
17654
 
 
17655
 
-EOF
17656
 
-      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17657
 
-       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17658
 
-       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17659
 
-      else
17660
 
-       ld_shlibs=no
17661
 
-      fi
17662
 
-      ;;
17663
 
 
17664
 
-    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17665
 
-      case `$LD -v 2>&1` in
17666
 
-        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17667
 
-       ld_shlibs=no
17668
 
-       cat <<_LT_EOF 1>&2
17669
 
 
17670
 
-*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17671
 
-*** reliably create shared libraries on SCO systems.  Therefore, libtool
17672
 
-*** is disabling shared libraries support.  We urge you to upgrade GNU
17673
 
-*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
17674
 
-*** your PATH or compiler configuration so that the native linker is
17675
 
-*** used, and then restart.
17676
 
 
17677
 
-_LT_EOF
17678
 
-       ;;
17679
 
-       *)
17680
 
-         if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17681
 
-           hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17682
 
-           archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17683
 
-           archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17684
 
-         else
17685
 
-           ld_shlibs=no
17686
 
-         fi
17687
 
-       ;;
17688
 
-      esac
17689
 
-      ;;
17690
 
 
17691
 
-    sunos4*)
17692
 
-      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17693
 
-      wlarc=
17694
 
-      hardcode_direct=yes
17695
 
-      hardcode_shlibpath_var=no
17696
 
-      ;;
17697
 
 
17698
 
+  # Check whether --enable-static was given.
17699
 
+if test "${enable_static+set}" = set; then
17700
 
+  enableval=$enable_static; p=${PACKAGE-default}
17701
 
+    case $enableval in
17702
 
+    yes) enable_static=yes ;;
17703
 
+    no) enable_static=no ;;
17704
 
     *)
17705
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17706
 
-       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17707
 
-       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17708
 
-      else
17709
 
-       ld_shlibs=no
17710
 
-      fi
17711
 
-      ;;
17712
 
-    esac
17713
 
-
17714
 
-    if test "$ld_shlibs" = no; then
17715
 
-      runpath_var=
17716
 
-      hardcode_libdir_flag_spec=
17717
 
-      export_dynamic_flag_spec=
17718
 
-      whole_archive_flag_spec=
17719
 
-    fi
17720
 
-  else
17721
 
-    # PORTME fill in a description of your system's linker (not GNU ld)
17722
 
-    case $host_os in
17723
 
-    aix3*)
17724
 
-      allow_undefined_flag=unsupported
17725
 
-      always_export_symbols=yes
17726
 
-      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17727
 
-      # Note: this linker hardcodes the directories in LIBPATH if there
17728
 
-      # are no directories specified by -L.
17729
 
-      hardcode_minus_L=yes
17730
 
-      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17731
 
-       # Neither direct hardcoding nor static linking is supported with a
17732
 
-       # broken collect2.
17733
 
-       hardcode_direct=unsupported
17734
 
-      fi
17735
 
+     enable_static=no
17736
 
+      # Look at the argument we got.  We use all the common list separators.
17737
 
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
17738
 
+      for pkg in $enableval; do
17739
 
+       IFS="$lt_save_ifs"
17740
 
+       if test "X$pkg" = "X$p"; then
17741
 
+         enable_static=yes
17742
 
+       fi
17743
 
+      done
17744
 
+      IFS="$lt_save_ifs"
17745
 
       ;;
17746
 
+    esac
17747
 
+else
17748
 
+  enable_static=yes
17749
 
+fi
17750
 
 
17751
 
-    aix[4-9]*)
17752
 
-      if test "$host_cpu" = ia64; then
17753
 
-       # On IA64, the linker does run time linking by default, so we don't
17754
 
-       # have to do anything special.
17755
 
-       aix_use_runtimelinking=no
17756
 
-       exp_sym_flag='-Bexport'
17757
 
-       no_entry_flag=""
17758
 
-      else
17759
 
-       # If we're using GNU nm, then we don't want the "-C" option.
17760
 
-       # -C means demangle to AIX nm, but means don't demangle with GNU nm
17761
 
-       if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17762
 
-         export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17763
 
-       else
17764
 
-         export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17765
 
-       fi
17766
 
-       aix_use_runtimelinking=no
17767
 
 
17768
 
-       # Test if we are trying to use run time linking or normal
17769
 
-       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17770
 
-       # need to do runtime linking.
17771
 
-       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17772
 
-         for ld_flag in $LDFLAGS; do
17773
 
-         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17774
 
-           aix_use_runtimelinking=yes
17775
 
-           break
17776
 
-         fi
17777
 
-         done
17778
 
-         ;;
17779
 
-       esac
17780
 
 
17781
 
-       exp_sym_flag='-bexport'
17782
 
-       no_entry_flag='-bnoentry'
17783
 
-      fi
17784
 
 
17785
 
-      # When large executables or shared objects are built, AIX ld can
17786
 
-      # have problems creating the table of contents.  If linking a library
17787
 
-      # or program results in "error TOC overflow" add -mminimal-toc to
17788
 
-      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17789
 
-      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17790
 
 
17791
 
-      archive_cmds=''
17792
 
-      hardcode_direct=yes
17793
 
-      hardcode_libdir_separator=':'
17794
 
-      link_all_deplibs=yes
17795
 
 
17796
 
-      if test "$GCC" = yes; then
17797
 
-       case $host_os in aix4.[012]|aix4.[012].*)
17798
 
-       # We only want to do this on AIX 4.2 and lower, the check
17799
 
-       # below for broken collect2 doesn't work under 4.3+
17800
 
-         collect2name=`${CC} -print-prog-name=collect2`
17801
 
-         if test -f "$collect2name" && \
17802
 
-          strings "$collect2name" | grep resolve_lib_name >/dev/null
17803
 
-         then
17804
 
-         # We have reworked collect2
17805
 
-         :
17806
 
-         else
17807
 
-         # We have old collect2
17808
 
-         hardcode_direct=unsupported
17809
 
-         # It fails to find uninstalled libraries when the uninstalled
17810
 
-         # path is not listed in the libpath.  Setting hardcode_minus_L
17811
 
-         # to unsupported forces relinking
17812
 
-         hardcode_minus_L=yes
17813
 
-         hardcode_libdir_flag_spec='-L$libdir'
17814
 
-         hardcode_libdir_separator=
17815
 
-         fi
17816
 
-         ;;
17817
 
-       esac
17818
 
-       shared_flag='-shared'
17819
 
-       if test "$aix_use_runtimelinking" = yes; then
17820
 
-         shared_flag="$shared_flag "'${wl}-G'
17821
 
-       fi
17822
 
-      else
17823
 
-       # not using gcc
17824
 
-       if test "$host_cpu" = ia64; then
17825
 
-       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17826
 
-       # chokes on -Wl,-G. The following line is correct:
17827
 
-         shared_flag='-G'
17828
 
-       else
17829
 
-         if test "$aix_use_runtimelinking" = yes; then
17830
 
-           shared_flag='${wl}-G'
17831
 
-         else
17832
 
-           shared_flag='${wl}-bM:SRE'
17833
 
-         fi
17834
 
-       fi
17835
 
-      fi
17836
 
 
17837
 
-      # It seems that -bexpall does not export symbols beginning with
17838
 
-      # underscore (_), so it is better to generate a list of symbols to export.
17839
 
-      always_export_symbols=yes
17840
 
-      if test "$aix_use_runtimelinking" = yes; then
17841
 
-       # Warning - without using the other runtime loading flags (-brtl),
17842
 
-       # -berok will link without error, but may produce a broken library.
17843
 
-       allow_undefined_flag='-berok'
17844
 
-       # Determine the default libpath from the value encoded in an empty executable.
17845
 
-       cat >conftest.$ac_ext <<_ACEOF
17846
 
-/* confdefs.h.  */
17847
 
-_ACEOF
17848
 
-cat confdefs.h >>conftest.$ac_ext
17849
 
-cat >>conftest.$ac_ext <<_ACEOF
17850
 
-/* end confdefs.h.  */
17851
 
 
17852
 
-int
17853
 
-main ()
17854
 
-{
17855
 
 
17856
 
-  ;
17857
 
-  return 0;
17858
 
-}
17859
 
-_ACEOF
17860
 
-rm -f conftest.$ac_objext conftest$ac_exeext
17861
 
-if { (ac_try="$ac_link"
17862
 
-case "(($ac_try" in
17863
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17864
 
-  *) ac_try_echo=$ac_try;;
17865
 
-esac
17866
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17867
 
-  (eval "$ac_link") 2>conftest.er1
17868
 
-  ac_status=$?
17869
 
-  grep -v '^ *+' conftest.er1 >conftest.err
17870
 
-  rm -f conftest.er1
17871
 
-  cat conftest.err >&5
17872
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873
 
-  (exit $ac_status); } && {
17874
 
-        test -z "$ac_c_werror_flag" ||
17875
 
-        test ! -s conftest.err
17876
 
-       } && test -s conftest$ac_exeext &&
17877
 
-       $as_test_x conftest$ac_exeext; then
17878
 
 
17879
 
-lt_aix_libpath_sed='
17880
 
-    /Import File Strings/,/^$/ {
17881
 
-       /^0/ {
17882
 
-           s/^0  *\(.*\)$/\1/
17883
 
-           p
17884
 
-       }
17885
 
-    }'
17886
 
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17887
 
-# Check for a 64-bit object if we didn't find anything.
17888
 
-if test -z "$aix_libpath"; then
17889
 
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17890
 
-fi
17891
 
+# Check whether --with-pic was given.
17892
 
+if test "${with_pic+set}" = set; then
17893
 
+  withval=$with_pic; pic_mode="$withval"
17894
 
 else
17895
 
-  echo "$as_me: failed program was:" >&5
17896
 
-sed 's/^/| /' conftest.$ac_ext >&5
17897
 
-
17898
 
-
17899
 
+  pic_mode=default
17900
 
 fi
17901
 
 
17902
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17903
 
-      conftest$ac_exeext conftest.$ac_ext
17904
 
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17905
 
 
17906
 
-       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
17907
 
-       archive_expsym_cmds="\$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"
17908
 
-       else
17909
 
-       if test "$host_cpu" = ia64; then
17910
 
-         hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
17911
 
-         allow_undefined_flag="-z nodefs"
17912
 
-         archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
17913
 
-       else
17914
 
-        # Determine the default libpath from the value encoded in an empty executable.
17915
 
-        cat >conftest.$ac_ext <<_ACEOF
17916
 
-/* confdefs.h.  */
17917
 
-_ACEOF
17918
 
-cat confdefs.h >>conftest.$ac_ext
17919
 
-cat >>conftest.$ac_ext <<_ACEOF
17920
 
-/* end confdefs.h.  */
17921
 
+test -z "$pic_mode" && pic_mode=default
17922
 
 
17923
 
-int
17924
 
-main ()
17925
 
-{
17926
 
 
17927
 
-  ;
17928
 
-  return 0;
17929
 
-}
17930
 
-_ACEOF
17931
 
-rm -f conftest.$ac_objext conftest$ac_exeext
17932
 
-if { (ac_try="$ac_link"
17933
 
-case "(($ac_try" in
17934
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17935
 
-  *) ac_try_echo=$ac_try;;
17936
 
-esac
17937
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17938
 
-  (eval "$ac_link") 2>conftest.er1
17939
 
-  ac_status=$?
17940
 
-  grep -v '^ *+' conftest.er1 >conftest.err
17941
 
-  rm -f conftest.er1
17942
 
-  cat conftest.err >&5
17943
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944
 
-  (exit $ac_status); } && {
17945
 
-        test -z "$ac_c_werror_flag" ||
17946
 
-        test ! -s conftest.err
17947
 
-       } && test -s conftest$ac_exeext &&
17948
 
-       $as_test_x conftest$ac_exeext; then
17949
 
 
17950
 
-lt_aix_libpath_sed='
17951
 
-    /Import File Strings/,/^$/ {
17952
 
-       /^0/ {
17953
 
-           s/^0  *\(.*\)$/\1/
17954
 
-           p
17955
 
-       }
17956
 
-    }'
17957
 
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17958
 
-# Check for a 64-bit object if we didn't find anything.
17959
 
-if test -z "$aix_libpath"; then
17960
 
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17961
 
-fi
17962
 
-else
17963
 
-  echo "$as_me: failed program was:" >&5
17964
 
-sed 's/^/| /' conftest.$ac_ext >&5
17965
 
 
17966
 
 
17967
 
-fi
17968
 
 
17969
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17970
 
-      conftest$ac_exeext conftest.$ac_ext
17971
 
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17972
 
 
17973
 
-        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
17974
 
-         # Warning - without using the other run time loading flags,
17975
 
-         # -berok will link without error, but may produce a broken library.
17976
 
-         no_undefined_flag=' ${wl}-bernotok'
17977
 
-         allow_undefined_flag=' ${wl}-berok'
17978
 
-         # Exported symbols can be pulled into shared objects from archives
17979
 
-         whole_archive_flag_spec='$convenience'
17980
 
-         archive_cmds_need_lc=yes
17981
 
-         # This is similar to how AIX traditionally builds its shared libraries.
17982
 
-         archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17983
 
+  # Check whether --enable-fast-install was given.
17984
 
+if test "${enable_fast_install+set}" = set; then
17985
 
+  enableval=$enable_fast_install; p=${PACKAGE-default}
17986
 
+    case $enableval in
17987
 
+    yes) enable_fast_install=yes ;;
17988
 
+    no) enable_fast_install=no ;;
17989
 
+    *)
17990
 
+      enable_fast_install=no
17991
 
+      # Look at the argument we got.  We use all the common list separators.
17992
 
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
17993
 
+      for pkg in $enableval; do
17994
 
+       IFS="$lt_save_ifs"
17995
 
+       if test "X$pkg" = "X$p"; then
17996
 
+         enable_fast_install=yes
17997
 
        fi
17998
 
-      fi
17999
 
+      done
18000
 
+      IFS="$lt_save_ifs"
18001
 
       ;;
18002
 
+    esac
18003
 
+else
18004
 
+  enable_fast_install=yes
18005
 
+fi
18006
 
 
18007
 
-    amigaos*)
18008
 
-      archive_cmds='$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)'
18009
 
-      hardcode_libdir_flag_spec='-L$libdir'
18010
 
-      hardcode_minus_L=yes
18011
 
-      # see comment about different semantics on the GNU ld section
18012
 
-      ld_shlibs=no
18013
 
-      ;;
18014
 
 
18015
 
-    bsdi[45]*)
18016
 
-      export_dynamic_flag_spec=-rdynamic
18017
 
-      ;;
18018
 
 
18019
 
-    cygwin* | mingw* | pw32*)
18020
 
-      # When not using gcc, we currently assume that we are using
18021
 
-      # Microsoft Visual C++.
18022
 
-      # hardcode_libdir_flag_spec is actually meaningless, as there is
18023
 
-      # no search path for DLLs.
18024
 
-      hardcode_libdir_flag_spec=' '
18025
 
-      allow_undefined_flag=unsupported
18026
 
-      # Tell ltmain to make .lib files, not .a files.
18027
 
-      libext=lib
18028
 
-      # Tell ltmain to make .dll files, not .so files.
18029
 
-      shrext_cmds=".dll"
18030
 
-      # FIXME: Setting linknames here is a bad hack.
18031
 
-      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18032
 
-      # The linker will automatically build a .lib file if we build a DLL.
18033
 
-      old_archive_From_new_cmds='true'
18034
 
-      # FIXME: Should let the user specify the lib program.
18035
 
-      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
18036
 
-      fix_srcfile_path='`cygpath -w "$srcfile"`'
18037
 
-      enable_shared_with_static_runtimes=yes
18038
 
-      ;;
18039
 
 
18040
 
-    darwin* | rhapsody*)
18041
 
-      case $host_os in
18042
 
-        rhapsody* | darwin1.[012])
18043
 
-         allow_undefined_flag='${wl}-undefined ${wl}suppress'
18044
 
-         ;;
18045
 
-       *) # Darwin 1.3 on
18046
 
-         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18047
 
-           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18048
 
-         else
18049
 
-           case ${MACOSX_DEPLOYMENT_TARGET} in
18050
 
-             10.[012])
18051
 
-               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18052
 
-               ;;
18053
 
-             10.*)
18054
 
-               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
18055
 
-               ;;
18056
 
-           esac
18057
 
-         fi
18058
 
-         ;;
18059
 
-      esac
18060
 
-      archive_cmds_need_lc=no
18061
 
-      hardcode_direct=no
18062
 
-      hardcode_automatic=yes
18063
 
-      hardcode_shlibpath_var=unsupported
18064
 
-      whole_archive_flag_spec=''
18065
 
-      link_all_deplibs=yes
18066
 
-    if test "$GCC" = yes ; then
18067
 
-       output_verbose_link_cmd='echo'
18068
 
-        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
18069
 
-        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18070
 
-        archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
18071
 
-        module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
18072
 
-    else
18073
 
-      case $cc_basename in
18074
 
-        xlc*)
18075
 
-         output_verbose_link_cmd='echo'
18076
 
-         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18077
 
-         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18078
 
-          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18079
 
-         archive_expsym_cmds='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}'
18080
 
-          module_expsym_cmds='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}'
18081
 
-          ;;
18082
 
-       *)
18083
 
-         ld_shlibs=no
18084
 
-          ;;
18085
 
-      esac
18086
 
-    fi
18087
 
-      ;;
18088
 
 
18089
 
-    dgux*)
18090
 
-      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18091
 
-      hardcode_libdir_flag_spec='-L$libdir'
18092
 
-      hardcode_shlibpath_var=no
18093
 
-      ;;
18094
 
 
18095
 
-    freebsd1*)
18096
 
-      ld_shlibs=no
18097
 
-      ;;
18098
 
 
18099
 
-    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18100
 
-    # support.  Future versions do this automatically, but an explicit c++rt0.o
18101
 
-    # does not break anything, and helps significantly (at the cost of a little
18102
 
-    # extra space).
18103
 
-    freebsd2.2*)
18104
 
-      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18105
 
-      hardcode_libdir_flag_spec='-R$libdir'
18106
 
-      hardcode_direct=yes
18107
 
-      hardcode_shlibpath_var=no
18108
 
-      ;;
18109
 
 
18110
 
-    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18111
 
-    freebsd2*)
18112
 
-      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18113
 
-      hardcode_direct=yes
18114
 
-      hardcode_minus_L=yes
18115
 
-      hardcode_shlibpath_var=no
18116
 
-      ;;
18117
 
 
18118
 
-    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18119
 
-    freebsd* | dragonfly*)
18120
 
-      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18121
 
-      hardcode_libdir_flag_spec='-R$libdir'
18122
 
-      hardcode_direct=yes
18123
 
-      hardcode_shlibpath_var=no
18124
 
-      ;;
18125
 
 
18126
 
-    hpux9*)
18127
 
-      if test "$GCC" = yes; then
18128
 
-       archive_cmds='$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'
18129
 
-      else
18130
 
-       archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18131
 
-      fi
18132
 
-      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
18133
 
-      hardcode_libdir_separator=:
18134
 
-      hardcode_direct=yes
18135
 
 
18136
 
-      # hardcode_minus_L: Not really in the search PATH,
18137
 
-      # but as the default location of the library.
18138
 
-      hardcode_minus_L=yes
18139
 
-      export_dynamic_flag_spec='${wl}-E'
18140
 
-      ;;
18141
 
+# This can be used to rebuild libtool when needed
18142
 
+LIBTOOL_DEPS="$ltmain"
18143
 
 
18144
 
-    hpux10*)
18145
 
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18146
 
-       archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18147
 
-      else
18148
 
-       archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18149
 
-      fi
18150
 
-      if test "$with_gnu_ld" = no; then
18151
 
-       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
18152
 
-       hardcode_libdir_separator=:
18153
 
+# Always use our own libtool.
18154
 
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
18155
 
 
18156
 
-       hardcode_direct=yes
18157
 
-       export_dynamic_flag_spec='${wl}-E'
18158
 
 
18159
 
-       # hardcode_minus_L: Not really in the search PATH,
18160
 
-       # but as the default location of the library.
18161
 
-       hardcode_minus_L=yes
18162
 
-      fi
18163
 
-      ;;
18164
 
 
18165
 
-    hpux11*)
18166
 
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18167
 
-       case $host_cpu in
18168
 
-       hppa*64*)
18169
 
-         archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18170
 
-         ;;
18171
 
-       ia64*)
18172
 
-         archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18173
 
-         ;;
18174
 
-       *)
18175
 
-         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18176
 
-         ;;
18177
 
-       esac
18178
 
-      else
18179
 
-       case $host_cpu in
18180
 
-       hppa*64*)
18181
 
-         archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18182
 
-         ;;
18183
 
-       ia64*)
18184
 
-         archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18185
 
-         ;;
18186
 
-       *)
18187
 
-         archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18188
 
-         ;;
18189
 
-       esac
18190
 
-      fi
18191
 
-      if test "$with_gnu_ld" = no; then
18192
 
-       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
18193
 
-       hardcode_libdir_separator=:
18194
 
 
18195
 
-       case $host_cpu in
18196
 
-       hppa*64*|ia64*)
18197
 
-         hardcode_libdir_flag_spec_ld='+b $libdir'
18198
 
-         hardcode_direct=no
18199
 
-         hardcode_shlibpath_var=no
18200
 
-         ;;
18201
 
-       *)
18202
 
-         hardcode_direct=yes
18203
 
-         export_dynamic_flag_spec='${wl}-E'
18204
 
 
18205
 
-         # hardcode_minus_L: Not really in the search PATH,
18206
 
-         # but as the default location of the library.
18207
 
-         hardcode_minus_L=yes
18208
 
-         ;;
18209
 
-       esac
18210
 
-      fi
18211
 
-      ;;
18212
 
 
18213
 
-    irix5* | irix6* | nonstopux*)
18214
 
-      if test "$GCC" = yes; then
18215
 
-       archive_cmds='$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'
18216
 
-      else
18217
 
-       archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18218
 
-       hardcode_libdir_flag_spec_ld='-rpath $libdir'
18219
 
-      fi
18220
 
-      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
18221
 
-      hardcode_libdir_separator=:
18222
 
-      link_all_deplibs=yes
18223
 
-      ;;
18224
 
 
18225
 
-    netbsd* | netbsdelf*-gnu)
18226
 
-      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18227
 
-       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
18228
 
-      else
18229
 
-       archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
18230
 
-      fi
18231
 
-      hardcode_libdir_flag_spec='-R$libdir'
18232
 
-      hardcode_direct=yes
18233
 
-      hardcode_shlibpath_var=no
18234
 
-      ;;
18235
 
 
18236
 
-    newsos6)
18237
 
-      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18238
 
-      hardcode_direct=yes
18239
 
-      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
18240
 
-      hardcode_libdir_separator=:
18241
 
-      hardcode_shlibpath_var=no
18242
 
-      ;;
18243
 
 
18244
 
-    openbsd*)
18245
 
-      if test -f /usr/libexec/ld.so; then
18246
 
-       hardcode_direct=yes
18247
 
-       hardcode_shlibpath_var=no
18248
 
-       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18249
 
-         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18250
 
-         archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18251
 
-         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
18252
 
-         export_dynamic_flag_spec='${wl}-E'
18253
 
-       else
18254
 
-         case $host_os in
18255
 
-          openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18256
 
-            archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18257
 
-            hardcode_libdir_flag_spec='-R$libdir'
18258
 
-            ;;
18259
 
-          *)
18260
 
-            archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18261
 
-            hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
18262
 
-            ;;
18263
 
-         esac
18264
 
-        fi
18265
 
-      else
18266
 
-       ld_shlibs=no
18267
 
-      fi
18268
 
-      ;;
18269
 
 
18270
 
-    os2*)
18271
 
-      hardcode_libdir_flag_spec='-L$libdir'
18272
 
-      hardcode_minus_L=yes
18273
 
-      allow_undefined_flag=unsupported
18274
 
-      archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
18275
 
-      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18276
 
-      ;;
18277
 
 
18278
 
-    osf3*)
18279
 
-      if test "$GCC" = yes; then
18280
 
-       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
18281
 
-       archive_cmds='$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'
18282
 
-      else
18283
 
-       allow_undefined_flag=' -expect_unresolved \*'
18284
 
-       archive_cmds='$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'
18285
 
-      fi
18286
 
-      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
18287
 
-      hardcode_libdir_separator=:
18288
 
-      ;;
18289
 
 
18290
 
-    osf4* | osf5*)     # as osf3* with the addition of -msym flag
18291
 
-      if test "$GCC" = yes; then
18292
 
-       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
18293
 
-       archive_cmds='$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'
18294
 
-       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
18295
 
-      else
18296
 
-       allow_undefined_flag=' -expect_unresolved \*'
18297
 
-       archive_cmds='$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'
18298
 
-       archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
18299
 
-       $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'
18300
 
 
18301
 
-       # Both c and cxx compiler support -rpath directly
18302
 
-       hardcode_libdir_flag_spec='-rpath $libdir'
18303
 
-      fi
18304
 
-      hardcode_libdir_separator=:
18305
 
-      ;;
18306
 
 
18307
 
-    solaris*)
18308
 
-      no_undefined_flag=' -z text'
18309
 
-      if test "$GCC" = yes; then
18310
 
-       wlarc='${wl}'
18311
 
-       archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18312
 
-       archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18313
 
-         $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18314
 
-      else
18315
 
-       wlarc=''
18316
 
-       archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18317
 
-       archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18318
 
-       $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18319
 
-      fi
18320
 
-      hardcode_libdir_flag_spec='-R$libdir'
18321
 
-      hardcode_shlibpath_var=no
18322
 
-      case $host_os in
18323
 
-      solaris2.[0-5] | solaris2.[0-5].*) ;;
18324
 
-      *)
18325
 
-       # The compiler driver will combine and reorder linker options,
18326
 
-       # but understands `-z linker_flag'.  GCC discards it without `$wl',
18327
 
-       # but is careful enough not to reorder.
18328
 
-       # Supported since Solaris 2.6 (maybe 2.5.1?)
18329
 
-       if test "$GCC" = yes; then
18330
 
-         whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18331
 
-       else
18332
 
-         whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
18333
 
-       fi
18334
 
-       ;;
18335
 
-      esac
18336
 
-      link_all_deplibs=yes
18337
 
-      ;;
18338
 
 
18339
 
-    sunos4*)
18340
 
-      if test "x$host_vendor" = xsequent; then
18341
 
-       # Use $CC to link under sequent, because it throws in some extra .o
18342
 
-       # files that make .init and .fini sections work.
18343
 
-       archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18344
 
-      else
18345
 
-       archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18346
 
-      fi
18347
 
-      hardcode_libdir_flag_spec='-L$libdir'
18348
 
-      hardcode_direct=yes
18349
 
-      hardcode_minus_L=yes
18350
 
-      hardcode_shlibpath_var=no
18351
 
-      ;;
18352
 
 
18353
 
-    sysv4)
18354
 
-      case $host_vendor in
18355
 
-       sni)
18356
 
-         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18357
 
-         hardcode_direct=yes # is this really true???
18358
 
-       ;;
18359
 
-       siemens)
18360
 
-         ## LD is ld it makes a PLAMLIB
18361
 
-         ## CC just makes a GrossModule.
18362
 
-         archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18363
 
-         reload_cmds='$CC -r -o $output$reload_objs'
18364
 
-         hardcode_direct=no
18365
 
-        ;;
18366
 
-       motorola)
18367
 
-         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18368
 
-         hardcode_direct=no #Motorola manual says yes, but my tests say they lie
18369
 
-       ;;
18370
 
-      esac
18371
 
-      runpath_var='LD_RUN_PATH'
18372
 
-      hardcode_shlibpath_var=no
18373
 
-      ;;
18374
 
 
18375
 
-    sysv4.3*)
18376
 
-      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18377
 
-      hardcode_shlibpath_var=no
18378
 
-      export_dynamic_flag_spec='-Bexport'
18379
 
-      ;;
18380
 
 
18381
 
-    sysv4*MP*)
18382
 
-      if test -d /usr/nec; then
18383
 
-       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18384
 
-       hardcode_shlibpath_var=no
18385
 
-       runpath_var=LD_RUN_PATH
18386
 
-       hardcode_runpath_var=yes
18387
 
-       ld_shlibs=yes
18388
 
-      fi
18389
 
-      ;;
18390
 
 
18391
 
-    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18392
 
-      no_undefined_flag='${wl}-z,text'
18393
 
-      archive_cmds_need_lc=no
18394
 
-      hardcode_shlibpath_var=no
18395
 
-      runpath_var='LD_RUN_PATH'
18396
 
 
18397
 
-      if test "$GCC" = yes; then
18398
 
-       archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18399
 
-       archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18400
 
-      else
18401
 
-       archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18402
 
-       archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18403
 
-      fi
18404
 
-      ;;
18405
 
 
18406
 
-    sysv5* | sco3.2v5* | sco5v6*)
18407
 
-      # Note: We can NOT use -z defs as we might desire, because we do not
18408
 
-      # link with -lc, and that would cause any symbols used from libc to
18409
 
-      # always be unresolved, which means just about no library would
18410
 
-      # ever link correctly.  If we're not using GNU ld we use -z text
18411
 
-      # though, which does catch some bad symbols but isn't as heavy-handed
18412
 
-      # as -z defs.
18413
 
-      no_undefined_flag='${wl}-z,text'
18414
 
-      allow_undefined_flag='${wl}-z,nodefs'
18415
 
-      archive_cmds_need_lc=no
18416
 
-      hardcode_shlibpath_var=no
18417
 
-      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18418
 
-      hardcode_libdir_separator=':'
18419
 
-      link_all_deplibs=yes
18420
 
-      export_dynamic_flag_spec='${wl}-Bexport'
18421
 
-      runpath_var='LD_RUN_PATH'
18422
 
 
18423
 
-      if test "$GCC" = yes; then
18424
 
-       archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18425
 
-       archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18426
 
-      else
18427
 
-       archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18428
 
-       archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18429
 
-      fi
18430
 
-      ;;
18431
 
 
18432
 
-    uts4*)
18433
 
-      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18434
 
-      hardcode_libdir_flag_spec='-L$libdir'
18435
 
-      hardcode_shlibpath_var=no
18436
 
-      ;;
18437
 
 
18438
 
-    *)
18439
 
-      ld_shlibs=no
18440
 
-      ;;
18441
 
-    esac
18442
 
-  fi
18443
 
 
18444
 
-{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
18445
 
-echo "${ECHO_T}$ld_shlibs" >&6; }
18446
 
-test "$ld_shlibs" = no && can_build_shared=no
18447
 
+test -z "$LN_S" && LN_S="ln -s"
18448
 
 
18449
 
-#
18450
 
-# Do we need to explicitly link libc?
18451
 
-#
18452
 
-case "x$archive_cmds_need_lc" in
18453
 
-x|xyes)
18454
 
-  # Assume -lc should be added
18455
 
-  archive_cmds_need_lc=yes
18456
 
 
18457
 
-  if test "$enable_shared" = yes && test "$GCC" = yes; then
18458
 
-    case $archive_cmds in
18459
 
-    *'~'*)
18460
 
-      # FIXME: we may have to deal with multi-command sequences.
18461
 
-      ;;
18462
 
-    '$CC '*)
18463
 
-      # Test whether the compiler implicitly links with -lc since on some
18464
 
-      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18465
 
-      # to ld, don't add -lc before -lgcc.
18466
 
-      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18467
 
-echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18468
 
-      $rm conftest*
18469
 
-      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18470
 
 
18471
 
-      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18472
 
-  (eval $ac_compile) 2>&5
18473
 
-  ac_status=$?
18474
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475
 
-  (exit $ac_status); } 2>conftest.err; then
18476
 
-        soname=conftest
18477
 
-        lib=conftest
18478
 
-        libobjs=conftest.$ac_objext
18479
 
-        deplibs=
18480
 
-        wl=$lt_prog_compiler_wl
18481
 
-       pic_flag=$lt_prog_compiler_pic
18482
 
-        compiler_flags=-v
18483
 
-        linker_flags=-v
18484
 
-        verstring=
18485
 
-        output_objdir=.
18486
 
-        libname=conftest
18487
 
-        lt_save_allow_undefined_flag=$allow_undefined_flag
18488
 
-        allow_undefined_flag=
18489
 
-        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18490
 
-  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18491
 
-  ac_status=$?
18492
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493
 
-  (exit $ac_status); }
18494
 
-        then
18495
 
-         archive_cmds_need_lc=no
18496
 
-        else
18497
 
-         archive_cmds_need_lc=yes
18498
 
-        fi
18499
 
-        allow_undefined_flag=$lt_save_allow_undefined_flag
18500
 
-      else
18501
 
-        cat conftest.err 1>&5
18502
 
-      fi
18503
 
-      $rm conftest*
18504
 
-      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
18505
 
-echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
18506
 
-      ;;
18507
 
-    esac
18508
 
-  fi
18509
 
-  ;;
18510
 
-esac
18511
 
 
18512
 
-{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18513
 
-echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18514
 
-library_names_spec=
18515
 
-libname_spec='lib$name'
18516
 
-soname_spec=
18517
 
-shrext_cmds=".so"
18518
 
-postinstall_cmds=
18519
 
-postuninstall_cmds=
18520
 
-finish_cmds=
18521
 
-finish_eval=
18522
 
-shlibpath_var=
18523
 
-shlibpath_overrides_runpath=unknown
18524
 
-version_type=none
18525
 
-dynamic_linker="$host_os ld.so"
18526
 
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
18527
 
 
18528
 
-if test "$GCC" = yes; then
18529
 
-  case $host_os in
18530
 
-    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
18531
 
-    *) lt_awk_arg="/^libraries:/" ;;
18532
 
-  esac
18533
 
-  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18534
 
-  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
18535
 
-    # if the path contains ";" then we assume it to be the separator
18536
 
-    # otherwise default to the standard path separator (i.e. ":") - it is
18537
 
-    # assumed that no part of a normal pathname contains ";" but that should
18538
 
-    # okay in the real world where ";" in dirpaths is itself problematic.
18539
 
-    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
18540
 
-  else
18541
 
-    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18542
 
-  fi
18543
 
-  # Ok, now we have the path, separated by spaces, we can step through it
18544
 
-  # and add multilib dir if necessary.
18545
 
-  lt_tmp_lt_search_path_spec=
18546
 
-  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
18547
 
-  for lt_sys_path in $lt_search_path_spec; do
18548
 
-    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
18549
 
-      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
18550
 
-    else
18551
 
-      test -d "$lt_sys_path" && \
18552
 
-       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
18553
 
-    fi
18554
 
-  done
18555
 
-  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
18556
 
-BEGIN {RS=" "; FS="/|\n";} {
18557
 
-  lt_foo="";
18558
 
-  lt_count=0;
18559
 
-  for (lt_i = NF; lt_i > 0; lt_i--) {
18560
 
-    if ($lt_i != "" && $lt_i != ".") {
18561
 
-      if ($lt_i == "..") {
18562
 
-        lt_count++;
18563
 
-      } else {
18564
 
-        if (lt_count == 0) {
18565
 
-          lt_foo="/" $lt_i lt_foo;
18566
 
-        } else {
18567
 
-          lt_count--;
18568
 
-        }
18569
 
-      }
18570
 
-    }
18571
 
-  }
18572
 
-  if (lt_foo != "") { lt_freq[lt_foo]++; }
18573
 
-  if (lt_freq[lt_foo] == 1) { print lt_foo; }
18574
 
-}'`
18575
 
-  sys_lib_search_path_spec=`echo $lt_search_path_spec`
18576
 
+
18577
 
+
18578
 
+
18579
 
+
18580
 
+
18581
 
+
18582
 
+
18583
 
+
18584
 
+
18585
 
+if test -n "${ZSH_VERSION+set}" ; then
18586
 
+   setopt NO_GLOB_SUBST
18587
 
+fi
18588
 
+
18589
 
+{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
18590
 
+$as_echo_n "checking for objdir... " >&6; }
18591
 
+if test "${lt_cv_objdir+set}" = set; then
18592
 
+  $as_echo_n "(cached) " >&6
18593
 
 else
18594
 
-  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18595
 
+  rm -f .libs 2>/dev/null
18596
 
+mkdir .libs 2>/dev/null
18597
 
+if test -d .libs; then
18598
 
+  lt_cv_objdir=.libs
18599
 
+else
18600
 
+  # MS-DOS does not allow filenames that begin with a dot.
18601
 
+  lt_cv_objdir=_libs
18602
 
 fi
18603
 
-need_lib_prefix=unknown
18604
 
-hardcode_into_libs=no
18605
 
+rmdir .libs 2>/dev/null
18606
 
+fi
18607
 
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
18608
 
+$as_echo "$lt_cv_objdir" >&6; }
18609
 
+objdir=$lt_cv_objdir
18610
 
 
18611
 
-# when you set need_version to no, make sure it does not cause -set_version
18612
 
-# flags to be left without arguments
18613
 
-need_version=unknown
18614
 
 
18615
 
-case $host_os in
18616
 
-aix3*)
18617
 
-  version_type=linux
18618
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18619
 
-  shlibpath_var=LIBPATH
18620
 
 
18621
 
-  # AIX 3 has no versioning support, so we append a major version to the name.
18622
 
-  soname_spec='${libname}${release}${shared_ext}$major'
18623
 
-  ;;
18624
 
 
18625
 
-aix[4-9]*)
18626
 
-  version_type=linux
18627
 
-  need_lib_prefix=no
18628
 
-  need_version=no
18629
 
-  hardcode_into_libs=yes
18630
 
-  if test "$host_cpu" = ia64; then
18631
 
-    # AIX 5 supports IA64
18632
 
-    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18633
 
-    shlibpath_var=LD_LIBRARY_PATH
18634
 
-  else
18635
 
-    # With GCC up to 2.95.x, collect2 would create an import file
18636
 
-    # for dependence libraries.  The import file would start with
18637
 
-    # the line `#! .'.  This would cause the generated library to
18638
 
-    # depend on `.', always an invalid library.  This was fixed in
18639
 
-    # development snapshots of GCC prior to 3.0.
18640
 
-    case $host_os in
18641
 
-      aix4 | aix4.[01] | aix4.[01].*)
18642
 
-      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18643
 
-          echo ' yes '
18644
 
-          echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18645
 
-       :
18646
 
-      else
18647
 
-       can_build_shared=no
18648
 
-      fi
18649
 
-      ;;
18650
 
-    esac
18651
 
-    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18652
 
-    # soname into executable. Probably we can add versioning support to
18653
 
-    # collect2, so additional links can be useful in future.
18654
 
-    if test "$aix_use_runtimelinking" = yes; then
18655
 
-      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18656
 
-      # instead of lib<name>.a to let people know that these are not
18657
 
-      # typical AIX shared libraries.
18658
 
-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18659
 
-    else
18660
 
-      # We preserve .a as extension for shared libraries through AIX4.2
18661
 
-      # and later when we are not doing run time linking.
18662
 
-      library_names_spec='${libname}${release}.a $libname.a'
18663
 
-      soname_spec='${libname}${release}${shared_ext}$major'
18664
 
-    fi
18665
 
-    shlibpath_var=LIBPATH
18666
 
-  fi
18667
 
-  ;;
18668
 
 
18669
 
-amigaos*)
18670
 
-  library_names_spec='$libname.ixlibrary $libname.a'
18671
 
-  # Create ${libname}_ixlibrary.a entries in /sys/libs.
18672
 
-  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'
18673
 
-  ;;
18674
 
+cat >>confdefs.h <<_ACEOF
18675
 
+#define LT_OBJDIR "$lt_cv_objdir/"
18676
 
+_ACEOF
18677
 
 
18678
 
-beos*)
18679
 
-  library_names_spec='${libname}${shared_ext}'
18680
 
-  dynamic_linker="$host_os ld.so"
18681
 
-  shlibpath_var=LIBRARY_PATH
18682
 
-  ;;
18683
 
 
18684
 
-bsdi[45]*)
18685
 
-  version_type=linux
18686
 
-  need_version=no
18687
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18688
 
-  soname_spec='${libname}${release}${shared_ext}$major'
18689
 
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18690
 
-  shlibpath_var=LD_LIBRARY_PATH
18691
 
-  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18692
 
-  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18693
 
-  # the default ld.so.conf also contains /usr/contrib/lib and
18694
 
-  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18695
 
-  # libtool to hard-code these into programs
18696
 
-  ;;
18697
 
 
18698
 
-cygwin* | mingw* | pw32*)
18699
 
-  version_type=windows
18700
 
-  shrext_cmds=".dll"
18701
 
-  need_version=no
18702
 
-  need_lib_prefix=no
18703
 
 
18704
 
-  case $GCC,$host_os in
18705
 
-  yes,cygwin* | yes,mingw* | yes,pw32*)
18706
 
-    library_names_spec='$libname.dll.a'
18707
 
-    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18708
 
-    postinstall_cmds='base_file=`basename \${file}`~
18709
 
-      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18710
 
-      dldir=$destdir/`dirname \$dlpath`~
18711
 
-      test -d \$dldir || mkdir -p \$dldir~
18712
 
-      $install_prog $dir/$dlname \$dldir/$dlname~
18713
 
-      chmod a+x \$dldir/$dlname'
18714
 
-    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18715
 
-      dlpath=$dir/\$dldll~
18716
 
-       $rm \$dlpath'
18717
 
-    shlibpath_overrides_runpath=yes
18718
 
 
18719
 
-    case $host_os in
18720
 
-    cygwin*)
18721
 
-      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18722
 
-      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18723
 
-      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18724
 
-      ;;
18725
 
-    mingw*)
18726
 
-      # MinGW DLLs use traditional 'lib' prefix
18727
 
-      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18728
 
-      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18729
 
-      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18730
 
-        # It is most probably a Windows format PATH printed by
18731
 
-        # mingw gcc, but we are running on Cygwin. Gcc prints its search
18732
 
-        # path with ; separators, and with drive letters. We can handle the
18733
 
-        # drive letters (cygwin fileutils understands them), so leave them,
18734
 
-        # especially as we might pass files found there to a mingw objdump,
18735
 
-        # which wouldn't understand a cygwinified path. Ahh.
18736
 
-        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18737
 
-      else
18738
 
-        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18739
 
-      fi
18740
 
-      ;;
18741
 
-    pw32*)
18742
 
-      # pw32 DLLs use 'pw' prefix rather than 'lib'
18743
 
-      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18744
 
-      ;;
18745
 
-    esac
18746
 
-    ;;
18747
 
 
18748
 
-  *)
18749
 
-    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18750
 
-    ;;
18751
 
-  esac
18752
 
-  dynamic_linker='Win32 ld.exe'
18753
 
-  # FIXME: first we should search . and the directory the executable is in
18754
 
-  shlibpath_var=PATH
18755
 
-  ;;
18756
 
 
18757
 
-darwin* | rhapsody*)
18758
 
-  dynamic_linker="$host_os dyld"
18759
 
-  version_type=darwin
18760
 
-  need_lib_prefix=no
18761
 
-  need_version=no
18762
 
-  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18763
 
-  soname_spec='${libname}${release}${major}$shared_ext'
18764
 
-  shlibpath_overrides_runpath=yes
18765
 
-  shlibpath_var=DYLD_LIBRARY_PATH
18766
 
-  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18767
 
 
18768
 
-  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
18769
 
-  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18770
 
-  ;;
18771
 
 
18772
 
-dgux*)
18773
 
-  version_type=linux
18774
 
-  need_lib_prefix=no
18775
 
-  need_version=no
18776
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18777
 
-  soname_spec='${libname}${release}${shared_ext}$major'
18778
 
-  shlibpath_var=LD_LIBRARY_PATH
18779
 
-  ;;
18780
 
 
18781
 
-freebsd1*)
18782
 
-  dynamic_linker=no
18783
 
-  ;;
18784
 
 
18785
 
-freebsd* | dragonfly*)
18786
 
-  # DragonFly does not have aout.  When/if they implement a new
18787
 
-  # versioning mechanism, adjust this.
18788
 
-  if test -x /usr/bin/objformat; then
18789
 
-    objformat=`/usr/bin/objformat`
18790
 
-  else
18791
 
-    case $host_os in
18792
 
-    freebsd[123]*) objformat=aout ;;
18793
 
-    *) objformat=elf ;;
18794
 
-    esac
18795
 
-  fi
18796
 
-  version_type=freebsd-$objformat
18797
 
-  case $version_type in
18798
 
-    freebsd-elf*)
18799
 
-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18800
 
-      need_version=no
18801
 
-      need_lib_prefix=no
18802
 
-      ;;
18803
 
-    freebsd-*)
18804
 
-      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18805
 
-      need_version=yes
18806
 
-      ;;
18807
 
-  esac
18808
 
-  shlibpath_var=LD_LIBRARY_PATH
18809
 
-  case $host_os in
18810
 
-  freebsd2*)
18811
 
-    shlibpath_overrides_runpath=yes
18812
 
-    ;;
18813
 
-  freebsd3.[01]* | freebsdelf3.[01]*)
18814
 
-    shlibpath_overrides_runpath=yes
18815
 
-    hardcode_into_libs=yes
18816
 
-    ;;
18817
 
-  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18818
 
-  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18819
 
-    shlibpath_overrides_runpath=no
18820
 
-    hardcode_into_libs=yes
18821
 
-    ;;
18822
 
-  *) # from 4.6 on, and DragonFly
18823
 
-    shlibpath_overrides_runpath=yes
18824
 
-    hardcode_into_libs=yes
18825
 
-    ;;
18826
 
-  esac
18827
 
-  ;;
18828
 
 
18829
 
-gnu*)
18830
 
-  version_type=linux
18831
 
-  need_lib_prefix=no
18832
 
-  need_version=no
18833
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18834
 
-  soname_spec='${libname}${release}${shared_ext}$major'
18835
 
-  shlibpath_var=LD_LIBRARY_PATH
18836
 
-  hardcode_into_libs=yes
18837
 
-  ;;
18838
 
 
18839
 
-hpux9* | hpux10* | hpux11*)
18840
 
-  # Give a soname corresponding to the major version so that dld.sl refuses to
18841
 
-  # link against other versions.
18842
 
-  version_type=sunos
18843
 
-  need_lib_prefix=no
18844
 
-  need_version=no
18845
 
-  case $host_cpu in
18846
 
-  ia64*)
18847
 
-    shrext_cmds='.so'
18848
 
-    hardcode_into_libs=yes
18849
 
-    dynamic_linker="$host_os dld.so"
18850
 
-    shlibpath_var=LD_LIBRARY_PATH
18851
 
-    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18852
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18853
 
-    soname_spec='${libname}${release}${shared_ext}$major'
18854
 
-    if test "X$HPUX_IA64_MODE" = X32; then
18855
 
-      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18856
 
-    else
18857
 
-      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18858
 
-    fi
18859
 
-    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18860
 
-    ;;
18861
 
-   hppa*64*)
18862
 
-     shrext_cmds='.sl'
18863
 
-     hardcode_into_libs=yes
18864
 
-     dynamic_linker="$host_os dld.sl"
18865
 
-     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18866
 
-     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18867
 
-     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18868
 
-     soname_spec='${libname}${release}${shared_ext}$major'
18869
 
-     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18870
 
-     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18871
 
-     ;;
18872
 
-   *)
18873
 
-    shrext_cmds='.sl'
18874
 
-    dynamic_linker="$host_os dld.sl"
18875
 
-    shlibpath_var=SHLIB_PATH
18876
 
-    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18877
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18878
 
-    soname_spec='${libname}${release}${shared_ext}$major'
18879
 
-    ;;
18880
 
-  esac
18881
 
-  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18882
 
-  postinstall_cmds='chmod 555 $lib'
18883
 
-  ;;
18884
 
 
18885
 
-interix[3-9]*)
18886
 
-  version_type=linux
18887
 
-  need_lib_prefix=no
18888
 
-  need_version=no
18889
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18890
 
-  soname_spec='${libname}${release}${shared_ext}$major'
18891
 
-  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18892
 
-  shlibpath_var=LD_LIBRARY_PATH
18893
 
-  shlibpath_overrides_runpath=no
18894
 
-  hardcode_into_libs=yes
18895
 
-  ;;
18896
 
 
18897
 
-irix5* | irix6* | nonstopux*)
18898
 
-  case $host_os in
18899
 
-    nonstopux*) version_type=nonstopux ;;
18900
 
-    *)
18901
 
-       if test "$lt_cv_prog_gnu_ld" = yes; then
18902
 
-               version_type=linux
18903
 
-       else
18904
 
-               version_type=irix
18905
 
-       fi ;;
18906
 
-  esac
18907
 
-  need_lib_prefix=no
18908
 
-  need_version=no
18909
 
-  soname_spec='${libname}${release}${shared_ext}$major'
18910
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18911
 
-  case $host_os in
18912
 
-  irix5* | nonstopux*)
18913
 
-    libsuff= shlibsuff=
18914
 
-    ;;
18915
 
-  *)
18916
 
-    case $LD in # libtool.m4 will add one of these switches to LD
18917
 
-    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18918
 
-      libsuff= shlibsuff= libmagic=32-bit;;
18919
 
-    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18920
 
-      libsuff=32 shlibsuff=N32 libmagic=N32;;
18921
 
-    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18922
 
-      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18923
 
-    *) libsuff= shlibsuff= libmagic=never-match;;
18924
 
-    esac
18925
 
-    ;;
18926
 
-  esac
18927
 
-  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18928
 
-  shlibpath_overrides_runpath=no
18929
 
-  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18930
 
-  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18931
 
-  hardcode_into_libs=yes
18932
 
-  ;;
18933
 
 
18934
 
-# No shared lib support for Linux oldld, aout, or coff.
18935
 
-linux*oldld* | linux*aout* | linux*coff*)
18936
 
-  dynamic_linker=no
18937
 
+
18938
 
+case $host_os in
18939
 
+aix3*)
18940
 
+  # AIX sometimes has problems with the GCC collect2 program.  For some
18941
 
+  # reason, if we set the COLLECT_NAMES environment variable, the problems
18942
 
+  # vanish in a puff of smoke.
18943
 
+  if test "X${COLLECT_NAMES+set}" != Xset; then
18944
 
+    COLLECT_NAMES=
18945
 
+    export COLLECT_NAMES
18946
 
+  fi
18947
 
   ;;
18948
 
+esac
18949
 
 
18950
 
-# This must be Linux ELF.
18951
 
-linux* | k*bsd*-gnu)
18952
 
-  version_type=linux
18953
 
-  need_lib_prefix=no
18954
 
-  need_version=no
18955
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18956
 
-  soname_spec='${libname}${release}${shared_ext}$major'
18957
 
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18958
 
-  shlibpath_var=LD_LIBRARY_PATH
18959
 
-  shlibpath_overrides_runpath=no
18960
 
-  # This implies no fast_install, which is unacceptable.
18961
 
-  # Some rework will be needed to allow for fast_install
18962
 
-  # before this can be enabled.
18963
 
-  hardcode_into_libs=yes
18964
 
+# Sed substitution that helps us do robust quoting.  It backslashifies
18965
 
+# metacharacters that are still active within double-quoted strings.
18966
 
+sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
18967
 
 
18968
 
-  # Append ld.so.conf contents to the search path
18969
 
-  if test -f /etc/ld.so.conf; then
18970
 
-    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' ' '`
18971
 
-    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18972
 
-  fi
18973
 
+# Same as above, but do not quote variable references.
18974
 
+double_quote_subst='s/\(["`\\]\)/\\\1/g'
18975
 
 
18976
 
-  # We used to test for /lib/ld.so.1 and disable shared libraries on
18977
 
-  # powerpc, because MkLinux only supported shared libraries with the
18978
 
-  # GNU dynamic linker.  Since this was broken with cross compilers,
18979
 
-  # most powerpc-linux boxes support dynamic linking these days and
18980
 
-  # people can always --disable-shared, the test was removed, and we
18981
 
-  # assume the GNU/Linux dynamic linker is in use.
18982
 
-  dynamic_linker='GNU/Linux ld.so'
18983
 
-  ;;
18984
 
+# Sed substitution to delay expansion of an escaped shell variable in a
18985
 
+# double_quote_subst'ed string.
18986
 
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
18987
 
 
18988
 
-netbsdelf*-gnu)
18989
 
-  version_type=linux
18990
 
-  need_lib_prefix=no
18991
 
-  need_version=no
18992
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18993
 
-  soname_spec='${libname}${release}${shared_ext}$major'
18994
 
-  shlibpath_var=LD_LIBRARY_PATH
18995
 
-  shlibpath_overrides_runpath=no
18996
 
-  hardcode_into_libs=yes
18997
 
-  dynamic_linker='NetBSD ld.elf_so'
18998
 
-  ;;
18999
 
+# Sed substitution to delay expansion of an escaped single quote.
19000
 
+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
19001
 
 
19002
 
-netbsd*)
19003
 
-  version_type=sunos
19004
 
-  need_lib_prefix=no
19005
 
-  need_version=no
19006
 
-  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19007
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19008
 
-    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19009
 
-    dynamic_linker='NetBSD (a.out) ld.so'
19010
 
-  else
19011
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19012
 
-    soname_spec='${libname}${release}${shared_ext}$major'
19013
 
-    dynamic_linker='NetBSD ld.elf_so'
19014
 
-  fi
19015
 
-  shlibpath_var=LD_LIBRARY_PATH
19016
 
-  shlibpath_overrides_runpath=yes
19017
 
-  hardcode_into_libs=yes
19018
 
-  ;;
19019
 
-
19020
 
-newsos6)
19021
 
-  version_type=linux
19022
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19023
 
-  shlibpath_var=LD_LIBRARY_PATH
19024
 
-  shlibpath_overrides_runpath=yes
19025
 
-  ;;
19026
 
-
19027
 
-nto-qnx*)
19028
 
-  version_type=linux
19029
 
-  need_lib_prefix=no
19030
 
-  need_version=no
19031
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19032
 
-  soname_spec='${libname}${release}${shared_ext}$major'
19033
 
-  shlibpath_var=LD_LIBRARY_PATH
19034
 
-  shlibpath_overrides_runpath=yes
19035
 
-  ;;
19036
 
-
19037
 
-openbsd*)
19038
 
-  version_type=sunos
19039
 
-  sys_lib_dlsearch_path_spec="/usr/lib"
19040
 
-  need_lib_prefix=no
19041
 
-  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19042
 
-  case $host_os in
19043
 
-    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19044
 
-    *)                         need_version=no  ;;
19045
 
-  esac
19046
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19047
 
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19048
 
-  shlibpath_var=LD_LIBRARY_PATH
19049
 
-  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19050
 
-    case $host_os in
19051
 
-      openbsd2.[89] | openbsd2.[89].*)
19052
 
-       shlibpath_overrides_runpath=no
19053
 
-       ;;
19054
 
-      *)
19055
 
-       shlibpath_overrides_runpath=yes
19056
 
-       ;;
19057
 
-      esac
19058
 
-  else
19059
 
-    shlibpath_overrides_runpath=yes
19060
 
-  fi
19061
 
-  ;;
19062
 
+# Sed substitution to avoid accidental globbing in evaled expressions
19063
 
+no_glob_subst='s/\*/\\\*/g'
19064
 
 
19065
 
-os2*)
19066
 
-  libname_spec='$name'
19067
 
-  shrext_cmds=".dll"
19068
 
-  need_lib_prefix=no
19069
 
-  library_names_spec='$libname${shared_ext} $libname.a'
19070
 
-  dynamic_linker='OS/2 ld.exe'
19071
 
-  shlibpath_var=LIBPATH
19072
 
-  ;;
19073
 
+# Global variables:
19074
 
+ofile=libtool
19075
 
+can_build_shared=yes
19076
 
 
19077
 
-osf3* | osf4* | osf5*)
19078
 
-  version_type=osf
19079
 
-  need_lib_prefix=no
19080
 
-  need_version=no
19081
 
-  soname_spec='${libname}${release}${shared_ext}$major'
19082
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19083
 
-  shlibpath_var=LD_LIBRARY_PATH
19084
 
-  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19085
 
-  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19086
 
-  ;;
19087
 
+# All known linkers require a `.a' archive for static linking (except MSVC,
19088
 
+# which needs '.lib').
19089
 
+libext=a
19090
 
 
19091
 
-rdos*)
19092
 
-  dynamic_linker=no
19093
 
-  ;;
19094
 
+with_gnu_ld="$lt_cv_prog_gnu_ld"
19095
 
 
19096
 
-solaris*)
19097
 
-  version_type=linux
19098
 
-  need_lib_prefix=no
19099
 
-  need_version=no
19100
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19101
 
-  soname_spec='${libname}${release}${shared_ext}$major'
19102
 
-  shlibpath_var=LD_LIBRARY_PATH
19103
 
-  shlibpath_overrides_runpath=yes
19104
 
-  hardcode_into_libs=yes
19105
 
-  # ldd complains unless libraries are executable
19106
 
-  postinstall_cmds='chmod +x $lib'
19107
 
-  ;;
19108
 
+old_CC="$CC"
19109
 
+old_CFLAGS="$CFLAGS"
19110
 
 
19111
 
-sunos4*)
19112
 
-  version_type=sunos
19113
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19114
 
-  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19115
 
-  shlibpath_var=LD_LIBRARY_PATH
19116
 
-  shlibpath_overrides_runpath=yes
19117
 
-  if test "$with_gnu_ld" = yes; then
19118
 
-    need_lib_prefix=no
19119
 
-  fi
19120
 
-  need_version=yes
19121
 
-  ;;
19122
 
+# Set sane defaults for various variables
19123
 
+test -z "$CC" && CC=cc
19124
 
+test -z "$LTCC" && LTCC=$CC
19125
 
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
19126
 
+test -z "$LD" && LD=ld
19127
 
+test -z "$ac_objext" && ac_objext=o
19128
 
 
19129
 
-sysv4 | sysv4.3*)
19130
 
-  version_type=linux
19131
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19132
 
-  soname_spec='${libname}${release}${shared_ext}$major'
19133
 
-  shlibpath_var=LD_LIBRARY_PATH
19134
 
-  case $host_vendor in
19135
 
-    sni)
19136
 
-      shlibpath_overrides_runpath=no
19137
 
-      need_lib_prefix=no
19138
 
-      export_dynamic_flag_spec='${wl}-Blargedynsym'
19139
 
-      runpath_var=LD_RUN_PATH
19140
 
-      ;;
19141
 
-    siemens)
19142
 
-      need_lib_prefix=no
19143
 
-      ;;
19144
 
-    motorola)
19145
 
-      need_lib_prefix=no
19146
 
-      need_version=no
19147
 
-      shlibpath_overrides_runpath=no
19148
 
-      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19149
 
-      ;;
19150
 
+for cc_temp in $compiler""; do
19151
 
+  case $cc_temp in
19152
 
+    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19153
 
+    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19154
 
+    \-*) ;;
19155
 
+    *) break;;
19156
 
   esac
19157
 
-  ;;
19158
 
+done
19159
 
+cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19160
 
 
19161
 
-sysv4*MP*)
19162
 
-  if test -d /usr/nec ;then
19163
 
-    version_type=linux
19164
 
-    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19165
 
-    soname_spec='$libname${shared_ext}.$major'
19166
 
-    shlibpath_var=LD_LIBRARY_PATH
19167
 
-  fi
19168
 
-  ;;
19169
 
 
19170
 
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19171
 
-  version_type=freebsd-elf
19172
 
-  need_lib_prefix=no
19173
 
-  need_version=no
19174
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19175
 
-  soname_spec='${libname}${release}${shared_ext}$major'
19176
 
-  shlibpath_var=LD_LIBRARY_PATH
19177
 
-  hardcode_into_libs=yes
19178
 
-  if test "$with_gnu_ld" = yes; then
19179
 
-    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19180
 
-    shlibpath_overrides_runpath=no
19181
 
-  else
19182
 
-    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19183
 
-    shlibpath_overrides_runpath=yes
19184
 
-    case $host_os in
19185
 
-      sco3.2v5*)
19186
 
-        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19187
 
-       ;;
19188
 
-    esac
19189
 
-  fi
19190
 
-  sys_lib_dlsearch_path_spec='/usr/lib'
19191
 
+# Only perform the check for file, if the check method requires it
19192
 
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
19193
 
+case $deplibs_check_method in
19194
 
+file_magic*)
19195
 
+  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
19196
 
+    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
19197
 
+$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
19198
 
+if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
19199
 
+  $as_echo_n "(cached) " >&6
19200
 
+else
19201
 
+  case $MAGIC_CMD in
19202
 
+[\\/*] |  ?:[\\/]*)
19203
 
+  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
19204
 
   ;;
19205
 
+*)
19206
 
+  lt_save_MAGIC_CMD="$MAGIC_CMD"
19207
 
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19208
 
+  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
19209
 
+  for ac_dir in $ac_dummy; do
19210
 
+    IFS="$lt_save_ifs"
19211
 
+    test -z "$ac_dir" && ac_dir=.
19212
 
+    if test -f $ac_dir/${ac_tool_prefix}file; then
19213
 
+      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
19214
 
+      if test -n "$file_magic_test_file"; then
19215
 
+       case $deplibs_check_method in
19216
 
+       "file_magic "*)
19217
 
+         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
19218
 
+         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
19219
 
+         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
19220
 
+           $EGREP "$file_magic_regex" > /dev/null; then
19221
 
+           :
19222
 
+         else
19223
 
+           cat <<_LT_EOF 1>&2
19224
 
 
19225
 
-uts4*)
19226
 
-  version_type=linux
19227
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19228
 
-  soname_spec='${libname}${release}${shared_ext}$major'
19229
 
-  shlibpath_var=LD_LIBRARY_PATH
19230
 
-  ;;
19231
 
+*** Warning: the command libtool uses to detect shared libraries,
19232
 
+*** $file_magic_cmd, produces output that libtool cannot recognize.
19233
 
+*** The result is that libtool may fail to recognize shared libraries
19234
 
+*** as such.  This will affect the creation of libtool libraries that
19235
 
+*** depend on shared libraries, but programs linked with such libtool
19236
 
+*** libraries will work regardless of this problem.  Nevertheless, you
19237
 
+*** may want to report the problem to your system manager and/or to
19238
 
+*** bug-libtool@gnu.org
19239
 
 
19240
 
-*)
19241
 
-  dynamic_linker=no
19242
 
+_LT_EOF
19243
 
+         fi ;;
19244
 
+       esac
19245
 
+      fi
19246
 
+      break
19247
 
+    fi
19248
 
+  done
19249
 
+  IFS="$lt_save_ifs"
19250
 
+  MAGIC_CMD="$lt_save_MAGIC_CMD"
19251
 
   ;;
19252
 
 esac
19253
 
-{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19254
 
-echo "${ECHO_T}$dynamic_linker" >&6; }
19255
 
-test "$dynamic_linker" = no && can_build_shared=no
19256
 
-
19257
 
-if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
19258
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
19259
 
-else
19260
 
-  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
19261
 
 fi
19262
 
 
19263
 
-sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
19264
 
-if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
19265
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
19266
 
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
19267
 
+if test -n "$MAGIC_CMD"; then
19268
 
+  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
19269
 
+$as_echo "$MAGIC_CMD" >&6; }
19270
 
 else
19271
 
-  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
19272
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
19273
 
+$as_echo "no" >&6; }
19274
 
 fi
19275
 
 
19276
 
-sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
19277
 
 
19278
 
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19279
 
-if test "$GCC" = yes; then
19280
 
-  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19281
 
-fi
19282
 
 
19283
 
-{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19284
 
-echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19285
 
-hardcode_action=
19286
 
-if test -n "$hardcode_libdir_flag_spec" || \
19287
 
-   test -n "$runpath_var" || \
19288
 
-   test "X$hardcode_automatic" = "Xyes" ; then
19289
 
 
19290
 
-  # We can hardcode non-existant directories.
19291
 
-  if test "$hardcode_direct" != no &&
19292
 
-     # If the only mechanism to avoid hardcoding is shlibpath_var, we
19293
 
-     # have to relink, otherwise we might link with an installed library
19294
 
-     # when we should be linking with a yet-to-be-installed one
19295
 
-     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
19296
 
-     test "$hardcode_minus_L" != no; then
19297
 
-    # Linking always hardcodes the temporary library directory.
19298
 
-    hardcode_action=relink
19299
 
-  else
19300
 
-    # We can link without hardcoding, and we can hardcode nonexisting dirs.
19301
 
-    hardcode_action=immediate
19302
 
-  fi
19303
 
-else
19304
 
-  # We cannot hardcode anything, or else we can only hardcode existing
19305
 
-  # directories.
19306
 
-  hardcode_action=unsupported
19307
 
-fi
19308
 
-{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
19309
 
-echo "${ECHO_T}$hardcode_action" >&6; }
19310
 
 
19311
 
-if test "$hardcode_action" = relink; then
19312
 
-  # Fast installation is not supported
19313
 
-  enable_fast_install=no
19314
 
-elif test "$shlibpath_overrides_runpath" = yes ||
19315
 
-     test "$enable_shared" = no; then
19316
 
-  # Fast installation is not necessary
19317
 
-  enable_fast_install=needless
19318
 
+if test -z "$lt_cv_path_MAGIC_CMD"; then
19319
 
+  if test -n "$ac_tool_prefix"; then
19320
 
+    { $as_echo "$as_me:$LINENO: checking for file" >&5
19321
 
+$as_echo_n "checking for file... " >&6; }
19322
 
+if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
19323
 
+  $as_echo_n "(cached) " >&6
19324
 
+else
19325
 
+  case $MAGIC_CMD in
19326
 
+[\\/*] |  ?:[\\/]*)
19327
 
+  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
19328
 
+  ;;
19329
 
+*)
19330
 
+  lt_save_MAGIC_CMD="$MAGIC_CMD"
19331
 
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19332
 
+  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
19333
 
+  for ac_dir in $ac_dummy; do
19334
 
+    IFS="$lt_save_ifs"
19335
 
+    test -z "$ac_dir" && ac_dir=.
19336
 
+    if test -f $ac_dir/file; then
19337
 
+      lt_cv_path_MAGIC_CMD="$ac_dir/file"
19338
 
+      if test -n "$file_magic_test_file"; then
19339
 
+       case $deplibs_check_method in
19340
 
+       "file_magic "*)
19341
 
+         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
19342
 
+         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
19343
 
+         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
19344
 
+           $EGREP "$file_magic_regex" > /dev/null; then
19345
 
+           :
19346
 
+         else
19347
 
+           cat <<_LT_EOF 1>&2
19348
 
+
19349
 
+*** Warning: the command libtool uses to detect shared libraries,
19350
 
+*** $file_magic_cmd, produces output that libtool cannot recognize.
19351
 
+*** The result is that libtool may fail to recognize shared libraries
19352
 
+*** as such.  This will affect the creation of libtool libraries that
19353
 
+*** depend on shared libraries, but programs linked with such libtool
19354
 
+*** libraries will work regardless of this problem.  Nevertheless, you
19355
 
+*** may want to report the problem to your system manager and/or to
19356
 
+*** bug-libtool@gnu.org
19357
 
+
19358
 
+_LT_EOF
19359
 
+         fi ;;
19360
 
+       esac
19361
 
+      fi
19362
 
+      break
19363
 
+    fi
19364
 
+  done
19365
 
+  IFS="$lt_save_ifs"
19366
 
+  MAGIC_CMD="$lt_save_MAGIC_CMD"
19367
 
+  ;;
19368
 
+esac
19369
 
 fi
19370
 
 
19371
 
-striplib=
19372
 
-old_striplib=
19373
 
-{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
19374
 
-echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
19375
 
-if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
19376
 
-  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
19377
 
-  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
19378
 
-  { echo "$as_me:$LINENO: result: yes" >&5
19379
 
-echo "${ECHO_T}yes" >&6; }
19380
 
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
19381
 
+if test -n "$MAGIC_CMD"; then
19382
 
+  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
19383
 
+$as_echo "$MAGIC_CMD" >&6; }
19384
 
 else
19385
 
-# FIXME - insert some real tests, host_os isn't really good enough
19386
 
-  case $host_os in
19387
 
-   darwin*)
19388
 
-       if test -n "$STRIP" ; then
19389
 
-         striplib="$STRIP -x"
19390
 
-         old_striplib="$STRIP -S"
19391
 
-         { echo "$as_me:$LINENO: result: yes" >&5
19392
 
-echo "${ECHO_T}yes" >&6; }
19393
 
-       else
19394
 
-  { echo "$as_me:$LINENO: result: no" >&5
19395
 
-echo "${ECHO_T}no" >&6; }
19396
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
19397
 
+$as_echo "no" >&6; }
19398
 
 fi
19399
 
-       ;;
19400
 
-   *)
19401
 
-  { echo "$as_me:$LINENO: result: no" >&5
19402
 
-echo "${ECHO_T}no" >&6; }
19403
 
-    ;;
19404
 
-  esac
19405
 
+
19406
 
+
19407
 
+  else
19408
 
+    MAGIC_CMD=:
19409
 
+  fi
19410
 
 fi
19411
 
 
19412
 
-if test "x$enable_dlopen" != xyes; then
19413
 
-  enable_dlopen=unknown
19414
 
-  enable_dlopen_self=unknown
19415
 
-  enable_dlopen_self_static=unknown
19416
 
-else
19417
 
-  lt_cv_dlopen=no
19418
 
-  lt_cv_dlopen_libs=
19419
 
+  fi
19420
 
+  ;;
19421
 
+esac
19422
 
 
19423
 
-  case $host_os in
19424
 
-  beos*)
19425
 
-    lt_cv_dlopen="load_add_on"
19426
 
-    lt_cv_dlopen_libs=
19427
 
-    lt_cv_dlopen_self=yes
19428
 
-    ;;
19429
 
+# Use C for the default configuration in the libtool script
19430
 
 
19431
 
-  mingw* | pw32*)
19432
 
-    lt_cv_dlopen="LoadLibrary"
19433
 
-    lt_cv_dlopen_libs=
19434
 
-   ;;
19435
 
+lt_save_CC="$CC"
19436
 
+ac_ext=c
19437
 
+ac_cpp='$CPP $CPPFLAGS'
19438
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19439
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19440
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
19441
 
 
19442
 
-  cygwin*)
19443
 
-    lt_cv_dlopen="dlopen"
19444
 
-    lt_cv_dlopen_libs=
19445
 
-   ;;
19446
 
 
19447
 
-  darwin*)
19448
 
-  # if libdl is installed we need to link against it
19449
 
-    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19450
 
-echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
19451
 
-if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19452
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
19453
 
-else
19454
 
-  ac_check_lib_save_LIBS=$LIBS
19455
 
-LIBS="-ldl  $LIBS"
19456
 
-cat >conftest.$ac_ext <<_ACEOF
19457
 
-/* confdefs.h.  */
19458
 
-_ACEOF
19459
 
-cat confdefs.h >>conftest.$ac_ext
19460
 
-cat >>conftest.$ac_ext <<_ACEOF
19461
 
-/* end confdefs.h.  */
19462
 
+# Source file extension for C test sources.
19463
 
+ac_ext=c
19464
 
 
19465
 
-/* Override any GCC internal prototype to avoid an error.
19466
 
-   Use char because int might match the return type of a GCC
19467
 
-   builtin and then its argument prototype would still apply.  */
19468
 
-#ifdef __cplusplus
19469
 
-extern "C"
19470
 
-#endif
19471
 
-char dlopen ();
19472
 
-int
19473
 
-main ()
19474
 
-{
19475
 
-return dlopen ();
19476
 
-  ;
19477
 
-  return 0;
19478
 
-}
19479
 
-_ACEOF
19480
 
-rm -f conftest.$ac_objext conftest$ac_exeext
19481
 
-if { (ac_try="$ac_link"
19482
 
-case "(($ac_try" in
19483
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19484
 
-  *) ac_try_echo=$ac_try;;
19485
 
-esac
19486
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19487
 
-  (eval "$ac_link") 2>conftest.er1
19488
 
-  ac_status=$?
19489
 
-  grep -v '^ *+' conftest.er1 >conftest.err
19490
 
-  rm -f conftest.er1
19491
 
-  cat conftest.err >&5
19492
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493
 
-  (exit $ac_status); } && {
19494
 
-        test -z "$ac_c_werror_flag" ||
19495
 
-        test ! -s conftest.err
19496
 
-       } && test -s conftest$ac_exeext &&
19497
 
-       $as_test_x conftest$ac_exeext; then
19498
 
-  ac_cv_lib_dl_dlopen=yes
19499
 
-else
19500
 
-  echo "$as_me: failed program was:" >&5
19501
 
-sed 's/^/| /' conftest.$ac_ext >&5
19502
 
+# Object file extension for compiled C test sources.
19503
 
+objext=o
19504
 
+objext=$objext
19505
 
 
19506
 
-       ac_cv_lib_dl_dlopen=no
19507
 
-fi
19508
 
+# Code to be used in simple compile tests
19509
 
+lt_simple_compile_test_code="int some_variable = 0;"
19510
 
 
19511
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19512
 
-      conftest$ac_exeext conftest.$ac_ext
19513
 
-LIBS=$ac_check_lib_save_LIBS
19514
 
-fi
19515
 
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19516
 
-echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
19517
 
-if test $ac_cv_lib_dl_dlopen = yes; then
19518
 
-  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19519
 
-else
19520
 
+# Code to be used in simple link tests
19521
 
+lt_simple_link_test_code='int main(){return(0);}'
19522
 
 
19523
 
-    lt_cv_dlopen="dyld"
19524
 
-    lt_cv_dlopen_libs=
19525
 
-    lt_cv_dlopen_self=yes
19526
 
 
19527
 
-fi
19528
 
 
19529
 
-   ;;
19530
 
 
19531
 
-  *)
19532
 
-    { echo "$as_me:$LINENO: checking for shl_load" >&5
19533
 
-echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
19534
 
-if test "${ac_cv_func_shl_load+set}" = set; then
19535
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
19536
 
-else
19537
 
-  cat >conftest.$ac_ext <<_ACEOF
19538
 
-/* confdefs.h.  */
19539
 
-_ACEOF
19540
 
-cat confdefs.h >>conftest.$ac_ext
19541
 
-cat >>conftest.$ac_ext <<_ACEOF
19542
 
-/* end confdefs.h.  */
19543
 
-/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
19544
 
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19545
 
-#define shl_load innocuous_shl_load
19546
 
 
19547
 
-/* System header to define __stub macros and hopefully few prototypes,
19548
 
-    which can conflict with char shl_load (); below.
19549
 
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19550
 
-    <limits.h> exists even on freestanding compilers.  */
19551
 
 
19552
 
-#ifdef __STDC__
19553
 
-# include <limits.h>
19554
 
-#else
19555
 
-# include <assert.h>
19556
 
-#endif
19557
 
 
19558
 
-#undef shl_load
19559
 
+# If no C compiler was specified, use CC.
19560
 
+LTCC=${LTCC-"$CC"}
19561
 
 
19562
 
-/* Override any GCC internal prototype to avoid an error.
19563
 
-   Use char because int might match the return type of a GCC
19564
 
-   builtin and then its argument prototype would still apply.  */
19565
 
-#ifdef __cplusplus
19566
 
-extern "C"
19567
 
-#endif
19568
 
-char shl_load ();
19569
 
-/* The GNU C library defines this for functions which it implements
19570
 
-    to always fail with ENOSYS.  Some functions are actually named
19571
 
-    something starting with __ and the normal name is an alias.  */
19572
 
-#if defined __stub_shl_load || defined __stub___shl_load
19573
 
-choke me
19574
 
-#endif
19575
 
+# If no C compiler flags were specified, use CFLAGS.
19576
 
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19577
 
 
19578
 
-int
19579
 
-main ()
19580
 
-{
19581
 
-return shl_load ();
19582
 
-  ;
19583
 
-  return 0;
19584
 
-}
19585
 
-_ACEOF
19586
 
-rm -f conftest.$ac_objext conftest$ac_exeext
19587
 
-if { (ac_try="$ac_link"
19588
 
-case "(($ac_try" in
19589
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19590
 
-  *) ac_try_echo=$ac_try;;
19591
 
-esac
19592
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19593
 
-  (eval "$ac_link") 2>conftest.er1
19594
 
-  ac_status=$?
19595
 
-  grep -v '^ *+' conftest.er1 >conftest.err
19596
 
-  rm -f conftest.er1
19597
 
-  cat conftest.err >&5
19598
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599
 
-  (exit $ac_status); } && {
19600
 
-        test -z "$ac_c_werror_flag" ||
19601
 
-        test ! -s conftest.err
19602
 
-       } && test -s conftest$ac_exeext &&
19603
 
-       $as_test_x conftest$ac_exeext; then
19604
 
-  ac_cv_func_shl_load=yes
19605
 
-else
19606
 
-  echo "$as_me: failed program was:" >&5
19607
 
-sed 's/^/| /' conftest.$ac_ext >&5
19608
 
+# Allow CC to be a program name with arguments.
19609
 
+compiler=$CC
19610
 
 
19611
 
-       ac_cv_func_shl_load=no
19612
 
-fi
19613
 
+# Save the default compiler, since it gets overwritten when the other
19614
 
+# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
19615
 
+compiler_DEFAULT=$CC
19616
 
 
19617
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19618
 
-      conftest$ac_exeext conftest.$ac_ext
19619
 
-fi
19620
 
-{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
19621
 
-echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
19622
 
-if test $ac_cv_func_shl_load = yes; then
19623
 
-  lt_cv_dlopen="shl_load"
19624
 
-else
19625
 
-  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
19626
 
-echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
19627
 
-if test "${ac_cv_lib_dld_shl_load+set}" = set; then
19628
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
19629
 
-else
19630
 
-  ac_check_lib_save_LIBS=$LIBS
19631
 
-LIBS="-ldld  $LIBS"
19632
 
-cat >conftest.$ac_ext <<_ACEOF
19633
 
-/* confdefs.h.  */
19634
 
-_ACEOF
19635
 
-cat confdefs.h >>conftest.$ac_ext
19636
 
-cat >>conftest.$ac_ext <<_ACEOF
19637
 
-/* end confdefs.h.  */
19638
 
+# save warnings/boilerplate of simple test code
19639
 
+ac_outfile=conftest.$ac_objext
19640
 
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
19641
 
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19642
 
+_lt_compiler_boilerplate=`cat conftest.err`
19643
 
+$RM conftest*
19644
 
 
19645
 
-/* Override any GCC internal prototype to avoid an error.
19646
 
-   Use char because int might match the return type of a GCC
19647
 
-   builtin and then its argument prototype would still apply.  */
19648
 
-#ifdef __cplusplus
19649
 
-extern "C"
19650
 
-#endif
19651
 
-char shl_load ();
19652
 
-int
19653
 
-main ()
19654
 
-{
19655
 
-return shl_load ();
19656
 
-  ;
19657
 
-  return 0;
19658
 
-}
19659
 
-_ACEOF
19660
 
-rm -f conftest.$ac_objext conftest$ac_exeext
19661
 
-if { (ac_try="$ac_link"
19662
 
-case "(($ac_try" in
19663
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19664
 
-  *) ac_try_echo=$ac_try;;
19665
 
-esac
19666
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19667
 
-  (eval "$ac_link") 2>conftest.er1
19668
 
-  ac_status=$?
19669
 
-  grep -v '^ *+' conftest.er1 >conftest.err
19670
 
-  rm -f conftest.er1
19671
 
-  cat conftest.err >&5
19672
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673
 
-  (exit $ac_status); } && {
19674
 
-        test -z "$ac_c_werror_flag" ||
19675
 
-        test ! -s conftest.err
19676
 
-       } && test -s conftest$ac_exeext &&
19677
 
-       $as_test_x conftest$ac_exeext; then
19678
 
-  ac_cv_lib_dld_shl_load=yes
19679
 
-else
19680
 
-  echo "$as_me: failed program was:" >&5
19681
 
-sed 's/^/| /' conftest.$ac_ext >&5
19682
 
+ac_outfile=conftest.$ac_objext
19683
 
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
19684
 
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19685
 
+_lt_linker_boilerplate=`cat conftest.err`
19686
 
+$RM -r conftest*
19687
 
 
19688
 
-       ac_cv_lib_dld_shl_load=no
19689
 
-fi
19690
 
 
19691
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19692
 
-      conftest$ac_exeext conftest.$ac_ext
19693
 
-LIBS=$ac_check_lib_save_LIBS
19694
 
-fi
19695
 
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
19696
 
-echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
19697
 
-if test $ac_cv_lib_dld_shl_load = yes; then
19698
 
-  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
19699
 
-else
19700
 
-  { echo "$as_me:$LINENO: checking for dlopen" >&5
19701
 
-echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
19702
 
-if test "${ac_cv_func_dlopen+set}" = set; then
19703
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
19704
 
-else
19705
 
-  cat >conftest.$ac_ext <<_ACEOF
19706
 
-/* confdefs.h.  */
19707
 
-_ACEOF
19708
 
-cat confdefs.h >>conftest.$ac_ext
19709
 
-cat >>conftest.$ac_ext <<_ACEOF
19710
 
-/* end confdefs.h.  */
19711
 
-/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
19712
 
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19713
 
-#define dlopen innocuous_dlopen
19714
 
+## CAVEAT EMPTOR:
19715
 
+## There is no encapsulation within the following macros, do not change
19716
 
+## the running order or otherwise move them around unless you know exactly
19717
 
+## what you are doing...
19718
 
+if test -n "$compiler"; then
19719
 
 
19720
 
-/* System header to define __stub macros and hopefully few prototypes,
19721
 
-    which can conflict with char dlopen (); below.
19722
 
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19723
 
-    <limits.h> exists even on freestanding compilers.  */
19724
 
+lt_prog_compiler_no_builtin_flag=
19725
 
 
19726
 
-#ifdef __STDC__
19727
 
-# include <limits.h>
19728
 
-#else
19729
 
-# include <assert.h>
19730
 
-#endif
19731
 
+if test "$GCC" = yes; then
19732
 
+  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
19733
 
 
19734
 
-#undef dlopen
19735
 
+  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
19736
 
+$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
19737
 
+if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
19738
 
+  $as_echo_n "(cached) " >&6
19739
 
+else
19740
 
+  lt_cv_prog_compiler_rtti_exceptions=no
19741
 
+   ac_outfile=conftest.$ac_objext
19742
 
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19743
 
+   lt_compiler_flag="-fno-rtti -fno-exceptions"
19744
 
+   # Insert the option either (1) after the last *FLAGS variable, or
19745
 
+   # (2) before a word containing "conftest.", or (3) at the end.
19746
 
+   # Note that $ac_compile itself does not contain backslashes and begins
19747
 
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
19748
 
+   # The option is referenced via a variable to avoid confusing sed.
19749
 
+   lt_compile=`echo "$ac_compile" | $SED \
19750
 
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19751
 
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19752
 
+   -e 's:$: $lt_compiler_flag:'`
19753
 
+   (eval echo "\"\$as_me:10793: $lt_compile\"" >&5)
19754
 
+   (eval "$lt_compile" 2>conftest.err)
19755
 
+   ac_status=$?
19756
 
+   cat conftest.err >&5
19757
 
+   echo "$as_me:10797: \$? = $ac_status" >&5
19758
 
+   if (exit $ac_status) && test -s "$ac_outfile"; then
19759
 
+     # The compiler can only warn and ignore the option if not recognized
19760
 
+     # So say no if there are warnings other than the usual output.
19761
 
+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
19762
 
+     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19763
 
+     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19764
 
+       lt_cv_prog_compiler_rtti_exceptions=yes
19765
 
+     fi
19766
 
+   fi
19767
 
+   $RM conftest*
19768
 
 
19769
 
-/* Override any GCC internal prototype to avoid an error.
19770
 
-   Use char because int might match the return type of a GCC
19771
 
-   builtin and then its argument prototype would still apply.  */
19772
 
-#ifdef __cplusplus
19773
 
-extern "C"
19774
 
-#endif
19775
 
-char dlopen ();
19776
 
-/* The GNU C library defines this for functions which it implements
19777
 
-    to always fail with ENOSYS.  Some functions are actually named
19778
 
-    something starting with __ and the normal name is an alias.  */
19779
 
-#if defined __stub_dlopen || defined __stub___dlopen
19780
 
-choke me
19781
 
-#endif
19782
 
+fi
19783
 
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
19784
 
+$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
19785
 
 
19786
 
-int
19787
 
-main ()
19788
 
-{
19789
 
-return dlopen ();
19790
 
-  ;
19791
 
-  return 0;
19792
 
-}
19793
 
-_ACEOF
19794
 
-rm -f conftest.$ac_objext conftest$ac_exeext
19795
 
-if { (ac_try="$ac_link"
19796
 
-case "(($ac_try" in
19797
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19798
 
-  *) ac_try_echo=$ac_try;;
19799
 
-esac
19800
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19801
 
-  (eval "$ac_link") 2>conftest.er1
19802
 
-  ac_status=$?
19803
 
-  grep -v '^ *+' conftest.er1 >conftest.err
19804
 
-  rm -f conftest.er1
19805
 
-  cat conftest.err >&5
19806
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19807
 
-  (exit $ac_status); } && {
19808
 
-        test -z "$ac_c_werror_flag" ||
19809
 
-        test ! -s conftest.err
19810
 
-       } && test -s conftest$ac_exeext &&
19811
 
-       $as_test_x conftest$ac_exeext; then
19812
 
-  ac_cv_func_dlopen=yes
19813
 
+if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
19814
 
+    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
19815
 
 else
19816
 
-  echo "$as_me: failed program was:" >&5
19817
 
-sed 's/^/| /' conftest.$ac_ext >&5
19818
 
-
19819
 
-       ac_cv_func_dlopen=no
19820
 
+    :
19821
 
 fi
19822
 
 
19823
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19824
 
-      conftest$ac_exeext conftest.$ac_ext
19825
 
 fi
19826
 
-{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
19827
 
-echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
19828
 
-if test $ac_cv_func_dlopen = yes; then
19829
 
-  lt_cv_dlopen="dlopen"
19830
 
-else
19831
 
-  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19832
 
-echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
19833
 
-if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19834
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
19835
 
-else
19836
 
-  ac_check_lib_save_LIBS=$LIBS
19837
 
-LIBS="-ldl  $LIBS"
19838
 
-cat >conftest.$ac_ext <<_ACEOF
19839
 
-/* confdefs.h.  */
19840
 
-_ACEOF
19841
 
-cat confdefs.h >>conftest.$ac_ext
19842
 
-cat >>conftest.$ac_ext <<_ACEOF
19843
 
-/* end confdefs.h.  */
19844
 
 
19845
 
-/* Override any GCC internal prototype to avoid an error.
19846
 
-   Use char because int might match the return type of a GCC
19847
 
-   builtin and then its argument prototype would still apply.  */
19848
 
-#ifdef __cplusplus
19849
 
-extern "C"
19850
 
-#endif
19851
 
-char dlopen ();
19852
 
-int
19853
 
-main ()
19854
 
-{
19855
 
-return dlopen ();
19856
 
-  ;
19857
 
-  return 0;
19858
 
-}
19859
 
-_ACEOF
19860
 
-rm -f conftest.$ac_objext conftest$ac_exeext
19861
 
-if { (ac_try="$ac_link"
19862
 
-case "(($ac_try" in
19863
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19864
 
-  *) ac_try_echo=$ac_try;;
19865
 
-esac
19866
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19867
 
-  (eval "$ac_link") 2>conftest.er1
19868
 
-  ac_status=$?
19869
 
-  grep -v '^ *+' conftest.er1 >conftest.err
19870
 
-  rm -f conftest.er1
19871
 
-  cat conftest.err >&5
19872
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873
 
-  (exit $ac_status); } && {
19874
 
-        test -z "$ac_c_werror_flag" ||
19875
 
-        test ! -s conftest.err
19876
 
-       } && test -s conftest$ac_exeext &&
19877
 
-       $as_test_x conftest$ac_exeext; then
19878
 
-  ac_cv_lib_dl_dlopen=yes
19879
 
-else
19880
 
-  echo "$as_me: failed program was:" >&5
19881
 
-sed 's/^/| /' conftest.$ac_ext >&5
19882
 
 
19883
 
-       ac_cv_lib_dl_dlopen=no
19884
 
-fi
19885
 
 
19886
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19887
 
-      conftest$ac_exeext conftest.$ac_ext
19888
 
-LIBS=$ac_check_lib_save_LIBS
19889
 
-fi
19890
 
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19891
 
-echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
19892
 
-if test $ac_cv_lib_dl_dlopen = yes; then
19893
 
-  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19894
 
-else
19895
 
-  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
19896
 
-echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
19897
 
-if test "${ac_cv_lib_svld_dlopen+set}" = set; then
19898
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
19899
 
-else
19900
 
-  ac_check_lib_save_LIBS=$LIBS
19901
 
-LIBS="-lsvld  $LIBS"
19902
 
-cat >conftest.$ac_ext <<_ACEOF
19903
 
-/* confdefs.h.  */
19904
 
-_ACEOF
19905
 
-cat confdefs.h >>conftest.$ac_ext
19906
 
-cat >>conftest.$ac_ext <<_ACEOF
19907
 
-/* end confdefs.h.  */
19908
 
 
19909
 
-/* Override any GCC internal prototype to avoid an error.
19910
 
-   Use char because int might match the return type of a GCC
19911
 
-   builtin and then its argument prototype would still apply.  */
19912
 
-#ifdef __cplusplus
19913
 
-extern "C"
19914
 
-#endif
19915
 
-char dlopen ();
19916
 
-int
19917
 
-main ()
19918
 
-{
19919
 
-return dlopen ();
19920
 
-  ;
19921
 
-  return 0;
19922
 
-}
19923
 
-_ACEOF
19924
 
-rm -f conftest.$ac_objext conftest$ac_exeext
19925
 
-if { (ac_try="$ac_link"
19926
 
-case "(($ac_try" in
19927
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19928
 
-  *) ac_try_echo=$ac_try;;
19929
 
-esac
19930
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19931
 
-  (eval "$ac_link") 2>conftest.er1
19932
 
-  ac_status=$?
19933
 
-  grep -v '^ *+' conftest.er1 >conftest.err
19934
 
-  rm -f conftest.er1
19935
 
-  cat conftest.err >&5
19936
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937
 
-  (exit $ac_status); } && {
19938
 
-        test -z "$ac_c_werror_flag" ||
19939
 
-        test ! -s conftest.err
19940
 
-       } && test -s conftest$ac_exeext &&
19941
 
-       $as_test_x conftest$ac_exeext; then
19942
 
-  ac_cv_lib_svld_dlopen=yes
19943
 
-else
19944
 
-  echo "$as_me: failed program was:" >&5
19945
 
-sed 's/^/| /' conftest.$ac_ext >&5
19946
 
 
19947
 
-       ac_cv_lib_svld_dlopen=no
19948
 
-fi
19949
 
 
19950
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19951
 
-      conftest$ac_exeext conftest.$ac_ext
19952
 
-LIBS=$ac_check_lib_save_LIBS
19953
 
-fi
19954
 
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
19955
 
-echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
19956
 
-if test $ac_cv_lib_svld_dlopen = yes; then
19957
 
-  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
19958
 
-else
19959
 
-  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
19960
 
-echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
19961
 
-if test "${ac_cv_lib_dld_dld_link+set}" = set; then
19962
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
19963
 
-else
19964
 
-  ac_check_lib_save_LIBS=$LIBS
19965
 
-LIBS="-ldld  $LIBS"
19966
 
-cat >conftest.$ac_ext <<_ACEOF
19967
 
-/* confdefs.h.  */
19968
 
-_ACEOF
19969
 
-cat confdefs.h >>conftest.$ac_ext
19970
 
-cat >>conftest.$ac_ext <<_ACEOF
19971
 
-/* end confdefs.h.  */
19972
 
+  lt_prog_compiler_wl=
19973
 
+lt_prog_compiler_pic=
19974
 
+lt_prog_compiler_static=
19975
 
 
19976
 
-/* Override any GCC internal prototype to avoid an error.
19977
 
-   Use char because int might match the return type of a GCC
19978
 
-   builtin and then its argument prototype would still apply.  */
19979
 
-#ifdef __cplusplus
19980
 
-extern "C"
19981
 
-#endif
19982
 
-char dld_link ();
19983
 
-int
19984
 
-main ()
19985
 
-{
19986
 
-return dld_link ();
19987
 
-  ;
19988
 
-  return 0;
19989
 
-}
19990
 
-_ACEOF
19991
 
-rm -f conftest.$ac_objext conftest$ac_exeext
19992
 
-if { (ac_try="$ac_link"
19993
 
-case "(($ac_try" in
19994
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19995
 
-  *) ac_try_echo=$ac_try;;
19996
 
-esac
19997
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19998
 
-  (eval "$ac_link") 2>conftest.er1
19999
 
-  ac_status=$?
20000
 
-  grep -v '^ *+' conftest.er1 >conftest.err
20001
 
-  rm -f conftest.er1
20002
 
-  cat conftest.err >&5
20003
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004
 
-  (exit $ac_status); } && {
20005
 
-        test -z "$ac_c_werror_flag" ||
20006
 
-        test ! -s conftest.err
20007
 
-       } && test -s conftest$ac_exeext &&
20008
 
-       $as_test_x conftest$ac_exeext; then
20009
 
-  ac_cv_lib_dld_dld_link=yes
20010
 
-else
20011
 
-  echo "$as_me: failed program was:" >&5
20012
 
-sed 's/^/| /' conftest.$ac_ext >&5
20013
 
-
20014
 
-       ac_cv_lib_dld_dld_link=no
20015
 
-fi
20016
 
-
20017
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20018
 
-      conftest$ac_exeext conftest.$ac_ext
20019
 
-LIBS=$ac_check_lib_save_LIBS
20020
 
-fi
20021
 
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
20022
 
-echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
20023
 
-if test $ac_cv_lib_dld_dld_link = yes; then
20024
 
-  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
20025
 
-fi
20026
 
+{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
20027
 
+$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
20028
 
 
20029
 
+  if test "$GCC" = yes; then
20030
 
+    lt_prog_compiler_wl='-Wl,'
20031
 
+    lt_prog_compiler_static='-static'
20032
 
 
20033
 
-fi
20034
 
+    case $host_os in
20035
 
+      aix*)
20036
 
+      # All AIX code is PIC.
20037
 
+      if test "$host_cpu" = ia64; then
20038
 
+       # AIX 5 now supports IA64 processor
20039
 
+       lt_prog_compiler_static='-Bstatic'
20040
 
+      fi
20041
 
+      ;;
20042
 
 
20043
 
+    amigaos*)
20044
 
+      case $host_cpu in
20045
 
+      powerpc)
20046
 
+            # see comment about AmigaOS4 .so support
20047
 
+            lt_prog_compiler_pic='-fPIC'
20048
 
+        ;;
20049
 
+      m68k)
20050
 
+            # FIXME: we need at least 68020 code to build shared libraries, but
20051
 
+            # adding the `-m68020' flag to GCC prevents building anything better,
20052
 
+            # like `-m68040'.
20053
 
+            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
20054
 
+        ;;
20055
 
+      esac
20056
 
+      ;;
20057
 
 
20058
 
-fi
20059
 
+    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
20060
 
+      # PIC is the default for these OSes.
20061
 
+      ;;
20062
 
 
20063
 
+    mingw* | cygwin* | pw32* | os2* | cegcc*)
20064
 
+      # This hack is so that the source file can tell whether it is being
20065
 
+      # built for inclusion in a dll (and should export symbols for example).
20066
 
+      # Although the cygwin gcc ignores -fPIC, still need this for old-style
20067
 
+      # (--disable-auto-import) libraries
20068
 
+      lt_prog_compiler_pic='-DDLL_EXPORT'
20069
 
+      ;;
20070
 
 
20071
 
-fi
20072
 
+    darwin* | rhapsody*)
20073
 
+      # PIC is the default on this platform
20074
 
+      # Common symbols not allowed in MH_DYLIB files
20075
 
+      lt_prog_compiler_pic='-fno-common'
20076
 
+      ;;
20077
 
 
20078
 
+    hpux*)
20079
 
+      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
20080
 
+      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
20081
 
+      # sets the default TLS model and affects inlining.
20082
 
+      case $host_cpu in
20083
 
+      hppa*64*)
20084
 
+       # +Z the default
20085
 
+       ;;
20086
 
+      *)
20087
 
+       lt_prog_compiler_pic='-fPIC'
20088
 
+       ;;
20089
 
+      esac
20090
 
+      ;;
20091
 
 
20092
 
-fi
20093
 
+    interix[3-9]*)
20094
 
+      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
20095
 
+      # Instead, we relocate shared libraries at runtime.
20096
 
+      ;;
20097
 
 
20098
 
+    msdosdjgpp*)
20099
 
+      # Just because we use GCC doesn't mean we suddenly get shared libraries
20100
 
+      # on systems that don't support them.
20101
 
+      lt_prog_compiler_can_build_shared=no
20102
 
+      enable_shared=no
20103
 
+      ;;
20104
 
 
20105
 
-fi
20106
 
+    *nto* | *qnx*)
20107
 
+      # QNX uses GNU C++, but need to define -shared option too, otherwise
20108
 
+      # it will coredump.
20109
 
+      lt_prog_compiler_pic='-fPIC -shared'
20110
 
+      ;;
20111
 
 
20112
 
-    ;;
20113
 
-  esac
20114
 
+    sysv4*MP*)
20115
 
+      if test -d /usr/nec; then
20116
 
+       lt_prog_compiler_pic=-Kconform_pic
20117
 
+      fi
20118
 
+      ;;
20119
 
 
20120
 
-  if test "x$lt_cv_dlopen" != xno; then
20121
 
-    enable_dlopen=yes
20122
 
+    *)
20123
 
+      lt_prog_compiler_pic='-fPIC'
20124
 
+      ;;
20125
 
+    esac
20126
 
   else
20127
 
-    enable_dlopen=no
20128
 
-  fi
20129
 
+    # PORTME Check for flag to pass linker flags through the system compiler.
20130
 
+    case $host_os in
20131
 
+    aix*)
20132
 
+      lt_prog_compiler_wl='-Wl,'
20133
 
+      if test "$host_cpu" = ia64; then
20134
 
+       # AIX 5 now supports IA64 processor
20135
 
+       lt_prog_compiler_static='-Bstatic'
20136
 
+      else
20137
 
+       lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
20138
 
+      fi
20139
 
+      ;;
20140
 
 
20141
 
-  case $lt_cv_dlopen in
20142
 
-  dlopen)
20143
 
-    save_CPPFLAGS="$CPPFLAGS"
20144
 
-    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
20145
 
+    mingw* | cygwin* | pw32* | os2* | cegcc*)
20146
 
+      # This hack is so that the source file can tell whether it is being
20147
 
+      # built for inclusion in a dll (and should export symbols for example).
20148
 
+      lt_prog_compiler_pic='-DDLL_EXPORT'
20149
 
+      ;;
20150
 
 
20151
 
-    save_LDFLAGS="$LDFLAGS"
20152
 
-    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
20153
 
+    hpux9* | hpux10* | hpux11*)
20154
 
+      lt_prog_compiler_wl='-Wl,'
20155
 
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
20156
 
+      # not for PA HP-UX.
20157
 
+      case $host_cpu in
20158
 
+      hppa*64*|ia64*)
20159
 
+       # +Z the default
20160
 
+       ;;
20161
 
+      *)
20162
 
+       lt_prog_compiler_pic='+Z'
20163
 
+       ;;
20164
 
+      esac
20165
 
+      # Is there a better lt_prog_compiler_static that works with the bundled CC?
20166
 
+      lt_prog_compiler_static='${wl}-a ${wl}archive'
20167
 
+      ;;
20168
 
 
20169
 
-    save_LIBS="$LIBS"
20170
 
-    LIBS="$lt_cv_dlopen_libs $LIBS"
20171
 
+    irix5* | irix6* | nonstopux*)
20172
 
+      lt_prog_compiler_wl='-Wl,'
20173
 
+      # PIC (with -KPIC) is the default.
20174
 
+      lt_prog_compiler_static='-non_shared'
20175
 
+      ;;
20176
 
 
20177
 
-    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
20178
 
-echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
20179
 
-if test "${lt_cv_dlopen_self+set}" = set; then
20180
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
20181
 
-else
20182
 
-         if test "$cross_compiling" = yes; then :
20183
 
-  lt_cv_dlopen_self=cross
20184
 
-else
20185
 
-  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
20186
 
-  lt_status=$lt_dlunknown
20187
 
-  cat > conftest.$ac_ext <<EOF
20188
 
-#line 12243 "configure"
20189
 
-#include "confdefs.h"
20190
 
+    linux* | k*bsd*-gnu)
20191
 
+      case $cc_basename in
20192
 
+      # old Intel for x86_64 which still supported -KPIC.
20193
 
+      ecc*)
20194
 
+       lt_prog_compiler_wl='-Wl,'
20195
 
+       lt_prog_compiler_pic='-KPIC'
20196
 
+       lt_prog_compiler_static='-static'
20197
 
+        ;;
20198
 
+      # icc used to be incompatible with GCC.
20199
 
+      # ICC 10 doesn't accept -KPIC any more.
20200
 
+      icc* | ifort*)
20201
 
+       lt_prog_compiler_wl='-Wl,'
20202
 
+       lt_prog_compiler_pic='-fPIC'
20203
 
+       lt_prog_compiler_static='-static'
20204
 
+        ;;
20205
 
+      # Lahey Fortran 8.1.
20206
 
+      lf95*)
20207
 
+       lt_prog_compiler_wl='-Wl,'
20208
 
+       lt_prog_compiler_pic='--shared'
20209
 
+       lt_prog_compiler_static='--static'
20210
 
+       ;;
20211
 
+      pgcc* | pgf77* | pgf90* | pgf95*)
20212
 
+        # Portland Group compilers (*not* the Pentium gcc compiler,
20213
 
+       # which looks to be a dead project)
20214
 
+       lt_prog_compiler_wl='-Wl,'
20215
 
+       lt_prog_compiler_pic='-fpic'
20216
 
+       lt_prog_compiler_static='-Bstatic'
20217
 
+        ;;
20218
 
+      ccc*)
20219
 
+        lt_prog_compiler_wl='-Wl,'
20220
 
+        # All Alpha code is PIC.
20221
 
+        lt_prog_compiler_static='-non_shared'
20222
 
+        ;;
20223
 
+      xl*)
20224
 
+       # IBM XL C 8.0/Fortran 10.1 on PPC
20225
 
+       lt_prog_compiler_wl='-Wl,'
20226
 
+       lt_prog_compiler_pic='-qpic'
20227
 
+       lt_prog_compiler_static='-qstaticlink'
20228
 
+       ;;
20229
 
+      *)
20230
 
+       case `$CC -V 2>&1 | sed 5q` in
20231
 
+       *Sun\ C*)
20232
 
+         # Sun C 5.9
20233
 
+         lt_prog_compiler_pic='-KPIC'
20234
 
+         lt_prog_compiler_static='-Bstatic'
20235
 
+         lt_prog_compiler_wl='-Wl,'
20236
 
+         ;;
20237
 
+       *Sun\ F*)
20238
 
+         # Sun Fortran 8.3 passes all unrecognized flags to the linker
20239
 
+         lt_prog_compiler_pic='-KPIC'
20240
 
+         lt_prog_compiler_static='-Bstatic'
20241
 
+         lt_prog_compiler_wl=''
20242
 
+         ;;
20243
 
+       esac
20244
 
+       ;;
20245
 
+      esac
20246
 
+      ;;
20247
 
 
20248
 
-#if HAVE_DLFCN_H
20249
 
-#include <dlfcn.h>
20250
 
-#endif
20251
 
+    newsos6)
20252
 
+      lt_prog_compiler_pic='-KPIC'
20253
 
+      lt_prog_compiler_static='-Bstatic'
20254
 
+      ;;
20255
 
 
20256
 
-#include <stdio.h>
20257
 
+    *nto* | *qnx*)
20258
 
+      # QNX uses GNU C++, but need to define -shared option too, otherwise
20259
 
+      # it will coredump.
20260
 
+      lt_prog_compiler_pic='-fPIC -shared'
20261
 
+      ;;
20262
 
 
20263
 
-#ifdef RTLD_GLOBAL
20264
 
-#  define LT_DLGLOBAL          RTLD_GLOBAL
20265
 
-#else
20266
 
-#  ifdef DL_GLOBAL
20267
 
-#    define LT_DLGLOBAL                DL_GLOBAL
20268
 
-#  else
20269
 
-#    define LT_DLGLOBAL                0
20270
 
-#  endif
20271
 
-#endif
20272
 
+    osf3* | osf4* | osf5*)
20273
 
+      lt_prog_compiler_wl='-Wl,'
20274
 
+      # All OSF/1 code is PIC.
20275
 
+      lt_prog_compiler_static='-non_shared'
20276
 
+      ;;
20277
 
 
20278
 
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20279
 
-   find out it does not work in some platform. */
20280
 
-#ifndef LT_DLLAZY_OR_NOW
20281
 
-#  ifdef RTLD_LAZY
20282
 
-#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
20283
 
-#  else
20284
 
-#    ifdef DL_LAZY
20285
 
-#      define LT_DLLAZY_OR_NOW         DL_LAZY
20286
 
-#    else
20287
 
-#      ifdef RTLD_NOW
20288
 
-#        define LT_DLLAZY_OR_NOW       RTLD_NOW
20289
 
-#      else
20290
 
-#        ifdef DL_NOW
20291
 
-#          define LT_DLLAZY_OR_NOW     DL_NOW
20292
 
-#        else
20293
 
-#          define LT_DLLAZY_OR_NOW     0
20294
 
-#        endif
20295
 
-#      endif
20296
 
-#    endif
20297
 
-#  endif
20298
 
-#endif
20299
 
+    rdos*)
20300
 
+      lt_prog_compiler_static='-non_shared'
20301
 
+      ;;
20302
 
 
20303
 
-#ifdef __cplusplus
20304
 
-extern "C" void exit (int);
20305
 
-#endif
20306
 
+    solaris*)
20307
 
+      lt_prog_compiler_pic='-KPIC'
20308
 
+      lt_prog_compiler_static='-Bstatic'
20309
 
+      case $cc_basename in
20310
 
+      f77* | f90* | f95*)
20311
 
+       lt_prog_compiler_wl='-Qoption ld ';;
20312
 
+      *)
20313
 
+       lt_prog_compiler_wl='-Wl,';;
20314
 
+      esac
20315
 
+      ;;
20316
 
 
20317
 
-void fnord() { int i=42;}
20318
 
-int main ()
20319
 
-{
20320
 
-  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20321
 
-  int status = $lt_dlunknown;
20322
 
+    sunos4*)
20323
 
+      lt_prog_compiler_wl='-Qoption ld '
20324
 
+      lt_prog_compiler_pic='-PIC'
20325
 
+      lt_prog_compiler_static='-Bstatic'
20326
 
+      ;;
20327
 
 
20328
 
-  if (self)
20329
 
-    {
20330
 
-      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
20331
 
-      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20332
 
-      /* dlclose (self); */
20333
 
-    }
20334
 
-  else
20335
 
-    puts (dlerror ());
20336
 
+    sysv4 | sysv4.2uw2* | sysv4.3*)
20337
 
+      lt_prog_compiler_wl='-Wl,'
20338
 
+      lt_prog_compiler_pic='-KPIC'
20339
 
+      lt_prog_compiler_static='-Bstatic'
20340
 
+      ;;
20341
 
 
20342
 
-    exit (status);
20343
 
-}
20344
 
-EOF
20345
 
-  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20346
 
-  (eval $ac_link) 2>&5
20347
 
-  ac_status=$?
20348
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20349
 
-  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
20350
 
-    (./conftest; exit; ) >&5 2>/dev/null
20351
 
-    lt_status=$?
20352
 
-    case x$lt_status in
20353
 
-      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
20354
 
-      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
20355
 
-      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
20356
 
-    esac
20357
 
-  else :
20358
 
-    # compilation failed
20359
 
-    lt_cv_dlopen_self=no
20360
 
-  fi
20361
 
-fi
20362
 
-rm -fr conftest*
20363
 
+    sysv4*MP*)
20364
 
+      if test -d /usr/nec ;then
20365
 
+       lt_prog_compiler_pic='-Kconform_pic'
20366
 
+       lt_prog_compiler_static='-Bstatic'
20367
 
+      fi
20368
 
+      ;;
20369
 
 
20370
 
+    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
20371
 
+      lt_prog_compiler_wl='-Wl,'
20372
 
+      lt_prog_compiler_pic='-KPIC'
20373
 
+      lt_prog_compiler_static='-Bstatic'
20374
 
+      ;;
20375
 
 
20376
 
-fi
20377
 
-{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
20378
 
-echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
20379
 
+    unicos*)
20380
 
+      lt_prog_compiler_wl='-Wl,'
20381
 
+      lt_prog_compiler_can_build_shared=no
20382
 
+      ;;
20383
 
 
20384
 
-    if test "x$lt_cv_dlopen_self" = xyes; then
20385
 
-      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
20386
 
-      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
20387
 
-echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
20388
 
-if test "${lt_cv_dlopen_self_static+set}" = set; then
20389
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
20390
 
-else
20391
 
-         if test "$cross_compiling" = yes; then :
20392
 
-  lt_cv_dlopen_self_static=cross
20393
 
-else
20394
 
-  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
20395
 
-  lt_status=$lt_dlunknown
20396
 
-  cat > conftest.$ac_ext <<EOF
20397
 
-#line 12343 "configure"
20398
 
-#include "confdefs.h"
20399
 
+    uts4*)
20400
 
+      lt_prog_compiler_pic='-pic'
20401
 
+      lt_prog_compiler_static='-Bstatic'
20402
 
+      ;;
20403
 
 
20404
 
-#if HAVE_DLFCN_H
20405
 
-#include <dlfcn.h>
20406
 
-#endif
20407
 
+    *)
20408
 
+      lt_prog_compiler_can_build_shared=no
20409
 
+      ;;
20410
 
+    esac
20411
 
+  fi
20412
 
 
20413
 
-#include <stdio.h>
20414
 
+case $host_os in
20415
 
+  # For platforms which do not support PIC, -DPIC is meaningless:
20416
 
+  *djgpp*)
20417
 
+    lt_prog_compiler_pic=
20418
 
+    ;;
20419
 
+  *)
20420
 
+    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
20421
 
+    ;;
20422
 
+esac
20423
 
+{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
20424
 
+$as_echo "$lt_prog_compiler_pic" >&6; }
20425
 
 
20426
 
-#ifdef RTLD_GLOBAL
20427
 
-#  define LT_DLGLOBAL          RTLD_GLOBAL
20428
 
-#else
20429
 
-#  ifdef DL_GLOBAL
20430
 
-#    define LT_DLGLOBAL                DL_GLOBAL
20431
 
-#  else
20432
 
-#    define LT_DLGLOBAL                0
20433
 
-#  endif
20434
 
-#endif
20435
 
 
20436
 
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20437
 
-   find out it does not work in some platform. */
20438
 
-#ifndef LT_DLLAZY_OR_NOW
20439
 
-#  ifdef RTLD_LAZY
20440
 
-#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
20441
 
-#  else
20442
 
-#    ifdef DL_LAZY
20443
 
-#      define LT_DLLAZY_OR_NOW         DL_LAZY
20444
 
-#    else
20445
 
-#      ifdef RTLD_NOW
20446
 
-#        define LT_DLLAZY_OR_NOW       RTLD_NOW
20447
 
-#      else
20448
 
-#        ifdef DL_NOW
20449
 
-#          define LT_DLLAZY_OR_NOW     DL_NOW
20450
 
-#        else
20451
 
-#          define LT_DLLAZY_OR_NOW     0
20452
 
-#        endif
20453
 
-#      endif
20454
 
-#    endif
20455
 
-#  endif
20456
 
-#endif
20457
 
 
20458
 
-#ifdef __cplusplus
20459
 
-extern "C" void exit (int);
20460
 
-#endif
20461
 
 
20462
 
-void fnord() { int i=42;}
20463
 
-int main ()
20464
 
-{
20465
 
-  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20466
 
-  int status = $lt_dlunknown;
20467
 
 
20468
 
-  if (self)
20469
 
-    {
20470
 
-      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
20471
 
-      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20472
 
-      /* dlclose (self); */
20473
 
-    }
20474
 
-  else
20475
 
-    puts (dlerror ());
20476
 
 
20477
 
-    exit (status);
20478
 
-}
20479
 
-EOF
20480
 
-  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20481
 
-  (eval $ac_link) 2>&5
20482
 
-  ac_status=$?
20483
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20484
 
-  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
20485
 
-    (./conftest; exit; ) >&5 2>/dev/null
20486
 
-    lt_status=$?
20487
 
-    case x$lt_status in
20488
 
-      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
20489
 
-      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
20490
 
-      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
20491
 
-    esac
20492
 
-  else :
20493
 
-    # compilation failed
20494
 
-    lt_cv_dlopen_self_static=no
20495
 
-  fi
20496
 
+#
20497
 
+# Check to make sure the PIC flag actually works.
20498
 
+#
20499
 
+if test -n "$lt_prog_compiler_pic"; then
20500
 
+  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
20501
 
+$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
20502
 
+if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
20503
 
+  $as_echo_n "(cached) " >&6
20504
 
+else
20505
 
+  lt_cv_prog_compiler_pic_works=no
20506
 
+   ac_outfile=conftest.$ac_objext
20507
 
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20508
 
+   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
20509
 
+   # Insert the option either (1) after the last *FLAGS variable, or
20510
 
+   # (2) before a word containing "conftest.", or (3) at the end.
20511
 
+   # Note that $ac_compile itself does not contain backslashes and begins
20512
 
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
20513
 
+   # The option is referenced via a variable to avoid confusing sed.
20514
 
+   lt_compile=`echo "$ac_compile" | $SED \
20515
 
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20516
 
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20517
 
+   -e 's:$: $lt_compiler_flag:'`
20518
 
+   (eval echo "\"\$as_me:11132: $lt_compile\"" >&5)
20519
 
+   (eval "$lt_compile" 2>conftest.err)
20520
 
+   ac_status=$?
20521
 
+   cat conftest.err >&5
20522
 
+   echo "$as_me:11136: \$? = $ac_status" >&5
20523
 
+   if (exit $ac_status) && test -s "$ac_outfile"; then
20524
 
+     # The compiler can only warn and ignore the option if not recognized
20525
 
+     # So say no if there are warnings other than the usual output.
20526
 
+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
20527
 
+     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20528
 
+     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
20529
 
+       lt_cv_prog_compiler_pic_works=yes
20530
 
+     fi
20531
 
+   fi
20532
 
+   $RM conftest*
20533
 
+
20534
 
 fi
20535
 
-rm -fr conftest*
20536
 
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
20537
 
+$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
20538
 
 
20539
 
+if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
20540
 
+    case $lt_prog_compiler_pic in
20541
 
+     "" | " "*) ;;
20542
 
+     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
20543
 
+     esac
20544
 
+else
20545
 
+    lt_prog_compiler_pic=
20546
 
+     lt_prog_compiler_can_build_shared=no
20547
 
+fi
20548
 
 
20549
 
 fi
20550
 
-{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
20551
 
-echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
20552
 
-    fi
20553
 
 
20554
 
-    CPPFLAGS="$save_CPPFLAGS"
20555
 
-    LDFLAGS="$save_LDFLAGS"
20556
 
-    LIBS="$save_LIBS"
20557
 
-    ;;
20558
 
-  esac
20559
 
 
20560
 
-  case $lt_cv_dlopen_self in
20561
 
-  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
20562
 
-  *) enable_dlopen_self=unknown ;;
20563
 
-  esac
20564
 
 
20565
 
-  case $lt_cv_dlopen_self_static in
20566
 
-  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
20567
 
-  *) enable_dlopen_self_static=unknown ;;
20568
 
-  esac
20569
 
-fi
20570
 
 
20571
 
 
20572
 
-# Report which library types will actually be built
20573
 
-{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
20574
 
-echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
20575
 
-{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
20576
 
-echo "${ECHO_T}$can_build_shared" >&6; }
20577
 
-
20578
 
-{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
20579
 
-echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
20580
 
-test "$can_build_shared" = "no" && enable_shared=no
20581
 
 
20582
 
-# On AIX, shared libraries and static libraries use the same namespace, and
20583
 
-# are all built from PIC.
20584
 
-case $host_os in
20585
 
-aix3*)
20586
 
-  test "$enable_shared" = yes && enable_static=no
20587
 
-  if test -n "$RANLIB"; then
20588
 
-    archive_cmds="$archive_cmds~\$RANLIB \$lib"
20589
 
-    postinstall_cmds='$RANLIB $lib'
20590
 
-  fi
20591
 
-  ;;
20592
 
+#
20593
 
+# Check to make sure the static flag actually works.
20594
 
+#
20595
 
+wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
20596
 
+{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
20597
 
+$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
20598
 
+if test "${lt_cv_prog_compiler_static_works+set}" = set; then
20599
 
+  $as_echo_n "(cached) " >&6
20600
 
+else
20601
 
+  lt_cv_prog_compiler_static_works=no
20602
 
+   save_LDFLAGS="$LDFLAGS"
20603
 
+   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
20604
 
+   echo "$lt_simple_link_test_code" > conftest.$ac_ext
20605
 
+   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
20606
 
+     # The linker can only warn and ignore the option if not recognized
20607
 
+     # So say no if there are warnings
20608
 
+     if test -s conftest.err; then
20609
 
+       # Append any errors to the config.log.
20610
 
+       cat conftest.err 1>&5
20611
 
+       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
20612
 
+       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20613
 
+       if diff conftest.exp conftest.er2 >/dev/null; then
20614
 
+         lt_cv_prog_compiler_static_works=yes
20615
 
+       fi
20616
 
+     else
20617
 
+       lt_cv_prog_compiler_static_works=yes
20618
 
+     fi
20619
 
+   fi
20620
 
+   $RM -r conftest*
20621
 
+   LDFLAGS="$save_LDFLAGS"
20622
 
 
20623
 
-aix[4-9]*)
20624
 
-  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
20625
 
-    test "$enable_shared" = yes && enable_static=no
20626
 
-  fi
20627
 
-    ;;
20628
 
-esac
20629
 
-{ echo "$as_me:$LINENO: result: $enable_shared" >&5
20630
 
-echo "${ECHO_T}$enable_shared" >&6; }
20631
 
+fi
20632
 
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
20633
 
+$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
20634
 
 
20635
 
-{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
20636
 
-echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
20637
 
-# Make sure either enable_shared or enable_static is yes.
20638
 
-test "$enable_shared" = yes || enable_static=yes
20639
 
-{ echo "$as_me:$LINENO: result: $enable_static" >&5
20640
 
-echo "${ECHO_T}$enable_static" >&6; }
20641
 
-
20642
 
-# The else clause should only fire when bootstrapping the
20643
 
-# libtool distribution, otherwise you forgot to ship ltmain.sh
20644
 
-# with your package, and you will get complaints that there are
20645
 
-# no rules to generate ltmain.sh.
20646
 
-if test -f "$ltmain"; then
20647
 
-  # See if we are running on zsh, and set the options which allow our commands through
20648
 
-  # without removal of \ escapes.
20649
 
-  if test -n "${ZSH_VERSION+set}" ; then
20650
 
-    setopt NO_GLOB_SUBST
20651
 
-  fi
20652
 
-  # Now quote all the things that may contain metacharacters while being
20653
 
-  # careful not to overquote the AC_SUBSTed values.  We take copies of the
20654
 
-  # variables and quote the copies for generation of the libtool script.
20655
 
-  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20656
 
-    SED SHELL STRIP \
20657
 
-    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20658
 
-    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20659
 
-    deplibs_check_method reload_flag reload_cmds need_locks \
20660
 
-    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20661
 
-    lt_cv_sys_global_symbol_to_c_name_address \
20662
 
-    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20663
 
-    old_postinstall_cmds old_postuninstall_cmds \
20664
 
-    compiler \
20665
 
-    CC \
20666
 
-    LD \
20667
 
-    lt_prog_compiler_wl \
20668
 
-    lt_prog_compiler_pic \
20669
 
-    lt_prog_compiler_static \
20670
 
-    lt_prog_compiler_no_builtin_flag \
20671
 
-    export_dynamic_flag_spec \
20672
 
-    thread_safe_flag_spec \
20673
 
-    whole_archive_flag_spec \
20674
 
-    enable_shared_with_static_runtimes \
20675
 
-    old_archive_cmds \
20676
 
-    old_archive_from_new_cmds \
20677
 
-    predep_objects \
20678
 
-    postdep_objects \
20679
 
-    predeps \
20680
 
-    postdeps \
20681
 
-    compiler_lib_search_path \
20682
 
-    compiler_lib_search_dirs \
20683
 
-    archive_cmds \
20684
 
-    archive_expsym_cmds \
20685
 
-    postinstall_cmds \
20686
 
-    postuninstall_cmds \
20687
 
-    old_archive_from_expsyms_cmds \
20688
 
-    allow_undefined_flag \
20689
 
-    no_undefined_flag \
20690
 
-    export_symbols_cmds \
20691
 
-    hardcode_libdir_flag_spec \
20692
 
-    hardcode_libdir_flag_spec_ld \
20693
 
-    hardcode_libdir_separator \
20694
 
-    hardcode_automatic \
20695
 
-    module_cmds \
20696
 
-    module_expsym_cmds \
20697
 
-    lt_cv_prog_compiler_c_o \
20698
 
-    fix_srcfile_path \
20699
 
-    exclude_expsyms \
20700
 
-    include_expsyms; do
20701
 
-
20702
 
-    case $var in
20703
 
-    old_archive_cmds | \
20704
 
-    old_archive_from_new_cmds | \
20705
 
-    archive_cmds | \
20706
 
-    archive_expsym_cmds | \
20707
 
-    module_cmds | \
20708
 
-    module_expsym_cmds | \
20709
 
-    old_archive_from_expsyms_cmds | \
20710
 
-    export_symbols_cmds | \
20711
 
-    extract_expsyms_cmds | reload_cmds | finish_cmds | \
20712
 
-    postinstall_cmds | postuninstall_cmds | \
20713
 
-    old_postinstall_cmds | old_postuninstall_cmds | \
20714
 
-    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20715
 
-      # Double-quote double-evaled strings.
20716
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20717
 
-      ;;
20718
 
-    *)
20719
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20720
 
-      ;;
20721
 
-    esac
20722
 
-  done
20723
 
+if test x"$lt_cv_prog_compiler_static_works" = xyes; then
20724
 
+    :
20725
 
+else
20726
 
+    lt_prog_compiler_static=
20727
 
+fi
20728
 
 
20729
 
-  case $lt_echo in
20730
 
-  *'\$0 --fallback-echo"')
20731
 
-    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20732
 
-    ;;
20733
 
-  esac
20734
 
 
20735
 
-cfgfile="${ofile}T"
20736
 
-  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
20737
 
-  $rm -f "$cfgfile"
20738
 
-  { echo "$as_me:$LINENO: creating $ofile" >&5
20739
 
-echo "$as_me: creating $ofile" >&6;}
20740
 
 
20741
 
-  cat <<__EOF__ >> "$cfgfile"
20742
 
-#! $SHELL
20743
 
 
20744
 
-# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20745
 
-# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
20746
 
-# NOTE: Changes made to this file will be lost: look at ltmain.sh.
20747
 
-#
20748
 
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
20749
 
-# Free Software Foundation, Inc.
20750
 
-#
20751
 
-# This file is part of GNU Libtool:
20752
 
-# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
20753
 
-#
20754
 
-# This program is free software; you can redistribute it and/or modify
20755
 
-# it under the terms of the GNU General Public License as published by
20756
 
-# the Free Software Foundation; either version 2 of the License, or
20757
 
-# (at your option) any later version.
20758
 
-#
20759
 
-# This program is distributed in the hope that it will be useful, but
20760
 
-# WITHOUT ANY WARRANTY; without even the implied warranty of
20761
 
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
20762
 
-# General Public License for more details.
20763
 
-#
20764
 
-# You should have received a copy of the GNU General Public License
20765
 
-# along with this program; if not, write to the Free Software
20766
 
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20767
 
-#
20768
 
-# As a special exception to the GNU General Public License, if you
20769
 
-# distribute this file as part of a program that contains a
20770
 
-# configuration script generated by Autoconf, you may include it under
20771
 
-# the same distribution terms that you use for the rest of that program.
20772
 
-
20773
 
-# A sed program that does not truncate output.
20774
 
-SED=$lt_SED
20775
 
-
20776
 
-# Sed that helps us avoid accidentally triggering echo(1) options like -n.
20777
 
-Xsed="$SED -e 1s/^X//"
20778
 
-
20779
 
-# The HP-UX ksh and POSIX shell print the target directory to stdout
20780
 
-# if CDPATH is set.
20781
 
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20782
 
 
20783
 
-# The names of the tagged configurations supported by this script.
20784
 
-available_tags=
20785
 
-
20786
 
-# ### BEGIN LIBTOOL CONFIG
20787
 
 
20788
 
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20789
 
 
20790
 
-# Shell to use when invoking shell scripts.
20791
 
-SHELL=$lt_SHELL
20792
 
+  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20793
 
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
20794
 
+if test "${lt_cv_prog_compiler_c_o+set}" = set; then
20795
 
+  $as_echo_n "(cached) " >&6
20796
 
+else
20797
 
+  lt_cv_prog_compiler_c_o=no
20798
 
+   $RM -r conftest 2>/dev/null
20799
 
+   mkdir conftest
20800
 
+   cd conftest
20801
 
+   mkdir out
20802
 
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20803
 
 
20804
 
-# Whether or not to build shared libraries.
20805
 
-build_libtool_libs=$enable_shared
20806
 
+   lt_compiler_flag="-o out/conftest2.$ac_objext"
20807
 
+   # Insert the option either (1) after the last *FLAGS variable, or
20808
 
+   # (2) before a word containing "conftest.", or (3) at the end.
20809
 
+   # Note that $ac_compile itself does not contain backslashes and begins
20810
 
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
20811
 
+   lt_compile=`echo "$ac_compile" | $SED \
20812
 
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20813
 
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20814
 
+   -e 's:$: $lt_compiler_flag:'`
20815
 
+   (eval echo "\"\$as_me:11237: $lt_compile\"" >&5)
20816
 
+   (eval "$lt_compile" 2>out/conftest.err)
20817
 
+   ac_status=$?
20818
 
+   cat out/conftest.err >&5
20819
 
+   echo "$as_me:11241: \$? = $ac_status" >&5
20820
 
+   if (exit $ac_status) && test -s out/conftest2.$ac_objext
20821
 
+   then
20822
 
+     # The compiler can only warn and ignore the option if not recognized
20823
 
+     # So say no if there are warnings
20824
 
+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
20825
 
+     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
20826
 
+     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20827
 
+       lt_cv_prog_compiler_c_o=yes
20828
 
+     fi
20829
 
+   fi
20830
 
+   chmod u+w . 2>&5
20831
 
+   $RM conftest*
20832
 
+   # SGI C++ compiler will create directory out/ii_files/ for
20833
 
+   # template instantiation
20834
 
+   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
20835
 
+   $RM out/* && rmdir out
20836
 
+   cd ..
20837
 
+   $RM -r conftest
20838
 
+   $RM conftest*
20839
 
 
20840
 
-# Whether or not to build static libraries.
20841
 
-build_old_libs=$enable_static
20842
 
+fi
20843
 
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
20844
 
+$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
20845
 
 
20846
 
-# Whether or not to add -lc for building shared libraries.
20847
 
-build_libtool_need_lc=$archive_cmds_need_lc
20848
 
 
20849
 
-# Whether or not to disallow shared libs when runtime libs are static
20850
 
-allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20851
 
 
20852
 
-# Whether or not to optimize for fast installation.
20853
 
-fast_install=$enable_fast_install
20854
 
 
20855
 
-# The host system.
20856
 
-host_alias=$host_alias
20857
 
-host=$host
20858
 
-host_os=$host_os
20859
 
 
20860
 
-# The build system.
20861
 
-build_alias=$build_alias
20862
 
-build=$build
20863
 
-build_os=$build_os
20864
 
 
20865
 
-# An echo program that does not interpret backslashes.
20866
 
-echo=$lt_echo
20867
 
+  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20868
 
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
20869
 
+if test "${lt_cv_prog_compiler_c_o+set}" = set; then
20870
 
+  $as_echo_n "(cached) " >&6
20871
 
+else
20872
 
+  lt_cv_prog_compiler_c_o=no
20873
 
+   $RM -r conftest 2>/dev/null
20874
 
+   mkdir conftest
20875
 
+   cd conftest
20876
 
+   mkdir out
20877
 
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20878
 
 
20879
 
-# The archiver.
20880
 
-AR=$lt_AR
20881
 
-AR_FLAGS=$lt_AR_FLAGS
20882
 
+   lt_compiler_flag="-o out/conftest2.$ac_objext"
20883
 
+   # Insert the option either (1) after the last *FLAGS variable, or
20884
 
+   # (2) before a word containing "conftest.", or (3) at the end.
20885
 
+   # Note that $ac_compile itself does not contain backslashes and begins
20886
 
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
20887
 
+   lt_compile=`echo "$ac_compile" | $SED \
20888
 
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20889
 
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20890
 
+   -e 's:$: $lt_compiler_flag:'`
20891
 
+   (eval echo "\"\$as_me:11292: $lt_compile\"" >&5)
20892
 
+   (eval "$lt_compile" 2>out/conftest.err)
20893
 
+   ac_status=$?
20894
 
+   cat out/conftest.err >&5
20895
 
+   echo "$as_me:11296: \$? = $ac_status" >&5
20896
 
+   if (exit $ac_status) && test -s out/conftest2.$ac_objext
20897
 
+   then
20898
 
+     # The compiler can only warn and ignore the option if not recognized
20899
 
+     # So say no if there are warnings
20900
 
+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
20901
 
+     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
20902
 
+     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20903
 
+       lt_cv_prog_compiler_c_o=yes
20904
 
+     fi
20905
 
+   fi
20906
 
+   chmod u+w . 2>&5
20907
 
+   $RM conftest*
20908
 
+   # SGI C++ compiler will create directory out/ii_files/ for
20909
 
+   # template instantiation
20910
 
+   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
20911
 
+   $RM out/* && rmdir out
20912
 
+   cd ..
20913
 
+   $RM -r conftest
20914
 
+   $RM conftest*
20915
 
 
20916
 
-# A C compiler.
20917
 
-LTCC=$lt_LTCC
20918
 
+fi
20919
 
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
20920
 
+$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
20921
 
 
20922
 
-# LTCC compiler flags.
20923
 
-LTCFLAGS=$lt_LTCFLAGS
20924
 
 
20925
 
-# A language-specific compiler.
20926
 
-CC=$lt_compiler
20927
 
 
20928
 
-# Is the compiler the GNU C compiler?
20929
 
-with_gcc=$GCC
20930
 
 
20931
 
-# An ERE matcher.
20932
 
-EGREP=$lt_EGREP
20933
 
+hard_links="nottested"
20934
 
+if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
20935
 
+  # do not overwrite the value of need_locks provided by the user
20936
 
+  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20937
 
+$as_echo_n "checking if we can lock with hard links... " >&6; }
20938
 
+  hard_links=yes
20939
 
+  $RM conftest*
20940
 
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
20941
 
+  touch conftest.a
20942
 
+  ln conftest.a conftest.b 2>&5 || hard_links=no
20943
 
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
20944
 
+  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
20945
 
+$as_echo "$hard_links" >&6; }
20946
 
+  if test "$hard_links" = no; then
20947
 
+    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20948
 
+$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20949
 
+    need_locks=warn
20950
 
+  fi
20951
 
+else
20952
 
+  need_locks=no
20953
 
+fi
20954
 
 
20955
 
-# The linker used to build libraries.
20956
 
-LD=$lt_LD
20957
 
 
20958
 
-# Whether we need hard or soft links.
20959
 
-LN_S=$lt_LN_S
20960
 
 
20961
 
-# A BSD-compatible nm program.
20962
 
-NM=$lt_NM
20963
 
 
20964
 
-# A symbol stripping program
20965
 
-STRIP=$lt_STRIP
20966
 
 
20967
 
-# Used to examine libraries when file_magic_cmd begins "file"
20968
 
-MAGIC_CMD=$MAGIC_CMD
20969
 
 
20970
 
-# Used on cygwin: DLL creation program.
20971
 
-DLLTOOL="$DLLTOOL"
20972
 
+  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20973
 
+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
20974
 
 
20975
 
-# Used on cygwin: object dumper.
20976
 
-OBJDUMP="$OBJDUMP"
20977
 
+  runpath_var=
20978
 
+  allow_undefined_flag=
20979
 
+  always_export_symbols=no
20980
 
+  archive_cmds=
20981
 
+  archive_expsym_cmds=
20982
 
+  compiler_needs_object=no
20983
 
+  enable_shared_with_static_runtimes=no
20984
 
+  export_dynamic_flag_spec=
20985
 
+  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20986
 
+  hardcode_automatic=no
20987
 
+  hardcode_direct=no
20988
 
+  hardcode_direct_absolute=no
20989
 
+  hardcode_libdir_flag_spec=
20990
 
+  hardcode_libdir_flag_spec_ld=
20991
 
+  hardcode_libdir_separator=
20992
 
+  hardcode_minus_L=no
20993
 
+  hardcode_shlibpath_var=unsupported
20994
 
+  inherit_rpath=no
20995
 
+  link_all_deplibs=unknown
20996
 
+  module_cmds=
20997
 
+  module_expsym_cmds=
20998
 
+  old_archive_from_new_cmds=
20999
 
+  old_archive_from_expsyms_cmds=
21000
 
+  thread_safe_flag_spec=
21001
 
+  whole_archive_flag_spec=
21002
 
+  # include_expsyms should be a list of space-separated symbols to be *always*
21003
 
+  # included in the symbol list
21004
 
+  include_expsyms=
21005
 
+  # exclude_expsyms can be an extended regexp of symbols to exclude
21006
 
+  # it will be wrapped by ` (' and `)$', so one must not match beginning or
21007
 
+  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
21008
 
+  # as well as any symbol that contains `d'.
21009
 
+  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
21010
 
+  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
21011
 
+  # platforms (ab)use it in PIC code, but their linkers get confused if
21012
 
+  # the symbol is explicitly referenced.  Since portable code cannot
21013
 
+  # rely on this symbol name, it's probably fine to never include it in
21014
 
+  # preloaded symbol tables.
21015
 
+  # Exclude shared library initialization/finalization symbols.
21016
 
+  extract_expsyms_cmds=
21017
 
 
21018
 
-# Used on cygwin: assembler.
21019
 
-AS="$AS"
21020
 
+  case $host_os in
21021
 
+  cygwin* | mingw* | pw32* | cegcc*)
21022
 
+    # FIXME: the MSVC++ port hasn't been tested in a loooong time
21023
 
+    # When not using gcc, we currently assume that we are using
21024
 
+    # Microsoft Visual C++.
21025
 
+    if test "$GCC" != yes; then
21026
 
+      with_gnu_ld=no
21027
 
+    fi
21028
 
+    ;;
21029
 
+  interix*)
21030
 
+    # we just hope/assume this is gcc and not c89 (= MSVC++)
21031
 
+    with_gnu_ld=yes
21032
 
+    ;;
21033
 
+  openbsd*)
21034
 
+    with_gnu_ld=no
21035
 
+    ;;
21036
 
+  esac
21037
 
 
21038
 
-# The name of the directory that contains temporary libtool files.
21039
 
-objdir=$objdir
21040
 
+  ld_shlibs=yes
21041
 
+  if test "$with_gnu_ld" = yes; then
21042
 
+    # If archive_cmds runs LD, not CC, wlarc should be empty
21043
 
+    wlarc='${wl}'
21044
 
 
21045
 
-# How to create reloadable object files.
21046
 
-reload_flag=$lt_reload_flag
21047
 
-reload_cmds=$lt_reload_cmds
21048
 
+    # Set some defaults for GNU ld with shared library support. These
21049
 
+    # are reset later if shared libraries are not supported. Putting them
21050
 
+    # here allows them to be overridden if necessary.
21051
 
+    runpath_var=LD_RUN_PATH
21052
 
+    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
21053
 
+    export_dynamic_flag_spec='${wl}--export-dynamic'
21054
 
+    # ancient GNU ld didn't support --whole-archive et. al.
21055
 
+    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
21056
 
+      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21057
 
+    else
21058
 
+      whole_archive_flag_spec=
21059
 
+    fi
21060
 
+    supports_anon_versioning=no
21061
 
+    case `$LD -v 2>&1` in
21062
 
+      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
21063
 
+      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
21064
 
+      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
21065
 
+      *\ 2.11.*) ;; # other 2.11 versions
21066
 
+      *) supports_anon_versioning=yes ;;
21067
 
+    esac
21068
 
 
21069
 
-# How to pass a linker flag through the compiler.
21070
 
-wl=$lt_lt_prog_compiler_wl
21071
 
+    # See if GNU ld supports shared libraries.
21072
 
+    case $host_os in
21073
 
+    aix[3-9]*)
21074
 
+      # On AIX/PPC, the GNU linker is very broken
21075
 
+      if test "$host_cpu" != ia64; then
21076
 
+       ld_shlibs=no
21077
 
+       cat <<_LT_EOF 1>&2
21078
 
 
21079
 
-# Object file suffix (normally "o").
21080
 
-objext="$ac_objext"
21081
 
+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
21082
 
+*** to be unable to reliably create shared libraries on AIX.
21083
 
+*** Therefore, libtool is disabling shared libraries support.  If you
21084
 
+*** really care for shared libraries, you may want to modify your PATH
21085
 
+*** so that a non-GNU linker is found, and then restart.
21086
 
 
21087
 
-# Old archive suffix (normally "a").
21088
 
-libext="$libext"
21089
 
+_LT_EOF
21090
 
+      fi
21091
 
+      ;;
21092
 
 
21093
 
-# Shared library suffix (normally ".so").
21094
 
-shrext_cmds='$shrext_cmds'
21095
 
+    amigaos*)
21096
 
+      case $host_cpu in
21097
 
+      powerpc)
21098
 
+            # see comment about AmigaOS4 .so support
21099
 
+            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21100
 
+            archive_expsym_cmds=''
21101
 
+        ;;
21102
 
+      m68k)
21103
 
+            archive_cmds='$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)'
21104
 
+            hardcode_libdir_flag_spec='-L$libdir'
21105
 
+            hardcode_minus_L=yes
21106
 
+        ;;
21107
 
+      esac
21108
 
+      ;;
21109
 
 
21110
 
-# Executable file suffix (normally "").
21111
 
-exeext="$exeext"
21112
 
+    beos*)
21113
 
+      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
21114
 
+       allow_undefined_flag=unsupported
21115
 
+       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
21116
 
+       # support --undefined.  This deserves some investigation.  FIXME
21117
 
+       archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21118
 
+      else
21119
 
+       ld_shlibs=no
21120
 
+      fi
21121
 
+      ;;
21122
 
 
21123
 
-# Additional compiler flags for building library objects.
21124
 
-pic_flag=$lt_lt_prog_compiler_pic
21125
 
-pic_mode=$pic_mode
21126
 
+    cygwin* | mingw* | pw32* | cegcc*)
21127
 
+      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
21128
 
+      # as there is no search path for DLLs.
21129
 
+      hardcode_libdir_flag_spec='-L$libdir'
21130
 
+      allow_undefined_flag=unsupported
21131
 
+      always_export_symbols=no
21132
 
+      enable_shared_with_static_runtimes=yes
21133
 
+      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
21134
 
 
21135
 
-# What is the maximum length of a command?
21136
 
-max_cmd_len=$lt_cv_sys_max_cmd_len
21137
 
+      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
21138
 
+        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21139
 
+       # If the export-symbols file already is a .def file (1st line
21140
 
+       # is EXPORTS), use it as is; otherwise, prepend...
21141
 
+       archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
21142
 
+         cp $export_symbols $output_objdir/$soname.def;
21143
 
+       else
21144
 
+         echo EXPORTS > $output_objdir/$soname.def;
21145
 
+         cat $export_symbols >> $output_objdir/$soname.def;
21146
 
+       fi~
21147
 
+       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21148
 
+      else
21149
 
+       ld_shlibs=no
21150
 
+      fi
21151
 
+      ;;
21152
 
 
21153
 
-# Does compiler simultaneously support -c and -o options?
21154
 
-compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21155
 
+    interix[3-9]*)
21156
 
+      hardcode_direct=no
21157
 
+      hardcode_shlibpath_var=no
21158
 
+      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
21159
 
+      export_dynamic_flag_spec='${wl}-E'
21160
 
+      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
21161
 
+      # Instead, shared libraries are loaded at an image base (0x10000000 by
21162
 
+      # default) and relocated if they conflict, which is a slow very memory
21163
 
+      # consuming and fragmenting process.  To avoid this, we pick a random,
21164
 
+      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
21165
 
+      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
21166
 
+      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
21167
 
+      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
21168
 
+      ;;
21169
 
 
21170
 
-# Must we lock files when doing compilation?
21171
 
-need_locks=$lt_need_locks
21172
 
+    gnu* | linux* | tpf* | k*bsd*-gnu)
21173
 
+      tmp_diet=no
21174
 
+      if test "$host_os" = linux-dietlibc; then
21175
 
+       case $cc_basename in
21176
 
+         diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
21177
 
+       esac
21178
 
+      fi
21179
 
+      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
21180
 
+        && test "$tmp_diet" = no
21181
 
+      then
21182
 
+       tmp_addflag=
21183
 
+       tmp_sharedflag='-shared'
21184
 
+       case $cc_basename,$host_cpu in
21185
 
+        pgcc*)                         # Portland Group C compiler
21186
 
+         whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
21187
 
+         tmp_addflag=' $pic_flag'
21188
 
+         ;;
21189
 
+       pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
21190
 
+         whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
21191
 
+         tmp_addflag=' $pic_flag -Mnomain' ;;
21192
 
+       ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
21193
 
+         tmp_addflag=' -i_dynamic' ;;
21194
 
+       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
21195
 
+         tmp_addflag=' -i_dynamic -nofor_main' ;;
21196
 
+       ifc* | ifort*)                  # Intel Fortran compiler
21197
 
+         tmp_addflag=' -nofor_main' ;;
21198
 
+       lf95*)                          # Lahey Fortran 8.1
21199
 
+         whole_archive_flag_spec=
21200
 
+         tmp_sharedflag='--shared' ;;
21201
 
+       xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
21202
 
+         tmp_sharedflag='-qmkshrobj'
21203
 
+         tmp_addflag= ;;
21204
 
+       esac
21205
 
+       case `$CC -V 2>&1 | sed 5q` in
21206
 
+       *Sun\ C*)                       # Sun C 5.9
21207
 
+         whole_archive_flag_spec='${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'
21208
 
+         compiler_needs_object=yes
21209
 
+         tmp_sharedflag='-G' ;;
21210
 
+       *Sun\ F*)                       # Sun Fortran 8.3
21211
 
+         tmp_sharedflag='-G' ;;
21212
 
+       esac
21213
 
+       archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21214
 
 
21215
 
-# Do we need the lib prefix for modules?
21216
 
-need_lib_prefix=$need_lib_prefix
21217
 
+        if test "x$supports_anon_versioning" = xyes; then
21218
 
+          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
21219
 
+           cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
21220
 
+           echo "local: *; };" >> $output_objdir/$libname.ver~
21221
 
+           $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
21222
 
+        fi
21223
 
 
21224
 
-# Do we need a version for libraries?
21225
 
-need_version=$need_version
21226
 
+       case $cc_basename in
21227
 
+       xlf*)
21228
 
+         # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
21229
 
+         whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
21230
 
+         hardcode_libdir_flag_spec=
21231
 
+         hardcode_libdir_flag_spec_ld='-rpath $libdir'
21232
 
+         archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
21233
 
+         if test "x$supports_anon_versioning" = xyes; then
21234
 
+           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
21235
 
+             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
21236
 
+             echo "local: *; };" >> $output_objdir/$libname.ver~
21237
 
+             $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
21238
 
+         fi
21239
 
+         ;;
21240
 
+       esac
21241
 
+      else
21242
 
+        ld_shlibs=no
21243
 
+      fi
21244
 
+      ;;
21245
 
 
21246
 
-# Whether dlopen is supported.
21247
 
-dlopen_support=$enable_dlopen
21248
 
+    netbsd* | netbsdelf*-gnu)
21249
 
+      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
21250
 
+       archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
21251
 
+       wlarc=
21252
 
+      else
21253
 
+       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21254
 
+       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21255
 
+      fi
21256
 
+      ;;
21257
 
 
21258
 
-# Whether dlopen of programs is supported.
21259
 
-dlopen_self=$enable_dlopen_self
21260
 
+    solaris*)
21261
 
+      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
21262
 
+       ld_shlibs=no
21263
 
+       cat <<_LT_EOF 1>&2
21264
 
 
21265
 
-# Whether dlopen of statically linked programs is supported.
21266
 
-dlopen_self_static=$enable_dlopen_self_static
21267
 
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
21268
 
+*** create shared libraries on Solaris systems.  Therefore, libtool
21269
 
+*** is disabling shared libraries support.  We urge you to upgrade GNU
21270
 
+*** binutils to release 2.9.1 or newer.  Another option is to modify
21271
 
+*** your PATH or compiler configuration so that the native linker is
21272
 
+*** used, and then restart.
21273
 
 
21274
 
-# Compiler flag to prevent dynamic linking.
21275
 
-link_static_flag=$lt_lt_prog_compiler_static
21276
 
+_LT_EOF
21277
 
+      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
21278
 
+       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21279
 
+       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21280
 
+      else
21281
 
+       ld_shlibs=no
21282
 
+      fi
21283
 
+      ;;
21284
 
 
21285
 
-# Compiler flag to turn off builtin functions.
21286
 
-no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21287
 
+    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
21288
 
+      case `$LD -v 2>&1` in
21289
 
+        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
21290
 
+       ld_shlibs=no
21291
 
+       cat <<_LT_EOF 1>&2
21292
 
 
21293
 
-# Compiler flag to allow reflexive dlopens.
21294
 
-export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21295
 
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
21296
 
+*** reliably create shared libraries on SCO systems.  Therefore, libtool
21297
 
+*** is disabling shared libraries support.  We urge you to upgrade GNU
21298
 
+*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
21299
 
+*** your PATH or compiler configuration so that the native linker is
21300
 
+*** used, and then restart.
21301
 
 
21302
 
-# Compiler flag to generate shared objects directly from archives.
21303
 
-whole_archive_flag_spec=$lt_whole_archive_flag_spec
21304
 
+_LT_EOF
21305
 
+       ;;
21306
 
+       *)
21307
 
+         # For security reasons, it is highly recommended that you always
21308
 
+         # use absolute paths for naming shared libraries, and exclude the
21309
 
+         # DT_RUNPATH tag from executables and libraries.  But doing so
21310
 
+         # requires that you compile everything twice, which is a pain.
21311
 
+         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
21312
 
+           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
21313
 
+           archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21314
 
+           archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21315
 
+         else
21316
 
+           ld_shlibs=no
21317
 
+         fi
21318
 
+       ;;
21319
 
+      esac
21320
 
+      ;;
21321
 
 
21322
 
-# Compiler flag to generate thread-safe objects.
21323
 
-thread_safe_flag_spec=$lt_thread_safe_flag_spec
21324
 
+    sunos4*)
21325
 
+      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21326
 
+      wlarc=
21327
 
+      hardcode_direct=yes
21328
 
+      hardcode_shlibpath_var=no
21329
 
+      ;;
21330
 
 
21331
 
-# Library versioning type.
21332
 
-version_type=$version_type
21333
 
+    *)
21334
 
+      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
21335
 
+       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21336
 
+       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21337
 
+      else
21338
 
+       ld_shlibs=no
21339
 
+      fi
21340
 
+      ;;
21341
 
+    esac
21342
 
 
21343
 
-# Format of library name prefix.
21344
 
-libname_spec=$lt_libname_spec
21345
 
+    if test "$ld_shlibs" = no; then
21346
 
+      runpath_var=
21347
 
+      hardcode_libdir_flag_spec=
21348
 
+      export_dynamic_flag_spec=
21349
 
+      whole_archive_flag_spec=
21350
 
+    fi
21351
 
+  else
21352
 
+    # PORTME fill in a description of your system's linker (not GNU ld)
21353
 
+    case $host_os in
21354
 
+    aix3*)
21355
 
+      allow_undefined_flag=unsupported
21356
 
+      always_export_symbols=yes
21357
 
+      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
21358
 
+      # Note: this linker hardcodes the directories in LIBPATH if there
21359
 
+      # are no directories specified by -L.
21360
 
+      hardcode_minus_L=yes
21361
 
+      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
21362
 
+       # Neither direct hardcoding nor static linking is supported with a
21363
 
+       # broken collect2.
21364
 
+       hardcode_direct=unsupported
21365
 
+      fi
21366
 
+      ;;
21367
 
 
21368
 
-# List of archive names.  First name is the real one, the rest are links.
21369
 
-# The last name is the one that the linker finds with -lNAME.
21370
 
-library_names_spec=$lt_library_names_spec
21371
 
+    aix[4-9]*)
21372
 
+      if test "$host_cpu" = ia64; then
21373
 
+       # On IA64, the linker does run time linking by default, so we don't
21374
 
+       # have to do anything special.
21375
 
+       aix_use_runtimelinking=no
21376
 
+       exp_sym_flag='-Bexport'
21377
 
+       no_entry_flag=""
21378
 
+      else
21379
 
+       # If we're using GNU nm, then we don't want the "-C" option.
21380
 
+       # -C means demangle to AIX nm, but means don't demangle with GNU nm
21381
 
+       if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
21382
 
+         export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
21383
 
+       else
21384
 
+         export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
21385
 
+       fi
21386
 
+       aix_use_runtimelinking=no
21387
 
 
21388
 
-# The coded name of the library, if different from the real name.
21389
 
-soname_spec=$lt_soname_spec
21390
 
+       # Test if we are trying to use run time linking or normal
21391
 
+       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
21392
 
+       # need to do runtime linking.
21393
 
+       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
21394
 
+         for ld_flag in $LDFLAGS; do
21395
 
+         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
21396
 
+           aix_use_runtimelinking=yes
21397
 
+           break
21398
 
+         fi
21399
 
+         done
21400
 
+         ;;
21401
 
+       esac
21402
 
 
21403
 
-# Commands used to build and install an old-style archive.
21404
 
-RANLIB=$lt_RANLIB
21405
 
-old_archive_cmds=$lt_old_archive_cmds
21406
 
-old_postinstall_cmds=$lt_old_postinstall_cmds
21407
 
-old_postuninstall_cmds=$lt_old_postuninstall_cmds
21408
 
+       exp_sym_flag='-bexport'
21409
 
+       no_entry_flag='-bnoentry'
21410
 
+      fi
21411
 
 
21412
 
-# Create an old-style archive from a shared archive.
21413
 
-old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21414
 
+      # When large executables or shared objects are built, AIX ld can
21415
 
+      # have problems creating the table of contents.  If linking a library
21416
 
+      # or program results in "error TOC overflow" add -mminimal-toc to
21417
 
+      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
21418
 
+      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
21419
 
 
21420
 
-# Create a temporary old-style archive to link instead of a shared archive.
21421
 
-old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21422
 
+      archive_cmds=''
21423
 
+      hardcode_direct=yes
21424
 
+      hardcode_direct_absolute=yes
21425
 
+      hardcode_libdir_separator=':'
21426
 
+      link_all_deplibs=yes
21427
 
+      file_list_spec='${wl}-f,'
21428
 
 
21429
 
-# Commands used to build and install a shared archive.
21430
 
-archive_cmds=$lt_archive_cmds
21431
 
-archive_expsym_cmds=$lt_archive_expsym_cmds
21432
 
-postinstall_cmds=$lt_postinstall_cmds
21433
 
-postuninstall_cmds=$lt_postuninstall_cmds
21434
 
+      if test "$GCC" = yes; then
21435
 
+       case $host_os in aix4.[012]|aix4.[012].*)
21436
 
+       # We only want to do this on AIX 4.2 and lower, the check
21437
 
+       # below for broken collect2 doesn't work under 4.3+
21438
 
+         collect2name=`${CC} -print-prog-name=collect2`
21439
 
+         if test -f "$collect2name" &&
21440
 
+          strings "$collect2name" | $GREP resolve_lib_name >/dev/null
21441
 
+         then
21442
 
+         # We have reworked collect2
21443
 
+         :
21444
 
+         else
21445
 
+         # We have old collect2
21446
 
+         hardcode_direct=unsupported
21447
 
+         # It fails to find uninstalled libraries when the uninstalled
21448
 
+         # path is not listed in the libpath.  Setting hardcode_minus_L
21449
 
+         # to unsupported forces relinking
21450
 
+         hardcode_minus_L=yes
21451
 
+         hardcode_libdir_flag_spec='-L$libdir'
21452
 
+         hardcode_libdir_separator=
21453
 
+         fi
21454
 
+         ;;
21455
 
+       esac
21456
 
+       shared_flag='-shared'
21457
 
+       if test "$aix_use_runtimelinking" = yes; then
21458
 
+         shared_flag="$shared_flag "'${wl}-G'
21459
 
+       fi
21460
 
+       link_all_deplibs=no
21461
 
+      else
21462
 
+       # not using gcc
21463
 
+       if test "$host_cpu" = ia64; then
21464
 
+       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
21465
 
+       # chokes on -Wl,-G. The following line is correct:
21466
 
+         shared_flag='-G'
21467
 
+       else
21468
 
+         if test "$aix_use_runtimelinking" = yes; then
21469
 
+           shared_flag='${wl}-G'
21470
 
+         else
21471
 
+           shared_flag='${wl}-bM:SRE'
21472
 
+         fi
21473
 
+       fi
21474
 
+      fi
21475
 
 
21476
 
-# Commands used to build a loadable module (assumed same as above if empty)
21477
 
-module_cmds=$lt_module_cmds
21478
 
-module_expsym_cmds=$lt_module_expsym_cmds
21479
 
-
21480
 
-# Commands to strip libraries.
21481
 
-old_striplib=$lt_old_striplib
21482
 
-striplib=$lt_striplib
21483
 
+      export_dynamic_flag_spec='${wl}-bexpall'
21484
 
+      # It seems that -bexpall does not export symbols beginning with
21485
 
+      # underscore (_), so it is better to generate a list of symbols to export.
21486
 
+      always_export_symbols=yes
21487
 
+      if test "$aix_use_runtimelinking" = yes; then
21488
 
+       # Warning - without using the other runtime loading flags (-brtl),
21489
 
+       # -berok will link without error, but may produce a broken library.
21490
 
+       allow_undefined_flag='-berok'
21491
 
+        # Determine the default libpath from the value encoded in an
21492
 
+        # empty executable.
21493
 
+        cat >conftest.$ac_ext <<_ACEOF
21494
 
+/* confdefs.h.  */
21495
 
+_ACEOF
21496
 
+cat confdefs.h >>conftest.$ac_ext
21497
 
+cat >>conftest.$ac_ext <<_ACEOF
21498
 
+/* end confdefs.h.  */
21499
 
 
21500
 
-# Dependencies to place before the objects being linked to create a
21501
 
-# shared library.
21502
 
-predep_objects=$lt_predep_objects
21503
 
+int
21504
 
+main ()
21505
 
+{
21506
 
 
21507
 
-# Dependencies to place after the objects being linked to create a
21508
 
-# shared library.
21509
 
-postdep_objects=$lt_postdep_objects
21510
 
+  ;
21511
 
+  return 0;
21512
 
+}
21513
 
+_ACEOF
21514
 
+rm -f conftest.$ac_objext conftest$ac_exeext
21515
 
+if { (ac_try="$ac_link"
21516
 
+case "(($ac_try" in
21517
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21518
 
+  *) ac_try_echo=$ac_try;;
21519
 
+esac
21520
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21521
 
+$as_echo "$ac_try_echo") >&5
21522
 
+  (eval "$ac_link") 2>conftest.er1
21523
 
+  ac_status=$?
21524
 
+  grep -v '^ *+' conftest.er1 >conftest.err
21525
 
+  rm -f conftest.er1
21526
 
+  cat conftest.err >&5
21527
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21528
 
+  (exit $ac_status); } && {
21529
 
+        test -z "$ac_c_werror_flag" ||
21530
 
+        test ! -s conftest.err
21531
 
+       } && test -s conftest$ac_exeext && {
21532
 
+        test "$cross_compiling" = yes ||
21533
 
+        $as_test_x conftest$ac_exeext
21534
 
+       }; then
21535
 
 
21536
 
-# Dependencies to place before the objects being linked to create a
21537
 
-# shared library.
21538
 
-predeps=$lt_predeps
21539
 
+lt_aix_libpath_sed='
21540
 
+    /Import File Strings/,/^$/ {
21541
 
+       /^0/ {
21542
 
+           s/^0  *\(.*\)$/\1/
21543
 
+           p
21544
 
+       }
21545
 
+    }'
21546
 
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
21547
 
+# Check for a 64-bit object if we didn't find anything.
21548
 
+if test -z "$aix_libpath"; then
21549
 
+  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
21550
 
+fi
21551
 
+else
21552
 
+  $as_echo "$as_me: failed program was:" >&5
21553
 
+sed 's/^/| /' conftest.$ac_ext >&5
21554
 
 
21555
 
-# Dependencies to place after the objects being linked to create a
21556
 
-# shared library.
21557
 
-postdeps=$lt_postdeps
21558
 
 
21559
 
-# The directories searched by this compiler when creating a shared
21560
 
-# library
21561
 
-compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21562
 
+fi
21563
 
 
21564
 
-# The library search path used internally by the compiler when linking
21565
 
-# a shared library.
21566
 
-compiler_lib_search_path=$lt_compiler_lib_search_path
21567
 
+rm -rf conftest.dSYM
21568
 
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21569
 
+      conftest$ac_exeext conftest.$ac_ext
21570
 
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21571
 
 
21572
 
-# Method to check whether dependent libraries are shared objects.
21573
 
-deplibs_check_method=$lt_deplibs_check_method
21574
 
+        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
21575
 
+        archive_expsym_cmds='$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"
21576
 
+      else
21577
 
+       if test "$host_cpu" = ia64; then
21578
 
+         hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
21579
 
+         allow_undefined_flag="-z nodefs"
21580
 
+         archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
21581
 
+       else
21582
 
+        # Determine the default libpath from the value encoded in an
21583
 
+        # empty executable.
21584
 
+        cat >conftest.$ac_ext <<_ACEOF
21585
 
+/* confdefs.h.  */
21586
 
+_ACEOF
21587
 
+cat confdefs.h >>conftest.$ac_ext
21588
 
+cat >>conftest.$ac_ext <<_ACEOF
21589
 
+/* end confdefs.h.  */
21590
 
 
21591
 
-# Command to use when deplibs_check_method == file_magic.
21592
 
-file_magic_cmd=$lt_file_magic_cmd
21593
 
+int
21594
 
+main ()
21595
 
+{
21596
 
 
21597
 
-# Flag that allows shared libraries with undefined symbols to be built.
21598
 
-allow_undefined_flag=$lt_allow_undefined_flag
21599
 
+  ;
21600
 
+  return 0;
21601
 
+}
21602
 
+_ACEOF
21603
 
+rm -f conftest.$ac_objext conftest$ac_exeext
21604
 
+if { (ac_try="$ac_link"
21605
 
+case "(($ac_try" in
21606
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21607
 
+  *) ac_try_echo=$ac_try;;
21608
 
+esac
21609
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21610
 
+$as_echo "$ac_try_echo") >&5
21611
 
+  (eval "$ac_link") 2>conftest.er1
21612
 
+  ac_status=$?
21613
 
+  grep -v '^ *+' conftest.er1 >conftest.err
21614
 
+  rm -f conftest.er1
21615
 
+  cat conftest.err >&5
21616
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617
 
+  (exit $ac_status); } && {
21618
 
+        test -z "$ac_c_werror_flag" ||
21619
 
+        test ! -s conftest.err
21620
 
+       } && test -s conftest$ac_exeext && {
21621
 
+        test "$cross_compiling" = yes ||
21622
 
+        $as_test_x conftest$ac_exeext
21623
 
+       }; then
21624
 
 
21625
 
-# Flag that forces no undefined symbols.
21626
 
-no_undefined_flag=$lt_no_undefined_flag
21627
 
+lt_aix_libpath_sed='
21628
 
+    /Import File Strings/,/^$/ {
21629
 
+       /^0/ {
21630
 
+           s/^0  *\(.*\)$/\1/
21631
 
+           p
21632
 
+       }
21633
 
+    }'
21634
 
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
21635
 
+# Check for a 64-bit object if we didn't find anything.
21636
 
+if test -z "$aix_libpath"; then
21637
 
+  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
21638
 
+fi
21639
 
+else
21640
 
+  $as_echo "$as_me: failed program was:" >&5
21641
 
+sed 's/^/| /' conftest.$ac_ext >&5
21642
 
 
21643
 
-# Commands used to finish a libtool library installation in a directory.
21644
 
-finish_cmds=$lt_finish_cmds
21645
 
 
21646
 
-# Same as above, but a single script fragment to be evaled but not shown.
21647
 
-finish_eval=$lt_finish_eval
21648
 
+fi
21649
 
 
21650
 
-# Take the output of nm and produce a listing of raw symbols and C names.
21651
 
-global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21652
 
+rm -rf conftest.dSYM
21653
 
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21654
 
+      conftest$ac_exeext conftest.$ac_ext
21655
 
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21656
 
 
21657
 
-# Transform the output of nm in a proper C declaration
21658
 
-global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21659
 
+        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
21660
 
+         # Warning - without using the other run time loading flags,
21661
 
+         # -berok will link without error, but may produce a broken library.
21662
 
+         no_undefined_flag=' ${wl}-bernotok'
21663
 
+         allow_undefined_flag=' ${wl}-berok'
21664
 
+         # Exported symbols can be pulled into shared objects from archives
21665
 
+         whole_archive_flag_spec='$convenience'
21666
 
+         archive_cmds_need_lc=yes
21667
 
+         # This is similar to how AIX traditionally builds its shared libraries.
21668
 
+         archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
21669
 
+       fi
21670
 
+      fi
21671
 
+      ;;
21672
 
 
21673
 
-# Transform the output of nm in a C name address pair
21674
 
-global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21675
 
+    amigaos*)
21676
 
+      case $host_cpu in
21677
 
+      powerpc)
21678
 
+            # see comment about AmigaOS4 .so support
21679
 
+            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21680
 
+            archive_expsym_cmds=''
21681
 
+        ;;
21682
 
+      m68k)
21683
 
+            archive_cmds='$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)'
21684
 
+            hardcode_libdir_flag_spec='-L$libdir'
21685
 
+            hardcode_minus_L=yes
21686
 
+        ;;
21687
 
+      esac
21688
 
+      ;;
21689
 
 
21690
 
-# This is the shared library runtime path variable.
21691
 
-runpath_var=$runpath_var
21692
 
+    bsdi[45]*)
21693
 
+      export_dynamic_flag_spec=-rdynamic
21694
 
+      ;;
21695
 
 
21696
 
-# This is the shared library path variable.
21697
 
-shlibpath_var=$shlibpath_var
21698
 
+    cygwin* | mingw* | pw32* | cegcc*)
21699
 
+      # When not using gcc, we currently assume that we are using
21700
 
+      # Microsoft Visual C++.
21701
 
+      # hardcode_libdir_flag_spec is actually meaningless, as there is
21702
 
+      # no search path for DLLs.
21703
 
+      hardcode_libdir_flag_spec=' '
21704
 
+      allow_undefined_flag=unsupported
21705
 
+      # Tell ltmain to make .lib files, not .a files.
21706
 
+      libext=lib
21707
 
+      # Tell ltmain to make .dll files, not .so files.
21708
 
+      shrext_cmds=".dll"
21709
 
+      # FIXME: Setting linknames here is a bad hack.
21710
 
+      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
21711
 
+      # The linker will automatically build a .lib file if we build a DLL.
21712
 
+      old_archive_from_new_cmds='true'
21713
 
+      # FIXME: Should let the user specify the lib program.
21714
 
+      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
21715
 
+      fix_srcfile_path='`cygpath -w "$srcfile"`'
21716
 
+      enable_shared_with_static_runtimes=yes
21717
 
+      ;;
21718
 
 
21719
 
-# Is shlibpath searched before the hard-coded library search path?
21720
 
-shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21721
 
+    darwin* | rhapsody*)
21722
 
 
21723
 
-# How to hardcode a shared library path into an executable.
21724
 
-hardcode_action=$hardcode_action
21725
 
 
21726
 
-# Whether we should hardcode library paths into libraries.
21727
 
-hardcode_into_libs=$hardcode_into_libs
21728
 
+  archive_cmds_need_lc=no
21729
 
+  hardcode_direct=no
21730
 
+  hardcode_automatic=yes
21731
 
+  hardcode_shlibpath_var=unsupported
21732
 
+  whole_archive_flag_spec=''
21733
 
+  link_all_deplibs=yes
21734
 
+  allow_undefined_flag="$_lt_dar_allow_undefined"
21735
 
+  case $cc_basename in
21736
 
+     ifort*) _lt_dar_can_shared=yes ;;
21737
 
+     *) _lt_dar_can_shared=$GCC ;;
21738
 
+  esac
21739
 
+  if test "$_lt_dar_can_shared" = "yes"; then
21740
 
+    output_verbose_link_cmd=echo
21741
 
+    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
21742
 
+    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
21743
 
+    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
21744
 
+    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
21745
 
 
21746
 
-# Flag to hardcode \$libdir into a binary during linking.
21747
 
-# This must work even if \$libdir does not exist.
21748
 
-hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21749
 
+  else
21750
 
+  ld_shlibs=no
21751
 
+  fi
21752
 
 
21753
 
-# If ld is used when linking, flag to hardcode \$libdir into
21754
 
-# a binary during linking. This must work even if \$libdir does
21755
 
-# not exist.
21756
 
-hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21757
 
+      ;;
21758
 
 
21759
 
-# Whether we need a single -rpath flag with a separated argument.
21760
 
-hardcode_libdir_separator=$lt_hardcode_libdir_separator
21761
 
+    dgux*)
21762
 
+      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21763
 
+      hardcode_libdir_flag_spec='-L$libdir'
21764
 
+      hardcode_shlibpath_var=no
21765
 
+      ;;
21766
 
 
21767
 
-# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21768
 
-# resulting binary.
21769
 
-hardcode_direct=$hardcode_direct
21770
 
+    freebsd1*)
21771
 
+      ld_shlibs=no
21772
 
+      ;;
21773
 
 
21774
 
-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21775
 
-# resulting binary.
21776
 
-hardcode_minus_L=$hardcode_minus_L
21777
 
+    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
21778
 
+    # support.  Future versions do this automatically, but an explicit c++rt0.o
21779
 
+    # does not break anything, and helps significantly (at the cost of a little
21780
 
+    # extra space).
21781
 
+    freebsd2.2*)
21782
 
+      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
21783
 
+      hardcode_libdir_flag_spec='-R$libdir'
21784
 
+      hardcode_direct=yes
21785
 
+      hardcode_shlibpath_var=no
21786
 
+      ;;
21787
 
 
21788
 
-# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21789
 
-# the resulting binary.
21790
 
-hardcode_shlibpath_var=$hardcode_shlibpath_var
21791
 
+    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
21792
 
+    freebsd2*)
21793
 
+      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21794
 
+      hardcode_direct=yes
21795
 
+      hardcode_minus_L=yes
21796
 
+      hardcode_shlibpath_var=no
21797
 
+      ;;
21798
 
 
21799
 
-# Set to yes if building a shared library automatically hardcodes DIR into the library
21800
 
-# and all subsequent libraries and executables linked against it.
21801
 
-hardcode_automatic=$hardcode_automatic
21802
 
+    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
21803
 
+    freebsd* | dragonfly*)
21804
 
+      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
21805
 
+      hardcode_libdir_flag_spec='-R$libdir'
21806
 
+      hardcode_direct=yes
21807
 
+      hardcode_shlibpath_var=no
21808
 
+      ;;
21809
 
 
21810
 
-# Variables whose values should be saved in libtool wrapper scripts and
21811
 
-# restored at relink time.
21812
 
-variables_saved_for_relink="$variables_saved_for_relink"
21813
 
+    hpux9*)
21814
 
+      if test "$GCC" = yes; then
21815
 
+       archive_cmds='$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'
21816
 
+      else
21817
 
+       archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
21818
 
+      fi
21819
 
+      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
21820
 
+      hardcode_libdir_separator=:
21821
 
+      hardcode_direct=yes
21822
 
 
21823
 
-# Whether libtool must link a program against all its dependency libraries.
21824
 
-link_all_deplibs=$link_all_deplibs
21825
 
+      # hardcode_minus_L: Not really in the search PATH,
21826
 
+      # but as the default location of the library.
21827
 
+      hardcode_minus_L=yes
21828
 
+      export_dynamic_flag_spec='${wl}-E'
21829
 
+      ;;
21830
 
 
21831
 
-# Compile-time system search path for libraries
21832
 
-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21833
 
+    hpux10*)
21834
 
+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
21835
 
+       archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21836
 
+      else
21837
 
+       archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
21838
 
+      fi
21839
 
+      if test "$with_gnu_ld" = no; then
21840
 
+       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
21841
 
+       hardcode_libdir_flag_spec_ld='+b $libdir'
21842
 
+       hardcode_libdir_separator=:
21843
 
+       hardcode_direct=yes
21844
 
+       hardcode_direct_absolute=yes
21845
 
+       export_dynamic_flag_spec='${wl}-E'
21846
 
+       # hardcode_minus_L: Not really in the search PATH,
21847
 
+       # but as the default location of the library.
21848
 
+       hardcode_minus_L=yes
21849
 
+      fi
21850
 
+      ;;
21851
 
 
21852
 
-# Run-time system search path for libraries
21853
 
-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21854
 
-
21855
 
-# Fix the shell variable \$srcfile for the compiler.
21856
 
-fix_srcfile_path=$lt_fix_srcfile_path
21857
 
-
21858
 
-# Set to yes if exported symbols are required.
21859
 
-always_export_symbols=$always_export_symbols
21860
 
-
21861
 
-# The commands to list exported symbols.
21862
 
-export_symbols_cmds=$lt_export_symbols_cmds
21863
 
-
21864
 
-# The commands to extract the exported symbol list from a shared archive.
21865
 
-extract_expsyms_cmds=$lt_extract_expsyms_cmds
21866
 
-
21867
 
-# Symbols that should not be listed in the preloaded symbols.
21868
 
-exclude_expsyms=$lt_exclude_expsyms
21869
 
+    hpux11*)
21870
 
+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
21871
 
+       case $host_cpu in
21872
 
+       hppa*64*)
21873
 
+         archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21874
 
+         ;;
21875
 
+       ia64*)
21876
 
+         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
21877
 
+         ;;
21878
 
+       *)
21879
 
+         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21880
 
+         ;;
21881
 
+       esac
21882
 
+      else
21883
 
+       case $host_cpu in
21884
 
+       hppa*64*)
21885
 
+         archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21886
 
+         ;;
21887
 
+       ia64*)
21888
 
+         archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
21889
 
+         ;;
21890
 
+       *)
21891
 
+         archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21892
 
+         ;;
21893
 
+       esac
21894
 
+      fi
21895
 
+      if test "$with_gnu_ld" = no; then
21896
 
+       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
21897
 
+       hardcode_libdir_separator=:
21898
 
 
21899
 
-# Symbols that must always be exported.
21900
 
-include_expsyms=$lt_include_expsyms
21901
 
+       case $host_cpu in
21902
 
+       hppa*64*|ia64*)
21903
 
+         hardcode_direct=no
21904
 
+         hardcode_shlibpath_var=no
21905
 
+         ;;
21906
 
+       *)
21907
 
+         hardcode_direct=yes
21908
 
+         hardcode_direct_absolute=yes
21909
 
+         export_dynamic_flag_spec='${wl}-E'
21910
 
 
21911
 
-# ### END LIBTOOL CONFIG
21912
 
+         # hardcode_minus_L: Not really in the search PATH,
21913
 
+         # but as the default location of the library.
21914
 
+         hardcode_minus_L=yes
21915
 
+         ;;
21916
 
+       esac
21917
 
+      fi
21918
 
+      ;;
21919
 
 
21920
 
-__EOF__
21921
 
+    irix5* | irix6* | nonstopux*)
21922
 
+      if test "$GCC" = yes; then
21923
 
+       archive_cmds='$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'
21924
 
+       # Try to use the -exported_symbol ld option, if it does not
21925
 
+       # work, assume that -exports_file does not work either and
21926
 
+       # implicitly export all symbols.
21927
 
+        save_LDFLAGS="$LDFLAGS"
21928
 
+        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
21929
 
+        cat >conftest.$ac_ext <<_ACEOF
21930
 
+int foo(void) {}
21931
 
+_ACEOF
21932
 
+rm -f conftest.$ac_objext conftest$ac_exeext
21933
 
+if { (ac_try="$ac_link"
21934
 
+case "(($ac_try" in
21935
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21936
 
+  *) ac_try_echo=$ac_try;;
21937
 
+esac
21938
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21939
 
+$as_echo "$ac_try_echo") >&5
21940
 
+  (eval "$ac_link") 2>conftest.er1
21941
 
+  ac_status=$?
21942
 
+  grep -v '^ *+' conftest.er1 >conftest.err
21943
 
+  rm -f conftest.er1
21944
 
+  cat conftest.err >&5
21945
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946
 
+  (exit $ac_status); } && {
21947
 
+        test -z "$ac_c_werror_flag" ||
21948
 
+        test ! -s conftest.err
21949
 
+       } && test -s conftest$ac_exeext && {
21950
 
+        test "$cross_compiling" = yes ||
21951
 
+        $as_test_x conftest$ac_exeext
21952
 
+       }; then
21953
 
+  archive_expsym_cmds='$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'
21954
 
 
21955
 
+else
21956
 
+  $as_echo "$as_me: failed program was:" >&5
21957
 
+sed 's/^/| /' conftest.$ac_ext >&5
21958
 
 
21959
 
-  case $host_os in
21960
 
-  aix3*)
21961
 
-    cat <<\EOF >> "$cfgfile"
21962
 
 
21963
 
-# AIX sometimes has problems with the GCC collect2 program.  For some
21964
 
-# reason, if we set the COLLECT_NAMES environment variable, the problems
21965
 
-# vanish in a puff of smoke.
21966
 
-if test "X${COLLECT_NAMES+set}" != Xset; then
21967
 
-  COLLECT_NAMES=
21968
 
-  export COLLECT_NAMES
21969
 
 fi
21970
 
-EOF
21971
 
-    ;;
21972
 
-  esac
21973
 
-
21974
 
-  # We use sed instead of cat because bash on DJGPP gets confused if
21975
 
-  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
21976
 
-  # text mode, it properly converts lines to CR/LF.  This bash problem
21977
 
-  # is reportedly fixed, but why not run on old versions too?
21978
 
-  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
21979
 
 
21980
 
-  mv -f "$cfgfile" "$ofile" || \
21981
 
-    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21982
 
-  chmod +x "$ofile"
21983
 
+rm -rf conftest.dSYM
21984
 
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21985
 
+      conftest$ac_exeext conftest.$ac_ext
21986
 
+        LDFLAGS="$save_LDFLAGS"
21987
 
+      else
21988
 
+       archive_cmds='$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'
21989
 
+       archive_expsym_cmds='$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'
21990
 
+      fi
21991
 
+      archive_cmds_need_lc='no'
21992
 
+      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
21993
 
+      hardcode_libdir_separator=:
21994
 
+      inherit_rpath=yes
21995
 
+      link_all_deplibs=yes
21996
 
+      ;;
21997
 
 
21998
 
-else
21999
 
-  # If there is no Makefile yet, we rely on a make rule to execute
22000
 
-  # `config.status --recheck' to rerun these tests and create the
22001
 
-  # libtool script then.
22002
 
-  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
22003
 
-  if test -f "$ltmain_in"; then
22004
 
-    test -f Makefile && make "$ltmain"
22005
 
-  fi
22006
 
-fi
22007
 
+    netbsd* | netbsdelf*-gnu)
22008
 
+      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
22009
 
+       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
22010
 
+      else
22011
 
+       archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
22012
 
+      fi
22013
 
+      hardcode_libdir_flag_spec='-R$libdir'
22014
 
+      hardcode_direct=yes
22015
 
+      hardcode_shlibpath_var=no
22016
 
+      ;;
22017
 
 
22018
 
+    newsos6)
22019
 
+      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22020
 
+      hardcode_direct=yes
22021
 
+      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
22022
 
+      hardcode_libdir_separator=:
22023
 
+      hardcode_shlibpath_var=no
22024
 
+      ;;
22025
 
 
22026
 
-ac_ext=c
22027
 
-ac_cpp='$CPP $CPPFLAGS'
22028
 
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22029
 
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22030
 
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
22031
 
+    *nto* | *qnx*)
22032
 
+      ;;
22033
 
 
22034
 
-CC="$lt_save_CC"
22035
 
+    openbsd*)
22036
 
+      if test -f /usr/libexec/ld.so; then
22037
 
+       hardcode_direct=yes
22038
 
+       hardcode_shlibpath_var=no
22039
 
+       hardcode_direct_absolute=yes
22040
 
+       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22041
 
+         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22042
 
+         archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
22043
 
+         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
22044
 
+         export_dynamic_flag_spec='${wl}-E'
22045
 
+       else
22046
 
+         case $host_os in
22047
 
+          openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
22048
 
+            archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22049
 
+            hardcode_libdir_flag_spec='-R$libdir'
22050
 
+            ;;
22051
 
+          *)
22052
 
+            archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22053
 
+            hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
22054
 
+            ;;
22055
 
+         esac
22056
 
+       fi
22057
 
+      else
22058
 
+       ld_shlibs=no
22059
 
+      fi
22060
 
+      ;;
22061
 
 
22062
 
+    os2*)
22063
 
+      hardcode_libdir_flag_spec='-L$libdir'
22064
 
+      hardcode_minus_L=yes
22065
 
+      allow_undefined_flag=unsupported
22066
 
+      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
22067
 
+      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22068
 
+      ;;
22069
 
 
22070
 
-# Check whether --with-tags was given.
22071
 
-if test "${with_tags+set}" = set; then
22072
 
-  withval=$with_tags; tagnames="$withval"
22073
 
-fi
22074
 
+    osf3*)
22075
 
+      if test "$GCC" = yes; then
22076
 
+       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
22077
 
+       archive_cmds='$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'
22078
 
+      else
22079
 
+       allow_undefined_flag=' -expect_unresolved \*'
22080
 
+       archive_cmds='$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'
22081
 
+      fi
22082
 
+      archive_cmds_need_lc='no'
22083
 
+      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
22084
 
+      hardcode_libdir_separator=:
22085
 
+      ;;
22086
 
 
22087
 
+    osf4* | osf5*)     # as osf3* with the addition of -msym flag
22088
 
+      if test "$GCC" = yes; then
22089
 
+       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
22090
 
+       archive_cmds='$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'
22091
 
+       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
22092
 
+      else
22093
 
+       allow_undefined_flag=' -expect_unresolved \*'
22094
 
+       archive_cmds='$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'
22095
 
+       archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
22096
 
+       $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'
22097
 
 
22098
 
-if test -f "$ltmain" && test -n "$tagnames"; then
22099
 
-  if test ! -f "${ofile}"; then
22100
 
-    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
22101
 
-echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
22102
 
-  fi
22103
 
+       # Both c and cxx compiler support -rpath directly
22104
 
+       hardcode_libdir_flag_spec='-rpath $libdir'
22105
 
+      fi
22106
 
+      archive_cmds_need_lc='no'
22107
 
+      hardcode_libdir_separator=:
22108
 
+      ;;
22109
 
 
22110
 
-  if test -z "$LTCC"; then
22111
 
-    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
22112
 
-    if test -z "$LTCC"; then
22113
 
-      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
22114
 
-echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
22115
 
-    else
22116
 
-      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
22117
 
-echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
22118
 
-    fi
22119
 
-  fi
22120
 
-  if test -z "$LTCFLAGS"; then
22121
 
-    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
22122
 
-  fi
22123
 
+    solaris*)
22124
 
+      no_undefined_flag=' -z defs'
22125
 
+      if test "$GCC" = yes; then
22126
 
+       wlarc='${wl}'
22127
 
+       archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22128
 
+       archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
22129
 
+         $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
22130
 
+      else
22131
 
+       case `$CC -V 2>&1` in
22132
 
+       *"Compilers 5.0"*)
22133
 
+         wlarc=''
22134
 
+         archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22135
 
+         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
22136
 
+         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
22137
 
+         ;;
22138
 
+       *)
22139
 
+         wlarc='${wl}'
22140
 
+         archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
22141
 
+         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
22142
 
+         $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
22143
 
+         ;;
22144
 
+       esac
22145
 
+      fi
22146
 
+      hardcode_libdir_flag_spec='-R$libdir'
22147
 
+      hardcode_shlibpath_var=no
22148
 
+      case $host_os in
22149
 
+      solaris2.[0-5] | solaris2.[0-5].*) ;;
22150
 
+      *)
22151
 
+       # The compiler driver will combine and reorder linker options,
22152
 
+       # but understands `-z linker_flag'.  GCC discards it without `$wl',
22153
 
+       # but is careful enough not to reorder.
22154
 
+       # Supported since Solaris 2.6 (maybe 2.5.1?)
22155
 
+       if test "$GCC" = yes; then
22156
 
+         whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
22157
 
+       else
22158
 
+         whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
22159
 
+       fi
22160
 
+       ;;
22161
 
+      esac
22162
 
+      link_all_deplibs=yes
22163
 
+      ;;
22164
 
 
22165
 
-  # Extract list of available tagged configurations in $ofile.
22166
 
-  # Note that this assumes the entire list is on one line.
22167
 
-  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
22168
 
+    sunos4*)
22169
 
+      if test "x$host_vendor" = xsequent; then
22170
 
+       # Use $CC to link under sequent, because it throws in some extra .o
22171
 
+       # files that make .init and .fini sections work.
22172
 
+       archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22173
 
+      else
22174
 
+       archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22175
 
+      fi
22176
 
+      hardcode_libdir_flag_spec='-L$libdir'
22177
 
+      hardcode_direct=yes
22178
 
+      hardcode_minus_L=yes
22179
 
+      hardcode_shlibpath_var=no
22180
 
+      ;;
22181
 
 
22182
 
-  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
22183
 
-  for tagname in $tagnames; do
22184
 
-    IFS="$lt_save_ifs"
22185
 
-    # Check whether tagname contains only valid characters
22186
 
-    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
22187
 
-    "") ;;
22188
 
-    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
22189
 
-echo "$as_me: error: invalid tag name: $tagname" >&2;}
22190
 
-   { (exit 1); exit 1; }; }
22191
 
+    sysv4)
22192
 
+      case $host_vendor in
22193
 
+       sni)
22194
 
+         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22195
 
+         hardcode_direct=yes # is this really true???
22196
 
        ;;
22197
 
-    esac
22198
 
-
22199
 
-    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
22200
 
-    then
22201
 
-      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
22202
 
-echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
22203
 
-   { (exit 1); exit 1; }; }
22204
 
-    fi
22205
 
+       siemens)
22206
 
+         ## LD is ld it makes a PLAMLIB
22207
 
+         ## CC just makes a GrossModule.
22208
 
+         archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22209
 
+         reload_cmds='$CC -r -o $output$reload_objs'
22210
 
+         hardcode_direct=no
22211
 
+        ;;
22212
 
+       motorola)
22213
 
+         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22214
 
+         hardcode_direct=no #Motorola manual says yes, but my tests say they lie
22215
 
+       ;;
22216
 
+      esac
22217
 
+      runpath_var='LD_RUN_PATH'
22218
 
+      hardcode_shlibpath_var=no
22219
 
+      ;;
22220
 
 
22221
 
-    # Update the list of available tags.
22222
 
-    if test -n "$tagname"; then
22223
 
-      echo appending configuration tag \"$tagname\" to $ofile
22224
 
-
22225
 
-      case $tagname in
22226
 
-      CXX)
22227
 
-       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
22228
 
-           ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
22229
 
-           (test "X$CXX" != "Xg++"))) ; then
22230
 
-         ac_ext=cpp
22231
 
-ac_cpp='$CXXCPP $CPPFLAGS'
22232
 
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22233
 
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22234
 
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22235
 
+    sysv4.3*)
22236
 
+      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22237
 
+      hardcode_shlibpath_var=no
22238
 
+      export_dynamic_flag_spec='-Bexport'
22239
 
+      ;;
22240
 
 
22241
 
+    sysv4*MP*)
22242
 
+      if test -d /usr/nec; then
22243
 
+       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22244
 
+       hardcode_shlibpath_var=no
22245
 
+       runpath_var=LD_RUN_PATH
22246
 
+       hardcode_runpath_var=yes
22247
 
+       ld_shlibs=yes
22248
 
+      fi
22249
 
+      ;;
22250
 
 
22251
 
+    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
22252
 
+      no_undefined_flag='${wl}-z,text'
22253
 
+      archive_cmds_need_lc=no
22254
 
+      hardcode_shlibpath_var=no
22255
 
+      runpath_var='LD_RUN_PATH'
22256
 
 
22257
 
+      if test "$GCC" = yes; then
22258
 
+       archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22259
 
+       archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22260
 
+      else
22261
 
+       archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22262
 
+       archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22263
 
+      fi
22264
 
+      ;;
22265
 
 
22266
 
-archive_cmds_need_lc_CXX=no
22267
 
-allow_undefined_flag_CXX=
22268
 
-always_export_symbols_CXX=no
22269
 
-archive_expsym_cmds_CXX=
22270
 
-export_dynamic_flag_spec_CXX=
22271
 
-hardcode_direct_CXX=no
22272
 
-hardcode_libdir_flag_spec_CXX=
22273
 
-hardcode_libdir_flag_spec_ld_CXX=
22274
 
-hardcode_libdir_separator_CXX=
22275
 
-hardcode_minus_L_CXX=no
22276
 
-hardcode_shlibpath_var_CXX=unsupported
22277
 
-hardcode_automatic_CXX=no
22278
 
-module_cmds_CXX=
22279
 
-module_expsym_cmds_CXX=
22280
 
-link_all_deplibs_CXX=unknown
22281
 
-old_archive_cmds_CXX=$old_archive_cmds
22282
 
-no_undefined_flag_CXX=
22283
 
-whole_archive_flag_spec_CXX=
22284
 
-enable_shared_with_static_runtimes_CXX=no
22285
 
+    sysv5* | sco3.2v5* | sco5v6*)
22286
 
+      # Note: We can NOT use -z defs as we might desire, because we do not
22287
 
+      # link with -lc, and that would cause any symbols used from libc to
22288
 
+      # always be unresolved, which means just about no library would
22289
 
+      # ever link correctly.  If we're not using GNU ld we use -z text
22290
 
+      # though, which does catch some bad symbols but isn't as heavy-handed
22291
 
+      # as -z defs.
22292
 
+      no_undefined_flag='${wl}-z,text'
22293
 
+      allow_undefined_flag='${wl}-z,nodefs'
22294
 
+      archive_cmds_need_lc=no
22295
 
+      hardcode_shlibpath_var=no
22296
 
+      hardcode_libdir_flag_spec='${wl}-R,$libdir'
22297
 
+      hardcode_libdir_separator=':'
22298
 
+      link_all_deplibs=yes
22299
 
+      export_dynamic_flag_spec='${wl}-Bexport'
22300
 
+      runpath_var='LD_RUN_PATH'
22301
 
 
22302
 
-# Dependencies to place before and after the object being linked:
22303
 
-predep_objects_CXX=
22304
 
-postdep_objects_CXX=
22305
 
-predeps_CXX=
22306
 
-postdeps_CXX=
22307
 
-compiler_lib_search_path_CXX=
22308
 
-compiler_lib_search_dirs_CXX=
22309
 
+      if test "$GCC" = yes; then
22310
 
+       archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22311
 
+       archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22312
 
+      else
22313
 
+       archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22314
 
+       archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22315
 
+      fi
22316
 
+      ;;
22317
 
 
22318
 
-# Source file extension for C++ test sources.
22319
 
-ac_ext=cpp
22320
 
+    uts4*)
22321
 
+      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22322
 
+      hardcode_libdir_flag_spec='-L$libdir'
22323
 
+      hardcode_shlibpath_var=no
22324
 
+      ;;
22325
 
 
22326
 
-# Object file extension for compiled C++ test sources.
22327
 
-objext=o
22328
 
-objext_CXX=$objext
22329
 
+    *)
22330
 
+      ld_shlibs=no
22331
 
+      ;;
22332
 
+    esac
22333
 
 
22334
 
-# Code to be used in simple compile tests
22335
 
-lt_simple_compile_test_code="int some_variable = 0;"
22336
 
+    if test x$host_vendor = xsni; then
22337
 
+      case $host in
22338
 
+      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
22339
 
+       export_dynamic_flag_spec='${wl}-Blargedynsym'
22340
 
+       ;;
22341
 
+      esac
22342
 
+    fi
22343
 
+  fi
22344
 
 
22345
 
-# Code to be used in simple link tests
22346
 
-lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
22347
 
+{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
22348
 
+$as_echo "$ld_shlibs" >&6; }
22349
 
+test "$ld_shlibs" = no && can_build_shared=no
22350
 
 
22351
 
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
22352
 
+with_gnu_ld=$with_gnu_ld
22353
 
 
22354
 
-# If no C compiler was specified, use CC.
22355
 
-LTCC=${LTCC-"$CC"}
22356
 
 
22357
 
-# If no C compiler flags were specified, use CFLAGS.
22358
 
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
22359
 
 
22360
 
-# Allow CC to be a program name with arguments.
22361
 
-compiler=$CC
22362
 
 
22363
 
 
22364
 
-# save warnings/boilerplate of simple test code
22365
 
-ac_outfile=conftest.$ac_objext
22366
 
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext
22367
 
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
22368
 
-_lt_compiler_boilerplate=`cat conftest.err`
22369
 
-$rm conftest*
22370
 
 
22371
 
-ac_outfile=conftest.$ac_objext
22372
 
-echo "$lt_simple_link_test_code" >conftest.$ac_ext
22373
 
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
22374
 
-_lt_linker_boilerplate=`cat conftest.err`
22375
 
-$rm -r conftest*
22376
 
 
22377
 
 
22378
 
-# Allow CC to be a program name with arguments.
22379
 
-lt_save_CC=$CC
22380
 
-lt_save_LD=$LD
22381
 
-lt_save_GCC=$GCC
22382
 
-GCC=$GXX
22383
 
-lt_save_with_gnu_ld=$with_gnu_ld
22384
 
-lt_save_path_LD=$lt_cv_path_LD
22385
 
-if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
22386
 
-  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
22387
 
-else
22388
 
-  $as_unset lt_cv_prog_gnu_ld
22389
 
-fi
22390
 
-if test -n "${lt_cv_path_LDCXX+set}"; then
22391
 
-  lt_cv_path_LD=$lt_cv_path_LDCXX
22392
 
-else
22393
 
-  $as_unset lt_cv_path_LD
22394
 
-fi
22395
 
-test -z "${LDCXX+set}" || LD=$LDCXX
22396
 
-CC=${CXX-"c++"}
22397
 
-compiler=$CC
22398
 
-compiler_CXX=$CC
22399
 
-for cc_temp in $compiler""; do
22400
 
-  case $cc_temp in
22401
 
-    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
22402
 
-    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
22403
 
-    \-*) ;;
22404
 
-    *) break;;
22405
 
-  esac
22406
 
-done
22407
 
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
22408
 
 
22409
 
 
22410
 
-# We don't want -fno-exception wen compiling C++ code, so set the
22411
 
-# no_builtin_flag separately
22412
 
-if test "$GXX" = yes; then
22413
 
-  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
22414
 
-else
22415
 
-  lt_prog_compiler_no_builtin_flag_CXX=
22416
 
-fi
22417
 
 
22418
 
-if test "$GXX" = yes; then
22419
 
-  # Set up default GNU C++ configuration
22420
 
 
22421
 
 
22422
 
-# Check whether --with-gnu-ld was given.
22423
 
-if test "${with_gnu_ld+set}" = set; then
22424
 
-  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22425
 
-else
22426
 
-  with_gnu_ld=no
22427
 
-fi
22428
 
 
22429
 
-ac_prog=ld
22430
 
-if test "$GCC" = yes; then
22431
 
-  # Check if gcc -print-prog-name=ld gives a path.
22432
 
-  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
22433
 
-echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
22434
 
-  case $host in
22435
 
-  *-*-mingw*)
22436
 
-    # gcc leaves a trailing carriage return which upsets mingw
22437
 
-    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22438
 
-  *)
22439
 
-    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22440
 
-  esac
22441
 
-  case $ac_prog in
22442
 
-    # Accept absolute paths.
22443
 
-    [\\/]* | ?:[\\/]*)
22444
 
-      re_direlt='/[^/][^/]*/\.\./'
22445
 
-      # Canonicalize the pathname of ld
22446
 
-      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
22447
 
-      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
22448
 
-       ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
22449
 
-      done
22450
 
-      test -z "$LD" && LD="$ac_prog"
22451
 
+
22452
 
+#
22453
 
+# Do we need to explicitly link libc?
22454
 
+#
22455
 
+case "x$archive_cmds_need_lc" in
22456
 
+x|xyes)
22457
 
+  # Assume -lc should be added
22458
 
+  archive_cmds_need_lc=yes
22459
 
+
22460
 
+  if test "$enable_shared" = yes && test "$GCC" = yes; then
22461
 
+    case $archive_cmds in
22462
 
+    *'~'*)
22463
 
+      # FIXME: we may have to deal with multi-command sequences.
22464
 
       ;;
22465
 
-  "")
22466
 
-    # If it fails, then pretend we aren't using GCC.
22467
 
-    ac_prog=ld
22468
 
-    ;;
22469
 
-  *)
22470
 
-    # If it is relative, then search for the first ld in PATH.
22471
 
-    with_gnu_ld=unknown
22472
 
-    ;;
22473
 
-  esac
22474
 
-elif test "$with_gnu_ld" = yes; then
22475
 
-  { echo "$as_me:$LINENO: checking for GNU ld" >&5
22476
 
-echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
22477
 
-else
22478
 
-  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
22479
 
-echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
22480
 
-fi
22481
 
-if test "${lt_cv_path_LD+set}" = set; then
22482
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
22483
 
-else
22484
 
-  if test -z "$LD"; then
22485
 
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22486
 
-  for ac_dir in $PATH; do
22487
 
-    IFS="$lt_save_ifs"
22488
 
-    test -z "$ac_dir" && ac_dir=.
22489
 
-    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22490
 
-      lt_cv_path_LD="$ac_dir/$ac_prog"
22491
 
-      # Check to see if the program is GNU ld.  I'd rather use --version,
22492
 
-      # but apparently some variants of GNU ld only accept -v.
22493
 
-      # Break only if it was the GNU/non-GNU ld that we prefer.
22494
 
-      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22495
 
-      *GNU* | *'with BFD'*)
22496
 
-       test "$with_gnu_ld" != no && break
22497
 
-       ;;
22498
 
-      *)
22499
 
-       test "$with_gnu_ld" != yes && break
22500
 
-       ;;
22501
 
-      esac
22502
 
-    fi
22503
 
-  done
22504
 
-  IFS="$lt_save_ifs"
22505
 
-else
22506
 
-  lt_cv_path_LD="$LD" # Let the user override the test with a path.
22507
 
-fi
22508
 
-fi
22509
 
+    '$CC '*)
22510
 
+      # Test whether the compiler implicitly links with -lc since on some
22511
 
+      # systems, -lgcc has to come before -lc. If gcc already passes -lc
22512
 
+      # to ld, don't add -lc before -lgcc.
22513
 
+      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22514
 
+$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
22515
 
+      $RM conftest*
22516
 
+      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
22517
 
 
22518
 
-LD="$lt_cv_path_LD"
22519
 
-if test -n "$LD"; then
22520
 
-  { echo "$as_me:$LINENO: result: $LD" >&5
22521
 
-echo "${ECHO_T}$LD" >&6; }
22522
 
-else
22523
 
-  { echo "$as_me:$LINENO: result: no" >&5
22524
 
-echo "${ECHO_T}no" >&6; }
22525
 
-fi
22526
 
-test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
22527
 
-echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
22528
 
-   { (exit 1); exit 1; }; }
22529
 
-{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
22530
 
-echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
22531
 
-if test "${lt_cv_prog_gnu_ld+set}" = set; then
22532
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
22533
 
-else
22534
 
-  # I'd rather use --version here, but apparently some GNU lds only accept -v.
22535
 
-case `$LD -v 2>&1 </dev/null` in
22536
 
-*GNU* | *'with BFD'*)
22537
 
-  lt_cv_prog_gnu_ld=yes
22538
 
-  ;;
22539
 
-*)
22540
 
-  lt_cv_prog_gnu_ld=no
22541
 
+      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22542
 
+  (eval $ac_compile) 2>&5
22543
 
+  ac_status=$?
22544
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545
 
+  (exit $ac_status); } 2>conftest.err; then
22546
 
+        soname=conftest
22547
 
+        lib=conftest
22548
 
+        libobjs=conftest.$ac_objext
22549
 
+        deplibs=
22550
 
+        wl=$lt_prog_compiler_wl
22551
 
+       pic_flag=$lt_prog_compiler_pic
22552
 
+        compiler_flags=-v
22553
 
+        linker_flags=-v
22554
 
+        verstring=
22555
 
+        output_objdir=.
22556
 
+        libname=conftest
22557
 
+        lt_save_allow_undefined_flag=$allow_undefined_flag
22558
 
+        allow_undefined_flag=
22559
 
+        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
22560
 
+  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
22561
 
+  ac_status=$?
22562
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563
 
+  (exit $ac_status); }
22564
 
+        then
22565
 
+         archive_cmds_need_lc=no
22566
 
+        else
22567
 
+         archive_cmds_need_lc=yes
22568
 
+        fi
22569
 
+        allow_undefined_flag=$lt_save_allow_undefined_flag
22570
 
+      else
22571
 
+        cat conftest.err 1>&5
22572
 
+      fi
22573
 
+      $RM conftest*
22574
 
+      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
22575
 
+$as_echo "$archive_cmds_need_lc" >&6; }
22576
 
+      ;;
22577
 
+    esac
22578
 
+  fi
22579
 
   ;;
22580
 
 esac
22581
 
-fi
22582
 
-{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
22583
 
-echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
22584
 
-with_gnu_ld=$lt_cv_prog_gnu_ld
22585
 
 
22586
 
 
22587
 
 
22588
 
-  # Check if GNU C++ uses GNU ld as the underlying linker, since the
22589
 
-  # archiving commands below assume that GNU ld is being used.
22590
 
-  if test "$with_gnu_ld" = yes; then
22591
 
-    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
22592
 
-    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22593
 
 
22594
 
-    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
22595
 
-    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
22596
 
 
22597
 
-    # If archive_cmds runs LD, not CC, wlarc should be empty
22598
 
-    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
22599
 
-    #     investigate it a little bit more. (MM)
22600
 
-    wlarc='${wl}'
22601
 
 
22602
 
-    # ancient GNU ld didn't support --whole-archive et. al.
22603
 
-    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
22604
 
-       grep 'no-whole-archive' > /dev/null; then
22605
 
-      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
22606
 
-    else
22607
 
-      whole_archive_flag_spec_CXX=
22608
 
-    fi
22609
 
-  else
22610
 
-    with_gnu_ld=no
22611
 
-    wlarc=
22612
 
 
22613
 
-    # A generic and very simple default shared library creation
22614
 
-    # command for GNU C++ for the case where it uses the native
22615
 
-    # linker, instead of GNU ld.  If possible, this setting should
22616
 
-    # overridden to take advantage of the native linker features on
22617
 
-    # the platform it is being used on.
22618
 
-    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
22619
 
-  fi
22620
 
 
22621
 
-  # Commands to make compiler produce verbose output that lists
22622
 
-  # what "hidden" libraries, object files and flags are used when
22623
 
-  # linking a shared library.
22624
 
-  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
22625
 
 
22626
 
-else
22627
 
-  GXX=no
22628
 
-  with_gnu_ld=no
22629
 
-  wlarc=
22630
 
-fi
22631
 
 
22632
 
-# PORTME: fill in a description of your system's C++ link characteristics
22633
 
-{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
22634
 
-echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
22635
 
-ld_shlibs_CXX=yes
22636
 
-case $host_os in
22637
 
-  aix3*)
22638
 
-    # FIXME: insert proper C++ library support
22639
 
-    ld_shlibs_CXX=no
22640
 
-    ;;
22641
 
-  aix[4-9]*)
22642
 
-    if test "$host_cpu" = ia64; then
22643
 
-      # On IA64, the linker does run time linking by default, so we don't
22644
 
-      # have to do anything special.
22645
 
-      aix_use_runtimelinking=no
22646
 
-      exp_sym_flag='-Bexport'
22647
 
-      no_entry_flag=""
22648
 
-    else
22649
 
-      aix_use_runtimelinking=no
22650
 
 
22651
 
-      # Test if we are trying to use run time linking or normal
22652
 
-      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
22653
 
-      # need to do runtime linking.
22654
 
-      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
22655
 
-       for ld_flag in $LDFLAGS; do
22656
 
-         case $ld_flag in
22657
 
-         *-brtl*)
22658
 
-           aix_use_runtimelinking=yes
22659
 
-           break
22660
 
-           ;;
22661
 
-         esac
22662
 
-       done
22663
 
-       ;;
22664
 
-      esac
22665
 
 
22666
 
-      exp_sym_flag='-bexport'
22667
 
-      no_entry_flag='-bnoentry'
22668
 
-    fi
22669
 
 
22670
 
-    # When large executables or shared objects are built, AIX ld can
22671
 
-    # have problems creating the table of contents.  If linking a library
22672
 
-    # or program results in "error TOC overflow" add -mminimal-toc to
22673
 
-    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
22674
 
-    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
22675
 
-
22676
 
-    archive_cmds_CXX=''
22677
 
-    hardcode_direct_CXX=yes
22678
 
-    hardcode_libdir_separator_CXX=':'
22679
 
-    link_all_deplibs_CXX=yes
22680
 
 
22681
 
-    if test "$GXX" = yes; then
22682
 
-      case $host_os in aix4.[012]|aix4.[012].*)
22683
 
-      # We only want to do this on AIX 4.2 and lower, the check
22684
 
-      # below for broken collect2 doesn't work under 4.3+
22685
 
-       collect2name=`${CC} -print-prog-name=collect2`
22686
 
-       if test -f "$collect2name" && \
22687
 
-          strings "$collect2name" | grep resolve_lib_name >/dev/null
22688
 
-       then
22689
 
-         # We have reworked collect2
22690
 
-         :
22691
 
-       else
22692
 
-         # We have old collect2
22693
 
-         hardcode_direct_CXX=unsupported
22694
 
-         # It fails to find uninstalled libraries when the uninstalled
22695
 
-         # path is not listed in the libpath.  Setting hardcode_minus_L
22696
 
-         # to unsupported forces relinking
22697
 
-         hardcode_minus_L_CXX=yes
22698
 
-         hardcode_libdir_flag_spec_CXX='-L$libdir'
22699
 
-         hardcode_libdir_separator_CXX=
22700
 
-       fi
22701
 
-       ;;
22702
 
-      esac
22703
 
-      shared_flag='-shared'
22704
 
-      if test "$aix_use_runtimelinking" = yes; then
22705
 
-       shared_flag="$shared_flag "'${wl}-G'
22706
 
-      fi
22707
 
-    else
22708
 
-      # not using gcc
22709
 
-      if test "$host_cpu" = ia64; then
22710
 
-       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
22711
 
-       # chokes on -Wl,-G. The following line is correct:
22712
 
-       shared_flag='-G'
22713
 
-      else
22714
 
-       if test "$aix_use_runtimelinking" = yes; then
22715
 
-         shared_flag='${wl}-G'
22716
 
-       else
22717
 
-         shared_flag='${wl}-bM:SRE'
22718
 
-       fi
22719
 
-      fi
22720
 
-    fi
22721
 
 
22722
 
-    # It seems that -bexpall does not export symbols beginning with
22723
 
-    # underscore (_), so it is better to generate a list of symbols to export.
22724
 
-    always_export_symbols_CXX=yes
22725
 
-    if test "$aix_use_runtimelinking" = yes; then
22726
 
-      # Warning - without using the other runtime loading flags (-brtl),
22727
 
-      # -berok will link without error, but may produce a broken library.
22728
 
-      allow_undefined_flag_CXX='-berok'
22729
 
-      # Determine the default libpath from the value encoded in an empty executable.
22730
 
-      cat >conftest.$ac_ext <<_ACEOF
22731
 
-/* confdefs.h.  */
22732
 
-_ACEOF
22733
 
-cat confdefs.h >>conftest.$ac_ext
22734
 
-cat >>conftest.$ac_ext <<_ACEOF
22735
 
-/* end confdefs.h.  */
22736
 
 
22737
 
-int
22738
 
-main ()
22739
 
-{
22740
 
 
22741
 
-  ;
22742
 
-  return 0;
22743
 
-}
22744
 
-_ACEOF
22745
 
-rm -f conftest.$ac_objext conftest$ac_exeext
22746
 
-if { (ac_try="$ac_link"
22747
 
-case "(($ac_try" in
22748
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22749
 
-  *) ac_try_echo=$ac_try;;
22750
 
-esac
22751
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22752
 
-  (eval "$ac_link") 2>conftest.er1
22753
 
-  ac_status=$?
22754
 
-  grep -v '^ *+' conftest.er1 >conftest.err
22755
 
-  rm -f conftest.er1
22756
 
-  cat conftest.err >&5
22757
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22758
 
-  (exit $ac_status); } && {
22759
 
-        test -z "$ac_cxx_werror_flag" ||
22760
 
-        test ! -s conftest.err
22761
 
-       } && test -s conftest$ac_exeext &&
22762
 
-       $as_test_x conftest$ac_exeext; then
22763
 
 
22764
 
-lt_aix_libpath_sed='
22765
 
-    /Import File Strings/,/^$/ {
22766
 
-       /^0/ {
22767
 
-           s/^0  *\(.*\)$/\1/
22768
 
-           p
22769
 
-       }
22770
 
-    }'
22771
 
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22772
 
-# Check for a 64-bit object if we didn't find anything.
22773
 
-if test -z "$aix_libpath"; then
22774
 
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22775
 
-fi
22776
 
-else
22777
 
-  echo "$as_me: failed program was:" >&5
22778
 
-sed 's/^/| /' conftest.$ac_ext >&5
22779
 
 
22780
 
 
22781
 
-fi
22782
 
 
22783
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22784
 
-      conftest$ac_exeext conftest.$ac_ext
22785
 
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22786
 
 
22787
 
-      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
22788
 
 
22789
 
-      archive_expsym_cmds_CXX="\$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"
22790
 
-     else
22791
 
-      if test "$host_cpu" = ia64; then
22792
 
-       hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
22793
 
-       allow_undefined_flag_CXX="-z nodefs"
22794
 
-       archive_expsym_cmds_CXX="\$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"
22795
 
-      else
22796
 
-       # Determine the default libpath from the value encoded in an empty executable.
22797
 
-       cat >conftest.$ac_ext <<_ACEOF
22798
 
-/* confdefs.h.  */
22799
 
-_ACEOF
22800
 
-cat confdefs.h >>conftest.$ac_ext
22801
 
-cat >>conftest.$ac_ext <<_ACEOF
22802
 
-/* end confdefs.h.  */
22803
 
 
22804
 
-int
22805
 
-main ()
22806
 
-{
22807
 
 
22808
 
-  ;
22809
 
-  return 0;
22810
 
-}
22811
 
-_ACEOF
22812
 
-rm -f conftest.$ac_objext conftest$ac_exeext
22813
 
-if { (ac_try="$ac_link"
22814
 
-case "(($ac_try" in
22815
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22816
 
-  *) ac_try_echo=$ac_try;;
22817
 
-esac
22818
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22819
 
-  (eval "$ac_link") 2>conftest.er1
22820
 
-  ac_status=$?
22821
 
-  grep -v '^ *+' conftest.er1 >conftest.err
22822
 
-  rm -f conftest.er1
22823
 
-  cat conftest.err >&5
22824
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22825
 
-  (exit $ac_status); } && {
22826
 
-        test -z "$ac_cxx_werror_flag" ||
22827
 
-        test ! -s conftest.err
22828
 
-       } && test -s conftest$ac_exeext &&
22829
 
-       $as_test_x conftest$ac_exeext; then
22830
 
 
22831
 
-lt_aix_libpath_sed='
22832
 
-    /Import File Strings/,/^$/ {
22833
 
-       /^0/ {
22834
 
-           s/^0  *\(.*\)$/\1/
22835
 
-           p
22836
 
-       }
22837
 
-    }'
22838
 
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22839
 
-# Check for a 64-bit object if we didn't find anything.
22840
 
-if test -z "$aix_libpath"; then
22841
 
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22842
 
-fi
22843
 
-else
22844
 
-  echo "$as_me: failed program was:" >&5
22845
 
-sed 's/^/| /' conftest.$ac_ext >&5
22846
 
 
22847
 
 
22848
 
-fi
22849
 
 
22850
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22851
 
-      conftest$ac_exeext conftest.$ac_ext
22852
 
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22853
 
 
22854
 
-       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
22855
 
-       # Warning - without using the other run time loading flags,
22856
 
-       # -berok will link without error, but may produce a broken library.
22857
 
-       no_undefined_flag_CXX=' ${wl}-bernotok'
22858
 
-       allow_undefined_flag_CXX=' ${wl}-berok'
22859
 
-       # Exported symbols can be pulled into shared objects from archives
22860
 
-       whole_archive_flag_spec_CXX='$convenience'
22861
 
-       archive_cmds_need_lc_CXX=yes
22862
 
-       # This is similar to how AIX traditionally builds its shared libraries.
22863
 
-       archive_expsym_cmds_CXX="\$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'
22864
 
-      fi
22865
 
-    fi
22866
 
-    ;;
22867
 
 
22868
 
-  beos*)
22869
 
-    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22870
 
-      allow_undefined_flag_CXX=unsupported
22871
 
-      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
22872
 
-      # support --undefined.  This deserves some investigation.  FIXME
22873
 
-      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22874
 
-    else
22875
 
-      ld_shlibs_CXX=no
22876
 
-    fi
22877
 
-    ;;
22878
 
 
22879
 
-  chorus*)
22880
 
-    case $cc_basename in
22881
 
-      *)
22882
 
-       # FIXME: insert proper C++ library support
22883
 
-       ld_shlibs_CXX=no
22884
 
-       ;;
22885
 
-    esac
22886
 
-    ;;
22887
 
 
22888
 
-  cygwin* | mingw* | pw32*)
22889
 
-    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
22890
 
-    # as there is no search path for DLLs.
22891
 
-    hardcode_libdir_flag_spec_CXX='-L$libdir'
22892
 
-    allow_undefined_flag_CXX=unsupported
22893
 
-    always_export_symbols_CXX=no
22894
 
-    enable_shared_with_static_runtimes_CXX=yes
22895
 
-
22896
 
-    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
22897
 
-      archive_cmds_CXX='$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'
22898
 
-      # If the export-symbols file already is a .def file (1st line
22899
 
-      # is EXPORTS), use it as is; otherwise, prepend...
22900
 
-      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
22901
 
-       cp $export_symbols $output_objdir/$soname.def;
22902
 
-      else
22903
 
-       echo EXPORTS > $output_objdir/$soname.def;
22904
 
-       cat $export_symbols >> $output_objdir/$soname.def;
22905
 
-      fi~
22906
 
-      $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'
22907
 
-    else
22908
 
-      ld_shlibs_CXX=no
22909
 
-    fi
22910
 
-  ;;
22911
 
-      darwin* | rhapsody*)
22912
 
-      archive_cmds_need_lc_CXX=no
22913
 
-      hardcode_direct_CXX=no
22914
 
-      hardcode_automatic_CXX=yes
22915
 
-      hardcode_shlibpath_var_CXX=unsupported
22916
 
-      whole_archive_flag_spec_CXX=''
22917
 
-      link_all_deplibs_CXX=yes
22918
 
-      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
22919
 
-      if test "$GXX" = yes ; then
22920
 
-      output_verbose_link_cmd='echo'
22921
 
-      archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
22922
 
-      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
22923
 
-      archive_expsym_cmds_CXX="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}"
22924
 
-      module_expsym_cmds_CXX="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}"
22925
 
-      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
22926
 
-        archive_cmds_CXX="\$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}"
22927
 
-        archive_expsym_cmds_CXX="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}"
22928
 
-      fi
22929
 
-      else
22930
 
-      case $cc_basename in
22931
 
-        xlc*)
22932
 
-         output_verbose_link_cmd='echo'
22933
 
-          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
22934
 
-          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22935
 
-          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22936
 
-          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
22937
 
-          module_expsym_cmds_CXX='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}'
22938
 
-          ;;
22939
 
-       *)
22940
 
-         ld_shlibs_CXX=no
22941
 
-          ;;
22942
 
-      esac
22943
 
-      fi
22944
 
-        ;;
22945
 
 
22946
 
-  dgux*)
22947
 
-    case $cc_basename in
22948
 
-      ec++*)
22949
 
-       # FIXME: insert proper C++ library support
22950
 
-       ld_shlibs_CXX=no
22951
 
-       ;;
22952
 
-      ghcx*)
22953
 
-       # Green Hills C++ Compiler
22954
 
-       # FIXME: insert proper C++ library support
22955
 
-       ld_shlibs_CXX=no
22956
 
-       ;;
22957
 
-      *)
22958
 
-       # FIXME: insert proper C++ library support
22959
 
-       ld_shlibs_CXX=no
22960
 
-       ;;
22961
 
-    esac
22962
 
-    ;;
22963
 
-  freebsd[12]*)
22964
 
-    # C++ shared libraries reported to be fairly broken before switch to ELF
22965
 
-    ld_shlibs_CXX=no
22966
 
-    ;;
22967
 
-  freebsd-elf*)
22968
 
-    archive_cmds_need_lc_CXX=no
22969
 
-    ;;
22970
 
-  freebsd* | dragonfly*)
22971
 
-    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
22972
 
-    # conventions
22973
 
-    ld_shlibs_CXX=yes
22974
 
-    ;;
22975
 
-  gnu*)
22976
 
-    ;;
22977
 
-  hpux9*)
22978
 
-    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
22979
 
-    hardcode_libdir_separator_CXX=:
22980
 
-    export_dynamic_flag_spec_CXX='${wl}-E'
22981
 
-    hardcode_direct_CXX=yes
22982
 
-    hardcode_minus_L_CXX=yes # Not in the search PATH,
22983
 
-                               # but as the default
22984
 
-                               # location of the library.
22985
 
-
22986
 
-    case $cc_basename in
22987
 
-    CC*)
22988
 
-      # FIXME: insert proper C++ library support
22989
 
-      ld_shlibs_CXX=no
22990
 
-      ;;
22991
 
-    aCC*)
22992
 
-      archive_cmds_CXX='$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'
22993
 
-      # Commands to make compiler produce verbose output that lists
22994
 
-      # what "hidden" libraries, object files and flags are used when
22995
 
-      # linking a shared library.
22996
 
-      #
22997
 
-      # There doesn't appear to be a way to prevent this compiler from
22998
 
-      # explicitly linking system object files so we need to strip them
22999
 
-      # from the output so that they don't get included in the library
23000
 
-      # dependencies.
23001
 
-      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 $list'
23002
 
-      ;;
23003
 
-    *)
23004
 
-      if test "$GXX" = yes; then
23005
 
-        archive_cmds_CXX='$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'
23006
 
-      else
23007
 
-        # FIXME: insert proper C++ library support
23008
 
-        ld_shlibs_CXX=no
23009
 
-      fi
23010
 
-      ;;
23011
 
-    esac
23012
 
-    ;;
23013
 
-  hpux10*|hpux11*)
23014
 
-    if test $with_gnu_ld = no; then
23015
 
-      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
23016
 
-      hardcode_libdir_separator_CXX=:
23017
 
 
23018
 
-      case $host_cpu in
23019
 
-      hppa*64*|ia64*) ;;
23020
 
-      *)
23021
 
-       export_dynamic_flag_spec_CXX='${wl}-E'
23022
 
-        ;;
23023
 
-      esac
23024
 
-    fi
23025
 
-    case $host_cpu in
23026
 
-    hppa*64*|ia64*)
23027
 
-      hardcode_direct_CXX=no
23028
 
-      hardcode_shlibpath_var_CXX=no
23029
 
-      ;;
23030
 
-    *)
23031
 
-      hardcode_direct_CXX=yes
23032
 
-      hardcode_minus_L_CXX=yes # Not in the search PATH,
23033
 
-                                             # but as the default
23034
 
-                                             # location of the library.
23035
 
-      ;;
23036
 
-    esac
23037
 
 
23038
 
-    case $cc_basename in
23039
 
-      CC*)
23040
 
-       # FIXME: insert proper C++ library support
23041
 
-       ld_shlibs_CXX=no
23042
 
-       ;;
23043
 
-      aCC*)
23044
 
-       case $host_cpu in
23045
 
-       hppa*64*)
23046
 
-         archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
23047
 
-         ;;
23048
 
-       ia64*)
23049
 
-         archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
23050
 
-         ;;
23051
 
-       *)
23052
 
-         archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
23053
 
-         ;;
23054
 
-       esac
23055
 
-       # Commands to make compiler produce verbose output that lists
23056
 
-       # what "hidden" libraries, object files and flags are used when
23057
 
-       # linking a shared library.
23058
 
-       #
23059
 
-       # There doesn't appear to be a way to prevent this compiler from
23060
 
-       # explicitly linking system object files so we need to strip them
23061
 
-       # from the output so that they don't get included in the library
23062
 
-       # dependencies.
23063
 
-       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 $list'
23064
 
-       ;;
23065
 
-      *)
23066
 
-       if test "$GXX" = yes; then
23067
 
-         if test $with_gnu_ld = no; then
23068
 
-           case $host_cpu in
23069
 
-           hppa*64*)
23070
 
-             archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
23071
 
-             ;;
23072
 
-           ia64*)
23073
 
-             archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
23074
 
-             ;;
23075
 
-           *)
23076
 
-             archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
23077
 
-             ;;
23078
 
-           esac
23079
 
-         fi
23080
 
-       else
23081
 
-         # FIXME: insert proper C++ library support
23082
 
-         ld_shlibs_CXX=no
23083
 
-       fi
23084
 
-       ;;
23085
 
-    esac
23086
 
-    ;;
23087
 
-  interix[3-9]*)
23088
 
-    hardcode_direct_CXX=no
23089
 
-    hardcode_shlibpath_var_CXX=no
23090
 
-    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
23091
 
-    export_dynamic_flag_spec_CXX='${wl}-E'
23092
 
-    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
23093
 
-    # Instead, shared libraries are loaded at an image base (0x10000000 by
23094
 
-    # default) and relocated if they conflict, which is a slow very memory
23095
 
-    # consuming and fragmenting process.  To avoid this, we pick a random,
23096
 
-    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
23097
 
-    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
23098
 
-    archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
23099
 
-    archive_expsym_cmds_CXX='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'
23100
 
-    ;;
23101
 
-  irix5* | irix6*)
23102
 
-    case $cc_basename in
23103
 
-      CC*)
23104
 
-       # SGI C++
23105
 
-       archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
23106
 
-
23107
 
-       # Archives containing C++ object files must be created using
23108
 
-       # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
23109
 
-       # necessary to make sure instantiated templates are included
23110
 
-       # in the archive.
23111
 
-       old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
23112
 
-       ;;
23113
 
-      *)
23114
 
-       if test "$GXX" = yes; then
23115
 
-         if test "$with_gnu_ld" = no; then
23116
 
-           archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
23117
 
-         else
23118
 
-           archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
23119
 
-         fi
23120
 
-       fi
23121
 
-       link_all_deplibs_CXX=yes
23122
 
-       ;;
23123
 
-    esac
23124
 
-    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
23125
 
-    hardcode_libdir_separator_CXX=:
23126
 
-    ;;
23127
 
-  linux* | k*bsd*-gnu)
23128
 
-    case $cc_basename in
23129
 
-      KCC*)
23130
 
-       # Kuck and Associates, Inc. (KAI) C++ Compiler
23131
 
-
23132
 
-       # KCC will only create a shared library if the output file
23133
 
-       # ends with ".so" (or ".sl" for HP-UX), so rename the library
23134
 
-       # to its proper name (with version) after linking.
23135
 
-       archive_cmds_CXX='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'
23136
 
-       archive_expsym_cmds_CXX='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'
23137
 
-       # Commands to make compiler produce verbose output that lists
23138
 
-       # what "hidden" libraries, object files and flags are used when
23139
 
-       # linking a shared library.
23140
 
-       #
23141
 
-       # There doesn't appear to be a way to prevent this compiler from
23142
 
-       # explicitly linking system object files so we need to strip them
23143
 
-       # from the output so that they don't get included in the library
23144
 
-       # dependencies.
23145
 
-       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 $list'
23146
 
-
23147
 
-       hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
23148
 
-       export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
23149
 
-
23150
 
-       # Archives containing C++ object files must be created using
23151
 
-       # "CC -Bstatic", where "CC" is the KAI C++ compiler.
23152
 
-       old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
23153
 
-       ;;
23154
 
-      icpc*)
23155
 
-       # Intel C++
23156
 
-       with_gnu_ld=yes
23157
 
-       # version 8.0 and above of icpc choke on multiply defined symbols
23158
 
-       # if we add $predep_objects and $postdep_objects, however 7.1 and
23159
 
-       # earlier do not add the objects themselves.
23160
 
-       case `$CC -V 2>&1` in
23161
 
-       *"Version 7."*)
23162
 
-         archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
23163
 
-         archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
23164
 
-         ;;
23165
 
-       *)  # Version 8.0 or newer
23166
 
-         tmp_idyn=
23167
 
-         case $host_cpu in
23168
 
-           ia64*) tmp_idyn=' -i_dynamic';;
23169
 
-         esac
23170
 
-         archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23171
 
-         archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
23172
 
-         ;;
23173
 
-       esac
23174
 
-       archive_cmds_need_lc_CXX=no
23175
 
-       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
23176
 
-       export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
23177
 
-       whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
23178
 
-       ;;
23179
 
-      pgCC* | pgcpp*)
23180
 
-        # Portland Group C++ compiler
23181
 
-       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
23182
 
-       archive_expsym_cmds_CXX='$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'
23183
 
-
23184
 
-       hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
23185
 
-       export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
23186
 
-       whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
23187
 
-        ;;
23188
 
-      cxx*)
23189
 
-       # Compaq C++
23190
 
-       archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
23191
 
-       archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
23192
 
 
23193
 
-       runpath_var=LD_RUN_PATH
23194
 
-       hardcode_libdir_flag_spec_CXX='-rpath $libdir'
23195
 
-       hardcode_libdir_separator_CXX=:
23196
 
 
23197
 
-       # Commands to make compiler produce verbose output that lists
23198
 
-       # what "hidden" libraries, object files and flags are used when
23199
 
-       # linking a shared library.
23200
 
-       #
23201
 
-       # There doesn't appear to be a way to prevent this compiler from
23202
 
-       # explicitly linking system object files so we need to strip them
23203
 
-       # from the output so that they don't get included in the library
23204
 
-       # dependencies.
23205
 
-       output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
23206
 
-       ;;
23207
 
-      *)
23208
 
-       case `$CC -V 2>&1 | sed 5q` in
23209
 
-       *Sun\ C*)
23210
 
-         # Sun C++ 5.9
23211
 
-         no_undefined_flag_CXX=' -zdefs'
23212
 
-         archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
23213
 
-         archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
23214
 
-         hardcode_libdir_flag_spec_CXX='-R$libdir'
23215
 
-         whole_archive_flag_spec_CXX='${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'
23216
 
 
23217
 
-         # Not sure whether something based on
23218
 
-         # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
23219
 
-         # would be better.
23220
 
-         output_verbose_link_cmd='echo'
23221
 
-
23222
 
-         # Archives containing C++ object files must be created using
23223
 
-         # "CC -xar", where "CC" is the Sun C++ compiler.  This is
23224
 
-         # necessary to make sure instantiated templates are included
23225
 
-         # in the archive.
23226
 
-         old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
23227
 
-         ;;
23228
 
-       esac
23229
 
-       ;;
23230
 
-    esac
23231
 
-    ;;
23232
 
-  lynxos*)
23233
 
-    # FIXME: insert proper C++ library support
23234
 
-    ld_shlibs_CXX=no
23235
 
-    ;;
23236
 
-  m88k*)
23237
 
-    # FIXME: insert proper C++ library support
23238
 
-    ld_shlibs_CXX=no
23239
 
-    ;;
23240
 
-  mvs*)
23241
 
-    case $cc_basename in
23242
 
-      cxx*)
23243
 
-       # FIXME: insert proper C++ library support
23244
 
-       ld_shlibs_CXX=no
23245
 
-       ;;
23246
 
-      *)
23247
 
-       # FIXME: insert proper C++ library support
23248
 
-       ld_shlibs_CXX=no
23249
 
-       ;;
23250
 
-    esac
23251
 
-    ;;
23252
 
-  netbsd* | netbsdelf*-gnu)
23253
 
-    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23254
 
-      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
23255
 
-      wlarc=
23256
 
-      hardcode_libdir_flag_spec_CXX='-R$libdir'
23257
 
-      hardcode_direct_CXX=yes
23258
 
-      hardcode_shlibpath_var_CXX=no
23259
 
-    fi
23260
 
-    # Workaround some broken pre-1.5 toolchains
23261
 
-    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
23262
 
-    ;;
23263
 
-  openbsd2*)
23264
 
-    # C++ shared libraries are fairly broken
23265
 
-    ld_shlibs_CXX=no
23266
 
-    ;;
23267
 
-  openbsd*)
23268
 
-    if test -f /usr/libexec/ld.so; then
23269
 
-      hardcode_direct_CXX=yes
23270
 
-      hardcode_shlibpath_var_CXX=no
23271
 
-      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
23272
 
-      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
23273
 
-      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23274
 
-       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
23275
 
-       export_dynamic_flag_spec_CXX='${wl}-E'
23276
 
-       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
23277
 
-      fi
23278
 
-      output_verbose_link_cmd='echo'
23279
 
-    else
23280
 
-      ld_shlibs_CXX=no
23281
 
-    fi
23282
 
-    ;;
23283
 
-  osf3*)
23284
 
-    case $cc_basename in
23285
 
-      KCC*)
23286
 
-       # Kuck and Associates, Inc. (KAI) C++ Compiler
23287
 
-
23288
 
-       # KCC will only create a shared library if the output file
23289
 
-       # ends with ".so" (or ".sl" for HP-UX), so rename the library
23290
 
-       # to its proper name (with version) after linking.
23291
 
-       archive_cmds_CXX='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'
23292
 
 
23293
 
-       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
23294
 
-       hardcode_libdir_separator_CXX=:
23295
 
 
23296
 
-       # Archives containing C++ object files must be created using
23297
 
-       # "CC -Bstatic", where "CC" is the KAI C++ compiler.
23298
 
-       old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
23299
 
 
23300
 
-       ;;
23301
 
-      RCC*)
23302
 
-       # Rational C++ 2.4.1
23303
 
-       # FIXME: insert proper C++ library support
23304
 
-       ld_shlibs_CXX=no
23305
 
-       ;;
23306
 
-      cxx*)
23307
 
-       allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
23308
 
-       archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
23309
 
-
23310
 
-       hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
23311
 
-       hardcode_libdir_separator_CXX=:
23312
 
-
23313
 
-       # Commands to make compiler produce verbose output that lists
23314
 
-       # what "hidden" libraries, object files and flags are used when
23315
 
-       # linking a shared library.
23316
 
-       #
23317
 
-       # There doesn't appear to be a way to prevent this compiler from
23318
 
-       # explicitly linking system object files so we need to strip them
23319
 
-       # from the output so that they don't get included in the library
23320
 
-       # dependencies.
23321
 
-       output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
23322
 
-       ;;
23323
 
-      *)
23324
 
-       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
23325
 
-         allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
23326
 
-         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
23327
 
 
23328
 
-         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
23329
 
-         hardcode_libdir_separator_CXX=:
23330
 
 
23331
 
-         # Commands to make compiler produce verbose output that lists
23332
 
-         # what "hidden" libraries, object files and flags are used when
23333
 
-         # linking a shared library.
23334
 
-         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
23335
 
 
23336
 
-       else
23337
 
-         # FIXME: insert proper C++ library support
23338
 
-         ld_shlibs_CXX=no
23339
 
-       fi
23340
 
-       ;;
23341
 
-    esac
23342
 
-    ;;
23343
 
-  osf4* | osf5*)
23344
 
-    case $cc_basename in
23345
 
-      KCC*)
23346
 
-       # Kuck and Associates, Inc. (KAI) C++ Compiler
23347
 
-
23348
 
-       # KCC will only create a shared library if the output file
23349
 
-       # ends with ".so" (or ".sl" for HP-UX), so rename the library
23350
 
-       # to its proper name (with version) after linking.
23351
 
-       archive_cmds_CXX='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'
23352
 
 
23353
 
-       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
23354
 
-       hardcode_libdir_separator_CXX=:
23355
 
 
23356
 
-       # Archives containing C++ object files must be created using
23357
 
-       # the KAI C++ compiler.
23358
 
-       old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
23359
 
-       ;;
23360
 
-      RCC*)
23361
 
-       # Rational C++ 2.4.1
23362
 
-       # FIXME: insert proper C++ library support
23363
 
-       ld_shlibs_CXX=no
23364
 
-       ;;
23365
 
-      cxx*)
23366
 
-       allow_undefined_flag_CXX=' -expect_unresolved \*'
23367
 
-       archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
23368
 
-       archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
23369
 
-         echo "-hidden">> $lib.exp~
23370
 
-         $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
23371
 
-         $rm $lib.exp'
23372
 
-
23373
 
-       hardcode_libdir_flag_spec_CXX='-rpath $libdir'
23374
 
-       hardcode_libdir_separator_CXX=:
23375
 
-
23376
 
-       # Commands to make compiler produce verbose output that lists
23377
 
-       # what "hidden" libraries, object files and flags are used when
23378
 
-       # linking a shared library.
23379
 
-       #
23380
 
-       # There doesn't appear to be a way to prevent this compiler from
23381
 
-       # explicitly linking system object files so we need to strip them
23382
 
-       # from the output so that they don't get included in the library
23383
 
-       # dependencies.
23384
 
-       output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
23385
 
-       ;;
23386
 
-      *)
23387
 
-       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
23388
 
-         allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
23389
 
-        archive_cmds_CXX='$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` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
23390
 
 
23391
 
-         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
23392
 
-         hardcode_libdir_separator_CXX=:
23393
 
 
23394
 
-         # Commands to make compiler produce verbose output that lists
23395
 
-         # what "hidden" libraries, object files and flags are used when
23396
 
-         # linking a shared library.
23397
 
-         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
23398
 
 
23399
 
-       else
23400
 
-         # FIXME: insert proper C++ library support
23401
 
-         ld_shlibs_CXX=no
23402
 
-       fi
23403
 
-       ;;
23404
 
-    esac
23405
 
-    ;;
23406
 
-  psos*)
23407
 
-    # FIXME: insert proper C++ library support
23408
 
-    ld_shlibs_CXX=no
23409
 
-    ;;
23410
 
-  sunos4*)
23411
 
-    case $cc_basename in
23412
 
-      CC*)
23413
 
-       # Sun C++ 4.x
23414
 
-       # FIXME: insert proper C++ library support
23415
 
-       ld_shlibs_CXX=no
23416
 
-       ;;
23417
 
-      lcc*)
23418
 
-       # Lucid
23419
 
-       # FIXME: insert proper C++ library support
23420
 
-       ld_shlibs_CXX=no
23421
 
-       ;;
23422
 
-      *)
23423
 
-       # FIXME: insert proper C++ library support
23424
 
-       ld_shlibs_CXX=no
23425
 
-       ;;
23426
 
-    esac
23427
 
-    ;;
23428
 
-  solaris*)
23429
 
-    case $cc_basename in
23430
 
-      CC*)
23431
 
-       # Sun C++ 4.2, 5.x and Centerline C++
23432
 
-        archive_cmds_need_lc_CXX=yes
23433
 
-       no_undefined_flag_CXX=' -zdefs'
23434
 
-       archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
23435
 
-       archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
23436
 
-       $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'
23437
 
 
23438
 
-       hardcode_libdir_flag_spec_CXX='-R$libdir'
23439
 
-       hardcode_shlibpath_var_CXX=no
23440
 
-       case $host_os in
23441
 
-         solaris2.[0-5] | solaris2.[0-5].*) ;;
23442
 
-         *)
23443
 
-           # The compiler driver will combine and reorder linker options,
23444
 
-           # but understands `-z linker_flag'.
23445
 
-           # Supported since Solaris 2.6 (maybe 2.5.1?)
23446
 
-           whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
23447
 
-           ;;
23448
 
-       esac
23449
 
-       link_all_deplibs_CXX=yes
23450
 
 
23451
 
-       output_verbose_link_cmd='echo'
23452
 
 
23453
 
-       # Archives containing C++ object files must be created using
23454
 
-       # "CC -xar", where "CC" is the Sun C++ compiler.  This is
23455
 
-       # necessary to make sure instantiated templates are included
23456
 
-       # in the archive.
23457
 
-       old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
23458
 
-       ;;
23459
 
-      gcx*)
23460
 
-       # Green Hills C++ Compiler
23461
 
-       archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
23462
 
 
23463
 
-       # The C++ compiler must be used to create the archive.
23464
 
-       old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
23465
 
-       ;;
23466
 
-      *)
23467
 
-       # GNU C++ compiler with Solaris linker
23468
 
-       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
23469
 
-         no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
23470
 
-         if $CC --version | grep -v '^2\.7' > /dev/null; then
23471
 
-           archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
23472
 
-           archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
23473
 
-               $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
23474
 
 
23475
 
-           # Commands to make compiler produce verbose output that lists
23476
 
-           # what "hidden" libraries, object files and flags are used when
23477
 
-           # linking a shared library.
23478
 
-           output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
23479
 
-         else
23480
 
-           # g++ 2.7 appears to require `-G' NOT `-shared' on this
23481
 
-           # platform.
23482
 
-           archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
23483
 
-           archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
23484
 
-               $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
23485
 
 
23486
 
-           # Commands to make compiler produce verbose output that lists
23487
 
-           # what "hidden" libraries, object files and flags are used when
23488
 
-           # linking a shared library.
23489
 
-           output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
23490
 
-         fi
23491
 
 
23492
 
-         hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
23493
 
-         case $host_os in
23494
 
-         solaris2.[0-5] | solaris2.[0-5].*) ;;
23495
 
-         *)
23496
 
-           whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
23497
 
-           ;;
23498
 
-         esac
23499
 
-       fi
23500
 
-       ;;
23501
 
-    esac
23502
 
-    ;;
23503
 
-  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
23504
 
-    no_undefined_flag_CXX='${wl}-z,text'
23505
 
-    archive_cmds_need_lc_CXX=no
23506
 
-    hardcode_shlibpath_var_CXX=no
23507
 
-    runpath_var='LD_RUN_PATH'
23508
 
-
23509
 
-    case $cc_basename in
23510
 
-      CC*)
23511
 
-       archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23512
 
-       archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23513
 
-       ;;
23514
 
-      *)
23515
 
-       archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23516
 
-       archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23517
 
-       ;;
23518
 
-    esac
23519
 
-    ;;
23520
 
-  sysv5* | sco3.2v5* | sco5v6*)
23521
 
-    # Note: We can NOT use -z defs as we might desire, because we do not
23522
 
-    # link with -lc, and that would cause any symbols used from libc to
23523
 
-    # always be unresolved, which means just about no library would
23524
 
-    # ever link correctly.  If we're not using GNU ld we use -z text
23525
 
-    # though, which does catch some bad symbols but isn't as heavy-handed
23526
 
-    # as -z defs.
23527
 
-    # For security reasons, it is highly recommended that you always
23528
 
-    # use absolute paths for naming shared libraries, and exclude the
23529
 
-    # DT_RUNPATH tag from executables and libraries.  But doing so
23530
 
-    # requires that you compile everything twice, which is a pain.
23531
 
-    # So that behaviour is only enabled if SCOABSPATH is set to a
23532
 
-    # non-empty value in the environment.  Most likely only useful for
23533
 
-    # creating official distributions of packages.
23534
 
-    # This is a hack until libtool officially supports absolute path
23535
 
-    # names for shared libraries.
23536
 
-    no_undefined_flag_CXX='${wl}-z,text'
23537
 
-    allow_undefined_flag_CXX='${wl}-z,nodefs'
23538
 
-    archive_cmds_need_lc_CXX=no
23539
 
-    hardcode_shlibpath_var_CXX=no
23540
 
-    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
23541
 
-    hardcode_libdir_separator_CXX=':'
23542
 
-    link_all_deplibs_CXX=yes
23543
 
-    export_dynamic_flag_spec_CXX='${wl}-Bexport'
23544
 
-    runpath_var='LD_RUN_PATH'
23545
 
-
23546
 
-    case $cc_basename in
23547
 
-      CC*)
23548
 
-       archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
23549
 
-       archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
23550
 
-       ;;
23551
 
-      *)
23552
 
-       archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
23553
 
-       archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
23554
 
-       ;;
23555
 
-    esac
23556
 
-    ;;
23557
 
-  tandem*)
23558
 
-    case $cc_basename in
23559
 
-      NCC*)
23560
 
-       # NonStop-UX NCC 3.20
23561
 
-       # FIXME: insert proper C++ library support
23562
 
-       ld_shlibs_CXX=no
23563
 
-       ;;
23564
 
-      *)
23565
 
-       # FIXME: insert proper C++ library support
23566
 
-       ld_shlibs_CXX=no
23567
 
-       ;;
23568
 
-    esac
23569
 
-    ;;
23570
 
-  vxworks*)
23571
 
-    # FIXME: insert proper C++ library support
23572
 
-    ld_shlibs_CXX=no
23573
 
-    ;;
23574
 
-  *)
23575
 
-    # FIXME: insert proper C++ library support
23576
 
-    ld_shlibs_CXX=no
23577
 
-    ;;
23578
 
-esac
23579
 
-{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
23580
 
-echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
23581
 
-test "$ld_shlibs_CXX" = no && can_build_shared=no
23582
 
 
23583
 
-GCC_CXX="$GXX"
23584
 
-LD_CXX="$LD"
23585
 
 
23586
 
-cat > conftest.$ac_ext <<EOF
23587
 
-class Foo
23588
 
-{
23589
 
-public:
23590
 
-  Foo (void) { a = 0; }
23591
 
-private:
23592
 
-  int a;
23593
 
-};
23594
 
-EOF
23595
 
 
23596
 
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23597
 
-  (eval $ac_compile) 2>&5
23598
 
-  ac_status=$?
23599
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23600
 
-  (exit $ac_status); }; then
23601
 
-  # Parse the compiler output and extract the necessary
23602
 
-  # objects, libraries and library flags.
23603
 
 
23604
 
-  # Sentinel used to keep track of whether or not we are before
23605
 
-  # the conftest object file.
23606
 
-  pre_test_object_deps_done=no
23607
 
 
23608
 
-  # The `*' in the case matches for architectures that use `case' in
23609
 
-  # $output_verbose_cmd can trigger glob expansion during the loop
23610
 
-  # eval without this substitution.
23611
 
-  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
23612
 
 
23613
 
-  for p in `eval $output_verbose_link_cmd`; do
23614
 
-    case $p in
23615
 
 
23616
 
-    -L* | -R* | -l*)
23617
 
-       # Some compilers place space between "-{L,R}" and the path.
23618
 
-       # Remove the space.
23619
 
-       if test $p = "-L" \
23620
 
-         || test $p = "-R"; then
23621
 
-        prev=$p
23622
 
-        continue
23623
 
-       else
23624
 
-        prev=
23625
 
-       fi
23626
 
 
23627
 
-       if test "$pre_test_object_deps_done" = no; then
23628
 
-        case $p in
23629
 
-        -L* | -R*)
23630
 
-          # Internal compiler library paths should come after those
23631
 
-          # provided the user.  The postdeps already come after the
23632
 
-          # user supplied libs so there is no need to process them.
23633
 
-          if test -z "$compiler_lib_search_path_CXX"; then
23634
 
-            compiler_lib_search_path_CXX="${prev}${p}"
23635
 
-          else
23636
 
-            compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
23637
 
-          fi
23638
 
-          ;;
23639
 
-        # The "-l" case would never come before the object being
23640
 
-        # linked, so don't bother handling this case.
23641
 
-        esac
23642
 
-       else
23643
 
-        if test -z "$postdeps_CXX"; then
23644
 
-          postdeps_CXX="${prev}${p}"
23645
 
-        else
23646
 
-          postdeps_CXX="${postdeps_CXX} ${prev}${p}"
23647
 
-        fi
23648
 
-       fi
23649
 
-       ;;
23650
 
 
23651
 
-    *.$objext)
23652
 
-       # This assumes that the test object file only shows up
23653
 
-       # once in the compiler output.
23654
 
-       if test "$p" = "conftest.$objext"; then
23655
 
-        pre_test_object_deps_done=yes
23656
 
-        continue
23657
 
-       fi
23658
 
 
23659
 
-       if test "$pre_test_object_deps_done" = no; then
23660
 
-        if test -z "$predep_objects_CXX"; then
23661
 
-          predep_objects_CXX="$p"
23662
 
-        else
23663
 
-          predep_objects_CXX="$predep_objects_CXX $p"
23664
 
-        fi
23665
 
-       else
23666
 
-        if test -z "$postdep_objects_CXX"; then
23667
 
-          postdep_objects_CXX="$p"
23668
 
-        else
23669
 
-          postdep_objects_CXX="$postdep_objects_CXX $p"
23670
 
-        fi
23671
 
-       fi
23672
 
-       ;;
23673
 
 
23674
 
-    *) ;; # Ignore the rest.
23675
 
 
23676
 
-    esac
23677
 
-  done
23678
 
 
23679
 
-  # Clean up.
23680
 
-  rm -f a.out a.exe
23681
 
-else
23682
 
-  echo "libtool.m4: error: problem compiling CXX test program"
23683
 
-fi
23684
 
 
23685
 
-$rm -f confest.$objext
23686
 
 
23687
 
-compiler_lib_search_dirs_CXX=
23688
 
-if test -n "$compiler_lib_search_path_CXX"; then
23689
 
-  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
23690
 
-fi
23691
 
 
23692
 
-# PORTME: override above test on systems where it is broken
23693
 
-case $host_os in
23694
 
-interix[3-9]*)
23695
 
-  # Interix 3.5 installs completely hosed .la files for C++, so rather than
23696
 
-  # hack all around it, let's just trust "g++" to DTRT.
23697
 
-  predep_objects_CXX=
23698
 
-  postdep_objects_CXX=
23699
 
-  postdeps_CXX=
23700
 
-  ;;
23701
 
 
23702
 
-linux*)
23703
 
-  case `$CC -V 2>&1 | sed 5q` in
23704
 
-  *Sun\ C*)
23705
 
-    # Sun C++ 5.9
23706
 
-    #
23707
 
-    # The more standards-conforming stlport4 library is
23708
 
-    # incompatible with the Cstd library. Avoid specifying
23709
 
-    # it if it's in CXXFLAGS. Ignore libCrun as
23710
 
-    # -library=stlport4 depends on it.
23711
 
-    case " $CXX $CXXFLAGS " in
23712
 
-    *" -library=stlport4 "*)
23713
 
-      solaris_use_stlport4=yes
23714
 
-      ;;
23715
 
-    esac
23716
 
-    if test "$solaris_use_stlport4" != yes; then
23717
 
-      postdeps_CXX='-library=Cstd -library=Crun'
23718
 
-    fi
23719
 
-    ;;
23720
 
-  esac
23721
 
-  ;;
23722
 
 
23723
 
-solaris*)
23724
 
-  case $cc_basename in
23725
 
-  CC*)
23726
 
-    # The more standards-conforming stlport4 library is
23727
 
-    # incompatible with the Cstd library. Avoid specifying
23728
 
-    # it if it's in CXXFLAGS. Ignore libCrun as
23729
 
-    # -library=stlport4 depends on it.
23730
 
-    case " $CXX $CXXFLAGS " in
23731
 
-    *" -library=stlport4 "*)
23732
 
-      solaris_use_stlport4=yes
23733
 
-      ;;
23734
 
-    esac
23735
 
 
23736
 
-    # Adding this requires a known-good setup of shared libraries for
23737
 
-    # Sun compiler versions before 5.6, else PIC objects from an old
23738
 
-    # archive will be linked into the output, leading to subtle bugs.
23739
 
-    if test "$solaris_use_stlport4" != yes; then
23740
 
-      postdeps_CXX='-library=Cstd -library=Crun'
23741
 
-    fi
23742
 
-    ;;
23743
 
-  esac
23744
 
-  ;;
23745
 
-esac
23746
 
 
23747
 
-case " $postdeps_CXX " in
23748
 
-*" -lc "*) archive_cmds_need_lc_CXX=no ;;
23749
 
-esac
23750
 
 
23751
 
-lt_prog_compiler_wl_CXX=
23752
 
-lt_prog_compiler_pic_CXX=
23753
 
-lt_prog_compiler_static_CXX=
23754
 
 
23755
 
-{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
23756
 
-echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
23757
 
 
23758
 
-  # C++ specific cases for pic, static, wl, etc.
23759
 
-  if test "$GXX" = yes; then
23760
 
-    lt_prog_compiler_wl_CXX='-Wl,'
23761
 
-    lt_prog_compiler_static_CXX='-static'
23762
 
 
23763
 
-    case $host_os in
23764
 
-    aix*)
23765
 
-      # All AIX code is PIC.
23766
 
-      if test "$host_cpu" = ia64; then
23767
 
-       # AIX 5 now supports IA64 processor
23768
 
-       lt_prog_compiler_static_CXX='-Bstatic'
23769
 
-      fi
23770
 
-      ;;
23771
 
-    amigaos*)
23772
 
-      # FIXME: we need at least 68020 code to build shared libraries, but
23773
 
-      # adding the `-m68020' flag to GCC prevents building anything better,
23774
 
-      # like `-m68040'.
23775
 
-      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
23776
 
-      ;;
23777
 
-    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
23778
 
-      # PIC is the default for these OSes.
23779
 
-      ;;
23780
 
-    mingw* | cygwin* | os2* | pw32*)
23781
 
-      # This hack is so that the source file can tell whether it is being
23782
 
-      # built for inclusion in a dll (and should export symbols for example).
23783
 
-      # Although the cygwin gcc ignores -fPIC, still need this for old-style
23784
 
-      # (--disable-auto-import) libraries
23785
 
-      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
23786
 
-      ;;
23787
 
-    darwin* | rhapsody*)
23788
 
-      # PIC is the default on this platform
23789
 
-      # Common symbols not allowed in MH_DYLIB files
23790
 
-      lt_prog_compiler_pic_CXX='-fno-common'
23791
 
-      ;;
23792
 
-    *djgpp*)
23793
 
-      # DJGPP does not support shared libraries at all
23794
 
-      lt_prog_compiler_pic_CXX=
23795
 
-      ;;
23796
 
-    interix[3-9]*)
23797
 
-      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
23798
 
-      # Instead, we relocate shared libraries at runtime.
23799
 
-      ;;
23800
 
-    sysv4*MP*)
23801
 
-      if test -d /usr/nec; then
23802
 
-       lt_prog_compiler_pic_CXX=-Kconform_pic
23803
 
-      fi
23804
 
-      ;;
23805
 
-    hpux*)
23806
 
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23807
 
-      # not for PA HP-UX.
23808
 
-      case $host_cpu in
23809
 
-      hppa*64*|ia64*)
23810
 
-       ;;
23811
 
-      *)
23812
 
-       lt_prog_compiler_pic_CXX='-fPIC'
23813
 
-       ;;
23814
 
-      esac
23815
 
-      ;;
23816
 
-    *)
23817
 
-      lt_prog_compiler_pic_CXX='-fPIC'
23818
 
-      ;;
23819
 
-    esac
23820
 
-  else
23821
 
-    case $host_os in
23822
 
-      aix[4-9]*)
23823
 
-       # All AIX code is PIC.
23824
 
-       if test "$host_cpu" = ia64; then
23825
 
-         # AIX 5 now supports IA64 processor
23826
 
-         lt_prog_compiler_static_CXX='-Bstatic'
23827
 
-       else
23828
 
-         lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
23829
 
-       fi
23830
 
-       ;;
23831
 
-      chorus*)
23832
 
-       case $cc_basename in
23833
 
-       cxch68*)
23834
 
-         # Green Hills C++ Compiler
23835
 
-         # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--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"
23836
 
-         ;;
23837
 
-       esac
23838
 
-       ;;
23839
 
-       darwin*)
23840
 
-         # PIC is the default on this platform
23841
 
-         # Common symbols not allowed in MH_DYLIB files
23842
 
-         case $cc_basename in
23843
 
-           xlc*)
23844
 
-           lt_prog_compiler_pic_CXX='-qnocommon'
23845
 
-           lt_prog_compiler_wl_CXX='-Wl,'
23846
 
-           ;;
23847
 
-         esac
23848
 
-       ;;
23849
 
-      dgux*)
23850
 
-       case $cc_basename in
23851
 
-         ec++*)
23852
 
-           lt_prog_compiler_pic_CXX='-KPIC'
23853
 
-           ;;
23854
 
-         ghcx*)
23855
 
-           # Green Hills C++ Compiler
23856
 
-           lt_prog_compiler_pic_CXX='-pic'
23857
 
-           ;;
23858
 
-         *)
23859
 
-           ;;
23860
 
-       esac
23861
 
-       ;;
23862
 
-      freebsd* | dragonfly*)
23863
 
-       # FreeBSD uses GNU C++
23864
 
-       ;;
23865
 
-      hpux9* | hpux10* | hpux11*)
23866
 
-       case $cc_basename in
23867
 
-         CC*)
23868
 
-           lt_prog_compiler_wl_CXX='-Wl,'
23869
 
-           lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
23870
 
-           if test "$host_cpu" != ia64; then
23871
 
-             lt_prog_compiler_pic_CXX='+Z'
23872
 
-           fi
23873
 
-           ;;
23874
 
-         aCC*)
23875
 
-           lt_prog_compiler_wl_CXX='-Wl,'
23876
 
-           lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
23877
 
-           case $host_cpu in
23878
 
-           hppa*64*|ia64*)
23879
 
-             # +Z the default
23880
 
-             ;;
23881
 
-           *)
23882
 
-             lt_prog_compiler_pic_CXX='+Z'
23883
 
-             ;;
23884
 
-           esac
23885
 
-           ;;
23886
 
-         *)
23887
 
-           ;;
23888
 
-       esac
23889
 
-       ;;
23890
 
-      interix*)
23891
 
-       # This is c89, which is MS Visual C++ (no shared libs)
23892
 
-       # Anyone wants to do a port?
23893
 
-       ;;
23894
 
-      irix5* | irix6* | nonstopux*)
23895
 
-       case $cc_basename in
23896
 
-         CC*)
23897
 
-           lt_prog_compiler_wl_CXX='-Wl,'
23898
 
-           lt_prog_compiler_static_CXX='-non_shared'
23899
 
-           # CC pic flag -KPIC is the default.
23900
 
-           ;;
23901
 
-         *)
23902
 
-           ;;
23903
 
-       esac
23904
 
-       ;;
23905
 
-      linux* | k*bsd*-gnu)
23906
 
-       case $cc_basename in
23907
 
-         KCC*)
23908
 
-           # KAI C++ Compiler
23909
 
-           lt_prog_compiler_wl_CXX='--backend -Wl,'
23910
 
-           lt_prog_compiler_pic_CXX='-fPIC'
23911
 
-           ;;
23912
 
-         icpc* | ecpc*)
23913
 
-           # Intel C++
23914
 
-           lt_prog_compiler_wl_CXX='-Wl,'
23915
 
-           lt_prog_compiler_pic_CXX='-KPIC'
23916
 
-           lt_prog_compiler_static_CXX='-static'
23917
 
-           ;;
23918
 
-         pgCC* | pgcpp*)
23919
 
-           # Portland Group C++ compiler.
23920
 
-           lt_prog_compiler_wl_CXX='-Wl,'
23921
 
-           lt_prog_compiler_pic_CXX='-fpic'
23922
 
-           lt_prog_compiler_static_CXX='-Bstatic'
23923
 
-           ;;
23924
 
-         cxx*)
23925
 
-           # Compaq C++
23926
 
-           # Make sure the PIC flag is empty.  It appears that all Alpha
23927
 
-           # Linux and Compaq Tru64 Unix objects are PIC.
23928
 
-           lt_prog_compiler_pic_CXX=
23929
 
-           lt_prog_compiler_static_CXX='-non_shared'
23930
 
-           ;;
23931
 
-         *)
23932
 
-           case `$CC -V 2>&1 | sed 5q` in
23933
 
-           *Sun\ C*)
23934
 
-             # Sun C++ 5.9
23935
 
-             lt_prog_compiler_pic_CXX='-KPIC'
23936
 
-             lt_prog_compiler_static_CXX='-Bstatic'
23937
 
-             lt_prog_compiler_wl_CXX='-Qoption ld '
23938
 
-             ;;
23939
 
-           esac
23940
 
-           ;;
23941
 
-       esac
23942
 
-       ;;
23943
 
-      lynxos*)
23944
 
-       ;;
23945
 
-      m88k*)
23946
 
-       ;;
23947
 
-      mvs*)
23948
 
-       case $cc_basename in
23949
 
-         cxx*)
23950
 
-           lt_prog_compiler_pic_CXX='-W c,exportall'
23951
 
-           ;;
23952
 
-         *)
23953
 
-           ;;
23954
 
-       esac
23955
 
-       ;;
23956
 
-      netbsd* | netbsdelf*-gnu)
23957
 
-       ;;
23958
 
-      osf3* | osf4* | osf5*)
23959
 
-       case $cc_basename in
23960
 
-         KCC*)
23961
 
-           lt_prog_compiler_wl_CXX='--backend -Wl,'
23962
 
-           ;;
23963
 
-         RCC*)
23964
 
-           # Rational C++ 2.4.1
23965
 
-           lt_prog_compiler_pic_CXX='-pic'
23966
 
-           ;;
23967
 
-         cxx*)
23968
 
-           # Digital/Compaq C++
23969
 
-           lt_prog_compiler_wl_CXX='-Wl,'
23970
 
-           # Make sure the PIC flag is empty.  It appears that all Alpha
23971
 
-           # Linux and Compaq Tru64 Unix objects are PIC.
23972
 
-           lt_prog_compiler_pic_CXX=
23973
 
-           lt_prog_compiler_static_CXX='-non_shared'
23974
 
-           ;;
23975
 
-         *)
23976
 
-           ;;
23977
 
-       esac
23978
 
-       ;;
23979
 
-      psos*)
23980
 
-       ;;
23981
 
-      solaris*)
23982
 
-       case $cc_basename in
23983
 
-         CC*)
23984
 
-           # Sun C++ 4.2, 5.x and Centerline C++
23985
 
-           lt_prog_compiler_pic_CXX='-KPIC'
23986
 
-           lt_prog_compiler_static_CXX='-Bstatic'
23987
 
-           lt_prog_compiler_wl_CXX='-Qoption ld '
23988
 
-           ;;
23989
 
-         gcx*)
23990
 
-           # Green Hills C++ Compiler
23991
 
-           lt_prog_compiler_pic_CXX='-PIC'
23992
 
-           ;;
23993
 
-         *)
23994
 
-           ;;
23995
 
-       esac
23996
 
-       ;;
23997
 
-      sunos4*)
23998
 
-       case $cc_basename in
23999
 
-         CC*)
24000
 
-           # Sun C++ 4.x
24001
 
-           lt_prog_compiler_pic_CXX='-pic'
24002
 
-           lt_prog_compiler_static_CXX='-Bstatic'
24003
 
-           ;;
24004
 
-         lcc*)
24005
 
-           # Lucid
24006
 
-           lt_prog_compiler_pic_CXX='-pic'
24007
 
-           ;;
24008
 
-         *)
24009
 
-           ;;
24010
 
-       esac
24011
 
-       ;;
24012
 
-      tandem*)
24013
 
-       case $cc_basename in
24014
 
-         NCC*)
24015
 
-           # NonStop-UX NCC 3.20
24016
 
-           lt_prog_compiler_pic_CXX='-KPIC'
24017
 
-           ;;
24018
 
-         *)
24019
 
-           ;;
24020
 
-       esac
24021
 
-       ;;
24022
 
-      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
24023
 
-       case $cc_basename in
24024
 
-         CC*)
24025
 
-           lt_prog_compiler_wl_CXX='-Wl,'
24026
 
-           lt_prog_compiler_pic_CXX='-KPIC'
24027
 
-           lt_prog_compiler_static_CXX='-Bstatic'
24028
 
-           ;;
24029
 
-       esac
24030
 
-       ;;
24031
 
-      vxworks*)
24032
 
-       ;;
24033
 
-      *)
24034
 
-       lt_prog_compiler_can_build_shared_CXX=no
24035
 
-       ;;
24036
 
-    esac
24037
 
-  fi
24038
 
-
24039
 
-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
24040
 
-echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
24041
 
-
24042
 
-#
24043
 
-# Check to make sure the PIC flag actually works.
24044
 
-#
24045
 
-if test -n "$lt_prog_compiler_pic_CXX"; then
24046
 
-
24047
 
-{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
24048
 
-echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
24049
 
-if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
24050
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
24051
 
-else
24052
 
-  lt_cv_prog_compiler_pic_works_CXX=no
24053
 
-  ac_outfile=conftest.$ac_objext
24054
 
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
24055
 
-   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
24056
 
-   # Insert the option either (1) after the last *FLAGS variable, or
24057
 
-   # (2) before a word containing "conftest.", or (3) at the end.
24058
 
-   # Note that $ac_compile itself does not contain backslashes and begins
24059
 
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
24060
 
-   # The option is referenced via a variable to avoid confusing sed.
24061
 
-   lt_compile=`echo "$ac_compile" | $SED \
24062
 
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24063
 
-   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24064
 
-   -e 's:$: $lt_compiler_flag:'`
24065
 
-   (eval echo "\"\$as_me:14744: $lt_compile\"" >&5)
24066
 
-   (eval "$lt_compile" 2>conftest.err)
24067
 
-   ac_status=$?
24068
 
-   cat conftest.err >&5
24069
 
-   echo "$as_me:14748: \$? = $ac_status" >&5
24070
 
-   if (exit $ac_status) && test -s "$ac_outfile"; then
24071
 
-     # The compiler can only warn and ignore the option if not recognized
24072
 
-     # So say no if there are warnings other than the usual output.
24073
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
24074
 
-     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24075
 
-     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
24076
 
-       lt_cv_prog_compiler_pic_works_CXX=yes
24077
 
-     fi
24078
 
-   fi
24079
 
-   $rm conftest*
24080
 
-
24081
 
-fi
24082
 
-{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
24083
 
-echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
24084
 
-
24085
 
-if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
24086
 
-    case $lt_prog_compiler_pic_CXX in
24087
 
-     "" | " "*) ;;
24088
 
-     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
24089
 
-     esac
24090
 
-else
24091
 
-    lt_prog_compiler_pic_CXX=
24092
 
-     lt_prog_compiler_can_build_shared_CXX=no
24093
 
-fi
24094
 
-
24095
 
-fi
24096
 
-case $host_os in
24097
 
-  # For platforms which do not support PIC, -DPIC is meaningless:
24098
 
-  *djgpp*)
24099
 
-    lt_prog_compiler_pic_CXX=
24100
 
-    ;;
24101
 
-  *)
24102
 
-    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
24103
 
-    ;;
24104
 
-esac
24105
 
-
24106
 
-#
24107
 
-# Check to make sure the static flag actually works.
24108
 
-#
24109
 
-wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
24110
 
-{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
24111
 
-echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
24112
 
-if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
24113
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
24114
 
-else
24115
 
-  lt_cv_prog_compiler_static_works_CXX=no
24116
 
-   save_LDFLAGS="$LDFLAGS"
24117
 
-   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
24118
 
-   echo "$lt_simple_link_test_code" > conftest.$ac_ext
24119
 
-   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
24120
 
-     # The linker can only warn and ignore the option if not recognized
24121
 
-     # So say no if there are warnings
24122
 
-     if test -s conftest.err; then
24123
 
-       # Append any errors to the config.log.
24124
 
-       cat conftest.err 1>&5
24125
 
-       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
24126
 
-       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24127
 
-       if diff conftest.exp conftest.er2 >/dev/null; then
24128
 
-         lt_cv_prog_compiler_static_works_CXX=yes
24129
 
-       fi
24130
 
-     else
24131
 
-       lt_cv_prog_compiler_static_works_CXX=yes
24132
 
-     fi
24133
 
-   fi
24134
 
-   $rm -r conftest*
24135
 
-   LDFLAGS="$save_LDFLAGS"
24136
 
-
24137
 
-fi
24138
 
-{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
24139
 
-echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
24140
 
-
24141
 
-if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
24142
 
-    :
24143
 
-else
24144
 
-    lt_prog_compiler_static_CXX=
24145
 
-fi
24146
 
-
24147
 
-
24148
 
-{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
24149
 
-echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
24150
 
-if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
24151
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
24152
 
-else
24153
 
-  lt_cv_prog_compiler_c_o_CXX=no
24154
 
-   $rm -r conftest 2>/dev/null
24155
 
-   mkdir conftest
24156
 
-   cd conftest
24157
 
-   mkdir out
24158
 
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
24159
 
-
24160
 
-   lt_compiler_flag="-o out/conftest2.$ac_objext"
24161
 
-   # Insert the option either (1) after the last *FLAGS variable, or
24162
 
-   # (2) before a word containing "conftest.", or (3) at the end.
24163
 
-   # Note that $ac_compile itself does not contain backslashes and begins
24164
 
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
24165
 
-   lt_compile=`echo "$ac_compile" | $SED \
24166
 
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24167
 
-   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24168
 
-   -e 's:$: $lt_compiler_flag:'`
24169
 
-   (eval echo "\"\$as_me:14848: $lt_compile\"" >&5)
24170
 
-   (eval "$lt_compile" 2>out/conftest.err)
24171
 
-   ac_status=$?
24172
 
-   cat out/conftest.err >&5
24173
 
-   echo "$as_me:14852: \$? = $ac_status" >&5
24174
 
-   if (exit $ac_status) && test -s out/conftest2.$ac_objext
24175
 
-   then
24176
 
-     # The compiler can only warn and ignore the option if not recognized
24177
 
-     # So say no if there are warnings
24178
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
24179
 
-     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
24180
 
-     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
24181
 
-       lt_cv_prog_compiler_c_o_CXX=yes
24182
 
-     fi
24183
 
-   fi
24184
 
-   chmod u+w . 2>&5
24185
 
-   $rm conftest*
24186
 
-   # SGI C++ compiler will create directory out/ii_files/ for
24187
 
-   # template instantiation
24188
 
-   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
24189
 
-   $rm out/* && rmdir out
24190
 
-   cd ..
24191
 
-   rmdir conftest
24192
 
-   $rm conftest*
24193
 
-
24194
 
-fi
24195
 
-{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
24196
 
-echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
24197
 
-
24198
 
-
24199
 
-hard_links="nottested"
24200
 
-if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
24201
 
-  # do not overwrite the value of need_locks provided by the user
24202
 
-  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
24203
 
-echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
24204
 
-  hard_links=yes
24205
 
-  $rm conftest*
24206
 
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
24207
 
-  touch conftest.a
24208
 
-  ln conftest.a conftest.b 2>&5 || hard_links=no
24209
 
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
24210
 
-  { echo "$as_me:$LINENO: result: $hard_links" >&5
24211
 
-echo "${ECHO_T}$hard_links" >&6; }
24212
 
-  if test "$hard_links" = no; then
24213
 
-    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
24214
 
-echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
24215
 
-    need_locks=warn
24216
 
-  fi
24217
 
-else
24218
 
-  need_locks=no
24219
 
-fi
24220
 
-
24221
 
-{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
24222
 
-echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
24223
 
-
24224
 
-  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
24225
 
-  case $host_os in
24226
 
-  aix[4-9]*)
24227
 
-    # If we're using GNU nm, then we don't want the "-C" option.
24228
 
-    # -C means demangle to AIX nm, but means don't demangle with GNU nm
24229
 
-    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
24230
 
-      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
24231
 
-    else
24232
 
-      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
24233
 
-    fi
24234
 
-    ;;
24235
 
-  pw32*)
24236
 
-    export_symbols_cmds_CXX="$ltdll_cmds"
24237
 
-  ;;
24238
 
-  cygwin* | mingw*)
24239
 
-    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'
24240
 
-  ;;
24241
 
-  linux* | k*bsd*-gnu)
24242
 
-    link_all_deplibs_CXX=no
24243
 
-  ;;
24244
 
-  *)
24245
 
-    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
24246
 
-  ;;
24247
 
-  esac
24248
 
-  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
24249
 
-
24250
 
-{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
24251
 
-echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
24252
 
-test "$ld_shlibs_CXX" = no && can_build_shared=no
24253
 
-
24254
 
-#
24255
 
-# Do we need to explicitly link libc?
24256
 
-#
24257
 
-case "x$archive_cmds_need_lc_CXX" in
24258
 
-x|xyes)
24259
 
-  # Assume -lc should be added
24260
 
-  archive_cmds_need_lc_CXX=yes
24261
 
-
24262
 
-  if test "$enable_shared" = yes && test "$GCC" = yes; then
24263
 
-    case $archive_cmds_CXX in
24264
 
-    *'~'*)
24265
 
-      # FIXME: we may have to deal with multi-command sequences.
24266
 
-      ;;
24267
 
-    '$CC '*)
24268
 
-      # Test whether the compiler implicitly links with -lc since on some
24269
 
-      # systems, -lgcc has to come before -lc. If gcc already passes -lc
24270
 
-      # to ld, don't add -lc before -lgcc.
24271
 
-      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
24272
 
-echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
24273
 
-      $rm conftest*
24274
 
-      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
24275
 
-
24276
 
-      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24277
 
-  (eval $ac_compile) 2>&5
24278
 
-  ac_status=$?
24279
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24280
 
-  (exit $ac_status); } 2>conftest.err; then
24281
 
-        soname=conftest
24282
 
-        lib=conftest
24283
 
-        libobjs=conftest.$ac_objext
24284
 
-        deplibs=
24285
 
-        wl=$lt_prog_compiler_wl_CXX
24286
 
-       pic_flag=$lt_prog_compiler_pic_CXX
24287
 
-        compiler_flags=-v
24288
 
-        linker_flags=-v
24289
 
-        verstring=
24290
 
-        output_objdir=.
24291
 
-        libname=conftest
24292
 
-        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
24293
 
-        allow_undefined_flag_CXX=
24294
 
-        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
24295
 
-  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
24296
 
-  ac_status=$?
24297
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24298
 
-  (exit $ac_status); }
24299
 
-        then
24300
 
-         archive_cmds_need_lc_CXX=no
24301
 
-        else
24302
 
-         archive_cmds_need_lc_CXX=yes
24303
 
-        fi
24304
 
-        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
24305
 
-      else
24306
 
-        cat conftest.err 1>&5
24307
 
-      fi
24308
 
-      $rm conftest*
24309
 
-      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
24310
 
-echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
24311
 
-      ;;
24312
 
-    esac
24313
 
-  fi
24314
 
-  ;;
24315
 
-esac
24316
 
-
24317
 
-{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
24318
 
-echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
24319
 
-library_names_spec=
24320
 
-libname_spec='lib$name'
24321
 
-soname_spec=
24322
 
-shrext_cmds=".so"
24323
 
-postinstall_cmds=
24324
 
-postuninstall_cmds=
24325
 
-finish_cmds=
24326
 
-finish_eval=
24327
 
-shlibpath_var=
24328
 
-shlibpath_overrides_runpath=unknown
24329
 
-version_type=none
24330
 
-dynamic_linker="$host_os ld.so"
24331
 
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
24332
 
-
24333
 
-need_lib_prefix=unknown
24334
 
-hardcode_into_libs=no
24335
 
-
24336
 
-# when you set need_version to no, make sure it does not cause -set_version
24337
 
-# flags to be left without arguments
24338
 
-need_version=unknown
24339
 
-
24340
 
-case $host_os in
24341
 
-aix3*)
24342
 
-  version_type=linux
24343
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
24344
 
-  shlibpath_var=LIBPATH
24345
 
-
24346
 
-  # AIX 3 has no versioning support, so we append a major version to the name.
24347
 
-  soname_spec='${libname}${release}${shared_ext}$major'
24348
 
-  ;;
24349
 
-
24350
 
-aix[4-9]*)
24351
 
-  version_type=linux
24352
 
-  need_lib_prefix=no
24353
 
-  need_version=no
24354
 
-  hardcode_into_libs=yes
24355
 
-  if test "$host_cpu" = ia64; then
24356
 
-    # AIX 5 supports IA64
24357
 
-    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
24358
 
-    shlibpath_var=LD_LIBRARY_PATH
24359
 
-  else
24360
 
-    # With GCC up to 2.95.x, collect2 would create an import file
24361
 
-    # for dependence libraries.  The import file would start with
24362
 
-    # the line `#! .'.  This would cause the generated library to
24363
 
-    # depend on `.', always an invalid library.  This was fixed in
24364
 
-    # development snapshots of GCC prior to 3.0.
24365
 
-    case $host_os in
24366
 
-      aix4 | aix4.[01] | aix4.[01].*)
24367
 
-      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
24368
 
-          echo ' yes '
24369
 
-          echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
24370
 
-       :
24371
 
-      else
24372
 
-       can_build_shared=no
24373
 
-      fi
24374
 
-      ;;
24375
 
-    esac
24376
 
-    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
24377
 
-    # soname into executable. Probably we can add versioning support to
24378
 
-    # collect2, so additional links can be useful in future.
24379
 
-    if test "$aix_use_runtimelinking" = yes; then
24380
 
-      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
24381
 
-      # instead of lib<name>.a to let people know that these are not
24382
 
-      # typical AIX shared libraries.
24383
 
-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24384
 
-    else
24385
 
-      # We preserve .a as extension for shared libraries through AIX4.2
24386
 
-      # and later when we are not doing run time linking.
24387
 
-      library_names_spec='${libname}${release}.a $libname.a'
24388
 
-      soname_spec='${libname}${release}${shared_ext}$major'
24389
 
-    fi
24390
 
-    shlibpath_var=LIBPATH
24391
 
-  fi
24392
 
-  ;;
24393
 
-
24394
 
-amigaos*)
24395
 
-  library_names_spec='$libname.ixlibrary $libname.a'
24396
 
-  # Create ${libname}_ixlibrary.a entries in /sys/libs.
24397
 
-  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'
24398
 
-  ;;
24399
 
-
24400
 
-beos*)
24401
 
-  library_names_spec='${libname}${shared_ext}'
24402
 
-  dynamic_linker="$host_os ld.so"
24403
 
-  shlibpath_var=LIBRARY_PATH
24404
 
-  ;;
24405
 
-
24406
 
-bsdi[45]*)
24407
 
-  version_type=linux
24408
 
-  need_version=no
24409
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24410
 
-  soname_spec='${libname}${release}${shared_ext}$major'
24411
 
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
24412
 
-  shlibpath_var=LD_LIBRARY_PATH
24413
 
-  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
24414
 
-  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
24415
 
-  # the default ld.so.conf also contains /usr/contrib/lib and
24416
 
-  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
24417
 
-  # libtool to hard-code these into programs
24418
 
-  ;;
24419
 
-
24420
 
-cygwin* | mingw* | pw32*)
24421
 
-  version_type=windows
24422
 
-  shrext_cmds=".dll"
24423
 
-  need_version=no
24424
 
-  need_lib_prefix=no
24425
 
-
24426
 
-  case $GCC,$host_os in
24427
 
-  yes,cygwin* | yes,mingw* | yes,pw32*)
24428
 
-    library_names_spec='$libname.dll.a'
24429
 
-    # DLL is installed to $(libdir)/../bin by postinstall_cmds
24430
 
-    postinstall_cmds='base_file=`basename \${file}`~
24431
 
-      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
24432
 
-      dldir=$destdir/`dirname \$dlpath`~
24433
 
-      test -d \$dldir || mkdir -p \$dldir~
24434
 
-      $install_prog $dir/$dlname \$dldir/$dlname~
24435
 
-      chmod a+x \$dldir/$dlname'
24436
 
-    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
24437
 
-      dlpath=$dir/\$dldll~
24438
 
-       $rm \$dlpath'
24439
 
-    shlibpath_overrides_runpath=yes
24440
 
-
24441
 
-    case $host_os in
24442
 
-    cygwin*)
24443
 
-      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
24444
 
-      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
24445
 
-      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
24446
 
-      ;;
24447
 
-    mingw*)
24448
 
-      # MinGW DLLs use traditional 'lib' prefix
24449
 
-      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
24450
 
-      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
24451
 
-      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
24452
 
-        # It is most probably a Windows format PATH printed by
24453
 
-        # mingw gcc, but we are running on Cygwin. Gcc prints its search
24454
 
-        # path with ; separators, and with drive letters. We can handle the
24455
 
-        # drive letters (cygwin fileutils understands them), so leave them,
24456
 
-        # especially as we might pass files found there to a mingw objdump,
24457
 
-        # which wouldn't understand a cygwinified path. Ahh.
24458
 
-        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
24459
 
-      else
24460
 
-        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
24461
 
-      fi
24462
 
-      ;;
24463
 
-    pw32*)
24464
 
-      # pw32 DLLs use 'pw' prefix rather than 'lib'
24465
 
-      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
24466
 
-      ;;
24467
 
-    esac
24468
 
-    ;;
24469
 
-
24470
 
-  *)
24471
 
-    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
24472
 
-    ;;
24473
 
-  esac
24474
 
-  dynamic_linker='Win32 ld.exe'
24475
 
-  # FIXME: first we should search . and the directory the executable is in
24476
 
-  shlibpath_var=PATH
24477
 
-  ;;
24478
 
-
24479
 
-darwin* | rhapsody*)
24480
 
-  dynamic_linker="$host_os dyld"
24481
 
-  version_type=darwin
24482
 
-  need_lib_prefix=no
24483
 
-  need_version=no
24484
 
-  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
24485
 
-  soname_spec='${libname}${release}${major}$shared_ext'
24486
 
-  shlibpath_overrides_runpath=yes
24487
 
-  shlibpath_var=DYLD_LIBRARY_PATH
24488
 
-  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
24489
 
-
24490
 
-  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
24491
 
-  ;;
24492
 
-
24493
 
-dgux*)
24494
 
-  version_type=linux
24495
 
-  need_lib_prefix=no
24496
 
-  need_version=no
24497
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
24498
 
-  soname_spec='${libname}${release}${shared_ext}$major'
24499
 
-  shlibpath_var=LD_LIBRARY_PATH
24500
 
-  ;;
24501
 
-
24502
 
-freebsd1*)
24503
 
-  dynamic_linker=no
24504
 
-  ;;
24505
 
-
24506
 
-freebsd* | dragonfly*)
24507
 
-  # DragonFly does not have aout.  When/if they implement a new
24508
 
-  # versioning mechanism, adjust this.
24509
 
-  if test -x /usr/bin/objformat; then
24510
 
-    objformat=`/usr/bin/objformat`
24511
 
-  else
24512
 
-    case $host_os in
24513
 
-    freebsd[123]*) objformat=aout ;;
24514
 
-    *) objformat=elf ;;
24515
 
-    esac
24516
 
-  fi
24517
 
-  version_type=freebsd-$objformat
24518
 
-  case $version_type in
24519
 
-    freebsd-elf*)
24520
 
-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
24521
 
-      need_version=no
24522
 
-      need_lib_prefix=no
24523
 
-      ;;
24524
 
-    freebsd-*)
24525
 
-      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
24526
 
-      need_version=yes
24527
 
-      ;;
24528
 
-  esac
24529
 
-  shlibpath_var=LD_LIBRARY_PATH
24530
 
-  case $host_os in
24531
 
-  freebsd2*)
24532
 
-    shlibpath_overrides_runpath=yes
24533
 
-    ;;
24534
 
-  freebsd3.[01]* | freebsdelf3.[01]*)
24535
 
-    shlibpath_overrides_runpath=yes
24536
 
-    hardcode_into_libs=yes
24537
 
-    ;;
24538
 
-  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
24539
 
-  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
24540
 
-    shlibpath_overrides_runpath=no
24541
 
-    hardcode_into_libs=yes
24542
 
-    ;;
24543
 
-  *) # from 4.6 on, and DragonFly
24544
 
-    shlibpath_overrides_runpath=yes
24545
 
-    hardcode_into_libs=yes
24546
 
-    ;;
24547
 
-  esac
24548
 
-  ;;
24549
 
-
24550
 
-gnu*)
24551
 
-  version_type=linux
24552
 
-  need_lib_prefix=no
24553
 
-  need_version=no
24554
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
24555
 
-  soname_spec='${libname}${release}${shared_ext}$major'
24556
 
-  shlibpath_var=LD_LIBRARY_PATH
24557
 
-  hardcode_into_libs=yes
24558
 
-  ;;
24559
 
-
24560
 
-hpux9* | hpux10* | hpux11*)
24561
 
-  # Give a soname corresponding to the major version so that dld.sl refuses to
24562
 
-  # link against other versions.
24563
 
-  version_type=sunos
24564
 
-  need_lib_prefix=no
24565
 
-  need_version=no
24566
 
-  case $host_cpu in
24567
 
-  ia64*)
24568
 
-    shrext_cmds='.so'
24569
 
-    hardcode_into_libs=yes
24570
 
-    dynamic_linker="$host_os dld.so"
24571
 
-    shlibpath_var=LD_LIBRARY_PATH
24572
 
-    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
24573
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24574
 
-    soname_spec='${libname}${release}${shared_ext}$major'
24575
 
-    if test "X$HPUX_IA64_MODE" = X32; then
24576
 
-      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
24577
 
-    else
24578
 
-      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
24579
 
-    fi
24580
 
-    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
24581
 
-    ;;
24582
 
-   hppa*64*)
24583
 
-     shrext_cmds='.sl'
24584
 
-     hardcode_into_libs=yes
24585
 
-     dynamic_linker="$host_os dld.sl"
24586
 
-     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
24587
 
-     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
24588
 
-     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24589
 
-     soname_spec='${libname}${release}${shared_ext}$major'
24590
 
-     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
24591
 
-     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
24592
 
-     ;;
24593
 
-   *)
24594
 
-    shrext_cmds='.sl'
24595
 
-    dynamic_linker="$host_os dld.sl"
24596
 
-    shlibpath_var=SHLIB_PATH
24597
 
-    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
24598
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24599
 
-    soname_spec='${libname}${release}${shared_ext}$major'
24600
 
-    ;;
24601
 
-  esac
24602
 
-  # HP-UX runs *really* slowly unless shared libraries are mode 555.
24603
 
-  postinstall_cmds='chmod 555 $lib'
24604
 
-  ;;
24605
 
-
24606
 
-interix[3-9]*)
24607
 
-  version_type=linux
24608
 
-  need_lib_prefix=no
24609
 
-  need_version=no
24610
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
24611
 
-  soname_spec='${libname}${release}${shared_ext}$major'
24612
 
-  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
24613
 
-  shlibpath_var=LD_LIBRARY_PATH
24614
 
-  shlibpath_overrides_runpath=no
24615
 
-  hardcode_into_libs=yes
24616
 
-  ;;
24617
 
-
24618
 
-irix5* | irix6* | nonstopux*)
24619
 
-  case $host_os in
24620
 
-    nonstopux*) version_type=nonstopux ;;
24621
 
-    *)
24622
 
-       if test "$lt_cv_prog_gnu_ld" = yes; then
24623
 
-               version_type=linux
24624
 
-       else
24625
 
-               version_type=irix
24626
 
-       fi ;;
24627
 
-  esac
24628
 
-  need_lib_prefix=no
24629
 
-  need_version=no
24630
 
-  soname_spec='${libname}${release}${shared_ext}$major'
24631
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
24632
 
-  case $host_os in
24633
 
-  irix5* | nonstopux*)
24634
 
-    libsuff= shlibsuff=
24635
 
-    ;;
24636
 
-  *)
24637
 
-    case $LD in # libtool.m4 will add one of these switches to LD
24638
 
-    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
24639
 
-      libsuff= shlibsuff= libmagic=32-bit;;
24640
 
-    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
24641
 
-      libsuff=32 shlibsuff=N32 libmagic=N32;;
24642
 
-    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
24643
 
-      libsuff=64 shlibsuff=64 libmagic=64-bit;;
24644
 
-    *) libsuff= shlibsuff= libmagic=never-match;;
24645
 
-    esac
24646
 
-    ;;
24647
 
-  esac
24648
 
-  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
24649
 
-  shlibpath_overrides_runpath=no
24650
 
-  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
24651
 
-  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
24652
 
-  hardcode_into_libs=yes
24653
 
-  ;;
24654
 
-
24655
 
-# No shared lib support for Linux oldld, aout, or coff.
24656
 
-linux*oldld* | linux*aout* | linux*coff*)
24657
 
-  dynamic_linker=no
24658
 
-  ;;
24659
 
-
24660
 
-# This must be Linux ELF.
24661
 
-linux* | k*bsd*-gnu)
24662
 
-  version_type=linux
24663
 
-  need_lib_prefix=no
24664
 
-  need_version=no
24665
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24666
 
-  soname_spec='${libname}${release}${shared_ext}$major'
24667
 
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
24668
 
-  shlibpath_var=LD_LIBRARY_PATH
24669
 
-  shlibpath_overrides_runpath=no
24670
 
-  # This implies no fast_install, which is unacceptable.
24671
 
-  # Some rework will be needed to allow for fast_install
24672
 
-  # before this can be enabled.
24673
 
-  hardcode_into_libs=yes
24674
 
-
24675
 
-  # Append ld.so.conf contents to the search path
24676
 
-  if test -f /etc/ld.so.conf; then
24677
 
-    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' ' '`
24678
 
-    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
24679
 
-  fi
24680
 
-
24681
 
-  # We used to test for /lib/ld.so.1 and disable shared libraries on
24682
 
-  # powerpc, because MkLinux only supported shared libraries with the
24683
 
-  # GNU dynamic linker.  Since this was broken with cross compilers,
24684
 
-  # most powerpc-linux boxes support dynamic linking these days and
24685
 
-  # people can always --disable-shared, the test was removed, and we
24686
 
-  # assume the GNU/Linux dynamic linker is in use.
24687
 
-  dynamic_linker='GNU/Linux ld.so'
24688
 
-  ;;
24689
 
-
24690
 
-netbsdelf*-gnu)
24691
 
-  version_type=linux
24692
 
-  need_lib_prefix=no
24693
 
-  need_version=no
24694
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
24695
 
-  soname_spec='${libname}${release}${shared_ext}$major'
24696
 
-  shlibpath_var=LD_LIBRARY_PATH
24697
 
-  shlibpath_overrides_runpath=no
24698
 
-  hardcode_into_libs=yes
24699
 
-  dynamic_linker='NetBSD ld.elf_so'
24700
 
-  ;;
24701
 
-
24702
 
-netbsd*)
24703
 
-  version_type=sunos
24704
 
-  need_lib_prefix=no
24705
 
-  need_version=no
24706
 
-  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
24707
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
24708
 
-    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
24709
 
-    dynamic_linker='NetBSD (a.out) ld.so'
24710
 
-  else
24711
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
24712
 
-    soname_spec='${libname}${release}${shared_ext}$major'
24713
 
-    dynamic_linker='NetBSD ld.elf_so'
24714
 
-  fi
24715
 
-  shlibpath_var=LD_LIBRARY_PATH
24716
 
-  shlibpath_overrides_runpath=yes
24717
 
-  hardcode_into_libs=yes
24718
 
-  ;;
24719
 
-
24720
 
-newsos6)
24721
 
-  version_type=linux
24722
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24723
 
-  shlibpath_var=LD_LIBRARY_PATH
24724
 
-  shlibpath_overrides_runpath=yes
24725
 
-  ;;
24726
 
-
24727
 
-nto-qnx*)
24728
 
-  version_type=linux
24729
 
-  need_lib_prefix=no
24730
 
-  need_version=no
24731
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24732
 
-  soname_spec='${libname}${release}${shared_ext}$major'
24733
 
-  shlibpath_var=LD_LIBRARY_PATH
24734
 
-  shlibpath_overrides_runpath=yes
24735
 
-  ;;
24736
 
-
24737
 
-openbsd*)
24738
 
-  version_type=sunos
24739
 
-  sys_lib_dlsearch_path_spec="/usr/lib"
24740
 
-  need_lib_prefix=no
24741
 
-  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
24742
 
-  case $host_os in
24743
 
-    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
24744
 
-    *)                         need_version=no  ;;
24745
 
-  esac
24746
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
24747
 
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
24748
 
-  shlibpath_var=LD_LIBRARY_PATH
24749
 
-  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24750
 
-    case $host_os in
24751
 
-      openbsd2.[89] | openbsd2.[89].*)
24752
 
-       shlibpath_overrides_runpath=no
24753
 
-       ;;
24754
 
-      *)
24755
 
-       shlibpath_overrides_runpath=yes
24756
 
-       ;;
24757
 
-      esac
24758
 
-  else
24759
 
-    shlibpath_overrides_runpath=yes
24760
 
-  fi
24761
 
-  ;;
24762
 
-
24763
 
-os2*)
24764
 
-  libname_spec='$name'
24765
 
-  shrext_cmds=".dll"
24766
 
-  need_lib_prefix=no
24767
 
-  library_names_spec='$libname${shared_ext} $libname.a'
24768
 
-  dynamic_linker='OS/2 ld.exe'
24769
 
-  shlibpath_var=LIBPATH
24770
 
-  ;;
24771
 
-
24772
 
-osf3* | osf4* | osf5*)
24773
 
-  version_type=osf
24774
 
-  need_lib_prefix=no
24775
 
-  need_version=no
24776
 
-  soname_spec='${libname}${release}${shared_ext}$major'
24777
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24778
 
-  shlibpath_var=LD_LIBRARY_PATH
24779
 
-  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
24780
 
-  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
24781
 
-  ;;
24782
 
-
24783
 
-rdos*)
24784
 
-  dynamic_linker=no
24785
 
-  ;;
24786
 
-
24787
 
-solaris*)
24788
 
-  version_type=linux
24789
 
-  need_lib_prefix=no
24790
 
-  need_version=no
24791
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24792
 
-  soname_spec='${libname}${release}${shared_ext}$major'
24793
 
-  shlibpath_var=LD_LIBRARY_PATH
24794
 
-  shlibpath_overrides_runpath=yes
24795
 
-  hardcode_into_libs=yes
24796
 
-  # ldd complains unless libraries are executable
24797
 
-  postinstall_cmds='chmod +x $lib'
24798
 
-  ;;
24799
 
-
24800
 
-sunos4*)
24801
 
-  version_type=sunos
24802
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
24803
 
-  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
24804
 
-  shlibpath_var=LD_LIBRARY_PATH
24805
 
-  shlibpath_overrides_runpath=yes
24806
 
-  if test "$with_gnu_ld" = yes; then
24807
 
-    need_lib_prefix=no
24808
 
-  fi
24809
 
-  need_version=yes
24810
 
-  ;;
24811
 
-
24812
 
-sysv4 | sysv4.3*)
24813
 
-  version_type=linux
24814
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24815
 
-  soname_spec='${libname}${release}${shared_ext}$major'
24816
 
-  shlibpath_var=LD_LIBRARY_PATH
24817
 
-  case $host_vendor in
24818
 
-    sni)
24819
 
-      shlibpath_overrides_runpath=no
24820
 
-      need_lib_prefix=no
24821
 
-      export_dynamic_flag_spec='${wl}-Blargedynsym'
24822
 
-      runpath_var=LD_RUN_PATH
24823
 
-      ;;
24824
 
-    siemens)
24825
 
-      need_lib_prefix=no
24826
 
-      ;;
24827
 
-    motorola)
24828
 
-      need_lib_prefix=no
24829
 
-      need_version=no
24830
 
-      shlibpath_overrides_runpath=no
24831
 
-      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
24832
 
-      ;;
24833
 
-  esac
24834
 
-  ;;
24835
 
-
24836
 
-sysv4*MP*)
24837
 
-  if test -d /usr/nec ;then
24838
 
-    version_type=linux
24839
 
-    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
24840
 
-    soname_spec='$libname${shared_ext}.$major'
24841
 
-    shlibpath_var=LD_LIBRARY_PATH
24842
 
-  fi
24843
 
-  ;;
24844
 
-
24845
 
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
24846
 
-  version_type=freebsd-elf
24847
 
-  need_lib_prefix=no
24848
 
-  need_version=no
24849
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
24850
 
-  soname_spec='${libname}${release}${shared_ext}$major'
24851
 
-  shlibpath_var=LD_LIBRARY_PATH
24852
 
-  hardcode_into_libs=yes
24853
 
-  if test "$with_gnu_ld" = yes; then
24854
 
-    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
24855
 
-    shlibpath_overrides_runpath=no
24856
 
-  else
24857
 
-    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
24858
 
-    shlibpath_overrides_runpath=yes
24859
 
-    case $host_os in
24860
 
-      sco3.2v5*)
24861
 
-        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
24862
 
-       ;;
24863
 
-    esac
24864
 
-  fi
24865
 
-  sys_lib_dlsearch_path_spec='/usr/lib'
24866
 
-  ;;
24867
 
-
24868
 
-uts4*)
24869
 
-  version_type=linux
24870
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24871
 
-  soname_spec='${libname}${release}${shared_ext}$major'
24872
 
-  shlibpath_var=LD_LIBRARY_PATH
24873
 
-  ;;
24874
 
 
24875
 
-*)
24876
 
-  dynamic_linker=no
24877
 
-  ;;
24878
 
-esac
24879
 
-{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
24880
 
-echo "${ECHO_T}$dynamic_linker" >&6; }
24881
 
-test "$dynamic_linker" = no && can_build_shared=no
24882
 
-
24883
 
-if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
24884
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
24885
 
-else
24886
 
-  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
24887
 
-fi
24888
 
-
24889
 
-sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
24890
 
-if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
24891
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
24892
 
-else
24893
 
-  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
24894
 
-fi
24895
 
-
24896
 
-sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
24897
 
-
24898
 
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
24899
 
-if test "$GCC" = yes; then
24900
 
-  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
24901
 
-fi
24902
 
-
24903
 
-{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
24904
 
-echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
24905
 
-hardcode_action_CXX=
24906
 
-if test -n "$hardcode_libdir_flag_spec_CXX" || \
24907
 
-   test -n "$runpath_var_CXX" || \
24908
 
-   test "X$hardcode_automatic_CXX" = "Xyes" ; then
24909
 
-
24910
 
-  # We can hardcode non-existant directories.
24911
 
-  if test "$hardcode_direct_CXX" != no &&
24912
 
-     # If the only mechanism to avoid hardcoding is shlibpath_var, we
24913
 
-     # have to relink, otherwise we might link with an installed library
24914
 
-     # when we should be linking with a yet-to-be-installed one
24915
 
-     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
24916
 
-     test "$hardcode_minus_L_CXX" != no; then
24917
 
-    # Linking always hardcodes the temporary library directory.
24918
 
-    hardcode_action_CXX=relink
24919
 
-  else
24920
 
-    # We can link without hardcoding, and we can hardcode nonexisting dirs.
24921
 
-    hardcode_action_CXX=immediate
24922
 
-  fi
24923
 
-else
24924
 
-  # We cannot hardcode anything, or else we can only hardcode existing
24925
 
-  # directories.
24926
 
-  hardcode_action_CXX=unsupported
24927
 
-fi
24928
 
-{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
24929
 
-echo "${ECHO_T}$hardcode_action_CXX" >&6; }
24930
 
-
24931
 
-if test "$hardcode_action_CXX" = relink; then
24932
 
-  # Fast installation is not supported
24933
 
-  enable_fast_install=no
24934
 
-elif test "$shlibpath_overrides_runpath" = yes ||
24935
 
-     test "$enable_shared" = no; then
24936
 
-  # Fast installation is not necessary
24937
 
-  enable_fast_install=needless
24938
 
-fi
24939
 
-
24940
 
-
24941
 
-# The else clause should only fire when bootstrapping the
24942
 
-# libtool distribution, otherwise you forgot to ship ltmain.sh
24943
 
-# with your package, and you will get complaints that there are
24944
 
-# no rules to generate ltmain.sh.
24945
 
-if test -f "$ltmain"; then
24946
 
-  # See if we are running on zsh, and set the options which allow our commands through
24947
 
-  # without removal of \ escapes.
24948
 
-  if test -n "${ZSH_VERSION+set}" ; then
24949
 
-    setopt NO_GLOB_SUBST
24950
 
-  fi
24951
 
-  # Now quote all the things that may contain metacharacters while being
24952
 
-  # careful not to overquote the AC_SUBSTed values.  We take copies of the
24953
 
-  # variables and quote the copies for generation of the libtool script.
24954
 
-  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
24955
 
-    SED SHELL STRIP \
24956
 
-    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
24957
 
-    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
24958
 
-    deplibs_check_method reload_flag reload_cmds need_locks \
24959
 
-    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
24960
 
-    lt_cv_sys_global_symbol_to_c_name_address \
24961
 
-    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
24962
 
-    old_postinstall_cmds old_postuninstall_cmds \
24963
 
-    compiler_CXX \
24964
 
-    CC_CXX \
24965
 
-    LD_CXX \
24966
 
-    lt_prog_compiler_wl_CXX \
24967
 
-    lt_prog_compiler_pic_CXX \
24968
 
-    lt_prog_compiler_static_CXX \
24969
 
-    lt_prog_compiler_no_builtin_flag_CXX \
24970
 
-    export_dynamic_flag_spec_CXX \
24971
 
-    thread_safe_flag_spec_CXX \
24972
 
-    whole_archive_flag_spec_CXX \
24973
 
-    enable_shared_with_static_runtimes_CXX \
24974
 
-    old_archive_cmds_CXX \
24975
 
-    old_archive_from_new_cmds_CXX \
24976
 
-    predep_objects_CXX \
24977
 
-    postdep_objects_CXX \
24978
 
-    predeps_CXX \
24979
 
-    postdeps_CXX \
24980
 
-    compiler_lib_search_path_CXX \
24981
 
-    compiler_lib_search_dirs_CXX \
24982
 
-    archive_cmds_CXX \
24983
 
-    archive_expsym_cmds_CXX \
24984
 
-    postinstall_cmds_CXX \
24985
 
-    postuninstall_cmds_CXX \
24986
 
-    old_archive_from_expsyms_cmds_CXX \
24987
 
-    allow_undefined_flag_CXX \
24988
 
-    no_undefined_flag_CXX \
24989
 
-    export_symbols_cmds_CXX \
24990
 
-    hardcode_libdir_flag_spec_CXX \
24991
 
-    hardcode_libdir_flag_spec_ld_CXX \
24992
 
-    hardcode_libdir_separator_CXX \
24993
 
-    hardcode_automatic_CXX \
24994
 
-    module_cmds_CXX \
24995
 
-    module_expsym_cmds_CXX \
24996
 
-    lt_cv_prog_compiler_c_o_CXX \
24997
 
-    fix_srcfile_path_CXX \
24998
 
-    exclude_expsyms_CXX \
24999
 
-    include_expsyms_CXX; do
25000
 
-
25001
 
-    case $var in
25002
 
-    old_archive_cmds_CXX | \
25003
 
-    old_archive_from_new_cmds_CXX | \
25004
 
-    archive_cmds_CXX | \
25005
 
-    archive_expsym_cmds_CXX | \
25006
 
-    module_cmds_CXX | \
25007
 
-    module_expsym_cmds_CXX | \
25008
 
-    old_archive_from_expsyms_cmds_CXX | \
25009
 
-    export_symbols_cmds_CXX | \
25010
 
-    extract_expsyms_cmds | reload_cmds | finish_cmds | \
25011
 
-    postinstall_cmds | postuninstall_cmds | \
25012
 
-    old_postinstall_cmds | old_postuninstall_cmds | \
25013
 
-    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
25014
 
-      # Double-quote double-evaled strings.
25015
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25016
 
-      ;;
25017
 
-    *)
25018
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25019
 
-      ;;
25020
 
-    esac
25021
 
-  done
25022
 
-
25023
 
-  case $lt_echo in
25024
 
-  *'\$0 --fallback-echo"')
25025
 
-    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25026
 
-    ;;
25027
 
-  esac
25028
 
-
25029
 
-cfgfile="$ofile"
25030
 
-
25031
 
-  cat <<__EOF__ >> "$cfgfile"
25032
 
-# ### BEGIN LIBTOOL TAG CONFIG: $tagname
25033
 
-
25034
 
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25035
 
-
25036
 
-# Shell to use when invoking shell scripts.
25037
 
-SHELL=$lt_SHELL
25038
 
 
25039
 
-# Whether or not to build shared libraries.
25040
 
-build_libtool_libs=$enable_shared
25041
 
-
25042
 
-# Whether or not to build static libraries.
25043
 
-build_old_libs=$enable_static
25044
 
-
25045
 
-# Whether or not to add -lc for building shared libraries.
25046
 
-build_libtool_need_lc=$archive_cmds_need_lc_CXX
25047
 
 
25048
 
-# Whether or not to disallow shared libs when runtime libs are static
25049
 
-allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
25050
 
 
25051
 
-# Whether or not to optimize for fast installation.
25052
 
-fast_install=$enable_fast_install
25053
 
 
25054
 
-# The host system.
25055
 
-host_alias=$host_alias
25056
 
-host=$host
25057
 
-host_os=$host_os
25058
 
 
25059
 
-# The build system.
25060
 
-build_alias=$build_alias
25061
 
-build=$build
25062
 
-build_os=$build_os
25063
 
 
25064
 
-# An echo program that does not interpret backslashes.
25065
 
-echo=$lt_echo
25066
 
 
25067
 
-# The archiver.
25068
 
-AR=$lt_AR
25069
 
-AR_FLAGS=$lt_AR_FLAGS
25070
 
 
25071
 
-# A C compiler.
25072
 
-LTCC=$lt_LTCC
25073
 
 
25074
 
-# LTCC compiler flags.
25075
 
-LTCFLAGS=$lt_LTCFLAGS
25076
 
 
25077
 
-# A language-specific compiler.
25078
 
-CC=$lt_compiler_CXX
25079
 
 
25080
 
-# Is the compiler the GNU C compiler?
25081
 
-with_gcc=$GCC_CXX
25082
 
 
25083
 
-# An ERE matcher.
25084
 
-EGREP=$lt_EGREP
25085
 
 
25086
 
-# The linker used to build libraries.
25087
 
-LD=$lt_LD_CXX
25088
 
 
25089
 
-# Whether we need hard or soft links.
25090
 
-LN_S=$lt_LN_S
25091
 
 
25092
 
-# A BSD-compatible nm program.
25093
 
-NM=$lt_NM
25094
 
 
25095
 
-# A symbol stripping program
25096
 
-STRIP=$lt_STRIP
25097
 
 
25098
 
-# Used to examine libraries when file_magic_cmd begins "file"
25099
 
-MAGIC_CMD=$MAGIC_CMD
25100
 
 
25101
 
-# Used on cygwin: DLL creation program.
25102
 
-DLLTOOL="$DLLTOOL"
25103
 
 
25104
 
-# Used on cygwin: object dumper.
25105
 
-OBJDUMP="$OBJDUMP"
25106
 
 
25107
 
-# Used on cygwin: assembler.
25108
 
-AS="$AS"
25109
 
 
25110
 
-# The name of the directory that contains temporary libtool files.
25111
 
-objdir=$objdir
25112
 
 
25113
 
-# How to create reloadable object files.
25114
 
-reload_flag=$lt_reload_flag
25115
 
-reload_cmds=$lt_reload_cmds
25116
 
 
25117
 
-# How to pass a linker flag through the compiler.
25118
 
-wl=$lt_lt_prog_compiler_wl_CXX
25119
 
 
25120
 
-# Object file suffix (normally "o").
25121
 
-objext="$ac_objext"
25122
 
 
25123
 
-# Old archive suffix (normally "a").
25124
 
-libext="$libext"
25125
 
 
25126
 
-# Shared library suffix (normally ".so").
25127
 
-shrext_cmds='$shrext_cmds'
25128
 
 
25129
 
-# Executable file suffix (normally "").
25130
 
-exeext="$exeext"
25131
 
 
25132
 
-# Additional compiler flags for building library objects.
25133
 
-pic_flag=$lt_lt_prog_compiler_pic_CXX
25134
 
-pic_mode=$pic_mode
25135
 
 
25136
 
-# What is the maximum length of a command?
25137
 
-max_cmd_len=$lt_cv_sys_max_cmd_len
25138
 
 
25139
 
-# Does compiler simultaneously support -c and -o options?
25140
 
-compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
25141
 
 
25142
 
-# Must we lock files when doing compilation?
25143
 
-need_locks=$lt_need_locks
25144
 
 
25145
 
-# Do we need the lib prefix for modules?
25146
 
-need_lib_prefix=$need_lib_prefix
25147
 
 
25148
 
-# Do we need a version for libraries?
25149
 
-need_version=$need_version
25150
 
 
25151
 
-# Whether dlopen is supported.
25152
 
-dlopen_support=$enable_dlopen
25153
 
 
25154
 
-# Whether dlopen of programs is supported.
25155
 
-dlopen_self=$enable_dlopen_self
25156
 
 
25157
 
-# Whether dlopen of statically linked programs is supported.
25158
 
-dlopen_self_static=$enable_dlopen_self_static
25159
 
 
25160
 
-# Compiler flag to prevent dynamic linking.
25161
 
-link_static_flag=$lt_lt_prog_compiler_static_CXX
25162
 
 
25163
 
-# Compiler flag to turn off builtin functions.
25164
 
-no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
25165
 
 
25166
 
-# Compiler flag to allow reflexive dlopens.
25167
 
-export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
25168
 
 
25169
 
-# Compiler flag to generate shared objects directly from archives.
25170
 
-whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
25171
 
 
25172
 
-# Compiler flag to generate thread-safe objects.
25173
 
-thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
25174
 
 
25175
 
-# Library versioning type.
25176
 
-version_type=$version_type
25177
 
 
25178
 
-# Format of library name prefix.
25179
 
-libname_spec=$lt_libname_spec
25180
 
 
25181
 
-# List of archive names.  First name is the real one, the rest are links.
25182
 
-# The last name is the one that the linker finds with -lNAME.
25183
 
-library_names_spec=$lt_library_names_spec
25184
 
 
25185
 
-# The coded name of the library, if different from the real name.
25186
 
-soname_spec=$lt_soname_spec
25187
 
 
25188
 
-# Commands used to build and install an old-style archive.
25189
 
-RANLIB=$lt_RANLIB
25190
 
-old_archive_cmds=$lt_old_archive_cmds_CXX
25191
 
-old_postinstall_cmds=$lt_old_postinstall_cmds
25192
 
-old_postuninstall_cmds=$lt_old_postuninstall_cmds
25193
 
 
25194
 
-# Create an old-style archive from a shared archive.
25195
 
-old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
25196
 
 
25197
 
-# Create a temporary old-style archive to link instead of a shared archive.
25198
 
-old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
25199
 
 
25200
 
-# Commands used to build and install a shared archive.
25201
 
-archive_cmds=$lt_archive_cmds_CXX
25202
 
-archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
25203
 
-postinstall_cmds=$lt_postinstall_cmds
25204
 
-postuninstall_cmds=$lt_postuninstall_cmds
25205
 
 
25206
 
-# Commands used to build a loadable module (assumed same as above if empty)
25207
 
-module_cmds=$lt_module_cmds_CXX
25208
 
-module_expsym_cmds=$lt_module_expsym_cmds_CXX
25209
 
 
25210
 
-# Commands to strip libraries.
25211
 
-old_striplib=$lt_old_striplib
25212
 
-striplib=$lt_striplib
25213
 
 
25214
 
-# Dependencies to place before the objects being linked to create a
25215
 
-# shared library.
25216
 
-predep_objects=$lt_predep_objects_CXX
25217
 
 
25218
 
-# Dependencies to place after the objects being linked to create a
25219
 
-# shared library.
25220
 
-postdep_objects=$lt_postdep_objects_CXX
25221
 
 
25222
 
-# Dependencies to place before the objects being linked to create a
25223
 
-# shared library.
25224
 
-predeps=$lt_predeps_CXX
25225
 
 
25226
 
-# Dependencies to place after the objects being linked to create a
25227
 
-# shared library.
25228
 
-postdeps=$lt_postdeps_CXX
25229
 
 
25230
 
-# The directories searched by this compiler when creating a shared
25231
 
-# library
25232
 
-compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
25233
 
 
25234
 
-# The library search path used internally by the compiler when linking
25235
 
-# a shared library.
25236
 
-compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
25237
 
 
25238
 
-# Method to check whether dependent libraries are shared objects.
25239
 
-deplibs_check_method=$lt_deplibs_check_method
25240
 
 
25241
 
-# Command to use when deplibs_check_method == file_magic.
25242
 
-file_magic_cmd=$lt_file_magic_cmd
25243
 
 
25244
 
-# Flag that allows shared libraries with undefined symbols to be built.
25245
 
-allow_undefined_flag=$lt_allow_undefined_flag_CXX
25246
 
 
25247
 
-# Flag that forces no undefined symbols.
25248
 
-no_undefined_flag=$lt_no_undefined_flag_CXX
25249
 
 
25250
 
-# Commands used to finish a libtool library installation in a directory.
25251
 
-finish_cmds=$lt_finish_cmds
25252
 
 
25253
 
-# Same as above, but a single script fragment to be evaled but not shown.
25254
 
-finish_eval=$lt_finish_eval
25255
 
 
25256
 
-# Take the output of nm and produce a listing of raw symbols and C names.
25257
 
-global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25258
 
 
25259
 
-# Transform the output of nm in a proper C declaration
25260
 
-global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25261
 
 
25262
 
-# Transform the output of nm in a C name address pair
25263
 
-global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25264
 
 
25265
 
-# This is the shared library runtime path variable.
25266
 
-runpath_var=$runpath_var
25267
 
 
25268
 
-# This is the shared library path variable.
25269
 
-shlibpath_var=$shlibpath_var
25270
 
 
25271
 
-# Is shlibpath searched before the hard-coded library search path?
25272
 
-shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25273
 
 
25274
 
-# How to hardcode a shared library path into an executable.
25275
 
-hardcode_action=$hardcode_action_CXX
25276
 
 
25277
 
-# Whether we should hardcode library paths into libraries.
25278
 
-hardcode_into_libs=$hardcode_into_libs
25279
 
 
25280
 
-# Flag to hardcode \$libdir into a binary during linking.
25281
 
-# This must work even if \$libdir does not exist.
25282
 
-hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
25283
 
 
25284
 
-# If ld is used when linking, flag to hardcode \$libdir into
25285
 
-# a binary during linking. This must work even if \$libdir does
25286
 
-# not exist.
25287
 
-hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
25288
 
 
25289
 
-# Whether we need a single -rpath flag with a separated argument.
25290
 
-hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
25291
 
 
25292
 
-# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
25293
 
-# resulting binary.
25294
 
-hardcode_direct=$hardcode_direct_CXX
25295
 
+  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
25296
 
+$as_echo_n "checking dynamic linker characteristics... " >&6; }
25297
 
 
25298
 
-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
25299
 
-# resulting binary.
25300
 
-hardcode_minus_L=$hardcode_minus_L_CXX
25301
 
+if test "$GCC" = yes; then
25302
 
+  case $host_os in
25303
 
+    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
25304
 
+    *) lt_awk_arg="/^libraries:/" ;;
25305
 
+  esac
25306
 
+  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25307
 
+  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
25308
 
+    # if the path contains ";" then we assume it to be the separator
25309
 
+    # otherwise default to the standard path separator (i.e. ":") - it is
25310
 
+    # assumed that no part of a normal pathname contains ";" but that should
25311
 
+    # okay in the real world where ";" in dirpaths is itself problematic.
25312
 
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
25313
 
+  else
25314
 
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
25315
 
+  fi
25316
 
+  # Ok, now we have the path, separated by spaces, we can step through it
25317
 
+  # and add multilib dir if necessary.
25318
 
+  lt_tmp_lt_search_path_spec=
25319
 
+  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
25320
 
+  for lt_sys_path in $lt_search_path_spec; do
25321
 
+    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
25322
 
+      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
25323
 
+    else
25324
 
+      test -d "$lt_sys_path" && \
25325
 
+       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
25326
 
+    fi
25327
 
+  done
25328
 
+  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
25329
 
+BEGIN {RS=" "; FS="/|\n";} {
25330
 
+  lt_foo="";
25331
 
+  lt_count=0;
25332
 
+  for (lt_i = NF; lt_i > 0; lt_i--) {
25333
 
+    if ($lt_i != "" && $lt_i != ".") {
25334
 
+      if ($lt_i == "..") {
25335
 
+        lt_count++;
25336
 
+      } else {
25337
 
+        if (lt_count == 0) {
25338
 
+          lt_foo="/" $lt_i lt_foo;
25339
 
+        } else {
25340
 
+          lt_count--;
25341
 
+        }
25342
 
+      }
25343
 
+    }
25344
 
+  }
25345
 
+  if (lt_foo != "") { lt_freq[lt_foo]++; }
25346
 
+  if (lt_freq[lt_foo] == 1) { print lt_foo; }
25347
 
+}'`
25348
 
+  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
25349
 
+else
25350
 
+  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
25351
 
+fi
25352
 
+library_names_spec=
25353
 
+libname_spec='lib$name'
25354
 
+soname_spec=
25355
 
+shrext_cmds=".so"
25356
 
+postinstall_cmds=
25357
 
+postuninstall_cmds=
25358
 
+finish_cmds=
25359
 
+finish_eval=
25360
 
+shlibpath_var=
25361
 
+shlibpath_overrides_runpath=unknown
25362
 
+version_type=none
25363
 
+dynamic_linker="$host_os ld.so"
25364
 
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
25365
 
+need_lib_prefix=unknown
25366
 
+hardcode_into_libs=no
25367
 
 
25368
 
-# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
25369
 
-# the resulting binary.
25370
 
-hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
25371
 
+# when you set need_version to no, make sure it does not cause -set_version
25372
 
+# flags to be left without arguments
25373
 
+need_version=unknown
25374
 
 
25375
 
-# Set to yes if building a shared library automatically hardcodes DIR into the library
25376
 
-# and all subsequent libraries and executables linked against it.
25377
 
-hardcode_automatic=$hardcode_automatic_CXX
25378
 
+case $host_os in
25379
 
+aix3*)
25380
 
+  version_type=linux
25381
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
25382
 
+  shlibpath_var=LIBPATH
25383
 
 
25384
 
-# Variables whose values should be saved in libtool wrapper scripts and
25385
 
-# restored at relink time.
25386
 
-variables_saved_for_relink="$variables_saved_for_relink"
25387
 
+  # AIX 3 has no versioning support, so we append a major version to the name.
25388
 
+  soname_spec='${libname}${release}${shared_ext}$major'
25389
 
+  ;;
25390
 
 
25391
 
-# Whether libtool must link a program against all its dependency libraries.
25392
 
-link_all_deplibs=$link_all_deplibs_CXX
25393
 
+aix[4-9]*)
25394
 
+  version_type=linux
25395
 
+  need_lib_prefix=no
25396
 
+  need_version=no
25397
 
+  hardcode_into_libs=yes
25398
 
+  if test "$host_cpu" = ia64; then
25399
 
+    # AIX 5 supports IA64
25400
 
+    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
25401
 
+    shlibpath_var=LD_LIBRARY_PATH
25402
 
+  else
25403
 
+    # With GCC up to 2.95.x, collect2 would create an import file
25404
 
+    # for dependence libraries.  The import file would start with
25405
 
+    # the line `#! .'.  This would cause the generated library to
25406
 
+    # depend on `.', always an invalid library.  This was fixed in
25407
 
+    # development snapshots of GCC prior to 3.0.
25408
 
+    case $host_os in
25409
 
+      aix4 | aix4.[01] | aix4.[01].*)
25410
 
+      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
25411
 
+          echo ' yes '
25412
 
+          echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
25413
 
+       :
25414
 
+      else
25415
 
+       can_build_shared=no
25416
 
+      fi
25417
 
+      ;;
25418
 
+    esac
25419
 
+    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
25420
 
+    # soname into executable. Probably we can add versioning support to
25421
 
+    # collect2, so additional links can be useful in future.
25422
 
+    if test "$aix_use_runtimelinking" = yes; then
25423
 
+      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
25424
 
+      # instead of lib<name>.a to let people know that these are not
25425
 
+      # typical AIX shared libraries.
25426
 
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25427
 
+    else
25428
 
+      # We preserve .a as extension for shared libraries through AIX4.2
25429
 
+      # and later when we are not doing run time linking.
25430
 
+      library_names_spec='${libname}${release}.a $libname.a'
25431
 
+      soname_spec='${libname}${release}${shared_ext}$major'
25432
 
+    fi
25433
 
+    shlibpath_var=LIBPATH
25434
 
+  fi
25435
 
+  ;;
25436
 
 
25437
 
-# Compile-time system search path for libraries
25438
 
-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25439
 
+amigaos*)
25440
 
+  case $host_cpu in
25441
 
+  powerpc)
25442
 
+    # Since July 2007 AmigaOS4 officially supports .so libraries.
25443
 
+    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
25444
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25445
 
+    ;;
25446
 
+  m68k)
25447
 
+    library_names_spec='$libname.ixlibrary $libname.a'
25448
 
+    # Create ${libname}_ixlibrary.a entries in /sys/libs.
25449
 
+    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'
25450
 
+    ;;
25451
 
+  esac
25452
 
+  ;;
25453
 
 
25454
 
-# Run-time system search path for libraries
25455
 
-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
25456
 
+beos*)
25457
 
+  library_names_spec='${libname}${shared_ext}'
25458
 
+  dynamic_linker="$host_os ld.so"
25459
 
+  shlibpath_var=LIBRARY_PATH
25460
 
+  ;;
25461
 
 
25462
 
-# Fix the shell variable \$srcfile for the compiler.
25463
 
-fix_srcfile_path=$lt_fix_srcfile_path
25464
 
+bsdi[45]*)
25465
 
+  version_type=linux
25466
 
+  need_version=no
25467
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25468
 
+  soname_spec='${libname}${release}${shared_ext}$major'
25469
 
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
25470
 
+  shlibpath_var=LD_LIBRARY_PATH
25471
 
+  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
25472
 
+  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
25473
 
+  # the default ld.so.conf also contains /usr/contrib/lib and
25474
 
+  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
25475
 
+  # libtool to hard-code these into programs
25476
 
+  ;;
25477
 
 
25478
 
-# Set to yes if exported symbols are required.
25479
 
-always_export_symbols=$always_export_symbols_CXX
25480
 
+cygwin* | mingw* | pw32* | cegcc*)
25481
 
+  version_type=windows
25482
 
+  shrext_cmds=".dll"
25483
 
+  need_version=no
25484
 
+  need_lib_prefix=no
25485
 
 
25486
 
-# The commands to list exported symbols.
25487
 
-export_symbols_cmds=$lt_export_symbols_cmds_CXX
25488
 
+  case $GCC,$host_os in
25489
 
+  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
25490
 
+    library_names_spec='$libname.dll.a'
25491
 
+    # DLL is installed to $(libdir)/../bin by postinstall_cmds
25492
 
+    postinstall_cmds='base_file=`basename \${file}`~
25493
 
+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
25494
 
+      dldir=$destdir/`dirname \$dlpath`~
25495
 
+      test -d \$dldir || mkdir -p \$dldir~
25496
 
+      $install_prog $dir/$dlname \$dldir/$dlname~
25497
 
+      chmod a+x \$dldir/$dlname~
25498
 
+      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
25499
 
+        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
25500
 
+      fi'
25501
 
+    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
25502
 
+      dlpath=$dir/\$dldll~
25503
 
+       $RM \$dlpath'
25504
 
+    shlibpath_overrides_runpath=yes
25505
 
 
25506
 
-# The commands to extract the exported symbol list from a shared archive.
25507
 
-extract_expsyms_cmds=$lt_extract_expsyms_cmds
25508
 
+    case $host_os in
25509
 
+    cygwin*)
25510
 
+      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
25511
 
+      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25512
 
+      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
25513
 
+      ;;
25514
 
+    mingw* | cegcc*)
25515
 
+      # MinGW DLLs use traditional 'lib' prefix
25516
 
+      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25517
 
+      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25518
 
+      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
25519
 
+        # It is most probably a Windows format PATH printed by
25520
 
+        # mingw gcc, but we are running on Cygwin. Gcc prints its search
25521
 
+        # path with ; separators, and with drive letters. We can handle the
25522
 
+        # drive letters (cygwin fileutils understands them), so leave them,
25523
 
+        # especially as we might pass files found there to a mingw objdump,
25524
 
+        # which wouldn't understand a cygwinified path. Ahh.
25525
 
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25526
 
+      else
25527
 
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
25528
 
+      fi
25529
 
+      ;;
25530
 
+    pw32*)
25531
 
+      # pw32 DLLs use 'pw' prefix rather than 'lib'
25532
 
+      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25533
 
+      ;;
25534
 
+    esac
25535
 
+    ;;
25536
 
 
25537
 
-# Symbols that should not be listed in the preloaded symbols.
25538
 
-exclude_expsyms=$lt_exclude_expsyms_CXX
25539
 
+  *)
25540
 
+    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
25541
 
+    ;;
25542
 
+  esac
25543
 
+  dynamic_linker='Win32 ld.exe'
25544
 
+  # FIXME: first we should search . and the directory the executable is in
25545
 
+  shlibpath_var=PATH
25546
 
+  ;;
25547
 
 
25548
 
-# Symbols that must always be exported.
25549
 
-include_expsyms=$lt_include_expsyms_CXX
25550
 
+darwin* | rhapsody*)
25551
 
+  dynamic_linker="$host_os dyld"
25552
 
+  version_type=darwin
25553
 
+  need_lib_prefix=no
25554
 
+  need_version=no
25555
 
+  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
25556
 
+  soname_spec='${libname}${release}${major}$shared_ext'
25557
 
+  shlibpath_overrides_runpath=yes
25558
 
+  shlibpath_var=DYLD_LIBRARY_PATH
25559
 
+  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
25560
 
 
25561
 
-# ### END LIBTOOL TAG CONFIG: $tagname
25562
 
+  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
25563
 
+  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
25564
 
+  ;;
25565
 
 
25566
 
-__EOF__
25567
 
+dgux*)
25568
 
+  version_type=linux
25569
 
+  need_lib_prefix=no
25570
 
+  need_version=no
25571
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
25572
 
+  soname_spec='${libname}${release}${shared_ext}$major'
25573
 
+  shlibpath_var=LD_LIBRARY_PATH
25574
 
+  ;;
25575
 
 
25576
 
+freebsd1*)
25577
 
+  dynamic_linker=no
25578
 
+  ;;
25579
 
 
25580
 
-else
25581
 
-  # If there is no Makefile yet, we rely on a make rule to execute
25582
 
-  # `config.status --recheck' to rerun these tests and create the
25583
 
-  # libtool script then.
25584
 
-  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
25585
 
-  if test -f "$ltmain_in"; then
25586
 
-    test -f Makefile && make "$ltmain"
25587
 
+freebsd* | dragonfly*)
25588
 
+  # DragonFly does not have aout.  When/if they implement a new
25589
 
+  # versioning mechanism, adjust this.
25590
 
+  if test -x /usr/bin/objformat; then
25591
 
+    objformat=`/usr/bin/objformat`
25592
 
+  else
25593
 
+    case $host_os in
25594
 
+    freebsd[123]*) objformat=aout ;;
25595
 
+    *) objformat=elf ;;
25596
 
+    esac
25597
 
   fi
25598
 
-fi
25599
 
+  version_type=freebsd-$objformat
25600
 
+  case $version_type in
25601
 
+    freebsd-elf*)
25602
 
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25603
 
+      need_version=no
25604
 
+      need_lib_prefix=no
25605
 
+      ;;
25606
 
+    freebsd-*)
25607
 
+      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
25608
 
+      need_version=yes
25609
 
+      ;;
25610
 
+  esac
25611
 
+  shlibpath_var=LD_LIBRARY_PATH
25612
 
+  case $host_os in
25613
 
+  freebsd2*)
25614
 
+    shlibpath_overrides_runpath=yes
25615
 
+    ;;
25616
 
+  freebsd3.[01]* | freebsdelf3.[01]*)
25617
 
+    shlibpath_overrides_runpath=yes
25618
 
+    hardcode_into_libs=yes
25619
 
+    ;;
25620
 
+  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
25621
 
+  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
25622
 
+    shlibpath_overrides_runpath=no
25623
 
+    hardcode_into_libs=yes
25624
 
+    ;;
25625
 
+  *) # from 4.6 on, and DragonFly
25626
 
+    shlibpath_overrides_runpath=yes
25627
 
+    hardcode_into_libs=yes
25628
 
+    ;;
25629
 
+  esac
25630
 
+  ;;
25631
 
 
25632
 
+gnu*)
25633
 
+  version_type=linux
25634
 
+  need_lib_prefix=no
25635
 
+  need_version=no
25636
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
25637
 
+  soname_spec='${libname}${release}${shared_ext}$major'
25638
 
+  shlibpath_var=LD_LIBRARY_PATH
25639
 
+  hardcode_into_libs=yes
25640
 
+  ;;
25641
 
 
25642
 
-ac_ext=c
25643
 
-ac_cpp='$CPP $CPPFLAGS'
25644
 
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25645
 
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25646
 
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
25647
 
+hpux9* | hpux10* | hpux11*)
25648
 
+  # Give a soname corresponding to the major version so that dld.sl refuses to
25649
 
+  # link against other versions.
25650
 
+  version_type=sunos
25651
 
+  need_lib_prefix=no
25652
 
+  need_version=no
25653
 
+  case $host_cpu in
25654
 
+  ia64*)
25655
 
+    shrext_cmds='.so'
25656
 
+    hardcode_into_libs=yes
25657
 
+    dynamic_linker="$host_os dld.so"
25658
 
+    shlibpath_var=LD_LIBRARY_PATH
25659
 
+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
25660
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25661
 
+    soname_spec='${libname}${release}${shared_ext}$major'
25662
 
+    if test "X$HPUX_IA64_MODE" = X32; then
25663
 
+      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
25664
 
+    else
25665
 
+      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
25666
 
+    fi
25667
 
+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
25668
 
+    ;;
25669
 
+  hppa*64*)
25670
 
+    shrext_cmds='.sl'
25671
 
+    hardcode_into_libs=yes
25672
 
+    dynamic_linker="$host_os dld.sl"
25673
 
+    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
25674
 
+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
25675
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25676
 
+    soname_spec='${libname}${release}${shared_ext}$major'
25677
 
+    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
25678
 
+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
25679
 
+    ;;
25680
 
+  *)
25681
 
+    shrext_cmds='.sl'
25682
 
+    dynamic_linker="$host_os dld.sl"
25683
 
+    shlibpath_var=SHLIB_PATH
25684
 
+    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
25685
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25686
 
+    soname_spec='${libname}${release}${shared_ext}$major'
25687
 
+    ;;
25688
 
+  esac
25689
 
+  # HP-UX runs *really* slowly unless shared libraries are mode 555.
25690
 
+  postinstall_cmds='chmod 555 $lib'
25691
 
+  ;;
25692
 
 
25693
 
-CC=$lt_save_CC
25694
 
-LDCXX=$LD
25695
 
-LD=$lt_save_LD
25696
 
-GCC=$lt_save_GCC
25697
 
-with_gnu_ldcxx=$with_gnu_ld
25698
 
-with_gnu_ld=$lt_save_with_gnu_ld
25699
 
-lt_cv_path_LDCXX=$lt_cv_path_LD
25700
 
-lt_cv_path_LD=$lt_save_path_LD
25701
 
-lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
25702
 
-lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
25703
 
+interix[3-9]*)
25704
 
+  version_type=linux
25705
 
+  need_lib_prefix=no
25706
 
+  need_version=no
25707
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25708
 
+  soname_spec='${libname}${release}${shared_ext}$major'
25709
 
+  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
25710
 
+  shlibpath_var=LD_LIBRARY_PATH
25711
 
+  shlibpath_overrides_runpath=no
25712
 
+  hardcode_into_libs=yes
25713
 
+  ;;
25714
 
 
25715
 
+irix5* | irix6* | nonstopux*)
25716
 
+  case $host_os in
25717
 
+    nonstopux*) version_type=nonstopux ;;
25718
 
+    *)
25719
 
+       if test "$lt_cv_prog_gnu_ld" = yes; then
25720
 
+               version_type=linux
25721
 
        else
25722
 
-         tagname=""
25723
 
-       fi
25724
 
-       ;;
25725
 
-
25726
 
-      F77)
25727
 
-       if test -n "$F77" && test "X$F77" != "Xno"; then
25728
 
-
25729
 
-ac_ext=f
25730
 
-ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
25731
 
-ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25732
 
-ac_compiler_gnu=$ac_cv_f77_compiler_gnu
25733
 
-
25734
 
-
25735
 
-archive_cmds_need_lc_F77=no
25736
 
-allow_undefined_flag_F77=
25737
 
-always_export_symbols_F77=no
25738
 
-archive_expsym_cmds_F77=
25739
 
-export_dynamic_flag_spec_F77=
25740
 
-hardcode_direct_F77=no
25741
 
-hardcode_libdir_flag_spec_F77=
25742
 
-hardcode_libdir_flag_spec_ld_F77=
25743
 
-hardcode_libdir_separator_F77=
25744
 
-hardcode_minus_L_F77=no
25745
 
-hardcode_automatic_F77=no
25746
 
-module_cmds_F77=
25747
 
-module_expsym_cmds_F77=
25748
 
-link_all_deplibs_F77=unknown
25749
 
-old_archive_cmds_F77=$old_archive_cmds
25750
 
-no_undefined_flag_F77=
25751
 
-whole_archive_flag_spec_F77=
25752
 
-enable_shared_with_static_runtimes_F77=no
25753
 
-
25754
 
-# Source file extension for f77 test sources.
25755
 
-ac_ext=f
25756
 
-
25757
 
-# Object file extension for compiled f77 test sources.
25758
 
-objext=o
25759
 
-objext_F77=$objext
25760
 
-
25761
 
-# Code to be used in simple compile tests
25762
 
-lt_simple_compile_test_code="\
25763
 
-      subroutine t
25764
 
-      return
25765
 
-      end
25766
 
-"
25767
 
-
25768
 
-# Code to be used in simple link tests
25769
 
-lt_simple_link_test_code="\
25770
 
-      program t
25771
 
-      end
25772
 
-"
25773
 
-
25774
 
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
25775
 
-
25776
 
-# If no C compiler was specified, use CC.
25777
 
-LTCC=${LTCC-"$CC"}
25778
 
-
25779
 
-# If no C compiler flags were specified, use CFLAGS.
25780
 
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
25781
 
+               version_type=irix
25782
 
+       fi ;;
25783
 
+  esac
25784
 
+  need_lib_prefix=no
25785
 
+  need_version=no
25786
 
+  soname_spec='${libname}${release}${shared_ext}$major'
25787
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
25788
 
+  case $host_os in
25789
 
+  irix5* | nonstopux*)
25790
 
+    libsuff= shlibsuff=
25791
 
+    ;;
25792
 
+  *)
25793
 
+    case $LD in # libtool.m4 will add one of these switches to LD
25794
 
+    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
25795
 
+      libsuff= shlibsuff= libmagic=32-bit;;
25796
 
+    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
25797
 
+      libsuff=32 shlibsuff=N32 libmagic=N32;;
25798
 
+    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
25799
 
+      libsuff=64 shlibsuff=64 libmagic=64-bit;;
25800
 
+    *) libsuff= shlibsuff= libmagic=never-match;;
25801
 
+    esac
25802
 
+    ;;
25803
 
+  esac
25804
 
+  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
25805
 
+  shlibpath_overrides_runpath=no
25806
 
+  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
25807
 
+  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
25808
 
+  hardcode_into_libs=yes
25809
 
+  ;;
25810
 
 
25811
 
-# Allow CC to be a program name with arguments.
25812
 
-compiler=$CC
25813
 
+# No shared lib support for Linux oldld, aout, or coff.
25814
 
+linux*oldld* | linux*aout* | linux*coff*)
25815
 
+  dynamic_linker=no
25816
 
+  ;;
25817
 
 
25818
 
+# This must be Linux ELF.
25819
 
+linux* | k*bsd*-gnu)
25820
 
+  version_type=linux
25821
 
+  need_lib_prefix=no
25822
 
+  need_version=no
25823
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25824
 
+  soname_spec='${libname}${release}${shared_ext}$major'
25825
 
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
25826
 
+  shlibpath_var=LD_LIBRARY_PATH
25827
 
+  shlibpath_overrides_runpath=no
25828
 
+  # Some binutils ld are patched to set DT_RUNPATH
25829
 
+  save_LDFLAGS=$LDFLAGS
25830
 
+  save_libdir=$libdir
25831
 
+  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
25832
 
+       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
25833
 
+  cat >conftest.$ac_ext <<_ACEOF
25834
 
+/* confdefs.h.  */
25835
 
+_ACEOF
25836
 
+cat confdefs.h >>conftest.$ac_ext
25837
 
+cat >>conftest.$ac_ext <<_ACEOF
25838
 
+/* end confdefs.h.  */
25839
 
 
25840
 
-# save warnings/boilerplate of simple test code
25841
 
-ac_outfile=conftest.$ac_objext
25842
 
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext
25843
 
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
25844
 
-_lt_compiler_boilerplate=`cat conftest.err`
25845
 
-$rm conftest*
25846
 
+int
25847
 
+main ()
25848
 
+{
25849
 
 
25850
 
-ac_outfile=conftest.$ac_objext
25851
 
-echo "$lt_simple_link_test_code" >conftest.$ac_ext
25852
 
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
25853
 
-_lt_linker_boilerplate=`cat conftest.err`
25854
 
-$rm -r conftest*
25855
 
+  ;
25856
 
+  return 0;
25857
 
+}
25858
 
+_ACEOF
25859
 
+rm -f conftest.$ac_objext conftest$ac_exeext
25860
 
+if { (ac_try="$ac_link"
25861
 
+case "(($ac_try" in
25862
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25863
 
+  *) ac_try_echo=$ac_try;;
25864
 
+esac
25865
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25866
 
+$as_echo "$ac_try_echo") >&5
25867
 
+  (eval "$ac_link") 2>conftest.er1
25868
 
+  ac_status=$?
25869
 
+  grep -v '^ *+' conftest.er1 >conftest.err
25870
 
+  rm -f conftest.er1
25871
 
+  cat conftest.err >&5
25872
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25873
 
+  (exit $ac_status); } && {
25874
 
+        test -z "$ac_c_werror_flag" ||
25875
 
+        test ! -s conftest.err
25876
 
+       } && test -s conftest$ac_exeext && {
25877
 
+        test "$cross_compiling" = yes ||
25878
 
+        $as_test_x conftest$ac_exeext
25879
 
+       }; then
25880
 
+  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
25881
 
+  shlibpath_overrides_runpath=yes
25882
 
+fi
25883
 
 
25884
 
+else
25885
 
+  $as_echo "$as_me: failed program was:" >&5
25886
 
+sed 's/^/| /' conftest.$ac_ext >&5
25887
 
 
25888
 
-# Allow CC to be a program name with arguments.
25889
 
-lt_save_CC="$CC"
25890
 
-CC=${F77-"f77"}
25891
 
-compiler=$CC
25892
 
-compiler_F77=$CC
25893
 
-for cc_temp in $compiler""; do
25894
 
-  case $cc_temp in
25895
 
-    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
25896
 
-    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
25897
 
-    \-*) ;;
25898
 
-    *) break;;
25899
 
-  esac
25900
 
-done
25901
 
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
25902
 
 
25903
 
+fi
25904
 
 
25905
 
-{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
25906
 
-echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
25907
 
-{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
25908
 
-echo "${ECHO_T}$can_build_shared" >&6; }
25909
 
+rm -rf conftest.dSYM
25910
 
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25911
 
+      conftest$ac_exeext conftest.$ac_ext
25912
 
+  LDFLAGS=$save_LDFLAGS
25913
 
+  libdir=$save_libdir
25914
 
 
25915
 
-{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
25916
 
-echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
25917
 
-test "$can_build_shared" = "no" && enable_shared=no
25918
 
+  # This implies no fast_install, which is unacceptable.
25919
 
+  # Some rework will be needed to allow for fast_install
25920
 
+  # before this can be enabled.
25921
 
+  hardcode_into_libs=yes
25922
 
 
25923
 
-# On AIX, shared libraries and static libraries use the same namespace, and
25924
 
-# are all built from PIC.
25925
 
-case $host_os in
25926
 
-aix3*)
25927
 
-  test "$enable_shared" = yes && enable_static=no
25928
 
-  if test -n "$RANLIB"; then
25929
 
-    archive_cmds="$archive_cmds~\$RANLIB \$lib"
25930
 
-    postinstall_cmds='$RANLIB $lib'
25931
 
+  # Append ld.so.conf contents to the search path
25932
 
+  if test -f /etc/ld.so.conf; then
25933
 
+    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' ' '`
25934
 
+    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
25935
 
   fi
25936
 
+
25937
 
+  # We used to test for /lib/ld.so.1 and disable shared libraries on
25938
 
+  # powerpc, because MkLinux only supported shared libraries with the
25939
 
+  # GNU dynamic linker.  Since this was broken with cross compilers,
25940
 
+  # most powerpc-linux boxes support dynamic linking these days and
25941
 
+  # people can always --disable-shared, the test was removed, and we
25942
 
+  # assume the GNU/Linux dynamic linker is in use.
25943
 
+  dynamic_linker='GNU/Linux ld.so'
25944
 
   ;;
25945
 
-aix[4-9]*)
25946
 
-  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
25947
 
-    test "$enable_shared" = yes && enable_static=no
25948
 
-  fi
25949
 
+
25950
 
+netbsdelf*-gnu)
25951
 
+  version_type=linux
25952
 
+  need_lib_prefix=no
25953
 
+  need_version=no
25954
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25955
 
+  soname_spec='${libname}${release}${shared_ext}$major'
25956
 
+  shlibpath_var=LD_LIBRARY_PATH
25957
 
+  shlibpath_overrides_runpath=no
25958
 
+  hardcode_into_libs=yes
25959
 
+  dynamic_linker='NetBSD ld.elf_so'
25960
 
   ;;
25961
 
-esac
25962
 
-{ echo "$as_me:$LINENO: result: $enable_shared" >&5
25963
 
-echo "${ECHO_T}$enable_shared" >&6; }
25964
 
 
25965
 
-{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
25966
 
-echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
25967
 
-# Make sure either enable_shared or enable_static is yes.
25968
 
-test "$enable_shared" = yes || enable_static=yes
25969
 
-{ echo "$as_me:$LINENO: result: $enable_static" >&5
25970
 
-echo "${ECHO_T}$enable_static" >&6; }
25971
 
-
25972
 
-GCC_F77="$G77"
25973
 
-LD_F77="$LD"
25974
 
-
25975
 
-lt_prog_compiler_wl_F77=
25976
 
-lt_prog_compiler_pic_F77=
25977
 
-lt_prog_compiler_static_F77=
25978
 
+netbsd*)
25979
 
+  version_type=sunos
25980
 
+  need_lib_prefix=no
25981
 
+  need_version=no
25982
 
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
25983
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25984
 
+    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25985
 
+    dynamic_linker='NetBSD (a.out) ld.so'
25986
 
+  else
25987
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25988
 
+    soname_spec='${libname}${release}${shared_ext}$major'
25989
 
+    dynamic_linker='NetBSD ld.elf_so'
25990
 
+  fi
25991
 
+  shlibpath_var=LD_LIBRARY_PATH
25992
 
+  shlibpath_overrides_runpath=yes
25993
 
+  hardcode_into_libs=yes
25994
 
+  ;;
25995
 
 
25996
 
-{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
25997
 
-echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
25998
 
+newsos6)
25999
 
+  version_type=linux
26000
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26001
 
+  shlibpath_var=LD_LIBRARY_PATH
26002
 
+  shlibpath_overrides_runpath=yes
26003
 
+  ;;
26004
 
 
26005
 
-  if test "$GCC" = yes; then
26006
 
-    lt_prog_compiler_wl_F77='-Wl,'
26007
 
-    lt_prog_compiler_static_F77='-static'
26008
 
+*nto* | *qnx*)
26009
 
+  version_type=qnx
26010
 
+  need_lib_prefix=no
26011
 
+  need_version=no
26012
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26013
 
+  soname_spec='${libname}${release}${shared_ext}$major'
26014
 
+  shlibpath_var=LD_LIBRARY_PATH
26015
 
+  shlibpath_overrides_runpath=no
26016
 
+  hardcode_into_libs=yes
26017
 
+  dynamic_linker='ldqnx.so'
26018
 
+  ;;
26019
 
 
26020
 
+openbsd*)
26021
 
+  version_type=sunos
26022
 
+  sys_lib_dlsearch_path_spec="/usr/lib"
26023
 
+  need_lib_prefix=no
26024
 
+  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
26025
 
+  case $host_os in
26026
 
+    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
26027
 
+    *)                         need_version=no  ;;
26028
 
+  esac
26029
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26030
 
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
26031
 
+  shlibpath_var=LD_LIBRARY_PATH
26032
 
+  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
26033
 
     case $host_os in
26034
 
-      aix*)
26035
 
-      # All AIX code is PIC.
26036
 
-      if test "$host_cpu" = ia64; then
26037
 
-       # AIX 5 now supports IA64 processor
26038
 
-       lt_prog_compiler_static_F77='-Bstatic'
26039
 
-      fi
26040
 
-      ;;
26041
 
-
26042
 
-    amigaos*)
26043
 
-      # FIXME: we need at least 68020 code to build shared libraries, but
26044
 
-      # adding the `-m68020' flag to GCC prevents building anything better,
26045
 
-      # like `-m68040'.
26046
 
-      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
26047
 
-      ;;
26048
 
-
26049
 
-    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
26050
 
-      # PIC is the default for these OSes.
26051
 
-      ;;
26052
 
-
26053
 
-    mingw* | cygwin* | pw32* | os2*)
26054
 
-      # This hack is so that the source file can tell whether it is being
26055
 
-      # built for inclusion in a dll (and should export symbols for example).
26056
 
-      # Although the cygwin gcc ignores -fPIC, still need this for old-style
26057
 
-      # (--disable-auto-import) libraries
26058
 
-      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
26059
 
-      ;;
26060
 
-
26061
 
-    darwin* | rhapsody*)
26062
 
-      # PIC is the default on this platform
26063
 
-      # Common symbols not allowed in MH_DYLIB files
26064
 
-      lt_prog_compiler_pic_F77='-fno-common'
26065
 
-      ;;
26066
 
-
26067
 
-    interix[3-9]*)
26068
 
-      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
26069
 
-      # Instead, we relocate shared libraries at runtime.
26070
 
-      ;;
26071
 
-
26072
 
-    msdosdjgpp*)
26073
 
-      # Just because we use GCC doesn't mean we suddenly get shared libraries
26074
 
-      # on systems that don't support them.
26075
 
-      lt_prog_compiler_can_build_shared_F77=no
26076
 
-      enable_shared=no
26077
 
-      ;;
26078
 
-
26079
 
-    sysv4*MP*)
26080
 
-      if test -d /usr/nec; then
26081
 
-       lt_prog_compiler_pic_F77=-Kconform_pic
26082
 
-      fi
26083
 
-      ;;
26084
 
-
26085
 
-    hpux*)
26086
 
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
26087
 
-      # not for PA HP-UX.
26088
 
-      case $host_cpu in
26089
 
-      hppa*64*|ia64*)
26090
 
-       # +Z the default
26091
 
+      openbsd2.[89] | openbsd2.[89].*)
26092
 
+       shlibpath_overrides_runpath=no
26093
 
        ;;
26094
 
       *)
26095
 
-       lt_prog_compiler_pic_F77='-fPIC'
26096
 
+       shlibpath_overrides_runpath=yes
26097
 
        ;;
26098
 
       esac
26099
 
-      ;;
26100
 
-
26101
 
-    *)
26102
 
-      lt_prog_compiler_pic_F77='-fPIC'
26103
 
-      ;;
26104
 
-    esac
26105
 
   else
26106
 
-    # PORTME Check for flag to pass linker flags through the system compiler.
26107
 
-    case $host_os in
26108
 
-    aix*)
26109
 
-      lt_prog_compiler_wl_F77='-Wl,'
26110
 
-      if test "$host_cpu" = ia64; then
26111
 
-       # AIX 5 now supports IA64 processor
26112
 
-       lt_prog_compiler_static_F77='-Bstatic'
26113
 
-      else
26114
 
-       lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
26115
 
-      fi
26116
 
-      ;;
26117
 
-      darwin*)
26118
 
-        # PIC is the default on this platform
26119
 
-        # Common symbols not allowed in MH_DYLIB files
26120
 
-       case $cc_basename in
26121
 
-         xlc*)
26122
 
-         lt_prog_compiler_pic_F77='-qnocommon'
26123
 
-         lt_prog_compiler_wl_F77='-Wl,'
26124
 
-         ;;
26125
 
-       esac
26126
 
-       ;;
26127
 
+    shlibpath_overrides_runpath=yes
26128
 
+  fi
26129
 
+  ;;
26130
 
 
26131
 
-    mingw* | cygwin* | pw32* | os2*)
26132
 
-      # This hack is so that the source file can tell whether it is being
26133
 
-      # built for inclusion in a dll (and should export symbols for example).
26134
 
-      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
26135
 
-      ;;
26136
 
+os2*)
26137
 
+  libname_spec='$name'
26138
 
+  shrext_cmds=".dll"
26139
 
+  need_lib_prefix=no
26140
 
+  library_names_spec='$libname${shared_ext} $libname.a'
26141
 
+  dynamic_linker='OS/2 ld.exe'
26142
 
+  shlibpath_var=LIBPATH
26143
 
+  ;;
26144
 
 
26145
 
-    hpux9* | hpux10* | hpux11*)
26146
 
-      lt_prog_compiler_wl_F77='-Wl,'
26147
 
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
26148
 
-      # not for PA HP-UX.
26149
 
-      case $host_cpu in
26150
 
-      hppa*64*|ia64*)
26151
 
-       # +Z the default
26152
 
-       ;;
26153
 
-      *)
26154
 
-       lt_prog_compiler_pic_F77='+Z'
26155
 
-       ;;
26156
 
-      esac
26157
 
-      # Is there a better lt_prog_compiler_static that works with the bundled CC?
26158
 
-      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
26159
 
-      ;;
26160
 
+osf3* | osf4* | osf5*)
26161
 
+  version_type=osf
26162
 
+  need_lib_prefix=no
26163
 
+  need_version=no
26164
 
+  soname_spec='${libname}${release}${shared_ext}$major'
26165
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26166
 
+  shlibpath_var=LD_LIBRARY_PATH
26167
 
+  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
26168
 
+  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
26169
 
+  ;;
26170
 
 
26171
 
-    irix5* | irix6* | nonstopux*)
26172
 
-      lt_prog_compiler_wl_F77='-Wl,'
26173
 
-      # PIC (with -KPIC) is the default.
26174
 
-      lt_prog_compiler_static_F77='-non_shared'
26175
 
-      ;;
26176
 
+rdos*)
26177
 
+  dynamic_linker=no
26178
 
+  ;;
26179
 
 
26180
 
-    newsos6)
26181
 
-      lt_prog_compiler_pic_F77='-KPIC'
26182
 
-      lt_prog_compiler_static_F77='-Bstatic'
26183
 
+solaris*)
26184
 
+  version_type=linux
26185
 
+  need_lib_prefix=no
26186
 
+  need_version=no
26187
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26188
 
+  soname_spec='${libname}${release}${shared_ext}$major'
26189
 
+  shlibpath_var=LD_LIBRARY_PATH
26190
 
+  shlibpath_overrides_runpath=yes
26191
 
+  hardcode_into_libs=yes
26192
 
+  # ldd complains unless libraries are executable
26193
 
+  postinstall_cmds='chmod +x $lib'
26194
 
+  ;;
26195
 
+
26196
 
+sunos4*)
26197
 
+  version_type=sunos
26198
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26199
 
+  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
26200
 
+  shlibpath_var=LD_LIBRARY_PATH
26201
 
+  shlibpath_overrides_runpath=yes
26202
 
+  if test "$with_gnu_ld" = yes; then
26203
 
+    need_lib_prefix=no
26204
 
+  fi
26205
 
+  need_version=yes
26206
 
+  ;;
26207
 
+
26208
 
+sysv4 | sysv4.3*)
26209
 
+  version_type=linux
26210
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26211
 
+  soname_spec='${libname}${release}${shared_ext}$major'
26212
 
+  shlibpath_var=LD_LIBRARY_PATH
26213
 
+  case $host_vendor in
26214
 
+    sni)
26215
 
+      shlibpath_overrides_runpath=no
26216
 
+      need_lib_prefix=no
26217
 
+      runpath_var=LD_RUN_PATH
26218
 
+      ;;
26219
 
+    siemens)
26220
 
+      need_lib_prefix=no
26221
 
+      ;;
26222
 
+    motorola)
26223
 
+      need_lib_prefix=no
26224
 
+      need_version=no
26225
 
+      shlibpath_overrides_runpath=no
26226
 
+      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
26227
 
       ;;
26228
 
+  esac
26229
 
+  ;;
26230
 
+
26231
 
+sysv4*MP*)
26232
 
+  if test -d /usr/nec ;then
26233
 
+    version_type=linux
26234
 
+    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
26235
 
+    soname_spec='$libname${shared_ext}.$major'
26236
 
+    shlibpath_var=LD_LIBRARY_PATH
26237
 
+  fi
26238
 
+  ;;
26239
 
 
26240
 
-    linux* | k*bsd*-gnu)
26241
 
-      case $cc_basename in
26242
 
-      icc* | ecc*)
26243
 
-       lt_prog_compiler_wl_F77='-Wl,'
26244
 
-       lt_prog_compiler_pic_F77='-KPIC'
26245
 
-       lt_prog_compiler_static_F77='-static'
26246
 
-        ;;
26247
 
-      pgcc* | pgf77* | pgf90* | pgf95*)
26248
 
-        # Portland Group compilers (*not* the Pentium gcc compiler,
26249
 
-       # which looks to be a dead project)
26250
 
-       lt_prog_compiler_wl_F77='-Wl,'
26251
 
-       lt_prog_compiler_pic_F77='-fpic'
26252
 
-       lt_prog_compiler_static_F77='-Bstatic'
26253
 
-        ;;
26254
 
-      ccc*)
26255
 
-        lt_prog_compiler_wl_F77='-Wl,'
26256
 
-        # All Alpha code is PIC.
26257
 
-        lt_prog_compiler_static_F77='-non_shared'
26258
 
-        ;;
26259
 
-      *)
26260
 
-        case `$CC -V 2>&1 | sed 5q` in
26261
 
-       *Sun\ C*)
26262
 
-         # Sun C 5.9
26263
 
-         lt_prog_compiler_pic_F77='-KPIC'
26264
 
-         lt_prog_compiler_static_F77='-Bstatic'
26265
 
-         lt_prog_compiler_wl_F77='-Wl,'
26266
 
-         ;;
26267
 
-       *Sun\ F*)
26268
 
-         # Sun Fortran 8.3 passes all unrecognized flags to the linker
26269
 
-         lt_prog_compiler_pic_F77='-KPIC'
26270
 
-         lt_prog_compiler_static_F77='-Bstatic'
26271
 
-         lt_prog_compiler_wl_F77=''
26272
 
-         ;;
26273
 
-       esac
26274
 
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
26275
 
+  version_type=freebsd-elf
26276
 
+  need_lib_prefix=no
26277
 
+  need_version=no
26278
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
26279
 
+  soname_spec='${libname}${release}${shared_ext}$major'
26280
 
+  shlibpath_var=LD_LIBRARY_PATH
26281
 
+  shlibpath_overrides_runpath=yes
26282
 
+  hardcode_into_libs=yes
26283
 
+  if test "$with_gnu_ld" = yes; then
26284
 
+    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
26285
 
+  else
26286
 
+    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
26287
 
+    case $host_os in
26288
 
+      sco3.2v5*)
26289
 
+        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
26290
 
        ;;
26291
 
-      esac
26292
 
-      ;;
26293
 
+    esac
26294
 
+  fi
26295
 
+  sys_lib_dlsearch_path_spec='/usr/lib'
26296
 
+  ;;
26297
 
 
26298
 
-    osf3* | osf4* | osf5*)
26299
 
-      lt_prog_compiler_wl_F77='-Wl,'
26300
 
-      # All OSF/1 code is PIC.
26301
 
-      lt_prog_compiler_static_F77='-non_shared'
26302
 
-      ;;
26303
 
+tpf*)
26304
 
+  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
26305
 
+  version_type=linux
26306
 
+  need_lib_prefix=no
26307
 
+  need_version=no
26308
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26309
 
+  shlibpath_var=LD_LIBRARY_PATH
26310
 
+  shlibpath_overrides_runpath=no
26311
 
+  hardcode_into_libs=yes
26312
 
+  ;;
26313
 
+
26314
 
+uts4*)
26315
 
+  version_type=linux
26316
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26317
 
+  soname_spec='${libname}${release}${shared_ext}$major'
26318
 
+  shlibpath_var=LD_LIBRARY_PATH
26319
 
+  ;;
26320
 
+
26321
 
+*)
26322
 
+  dynamic_linker=no
26323
 
+  ;;
26324
 
+esac
26325
 
+{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
26326
 
+$as_echo "$dynamic_linker" >&6; }
26327
 
+test "$dynamic_linker" = no && can_build_shared=no
26328
 
+
26329
 
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
26330
 
+if test "$GCC" = yes; then
26331
 
+  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
26332
 
+fi
26333
 
+
26334
 
+if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
26335
 
+  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
26336
 
+fi
26337
 
+if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
26338
 
+  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
26339
 
+fi
26340
 
 
26341
 
-    rdos*)
26342
 
-      lt_prog_compiler_static_F77='-non_shared'
26343
 
-      ;;
26344
 
 
26345
 
-    solaris*)
26346
 
-      lt_prog_compiler_pic_F77='-KPIC'
26347
 
-      lt_prog_compiler_static_F77='-Bstatic'
26348
 
-      case $cc_basename in
26349
 
-      f77* | f90* | f95*)
26350
 
-       lt_prog_compiler_wl_F77='-Qoption ld ';;
26351
 
-      *)
26352
 
-       lt_prog_compiler_wl_F77='-Wl,';;
26353
 
-      esac
26354
 
-      ;;
26355
 
 
26356
 
-    sunos4*)
26357
 
-      lt_prog_compiler_wl_F77='-Qoption ld '
26358
 
-      lt_prog_compiler_pic_F77='-PIC'
26359
 
-      lt_prog_compiler_static_F77='-Bstatic'
26360
 
-      ;;
26361
 
 
26362
 
-    sysv4 | sysv4.2uw2* | sysv4.3*)
26363
 
-      lt_prog_compiler_wl_F77='-Wl,'
26364
 
-      lt_prog_compiler_pic_F77='-KPIC'
26365
 
-      lt_prog_compiler_static_F77='-Bstatic'
26366
 
-      ;;
26367
 
 
26368
 
-    sysv4*MP*)
26369
 
-      if test -d /usr/nec ;then
26370
 
-       lt_prog_compiler_pic_F77='-Kconform_pic'
26371
 
-       lt_prog_compiler_static_F77='-Bstatic'
26372
 
-      fi
26373
 
-      ;;
26374
 
 
26375
 
-    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
26376
 
-      lt_prog_compiler_wl_F77='-Wl,'
26377
 
-      lt_prog_compiler_pic_F77='-KPIC'
26378
 
-      lt_prog_compiler_static_F77='-Bstatic'
26379
 
-      ;;
26380
 
 
26381
 
-    unicos*)
26382
 
-      lt_prog_compiler_wl_F77='-Wl,'
26383
 
-      lt_prog_compiler_can_build_shared_F77=no
26384
 
-      ;;
26385
 
 
26386
 
-    uts4*)
26387
 
-      lt_prog_compiler_pic_F77='-pic'
26388
 
-      lt_prog_compiler_static_F77='-Bstatic'
26389
 
-      ;;
26390
 
 
26391
 
-    *)
26392
 
-      lt_prog_compiler_can_build_shared_F77=no
26393
 
-      ;;
26394
 
-    esac
26395
 
-  fi
26396
 
 
26397
 
-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
26398
 
-echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
26399
 
 
26400
 
-#
26401
 
-# Check to make sure the PIC flag actually works.
26402
 
-#
26403
 
-if test -n "$lt_prog_compiler_pic_F77"; then
26404
 
 
26405
 
-{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
26406
 
-echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
26407
 
-if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
26408
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
26409
 
-else
26410
 
-  lt_cv_prog_compiler_pic_works_F77=no
26411
 
-  ac_outfile=conftest.$ac_objext
26412
 
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
26413
 
-   lt_compiler_flag="$lt_prog_compiler_pic_F77"
26414
 
-   # Insert the option either (1) after the last *FLAGS variable, or
26415
 
-   # (2) before a word containing "conftest.", or (3) at the end.
26416
 
-   # Note that $ac_compile itself does not contain backslashes and begins
26417
 
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
26418
 
-   # The option is referenced via a variable to avoid confusing sed.
26419
 
-   lt_compile=`echo "$ac_compile" | $SED \
26420
 
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
26421
 
-   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
26422
 
-   -e 's:$: $lt_compiler_flag:'`
26423
 
-   (eval echo "\"\$as_me:16446: $lt_compile\"" >&5)
26424
 
-   (eval "$lt_compile" 2>conftest.err)
26425
 
-   ac_status=$?
26426
 
-   cat conftest.err >&5
26427
 
-   echo "$as_me:16450: \$? = $ac_status" >&5
26428
 
-   if (exit $ac_status) && test -s "$ac_outfile"; then
26429
 
-     # The compiler can only warn and ignore the option if not recognized
26430
 
-     # So say no if there are warnings other than the usual output.
26431
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
26432
 
-     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
26433
 
-     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
26434
 
-       lt_cv_prog_compiler_pic_works_F77=yes
26435
 
-     fi
26436
 
-   fi
26437
 
-   $rm conftest*
26438
 
 
26439
 
-fi
26440
 
-{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
26441
 
-echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
26442
 
 
26443
 
-if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
26444
 
-    case $lt_prog_compiler_pic_F77 in
26445
 
-     "" | " "*) ;;
26446
 
-     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
26447
 
-     esac
26448
 
-else
26449
 
-    lt_prog_compiler_pic_F77=
26450
 
-     lt_prog_compiler_can_build_shared_F77=no
26451
 
-fi
26452
 
 
26453
 
-fi
26454
 
-case $host_os in
26455
 
-  # For platforms which do not support PIC, -DPIC is meaningless:
26456
 
-  *djgpp*)
26457
 
-    lt_prog_compiler_pic_F77=
26458
 
-    ;;
26459
 
-  *)
26460
 
-    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
26461
 
-    ;;
26462
 
-esac
26463
 
 
26464
 
-#
26465
 
-# Check to make sure the static flag actually works.
26466
 
-#
26467
 
-wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
26468
 
-{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
26469
 
-echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
26470
 
-if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
26471
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
26472
 
-else
26473
 
-  lt_cv_prog_compiler_static_works_F77=no
26474
 
-   save_LDFLAGS="$LDFLAGS"
26475
 
-   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
26476
 
-   echo "$lt_simple_link_test_code" > conftest.$ac_ext
26477
 
-   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
26478
 
-     # The linker can only warn and ignore the option if not recognized
26479
 
-     # So say no if there are warnings
26480
 
-     if test -s conftest.err; then
26481
 
-       # Append any errors to the config.log.
26482
 
-       cat conftest.err 1>&5
26483
 
-       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
26484
 
-       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
26485
 
-       if diff conftest.exp conftest.er2 >/dev/null; then
26486
 
-         lt_cv_prog_compiler_static_works_F77=yes
26487
 
-       fi
26488
 
-     else
26489
 
-       lt_cv_prog_compiler_static_works_F77=yes
26490
 
-     fi
26491
 
-   fi
26492
 
-   $rm -r conftest*
26493
 
-   LDFLAGS="$save_LDFLAGS"
26494
 
 
26495
 
-fi
26496
 
-{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
26497
 
-echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
26498
 
 
26499
 
-if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
26500
 
-    :
26501
 
-else
26502
 
-    lt_prog_compiler_static_F77=
26503
 
-fi
26504
 
 
26505
 
 
26506
 
-{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
26507
 
-echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
26508
 
-if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
26509
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
26510
 
-else
26511
 
-  lt_cv_prog_compiler_c_o_F77=no
26512
 
-   $rm -r conftest 2>/dev/null
26513
 
-   mkdir conftest
26514
 
-   cd conftest
26515
 
-   mkdir out
26516
 
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
26517
 
 
26518
 
-   lt_compiler_flag="-o out/conftest2.$ac_objext"
26519
 
-   # Insert the option either (1) after the last *FLAGS variable, or
26520
 
-   # (2) before a word containing "conftest.", or (3) at the end.
26521
 
-   # Note that $ac_compile itself does not contain backslashes and begins
26522
 
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
26523
 
-   lt_compile=`echo "$ac_compile" | $SED \
26524
 
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
26525
 
-   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
26526
 
-   -e 's:$: $lt_compiler_flag:'`
26527
 
-   (eval echo "\"\$as_me:16550: $lt_compile\"" >&5)
26528
 
-   (eval "$lt_compile" 2>out/conftest.err)
26529
 
-   ac_status=$?
26530
 
-   cat out/conftest.err >&5
26531
 
-   echo "$as_me:16554: \$? = $ac_status" >&5
26532
 
-   if (exit $ac_status) && test -s out/conftest2.$ac_objext
26533
 
-   then
26534
 
-     # The compiler can only warn and ignore the option if not recognized
26535
 
-     # So say no if there are warnings
26536
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
26537
 
-     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
26538
 
-     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
26539
 
-       lt_cv_prog_compiler_c_o_F77=yes
26540
 
-     fi
26541
 
-   fi
26542
 
-   chmod u+w . 2>&5
26543
 
-   $rm conftest*
26544
 
-   # SGI C++ compiler will create directory out/ii_files/ for
26545
 
-   # template instantiation
26546
 
-   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
26547
 
-   $rm out/* && rmdir out
26548
 
-   cd ..
26549
 
-   rmdir conftest
26550
 
-   $rm conftest*
26551
 
 
26552
 
-fi
26553
 
-{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
26554
 
-echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
26555
 
 
26556
 
 
26557
 
-hard_links="nottested"
26558
 
-if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
26559
 
-  # do not overwrite the value of need_locks provided by the user
26560
 
-  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
26561
 
-echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
26562
 
-  hard_links=yes
26563
 
-  $rm conftest*
26564
 
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
26565
 
-  touch conftest.a
26566
 
-  ln conftest.a conftest.b 2>&5 || hard_links=no
26567
 
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
26568
 
-  { echo "$as_me:$LINENO: result: $hard_links" >&5
26569
 
-echo "${ECHO_T}$hard_links" >&6; }
26570
 
-  if test "$hard_links" = no; then
26571
 
-    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
26572
 
-echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
26573
 
-    need_locks=warn
26574
 
-  fi
26575
 
-else
26576
 
-  need_locks=no
26577
 
-fi
26578
 
 
26579
 
-{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
26580
 
-echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
26581
 
 
26582
 
-  runpath_var=
26583
 
-  allow_undefined_flag_F77=
26584
 
-  enable_shared_with_static_runtimes_F77=no
26585
 
-  archive_cmds_F77=
26586
 
-  archive_expsym_cmds_F77=
26587
 
-  old_archive_From_new_cmds_F77=
26588
 
-  old_archive_from_expsyms_cmds_F77=
26589
 
-  export_dynamic_flag_spec_F77=
26590
 
-  whole_archive_flag_spec_F77=
26591
 
-  thread_safe_flag_spec_F77=
26592
 
-  hardcode_libdir_flag_spec_F77=
26593
 
-  hardcode_libdir_flag_spec_ld_F77=
26594
 
-  hardcode_libdir_separator_F77=
26595
 
-  hardcode_direct_F77=no
26596
 
-  hardcode_minus_L_F77=no
26597
 
-  hardcode_shlibpath_var_F77=unsupported
26598
 
-  link_all_deplibs_F77=unknown
26599
 
-  hardcode_automatic_F77=no
26600
 
-  module_cmds_F77=
26601
 
-  module_expsym_cmds_F77=
26602
 
-  always_export_symbols_F77=no
26603
 
-  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
26604
 
-  # include_expsyms should be a list of space-separated symbols to be *always*
26605
 
-  # included in the symbol list
26606
 
-  include_expsyms_F77=
26607
 
-  # exclude_expsyms can be an extended regexp of symbols to exclude
26608
 
-  # it will be wrapped by ` (' and `)$', so one must not match beginning or
26609
 
-  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
26610
 
-  # as well as any symbol that contains `d'.
26611
 
-  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
26612
 
-  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
26613
 
-  # platforms (ab)use it in PIC code, but their linkers get confused if
26614
 
-  # the symbol is explicitly referenced.  Since portable code cannot
26615
 
-  # rely on this symbol name, it's probably fine to never include it in
26616
 
-  # preloaded symbol tables.
26617
 
-  # Exclude shared library initialization/finalization symbols.
26618
 
-  extract_expsyms_cmds=
26619
 
-  # Just being paranoid about ensuring that cc_basename is set.
26620
 
-  for cc_temp in $compiler""; do
26621
 
-  case $cc_temp in
26622
 
-    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
26623
 
-    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
26624
 
-    \-*) ;;
26625
 
-    *) break;;
26626
 
-  esac
26627
 
-done
26628
 
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
26629
 
 
26630
 
-  case $host_os in
26631
 
-  cygwin* | mingw* | pw32*)
26632
 
-    # FIXME: the MSVC++ port hasn't been tested in a loooong time
26633
 
-    # When not using gcc, we currently assume that we are using
26634
 
-    # Microsoft Visual C++.
26635
 
-    if test "$GCC" != yes; then
26636
 
-      with_gnu_ld=no
26637
 
-    fi
26638
 
-    ;;
26639
 
-  interix*)
26640
 
-    # we just hope/assume this is gcc and not c89 (= MSVC++)
26641
 
-    with_gnu_ld=yes
26642
 
-    ;;
26643
 
-  openbsd*)
26644
 
-    with_gnu_ld=no
26645
 
-    ;;
26646
 
-  esac
26647
 
 
26648
 
-  ld_shlibs_F77=yes
26649
 
-  if test "$with_gnu_ld" = yes; then
26650
 
-    # If archive_cmds runs LD, not CC, wlarc should be empty
26651
 
-    wlarc='${wl}'
26652
 
 
26653
 
-    # Set some defaults for GNU ld with shared library support. These
26654
 
-    # are reset later if shared libraries are not supported. Putting them
26655
 
-    # here allows them to be overridden if necessary.
26656
 
-    runpath_var=LD_RUN_PATH
26657
 
-    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
26658
 
-    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
26659
 
-    # ancient GNU ld didn't support --whole-archive et. al.
26660
 
-    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
26661
 
-       whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
26662
 
-      else
26663
 
-       whole_archive_flag_spec_F77=
26664
 
-    fi
26665
 
-    supports_anon_versioning=no
26666
 
-    case `$LD -v 2>/dev/null` in
26667
 
-      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
26668
 
-      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
26669
 
-      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
26670
 
-      *\ 2.11.*) ;; # other 2.11 versions
26671
 
-      *) supports_anon_versioning=yes ;;
26672
 
-    esac
26673
 
 
26674
 
-    # See if GNU ld supports shared libraries.
26675
 
-    case $host_os in
26676
 
-    aix[3-9]*)
26677
 
-      # On AIX/PPC, the GNU linker is very broken
26678
 
-      if test "$host_cpu" != ia64; then
26679
 
-       ld_shlibs_F77=no
26680
 
-       cat <<EOF 1>&2
26681
 
 
26682
 
-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
26683
 
-*** to be unable to reliably create shared libraries on AIX.
26684
 
-*** Therefore, libtool is disabling shared libraries support.  If you
26685
 
-*** really care for shared libraries, you may want to modify your PATH
26686
 
-*** so that a non-GNU linker is found, and then restart.
26687
 
 
26688
 
-EOF
26689
 
-      fi
26690
 
-      ;;
26691
 
 
26692
 
-    amigaos*)
26693
 
-      archive_cmds_F77='$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)'
26694
 
-      hardcode_libdir_flag_spec_F77='-L$libdir'
26695
 
-      hardcode_minus_L_F77=yes
26696
 
-
26697
 
-      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
26698
 
-      # that the semantics of dynamic libraries on AmigaOS, at least up
26699
 
-      # to version 4, is to share data among multiple programs linked
26700
 
-      # with the same dynamic library.  Since this doesn't match the
26701
 
-      # behavior of shared libraries on other platforms, we can't use
26702
 
-      # them.
26703
 
-      ld_shlibs_F77=no
26704
 
-      ;;
26705
 
 
26706
 
-    beos*)
26707
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
26708
 
-       allow_undefined_flag_F77=unsupported
26709
 
-       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
26710
 
-       # support --undefined.  This deserves some investigation.  FIXME
26711
 
-       archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
26712
 
-      else
26713
 
-       ld_shlibs_F77=no
26714
 
-      fi
26715
 
-      ;;
26716
 
 
26717
 
-    cygwin* | mingw* | pw32*)
26718
 
-      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
26719
 
-      # as there is no search path for DLLs.
26720
 
-      hardcode_libdir_flag_spec_F77='-L$libdir'
26721
 
-      allow_undefined_flag_F77=unsupported
26722
 
-      always_export_symbols_F77=no
26723
 
-      enable_shared_with_static_runtimes_F77=yes
26724
 
-      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
26725
 
 
26726
 
-      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
26727
 
-        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
26728
 
-       # If the export-symbols file already is a .def file (1st line
26729
 
-       # is EXPORTS), use it as is; otherwise, prepend...
26730
 
-       archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
26731
 
-         cp $export_symbols $output_objdir/$soname.def;
26732
 
-       else
26733
 
-         echo EXPORTS > $output_objdir/$soname.def;
26734
 
-         cat $export_symbols >> $output_objdir/$soname.def;
26735
 
-       fi~
26736
 
-       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
26737
 
-      else
26738
 
-       ld_shlibs_F77=no
26739
 
-      fi
26740
 
-      ;;
26741
 
 
26742
 
-    interix[3-9]*)
26743
 
-      hardcode_direct_F77=no
26744
 
-      hardcode_shlibpath_var_F77=no
26745
 
-      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
26746
 
-      export_dynamic_flag_spec_F77='${wl}-E'
26747
 
-      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
26748
 
-      # Instead, shared libraries are loaded at an image base (0x10000000 by
26749
 
-      # default) and relocated if they conflict, which is a slow very memory
26750
 
-      # consuming and fragmenting process.  To avoid this, we pick a random,
26751
 
-      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
26752
 
-      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
26753
 
-      archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
26754
 
-      archive_expsym_cmds_F77='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'
26755
 
-      ;;
26756
 
 
26757
 
-    gnu* | linux* | k*bsd*-gnu)
26758
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
26759
 
-       tmp_addflag=
26760
 
-       case $cc_basename,$host_cpu in
26761
 
-       pgcc*)                          # Portland Group C compiler
26762
 
-         whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
26763
 
-         tmp_addflag=' $pic_flag'
26764
 
-         ;;
26765
 
-       pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
26766
 
-         whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
26767
 
-         tmp_addflag=' $pic_flag -Mnomain' ;;
26768
 
-       ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
26769
 
-         tmp_addflag=' -i_dynamic' ;;
26770
 
-       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
26771
 
-         tmp_addflag=' -i_dynamic -nofor_main' ;;
26772
 
-       ifc* | ifort*)                  # Intel Fortran compiler
26773
 
-         tmp_addflag=' -nofor_main' ;;
26774
 
-       esac
26775
 
-       case `$CC -V 2>&1 | sed 5q` in
26776
 
-       *Sun\ C*)                       # Sun C 5.9
26777
 
-         whole_archive_flag_spec_F77='${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'
26778
 
-         tmp_sharedflag='-G' ;;
26779
 
-       *Sun\ F*)                       # Sun Fortran 8.3
26780
 
-         tmp_sharedflag='-G' ;;
26781
 
-       *)
26782
 
-         tmp_sharedflag='-shared' ;;
26783
 
-       esac
26784
 
-       archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
26785
 
 
26786
 
-       if test $supports_anon_versioning = yes; then
26787
 
-         archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
26788
 
-  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
26789
 
-  $echo "local: *; };" >> $output_objdir/$libname.ver~
26790
 
-         $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
26791
 
-       fi
26792
 
-       link_all_deplibs_F77=no
26793
 
-      else
26794
 
-       ld_shlibs_F77=no
26795
 
-      fi
26796
 
-      ;;
26797
 
 
26798
 
-    netbsd* | netbsdelf*-gnu)
26799
 
-      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
26800
 
-       archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
26801
 
-       wlarc=
26802
 
-      else
26803
 
-       archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
26804
 
-       archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
26805
 
-      fi
26806
 
-      ;;
26807
 
 
26808
 
-    solaris*)
26809
 
-      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
26810
 
-       ld_shlibs_F77=no
26811
 
-       cat <<EOF 1>&2
26812
 
 
26813
 
-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
26814
 
-*** create shared libraries on Solaris systems.  Therefore, libtool
26815
 
-*** is disabling shared libraries support.  We urge you to upgrade GNU
26816
 
-*** binutils to release 2.9.1 or newer.  Another option is to modify
26817
 
-*** your PATH or compiler configuration so that the native linker is
26818
 
-*** used, and then restart.
26819
 
 
26820
 
-EOF
26821
 
-      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
26822
 
-       archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
26823
 
-       archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
26824
 
-      else
26825
 
-       ld_shlibs_F77=no
26826
 
-      fi
26827
 
-      ;;
26828
 
 
26829
 
-    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
26830
 
-      case `$LD -v 2>&1` in
26831
 
-        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
26832
 
-       ld_shlibs_F77=no
26833
 
-       cat <<_LT_EOF 1>&2
26834
 
 
26835
 
-*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
26836
 
-*** reliably create shared libraries on SCO systems.  Therefore, libtool
26837
 
-*** is disabling shared libraries support.  We urge you to upgrade GNU
26838
 
-*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
26839
 
-*** your PATH or compiler configuration so that the native linker is
26840
 
-*** used, and then restart.
26841
 
 
26842
 
-_LT_EOF
26843
 
-       ;;
26844
 
-       *)
26845
 
-         if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
26846
 
-           hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
26847
 
-           archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
26848
 
-           archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
26849
 
-         else
26850
 
-           ld_shlibs_F77=no
26851
 
-         fi
26852
 
-       ;;
26853
 
-      esac
26854
 
-      ;;
26855
 
 
26856
 
-    sunos4*)
26857
 
-      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
26858
 
-      wlarc=
26859
 
-      hardcode_direct_F77=yes
26860
 
-      hardcode_shlibpath_var_F77=no
26861
 
-      ;;
26862
 
 
26863
 
-    *)
26864
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
26865
 
-       archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
26866
 
-       archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
26867
 
-      else
26868
 
-       ld_shlibs_F77=no
26869
 
-      fi
26870
 
-      ;;
26871
 
-    esac
26872
 
 
26873
 
-    if test "$ld_shlibs_F77" = no; then
26874
 
-      runpath_var=
26875
 
-      hardcode_libdir_flag_spec_F77=
26876
 
-      export_dynamic_flag_spec_F77=
26877
 
-      whole_archive_flag_spec_F77=
26878
 
-    fi
26879
 
-  else
26880
 
-    # PORTME fill in a description of your system's linker (not GNU ld)
26881
 
-    case $host_os in
26882
 
-    aix3*)
26883
 
-      allow_undefined_flag_F77=unsupported
26884
 
-      always_export_symbols_F77=yes
26885
 
-      archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
26886
 
-      # Note: this linker hardcodes the directories in LIBPATH if there
26887
 
-      # are no directories specified by -L.
26888
 
-      hardcode_minus_L_F77=yes
26889
 
-      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
26890
 
-       # Neither direct hardcoding nor static linking is supported with a
26891
 
-       # broken collect2.
26892
 
-       hardcode_direct_F77=unsupported
26893
 
-      fi
26894
 
-      ;;
26895
 
 
26896
 
-    aix[4-9]*)
26897
 
-      if test "$host_cpu" = ia64; then
26898
 
-       # On IA64, the linker does run time linking by default, so we don't
26899
 
-       # have to do anything special.
26900
 
-       aix_use_runtimelinking=no
26901
 
-       exp_sym_flag='-Bexport'
26902
 
-       no_entry_flag=""
26903
 
-      else
26904
 
-       # If we're using GNU nm, then we don't want the "-C" option.
26905
 
-       # -C means demangle to AIX nm, but means don't demangle with GNU nm
26906
 
-       if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
26907
 
-         export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
26908
 
-       else
26909
 
-         export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
26910
 
-       fi
26911
 
-       aix_use_runtimelinking=no
26912
 
 
26913
 
-       # Test if we are trying to use run time linking or normal
26914
 
-       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
26915
 
-       # need to do runtime linking.
26916
 
-       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
26917
 
-         for ld_flag in $LDFLAGS; do
26918
 
-         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
26919
 
-           aix_use_runtimelinking=yes
26920
 
-           break
26921
 
-         fi
26922
 
-         done
26923
 
-         ;;
26924
 
-       esac
26925
 
 
26926
 
-       exp_sym_flag='-bexport'
26927
 
-       no_entry_flag='-bnoentry'
26928
 
-      fi
26929
 
 
26930
 
-      # When large executables or shared objects are built, AIX ld can
26931
 
-      # have problems creating the table of contents.  If linking a library
26932
 
-      # or program results in "error TOC overflow" add -mminimal-toc to
26933
 
-      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
26934
 
-      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
26935
 
 
26936
 
-      archive_cmds_F77=''
26937
 
-      hardcode_direct_F77=yes
26938
 
-      hardcode_libdir_separator_F77=':'
26939
 
-      link_all_deplibs_F77=yes
26940
 
 
26941
 
-      if test "$GCC" = yes; then
26942
 
-       case $host_os in aix4.[012]|aix4.[012].*)
26943
 
-       # We only want to do this on AIX 4.2 and lower, the check
26944
 
-       # below for broken collect2 doesn't work under 4.3+
26945
 
-         collect2name=`${CC} -print-prog-name=collect2`
26946
 
-         if test -f "$collect2name" && \
26947
 
-          strings "$collect2name" | grep resolve_lib_name >/dev/null
26948
 
-         then
26949
 
-         # We have reworked collect2
26950
 
-         :
26951
 
-         else
26952
 
-         # We have old collect2
26953
 
-         hardcode_direct_F77=unsupported
26954
 
-         # It fails to find uninstalled libraries when the uninstalled
26955
 
-         # path is not listed in the libpath.  Setting hardcode_minus_L
26956
 
-         # to unsupported forces relinking
26957
 
-         hardcode_minus_L_F77=yes
26958
 
-         hardcode_libdir_flag_spec_F77='-L$libdir'
26959
 
-         hardcode_libdir_separator_F77=
26960
 
-         fi
26961
 
-         ;;
26962
 
-       esac
26963
 
-       shared_flag='-shared'
26964
 
-       if test "$aix_use_runtimelinking" = yes; then
26965
 
-         shared_flag="$shared_flag "'${wl}-G'
26966
 
-       fi
26967
 
-      else
26968
 
-       # not using gcc
26969
 
-       if test "$host_cpu" = ia64; then
26970
 
-       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
26971
 
-       # chokes on -Wl,-G. The following line is correct:
26972
 
-         shared_flag='-G'
26973
 
-       else
26974
 
-         if test "$aix_use_runtimelinking" = yes; then
26975
 
-           shared_flag='${wl}-G'
26976
 
-         else
26977
 
-           shared_flag='${wl}-bM:SRE'
26978
 
-         fi
26979
 
-       fi
26980
 
-      fi
26981
 
 
26982
 
-      # It seems that -bexpall does not export symbols beginning with
26983
 
-      # underscore (_), so it is better to generate a list of symbols to export.
26984
 
-      always_export_symbols_F77=yes
26985
 
-      if test "$aix_use_runtimelinking" = yes; then
26986
 
-       # Warning - without using the other runtime loading flags (-brtl),
26987
 
-       # -berok will link without error, but may produce a broken library.
26988
 
-       allow_undefined_flag_F77='-berok'
26989
 
-       # Determine the default libpath from the value encoded in an empty executable.
26990
 
-       cat >conftest.$ac_ext <<_ACEOF
26991
 
-      program main
26992
 
 
26993
 
-      end
26994
 
-_ACEOF
26995
 
-rm -f conftest.$ac_objext conftest$ac_exeext
26996
 
-if { (ac_try="$ac_link"
26997
 
-case "(($ac_try" in
26998
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26999
 
-  *) ac_try_echo=$ac_try;;
27000
 
-esac
27001
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27002
 
-  (eval "$ac_link") 2>conftest.er1
27003
 
-  ac_status=$?
27004
 
-  grep -v '^ *+' conftest.er1 >conftest.err
27005
 
-  rm -f conftest.er1
27006
 
-  cat conftest.err >&5
27007
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27008
 
-  (exit $ac_status); } && {
27009
 
-        test -z "$ac_f77_werror_flag" ||
27010
 
-        test ! -s conftest.err
27011
 
-       } && test -s conftest$ac_exeext &&
27012
 
-       $as_test_x conftest$ac_exeext; then
27013
 
 
27014
 
-lt_aix_libpath_sed='
27015
 
-    /Import File Strings/,/^$/ {
27016
 
-       /^0/ {
27017
 
-           s/^0  *\(.*\)$/\1/
27018
 
-           p
27019
 
-       }
27020
 
-    }'
27021
 
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
27022
 
-# Check for a 64-bit object if we didn't find anything.
27023
 
-if test -z "$aix_libpath"; then
27024
 
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
27025
 
-fi
27026
 
-else
27027
 
-  echo "$as_me: failed program was:" >&5
27028
 
-sed 's/^/| /' conftest.$ac_ext >&5
27029
 
 
27030
 
 
27031
 
-fi
27032
 
 
27033
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27034
 
-      conftest$ac_exeext conftest.$ac_ext
27035
 
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
27036
 
 
27037
 
-       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
27038
 
-       archive_expsym_cmds_F77="\$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"
27039
 
-       else
27040
 
-       if test "$host_cpu" = ia64; then
27041
 
-         hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
27042
 
-         allow_undefined_flag_F77="-z nodefs"
27043
 
-         archive_expsym_cmds_F77="\$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"
27044
 
-       else
27045
 
-        # Determine the default libpath from the value encoded in an empty executable.
27046
 
-        cat >conftest.$ac_ext <<_ACEOF
27047
 
-      program main
27048
 
 
27049
 
-      end
27050
 
-_ACEOF
27051
 
-rm -f conftest.$ac_objext conftest$ac_exeext
27052
 
-if { (ac_try="$ac_link"
27053
 
-case "(($ac_try" in
27054
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27055
 
-  *) ac_try_echo=$ac_try;;
27056
 
-esac
27057
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27058
 
-  (eval "$ac_link") 2>conftest.er1
27059
 
-  ac_status=$?
27060
 
-  grep -v '^ *+' conftest.er1 >conftest.err
27061
 
-  rm -f conftest.er1
27062
 
-  cat conftest.err >&5
27063
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27064
 
-  (exit $ac_status); } && {
27065
 
-        test -z "$ac_f77_werror_flag" ||
27066
 
-        test ! -s conftest.err
27067
 
-       } && test -s conftest$ac_exeext &&
27068
 
-       $as_test_x conftest$ac_exeext; then
27069
 
 
27070
 
-lt_aix_libpath_sed='
27071
 
-    /Import File Strings/,/^$/ {
27072
 
-       /^0/ {
27073
 
-           s/^0  *\(.*\)$/\1/
27074
 
-           p
27075
 
-       }
27076
 
-    }'
27077
 
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
27078
 
-# Check for a 64-bit object if we didn't find anything.
27079
 
-if test -z "$aix_libpath"; then
27080
 
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
27081
 
-fi
27082
 
-else
27083
 
-  echo "$as_me: failed program was:" >&5
27084
 
-sed 's/^/| /' conftest.$ac_ext >&5
27085
 
 
27086
 
 
27087
 
-fi
27088
 
 
27089
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27090
 
-      conftest$ac_exeext conftest.$ac_ext
27091
 
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
27092
 
 
27093
 
-        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
27094
 
-         # Warning - without using the other run time loading flags,
27095
 
-         # -berok will link without error, but may produce a broken library.
27096
 
-         no_undefined_flag_F77=' ${wl}-bernotok'
27097
 
-         allow_undefined_flag_F77=' ${wl}-berok'
27098
 
-         # Exported symbols can be pulled into shared objects from archives
27099
 
-         whole_archive_flag_spec_F77='$convenience'
27100
 
-         archive_cmds_need_lc_F77=yes
27101
 
-         # This is similar to how AIX traditionally builds its shared libraries.
27102
 
-         archive_expsym_cmds_F77="\$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'
27103
 
-       fi
27104
 
-      fi
27105
 
-      ;;
27106
 
 
27107
 
-    amigaos*)
27108
 
-      archive_cmds_F77='$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)'
27109
 
-      hardcode_libdir_flag_spec_F77='-L$libdir'
27110
 
-      hardcode_minus_L_F77=yes
27111
 
-      # see comment about different semantics on the GNU ld section
27112
 
-      ld_shlibs_F77=no
27113
 
-      ;;
27114
 
 
27115
 
-    bsdi[45]*)
27116
 
-      export_dynamic_flag_spec_F77=-rdynamic
27117
 
-      ;;
27118
 
 
27119
 
-    cygwin* | mingw* | pw32*)
27120
 
-      # When not using gcc, we currently assume that we are using
27121
 
-      # Microsoft Visual C++.
27122
 
-      # hardcode_libdir_flag_spec is actually meaningless, as there is
27123
 
-      # no search path for DLLs.
27124
 
-      hardcode_libdir_flag_spec_F77=' '
27125
 
-      allow_undefined_flag_F77=unsupported
27126
 
-      # Tell ltmain to make .lib files, not .a files.
27127
 
-      libext=lib
27128
 
-      # Tell ltmain to make .dll files, not .so files.
27129
 
-      shrext_cmds=".dll"
27130
 
-      # FIXME: Setting linknames here is a bad hack.
27131
 
-      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
27132
 
-      # The linker will automatically build a .lib file if we build a DLL.
27133
 
-      old_archive_From_new_cmds_F77='true'
27134
 
-      # FIXME: Should let the user specify the lib program.
27135
 
-      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
27136
 
-      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
27137
 
-      enable_shared_with_static_runtimes_F77=yes
27138
 
-      ;;
27139
 
 
27140
 
-    darwin* | rhapsody*)
27141
 
-      case $host_os in
27142
 
-        rhapsody* | darwin1.[012])
27143
 
-         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
27144
 
-         ;;
27145
 
-       *) # Darwin 1.3 on
27146
 
-         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
27147
 
-           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
27148
 
-         else
27149
 
-           case ${MACOSX_DEPLOYMENT_TARGET} in
27150
 
-             10.[012])
27151
 
-               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
27152
 
-               ;;
27153
 
-             10.*)
27154
 
-               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
27155
 
-               ;;
27156
 
-           esac
27157
 
-         fi
27158
 
-         ;;
27159
 
-      esac
27160
 
-      archive_cmds_need_lc_F77=no
27161
 
-      hardcode_direct_F77=no
27162
 
-      hardcode_automatic_F77=yes
27163
 
-      hardcode_shlibpath_var_F77=unsupported
27164
 
-      whole_archive_flag_spec_F77=''
27165
 
-      link_all_deplibs_F77=yes
27166
 
-    if test "$GCC" = yes ; then
27167
 
-       output_verbose_link_cmd='echo'
27168
 
-        archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
27169
 
-        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
27170
 
-        archive_expsym_cmds_F77="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}"
27171
 
-        module_expsym_cmds_F77="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}"
27172
 
-    else
27173
 
-      case $cc_basename in
27174
 
-        xlc*)
27175
 
-         output_verbose_link_cmd='echo'
27176
 
-         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
27177
 
-         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
27178
 
-          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
27179
 
-         archive_expsym_cmds_F77='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}'
27180
 
-          module_expsym_cmds_F77='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}'
27181
 
-          ;;
27182
 
-       *)
27183
 
-         ld_shlibs_F77=no
27184
 
-          ;;
27185
 
-      esac
27186
 
-    fi
27187
 
-      ;;
27188
 
 
27189
 
-    dgux*)
27190
 
-      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
27191
 
-      hardcode_libdir_flag_spec_F77='-L$libdir'
27192
 
-      hardcode_shlibpath_var_F77=no
27193
 
-      ;;
27194
 
 
27195
 
-    freebsd1*)
27196
 
-      ld_shlibs_F77=no
27197
 
-      ;;
27198
 
 
27199
 
-    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
27200
 
-    # support.  Future versions do this automatically, but an explicit c++rt0.o
27201
 
-    # does not break anything, and helps significantly (at the cost of a little
27202
 
-    # extra space).
27203
 
-    freebsd2.2*)
27204
 
-      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
27205
 
-      hardcode_libdir_flag_spec_F77='-R$libdir'
27206
 
-      hardcode_direct_F77=yes
27207
 
-      hardcode_shlibpath_var_F77=no
27208
 
-      ;;
27209
 
 
27210
 
-    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
27211
 
-    freebsd2*)
27212
 
-      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
27213
 
-      hardcode_direct_F77=yes
27214
 
-      hardcode_minus_L_F77=yes
27215
 
-      hardcode_shlibpath_var_F77=no
27216
 
-      ;;
27217
 
 
27218
 
-    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
27219
 
-    freebsd* | dragonfly*)
27220
 
-      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
27221
 
-      hardcode_libdir_flag_spec_F77='-R$libdir'
27222
 
-      hardcode_direct_F77=yes
27223
 
-      hardcode_shlibpath_var_F77=no
27224
 
-      ;;
27225
 
 
27226
 
-    hpux9*)
27227
 
-      if test "$GCC" = yes; then
27228
 
-       archive_cmds_F77='$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'
27229
 
-      else
27230
 
-       archive_cmds_F77='$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'
27231
 
-      fi
27232
 
-      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
27233
 
-      hardcode_libdir_separator_F77=:
27234
 
-      hardcode_direct_F77=yes
27235
 
 
27236
 
-      # hardcode_minus_L: Not really in the search PATH,
27237
 
-      # but as the default location of the library.
27238
 
-      hardcode_minus_L_F77=yes
27239
 
-      export_dynamic_flag_spec_F77='${wl}-E'
27240
 
-      ;;
27241
 
 
27242
 
-    hpux10*)
27243
 
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
27244
 
-       archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
27245
 
-      else
27246
 
-       archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
27247
 
-      fi
27248
 
-      if test "$with_gnu_ld" = no; then
27249
 
-       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
27250
 
-       hardcode_libdir_separator_F77=:
27251
 
 
27252
 
-       hardcode_direct_F77=yes
27253
 
-       export_dynamic_flag_spec_F77='${wl}-E'
27254
 
 
27255
 
-       # hardcode_minus_L: Not really in the search PATH,
27256
 
-       # but as the default location of the library.
27257
 
-       hardcode_minus_L_F77=yes
27258
 
-      fi
27259
 
-      ;;
27260
 
 
27261
 
-    hpux11*)
27262
 
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
27263
 
-       case $host_cpu in
27264
 
-       hppa*64*)
27265
 
-         archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
27266
 
-         ;;
27267
 
-       ia64*)
27268
 
-         archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
27269
 
-         ;;
27270
 
-       *)
27271
 
-         archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
27272
 
-         ;;
27273
 
-       esac
27274
 
-      else
27275
 
-       case $host_cpu in
27276
 
-       hppa*64*)
27277
 
-         archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
27278
 
-         ;;
27279
 
-       ia64*)
27280
 
-         archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
27281
 
-         ;;
27282
 
-       *)
27283
 
-         archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
27284
 
-         ;;
27285
 
-       esac
27286
 
-      fi
27287
 
-      if test "$with_gnu_ld" = no; then
27288
 
-       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
27289
 
-       hardcode_libdir_separator_F77=:
27290
 
 
27291
 
-       case $host_cpu in
27292
 
-       hppa*64*|ia64*)
27293
 
-         hardcode_libdir_flag_spec_ld_F77='+b $libdir'
27294
 
-         hardcode_direct_F77=no
27295
 
-         hardcode_shlibpath_var_F77=no
27296
 
-         ;;
27297
 
-       *)
27298
 
-         hardcode_direct_F77=yes
27299
 
-         export_dynamic_flag_spec_F77='${wl}-E'
27300
 
 
27301
 
-         # hardcode_minus_L: Not really in the search PATH,
27302
 
-         # but as the default location of the library.
27303
 
-         hardcode_minus_L_F77=yes
27304
 
-         ;;
27305
 
-       esac
27306
 
-      fi
27307
 
-      ;;
27308
 
 
27309
 
-    irix5* | irix6* | nonstopux*)
27310
 
-      if test "$GCC" = yes; then
27311
 
-       archive_cmds_F77='$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'
27312
 
-      else
27313
 
-       archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
27314
 
-       hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
27315
 
-      fi
27316
 
-      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
27317
 
-      hardcode_libdir_separator_F77=:
27318
 
-      link_all_deplibs_F77=yes
27319
 
-      ;;
27320
 
 
27321
 
-    netbsd* | netbsdelf*-gnu)
27322
 
-      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
27323
 
-       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
27324
 
-      else
27325
 
-       archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
27326
 
-      fi
27327
 
-      hardcode_libdir_flag_spec_F77='-R$libdir'
27328
 
-      hardcode_direct_F77=yes
27329
 
-      hardcode_shlibpath_var_F77=no
27330
 
-      ;;
27331
 
+  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
27332
 
+$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
27333
 
+hardcode_action=
27334
 
+if test -n "$hardcode_libdir_flag_spec" ||
27335
 
+   test -n "$runpath_var" ||
27336
 
+   test "X$hardcode_automatic" = "Xyes" ; then
27337
 
 
27338
 
-    newsos6)
27339
 
-      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
27340
 
-      hardcode_direct_F77=yes
27341
 
-      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
27342
 
-      hardcode_libdir_separator_F77=:
27343
 
-      hardcode_shlibpath_var_F77=no
27344
 
-      ;;
27345
 
+  # We can hardcode non-existent directories.
27346
 
+  if test "$hardcode_direct" != no &&
27347
 
+     # If the only mechanism to avoid hardcoding is shlibpath_var, we
27348
 
+     # have to relink, otherwise we might link with an installed library
27349
 
+     # when we should be linking with a yet-to-be-installed one
27350
 
+     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
27351
 
+     test "$hardcode_minus_L" != no; then
27352
 
+    # Linking always hardcodes the temporary library directory.
27353
 
+    hardcode_action=relink
27354
 
+  else
27355
 
+    # We can link without hardcoding, and we can hardcode nonexisting dirs.
27356
 
+    hardcode_action=immediate
27357
 
+  fi
27358
 
+else
27359
 
+  # We cannot hardcode anything, or else we can only hardcode existing
27360
 
+  # directories.
27361
 
+  hardcode_action=unsupported
27362
 
+fi
27363
 
+{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
27364
 
+$as_echo "$hardcode_action" >&6; }
27365
 
 
27366
 
-    openbsd*)
27367
 
-      if test -f /usr/libexec/ld.so; then
27368
 
-       hardcode_direct_F77=yes
27369
 
-       hardcode_shlibpath_var_F77=no
27370
 
-       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
27371
 
-         archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
27372
 
-         archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
27373
 
-         hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
27374
 
-         export_dynamic_flag_spec_F77='${wl}-E'
27375
 
-       else
27376
 
-         case $host_os in
27377
 
-          openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
27378
 
-            archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
27379
 
-            hardcode_libdir_flag_spec_F77='-R$libdir'
27380
 
-            ;;
27381
 
-          *)
27382
 
-            archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
27383
 
-            hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
27384
 
-            ;;
27385
 
-         esac
27386
 
-        fi
27387
 
-      else
27388
 
-       ld_shlibs_F77=no
27389
 
-      fi
27390
 
-      ;;
27391
 
+if test "$hardcode_action" = relink ||
27392
 
+   test "$inherit_rpath" = yes; then
27393
 
+  # Fast installation is not supported
27394
 
+  enable_fast_install=no
27395
 
+elif test "$shlibpath_overrides_runpath" = yes ||
27396
 
+     test "$enable_shared" = no; then
27397
 
+  # Fast installation is not necessary
27398
 
+  enable_fast_install=needless
27399
 
+fi
27400
 
 
27401
 
-    os2*)
27402
 
-      hardcode_libdir_flag_spec_F77='-L$libdir'
27403
 
-      hardcode_minus_L_F77=yes
27404
 
-      allow_undefined_flag_F77=unsupported
27405
 
-      archive_cmds_F77='$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'
27406
 
-      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
27407
 
-      ;;
27408
 
 
27409
 
-    osf3*)
27410
 
-      if test "$GCC" = yes; then
27411
 
-       allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
27412
 
-       archive_cmds_F77='$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'
27413
 
-      else
27414
 
-       allow_undefined_flag_F77=' -expect_unresolved \*'
27415
 
-       archive_cmds_F77='$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'
27416
 
-      fi
27417
 
-      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
27418
 
-      hardcode_libdir_separator_F77=:
27419
 
-      ;;
27420
 
 
27421
 
-    osf4* | osf5*)     # as osf3* with the addition of -msym flag
27422
 
-      if test "$GCC" = yes; then
27423
 
-       allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
27424
 
-       archive_cmds_F77='$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'
27425
 
-       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
27426
 
-      else
27427
 
-       allow_undefined_flag_F77=' -expect_unresolved \*'
27428
 
-       archive_cmds_F77='$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'
27429
 
-       archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
27430
 
-       $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'
27431
 
 
27432
 
-       # Both c and cxx compiler support -rpath directly
27433
 
-       hardcode_libdir_flag_spec_F77='-rpath $libdir'
27434
 
-      fi
27435
 
-      hardcode_libdir_separator_F77=:
27436
 
-      ;;
27437
 
 
27438
 
-    solaris*)
27439
 
-      no_undefined_flag_F77=' -z text'
27440
 
-      if test "$GCC" = yes; then
27441
 
-       wlarc='${wl}'
27442
 
-       archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
27443
 
-       archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
27444
 
-         $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
27445
 
-      else
27446
 
-       wlarc=''
27447
 
-       archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
27448
 
-       archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
27449
 
-       $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
27450
 
-      fi
27451
 
-      hardcode_libdir_flag_spec_F77='-R$libdir'
27452
 
-      hardcode_shlibpath_var_F77=no
27453
 
-      case $host_os in
27454
 
-      solaris2.[0-5] | solaris2.[0-5].*) ;;
27455
 
-      *)
27456
 
-       # The compiler driver will combine and reorder linker options,
27457
 
-       # but understands `-z linker_flag'.  GCC discards it without `$wl',
27458
 
-       # but is careful enough not to reorder.
27459
 
-       # Supported since Solaris 2.6 (maybe 2.5.1?)
27460
 
-       if test "$GCC" = yes; then
27461
 
-         whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
27462
 
-       else
27463
 
-         whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
27464
 
-       fi
27465
 
-       ;;
27466
 
-      esac
27467
 
-      link_all_deplibs_F77=yes
27468
 
-      ;;
27469
 
 
27470
 
-    sunos4*)
27471
 
-      if test "x$host_vendor" = xsequent; then
27472
 
-       # Use $CC to link under sequent, because it throws in some extra .o
27473
 
-       # files that make .init and .fini sections work.
27474
 
-       archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
27475
 
-      else
27476
 
-       archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
27477
 
-      fi
27478
 
-      hardcode_libdir_flag_spec_F77='-L$libdir'
27479
 
-      hardcode_direct_F77=yes
27480
 
-      hardcode_minus_L_F77=yes
27481
 
-      hardcode_shlibpath_var_F77=no
27482
 
-      ;;
27483
 
+  if test "x$enable_dlopen" != xyes; then
27484
 
+  enable_dlopen=unknown
27485
 
+  enable_dlopen_self=unknown
27486
 
+  enable_dlopen_self_static=unknown
27487
 
+else
27488
 
+  lt_cv_dlopen=no
27489
 
+  lt_cv_dlopen_libs=
27490
 
 
27491
 
-    sysv4)
27492
 
-      case $host_vendor in
27493
 
-       sni)
27494
 
-         archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
27495
 
-         hardcode_direct_F77=yes # is this really true???
27496
 
-       ;;
27497
 
-       siemens)
27498
 
-         ## LD is ld it makes a PLAMLIB
27499
 
-         ## CC just makes a GrossModule.
27500
 
-         archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
27501
 
-         reload_cmds_F77='$CC -r -o $output$reload_objs'
27502
 
-         hardcode_direct_F77=no
27503
 
-        ;;
27504
 
-       motorola)
27505
 
-         archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
27506
 
-         hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
27507
 
-       ;;
27508
 
-      esac
27509
 
-      runpath_var='LD_RUN_PATH'
27510
 
-      hardcode_shlibpath_var_F77=no
27511
 
-      ;;
27512
 
+  case $host_os in
27513
 
+  beos*)
27514
 
+    lt_cv_dlopen="load_add_on"
27515
 
+    lt_cv_dlopen_libs=
27516
 
+    lt_cv_dlopen_self=yes
27517
 
+    ;;
27518
 
 
27519
 
-    sysv4.3*)
27520
 
-      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
27521
 
-      hardcode_shlibpath_var_F77=no
27522
 
-      export_dynamic_flag_spec_F77='-Bexport'
27523
 
-      ;;
27524
 
+  mingw* | pw32* | cegcc*)
27525
 
+    lt_cv_dlopen="LoadLibrary"
27526
 
+    lt_cv_dlopen_libs=
27527
 
+    ;;
27528
 
 
27529
 
-    sysv4*MP*)
27530
 
-      if test -d /usr/nec; then
27531
 
-       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
27532
 
-       hardcode_shlibpath_var_F77=no
27533
 
-       runpath_var=LD_RUN_PATH
27534
 
-       hardcode_runpath_var=yes
27535
 
-       ld_shlibs_F77=yes
27536
 
-      fi
27537
 
-      ;;
27538
 
+  cygwin*)
27539
 
+    lt_cv_dlopen="dlopen"
27540
 
+    lt_cv_dlopen_libs=
27541
 
+    ;;
27542
 
 
27543
 
-    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
27544
 
-      no_undefined_flag_F77='${wl}-z,text'
27545
 
-      archive_cmds_need_lc_F77=no
27546
 
-      hardcode_shlibpath_var_F77=no
27547
 
-      runpath_var='LD_RUN_PATH'
27548
 
+  darwin*)
27549
 
+  # if libdl is installed we need to link against it
27550
 
+    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
27551
 
+$as_echo_n "checking for dlopen in -ldl... " >&6; }
27552
 
+if test "${ac_cv_lib_dl_dlopen+set}" = set; then
27553
 
+  $as_echo_n "(cached) " >&6
27554
 
+else
27555
 
+  ac_check_lib_save_LIBS=$LIBS
27556
 
+LIBS="-ldl  $LIBS"
27557
 
+cat >conftest.$ac_ext <<_ACEOF
27558
 
+/* confdefs.h.  */
27559
 
+_ACEOF
27560
 
+cat confdefs.h >>conftest.$ac_ext
27561
 
+cat >>conftest.$ac_ext <<_ACEOF
27562
 
+/* end confdefs.h.  */
27563
 
 
27564
 
-      if test "$GCC" = yes; then
27565
 
-       archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
27566
 
-       archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
27567
 
-      else
27568
 
-       archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
27569
 
-       archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
27570
 
-      fi
27571
 
-      ;;
27572
 
+/* Override any GCC internal prototype to avoid an error.
27573
 
+   Use char because int might match the return type of a GCC
27574
 
+   builtin and then its argument prototype would still apply.  */
27575
 
+#ifdef __cplusplus
27576
 
+extern "C"
27577
 
+#endif
27578
 
+char dlopen ();
27579
 
+int
27580
 
+main ()
27581
 
+{
27582
 
+return dlopen ();
27583
 
+  ;
27584
 
+  return 0;
27585
 
+}
27586
 
+_ACEOF
27587
 
+rm -f conftest.$ac_objext conftest$ac_exeext
27588
 
+if { (ac_try="$ac_link"
27589
 
+case "(($ac_try" in
27590
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27591
 
+  *) ac_try_echo=$ac_try;;
27592
 
+esac
27593
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27594
 
+$as_echo "$ac_try_echo") >&5
27595
 
+  (eval "$ac_link") 2>conftest.er1
27596
 
+  ac_status=$?
27597
 
+  grep -v '^ *+' conftest.er1 >conftest.err
27598
 
+  rm -f conftest.er1
27599
 
+  cat conftest.err >&5
27600
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27601
 
+  (exit $ac_status); } && {
27602
 
+        test -z "$ac_c_werror_flag" ||
27603
 
+        test ! -s conftest.err
27604
 
+       } && test -s conftest$ac_exeext && {
27605
 
+        test "$cross_compiling" = yes ||
27606
 
+        $as_test_x conftest$ac_exeext
27607
 
+       }; then
27608
 
+  ac_cv_lib_dl_dlopen=yes
27609
 
+else
27610
 
+  $as_echo "$as_me: failed program was:" >&5
27611
 
+sed 's/^/| /' conftest.$ac_ext >&5
27612
 
 
27613
 
-    sysv5* | sco3.2v5* | sco5v6*)
27614
 
-      # Note: We can NOT use -z defs as we might desire, because we do not
27615
 
-      # link with -lc, and that would cause any symbols used from libc to
27616
 
-      # always be unresolved, which means just about no library would
27617
 
-      # ever link correctly.  If we're not using GNU ld we use -z text
27618
 
-      # though, which does catch some bad symbols but isn't as heavy-handed
27619
 
-      # as -z defs.
27620
 
-      no_undefined_flag_F77='${wl}-z,text'
27621
 
-      allow_undefined_flag_F77='${wl}-z,nodefs'
27622
 
-      archive_cmds_need_lc_F77=no
27623
 
-      hardcode_shlibpath_var_F77=no
27624
 
-      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
27625
 
-      hardcode_libdir_separator_F77=':'
27626
 
-      link_all_deplibs_F77=yes
27627
 
-      export_dynamic_flag_spec_F77='${wl}-Bexport'
27628
 
-      runpath_var='LD_RUN_PATH'
27629
 
+       ac_cv_lib_dl_dlopen=no
27630
 
+fi
27631
 
 
27632
 
-      if test "$GCC" = yes; then
27633
 
-       archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
27634
 
-       archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
27635
 
-      else
27636
 
-       archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
27637
 
-       archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
27638
 
-      fi
27639
 
-      ;;
27640
 
+rm -rf conftest.dSYM
27641
 
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27642
 
+      conftest$ac_exeext conftest.$ac_ext
27643
 
+LIBS=$ac_check_lib_save_LIBS
27644
 
+fi
27645
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
27646
 
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
27647
 
+if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
27648
 
+  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
27649
 
+else
27650
 
 
27651
 
-    uts4*)
27652
 
-      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
27653
 
-      hardcode_libdir_flag_spec_F77='-L$libdir'
27654
 
-      hardcode_shlibpath_var_F77=no
27655
 
-      ;;
27656
 
+    lt_cv_dlopen="dyld"
27657
 
+    lt_cv_dlopen_libs=
27658
 
+    lt_cv_dlopen_self=yes
27659
 
 
27660
 
-    *)
27661
 
-      ld_shlibs_F77=no
27662
 
-      ;;
27663
 
-    esac
27664
 
-  fi
27665
 
+fi
27666
 
 
27667
 
-{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
27668
 
-echo "${ECHO_T}$ld_shlibs_F77" >&6; }
27669
 
-test "$ld_shlibs_F77" = no && can_build_shared=no
27670
 
+    ;;
27671
 
 
27672
 
-#
27673
 
-# Do we need to explicitly link libc?
27674
 
-#
27675
 
-case "x$archive_cmds_need_lc_F77" in
27676
 
-x|xyes)
27677
 
-  # Assume -lc should be added
27678
 
-  archive_cmds_need_lc_F77=yes
27679
 
+  *)
27680
 
+    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
27681
 
+$as_echo_n "checking for shl_load... " >&6; }
27682
 
+if test "${ac_cv_func_shl_load+set}" = set; then
27683
 
+  $as_echo_n "(cached) " >&6
27684
 
+else
27685
 
+  cat >conftest.$ac_ext <<_ACEOF
27686
 
+/* confdefs.h.  */
27687
 
+_ACEOF
27688
 
+cat confdefs.h >>conftest.$ac_ext
27689
 
+cat >>conftest.$ac_ext <<_ACEOF
27690
 
+/* end confdefs.h.  */
27691
 
+/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
27692
 
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27693
 
+#define shl_load innocuous_shl_load
27694
 
 
27695
 
-  if test "$enable_shared" = yes && test "$GCC" = yes; then
27696
 
-    case $archive_cmds_F77 in
27697
 
-    *'~'*)
27698
 
-      # FIXME: we may have to deal with multi-command sequences.
27699
 
-      ;;
27700
 
-    '$CC '*)
27701
 
-      # Test whether the compiler implicitly links with -lc since on some
27702
 
-      # systems, -lgcc has to come before -lc. If gcc already passes -lc
27703
 
-      # to ld, don't add -lc before -lgcc.
27704
 
-      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
27705
 
-echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
27706
 
-      $rm conftest*
27707
 
-      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
27708
 
+/* System header to define __stub macros and hopefully few prototypes,
27709
 
+    which can conflict with char shl_load (); below.
27710
 
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27711
 
+    <limits.h> exists even on freestanding compilers.  */
27712
 
 
27713
 
-      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27714
 
-  (eval $ac_compile) 2>&5
27715
 
-  ac_status=$?
27716
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27717
 
-  (exit $ac_status); } 2>conftest.err; then
27718
 
-        soname=conftest
27719
 
-        lib=conftest
27720
 
-        libobjs=conftest.$ac_objext
27721
 
-        deplibs=
27722
 
-        wl=$lt_prog_compiler_wl_F77
27723
 
-       pic_flag=$lt_prog_compiler_pic_F77
27724
 
-        compiler_flags=-v
27725
 
-        linker_flags=-v
27726
 
-        verstring=
27727
 
-        output_objdir=.
27728
 
-        libname=conftest
27729
 
-        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
27730
 
-        allow_undefined_flag_F77=
27731
 
-        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
27732
 
-  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
27733
 
-  ac_status=$?
27734
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27735
 
-  (exit $ac_status); }
27736
 
-        then
27737
 
-         archive_cmds_need_lc_F77=no
27738
 
-        else
27739
 
-         archive_cmds_need_lc_F77=yes
27740
 
-        fi
27741
 
-        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
27742
 
-      else
27743
 
-        cat conftest.err 1>&5
27744
 
-      fi
27745
 
-      $rm conftest*
27746
 
-      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
27747
 
-echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
27748
 
-      ;;
27749
 
-    esac
27750
 
-  fi
27751
 
-  ;;
27752
 
-esac
27753
 
+#ifdef __STDC__
27754
 
+# include <limits.h>
27755
 
+#else
27756
 
+# include <assert.h>
27757
 
+#endif
27758
 
 
27759
 
-{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
27760
 
-echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
27761
 
-library_names_spec=
27762
 
-libname_spec='lib$name'
27763
 
-soname_spec=
27764
 
-shrext_cmds=".so"
27765
 
-postinstall_cmds=
27766
 
-postuninstall_cmds=
27767
 
-finish_cmds=
27768
 
-finish_eval=
27769
 
-shlibpath_var=
27770
 
-shlibpath_overrides_runpath=unknown
27771
 
-version_type=none
27772
 
-dynamic_linker="$host_os ld.so"
27773
 
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
27774
 
+#undef shl_load
27775
 
 
27776
 
-need_lib_prefix=unknown
27777
 
-hardcode_into_libs=no
27778
 
+/* Override any GCC internal prototype to avoid an error.
27779
 
+   Use char because int might match the return type of a GCC
27780
 
+   builtin and then its argument prototype would still apply.  */
27781
 
+#ifdef __cplusplus
27782
 
+extern "C"
27783
 
+#endif
27784
 
+char shl_load ();
27785
 
+/* The GNU C library defines this for functions which it implements
27786
 
+    to always fail with ENOSYS.  Some functions are actually named
27787
 
+    something starting with __ and the normal name is an alias.  */
27788
 
+#if defined __stub_shl_load || defined __stub___shl_load
27789
 
+choke me
27790
 
+#endif
27791
 
 
27792
 
-# when you set need_version to no, make sure it does not cause -set_version
27793
 
-# flags to be left without arguments
27794
 
-need_version=unknown
27795
 
+int
27796
 
+main ()
27797
 
+{
27798
 
+return shl_load ();
27799
 
+  ;
27800
 
+  return 0;
27801
 
+}
27802
 
+_ACEOF
27803
 
+rm -f conftest.$ac_objext conftest$ac_exeext
27804
 
+if { (ac_try="$ac_link"
27805
 
+case "(($ac_try" in
27806
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27807
 
+  *) ac_try_echo=$ac_try;;
27808
 
+esac
27809
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27810
 
+$as_echo "$ac_try_echo") >&5
27811
 
+  (eval "$ac_link") 2>conftest.er1
27812
 
+  ac_status=$?
27813
 
+  grep -v '^ *+' conftest.er1 >conftest.err
27814
 
+  rm -f conftest.er1
27815
 
+  cat conftest.err >&5
27816
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27817
 
+  (exit $ac_status); } && {
27818
 
+        test -z "$ac_c_werror_flag" ||
27819
 
+        test ! -s conftest.err
27820
 
+       } && test -s conftest$ac_exeext && {
27821
 
+        test "$cross_compiling" = yes ||
27822
 
+        $as_test_x conftest$ac_exeext
27823
 
+       }; then
27824
 
+  ac_cv_func_shl_load=yes
27825
 
+else
27826
 
+  $as_echo "$as_me: failed program was:" >&5
27827
 
+sed 's/^/| /' conftest.$ac_ext >&5
27828
 
 
27829
 
-case $host_os in
27830
 
-aix3*)
27831
 
-  version_type=linux
27832
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
27833
 
-  shlibpath_var=LIBPATH
27834
 
+       ac_cv_func_shl_load=no
27835
 
+fi
27836
 
 
27837
 
-  # AIX 3 has no versioning support, so we append a major version to the name.
27838
 
-  soname_spec='${libname}${release}${shared_ext}$major'
27839
 
-  ;;
27840
 
+rm -rf conftest.dSYM
27841
 
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27842
 
+      conftest$ac_exeext conftest.$ac_ext
27843
 
+fi
27844
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
27845
 
+$as_echo "$ac_cv_func_shl_load" >&6; }
27846
 
+if test "x$ac_cv_func_shl_load" = x""yes; then
27847
 
+  lt_cv_dlopen="shl_load"
27848
 
+else
27849
 
+  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
27850
 
+$as_echo_n "checking for shl_load in -ldld... " >&6; }
27851
 
+if test "${ac_cv_lib_dld_shl_load+set}" = set; then
27852
 
+  $as_echo_n "(cached) " >&6
27853
 
+else
27854
 
+  ac_check_lib_save_LIBS=$LIBS
27855
 
+LIBS="-ldld  $LIBS"
27856
 
+cat >conftest.$ac_ext <<_ACEOF
27857
 
+/* confdefs.h.  */
27858
 
+_ACEOF
27859
 
+cat confdefs.h >>conftest.$ac_ext
27860
 
+cat >>conftest.$ac_ext <<_ACEOF
27861
 
+/* end confdefs.h.  */
27862
 
 
27863
 
-aix[4-9]*)
27864
 
-  version_type=linux
27865
 
-  need_lib_prefix=no
27866
 
-  need_version=no
27867
 
-  hardcode_into_libs=yes
27868
 
-  if test "$host_cpu" = ia64; then
27869
 
-    # AIX 5 supports IA64
27870
 
-    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
27871
 
-    shlibpath_var=LD_LIBRARY_PATH
27872
 
-  else
27873
 
-    # With GCC up to 2.95.x, collect2 would create an import file
27874
 
-    # for dependence libraries.  The import file would start with
27875
 
-    # the line `#! .'.  This would cause the generated library to
27876
 
-    # depend on `.', always an invalid library.  This was fixed in
27877
 
-    # development snapshots of GCC prior to 3.0.
27878
 
-    case $host_os in
27879
 
-      aix4 | aix4.[01] | aix4.[01].*)
27880
 
-      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
27881
 
-          echo ' yes '
27882
 
-          echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
27883
 
-       :
27884
 
-      else
27885
 
-       can_build_shared=no
27886
 
-      fi
27887
 
-      ;;
27888
 
-    esac
27889
 
-    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
27890
 
-    # soname into executable. Probably we can add versioning support to
27891
 
-    # collect2, so additional links can be useful in future.
27892
 
-    if test "$aix_use_runtimelinking" = yes; then
27893
 
-      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
27894
 
-      # instead of lib<name>.a to let people know that these are not
27895
 
-      # typical AIX shared libraries.
27896
 
-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
27897
 
-    else
27898
 
-      # We preserve .a as extension for shared libraries through AIX4.2
27899
 
-      # and later when we are not doing run time linking.
27900
 
-      library_names_spec='${libname}${release}.a $libname.a'
27901
 
-      soname_spec='${libname}${release}${shared_ext}$major'
27902
 
-    fi
27903
 
-    shlibpath_var=LIBPATH
27904
 
-  fi
27905
 
-  ;;
27906
 
+/* Override any GCC internal prototype to avoid an error.
27907
 
+   Use char because int might match the return type of a GCC
27908
 
+   builtin and then its argument prototype would still apply.  */
27909
 
+#ifdef __cplusplus
27910
 
+extern "C"
27911
 
+#endif
27912
 
+char shl_load ();
27913
 
+int
27914
 
+main ()
27915
 
+{
27916
 
+return shl_load ();
27917
 
+  ;
27918
 
+  return 0;
27919
 
+}
27920
 
+_ACEOF
27921
 
+rm -f conftest.$ac_objext conftest$ac_exeext
27922
 
+if { (ac_try="$ac_link"
27923
 
+case "(($ac_try" in
27924
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27925
 
+  *) ac_try_echo=$ac_try;;
27926
 
+esac
27927
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27928
 
+$as_echo "$ac_try_echo") >&5
27929
 
+  (eval "$ac_link") 2>conftest.er1
27930
 
+  ac_status=$?
27931
 
+  grep -v '^ *+' conftest.er1 >conftest.err
27932
 
+  rm -f conftest.er1
27933
 
+  cat conftest.err >&5
27934
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27935
 
+  (exit $ac_status); } && {
27936
 
+        test -z "$ac_c_werror_flag" ||
27937
 
+        test ! -s conftest.err
27938
 
+       } && test -s conftest$ac_exeext && {
27939
 
+        test "$cross_compiling" = yes ||
27940
 
+        $as_test_x conftest$ac_exeext
27941
 
+       }; then
27942
 
+  ac_cv_lib_dld_shl_load=yes
27943
 
+else
27944
 
+  $as_echo "$as_me: failed program was:" >&5
27945
 
+sed 's/^/| /' conftest.$ac_ext >&5
27946
 
 
27947
 
-amigaos*)
27948
 
-  library_names_spec='$libname.ixlibrary $libname.a'
27949
 
-  # Create ${libname}_ixlibrary.a entries in /sys/libs.
27950
 
-  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'
27951
 
-  ;;
27952
 
+       ac_cv_lib_dld_shl_load=no
27953
 
+fi
27954
 
 
27955
 
-beos*)
27956
 
-  library_names_spec='${libname}${shared_ext}'
27957
 
-  dynamic_linker="$host_os ld.so"
27958
 
-  shlibpath_var=LIBRARY_PATH
27959
 
-  ;;
27960
 
+rm -rf conftest.dSYM
27961
 
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27962
 
+      conftest$ac_exeext conftest.$ac_ext
27963
 
+LIBS=$ac_check_lib_save_LIBS
27964
 
+fi
27965
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
27966
 
+$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
27967
 
+if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
27968
 
+  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
27969
 
+else
27970
 
+  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
27971
 
+$as_echo_n "checking for dlopen... " >&6; }
27972
 
+if test "${ac_cv_func_dlopen+set}" = set; then
27973
 
+  $as_echo_n "(cached) " >&6
27974
 
+else
27975
 
+  cat >conftest.$ac_ext <<_ACEOF
27976
 
+/* confdefs.h.  */
27977
 
+_ACEOF
27978
 
+cat confdefs.h >>conftest.$ac_ext
27979
 
+cat >>conftest.$ac_ext <<_ACEOF
27980
 
+/* end confdefs.h.  */
27981
 
+/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
27982
 
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27983
 
+#define dlopen innocuous_dlopen
27984
 
 
27985
 
-bsdi[45]*)
27986
 
-  version_type=linux
27987
 
-  need_version=no
27988
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
27989
 
-  soname_spec='${libname}${release}${shared_ext}$major'
27990
 
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
27991
 
-  shlibpath_var=LD_LIBRARY_PATH
27992
 
-  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
27993
 
-  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
27994
 
-  # the default ld.so.conf also contains /usr/contrib/lib and
27995
 
-  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
27996
 
-  # libtool to hard-code these into programs
27997
 
-  ;;
27998
 
+/* System header to define __stub macros and hopefully few prototypes,
27999
 
+    which can conflict with char dlopen (); below.
28000
 
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28001
 
+    <limits.h> exists even on freestanding compilers.  */
28002
 
 
28003
 
-cygwin* | mingw* | pw32*)
28004
 
-  version_type=windows
28005
 
-  shrext_cmds=".dll"
28006
 
-  need_version=no
28007
 
-  need_lib_prefix=no
28008
 
+#ifdef __STDC__
28009
 
+# include <limits.h>
28010
 
+#else
28011
 
+# include <assert.h>
28012
 
+#endif
28013
 
 
28014
 
-  case $GCC,$host_os in
28015
 
-  yes,cygwin* | yes,mingw* | yes,pw32*)
28016
 
-    library_names_spec='$libname.dll.a'
28017
 
-    # DLL is installed to $(libdir)/../bin by postinstall_cmds
28018
 
-    postinstall_cmds='base_file=`basename \${file}`~
28019
 
-      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
28020
 
-      dldir=$destdir/`dirname \$dlpath`~
28021
 
-      test -d \$dldir || mkdir -p \$dldir~
28022
 
-      $install_prog $dir/$dlname \$dldir/$dlname~
28023
 
-      chmod a+x \$dldir/$dlname'
28024
 
-    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
28025
 
-      dlpath=$dir/\$dldll~
28026
 
-       $rm \$dlpath'
28027
 
-    shlibpath_overrides_runpath=yes
28028
 
+#undef dlopen
28029
 
 
28030
 
-    case $host_os in
28031
 
-    cygwin*)
28032
 
-      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
28033
 
-      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
28034
 
-      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
28035
 
-      ;;
28036
 
-    mingw*)
28037
 
-      # MinGW DLLs use traditional 'lib' prefix
28038
 
-      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
28039
 
-      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
28040
 
-      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
28041
 
-        # It is most probably a Windows format PATH printed by
28042
 
-        # mingw gcc, but we are running on Cygwin. Gcc prints its search
28043
 
-        # path with ; separators, and with drive letters. We can handle the
28044
 
-        # drive letters (cygwin fileutils understands them), so leave them,
28045
 
-        # especially as we might pass files found there to a mingw objdump,
28046
 
-        # which wouldn't understand a cygwinified path. Ahh.
28047
 
-        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
28048
 
-      else
28049
 
-        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
28050
 
-      fi
28051
 
-      ;;
28052
 
-    pw32*)
28053
 
-      # pw32 DLLs use 'pw' prefix rather than 'lib'
28054
 
-      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
28055
 
-      ;;
28056
 
-    esac
28057
 
-    ;;
28058
 
+/* Override any GCC internal prototype to avoid an error.
28059
 
+   Use char because int might match the return type of a GCC
28060
 
+   builtin and then its argument prototype would still apply.  */
28061
 
+#ifdef __cplusplus
28062
 
+extern "C"
28063
 
+#endif
28064
 
+char dlopen ();
28065
 
+/* The GNU C library defines this for functions which it implements
28066
 
+    to always fail with ENOSYS.  Some functions are actually named
28067
 
+    something starting with __ and the normal name is an alias.  */
28068
 
+#if defined __stub_dlopen || defined __stub___dlopen
28069
 
+choke me
28070
 
+#endif
28071
 
 
28072
 
-  *)
28073
 
-    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
28074
 
-    ;;
28075
 
-  esac
28076
 
-  dynamic_linker='Win32 ld.exe'
28077
 
-  # FIXME: first we should search . and the directory the executable is in
28078
 
-  shlibpath_var=PATH
28079
 
-  ;;
28080
 
+int
28081
 
+main ()
28082
 
+{
28083
 
+return dlopen ();
28084
 
+  ;
28085
 
+  return 0;
28086
 
+}
28087
 
+_ACEOF
28088
 
+rm -f conftest.$ac_objext conftest$ac_exeext
28089
 
+if { (ac_try="$ac_link"
28090
 
+case "(($ac_try" in
28091
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28092
 
+  *) ac_try_echo=$ac_try;;
28093
 
+esac
28094
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28095
 
+$as_echo "$ac_try_echo") >&5
28096
 
+  (eval "$ac_link") 2>conftest.er1
28097
 
+  ac_status=$?
28098
 
+  grep -v '^ *+' conftest.er1 >conftest.err
28099
 
+  rm -f conftest.er1
28100
 
+  cat conftest.err >&5
28101
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28102
 
+  (exit $ac_status); } && {
28103
 
+        test -z "$ac_c_werror_flag" ||
28104
 
+        test ! -s conftest.err
28105
 
+       } && test -s conftest$ac_exeext && {
28106
 
+        test "$cross_compiling" = yes ||
28107
 
+        $as_test_x conftest$ac_exeext
28108
 
+       }; then
28109
 
+  ac_cv_func_dlopen=yes
28110
 
+else
28111
 
+  $as_echo "$as_me: failed program was:" >&5
28112
 
+sed 's/^/| /' conftest.$ac_ext >&5
28113
 
 
28114
 
-darwin* | rhapsody*)
28115
 
-  dynamic_linker="$host_os dyld"
28116
 
-  version_type=darwin
28117
 
-  need_lib_prefix=no
28118
 
-  need_version=no
28119
 
-  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
28120
 
-  soname_spec='${libname}${release}${major}$shared_ext'
28121
 
-  shlibpath_overrides_runpath=yes
28122
 
-  shlibpath_var=DYLD_LIBRARY_PATH
28123
 
-  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
28124
 
+       ac_cv_func_dlopen=no
28125
 
+fi
28126
 
 
28127
 
-  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
28128
 
-  ;;
28129
 
+rm -rf conftest.dSYM
28130
 
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28131
 
+      conftest$ac_exeext conftest.$ac_ext
28132
 
+fi
28133
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
28134
 
+$as_echo "$ac_cv_func_dlopen" >&6; }
28135
 
+if test "x$ac_cv_func_dlopen" = x""yes; then
28136
 
+  lt_cv_dlopen="dlopen"
28137
 
+else
28138
 
+  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
28139
 
+$as_echo_n "checking for dlopen in -ldl... " >&6; }
28140
 
+if test "${ac_cv_lib_dl_dlopen+set}" = set; then
28141
 
+  $as_echo_n "(cached) " >&6
28142
 
+else
28143
 
+  ac_check_lib_save_LIBS=$LIBS
28144
 
+LIBS="-ldl  $LIBS"
28145
 
+cat >conftest.$ac_ext <<_ACEOF
28146
 
+/* confdefs.h.  */
28147
 
+_ACEOF
28148
 
+cat confdefs.h >>conftest.$ac_ext
28149
 
+cat >>conftest.$ac_ext <<_ACEOF
28150
 
+/* end confdefs.h.  */
28151
 
 
28152
 
-dgux*)
28153
 
-  version_type=linux
28154
 
-  need_lib_prefix=no
28155
 
-  need_version=no
28156
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
28157
 
-  soname_spec='${libname}${release}${shared_ext}$major'
28158
 
-  shlibpath_var=LD_LIBRARY_PATH
28159
 
-  ;;
28160
 
+/* Override any GCC internal prototype to avoid an error.
28161
 
+   Use char because int might match the return type of a GCC
28162
 
+   builtin and then its argument prototype would still apply.  */
28163
 
+#ifdef __cplusplus
28164
 
+extern "C"
28165
 
+#endif
28166
 
+char dlopen ();
28167
 
+int
28168
 
+main ()
28169
 
+{
28170
 
+return dlopen ();
28171
 
+  ;
28172
 
+  return 0;
28173
 
+}
28174
 
+_ACEOF
28175
 
+rm -f conftest.$ac_objext conftest$ac_exeext
28176
 
+if { (ac_try="$ac_link"
28177
 
+case "(($ac_try" in
28178
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28179
 
+  *) ac_try_echo=$ac_try;;
28180
 
+esac
28181
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28182
 
+$as_echo "$ac_try_echo") >&5
28183
 
+  (eval "$ac_link") 2>conftest.er1
28184
 
+  ac_status=$?
28185
 
+  grep -v '^ *+' conftest.er1 >conftest.err
28186
 
+  rm -f conftest.er1
28187
 
+  cat conftest.err >&5
28188
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28189
 
+  (exit $ac_status); } && {
28190
 
+        test -z "$ac_c_werror_flag" ||
28191
 
+        test ! -s conftest.err
28192
 
+       } && test -s conftest$ac_exeext && {
28193
 
+        test "$cross_compiling" = yes ||
28194
 
+        $as_test_x conftest$ac_exeext
28195
 
+       }; then
28196
 
+  ac_cv_lib_dl_dlopen=yes
28197
 
+else
28198
 
+  $as_echo "$as_me: failed program was:" >&5
28199
 
+sed 's/^/| /' conftest.$ac_ext >&5
28200
 
 
28201
 
-freebsd1*)
28202
 
-  dynamic_linker=no
28203
 
-  ;;
28204
 
+       ac_cv_lib_dl_dlopen=no
28205
 
+fi
28206
 
 
28207
 
-freebsd* | dragonfly*)
28208
 
-  # DragonFly does not have aout.  When/if they implement a new
28209
 
-  # versioning mechanism, adjust this.
28210
 
-  if test -x /usr/bin/objformat; then
28211
 
-    objformat=`/usr/bin/objformat`
28212
 
-  else
28213
 
-    case $host_os in
28214
 
-    freebsd[123]*) objformat=aout ;;
28215
 
-    *) objformat=elf ;;
28216
 
-    esac
28217
 
-  fi
28218
 
-  version_type=freebsd-$objformat
28219
 
-  case $version_type in
28220
 
-    freebsd-elf*)
28221
 
-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
28222
 
-      need_version=no
28223
 
-      need_lib_prefix=no
28224
 
-      ;;
28225
 
-    freebsd-*)
28226
 
-      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
28227
 
-      need_version=yes
28228
 
-      ;;
28229
 
-  esac
28230
 
-  shlibpath_var=LD_LIBRARY_PATH
28231
 
-  case $host_os in
28232
 
-  freebsd2*)
28233
 
-    shlibpath_overrides_runpath=yes
28234
 
-    ;;
28235
 
-  freebsd3.[01]* | freebsdelf3.[01]*)
28236
 
-    shlibpath_overrides_runpath=yes
28237
 
-    hardcode_into_libs=yes
28238
 
-    ;;
28239
 
-  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
28240
 
-  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
28241
 
-    shlibpath_overrides_runpath=no
28242
 
-    hardcode_into_libs=yes
28243
 
-    ;;
28244
 
-  *) # from 4.6 on, and DragonFly
28245
 
-    shlibpath_overrides_runpath=yes
28246
 
-    hardcode_into_libs=yes
28247
 
-    ;;
28248
 
-  esac
28249
 
-  ;;
28250
 
+rm -rf conftest.dSYM
28251
 
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28252
 
+      conftest$ac_exeext conftest.$ac_ext
28253
 
+LIBS=$ac_check_lib_save_LIBS
28254
 
+fi
28255
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
28256
 
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
28257
 
+if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
28258
 
+  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
28259
 
+else
28260
 
+  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
28261
 
+$as_echo_n "checking for dlopen in -lsvld... " >&6; }
28262
 
+if test "${ac_cv_lib_svld_dlopen+set}" = set; then
28263
 
+  $as_echo_n "(cached) " >&6
28264
 
+else
28265
 
+  ac_check_lib_save_LIBS=$LIBS
28266
 
+LIBS="-lsvld  $LIBS"
28267
 
+cat >conftest.$ac_ext <<_ACEOF
28268
 
+/* confdefs.h.  */
28269
 
+_ACEOF
28270
 
+cat confdefs.h >>conftest.$ac_ext
28271
 
+cat >>conftest.$ac_ext <<_ACEOF
28272
 
+/* end confdefs.h.  */
28273
 
 
28274
 
-gnu*)
28275
 
-  version_type=linux
28276
 
-  need_lib_prefix=no
28277
 
-  need_version=no
28278
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
28279
 
-  soname_spec='${libname}${release}${shared_ext}$major'
28280
 
-  shlibpath_var=LD_LIBRARY_PATH
28281
 
-  hardcode_into_libs=yes
28282
 
-  ;;
28283
 
+/* Override any GCC internal prototype to avoid an error.
28284
 
+   Use char because int might match the return type of a GCC
28285
 
+   builtin and then its argument prototype would still apply.  */
28286
 
+#ifdef __cplusplus
28287
 
+extern "C"
28288
 
+#endif
28289
 
+char dlopen ();
28290
 
+int
28291
 
+main ()
28292
 
+{
28293
 
+return dlopen ();
28294
 
+  ;
28295
 
+  return 0;
28296
 
+}
28297
 
+_ACEOF
28298
 
+rm -f conftest.$ac_objext conftest$ac_exeext
28299
 
+if { (ac_try="$ac_link"
28300
 
+case "(($ac_try" in
28301
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28302
 
+  *) ac_try_echo=$ac_try;;
28303
 
+esac
28304
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28305
 
+$as_echo "$ac_try_echo") >&5
28306
 
+  (eval "$ac_link") 2>conftest.er1
28307
 
+  ac_status=$?
28308
 
+  grep -v '^ *+' conftest.er1 >conftest.err
28309
 
+  rm -f conftest.er1
28310
 
+  cat conftest.err >&5
28311
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28312
 
+  (exit $ac_status); } && {
28313
 
+        test -z "$ac_c_werror_flag" ||
28314
 
+        test ! -s conftest.err
28315
 
+       } && test -s conftest$ac_exeext && {
28316
 
+        test "$cross_compiling" = yes ||
28317
 
+        $as_test_x conftest$ac_exeext
28318
 
+       }; then
28319
 
+  ac_cv_lib_svld_dlopen=yes
28320
 
+else
28321
 
+  $as_echo "$as_me: failed program was:" >&5
28322
 
+sed 's/^/| /' conftest.$ac_ext >&5
28323
 
 
28324
 
-hpux9* | hpux10* | hpux11*)
28325
 
-  # Give a soname corresponding to the major version so that dld.sl refuses to
28326
 
-  # link against other versions.
28327
 
-  version_type=sunos
28328
 
-  need_lib_prefix=no
28329
 
-  need_version=no
28330
 
-  case $host_cpu in
28331
 
-  ia64*)
28332
 
-    shrext_cmds='.so'
28333
 
-    hardcode_into_libs=yes
28334
 
-    dynamic_linker="$host_os dld.so"
28335
 
-    shlibpath_var=LD_LIBRARY_PATH
28336
 
-    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
28337
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28338
 
-    soname_spec='${libname}${release}${shared_ext}$major'
28339
 
-    if test "X$HPUX_IA64_MODE" = X32; then
28340
 
-      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
28341
 
-    else
28342
 
-      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
28343
 
-    fi
28344
 
-    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
28345
 
-    ;;
28346
 
-   hppa*64*)
28347
 
-     shrext_cmds='.sl'
28348
 
-     hardcode_into_libs=yes
28349
 
-     dynamic_linker="$host_os dld.sl"
28350
 
-     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
28351
 
-     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
28352
 
-     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28353
 
-     soname_spec='${libname}${release}${shared_ext}$major'
28354
 
-     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
28355
 
-     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
28356
 
-     ;;
28357
 
-   *)
28358
 
-    shrext_cmds='.sl'
28359
 
-    dynamic_linker="$host_os dld.sl"
28360
 
-    shlibpath_var=SHLIB_PATH
28361
 
-    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
28362
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28363
 
-    soname_spec='${libname}${release}${shared_ext}$major'
28364
 
-    ;;
28365
 
-  esac
28366
 
-  # HP-UX runs *really* slowly unless shared libraries are mode 555.
28367
 
-  postinstall_cmds='chmod 555 $lib'
28368
 
-  ;;
28369
 
+       ac_cv_lib_svld_dlopen=no
28370
 
+fi
28371
 
 
28372
 
-interix[3-9]*)
28373
 
-  version_type=linux
28374
 
-  need_lib_prefix=no
28375
 
-  need_version=no
28376
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
28377
 
-  soname_spec='${libname}${release}${shared_ext}$major'
28378
 
-  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
28379
 
-  shlibpath_var=LD_LIBRARY_PATH
28380
 
-  shlibpath_overrides_runpath=no
28381
 
-  hardcode_into_libs=yes
28382
 
-  ;;
28383
 
+rm -rf conftest.dSYM
28384
 
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28385
 
+      conftest$ac_exeext conftest.$ac_ext
28386
 
+LIBS=$ac_check_lib_save_LIBS
28387
 
+fi
28388
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
28389
 
+$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
28390
 
+if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
28391
 
+  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
28392
 
+else
28393
 
+  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
28394
 
+$as_echo_n "checking for dld_link in -ldld... " >&6; }
28395
 
+if test "${ac_cv_lib_dld_dld_link+set}" = set; then
28396
 
+  $as_echo_n "(cached) " >&6
28397
 
+else
28398
 
+  ac_check_lib_save_LIBS=$LIBS
28399
 
+LIBS="-ldld  $LIBS"
28400
 
+cat >conftest.$ac_ext <<_ACEOF
28401
 
+/* confdefs.h.  */
28402
 
+_ACEOF
28403
 
+cat confdefs.h >>conftest.$ac_ext
28404
 
+cat >>conftest.$ac_ext <<_ACEOF
28405
 
+/* end confdefs.h.  */
28406
 
 
28407
 
-irix5* | irix6* | nonstopux*)
28408
 
-  case $host_os in
28409
 
-    nonstopux*) version_type=nonstopux ;;
28410
 
-    *)
28411
 
-       if test "$lt_cv_prog_gnu_ld" = yes; then
28412
 
-               version_type=linux
28413
 
-       else
28414
 
-               version_type=irix
28415
 
-       fi ;;
28416
 
-  esac
28417
 
-  need_lib_prefix=no
28418
 
-  need_version=no
28419
 
-  soname_spec='${libname}${release}${shared_ext}$major'
28420
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
28421
 
-  case $host_os in
28422
 
-  irix5* | nonstopux*)
28423
 
-    libsuff= shlibsuff=
28424
 
-    ;;
28425
 
-  *)
28426
 
-    case $LD in # libtool.m4 will add one of these switches to LD
28427
 
-    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
28428
 
-      libsuff= shlibsuff= libmagic=32-bit;;
28429
 
-    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
28430
 
-      libsuff=32 shlibsuff=N32 libmagic=N32;;
28431
 
-    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
28432
 
-      libsuff=64 shlibsuff=64 libmagic=64-bit;;
28433
 
-    *) libsuff= shlibsuff= libmagic=never-match;;
28434
 
-    esac
28435
 
-    ;;
28436
 
-  esac
28437
 
-  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
28438
 
-  shlibpath_overrides_runpath=no
28439
 
-  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
28440
 
-  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
28441
 
-  hardcode_into_libs=yes
28442
 
-  ;;
28443
 
+/* Override any GCC internal prototype to avoid an error.
28444
 
+   Use char because int might match the return type of a GCC
28445
 
+   builtin and then its argument prototype would still apply.  */
28446
 
+#ifdef __cplusplus
28447
 
+extern "C"
28448
 
+#endif
28449
 
+char dld_link ();
28450
 
+int
28451
 
+main ()
28452
 
+{
28453
 
+return dld_link ();
28454
 
+  ;
28455
 
+  return 0;
28456
 
+}
28457
 
+_ACEOF
28458
 
+rm -f conftest.$ac_objext conftest$ac_exeext
28459
 
+if { (ac_try="$ac_link"
28460
 
+case "(($ac_try" in
28461
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28462
 
+  *) ac_try_echo=$ac_try;;
28463
 
+esac
28464
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28465
 
+$as_echo "$ac_try_echo") >&5
28466
 
+  (eval "$ac_link") 2>conftest.er1
28467
 
+  ac_status=$?
28468
 
+  grep -v '^ *+' conftest.er1 >conftest.err
28469
 
+  rm -f conftest.er1
28470
 
+  cat conftest.err >&5
28471
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28472
 
+  (exit $ac_status); } && {
28473
 
+        test -z "$ac_c_werror_flag" ||
28474
 
+        test ! -s conftest.err
28475
 
+       } && test -s conftest$ac_exeext && {
28476
 
+        test "$cross_compiling" = yes ||
28477
 
+        $as_test_x conftest$ac_exeext
28478
 
+       }; then
28479
 
+  ac_cv_lib_dld_dld_link=yes
28480
 
+else
28481
 
+  $as_echo "$as_me: failed program was:" >&5
28482
 
+sed 's/^/| /' conftest.$ac_ext >&5
28483
 
 
28484
 
-# No shared lib support for Linux oldld, aout, or coff.
28485
 
-linux*oldld* | linux*aout* | linux*coff*)
28486
 
-  dynamic_linker=no
28487
 
-  ;;
28488
 
+       ac_cv_lib_dld_dld_link=no
28489
 
+fi
28490
 
 
28491
 
-# This must be Linux ELF.
28492
 
-linux* | k*bsd*-gnu)
28493
 
-  version_type=linux
28494
 
-  need_lib_prefix=no
28495
 
-  need_version=no
28496
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28497
 
-  soname_spec='${libname}${release}${shared_ext}$major'
28498
 
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
28499
 
-  shlibpath_var=LD_LIBRARY_PATH
28500
 
-  shlibpath_overrides_runpath=no
28501
 
-  # This implies no fast_install, which is unacceptable.
28502
 
-  # Some rework will be needed to allow for fast_install
28503
 
-  # before this can be enabled.
28504
 
-  hardcode_into_libs=yes
28505
 
+rm -rf conftest.dSYM
28506
 
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28507
 
+      conftest$ac_exeext conftest.$ac_ext
28508
 
+LIBS=$ac_check_lib_save_LIBS
28509
 
+fi
28510
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
28511
 
+$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
28512
 
+if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
28513
 
+  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
28514
 
+fi
28515
 
 
28516
 
-  # Append ld.so.conf contents to the search path
28517
 
-  if test -f /etc/ld.so.conf; then
28518
 
-    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' ' '`
28519
 
-    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
28520
 
-  fi
28521
 
 
28522
 
-  # We used to test for /lib/ld.so.1 and disable shared libraries on
28523
 
-  # powerpc, because MkLinux only supported shared libraries with the
28524
 
-  # GNU dynamic linker.  Since this was broken with cross compilers,
28525
 
-  # most powerpc-linux boxes support dynamic linking these days and
28526
 
-  # people can always --disable-shared, the test was removed, and we
28527
 
-  # assume the GNU/Linux dynamic linker is in use.
28528
 
-  dynamic_linker='GNU/Linux ld.so'
28529
 
-  ;;
28530
 
+fi
28531
 
 
28532
 
-netbsdelf*-gnu)
28533
 
-  version_type=linux
28534
 
-  need_lib_prefix=no
28535
 
-  need_version=no
28536
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
28537
 
-  soname_spec='${libname}${release}${shared_ext}$major'
28538
 
-  shlibpath_var=LD_LIBRARY_PATH
28539
 
-  shlibpath_overrides_runpath=no
28540
 
-  hardcode_into_libs=yes
28541
 
-  dynamic_linker='NetBSD ld.elf_so'
28542
 
-  ;;
28543
 
 
28544
 
-netbsd*)
28545
 
-  version_type=sunos
28546
 
-  need_lib_prefix=no
28547
 
-  need_version=no
28548
 
-  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
28549
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
28550
 
-    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
28551
 
-    dynamic_linker='NetBSD (a.out) ld.so'
28552
 
-  else
28553
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
28554
 
-    soname_spec='${libname}${release}${shared_ext}$major'
28555
 
-    dynamic_linker='NetBSD ld.elf_so'
28556
 
-  fi
28557
 
-  shlibpath_var=LD_LIBRARY_PATH
28558
 
-  shlibpath_overrides_runpath=yes
28559
 
-  hardcode_into_libs=yes
28560
 
-  ;;
28561
 
+fi
28562
 
 
28563
 
-newsos6)
28564
 
-  version_type=linux
28565
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28566
 
-  shlibpath_var=LD_LIBRARY_PATH
28567
 
-  shlibpath_overrides_runpath=yes
28568
 
-  ;;
28569
 
 
28570
 
-nto-qnx*)
28571
 
-  version_type=linux
28572
 
-  need_lib_prefix=no
28573
 
-  need_version=no
28574
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28575
 
-  soname_spec='${libname}${release}${shared_ext}$major'
28576
 
-  shlibpath_var=LD_LIBRARY_PATH
28577
 
-  shlibpath_overrides_runpath=yes
28578
 
-  ;;
28579
 
+fi
28580
 
 
28581
 
-openbsd*)
28582
 
-  version_type=sunos
28583
 
-  sys_lib_dlsearch_path_spec="/usr/lib"
28584
 
-  need_lib_prefix=no
28585
 
-  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
28586
 
-  case $host_os in
28587
 
-    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
28588
 
-    *)                         need_version=no  ;;
28589
 
+
28590
 
+fi
28591
 
+
28592
 
+
28593
 
+fi
28594
 
+
28595
 
+    ;;
28596
 
   esac
28597
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
28598
 
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
28599
 
-  shlibpath_var=LD_LIBRARY_PATH
28600
 
-  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
28601
 
-    case $host_os in
28602
 
-      openbsd2.[89] | openbsd2.[89].*)
28603
 
-       shlibpath_overrides_runpath=no
28604
 
-       ;;
28605
 
-      *)
28606
 
-       shlibpath_overrides_runpath=yes
28607
 
-       ;;
28608
 
-      esac
28609
 
+
28610
 
+  if test "x$lt_cv_dlopen" != xno; then
28611
 
+    enable_dlopen=yes
28612
 
   else
28613
 
-    shlibpath_overrides_runpath=yes
28614
 
+    enable_dlopen=no
28615
 
   fi
28616
 
-  ;;
28617
 
 
28618
 
-os2*)
28619
 
-  libname_spec='$name'
28620
 
-  shrext_cmds=".dll"
28621
 
-  need_lib_prefix=no
28622
 
-  library_names_spec='$libname${shared_ext} $libname.a'
28623
 
-  dynamic_linker='OS/2 ld.exe'
28624
 
-  shlibpath_var=LIBPATH
28625
 
-  ;;
28626
 
+  case $lt_cv_dlopen in
28627
 
+  dlopen)
28628
 
+    save_CPPFLAGS="$CPPFLAGS"
28629
 
+    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
28630
 
 
28631
 
-osf3* | osf4* | osf5*)
28632
 
-  version_type=osf
28633
 
-  need_lib_prefix=no
28634
 
-  need_version=no
28635
 
-  soname_spec='${libname}${release}${shared_ext}$major'
28636
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28637
 
-  shlibpath_var=LD_LIBRARY_PATH
28638
 
-  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
28639
 
-  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
28640
 
-  ;;
28641
 
+    save_LDFLAGS="$LDFLAGS"
28642
 
+    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
28643
 
 
28644
 
-rdos*)
28645
 
-  dynamic_linker=no
28646
 
-  ;;
28647
 
+    save_LIBS="$LIBS"
28648
 
+    LIBS="$lt_cv_dlopen_libs $LIBS"
28649
 
 
28650
 
-solaris*)
28651
 
-  version_type=linux
28652
 
-  need_lib_prefix=no
28653
 
-  need_version=no
28654
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28655
 
-  soname_spec='${libname}${release}${shared_ext}$major'
28656
 
-  shlibpath_var=LD_LIBRARY_PATH
28657
 
-  shlibpath_overrides_runpath=yes
28658
 
-  hardcode_into_libs=yes
28659
 
-  # ldd complains unless libraries are executable
28660
 
-  postinstall_cmds='chmod +x $lib'
28661
 
-  ;;
28662
 
+    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
28663
 
+$as_echo_n "checking whether a program can dlopen itself... " >&6; }
28664
 
+if test "${lt_cv_dlopen_self+set}" = set; then
28665
 
+  $as_echo_n "(cached) " >&6
28666
 
+else
28667
 
+         if test "$cross_compiling" = yes; then :
28668
 
+  lt_cv_dlopen_self=cross
28669
 
+else
28670
 
+  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
28671
 
+  lt_status=$lt_dlunknown
28672
 
+  cat > conftest.$ac_ext <<_LT_EOF
28673
 
+#line 14105 "configure"
28674
 
+#include "confdefs.h"
28675
 
 
28676
 
-sunos4*)
28677
 
-  version_type=sunos
28678
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
28679
 
-  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
28680
 
-  shlibpath_var=LD_LIBRARY_PATH
28681
 
-  shlibpath_overrides_runpath=yes
28682
 
-  if test "$with_gnu_ld" = yes; then
28683
 
-    need_lib_prefix=no
28684
 
-  fi
28685
 
-  need_version=yes
28686
 
-  ;;
28687
 
+#if HAVE_DLFCN_H
28688
 
+#include <dlfcn.h>
28689
 
+#endif
28690
 
 
28691
 
-sysv4 | sysv4.3*)
28692
 
-  version_type=linux
28693
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28694
 
-  soname_spec='${libname}${release}${shared_ext}$major'
28695
 
-  shlibpath_var=LD_LIBRARY_PATH
28696
 
-  case $host_vendor in
28697
 
-    sni)
28698
 
-      shlibpath_overrides_runpath=no
28699
 
-      need_lib_prefix=no
28700
 
-      export_dynamic_flag_spec='${wl}-Blargedynsym'
28701
 
-      runpath_var=LD_RUN_PATH
28702
 
-      ;;
28703
 
-    siemens)
28704
 
-      need_lib_prefix=no
28705
 
-      ;;
28706
 
-    motorola)
28707
 
-      need_lib_prefix=no
28708
 
-      need_version=no
28709
 
-      shlibpath_overrides_runpath=no
28710
 
-      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
28711
 
-      ;;
28712
 
-  esac
28713
 
-  ;;
28714
 
+#include <stdio.h>
28715
 
 
28716
 
-sysv4*MP*)
28717
 
-  if test -d /usr/nec ;then
28718
 
-    version_type=linux
28719
 
-    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
28720
 
-    soname_spec='$libname${shared_ext}.$major'
28721
 
-    shlibpath_var=LD_LIBRARY_PATH
28722
 
-  fi
28723
 
-  ;;
28724
 
+#ifdef RTLD_GLOBAL
28725
 
+#  define LT_DLGLOBAL          RTLD_GLOBAL
28726
 
+#else
28727
 
+#  ifdef DL_GLOBAL
28728
 
+#    define LT_DLGLOBAL                DL_GLOBAL
28729
 
+#  else
28730
 
+#    define LT_DLGLOBAL                0
28731
 
+#  endif
28732
 
+#endif
28733
 
 
28734
 
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
28735
 
-  version_type=freebsd-elf
28736
 
-  need_lib_prefix=no
28737
 
-  need_version=no
28738
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
28739
 
-  soname_spec='${libname}${release}${shared_ext}$major'
28740
 
-  shlibpath_var=LD_LIBRARY_PATH
28741
 
-  hardcode_into_libs=yes
28742
 
-  if test "$with_gnu_ld" = yes; then
28743
 
-    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
28744
 
-    shlibpath_overrides_runpath=no
28745
 
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
28746
 
+   find out it does not work in some platform. */
28747
 
+#ifndef LT_DLLAZY_OR_NOW
28748
 
+#  ifdef RTLD_LAZY
28749
 
+#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
28750
 
+#  else
28751
 
+#    ifdef DL_LAZY
28752
 
+#      define LT_DLLAZY_OR_NOW         DL_LAZY
28753
 
+#    else
28754
 
+#      ifdef RTLD_NOW
28755
 
+#        define LT_DLLAZY_OR_NOW       RTLD_NOW
28756
 
+#      else
28757
 
+#        ifdef DL_NOW
28758
 
+#          define LT_DLLAZY_OR_NOW     DL_NOW
28759
 
+#        else
28760
 
+#          define LT_DLLAZY_OR_NOW     0
28761
 
+#        endif
28762
 
+#      endif
28763
 
+#    endif
28764
 
+#  endif
28765
 
+#endif
28766
 
+
28767
 
+void fnord() { int i=42;}
28768
 
+int main ()
28769
 
+{
28770
 
+  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
28771
 
+  int status = $lt_dlunknown;
28772
 
+
28773
 
+  if (self)
28774
 
+    {
28775
 
+      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
28776
 
+      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
28777
 
+      /* dlclose (self); */
28778
 
+    }
28779
 
   else
28780
 
-    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
28781
 
-    shlibpath_overrides_runpath=yes
28782
 
-    case $host_os in
28783
 
-      sco3.2v5*)
28784
 
-        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
28785
 
-       ;;
28786
 
+    puts (dlerror ());
28787
 
+
28788
 
+  return status;
28789
 
+}
28790
 
+_LT_EOF
28791
 
+  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28792
 
+  (eval $ac_link) 2>&5
28793
 
+  ac_status=$?
28794
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28795
 
+  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
28796
 
+    (./conftest; exit; ) >&5 2>/dev/null
28797
 
+    lt_status=$?
28798
 
+    case x$lt_status in
28799
 
+      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
28800
 
+      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
28801
 
+      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
28802
 
     esac
28803
 
+  else :
28804
 
+    # compilation failed
28805
 
+    lt_cv_dlopen_self=no
28806
 
   fi
28807
 
-  sys_lib_dlsearch_path_spec='/usr/lib'
28808
 
-  ;;
28809
 
-
28810
 
-uts4*)
28811
 
-  version_type=linux
28812
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28813
 
-  soname_spec='${libname}${release}${shared_ext}$major'
28814
 
-  shlibpath_var=LD_LIBRARY_PATH
28815
 
-  ;;
28816
 
+fi
28817
 
+rm -fr conftest*
28818
 
 
28819
 
-*)
28820
 
-  dynamic_linker=no
28821
 
-  ;;
28822
 
-esac
28823
 
-{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
28824
 
-echo "${ECHO_T}$dynamic_linker" >&6; }
28825
 
-test "$dynamic_linker" = no && can_build_shared=no
28826
 
 
28827
 
-if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
28828
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
28829
 
-else
28830
 
-  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
28831
 
 fi
28832
 
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
28833
 
+$as_echo "$lt_cv_dlopen_self" >&6; }
28834
 
 
28835
 
-sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
28836
 
-if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
28837
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
28838
 
+    if test "x$lt_cv_dlopen_self" = xyes; then
28839
 
+      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
28840
 
+      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
28841
 
+$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
28842
 
+if test "${lt_cv_dlopen_self_static+set}" = set; then
28843
 
+  $as_echo_n "(cached) " >&6
28844
 
 else
28845
 
-  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
28846
 
-fi
28847
 
+         if test "$cross_compiling" = yes; then :
28848
 
+  lt_cv_dlopen_self_static=cross
28849
 
+else
28850
 
+  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
28851
 
+  lt_status=$lt_dlunknown
28852
 
+  cat > conftest.$ac_ext <<_LT_EOF
28853
 
+#line 14201 "configure"
28854
 
+#include "confdefs.h"
28855
 
+
28856
 
+#if HAVE_DLFCN_H
28857
 
+#include <dlfcn.h>
28858
 
+#endif
28859
 
+
28860
 
+#include <stdio.h>
28861
 
 
28862
 
-sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
28863
 
+#ifdef RTLD_GLOBAL
28864
 
+#  define LT_DLGLOBAL          RTLD_GLOBAL
28865
 
+#else
28866
 
+#  ifdef DL_GLOBAL
28867
 
+#    define LT_DLGLOBAL                DL_GLOBAL
28868
 
+#  else
28869
 
+#    define LT_DLGLOBAL                0
28870
 
+#  endif
28871
 
+#endif
28872
 
 
28873
 
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
28874
 
-if test "$GCC" = yes; then
28875
 
-  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
28876
 
-fi
28877
 
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
28878
 
+   find out it does not work in some platform. */
28879
 
+#ifndef LT_DLLAZY_OR_NOW
28880
 
+#  ifdef RTLD_LAZY
28881
 
+#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
28882
 
+#  else
28883
 
+#    ifdef DL_LAZY
28884
 
+#      define LT_DLLAZY_OR_NOW         DL_LAZY
28885
 
+#    else
28886
 
+#      ifdef RTLD_NOW
28887
 
+#        define LT_DLLAZY_OR_NOW       RTLD_NOW
28888
 
+#      else
28889
 
+#        ifdef DL_NOW
28890
 
+#          define LT_DLLAZY_OR_NOW     DL_NOW
28891
 
+#        else
28892
 
+#          define LT_DLLAZY_OR_NOW     0
28893
 
+#        endif
28894
 
+#      endif
28895
 
+#    endif
28896
 
+#  endif
28897
 
+#endif
28898
 
 
28899
 
-{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
28900
 
-echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
28901
 
-hardcode_action_F77=
28902
 
-if test -n "$hardcode_libdir_flag_spec_F77" || \
28903
 
-   test -n "$runpath_var_F77" || \
28904
 
-   test "X$hardcode_automatic_F77" = "Xyes" ; then
28905
 
+void fnord() { int i=42;}
28906
 
+int main ()
28907
 
+{
28908
 
+  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
28909
 
+  int status = $lt_dlunknown;
28910
 
 
28911
 
-  # We can hardcode non-existant directories.
28912
 
-  if test "$hardcode_direct_F77" != no &&
28913
 
-     # If the only mechanism to avoid hardcoding is shlibpath_var, we
28914
 
-     # have to relink, otherwise we might link with an installed library
28915
 
-     # when we should be linking with a yet-to-be-installed one
28916
 
-     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
28917
 
-     test "$hardcode_minus_L_F77" != no; then
28918
 
-    # Linking always hardcodes the temporary library directory.
28919
 
-    hardcode_action_F77=relink
28920
 
+  if (self)
28921
 
+    {
28922
 
+      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
28923
 
+      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
28924
 
+      /* dlclose (self); */
28925
 
+    }
28926
 
   else
28927
 
-    # We can link without hardcoding, and we can hardcode nonexisting dirs.
28928
 
-    hardcode_action_F77=immediate
28929
 
-  fi
28930
 
-else
28931
 
-  # We cannot hardcode anything, or else we can only hardcode existing
28932
 
-  # directories.
28933
 
-  hardcode_action_F77=unsupported
28934
 
-fi
28935
 
-{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
28936
 
-echo "${ECHO_T}$hardcode_action_F77" >&6; }
28937
 
+    puts (dlerror ());
28938
 
 
28939
 
-if test "$hardcode_action_F77" = relink; then
28940
 
-  # Fast installation is not supported
28941
 
-  enable_fast_install=no
28942
 
-elif test "$shlibpath_overrides_runpath" = yes ||
28943
 
-     test "$enable_shared" = no; then
28944
 
-  # Fast installation is not necessary
28945
 
-  enable_fast_install=needless
28946
 
+  return status;
28947
 
+}
28948
 
+_LT_EOF
28949
 
+  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28950
 
+  (eval $ac_link) 2>&5
28951
 
+  ac_status=$?
28952
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28953
 
+  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
28954
 
+    (./conftest; exit; ) >&5 2>/dev/null
28955
 
+    lt_status=$?
28956
 
+    case x$lt_status in
28957
 
+      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
28958
 
+      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
28959
 
+      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
28960
 
+    esac
28961
 
+  else :
28962
 
+    # compilation failed
28963
 
+    lt_cv_dlopen_self_static=no
28964
 
+  fi
28965
 
 fi
28966
 
+rm -fr conftest*
28967
 
 
28968
 
 
28969
 
-# The else clause should only fire when bootstrapping the
28970
 
-# libtool distribution, otherwise you forgot to ship ltmain.sh
28971
 
-# with your package, and you will get complaints that there are
28972
 
-# no rules to generate ltmain.sh.
28973
 
-if test -f "$ltmain"; then
28974
 
-  # See if we are running on zsh, and set the options which allow our commands through
28975
 
-  # without removal of \ escapes.
28976
 
-  if test -n "${ZSH_VERSION+set}" ; then
28977
 
-    setopt NO_GLOB_SUBST
28978
 
-  fi
28979
 
-  # Now quote all the things that may contain metacharacters while being
28980
 
-  # careful not to overquote the AC_SUBSTed values.  We take copies of the
28981
 
-  # variables and quote the copies for generation of the libtool script.
28982
 
-  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
28983
 
-    SED SHELL STRIP \
28984
 
-    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
28985
 
-    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
28986
 
-    deplibs_check_method reload_flag reload_cmds need_locks \
28987
 
-    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
28988
 
-    lt_cv_sys_global_symbol_to_c_name_address \
28989
 
-    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
28990
 
-    old_postinstall_cmds old_postuninstall_cmds \
28991
 
-    compiler_F77 \
28992
 
-    CC_F77 \
28993
 
-    LD_F77 \
28994
 
-    lt_prog_compiler_wl_F77 \
28995
 
-    lt_prog_compiler_pic_F77 \
28996
 
-    lt_prog_compiler_static_F77 \
28997
 
-    lt_prog_compiler_no_builtin_flag_F77 \
28998
 
-    export_dynamic_flag_spec_F77 \
28999
 
-    thread_safe_flag_spec_F77 \
29000
 
-    whole_archive_flag_spec_F77 \
29001
 
-    enable_shared_with_static_runtimes_F77 \
29002
 
-    old_archive_cmds_F77 \
29003
 
-    old_archive_from_new_cmds_F77 \
29004
 
-    predep_objects_F77 \
29005
 
-    postdep_objects_F77 \
29006
 
-    predeps_F77 \
29007
 
-    postdeps_F77 \
29008
 
-    compiler_lib_search_path_F77 \
29009
 
-    compiler_lib_search_dirs_F77 \
29010
 
-    archive_cmds_F77 \
29011
 
-    archive_expsym_cmds_F77 \
29012
 
-    postinstall_cmds_F77 \
29013
 
-    postuninstall_cmds_F77 \
29014
 
-    old_archive_from_expsyms_cmds_F77 \
29015
 
-    allow_undefined_flag_F77 \
29016
 
-    no_undefined_flag_F77 \
29017
 
-    export_symbols_cmds_F77 \
29018
 
-    hardcode_libdir_flag_spec_F77 \
29019
 
-    hardcode_libdir_flag_spec_ld_F77 \
29020
 
-    hardcode_libdir_separator_F77 \
29021
 
-    hardcode_automatic_F77 \
29022
 
-    module_cmds_F77 \
29023
 
-    module_expsym_cmds_F77 \
29024
 
-    lt_cv_prog_compiler_c_o_F77 \
29025
 
-    fix_srcfile_path_F77 \
29026
 
-    exclude_expsyms_F77 \
29027
 
-    include_expsyms_F77; do
29028
 
-
29029
 
-    case $var in
29030
 
-    old_archive_cmds_F77 | \
29031
 
-    old_archive_from_new_cmds_F77 | \
29032
 
-    archive_cmds_F77 | \
29033
 
-    archive_expsym_cmds_F77 | \
29034
 
-    module_cmds_F77 | \
29035
 
-    module_expsym_cmds_F77 | \
29036
 
-    old_archive_from_expsyms_cmds_F77 | \
29037
 
-    export_symbols_cmds_F77 | \
29038
 
-    extract_expsyms_cmds | reload_cmds | finish_cmds | \
29039
 
-    postinstall_cmds | postuninstall_cmds | \
29040
 
-    old_postinstall_cmds | old_postuninstall_cmds | \
29041
 
-    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
29042
 
-      # Double-quote double-evaled strings.
29043
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
29044
 
-      ;;
29045
 
-    *)
29046
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
29047
 
-      ;;
29048
 
-    esac
29049
 
-  done
29050
 
+fi
29051
 
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
29052
 
+$as_echo "$lt_cv_dlopen_self_static" >&6; }
29053
 
+    fi
29054
 
 
29055
 
-  case $lt_echo in
29056
 
-  *'\$0 --fallback-echo"')
29057
 
-    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
29058
 
+    CPPFLAGS="$save_CPPFLAGS"
29059
 
+    LDFLAGS="$save_LDFLAGS"
29060
 
+    LIBS="$save_LIBS"
29061
 
     ;;
29062
 
   esac
29063
 
 
29064
 
-cfgfile="$ofile"
29065
 
-
29066
 
-  cat <<__EOF__ >> "$cfgfile"
29067
 
-# ### BEGIN LIBTOOL TAG CONFIG: $tagname
29068
 
-
29069
 
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
29070
 
+  case $lt_cv_dlopen_self in
29071
 
+  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
29072
 
+  *) enable_dlopen_self=unknown ;;
29073
 
+  esac
29074
 
 
29075
 
-# Shell to use when invoking shell scripts.
29076
 
-SHELL=$lt_SHELL
29077
 
+  case $lt_cv_dlopen_self_static in
29078
 
+  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
29079
 
+  *) enable_dlopen_self_static=unknown ;;
29080
 
+  esac
29081
 
+fi
29082
 
 
29083
 
-# Whether or not to build shared libraries.
29084
 
-build_libtool_libs=$enable_shared
29085
 
 
29086
 
-# Whether or not to build static libraries.
29087
 
-build_old_libs=$enable_static
29088
 
 
29089
 
-# Whether or not to add -lc for building shared libraries.
29090
 
-build_libtool_need_lc=$archive_cmds_need_lc_F77
29091
 
 
29092
 
-# Whether or not to disallow shared libs when runtime libs are static
29093
 
-allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
29094
 
 
29095
 
-# Whether or not to optimize for fast installation.
29096
 
-fast_install=$enable_fast_install
29097
 
 
29098
 
-# The host system.
29099
 
-host_alias=$host_alias
29100
 
-host=$host
29101
 
-host_os=$host_os
29102
 
 
29103
 
-# The build system.
29104
 
-build_alias=$build_alias
29105
 
-build=$build
29106
 
-build_os=$build_os
29107
 
 
29108
 
-# An echo program that does not interpret backslashes.
29109
 
-echo=$lt_echo
29110
 
 
29111
 
-# The archiver.
29112
 
-AR=$lt_AR
29113
 
-AR_FLAGS=$lt_AR_FLAGS
29114
 
 
29115
 
-# A C compiler.
29116
 
-LTCC=$lt_LTCC
29117
 
 
29118
 
-# LTCC compiler flags.
29119
 
-LTCFLAGS=$lt_LTCFLAGS
29120
 
 
29121
 
-# A language-specific compiler.
29122
 
-CC=$lt_compiler_F77
29123
 
 
29124
 
-# Is the compiler the GNU C compiler?
29125
 
-with_gcc=$GCC_F77
29126
 
 
29127
 
-# An ERE matcher.
29128
 
-EGREP=$lt_EGREP
29129
 
 
29130
 
-# The linker used to build libraries.
29131
 
-LD=$lt_LD_F77
29132
 
 
29133
 
-# Whether we need hard or soft links.
29134
 
-LN_S=$lt_LN_S
29135
 
 
29136
 
-# A BSD-compatible nm program.
29137
 
-NM=$lt_NM
29138
 
+striplib=
29139
 
+old_striplib=
29140
 
+{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
29141
 
+$as_echo_n "checking whether stripping libraries is possible... " >&6; }
29142
 
+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
29143
 
+  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
29144
 
+  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
29145
 
+  { $as_echo "$as_me:$LINENO: result: yes" >&5
29146
 
+$as_echo "yes" >&6; }
29147
 
+else
29148
 
+# FIXME - insert some real tests, host_os isn't really good enough
29149
 
+  case $host_os in
29150
 
+  darwin*)
29151
 
+    if test -n "$STRIP" ; then
29152
 
+      striplib="$STRIP -x"
29153
 
+      old_striplib="$STRIP -S"
29154
 
+      { $as_echo "$as_me:$LINENO: result: yes" >&5
29155
 
+$as_echo "yes" >&6; }
29156
 
+    else
29157
 
+      { $as_echo "$as_me:$LINENO: result: no" >&5
29158
 
+$as_echo "no" >&6; }
29159
 
+    fi
29160
 
+    ;;
29161
 
+  *)
29162
 
+    { $as_echo "$as_me:$LINENO: result: no" >&5
29163
 
+$as_echo "no" >&6; }
29164
 
+    ;;
29165
 
+  esac
29166
 
+fi
29167
 
 
29168
 
-# A symbol stripping program
29169
 
-STRIP=$lt_STRIP
29170
 
 
29171
 
-# Used to examine libraries when file_magic_cmd begins "file"
29172
 
-MAGIC_CMD=$MAGIC_CMD
29173
 
 
29174
 
-# Used on cygwin: DLL creation program.
29175
 
-DLLTOOL="$DLLTOOL"
29176
 
 
29177
 
-# Used on cygwin: object dumper.
29178
 
-OBJDUMP="$OBJDUMP"
29179
 
 
29180
 
-# Used on cygwin: assembler.
29181
 
-AS="$AS"
29182
 
 
29183
 
-# The name of the directory that contains temporary libtool files.
29184
 
-objdir=$objdir
29185
 
 
29186
 
-# How to create reloadable object files.
29187
 
-reload_flag=$lt_reload_flag
29188
 
-reload_cmds=$lt_reload_cmds
29189
 
 
29190
 
-# How to pass a linker flag through the compiler.
29191
 
-wl=$lt_lt_prog_compiler_wl_F77
29192
 
 
29193
 
-# Object file suffix (normally "o").
29194
 
-objext="$ac_objext"
29195
 
 
29196
 
-# Old archive suffix (normally "a").
29197
 
-libext="$libext"
29198
 
 
29199
 
-# Shared library suffix (normally ".so").
29200
 
-shrext_cmds='$shrext_cmds'
29201
 
 
29202
 
-# Executable file suffix (normally "").
29203
 
-exeext="$exeext"
29204
 
+  # Report which library types will actually be built
29205
 
+  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
29206
 
+$as_echo_n "checking if libtool supports shared libraries... " >&6; }
29207
 
+  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
29208
 
+$as_echo "$can_build_shared" >&6; }
29209
 
 
29210
 
-# Additional compiler flags for building library objects.
29211
 
-pic_flag=$lt_lt_prog_compiler_pic_F77
29212
 
-pic_mode=$pic_mode
29213
 
+  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
29214
 
+$as_echo_n "checking whether to build shared libraries... " >&6; }
29215
 
+  test "$can_build_shared" = "no" && enable_shared=no
29216
 
 
29217
 
-# What is the maximum length of a command?
29218
 
-max_cmd_len=$lt_cv_sys_max_cmd_len
29219
 
+  # On AIX, shared libraries and static libraries use the same namespace, and
29220
 
+  # are all built from PIC.
29221
 
+  case $host_os in
29222
 
+  aix3*)
29223
 
+    test "$enable_shared" = yes && enable_static=no
29224
 
+    if test -n "$RANLIB"; then
29225
 
+      archive_cmds="$archive_cmds~\$RANLIB \$lib"
29226
 
+      postinstall_cmds='$RANLIB $lib'
29227
 
+    fi
29228
 
+    ;;
29229
 
 
29230
 
-# Does compiler simultaneously support -c and -o options?
29231
 
-compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
29232
 
+  aix[4-9]*)
29233
 
+    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
29234
 
+      test "$enable_shared" = yes && enable_static=no
29235
 
+    fi
29236
 
+    ;;
29237
 
+  esac
29238
 
+  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
29239
 
+$as_echo "$enable_shared" >&6; }
29240
 
 
29241
 
-# Must we lock files when doing compilation?
29242
 
-need_locks=$lt_need_locks
29243
 
+  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
29244
 
+$as_echo_n "checking whether to build static libraries... " >&6; }
29245
 
+  # Make sure either enable_shared or enable_static is yes.
29246
 
+  test "$enable_shared" = yes || enable_static=yes
29247
 
+  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
29248
 
+$as_echo "$enable_static" >&6; }
29249
 
 
29250
 
-# Do we need the lib prefix for modules?
29251
 
-need_lib_prefix=$need_lib_prefix
29252
 
 
29253
 
-# Do we need a version for libraries?
29254
 
-need_version=$need_version
29255
 
 
29256
 
-# Whether dlopen is supported.
29257
 
-dlopen_support=$enable_dlopen
29258
 
 
29259
 
-# Whether dlopen of programs is supported.
29260
 
-dlopen_self=$enable_dlopen_self
29261
 
+fi
29262
 
+ac_ext=c
29263
 
+ac_cpp='$CPP $CPPFLAGS'
29264
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29265
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29266
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
29267
 
 
29268
 
-# Whether dlopen of statically linked programs is supported.
29269
 
-dlopen_self_static=$enable_dlopen_self_static
29270
 
+CC="$lt_save_CC"
29271
 
 
29272
 
-# Compiler flag to prevent dynamic linking.
29273
 
-link_static_flag=$lt_lt_prog_compiler_static_F77
29274
 
 
29275
 
-# Compiler flag to turn off builtin functions.
29276
 
-no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
29277
 
+ac_ext=cpp
29278
 
+ac_cpp='$CXXCPP $CPPFLAGS'
29279
 
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29280
 
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29281
 
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29282
 
 
29283
 
-# Compiler flag to allow reflexive dlopens.
29284
 
-export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
29285
 
+archive_cmds_need_lc_CXX=no
29286
 
+allow_undefined_flag_CXX=
29287
 
+always_export_symbols_CXX=no
29288
 
+archive_expsym_cmds_CXX=
29289
 
+compiler_needs_object_CXX=no
29290
 
+export_dynamic_flag_spec_CXX=
29291
 
+hardcode_direct_CXX=no
29292
 
+hardcode_direct_absolute_CXX=no
29293
 
+hardcode_libdir_flag_spec_CXX=
29294
 
+hardcode_libdir_flag_spec_ld_CXX=
29295
 
+hardcode_libdir_separator_CXX=
29296
 
+hardcode_minus_L_CXX=no
29297
 
+hardcode_shlibpath_var_CXX=unsupported
29298
 
+hardcode_automatic_CXX=no
29299
 
+inherit_rpath_CXX=no
29300
 
+module_cmds_CXX=
29301
 
+module_expsym_cmds_CXX=
29302
 
+link_all_deplibs_CXX=unknown
29303
 
+old_archive_cmds_CXX=$old_archive_cmds
29304
 
+no_undefined_flag_CXX=
29305
 
+whole_archive_flag_spec_CXX=
29306
 
+enable_shared_with_static_runtimes_CXX=no
29307
 
 
29308
 
-# Compiler flag to generate shared objects directly from archives.
29309
 
-whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
29310
 
+# Source file extension for C++ test sources.
29311
 
+ac_ext=cpp
29312
 
 
29313
 
-# Compiler flag to generate thread-safe objects.
29314
 
-thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
29315
 
+# Object file extension for compiled C++ test sources.
29316
 
+objext=o
29317
 
+objext_CXX=$objext
29318
 
 
29319
 
-# Library versioning type.
29320
 
-version_type=$version_type
29321
 
+# No sense in running all these tests if we already determined that
29322
 
+# the CXX compiler isn't working.  Some variables (like enable_shared)
29323
 
+# are currently assumed to apply to all compilers on this platform,
29324
 
+# and will be corrupted by setting them based on a non-working compiler.
29325
 
+if test "$_lt_caught_CXX_error" != yes; then
29326
 
+  # Code to be used in simple compile tests
29327
 
+  lt_simple_compile_test_code="int some_variable = 0;"
29328
 
 
29329
 
-# Format of library name prefix.
29330
 
-libname_spec=$lt_libname_spec
29331
 
+  # Code to be used in simple link tests
29332
 
+  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
29333
 
 
29334
 
-# List of archive names.  First name is the real one, the rest are links.
29335
 
-# The last name is the one that the linker finds with -lNAME.
29336
 
-library_names_spec=$lt_library_names_spec
29337
 
+  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
29338
 
 
29339
 
-# The coded name of the library, if different from the real name.
29340
 
-soname_spec=$lt_soname_spec
29341
 
 
29342
 
-# Commands used to build and install an old-style archive.
29343
 
-RANLIB=$lt_RANLIB
29344
 
-old_archive_cmds=$lt_old_archive_cmds_F77
29345
 
-old_postinstall_cmds=$lt_old_postinstall_cmds
29346
 
-old_postuninstall_cmds=$lt_old_postuninstall_cmds
29347
 
 
29348
 
-# Create an old-style archive from a shared archive.
29349
 
-old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
29350
 
 
29351
 
-# Create a temporary old-style archive to link instead of a shared archive.
29352
 
-old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
29353
 
 
29354
 
-# Commands used to build and install a shared archive.
29355
 
-archive_cmds=$lt_archive_cmds_F77
29356
 
-archive_expsym_cmds=$lt_archive_expsym_cmds_F77
29357
 
-postinstall_cmds=$lt_postinstall_cmds
29358
 
-postuninstall_cmds=$lt_postuninstall_cmds
29359
 
 
29360
 
-# Commands used to build a loadable module (assumed same as above if empty)
29361
 
-module_cmds=$lt_module_cmds_F77
29362
 
-module_expsym_cmds=$lt_module_expsym_cmds_F77
29363
 
+# If no C compiler was specified, use CC.
29364
 
+LTCC=${LTCC-"$CC"}
29365
 
 
29366
 
-# Commands to strip libraries.
29367
 
-old_striplib=$lt_old_striplib
29368
 
-striplib=$lt_striplib
29369
 
+# If no C compiler flags were specified, use CFLAGS.
29370
 
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
29371
 
 
29372
 
-# Dependencies to place before the objects being linked to create a
29373
 
-# shared library.
29374
 
-predep_objects=$lt_predep_objects_F77
29375
 
-
29376
 
-# Dependencies to place after the objects being linked to create a
29377
 
-# shared library.
29378
 
-postdep_objects=$lt_postdep_objects_F77
29379
 
-
29380
 
-# Dependencies to place before the objects being linked to create a
29381
 
-# shared library.
29382
 
-predeps=$lt_predeps_F77
29383
 
-
29384
 
-# Dependencies to place after the objects being linked to create a
29385
 
-# shared library.
29386
 
-postdeps=$lt_postdeps_F77
29387
 
-
29388
 
-# The directories searched by this compiler when creating a shared
29389
 
-# library
29390
 
-compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
29391
 
+# Allow CC to be a program name with arguments.
29392
 
+compiler=$CC
29393
 
 
29394
 
-# The library search path used internally by the compiler when linking
29395
 
-# a shared library.
29396
 
-compiler_lib_search_path=$lt_compiler_lib_search_path_F77
29397
 
 
29398
 
-# Method to check whether dependent libraries are shared objects.
29399
 
-deplibs_check_method=$lt_deplibs_check_method
29400
 
+  # save warnings/boilerplate of simple test code
29401
 
+  ac_outfile=conftest.$ac_objext
29402
 
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
29403
 
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
29404
 
+_lt_compiler_boilerplate=`cat conftest.err`
29405
 
+$RM conftest*
29406
 
 
29407
 
-# Command to use when deplibs_check_method == file_magic.
29408
 
-file_magic_cmd=$lt_file_magic_cmd
29409
 
+  ac_outfile=conftest.$ac_objext
29410
 
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
29411
 
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
29412
 
+_lt_linker_boilerplate=`cat conftest.err`
29413
 
+$RM -r conftest*
29414
 
 
29415
 
-# Flag that allows shared libraries with undefined symbols to be built.
29416
 
-allow_undefined_flag=$lt_allow_undefined_flag_F77
29417
 
 
29418
 
-# Flag that forces no undefined symbols.
29419
 
-no_undefined_flag=$lt_no_undefined_flag_F77
29420
 
+  # Allow CC to be a program name with arguments.
29421
 
+  lt_save_CC=$CC
29422
 
+  lt_save_LD=$LD
29423
 
+  lt_save_GCC=$GCC
29424
 
+  GCC=$GXX
29425
 
+  lt_save_with_gnu_ld=$with_gnu_ld
29426
 
+  lt_save_path_LD=$lt_cv_path_LD
29427
 
+  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
29428
 
+    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
29429
 
+  else
29430
 
+    $as_unset lt_cv_prog_gnu_ld
29431
 
+  fi
29432
 
+  if test -n "${lt_cv_path_LDCXX+set}"; then
29433
 
+    lt_cv_path_LD=$lt_cv_path_LDCXX
29434
 
+  else
29435
 
+    $as_unset lt_cv_path_LD
29436
 
+  fi
29437
 
+  test -z "${LDCXX+set}" || LD=$LDCXX
29438
 
+  CC=${CXX-"c++"}
29439
 
+  compiler=$CC
29440
 
+  compiler_CXX=$CC
29441
 
+  for cc_temp in $compiler""; do
29442
 
+  case $cc_temp in
29443
 
+    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
29444
 
+    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
29445
 
+    \-*) ;;
29446
 
+    *) break;;
29447
 
+  esac
29448
 
+done
29449
 
+cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
29450
 
 
29451
 
-# Commands used to finish a libtool library installation in a directory.
29452
 
-finish_cmds=$lt_finish_cmds
29453
 
 
29454
 
-# Same as above, but a single script fragment to be evaled but not shown.
29455
 
-finish_eval=$lt_finish_eval
29456
 
+  if test -n "$compiler"; then
29457
 
+    # We don't want -fno-exception when compiling C++ code, so set the
29458
 
+    # no_builtin_flag separately
29459
 
+    if test "$GXX" = yes; then
29460
 
+      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
29461
 
+    else
29462
 
+      lt_prog_compiler_no_builtin_flag_CXX=
29463
 
+    fi
29464
 
 
29465
 
-# Take the output of nm and produce a listing of raw symbols and C names.
29466
 
-global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
29467
 
+    if test "$GXX" = yes; then
29468
 
+      # Set up default GNU C++ configuration
29469
 
 
29470
 
-# Transform the output of nm in a proper C declaration
29471
 
-global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
29472
 
 
29473
 
-# Transform the output of nm in a C name address pair
29474
 
-global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
29475
 
 
29476
 
-# This is the shared library runtime path variable.
29477
 
-runpath_var=$runpath_var
29478
 
+# Check whether --with-gnu-ld was given.
29479
 
+if test "${with_gnu_ld+set}" = set; then
29480
 
+  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
29481
 
+else
29482
 
+  with_gnu_ld=no
29483
 
+fi
29484
 
 
29485
 
-# This is the shared library path variable.
29486
 
-shlibpath_var=$shlibpath_var
29487
 
+ac_prog=ld
29488
 
+if test "$GCC" = yes; then
29489
 
+  # Check if gcc -print-prog-name=ld gives a path.
29490
 
+  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
29491
 
+$as_echo_n "checking for ld used by $CC... " >&6; }
29492
 
+  case $host in
29493
 
+  *-*-mingw*)
29494
 
+    # gcc leaves a trailing carriage return which upsets mingw
29495
 
+    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
29496
 
+  *)
29497
 
+    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
29498
 
+  esac
29499
 
+  case $ac_prog in
29500
 
+    # Accept absolute paths.
29501
 
+    [\\/]* | ?:[\\/]*)
29502
 
+      re_direlt='/[^/][^/]*/\.\./'
29503
 
+      # Canonicalize the pathname of ld
29504
 
+      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
29505
 
+      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
29506
 
+       ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
29507
 
+      done
29508
 
+      test -z "$LD" && LD="$ac_prog"
29509
 
+      ;;
29510
 
+  "")
29511
 
+    # If it fails, then pretend we aren't using GCC.
29512
 
+    ac_prog=ld
29513
 
+    ;;
29514
 
+  *)
29515
 
+    # If it is relative, then search for the first ld in PATH.
29516
 
+    with_gnu_ld=unknown
29517
 
+    ;;
29518
 
+  esac
29519
 
+elif test "$with_gnu_ld" = yes; then
29520
 
+  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
29521
 
+$as_echo_n "checking for GNU ld... " >&6; }
29522
 
+else
29523
 
+  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
29524
 
+$as_echo_n "checking for non-GNU ld... " >&6; }
29525
 
+fi
29526
 
+if test "${lt_cv_path_LD+set}" = set; then
29527
 
+  $as_echo_n "(cached) " >&6
29528
 
+else
29529
 
+  if test -z "$LD"; then
29530
 
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
29531
 
+  for ac_dir in $PATH; do
29532
 
+    IFS="$lt_save_ifs"
29533
 
+    test -z "$ac_dir" && ac_dir=.
29534
 
+    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
29535
 
+      lt_cv_path_LD="$ac_dir/$ac_prog"
29536
 
+      # Check to see if the program is GNU ld.  I'd rather use --version,
29537
 
+      # but apparently some variants of GNU ld only accept -v.
29538
 
+      # Break only if it was the GNU/non-GNU ld that we prefer.
29539
 
+      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
29540
 
+      *GNU* | *'with BFD'*)
29541
 
+       test "$with_gnu_ld" != no && break
29542
 
+       ;;
29543
 
+      *)
29544
 
+       test "$with_gnu_ld" != yes && break
29545
 
+       ;;
29546
 
+      esac
29547
 
+    fi
29548
 
+  done
29549
 
+  IFS="$lt_save_ifs"
29550
 
+else
29551
 
+  lt_cv_path_LD="$LD" # Let the user override the test with a path.
29552
 
+fi
29553
 
+fi
29554
 
 
29555
 
-# Is shlibpath searched before the hard-coded library search path?
29556
 
-shlibpath_overrides_runpath=$shlibpath_overrides_runpath
29557
 
+LD="$lt_cv_path_LD"
29558
 
+if test -n "$LD"; then
29559
 
+  { $as_echo "$as_me:$LINENO: result: $LD" >&5
29560
 
+$as_echo "$LD" >&6; }
29561
 
+else
29562
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
29563
 
+$as_echo "no" >&6; }
29564
 
+fi
29565
 
+test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
29566
 
+$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
29567
 
+   { (exit 1); exit 1; }; }
29568
 
+{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
29569
 
+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
29570
 
+if test "${lt_cv_prog_gnu_ld+set}" = set; then
29571
 
+  $as_echo_n "(cached) " >&6
29572
 
+else
29573
 
+  # I'd rather use --version here, but apparently some GNU lds only accept -v.
29574
 
+case `$LD -v 2>&1 </dev/null` in
29575
 
+*GNU* | *'with BFD'*)
29576
 
+  lt_cv_prog_gnu_ld=yes
29577
 
+  ;;
29578
 
+*)
29579
 
+  lt_cv_prog_gnu_ld=no
29580
 
+  ;;
29581
 
+esac
29582
 
+fi
29583
 
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
29584
 
+$as_echo "$lt_cv_prog_gnu_ld" >&6; }
29585
 
+with_gnu_ld=$lt_cv_prog_gnu_ld
29586
 
 
29587
 
-# How to hardcode a shared library path into an executable.
29588
 
-hardcode_action=$hardcode_action_F77
29589
 
 
29590
 
-# Whether we should hardcode library paths into libraries.
29591
 
-hardcode_into_libs=$hardcode_into_libs
29592
 
 
29593
 
-# Flag to hardcode \$libdir into a binary during linking.
29594
 
-# This must work even if \$libdir does not exist.
29595
 
-hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
29596
 
 
29597
 
-# If ld is used when linking, flag to hardcode \$libdir into
29598
 
-# a binary during linking. This must work even if \$libdir does
29599
 
-# not exist.
29600
 
-hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
29601
 
-
29602
 
-# Whether we need a single -rpath flag with a separated argument.
29603
 
-hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
29604
 
-
29605
 
-# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
29606
 
-# resulting binary.
29607
 
-hardcode_direct=$hardcode_direct_F77
29608
 
-
29609
 
-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
29610
 
-# resulting binary.
29611
 
-hardcode_minus_L=$hardcode_minus_L_F77
29612
 
-
29613
 
-# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
29614
 
-# the resulting binary.
29615
 
-hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
29616
 
-
29617
 
-# Set to yes if building a shared library automatically hardcodes DIR into the library
29618
 
-# and all subsequent libraries and executables linked against it.
29619
 
-hardcode_automatic=$hardcode_automatic_F77
29620
 
 
29621
 
-# Variables whose values should be saved in libtool wrapper scripts and
29622
 
-# restored at relink time.
29623
 
-variables_saved_for_relink="$variables_saved_for_relink"
29624
 
 
29625
 
-# Whether libtool must link a program against all its dependency libraries.
29626
 
-link_all_deplibs=$link_all_deplibs_F77
29627
 
 
29628
 
-# Compile-time system search path for libraries
29629
 
-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
29630
 
+      # Check if GNU C++ uses GNU ld as the underlying linker, since the
29631
 
+      # archiving commands below assume that GNU ld is being used.
29632
 
+      if test "$with_gnu_ld" = yes; then
29633
 
+        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
29634
 
+        archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
29635
 
+
29636
 
+        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
29637
 
+        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
29638
 
+
29639
 
+        # If archive_cmds runs LD, not CC, wlarc should be empty
29640
 
+        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
29641
 
+        #     investigate it a little bit more. (MM)
29642
 
+        wlarc='${wl}'
29643
 
+
29644
 
+        # ancient GNU ld didn't support --whole-archive et. al.
29645
 
+        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
29646
 
+         $GREP 'no-whole-archive' > /dev/null; then
29647
 
+          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
29648
 
+        else
29649
 
+          whole_archive_flag_spec_CXX=
29650
 
+        fi
29651
 
+      else
29652
 
+        with_gnu_ld=no
29653
 
+        wlarc=
29654
 
 
29655
 
-# Run-time system search path for libraries
29656
 
-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
29657
 
+        # A generic and very simple default shared library creation
29658
 
+        # command for GNU C++ for the case where it uses the native
29659
 
+        # linker, instead of GNU ld.  If possible, this setting should
29660
 
+        # overridden to take advantage of the native linker features on
29661
 
+        # the platform it is being used on.
29662
 
+        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
29663
 
+      fi
29664
 
 
29665
 
-# Fix the shell variable \$srcfile for the compiler.
29666
 
-fix_srcfile_path=$lt_fix_srcfile_path
29667
 
+      # Commands to make compiler produce verbose output that lists
29668
 
+      # what "hidden" libraries, object files and flags are used when
29669
 
+      # linking a shared library.
29670
 
+      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
29671
 
 
29672
 
-# Set to yes if exported symbols are required.
29673
 
-always_export_symbols=$always_export_symbols_F77
29674
 
+    else
29675
 
+      GXX=no
29676
 
+      with_gnu_ld=no
29677
 
+      wlarc=
29678
 
+    fi
29679
 
 
29680
 
-# The commands to list exported symbols.
29681
 
-export_symbols_cmds=$lt_export_symbols_cmds_F77
29682
 
+    # PORTME: fill in a description of your system's C++ link characteristics
29683
 
+    { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
29684
 
+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
29685
 
+    ld_shlibs_CXX=yes
29686
 
+    case $host_os in
29687
 
+      aix3*)
29688
 
+        # FIXME: insert proper C++ library support
29689
 
+        ld_shlibs_CXX=no
29690
 
+        ;;
29691
 
+      aix[4-9]*)
29692
 
+        if test "$host_cpu" = ia64; then
29693
 
+          # On IA64, the linker does run time linking by default, so we don't
29694
 
+          # have to do anything special.
29695
 
+          aix_use_runtimelinking=no
29696
 
+          exp_sym_flag='-Bexport'
29697
 
+          no_entry_flag=""
29698
 
+        else
29699
 
+          aix_use_runtimelinking=no
29700
 
 
29701
 
-# The commands to extract the exported symbol list from a shared archive.
29702
 
-extract_expsyms_cmds=$lt_extract_expsyms_cmds
29703
 
+          # Test if we are trying to use run time linking or normal
29704
 
+          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
29705
 
+          # need to do runtime linking.
29706
 
+          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
29707
 
+           for ld_flag in $LDFLAGS; do
29708
 
+             case $ld_flag in
29709
 
+             *-brtl*)
29710
 
+               aix_use_runtimelinking=yes
29711
 
+               break
29712
 
+               ;;
29713
 
+             esac
29714
 
+           done
29715
 
+           ;;
29716
 
+          esac
29717
 
 
29718
 
-# Symbols that should not be listed in the preloaded symbols.
29719
 
-exclude_expsyms=$lt_exclude_expsyms_F77
29720
 
+          exp_sym_flag='-bexport'
29721
 
+          no_entry_flag='-bnoentry'
29722
 
+        fi
29723
 
 
29724
 
-# Symbols that must always be exported.
29725
 
-include_expsyms=$lt_include_expsyms_F77
29726
 
+        # When large executables or shared objects are built, AIX ld can
29727
 
+        # have problems creating the table of contents.  If linking a library
29728
 
+        # or program results in "error TOC overflow" add -mminimal-toc to
29729
 
+        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
29730
 
+        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
29731
 
+
29732
 
+        archive_cmds_CXX=''
29733
 
+        hardcode_direct_CXX=yes
29734
 
+        hardcode_direct_absolute_CXX=yes
29735
 
+        hardcode_libdir_separator_CXX=':'
29736
 
+        link_all_deplibs_CXX=yes
29737
 
+        file_list_spec_CXX='${wl}-f,'
29738
 
+
29739
 
+        if test "$GXX" = yes; then
29740
 
+          case $host_os in aix4.[012]|aix4.[012].*)
29741
 
+          # We only want to do this on AIX 4.2 and lower, the check
29742
 
+          # below for broken collect2 doesn't work under 4.3+
29743
 
+         collect2name=`${CC} -print-prog-name=collect2`
29744
 
+         if test -f "$collect2name" &&
29745
 
+            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
29746
 
+         then
29747
 
+           # We have reworked collect2
29748
 
+           :
29749
 
+         else
29750
 
+           # We have old collect2
29751
 
+           hardcode_direct_CXX=unsupported
29752
 
+           # It fails to find uninstalled libraries when the uninstalled
29753
 
+           # path is not listed in the libpath.  Setting hardcode_minus_L
29754
 
+           # to unsupported forces relinking
29755
 
+           hardcode_minus_L_CXX=yes
29756
 
+           hardcode_libdir_flag_spec_CXX='-L$libdir'
29757
 
+           hardcode_libdir_separator_CXX=
29758
 
+         fi
29759
 
+          esac
29760
 
+          shared_flag='-shared'
29761
 
+         if test "$aix_use_runtimelinking" = yes; then
29762
 
+           shared_flag="$shared_flag "'${wl}-G'
29763
 
+         fi
29764
 
+        else
29765
 
+          # not using gcc
29766
 
+          if test "$host_cpu" = ia64; then
29767
 
+         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
29768
 
+         # chokes on -Wl,-G. The following line is correct:
29769
 
+         shared_flag='-G'
29770
 
+          else
29771
 
+           if test "$aix_use_runtimelinking" = yes; then
29772
 
+             shared_flag='${wl}-G'
29773
 
+           else
29774
 
+             shared_flag='${wl}-bM:SRE'
29775
 
+           fi
29776
 
+          fi
29777
 
+        fi
29778
 
 
29779
 
-# ### END LIBTOOL TAG CONFIG: $tagname
29780
 
+        export_dynamic_flag_spec_CXX='${wl}-bexpall'
29781
 
+        # It seems that -bexpall does not export symbols beginning with
29782
 
+        # underscore (_), so it is better to generate a list of symbols to
29783
 
+       # export.
29784
 
+        always_export_symbols_CXX=yes
29785
 
+        if test "$aix_use_runtimelinking" = yes; then
29786
 
+          # Warning - without using the other runtime loading flags (-brtl),
29787
 
+          # -berok will link without error, but may produce a broken library.
29788
 
+          allow_undefined_flag_CXX='-berok'
29789
 
+          # Determine the default libpath from the value encoded in an empty
29790
 
+          # executable.
29791
 
+          cat >conftest.$ac_ext <<_ACEOF
29792
 
+/* confdefs.h.  */
29793
 
+_ACEOF
29794
 
+cat confdefs.h >>conftest.$ac_ext
29795
 
+cat >>conftest.$ac_ext <<_ACEOF
29796
 
+/* end confdefs.h.  */
29797
 
 
29798
 
-__EOF__
29799
 
+int
29800
 
+main ()
29801
 
+{
29802
 
 
29803
 
+  ;
29804
 
+  return 0;
29805
 
+}
29806
 
+_ACEOF
29807
 
+rm -f conftest.$ac_objext conftest$ac_exeext
29808
 
+if { (ac_try="$ac_link"
29809
 
+case "(($ac_try" in
29810
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29811
 
+  *) ac_try_echo=$ac_try;;
29812
 
+esac
29813
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29814
 
+$as_echo "$ac_try_echo") >&5
29815
 
+  (eval "$ac_link") 2>conftest.er1
29816
 
+  ac_status=$?
29817
 
+  grep -v '^ *+' conftest.er1 >conftest.err
29818
 
+  rm -f conftest.er1
29819
 
+  cat conftest.err >&5
29820
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29821
 
+  (exit $ac_status); } && {
29822
 
+        test -z "$ac_cxx_werror_flag" ||
29823
 
+        test ! -s conftest.err
29824
 
+       } && test -s conftest$ac_exeext && {
29825
 
+        test "$cross_compiling" = yes ||
29826
 
+        $as_test_x conftest$ac_exeext
29827
 
+       }; then
29828
 
 
29829
 
-else
29830
 
-  # If there is no Makefile yet, we rely on a make rule to execute
29831
 
-  # `config.status --recheck' to rerun these tests and create the
29832
 
-  # libtool script then.
29833
 
-  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
29834
 
-  if test -f "$ltmain_in"; then
29835
 
-    test -f Makefile && make "$ltmain"
29836
 
-  fi
29837
 
+lt_aix_libpath_sed='
29838
 
+    /Import File Strings/,/^$/ {
29839
 
+       /^0/ {
29840
 
+           s/^0  *\(.*\)$/\1/
29841
 
+           p
29842
 
+       }
29843
 
+    }'
29844
 
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
29845
 
+# Check for a 64-bit object if we didn't find anything.
29846
 
+if test -z "$aix_libpath"; then
29847
 
+  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
29848
 
 fi
29849
 
+else
29850
 
+  $as_echo "$as_me: failed program was:" >&5
29851
 
+sed 's/^/| /' conftest.$ac_ext >&5
29852
 
 
29853
 
 
29854
 
-ac_ext=c
29855
 
-ac_cpp='$CPP $CPPFLAGS'
29856
 
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29857
 
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29858
 
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
29859
 
+fi
29860
 
 
29861
 
-CC="$lt_save_CC"
29862
 
+rm -rf conftest.dSYM
29863
 
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29864
 
+      conftest$ac_exeext conftest.$ac_ext
29865
 
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
29866
 
 
29867
 
-       else
29868
 
-         tagname=""
29869
 
-       fi
29870
 
-       ;;
29871
 
+          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
29872
 
 
29873
 
-      GCJ)
29874
 
-       if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
29875
 
+          archive_expsym_cmds_CXX='$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"
29876
 
+        else
29877
 
+          if test "$host_cpu" = ia64; then
29878
 
+           hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
29879
 
+           allow_undefined_flag_CXX="-z nodefs"
29880
 
+           archive_expsym_cmds_CXX="\$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"
29881
 
+          else
29882
 
+           # Determine the default libpath from the value encoded in an
29883
 
+           # empty executable.
29884
 
+           cat >conftest.$ac_ext <<_ACEOF
29885
 
+/* confdefs.h.  */
29886
 
+_ACEOF
29887
 
+cat confdefs.h >>conftest.$ac_ext
29888
 
+cat >>conftest.$ac_ext <<_ACEOF
29889
 
+/* end confdefs.h.  */
29890
 
 
29891
 
+int
29892
 
+main ()
29893
 
+{
29894
 
 
29895
 
-# Source file extension for Java test sources.
29896
 
-ac_ext=java
29897
 
+  ;
29898
 
+  return 0;
29899
 
+}
29900
 
+_ACEOF
29901
 
+rm -f conftest.$ac_objext conftest$ac_exeext
29902
 
+if { (ac_try="$ac_link"
29903
 
+case "(($ac_try" in
29904
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29905
 
+  *) ac_try_echo=$ac_try;;
29906
 
+esac
29907
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29908
 
+$as_echo "$ac_try_echo") >&5
29909
 
+  (eval "$ac_link") 2>conftest.er1
29910
 
+  ac_status=$?
29911
 
+  grep -v '^ *+' conftest.er1 >conftest.err
29912
 
+  rm -f conftest.er1
29913
 
+  cat conftest.err >&5
29914
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29915
 
+  (exit $ac_status); } && {
29916
 
+        test -z "$ac_cxx_werror_flag" ||
29917
 
+        test ! -s conftest.err
29918
 
+       } && test -s conftest$ac_exeext && {
29919
 
+        test "$cross_compiling" = yes ||
29920
 
+        $as_test_x conftest$ac_exeext
29921
 
+       }; then
29922
 
 
29923
 
-# Object file extension for compiled Java test sources.
29924
 
-objext=o
29925
 
-objext_GCJ=$objext
29926
 
+lt_aix_libpath_sed='
29927
 
+    /Import File Strings/,/^$/ {
29928
 
+       /^0/ {
29929
 
+           s/^0  *\(.*\)$/\1/
29930
 
+           p
29931
 
+       }
29932
 
+    }'
29933
 
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
29934
 
+# Check for a 64-bit object if we didn't find anything.
29935
 
+if test -z "$aix_libpath"; then
29936
 
+  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
29937
 
+fi
29938
 
+else
29939
 
+  $as_echo "$as_me: failed program was:" >&5
29940
 
+sed 's/^/| /' conftest.$ac_ext >&5
29941
 
 
29942
 
-# Code to be used in simple compile tests
29943
 
-lt_simple_compile_test_code="class foo {}"
29944
 
 
29945
 
-# Code to be used in simple link tests
29946
 
-lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
29947
 
+fi
29948
 
 
29949
 
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
29950
 
+rm -rf conftest.dSYM
29951
 
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29952
 
+      conftest$ac_exeext conftest.$ac_ext
29953
 
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
29954
 
 
29955
 
-# If no C compiler was specified, use CC.
29956
 
-LTCC=${LTCC-"$CC"}
29957
 
+           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
29958
 
+           # Warning - without using the other run time loading flags,
29959
 
+           # -berok will link without error, but may produce a broken library.
29960
 
+           no_undefined_flag_CXX=' ${wl}-bernotok'
29961
 
+           allow_undefined_flag_CXX=' ${wl}-berok'
29962
 
+           # Exported symbols can be pulled into shared objects from archives
29963
 
+           whole_archive_flag_spec_CXX='$convenience'
29964
 
+           archive_cmds_need_lc_CXX=yes
29965
 
+           # This is similar to how AIX traditionally builds its shared
29966
 
+           # libraries.
29967
 
+           archive_expsym_cmds_CXX="\$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'
29968
 
+          fi
29969
 
+        fi
29970
 
+        ;;
29971
 
 
29972
 
-# If no C compiler flags were specified, use CFLAGS.
29973
 
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
29974
 
+      beos*)
29975
 
+       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
29976
 
+         allow_undefined_flag_CXX=unsupported
29977
 
+         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
29978
 
+         # support --undefined.  This deserves some investigation.  FIXME
29979
 
+         archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
29980
 
+       else
29981
 
+         ld_shlibs_CXX=no
29982
 
+       fi
29983
 
+       ;;
29984
 
 
29985
 
-# Allow CC to be a program name with arguments.
29986
 
-compiler=$CC
29987
 
+      chorus*)
29988
 
+        case $cc_basename in
29989
 
+          *)
29990
 
+         # FIXME: insert proper C++ library support
29991
 
+         ld_shlibs_CXX=no
29992
 
+         ;;
29993
 
+        esac
29994
 
+        ;;
29995
 
 
29996
 
+      cygwin* | mingw* | pw32* | cegcc*)
29997
 
+        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
29998
 
+        # as there is no search path for DLLs.
29999
 
+        hardcode_libdir_flag_spec_CXX='-L$libdir'
30000
 
+        allow_undefined_flag_CXX=unsupported
30001
 
+        always_export_symbols_CXX=no
30002
 
+        enable_shared_with_static_runtimes_CXX=yes
30003
 
+
30004
 
+        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
30005
 
+          archive_cmds_CXX='$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'
30006
 
+          # If the export-symbols file already is a .def file (1st line
30007
 
+          # is EXPORTS), use it as is; otherwise, prepend...
30008
 
+          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
30009
 
+           cp $export_symbols $output_objdir/$soname.def;
30010
 
+          else
30011
 
+           echo EXPORTS > $output_objdir/$soname.def;
30012
 
+           cat $export_symbols >> $output_objdir/$soname.def;
30013
 
+          fi~
30014
 
+          $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'
30015
 
+        else
30016
 
+          ld_shlibs_CXX=no
30017
 
+        fi
30018
 
+        ;;
30019
 
+      darwin* | rhapsody*)
30020
 
 
30021
 
-# save warnings/boilerplate of simple test code
30022
 
-ac_outfile=conftest.$ac_objext
30023
 
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext
30024
 
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
30025
 
-_lt_compiler_boilerplate=`cat conftest.err`
30026
 
-$rm conftest*
30027
 
 
30028
 
-ac_outfile=conftest.$ac_objext
30029
 
-echo "$lt_simple_link_test_code" >conftest.$ac_ext
30030
 
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
30031
 
-_lt_linker_boilerplate=`cat conftest.err`
30032
 
-$rm -r conftest*
30033
 
+  archive_cmds_need_lc_CXX=no
30034
 
+  hardcode_direct_CXX=no
30035
 
+  hardcode_automatic_CXX=yes
30036
 
+  hardcode_shlibpath_var_CXX=unsupported
30037
 
+  whole_archive_flag_spec_CXX=''
30038
 
+  link_all_deplibs_CXX=yes
30039
 
+  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
30040
 
+  case $cc_basename in
30041
 
+     ifort*) _lt_dar_can_shared=yes ;;
30042
 
+     *) _lt_dar_can_shared=$GCC ;;
30043
 
+  esac
30044
 
+  if test "$_lt_dar_can_shared" = "yes"; then
30045
 
+    output_verbose_link_cmd=echo
30046
 
+    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
30047
 
+    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
30048
 
+    archive_expsym_cmds_CXX="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}"
30049
 
+    module_expsym_cmds_CXX="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}"
30050
 
+       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
30051
 
+      archive_cmds_CXX="\$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}"
30052
 
+      archive_expsym_cmds_CXX="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}"
30053
 
+    fi
30054
 
 
30055
 
+  else
30056
 
+  ld_shlibs_CXX=no
30057
 
+  fi
30058
 
 
30059
 
-# Allow CC to be a program name with arguments.
30060
 
-lt_save_CC="$CC"
30061
 
-CC=${GCJ-"gcj"}
30062
 
-compiler=$CC
30063
 
-compiler_GCJ=$CC
30064
 
-for cc_temp in $compiler""; do
30065
 
-  case $cc_temp in
30066
 
-    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
30067
 
-    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
30068
 
-    \-*) ;;
30069
 
-    *) break;;
30070
 
-  esac
30071
 
-done
30072
 
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
30073
 
+       ;;
30074
 
 
30075
 
+      dgux*)
30076
 
+        case $cc_basename in
30077
 
+          ec++*)
30078
 
+           # FIXME: insert proper C++ library support
30079
 
+           ld_shlibs_CXX=no
30080
 
+           ;;
30081
 
+          ghcx*)
30082
 
+           # Green Hills C++ Compiler
30083
 
+           # FIXME: insert proper C++ library support
30084
 
+           ld_shlibs_CXX=no
30085
 
+           ;;
30086
 
+          *)
30087
 
+           # FIXME: insert proper C++ library support
30088
 
+           ld_shlibs_CXX=no
30089
 
+           ;;
30090
 
+        esac
30091
 
+        ;;
30092
 
 
30093
 
-# GCJ did not exist at the time GCC didn't implicitly link libc in.
30094
 
-archive_cmds_need_lc_GCJ=no
30095
 
+      freebsd[12]*)
30096
 
+        # C++ shared libraries reported to be fairly broken before
30097
 
+       # switch to ELF
30098
 
+        ld_shlibs_CXX=no
30099
 
+        ;;
30100
 
 
30101
 
-old_archive_cmds_GCJ=$old_archive_cmds
30102
 
+      freebsd-elf*)
30103
 
+        archive_cmds_need_lc_CXX=no
30104
 
+        ;;
30105
 
 
30106
 
+      freebsd* | dragonfly*)
30107
 
+        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
30108
 
+        # conventions
30109
 
+        ld_shlibs_CXX=yes
30110
 
+        ;;
30111
 
 
30112
 
-lt_prog_compiler_no_builtin_flag_GCJ=
30113
 
+      gnu*)
30114
 
+        ;;
30115
 
 
30116
 
-if test "$GCC" = yes; then
30117
 
-  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
30118
 
+      hpux9*)
30119
 
+        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
30120
 
+        hardcode_libdir_separator_CXX=:
30121
 
+        export_dynamic_flag_spec_CXX='${wl}-E'
30122
 
+        hardcode_direct_CXX=yes
30123
 
+        hardcode_minus_L_CXX=yes # Not in the search PATH,
30124
 
+                                            # but as the default
30125
 
+                                            # location of the library.
30126
 
+
30127
 
+        case $cc_basename in
30128
 
+          CC*)
30129
 
+            # FIXME: insert proper C++ library support
30130
 
+            ld_shlibs_CXX=no
30131
 
+            ;;
30132
 
+          aCC*)
30133
 
+            archive_cmds_CXX='$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'
30134
 
+            # Commands to make compiler produce verbose output that lists
30135
 
+            # what "hidden" libraries, object files and flags are used when
30136
 
+            # linking a shared library.
30137
 
+            #
30138
 
+            # There doesn't appear to be a way to prevent this compiler from
30139
 
+            # explicitly linking system object files so we need to strip them
30140
 
+            # from the output so that they don't get included in the library
30141
 
+            # dependencies.
30142
 
+            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'
30143
 
+            ;;
30144
 
+          *)
30145
 
+            if test "$GXX" = yes; then
30146
 
+              archive_cmds_CXX='$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'
30147
 
+            else
30148
 
+              # FIXME: insert proper C++ library support
30149
 
+              ld_shlibs_CXX=no
30150
 
+            fi
30151
 
+            ;;
30152
 
+        esac
30153
 
+        ;;
30154
 
 
30155
 
+      hpux10*|hpux11*)
30156
 
+        if test $with_gnu_ld = no; then
30157
 
+         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
30158
 
+         hardcode_libdir_separator_CXX=:
30159
 
 
30160
 
-{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
30161
 
-echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
30162
 
-if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
30163
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
30164
 
-else
30165
 
-  lt_cv_prog_compiler_rtti_exceptions=no
30166
 
-  ac_outfile=conftest.$ac_objext
30167
 
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
30168
 
-   lt_compiler_flag="-fno-rtti -fno-exceptions"
30169
 
-   # Insert the option either (1) after the last *FLAGS variable, or
30170
 
-   # (2) before a word containing "conftest.", or (3) at the end.
30171
 
-   # Note that $ac_compile itself does not contain backslashes and begins
30172
 
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
30173
 
-   # The option is referenced via a variable to avoid confusing sed.
30174
 
-   lt_compile=`echo "$ac_compile" | $SED \
30175
 
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
30176
 
-   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
30177
 
-   -e 's:$: $lt_compiler_flag:'`
30178
 
-   (eval echo "\"\$as_me:18770: $lt_compile\"" >&5)
30179
 
-   (eval "$lt_compile" 2>conftest.err)
30180
 
-   ac_status=$?
30181
 
-   cat conftest.err >&5
30182
 
-   echo "$as_me:18774: \$? = $ac_status" >&5
30183
 
-   if (exit $ac_status) && test -s "$ac_outfile"; then
30184
 
-     # The compiler can only warn and ignore the option if not recognized
30185
 
-     # So say no if there are warnings other than the usual output.
30186
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
30187
 
-     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
30188
 
-     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
30189
 
-       lt_cv_prog_compiler_rtti_exceptions=yes
30190
 
-     fi
30191
 
-   fi
30192
 
-   $rm conftest*
30193
 
+          case $host_cpu in
30194
 
+            hppa*64*|ia64*)
30195
 
+              ;;
30196
 
+            *)
30197
 
+             export_dynamic_flag_spec_CXX='${wl}-E'
30198
 
+              ;;
30199
 
+          esac
30200
 
+        fi
30201
 
+        case $host_cpu in
30202
 
+          hppa*64*|ia64*)
30203
 
+            hardcode_direct_CXX=no
30204
 
+            hardcode_shlibpath_var_CXX=no
30205
 
+            ;;
30206
 
+          *)
30207
 
+            hardcode_direct_CXX=yes
30208
 
+            hardcode_direct_absolute_CXX=yes
30209
 
+            hardcode_minus_L_CXX=yes # Not in the search PATH,
30210
 
+                                                # but as the default
30211
 
+                                                # location of the library.
30212
 
+            ;;
30213
 
+        esac
30214
 
+
30215
 
+        case $cc_basename in
30216
 
+          CC*)
30217
 
+           # FIXME: insert proper C++ library support
30218
 
+           ld_shlibs_CXX=no
30219
 
+           ;;
30220
 
+          aCC*)
30221
 
+           case $host_cpu in
30222
 
+             hppa*64*)
30223
 
+               archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
30224
 
+               ;;
30225
 
+             ia64*)
30226
 
+               archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
30227
 
+               ;;
30228
 
+             *)
30229
 
+               archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
30230
 
+               ;;
30231
 
+           esac
30232
 
+           # Commands to make compiler produce verbose output that lists
30233
 
+           # what "hidden" libraries, object files and flags are used when
30234
 
+           # linking a shared library.
30235
 
+           #
30236
 
+           # There doesn't appear to be a way to prevent this compiler from
30237
 
+           # explicitly linking system object files so we need to strip them
30238
 
+           # from the output so that they don't get included in the library
30239
 
+           # dependencies.
30240
 
+           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'
30241
 
+           ;;
30242
 
+          *)
30243
 
+           if test "$GXX" = yes; then
30244
 
+             if test $with_gnu_ld = no; then
30245
 
+               case $host_cpu in
30246
 
+                 hppa*64*)
30247
 
+                   archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
30248
 
+                   ;;
30249
 
+                 ia64*)
30250
 
+                   archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
30251
 
+                   ;;
30252
 
+                 *)
30253
 
+                   archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
30254
 
+                   ;;
30255
 
+               esac
30256
 
+             fi
30257
 
+           else
30258
 
+             # FIXME: insert proper C++ library support
30259
 
+             ld_shlibs_CXX=no
30260
 
+           fi
30261
 
+           ;;
30262
 
+        esac
30263
 
+        ;;
30264
 
 
30265
 
-fi
30266
 
-{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
30267
 
-echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
30268
 
+      interix[3-9]*)
30269
 
+       hardcode_direct_CXX=no
30270
 
+       hardcode_shlibpath_var_CXX=no
30271
 
+       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
30272
 
+       export_dynamic_flag_spec_CXX='${wl}-E'
30273
 
+       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
30274
 
+       # Instead, shared libraries are loaded at an image base (0x10000000 by
30275
 
+       # default) and relocated if they conflict, which is a slow very memory
30276
 
+       # consuming and fragmenting process.  To avoid this, we pick a random,
30277
 
+       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
30278
 
+       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
30279
 
+       archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
30280
 
+       archive_expsym_cmds_CXX='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'
30281
 
+       ;;
30282
 
+      irix5* | irix6*)
30283
 
+        case $cc_basename in
30284
 
+          CC*)
30285
 
+           # SGI C++
30286
 
+           archive_cmds_CXX='$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'
30287
 
+
30288
 
+           # Archives containing C++ object files must be created using
30289
 
+           # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
30290
 
+           # necessary to make sure instantiated templates are included
30291
 
+           # in the archive.
30292
 
+           old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
30293
 
+           ;;
30294
 
+          *)
30295
 
+           if test "$GXX" = yes; then
30296
 
+             if test "$with_gnu_ld" = no; then
30297
 
+               archive_cmds_CXX='$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'
30298
 
+             else
30299
 
+               archive_cmds_CXX='$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'
30300
 
+             fi
30301
 
+           fi
30302
 
+           link_all_deplibs_CXX=yes
30303
 
+           ;;
30304
 
+        esac
30305
 
+        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
30306
 
+        hardcode_libdir_separator_CXX=:
30307
 
+        inherit_rpath_CXX=yes
30308
 
+        ;;
30309
 
 
30310
 
-if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
30311
 
-    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
30312
 
-else
30313
 
-    :
30314
 
-fi
30315
 
+      linux* | k*bsd*-gnu)
30316
 
+        case $cc_basename in
30317
 
+          KCC*)
30318
 
+           # Kuck and Associates, Inc. (KAI) C++ Compiler
30319
 
+
30320
 
+           # KCC will only create a shared library if the output file
30321
 
+           # ends with ".so" (or ".sl" for HP-UX), so rename the library
30322
 
+           # to its proper name (with version) after linking.
30323
 
+           archive_cmds_CXX='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'
30324
 
+           archive_expsym_cmds_CXX='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'
30325
 
+           # Commands to make compiler produce verbose output that lists
30326
 
+           # what "hidden" libraries, object files and flags are used when
30327
 
+           # linking a shared library.
30328
 
+           #
30329
 
+           # There doesn't appear to be a way to prevent this compiler from
30330
 
+           # explicitly linking system object files so we need to strip them
30331
 
+           # from the output so that they don't get included in the library
30332
 
+           # dependencies.
30333
 
+           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'
30334
 
+
30335
 
+           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
30336
 
+           export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
30337
 
+
30338
 
+           # Archives containing C++ object files must be created using
30339
 
+           # "CC -Bstatic", where "CC" is the KAI C++ compiler.
30340
 
+           old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
30341
 
+           ;;
30342
 
+         icpc* | ecpc* )
30343
 
+           # Intel C++
30344
 
+           with_gnu_ld=yes
30345
 
+           # version 8.0 and above of icpc choke on multiply defined symbols
30346
 
+           # if we add $predep_objects and $postdep_objects, however 7.1 and
30347
 
+           # earlier do not add the objects themselves.
30348
 
+           case `$CC -V 2>&1` in
30349
 
+             *"Version 7."*)
30350
 
+               archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
30351
 
+               archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
30352
 
+               ;;
30353
 
+             *)  # Version 8.0 or newer
30354
 
+               tmp_idyn=
30355
 
+               case $host_cpu in
30356
 
+                 ia64*) tmp_idyn=' -i_dynamic';;
30357
 
+               esac
30358
 
+               archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
30359
 
+               archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
30360
 
+               ;;
30361
 
+           esac
30362
 
+           archive_cmds_need_lc_CXX=no
30363
 
+           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
30364
 
+           export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
30365
 
+           whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
30366
 
+           ;;
30367
 
+          pgCC* | pgcpp*)
30368
 
+            # Portland Group C++ compiler
30369
 
+           case `$CC -V` in
30370
 
+           *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
30371
 
+             prelink_cmds_CXX='tpldir=Template.dir~
30372
 
+               rm -rf $tpldir~
30373
 
+               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
30374
 
+               compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
30375
 
+             old_archive_cmds_CXX='tpldir=Template.dir~
30376
 
+               rm -rf $tpldir~
30377
 
+               $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
30378
 
+               $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
30379
 
+               $RANLIB $oldlib'
30380
 
+             archive_cmds_CXX='tpldir=Template.dir~
30381
 
+               rm -rf $tpldir~
30382
 
+               $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
30383
 
+               $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
30384
 
+             archive_expsym_cmds_CXX='tpldir=Template.dir~
30385
 
+               rm -rf $tpldir~
30386
 
+               $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
30387
 
+               $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'
30388
 
+             ;;
30389
 
+           *) # Version 6 will use weak symbols
30390
 
+             archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
30391
 
+             archive_expsym_cmds_CXX='$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'
30392
 
+             ;;
30393
 
+           esac
30394
 
 
30395
 
-fi
30396
 
+           hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
30397
 
+           export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
30398
 
+           whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
30399
 
+            ;;
30400
 
+         cxx*)
30401
 
+           # Compaq C++
30402
 
+           archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
30403
 
+           archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
30404
 
 
30405
 
-lt_prog_compiler_wl_GCJ=
30406
 
-lt_prog_compiler_pic_GCJ=
30407
 
-lt_prog_compiler_static_GCJ=
30408
 
+           runpath_var=LD_RUN_PATH
30409
 
+           hardcode_libdir_flag_spec_CXX='-rpath $libdir'
30410
 
+           hardcode_libdir_separator_CXX=:
30411
 
 
30412
 
-{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
30413
 
-echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
30414
 
+           # Commands to make compiler produce verbose output that lists
30415
 
+           # what "hidden" libraries, object files and flags are used when
30416
 
+           # linking a shared library.
30417
 
+           #
30418
 
+           # There doesn't appear to be a way to prevent this compiler from
30419
 
+           # explicitly linking system object files so we need to strip them
30420
 
+           # from the output so that they don't get included in the library
30421
 
+           # dependencies.
30422
 
+           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'
30423
 
+           ;;
30424
 
+         xl*)
30425
 
+           # IBM XL 8.0 on PPC, with GNU ld
30426
 
+           hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
30427
 
+           export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
30428
 
+           archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
30429
 
+           if test "x$supports_anon_versioning" = xyes; then
30430
 
+             archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
30431
 
+               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
30432
 
+               echo "local: *; };" >> $output_objdir/$libname.ver~
30433
 
+               $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
30434
 
+           fi
30435
 
+           ;;
30436
 
+         *)
30437
 
+           case `$CC -V 2>&1 | sed 5q` in
30438
 
+           *Sun\ C*)
30439
 
+             # Sun C++ 5.9
30440
 
+             no_undefined_flag_CXX=' -zdefs'
30441
 
+             archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
30442
 
+             archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
30443
 
+             hardcode_libdir_flag_spec_CXX='-R$libdir'
30444
 
+             whole_archive_flag_spec_CXX='${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'
30445
 
+             compiler_needs_object_CXX=yes
30446
 
+
30447
 
+             # Not sure whether something based on
30448
 
+             # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
30449
 
+             # would be better.
30450
 
+             output_verbose_link_cmd='echo'
30451
 
+
30452
 
+             # Archives containing C++ object files must be created using
30453
 
+             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
30454
 
+             # necessary to make sure instantiated templates are included
30455
 
+             # in the archive.
30456
 
+             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
30457
 
+             ;;
30458
 
+           esac
30459
 
+           ;;
30460
 
+       esac
30461
 
+       ;;
30462
 
 
30463
 
-  if test "$GCC" = yes; then
30464
 
-    lt_prog_compiler_wl_GCJ='-Wl,'
30465
 
-    lt_prog_compiler_static_GCJ='-static'
30466
 
+      lynxos*)
30467
 
+        # FIXME: insert proper C++ library support
30468
 
+       ld_shlibs_CXX=no
30469
 
+       ;;
30470
 
 
30471
 
-    case $host_os in
30472
 
-      aix*)
30473
 
-      # All AIX code is PIC.
30474
 
-      if test "$host_cpu" = ia64; then
30475
 
-       # AIX 5 now supports IA64 processor
30476
 
-       lt_prog_compiler_static_GCJ='-Bstatic'
30477
 
-      fi
30478
 
-      ;;
30479
 
+      m88k*)
30480
 
+        # FIXME: insert proper C++ library support
30481
 
+        ld_shlibs_CXX=no
30482
 
+       ;;
30483
 
 
30484
 
-    amigaos*)
30485
 
-      # FIXME: we need at least 68020 code to build shared libraries, but
30486
 
-      # adding the `-m68020' flag to GCC prevents building anything better,
30487
 
-      # like `-m68040'.
30488
 
-      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
30489
 
-      ;;
30490
 
+      mvs*)
30491
 
+        case $cc_basename in
30492
 
+          cxx*)
30493
 
+           # FIXME: insert proper C++ library support
30494
 
+           ld_shlibs_CXX=no
30495
 
+           ;;
30496
 
+         *)
30497
 
+           # FIXME: insert proper C++ library support
30498
 
+           ld_shlibs_CXX=no
30499
 
+           ;;
30500
 
+       esac
30501
 
+       ;;
30502
 
 
30503
 
-    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
30504
 
-      # PIC is the default for these OSes.
30505
 
-      ;;
30506
 
+      netbsd*)
30507
 
+        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
30508
 
+         archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
30509
 
+         wlarc=
30510
 
+         hardcode_libdir_flag_spec_CXX='-R$libdir'
30511
 
+         hardcode_direct_CXX=yes
30512
 
+         hardcode_shlibpath_var_CXX=no
30513
 
+       fi
30514
 
+       # Workaround some broken pre-1.5 toolchains
30515
 
+       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
30516
 
+       ;;
30517
 
 
30518
 
-    mingw* | cygwin* | pw32* | os2*)
30519
 
-      # This hack is so that the source file can tell whether it is being
30520
 
-      # built for inclusion in a dll (and should export symbols for example).
30521
 
-      # Although the cygwin gcc ignores -fPIC, still need this for old-style
30522
 
-      # (--disable-auto-import) libraries
30523
 
+      *nto* | *qnx*)
30524
 
+        ld_shlibs_CXX=yes
30525
 
+       ;;
30526
 
 
30527
 
-      ;;
30528
 
+      openbsd2*)
30529
 
+        # C++ shared libraries are fairly broken
30530
 
+       ld_shlibs_CXX=no
30531
 
+       ;;
30532
 
 
30533
 
-    darwin* | rhapsody*)
30534
 
-      # PIC is the default on this platform
30535
 
-      # Common symbols not allowed in MH_DYLIB files
30536
 
-      lt_prog_compiler_pic_GCJ='-fno-common'
30537
 
-      ;;
30538
 
+      openbsd*)
30539
 
+       if test -f /usr/libexec/ld.so; then
30540
 
+         hardcode_direct_CXX=yes
30541
 
+         hardcode_shlibpath_var_CXX=no
30542
 
+         hardcode_direct_absolute_CXX=yes
30543
 
+         archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
30544
 
+         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
30545
 
+         if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
30546
 
+           archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
30547
 
+           export_dynamic_flag_spec_CXX='${wl}-E'
30548
 
+           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
30549
 
+         fi
30550
 
+         output_verbose_link_cmd=echo
30551
 
+       else
30552
 
+         ld_shlibs_CXX=no
30553
 
+       fi
30554
 
+       ;;
30555
 
 
30556
 
-    interix[3-9]*)
30557
 
-      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
30558
 
-      # Instead, we relocate shared libraries at runtime.
30559
 
-      ;;
30560
 
+      osf3* | osf4* | osf5*)
30561
 
+        case $cc_basename in
30562
 
+          KCC*)
30563
 
+           # Kuck and Associates, Inc. (KAI) C++ Compiler
30564
 
+
30565
 
+           # KCC will only create a shared library if the output file
30566
 
+           # ends with ".so" (or ".sl" for HP-UX), so rename the library
30567
 
+           # to its proper name (with version) after linking.
30568
 
+           archive_cmds_CXX='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'
30569
 
+
30570
 
+           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
30571
 
+           hardcode_libdir_separator_CXX=:
30572
 
+
30573
 
+           # Archives containing C++ object files must be created using
30574
 
+           # the KAI C++ compiler.
30575
 
+           case $host in
30576
 
+             osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
30577
 
+             *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
30578
 
+           esac
30579
 
+           ;;
30580
 
+          RCC*)
30581
 
+           # Rational C++ 2.4.1
30582
 
+           # FIXME: insert proper C++ library support
30583
 
+           ld_shlibs_CXX=no
30584
 
+           ;;
30585
 
+          cxx*)
30586
 
+           case $host in
30587
 
+             osf3*)
30588
 
+               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
30589
 
+               archive_cmds_CXX='$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'
30590
 
+               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
30591
 
+               ;;
30592
 
+             *)
30593
 
+               allow_undefined_flag_CXX=' -expect_unresolved \*'
30594
 
+               archive_cmds_CXX='$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'
30595
 
+               archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
30596
 
+                 echo "-hidden">> $lib.exp~
30597
 
+                 $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~
30598
 
+                 $RM $lib.exp'
30599
 
+               hardcode_libdir_flag_spec_CXX='-rpath $libdir'
30600
 
+               ;;
30601
 
+           esac
30602
 
 
30603
 
-    msdosdjgpp*)
30604
 
-      # Just because we use GCC doesn't mean we suddenly get shared libraries
30605
 
-      # on systems that don't support them.
30606
 
-      lt_prog_compiler_can_build_shared_GCJ=no
30607
 
-      enable_shared=no
30608
 
-      ;;
30609
 
+           hardcode_libdir_separator_CXX=:
30610
 
 
30611
 
-    sysv4*MP*)
30612
 
-      if test -d /usr/nec; then
30613
 
-       lt_prog_compiler_pic_GCJ=-Kconform_pic
30614
 
-      fi
30615
 
-      ;;
30616
 
+           # Commands to make compiler produce verbose output that lists
30617
 
+           # what "hidden" libraries, object files and flags are used when
30618
 
+           # linking a shared library.
30619
 
+           #
30620
 
+           # There doesn't appear to be a way to prevent this compiler from
30621
 
+           # explicitly linking system object files so we need to strip them
30622
 
+           # from the output so that they don't get included in the library
30623
 
+           # dependencies.
30624
 
+           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'
30625
 
+           ;;
30626
 
+         *)
30627
 
+           if test "$GXX" = yes && test "$with_gnu_ld" = no; then
30628
 
+             allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
30629
 
+             case $host in
30630
 
+               osf3*)
30631
 
+                 archive_cmds_CXX='$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'
30632
 
+                 ;;
30633
 
+               *)
30634
 
+                 archive_cmds_CXX='$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'
30635
 
+                 ;;
30636
 
+             esac
30637
 
+
30638
 
+             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
30639
 
+             hardcode_libdir_separator_CXX=:
30640
 
+
30641
 
+             # Commands to make compiler produce verbose output that lists
30642
 
+             # what "hidden" libraries, object files and flags are used when
30643
 
+             # linking a shared library.
30644
 
+             output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
30645
 
+
30646
 
+           else
30647
 
+             # FIXME: insert proper C++ library support
30648
 
+             ld_shlibs_CXX=no
30649
 
+           fi
30650
 
+           ;;
30651
 
+        esac
30652
 
+        ;;
30653
 
 
30654
 
-    hpux*)
30655
 
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
30656
 
-      # not for PA HP-UX.
30657
 
-      case $host_cpu in
30658
 
-      hppa*64*|ia64*)
30659
 
-       # +Z the default
30660
 
-       ;;
30661
 
-      *)
30662
 
-       lt_prog_compiler_pic_GCJ='-fPIC'
30663
 
-       ;;
30664
 
-      esac
30665
 
-      ;;
30666
 
+      psos*)
30667
 
+        # FIXME: insert proper C++ library support
30668
 
+        ld_shlibs_CXX=no
30669
 
+        ;;
30670
 
 
30671
 
-    *)
30672
 
-      lt_prog_compiler_pic_GCJ='-fPIC'
30673
 
-      ;;
30674
 
-    esac
30675
 
-  else
30676
 
-    # PORTME Check for flag to pass linker flags through the system compiler.
30677
 
-    case $host_os in
30678
 
-    aix*)
30679
 
-      lt_prog_compiler_wl_GCJ='-Wl,'
30680
 
-      if test "$host_cpu" = ia64; then
30681
 
-       # AIX 5 now supports IA64 processor
30682
 
-       lt_prog_compiler_static_GCJ='-Bstatic'
30683
 
-      else
30684
 
-       lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
30685
 
-      fi
30686
 
-      ;;
30687
 
-      darwin*)
30688
 
-        # PIC is the default on this platform
30689
 
-        # Common symbols not allowed in MH_DYLIB files
30690
 
-       case $cc_basename in
30691
 
-         xlc*)
30692
 
-         lt_prog_compiler_pic_GCJ='-qnocommon'
30693
 
-         lt_prog_compiler_wl_GCJ='-Wl,'
30694
 
-         ;;
30695
 
-       esac
30696
 
-       ;;
30697
 
+      sunos4*)
30698
 
+        case $cc_basename in
30699
 
+          CC*)
30700
 
+           # Sun C++ 4.x
30701
 
+           # FIXME: insert proper C++ library support
30702
 
+           ld_shlibs_CXX=no
30703
 
+           ;;
30704
 
+          lcc*)
30705
 
+           # Lucid
30706
 
+           # FIXME: insert proper C++ library support
30707
 
+           ld_shlibs_CXX=no
30708
 
+           ;;
30709
 
+          *)
30710
 
+           # FIXME: insert proper C++ library support
30711
 
+           ld_shlibs_CXX=no
30712
 
+           ;;
30713
 
+        esac
30714
 
+        ;;
30715
 
 
30716
 
-    mingw* | cygwin* | pw32* | os2*)
30717
 
-      # This hack is so that the source file can tell whether it is being
30718
 
-      # built for inclusion in a dll (and should export symbols for example).
30719
 
+      solaris*)
30720
 
+        case $cc_basename in
30721
 
+          CC*)
30722
 
+           # Sun C++ 4.2, 5.x and Centerline C++
30723
 
+            archive_cmds_need_lc_CXX=yes
30724
 
+           no_undefined_flag_CXX=' -zdefs'
30725
 
+           archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
30726
 
+           archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
30727
 
+             $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'
30728
 
+
30729
 
+           hardcode_libdir_flag_spec_CXX='-R$libdir'
30730
 
+           hardcode_shlibpath_var_CXX=no
30731
 
+           case $host_os in
30732
 
+             solaris2.[0-5] | solaris2.[0-5].*) ;;
30733
 
+             *)
30734
 
+               # The compiler driver will combine and reorder linker options,
30735
 
+               # but understands `-z linker_flag'.
30736
 
+               # Supported since Solaris 2.6 (maybe 2.5.1?)
30737
 
+               whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
30738
 
+               ;;
30739
 
+           esac
30740
 
+           link_all_deplibs_CXX=yes
30741
 
 
30742
 
-      ;;
30743
 
+           output_verbose_link_cmd='echo'
30744
 
 
30745
 
-    hpux9* | hpux10* | hpux11*)
30746
 
-      lt_prog_compiler_wl_GCJ='-Wl,'
30747
 
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
30748
 
-      # not for PA HP-UX.
30749
 
-      case $host_cpu in
30750
 
-      hppa*64*|ia64*)
30751
 
-       # +Z the default
30752
 
-       ;;
30753
 
-      *)
30754
 
-       lt_prog_compiler_pic_GCJ='+Z'
30755
 
-       ;;
30756
 
-      esac
30757
 
-      # Is there a better lt_prog_compiler_static that works with the bundled CC?
30758
 
-      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
30759
 
-      ;;
30760
 
+           # Archives containing C++ object files must be created using
30761
 
+           # "CC -xar", where "CC" is the Sun C++ compiler.  This is
30762
 
+           # necessary to make sure instantiated templates are included
30763
 
+           # in the archive.
30764
 
+           old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
30765
 
+           ;;
30766
 
+          gcx*)
30767
 
+           # Green Hills C++ Compiler
30768
 
+           archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
30769
 
 
30770
 
-    irix5* | irix6* | nonstopux*)
30771
 
-      lt_prog_compiler_wl_GCJ='-Wl,'
30772
 
-      # PIC (with -KPIC) is the default.
30773
 
-      lt_prog_compiler_static_GCJ='-non_shared'
30774
 
-      ;;
30775
 
+           # The C++ compiler must be used to create the archive.
30776
 
+           old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
30777
 
+           ;;
30778
 
+          *)
30779
 
+           # GNU C++ compiler with Solaris linker
30780
 
+           if test "$GXX" = yes && test "$with_gnu_ld" = no; then
30781
 
+             no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
30782
 
+             if $CC --version | $GREP -v '^2\.7' > /dev/null; then
30783
 
+               archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
30784
 
+               archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
30785
 
+                 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
30786
 
+
30787
 
+               # Commands to make compiler produce verbose output that lists
30788
 
+               # what "hidden" libraries, object files and flags are used when
30789
 
+               # linking a shared library.
30790
 
+               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
30791
 
+             else
30792
 
+               # g++ 2.7 appears to require `-G' NOT `-shared' on this
30793
 
+               # platform.
30794
 
+               archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
30795
 
+               archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
30796
 
+                 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
30797
 
+
30798
 
+               # Commands to make compiler produce verbose output that lists
30799
 
+               # what "hidden" libraries, object files and flags are used when
30800
 
+               # linking a shared library.
30801
 
+               output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
30802
 
+             fi
30803
 
+
30804
 
+             hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
30805
 
+             case $host_os in
30806
 
+               solaris2.[0-5] | solaris2.[0-5].*) ;;
30807
 
+               *)
30808
 
+                 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
30809
 
+                 ;;
30810
 
+             esac
30811
 
+           fi
30812
 
+           ;;
30813
 
+        esac
30814
 
+        ;;
30815
 
 
30816
 
-    newsos6)
30817
 
-      lt_prog_compiler_pic_GCJ='-KPIC'
30818
 
-      lt_prog_compiler_static_GCJ='-Bstatic'
30819
 
-      ;;
30820
 
+    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
30821
 
+      no_undefined_flag_CXX='${wl}-z,text'
30822
 
+      archive_cmds_need_lc_CXX=no
30823
 
+      hardcode_shlibpath_var_CXX=no
30824
 
+      runpath_var='LD_RUN_PATH'
30825
 
 
30826
 
-    linux* | k*bsd*-gnu)
30827
 
       case $cc_basename in
30828
 
-      icc* | ecc*)
30829
 
-       lt_prog_compiler_wl_GCJ='-Wl,'
30830
 
-       lt_prog_compiler_pic_GCJ='-KPIC'
30831
 
-       lt_prog_compiler_static_GCJ='-static'
30832
 
-        ;;
30833
 
-      pgcc* | pgf77* | pgf90* | pgf95*)
30834
 
-        # Portland Group compilers (*not* the Pentium gcc compiler,
30835
 
-       # which looks to be a dead project)
30836
 
-       lt_prog_compiler_wl_GCJ='-Wl,'
30837
 
-       lt_prog_compiler_pic_GCJ='-fpic'
30838
 
-       lt_prog_compiler_static_GCJ='-Bstatic'
30839
 
-        ;;
30840
 
-      ccc*)
30841
 
-        lt_prog_compiler_wl_GCJ='-Wl,'
30842
 
-        # All Alpha code is PIC.
30843
 
-        lt_prog_compiler_static_GCJ='-non_shared'
30844
 
-        ;;
30845
 
-      *)
30846
 
-        case `$CC -V 2>&1 | sed 5q` in
30847
 
-       *Sun\ C*)
30848
 
-         # Sun C 5.9
30849
 
-         lt_prog_compiler_pic_GCJ='-KPIC'
30850
 
-         lt_prog_compiler_static_GCJ='-Bstatic'
30851
 
-         lt_prog_compiler_wl_GCJ='-Wl,'
30852
 
+        CC*)
30853
 
+         archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
30854
 
+         archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
30855
 
          ;;
30856
 
-       *Sun\ F*)
30857
 
-         # Sun Fortran 8.3 passes all unrecognized flags to the linker
30858
 
-         lt_prog_compiler_pic_GCJ='-KPIC'
30859
 
-         lt_prog_compiler_static_GCJ='-Bstatic'
30860
 
-         lt_prog_compiler_wl_GCJ=''
30861
 
+       *)
30862
 
+         archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
30863
 
+         archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
30864
 
          ;;
30865
 
-       esac
30866
 
-       ;;
30867
 
       esac
30868
 
       ;;
30869
 
 
30870
 
-    osf3* | osf4* | osf5*)
30871
 
-      lt_prog_compiler_wl_GCJ='-Wl,'
30872
 
-      # All OSF/1 code is PIC.
30873
 
-      lt_prog_compiler_static_GCJ='-non_shared'
30874
 
-      ;;
30875
 
+      sysv5* | sco3.2v5* | sco5v6*)
30876
 
+       # Note: We can NOT use -z defs as we might desire, because we do not
30877
 
+       # link with -lc, and that would cause any symbols used from libc to
30878
 
+       # always be unresolved, which means just about no library would
30879
 
+       # ever link correctly.  If we're not using GNU ld we use -z text
30880
 
+       # though, which does catch some bad symbols but isn't as heavy-handed
30881
 
+       # as -z defs.
30882
 
+       no_undefined_flag_CXX='${wl}-z,text'
30883
 
+       allow_undefined_flag_CXX='${wl}-z,nodefs'
30884
 
+       archive_cmds_need_lc_CXX=no
30885
 
+       hardcode_shlibpath_var_CXX=no
30886
 
+       hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
30887
 
+       hardcode_libdir_separator_CXX=':'
30888
 
+       link_all_deplibs_CXX=yes
30889
 
+       export_dynamic_flag_spec_CXX='${wl}-Bexport'
30890
 
+       runpath_var='LD_RUN_PATH'
30891
 
 
30892
 
-    rdos*)
30893
 
-      lt_prog_compiler_static_GCJ='-non_shared'
30894
 
+       case $cc_basename in
30895
 
+          CC*)
30896
 
+           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
30897
 
+           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
30898
 
+           ;;
30899
 
+         *)
30900
 
+           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
30901
 
+           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
30902
 
+           ;;
30903
 
+       esac
30904
 
       ;;
30905
 
 
30906
 
-    solaris*)
30907
 
-      lt_prog_compiler_pic_GCJ='-KPIC'
30908
 
-      lt_prog_compiler_static_GCJ='-Bstatic'
30909
 
-      case $cc_basename in
30910
 
-      f77* | f90* | f95*)
30911
 
-       lt_prog_compiler_wl_GCJ='-Qoption ld ';;
30912
 
+      tandem*)
30913
 
+        case $cc_basename in
30914
 
+          NCC*)
30915
 
+           # NonStop-UX NCC 3.20
30916
 
+           # FIXME: insert proper C++ library support
30917
 
+           ld_shlibs_CXX=no
30918
 
+           ;;
30919
 
+          *)
30920
 
+           # FIXME: insert proper C++ library support
30921
 
+           ld_shlibs_CXX=no
30922
 
+           ;;
30923
 
+        esac
30924
 
+        ;;
30925
 
+
30926
 
+      vxworks*)
30927
 
+        # FIXME: insert proper C++ library support
30928
 
+        ld_shlibs_CXX=no
30929
 
+        ;;
30930
 
+
30931
 
       *)
30932
 
-       lt_prog_compiler_wl_GCJ='-Wl,';;
30933
 
-      esac
30934
 
-      ;;
30935
 
+        # FIXME: insert proper C++ library support
30936
 
+        ld_shlibs_CXX=no
30937
 
+        ;;
30938
 
+    esac
30939
 
 
30940
 
-    sunos4*)
30941
 
-      lt_prog_compiler_wl_GCJ='-Qoption ld '
30942
 
-      lt_prog_compiler_pic_GCJ='-PIC'
30943
 
-      lt_prog_compiler_static_GCJ='-Bstatic'
30944
 
-      ;;
30945
 
+    { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
30946
 
+$as_echo "$ld_shlibs_CXX" >&6; }
30947
 
+    test "$ld_shlibs_CXX" = no && can_build_shared=no
30948
 
+
30949
 
+    GCC_CXX="$GXX"
30950
 
+    LD_CXX="$LD"
30951
 
+
30952
 
+    ## CAVEAT EMPTOR:
30953
 
+    ## There is no encapsulation within the following macros, do not change
30954
 
+    ## the running order or otherwise move them around unless you know exactly
30955
 
+    ## what you are doing...
30956
 
+    # Dependencies to place before and after the object being linked:
30957
 
+predep_objects_CXX=
30958
 
+postdep_objects_CXX=
30959
 
+predeps_CXX=
30960
 
+postdeps_CXX=
30961
 
+compiler_lib_search_path_CXX=
30962
 
 
30963
 
-    sysv4 | sysv4.2uw2* | sysv4.3*)
30964
 
-      lt_prog_compiler_wl_GCJ='-Wl,'
30965
 
-      lt_prog_compiler_pic_GCJ='-KPIC'
30966
 
-      lt_prog_compiler_static_GCJ='-Bstatic'
30967
 
-      ;;
30968
 
+cat > conftest.$ac_ext <<_LT_EOF
30969
 
+class Foo
30970
 
+{
30971
 
+public:
30972
 
+  Foo (void) { a = 0; }
30973
 
+private:
30974
 
+  int a;
30975
 
+};
30976
 
+_LT_EOF
30977
 
 
30978
 
-    sysv4*MP*)
30979
 
-      if test -d /usr/nec ;then
30980
 
-       lt_prog_compiler_pic_GCJ='-Kconform_pic'
30981
 
-       lt_prog_compiler_static_GCJ='-Bstatic'
30982
 
-      fi
30983
 
-      ;;
30984
 
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30985
 
+  (eval $ac_compile) 2>&5
30986
 
+  ac_status=$?
30987
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30988
 
+  (exit $ac_status); }; then
30989
 
+  # Parse the compiler output and extract the necessary
30990
 
+  # objects, libraries and library flags.
30991
 
 
30992
 
-    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
30993
 
-      lt_prog_compiler_wl_GCJ='-Wl,'
30994
 
-      lt_prog_compiler_pic_GCJ='-KPIC'
30995
 
-      lt_prog_compiler_static_GCJ='-Bstatic'
30996
 
-      ;;
30997
 
+  # Sentinel used to keep track of whether or not we are before
30998
 
+  # the conftest object file.
30999
 
+  pre_test_object_deps_done=no
31000
 
 
31001
 
-    unicos*)
31002
 
-      lt_prog_compiler_wl_GCJ='-Wl,'
31003
 
-      lt_prog_compiler_can_build_shared_GCJ=no
31004
 
-      ;;
31005
 
+  for p in `eval "$output_verbose_link_cmd"`; do
31006
 
+    case $p in
31007
 
 
31008
 
-    uts4*)
31009
 
-      lt_prog_compiler_pic_GCJ='-pic'
31010
 
-      lt_prog_compiler_static_GCJ='-Bstatic'
31011
 
-      ;;
31012
 
+    -L* | -R* | -l*)
31013
 
+       # Some compilers place space between "-{L,R}" and the path.
31014
 
+       # Remove the space.
31015
 
+       if test $p = "-L" ||
31016
 
+          test $p = "-R"; then
31017
 
+        prev=$p
31018
 
+        continue
31019
 
+       else
31020
 
+        prev=
31021
 
+       fi
31022
 
 
31023
 
-    *)
31024
 
-      lt_prog_compiler_can_build_shared_GCJ=no
31025
 
-      ;;
31026
 
-    esac
31027
 
-  fi
31028
 
+       if test "$pre_test_object_deps_done" = no; then
31029
 
+        case $p in
31030
 
+        -L* | -R*)
31031
 
+          # Internal compiler library paths should come after those
31032
 
+          # provided the user.  The postdeps already come after the
31033
 
+          # user supplied libs so there is no need to process them.
31034
 
+          if test -z "$compiler_lib_search_path_CXX"; then
31035
 
+            compiler_lib_search_path_CXX="${prev}${p}"
31036
 
+          else
31037
 
+            compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
31038
 
+          fi
31039
 
+          ;;
31040
 
+        # The "-l" case would never come before the object being
31041
 
+        # linked, so don't bother handling this case.
31042
 
+        esac
31043
 
+       else
31044
 
+        if test -z "$postdeps_CXX"; then
31045
 
+          postdeps_CXX="${prev}${p}"
31046
 
+        else
31047
 
+          postdeps_CXX="${postdeps_CXX} ${prev}${p}"
31048
 
+        fi
31049
 
+       fi
31050
 
+       ;;
31051
 
 
31052
 
-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
31053
 
-echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
31054
 
+    *.$objext)
31055
 
+       # This assumes that the test object file only shows up
31056
 
+       # once in the compiler output.
31057
 
+       if test "$p" = "conftest.$objext"; then
31058
 
+        pre_test_object_deps_done=yes
31059
 
+        continue
31060
 
+       fi
31061
 
 
31062
 
-#
31063
 
-# Check to make sure the PIC flag actually works.
31064
 
-#
31065
 
-if test -n "$lt_prog_compiler_pic_GCJ"; then
31066
 
+       if test "$pre_test_object_deps_done" = no; then
31067
 
+        if test -z "$predep_objects_CXX"; then
31068
 
+          predep_objects_CXX="$p"
31069
 
+        else
31070
 
+          predep_objects_CXX="$predep_objects_CXX $p"
31071
 
+        fi
31072
 
+       else
31073
 
+        if test -z "$postdep_objects_CXX"; then
31074
 
+          postdep_objects_CXX="$p"
31075
 
+        else
31076
 
+          postdep_objects_CXX="$postdep_objects_CXX $p"
31077
 
+        fi
31078
 
+       fi
31079
 
+       ;;
31080
 
 
31081
 
-{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
31082
 
-echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
31083
 
-if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
31084
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
31085
 
-else
31086
 
-  lt_cv_prog_compiler_pic_works_GCJ=no
31087
 
-  ac_outfile=conftest.$ac_objext
31088
 
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
31089
 
-   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
31090
 
-   # Insert the option either (1) after the last *FLAGS variable, or
31091
 
-   # (2) before a word containing "conftest.", or (3) at the end.
31092
 
-   # Note that $ac_compile itself does not contain backslashes and begins
31093
 
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
31094
 
-   # The option is referenced via a variable to avoid confusing sed.
31095
 
-   lt_compile=`echo "$ac_compile" | $SED \
31096
 
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
31097
 
-   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
31098
 
-   -e 's:$: $lt_compiler_flag:'`
31099
 
-   (eval echo "\"\$as_me:19060: $lt_compile\"" >&5)
31100
 
-   (eval "$lt_compile" 2>conftest.err)
31101
 
-   ac_status=$?
31102
 
-   cat conftest.err >&5
31103
 
-   echo "$as_me:19064: \$? = $ac_status" >&5
31104
 
-   if (exit $ac_status) && test -s "$ac_outfile"; then
31105
 
-     # The compiler can only warn and ignore the option if not recognized
31106
 
-     # So say no if there are warnings other than the usual output.
31107
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
31108
 
-     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
31109
 
-     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
31110
 
-       lt_cv_prog_compiler_pic_works_GCJ=yes
31111
 
-     fi
31112
 
-   fi
31113
 
-   $rm conftest*
31114
 
+    *) ;; # Ignore the rest.
31115
 
 
31116
 
-fi
31117
 
-{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
31118
 
-echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
31119
 
+    esac
31120
 
+  done
31121
 
 
31122
 
-if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
31123
 
-    case $lt_prog_compiler_pic_GCJ in
31124
 
-     "" | " "*) ;;
31125
 
-     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
31126
 
-     esac
31127
 
+  # Clean up.
31128
 
+  rm -f a.out a.exe
31129
 
 else
31130
 
-    lt_prog_compiler_pic_GCJ=
31131
 
-     lt_prog_compiler_can_build_shared_GCJ=no
31132
 
+  echo "libtool.m4: error: problem compiling CXX test program"
31133
 
 fi
31134
 
 
31135
 
-fi
31136
 
+$RM -f confest.$objext
31137
 
+
31138
 
+# PORTME: override above test on systems where it is broken
31139
 
 case $host_os in
31140
 
-  # For platforms which do not support PIC, -DPIC is meaningless:
31141
 
-  *djgpp*)
31142
 
-    lt_prog_compiler_pic_GCJ=
31143
 
+interix[3-9]*)
31144
 
+  # Interix 3.5 installs completely hosed .la files for C++, so rather than
31145
 
+  # hack all around it, let's just trust "g++" to DTRT.
31146
 
+  predep_objects_CXX=
31147
 
+  postdep_objects_CXX=
31148
 
+  postdeps_CXX=
31149
 
+  ;;
31150
 
+
31151
 
+linux*)
31152
 
+  case `$CC -V 2>&1 | sed 5q` in
31153
 
+  *Sun\ C*)
31154
 
+    # Sun C++ 5.9
31155
 
+
31156
 
+    # The more standards-conforming stlport4 library is
31157
 
+    # incompatible with the Cstd library. Avoid specifying
31158
 
+    # it if it's in CXXFLAGS. Ignore libCrun as
31159
 
+    # -library=stlport4 depends on it.
31160
 
+    case " $CXX $CXXFLAGS " in
31161
 
+    *" -library=stlport4 "*)
31162
 
+      solaris_use_stlport4=yes
31163
 
+      ;;
31164
 
+    esac
31165
 
+
31166
 
+    if test "$solaris_use_stlport4" != yes; then
31167
 
+      postdeps_CXX='-library=Cstd -library=Crun'
31168
 
+    fi
31169
 
     ;;
31170
 
-  *)
31171
 
-    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
31172
 
+  esac
31173
 
+  ;;
31174
 
+
31175
 
+solaris*)
31176
 
+  case $cc_basename in
31177
 
+  CC*)
31178
 
+    # The more standards-conforming stlport4 library is
31179
 
+    # incompatible with the Cstd library. Avoid specifying
31180
 
+    # it if it's in CXXFLAGS. Ignore libCrun as
31181
 
+    # -library=stlport4 depends on it.
31182
 
+    case " $CXX $CXXFLAGS " in
31183
 
+    *" -library=stlport4 "*)
31184
 
+      solaris_use_stlport4=yes
31185
 
+      ;;
31186
 
+    esac
31187
 
+
31188
 
+    # Adding this requires a known-good setup of shared libraries for
31189
 
+    # Sun compiler versions before 5.6, else PIC objects from an old
31190
 
+    # archive will be linked into the output, leading to subtle bugs.
31191
 
+    if test "$solaris_use_stlport4" != yes; then
31192
 
+      postdeps_CXX='-library=Cstd -library=Crun'
31193
 
+    fi
31194
 
     ;;
31195
 
+  esac
31196
 
+  ;;
31197
 
 esac
31198
 
 
31199
 
-#
31200
 
-# Check to make sure the static flag actually works.
31201
 
-#
31202
 
-wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
31203
 
-{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
31204
 
-echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
31205
 
-if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
31206
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
31207
 
-else
31208
 
-  lt_cv_prog_compiler_static_works_GCJ=no
31209
 
-   save_LDFLAGS="$LDFLAGS"
31210
 
-   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
31211
 
-   echo "$lt_simple_link_test_code" > conftest.$ac_ext
31212
 
-   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
31213
 
-     # The linker can only warn and ignore the option if not recognized
31214
 
-     # So say no if there are warnings
31215
 
-     if test -s conftest.err; then
31216
 
-       # Append any errors to the config.log.
31217
 
-       cat conftest.err 1>&5
31218
 
-       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
31219
 
-       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
31220
 
-       if diff conftest.exp conftest.er2 >/dev/null; then
31221
 
-         lt_cv_prog_compiler_static_works_GCJ=yes
31222
 
-       fi
31223
 
-     else
31224
 
-       lt_cv_prog_compiler_static_works_GCJ=yes
31225
 
-     fi
31226
 
-   fi
31227
 
-   $rm -r conftest*
31228
 
-   LDFLAGS="$save_LDFLAGS"
31229
 
 
31230
 
+case " $postdeps_CXX " in
31231
 
+*" -lc "*) archive_cmds_need_lc_CXX=no ;;
31232
 
+esac
31233
 
+ compiler_lib_search_dirs_CXX=
31234
 
+if test -n "${compiler_lib_search_path_CXX}"; then
31235
 
+ compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
31236
 
 fi
31237
 
-{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
31238
 
-echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
31239
 
 
31240
 
-if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
31241
 
-    :
31242
 
-else
31243
 
-    lt_prog_compiler_static_GCJ=
31244
 
-fi
31245
 
 
31246
 
 
31247
 
-{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
31248
 
-echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
31249
 
-if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
31250
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
31251
 
-else
31252
 
-  lt_cv_prog_compiler_c_o_GCJ=no
31253
 
-   $rm -r conftest 2>/dev/null
31254
 
-   mkdir conftest
31255
 
-   cd conftest
31256
 
-   mkdir out
31257
 
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
31258
 
 
31259
 
-   lt_compiler_flag="-o out/conftest2.$ac_objext"
31260
 
-   # Insert the option either (1) after the last *FLAGS variable, or
31261
 
-   # (2) before a word containing "conftest.", or (3) at the end.
31262
 
-   # Note that $ac_compile itself does not contain backslashes and begins
31263
 
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
31264
 
-   lt_compile=`echo "$ac_compile" | $SED \
31265
 
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
31266
 
-   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
31267
 
-   -e 's:$: $lt_compiler_flag:'`
31268
 
-   (eval echo "\"\$as_me:19164: $lt_compile\"" >&5)
31269
 
-   (eval "$lt_compile" 2>out/conftest.err)
31270
 
-   ac_status=$?
31271
 
-   cat out/conftest.err >&5
31272
 
-   echo "$as_me:19168: \$? = $ac_status" >&5
31273
 
-   if (exit $ac_status) && test -s out/conftest2.$ac_objext
31274
 
-   then
31275
 
-     # The compiler can only warn and ignore the option if not recognized
31276
 
-     # So say no if there are warnings
31277
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
31278
 
-     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
31279
 
-     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
31280
 
-       lt_cv_prog_compiler_c_o_GCJ=yes
31281
 
-     fi
31282
 
-   fi
31283
 
-   chmod u+w . 2>&5
31284
 
-   $rm conftest*
31285
 
-   # SGI C++ compiler will create directory out/ii_files/ for
31286
 
-   # template instantiation
31287
 
-   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
31288
 
-   $rm out/* && rmdir out
31289
 
-   cd ..
31290
 
-   rmdir conftest
31291
 
-   $rm conftest*
31292
 
 
31293
 
-fi
31294
 
-{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
31295
 
-echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
31296
 
 
31297
 
 
31298
 
-hard_links="nottested"
31299
 
-if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
31300
 
-  # do not overwrite the value of need_locks provided by the user
31301
 
-  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
31302
 
-echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
31303
 
-  hard_links=yes
31304
 
-  $rm conftest*
31305
 
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
31306
 
-  touch conftest.a
31307
 
-  ln conftest.a conftest.b 2>&5 || hard_links=no
31308
 
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
31309
 
-  { echo "$as_me:$LINENO: result: $hard_links" >&5
31310
 
-echo "${ECHO_T}$hard_links" >&6; }
31311
 
-  if test "$hard_links" = no; then
31312
 
-    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
31313
 
-echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
31314
 
-    need_locks=warn
31315
 
-  fi
31316
 
-else
31317
 
-  need_locks=no
31318
 
-fi
31319
 
 
31320
 
-{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
31321
 
-echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
31322
 
 
31323
 
-  runpath_var=
31324
 
-  allow_undefined_flag_GCJ=
31325
 
-  enable_shared_with_static_runtimes_GCJ=no
31326
 
-  archive_cmds_GCJ=
31327
 
-  archive_expsym_cmds_GCJ=
31328
 
-  old_archive_From_new_cmds_GCJ=
31329
 
-  old_archive_from_expsyms_cmds_GCJ=
31330
 
-  export_dynamic_flag_spec_GCJ=
31331
 
-  whole_archive_flag_spec_GCJ=
31332
 
-  thread_safe_flag_spec_GCJ=
31333
 
-  hardcode_libdir_flag_spec_GCJ=
31334
 
-  hardcode_libdir_flag_spec_ld_GCJ=
31335
 
-  hardcode_libdir_separator_GCJ=
31336
 
-  hardcode_direct_GCJ=no
31337
 
-  hardcode_minus_L_GCJ=no
31338
 
-  hardcode_shlibpath_var_GCJ=unsupported
31339
 
-  link_all_deplibs_GCJ=unknown
31340
 
-  hardcode_automatic_GCJ=no
31341
 
-  module_cmds_GCJ=
31342
 
-  module_expsym_cmds_GCJ=
31343
 
-  always_export_symbols_GCJ=no
31344
 
-  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
31345
 
-  # include_expsyms should be a list of space-separated symbols to be *always*
31346
 
-  # included in the symbol list
31347
 
-  include_expsyms_GCJ=
31348
 
-  # exclude_expsyms can be an extended regexp of symbols to exclude
31349
 
-  # it will be wrapped by ` (' and `)$', so one must not match beginning or
31350
 
-  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
31351
 
-  # as well as any symbol that contains `d'.
31352
 
-  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
31353
 
-  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
31354
 
-  # platforms (ab)use it in PIC code, but their linkers get confused if
31355
 
-  # the symbol is explicitly referenced.  Since portable code cannot
31356
 
-  # rely on this symbol name, it's probably fine to never include it in
31357
 
-  # preloaded symbol tables.
31358
 
-  # Exclude shared library initialization/finalization symbols.
31359
 
-  extract_expsyms_cmds=
31360
 
-  # Just being paranoid about ensuring that cc_basename is set.
31361
 
-  for cc_temp in $compiler""; do
31362
 
-  case $cc_temp in
31363
 
-    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
31364
 
-    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
31365
 
-    \-*) ;;
31366
 
-    *) break;;
31367
 
-  esac
31368
 
-done
31369
 
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
31370
 
 
31371
 
-  case $host_os in
31372
 
-  cygwin* | mingw* | pw32*)
31373
 
-    # FIXME: the MSVC++ port hasn't been tested in a loooong time
31374
 
-    # When not using gcc, we currently assume that we are using
31375
 
-    # Microsoft Visual C++.
31376
 
-    if test "$GCC" != yes; then
31377
 
-      with_gnu_ld=no
31378
 
-    fi
31379
 
-    ;;
31380
 
-  interix*)
31381
 
-    # we just hope/assume this is gcc and not c89 (= MSVC++)
31382
 
-    with_gnu_ld=yes
31383
 
-    ;;
31384
 
-  openbsd*)
31385
 
-    with_gnu_ld=no
31386
 
-    ;;
31387
 
-  esac
31388
 
 
31389
 
-  ld_shlibs_GCJ=yes
31390
 
-  if test "$with_gnu_ld" = yes; then
31391
 
-    # If archive_cmds runs LD, not CC, wlarc should be empty
31392
 
-    wlarc='${wl}'
31393
 
 
31394
 
-    # Set some defaults for GNU ld with shared library support. These
31395
 
-    # are reset later if shared libraries are not supported. Putting them
31396
 
-    # here allows them to be overridden if necessary.
31397
 
-    runpath_var=LD_RUN_PATH
31398
 
-    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
31399
 
-    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
31400
 
-    # ancient GNU ld didn't support --whole-archive et. al.
31401
 
-    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
31402
 
-       whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
31403
 
-      else
31404
 
-       whole_archive_flag_spec_GCJ=
31405
 
-    fi
31406
 
-    supports_anon_versioning=no
31407
 
-    case `$LD -v 2>/dev/null` in
31408
 
-      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
31409
 
-      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
31410
 
-      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
31411
 
-      *\ 2.11.*) ;; # other 2.11 versions
31412
 
-      *) supports_anon_versioning=yes ;;
31413
 
-    esac
31414
 
 
31415
 
-    # See if GNU ld supports shared libraries.
31416
 
-    case $host_os in
31417
 
-    aix[3-9]*)
31418
 
-      # On AIX/PPC, the GNU linker is very broken
31419
 
-      if test "$host_cpu" != ia64; then
31420
 
-       ld_shlibs_GCJ=no
31421
 
-       cat <<EOF 1>&2
31422
 
 
31423
 
-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
31424
 
-*** to be unable to reliably create shared libraries on AIX.
31425
 
-*** Therefore, libtool is disabling shared libraries support.  If you
31426
 
-*** really care for shared libraries, you may want to modify your PATH
31427
 
-*** so that a non-GNU linker is found, and then restart.
31428
 
 
31429
 
-EOF
31430
 
-      fi
31431
 
-      ;;
31432
 
 
31433
 
-    amigaos*)
31434
 
-      archive_cmds_GCJ='$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)'
31435
 
-      hardcode_libdir_flag_spec_GCJ='-L$libdir'
31436
 
-      hardcode_minus_L_GCJ=yes
31437
 
-
31438
 
-      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
31439
 
-      # that the semantics of dynamic libraries on AmigaOS, at least up
31440
 
-      # to version 4, is to share data among multiple programs linked
31441
 
-      # with the same dynamic library.  Since this doesn't match the
31442
 
-      # behavior of shared libraries on other platforms, we can't use
31443
 
-      # them.
31444
 
-      ld_shlibs_GCJ=no
31445
 
-      ;;
31446
 
 
31447
 
-    beos*)
31448
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
31449
 
-       allow_undefined_flag_GCJ=unsupported
31450
 
-       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
31451
 
-       # support --undefined.  This deserves some investigation.  FIXME
31452
 
-       archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
31453
 
-      else
31454
 
-       ld_shlibs_GCJ=no
31455
 
-      fi
31456
 
-      ;;
31457
 
 
31458
 
-    cygwin* | mingw* | pw32*)
31459
 
-      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
31460
 
-      # as there is no search path for DLLs.
31461
 
-      hardcode_libdir_flag_spec_GCJ='-L$libdir'
31462
 
-      allow_undefined_flag_GCJ=unsupported
31463
 
-      always_export_symbols_GCJ=no
31464
 
-      enable_shared_with_static_runtimes_GCJ=yes
31465
 
-      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
31466
 
 
31467
 
-      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
31468
 
-        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
31469
 
-       # If the export-symbols file already is a .def file (1st line
31470
 
-       # is EXPORTS), use it as is; otherwise, prepend...
31471
 
-       archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
31472
 
-         cp $export_symbols $output_objdir/$soname.def;
31473
 
-       else
31474
 
-         echo EXPORTS > $output_objdir/$soname.def;
31475
 
-         cat $export_symbols >> $output_objdir/$soname.def;
31476
 
-       fi~
31477
 
-       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
31478
 
-      else
31479
 
-       ld_shlibs_GCJ=no
31480
 
-      fi
31481
 
-      ;;
31482
 
 
31483
 
-    interix[3-9]*)
31484
 
-      hardcode_direct_GCJ=no
31485
 
-      hardcode_shlibpath_var_GCJ=no
31486
 
-      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
31487
 
-      export_dynamic_flag_spec_GCJ='${wl}-E'
31488
 
-      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
31489
 
-      # Instead, shared libraries are loaded at an image base (0x10000000 by
31490
 
-      # default) and relocated if they conflict, which is a slow very memory
31491
 
-      # consuming and fragmenting process.  To avoid this, we pick a random,
31492
 
-      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
31493
 
-      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
31494
 
-      archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
31495
 
-      archive_expsym_cmds_GCJ='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'
31496
 
-      ;;
31497
 
 
31498
 
-    gnu* | linux* | k*bsd*-gnu)
31499
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
31500
 
-       tmp_addflag=
31501
 
-       case $cc_basename,$host_cpu in
31502
 
-       pgcc*)                          # Portland Group C compiler
31503
 
-         whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
31504
 
-         tmp_addflag=' $pic_flag'
31505
 
-         ;;
31506
 
-       pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
31507
 
-         whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
31508
 
-         tmp_addflag=' $pic_flag -Mnomain' ;;
31509
 
-       ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
31510
 
-         tmp_addflag=' -i_dynamic' ;;
31511
 
-       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
31512
 
-         tmp_addflag=' -i_dynamic -nofor_main' ;;
31513
 
-       ifc* | ifort*)                  # Intel Fortran compiler
31514
 
-         tmp_addflag=' -nofor_main' ;;
31515
 
-       esac
31516
 
-       case `$CC -V 2>&1 | sed 5q` in
31517
 
-       *Sun\ C*)                       # Sun C 5.9
31518
 
-         whole_archive_flag_spec_GCJ='${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'
31519
 
-         tmp_sharedflag='-G' ;;
31520
 
-       *Sun\ F*)                       # Sun Fortran 8.3
31521
 
-         tmp_sharedflag='-G' ;;
31522
 
-       *)
31523
 
-         tmp_sharedflag='-shared' ;;
31524
 
-       esac
31525
 
-       archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
31526
 
 
31527
 
-       if test $supports_anon_versioning = yes; then
31528
 
-         archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
31529
 
-  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
31530
 
-  $echo "local: *; };" >> $output_objdir/$libname.ver~
31531
 
-         $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
31532
 
-       fi
31533
 
-       link_all_deplibs_GCJ=no
31534
 
-      else
31535
 
-       ld_shlibs_GCJ=no
31536
 
-      fi
31537
 
-      ;;
31538
 
 
31539
 
-    netbsd* | netbsdelf*-gnu)
31540
 
-      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
31541
 
-       archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
31542
 
-       wlarc=
31543
 
-      else
31544
 
-       archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
31545
 
-       archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
31546
 
+
31547
 
+
31548
 
+
31549
 
+
31550
 
+
31551
 
+
31552
 
+
31553
 
+
31554
 
+    lt_prog_compiler_wl_CXX=
31555
 
+lt_prog_compiler_pic_CXX=
31556
 
+lt_prog_compiler_static_CXX=
31557
 
+
31558
 
+{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
31559
 
+$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
31560
 
+
31561
 
+  # C++ specific cases for pic, static, wl, etc.
31562
 
+  if test "$GXX" = yes; then
31563
 
+    lt_prog_compiler_wl_CXX='-Wl,'
31564
 
+    lt_prog_compiler_static_CXX='-static'
31565
 
+
31566
 
+    case $host_os in
31567
 
+    aix*)
31568
 
+      # All AIX code is PIC.
31569
 
+      if test "$host_cpu" = ia64; then
31570
 
+       # AIX 5 now supports IA64 processor
31571
 
+       lt_prog_compiler_static_CXX='-Bstatic'
31572
 
       fi
31573
 
       ;;
31574
 
 
31575
 
-    solaris*)
31576
 
-      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
31577
 
-       ld_shlibs_GCJ=no
31578
 
-       cat <<EOF 1>&2
31579
 
-
31580
 
-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
31581
 
-*** create shared libraries on Solaris systems.  Therefore, libtool
31582
 
-*** is disabling shared libraries support.  We urge you to upgrade GNU
31583
 
-*** binutils to release 2.9.1 or newer.  Another option is to modify
31584
 
-*** your PATH or compiler configuration so that the native linker is
31585
 
-*** used, and then restart.
31586
 
+    amigaos*)
31587
 
+      case $host_cpu in
31588
 
+      powerpc)
31589
 
+            # see comment about AmigaOS4 .so support
31590
 
+            lt_prog_compiler_pic_CXX='-fPIC'
31591
 
+        ;;
31592
 
+      m68k)
31593
 
+            # FIXME: we need at least 68020 code to build shared libraries, but
31594
 
+            # adding the `-m68020' flag to GCC prevents building anything better,
31595
 
+            # like `-m68040'.
31596
 
+            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
31597
 
+        ;;
31598
 
+      esac
31599
 
+      ;;
31600
 
 
31601
 
-EOF
31602
 
-      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
31603
 
-       archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
31604
 
-       archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
31605
 
-      else
31606
 
-       ld_shlibs_GCJ=no
31607
 
+    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
31608
 
+      # PIC is the default for these OSes.
31609
 
+      ;;
31610
 
+    mingw* | cygwin* | os2* | pw32* | cegcc*)
31611
 
+      # This hack is so that the source file can tell whether it is being
31612
 
+      # built for inclusion in a dll (and should export symbols for example).
31613
 
+      # Although the cygwin gcc ignores -fPIC, still need this for old-style
31614
 
+      # (--disable-auto-import) libraries
31615
 
+      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
31616
 
+      ;;
31617
 
+    darwin* | rhapsody*)
31618
 
+      # PIC is the default on this platform
31619
 
+      # Common symbols not allowed in MH_DYLIB files
31620
 
+      lt_prog_compiler_pic_CXX='-fno-common'
31621
 
+      ;;
31622
 
+    *djgpp*)
31623
 
+      # DJGPP does not support shared libraries at all
31624
 
+      lt_prog_compiler_pic_CXX=
31625
 
+      ;;
31626
 
+    interix[3-9]*)
31627
 
+      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
31628
 
+      # Instead, we relocate shared libraries at runtime.
31629
 
+      ;;
31630
 
+    sysv4*MP*)
31631
 
+      if test -d /usr/nec; then
31632
 
+       lt_prog_compiler_pic_CXX=-Kconform_pic
31633
 
       fi
31634
 
       ;;
31635
 
-
31636
 
-    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
31637
 
-      case `$LD -v 2>&1` in
31638
 
-        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
31639
 
-       ld_shlibs_GCJ=no
31640
 
-       cat <<_LT_EOF 1>&2
31641
 
-
31642
 
-*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
31643
 
-*** reliably create shared libraries on SCO systems.  Therefore, libtool
31644
 
-*** is disabling shared libraries support.  We urge you to upgrade GNU
31645
 
-*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
31646
 
-*** your PATH or compiler configuration so that the native linker is
31647
 
-*** used, and then restart.
31648
 
-
31649
 
-_LT_EOF
31650
 
+    hpux*)
31651
 
+      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
31652
 
+      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
31653
 
+      # sets the default TLS model and affects inlining.
31654
 
+      case $host_cpu in
31655
 
+      hppa*64*)
31656
 
        ;;
31657
 
-       *)
31658
 
-         if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
31659
 
-           hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
31660
 
-           archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
31661
 
-           archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
31662
 
-         else
31663
 
-           ld_shlibs_GCJ=no
31664
 
-         fi
31665
 
+      *)
31666
 
+       lt_prog_compiler_pic_CXX='-fPIC'
31667
 
        ;;
31668
 
       esac
31669
 
       ;;
31670
 
-
31671
 
-    sunos4*)
31672
 
-      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
31673
 
-      wlarc=
31674
 
-      hardcode_direct_GCJ=yes
31675
 
-      hardcode_shlibpath_var_GCJ=no
31676
 
+    *qnx* | *nto*)
31677
 
+      # QNX uses GNU C++, but need to define -shared option too, otherwise
31678
 
+      # it will coredump.
31679
 
+      lt_prog_compiler_pic_CXX='-fPIC -shared'
31680
 
       ;;
31681
 
-
31682
 
     *)
31683
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
31684
 
-       archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
31685
 
-       archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
31686
 
-      else
31687
 
-       ld_shlibs_GCJ=no
31688
 
-      fi
31689
 
+      lt_prog_compiler_pic_CXX='-fPIC'
31690
 
       ;;
31691
 
     esac
31692
 
-
31693
 
-    if test "$ld_shlibs_GCJ" = no; then
31694
 
-      runpath_var=
31695
 
-      hardcode_libdir_flag_spec_GCJ=
31696
 
-      export_dynamic_flag_spec_GCJ=
31697
 
-      whole_archive_flag_spec_GCJ=
31698
 
-    fi
31699
 
   else
31700
 
-    # PORTME fill in a description of your system's linker (not GNU ld)
31701
 
     case $host_os in
31702
 
-    aix3*)
31703
 
-      allow_undefined_flag_GCJ=unsupported
31704
 
-      always_export_symbols_GCJ=yes
31705
 
-      archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
31706
 
-      # Note: this linker hardcodes the directories in LIBPATH if there
31707
 
-      # are no directories specified by -L.
31708
 
-      hardcode_minus_L_GCJ=yes
31709
 
-      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
31710
 
-       # Neither direct hardcoding nor static linking is supported with a
31711
 
-       # broken collect2.
31712
 
-       hardcode_direct_GCJ=unsupported
31713
 
-      fi
31714
 
-      ;;
31715
 
-
31716
 
-    aix[4-9]*)
31717
 
-      if test "$host_cpu" = ia64; then
31718
 
-       # On IA64, the linker does run time linking by default, so we don't
31719
 
-       # have to do anything special.
31720
 
-       aix_use_runtimelinking=no
31721
 
-       exp_sym_flag='-Bexport'
31722
 
-       no_entry_flag=""
31723
 
-      else
31724
 
-       # If we're using GNU nm, then we don't want the "-C" option.
31725
 
-       # -C means demangle to AIX nm, but means don't demangle with GNU nm
31726
 
-       if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
31727
 
-         export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
31728
 
+      aix[4-9]*)
31729
 
+       # All AIX code is PIC.
31730
 
+       if test "$host_cpu" = ia64; then
31731
 
+         # AIX 5 now supports IA64 processor
31732
 
+         lt_prog_compiler_static_CXX='-Bstatic'
31733
 
        else
31734
 
-         export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
31735
 
+         lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
31736
 
        fi
31737
 
-       aix_use_runtimelinking=no
31738
 
-
31739
 
-       # Test if we are trying to use run time linking or normal
31740
 
-       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
31741
 
-       # need to do runtime linking.
31742
 
-       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
31743
 
-         for ld_flag in $LDFLAGS; do
31744
 
-         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
31745
 
-           aix_use_runtimelinking=yes
31746
 
-           break
31747
 
-         fi
31748
 
-         done
31749
 
+       ;;
31750
 
+      chorus*)
31751
 
+       case $cc_basename in
31752
 
+       cxch68*)
31753
 
+         # Green Hills C++ Compiler
31754
 
+         # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--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"
31755
 
          ;;
31756
 
        esac
31757
 
-
31758
 
-       exp_sym_flag='-bexport'
31759
 
-       no_entry_flag='-bnoentry'
31760
 
-      fi
31761
 
-
31762
 
-      # When large executables or shared objects are built, AIX ld can
31763
 
-      # have problems creating the table of contents.  If linking a library
31764
 
-      # or program results in "error TOC overflow" add -mminimal-toc to
31765
 
-      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
31766
 
-      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
31767
 
-
31768
 
-      archive_cmds_GCJ=''
31769
 
-      hardcode_direct_GCJ=yes
31770
 
-      hardcode_libdir_separator_GCJ=':'
31771
 
-      link_all_deplibs_GCJ=yes
31772
 
-
31773
 
-      if test "$GCC" = yes; then
31774
 
-       case $host_os in aix4.[012]|aix4.[012].*)
31775
 
-       # We only want to do this on AIX 4.2 and lower, the check
31776
 
-       # below for broken collect2 doesn't work under 4.3+
31777
 
-         collect2name=`${CC} -print-prog-name=collect2`
31778
 
-         if test -f "$collect2name" && \
31779
 
-          strings "$collect2name" | grep resolve_lib_name >/dev/null
31780
 
-         then
31781
 
-         # We have reworked collect2
31782
 
-         :
31783
 
-         else
31784
 
-         # We have old collect2
31785
 
-         hardcode_direct_GCJ=unsupported
31786
 
-         # It fails to find uninstalled libraries when the uninstalled
31787
 
-         # path is not listed in the libpath.  Setting hardcode_minus_L
31788
 
-         # to unsupported forces relinking
31789
 
-         hardcode_minus_L_GCJ=yes
31790
 
-         hardcode_libdir_flag_spec_GCJ='-L$libdir'
31791
 
-         hardcode_libdir_separator_GCJ=
31792
 
-         fi
31793
 
-         ;;
31794
 
+       ;;
31795
 
+      dgux*)
31796
 
+       case $cc_basename in
31797
 
+         ec++*)
31798
 
+           lt_prog_compiler_pic_CXX='-KPIC'
31799
 
+           ;;
31800
 
+         ghcx*)
31801
 
+           # Green Hills C++ Compiler
31802
 
+           lt_prog_compiler_pic_CXX='-pic'
31803
 
+           ;;
31804
 
+         *)
31805
 
+           ;;
31806
 
+       esac
31807
 
+       ;;
31808
 
+      freebsd* | dragonfly*)
31809
 
+       # FreeBSD uses GNU C++
31810
 
+       ;;
31811
 
+      hpux9* | hpux10* | hpux11*)
31812
 
+       case $cc_basename in
31813
 
+         CC*)
31814
 
+           lt_prog_compiler_wl_CXX='-Wl,'
31815
 
+           lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
31816
 
+           if test "$host_cpu" != ia64; then
31817
 
+             lt_prog_compiler_pic_CXX='+Z'
31818
 
+           fi
31819
 
+           ;;
31820
 
+         aCC*)
31821
 
+           lt_prog_compiler_wl_CXX='-Wl,'
31822
 
+           lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
31823
 
+           case $host_cpu in
31824
 
+           hppa*64*|ia64*)
31825
 
+             # +Z the default
31826
 
+             ;;
31827
 
+           *)
31828
 
+             lt_prog_compiler_pic_CXX='+Z'
31829
 
+             ;;
31830
 
+           esac
31831
 
+           ;;
31832
 
+         *)
31833
 
+           ;;
31834
 
+       esac
31835
 
+       ;;
31836
 
+      interix*)
31837
 
+       # This is c89, which is MS Visual C++ (no shared libs)
31838
 
+       # Anyone wants to do a port?
31839
 
+       ;;
31840
 
+      irix5* | irix6* | nonstopux*)
31841
 
+       case $cc_basename in
31842
 
+         CC*)
31843
 
+           lt_prog_compiler_wl_CXX='-Wl,'
31844
 
+           lt_prog_compiler_static_CXX='-non_shared'
31845
 
+           # CC pic flag -KPIC is the default.
31846
 
+           ;;
31847
 
+         *)
31848
 
+           ;;
31849
 
+       esac
31850
 
+       ;;
31851
 
+      linux* | k*bsd*-gnu)
31852
 
+       case $cc_basename in
31853
 
+         KCC*)
31854
 
+           # KAI C++ Compiler
31855
 
+           lt_prog_compiler_wl_CXX='--backend -Wl,'
31856
 
+           lt_prog_compiler_pic_CXX='-fPIC'
31857
 
+           ;;
31858
 
+         ecpc* )
31859
 
+           # old Intel C++ for x86_64 which still supported -KPIC.
31860
 
+           lt_prog_compiler_wl_CXX='-Wl,'
31861
 
+           lt_prog_compiler_pic_CXX='-KPIC'
31862
 
+           lt_prog_compiler_static_CXX='-static'
31863
 
+           ;;
31864
 
+         icpc* )
31865
 
+           # Intel C++, used to be incompatible with GCC.
31866
 
+           # ICC 10 doesn't accept -KPIC any more.
31867
 
+           lt_prog_compiler_wl_CXX='-Wl,'
31868
 
+           lt_prog_compiler_pic_CXX='-fPIC'
31869
 
+           lt_prog_compiler_static_CXX='-static'
31870
 
+           ;;
31871
 
+         pgCC* | pgcpp*)
31872
 
+           # Portland Group C++ compiler
31873
 
+           lt_prog_compiler_wl_CXX='-Wl,'
31874
 
+           lt_prog_compiler_pic_CXX='-fpic'
31875
 
+           lt_prog_compiler_static_CXX='-Bstatic'
31876
 
+           ;;
31877
 
+         cxx*)
31878
 
+           # Compaq C++
31879
 
+           # Make sure the PIC flag is empty.  It appears that all Alpha
31880
 
+           # Linux and Compaq Tru64 Unix objects are PIC.
31881
 
+           lt_prog_compiler_pic_CXX=
31882
 
+           lt_prog_compiler_static_CXX='-non_shared'
31883
 
+           ;;
31884
 
+         xlc* | xlC*)
31885
 
+           # IBM XL 8.0 on PPC
31886
 
+           lt_prog_compiler_wl_CXX='-Wl,'
31887
 
+           lt_prog_compiler_pic_CXX='-qpic'
31888
 
+           lt_prog_compiler_static_CXX='-qstaticlink'
31889
 
+           ;;
31890
 
+         *)
31891
 
+           case `$CC -V 2>&1 | sed 5q` in
31892
 
+           *Sun\ C*)
31893
 
+             # Sun C++ 5.9
31894
 
+             lt_prog_compiler_pic_CXX='-KPIC'
31895
 
+             lt_prog_compiler_static_CXX='-Bstatic'
31896
 
+             lt_prog_compiler_wl_CXX='-Qoption ld '
31897
 
+             ;;
31898
 
+           esac
31899
 
+           ;;
31900
 
+       esac
31901
 
+       ;;
31902
 
+      lynxos*)
31903
 
+       ;;
31904
 
+      m88k*)
31905
 
+       ;;
31906
 
+      mvs*)
31907
 
+       case $cc_basename in
31908
 
+         cxx*)
31909
 
+           lt_prog_compiler_pic_CXX='-W c,exportall'
31910
 
+           ;;
31911
 
+         *)
31912
 
+           ;;
31913
 
+       esac
31914
 
+       ;;
31915
 
+      netbsd* | netbsdelf*-gnu)
31916
 
+       ;;
31917
 
+      *qnx* | *nto*)
31918
 
+        # QNX uses GNU C++, but need to define -shared option too, otherwise
31919
 
+        # it will coredump.
31920
 
+        lt_prog_compiler_pic_CXX='-fPIC -shared'
31921
 
+        ;;
31922
 
+      osf3* | osf4* | osf5*)
31923
 
+       case $cc_basename in
31924
 
+         KCC*)
31925
 
+           lt_prog_compiler_wl_CXX='--backend -Wl,'
31926
 
+           ;;
31927
 
+         RCC*)
31928
 
+           # Rational C++ 2.4.1
31929
 
+           lt_prog_compiler_pic_CXX='-pic'
31930
 
+           ;;
31931
 
+         cxx*)
31932
 
+           # Digital/Compaq C++
31933
 
+           lt_prog_compiler_wl_CXX='-Wl,'
31934
 
+           # Make sure the PIC flag is empty.  It appears that all Alpha
31935
 
+           # Linux and Compaq Tru64 Unix objects are PIC.
31936
 
+           lt_prog_compiler_pic_CXX=
31937
 
+           lt_prog_compiler_static_CXX='-non_shared'
31938
 
+           ;;
31939
 
+         *)
31940
 
+           ;;
31941
 
+       esac
31942
 
+       ;;
31943
 
+      psos*)
31944
 
+       ;;
31945
 
+      solaris*)
31946
 
+       case $cc_basename in
31947
 
+         CC*)
31948
 
+           # Sun C++ 4.2, 5.x and Centerline C++
31949
 
+           lt_prog_compiler_pic_CXX='-KPIC'
31950
 
+           lt_prog_compiler_static_CXX='-Bstatic'
31951
 
+           lt_prog_compiler_wl_CXX='-Qoption ld '
31952
 
+           ;;
31953
 
+         gcx*)
31954
 
+           # Green Hills C++ Compiler
31955
 
+           lt_prog_compiler_pic_CXX='-PIC'
31956
 
+           ;;
31957
 
+         *)
31958
 
+           ;;
31959
 
+       esac
31960
 
+       ;;
31961
 
+      sunos4*)
31962
 
+       case $cc_basename in
31963
 
+         CC*)
31964
 
+           # Sun C++ 4.x
31965
 
+           lt_prog_compiler_pic_CXX='-pic'
31966
 
+           lt_prog_compiler_static_CXX='-Bstatic'
31967
 
+           ;;
31968
 
+         lcc*)
31969
 
+           # Lucid
31970
 
+           lt_prog_compiler_pic_CXX='-pic'
31971
 
+           ;;
31972
 
+         *)
31973
 
+           ;;
31974
 
        esac
31975
 
-       shared_flag='-shared'
31976
 
-       if test "$aix_use_runtimelinking" = yes; then
31977
 
-         shared_flag="$shared_flag "'${wl}-G'
31978
 
-       fi
31979
 
-      else
31980
 
-       # not using gcc
31981
 
-       if test "$host_cpu" = ia64; then
31982
 
-       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
31983
 
-       # chokes on -Wl,-G. The following line is correct:
31984
 
-         shared_flag='-G'
31985
 
-       else
31986
 
-         if test "$aix_use_runtimelinking" = yes; then
31987
 
-           shared_flag='${wl}-G'
31988
 
-         else
31989
 
-           shared_flag='${wl}-bM:SRE'
31990
 
-         fi
31991
 
-       fi
31992
 
-      fi
31993
 
+       ;;
31994
 
+      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
31995
 
+       case $cc_basename in
31996
 
+         CC*)
31997
 
+           lt_prog_compiler_wl_CXX='-Wl,'
31998
 
+           lt_prog_compiler_pic_CXX='-KPIC'
31999
 
+           lt_prog_compiler_static_CXX='-Bstatic'
32000
 
+           ;;
32001
 
+       esac
32002
 
+       ;;
32003
 
+      tandem*)
32004
 
+       case $cc_basename in
32005
 
+         NCC*)
32006
 
+           # NonStop-UX NCC 3.20
32007
 
+           lt_prog_compiler_pic_CXX='-KPIC'
32008
 
+           ;;
32009
 
+         *)
32010
 
+           ;;
32011
 
+       esac
32012
 
+       ;;
32013
 
+      vxworks*)
32014
 
+       ;;
32015
 
+      *)
32016
 
+       lt_prog_compiler_can_build_shared_CXX=no
32017
 
+       ;;
32018
 
+    esac
32019
 
+  fi
32020
 
 
32021
 
-      # It seems that -bexpall does not export symbols beginning with
32022
 
-      # underscore (_), so it is better to generate a list of symbols to export.
32023
 
-      always_export_symbols_GCJ=yes
32024
 
-      if test "$aix_use_runtimelinking" = yes; then
32025
 
-       # Warning - without using the other runtime loading flags (-brtl),
32026
 
-       # -berok will link without error, but may produce a broken library.
32027
 
-       allow_undefined_flag_GCJ='-berok'
32028
 
-       # Determine the default libpath from the value encoded in an empty executable.
32029
 
-       cat >conftest.$ac_ext <<_ACEOF
32030
 
-/* confdefs.h.  */
32031
 
-_ACEOF
32032
 
-cat confdefs.h >>conftest.$ac_ext
32033
 
-cat >>conftest.$ac_ext <<_ACEOF
32034
 
-/* end confdefs.h.  */
32035
 
+case $host_os in
32036
 
+  # For platforms which do not support PIC, -DPIC is meaningless:
32037
 
+  *djgpp*)
32038
 
+    lt_prog_compiler_pic_CXX=
32039
 
+    ;;
32040
 
+  *)
32041
 
+    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
32042
 
+    ;;
32043
 
+esac
32044
 
+{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
32045
 
+$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
32046
 
 
32047
 
-int
32048
 
-main ()
32049
 
-{
32050
 
 
32051
 
-  ;
32052
 
-  return 0;
32053
 
-}
32054
 
-_ACEOF
32055
 
-rm -f conftest.$ac_objext conftest$ac_exeext
32056
 
-if { (ac_try="$ac_link"
32057
 
-case "(($ac_try" in
32058
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32059
 
-  *) ac_try_echo=$ac_try;;
32060
 
-esac
32061
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32062
 
-  (eval "$ac_link") 2>conftest.er1
32063
 
-  ac_status=$?
32064
 
-  grep -v '^ *+' conftest.er1 >conftest.err
32065
 
-  rm -f conftest.er1
32066
 
-  cat conftest.err >&5
32067
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32068
 
-  (exit $ac_status); } && {
32069
 
-        test -z "$ac_c_werror_flag" ||
32070
 
-        test ! -s conftest.err
32071
 
-       } && test -s conftest$ac_exeext &&
32072
 
-       $as_test_x conftest$ac_exeext; then
32073
 
 
32074
 
-lt_aix_libpath_sed='
32075
 
-    /Import File Strings/,/^$/ {
32076
 
-       /^0/ {
32077
 
-           s/^0  *\(.*\)$/\1/
32078
 
-           p
32079
 
-       }
32080
 
-    }'
32081
 
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
32082
 
-# Check for a 64-bit object if we didn't find anything.
32083
 
-if test -z "$aix_libpath"; then
32084
 
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
32085
 
-fi
32086
 
+#
32087
 
+# Check to make sure the PIC flag actually works.
32088
 
+#
32089
 
+if test -n "$lt_prog_compiler_pic_CXX"; then
32090
 
+  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
32091
 
+$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
32092
 
+if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
32093
 
+  $as_echo_n "(cached) " >&6
32094
 
 else
32095
 
-  echo "$as_me: failed program was:" >&5
32096
 
-sed 's/^/| /' conftest.$ac_ext >&5
32097
 
-
32098
 
+  lt_cv_prog_compiler_pic_works_CXX=no
32099
 
+   ac_outfile=conftest.$ac_objext
32100
 
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
32101
 
+   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
32102
 
+   # Insert the option either (1) after the last *FLAGS variable, or
32103
 
+   # (2) before a word containing "conftest.", or (3) at the end.
32104
 
+   # Note that $ac_compile itself does not contain backslashes and begins
32105
 
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
32106
 
+   # The option is referenced via a variable to avoid confusing sed.
32107
 
+   lt_compile=`echo "$ac_compile" | $SED \
32108
 
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
32109
 
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
32110
 
+   -e 's:$: $lt_compiler_flag:'`
32111
 
+   (eval echo "\"\$as_me:16221: $lt_compile\"" >&5)
32112
 
+   (eval "$lt_compile" 2>conftest.err)
32113
 
+   ac_status=$?
32114
 
+   cat conftest.err >&5
32115
 
+   echo "$as_me:16225: \$? = $ac_status" >&5
32116
 
+   if (exit $ac_status) && test -s "$ac_outfile"; then
32117
 
+     # The compiler can only warn and ignore the option if not recognized
32118
 
+     # So say no if there are warnings other than the usual output.
32119
 
+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
32120
 
+     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
32121
 
+     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
32122
 
+       lt_cv_prog_compiler_pic_works_CXX=yes
32123
 
+     fi
32124
 
+   fi
32125
 
+   $RM conftest*
32126
 
 
32127
 
 fi
32128
 
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
32129
 
+$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
32130
 
 
32131
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32132
 
-      conftest$ac_exeext conftest.$ac_ext
32133
 
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
32134
 
-
32135
 
-       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
32136
 
-       archive_expsym_cmds_GCJ="\$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"
32137
 
-       else
32138
 
-       if test "$host_cpu" = ia64; then
32139
 
-         hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
32140
 
-         allow_undefined_flag_GCJ="-z nodefs"
32141
 
-         archive_expsym_cmds_GCJ="\$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"
32142
 
-       else
32143
 
-        # Determine the default libpath from the value encoded in an empty executable.
32144
 
-        cat >conftest.$ac_ext <<_ACEOF
32145
 
-/* confdefs.h.  */
32146
 
-_ACEOF
32147
 
-cat confdefs.h >>conftest.$ac_ext
32148
 
-cat >>conftest.$ac_ext <<_ACEOF
32149
 
-/* end confdefs.h.  */
32150
 
-
32151
 
-int
32152
 
-main ()
32153
 
-{
32154
 
-
32155
 
-  ;
32156
 
-  return 0;
32157
 
-}
32158
 
-_ACEOF
32159
 
-rm -f conftest.$ac_objext conftest$ac_exeext
32160
 
-if { (ac_try="$ac_link"
32161
 
-case "(($ac_try" in
32162
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32163
 
-  *) ac_try_echo=$ac_try;;
32164
 
-esac
32165
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32166
 
-  (eval "$ac_link") 2>conftest.er1
32167
 
-  ac_status=$?
32168
 
-  grep -v '^ *+' conftest.er1 >conftest.err
32169
 
-  rm -f conftest.er1
32170
 
-  cat conftest.err >&5
32171
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32172
 
-  (exit $ac_status); } && {
32173
 
-        test -z "$ac_c_werror_flag" ||
32174
 
-        test ! -s conftest.err
32175
 
-       } && test -s conftest$ac_exeext &&
32176
 
-       $as_test_x conftest$ac_exeext; then
32177
 
-
32178
 
-lt_aix_libpath_sed='
32179
 
-    /Import File Strings/,/^$/ {
32180
 
-       /^0/ {
32181
 
-           s/^0  *\(.*\)$/\1/
32182
 
-           p
32183
 
-       }
32184
 
-    }'
32185
 
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
32186
 
-# Check for a 64-bit object if we didn't find anything.
32187
 
-if test -z "$aix_libpath"; then
32188
 
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
32189
 
-fi
32190
 
+if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
32191
 
+    case $lt_prog_compiler_pic_CXX in
32192
 
+     "" | " "*) ;;
32193
 
+     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
32194
 
+     esac
32195
 
 else
32196
 
-  echo "$as_me: failed program was:" >&5
32197
 
-sed 's/^/| /' conftest.$ac_ext >&5
32198
 
-
32199
 
-
32200
 
+    lt_prog_compiler_pic_CXX=
32201
 
+     lt_prog_compiler_can_build_shared_CXX=no
32202
 
 fi
32203
 
 
32204
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32205
 
-      conftest$ac_exeext conftest.$ac_ext
32206
 
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
32207
 
-
32208
 
-        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
32209
 
-         # Warning - without using the other run time loading flags,
32210
 
-         # -berok will link without error, but may produce a broken library.
32211
 
-         no_undefined_flag_GCJ=' ${wl}-bernotok'
32212
 
-         allow_undefined_flag_GCJ=' ${wl}-berok'
32213
 
-         # Exported symbols can be pulled into shared objects from archives
32214
 
-         whole_archive_flag_spec_GCJ='$convenience'
32215
 
-         archive_cmds_need_lc_GCJ=yes
32216
 
-         # This is similar to how AIX traditionally builds its shared libraries.
32217
 
-         archive_expsym_cmds_GCJ="\$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'
32218
 
-       fi
32219
 
-      fi
32220
 
-      ;;
32221
 
-
32222
 
-    amigaos*)
32223
 
-      archive_cmds_GCJ='$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)'
32224
 
-      hardcode_libdir_flag_spec_GCJ='-L$libdir'
32225
 
-      hardcode_minus_L_GCJ=yes
32226
 
-      # see comment about different semantics on the GNU ld section
32227
 
-      ld_shlibs_GCJ=no
32228
 
-      ;;
32229
 
-
32230
 
-    bsdi[45]*)
32231
 
-      export_dynamic_flag_spec_GCJ=-rdynamic
32232
 
-      ;;
32233
 
-
32234
 
-    cygwin* | mingw* | pw32*)
32235
 
-      # When not using gcc, we currently assume that we are using
32236
 
-      # Microsoft Visual C++.
32237
 
-      # hardcode_libdir_flag_spec is actually meaningless, as there is
32238
 
-      # no search path for DLLs.
32239
 
-      hardcode_libdir_flag_spec_GCJ=' '
32240
 
-      allow_undefined_flag_GCJ=unsupported
32241
 
-      # Tell ltmain to make .lib files, not .a files.
32242
 
-      libext=lib
32243
 
-      # Tell ltmain to make .dll files, not .so files.
32244
 
-      shrext_cmds=".dll"
32245
 
-      # FIXME: Setting linknames here is a bad hack.
32246
 
-      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
32247
 
-      # The linker will automatically build a .lib file if we build a DLL.
32248
 
-      old_archive_From_new_cmds_GCJ='true'
32249
 
-      # FIXME: Should let the user specify the lib program.
32250
 
-      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
32251
 
-      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
32252
 
-      enable_shared_with_static_runtimes_GCJ=yes
32253
 
-      ;;
32254
 
-
32255
 
-    darwin* | rhapsody*)
32256
 
-      case $host_os in
32257
 
-        rhapsody* | darwin1.[012])
32258
 
-         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
32259
 
-         ;;
32260
 
-       *) # Darwin 1.3 on
32261
 
-         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
32262
 
-           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
32263
 
-         else
32264
 
-           case ${MACOSX_DEPLOYMENT_TARGET} in
32265
 
-             10.[012])
32266
 
-               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
32267
 
-               ;;
32268
 
-             10.*)
32269
 
-               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
32270
 
-               ;;
32271
 
-           esac
32272
 
-         fi
32273
 
-         ;;
32274
 
-      esac
32275
 
-      archive_cmds_need_lc_GCJ=no
32276
 
-      hardcode_direct_GCJ=no
32277
 
-      hardcode_automatic_GCJ=yes
32278
 
-      hardcode_shlibpath_var_GCJ=unsupported
32279
 
-      whole_archive_flag_spec_GCJ=''
32280
 
-      link_all_deplibs_GCJ=yes
32281
 
-    if test "$GCC" = yes ; then
32282
 
-       output_verbose_link_cmd='echo'
32283
 
-        archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
32284
 
-        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
32285
 
-        archive_expsym_cmds_GCJ="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}"
32286
 
-        module_expsym_cmds_GCJ="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}"
32287
 
-    else
32288
 
-      case $cc_basename in
32289
 
-        xlc*)
32290
 
-         output_verbose_link_cmd='echo'
32291
 
-         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
32292
 
-         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
32293
 
-          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
32294
 
-         archive_expsym_cmds_GCJ='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}'
32295
 
-          module_expsym_cmds_GCJ='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}'
32296
 
-          ;;
32297
 
-       *)
32298
 
-         ld_shlibs_GCJ=no
32299
 
-          ;;
32300
 
-      esac
32301
 
-    fi
32302
 
-      ;;
32303
 
-
32304
 
-    dgux*)
32305
 
-      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
32306
 
-      hardcode_libdir_flag_spec_GCJ='-L$libdir'
32307
 
-      hardcode_shlibpath_var_GCJ=no
32308
 
-      ;;
32309
 
-
32310
 
-    freebsd1*)
32311
 
-      ld_shlibs_GCJ=no
32312
 
-      ;;
32313
 
-
32314
 
-    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
32315
 
-    # support.  Future versions do this automatically, but an explicit c++rt0.o
32316
 
-    # does not break anything, and helps significantly (at the cost of a little
32317
 
-    # extra space).
32318
 
-    freebsd2.2*)
32319
 
-      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
32320
 
-      hardcode_libdir_flag_spec_GCJ='-R$libdir'
32321
 
-      hardcode_direct_GCJ=yes
32322
 
-      hardcode_shlibpath_var_GCJ=no
32323
 
-      ;;
32324
 
+fi
32325
 
 
32326
 
-    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
32327
 
-    freebsd2*)
32328
 
-      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
32329
 
-      hardcode_direct_GCJ=yes
32330
 
-      hardcode_minus_L_GCJ=yes
32331
 
-      hardcode_shlibpath_var_GCJ=no
32332
 
-      ;;
32333
 
 
32334
 
-    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
32335
 
-    freebsd* | dragonfly*)
32336
 
-      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
32337
 
-      hardcode_libdir_flag_spec_GCJ='-R$libdir'
32338
 
-      hardcode_direct_GCJ=yes
32339
 
-      hardcode_shlibpath_var_GCJ=no
32340
 
-      ;;
32341
 
 
32342
 
-    hpux9*)
32343
 
-      if test "$GCC" = yes; then
32344
 
-       archive_cmds_GCJ='$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'
32345
 
-      else
32346
 
-       archive_cmds_GCJ='$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'
32347
 
-      fi
32348
 
-      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
32349
 
-      hardcode_libdir_separator_GCJ=:
32350
 
-      hardcode_direct_GCJ=yes
32351
 
+#
32352
 
+# Check to make sure the static flag actually works.
32353
 
+#
32354
 
+wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
32355
 
+{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
32356
 
+$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
32357
 
+if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
32358
 
+  $as_echo_n "(cached) " >&6
32359
 
+else
32360
 
+  lt_cv_prog_compiler_static_works_CXX=no
32361
 
+   save_LDFLAGS="$LDFLAGS"
32362
 
+   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
32363
 
+   echo "$lt_simple_link_test_code" > conftest.$ac_ext
32364
 
+   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
32365
 
+     # The linker can only warn and ignore the option if not recognized
32366
 
+     # So say no if there are warnings
32367
 
+     if test -s conftest.err; then
32368
 
+       # Append any errors to the config.log.
32369
 
+       cat conftest.err 1>&5
32370
 
+       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
32371
 
+       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
32372
 
+       if diff conftest.exp conftest.er2 >/dev/null; then
32373
 
+         lt_cv_prog_compiler_static_works_CXX=yes
32374
 
+       fi
32375
 
+     else
32376
 
+       lt_cv_prog_compiler_static_works_CXX=yes
32377
 
+     fi
32378
 
+   fi
32379
 
+   $RM -r conftest*
32380
 
+   LDFLAGS="$save_LDFLAGS"
32381
 
 
32382
 
-      # hardcode_minus_L: Not really in the search PATH,
32383
 
-      # but as the default location of the library.
32384
 
-      hardcode_minus_L_GCJ=yes
32385
 
-      export_dynamic_flag_spec_GCJ='${wl}-E'
32386
 
-      ;;
32387
 
+fi
32388
 
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
32389
 
+$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
32390
 
 
32391
 
-    hpux10*)
32392
 
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
32393
 
-       archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
32394
 
-      else
32395
 
-       archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
32396
 
-      fi
32397
 
-      if test "$with_gnu_ld" = no; then
32398
 
-       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
32399
 
-       hardcode_libdir_separator_GCJ=:
32400
 
+if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
32401
 
+    :
32402
 
+else
32403
 
+    lt_prog_compiler_static_CXX=
32404
 
+fi
32405
 
 
32406
 
-       hardcode_direct_GCJ=yes
32407
 
-       export_dynamic_flag_spec_GCJ='${wl}-E'
32408
 
 
32409
 
-       # hardcode_minus_L: Not really in the search PATH,
32410
 
-       # but as the default location of the library.
32411
 
-       hardcode_minus_L_GCJ=yes
32412
 
-      fi
32413
 
-      ;;
32414
 
 
32415
 
-    hpux11*)
32416
 
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
32417
 
-       case $host_cpu in
32418
 
-       hppa*64*)
32419
 
-         archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
32420
 
-         ;;
32421
 
-       ia64*)
32422
 
-         archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
32423
 
-         ;;
32424
 
-       *)
32425
 
-         archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
32426
 
-         ;;
32427
 
-       esac
32428
 
-      else
32429
 
-       case $host_cpu in
32430
 
-       hppa*64*)
32431
 
-         archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
32432
 
-         ;;
32433
 
-       ia64*)
32434
 
-         archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
32435
 
-         ;;
32436
 
-       *)
32437
 
-         archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
32438
 
-         ;;
32439
 
-       esac
32440
 
-      fi
32441
 
-      if test "$with_gnu_ld" = no; then
32442
 
-       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
32443
 
-       hardcode_libdir_separator_GCJ=:
32444
 
 
32445
 
-       case $host_cpu in
32446
 
-       hppa*64*|ia64*)
32447
 
-         hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
32448
 
-         hardcode_direct_GCJ=no
32449
 
-         hardcode_shlibpath_var_GCJ=no
32450
 
-         ;;
32451
 
-       *)
32452
 
-         hardcode_direct_GCJ=yes
32453
 
-         export_dynamic_flag_spec_GCJ='${wl}-E'
32454
 
+    { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
32455
 
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
32456
 
+if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
32457
 
+  $as_echo_n "(cached) " >&6
32458
 
+else
32459
 
+  lt_cv_prog_compiler_c_o_CXX=no
32460
 
+   $RM -r conftest 2>/dev/null
32461
 
+   mkdir conftest
32462
 
+   cd conftest
32463
 
+   mkdir out
32464
 
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
32465
 
 
32466
 
-         # hardcode_minus_L: Not really in the search PATH,
32467
 
-         # but as the default location of the library.
32468
 
-         hardcode_minus_L_GCJ=yes
32469
 
-         ;;
32470
 
-       esac
32471
 
-      fi
32472
 
-      ;;
32473
 
+   lt_compiler_flag="-o out/conftest2.$ac_objext"
32474
 
+   # Insert the option either (1) after the last *FLAGS variable, or
32475
 
+   # (2) before a word containing "conftest.", or (3) at the end.
32476
 
+   # Note that $ac_compile itself does not contain backslashes and begins
32477
 
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
32478
 
+   lt_compile=`echo "$ac_compile" | $SED \
32479
 
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
32480
 
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
32481
 
+   -e 's:$: $lt_compiler_flag:'`
32482
 
+   (eval echo "\"\$as_me:16320: $lt_compile\"" >&5)
32483
 
+   (eval "$lt_compile" 2>out/conftest.err)
32484
 
+   ac_status=$?
32485
 
+   cat out/conftest.err >&5
32486
 
+   echo "$as_me:16324: \$? = $ac_status" >&5
32487
 
+   if (exit $ac_status) && test -s out/conftest2.$ac_objext
32488
 
+   then
32489
 
+     # The compiler can only warn and ignore the option if not recognized
32490
 
+     # So say no if there are warnings
32491
 
+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
32492
 
+     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
32493
 
+     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
32494
 
+       lt_cv_prog_compiler_c_o_CXX=yes
32495
 
+     fi
32496
 
+   fi
32497
 
+   chmod u+w . 2>&5
32498
 
+   $RM conftest*
32499
 
+   # SGI C++ compiler will create directory out/ii_files/ for
32500
 
+   # template instantiation
32501
 
+   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
32502
 
+   $RM out/* && rmdir out
32503
 
+   cd ..
32504
 
+   $RM -r conftest
32505
 
+   $RM conftest*
32506
 
 
32507
 
-    irix5* | irix6* | nonstopux*)
32508
 
-      if test "$GCC" = yes; then
32509
 
-       archive_cmds_GCJ='$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'
32510
 
-      else
32511
 
-       archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
32512
 
-       hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
32513
 
-      fi
32514
 
-      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
32515
 
-      hardcode_libdir_separator_GCJ=:
32516
 
-      link_all_deplibs_GCJ=yes
32517
 
-      ;;
32518
 
+fi
32519
 
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
32520
 
+$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
32521
 
 
32522
 
-    netbsd* | netbsdelf*-gnu)
32523
 
-      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
32524
 
-       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
32525
 
-      else
32526
 
-       archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
32527
 
-      fi
32528
 
-      hardcode_libdir_flag_spec_GCJ='-R$libdir'
32529
 
-      hardcode_direct_GCJ=yes
32530
 
-      hardcode_shlibpath_var_GCJ=no
32531
 
-      ;;
32532
 
 
32533
 
-    newsos6)
32534
 
-      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
32535
 
-      hardcode_direct_GCJ=yes
32536
 
-      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
32537
 
-      hardcode_libdir_separator_GCJ=:
32538
 
-      hardcode_shlibpath_var_GCJ=no
32539
 
-      ;;
32540
 
 
32541
 
-    openbsd*)
32542
 
-      if test -f /usr/libexec/ld.so; then
32543
 
-       hardcode_direct_GCJ=yes
32544
 
-       hardcode_shlibpath_var_GCJ=no
32545
 
-       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
32546
 
-         archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
32547
 
-         archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
32548
 
-         hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
32549
 
-         export_dynamic_flag_spec_GCJ='${wl}-E'
32550
 
-       else
32551
 
-         case $host_os in
32552
 
-          openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
32553
 
-            archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
32554
 
-            hardcode_libdir_flag_spec_GCJ='-R$libdir'
32555
 
-            ;;
32556
 
-          *)
32557
 
-            archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
32558
 
-            hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
32559
 
-            ;;
32560
 
-         esac
32561
 
-        fi
32562
 
-      else
32563
 
-       ld_shlibs_GCJ=no
32564
 
-      fi
32565
 
-      ;;
32566
 
+    { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
32567
 
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
32568
 
+if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
32569
 
+  $as_echo_n "(cached) " >&6
32570
 
+else
32571
 
+  lt_cv_prog_compiler_c_o_CXX=no
32572
 
+   $RM -r conftest 2>/dev/null
32573
 
+   mkdir conftest
32574
 
+   cd conftest
32575
 
+   mkdir out
32576
 
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
32577
 
 
32578
 
-    os2*)
32579
 
-      hardcode_libdir_flag_spec_GCJ='-L$libdir'
32580
 
-      hardcode_minus_L_GCJ=yes
32581
 
-      allow_undefined_flag_GCJ=unsupported
32582
 
-      archive_cmds_GCJ='$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'
32583
 
-      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
32584
 
-      ;;
32585
 
+   lt_compiler_flag="-o out/conftest2.$ac_objext"
32586
 
+   # Insert the option either (1) after the last *FLAGS variable, or
32587
 
+   # (2) before a word containing "conftest.", or (3) at the end.
32588
 
+   # Note that $ac_compile itself does not contain backslashes and begins
32589
 
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
32590
 
+   lt_compile=`echo "$ac_compile" | $SED \
32591
 
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
32592
 
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
32593
 
+   -e 's:$: $lt_compiler_flag:'`
32594
 
+   (eval echo "\"\$as_me:16372: $lt_compile\"" >&5)
32595
 
+   (eval "$lt_compile" 2>out/conftest.err)
32596
 
+   ac_status=$?
32597
 
+   cat out/conftest.err >&5
32598
 
+   echo "$as_me:16376: \$? = $ac_status" >&5
32599
 
+   if (exit $ac_status) && test -s out/conftest2.$ac_objext
32600
 
+   then
32601
 
+     # The compiler can only warn and ignore the option if not recognized
32602
 
+     # So say no if there are warnings
32603
 
+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
32604
 
+     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
32605
 
+     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
32606
 
+       lt_cv_prog_compiler_c_o_CXX=yes
32607
 
+     fi
32608
 
+   fi
32609
 
+   chmod u+w . 2>&5
32610
 
+   $RM conftest*
32611
 
+   # SGI C++ compiler will create directory out/ii_files/ for
32612
 
+   # template instantiation
32613
 
+   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
32614
 
+   $RM out/* && rmdir out
32615
 
+   cd ..
32616
 
+   $RM -r conftest
32617
 
+   $RM conftest*
32618
 
 
32619
 
-    osf3*)
32620
 
-      if test "$GCC" = yes; then
32621
 
-       allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
32622
 
-       archive_cmds_GCJ='$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'
32623
 
-      else
32624
 
-       allow_undefined_flag_GCJ=' -expect_unresolved \*'
32625
 
-       archive_cmds_GCJ='$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'
32626
 
-      fi
32627
 
-      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
32628
 
-      hardcode_libdir_separator_GCJ=:
32629
 
-      ;;
32630
 
+fi
32631
 
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
32632
 
+$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
32633
 
 
32634
 
-    osf4* | osf5*)     # as osf3* with the addition of -msym flag
32635
 
-      if test "$GCC" = yes; then
32636
 
-       allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
32637
 
-       archive_cmds_GCJ='$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'
32638
 
-       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
32639
 
-      else
32640
 
-       allow_undefined_flag_GCJ=' -expect_unresolved \*'
32641
 
-       archive_cmds_GCJ='$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'
32642
 
-       archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
32643
 
-       $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'
32644
 
 
32645
 
-       # Both c and cxx compiler support -rpath directly
32646
 
-       hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
32647
 
-      fi
32648
 
-      hardcode_libdir_separator_GCJ=:
32649
 
-      ;;
32650
 
 
32651
 
-    solaris*)
32652
 
-      no_undefined_flag_GCJ=' -z text'
32653
 
-      if test "$GCC" = yes; then
32654
 
-       wlarc='${wl}'
32655
 
-       archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
32656
 
-       archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
32657
 
-         $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
32658
 
-      else
32659
 
-       wlarc=''
32660
 
-       archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
32661
 
-       archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
32662
 
-       $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
32663
 
-      fi
32664
 
-      hardcode_libdir_flag_spec_GCJ='-R$libdir'
32665
 
-      hardcode_shlibpath_var_GCJ=no
32666
 
-      case $host_os in
32667
 
-      solaris2.[0-5] | solaris2.[0-5].*) ;;
32668
 
-      *)
32669
 
-       # The compiler driver will combine and reorder linker options,
32670
 
-       # but understands `-z linker_flag'.  GCC discards it without `$wl',
32671
 
-       # but is careful enough not to reorder.
32672
 
-       # Supported since Solaris 2.6 (maybe 2.5.1?)
32673
 
-       if test "$GCC" = yes; then
32674
 
-         whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
32675
 
-       else
32676
 
-         whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
32677
 
-       fi
32678
 
-       ;;
32679
 
-      esac
32680
 
-      link_all_deplibs_GCJ=yes
32681
 
-      ;;
32682
 
 
32683
 
-    sunos4*)
32684
 
-      if test "x$host_vendor" = xsequent; then
32685
 
-       # Use $CC to link under sequent, because it throws in some extra .o
32686
 
-       # files that make .init and .fini sections work.
32687
 
-       archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
32688
 
-      else
32689
 
-       archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
32690
 
-      fi
32691
 
-      hardcode_libdir_flag_spec_GCJ='-L$libdir'
32692
 
-      hardcode_direct_GCJ=yes
32693
 
-      hardcode_minus_L_GCJ=yes
32694
 
-      hardcode_shlibpath_var_GCJ=no
32695
 
-      ;;
32696
 
+hard_links="nottested"
32697
 
+if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
32698
 
+  # do not overwrite the value of need_locks provided by the user
32699
 
+  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
32700
 
+$as_echo_n "checking if we can lock with hard links... " >&6; }
32701
 
+  hard_links=yes
32702
 
+  $RM conftest*
32703
 
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
32704
 
+  touch conftest.a
32705
 
+  ln conftest.a conftest.b 2>&5 || hard_links=no
32706
 
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
32707
 
+  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
32708
 
+$as_echo "$hard_links" >&6; }
32709
 
+  if test "$hard_links" = no; then
32710
 
+    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
32711
 
+$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
32712
 
+    need_locks=warn
32713
 
+  fi
32714
 
+else
32715
 
+  need_locks=no
32716
 
+fi
32717
 
 
32718
 
-    sysv4)
32719
 
-      case $host_vendor in
32720
 
-       sni)
32721
 
-         archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
32722
 
-         hardcode_direct_GCJ=yes # is this really true???
32723
 
-       ;;
32724
 
-       siemens)
32725
 
-         ## LD is ld it makes a PLAMLIB
32726
 
-         ## CC just makes a GrossModule.
32727
 
-         archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
32728
 
-         reload_cmds_GCJ='$CC -r -o $output$reload_objs'
32729
 
-         hardcode_direct_GCJ=no
32730
 
-        ;;
32731
 
-       motorola)
32732
 
-         archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
32733
 
-         hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
32734
 
-       ;;
32735
 
-      esac
32736
 
-      runpath_var='LD_RUN_PATH'
32737
 
-      hardcode_shlibpath_var_GCJ=no
32738
 
-      ;;
32739
 
 
32740
 
-    sysv4.3*)
32741
 
-      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
32742
 
-      hardcode_shlibpath_var_GCJ=no
32743
 
-      export_dynamic_flag_spec_GCJ='-Bexport'
32744
 
-      ;;
32745
 
 
32746
 
-    sysv4*MP*)
32747
 
-      if test -d /usr/nec; then
32748
 
-       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
32749
 
-       hardcode_shlibpath_var_GCJ=no
32750
 
-       runpath_var=LD_RUN_PATH
32751
 
-       hardcode_runpath_var=yes
32752
 
-       ld_shlibs_GCJ=yes
32753
 
-      fi
32754
 
-      ;;
32755
 
+    { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
32756
 
+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
32757
 
 
32758
 
-    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
32759
 
-      no_undefined_flag_GCJ='${wl}-z,text'
32760
 
-      archive_cmds_need_lc_GCJ=no
32761
 
-      hardcode_shlibpath_var_GCJ=no
32762
 
-      runpath_var='LD_RUN_PATH'
32763
 
+  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
32764
 
+  case $host_os in
32765
 
+  aix[4-9]*)
32766
 
+    # If we're using GNU nm, then we don't want the "-C" option.
32767
 
+    # -C means demangle to AIX nm, but means don't demangle with GNU nm
32768
 
+    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
32769
 
+      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
32770
 
+    else
32771
 
+      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
32772
 
+    fi
32773
 
+    ;;
32774
 
+  pw32*)
32775
 
+    export_symbols_cmds_CXX="$ltdll_cmds"
32776
 
+  ;;
32777
 
+  cygwin* | mingw* | cegcc*)
32778
 
+    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'
32779
 
+  ;;
32780
 
+  linux* | k*bsd*-gnu)
32781
 
+    link_all_deplibs_CXX=no
32782
 
+  ;;
32783
 
+  *)
32784
 
+    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
32785
 
+  ;;
32786
 
+  esac
32787
 
+  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
32788
 
 
32789
 
-      if test "$GCC" = yes; then
32790
 
-       archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
32791
 
-       archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
32792
 
-      else
32793
 
-       archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
32794
 
-       archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
32795
 
-      fi
32796
 
-      ;;
32797
 
+{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
32798
 
+$as_echo "$ld_shlibs_CXX" >&6; }
32799
 
+test "$ld_shlibs_CXX" = no && can_build_shared=no
32800
 
+
32801
 
+with_gnu_ld_CXX=$with_gnu_ld
32802
 
 
32803
 
-    sysv5* | sco3.2v5* | sco5v6*)
32804
 
-      # Note: We can NOT use -z defs as we might desire, because we do not
32805
 
-      # link with -lc, and that would cause any symbols used from libc to
32806
 
-      # always be unresolved, which means just about no library would
32807
 
-      # ever link correctly.  If we're not using GNU ld we use -z text
32808
 
-      # though, which does catch some bad symbols but isn't as heavy-handed
32809
 
-      # as -z defs.
32810
 
-      no_undefined_flag_GCJ='${wl}-z,text'
32811
 
-      allow_undefined_flag_GCJ='${wl}-z,nodefs'
32812
 
-      archive_cmds_need_lc_GCJ=no
32813
 
-      hardcode_shlibpath_var_GCJ=no
32814
 
-      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
32815
 
-      hardcode_libdir_separator_GCJ=':'
32816
 
-      link_all_deplibs_GCJ=yes
32817
 
-      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
32818
 
-      runpath_var='LD_RUN_PATH'
32819
 
 
32820
 
-      if test "$GCC" = yes; then
32821
 
-       archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
32822
 
-       archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
32823
 
-      else
32824
 
-       archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
32825
 
-       archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
32826
 
-      fi
32827
 
-      ;;
32828
 
 
32829
 
-    uts4*)
32830
 
-      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
32831
 
-      hardcode_libdir_flag_spec_GCJ='-L$libdir'
32832
 
-      hardcode_shlibpath_var_GCJ=no
32833
 
-      ;;
32834
 
 
32835
 
-    *)
32836
 
-      ld_shlibs_GCJ=no
32837
 
-      ;;
32838
 
-    esac
32839
 
-  fi
32840
 
 
32841
 
-{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
32842
 
-echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
32843
 
-test "$ld_shlibs_GCJ" = no && can_build_shared=no
32844
 
 
32845
 
 #
32846
 
 # Do we need to explicitly link libc?
32847
 
 #
32848
 
-case "x$archive_cmds_need_lc_GCJ" in
32849
 
+case "x$archive_cmds_need_lc_CXX" in
32850
 
 x|xyes)
32851
 
   # Assume -lc should be added
32852
 
-  archive_cmds_need_lc_GCJ=yes
32853
 
+  archive_cmds_need_lc_CXX=yes
32854
 
 
32855
 
   if test "$enable_shared" = yes && test "$GCC" = yes; then
32856
 
-    case $archive_cmds_GCJ in
32857
 
+    case $archive_cmds_CXX in
32858
 
     *'~'*)
32859
 
       # FIXME: we may have to deal with multi-command sequences.
32860
 
       ;;
32861
 
@@ -20215,54 +16482,118 @@
32862
 
       # Test whether the compiler implicitly links with -lc since on some
32863
 
       # systems, -lgcc has to come before -lc. If gcc already passes -lc
32864
 
       # to ld, don't add -lc before -lgcc.
32865
 
-      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
32866
 
-echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
32867
 
-      $rm conftest*
32868
 
+      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
32869
 
+$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
32870
 
+      $RM conftest*
32871
 
       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
32872
 
 
32873
 
       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32874
 
   (eval $ac_compile) 2>&5
32875
 
   ac_status=$?
32876
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32877
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32878
 
   (exit $ac_status); } 2>conftest.err; then
32879
 
         soname=conftest
32880
 
         lib=conftest
32881
 
         libobjs=conftest.$ac_objext
32882
 
         deplibs=
32883
 
-        wl=$lt_prog_compiler_wl_GCJ
32884
 
-       pic_flag=$lt_prog_compiler_pic_GCJ
32885
 
+        wl=$lt_prog_compiler_wl_CXX
32886
 
+       pic_flag=$lt_prog_compiler_pic_CXX
32887
 
         compiler_flags=-v
32888
 
         linker_flags=-v
32889
 
         verstring=
32890
 
         output_objdir=.
32891
 
         libname=conftest
32892
 
-        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
32893
 
-        allow_undefined_flag_GCJ=
32894
 
-        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
32895
 
-  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
32896
 
+        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
32897
 
+        allow_undefined_flag_CXX=
32898
 
+        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
32899
 
+  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
32900
 
   ac_status=$?
32901
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32902
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32903
 
   (exit $ac_status); }
32904
 
         then
32905
 
-         archive_cmds_need_lc_GCJ=no
32906
 
+         archive_cmds_need_lc_CXX=no
32907
 
         else
32908
 
-         archive_cmds_need_lc_GCJ=yes
32909
 
+         archive_cmds_need_lc_CXX=yes
32910
 
         fi
32911
 
-        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
32912
 
+        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
32913
 
       else
32914
 
         cat conftest.err 1>&5
32915
 
       fi
32916
 
-      $rm conftest*
32917
 
-      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
32918
 
-echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
32919
 
+      $RM conftest*
32920
 
+      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
32921
 
+$as_echo "$archive_cmds_need_lc_CXX" >&6; }
32922
 
       ;;
32923
 
     esac
32924
 
   fi
32925
 
   ;;
32926
 
 esac
32927
 
 
32928
 
-{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
32929
 
-echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
32930
 
+
32931
 
+
32932
 
+
32933
 
+
32934
 
+
32935
 
+
32936
 
+
32937
 
+
32938
 
+
32939
 
+
32940
 
+
32941
 
+
32942
 
+
32943
 
+
32944
 
+
32945
 
+
32946
 
+
32947
 
+
32948
 
+
32949
 
+
32950
 
+
32951
 
+
32952
 
+
32953
 
+
32954
 
+
32955
 
+
32956
 
+
32957
 
+
32958
 
+
32959
 
+
32960
 
+
32961
 
+
32962
 
+
32963
 
+
32964
 
+
32965
 
+
32966
 
+
32967
 
+
32968
 
+
32969
 
+
32970
 
+
32971
 
+
32972
 
+
32973
 
+
32974
 
+
32975
 
+
32976
 
+
32977
 
+
32978
 
+
32979
 
+
32980
 
+
32981
 
+
32982
 
+
32983
 
+
32984
 
+
32985
 
+
32986
 
+
32987
 
+
32988
 
+
32989
 
+
32990
 
+
32991
 
+
32992
 
+
32993
 
+    { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
32994
 
+$as_echo_n "checking dynamic linker characteristics... " >&6; }
32995
 
+
32996
 
 library_names_spec=
32997
 
 libname_spec='lib$name'
32998
 
 soname_spec=
32999
 
@@ -20276,7 +16607,6 @@
33000
 
 version_type=none
33001
 
 dynamic_linker="$host_os ld.so"
33002
 
 sys_lib_dlsearch_path_spec="/lib /usr/lib"
33003
 
-
33004
 
 need_lib_prefix=unknown
33005
 
 hardcode_into_libs=no
33006
 
 
33007
 
@@ -20313,7 +16643,7 @@
33008
 
       aix4 | aix4.[01] | aix4.[01].*)
33009
 
       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
33010
 
           echo ' yes '
33011
 
-          echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
33012
 
+          echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
33013
 
        :
33014
 
       else
33015
 
        can_build_shared=no
33016
 
@@ -20339,9 +16669,18 @@
33017
 
   ;;
33018
 
 
33019
 
 amigaos*)
33020
 
-  library_names_spec='$libname.ixlibrary $libname.a'
33021
 
-  # Create ${libname}_ixlibrary.a entries in /sys/libs.
33022
 
-  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'
33023
 
+  case $host_cpu in
33024
 
+  powerpc)
33025
 
+    # Since July 2007 AmigaOS4 officially supports .so libraries.
33026
 
+    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
33027
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
33028
 
+    ;;
33029
 
+  m68k)
33030
 
+    library_names_spec='$libname.ixlibrary $libname.a'
33031
 
+    # Create ${libname}_ixlibrary.a entries in /sys/libs.
33032
 
+    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'
33033
 
+    ;;
33034
 
+  esac
33035
 
   ;;
33036
 
 
33037
 
 beos*)
33038
 
@@ -20364,25 +16703,28 @@
33039
 
   # libtool to hard-code these into programs
33040
 
   ;;
33041
 
 
33042
 
-cygwin* | mingw* | pw32*)
33043
 
+cygwin* | mingw* | pw32* | cegcc*)
33044
 
   version_type=windows
33045
 
   shrext_cmds=".dll"
33046
 
   need_version=no
33047
 
   need_lib_prefix=no
33048
 
 
33049
 
   case $GCC,$host_os in
33050
 
-  yes,cygwin* | yes,mingw* | yes,pw32*)
33051
 
+  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
33052
 
     library_names_spec='$libname.dll.a'
33053
 
     # DLL is installed to $(libdir)/../bin by postinstall_cmds
33054
 
     postinstall_cmds='base_file=`basename \${file}`~
33055
 
-      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
33056
 
+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
33057
 
       dldir=$destdir/`dirname \$dlpath`~
33058
 
       test -d \$dldir || mkdir -p \$dldir~
33059
 
       $install_prog $dir/$dlname \$dldir/$dlname~
33060
 
-      chmod a+x \$dldir/$dlname'
33061
 
+      chmod a+x \$dldir/$dlname~
33062
 
+      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
33063
 
+        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
33064
 
+      fi'
33065
 
     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
33066
 
       dlpath=$dir/\$dldll~
33067
 
-       $rm \$dlpath'
33068
 
+       $RM \$dlpath'
33069
 
     shlibpath_overrides_runpath=yes
33070
 
 
33071
 
     case $host_os in
33072
 
@@ -20391,20 +16733,20 @@
33073
 
       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
33074
 
       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
33075
 
       ;;
33076
 
-    mingw*)
33077
 
+    mingw* | cegcc*)
33078
 
       # MinGW DLLs use traditional 'lib' prefix
33079
 
       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
33080
 
-      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
33081
 
-      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
33082
 
+      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
33083
 
+      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
33084
 
         # It is most probably a Windows format PATH printed by
33085
 
         # mingw gcc, but we are running on Cygwin. Gcc prints its search
33086
 
         # path with ; separators, and with drive letters. We can handle the
33087
 
         # drive letters (cygwin fileutils understands them), so leave them,
33088
 
         # especially as we might pass files found there to a mingw objdump,
33089
 
         # which wouldn't understand a cygwinified path. Ahh.
33090
 
-        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
33091
 
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
33092
 
       else
33093
 
-        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
33094
 
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
33095
 
       fi
33096
 
       ;;
33097
 
     pw32*)
33098
 
@@ -20428,7 +16770,7 @@
33099
 
   version_type=darwin
33100
 
   need_lib_prefix=no
33101
 
   need_version=no
33102
 
-  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
33103
 
+  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
33104
 
   soname_spec='${libname}${release}${major}$shared_ext'
33105
 
   shlibpath_overrides_runpath=yes
33106
 
   shlibpath_var=DYLD_LIBRARY_PATH
33107
 
@@ -20526,18 +16868,18 @@
33108
 
     fi
33109
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
33110
 
     ;;
33111
 
-   hppa*64*)
33112
 
-     shrext_cmds='.sl'
33113
 
-     hardcode_into_libs=yes
33114
 
-     dynamic_linker="$host_os dld.sl"
33115
 
-     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
33116
 
-     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
33117
 
-     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
33118
 
-     soname_spec='${libname}${release}${shared_ext}$major'
33119
 
-     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
33120
 
-     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
33121
 
-     ;;
33122
 
-   *)
33123
 
+  hppa*64*)
33124
 
+    shrext_cmds='.sl'
33125
 
+    hardcode_into_libs=yes
33126
 
+    dynamic_linker="$host_os dld.sl"
33127
 
+    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
33128
 
+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
33129
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
33130
 
+    soname_spec='${libname}${release}${shared_ext}$major'
33131
 
+    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
33132
 
+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
33133
 
+    ;;
33134
 
+  *)
33135
 
     shrext_cmds='.sl'
33136
 
     dynamic_linker="$host_os dld.sl"
33137
 
     shlibpath_var=SHLIB_PATH
33138
 
@@ -20614,6 +16956,64 @@
33139
 
   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
33140
 
   shlibpath_var=LD_LIBRARY_PATH
33141
 
   shlibpath_overrides_runpath=no
33142
 
+  # Some binutils ld are patched to set DT_RUNPATH
33143
 
+  save_LDFLAGS=$LDFLAGS
33144
 
+  save_libdir=$libdir
33145
 
+  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
33146
 
+       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
33147
 
+  cat >conftest.$ac_ext <<_ACEOF
33148
 
+/* confdefs.h.  */
33149
 
+_ACEOF
33150
 
+cat confdefs.h >>conftest.$ac_ext
33151
 
+cat >>conftest.$ac_ext <<_ACEOF
33152
 
+/* end confdefs.h.  */
33153
 
+
33154
 
+int
33155
 
+main ()
33156
 
+{
33157
 
+
33158
 
+  ;
33159
 
+  return 0;
33160
 
+}
33161
 
+_ACEOF
33162
 
+rm -f conftest.$ac_objext conftest$ac_exeext
33163
 
+if { (ac_try="$ac_link"
33164
 
+case "(($ac_try" in
33165
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33166
 
+  *) ac_try_echo=$ac_try;;
33167
 
+esac
33168
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
33169
 
+$as_echo "$ac_try_echo") >&5
33170
 
+  (eval "$ac_link") 2>conftest.er1
33171
 
+  ac_status=$?
33172
 
+  grep -v '^ *+' conftest.er1 >conftest.err
33173
 
+  rm -f conftest.er1
33174
 
+  cat conftest.err >&5
33175
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33176
 
+  (exit $ac_status); } && {
33177
 
+        test -z "$ac_cxx_werror_flag" ||
33178
 
+        test ! -s conftest.err
33179
 
+       } && test -s conftest$ac_exeext && {
33180
 
+        test "$cross_compiling" = yes ||
33181
 
+        $as_test_x conftest$ac_exeext
33182
 
+       }; then
33183
 
+  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
33184
 
+  shlibpath_overrides_runpath=yes
33185
 
+fi
33186
 
+
33187
 
+else
33188
 
+  $as_echo "$as_me: failed program was:" >&5
33189
 
+sed 's/^/| /' conftest.$ac_ext >&5
33190
 
+
33191
 
+
33192
 
+fi
33193
 
+
33194
 
+rm -rf conftest.dSYM
33195
 
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33196
 
+      conftest$ac_exeext conftest.$ac_ext
33197
 
+  LDFLAGS=$save_LDFLAGS
33198
 
+  libdir=$save_libdir
33199
 
+
33200
 
   # This implies no fast_install, which is unacceptable.
33201
 
   # Some rework will be needed to allow for fast_install
33202
 
   # before this can be enabled.
33203
 
@@ -20621,7 +17021,7 @@
33204
 
 
33205
 
   # Append ld.so.conf contents to the search path
33206
 
   if test -f /etc/ld.so.conf; then
33207
 
-    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' ' '`
33208
 
+    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' ' '`
33209
 
     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
33210
 
   fi
33211
 
 
33212
 
@@ -20650,7 +17050,7 @@
33213
 
   version_type=sunos
33214
 
   need_lib_prefix=no
33215
 
   need_version=no
33216
 
-  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
33217
 
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
33218
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
33219
 
     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
33220
 
     dynamic_linker='NetBSD (a.out) ld.so'
33221
 
@@ -20671,14 +17071,16 @@
33222
 
   shlibpath_overrides_runpath=yes
33223
 
   ;;
33224
 
 
33225
 
-nto-qnx*)
33226
 
-  version_type=linux
33227
 
+*nto* | *qnx*)
33228
 
+  version_type=qnx
33229
 
   need_lib_prefix=no
33230
 
   need_version=no
33231
 
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
33232
 
   soname_spec='${libname}${release}${shared_ext}$major'
33233
 
   shlibpath_var=LD_LIBRARY_PATH
33234
 
-  shlibpath_overrides_runpath=yes
33235
 
+  shlibpath_overrides_runpath=no
33236
 
+  hardcode_into_libs=yes
33237
 
+  dynamic_linker='ldqnx.so'
33238
 
   ;;
33239
 
 
33240
 
 openbsd*)
33241
 
@@ -20687,13 +17089,13 @@
33242
 
   need_lib_prefix=no
33243
 
   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
33244
 
   case $host_os in
33245
 
-    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
33246
 
-    *)                         need_version=no  ;;
33247
 
+    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
33248
 
+    *)                         need_version=no  ;;
33249
 
   esac
33250
 
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
33251
 
   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
33252
 
   shlibpath_var=LD_LIBRARY_PATH
33253
 
-  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
33254
 
+  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
33255
 
     case $host_os in
33256
 
       openbsd2.[89] | openbsd2.[89].*)
33257
 
        shlibpath_overrides_runpath=no
33258
 
@@ -20765,7 +17167,6 @@
33259
 
     sni)
33260
 
       shlibpath_overrides_runpath=no
33261
 
       need_lib_prefix=no
33262
 
-      export_dynamic_flag_spec='${wl}-Blargedynsym'
33263
 
       runpath_var=LD_RUN_PATH
33264
 
       ;;
33265
 
     siemens)
33266
 
@@ -20796,13 +17197,12 @@
33267
 
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
33268
 
   soname_spec='${libname}${release}${shared_ext}$major'
33269
 
   shlibpath_var=LD_LIBRARY_PATH
33270
 
+  shlibpath_overrides_runpath=yes
33271
 
   hardcode_into_libs=yes
33272
 
   if test "$with_gnu_ld" = yes; then
33273
 
     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
33274
 
-    shlibpath_overrides_runpath=no
33275
 
   else
33276
 
     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
33277
 
-    shlibpath_overrides_runpath=yes
33278
 
     case $host_os in
33279
 
       sco3.2v5*)
33280
 
         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
33281
 
@@ -20812,6 +17212,17 @@
33282
 
   sys_lib_dlsearch_path_spec='/usr/lib'
33283
 
   ;;
33284
 
 
33285
 
+tpf*)
33286
 
+  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
33287
 
+  version_type=linux
33288
 
+  need_lib_prefix=no
33289
 
+  need_version=no
33290
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
33291
 
+  shlibpath_var=LD_LIBRARY_PATH
33292
 
+  shlibpath_overrides_runpath=no
33293
 
+  hardcode_into_libs=yes
33294
 
+  ;;
33295
 
+
33296
 
 uts4*)
33297
 
   version_type=linux
33298
 
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
33299
 
@@ -20823,1373 +17234,1347 @@
33300
 
   dynamic_linker=no
33301
 
   ;;
33302
 
 esac
33303
 
-{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
33304
 
-echo "${ECHO_T}$dynamic_linker" >&6; }
33305
 
+{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
33306
 
+$as_echo "$dynamic_linker" >&6; }
33307
 
 test "$dynamic_linker" = no && can_build_shared=no
33308
 
 
33309
 
-if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
33310
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
33311
 
-else
33312
 
-  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
33313
 
-fi
33314
 
-
33315
 
-sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
33316
 
-if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
33317
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
33318
 
-else
33319
 
-  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
33320
 
-fi
33321
 
-
33322
 
-sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
33323
 
-
33324
 
 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
33325
 
 if test "$GCC" = yes; then
33326
 
   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
33327
 
 fi
33328
 
 
33329
 
-{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
33330
 
-echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
33331
 
-hardcode_action_GCJ=
33332
 
-if test -n "$hardcode_libdir_flag_spec_GCJ" || \
33333
 
-   test -n "$runpath_var_GCJ" || \
33334
 
-   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
33335
 
-
33336
 
-  # We can hardcode non-existant directories.
33337
 
-  if test "$hardcode_direct_GCJ" != no &&
33338
 
-     # If the only mechanism to avoid hardcoding is shlibpath_var, we
33339
 
-     # have to relink, otherwise we might link with an installed library
33340
 
-     # when we should be linking with a yet-to-be-installed one
33341
 
-     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
33342
 
-     test "$hardcode_minus_L_GCJ" != no; then
33343
 
-    # Linking always hardcodes the temporary library directory.
33344
 
-    hardcode_action_GCJ=relink
33345
 
-  else
33346
 
-    # We can link without hardcoding, and we can hardcode nonexisting dirs.
33347
 
-    hardcode_action_GCJ=immediate
33348
 
-  fi
33349
 
-else
33350
 
-  # We cannot hardcode anything, or else we can only hardcode existing
33351
 
-  # directories.
33352
 
-  hardcode_action_GCJ=unsupported
33353
 
+if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
33354
 
+  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
33355
 
 fi
33356
 
-{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
33357
 
-echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
33358
 
-
33359
 
-if test "$hardcode_action_GCJ" = relink; then
33360
 
-  # Fast installation is not supported
33361
 
-  enable_fast_install=no
33362
 
-elif test "$shlibpath_overrides_runpath" = yes ||
33363
 
-     test "$enable_shared" = no; then
33364
 
-  # Fast installation is not necessary
33365
 
-  enable_fast_install=needless
33366
 
+if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
33367
 
+  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
33368
 
 fi
33369
 
 
33370
 
 
33371
 
-# The else clause should only fire when bootstrapping the
33372
 
-# libtool distribution, otherwise you forgot to ship ltmain.sh
33373
 
-# with your package, and you will get complaints that there are
33374
 
-# no rules to generate ltmain.sh.
33375
 
-if test -f "$ltmain"; then
33376
 
-  # See if we are running on zsh, and set the options which allow our commands through
33377
 
-  # without removal of \ escapes.
33378
 
-  if test -n "${ZSH_VERSION+set}" ; then
33379
 
-    setopt NO_GLOB_SUBST
33380
 
-  fi
33381
 
-  # Now quote all the things that may contain metacharacters while being
33382
 
-  # careful not to overquote the AC_SUBSTed values.  We take copies of the
33383
 
-  # variables and quote the copies for generation of the libtool script.
33384
 
-  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
33385
 
-    SED SHELL STRIP \
33386
 
-    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
33387
 
-    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
33388
 
-    deplibs_check_method reload_flag reload_cmds need_locks \
33389
 
-    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
33390
 
-    lt_cv_sys_global_symbol_to_c_name_address \
33391
 
-    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
33392
 
-    old_postinstall_cmds old_postuninstall_cmds \
33393
 
-    compiler_GCJ \
33394
 
-    CC_GCJ \
33395
 
-    LD_GCJ \
33396
 
-    lt_prog_compiler_wl_GCJ \
33397
 
-    lt_prog_compiler_pic_GCJ \
33398
 
-    lt_prog_compiler_static_GCJ \
33399
 
-    lt_prog_compiler_no_builtin_flag_GCJ \
33400
 
-    export_dynamic_flag_spec_GCJ \
33401
 
-    thread_safe_flag_spec_GCJ \
33402
 
-    whole_archive_flag_spec_GCJ \
33403
 
-    enable_shared_with_static_runtimes_GCJ \
33404
 
-    old_archive_cmds_GCJ \
33405
 
-    old_archive_from_new_cmds_GCJ \
33406
 
-    predep_objects_GCJ \
33407
 
-    postdep_objects_GCJ \
33408
 
-    predeps_GCJ \
33409
 
-    postdeps_GCJ \
33410
 
-    compiler_lib_search_path_GCJ \
33411
 
-    compiler_lib_search_dirs_GCJ \
33412
 
-    archive_cmds_GCJ \
33413
 
-    archive_expsym_cmds_GCJ \
33414
 
-    postinstall_cmds_GCJ \
33415
 
-    postuninstall_cmds_GCJ \
33416
 
-    old_archive_from_expsyms_cmds_GCJ \
33417
 
-    allow_undefined_flag_GCJ \
33418
 
-    no_undefined_flag_GCJ \
33419
 
-    export_symbols_cmds_GCJ \
33420
 
-    hardcode_libdir_flag_spec_GCJ \
33421
 
-    hardcode_libdir_flag_spec_ld_GCJ \
33422
 
-    hardcode_libdir_separator_GCJ \
33423
 
-    hardcode_automatic_GCJ \
33424
 
-    module_cmds_GCJ \
33425
 
-    module_expsym_cmds_GCJ \
33426
 
-    lt_cv_prog_compiler_c_o_GCJ \
33427
 
-    fix_srcfile_path_GCJ \
33428
 
-    exclude_expsyms_GCJ \
33429
 
-    include_expsyms_GCJ; do
33430
 
-
33431
 
-    case $var in
33432
 
-    old_archive_cmds_GCJ | \
33433
 
-    old_archive_from_new_cmds_GCJ | \
33434
 
-    archive_cmds_GCJ | \
33435
 
-    archive_expsym_cmds_GCJ | \
33436
 
-    module_cmds_GCJ | \
33437
 
-    module_expsym_cmds_GCJ | \
33438
 
-    old_archive_from_expsyms_cmds_GCJ | \
33439
 
-    export_symbols_cmds_GCJ | \
33440
 
-    extract_expsyms_cmds | reload_cmds | finish_cmds | \
33441
 
-    postinstall_cmds | postuninstall_cmds | \
33442
 
-    old_postinstall_cmds | old_postuninstall_cmds | \
33443
 
-    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
33444
 
-      # Double-quote double-evaled strings.
33445
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
33446
 
-      ;;
33447
 
-    *)
33448
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
33449
 
-      ;;
33450
 
-    esac
33451
 
-  done
33452
 
-
33453
 
-  case $lt_echo in
33454
 
-  *'\$0 --fallback-echo"')
33455
 
-    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
33456
 
-    ;;
33457
 
-  esac
33458
 
-
33459
 
-cfgfile="$ofile"
33460
 
 
33461
 
-  cat <<__EOF__ >> "$cfgfile"
33462
 
-# ### BEGIN LIBTOOL TAG CONFIG: $tagname
33463
 
 
33464
 
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
33465
 
 
33466
 
-# Shell to use when invoking shell scripts.
33467
 
-SHELL=$lt_SHELL
33468
 
 
33469
 
-# Whether or not to build shared libraries.
33470
 
-build_libtool_libs=$enable_shared
33471
 
 
33472
 
-# Whether or not to build static libraries.
33473
 
-build_old_libs=$enable_static
33474
 
 
33475
 
-# Whether or not to add -lc for building shared libraries.
33476
 
-build_libtool_need_lc=$archive_cmds_need_lc_GCJ
33477
 
 
33478
 
-# Whether or not to disallow shared libs when runtime libs are static
33479
 
-allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
33480
 
 
33481
 
-# Whether or not to optimize for fast installation.
33482
 
-fast_install=$enable_fast_install
33483
 
 
33484
 
-# The host system.
33485
 
-host_alias=$host_alias
33486
 
-host=$host
33487
 
-host_os=$host_os
33488
 
 
33489
 
-# The build system.
33490
 
-build_alias=$build_alias
33491
 
-build=$build
33492
 
-build_os=$build_os
33493
 
 
33494
 
-# An echo program that does not interpret backslashes.
33495
 
-echo=$lt_echo
33496
 
 
33497
 
-# The archiver.
33498
 
-AR=$lt_AR
33499
 
-AR_FLAGS=$lt_AR_FLAGS
33500
 
 
33501
 
-# A C compiler.
33502
 
-LTCC=$lt_LTCC
33503
 
 
33504
 
-# LTCC compiler flags.
33505
 
-LTCFLAGS=$lt_LTCFLAGS
33506
 
 
33507
 
-# A language-specific compiler.
33508
 
-CC=$lt_compiler_GCJ
33509
 
 
33510
 
-# Is the compiler the GNU C compiler?
33511
 
-with_gcc=$GCC_GCJ
33512
 
 
33513
 
-# An ERE matcher.
33514
 
-EGREP=$lt_EGREP
33515
 
 
33516
 
-# The linker used to build libraries.
33517
 
-LD=$lt_LD_GCJ
33518
 
 
33519
 
-# Whether we need hard or soft links.
33520
 
-LN_S=$lt_LN_S
33521
 
 
33522
 
-# A BSD-compatible nm program.
33523
 
-NM=$lt_NM
33524
 
 
33525
 
-# A symbol stripping program
33526
 
-STRIP=$lt_STRIP
33527
 
 
33528
 
-# Used to examine libraries when file_magic_cmd begins "file"
33529
 
-MAGIC_CMD=$MAGIC_CMD
33530
 
 
33531
 
-# Used on cygwin: DLL creation program.
33532
 
-DLLTOOL="$DLLTOOL"
33533
 
 
33534
 
-# Used on cygwin: object dumper.
33535
 
-OBJDUMP="$OBJDUMP"
33536
 
 
33537
 
-# Used on cygwin: assembler.
33538
 
-AS="$AS"
33539
 
 
33540
 
-# The name of the directory that contains temporary libtool files.
33541
 
-objdir=$objdir
33542
 
 
33543
 
-# How to create reloadable object files.
33544
 
-reload_flag=$lt_reload_flag
33545
 
-reload_cmds=$lt_reload_cmds
33546
 
 
33547
 
-# How to pass a linker flag through the compiler.
33548
 
-wl=$lt_lt_prog_compiler_wl_GCJ
33549
 
 
33550
 
-# Object file suffix (normally "o").
33551
 
-objext="$ac_objext"
33552
 
 
33553
 
-# Old archive suffix (normally "a").
33554
 
-libext="$libext"
33555
 
 
33556
 
-# Shared library suffix (normally ".so").
33557
 
-shrext_cmds='$shrext_cmds'
33558
 
 
33559
 
-# Executable file suffix (normally "").
33560
 
-exeext="$exeext"
33561
 
 
33562
 
-# Additional compiler flags for building library objects.
33563
 
-pic_flag=$lt_lt_prog_compiler_pic_GCJ
33564
 
-pic_mode=$pic_mode
33565
 
 
33566
 
-# What is the maximum length of a command?
33567
 
-max_cmd_len=$lt_cv_sys_max_cmd_len
33568
 
+    { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
33569
 
+$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
33570
 
+hardcode_action_CXX=
33571
 
+if test -n "$hardcode_libdir_flag_spec_CXX" ||
33572
 
+   test -n "$runpath_var_CXX" ||
33573
 
+   test "X$hardcode_automatic_CXX" = "Xyes" ; then
33574
 
 
33575
 
-# Does compiler simultaneously support -c and -o options?
33576
 
-compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
33577
 
+  # We can hardcode non-existent directories.
33578
 
+  if test "$hardcode_direct_CXX" != no &&
33579
 
+     # If the only mechanism to avoid hardcoding is shlibpath_var, we
33580
 
+     # have to relink, otherwise we might link with an installed library
33581
 
+     # when we should be linking with a yet-to-be-installed one
33582
 
+     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
33583
 
+     test "$hardcode_minus_L_CXX" != no; then
33584
 
+    # Linking always hardcodes the temporary library directory.
33585
 
+    hardcode_action_CXX=relink
33586
 
+  else
33587
 
+    # We can link without hardcoding, and we can hardcode nonexisting dirs.
33588
 
+    hardcode_action_CXX=immediate
33589
 
+  fi
33590
 
+else
33591
 
+  # We cannot hardcode anything, or else we can only hardcode existing
33592
 
+  # directories.
33593
 
+  hardcode_action_CXX=unsupported
33594
 
+fi
33595
 
+{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
33596
 
+$as_echo "$hardcode_action_CXX" >&6; }
33597
 
 
33598
 
-# Must we lock files when doing compilation?
33599
 
-need_locks=$lt_need_locks
33600
 
+if test "$hardcode_action_CXX" = relink ||
33601
 
+   test "$inherit_rpath_CXX" = yes; then
33602
 
+  # Fast installation is not supported
33603
 
+  enable_fast_install=no
33604
 
+elif test "$shlibpath_overrides_runpath" = yes ||
33605
 
+     test "$enable_shared" = no; then
33606
 
+  # Fast installation is not necessary
33607
 
+  enable_fast_install=needless
33608
 
+fi
33609
 
 
33610
 
-# Do we need the lib prefix for modules?
33611
 
-need_lib_prefix=$need_lib_prefix
33612
 
 
33613
 
-# Do we need a version for libraries?
33614
 
-need_version=$need_version
33615
 
 
33616
 
-# Whether dlopen is supported.
33617
 
-dlopen_support=$enable_dlopen
33618
 
 
33619
 
-# Whether dlopen of programs is supported.
33620
 
-dlopen_self=$enable_dlopen_self
33621
 
 
33622
 
-# Whether dlopen of statically linked programs is supported.
33623
 
-dlopen_self_static=$enable_dlopen_self_static
33624
 
 
33625
 
-# Compiler flag to prevent dynamic linking.
33626
 
-link_static_flag=$lt_lt_prog_compiler_static_GCJ
33627
 
 
33628
 
-# Compiler flag to turn off builtin functions.
33629
 
-no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
33630
 
+  fi # test -n "$compiler"
33631
 
 
33632
 
-# Compiler flag to allow reflexive dlopens.
33633
 
-export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
33634
 
+  CC=$lt_save_CC
33635
 
+  LDCXX=$LD
33636
 
+  LD=$lt_save_LD
33637
 
+  GCC=$lt_save_GCC
33638
 
+  with_gnu_ld=$lt_save_with_gnu_ld
33639
 
+  lt_cv_path_LDCXX=$lt_cv_path_LD
33640
 
+  lt_cv_path_LD=$lt_save_path_LD
33641
 
+  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
33642
 
+  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
33643
 
+fi # test "$_lt_caught_CXX_error" != yes
33644
 
 
33645
 
-# Compiler flag to generate shared objects directly from archives.
33646
 
-whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
33647
 
+ac_ext=c
33648
 
+ac_cpp='$CPP $CPPFLAGS'
33649
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33650
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33651
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
33652
 
 
33653
 
-# Compiler flag to generate thread-safe objects.
33654
 
-thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
33655
 
 
33656
 
-# Library versioning type.
33657
 
-version_type=$version_type
33658
 
 
33659
 
-# Format of library name prefix.
33660
 
-libname_spec=$lt_libname_spec
33661
 
 
33662
 
-# List of archive names.  First name is the real one, the rest are links.
33663
 
-# The last name is the one that the linker finds with -lNAME.
33664
 
-library_names_spec=$lt_library_names_spec
33665
 
 
33666
 
-# The coded name of the library, if different from the real name.
33667
 
-soname_spec=$lt_soname_spec
33668
 
 
33669
 
-# Commands used to build and install an old-style archive.
33670
 
-RANLIB=$lt_RANLIB
33671
 
-old_archive_cmds=$lt_old_archive_cmds_GCJ
33672
 
-old_postinstall_cmds=$lt_old_postinstall_cmds
33673
 
-old_postuninstall_cmds=$lt_old_postuninstall_cmds
33674
 
 
33675
 
-# Create an old-style archive from a shared archive.
33676
 
-old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
33677
 
 
33678
 
-# Create a temporary old-style archive to link instead of a shared archive.
33679
 
-old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
33680
 
 
33681
 
-# Commands used to build and install a shared archive.
33682
 
-archive_cmds=$lt_archive_cmds_GCJ
33683
 
-archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
33684
 
-postinstall_cmds=$lt_postinstall_cmds
33685
 
-postuninstall_cmds=$lt_postuninstall_cmds
33686
 
 
33687
 
-# Commands used to build a loadable module (assumed same as above if empty)
33688
 
-module_cmds=$lt_module_cmds_GCJ
33689
 
-module_expsym_cmds=$lt_module_expsym_cmds_GCJ
33690
 
 
33691
 
-# Commands to strip libraries.
33692
 
-old_striplib=$lt_old_striplib
33693
 
-striplib=$lt_striplib
33694
 
 
33695
 
-# Dependencies to place before the objects being linked to create a
33696
 
-# shared library.
33697
 
-predep_objects=$lt_predep_objects_GCJ
33698
 
-
33699
 
-# Dependencies to place after the objects being linked to create a
33700
 
-# shared library.
33701
 
-postdep_objects=$lt_postdep_objects_GCJ
33702
 
-
33703
 
-# Dependencies to place before the objects being linked to create a
33704
 
-# shared library.
33705
 
-predeps=$lt_predeps_GCJ
33706
 
-
33707
 
-# Dependencies to place after the objects being linked to create a
33708
 
-# shared library.
33709
 
-postdeps=$lt_postdeps_GCJ
33710
 
-
33711
 
-# The directories searched by this compiler when creating a shared
33712
 
-# library
33713
 
-compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
33714
 
 
33715
 
-# The library search path used internally by the compiler when linking
33716
 
-# a shared library.
33717
 
-compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
33718
 
+        ac_config_commands="$ac_config_commands libtool"
33719
 
 
33720
 
-# Method to check whether dependent libraries are shared objects.
33721
 
-deplibs_check_method=$lt_deplibs_check_method
33722
 
 
33723
 
-# Command to use when deplibs_check_method == file_magic.
33724
 
-file_magic_cmd=$lt_file_magic_cmd
33725
 
 
33726
 
-# Flag that allows shared libraries with undefined symbols to be built.
33727
 
-allow_undefined_flag=$lt_allow_undefined_flag_GCJ
33728
 
 
33729
 
-# Flag that forces no undefined symbols.
33730
 
-no_undefined_flag=$lt_no_undefined_flag_GCJ
33731
 
+# Only expand once:
33732
 
 
33733
 
-# Commands used to finish a libtool library installation in a directory.
33734
 
-finish_cmds=$lt_finish_cmds
33735
 
 
33736
 
-# Same as above, but a single script fragment to be evaled but not shown.
33737
 
-finish_eval=$lt_finish_eval
33738
 
+# Find a good install program.  We prefer a C program (faster),
33739
 
+# so one script is as good as another.  But avoid the broken or
33740
 
+# incompatible versions:
33741
 
+# SysV /etc/install, /usr/sbin/install
33742
 
+# SunOS /usr/etc/install
33743
 
+# IRIX /sbin/install
33744
 
+# AIX /bin/install
33745
 
+# AmigaOS /C/install, which installs bootblocks on floppy discs
33746
 
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33747
 
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
33748
 
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33749
 
+# OS/2's system install, which has a completely different semantic
33750
 
+# ./install, which can be erroneously created by make from ./install.sh.
33751
 
+# Reject install programs that cannot install multiple files.
33752
 
+{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33753
 
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
33754
 
+if test -z "$INSTALL"; then
33755
 
+if test "${ac_cv_path_install+set}" = set; then
33756
 
+  $as_echo_n "(cached) " >&6
33757
 
+else
33758
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33759
 
+for as_dir in $PATH
33760
 
+do
33761
 
+  IFS=$as_save_IFS
33762
 
+  test -z "$as_dir" && as_dir=.
33763
 
+  # Account for people who put trailing slashes in PATH elements.
33764
 
+case $as_dir/ in
33765
 
+  ./ | .// | /cC/* | \
33766
 
+  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
33767
 
+  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
33768
 
+  /usr/ucb/* ) ;;
33769
 
+  *)
33770
 
+    # OSF1 and SCO ODT 3.0 have their own names for install.
33771
 
+    # Don't use installbsd from OSF since it installs stuff as root
33772
 
+    # by default.
33773
 
+    for ac_prog in ginstall scoinst install; do
33774
 
+      for ac_exec_ext in '' $ac_executable_extensions; do
33775
 
+       if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
33776
 
+         if test $ac_prog = install &&
33777
 
+           grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33778
 
+           # AIX install.  It has an incompatible calling convention.
33779
 
+           :
33780
 
+         elif test $ac_prog = install &&
33781
 
+           grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33782
 
+           # program-specific install script used by HP pwplus--don't use.
33783
 
+           :
33784
 
+         else
33785
 
+           rm -rf conftest.one conftest.two conftest.dir
33786
 
+           echo one > conftest.one
33787
 
+           echo two > conftest.two
33788
 
+           mkdir conftest.dir
33789
 
+           if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
33790
 
+             test -s conftest.one && test -s conftest.two &&
33791
 
+             test -s conftest.dir/conftest.one &&
33792
 
+             test -s conftest.dir/conftest.two
33793
 
+           then
33794
 
+             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
33795
 
+             break 3
33796
 
+           fi
33797
 
+         fi
33798
 
+       fi
33799
 
+      done
33800
 
+    done
33801
 
+    ;;
33802
 
+esac
33803
 
 
33804
 
-# Take the output of nm and produce a listing of raw symbols and C names.
33805
 
-global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
33806
 
+done
33807
 
+IFS=$as_save_IFS
33808
 
 
33809
 
-# Transform the output of nm in a proper C declaration
33810
 
-global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
33811
 
+rm -rf conftest.one conftest.two conftest.dir
33812
 
 
33813
 
-# Transform the output of nm in a C name address pair
33814
 
-global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
33815
 
+fi
33816
 
+  if test "${ac_cv_path_install+set}" = set; then
33817
 
+    INSTALL=$ac_cv_path_install
33818
 
+  else
33819
 
+    # As a last resort, use the slow shell script.  Don't cache a
33820
 
+    # value for INSTALL within a source directory, because that will
33821
 
+    # break other packages using the cache if that directory is
33822
 
+    # removed, or if the value is a relative name.
33823
 
+    INSTALL=$ac_install_sh
33824
 
+  fi
33825
 
+fi
33826
 
+{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
33827
 
+$as_echo "$INSTALL" >&6; }
33828
 
 
33829
 
-# This is the shared library runtime path variable.
33830
 
-runpath_var=$runpath_var
33831
 
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33832
 
+# It thinks the first close brace ends the variable substitution.
33833
 
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
33834
 
 
33835
 
-# This is the shared library path variable.
33836
 
-shlibpath_var=$shlibpath_var
33837
 
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
33838
 
 
33839
 
-# Is shlibpath searched before the hard-coded library search path?
33840
 
-shlibpath_overrides_runpath=$shlibpath_overrides_runpath
33841
 
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
33842
 
 
33843
 
-# How to hardcode a shared library path into an executable.
33844
 
-hardcode_action=$hardcode_action_GCJ
33845
 
 
33846
 
-# Whether we should hardcode library paths into libraries.
33847
 
-hardcode_into_libs=$hardcode_into_libs
33848
 
+  { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
33849
 
+$as_echo_n "checking whether NLS is requested... " >&6; }
33850
 
+    # Check whether --enable-nls was given.
33851
 
+if test "${enable_nls+set}" = set; then
33852
 
+  enableval=$enable_nls; USE_NLS=$enableval
33853
 
+else
33854
 
+  USE_NLS=yes
33855
 
+fi
33856
 
 
33857
 
-# Flag to hardcode \$libdir into a binary during linking.
33858
 
-# This must work even if \$libdir does not exist.
33859
 
-hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
33860
 
+  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
33861
 
+$as_echo "$USE_NLS" >&6; }
33862
 
 
33863
 
-# If ld is used when linking, flag to hardcode \$libdir into
33864
 
-# a binary during linking. This must work even if \$libdir does
33865
 
-# not exist.
33866
 
-hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
33867
 
-
33868
 
-# Whether we need a single -rpath flag with a separated argument.
33869
 
-hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
33870
 
-
33871
 
-# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
33872
 
-# resulting binary.
33873
 
-hardcode_direct=$hardcode_direct_GCJ
33874
 
-
33875
 
-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
33876
 
-# resulting binary.
33877
 
-hardcode_minus_L=$hardcode_minus_L_GCJ
33878
 
-
33879
 
-# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
33880
 
-# the resulting binary.
33881
 
-hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
33882
 
-
33883
 
-# Set to yes if building a shared library automatically hardcodes DIR into the library
33884
 
-# and all subsequent libraries and executables linked against it.
33885
 
-hardcode_automatic=$hardcode_automatic_GCJ
33886
 
 
33887
 
-# Variables whose values should be saved in libtool wrapper scripts and
33888
 
-# restored at relink time.
33889
 
-variables_saved_for_relink="$variables_saved_for_relink"
33890
 
 
33891
 
-# Whether libtool must link a program against all its dependency libraries.
33892
 
-link_all_deplibs=$link_all_deplibs_GCJ
33893
 
 
33894
 
-# Compile-time system search path for libraries
33895
 
-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
33896
 
+case "$am__api_version" in
33897
 
+    1.01234)
33898
 
+       { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
33899
 
+$as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
33900
 
+   { (exit 1); exit 1; }; }
33901
 
+    ;;
33902
 
+    *)
33903
 
+    ;;
33904
 
+esac
33905
 
 
33906
 
-# Run-time system search path for libraries
33907
 
-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
33908
 
+if test -n "0.40.0"; then
33909
 
+    { $as_echo "$as_me:$LINENO: checking for intltool >= 0.40.0" >&5
33910
 
+$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
33911
 
 
33912
 
-# Fix the shell variable \$srcfile for the compiler.
33913
 
-fix_srcfile_path=$lt_fix_srcfile_path
33914
 
+    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
33915
 
+    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
33916
 
+    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
33917
 
 
33918
 
-# Set to yes if exported symbols are required.
33919
 
-always_export_symbols=$always_export_symbols_GCJ
33920
 
+    { $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
33921
 
+$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
33922
 
+    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
33923
 
+       { { $as_echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.40.0 or later." >&5
33924
 
+$as_echo "$as_me: error: Your intltool is too old.  You need intltool 0.40.0 or later." >&2;}
33925
 
+   { (exit 1); exit 1; }; }
33926
 
+fi
33927
 
 
33928
 
-# The commands to list exported symbols.
33929
 
-export_symbols_cmds=$lt_export_symbols_cmds_GCJ
33930
 
+# Extract the first word of "intltool-update", so it can be a program name with args.
33931
 
+set dummy intltool-update; ac_word=$2
33932
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
33933
 
+$as_echo_n "checking for $ac_word... " >&6; }
33934
 
+if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
33935
 
+  $as_echo_n "(cached) " >&6
33936
 
+else
33937
 
+  case $INTLTOOL_UPDATE in
33938
 
+  [\\/]* | ?:[\\/]*)
33939
 
+  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
33940
 
+  ;;
33941
 
+  *)
33942
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33943
 
+for as_dir in $PATH
33944
 
+do
33945
 
+  IFS=$as_save_IFS
33946
 
+  test -z "$as_dir" && as_dir=.
33947
 
+  for ac_exec_ext in '' $ac_executable_extensions; do
33948
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33949
 
+    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
33950
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33951
 
+    break 2
33952
 
+  fi
33953
 
+done
33954
 
+done
33955
 
+IFS=$as_save_IFS
33956
 
 
33957
 
-# The commands to extract the exported symbol list from a shared archive.
33958
 
-extract_expsyms_cmds=$lt_extract_expsyms_cmds
33959
 
+  ;;
33960
 
+esac
33961
 
+fi
33962
 
+INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
33963
 
+if test -n "$INTLTOOL_UPDATE"; then
33964
 
+  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
33965
 
+$as_echo "$INTLTOOL_UPDATE" >&6; }
33966
 
+else
33967
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
33968
 
+$as_echo "no" >&6; }
33969
 
+fi
33970
 
 
33971
 
-# Symbols that should not be listed in the preloaded symbols.
33972
 
-exclude_expsyms=$lt_exclude_expsyms_GCJ
33973
 
 
33974
 
-# Symbols that must always be exported.
33975
 
-include_expsyms=$lt_include_expsyms_GCJ
33976
 
+# Extract the first word of "intltool-merge", so it can be a program name with args.
33977
 
+set dummy intltool-merge; ac_word=$2
33978
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
33979
 
+$as_echo_n "checking for $ac_word... " >&6; }
33980
 
+if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
33981
 
+  $as_echo_n "(cached) " >&6
33982
 
+else
33983
 
+  case $INTLTOOL_MERGE in
33984
 
+  [\\/]* | ?:[\\/]*)
33985
 
+  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
33986
 
+  ;;
33987
 
+  *)
33988
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33989
 
+for as_dir in $PATH
33990
 
+do
33991
 
+  IFS=$as_save_IFS
33992
 
+  test -z "$as_dir" && as_dir=.
33993
 
+  for ac_exec_ext in '' $ac_executable_extensions; do
33994
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33995
 
+    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
33996
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33997
 
+    break 2
33998
 
+  fi
33999
 
+done
34000
 
+done
34001
 
+IFS=$as_save_IFS
34002
 
 
34003
 
-# ### END LIBTOOL TAG CONFIG: $tagname
34004
 
+  ;;
34005
 
+esac
34006
 
+fi
34007
 
+INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
34008
 
+if test -n "$INTLTOOL_MERGE"; then
34009
 
+  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
34010
 
+$as_echo "$INTLTOOL_MERGE" >&6; }
34011
 
+else
34012
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
34013
 
+$as_echo "no" >&6; }
34014
 
+fi
34015
 
 
34016
 
-__EOF__
34017
 
 
34018
 
+# Extract the first word of "intltool-extract", so it can be a program name with args.
34019
 
+set dummy intltool-extract; ac_word=$2
34020
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
34021
 
+$as_echo_n "checking for $ac_word... " >&6; }
34022
 
+if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
34023
 
+  $as_echo_n "(cached) " >&6
34024
 
+else
34025
 
+  case $INTLTOOL_EXTRACT in
34026
 
+  [\\/]* | ?:[\\/]*)
34027
 
+  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
34028
 
+  ;;
34029
 
+  *)
34030
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34031
 
+for as_dir in $PATH
34032
 
+do
34033
 
+  IFS=$as_save_IFS
34034
 
+  test -z "$as_dir" && as_dir=.
34035
 
+  for ac_exec_ext in '' $ac_executable_extensions; do
34036
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34037
 
+    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
34038
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34039
 
+    break 2
34040
 
+  fi
34041
 
+done
34042
 
+done
34043
 
+IFS=$as_save_IFS
34044
 
 
34045
 
+  ;;
34046
 
+esac
34047
 
+fi
34048
 
+INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
34049
 
+if test -n "$INTLTOOL_EXTRACT"; then
34050
 
+  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
34051
 
+$as_echo "$INTLTOOL_EXTRACT" >&6; }
34052
 
 else
34053
 
-  # If there is no Makefile yet, we rely on a make rule to execute
34054
 
-  # `config.status --recheck' to rerun these tests and create the
34055
 
-  # libtool script then.
34056
 
-  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
34057
 
-  if test -f "$ltmain_in"; then
34058
 
-    test -f Makefile && make "$ltmain"
34059
 
-  fi
34060
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
34061
 
+$as_echo "no" >&6; }
34062
 
 fi
34063
 
 
34064
 
 
34065
 
-ac_ext=c
34066
 
-ac_cpp='$CPP $CPPFLAGS'
34067
 
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34068
 
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34069
 
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
34070
 
-
34071
 
-CC="$lt_save_CC"
34072
 
-
34073
 
-       else
34074
 
-         tagname=""
34075
 
-       fi
34076
 
-       ;;
34077
 
-
34078
 
-      RC)
34079
 
-
34080
 
-
34081
 
-# Source file extension for RC test sources.
34082
 
-ac_ext=rc
34083
 
+if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
34084
 
+    { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
34085
 
+$as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
34086
 
+   { (exit 1); exit 1; }; }
34087
 
+fi
34088
 
 
34089
 
-# Object file extension for compiled RC test sources.
34090
 
-objext=o
34091
 
-objext_RC=$objext
34092
 
+  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
34093
 
+INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
34094
 
+     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
34095
 
+     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
34096
 
+      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
34097
 
+     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
34098
 
+   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
34099
 
+    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
34100
 
+INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
34101
 
+       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
34102
 
+      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
34103
 
+      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
34104
 
+      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
34105
 
+      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
34106
 
+    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
34107
 
+  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
34108
 
+    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
34109
 
+    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
34110
 
+   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
34111
 
 
34112
 
-# Code to be used in simple compile tests
34113
 
-lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
34114
 
 
34115
 
-# Code to be used in simple link tests
34116
 
-lt_simple_link_test_code="$lt_simple_compile_test_code"
34117
 
 
34118
 
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
34119
 
 
34120
 
-# If no C compiler was specified, use CC.
34121
 
-LTCC=${LTCC-"$CC"}
34122
 
 
34123
 
-# If no C compiler flags were specified, use CFLAGS.
34124
 
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
34125
 
 
34126
 
-# Allow CC to be a program name with arguments.
34127
 
-compiler=$CC
34128
 
 
34129
 
 
34130
 
-# save warnings/boilerplate of simple test code
34131
 
-ac_outfile=conftest.$ac_objext
34132
 
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext
34133
 
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
34134
 
-_lt_compiler_boilerplate=`cat conftest.err`
34135
 
-$rm conftest*
34136
 
 
34137
 
-ac_outfile=conftest.$ac_objext
34138
 
-echo "$lt_simple_link_test_code" >conftest.$ac_ext
34139
 
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
34140
 
-_lt_linker_boilerplate=`cat conftest.err`
34141
 
-$rm -r conftest*
34142
 
 
34143
 
 
34144
 
-# Allow CC to be a program name with arguments.
34145
 
-lt_save_CC="$CC"
34146
 
-CC=${RC-"windres"}
34147
 
-compiler=$CC
34148
 
-compiler_RC=$CC
34149
 
-for cc_temp in $compiler""; do
34150
 
-  case $cc_temp in
34151
 
-    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
34152
 
-    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
34153
 
-    \-*) ;;
34154
 
-    *) break;;
34155
 
-  esac
34156
 
-done
34157
 
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
34158
 
 
34159
 
-lt_cv_prog_compiler_c_o_RC=yes
34160
 
 
34161
 
-# The else clause should only fire when bootstrapping the
34162
 
-# libtool distribution, otherwise you forgot to ship ltmain.sh
34163
 
-# with your package, and you will get complaints that there are
34164
 
-# no rules to generate ltmain.sh.
34165
 
-if test -f "$ltmain"; then
34166
 
-  # See if we are running on zsh, and set the options which allow our commands through
34167
 
-  # without removal of \ escapes.
34168
 
-  if test -n "${ZSH_VERSION+set}" ; then
34169
 
-    setopt NO_GLOB_SUBST
34170
 
-  fi
34171
 
-  # Now quote all the things that may contain metacharacters while being
34172
 
-  # careful not to overquote the AC_SUBSTed values.  We take copies of the
34173
 
-  # variables and quote the copies for generation of the libtool script.
34174
 
-  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
34175
 
-    SED SHELL STRIP \
34176
 
-    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
34177
 
-    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
34178
 
-    deplibs_check_method reload_flag reload_cmds need_locks \
34179
 
-    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
34180
 
-    lt_cv_sys_global_symbol_to_c_name_address \
34181
 
-    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
34182
 
-    old_postinstall_cmds old_postuninstall_cmds \
34183
 
-    compiler_RC \
34184
 
-    CC_RC \
34185
 
-    LD_RC \
34186
 
-    lt_prog_compiler_wl_RC \
34187
 
-    lt_prog_compiler_pic_RC \
34188
 
-    lt_prog_compiler_static_RC \
34189
 
-    lt_prog_compiler_no_builtin_flag_RC \
34190
 
-    export_dynamic_flag_spec_RC \
34191
 
-    thread_safe_flag_spec_RC \
34192
 
-    whole_archive_flag_spec_RC \
34193
 
-    enable_shared_with_static_runtimes_RC \
34194
 
-    old_archive_cmds_RC \
34195
 
-    old_archive_from_new_cmds_RC \
34196
 
-    predep_objects_RC \
34197
 
-    postdep_objects_RC \
34198
 
-    predeps_RC \
34199
 
-    postdeps_RC \
34200
 
-    compiler_lib_search_path_RC \
34201
 
-    compiler_lib_search_dirs_RC \
34202
 
-    archive_cmds_RC \
34203
 
-    archive_expsym_cmds_RC \
34204
 
-    postinstall_cmds_RC \
34205
 
-    postuninstall_cmds_RC \
34206
 
-    old_archive_from_expsyms_cmds_RC \
34207
 
-    allow_undefined_flag_RC \
34208
 
-    no_undefined_flag_RC \
34209
 
-    export_symbols_cmds_RC \
34210
 
-    hardcode_libdir_flag_spec_RC \
34211
 
-    hardcode_libdir_flag_spec_ld_RC \
34212
 
-    hardcode_libdir_separator_RC \
34213
 
-    hardcode_automatic_RC \
34214
 
-    module_cmds_RC \
34215
 
-    module_expsym_cmds_RC \
34216
 
-    lt_cv_prog_compiler_c_o_RC \
34217
 
-    fix_srcfile_path_RC \
34218
 
-    exclude_expsyms_RC \
34219
 
-    include_expsyms_RC; do
34220
 
-
34221
 
-    case $var in
34222
 
-    old_archive_cmds_RC | \
34223
 
-    old_archive_from_new_cmds_RC | \
34224
 
-    archive_cmds_RC | \
34225
 
-    archive_expsym_cmds_RC | \
34226
 
-    module_cmds_RC | \
34227
 
-    module_expsym_cmds_RC | \
34228
 
-    old_archive_from_expsyms_cmds_RC | \
34229
 
-    export_symbols_cmds_RC | \
34230
 
-    extract_expsyms_cmds | reload_cmds | finish_cmds | \
34231
 
-    postinstall_cmds | postuninstall_cmds | \
34232
 
-    old_postinstall_cmds | old_postuninstall_cmds | \
34233
 
-    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
34234
 
-      # Double-quote double-evaled strings.
34235
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
34236
 
-      ;;
34237
 
-    *)
34238
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
34239
 
-      ;;
34240
 
-    esac
34241
 
-  done
34242
 
 
34243
 
-  case $lt_echo in
34244
 
-  *'\$0 --fallback-echo"')
34245
 
-    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
34246
 
-    ;;
34247
 
-  esac
34248
 
 
34249
 
-cfgfile="$ofile"
34250
 
 
34251
 
-  cat <<__EOF__ >> "$cfgfile"
34252
 
-# ### BEGIN LIBTOOL TAG CONFIG: $tagname
34253
 
 
34254
 
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
34255
 
 
34256
 
-# Shell to use when invoking shell scripts.
34257
 
-SHELL=$lt_SHELL
34258
 
 
34259
 
-# Whether or not to build shared libraries.
34260
 
-build_libtool_libs=$enable_shared
34261
 
 
34262
 
-# Whether or not to build static libraries.
34263
 
-build_old_libs=$enable_static
34264
 
 
34265
 
-# Whether or not to add -lc for building shared libraries.
34266
 
-build_libtool_need_lc=$archive_cmds_need_lc_RC
34267
 
 
34268
 
-# Whether or not to disallow shared libs when runtime libs are static
34269
 
-allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
34270
 
 
34271
 
-# Whether or not to optimize for fast installation.
34272
 
-fast_install=$enable_fast_install
34273
 
 
34274
 
-# The host system.
34275
 
-host_alias=$host_alias
34276
 
-host=$host
34277
 
-host_os=$host_os
34278
 
 
34279
 
-# The build system.
34280
 
-build_alias=$build_alias
34281
 
-build=$build
34282
 
-build_os=$build_os
34283
 
 
34284
 
-# An echo program that does not interpret backslashes.
34285
 
-echo=$lt_echo
34286
 
 
34287
 
-# The archiver.
34288
 
-AR=$lt_AR
34289
 
-AR_FLAGS=$lt_AR_FLAGS
34290
 
 
34291
 
-# A C compiler.
34292
 
-LTCC=$lt_LTCC
34293
 
 
34294
 
-# LTCC compiler flags.
34295
 
-LTCFLAGS=$lt_LTCFLAGS
34296
 
 
34297
 
-# A language-specific compiler.
34298
 
-CC=$lt_compiler_RC
34299
 
 
34300
 
-# Is the compiler the GNU C compiler?
34301
 
-with_gcc=$GCC_RC
34302
 
 
34303
 
-# An ERE matcher.
34304
 
-EGREP=$lt_EGREP
34305
 
 
34306
 
-# The linker used to build libraries.
34307
 
-LD=$lt_LD_RC
34308
 
 
34309
 
-# Whether we need hard or soft links.
34310
 
-LN_S=$lt_LN_S
34311
 
 
34312
 
-# A BSD-compatible nm program.
34313
 
-NM=$lt_NM
34314
 
 
34315
 
-# A symbol stripping program
34316
 
-STRIP=$lt_STRIP
34317
 
 
34318
 
-# Used to examine libraries when file_magic_cmd begins "file"
34319
 
-MAGIC_CMD=$MAGIC_CMD
34320
 
 
34321
 
-# Used on cygwin: DLL creation program.
34322
 
-DLLTOOL="$DLLTOOL"
34323
 
 
34324
 
-# Used on cygwin: object dumper.
34325
 
-OBJDUMP="$OBJDUMP"
34326
 
 
34327
 
-# Used on cygwin: assembler.
34328
 
-AS="$AS"
34329
 
 
34330
 
-# The name of the directory that contains temporary libtool files.
34331
 
-objdir=$objdir
34332
 
 
34333
 
-# How to create reloadable object files.
34334
 
-reload_flag=$lt_reload_flag
34335
 
-reload_cmds=$lt_reload_cmds
34336
 
 
34337
 
-# How to pass a linker flag through the compiler.
34338
 
-wl=$lt_lt_prog_compiler_wl_RC
34339
 
 
34340
 
-# Object file suffix (normally "o").
34341
 
-objext="$ac_objext"
34342
 
 
34343
 
-# Old archive suffix (normally "a").
34344
 
-libext="$libext"
34345
 
 
34346
 
-# Shared library suffix (normally ".so").
34347
 
-shrext_cmds='$shrext_cmds'
34348
 
 
34349
 
-# Executable file suffix (normally "").
34350
 
-exeext="$exeext"
34351
 
 
34352
 
-# Additional compiler flags for building library objects.
34353
 
-pic_flag=$lt_lt_prog_compiler_pic_RC
34354
 
-pic_mode=$pic_mode
34355
 
 
34356
 
-# What is the maximum length of a command?
34357
 
-max_cmd_len=$lt_cv_sys_max_cmd_len
34358
 
 
34359
 
-# Does compiler simultaneously support -c and -o options?
34360
 
-compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
34361
 
 
34362
 
-# Must we lock files when doing compilation?
34363
 
-need_locks=$lt_need_locks
34364
 
 
34365
 
-# Do we need the lib prefix for modules?
34366
 
-need_lib_prefix=$need_lib_prefix
34367
 
 
34368
 
-# Do we need a version for libraries?
34369
 
-need_version=$need_version
34370
 
 
34371
 
-# Whether dlopen is supported.
34372
 
-dlopen_support=$enable_dlopen
34373
 
 
34374
 
-# Whether dlopen of programs is supported.
34375
 
-dlopen_self=$enable_dlopen_self
34376
 
 
34377
 
-# Whether dlopen of statically linked programs is supported.
34378
 
-dlopen_self_static=$enable_dlopen_self_static
34379
 
 
34380
 
-# Compiler flag to prevent dynamic linking.
34381
 
-link_static_flag=$lt_lt_prog_compiler_static_RC
34382
 
 
34383
 
-# Compiler flag to turn off builtin functions.
34384
 
-no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
34385
 
 
34386
 
-# Compiler flag to allow reflexive dlopens.
34387
 
-export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
34388
 
 
34389
 
-# Compiler flag to generate shared objects directly from archives.
34390
 
-whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
34391
 
 
34392
 
-# Compiler flag to generate thread-safe objects.
34393
 
-thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
34394
 
 
34395
 
-# Library versioning type.
34396
 
-version_type=$version_type
34397
 
 
34398
 
-# Format of library name prefix.
34399
 
-libname_spec=$lt_libname_spec
34400
 
 
34401
 
-# List of archive names.  First name is the real one, the rest are links.
34402
 
-# The last name is the one that the linker finds with -lNAME.
34403
 
-library_names_spec=$lt_library_names_spec
34404
 
 
34405
 
-# The coded name of the library, if different from the real name.
34406
 
-soname_spec=$lt_soname_spec
34407
 
 
34408
 
-# Commands used to build and install an old-style archive.
34409
 
-RANLIB=$lt_RANLIB
34410
 
-old_archive_cmds=$lt_old_archive_cmds_RC
34411
 
-old_postinstall_cmds=$lt_old_postinstall_cmds
34412
 
-old_postuninstall_cmds=$lt_old_postuninstall_cmds
34413
 
 
34414
 
-# Create an old-style archive from a shared archive.
34415
 
-old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
34416
 
 
34417
 
-# Create a temporary old-style archive to link instead of a shared archive.
34418
 
-old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
34419
 
 
34420
 
-# Commands used to build and install a shared archive.
34421
 
-archive_cmds=$lt_archive_cmds_RC
34422
 
-archive_expsym_cmds=$lt_archive_expsym_cmds_RC
34423
 
-postinstall_cmds=$lt_postinstall_cmds
34424
 
-postuninstall_cmds=$lt_postuninstall_cmds
34425
 
 
34426
 
-# Commands used to build a loadable module (assumed same as above if empty)
34427
 
-module_cmds=$lt_module_cmds_RC
34428
 
-module_expsym_cmds=$lt_module_expsym_cmds_RC
34429
 
 
34430
 
-# Commands to strip libraries.
34431
 
-old_striplib=$lt_old_striplib
34432
 
-striplib=$lt_striplib
34433
 
 
34434
 
-# Dependencies to place before the objects being linked to create a
34435
 
-# shared library.
34436
 
-predep_objects=$lt_predep_objects_RC
34437
 
-
34438
 
-# Dependencies to place after the objects being linked to create a
34439
 
-# shared library.
34440
 
-postdep_objects=$lt_postdep_objects_RC
34441
 
-
34442
 
-# Dependencies to place before the objects being linked to create a
34443
 
-# shared library.
34444
 
-predeps=$lt_predeps_RC
34445
 
-
34446
 
-# Dependencies to place after the objects being linked to create a
34447
 
-# shared library.
34448
 
-postdeps=$lt_postdeps_RC
34449
 
-
34450
 
-# The directories searched by this compiler when creating a shared
34451
 
-# library
34452
 
-compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
34453
 
 
34454
 
-# The library search path used internally by the compiler when linking
34455
 
-# a shared library.
34456
 
-compiler_lib_search_path=$lt_compiler_lib_search_path_RC
34457
 
 
34458
 
-# Method to check whether dependent libraries are shared objects.
34459
 
-deplibs_check_method=$lt_deplibs_check_method
34460
 
 
34461
 
-# Command to use when deplibs_check_method == file_magic.
34462
 
-file_magic_cmd=$lt_file_magic_cmd
34463
 
 
34464
 
-# Flag that allows shared libraries with undefined symbols to be built.
34465
 
-allow_undefined_flag=$lt_allow_undefined_flag_RC
34466
 
 
34467
 
-# Flag that forces no undefined symbols.
34468
 
-no_undefined_flag=$lt_no_undefined_flag_RC
34469
 
 
34470
 
-# Commands used to finish a libtool library installation in a directory.
34471
 
-finish_cmds=$lt_finish_cmds
34472
 
 
34473
 
-# Same as above, but a single script fragment to be evaled but not shown.
34474
 
-finish_eval=$lt_finish_eval
34475
 
 
34476
 
-# Take the output of nm and produce a listing of raw symbols and C names.
34477
 
-global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
34478
 
 
34479
 
-# Transform the output of nm in a proper C declaration
34480
 
-global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
34481
 
 
34482
 
-# Transform the output of nm in a C name address pair
34483
 
-global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
34484
 
 
34485
 
-# This is the shared library runtime path variable.
34486
 
-runpath_var=$runpath_var
34487
 
 
34488
 
-# This is the shared library path variable.
34489
 
-shlibpath_var=$shlibpath_var
34490
 
 
34491
 
-# Is shlibpath searched before the hard-coded library search path?
34492
 
-shlibpath_overrides_runpath=$shlibpath_overrides_runpath
34493
 
 
34494
 
-# How to hardcode a shared library path into an executable.
34495
 
-hardcode_action=$hardcode_action_RC
34496
 
 
34497
 
-# Whether we should hardcode library paths into libraries.
34498
 
-hardcode_into_libs=$hardcode_into_libs
34499
 
 
34500
 
-# Flag to hardcode \$libdir into a binary during linking.
34501
 
-# This must work even if \$libdir does not exist.
34502
 
-hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
34503
 
 
34504
 
-# If ld is used when linking, flag to hardcode \$libdir into
34505
 
-# a binary during linking. This must work even if \$libdir does
34506
 
-# not exist.
34507
 
-hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
34508
 
-
34509
 
-# Whether we need a single -rpath flag with a separated argument.
34510
 
-hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
34511
 
-
34512
 
-# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
34513
 
-# resulting binary.
34514
 
-hardcode_direct=$hardcode_direct_RC
34515
 
-
34516
 
-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
34517
 
-# resulting binary.
34518
 
-hardcode_minus_L=$hardcode_minus_L_RC
34519
 
-
34520
 
-# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
34521
 
-# the resulting binary.
34522
 
-hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
34523
 
-
34524
 
-# Set to yes if building a shared library automatically hardcodes DIR into the library
34525
 
-# and all subsequent libraries and executables linked against it.
34526
 
-hardcode_automatic=$hardcode_automatic_RC
34527
 
 
34528
 
-# Variables whose values should be saved in libtool wrapper scripts and
34529
 
-# restored at relink time.
34530
 
-variables_saved_for_relink="$variables_saved_for_relink"
34531
 
 
34532
 
-# Whether libtool must link a program against all its dependency libraries.
34533
 
-link_all_deplibs=$link_all_deplibs_RC
34534
 
 
34535
 
-# Compile-time system search path for libraries
34536
 
-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
34537
 
 
34538
 
-# Run-time system search path for libraries
34539
 
-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
34540
 
 
34541
 
-# Fix the shell variable \$srcfile for the compiler.
34542
 
-fix_srcfile_path=$lt_fix_srcfile_path
34543
 
 
34544
 
-# Set to yes if exported symbols are required.
34545
 
-always_export_symbols=$always_export_symbols_RC
34546
 
 
34547
 
-# The commands to list exported symbols.
34548
 
-export_symbols_cmds=$lt_export_symbols_cmds_RC
34549
 
 
34550
 
-# The commands to extract the exported symbol list from a shared archive.
34551
 
-extract_expsyms_cmds=$lt_extract_expsyms_cmds
34552
 
+# Check the gettext tools to make sure they are GNU
34553
 
+# Extract the first word of "xgettext", so it can be a program name with args.
34554
 
+set dummy xgettext; ac_word=$2
34555
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
34556
 
+$as_echo_n "checking for $ac_word... " >&6; }
34557
 
+if test "${ac_cv_path_XGETTEXT+set}" = set; then
34558
 
+  $as_echo_n "(cached) " >&6
34559
 
+else
34560
 
+  case $XGETTEXT in
34561
 
+  [\\/]* | ?:[\\/]*)
34562
 
+  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
34563
 
+  ;;
34564
 
+  *)
34565
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34566
 
+for as_dir in $PATH
34567
 
+do
34568
 
+  IFS=$as_save_IFS
34569
 
+  test -z "$as_dir" && as_dir=.
34570
 
+  for ac_exec_ext in '' $ac_executable_extensions; do
34571
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34572
 
+    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
34573
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34574
 
+    break 2
34575
 
+  fi
34576
 
+done
34577
 
+done
34578
 
+IFS=$as_save_IFS
34579
 
 
34580
 
-# Symbols that should not be listed in the preloaded symbols.
34581
 
-exclude_expsyms=$lt_exclude_expsyms_RC
34582
 
+  ;;
34583
 
+esac
34584
 
+fi
34585
 
+XGETTEXT=$ac_cv_path_XGETTEXT
34586
 
+if test -n "$XGETTEXT"; then
34587
 
+  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
34588
 
+$as_echo "$XGETTEXT" >&6; }
34589
 
+else
34590
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
34591
 
+$as_echo "no" >&6; }
34592
 
+fi
34593
 
 
34594
 
-# Symbols that must always be exported.
34595
 
-include_expsyms=$lt_include_expsyms_RC
34596
 
 
34597
 
-# ### END LIBTOOL TAG CONFIG: $tagname
34598
 
+# Extract the first word of "msgmerge", so it can be a program name with args.
34599
 
+set dummy msgmerge; ac_word=$2
34600
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
34601
 
+$as_echo_n "checking for $ac_word... " >&6; }
34602
 
+if test "${ac_cv_path_MSGMERGE+set}" = set; then
34603
 
+  $as_echo_n "(cached) " >&6
34604
 
+else
34605
 
+  case $MSGMERGE in
34606
 
+  [\\/]* | ?:[\\/]*)
34607
 
+  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
34608
 
+  ;;
34609
 
+  *)
34610
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34611
 
+for as_dir in $PATH
34612
 
+do
34613
 
+  IFS=$as_save_IFS
34614
 
+  test -z "$as_dir" && as_dir=.
34615
 
+  for ac_exec_ext in '' $ac_executable_extensions; do
34616
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34617
 
+    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
34618
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34619
 
+    break 2
34620
 
+  fi
34621
 
+done
34622
 
+done
34623
 
+IFS=$as_save_IFS
34624
 
 
34625
 
-__EOF__
34626
 
+  ;;
34627
 
+esac
34628
 
+fi
34629
 
+MSGMERGE=$ac_cv_path_MSGMERGE
34630
 
+if test -n "$MSGMERGE"; then
34631
 
+  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
34632
 
+$as_echo "$MSGMERGE" >&6; }
34633
 
+else
34634
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
34635
 
+$as_echo "no" >&6; }
34636
 
+fi
34637
 
 
34638
 
 
34639
 
+# Extract the first word of "msgfmt", so it can be a program name with args.
34640
 
+set dummy msgfmt; ac_word=$2
34641
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
34642
 
+$as_echo_n "checking for $ac_word... " >&6; }
34643
 
+if test "${ac_cv_path_MSGFMT+set}" = set; then
34644
 
+  $as_echo_n "(cached) " >&6
34645
 
 else
34646
 
-  # If there is no Makefile yet, we rely on a make rule to execute
34647
 
-  # `config.status --recheck' to rerun these tests and create the
34648
 
-  # libtool script then.
34649
 
-  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
34650
 
-  if test -f "$ltmain_in"; then
34651
 
-    test -f Makefile && make "$ltmain"
34652
 
+  case $MSGFMT in
34653
 
+  [\\/]* | ?:[\\/]*)
34654
 
+  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
34655
 
+  ;;
34656
 
+  *)
34657
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34658
 
+for as_dir in $PATH
34659
 
+do
34660
 
+  IFS=$as_save_IFS
34661
 
+  test -z "$as_dir" && as_dir=.
34662
 
+  for ac_exec_ext in '' $ac_executable_extensions; do
34663
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34664
 
+    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
34665
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34666
 
+    break 2
34667
 
   fi
34668
 
+done
34669
 
+done
34670
 
+IFS=$as_save_IFS
34671
 
+
34672
 
+  ;;
34673
 
+esac
34674
 
+fi
34675
 
+MSGFMT=$ac_cv_path_MSGFMT
34676
 
+if test -n "$MSGFMT"; then
34677
 
+  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
34678
 
+$as_echo "$MSGFMT" >&6; }
34679
 
+else
34680
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
34681
 
+$as_echo "no" >&6; }
34682
 
 fi
34683
 
 
34684
 
 
34685
 
-ac_ext=c
34686
 
-ac_cpp='$CPP $CPPFLAGS'
34687
 
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34688
 
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34689
 
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
34690
 
+# Extract the first word of "gmsgfmt", so it can be a program name with args.
34691
 
+set dummy gmsgfmt; ac_word=$2
34692
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
34693
 
+$as_echo_n "checking for $ac_word... " >&6; }
34694
 
+if test "${ac_cv_path_GMSGFMT+set}" = set; then
34695
 
+  $as_echo_n "(cached) " >&6
34696
 
+else
34697
 
+  case $GMSGFMT in
34698
 
+  [\\/]* | ?:[\\/]*)
34699
 
+  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
34700
 
+  ;;
34701
 
+  *)
34702
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34703
 
+for as_dir in $PATH
34704
 
+do
34705
 
+  IFS=$as_save_IFS
34706
 
+  test -z "$as_dir" && as_dir=.
34707
 
+  for ac_exec_ext in '' $ac_executable_extensions; do
34708
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34709
 
+    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
34710
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34711
 
+    break 2
34712
 
+  fi
34713
 
+done
34714
 
+done
34715
 
+IFS=$as_save_IFS
34716
 
 
34717
 
-CC="$lt_save_CC"
34718
 
+  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
34719
 
+  ;;
34720
 
+esac
34721
 
+fi
34722
 
+GMSGFMT=$ac_cv_path_GMSGFMT
34723
 
+if test -n "$GMSGFMT"; then
34724
 
+  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
34725
 
+$as_echo "$GMSGFMT" >&6; }
34726
 
+else
34727
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
34728
 
+$as_echo "no" >&6; }
34729
 
+fi
34730
 
 
34731
 
-       ;;
34732
 
 
34733
 
-      *)
34734
 
-       { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
34735
 
-echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
34736
 
+if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
34737
 
+    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
34738
 
+$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
34739
 
    { (exit 1); exit 1; }; }
34740
 
-       ;;
34741
 
-      esac
34742
 
-
34743
 
-      # Append the new tag name to the list of available tags.
34744
 
-      if test -n "$tagname" ; then
34745
 
-      available_tags="$available_tags $tagname"
34746
 
-    fi
34747
 
-    fi
34748
 
-  done
34749
 
-  IFS="$lt_save_ifs"
34750
 
-
34751
 
-  # Now substitute the updated list of available tags.
34752
 
-  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
34753
 
-    mv "${ofile}T" "$ofile"
34754
 
-    chmod +x "$ofile"
34755
 
-  else
34756
 
-    rm -f "${ofile}T"
34757
 
-    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
34758
 
-echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
34759
 
+fi
34760
 
+xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
34761
 
+mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
34762
 
+mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
34763
 
+if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
34764
 
+    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
34765
 
+$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
34766
 
    { (exit 1); exit 1; }; }
34767
 
-  fi
34768
 
 fi
34769
 
 
34770
 
+# Extract the first word of "perl", so it can be a program name with args.
34771
 
+set dummy perl; ac_word=$2
34772
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
34773
 
+$as_echo_n "checking for $ac_word... " >&6; }
34774
 
+if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
34775
 
+  $as_echo_n "(cached) " >&6
34776
 
+else
34777
 
+  case $INTLTOOL_PERL in
34778
 
+  [\\/]* | ?:[\\/]*)
34779
 
+  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
34780
 
+  ;;
34781
 
+  *)
34782
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34783
 
+for as_dir in $PATH
34784
 
+do
34785
 
+  IFS=$as_save_IFS
34786
 
+  test -z "$as_dir" && as_dir=.
34787
 
+  for ac_exec_ext in '' $ac_executable_extensions; do
34788
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34789
 
+    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
34790
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34791
 
+    break 2
34792
 
+  fi
34793
 
+done
34794
 
+done
34795
 
+IFS=$as_save_IFS
34796
 
 
34797
 
-
34798
 
-# This can be used to rebuild libtool when needed
34799
 
-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
34800
 
-
34801
 
-# Always use our own libtool.
34802
 
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
34803
 
-
34804
 
-# Prevent multiple expansion
34805
 
-
34806
 
-
34807
 
-
34808
 
-
34809
 
-
34810
 
-
34811
 
-
34812
 
-
34813
 
-
34814
 
+  ;;
34815
 
+esac
34816
 
+fi
34817
 
+INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
34818
 
+if test -n "$INTLTOOL_PERL"; then
34819
 
+  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
34820
 
+$as_echo "$INTLTOOL_PERL" >&6; }
34821
 
+else
34822
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
34823
 
+$as_echo "no" >&6; }
34824
 
+fi
34825
 
 
34826
 
 
34827
 
+if test -z "$INTLTOOL_PERL"; then
34828
 
+   { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
34829
 
+$as_echo "$as_me: error: perl not found" >&2;}
34830
 
+   { (exit 1); exit 1; }; }
34831
 
+fi
34832
 
+{ $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
34833
 
+$as_echo_n "checking for perl >= 5.8.1... " >&6; }
34834
 
+$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
34835
 
+if test $? -ne 0; then
34836
 
+   { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
34837
 
+$as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
34838
 
+   { (exit 1); exit 1; }; }
34839
 
+else
34840
 
+   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
34841
 
+   { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
34842
 
+$as_echo "$IT_PERL_VERSION" >&6; }
34843
 
+fi
34844
 
+if test "xno-xml" != "xno-xml"; then
34845
 
+   { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
34846
 
+$as_echo_n "checking for XML::Parser... " >&6; }
34847
 
+   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
34848
 
+       { $as_echo "$as_me:$LINENO: result: ok" >&5
34849
 
+$as_echo "ok" >&6; }
34850
 
+   else
34851
 
+       { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
34852
 
+$as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
34853
 
+   { (exit 1); exit 1; }; }
34854
 
+   fi
34855
 
+fi
34856
 
 
34857
 
+# Substitute ALL_LINGUAS so we can use it in po/Makefile
34858
 
 
34859
 
 
34860
 
+# Set DATADIRNAME correctly if it is not set yet
34861
 
+# (copied from glib-gettext.m4)
34862
 
+if test -z "$DATADIRNAME"; then
34863
 
+  cat >conftest.$ac_ext <<_ACEOF
34864
 
+/* confdefs.h.  */
34865
 
+_ACEOF
34866
 
+cat confdefs.h >>conftest.$ac_ext
34867
 
+cat >>conftest.$ac_ext <<_ACEOF
34868
 
+/* end confdefs.h.  */
34869
 
 
34870
 
+int
34871
 
+main ()
34872
 
+{
34873
 
+extern int _nl_msg_cat_cntr;
34874
 
+                       return _nl_msg_cat_cntr
34875
 
+  ;
34876
 
+  return 0;
34877
 
+}
34878
 
+_ACEOF
34879
 
+rm -f conftest.$ac_objext conftest$ac_exeext
34880
 
+if { (ac_try="$ac_link"
34881
 
+case "(($ac_try" in
34882
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34883
 
+  *) ac_try_echo=$ac_try;;
34884
 
+esac
34885
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34886
 
+$as_echo "$ac_try_echo") >&5
34887
 
+  (eval "$ac_link") 2>conftest.er1
34888
 
+  ac_status=$?
34889
 
+  grep -v '^ *+' conftest.er1 >conftest.err
34890
 
+  rm -f conftest.er1
34891
 
+  cat conftest.err >&5
34892
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34893
 
+  (exit $ac_status); } && {
34894
 
+        test -z "$ac_c_werror_flag" ||
34895
 
+        test ! -s conftest.err
34896
 
+       } && test -s conftest$ac_exeext && {
34897
 
+        test "$cross_compiling" = yes ||
34898
 
+        $as_test_x conftest$ac_exeext
34899
 
+       }; then
34900
 
+  DATADIRNAME=share
34901
 
+else
34902
 
+  $as_echo "$as_me: failed program was:" >&5
34903
 
+sed 's/^/| /' conftest.$ac_ext >&5
34904
 
 
34905
 
+       case $host in
34906
 
+    *-*-solaris*)
34907
 
+                        { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
34908
 
+$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
34909
 
+if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
34910
 
+  $as_echo_n "(cached) " >&6
34911
 
+else
34912
 
+  cat >conftest.$ac_ext <<_ACEOF
34913
 
+/* confdefs.h.  */
34914
 
+_ACEOF
34915
 
+cat confdefs.h >>conftest.$ac_ext
34916
 
+cat >>conftest.$ac_ext <<_ACEOF
34917
 
+/* end confdefs.h.  */
34918
 
+/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
34919
 
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34920
 
+#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
34921
 
 
34922
 
+/* System header to define __stub macros and hopefully few prototypes,
34923
 
+    which can conflict with char bind_textdomain_codeset (); below.
34924
 
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34925
 
+    <limits.h> exists even on freestanding compilers.  */
34926
 
 
34927
 
+#ifdef __STDC__
34928
 
+# include <limits.h>
34929
 
+#else
34930
 
+# include <assert.h>
34931
 
+#endif
34932
 
 
34933
 
+#undef bind_textdomain_codeset
34934
 
 
34935
 
-# Find a good install program.  We prefer a C program (faster),
34936
 
-# so one script is as good as another.  But avoid the broken or
34937
 
-# incompatible versions:
34938
 
-# SysV /etc/install, /usr/sbin/install
34939
 
-# SunOS /usr/etc/install
34940
 
-# IRIX /sbin/install
34941
 
-# AIX /bin/install
34942
 
-# AmigaOS /C/install, which installs bootblocks on floppy discs
34943
 
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34944
 
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
34945
 
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34946
 
-# OS/2's system install, which has a completely different semantic
34947
 
-# ./install, which can be erroneously created by make from ./install.sh.
34948
 
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34949
 
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
34950
 
-if test -z "$INSTALL"; then
34951
 
-if test "${ac_cv_path_install+set}" = set; then
34952
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
34953
 
-else
34954
 
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34955
 
-for as_dir in $PATH
34956
 
-do
34957
 
-  IFS=$as_save_IFS
34958
 
-  test -z "$as_dir" && as_dir=.
34959
 
-  # Account for people who put trailing slashes in PATH elements.
34960
 
-case $as_dir/ in
34961
 
-  ./ | .// | /cC/* | \
34962
 
-  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
34963
 
-  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
34964
 
-  /usr/ucb/* ) ;;
34965
 
-  *)
34966
 
-    # OSF1 and SCO ODT 3.0 have their own names for install.
34967
 
-    # Don't use installbsd from OSF since it installs stuff as root
34968
 
-    # by default.
34969
 
-    for ac_prog in ginstall scoinst install; do
34970
 
-      for ac_exec_ext in '' $ac_executable_extensions; do
34971
 
-       if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
34972
 
-         if test $ac_prog = install &&
34973
 
-           grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34974
 
-           # AIX install.  It has an incompatible calling convention.
34975
 
-           :
34976
 
-         elif test $ac_prog = install &&
34977
 
-           grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34978
 
-           # program-specific install script used by HP pwplus--don't use.
34979
 
-           :
34980
 
-         else
34981
 
-           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
34982
 
-           break 3
34983
 
-         fi
34984
 
-       fi
34985
 
-      done
34986
 
-    done
34987
 
-    ;;
34988
 
+/* Override any GCC internal prototype to avoid an error.
34989
 
+   Use char because int might match the return type of a GCC
34990
 
+   builtin and then its argument prototype would still apply.  */
34991
 
+#ifdef __cplusplus
34992
 
+extern "C"
34993
 
+#endif
34994
 
+char bind_textdomain_codeset ();
34995
 
+/* The GNU C library defines this for functions which it implements
34996
 
+    to always fail with ENOSYS.  Some functions are actually named
34997
 
+    something starting with __ and the normal name is an alias.  */
34998
 
+#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
34999
 
+choke me
35000
 
+#endif
35001
 
+
35002
 
+int
35003
 
+main ()
35004
 
+{
35005
 
+return bind_textdomain_codeset ();
35006
 
+  ;
35007
 
+  return 0;
35008
 
+}
35009
 
+_ACEOF
35010
 
+rm -f conftest.$ac_objext conftest$ac_exeext
35011
 
+if { (ac_try="$ac_link"
35012
 
+case "(($ac_try" in
35013
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35014
 
+  *) ac_try_echo=$ac_try;;
35015
 
 esac
35016
 
-done
35017
 
-IFS=$as_save_IFS
35018
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35019
 
+$as_echo "$ac_try_echo") >&5
35020
 
+  (eval "$ac_link") 2>conftest.er1
35021
 
+  ac_status=$?
35022
 
+  grep -v '^ *+' conftest.er1 >conftest.err
35023
 
+  rm -f conftest.er1
35024
 
+  cat conftest.err >&5
35025
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35026
 
+  (exit $ac_status); } && {
35027
 
+        test -z "$ac_c_werror_flag" ||
35028
 
+        test ! -s conftest.err
35029
 
+       } && test -s conftest$ac_exeext && {
35030
 
+        test "$cross_compiling" = yes ||
35031
 
+        $as_test_x conftest$ac_exeext
35032
 
+       }; then
35033
 
+  ac_cv_func_bind_textdomain_codeset=yes
35034
 
+else
35035
 
+  $as_echo "$as_me: failed program was:" >&5
35036
 
+sed 's/^/| /' conftest.$ac_ext >&5
35037
 
 
35038
 
+       ac_cv_func_bind_textdomain_codeset=no
35039
 
+fi
35040
 
 
35041
 
+rm -rf conftest.dSYM
35042
 
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35043
 
+      conftest$ac_exeext conftest.$ac_ext
35044
 
 fi
35045
 
-  if test "${ac_cv_path_install+set}" = set; then
35046
 
-    INSTALL=$ac_cv_path_install
35047
 
-  else
35048
 
-    # As a last resort, use the slow shell script.  Don't cache a
35049
 
-    # value for INSTALL within a source directory, because that will
35050
 
-    # break other packages using the cache if that directory is
35051
 
-    # removed, or if the value is a relative name.
35052
 
-    INSTALL=$ac_install_sh
35053
 
-  fi
35054
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
35055
 
+$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
35056
 
+if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
35057
 
+  DATADIRNAME=share
35058
 
+else
35059
 
+  DATADIRNAME=lib
35060
 
 fi
35061
 
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
35062
 
-echo "${ECHO_T}$INSTALL" >&6; }
35063
 
 
35064
 
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
35065
 
-# It thinks the first close brace ends the variable substitution.
35066
 
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
35067
 
+    ;;
35068
 
+    *)
35069
 
+    DATADIRNAME=lib
35070
 
+    ;;
35071
 
+    esac
35072
 
+fi
35073
 
 
35074
 
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
35075
 
+rm -rf conftest.dSYM
35076
 
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35077
 
+      conftest$ac_exeext conftest.$ac_ext
35078
 
+fi
35079
 
 
35080
 
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
35081
 
 
35082
 
 
35083
 
-  { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
35084
 
-echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
35085
 
-    # Check whether --enable-nls was given.
35086
 
-if test "${enable_nls+set}" = set; then
35087
 
-  enableval=$enable_nls; USE_NLS=$enableval
35088
 
+
35089
 
+
35090
 
+
35091
 
+
35092
 
+
35093
 
+    # Check whether --enable-compile-warnings was given.
35094
 
+if test "${enable_compile_warnings+set}" = set; then
35095
 
+  enableval=$enable_compile_warnings;
35096
 
 else
35097
 
-  USE_NLS=yes
35098
 
+  enable_compile_warnings="maximum"
35099
 
 fi
35100
 
 
35101
 
-  { echo "$as_me:$LINENO: result: $USE_NLS" >&5
35102
 
-echo "${ECHO_T}$USE_NLS" >&6; }
35103
 
 
35104
 
+    warnCFLAGS=
35105
 
+    if test "x$GCC" != xyes; then
35106
 
+       enable_compile_warnings=no
35107
 
+    fi
35108
 
+
35109
 
+    warning_flags=
35110
 
+    realsave_CFLAGS="$CFLAGS"
35111
 
 
35112
 
+    case "$enable_compile_warnings" in
35113
 
+    no)
35114
 
+       warning_flags=
35115
 
+       ;;
35116
 
+    minimum)
35117
 
+       warning_flags="-Wall"
35118
 
+       ;;
35119
 
+    yes)
35120
 
+       warning_flags="-Wall -Wmissing-prototypes"
35121
 
+       ;;
35122
 
+    maximum|error)
35123
 
+       warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
35124
 
+       CFLAGS="$warning_flags $CFLAGS"
35125
 
+       for option in -Wno-sign-compare; do
35126
 
+               SAVE_CFLAGS="$CFLAGS"
35127
 
+               CFLAGS="$CFLAGS $option"
35128
 
+               { $as_echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
35129
 
+$as_echo_n "checking whether gcc understands $option... " >&6; }
35130
 
+               cat >conftest.$ac_ext <<_ACEOF
35131
 
+/* confdefs.h.  */
35132
 
+_ACEOF
35133
 
+cat confdefs.h >>conftest.$ac_ext
35134
 
+cat >>conftest.$ac_ext <<_ACEOF
35135
 
+/* end confdefs.h.  */
35136
 
 
35137
 
+int
35138
 
+main ()
35139
 
+{
35140
 
 
35141
 
-case "$am__api_version" in
35142
 
-    1.01234)
35143
 
-       { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
35144
 
-echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
35145
 
-   { (exit 1); exit 1; }; }
35146
 
-    ;;
35147
 
-    *)
35148
 
-    ;;
35149
 
+  ;
35150
 
+  return 0;
35151
 
+}
35152
 
+_ACEOF
35153
 
+rm -f conftest.$ac_objext
35154
 
+if { (ac_try="$ac_compile"
35155
 
+case "(($ac_try" in
35156
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35157
 
+  *) ac_try_echo=$ac_try;;
35158
 
 esac
35159
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35160
 
+$as_echo "$ac_try_echo") >&5
35161
 
+  (eval "$ac_compile") 2>conftest.er1
35162
 
+  ac_status=$?
35163
 
+  grep -v '^ *+' conftest.er1 >conftest.err
35164
 
+  rm -f conftest.er1
35165
 
+  cat conftest.err >&5
35166
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35167
 
+  (exit $ac_status); } && {
35168
 
+        test -z "$ac_c_werror_flag" ||
35169
 
+        test ! -s conftest.err
35170
 
+       } && test -s conftest.$ac_objext; then
35171
 
+  has_option=yes
35172
 
+else
35173
 
+  $as_echo "$as_me: failed program was:" >&5
35174
 
+sed 's/^/| /' conftest.$ac_ext >&5
35175
 
 
35176
 
-if test -n "0.40.0"; then
35177
 
-    { echo "$as_me:$LINENO: checking for intltool >= 0.40.0" >&5
35178
 
-echo $ECHO_N "checking for intltool >= 0.40.0... $ECHO_C" >&6; }
35179
 
-
35180
 
-    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
35181
 
-    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
35182
 
-    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
35183
 
+       has_option=no
35184
 
+fi
35185
 
 
35186
 
-    { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
35187
 
-echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
35188
 
-    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
35189
 
-       { { echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.40.0 or later." >&5
35190
 
-echo "$as_me: error: Your intltool is too old.  You need intltool 0.40.0 or later." >&2;}
35191
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35192
 
+               CFLAGS="$SAVE_CFLAGS"
35193
 
+               { $as_echo "$as_me:$LINENO: result: $has_option" >&5
35194
 
+$as_echo "$has_option" >&6; }
35195
 
+               if test $has_option = yes; then
35196
 
+                 warning_flags="$warning_flags $option"
35197
 
+               fi
35198
 
+               unset has_option
35199
 
+               unset SAVE_CFLAGS
35200
 
+       done
35201
 
+       unset option
35202
 
+       if test "$enable_compile_warnings" = "error" ; then
35203
 
+           warning_flags="$warning_flags -Werror"
35204
 
+       fi
35205
 
+       ;;
35206
 
+    *)
35207
 
+       { { $as_echo "$as_me:$LINENO: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&5
35208
 
+$as_echo "$as_me: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&2;}
35209
 
    { (exit 1); exit 1; }; }
35210
 
-fi
35211
 
+       ;;
35212
 
+    esac
35213
 
+    CFLAGS="$realsave_CFLAGS"
35214
 
+    { $as_echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
35215
 
+$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
35216
 
+    { $as_echo "$as_me:$LINENO: result: $warning_flags" >&5
35217
 
+$as_echo "$warning_flags" >&6; }
35218
 
 
35219
 
-# Extract the first word of "intltool-update", so it can be a program name with args.
35220
 
-set dummy intltool-update; ac_word=$2
35221
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
35222
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35223
 
-if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
35224
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
35225
 
+    # Check whether --enable-iso-c was given.
35226
 
+if test "${enable_iso_c+set}" = set; then
35227
 
+  enableval=$enable_iso_c;
35228
 
 else
35229
 
-  case $INTLTOOL_UPDATE in
35230
 
-  [\\/]* | ?:[\\/]*)
35231
 
-  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
35232
 
-  ;;
35233
 
-  *)
35234
 
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35235
 
-for as_dir in $PATH
35236
 
-do
35237
 
-  IFS=$as_save_IFS
35238
 
-  test -z "$as_dir" && as_dir=.
35239
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
35240
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35241
 
-    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
35242
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35243
 
-    break 2
35244
 
-  fi
35245
 
-done
35246
 
-done
35247
 
-IFS=$as_save_IFS
35248
 
-
35249
 
-  ;;
35250
 
-esac
35251
 
+  enable_iso_c=no
35252
 
 fi
35253
 
-INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
35254
 
-if test -n "$INTLTOOL_UPDATE"; then
35255
 
-  { echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
35256
 
-echo "${ECHO_T}$INTLTOOL_UPDATE" >&6; }
35257
 
+
35258
 
+
35259
 
+    { $as_echo "$as_me:$LINENO: checking what language compliance flags to pass to the C compiler" >&5
35260
 
+$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
35261
 
+    complCFLAGS=
35262
 
+    if test "x$enable_iso_c" != "xno"; then
35263
 
+       if test "x$GCC" = "xyes"; then
35264
 
+       case " $CFLAGS " in
35265
 
+           *\ \        -ansi\ \        *) ;;
35266
 
+           *) complCFLAGS="$complCFLAGS -ansi" ;;
35267
 
+       esac
35268
 
+       case " $CFLAGS " in
35269
 
+           *\ \        -pedantic\ \    *) ;;
35270
 
+           *) complCFLAGS="$complCFLAGS -pedantic" ;;
35271
 
+       esac
35272
 
+       fi
35273
 
+    fi
35274
 
+    { $as_echo "$as_me:$LINENO: result: $complCFLAGS" >&5
35275
 
+$as_echo "$complCFLAGS" >&6; }
35276
 
+
35277
 
+    WARN_CFLAGS="$warning_flags $complCFLAGS"
35278
 
+
35279
 
+
35280
 
+
35281
 
+  # Check whether --enable-cxx-warnings was given.
35282
 
+if test "${enable_cxx_warnings+set}" = set; then
35283
 
+  enableval=$enable_cxx_warnings;
35284
 
 else
35285
 
-  { echo "$as_me:$LINENO: result: no" >&5
35286
 
-echo "${ECHO_T}no" >&6; }
35287
 
+  enable_cxx_warnings="minimum"
35288
 
 fi
35289
 
 
35290
 
 
35291
 
-# Extract the first word of "intltool-merge", so it can be a program name with args.
35292
 
-set dummy intltool-merge; ac_word=$2
35293
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
35294
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35295
 
-if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
35296
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
35297
 
-else
35298
 
-  case $INTLTOOL_MERGE in
35299
 
-  [\\/]* | ?:[\\/]*)
35300
 
-  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
35301
 
-  ;;
35302
 
-  *)
35303
 
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35304
 
-for as_dir in $PATH
35305
 
-do
35306
 
-  IFS=$as_save_IFS
35307
 
-  test -z "$as_dir" && as_dir=.
35308
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
35309
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35310
 
-    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
35311
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35312
 
-    break 2
35313
 
+  { $as_echo "$as_me:$LINENO: checking what warning flags to pass to the C++ compiler" >&5
35314
 
+$as_echo_n "checking what warning flags to pass to the C++ compiler... " >&6; }
35315
 
+  warnCXXFLAGS=
35316
 
+  if test "x$GXX" != xyes; then
35317
 
+    enable_cxx_warnings=no
35318
 
   fi
35319
 
-done
35320
 
-done
35321
 
-IFS=$as_save_IFS
35322
 
+  if test "x$enable_cxx_warnings" != "xno"; then
35323
 
+    if test "x$GXX" = "xyes"; then
35324
 
+      case " $CXXFLAGS " in
35325
 
+      *\ \     -Wall\ \        *) ;;
35326
 
+      *) warnCXXFLAGS="-Wall -Wno-unused" ;;
35327
 
+      esac
35328
 
 
35329
 
-  ;;
35330
 
-esac
35331
 
-fi
35332
 
-INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
35333
 
-if test -n "$INTLTOOL_MERGE"; then
35334
 
-  { echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
35335
 
-echo "${ECHO_T}$INTLTOOL_MERGE" >&6; }
35336
 
+      ## -W is not all that useful.  And it cannot be controlled
35337
 
+      ## with individual -Wno-xxx flags, unlike -Wall
35338
 
+      if test "x$enable_cxx_warnings" = "xyes"; then
35339
 
+       warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual"
35340
 
+      fi
35341
 
+    fi
35342
 
+  fi
35343
 
+  { $as_echo "$as_me:$LINENO: result: $warnCXXFLAGS" >&5
35344
 
+$as_echo "$warnCXXFLAGS" >&6; }
35345
 
+
35346
 
+   # Check whether --enable-iso-cxx was given.
35347
 
+if test "${enable_iso_cxx+set}" = set; then
35348
 
+  enableval=$enable_iso_cxx;
35349
 
 else
35350
 
-  { echo "$as_me:$LINENO: result: no" >&5
35351
 
-echo "${ECHO_T}no" >&6; }
35352
 
+  enable_iso_cxx=no
35353
 
 fi
35354
 
 
35355
 
 
35356
 
-# Extract the first word of "intltool-extract", so it can be a program name with args.
35357
 
-set dummy intltool-extract; ac_word=$2
35358
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
35359
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35360
 
-if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
35361
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
35362
 
-else
35363
 
-  case $INTLTOOL_EXTRACT in
35364
 
-  [\\/]* | ?:[\\/]*)
35365
 
-  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
35366
 
-  ;;
35367
 
-  *)
35368
 
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35369
 
-for as_dir in $PATH
35370
 
-do
35371
 
-  IFS=$as_save_IFS
35372
 
-  test -z "$as_dir" && as_dir=.
35373
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
35374
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35375
 
-    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
35376
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35377
 
-    break 2
35378
 
-  fi
35379
 
-done
35380
 
-done
35381
 
-IFS=$as_save_IFS
35382
 
+   { $as_echo "$as_me:$LINENO: checking what language compliance flags to pass to the C++ compiler" >&5
35383
 
+$as_echo_n "checking what language compliance flags to pass to the C++ compiler... " >&6; }
35384
 
+   complCXXFLAGS=
35385
 
+   if test "x$enable_iso_cxx" != "xno"; then
35386
 
+     if test "x$GXX" = "xyes"; then
35387
 
+      case " $CXXFLAGS " in
35388
 
+      *\ \     -ansi\ \        *) ;;
35389
 
+      *) complCXXFLAGS="$complCXXFLAGS -ansi" ;;
35390
 
+      esac
35391
 
 
35392
 
-  ;;
35393
 
-esac
35394
 
-fi
35395
 
-INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
35396
 
-if test -n "$INTLTOOL_EXTRACT"; then
35397
 
-  { echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
35398
 
-echo "${ECHO_T}$INTLTOOL_EXTRACT" >&6; }
35399
 
-else
35400
 
-  { echo "$as_me:$LINENO: result: no" >&5
35401
 
-echo "${ECHO_T}no" >&6; }
35402
 
-fi
35403
 
+      case " $CXXFLAGS " in
35404
 
+      *\ \     -pedantic\ \    *) ;;
35405
 
+      *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;;
35406
 
+      esac
35407
 
+     fi
35408
 
+   fi
35409
 
+  { $as_echo "$as_me:$LINENO: result: $complCXXFLAGS" >&5
35410
 
+$as_echo "$complCXXFLAGS" >&6; }
35411
 
 
35412
 
+  WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS"
35413
 
 
35414
 
-if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
35415
 
-    { { echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
35416
 
-echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
35417
 
-   { (exit 1); exit 1; }; }
35418
 
+
35419
 
+
35420
 
+       # Check whether --enable-debug was given.
35421
 
+if test "${enable_debug+set}" = set; then
35422
 
+  enableval=$enable_debug;
35423
 
+else
35424
 
+  enable_debug=no
35425
 
 fi
35426
 
 
35427
 
-  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
35428
 
-INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
35429
 
-     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
35430
 
-     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
35431
 
-      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
35432
 
-     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
35433
 
-   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
35434
 
-    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
35435
 
-INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
35436
 
-       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
35437
 
-      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
35438
 
-      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
35439
 
-      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
35440
 
-      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
35441
 
-    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
35442
 
-  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
35443
 
-    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
35444
 
-    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
35445
 
-   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
35446
 
 
35447
 
+       if test x$enable_debug = xyes ; then
35448
 
+
35449
 
+cat >>confdefs.h <<\_ACEOF
35450
 
+#define GNOME_ENABLE_DEBUG 1
35451
 
+_ACEOF
35452
 
 
35453
 
+       fi
35454
 
 
35455
 
+{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
35456
 
+$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
35457
 
+    # Check whether --enable-maintainer-mode was given.
35458
 
+if test "${enable_maintainer_mode+set}" = set; then
35459
 
+  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
35460
 
+else
35461
 
+  USE_MAINTAINER_MODE=no
35462
 
+fi
35463
 
 
35464
 
+  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
35465
 
+$as_echo "$USE_MAINTAINER_MODE" >&6; }
35466
 
+   if test $USE_MAINTAINER_MODE = yes; then
35467
 
+  MAINTAINER_MODE_TRUE=
35468
 
+  MAINTAINER_MODE_FALSE='#'
35469
 
+else
35470
 
+  MAINTAINER_MODE_TRUE='#'
35471
 
+  MAINTAINER_MODE_FALSE=
35472
 
+fi
35473
 
 
35474
 
+  MAINT=$MAINTAINER_MODE_TRUE
35475
 
 
35476
 
 
35477
 
 
35478
 
 
35479
 
 
35480
 
+       if test $USE_MAINTAINER_MODE = yes; then
35481
 
+               DISABLE_DEPRECATED="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED"
35482
 
+       else
35483
 
+               DISABLE_DEPRECATED=""
35484
 
+       fi
35485
 
 
35486
 
 
35487
 
 
35488
 
+{ $as_echo "$as_me:$LINENO: checking for socket" >&5
35489
 
+$as_echo_n "checking for socket... " >&6; }
35490
 
+if test "${ac_cv_func_socket+set}" = set; then
35491
 
+  $as_echo_n "(cached) " >&6
35492
 
+else
35493
 
+  cat >conftest.$ac_ext <<_ACEOF
35494
 
+/* confdefs.h.  */
35495
 
+_ACEOF
35496
 
+cat confdefs.h >>conftest.$ac_ext
35497
 
+cat >>conftest.$ac_ext <<_ACEOF
35498
 
+/* end confdefs.h.  */
35499
 
+/* Define socket to an innocuous variant, in case <limits.h> declares socket.
35500
 
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35501
 
+#define socket innocuous_socket
35502
 
 
35503
 
+/* System header to define __stub macros and hopefully few prototypes,
35504
 
+    which can conflict with char socket (); below.
35505
 
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35506
 
+    <limits.h> exists even on freestanding compilers.  */
35507
 
 
35508
 
+#ifdef __STDC__
35509
 
+# include <limits.h>
35510
 
+#else
35511
 
+# include <assert.h>
35512
 
+#endif
35513
 
 
35514
 
+#undef socket
35515
 
 
35516
 
+/* Override any GCC internal prototype to avoid an error.
35517
 
+   Use char because int might match the return type of a GCC
35518
 
+   builtin and then its argument prototype would still apply.  */
35519
 
+#ifdef __cplusplus
35520
 
+extern "C"
35521
 
+#endif
35522
 
+char socket ();
35523
 
+/* The GNU C library defines this for functions which it implements
35524
 
+    to always fail with ENOSYS.  Some functions are actually named
35525
 
+    something starting with __ and the normal name is an alias.  */
35526
 
+#if defined __stub_socket || defined __stub___socket
35527
 
+choke me
35528
 
+#endif
35529
 
 
35530
 
+int
35531
 
+main ()
35532
 
+{
35533
 
+return socket ();
35534
 
+  ;
35535
 
+  return 0;
35536
 
+}
35537
 
+_ACEOF
35538
 
+rm -f conftest.$ac_objext conftest$ac_exeext
35539
 
+if { (ac_try="$ac_link"
35540
 
+case "(($ac_try" in
35541
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35542
 
+  *) ac_try_echo=$ac_try;;
35543
 
+esac
35544
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35545
 
+$as_echo "$ac_try_echo") >&5
35546
 
+  (eval "$ac_link") 2>conftest.er1
35547
 
+  ac_status=$?
35548
 
+  grep -v '^ *+' conftest.er1 >conftest.err
35549
 
+  rm -f conftest.er1
35550
 
+  cat conftest.err >&5
35551
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35552
 
+  (exit $ac_status); } && {
35553
 
+        test -z "$ac_c_werror_flag" ||
35554
 
+        test ! -s conftest.err
35555
 
+       } && test -s conftest$ac_exeext && {
35556
 
+        test "$cross_compiling" = yes ||
35557
 
+        $as_test_x conftest$ac_exeext
35558
 
+       }; then
35559
 
+  ac_cv_func_socket=yes
35560
 
+else
35561
 
+  $as_echo "$as_me: failed program was:" >&5
35562
 
+sed 's/^/| /' conftest.$ac_ext >&5
35563
 
 
35564
 
+       ac_cv_func_socket=no
35565
 
+fi
35566
 
 
35567
 
+rm -rf conftest.dSYM
35568
 
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35569
 
+      conftest$ac_exeext conftest.$ac_ext
35570
 
+fi
35571
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35572
 
+$as_echo "$ac_cv_func_socket" >&6; }
35573
 
+if test "x$ac_cv_func_socket" = x""yes; then
35574
 
+  :
35575
 
+else
35576
 
 
35577
 
-# Check the gettext tools to make sure they are GNU
35578
 
-# Extract the first word of "xgettext", so it can be a program name with args.
35579
 
-set dummy xgettext; ac_word=$2
35580
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
35581
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35582
 
-if test "${ac_cv_path_XGETTEXT+set}" = set; then
35583
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
35584
 
+{ $as_echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35585
 
+$as_echo_n "checking for socket in -lsocket... " >&6; }
35586
 
+if test "${ac_cv_lib_socket_socket+set}" = set; then
35587
 
+  $as_echo_n "(cached) " >&6
35588
 
 else
35589
 
-  case $XGETTEXT in
35590
 
-  [\\/]* | ?:[\\/]*)
35591
 
-  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
35592
 
-  ;;
35593
 
-  *)
35594
 
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35595
 
-for as_dir in $PATH
35596
 
-do
35597
 
-  IFS=$as_save_IFS
35598
 
-  test -z "$as_dir" && as_dir=.
35599
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
35600
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35601
 
-    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
35602
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35603
 
-    break 2
35604
 
-  fi
35605
 
-done
35606
 
-done
35607
 
-IFS=$as_save_IFS
35608
 
+  ac_check_lib_save_LIBS=$LIBS
35609
 
+LIBS="-lsocket  $LIBS"
35610
 
+cat >conftest.$ac_ext <<_ACEOF
35611
 
+/* confdefs.h.  */
35612
 
+_ACEOF
35613
 
+cat confdefs.h >>conftest.$ac_ext
35614
 
+cat >>conftest.$ac_ext <<_ACEOF
35615
 
+/* end confdefs.h.  */
35616
 
 
35617
 
-  ;;
35618
 
+/* Override any GCC internal prototype to avoid an error.
35619
 
+   Use char because int might match the return type of a GCC
35620
 
+   builtin and then its argument prototype would still apply.  */
35621
 
+#ifdef __cplusplus
35622
 
+extern "C"
35623
 
+#endif
35624
 
+char socket ();
35625
 
+int
35626
 
+main ()
35627
 
+{
35628
 
+return socket ();
35629
 
+  ;
35630
 
+  return 0;
35631
 
+}
35632
 
+_ACEOF
35633
 
+rm -f conftest.$ac_objext conftest$ac_exeext
35634
 
+if { (ac_try="$ac_link"
35635
 
+case "(($ac_try" in
35636
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35637
 
+  *) ac_try_echo=$ac_try;;
35638
 
 esac
35639
 
-fi
35640
 
-XGETTEXT=$ac_cv_path_XGETTEXT
35641
 
-if test -n "$XGETTEXT"; then
35642
 
-  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
35643
 
-echo "${ECHO_T}$XGETTEXT" >&6; }
35644
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35645
 
+$as_echo "$ac_try_echo") >&5
35646
 
+  (eval "$ac_link") 2>conftest.er1
35647
 
+  ac_status=$?
35648
 
+  grep -v '^ *+' conftest.er1 >conftest.err
35649
 
+  rm -f conftest.er1
35650
 
+  cat conftest.err >&5
35651
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35652
 
+  (exit $ac_status); } && {
35653
 
+        test -z "$ac_c_werror_flag" ||
35654
 
+        test ! -s conftest.err
35655
 
+       } && test -s conftest$ac_exeext && {
35656
 
+        test "$cross_compiling" = yes ||
35657
 
+        $as_test_x conftest$ac_exeext
35658
 
+       }; then
35659
 
+  ac_cv_lib_socket_socket=yes
35660
 
 else
35661
 
-  { echo "$as_me:$LINENO: result: no" >&5
35662
 
-echo "${ECHO_T}no" >&6; }
35663
 
+  $as_echo "$as_me: failed program was:" >&5
35664
 
+sed 's/^/| /' conftest.$ac_ext >&5
35665
 
+
35666
 
+       ac_cv_lib_socket_socket=no
35667
 
+fi
35668
 
+
35669
 
+rm -rf conftest.dSYM
35670
 
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35671
 
+      conftest$ac_exeext conftest.$ac_ext
35672
 
+LIBS=$ac_check_lib_save_LIBS
35673
 
+fi
35674
 
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35675
 
+$as_echo "$ac_cv_lib_socket_socket" >&6; }
35676
 
+if test "x$ac_cv_lib_socket_socket" = x""yes; then
35677
 
+  cat >>confdefs.h <<_ACEOF
35678
 
+#define HAVE_LIBSOCKET 1
35679
 
+_ACEOF
35680
 
+
35681
 
+  LIBS="-lsocket $LIBS"
35682
 
+
35683
 
 fi
35684
 
 
35685
 
+fi
35686
 
 
35687
 
-# Extract the first word of "msgmerge", so it can be a program name with args.
35688
 
-set dummy msgmerge; ac_word=$2
35689
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
35690
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35691
 
-if test "${ac_cv_path_MSGMERGE+set}" = set; then
35692
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
35693
 
+
35694
 
+# Use the GNOME documentation framework
35695
 
+
35696
 
+
35697
 
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35698
 
+       if test -n "$ac_tool_prefix"; then
35699
 
+  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35700
 
+set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
35701
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
35702
 
+$as_echo_n "checking for $ac_word... " >&6; }
35703
 
+if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35704
 
+  $as_echo_n "(cached) " >&6
35705
 
 else
35706
 
-  case $MSGMERGE in
35707
 
+  case $PKG_CONFIG in
35708
 
   [\\/]* | ?:[\\/]*)
35709
 
-  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
35710
 
+  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
35711
 
   ;;
35712
 
   *)
35713
 
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35714
 
@@ -22199,8 +18584,8 @@
35715
 
   test -z "$as_dir" && as_dir=.
35716
 
   for ac_exec_ext in '' $ac_executable_extensions; do
35717
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35718
 
-    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
35719
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35720
 
+    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35721
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35722
 
     break 2
35723
 
   fi
35724
 
 done
35725
 
@@ -22210,26 +18595,29 @@
35726
 
   ;;
35727
 
 esac
35728
 
 fi
35729
 
-MSGMERGE=$ac_cv_path_MSGMERGE
35730
 
-if test -n "$MSGMERGE"; then
35731
 
-  { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
35732
 
-echo "${ECHO_T}$MSGMERGE" >&6; }
35733
 
+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35734
 
+if test -n "$PKG_CONFIG"; then
35735
 
+  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35736
 
+$as_echo "$PKG_CONFIG" >&6; }
35737
 
 else
35738
 
-  { echo "$as_me:$LINENO: result: no" >&5
35739
 
-echo "${ECHO_T}no" >&6; }
35740
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
35741
 
+$as_echo "no" >&6; }
35742
 
 fi
35743
 
 
35744
 
 
35745
 
-# Extract the first word of "msgfmt", so it can be a program name with args.
35746
 
-set dummy msgfmt; ac_word=$2
35747
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
35748
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35749
 
-if test "${ac_cv_path_MSGFMT+set}" = set; then
35750
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
35751
 
+fi
35752
 
+if test -z "$ac_cv_path_PKG_CONFIG"; then
35753
 
+  ac_pt_PKG_CONFIG=$PKG_CONFIG
35754
 
+  # Extract the first word of "pkg-config", so it can be a program name with args.
35755
 
+set dummy pkg-config; ac_word=$2
35756
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
35757
 
+$as_echo_n "checking for $ac_word... " >&6; }
35758
 
+if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35759
 
+  $as_echo_n "(cached) " >&6
35760
 
 else
35761
 
-  case $MSGFMT in
35762
 
+  case $ac_pt_PKG_CONFIG in
35763
 
   [\\/]* | ?:[\\/]*)
35764
 
-  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
35765
 
+  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35766
 
   ;;
35767
 
   *)
35768
 
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35769
 
@@ -22239,8 +18627,8 @@
35770
 
   test -z "$as_dir" && as_dir=.
35771
 
   for ac_exec_ext in '' $ac_executable_extensions; do
35772
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35773
 
-    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
35774
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35775
 
+    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35776
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35777
 
     break 2
35778
 
   fi
35779
 
 done
35780
 
@@ -22250,910 +18638,1143 @@
35781
 
   ;;
35782
 
 esac
35783
 
 fi
35784
 
-MSGFMT=$ac_cv_path_MSGFMT
35785
 
-if test -n "$MSGFMT"; then
35786
 
-  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
35787
 
-echo "${ECHO_T}$MSGFMT" >&6; }
35788
 
+ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
35789
 
+if test -n "$ac_pt_PKG_CONFIG"; then
35790
 
+  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35791
 
+$as_echo "$ac_pt_PKG_CONFIG" >&6; }
35792
 
+else
35793
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
35794
 
+$as_echo "no" >&6; }
35795
 
+fi
35796
 
+
35797
 
+  if test "x$ac_pt_PKG_CONFIG" = x; then
35798
 
+    PKG_CONFIG=""
35799
 
+  else
35800
 
+    case $cross_compiling:$ac_tool_warned in
35801
 
+yes:)
35802
 
+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
35803
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
35804
 
+ac_tool_warned=yes ;;
35805
 
+esac
35806
 
+    PKG_CONFIG=$ac_pt_PKG_CONFIG
35807
 
+  fi
35808
 
+else
35809
 
+  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35810
 
+fi
35811
 
+
35812
 
+fi
35813
 
+if test -n "$PKG_CONFIG"; then
35814
 
+       _pkg_min_version=0.9.0
35815
 
+       { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35816
 
+$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
35817
 
+       if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35818
 
+               { $as_echo "$as_me:$LINENO: result: yes" >&5
35819
 
+$as_echo "yes" >&6; }
35820
 
+       else
35821
 
+               { $as_echo "$as_me:$LINENO: result: no" >&5
35822
 
+$as_echo "no" >&6; }
35823
 
+               PKG_CONFIG=""
35824
 
+       fi
35825
 
+
35826
 
+fi
35827
 
+
35828
 
+gdu_cv_version_required=0.3.2
35829
 
+
35830
 
+if test -n "$PKG_CONFIG" && \
35831
 
+    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\"") >&5
35832
 
+  ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
35833
 
+  ac_status=$?
35834
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835
 
+  (exit $ac_status); }; then
35836
 
+  gdu_cv_have_gdu=yes
35837
 
+else
35838
 
+  gdu_cv_have_gdu=no
35839
 
+fi
35840
 
+
35841
 
+if test "$gdu_cv_have_gdu" = "yes"; then
35842
 
+       :
35843
 
+else
35844
 
+       { { $as_echo "$as_me:$LINENO: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&5
35845
 
+$as_echo "$as_me: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&2;}
35846
 
+   { (exit 1); exit 1; }; }
35847
 
+fi
35848
 
+
35849
 
+
35850
 
+
35851
 
+# Check whether --with-help-dir was given.
35852
 
+if test "${with_help_dir+set}" = set; then
35853
 
+  withval=$with_help_dir;
35854
 
+else
35855
 
+  with_help_dir='${datadir}/gnome/help'
35856
 
+fi
35857
 
+
35858
 
+HELP_DIR="$with_help_dir"
35859
 
+
35860
 
+
35861
 
+
35862
 
+# Check whether --with-omf-dir was given.
35863
 
+if test "${with_omf_dir+set}" = set; then
35864
 
+  withval=$with_omf_dir;
35865
 
+else
35866
 
+  with_omf_dir='${datadir}/omf'
35867
 
+fi
35868
 
+
35869
 
+OMF_DIR="$with_omf_dir"
35870
 
+
35871
 
+
35872
 
+
35873
 
+# Check whether --with-help-formats was given.
35874
 
+if test "${with_help_formats+set}" = set; then
35875
 
+  withval=$with_help_formats;
35876
 
+else
35877
 
+  with_help_formats=''
35878
 
+fi
35879
 
+
35880
 
+DOC_USER_FORMATS="$with_help_formats"
35881
 
+
35882
 
+
35883
 
+# Check whether --enable-scrollkeeper was given.
35884
 
+if test "${enable_scrollkeeper+set}" = set; then
35885
 
+  enableval=$enable_scrollkeeper;
35886
 
+else
35887
 
+  enable_scrollkeeper=yes
35888
 
+fi
35889
 
+
35890
 
+ if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
35891
 
+  ENABLE_SK_TRUE=
35892
 
+  ENABLE_SK_FALSE='#'
35893
 
+else
35894
 
+  ENABLE_SK_TRUE='#'
35895
 
+  ENABLE_SK_FALSE=
35896
 
+fi
35897
 
+
35898
 
+
35899
 
+DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
35900
 
+
35901
 
+
35902
 
+ if test "$gdu_cv_have_gdu" = "yes"; then
35903
 
+  HAVE_GNOME_DOC_UTILS_TRUE=
35904
 
+  HAVE_GNOME_DOC_UTILS_FALSE='#'
35905
 
+else
35906
 
+  HAVE_GNOME_DOC_UTILS_TRUE='#'
35907
 
+  HAVE_GNOME_DOC_UTILS_FALSE=
35908
 
+fi
35909
 
+
35910
 
+
35911
 
+
35912
 
+
35913
 
+# Find GLib and GObject
35914
 
+
35915
 
+pkg_failed=no
35916
 
+{ $as_echo "$as_me:$LINENO: checking for GLIB" >&5
35917
 
+$as_echo_n "checking for GLIB... " >&6; }
35918
 
+
35919
 
+if test -n "$PKG_CONFIG"; then
35920
 
+    if test -n "$GLIB_CFLAGS"; then
35921
 
+        pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
35922
 
+    else
35923
 
+        if test -n "$PKG_CONFIG" && \
35924
 
+    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.14 gthread-2.0 gobject-2.0\"") >&5
35925
 
+  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.14 gthread-2.0 gobject-2.0") 2>&5
35926
 
+  ac_status=$?
35927
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35928
 
+  (exit $ac_status); }; then
35929
 
+  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.14 gthread-2.0 gobject-2.0" 2>/dev/null`
35930
 
+else
35931
 
+  pkg_failed=yes
35932
 
+fi
35933
 
+    fi
35934
 
+else
35935
 
+       pkg_failed=untried
35936
 
+fi
35937
 
+if test -n "$PKG_CONFIG"; then
35938
 
+    if test -n "$GLIB_LIBS"; then
35939
 
+        pkg_cv_GLIB_LIBS="$GLIB_LIBS"
35940
 
+    else
35941
 
+        if test -n "$PKG_CONFIG" && \
35942
 
+    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.14 gthread-2.0 gobject-2.0\"") >&5
35943
 
+  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.14 gthread-2.0 gobject-2.0") 2>&5
35944
 
+  ac_status=$?
35945
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35946
 
+  (exit $ac_status); }; then
35947
 
+  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.14 gthread-2.0 gobject-2.0" 2>/dev/null`
35948
 
+else
35949
 
+  pkg_failed=yes
35950
 
+fi
35951
 
+    fi
35952
 
+else
35953
 
+       pkg_failed=untried
35954
 
+fi
35955
 
+
35956
 
+
35957
 
+
35958
 
+if test $pkg_failed = yes; then
35959
 
+
35960
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35961
 
+        _pkg_short_errors_supported=yes
35962
 
+else
35963
 
+        _pkg_short_errors_supported=no
35964
 
+fi
35965
 
+        if test $_pkg_short_errors_supported = yes; then
35966
 
+               GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.14 gthread-2.0 gobject-2.0"`
35967
 
+        else
35968
 
+               GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.14 gthread-2.0 gobject-2.0"`
35969
 
+        fi
35970
 
+       # Put the nasty error message in config.log where it belongs
35971
 
+       echo "$GLIB_PKG_ERRORS" >&5
35972
 
+
35973
 
+       { { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.14 gthread-2.0 gobject-2.0) were not met:
35974
 
+
35975
 
+$GLIB_PKG_ERRORS
35976
 
+
35977
 
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
35978
 
+installed software in a non-standard prefix.
35979
 
+
35980
 
+Alternatively, you may set the environment variables GLIB_CFLAGS
35981
 
+and GLIB_LIBS to avoid the need to call pkg-config.
35982
 
+See the pkg-config man page for more details.
35983
 
+" >&5
35984
 
+$as_echo "$as_me: error: Package requirements (glib-2.0 >= 2.14 gthread-2.0 gobject-2.0) were not met:
35985
 
+
35986
 
+$GLIB_PKG_ERRORS
35987
 
+
35988
 
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
35989
 
+installed software in a non-standard prefix.
35990
 
+
35991
 
+Alternatively, you may set the environment variables GLIB_CFLAGS
35992
 
+and GLIB_LIBS to avoid the need to call pkg-config.
35993
 
+See the pkg-config man page for more details.
35994
 
+" >&2;}
35995
 
+   { (exit 1); exit 1; }; }
35996
 
+elif test $pkg_failed = untried; then
35997
 
+       { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
35998
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
35999
 
+{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
36000
 
+is in your PATH or set the PKG_CONFIG environment variable to the full
36001
 
+path to pkg-config.
36002
 
+
36003
 
+Alternatively, you may set the environment variables GLIB_CFLAGS
36004
 
+and GLIB_LIBS to avoid the need to call pkg-config.
36005
 
+See the pkg-config man page for more details.
36006
 
+
36007
 
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
36008
 
+See \`config.log' for more details." >&5
36009
 
+$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
36010
 
+is in your PATH or set the PKG_CONFIG environment variable to the full
36011
 
+path to pkg-config.
36012
 
+
36013
 
+Alternatively, you may set the environment variables GLIB_CFLAGS
36014
 
+and GLIB_LIBS to avoid the need to call pkg-config.
36015
 
+See the pkg-config man page for more details.
36016
 
+
36017
 
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
36018
 
+See \`config.log' for more details." >&2;}
36019
 
+   { (exit 1); exit 1; }; }; }
36020
 
+else
36021
 
+       GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
36022
 
+       GLIB_LIBS=$pkg_cv_GLIB_LIBS
36023
 
+        { $as_echo "$as_me:$LINENO: result: yes" >&5
36024
 
+$as_echo "yes" >&6; }
36025
 
+       :
36026
 
+fi
36027
 
+
36028
 
+
36029
 
+
36030
 
+# Find libbrasero-media
36031
 
+
36032
 
+pkg_failed=no
36033
 
+{ $as_echo "$as_me:$LINENO: checking for BURN" >&5
36034
 
+$as_echo_n "checking for BURN... " >&6; }
36035
 
+
36036
 
+if test -n "$PKG_CONFIG"; then
36037
 
+    if test -n "$BURN_CFLAGS"; then
36038
 
+        pkg_cv_BURN_CFLAGS="$BURN_CFLAGS"
36039
 
+    else
36040
 
+        if test -n "$PKG_CONFIG" && \
36041
 
+    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libbrasero-media >= 0.9.1\"") >&5
36042
 
+  ($PKG_CONFIG --exists --print-errors "libbrasero-media >= 0.9.1") 2>&5
36043
 
+  ac_status=$?
36044
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36045
 
+  (exit $ac_status); }; then
36046
 
+  pkg_cv_BURN_CFLAGS=`$PKG_CONFIG --cflags "libbrasero-media >= 0.9.1" 2>/dev/null`
36047
 
+else
36048
 
+  pkg_failed=yes
36049
 
+fi
36050
 
+    fi
36051
 
 else
36052
 
-  { echo "$as_me:$LINENO: result: no" >&5
36053
 
-echo "${ECHO_T}no" >&6; }
36054
 
+       pkg_failed=untried
36055
 
 fi
36056
 
-
36057
 
-
36058
 
-# Extract the first word of "gmsgfmt", so it can be a program name with args.
36059
 
-set dummy gmsgfmt; ac_word=$2
36060
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
36061
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36062
 
-if test "${ac_cv_path_GMSGFMT+set}" = set; then
36063
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
36064
 
+if test -n "$PKG_CONFIG"; then
36065
 
+    if test -n "$BURN_LIBS"; then
36066
 
+        pkg_cv_BURN_LIBS="$BURN_LIBS"
36067
 
+    else
36068
 
+        if test -n "$PKG_CONFIG" && \
36069
 
+    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libbrasero-media >= 0.9.1\"") >&5
36070
 
+  ($PKG_CONFIG --exists --print-errors "libbrasero-media >= 0.9.1") 2>&5
36071
 
+  ac_status=$?
36072
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36073
 
+  (exit $ac_status); }; then
36074
 
+  pkg_cv_BURN_LIBS=`$PKG_CONFIG --libs "libbrasero-media >= 0.9.1" 2>/dev/null`
36075
 
 else
36076
 
-  case $GMSGFMT in
36077
 
-  [\\/]* | ?:[\\/]*)
36078
 
-  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
36079
 
-  ;;
36080
 
-  *)
36081
 
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36082
 
-for as_dir in $PATH
36083
 
-do
36084
 
-  IFS=$as_save_IFS
36085
 
-  test -z "$as_dir" && as_dir=.
36086
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
36087
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36088
 
-    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
36089
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36090
 
-    break 2
36091
 
-  fi
36092
 
-done
36093
 
-done
36094
 
-IFS=$as_save_IFS
36095
 
-
36096
 
-  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
36097
 
-  ;;
36098
 
-esac
36099
 
+  pkg_failed=yes
36100
 
 fi
36101
 
-GMSGFMT=$ac_cv_path_GMSGFMT
36102
 
-if test -n "$GMSGFMT"; then
36103
 
-  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
36104
 
-echo "${ECHO_T}$GMSGFMT" >&6; }
36105
 
+    fi
36106
 
 else
36107
 
-  { echo "$as_me:$LINENO: result: no" >&5
36108
 
-echo "${ECHO_T}no" >&6; }
36109
 
+       pkg_failed=untried
36110
 
 fi
36111
 
 
36112
 
 
36113
 
-if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
36114
 
-    { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
36115
 
-echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
36116
 
-   { (exit 1); exit 1; }; }
36117
 
-fi
36118
 
-xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
36119
 
-mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
36120
 
-mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
36121
 
-if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
36122
 
-    { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
36123
 
-echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
36124
 
-   { (exit 1); exit 1; }; }
36125
 
-fi
36126
 
 
36127
 
-# Extract the first word of "perl", so it can be a program name with args.
36128
 
-set dummy perl; ac_word=$2
36129
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
36130
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36131
 
-if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
36132
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
36133
 
-else
36134
 
-  case $INTLTOOL_PERL in
36135
 
-  [\\/]* | ?:[\\/]*)
36136
 
-  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
36137
 
-  ;;
36138
 
-  *)
36139
 
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36140
 
-for as_dir in $PATH
36141
 
-do
36142
 
-  IFS=$as_save_IFS
36143
 
-  test -z "$as_dir" && as_dir=.
36144
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
36145
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36146
 
-    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
36147
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36148
 
-    break 2
36149
 
-  fi
36150
 
-done
36151
 
-done
36152
 
-IFS=$as_save_IFS
36153
 
+if test $pkg_failed = yes; then
36154
 
 
36155
 
-  ;;
36156
 
-esac
36157
 
-fi
36158
 
-INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
36159
 
-if test -n "$INTLTOOL_PERL"; then
36160
 
-  { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
36161
 
-echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
36162
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36163
 
+        _pkg_short_errors_supported=yes
36164
 
 else
36165
 
-  { echo "$as_me:$LINENO: result: no" >&5
36166
 
-echo "${ECHO_T}no" >&6; }
36167
 
+        _pkg_short_errors_supported=no
36168
 
 fi
36169
 
+        if test $_pkg_short_errors_supported = yes; then
36170
 
+               BURN_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libbrasero-media >= 0.9.1"`
36171
 
+        else
36172
 
+               BURN_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libbrasero-media >= 0.9.1"`
36173
 
+        fi
36174
 
+       # Put the nasty error message in config.log where it belongs
36175
 
+       echo "$BURN_PKG_ERRORS" >&5
36176
 
 
36177
 
+       { { $as_echo "$as_me:$LINENO: error: Package requirements (libbrasero-media >= 0.9.1) were not met:
36178
 
 
36179
 
-if test -z "$INTLTOOL_PERL"; then
36180
 
-   { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
36181
 
-echo "$as_me: error: perl not found; required for intltool" >&2;}
36182
 
-   { (exit 1); exit 1; }; }
36183
 
-fi
36184
 
-if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
36185
 
-   { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
36186
 
-echo "$as_me: error: perl 5.x required for intltool" >&2;}
36187
 
-   { (exit 1); exit 1; }; }
36188
 
-fi
36189
 
-if test "xno-xml" != "xno-xml"; then
36190
 
-   { echo "$as_me:$LINENO: checking for XML::Parser" >&5
36191
 
-echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
36192
 
-   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
36193
 
-       { echo "$as_me:$LINENO: result: ok" >&5
36194
 
-echo "${ECHO_T}ok" >&6; }
36195
 
-   else
36196
 
-       { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
36197
 
-echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
36198
 
+$BURN_PKG_ERRORS
36199
 
+
36200
 
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
36201
 
+installed software in a non-standard prefix.
36202
 
+
36203
 
+Alternatively, you may set the environment variables BURN_CFLAGS
36204
 
+and BURN_LIBS to avoid the need to call pkg-config.
36205
 
+See the pkg-config man page for more details.
36206
 
+" >&5
36207
 
+$as_echo "$as_me: error: Package requirements (libbrasero-media >= 0.9.1) were not met:
36208
 
+
36209
 
+$BURN_PKG_ERRORS
36210
 
+
36211
 
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
36212
 
+installed software in a non-standard prefix.
36213
 
+
36214
 
+Alternatively, you may set the environment variables BURN_CFLAGS
36215
 
+and BURN_LIBS to avoid the need to call pkg-config.
36216
 
+See the pkg-config man page for more details.
36217
 
+" >&2;}
36218
 
    { (exit 1); exit 1; }; }
36219
 
-   fi
36220
 
-fi
36221
 
+elif test $pkg_failed = untried; then
36222
 
+       { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
36223
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36224
 
+{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
36225
 
+is in your PATH or set the PKG_CONFIG environment variable to the full
36226
 
+path to pkg-config.
36227
 
 
36228
 
-# Substitute ALL_LINGUAS so we can use it in po/Makefile
36229
 
+Alternatively, you may set the environment variables BURN_CFLAGS
36230
 
+and BURN_LIBS to avoid the need to call pkg-config.
36231
 
+See the pkg-config man page for more details.
36232
 
 
36233
 
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
36234
 
+See \`config.log' for more details." >&5
36235
 
+$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
36236
 
+is in your PATH or set the PKG_CONFIG environment variable to the full
36237
 
+path to pkg-config.
36238
 
 
36239
 
-# Set DATADIRNAME correctly if it is not set yet
36240
 
-# (copied from glib-gettext.m4)
36241
 
-if test -z "$DATADIRNAME"; then
36242
 
-  cat >conftest.$ac_ext <<_ACEOF
36243
 
-/* confdefs.h.  */
36244
 
-_ACEOF
36245
 
-cat confdefs.h >>conftest.$ac_ext
36246
 
-cat >>conftest.$ac_ext <<_ACEOF
36247
 
-/* end confdefs.h.  */
36248
 
+Alternatively, you may set the environment variables BURN_CFLAGS
36249
 
+and BURN_LIBS to avoid the need to call pkg-config.
36250
 
+See the pkg-config man page for more details.
36251
 
 
36252
 
-int
36253
 
-main ()
36254
 
-{
36255
 
-extern int _nl_msg_cat_cntr;
36256
 
-                       return _nl_msg_cat_cntr
36257
 
-  ;
36258
 
-  return 0;
36259
 
-}
36260
 
-_ACEOF
36261
 
-rm -f conftest.$ac_objext conftest$ac_exeext
36262
 
-if { (ac_try="$ac_link"
36263
 
-case "(($ac_try" in
36264
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36265
 
-  *) ac_try_echo=$ac_try;;
36266
 
-esac
36267
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36268
 
-  (eval "$ac_link") 2>conftest.er1
36269
 
-  ac_status=$?
36270
 
-  grep -v '^ *+' conftest.er1 >conftest.err
36271
 
-  rm -f conftest.er1
36272
 
-  cat conftest.err >&5
36273
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36274
 
-  (exit $ac_status); } && {
36275
 
-        test -z "$ac_c_werror_flag" ||
36276
 
-        test ! -s conftest.err
36277
 
-       } && test -s conftest$ac_exeext &&
36278
 
-       $as_test_x conftest$ac_exeext; then
36279
 
-  DATADIRNAME=share
36280
 
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
36281
 
+See \`config.log' for more details." >&2;}
36282
 
+   { (exit 1); exit 1; }; }; }
36283
 
 else
36284
 
-  echo "$as_me: failed program was:" >&5
36285
 
-sed 's/^/| /' conftest.$ac_ext >&5
36286
 
+       BURN_CFLAGS=$pkg_cv_BURN_CFLAGS
36287
 
+       BURN_LIBS=$pkg_cv_BURN_LIBS
36288
 
+        { $as_echo "$as_me:$LINENO: result: yes" >&5
36289
 
+$as_echo "yes" >&6; }
36290
 
+       :
36291
 
+fi
36292
 
 
36293
 
-       case $host in
36294
 
-    *-*-solaris*)
36295
 
-                        { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
36296
 
-echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
36297
 
-if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
36298
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
36299
 
-else
36300
 
-  cat >conftest.$ac_ext <<_ACEOF
36301
 
-/* confdefs.h.  */
36302
 
-_ACEOF
36303
 
-cat confdefs.h >>conftest.$ac_ext
36304
 
-cat >>conftest.$ac_ext <<_ACEOF
36305
 
-/* end confdefs.h.  */
36306
 
-/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
36307
 
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36308
 
-#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
36309
 
 
36310
 
-/* System header to define __stub macros and hopefully few prototypes,
36311
 
-    which can conflict with char bind_textdomain_codeset (); below.
36312
 
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36313
 
-    <limits.h> exists even on freestanding compilers.  */
36314
 
 
36315
 
-#ifdef __STDC__
36316
 
-# include <limits.h>
36317
 
-#else
36318
 
-# include <assert.h>
36319
 
-#endif
36320
 
+# Set a flag if we have _can_eject, added in 2.21.5.
36321
 
+# oldlibs=$LIBS
36322
 
+LIBS="$LIBS $BURN_LIBS"
36323
 
+# AC_CHECK_FUNCS(nautilus_burn_drive_can_eject)
36324
 
+# LIBS="$oldlibs"
36325
 
 
36326
 
-#undef bind_textdomain_codeset
36327
 
+# Find the UI libraries
36328
 
 
36329
 
-/* Override any GCC internal prototype to avoid an error.
36330
 
-   Use char because int might match the return type of a GCC
36331
 
-   builtin and then its argument prototype would still apply.  */
36332
 
-#ifdef __cplusplus
36333
 
-extern "C"
36334
 
-#endif
36335
 
-char bind_textdomain_codeset ();
36336
 
-/* The GNU C library defines this for functions which it implements
36337
 
-    to always fail with ENOSYS.  Some functions are actually named
36338
 
-    something starting with __ and the normal name is an alias.  */
36339
 
-#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
36340
 
-choke me
36341
 
-#endif
36342
 
+pkg_failed=no
36343
 
+{ $as_echo "$as_me:$LINENO: checking for UI" >&5
36344
 
+$as_echo_n "checking for UI... " >&6; }
36345
 
 
36346
 
-int
36347
 
-main ()
36348
 
-{
36349
 
-return bind_textdomain_codeset ();
36350
 
-  ;
36351
 
-  return 0;
36352
 
-}
36353
 
-_ACEOF
36354
 
-rm -f conftest.$ac_objext conftest$ac_exeext
36355
 
-if { (ac_try="$ac_link"
36356
 
-case "(($ac_try" in
36357
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36358
 
-  *) ac_try_echo=$ac_try;;
36359
 
-esac
36360
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36361
 
-  (eval "$ac_link") 2>conftest.er1
36362
 
+if test -n "$PKG_CONFIG"; then
36363
 
+    if test -n "$UI_CFLAGS"; then
36364
 
+        pkg_cv_UI_CFLAGS="$UI_CFLAGS"
36365
 
+    else
36366
 
+        if test -n "$PKG_CONFIG" && \
36367
 
+    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.14  libglade-2.0  gconf-2.0 gio-2.0 gmodule-export-2.0 dbus-glib-1 libcanberra-gtk\"") >&5
36368
 
+  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.14  libglade-2.0  gconf-2.0 gio-2.0 gmodule-export-2.0 dbus-glib-1 libcanberra-gtk") 2>&5
36369
 
   ac_status=$?
36370
 
-  grep -v '^ *+' conftest.er1 >conftest.err
36371
 
-  rm -f conftest.er1
36372
 
-  cat conftest.err >&5
36373
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36374
 
-  (exit $ac_status); } && {
36375
 
-        test -z "$ac_c_werror_flag" ||
36376
 
-        test ! -s conftest.err
36377
 
-       } && test -s conftest$ac_exeext &&
36378
 
-       $as_test_x conftest$ac_exeext; then
36379
 
-  ac_cv_func_bind_textdomain_codeset=yes
36380
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36381
 
+  (exit $ac_status); }; then
36382
 
+  pkg_cv_UI_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.14  libglade-2.0  gconf-2.0 gio-2.0 gmodule-export-2.0 dbus-glib-1 libcanberra-gtk" 2>/dev/null`
36383
 
 else
36384
 
-  echo "$as_me: failed program was:" >&5
36385
 
-sed 's/^/| /' conftest.$ac_ext >&5
36386
 
-
36387
 
-       ac_cv_func_bind_textdomain_codeset=no
36388
 
-fi
36389
 
-
36390
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36391
 
-      conftest$ac_exeext conftest.$ac_ext
36392
 
+  pkg_failed=yes
36393
 
 fi
36394
 
-{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
36395
 
-echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
36396
 
-if test $ac_cv_func_bind_textdomain_codeset = yes; then
36397
 
-  DATADIRNAME=share
36398
 
+    fi
36399
 
 else
36400
 
-  DATADIRNAME=lib
36401
 
+       pkg_failed=untried
36402
 
 fi
36403
 
-
36404
 
-    ;;
36405
 
-    *)
36406
 
-    DATADIRNAME=lib
36407
 
-    ;;
36408
 
-    esac
36409
 
+if test -n "$PKG_CONFIG"; then
36410
 
+    if test -n "$UI_LIBS"; then
36411
 
+        pkg_cv_UI_LIBS="$UI_LIBS"
36412
 
+    else
36413
 
+        if test -n "$PKG_CONFIG" && \
36414
 
+    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.14  libglade-2.0  gconf-2.0 gio-2.0 gmodule-export-2.0 dbus-glib-1 libcanberra-gtk\"") >&5
36415
 
+  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.14  libglade-2.0  gconf-2.0 gio-2.0 gmodule-export-2.0 dbus-glib-1 libcanberra-gtk") 2>&5
36416
 
+  ac_status=$?
36417
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36418
 
+  (exit $ac_status); }; then
36419
 
+  pkg_cv_UI_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.14  libglade-2.0  gconf-2.0 gio-2.0 gmodule-export-2.0 dbus-glib-1 libcanberra-gtk" 2>/dev/null`
36420
 
+else
36421
 
+  pkg_failed=yes
36422
 
 fi
36423
 
-
36424
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36425
 
-      conftest$ac_exeext conftest.$ac_ext
36426
 
+    fi
36427
 
+else
36428
 
+       pkg_failed=untried
36429
 
 fi
36430
 
 
36431
 
 
36432
 
 
36433
 
+if test $pkg_failed = yes; then
36434
 
 
36435
 
-
36436
 
-
36437
 
-
36438
 
-
36439
 
-    # Check whether --enable-compile-warnings was given.
36440
 
-if test "${enable_compile_warnings+set}" = set; then
36441
 
-  enableval=$enable_compile_warnings;
36442
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36443
 
+        _pkg_short_errors_supported=yes
36444
 
 else
36445
 
-  enable_compile_warnings="maximum"
36446
 
+        _pkg_short_errors_supported=no
36447
 
 fi
36448
 
+        if test $_pkg_short_errors_supported = yes; then
36449
 
+               UI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.14  libglade-2.0  gconf-2.0 gio-2.0 gmodule-export-2.0 dbus-glib-1 libcanberra-gtk"`
36450
 
+        else
36451
 
+               UI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.14  libglade-2.0  gconf-2.0 gio-2.0 gmodule-export-2.0 dbus-glib-1 libcanberra-gtk"`
36452
 
+        fi
36453
 
+       # Put the nasty error message in config.log where it belongs
36454
 
+       echo "$UI_PKG_ERRORS" >&5
36455
 
 
36456
 
+       { { $as_echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= 2.14  libglade-2.0  gconf-2.0 gio-2.0 gmodule-export-2.0 dbus-glib-1 libcanberra-gtk) were not met:
36457
 
 
36458
 
-    warnCFLAGS=
36459
 
-    if test "x$GCC" != xyes; then
36460
 
-       enable_compile_warnings=no
36461
 
-    fi
36462
 
-
36463
 
-    warning_flags=
36464
 
-    realsave_CFLAGS="$CFLAGS"
36465
 
+$UI_PKG_ERRORS
36466
 
 
36467
 
-    case "$enable_compile_warnings" in
36468
 
-    no)
36469
 
-       warning_flags=
36470
 
-       ;;
36471
 
-    minimum)
36472
 
-       warning_flags="-Wall"
36473
 
-       ;;
36474
 
-    yes)
36475
 
-       warning_flags="-Wall -Wmissing-prototypes"
36476
 
-       ;;
36477
 
-    maximum|error)
36478
 
-       warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
36479
 
-       CFLAGS="$warning_flags $CFLAGS"
36480
 
-       for option in -Wno-sign-compare; do
36481
 
-               SAVE_CFLAGS="$CFLAGS"
36482
 
-               CFLAGS="$CFLAGS $option"
36483
 
-               { echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
36484
 
-echo $ECHO_N "checking whether gcc understands $option... $ECHO_C" >&6; }
36485
 
-               cat >conftest.$ac_ext <<_ACEOF
36486
 
-/* confdefs.h.  */
36487
 
-_ACEOF
36488
 
-cat confdefs.h >>conftest.$ac_ext
36489
 
-cat >>conftest.$ac_ext <<_ACEOF
36490
 
-/* end confdefs.h.  */
36491
 
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
36492
 
+installed software in a non-standard prefix.
36493
 
 
36494
 
-int
36495
 
-main ()
36496
 
-{
36497
 
+Alternatively, you may set the environment variables UI_CFLAGS
36498
 
+and UI_LIBS to avoid the need to call pkg-config.
36499
 
+See the pkg-config man page for more details.
36500
 
+" >&5
36501
 
+$as_echo "$as_me: error: Package requirements (gtk+-2.0 >= 2.14  libglade-2.0  gconf-2.0 gio-2.0 gmodule-export-2.0 dbus-glib-1 libcanberra-gtk) were not met:
36502
 
 
36503
 
-  ;
36504
 
-  return 0;
36505
 
-}
36506
 
-_ACEOF
36507
 
-rm -f conftest.$ac_objext
36508
 
-if { (ac_try="$ac_compile"
36509
 
-case "(($ac_try" in
36510
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36511
 
-  *) ac_try_echo=$ac_try;;
36512
 
-esac
36513
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36514
 
-  (eval "$ac_compile") 2>conftest.er1
36515
 
-  ac_status=$?
36516
 
-  grep -v '^ *+' conftest.er1 >conftest.err
36517
 
-  rm -f conftest.er1
36518
 
-  cat conftest.err >&5
36519
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36520
 
-  (exit $ac_status); } && {
36521
 
-        test -z "$ac_c_werror_flag" ||
36522
 
-        test ! -s conftest.err
36523
 
-       } && test -s conftest.$ac_objext; then
36524
 
-  has_option=yes
36525
 
-else
36526
 
-  echo "$as_me: failed program was:" >&5
36527
 
-sed 's/^/| /' conftest.$ac_ext >&5
36528
 
+$UI_PKG_ERRORS
36529
 
 
36530
 
-       has_option=no
36531
 
-fi
36532
 
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
36533
 
+installed software in a non-standard prefix.
36534
 
 
36535
 
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36536
 
-               CFLAGS="$SAVE_CFLAGS"
36537
 
-               { echo "$as_me:$LINENO: result: $has_option" >&5
36538
 
-echo "${ECHO_T}$has_option" >&6; }
36539
 
-               if test $has_option = yes; then
36540
 
-                 warning_flags="$warning_flags $option"
36541
 
-               fi
36542
 
-               unset has_option
36543
 
-               unset SAVE_CFLAGS
36544
 
-       done
36545
 
-       unset option
36546
 
-       if test "$enable_compile_warnings" = "error" ; then
36547
 
-           warning_flags="$warning_flags -Werror"
36548
 
-       fi
36549
 
-       ;;
36550
 
-    *)
36551
 
-       { { echo "$as_me:$LINENO: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&5
36552
 
-echo "$as_me: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&2;}
36553
 
+Alternatively, you may set the environment variables UI_CFLAGS
36554
 
+and UI_LIBS to avoid the need to call pkg-config.
36555
 
+See the pkg-config man page for more details.
36556
 
+" >&2;}
36557
 
    { (exit 1); exit 1; }; }
36558
 
-       ;;
36559
 
-    esac
36560
 
-    CFLAGS="$realsave_CFLAGS"
36561
 
-    { echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
36562
 
-echo $ECHO_N "checking what warning flags to pass to the C compiler... $ECHO_C" >&6; }
36563
 
-    { echo "$as_me:$LINENO: result: $warning_flags" >&5
36564
 
-echo "${ECHO_T}$warning_flags" >&6; }
36565
 
+elif test $pkg_failed = untried; then
36566
 
+       { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
36567
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36568
 
+{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
36569
 
+is in your PATH or set the PKG_CONFIG environment variable to the full
36570
 
+path to pkg-config.
36571
 
 
36572
 
-    # Check whether --enable-iso-c was given.
36573
 
-if test "${enable_iso_c+set}" = set; then
36574
 
-  enableval=$enable_iso_c;
36575
 
+Alternatively, you may set the environment variables UI_CFLAGS
36576
 
+and UI_LIBS to avoid the need to call pkg-config.
36577
 
+See the pkg-config man page for more details.
36578
 
+
36579
 
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
36580
 
+See \`config.log' for more details." >&5
36581
 
+$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
36582
 
+is in your PATH or set the PKG_CONFIG environment variable to the full
36583
 
+path to pkg-config.
36584
 
+
36585
 
+Alternatively, you may set the environment variables UI_CFLAGS
36586
 
+and UI_LIBS to avoid the need to call pkg-config.
36587
 
+See the pkg-config man page for more details.
36588
 
+
36589
 
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
36590
 
+See \`config.log' for more details." >&2;}
36591
 
+   { (exit 1); exit 1; }; }; }
36592
 
 else
36593
 
-  enable_iso_c=no
36594
 
+       UI_CFLAGS=$pkg_cv_UI_CFLAGS
36595
 
+       UI_LIBS=$pkg_cv_UI_LIBS
36596
 
+        { $as_echo "$as_me:$LINENO: result: yes" >&5
36597
 
+$as_echo "yes" >&6; }
36598
 
+       :
36599
 
 fi
36600
 
 
36601
 
 
36602
 
-    { echo "$as_me:$LINENO: checking what language compliance flags to pass to the C compiler" >&5
36603
 
-echo $ECHO_N "checking what language compliance flags to pass to the C compiler... $ECHO_C" >&6; }
36604
 
-    complCFLAGS=
36605
 
-    if test "x$enable_iso_c" != "xno"; then
36606
 
-       if test "x$GCC" = "xyes"; then
36607
 
-       case " $CFLAGS " in
36608
 
-           *\ \        -ansi\ \        *) ;;
36609
 
-           *) complCFLAGS="$complCFLAGS -ansi" ;;
36610
 
-       esac
36611
 
-       case " $CFLAGS " in
36612
 
-           *\ \        -pedantic\ \    *) ;;
36613
 
-           *) complCFLAGS="$complCFLAGS -pedantic" ;;
36614
 
-       esac
36615
 
-       fi
36616
 
-    fi
36617
 
-    { echo "$as_me:$LINENO: result: $complCFLAGS" >&5
36618
 
-echo "${ECHO_T}$complCFLAGS" >&6; }
36619
 
-
36620
 
-    WARN_CFLAGS="$warning_flags $complCFLAGS"
36621
 
 
36622
 
 
36623
 
+pkg_failed=no
36624
 
+{ $as_echo "$as_me:$LINENO: checking for GSTREAMER" >&5
36625
 
+$as_echo_n "checking for GSTREAMER... " >&6; }
36626
 
 
36627
 
-  # Check whether --enable-cxx-warnings was given.
36628
 
-if test "${enable_cxx_warnings+set}" = set; then
36629
 
-  enableval=$enable_cxx_warnings;
36630
 
+if test -n "$PKG_CONFIG"; then
36631
 
+    if test -n "$GSTREAMER_CFLAGS"; then
36632
 
+        pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
36633
 
+    else
36634
 
+        if test -n "$PKG_CONFIG" && \
36635
 
+    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 >= 0.10.15 gstreamer-plugins-base-0.10\"") >&5
36636
 
+  ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 >= 0.10.15 gstreamer-plugins-base-0.10") 2>&5
36637
 
+  ac_status=$?
36638
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36639
 
+  (exit $ac_status); }; then
36640
 
+  pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.10 >= 0.10.15 gstreamer-plugins-base-0.10" 2>/dev/null`
36641
 
 else
36642
 
-  enable_cxx_warnings="minimum"
36643
 
+  pkg_failed=yes
36644
 
 fi
36645
 
-
36646
 
-
36647
 
-  { echo "$as_me:$LINENO: checking what warning flags to pass to the C++ compiler" >&5
36648
 
-echo $ECHO_N "checking what warning flags to pass to the C++ compiler... $ECHO_C" >&6; }
36649
 
-  warnCXXFLAGS=
36650
 
-  if test "x$GXX" != xyes; then
36651
 
-    enable_cxx_warnings=no
36652
 
-  fi
36653
 
-  if test "x$enable_cxx_warnings" != "xno"; then
36654
 
-    if test "x$GXX" = "xyes"; then
36655
 
-      case " $CXXFLAGS " in
36656
 
-      *\ \     -Wall\ \        *) ;;
36657
 
-      *) warnCXXFLAGS="-Wall -Wno-unused" ;;
36658
 
-      esac
36659
 
-
36660
 
-      ## -W is not all that useful.  And it cannot be controlled
36661
 
-      ## with individual -Wno-xxx flags, unlike -Wall
36662
 
-      if test "x$enable_cxx_warnings" = "xyes"; then
36663
 
-       warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual"
36664
 
-      fi
36665
 
     fi
36666
 
-  fi
36667
 
-  { echo "$as_me:$LINENO: result: $warnCXXFLAGS" >&5
36668
 
-echo "${ECHO_T}$warnCXXFLAGS" >&6; }
36669
 
-
36670
 
-   # Check whether --enable-iso-cxx was given.
36671
 
-if test "${enable_iso_cxx+set}" = set; then
36672
 
-  enableval=$enable_iso_cxx;
36673
 
 else
36674
 
-  enable_iso_cxx=no
36675
 
+       pkg_failed=untried
36676
 
 fi
36677
 
-
36678
 
-
36679
 
-   { echo "$as_me:$LINENO: checking what language compliance flags to pass to the C++ compiler" >&5
36680
 
-echo $ECHO_N "checking what language compliance flags to pass to the C++ compiler... $ECHO_C" >&6; }
36681
 
-   complCXXFLAGS=
36682
 
-   if test "x$enable_iso_cxx" != "xno"; then
36683
 
-     if test "x$GXX" = "xyes"; then
36684
 
-      case " $CXXFLAGS " in
36685
 
-      *\ \     -ansi\ \        *) ;;
36686
 
-      *) complCXXFLAGS="$complCXXFLAGS -ansi" ;;
36687
 
-      esac
36688
 
-
36689
 
-      case " $CXXFLAGS " in
36690
 
-      *\ \     -pedantic\ \    *) ;;
36691
 
-      *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;;
36692
 
-      esac
36693
 
-     fi
36694
 
-   fi
36695
 
-  { echo "$as_me:$LINENO: result: $complCXXFLAGS" >&5
36696
 
-echo "${ECHO_T}$complCXXFLAGS" >&6; }
36697
 
-
36698
 
-  WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS"
36699
 
-
36700
 
-
36701
 
-
36702
 
-       # Check whether --enable-debug was given.
36703
 
-if test "${enable_debug+set}" = set; then
36704
 
-  enableval=$enable_debug;
36705
 
+if test -n "$PKG_CONFIG"; then
36706
 
+    if test -n "$GSTREAMER_LIBS"; then
36707
 
+        pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
36708
 
+    else
36709
 
+        if test -n "$PKG_CONFIG" && \
36710
 
+    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 >= 0.10.15 gstreamer-plugins-base-0.10\"") >&5
36711
 
+  ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 >= 0.10.15 gstreamer-plugins-base-0.10") 2>&5
36712
 
+  ac_status=$?
36713
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36714
 
+  (exit $ac_status); }; then
36715
 
+  pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.10 >= 0.10.15 gstreamer-plugins-base-0.10" 2>/dev/null`
36716
 
 else
36717
 
-  enable_debug=no
36718
 
+  pkg_failed=yes
36719
 
+fi
36720
 
+    fi
36721
 
+else
36722
 
+       pkg_failed=untried
36723
 
 fi
36724
 
 
36725
 
 
36726
 
-       if test x$enable_debug = xyes ; then
36727
 
-
36728
 
-cat >>confdefs.h <<\_ACEOF
36729
 
-#define GNOME_ENABLE_DEBUG 1
36730
 
-_ACEOF
36731
 
 
36732
 
-       fi
36733
 
+if test $pkg_failed = yes; then
36734
 
 
36735
 
-{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
36736
 
-echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
36737
 
-    # Check whether --enable-maintainer-mode was given.
36738
 
-if test "${enable_maintainer_mode+set}" = set; then
36739
 
-  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
36740
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36741
 
+        _pkg_short_errors_supported=yes
36742
 
 else
36743
 
-  USE_MAINTAINER_MODE=no
36744
 
+        _pkg_short_errors_supported=no
36745
 
 fi
36746
 
+        if test $_pkg_short_errors_supported = yes; then
36747
 
+               GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-0.10 >= 0.10.15 gstreamer-plugins-base-0.10"`
36748
 
+        else
36749
 
+               GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.10 >= 0.10.15 gstreamer-plugins-base-0.10"`
36750
 
+        fi
36751
 
+       # Put the nasty error message in config.log where it belongs
36752
 
+       echo "$GSTREAMER_PKG_ERRORS" >&5
36753
 
 
36754
 
-  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
36755
 
-echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
36756
 
-   if test $USE_MAINTAINER_MODE = yes; then
36757
 
-  MAINTAINER_MODE_TRUE=
36758
 
-  MAINTAINER_MODE_FALSE='#'
36759
 
-else
36760
 
-  MAINTAINER_MODE_TRUE='#'
36761
 
-  MAINTAINER_MODE_FALSE=
36762
 
-fi
36763
 
+       { { $as_echo "$as_me:$LINENO: error: Package requirements (gstreamer-0.10 >= 0.10.15 gstreamer-plugins-base-0.10) were not met:
36764
 
 
36765
 
-  MAINT=$MAINTAINER_MODE_TRUE
36766
 
+$GSTREAMER_PKG_ERRORS
36767
 
 
36768
 
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
36769
 
+installed software in a non-standard prefix.
36770
 
 
36771
 
+Alternatively, you may set the environment variables GSTREAMER_CFLAGS
36772
 
+and GSTREAMER_LIBS to avoid the need to call pkg-config.
36773
 
+See the pkg-config man page for more details.
36774
 
+" >&5
36775
 
+$as_echo "$as_me: error: Package requirements (gstreamer-0.10 >= 0.10.15 gstreamer-plugins-base-0.10) were not met:
36776
 
 
36777
 
+$GSTREAMER_PKG_ERRORS
36778
 
 
36779
 
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
36780
 
+installed software in a non-standard prefix.
36781
 
 
36782
 
-       if test $USE_MAINTAINER_MODE = yes; then
36783
 
-               DISABLE_DEPRECATED="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED"
36784
 
-       else
36785
 
-               DISABLE_DEPRECATED=""
36786
 
-       fi
36787
 
+Alternatively, you may set the environment variables GSTREAMER_CFLAGS
36788
 
+and GSTREAMER_LIBS to avoid the need to call pkg-config.
36789
 
+See the pkg-config man page for more details.
36790
 
+" >&2;}
36791
 
+   { (exit 1); exit 1; }; }
36792
 
+elif test $pkg_failed = untried; then
36793
 
+       { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
36794
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36795
 
+{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
36796
 
+is in your PATH or set the PKG_CONFIG environment variable to the full
36797
 
+path to pkg-config.
36798
 
 
36799
 
+Alternatively, you may set the environment variables GSTREAMER_CFLAGS
36800
 
+and GSTREAMER_LIBS to avoid the need to call pkg-config.
36801
 
+See the pkg-config man page for more details.
36802
 
 
36803
 
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
36804
 
+See \`config.log' for more details." >&5
36805
 
+$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
36806
 
+is in your PATH or set the PKG_CONFIG environment variable to the full
36807
 
+path to pkg-config.
36808
 
 
36809
 
-{ echo "$as_me:$LINENO: checking for socket" >&5
36810
 
-echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
36811
 
-if test "${ac_cv_func_socket+set}" = set; then
36812
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
36813
 
-else
36814
 
-  cat >conftest.$ac_ext <<_ACEOF
36815
 
-/* confdefs.h.  */
36816
 
-_ACEOF
36817
 
-cat confdefs.h >>conftest.$ac_ext
36818
 
-cat >>conftest.$ac_ext <<_ACEOF
36819
 
-/* end confdefs.h.  */
36820
 
-/* Define socket to an innocuous variant, in case <limits.h> declares socket.
36821
 
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36822
 
-#define socket innocuous_socket
36823
 
+Alternatively, you may set the environment variables GSTREAMER_CFLAGS
36824
 
+and GSTREAMER_LIBS to avoid the need to call pkg-config.
36825
 
+See the pkg-config man page for more details.
36826
 
 
36827
 
-/* System header to define __stub macros and hopefully few prototypes,
36828
 
-    which can conflict with char socket (); below.
36829
 
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36830
 
-    <limits.h> exists even on freestanding compilers.  */
36831
 
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
36832
 
+See \`config.log' for more details." >&2;}
36833
 
+   { (exit 1); exit 1; }; }; }
36834
 
+else
36835
 
+       GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS
36836
 
+       GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS
36837
 
+        { $as_echo "$as_me:$LINENO: result: yes" >&5
36838
 
+$as_echo "yes" >&6; }
36839
 
+       :
36840
 
+fi
36841
 
 
36842
 
-#ifdef __STDC__
36843
 
-# include <limits.h>
36844
 
-#else
36845
 
-# include <assert.h>
36846
 
-#endif
36847
 
 
36848
 
-#undef socket
36849
 
 
36850
 
-/* Override any GCC internal prototype to avoid an error.
36851
 
-   Use char because int might match the return type of a GCC
36852
 
-   builtin and then its argument prototype would still apply.  */
36853
 
-#ifdef __cplusplus
36854
 
-extern "C"
36855
 
-#endif
36856
 
-char socket ();
36857
 
-/* The GNU C library defines this for functions which it implements
36858
 
-    to always fail with ENOSYS.  Some functions are actually named
36859
 
-    something starting with __ and the normal name is an alias.  */
36860
 
-#if defined __stub_socket || defined __stub___socket
36861
 
-choke me
36862
 
-#endif
36863
 
+# Find the GStreamer elements we use, and warn if they are not present.
36864
 
 
36865
 
-int
36866
 
-main ()
36867
 
-{
36868
 
-return socket ();
36869
 
-  ;
36870
 
-  return 0;
36871
 
-}
36872
 
-_ACEOF
36873
 
-rm -f conftest.$ac_objext conftest$ac_exeext
36874
 
-if { (ac_try="$ac_link"
36875
 
-case "(($ac_try" in
36876
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36877
 
-  *) ac_try_echo=$ac_try;;
36878
 
-esac
36879
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36880
 
-  (eval "$ac_link") 2>conftest.er1
36881
 
-  ac_status=$?
36882
 
-  grep -v '^ *+' conftest.er1 >conftest.err
36883
 
-  rm -f conftest.er1
36884
 
-  cat conftest.err >&5
36885
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36886
 
-  (exit $ac_status); } && {
36887
 
-        test -z "$ac_c_werror_flag" ||
36888
 
-        test ! -s conftest.err
36889
 
-       } && test -s conftest$ac_exeext &&
36890
 
-       $as_test_x conftest$ac_exeext; then
36891
 
-  ac_cv_func_socket=yes
36892
 
+  if test "x$GST_INSPECT" == "x"; then
36893
 
+    # Extract the first word of "gst-inspect-0.10", so it can be a program name with args.
36894
 
+set dummy gst-inspect-0.10; ac_word=$2
36895
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
36896
 
+$as_echo_n "checking for $ac_word... " >&6; }
36897
 
+if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
36898
 
+  $as_echo_n "(cached) " >&6
36899
 
 else
36900
 
-  echo "$as_me: failed program was:" >&5
36901
 
-sed 's/^/| /' conftest.$ac_ext >&5
36902
 
+  if test -n "$GST_INSPECT"; then
36903
 
+  ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
36904
 
+else
36905
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36906
 
+for as_dir in $PATH
36907
 
+do
36908
 
+  IFS=$as_save_IFS
36909
 
+  test -z "$as_dir" && as_dir=.
36910
 
+  for ac_exec_ext in '' $ac_executable_extensions; do
36911
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36912
 
+    ac_cv_prog_GST_INSPECT="gst-inspect-0.10"
36913
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36914
 
+    break 2
36915
 
+  fi
36916
 
+done
36917
 
+done
36918
 
+IFS=$as_save_IFS
36919
 
 
36920
 
-       ac_cv_func_socket=no
36921
 
 fi
36922
 
-
36923
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36924
 
-      conftest$ac_exeext conftest.$ac_ext
36925
 
 fi
36926
 
-{ echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
36927
 
-echo "${ECHO_T}$ac_cv_func_socket" >&6; }
36928
 
-if test $ac_cv_func_socket = yes; then
36929
 
-  :
36930
 
+GST_INSPECT=$ac_cv_prog_GST_INSPECT
36931
 
+if test -n "$GST_INSPECT"; then
36932
 
+  { $as_echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
36933
 
+$as_echo "$GST_INSPECT" >&6; }
36934
 
 else
36935
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
36936
 
+$as_echo "no" >&6; }
36937
 
+fi
36938
 
 
36939
 
-{ echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
36940
 
-echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
36941
 
-if test "${ac_cv_lib_socket_socket+set}" = set; then
36942
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
36943
 
-else
36944
 
-  ac_check_lib_save_LIBS=$LIBS
36945
 
-LIBS="-lsocket  $LIBS"
36946
 
-cat >conftest.$ac_ext <<_ACEOF
36947
 
-/* confdefs.h.  */
36948
 
-_ACEOF
36949
 
-cat confdefs.h >>conftest.$ac_ext
36950
 
-cat >>conftest.$ac_ext <<_ACEOF
36951
 
-/* end confdefs.h.  */
36952
 
 
36953
 
-/* Override any GCC internal prototype to avoid an error.
36954
 
-   Use char because int might match the return type of a GCC
36955
 
-   builtin and then its argument prototype would still apply.  */
36956
 
-#ifdef __cplusplus
36957
 
-extern "C"
36958
 
-#endif
36959
 
-char socket ();
36960
 
-int
36961
 
-main ()
36962
 
-{
36963
 
-return socket ();
36964
 
-  ;
36965
 
-  return 0;
36966
 
-}
36967
 
-_ACEOF
36968
 
-rm -f conftest.$ac_objext conftest$ac_exeext
36969
 
-if { (ac_try="$ac_link"
36970
 
-case "(($ac_try" in
36971
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36972
 
-  *) ac_try_echo=$ac_try;;
36973
 
-esac
36974
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36975
 
-  (eval "$ac_link") 2>conftest.er1
36976
 
-  ac_status=$?
36977
 
-  grep -v '^ *+' conftest.er1 >conftest.err
36978
 
-  rm -f conftest.er1
36979
 
-  cat conftest.err >&5
36980
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36981
 
-  (exit $ac_status); } && {
36982
 
-        test -z "$ac_c_werror_flag" ||
36983
 
-        test ! -s conftest.err
36984
 
-       } && test -s conftest$ac_exeext &&
36985
 
-       $as_test_x conftest$ac_exeext; then
36986
 
-  ac_cv_lib_socket_socket=yes
36987
 
-else
36988
 
-  echo "$as_me: failed program was:" >&5
36989
 
-sed 's/^/| /' conftest.$ac_ext >&5
36990
 
+  fi
36991
 
 
36992
 
-       ac_cv_lib_socket_socket=no
36993
 
-fi
36994
 
+  if test "x$GST_INSPECT" != "x"; then
36995
 
+    { $as_echo "$as_me:$LINENO: checking GStreamer 0.10 element vorbisenc" >&5
36996
 
+$as_echo_n "checking GStreamer 0.10 element vorbisenc... " >&6; }
36997
 
+    if  $GST_INSPECT vorbisenc > /dev/null 2> /dev/null ; then
36998
 
+      { $as_echo "$as_me:$LINENO: result: found." >&5
36999
 
+$as_echo "found." >&6; }
37000
 
 
37001
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37002
 
-      conftest$ac_exeext conftest.$ac_ext
37003
 
-LIBS=$ac_check_lib_save_LIBS
37004
 
-fi
37005
 
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
37006
 
-echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
37007
 
-if test $ac_cv_lib_socket_socket = yes; then
37008
 
-  cat >>confdefs.h <<_ACEOF
37009
 
-#define HAVE_LIBSOCKET 1
37010
 
-_ACEOF
37011
 
+    else
37012
 
+      { $as_echo "$as_me:$LINENO: result: not found." >&5
37013
 
+$as_echo "not found." >&6; }
37014
 
+      { $as_echo "$as_me:$LINENO: WARNING: The 'vorbisenc' element was not found. This will cause encoding to Ogg Vorbis to fail." >&5
37015
 
+$as_echo "$as_me: WARNING: The 'vorbisenc' element was not found. This will cause encoding to Ogg Vorbis to fail." >&2;}
37016
 
+    fi
37017
 
+  fi
37018
 
 
37019
 
-  LIBS="-lsocket $LIBS"
37020
 
 
37021
 
-fi
37022
 
+  if test "x$GST_INSPECT" == "x"; then
37023
 
+    # Extract the first word of "gst-inspect-0.10", so it can be a program name with args.
37024
 
+set dummy gst-inspect-0.10; ac_word=$2
37025
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
37026
 
+$as_echo_n "checking for $ac_word... " >&6; }
37027
 
+if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
37028
 
+  $as_echo_n "(cached) " >&6
37029
 
+else
37030
 
+  if test -n "$GST_INSPECT"; then
37031
 
+  ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
37032
 
+else
37033
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37034
 
+for as_dir in $PATH
37035
 
+do
37036
 
+  IFS=$as_save_IFS
37037
 
+  test -z "$as_dir" && as_dir=.
37038
 
+  for ac_exec_ext in '' $ac_executable_extensions; do
37039
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37040
 
+    ac_cv_prog_GST_INSPECT="gst-inspect-0.10"
37041
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37042
 
+    break 2
37043
 
+  fi
37044
 
+done
37045
 
+done
37046
 
+IFS=$as_save_IFS
37047
 
 
37048
 
 fi
37049
 
+fi
37050
 
+GST_INSPECT=$ac_cv_prog_GST_INSPECT
37051
 
+if test -n "$GST_INSPECT"; then
37052
 
+  { $as_echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
37053
 
+$as_echo "$GST_INSPECT" >&6; }
37054
 
+else
37055
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
37056
 
+$as_echo "no" >&6; }
37057
 
+fi
37058
 
 
37059
 
 
37060
 
-# Use the GNOME documentation framework
37061
 
+  fi
37062
 
 
37063
 
+  if test "x$GST_INSPECT" != "x"; then
37064
 
+    { $as_echo "$as_me:$LINENO: checking GStreamer 0.10 element flacenc" >&5
37065
 
+$as_echo_n "checking GStreamer 0.10 element flacenc... " >&6; }
37066
 
+    if  $GST_INSPECT flacenc > /dev/null 2> /dev/null ; then
37067
 
+      { $as_echo "$as_me:$LINENO: result: found." >&5
37068
 
+$as_echo "found." >&6; }
37069
 
 
37070
 
-if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
37071
 
-       if test -n "$ac_tool_prefix"; then
37072
 
-  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
37073
 
-set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
37074
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
37075
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
37076
 
-if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
37077
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
37078
 
+    else
37079
 
+      { $as_echo "$as_me:$LINENO: result: not found." >&5
37080
 
+$as_echo "not found." >&6; }
37081
 
+      { $as_echo "$as_me:$LINENO: WARNING: The 'flacenc' element was not found. This will cause encoding to FLAC to fail." >&5
37082
 
+$as_echo "$as_me: WARNING: The 'flacenc' element was not found. This will cause encoding to FLAC to fail." >&2;}
37083
 
+    fi
37084
 
+  fi
37085
 
+
37086
 
+
37087
 
+  if test "x$GST_INSPECT" == "x"; then
37088
 
+    # Extract the first word of "gst-inspect-0.10", so it can be a program name with args.
37089
 
+set dummy gst-inspect-0.10; ac_word=$2
37090
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
37091
 
+$as_echo_n "checking for $ac_word... " >&6; }
37092
 
+if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
37093
 
+  $as_echo_n "(cached) " >&6
37094
 
 else
37095
 
-  case $PKG_CONFIG in
37096
 
-  [\\/]* | ?:[\\/]*)
37097
 
-  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
37098
 
-  ;;
37099
 
-  *)
37100
 
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37101
 
+  if test -n "$GST_INSPECT"; then
37102
 
+  ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
37103
 
+else
37104
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37105
 
 for as_dir in $PATH
37106
 
 do
37107
 
   IFS=$as_save_IFS
37108
 
   test -z "$as_dir" && as_dir=.
37109
 
   for ac_exec_ext in '' $ac_executable_extensions; do
37110
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37111
 
-    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37112
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37113
 
+    ac_cv_prog_GST_INSPECT="gst-inspect-0.10"
37114
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37115
 
     break 2
37116
 
   fi
37117
 
 done
37118
 
 done
37119
 
 IFS=$as_save_IFS
37120
 
 
37121
 
-  ;;
37122
 
-esac
37123
 
 fi
37124
 
-PKG_CONFIG=$ac_cv_path_PKG_CONFIG
37125
 
-if test -n "$PKG_CONFIG"; then
37126
 
-  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
37127
 
-echo "${ECHO_T}$PKG_CONFIG" >&6; }
37128
 
+fi
37129
 
+GST_INSPECT=$ac_cv_prog_GST_INSPECT
37130
 
+if test -n "$GST_INSPECT"; then
37131
 
+  { $as_echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
37132
 
+$as_echo "$GST_INSPECT" >&6; }
37133
 
 else
37134
 
-  { echo "$as_me:$LINENO: result: no" >&5
37135
 
-echo "${ECHO_T}no" >&6; }
37136
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
37137
 
+$as_echo "no" >&6; }
37138
 
 fi
37139
 
 
37140
 
 
37141
 
-fi
37142
 
-if test -z "$ac_cv_path_PKG_CONFIG"; then
37143
 
-  ac_pt_PKG_CONFIG=$PKG_CONFIG
37144
 
-  # Extract the first word of "pkg-config", so it can be a program name with args.
37145
 
-set dummy pkg-config; ac_word=$2
37146
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
37147
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
37148
 
-if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
37149
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
37150
 
+  fi
37151
 
+
37152
 
+  if test "x$GST_INSPECT" != "x"; then
37153
 
+    { $as_echo "$as_me:$LINENO: checking GStreamer 0.10 element wavenc" >&5
37154
 
+$as_echo_n "checking GStreamer 0.10 element wavenc... " >&6; }
37155
 
+    if  $GST_INSPECT wavenc > /dev/null 2> /dev/null ; then
37156
 
+      { $as_echo "$as_me:$LINENO: result: found." >&5
37157
 
+$as_echo "found." >&6; }
37158
 
+
37159
 
+    else
37160
 
+      { $as_echo "$as_me:$LINENO: result: not found." >&5
37161
 
+$as_echo "not found." >&6; }
37162
 
+      { $as_echo "$as_me:$LINENO: WARNING: The 'wavenc' element was not found. This will cause encoding to Wave to fail." >&5
37163
 
+$as_echo "$as_me: WARNING: The 'wavenc' element was not found. This will cause encoding to Wave to fail." >&2;}
37164
 
+    fi
37165
 
+  fi
37166
 
+
37167
 
+
37168
 
+  if test "x$GST_INSPECT" == "x"; then
37169
 
+    # Extract the first word of "gst-inspect-0.10", so it can be a program name with args.
37170
 
+set dummy gst-inspect-0.10; ac_word=$2
37171
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
37172
 
+$as_echo_n "checking for $ac_word... " >&6; }
37173
 
+if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
37174
 
+  $as_echo_n "(cached) " >&6
37175
 
 else
37176
 
-  case $ac_pt_PKG_CONFIG in
37177
 
-  [\\/]* | ?:[\\/]*)
37178
 
-  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
37179
 
-  ;;
37180
 
-  *)
37181
 
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37182
 
+  if test -n "$GST_INSPECT"; then
37183
 
+  ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
37184
 
+else
37185
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37186
 
 for as_dir in $PATH
37187
 
 do
37188
 
   IFS=$as_save_IFS
37189
 
   test -z "$as_dir" && as_dir=.
37190
 
   for ac_exec_ext in '' $ac_executable_extensions; do
37191
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37192
 
-    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37193
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37194
 
+    ac_cv_prog_GST_INSPECT="gst-inspect-0.10"
37195
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37196
 
     break 2
37197
 
   fi
37198
 
 done
37199
 
 done
37200
 
 IFS=$as_save_IFS
37201
 
 
37202
 
-  ;;
37203
 
-esac
37204
 
 fi
37205
 
-ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
37206
 
-if test -n "$ac_pt_PKG_CONFIG"; then
37207
 
-  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
37208
 
-echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
37209
 
+fi
37210
 
+GST_INSPECT=$ac_cv_prog_GST_INSPECT
37211
 
+if test -n "$GST_INSPECT"; then
37212
 
+  { $as_echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
37213
 
+$as_echo "$GST_INSPECT" >&6; }
37214
 
 else
37215
 
-  { echo "$as_me:$LINENO: result: no" >&5
37216
 
-echo "${ECHO_T}no" >&6; }
37217
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
37218
 
+$as_echo "no" >&6; }
37219
 
 fi
37220
 
 
37221
 
-  if test "x$ac_pt_PKG_CONFIG" = x; then
37222
 
-    PKG_CONFIG=""
37223
 
-  else
37224
 
-    case $cross_compiling:$ac_tool_warned in
37225
 
-yes:)
37226
 
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
37227
 
-whose name does not start with the host triplet.  If you think this
37228
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
37229
 
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
37230
 
-whose name does not start with the host triplet.  If you think this
37231
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
37232
 
-ac_tool_warned=yes ;;
37233
 
-esac
37234
 
-    PKG_CONFIG=$ac_pt_PKG_CONFIG
37235
 
+
37236
 
+  fi
37237
 
+
37238
 
+  if test "x$GST_INSPECT" != "x"; then
37239
 
+    { $as_echo "$as_me:$LINENO: checking GStreamer 0.10 element giosink" >&5
37240
 
+$as_echo_n "checking GStreamer 0.10 element giosink... " >&6; }
37241
 
+    if  $GST_INSPECT giosink > /dev/null 2> /dev/null ; then
37242
 
+      { $as_echo "$as_me:$LINENO: result: found." >&5
37243
 
+$as_echo "found." >&6; }
37244
 
+
37245
 
+    else
37246
 
+      { $as_echo "$as_me:$LINENO: result: not found." >&5
37247
 
+$as_echo "not found." >&6; }
37248
 
+      { $as_echo "$as_me:$LINENO: WARNING: The 'giosink' element was not found. This will cause Sound Juicer to fail at runtime." >&5
37249
 
+$as_echo "$as_me: WARNING: The 'giosink' element was not found. This will cause Sound Juicer to fail at runtime." >&2;}
37250
 
+    fi
37251
 
   fi
37252
 
+
37253
 
+
37254
 
+# Find GNOME Media Profiles
37255
 
+
37256
 
+pkg_failed=no
37257
 
+{ $as_echo "$as_me:$LINENO: checking for MEDIA_PROFILES" >&5
37258
 
+$as_echo_n "checking for MEDIA_PROFILES... " >&6; }
37259
 
+
37260
 
+if test -n "$PKG_CONFIG"; then
37261
 
+    if test -n "$MEDIA_PROFILES_CFLAGS"; then
37262
 
+        pkg_cv_MEDIA_PROFILES_CFLAGS="$MEDIA_PROFILES_CFLAGS"
37263
 
+    else
37264
 
+        if test -n "$PKG_CONFIG" && \
37265
 
+    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-media-profiles >= 2.11.91\"") >&5
37266
 
+  ($PKG_CONFIG --exists --print-errors "gnome-media-profiles >= 2.11.91") 2>&5
37267
 
+  ac_status=$?
37268
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37269
 
+  (exit $ac_status); }; then
37270
 
+  pkg_cv_MEDIA_PROFILES_CFLAGS=`$PKG_CONFIG --cflags "gnome-media-profiles >= 2.11.91" 2>/dev/null`
37271
 
 else
37272
 
-  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
37273
 
+  pkg_failed=yes
37274
 
+fi
37275
 
+    fi
37276
 
+else
37277
 
+       pkg_failed=untried
37278
 
+fi
37279
 
+if test -n "$PKG_CONFIG"; then
37280
 
+    if test -n "$MEDIA_PROFILES_LIBS"; then
37281
 
+        pkg_cv_MEDIA_PROFILES_LIBS="$MEDIA_PROFILES_LIBS"
37282
 
+    else
37283
 
+        if test -n "$PKG_CONFIG" && \
37284
 
+    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-media-profiles >= 2.11.91\"") >&5
37285
 
+  ($PKG_CONFIG --exists --print-errors "gnome-media-profiles >= 2.11.91") 2>&5
37286
 
+  ac_status=$?
37287
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37288
 
+  (exit $ac_status); }; then
37289
 
+  pkg_cv_MEDIA_PROFILES_LIBS=`$PKG_CONFIG --libs "gnome-media-profiles >= 2.11.91" 2>/dev/null`
37290
 
+else
37291
 
+  pkg_failed=yes
37292
 
+fi
37293
 
+    fi
37294
 
+else
37295
 
+       pkg_failed=untried
37296
 
+fi
37297
 
+
37298
 
+
37299
 
+
37300
 
+if test $pkg_failed = yes; then
37301
 
+
37302
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37303
 
+        _pkg_short_errors_supported=yes
37304
 
+else
37305
 
+        _pkg_short_errors_supported=no
37306
 
+fi
37307
 
+        if test $_pkg_short_errors_supported = yes; then
37308
 
+               MEDIA_PROFILES_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-media-profiles >= 2.11.91"`
37309
 
+        else
37310
 
+               MEDIA_PROFILES_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-media-profiles >= 2.11.91"`
37311
 
+        fi
37312
 
+       # Put the nasty error message in config.log where it belongs
37313
 
+       echo "$MEDIA_PROFILES_PKG_ERRORS" >&5
37314
 
+
37315
 
+       { { $as_echo "$as_me:$LINENO: error: Package requirements (gnome-media-profiles >= 2.11.91) were not met:
37316
 
+
37317
 
+$MEDIA_PROFILES_PKG_ERRORS
37318
 
+
37319
 
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
37320
 
+installed software in a non-standard prefix.
37321
 
+
37322
 
+Alternatively, you may set the environment variables MEDIA_PROFILES_CFLAGS
37323
 
+and MEDIA_PROFILES_LIBS to avoid the need to call pkg-config.
37324
 
+See the pkg-config man page for more details.
37325
 
+" >&5
37326
 
+$as_echo "$as_me: error: Package requirements (gnome-media-profiles >= 2.11.91) were not met:
37327
 
+
37328
 
+$MEDIA_PROFILES_PKG_ERRORS
37329
 
+
37330
 
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
37331
 
+installed software in a non-standard prefix.
37332
 
+
37333
 
+Alternatively, you may set the environment variables MEDIA_PROFILES_CFLAGS
37334
 
+and MEDIA_PROFILES_LIBS to avoid the need to call pkg-config.
37335
 
+See the pkg-config man page for more details.
37336
 
+" >&2;}
37337
 
+   { (exit 1); exit 1; }; }
37338
 
+elif test $pkg_failed = untried; then
37339
 
+       { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
37340
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37341
 
+{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
37342
 
+is in your PATH or set the PKG_CONFIG environment variable to the full
37343
 
+path to pkg-config.
37344
 
+
37345
 
+Alternatively, you may set the environment variables MEDIA_PROFILES_CFLAGS
37346
 
+and MEDIA_PROFILES_LIBS to avoid the need to call pkg-config.
37347
 
+See the pkg-config man page for more details.
37348
 
+
37349
 
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
37350
 
+See \`config.log' for more details." >&5
37351
 
+$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
37352
 
+is in your PATH or set the PKG_CONFIG environment variable to the full
37353
 
+path to pkg-config.
37354
 
+
37355
 
+Alternatively, you may set the environment variables MEDIA_PROFILES_CFLAGS
37356
 
+and MEDIA_PROFILES_LIBS to avoid the need to call pkg-config.
37357
 
+See the pkg-config man page for more details.
37358
 
+
37359
 
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
37360
 
+See \`config.log' for more details." >&2;}
37361
 
+   { (exit 1); exit 1; }; }; }
37362
 
+else
37363
 
+       MEDIA_PROFILES_CFLAGS=$pkg_cv_MEDIA_PROFILES_CFLAGS
37364
 
+       MEDIA_PROFILES_LIBS=$pkg_cv_MEDIA_PROFILES_LIBS
37365
 
+        { $as_echo "$as_me:$LINENO: result: yes" >&5
37366
 
+$as_echo "yes" >&6; }
37367
 
+       :
37368
 
+fi
37369
 
+
37370
 
+
37371
 
+
37372
 
+# Find optional libcdio
37373
 
+
37374
 
+pkg_failed=no
37375
 
+{ $as_echo "$as_me:$LINENO: checking for CDIO" >&5
37376
 
+$as_echo_n "checking for CDIO... " >&6; }
37377
 
+
37378
 
+if test -n "$PKG_CONFIG"; then
37379
 
+    if test -n "$CDIO_CFLAGS"; then
37380
 
+        pkg_cv_CDIO_CFLAGS="$CDIO_CFLAGS"
37381
 
+    else
37382
 
+        if test -n "$PKG_CONFIG" && \
37383
 
+    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcdio >= 0.70\"") >&5
37384
 
+  ($PKG_CONFIG --exists --print-errors "libcdio >= 0.70") 2>&5
37385
 
+  ac_status=$?
37386
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37387
 
+  (exit $ac_status); }; then
37388
 
+  pkg_cv_CDIO_CFLAGS=`$PKG_CONFIG --cflags "libcdio >= 0.70" 2>/dev/null`
37389
 
+else
37390
 
+  pkg_failed=yes
37391
 
+fi
37392
 
+    fi
37393
 
+else
37394
 
+       pkg_failed=untried
37395
 
+fi
37396
 
+if test -n "$PKG_CONFIG"; then
37397
 
+    if test -n "$CDIO_LIBS"; then
37398
 
+        pkg_cv_CDIO_LIBS="$CDIO_LIBS"
37399
 
+    else
37400
 
+        if test -n "$PKG_CONFIG" && \
37401
 
+    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcdio >= 0.70\"") >&5
37402
 
+  ($PKG_CONFIG --exists --print-errors "libcdio >= 0.70") 2>&5
37403
 
+  ac_status=$?
37404
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37405
 
+  (exit $ac_status); }; then
37406
 
+  pkg_cv_CDIO_LIBS=`$PKG_CONFIG --libs "libcdio >= 0.70" 2>/dev/null`
37407
 
+else
37408
 
+  pkg_failed=yes
37409
 
+fi
37410
 
+    fi
37411
 
+else
37412
 
+       pkg_failed=untried
37413
 
+fi
37414
 
+
37415
 
+
37416
 
+
37417
 
+if test $pkg_failed = yes; then
37418
 
+
37419
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37420
 
+        _pkg_short_errors_supported=yes
37421
 
+else
37422
 
+        _pkg_short_errors_supported=no
37423
 
+fi
37424
 
+        if test $_pkg_short_errors_supported = yes; then
37425
 
+               CDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcdio >= 0.70"`
37426
 
+        else
37427
 
+               CDIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcdio >= 0.70"`
37428
 
+        fi
37429
 
+       # Put the nasty error message in config.log where it belongs
37430
 
+       echo "$CDIO_PKG_ERRORS" >&5
37431
 
+
37432
 
+       { $as_echo "$as_me:$LINENO: result: no" >&5
37433
 
+$as_echo "no" >&6; }
37434
 
+                have_cdio=no
37435
 
+elif test $pkg_failed = untried; then
37436
 
+       have_cdio=no
37437
 
+else
37438
 
+       CDIO_CFLAGS=$pkg_cv_CDIO_CFLAGS
37439
 
+       CDIO_LIBS=$pkg_cv_CDIO_LIBS
37440
 
+        { $as_echo "$as_me:$LINENO: result: yes" >&5
37441
 
+$as_echo "yes" >&6; }
37442
 
+       have_cdio=yes
37443
 
+fi
37444
 
+
37445
 
+
37446
 
+ if test "$have_cdio" = "yes"; then
37447
 
+  HAVE_LIBCDIO_TRUE=
37448
 
+  HAVE_LIBCDIO_FALSE='#'
37449
 
+else
37450
 
+  HAVE_LIBCDIO_TRUE='#'
37451
 
+  HAVE_LIBCDIO_FALSE=
37452
 
 fi
37453
 
 
37454
 
+if test "$have_cdio" = "yes" ; then
37455
 
+
37456
 
+cat >>confdefs.h <<\_ACEOF
37457
 
+#define HAVE_LIBCDIO 1
37458
 
+_ACEOF
37459
 
+
37460
 
 fi
37461
 
-if test -n "$PKG_CONFIG"; then
37462
 
-       _pkg_min_version=0.9.0
37463
 
-       { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
37464
 
-echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
37465
 
-       if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
37466
 
-               { echo "$as_me:$LINENO: result: yes" >&5
37467
 
-echo "${ECHO_T}yes" >&6; }
37468
 
-       else
37469
 
-               { echo "$as_me:$LINENO: result: no" >&5
37470
 
-echo "${ECHO_T}no" >&6; }
37471
 
-               PKG_CONFIG=""
37472
 
-       fi
37473
 
 
37474
 
-fi
37475
 
+# Find optional MusicBrainz3 and required Musicbrainz2
37476
 
 
37477
 
-gdu_cv_version_required=0.3.2
37478
 
+pkg_failed=no
37479
 
+{ $as_echo "$as_me:$LINENO: checking for MUSICBRAINZ3" >&5
37480
 
+$as_echo_n "checking for MUSICBRAINZ3... " >&6; }
37481
 
 
37482
 
-if test -n "$PKG_CONFIG" && \
37483
 
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\"") >&5
37484
 
-  ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
37485
 
+if test -n "$PKG_CONFIG"; then
37486
 
+    if test -n "$MUSICBRAINZ3_CFLAGS"; then
37487
 
+        pkg_cv_MUSICBRAINZ3_CFLAGS="$MUSICBRAINZ3_CFLAGS"
37488
 
+    else
37489
 
+        if test -n "$PKG_CONFIG" && \
37490
 
+    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libmusicbrainz3 >= 3.0.2\"") >&5
37491
 
+  ($PKG_CONFIG --exists --print-errors "libmusicbrainz3 >= 3.0.2") 2>&5
37492
 
   ac_status=$?
37493
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37494
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37495
 
   (exit $ac_status); }; then
37496
 
-  gdu_cv_have_gdu=yes
37497
 
+  pkg_cv_MUSICBRAINZ3_CFLAGS=`$PKG_CONFIG --cflags "libmusicbrainz3 >= 3.0.2" 2>/dev/null`
37498
 
 else
37499
 
-  gdu_cv_have_gdu=no
37500
 
+  pkg_failed=yes
37501
 
 fi
37502
 
-
37503
 
-if test "$gdu_cv_have_gdu" = "yes"; then
37504
 
-       :
37505
 
+    fi
37506
 
 else
37507
 
-       { { echo "$as_me:$LINENO: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&5
37508
 
-echo "$as_me: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&2;}
37509
 
-   { (exit 1); exit 1; }; }
37510
 
+       pkg_failed=untried
37511
 
 fi
37512
 
-
37513
 
-
37514
 
-
37515
 
-# Check whether --with-help-dir was given.
37516
 
-if test "${with_help_dir+set}" = set; then
37517
 
-  withval=$with_help_dir;
37518
 
+if test -n "$PKG_CONFIG"; then
37519
 
+    if test -n "$MUSICBRAINZ3_LIBS"; then
37520
 
+        pkg_cv_MUSICBRAINZ3_LIBS="$MUSICBRAINZ3_LIBS"
37521
 
+    else
37522
 
+        if test -n "$PKG_CONFIG" && \
37523
 
+    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libmusicbrainz3 >= 3.0.2\"") >&5
37524
 
+  ($PKG_CONFIG --exists --print-errors "libmusicbrainz3 >= 3.0.2") 2>&5
37525
 
+  ac_status=$?
37526
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37527
 
+  (exit $ac_status); }; then
37528
 
+  pkg_cv_MUSICBRAINZ3_LIBS=`$PKG_CONFIG --libs "libmusicbrainz3 >= 3.0.2" 2>/dev/null`
37529
 
 else
37530
 
-  with_help_dir='${datadir}/gnome/help'
37531
 
+  pkg_failed=yes
37532
 
 fi
37533
 
-
37534
 
-HELP_DIR="$with_help_dir"
37535
 
-
37536
 
-
37537
 
-
37538
 
-# Check whether --with-omf-dir was given.
37539
 
-if test "${with_omf_dir+set}" = set; then
37540
 
-  withval=$with_omf_dir;
37541
 
+    fi
37542
 
 else
37543
 
-  with_omf_dir='${datadir}/omf'
37544
 
+       pkg_failed=untried
37545
 
 fi
37546
 
 
37547
 
-OMF_DIR="$with_omf_dir"
37548
 
-
37549
 
-
37550
 
-
37551
 
-# Check whether --with-help-formats was given.
37552
 
-if test "${with_help_formats+set}" = set; then
37553
 
-  withval=$with_help_formats;
37554
 
-else
37555
 
-  with_help_formats=''
37556
 
-fi
37557
 
 
37558
 
-DOC_USER_FORMATS="$with_help_formats"
37559
 
 
37560
 
+if test $pkg_failed = yes; then
37561
 
 
37562
 
-# Check whether --enable-scrollkeeper was given.
37563
 
-if test "${enable_scrollkeeper+set}" = set; then
37564
 
-  enableval=$enable_scrollkeeper;
37565
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37566
 
+        _pkg_short_errors_supported=yes
37567
 
 else
37568
 
-  enable_scrollkeeper=yes
37569
 
+        _pkg_short_errors_supported=no
37570
 
 fi
37571
 
+        if test $_pkg_short_errors_supported = yes; then
37572
 
+               MUSICBRAINZ3_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libmusicbrainz3 >= 3.0.2"`
37573
 
+        else
37574
 
+               MUSICBRAINZ3_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libmusicbrainz3 >= 3.0.2"`
37575
 
+        fi
37576
 
+       # Put the nasty error message in config.log where it belongs
37577
 
+       echo "$MUSICBRAINZ3_PKG_ERRORS" >&5
37578
 
 
37579
 
- if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
37580
 
-  ENABLE_SK_TRUE=
37581
 
-  ENABLE_SK_FALSE='#'
37582
 
+       { $as_echo "$as_me:$LINENO: result: no" >&5
37583
 
+$as_echo "no" >&6; }
37584
 
+                have_mb3=no
37585
 
+elif test $pkg_failed = untried; then
37586
 
+       have_mb3=no
37587
 
 else
37588
 
-  ENABLE_SK_TRUE='#'
37589
 
-  ENABLE_SK_FALSE=
37590
 
+       MUSICBRAINZ3_CFLAGS=$pkg_cv_MUSICBRAINZ3_CFLAGS
37591
 
+       MUSICBRAINZ3_LIBS=$pkg_cv_MUSICBRAINZ3_LIBS
37592
 
+        { $as_echo "$as_me:$LINENO: result: yes" >&5
37593
 
+$as_echo "yes" >&6; }
37594
 
+       have_mb3=yes
37595
 
 fi
37596
 
 
37597
 
 
37598
 
-DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
37599
 
-
37600
 
-
37601
 
- if test "$gdu_cv_have_gdu" = "yes"; then
37602
 
-  HAVE_GNOME_DOC_UTILS_TRUE=
37603
 
-  HAVE_GNOME_DOC_UTILS_FALSE='#'
37604
 
+ if test "$have_mb3" = "yes"; then
37605
 
+  HAVE_MUSICBRAINZ3_TRUE=
37606
 
+  HAVE_MUSICBRAINZ3_FALSE='#'
37607
 
 else
37608
 
-  HAVE_GNOME_DOC_UTILS_TRUE='#'
37609
 
-  HAVE_GNOME_DOC_UTILS_FALSE=
37610
 
+  HAVE_MUSICBRAINZ3_TRUE='#'
37611
 
+  HAVE_MUSICBRAINZ3_FALSE=
37612
 
 fi
37613
 
 
37614
 
+if test "$have_mb3" = "yes" ; then
37615
 
 
37616
 
+cat >>confdefs.h <<\_ACEOF
37617
 
+#define HAVE_MUSICBRAINZ3 1
37618
 
+_ACEOF
37619
 
 
37620
 
+fi
37621
 
 
37622
 
-# Find GLib and GObject
37623
 
 
37624
 
 pkg_failed=no
37625
 
-{ echo "$as_me:$LINENO: checking for GLIB" >&5
37626
 
-echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; }
37627
 
+{ $as_echo "$as_me:$LINENO: checking for MUSICBRAINZ" >&5
37628
 
+$as_echo_n "checking for MUSICBRAINZ... " >&6; }
37629
 
 
37630
 
 if test -n "$PKG_CONFIG"; then
37631
 
-    if test -n "$GLIB_CFLAGS"; then
37632
 
-        pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
37633
 
+    if test -n "$MUSICBRAINZ_CFLAGS"; then
37634
 
+        pkg_cv_MUSICBRAINZ_CFLAGS="$MUSICBRAINZ_CFLAGS"
37635
 
     else
37636
 
         if test -n "$PKG_CONFIG" && \
37637
 
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.14 gthread-2.0 gobject-2.0\"") >&5
37638
 
-  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.14 gthread-2.0 gobject-2.0") 2>&5
37639
 
+    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libmusicbrainz >= 2.1.3\"") >&5
37640
 
+  ($PKG_CONFIG --exists --print-errors "libmusicbrainz >= 2.1.3") 2>&5
37641
 
   ac_status=$?
37642
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37643
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37644
 
   (exit $ac_status); }; then
37645
 
-  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.14 gthread-2.0 gobject-2.0" 2>/dev/null`
37646
 
+  pkg_cv_MUSICBRAINZ_CFLAGS=`$PKG_CONFIG --cflags "libmusicbrainz >= 2.1.3" 2>/dev/null`
37647
 
 else
37648
 
   pkg_failed=yes
37649
 
 fi
37650
 
@@ -23162,16 +19783,16 @@
37651
 
        pkg_failed=untried
37652
 
 fi
37653
 
 if test -n "$PKG_CONFIG"; then
37654
 
-    if test -n "$GLIB_LIBS"; then
37655
 
-        pkg_cv_GLIB_LIBS="$GLIB_LIBS"
37656
 
+    if test -n "$MUSICBRAINZ_LIBS"; then
37657
 
+        pkg_cv_MUSICBRAINZ_LIBS="$MUSICBRAINZ_LIBS"
37658
 
     else
37659
 
         if test -n "$PKG_CONFIG" && \
37660
 
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.14 gthread-2.0 gobject-2.0\"") >&5
37661
 
-  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.14 gthread-2.0 gobject-2.0") 2>&5
37662
 
+    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libmusicbrainz >= 2.1.3\"") >&5
37663
 
+  ($PKG_CONFIG --exists --print-errors "libmusicbrainz >= 2.1.3") 2>&5
37664
 
   ac_status=$?
37665
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37666
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37667
 
   (exit $ac_status); }; then
37668
 
-  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.14 gthread-2.0 gobject-2.0" 2>/dev/null`
37669
 
+  pkg_cv_MUSICBRAINZ_LIBS=`$PKG_CONFIG --libs "libmusicbrainz >= 2.1.3" 2>/dev/null`
37670
 
 else
37671
 
   pkg_failed=yes
37672
 
 fi
37673
 
@@ -23190,85 +19811,171 @@
37674
 
         _pkg_short_errors_supported=no
37675
 
 fi
37676
 
         if test $_pkg_short_errors_supported = yes; then
37677
 
-               GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.14 gthread-2.0 gobject-2.0"`
37678
 
+               MUSICBRAINZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libmusicbrainz >= 2.1.3"`
37679
 
         else
37680
 
-               GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.14 gthread-2.0 gobject-2.0"`
37681
 
+               MUSICBRAINZ_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libmusicbrainz >= 2.1.3"`
37682
 
         fi
37683
 
        # Put the nasty error message in config.log where it belongs
37684
 
-       echo "$GLIB_PKG_ERRORS" >&5
37685
 
+       echo "$MUSICBRAINZ_PKG_ERRORS" >&5
37686
 
 
37687
 
-       { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.14 gthread-2.0 gobject-2.0) were not met:
37688
 
+       { $as_echo "$as_me:$LINENO: result: no" >&5
37689
 
+$as_echo "no" >&6; }
37690
 
+                have_mb=no
37691
 
+elif test $pkg_failed = untried; then
37692
 
+       have_mb=no
37693
 
+else
37694
 
+       MUSICBRAINZ_CFLAGS=$pkg_cv_MUSICBRAINZ_CFLAGS
37695
 
+       MUSICBRAINZ_LIBS=$pkg_cv_MUSICBRAINZ_LIBS
37696
 
+        { $as_echo "$as_me:$LINENO: result: yes" >&5
37697
 
+$as_echo "yes" >&6; }
37698
 
+       have_mb=yes
37699
 
+fi
37700
 
 
37701
 
-$GLIB_PKG_ERRORS
37702
 
 
37703
 
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
37704
 
-installed software in a non-standard prefix.
37705
 
+ if test "$have_mb" = "yes"; then
37706
 
+  HAVE_MUSICBRAINZ_TRUE=
37707
 
+  HAVE_MUSICBRAINZ_FALSE='#'
37708
 
+else
37709
 
+  HAVE_MUSICBRAINZ_TRUE='#'
37710
 
+  HAVE_MUSICBRAINZ_FALSE=
37711
 
+fi
37712
 
 
37713
 
-Alternatively, you may set the environment variables GLIB_CFLAGS
37714
 
-and GLIB_LIBS to avoid the need to call pkg-config.
37715
 
-See the pkg-config man page for more details.
37716
 
-" >&5
37717
 
-echo "$as_me: error: Package requirements (glib-2.0 >= 2.14 gthread-2.0 gobject-2.0) were not met:
37718
 
+if test "$have_mb" = "yes" ; then
37719
 
 
37720
 
-$GLIB_PKG_ERRORS
37721
 
+cat >>confdefs.h <<\_ACEOF
37722
 
+#define HAVE_MUSICBRAINZ 1
37723
 
+_ACEOF
37724
 
 
37725
 
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
37726
 
-installed software in a non-standard prefix.
37727
 
+fi
37728
 
 
37729
 
-Alternatively, you may set the environment variables GLIB_CFLAGS
37730
 
-and GLIB_LIBS to avoid the need to call pkg-config.
37731
 
-See the pkg-config man page for more details.
37732
 
-" >&2;}
37733
 
+if test "$have_mb" = "no" && test "$have_mb3" = "no" ; then
37734
 
+        { { $as_echo "$as_me:$LINENO: error: Either libmusicbrainz or libmusicbrainz3 needs to be available for sound-juicer to build" >&5
37735
 
+$as_echo "$as_me: error: Either libmusicbrainz or libmusicbrainz3 needs to be available for sound-juicer to build" >&2;}
37736
 
    { (exit 1); exit 1; }; }
37737
 
-elif test $pkg_failed = untried; then
37738
 
-       { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
37739
 
-is in your PATH or set the PKG_CONFIG environment variable to the full
37740
 
-path to pkg-config.
37741
 
+fi
37742
 
 
37743
 
-Alternatively, you may set the environment variables GLIB_CFLAGS
37744
 
-and GLIB_LIBS to avoid the need to call pkg-config.
37745
 
-See the pkg-config man page for more details.
37746
 
+oldlibs=$LIBS
37747
 
+LIBS="$LIBS $MUSICBRAINZ_LIBS"
37748
 
 
37749
 
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.
37750
 
-See \`config.log' for more details." >&5
37751
 
-echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
37752
 
-is in your PATH or set the PKG_CONFIG environment variable to the full
37753
 
-path to pkg-config.
37754
 
+for ac_func in mb_SetProxyCreds
37755
 
+do
37756
 
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37757
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
37758
 
+$as_echo_n "checking for $ac_func... " >&6; }
37759
 
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37760
 
+  $as_echo_n "(cached) " >&6
37761
 
+else
37762
 
+  cat >conftest.$ac_ext <<_ACEOF
37763
 
+/* confdefs.h.  */
37764
 
+_ACEOF
37765
 
+cat confdefs.h >>conftest.$ac_ext
37766
 
+cat >>conftest.$ac_ext <<_ACEOF
37767
 
+/* end confdefs.h.  */
37768
 
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37769
 
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37770
 
+#define $ac_func innocuous_$ac_func
37771
 
 
37772
 
-Alternatively, you may set the environment variables GLIB_CFLAGS
37773
 
-and GLIB_LIBS to avoid the need to call pkg-config.
37774
 
-See the pkg-config man page for more details.
37775
 
+/* System header to define __stub macros and hopefully few prototypes,
37776
 
+    which can conflict with char $ac_func (); below.
37777
 
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37778
 
+    <limits.h> exists even on freestanding compilers.  */
37779
 
 
37780
 
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.
37781
 
-See \`config.log' for more details." >&2;}
37782
 
-   { (exit 1); exit 1; }; }
37783
 
-else
37784
 
-       GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
37785
 
-       GLIB_LIBS=$pkg_cv_GLIB_LIBS
37786
 
-        { echo "$as_me:$LINENO: result: yes" >&5
37787
 
-echo "${ECHO_T}yes" >&6; }
37788
 
-       :
37789
 
+#ifdef __STDC__
37790
 
+# include <limits.h>
37791
 
+#else
37792
 
+# include <assert.h>
37793
 
+#endif
37794
 
+
37795
 
+#undef $ac_func
37796
 
+
37797
 
+/* Override any GCC internal prototype to avoid an error.
37798
 
+   Use char because int might match the return type of a GCC
37799
 
+   builtin and then its argument prototype would still apply.  */
37800
 
+#ifdef __cplusplus
37801
 
+extern "C"
37802
 
+#endif
37803
 
+char $ac_func ();
37804
 
+/* The GNU C library defines this for functions which it implements
37805
 
+    to always fail with ENOSYS.  Some functions are actually named
37806
 
+    something starting with __ and the normal name is an alias.  */
37807
 
+#if defined __stub_$ac_func || defined __stub___$ac_func
37808
 
+choke me
37809
 
+#endif
37810
 
+
37811
 
+int
37812
 
+main ()
37813
 
+{
37814
 
+return $ac_func ();
37815
 
+  ;
37816
 
+  return 0;
37817
 
+}
37818
 
+_ACEOF
37819
 
+rm -f conftest.$ac_objext conftest$ac_exeext
37820
 
+if { (ac_try="$ac_link"
37821
 
+case "(($ac_try" in
37822
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37823
 
+  *) ac_try_echo=$ac_try;;
37824
 
+esac
37825
 
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37826
 
+$as_echo "$ac_try_echo") >&5
37827
 
+  (eval "$ac_link") 2>conftest.er1
37828
 
+  ac_status=$?
37829
 
+  grep -v '^ *+' conftest.er1 >conftest.err
37830
 
+  rm -f conftest.er1
37831
 
+  cat conftest.err >&5
37832
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37833
 
+  (exit $ac_status); } && {
37834
 
+        test -z "$ac_c_werror_flag" ||
37835
 
+        test ! -s conftest.err
37836
 
+       } && test -s conftest$ac_exeext && {
37837
 
+        test "$cross_compiling" = yes ||
37838
 
+        $as_test_x conftest$ac_exeext
37839
 
+       }; then
37840
 
+  eval "$as_ac_var=yes"
37841
 
+else
37842
 
+  $as_echo "$as_me: failed program was:" >&5
37843
 
+sed 's/^/| /' conftest.$ac_ext >&5
37844
 
+
37845
 
+       eval "$as_ac_var=no"
37846
 
+fi
37847
 
+
37848
 
+rm -rf conftest.dSYM
37849
 
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37850
 
+      conftest$ac_exeext conftest.$ac_ext
37851
 
 fi
37852
 
+ac_res=`eval 'as_val=${'$as_ac_var'}
37853
 
+                $as_echo "$as_val"'`
37854
 
+              { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
37855
 
+$as_echo "$ac_res" >&6; }
37856
 
+as_val=`eval 'as_val=${'$as_ac_var'}
37857
 
+                $as_echo "$as_val"'`
37858
 
+   if test "x$as_val" = x""yes; then
37859
 
+  cat >>confdefs.h <<_ACEOF
37860
 
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37861
 
+_ACEOF
37862
 
 
37863
 
+fi
37864
 
+done
37865
 
 
37866
 
+LIBS="$oldlibs"
37867
 
 
37868
 
-# Find libbrasero-media
37869
 
+# Find gio for the metadata extractor
37870
 
 
37871
 
 pkg_failed=no
37872
 
-{ echo "$as_me:$LINENO: checking for BURN" >&5
37873
 
-echo $ECHO_N "checking for BURN... $ECHO_C" >&6; }
37874
 
+{ $as_echo "$as_me:$LINENO: checking for GIO" >&5
37875
 
+$as_echo_n "checking for GIO... " >&6; }
37876
 
 
37877
 
 if test -n "$PKG_CONFIG"; then
37878
 
-    if test -n "$BURN_CFLAGS"; then
37879
 
-        pkg_cv_BURN_CFLAGS="$BURN_CFLAGS"
37880
 
+    if test -n "$GIO_CFLAGS"; then
37881
 
+        pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
37882
 
     else
37883
 
         if test -n "$PKG_CONFIG" && \
37884
 
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libbrasero-media >= 0.9.1\"") >&5
37885
 
-  ($PKG_CONFIG --exists --print-errors "libbrasero-media >= 0.9.1") 2>&5
37886
 
+    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gio-2.0\"") >&5
37887
 
+  ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
37888
 
   ac_status=$?
37889
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37890
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37891
 
   (exit $ac_status); }; then
37892
 
-  pkg_cv_BURN_CFLAGS=`$PKG_CONFIG --cflags "libbrasero-media >= 0.9.1" 2>/dev/null`
37893
 
+  pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0" 2>/dev/null`
37894
 
 else
37895
 
   pkg_failed=yes
37896
 
 fi
37897
 
@@ -23277,16 +19984,16 @@
37898
 
        pkg_failed=untried
37899
 
 fi
37900
 
 if test -n "$PKG_CONFIG"; then
37901
 
-    if test -n "$BURN_LIBS"; then
37902
 
-        pkg_cv_BURN_LIBS="$BURN_LIBS"
37903
 
+    if test -n "$GIO_LIBS"; then
37904
 
+        pkg_cv_GIO_LIBS="$GIO_LIBS"
37905
 
     else
37906
 
         if test -n "$PKG_CONFIG" && \
37907
 
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libbrasero-media >= 0.9.1\"") >&5
37908
 
-  ($PKG_CONFIG --exists --print-errors "libbrasero-media >= 0.9.1") 2>&5
37909
 
+    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gio-2.0\"") >&5
37910
 
+  ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
37911
 
   ac_status=$?
37912
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37913
 
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37914
 
   (exit $ac_status); }; then
37915
 
-  pkg_cv_BURN_LIBS=`$PKG_CONFIG --libs "libbrasero-media >= 0.9.1" 2>/dev/null`
37916
 
+  pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0" 2>/dev/null`
37917
 
 else
37918
 
   pkg_failed=yes
37919
 
 fi
37920
 
@@ -23305,2835 +20012,2853 @@
37921
 
         _pkg_short_errors_supported=no
37922
 
 fi
37923
 
         if test $_pkg_short_errors_supported = yes; then
37924
 
-               BURN_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libbrasero-media >= 0.9.1"`
37925
 
+               GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gio-2.0"`
37926
 
         else
37927
 
-               BURN_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libbrasero-media >= 0.9.1"`
37928
 
+               GIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gio-2.0"`
37929
 
         fi
37930
 
        # Put the nasty error message in config.log where it belongs
37931
 
-       echo "$BURN_PKG_ERRORS" >&5
37932
 
+       echo "$GIO_PKG_ERRORS" >&5
37933
 
 
37934
 
-       { { echo "$as_me:$LINENO: error: Package requirements (libbrasero-media >= 0.9.1) were not met:
37935
 
+       { { $as_echo "$as_me:$LINENO: error: Package requirements (gio-2.0) were not met:
37936
 
 
37937
 
-$BURN_PKG_ERRORS
37938
 
+$GIO_PKG_ERRORS
37939
 
 
37940
 
 Consider adjusting the PKG_CONFIG_PATH environment variable if you
37941
 
 installed software in a non-standard prefix.
37942
 
 
37943
 
-Alternatively, you may set the environment variables BURN_CFLAGS
37944
 
-and BURN_LIBS to avoid the need to call pkg-config.
37945
 
+Alternatively, you may set the environment variables GIO_CFLAGS
37946
 
+and GIO_LIBS to avoid the need to call pkg-config.
37947
 
 See the pkg-config man page for more details.
37948
 
 " >&5
37949
 
-echo "$as_me: error: Package requirements (libbrasero-media >= 0.9.1) were not met:
37950
 
+$as_echo "$as_me: error: Package requirements (gio-2.0) were not met:
37951
 
 
37952
 
-$BURN_PKG_ERRORS
37953
 
+$GIO_PKG_ERRORS
37954
 
 
37955
 
 Consider adjusting the PKG_CONFIG_PATH environment variable if you
37956
 
 installed software in a non-standard prefix.
37957
 
 
37958
 
-Alternatively, you may set the environment variables BURN_CFLAGS
37959
 
-and BURN_LIBS to avoid the need to call pkg-config.
37960
 
+Alternatively, you may set the environment variables GIO_CFLAGS
37961
 
+and GIO_LIBS to avoid the need to call pkg-config.
37962
 
 See the pkg-config man page for more details.
37963
 
 " >&2;}
37964
 
    { (exit 1); exit 1; }; }
37965
 
 elif test $pkg_failed = untried; then
37966
 
-       { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
37967
 
+       { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
37968
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37969
 
+{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
37970
 
 is in your PATH or set the PKG_CONFIG environment variable to the full
37971
 
 path to pkg-config.
37972
 
 
37973
 
-Alternatively, you may set the environment variables BURN_CFLAGS
37974
 
-and BURN_LIBS to avoid the need to call pkg-config.
37975
 
+Alternatively, you may set the environment variables GIO_CFLAGS
37976
 
+and GIO_LIBS to avoid the need to call pkg-config.
37977
 
 See the pkg-config man page for more details.
37978
 
 
37979
 
 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
37980
 
 See \`config.log' for more details." >&5
37981
 
-echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
37982
 
+$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
37983
 
 is in your PATH or set the PKG_CONFIG environment variable to the full
37984
 
 path to pkg-config.
37985
 
 
37986
 
-Alternatively, you may set the environment variables BURN_CFLAGS
37987
 
-and BURN_LIBS to avoid the need to call pkg-config.
37988
 
+Alternatively, you may set the environment variables GIO_CFLAGS
37989
 
+and GIO_LIBS to avoid the need to call pkg-config.
37990
 
 See the pkg-config man page for more details.
37991
 
 
37992
 
 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
37993
 
 See \`config.log' for more details." >&2;}
37994
 
-   { (exit 1); exit 1; }; }
37995
 
+   { (exit 1); exit 1; }; }; }
37996
 
 else
37997
 
-       BURN_CFLAGS=$pkg_cv_BURN_CFLAGS
37998
 
-       BURN_LIBS=$pkg_cv_BURN_LIBS
37999
 
-        { echo "$as_me:$LINENO: result: yes" >&5
38000
 
-echo "${ECHO_T}yes" >&6; }
38001
 
+       GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
38002
 
+       GIO_LIBS=$pkg_cv_GIO_LIBS
38003
 
+        { $as_echo "$as_me:$LINENO: result: yes" >&5
38004
 
+$as_echo "yes" >&6; }
38005
 
        :
38006
 
 fi
38007
 
 
38008
 
 
38009
 
 
38010
 
-# Set a flag if we have _can_eject, added in 2.21.5.
38011
 
-# oldlibs=$LIBS
38012
 
-LIBS="$LIBS $BURN_LIBS"
38013
 
-# AC_CHECK_FUNCS(nautilus_burn_drive_can_eject)
38014
 
-# LIBS="$oldlibs"
38015
 
-
38016
 
-# Find the UI libraries
38017
 
-
38018
 
-pkg_failed=no
38019
 
-{ echo "$as_me:$LINENO: checking for UI" >&5
38020
 
-echo $ECHO_N "checking for UI... $ECHO_C" >&6; }
38021
 
-
38022
 
-if test -n "$PKG_CONFIG"; then
38023
 
-    if test -n "$UI_CFLAGS"; then
38024
 
-        pkg_cv_UI_CFLAGS="$UI_CFLAGS"
38025
 
-    else
38026
 
-        if test -n "$PKG_CONFIG" && \
38027
 
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.14  libglade-2.0  gconf-2.0 gio-2.0 gmodule-export-2.0 dbus-glib-1 libcanberra-gtk\"") >&5
38028
 
-  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.14  libglade-2.0  gconf-2.0 gio-2.0 gmodule-export-2.0 dbus-glib-1 libcanberra-gtk") 2>&5
38029
 
-  ac_status=$?
38030
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38031
 
-  (exit $ac_status); }; then
38032
 
-  pkg_cv_UI_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.14  libglade-2.0  gconf-2.0 gio-2.0 gmodule-export-2.0 dbus-glib-1 libcanberra-gtk" 2>/dev/null`
38033
 
-else
38034
 
-  pkg_failed=yes
38035
 
-fi
38036
 
-    fi
38037
 
-else
38038
 
-       pkg_failed=untried
38039
 
-fi
38040
 
-if test -n "$PKG_CONFIG"; then
38041
 
-    if test -n "$UI_LIBS"; then
38042
 
-        pkg_cv_UI_LIBS="$UI_LIBS"
38043
 
-    else
38044
 
-        if test -n "$PKG_CONFIG" && \
38045
 
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.14  libglade-2.0  gconf-2.0 gio-2.0 gmodule-export-2.0 dbus-glib-1 libcanberra-gtk\"") >&5
38046
 
-  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.14  libglade-2.0  gconf-2.0 gio-2.0 gmodule-export-2.0 dbus-glib-1 libcanberra-gtk") 2>&5
38047
 
-  ac_status=$?
38048
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38049
 
-  (exit $ac_status); }; then
38050
 
-  pkg_cv_UI_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.14  libglade-2.0  gconf-2.0 gio-2.0 gmodule-export-2.0 dbus-glib-1 libcanberra-gtk" 2>/dev/null`
38051
 
+# Find how and where to put the GConf schemas
38052
 
+# Extract the first word of "gconftool-2", so it can be a program name with args.
38053
 
+set dummy gconftool-2; ac_word=$2
38054
 
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
38055
 
+$as_echo_n "checking for $ac_word... " >&6; }
38056
 
+if test "${ac_cv_path_GCONFTOOL+set}" = set; then
38057
 
+  $as_echo_n "(cached) " >&6
38058
 
 else
38059
 
-  pkg_failed=yes
38060
 
+  case $GCONFTOOL in
38061
 
+  [\\/]* | ?:[\\/]*)
38062
 
+  ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
38063
 
+  ;;
38064
 
+  *)
38065
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38066
 
+for as_dir in $PATH
38067
 
+do
38068
 
+  IFS=$as_save_IFS
38069
 
+  test -z "$as_dir" && as_dir=.
38070
 
+  for ac_exec_ext in '' $ac_executable_extensions; do
38071
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38072
 
+    ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
38073
 
+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38074
 
+    break 2
38075
 
+  fi
38076
 
+done
38077
 
+done
38078
 
+IFS=$as_save_IFS
38079
 
+
38080
 
+  test -z "$ac_cv_path_GCONFTOOL" && ac_cv_path_GCONFTOOL="no"
38081
 
+  ;;
38082
 
+esac
38083
 
 fi
38084
 
-    fi
38085
 
+GCONFTOOL=$ac_cv_path_GCONFTOOL
38086
 
+if test -n "$GCONFTOOL"; then
38087
 
+  { $as_echo "$as_me:$LINENO: result: $GCONFTOOL" >&5
38088
 
+$as_echo "$GCONFTOOL" >&6; }
38089
 
 else
38090
 
-       pkg_failed=untried
38091
 
+  { $as_echo "$as_me:$LINENO: result: no" >&5
38092
 
+$as_echo "no" >&6; }
38093
 
 fi
38094
 
 
38095
 
 
38096
 
-
38097
 
-if test $pkg_failed = yes; then
38098
 
-
38099
 
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
38100
 
-        _pkg_short_errors_supported=yes
38101
 
-else
38102
 
-        _pkg_short_errors_supported=no
38103
 
+if test "$GCONFTOOL" = "no"; then
38104
 
+        { { $as_echo "$as_me:$LINENO: error: gconftool-2 executable not found in your path - should be installed with GConf" >&5
38105
 
+$as_echo "$as_me: error: gconftool-2 executable not found in your path - should be installed with GConf" >&2;}
38106
 
+   { (exit 1); exit 1; }; }
38107
 
 fi
38108
 
-        if test $_pkg_short_errors_supported = yes; then
38109
 
-               UI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.14  libglade-2.0  gconf-2.0 gio-2.0 gmodule-export-2.0 dbus-glib-1 libcanberra-gtk"`
38110
 
-        else
38111
 
-               UI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.14  libglade-2.0  gconf-2.0 gio-2.0 gmodule-export-2.0 dbus-glib-1 libcanberra-gtk"`
38112
 
-        fi
38113
 
-       # Put the nasty error message in config.log where it belongs
38114
 
-       echo "$UI_PKG_ERRORS" >&5
38115
 
-
38116
 
-       { { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= 2.14  libglade-2.0  gconf-2.0 gio-2.0 gmodule-export-2.0 dbus-glib-1 libcanberra-gtk) were not met:
38117
 
-
38118
 
-$UI_PKG_ERRORS
38119
 
 
38120
 
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
38121
 
-installed software in a non-standard prefix.
38122
 
+  if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
38123
 
+    GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
38124
 
+  else
38125
 
+    GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
38126
 
+  fi
38127
 
 
38128
 
-Alternatively, you may set the environment variables UI_CFLAGS
38129
 
-and UI_LIBS to avoid the need to call pkg-config.
38130
 
-See the pkg-config man page for more details.
38131
 
-" >&5
38132
 
-echo "$as_me: error: Package requirements (gtk+-2.0 >= 2.14  libglade-2.0  gconf-2.0 gio-2.0 gmodule-export-2.0 dbus-glib-1 libcanberra-gtk) were not met:
38133
 
 
38134
 
-$UI_PKG_ERRORS
38135
 
+# Check whether --with-gconf-source was given.
38136
 
+if test "${with_gconf_source+set}" = set; then
38137
 
+  withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
38138
 
+fi
38139
 
 
38140
 
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
38141
 
-installed software in a non-standard prefix.
38142
 
 
38143
 
-Alternatively, you may set the environment variables UI_CFLAGS
38144
 
-and UI_LIBS to avoid the need to call pkg-config.
38145
 
-See the pkg-config man page for more details.
38146
 
-" >&2;}
38147
 
-   { (exit 1); exit 1; }; }
38148
 
-elif test $pkg_failed = untried; then
38149
 
-       { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
38150
 
-is in your PATH or set the PKG_CONFIG environment variable to the full
38151
 
-path to pkg-config.
38152
 
 
38153
 
-Alternatively, you may set the environment variables UI_CFLAGS
38154
 
-and UI_LIBS to avoid the need to call pkg-config.
38155
 
-See the pkg-config man page for more details.
38156
 
+  { $as_echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
38157
 
+$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
38158
 
 
38159
 
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.
38160
 
-See \`config.log' for more details." >&5
38161
 
-echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
38162
 
-is in your PATH or set the PKG_CONFIG environment variable to the full
38163
 
-path to pkg-config.
38164
 
+  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
38165
 
+    GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
38166
 
+  fi
38167
 
 
38168
 
-Alternatively, you may set the environment variables UI_CFLAGS
38169
 
-and UI_LIBS to avoid the need to call pkg-config.
38170
 
-See the pkg-config man page for more details.
38171
 
 
38172
 
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.
38173
 
-See \`config.log' for more details." >&2;}
38174
 
-   { (exit 1); exit 1; }; }
38175
 
-else
38176
 
-       UI_CFLAGS=$pkg_cv_UI_CFLAGS
38177
 
-       UI_LIBS=$pkg_cv_UI_LIBS
38178
 
-        { echo "$as_me:$LINENO: result: yes" >&5
38179
 
-echo "${ECHO_T}yes" >&6; }
38180
 
-       :
38181
 
+# Check whether --with-gconf-schema-file-dir was given.
38182
 
+if test "${with_gconf_schema_file_dir+set}" = set; then
38183
 
+  withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
38184
 
 fi
38185
 
 
38186
 
 
38187
 
 
38188
 
+  { $as_echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
38189
 
+$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
38190
 
 
38191
 
-pkg_failed=no
38192
 
-{ echo "$as_me:$LINENO: checking for GSTREAMER" >&5
38193
 
-echo $ECHO_N "checking for GSTREAMER... $ECHO_C" >&6; }
38194
 
-
38195
 
-if test -n "$PKG_CONFIG"; then
38196
 
-    if test -n "$GSTREAMER_CFLAGS"; then
38197
 
-        pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
38198
 
-    else
38199
 
-        if test -n "$PKG_CONFIG" && \
38200
 
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 >= 0.10.15 gstreamer-plugins-base-0.10\"") >&5
38201
 
-  ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 >= 0.10.15 gstreamer-plugins-base-0.10") 2>&5
38202
 
-  ac_status=$?
38203
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38204
 
-  (exit $ac_status); }; then
38205
 
-  pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.10 >= 0.10.15 gstreamer-plugins-base-0.10" 2>/dev/null`
38206
 
-else
38207
 
-  pkg_failed=yes
38208
 
-fi
38209
 
-    fi
38210
 
-else
38211
 
-       pkg_failed=untried
38212
 
-fi
38213
 
-if test -n "$PKG_CONFIG"; then
38214
 
-    if test -n "$GSTREAMER_LIBS"; then
38215
 
-        pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
38216
 
-    else
38217
 
-        if test -n "$PKG_CONFIG" && \
38218
 
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 >= 0.10.15 gstreamer-plugins-base-0.10\"") >&5
38219
 
-  ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 >= 0.10.15 gstreamer-plugins-base-0.10") 2>&5
38220
 
-  ac_status=$?
38221
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38222
 
-  (exit $ac_status); }; then
38223
 
-  pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.10 >= 0.10.15 gstreamer-plugins-base-0.10" 2>/dev/null`
38224
 
-else
38225
 
-  pkg_failed=yes
38226
 
+  # Check whether --enable-schemas-install was given.
38227
 
+if test "${enable_schemas_install+set}" = set; then
38228
 
+  enableval=$enable_schemas_install; case ${enableval} in
38229
 
+       yes|no) ;;
38230
 
+       *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-schemas-install" >&5
38231
 
+$as_echo "$as_me: error: bad value ${enableval} for --enable-schemas-install" >&2;}
38232
 
+   { (exit 1); exit 1; }; } ;;
38233
 
+      esac
38234
 
 fi
38235
 
-    fi
38236
 
+
38237
 
+   if test "$enable_schemas_install" != no; then
38238
 
+  GCONF_SCHEMAS_INSTALL_TRUE=
38239
 
+  GCONF_SCHEMAS_INSTALL_FALSE='#'
38240
 
 else
38241
 
-       pkg_failed=untried
38242
 
+  GCONF_SCHEMAS_INSTALL_TRUE='#'
38243
 
+  GCONF_SCHEMAS_INSTALL_FALSE=
38244
 
 fi
38245
 
 
38246
 
 
38247
 
 
38248
 
-if test $pkg_failed = yes; then
38249
 
 
38250
 
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
38251
 
-        _pkg_short_errors_supported=yes
38252
 
+# Optionally enable G* deprecations
38253
 
+{ $as_echo "$as_me:$LINENO: checking whether to enable deprecation warnings" >&5
38254
 
+$as_echo_n "checking whether to enable deprecation warnings... " >&6; }
38255
 
+# Check whether --enable-deprecations was given.
38256
 
+if test "${enable_deprecations+set}" = set; then
38257
 
+  enableval=$enable_deprecations;
38258
 
 else
38259
 
-        _pkg_short_errors_supported=no
38260
 
-fi
38261
 
-        if test $_pkg_short_errors_supported = yes; then
38262
 
-               GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-0.10 >= 0.10.15 gstreamer-plugins-base-0.10"`
38263
 
-        else
38264
 
-               GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.10 >= 0.10.15 gstreamer-plugins-base-0.10"`
38265
 
-        fi
38266
 
-       # Put the nasty error message in config.log where it belongs
38267
 
-       echo "$GSTREAMER_PKG_ERRORS" >&5
38268
 
+  enable_deprecations=no
38269
 
+fi
38270
 
 
38271
 
-       { { echo "$as_me:$LINENO: error: Package requirements (gstreamer-0.10 >= 0.10.15 gstreamer-plugins-base-0.10) were not met:
38272
 
+{ $as_echo "$as_me:$LINENO: result: $enable_deprecations" >&5
38273
 
+$as_echo "$enable_deprecations" >&6; }
38274
 
 
38275
 
-$GSTREAMER_PKG_ERRORS
38276
 
+if test "$enable_deprecations" = "no"; then
38277
 
+       DISABLE_DEPRECATED=""
38278
 
 
38279
 
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
38280
 
-installed software in a non-standard prefix.
38281
 
+fi
38282
 
 
38283
 
-Alternatively, you may set the environment variables GSTREAMER_CFLAGS
38284
 
-and GSTREAMER_LIBS to avoid the need to call pkg-config.
38285
 
-See the pkg-config man page for more details.
38286
 
-" >&5
38287
 
-echo "$as_me: error: Package requirements (gstreamer-0.10 >= 0.10.15 gstreamer-plugins-base-0.10) were not met:
38288
 
+# We require Scroll Keeper 0.3.5 or above for the help
38289
 
+SCROLLKEEPER_BUILD_REQUIRED=0.3.5
38290
 
 
38291
 
-$GSTREAMER_PKG_ERRORS
38292
 
 
38293
 
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
38294
 
-installed software in a non-standard prefix.
38295
 
 
38296
 
-Alternatively, you may set the environment variables GSTREAMER_CFLAGS
38297
 
-and GSTREAMER_LIBS to avoid the need to call pkg-config.
38298
 
-See the pkg-config man page for more details.
38299
 
-" >&2;}
38300
 
-   { (exit 1); exit 1; }; }
38301
 
-elif test $pkg_failed = untried; then
38302
 
-       { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
38303
 
-is in your PATH or set the PKG_CONFIG environment variable to the full
38304
 
-path to pkg-config.
38305
 
 
38306
 
-Alternatively, you may set the environment variables GSTREAMER_CFLAGS
38307
 
-and GSTREAMER_LIBS to avoid the need to call pkg-config.
38308
 
-See the pkg-config man page for more details.
38309
 
 
38310
 
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.
38311
 
-See \`config.log' for more details." >&5
38312
 
-echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
38313
 
-is in your PATH or set the PKG_CONFIG environment variable to the full
38314
 
-path to pkg-config.
38315
 
 
38316
 
-Alternatively, you may set the environment variables GSTREAMER_CFLAGS
38317
 
-and GSTREAMER_LIBS to avoid the need to call pkg-config.
38318
 
-See the pkg-config man page for more details.
38319
 
 
38320
 
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.
38321
 
-See \`config.log' for more details." >&2;}
38322
 
-   { (exit 1); exit 1; }; }
38323
 
-else
38324
 
-       GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS
38325
 
-       GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS
38326
 
-        { echo "$as_me:$LINENO: result: yes" >&5
38327
 
-echo "${ECHO_T}yes" >&6; }
38328
 
-       :
38329
 
-fi
38330
 
+# Finally, generate the files
38331
 
+ac_config_files="$ac_config_files sound-juicer.spec Makefile data/Makefile data/sound-juicer.desktop.in help/Makefile help/sound-juicer/Makefile libjuicer/Makefile po/Makefile.in src/Makefile tests/Makefile"
38332
 
 
38333
 
 
38334
 
+cat >confcache <<\_ACEOF
38335
 
+# This file is a shell script that caches the results of configure
38336
 
+# tests run on this system so they can be shared between configure
38337
 
+# scripts and configure runs, see configure's option --config-cache.
38338
 
+# It is not useful on other systems.  If it contains results you don't
38339
 
+# want to keep, you may remove or edit it.
38340
 
+#
38341
 
+# config.status only pays attention to the cache file if you give it
38342
 
+# the --recheck option to rerun configure.
38343
 
+#
38344
 
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
38345
 
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
38346
 
+# following values.
38347
 
 
38348
 
-# Find the GStreamer elements we use, and warn if they are not present.
38349
 
+_ACEOF
38350
 
 
38351
 
-  if test "x$GST_INSPECT" == "x"; then
38352
 
-    # Extract the first word of "gst-inspect-0.10", so it can be a program name with args.
38353
 
-set dummy gst-inspect-0.10; ac_word=$2
38354
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
38355
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
38356
 
-if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
38357
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
38358
 
-else
38359
 
-  if test -n "$GST_INSPECT"; then
38360
 
-  ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
38361
 
-else
38362
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38363
 
-for as_dir in $PATH
38364
 
-do
38365
 
-  IFS=$as_save_IFS
38366
 
-  test -z "$as_dir" && as_dir=.
38367
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
38368
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38369
 
-    ac_cv_prog_GST_INSPECT="gst-inspect-0.10"
38370
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38371
 
-    break 2
38372
 
+# The following way of writing the cache mishandles newlines in values,
38373
 
+# but we know of no workaround that is simple, portable, and efficient.
38374
 
+# So, we kill variables containing newlines.
38375
 
+# Ultrix sh set writes to stderr and can't be redirected directly,
38376
 
+# and sets the high bit in the cache file unless we assign to the vars.
38377
 
+(
38378
 
+  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38379
 
+    eval ac_val=\$$ac_var
38380
 
+    case $ac_val in #(
38381
 
+    *${as_nl}*)
38382
 
+      case $ac_var in #(
38383
 
+      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
38384
 
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
38385
 
+      esac
38386
 
+      case $ac_var in #(
38387
 
+      _ | IFS | as_nl) ;; #(
38388
 
+      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
38389
 
+      *) $as_unset $ac_var ;;
38390
 
+      esac ;;
38391
 
+    esac
38392
 
+  done
38393
 
+
38394
 
+  (set) 2>&1 |
38395
 
+    case $as_nl`(ac_space=' '; set) 2>&1` in #(
38396
 
+    *${as_nl}ac_space=\ *)
38397
 
+      # `set' does not quote correctly, so add quotes (double-quote
38398
 
+      # substitution turns \\\\ into \\, and sed turns \\ into \).
38399
 
+      sed -n \
38400
 
+       "s/'/'\\\\''/g;
38401
 
+         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38402
 
+      ;; #(
38403
 
+    *)
38404
 
+      # `set' quotes correctly as required by POSIX, so do not add quotes.
38405
 
+      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38406
 
+      ;;
38407
 
+    esac |
38408
 
+    sort
38409
 
+) |
38410
 
+  sed '
38411
 
+     /^ac_cv_env_/b end
38412
 
+     t clear
38413
 
+     :clear
38414
 
+     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38415
 
+     t end
38416
 
+     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38417
 
+     :end' >>confcache
38418
 
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38419
 
+  if test -w "$cache_file"; then
38420
 
+    test "x$cache_file" != "x/dev/null" &&
38421
 
+      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
38422
 
+$as_echo "$as_me: updating cache $cache_file" >&6;}
38423
 
+    cat confcache >$cache_file
38424
 
+  else
38425
 
+    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38426
 
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38427
 
   fi
38428
 
+fi
38429
 
+rm -f confcache
38430
 
+
38431
 
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
38432
 
+# Let make expand exec_prefix.
38433
 
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
38434
 
+
38435
 
+DEFS=-DHAVE_CONFIG_H
38436
 
+
38437
 
+ac_libobjs=
38438
 
+ac_ltlibobjs=
38439
 
+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
38440
 
+  # 1. Remove the extension, and $U if already installed.
38441
 
+  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
38442
 
+  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
38443
 
+  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
38444
 
+  #    will be set to the directory where LIBOBJS objects are built.
38445
 
+  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
38446
 
+  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
38447
 
 done
38448
 
-done
38449
 
-IFS=$as_save_IFS
38450
 
+LIBOBJS=$ac_libobjs
38451
 
+
38452
 
+LTLIBOBJS=$ac_ltlibobjs
38453
 
 
38454
 
+
38455
 
+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
38456
 
+  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
38457
 
+Usually this means the macro was only invoked conditionally." >&5
38458
 
+$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
38459
 
+Usually this means the macro was only invoked conditionally." >&2;}
38460
 
+   { (exit 1); exit 1; }; }
38461
 
 fi
38462
 
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
38463
 
+  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
38464
 
+Usually this means the macro was only invoked conditionally." >&5
38465
 
+$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
38466
 
+Usually this means the macro was only invoked conditionally." >&2;}
38467
 
+   { (exit 1); exit 1; }; }
38468
 
 fi
38469
 
-GST_INSPECT=$ac_cv_prog_GST_INSPECT
38470
 
-if test -n "$GST_INSPECT"; then
38471
 
-  { echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
38472
 
-echo "${ECHO_T}$GST_INSPECT" >&6; }
38473
 
-else
38474
 
-  { echo "$as_me:$LINENO: result: no" >&5
38475
 
-echo "${ECHO_T}no" >&6; }
38476
 
+if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
38477
 
+  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
38478
 
+Usually this means the macro was only invoked conditionally." >&5
38479
 
+$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
38480
 
+Usually this means the macro was only invoked conditionally." >&2;}
38481
 
+   { (exit 1); exit 1; }; }
38482
 
+fi
38483
 
+if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
38484
 
+  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
38485
 
+Usually this means the macro was only invoked conditionally." >&5
38486
 
+$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
38487
 
+Usually this means the macro was only invoked conditionally." >&2;}
38488
 
+   { (exit 1); exit 1; }; }
38489
 
 fi
38490
 
 
38491
 
+  ac_config_commands="$ac_config_commands po/stamp-it"
38492
 
 
38493
 
-  fi
38494
 
 
38495
 
-  if test "x$GST_INSPECT" != "x"; then
38496
 
-    { echo "$as_me:$LINENO: checking GStreamer 0.10 element vorbisenc" >&5
38497
 
-echo $ECHO_N "checking GStreamer 0.10 element vorbisenc... $ECHO_C" >&6; }
38498
 
-    if  $GST_INSPECT vorbisenc > /dev/null 2> /dev/null ; then
38499
 
-      { echo "$as_me:$LINENO: result: found." >&5
38500
 
-echo "${ECHO_T}found." >&6; }
38501
 
+if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
38502
 
+  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
38503
 
+Usually this means the macro was only invoked conditionally." >&5
38504
 
+$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
38505
 
+Usually this means the macro was only invoked conditionally." >&2;}
38506
 
+   { (exit 1); exit 1; }; }
38507
 
+fi
38508
 
+if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
38509
 
+  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SK\" was never defined.
38510
 
+Usually this means the macro was only invoked conditionally." >&5
38511
 
+$as_echo "$as_me: error: conditional \"ENABLE_SK\" was never defined.
38512
 
+Usually this means the macro was only invoked conditionally." >&2;}
38513
 
+   { (exit 1); exit 1; }; }
38514
 
+fi
38515
 
+if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
38516
 
+  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
38517
 
+Usually this means the macro was only invoked conditionally." >&5
38518
 
+$as_echo "$as_me: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
38519
 
+Usually this means the macro was only invoked conditionally." >&2;}
38520
 
+   { (exit 1); exit 1; }; }
38521
 
+fi
38522
 
+if test -z "${HAVE_LIBCDIO_TRUE}" && test -z "${HAVE_LIBCDIO_FALSE}"; then
38523
 
+  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_LIBCDIO\" was never defined.
38524
 
+Usually this means the macro was only invoked conditionally." >&5
38525
 
+$as_echo "$as_me: error: conditional \"HAVE_LIBCDIO\" was never defined.
38526
 
+Usually this means the macro was only invoked conditionally." >&2;}
38527
 
+   { (exit 1); exit 1; }; }
38528
 
+fi
38529
 
+if test -z "${HAVE_MUSICBRAINZ3_TRUE}" && test -z "${HAVE_MUSICBRAINZ3_FALSE}"; then
38530
 
+  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_MUSICBRAINZ3\" was never defined.
38531
 
+Usually this means the macro was only invoked conditionally." >&5
38532
 
+$as_echo "$as_me: error: conditional \"HAVE_MUSICBRAINZ3\" was never defined.
38533
 
+Usually this means the macro was only invoked conditionally." >&2;}
38534
 
+   { (exit 1); exit 1; }; }
38535
 
+fi
38536
 
+if test -z "${HAVE_MUSICBRAINZ_TRUE}" && test -z "${HAVE_MUSICBRAINZ_FALSE}"; then
38537
 
+  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_MUSICBRAINZ\" was never defined.
38538
 
+Usually this means the macro was only invoked conditionally." >&5
38539
 
+$as_echo "$as_me: error: conditional \"HAVE_MUSICBRAINZ\" was never defined.
38540
 
+Usually this means the macro was only invoked conditionally." >&2;}
38541
 
+   { (exit 1); exit 1; }; }
38542
 
+fi
38543
 
+if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
38544
 
+  { { $as_echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
38545
 
+Usually this means the macro was only invoked conditionally." >&5
38546
 
+$as_echo "$as_me: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
38547
 
+Usually this means the macro was only invoked conditionally." >&2;}
38548
 
+   { (exit 1); exit 1; }; }
38549
 
+fi
38550
 
 
38551
 
-    else
38552
 
-      { echo "$as_me:$LINENO: result: not found." >&5
38553
 
-echo "${ECHO_T}not found." >&6; }
38554
 
-      { echo "$as_me:$LINENO: WARNING: The 'vorbisenc' element was not found. This will cause encoding to Ogg Vorbis to fail." >&5
38555
 
-echo "$as_me: WARNING: The 'vorbisenc' element was not found. This will cause encoding to Ogg Vorbis to fail." >&2;}
38556
 
-    fi
38557
 
-  fi
38558
 
+: ${CONFIG_STATUS=./config.status}
38559
 
+ac_write_fail=0
38560
 
+ac_clean_files_save=$ac_clean_files
38561
 
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
38562
 
+{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
38563
 
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
38564
 
+cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
38565
 
+#! $SHELL
38566
 
+# Generated by $as_me.
38567
 
+# Run this file to recreate the current configuration.
38568
 
+# Compiler output produced by configure, useful for debugging
38569
 
+# configure, is in config.log if it exists.
38570
 
 
38571
 
+debug=false
38572
 
+ac_cs_recheck=false
38573
 
+ac_cs_silent=false
38574
 
+SHELL=\${CONFIG_SHELL-$SHELL}
38575
 
+_ACEOF
38576
 
 
38577
 
-  if test "x$GST_INSPECT" == "x"; then
38578
 
-    # Extract the first word of "gst-inspect-0.10", so it can be a program name with args.
38579
 
-set dummy gst-inspect-0.10; ac_word=$2
38580
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
38581
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
38582
 
-if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
38583
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
38584
 
-else
38585
 
-  if test -n "$GST_INSPECT"; then
38586
 
-  ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
38587
 
-else
38588
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38589
 
-for as_dir in $PATH
38590
 
-do
38591
 
-  IFS=$as_save_IFS
38592
 
-  test -z "$as_dir" && as_dir=.
38593
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
38594
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38595
 
-    ac_cv_prog_GST_INSPECT="gst-inspect-0.10"
38596
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38597
 
-    break 2
38598
 
-  fi
38599
 
-done
38600
 
-done
38601
 
-IFS=$as_save_IFS
38602
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
38603
 
+## --------------------- ##
38604
 
+## M4sh Initialization.  ##
38605
 
+## --------------------- ##
38606
 
 
38607
 
-fi
38608
 
-fi
38609
 
-GST_INSPECT=$ac_cv_prog_GST_INSPECT
38610
 
-if test -n "$GST_INSPECT"; then
38611
 
-  { echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
38612
 
-echo "${ECHO_T}$GST_INSPECT" >&6; }
38613
 
+# Be more Bourne compatible
38614
 
+DUALCASE=1; export DUALCASE # for MKS sh
38615
 
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
38616
 
+  emulate sh
38617
 
+  NULLCMD=:
38618
 
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
38619
 
+  # is contrary to our usage.  Disable this feature.
38620
 
+  alias -g '${1+"$@"}'='"$@"'
38621
 
+  setopt NO_GLOB_SUBST
38622
 
 else
38623
 
-  { echo "$as_me:$LINENO: result: no" >&5
38624
 
-echo "${ECHO_T}no" >&6; }
38625
 
-fi
38626
 
+  case `(set -o) 2>/dev/null` in
38627
 
+  *posix*) set -o posix ;;
38628
 
+esac
38629
 
 
38630
 
+fi
38631
 
 
38632
 
-  fi
38633
 
 
38634
 
-  if test "x$GST_INSPECT" != "x"; then
38635
 
-    { echo "$as_me:$LINENO: checking GStreamer 0.10 element flacenc" >&5
38636
 
-echo $ECHO_N "checking GStreamer 0.10 element flacenc... $ECHO_C" >&6; }
38637
 
-    if  $GST_INSPECT flacenc > /dev/null 2> /dev/null ; then
38638
 
-      { echo "$as_me:$LINENO: result: found." >&5
38639
 
-echo "${ECHO_T}found." >&6; }
38640
 
 
38641
 
-    else
38642
 
-      { echo "$as_me:$LINENO: result: not found." >&5
38643
 
-echo "${ECHO_T}not found." >&6; }
38644
 
-      { echo "$as_me:$LINENO: WARNING: The 'flacenc' element was not found. This will cause encoding to FLAC to fail." >&5
38645
 
-echo "$as_me: WARNING: The 'flacenc' element was not found. This will cause encoding to FLAC to fail." >&2;}
38646
 
-    fi
38647
 
-  fi
38648
 
 
38649
 
+# PATH needs CR
38650
 
+# Avoid depending upon Character Ranges.
38651
 
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38652
 
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38653
 
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
38654
 
+as_cr_digits='0123456789'
38655
 
+as_cr_alnum=$as_cr_Letters$as_cr_digits
38656
 
 
38657
 
-  if test "x$GST_INSPECT" == "x"; then
38658
 
-    # Extract the first word of "gst-inspect-0.10", so it can be a program name with args.
38659
 
-set dummy gst-inspect-0.10; ac_word=$2
38660
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
38661
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
38662
 
-if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
38663
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
38664
 
-else
38665
 
-  if test -n "$GST_INSPECT"; then
38666
 
-  ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
38667
 
-else
38668
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38669
 
-for as_dir in $PATH
38670
 
-do
38671
 
-  IFS=$as_save_IFS
38672
 
-  test -z "$as_dir" && as_dir=.
38673
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
38674
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38675
 
-    ac_cv_prog_GST_INSPECT="gst-inspect-0.10"
38676
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38677
 
-    break 2
38678
 
+as_nl='
38679
 
+'
38680
 
+export as_nl
38681
 
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
38682
 
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
38683
 
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
38684
 
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
38685
 
+if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
38686
 
+  as_echo='printf %s\n'
38687
 
+  as_echo_n='printf %s'
38688
 
+else
38689
 
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
38690
 
+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
38691
 
+    as_echo_n='/usr/ucb/echo -n'
38692
 
+  else
38693
 
+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
38694
 
+    as_echo_n_body='eval
38695
 
+      arg=$1;
38696
 
+      case $arg in
38697
 
+      *"$as_nl"*)
38698
 
+       expr "X$arg" : "X\\(.*\\)$as_nl";
38699
 
+       arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
38700
 
+      esac;
38701
 
+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
38702
 
+    '
38703
 
+    export as_echo_n_body
38704
 
+    as_echo_n='sh -c $as_echo_n_body as_echo'
38705
 
   fi
38706
 
-done
38707
 
-done
38708
 
-IFS=$as_save_IFS
38709
 
-
38710
 
+  export as_echo_body
38711
 
+  as_echo='sh -c $as_echo_body as_echo'
38712
 
 fi
38713
 
+
38714
 
+# The user is always right.
38715
 
+if test "${PATH_SEPARATOR+set}" != set; then
38716
 
+  PATH_SEPARATOR=:
38717
 
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
38718
 
+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
38719
 
+      PATH_SEPARATOR=';'
38720
 
+  }
38721
 
 fi
38722
 
-GST_INSPECT=$ac_cv_prog_GST_INSPECT
38723
 
-if test -n "$GST_INSPECT"; then
38724
 
-  { echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
38725
 
-echo "${ECHO_T}$GST_INSPECT" >&6; }
38726
 
+
38727
 
+# Support unset when possible.
38728
 
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
38729
 
+  as_unset=unset
38730
 
 else
38731
 
-  { echo "$as_me:$LINENO: result: no" >&5
38732
 
-echo "${ECHO_T}no" >&6; }
38733
 
+  as_unset=false
38734
 
 fi
38735
 
 
38736
 
 
38737
 
-  fi
38738
 
-
38739
 
-  if test "x$GST_INSPECT" != "x"; then
38740
 
-    { echo "$as_me:$LINENO: checking GStreamer 0.10 element wavenc" >&5
38741
 
-echo $ECHO_N "checking GStreamer 0.10 element wavenc... $ECHO_C" >&6; }
38742
 
-    if  $GST_INSPECT wavenc > /dev/null 2> /dev/null ; then
38743
 
-      { echo "$as_me:$LINENO: result: found." >&5
38744
 
-echo "${ECHO_T}found." >&6; }
38745
 
-
38746
 
-    else
38747
 
-      { echo "$as_me:$LINENO: result: not found." >&5
38748
 
-echo "${ECHO_T}not found." >&6; }
38749
 
-      { echo "$as_me:$LINENO: WARNING: The 'wavenc' element was not found. This will cause encoding to Wave to fail." >&5
38750
 
-echo "$as_me: WARNING: The 'wavenc' element was not found. This will cause encoding to Wave to fail." >&2;}
38751
 
-    fi
38752
 
-  fi
38753
 
-
38754
 
+# IFS
38755
 
+# We need space, tab and new line, in precisely that order.  Quoting is
38756
 
+# there to prevent editors from complaining about space-tab.
38757
 
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
38758
 
+# splitting by setting IFS to empty value.)
38759
 
+IFS=" ""       $as_nl"
38760
 
 
38761
 
-  if test "x$GST_INSPECT" == "x"; then
38762
 
-    # Extract the first word of "gst-inspect-0.10", so it can be a program name with args.
38763
 
-set dummy gst-inspect-0.10; ac_word=$2
38764
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
38765
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
38766
 
-if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
38767
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
38768
 
-else
38769
 
-  if test -n "$GST_INSPECT"; then
38770
 
-  ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
38771
 
-else
38772
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38773
 
+# Find who we are.  Look in the path if we contain no directory separator.
38774
 
+case $0 in
38775
 
+  *[\\/]* ) as_myself=$0 ;;
38776
 
+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38777
 
 for as_dir in $PATH
38778
 
 do
38779
 
   IFS=$as_save_IFS
38780
 
   test -z "$as_dir" && as_dir=.
38781
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
38782
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38783
 
-    ac_cv_prog_GST_INSPECT="gst-inspect-0.10"
38784
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38785
 
-    break 2
38786
 
-  fi
38787
 
-done
38788
 
+  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
38789
 
 done
38790
 
 IFS=$as_save_IFS
38791
 
 
38792
 
+     ;;
38793
 
+esac
38794
 
+# We did not find ourselves, most probably we were run as `sh COMMAND'
38795
 
+# in which case we are not to be found in the path.
38796
 
+if test "x$as_myself" = x; then
38797
 
+  as_myself=$0
38798
 
 fi
38799
 
+if test ! -f "$as_myself"; then
38800
 
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
38801
 
+  { (exit 1); exit 1; }
38802
 
 fi
38803
 
-GST_INSPECT=$ac_cv_prog_GST_INSPECT
38804
 
-if test -n "$GST_INSPECT"; then
38805
 
-  { echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
38806
 
-echo "${ECHO_T}$GST_INSPECT" >&6; }
38807
 
+
38808
 
+# Work around bugs in pre-3.0 UWIN ksh.
38809
 
+for as_var in ENV MAIL MAILPATH
38810
 
+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
38811
 
+done
38812
 
+PS1='$ '
38813
 
+PS2='> '
38814
 
+PS4='+ '
38815
 
+
38816
 
+# NLS nuisances.
38817
 
+LC_ALL=C
38818
 
+export LC_ALL
38819
 
+LANGUAGE=C
38820
 
+export LANGUAGE
38821
 
+
38822
 
+# Required to use basename.
38823
 
+if expr a : '\(a\)' >/dev/null 2>&1 &&
38824
 
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
38825
 
+  as_expr=expr
38826
 
 else
38827
 
-  { echo "$as_me:$LINENO: result: no" >&5
38828
 
-echo "${ECHO_T}no" >&6; }
38829
 
+  as_expr=false
38830
 
 fi
38831
 
 
38832
 
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
38833
 
+  as_basename=basename
38834
 
+else
38835
 
+  as_basename=false
38836
 
+fi
38837
 
 
38838
 
-  fi
38839
 
 
38840
 
-  if test "x$GST_INSPECT" != "x"; then
38841
 
-    { echo "$as_me:$LINENO: checking GStreamer 0.10 element giosink" >&5
38842
 
-echo $ECHO_N "checking GStreamer 0.10 element giosink... $ECHO_C" >&6; }
38843
 
-    if  $GST_INSPECT giosink > /dev/null 2> /dev/null ; then
38844
 
-      { echo "$as_me:$LINENO: result: found." >&5
38845
 
-echo "${ECHO_T}found." >&6; }
38846
 
+# Name of the executable.
38847
 
+as_me=`$as_basename -- "$0" ||
38848
 
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
38849
 
+        X"$0" : 'X\(//\)$' \| \
38850
 
+        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
38851
 
+$as_echo X/"$0" |
38852
 
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
38853
 
+           s//\1/
38854
 
+           q
38855
 
+         }
38856
 
+         /^X\/\(\/\/\)$/{
38857
 
+           s//\1/
38858
 
+           q
38859
 
+         }
38860
 
+         /^X\/\(\/\).*/{
38861
 
+           s//\1/
38862
 
+           q
38863
 
+         }
38864
 
+         s/.*/./; q'`
38865
 
 
38866
 
-    else
38867
 
-      { echo "$as_me:$LINENO: result: not found." >&5
38868
 
-echo "${ECHO_T}not found." >&6; }
38869
 
-      { echo "$as_me:$LINENO: WARNING: The 'giosink' element was not found. This will cause Sound Juicer to fail at runtime." >&5
38870
 
-echo "$as_me: WARNING: The 'giosink' element was not found. This will cause Sound Juicer to fail at runtime." >&2;}
38871
 
-    fi
38872
 
-  fi
38873
 
+# CDPATH.
38874
 
+$as_unset CDPATH
38875
 
 
38876
 
 
38877
 
-# Find GNOME Media Profiles
38878
 
 
38879
 
-pkg_failed=no
38880
 
-{ echo "$as_me:$LINENO: checking for MEDIA_PROFILES" >&5
38881
 
-echo $ECHO_N "checking for MEDIA_PROFILES... $ECHO_C" >&6; }
38882
 
+  as_lineno_1=$LINENO
38883
 
+  as_lineno_2=$LINENO
38884
 
+  test "x$as_lineno_1" != "x$as_lineno_2" &&
38885
 
+  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
38886
 
 
38887
 
-if test -n "$PKG_CONFIG"; then
38888
 
-    if test -n "$MEDIA_PROFILES_CFLAGS"; then
38889
 
-        pkg_cv_MEDIA_PROFILES_CFLAGS="$MEDIA_PROFILES_CFLAGS"
38890
 
-    else
38891
 
-        if test -n "$PKG_CONFIG" && \
38892
 
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-media-profiles >= 2.11.91\"") >&5
38893
 
-  ($PKG_CONFIG --exists --print-errors "gnome-media-profiles >= 2.11.91") 2>&5
38894
 
-  ac_status=$?
38895
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38896
 
-  (exit $ac_status); }; then
38897
 
-  pkg_cv_MEDIA_PROFILES_CFLAGS=`$PKG_CONFIG --cflags "gnome-media-profiles >= 2.11.91" 2>/dev/null`
38898
 
+  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
38899
 
+  # uniformly replaced by the line number.  The first 'sed' inserts a
38900
 
+  # line-number line after each line using $LINENO; the second 'sed'
38901
 
+  # does the real work.  The second script uses 'N' to pair each
38902
 
+  # line-number line with the line containing $LINENO, and appends
38903
 
+  # trailing '-' during substitution so that $LINENO is not a special
38904
 
+  # case at line end.
38905
 
+  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
38906
 
+  # scripts with optimization help from Paolo Bonzini.  Blame Lee
38907
 
+  # E. McMahon (1931-1989) for sed's syntax.  :-)
38908
 
+  sed -n '
38909
 
+    p
38910
 
+    /[$]LINENO/=
38911
 
+  ' <$as_myself |
38912
 
+    sed '
38913
 
+      s/[$]LINENO.*/&-/
38914
 
+      t lineno
38915
 
+      b
38916
 
+      :lineno
38917
 
+      N
38918
 
+      :loop
38919
 
+      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
38920
 
+      t loop
38921
 
+      s/-\n.*//
38922
 
+    ' >$as_me.lineno &&
38923
 
+  chmod +x "$as_me.lineno" ||
38924
 
+    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
38925
 
+   { (exit 1); exit 1; }; }
38926
 
+
38927
 
+  # Don't try to exec as it changes $[0], causing all sort of problems
38928
 
+  # (the dirname of $[0] is not the place where we might find the
38929
 
+  # original and so on.  Autoconf is especially sensitive to this).
38930
 
+  . "./$as_me.lineno"
38931
 
+  # Exit status is that of the last command.
38932
 
+  exit
38933
 
+}
38934
 
+
38935
 
+
38936
 
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
38937
 
+  as_dirname=dirname
38938
 
 else
38939
 
-  pkg_failed=yes
38940
 
+  as_dirname=false
38941
 
 fi
38942
 
-    fi
38943
 
+
38944
 
+ECHO_C= ECHO_N= ECHO_T=
38945
 
+case `echo -n x` in
38946
 
+-n*)
38947
 
+  case `echo 'x\c'` in
38948
 
+  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
38949
 
+  *)   ECHO_C='\c';;
38950
 
+  esac;;
38951
 
+*)
38952
 
+  ECHO_N='-n';;
38953
 
+esac
38954
 
+if expr a : '\(a\)' >/dev/null 2>&1 &&
38955
 
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
38956
 
+  as_expr=expr
38957
 
 else
38958
 
-       pkg_failed=untried
38959
 
+  as_expr=false
38960
 
 fi
38961
 
-if test -n "$PKG_CONFIG"; then
38962
 
-    if test -n "$MEDIA_PROFILES_LIBS"; then
38963
 
-        pkg_cv_MEDIA_PROFILES_LIBS="$MEDIA_PROFILES_LIBS"
38964
 
-    else
38965
 
-        if test -n "$PKG_CONFIG" && \
38966
 
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-media-profiles >= 2.11.91\"") >&5
38967
 
-  ($PKG_CONFIG --exists --print-errors "gnome-media-profiles >= 2.11.91") 2>&5
38968
 
-  ac_status=$?
38969
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38970
 
-  (exit $ac_status); }; then
38971
 
-  pkg_cv_MEDIA_PROFILES_LIBS=`$PKG_CONFIG --libs "gnome-media-profiles >= 2.11.91" 2>/dev/null`
38972
 
+
38973
 
+rm -f conf$$ conf$$.exe conf$$.file
38974
 
+if test -d conf$$.dir; then
38975
 
+  rm -f conf$$.dir/conf$$.file
38976
 
 else
38977
 
-  pkg_failed=yes
38978
 
+  rm -f conf$$.dir
38979
 
+  mkdir conf$$.dir 2>/dev/null
38980
 
 fi
38981
 
-    fi
38982
 
+if (echo >conf$$.file) 2>/dev/null; then
38983
 
+  if ln -s conf$$.file conf$$ 2>/dev/null; then
38984
 
+    as_ln_s='ln -s'
38985
 
+    # ... but there are two gotchas:
38986
 
+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
38987
 
+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
38988
 
+    # In both cases, we have to default to `cp -p'.
38989
 
+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
38990
 
+      as_ln_s='cp -p'
38991
 
+  elif ln conf$$.file conf$$ 2>/dev/null; then
38992
 
+    as_ln_s=ln
38993
 
+  else
38994
 
+    as_ln_s='cp -p'
38995
 
+  fi
38996
 
 else
38997
 
-       pkg_failed=untried
38998
 
+  as_ln_s='cp -p'
38999
 
 fi
39000
 
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
39001
 
+rmdir conf$$.dir 2>/dev/null
39002
 
 
39003
 
+if mkdir -p . 2>/dev/null; then
39004
 
+  as_mkdir_p=:
39005
 
+else
39006
 
+  test -d ./-p && rmdir ./-p
39007
 
+  as_mkdir_p=false
39008
 
+fi
39009
 
 
39010
 
-
39011
 
-if test $pkg_failed = yes; then
39012
 
-
39013
 
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
39014
 
-        _pkg_short_errors_supported=yes
39015
 
+if test -x / >/dev/null 2>&1; then
39016
 
+  as_test_x='test -x'
39017
 
 else
39018
 
-        _pkg_short_errors_supported=no
39019
 
+  if ls -dL / >/dev/null 2>&1; then
39020
 
+    as_ls_L_option=L
39021
 
+  else
39022
 
+    as_ls_L_option=
39023
 
+  fi
39024
 
+  as_test_x='
39025
 
+    eval sh -c '\''
39026
 
+      if test -d "$1"; then
39027
 
+       test -d "$1/.";
39028
 
+      else
39029
 
+       case $1 in
39030
 
+       -*)set "./$1";;
39031
 
+       esac;
39032
 
+       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
39033
 
+       ???[sx]*):;;*)false;;esac;fi
39034
 
+    '\'' sh
39035
 
+  '
39036
 
 fi
39037
 
-        if test $_pkg_short_errors_supported = yes; then
39038
 
-               MEDIA_PROFILES_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-media-profiles >= 2.11.91"`
39039
 
-        else
39040
 
-               MEDIA_PROFILES_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-media-profiles >= 2.11.91"`
39041
 
-        fi
39042
 
-       # Put the nasty error message in config.log where it belongs
39043
 
-       echo "$MEDIA_PROFILES_PKG_ERRORS" >&5
39044
 
+as_executable_p=$as_test_x
39045
 
 
39046
 
-       { { echo "$as_me:$LINENO: error: Package requirements (gnome-media-profiles >= 2.11.91) were not met:
39047
 
+# Sed expression to map a string onto a valid CPP name.
39048
 
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
39049
 
 
39050
 
-$MEDIA_PROFILES_PKG_ERRORS
39051
 
+# Sed expression to map a string onto a valid variable name.
39052
 
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
39053
 
 
39054
 
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
39055
 
-installed software in a non-standard prefix.
39056
 
 
39057
 
-Alternatively, you may set the environment variables MEDIA_PROFILES_CFLAGS
39058
 
-and MEDIA_PROFILES_LIBS to avoid the need to call pkg-config.
39059
 
-See the pkg-config man page for more details.
39060
 
-" >&5
39061
 
-echo "$as_me: error: Package requirements (gnome-media-profiles >= 2.11.91) were not met:
39062
 
+exec 6>&1
39063
 
 
39064
 
-$MEDIA_PROFILES_PKG_ERRORS
39065
 
+# Save the log message, to keep $[0] and so on meaningful, and to
39066
 
+# report actual input values of CONFIG_FILES etc. instead of their
39067
 
+# values after options handling.
39068
 
+ac_log="
39069
 
+This file was extended by Sound Juicer $as_me 2.26.1, which was
39070
 
+generated by GNU Autoconf 2.63.  Invocation command line was
39071
 
 
39072
 
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
39073
 
-installed software in a non-standard prefix.
39074
 
+  CONFIG_FILES    = $CONFIG_FILES
39075
 
+  CONFIG_HEADERS  = $CONFIG_HEADERS
39076
 
+  CONFIG_LINKS    = $CONFIG_LINKS
39077
 
+  CONFIG_COMMANDS = $CONFIG_COMMANDS
39078
 
+  $ $0 $@
39079
 
 
39080
 
-Alternatively, you may set the environment variables MEDIA_PROFILES_CFLAGS
39081
 
-and MEDIA_PROFILES_LIBS to avoid the need to call pkg-config.
39082
 
-See the pkg-config man page for more details.
39083
 
-" >&2;}
39084
 
-   { (exit 1); exit 1; }; }
39085
 
-elif test $pkg_failed = untried; then
39086
 
-       { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
39087
 
-is in your PATH or set the PKG_CONFIG environment variable to the full
39088
 
-path to pkg-config.
39089
 
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
39090
 
+"
39091
 
 
39092
 
-Alternatively, you may set the environment variables MEDIA_PROFILES_CFLAGS
39093
 
-and MEDIA_PROFILES_LIBS to avoid the need to call pkg-config.
39094
 
-See the pkg-config man page for more details.
39095
 
+_ACEOF
39096
 
 
39097
 
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.
39098
 
-See \`config.log' for more details." >&5
39099
 
-echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
39100
 
-is in your PATH or set the PKG_CONFIG environment variable to the full
39101
 
-path to pkg-config.
39102
 
+case $ac_config_files in *"
39103
 
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
39104
 
+esac
39105
 
 
39106
 
-Alternatively, you may set the environment variables MEDIA_PROFILES_CFLAGS
39107
 
-and MEDIA_PROFILES_LIBS to avoid the need to call pkg-config.
39108
 
-See the pkg-config man page for more details.
39109
 
+case $ac_config_headers in *"
39110
 
+"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
39111
 
+esac
39112
 
 
39113
 
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.
39114
 
-See \`config.log' for more details." >&2;}
39115
 
-   { (exit 1); exit 1; }; }
39116
 
-else
39117
 
-       MEDIA_PROFILES_CFLAGS=$pkg_cv_MEDIA_PROFILES_CFLAGS
39118
 
-       MEDIA_PROFILES_LIBS=$pkg_cv_MEDIA_PROFILES_LIBS
39119
 
-        { echo "$as_me:$LINENO: result: yes" >&5
39120
 
-echo "${ECHO_T}yes" >&6; }
39121
 
-       :
39122
 
-fi
39123
 
 
39124
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
39125
 
+# Files that config.status was made for.
39126
 
+config_files="$ac_config_files"
39127
 
+config_headers="$ac_config_headers"
39128
 
+config_commands="$ac_config_commands"
39129
 
 
39130
 
+_ACEOF
39131
 
 
39132
 
-# Find optional libcdio
39133
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
39134
 
+ac_cs_usage="\
39135
 
+\`$as_me' instantiates files from templates according to the
39136
 
+current configuration.
39137
 
 
39138
 
-pkg_failed=no
39139
 
-{ echo "$as_me:$LINENO: checking for CDIO" >&5
39140
 
-echo $ECHO_N "checking for CDIO... $ECHO_C" >&6; }
39141
 
+Usage: $0 [OPTION]... [FILE]...
39142
 
 
39143
 
-if test -n "$PKG_CONFIG"; then
39144
 
-    if test -n "$CDIO_CFLAGS"; then
39145
 
-        pkg_cv_CDIO_CFLAGS="$CDIO_CFLAGS"
39146
 
-    else
39147
 
-        if test -n "$PKG_CONFIG" && \
39148
 
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcdio >= 0.70\"") >&5
39149
 
-  ($PKG_CONFIG --exists --print-errors "libcdio >= 0.70") 2>&5
39150
 
-  ac_status=$?
39151
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39152
 
-  (exit $ac_status); }; then
39153
 
-  pkg_cv_CDIO_CFLAGS=`$PKG_CONFIG --cflags "libcdio >= 0.70" 2>/dev/null`
39154
 
-else
39155
 
-  pkg_failed=yes
39156
 
-fi
39157
 
-    fi
39158
 
-else
39159
 
-       pkg_failed=untried
39160
 
-fi
39161
 
-if test -n "$PKG_CONFIG"; then
39162
 
-    if test -n "$CDIO_LIBS"; then
39163
 
-        pkg_cv_CDIO_LIBS="$CDIO_LIBS"
39164
 
-    else
39165
 
-        if test -n "$PKG_CONFIG" && \
39166
 
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcdio >= 0.70\"") >&5
39167
 
-  ($PKG_CONFIG --exists --print-errors "libcdio >= 0.70") 2>&5
39168
 
-  ac_status=$?
39169
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39170
 
-  (exit $ac_status); }; then
39171
 
-  pkg_cv_CDIO_LIBS=`$PKG_CONFIG --libs "libcdio >= 0.70" 2>/dev/null`
39172
 
-else
39173
 
-  pkg_failed=yes
39174
 
-fi
39175
 
-    fi
39176
 
-else
39177
 
-       pkg_failed=untried
39178
 
-fi
39179
 
+  -h, --help       print this help, then exit
39180
 
+  -V, --version    print version number and configuration settings, then exit
39181
 
+  -q, --quiet, --silent
39182
 
+                   do not print progress messages
39183
 
+  -d, --debug      don't remove temporary files
39184
 
+      --recheck    update $as_me by reconfiguring in the same conditions
39185
 
+      --file=FILE[:TEMPLATE]
39186
 
+                   instantiate the configuration file FILE
39187
 
+      --header=FILE[:TEMPLATE]
39188
 
+                   instantiate the configuration header FILE
39189
 
+
39190
 
+Configuration files:
39191
 
+$config_files
39192
 
 
39193
 
+Configuration headers:
39194
 
+$config_headers
39195
 
 
39196
 
+Configuration commands:
39197
 
+$config_commands
39198
 
 
39199
 
-if test $pkg_failed = yes; then
39200
 
+Report bugs to <bug-autoconf@gnu.org>."
39201
 
 
39202
 
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
39203
 
-        _pkg_short_errors_supported=yes
39204
 
-else
39205
 
-        _pkg_short_errors_supported=no
39206
 
-fi
39207
 
-        if test $_pkg_short_errors_supported = yes; then
39208
 
-               CDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcdio >= 0.70"`
39209
 
-        else
39210
 
-               CDIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcdio >= 0.70"`
39211
 
-        fi
39212
 
-       # Put the nasty error message in config.log where it belongs
39213
 
-       echo "$CDIO_PKG_ERRORS" >&5
39214
 
+_ACEOF
39215
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
39216
 
+ac_cs_version="\\
39217
 
+Sound Juicer config.status 2.26.1
39218
 
+configured by $0, generated by GNU Autoconf 2.63,
39219
 
+  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
39220
 
 
39221
 
-       { echo "$as_me:$LINENO: result: no" >&5
39222
 
-echo "${ECHO_T}no" >&6; }
39223
 
-                have_cdio=no
39224
 
-elif test $pkg_failed = untried; then
39225
 
-       have_cdio=no
39226
 
-else
39227
 
-       CDIO_CFLAGS=$pkg_cv_CDIO_CFLAGS
39228
 
-       CDIO_LIBS=$pkg_cv_CDIO_LIBS
39229
 
-        { echo "$as_me:$LINENO: result: yes" >&5
39230
 
-echo "${ECHO_T}yes" >&6; }
39231
 
-       have_cdio=yes
39232
 
-fi
39233
 
+Copyright (C) 2008 Free Software Foundation, Inc.
39234
 
+This config.status script is free software; the Free Software Foundation
39235
 
+gives unlimited permission to copy, distribute and modify it."
39236
 
 
39237
 
+ac_pwd='$ac_pwd'
39238
 
+srcdir='$srcdir'
39239
 
+INSTALL='$INSTALL'
39240
 
+MKDIR_P='$MKDIR_P'
39241
 
+AWK='$AWK'
39242
 
+test -n "\$AWK" || AWK=awk
39243
 
+_ACEOF
39244
 
 
39245
 
- if test "$have_cdio" = "yes"; then
39246
 
-  HAVE_LIBCDIO_TRUE=
39247
 
-  HAVE_LIBCDIO_FALSE='#'
39248
 
-else
39249
 
-  HAVE_LIBCDIO_TRUE='#'
39250
 
-  HAVE_LIBCDIO_FALSE=
39251
 
-fi
39252
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
39253
 
+# The default lists apply if the user does not specify any file.
39254
 
+ac_need_defaults=:
39255
 
+while test $# != 0
39256
 
+do
39257
 
+  case $1 in
39258
 
+  --*=*)
39259
 
+    ac_option=`expr "X$1" : 'X\([^=]*\)='`
39260
 
+    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
39261
 
+    ac_shift=:
39262
 
+    ;;
39263
 
+  *)
39264
 
+    ac_option=$1
39265
 
+    ac_optarg=$2
39266
 
+    ac_shift=shift
39267
 
+    ;;
39268
 
+  esac
39269
 
 
39270
 
-if test "$have_cdio" = "yes" ; then
39271
 
+  case $ac_option in
39272
 
+  # Handling of the options.
39273
 
+  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
39274
 
+    ac_cs_recheck=: ;;
39275
 
+  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
39276
 
+    $as_echo "$ac_cs_version"; exit ;;
39277
 
+  --debug | --debu | --deb | --de | --d | -d )
39278
 
+    debug=: ;;
39279
 
+  --file | --fil | --fi | --f )
39280
 
+    $ac_shift
39281
 
+    case $ac_optarg in
39282
 
+    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
39283
 
+    esac
39284
 
+    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
39285
 
+    ac_need_defaults=false;;
39286
 
+  --header | --heade | --head | --hea )
39287
 
+    $ac_shift
39288
 
+    case $ac_optarg in
39289
 
+    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
39290
 
+    esac
39291
 
+    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
39292
 
+    ac_need_defaults=false;;
39293
 
+  --he | --h)
39294
 
+    # Conflict between --help and --header
39295
 
+    { $as_echo "$as_me: error: ambiguous option: $1
39296
 
+Try \`$0 --help' for more information." >&2
39297
 
+   { (exit 1); exit 1; }; };;
39298
 
+  --help | --hel | -h )
39299
 
+    $as_echo "$ac_cs_usage"; exit ;;
39300
 
+  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
39301
 
+  | -silent | --silent | --silen | --sile | --sil | --si | --s)
39302
 
+    ac_cs_silent=: ;;
39303
 
 
39304
 
-cat >>confdefs.h <<\_ACEOF
39305
 
-#define HAVE_LIBCDIO 1
39306
 
-_ACEOF
39307
 
+  # This is an error.
39308
 
+  -*) { $as_echo "$as_me: error: unrecognized option: $1
39309
 
+Try \`$0 --help' for more information." >&2
39310
 
+   { (exit 1); exit 1; }; } ;;
39311
 
 
39312
 
-fi
39313
 
+  *) ac_config_targets="$ac_config_targets $1"
39314
 
+     ac_need_defaults=false ;;
39315
 
 
39316
 
-# Find optional MusicBrainz3 and required Musicbrainz2
39317
 
+  esac
39318
 
+  shift
39319
 
+done
39320
 
 
39321
 
-pkg_failed=no
39322
 
-{ echo "$as_me:$LINENO: checking for MUSICBRAINZ3" >&5
39323
 
-echo $ECHO_N "checking for MUSICBRAINZ3... $ECHO_C" >&6; }
39324
 
+ac_configure_extra_args=
39325
 
 
39326
 
-if test -n "$PKG_CONFIG"; then
39327
 
-    if test -n "$MUSICBRAINZ3_CFLAGS"; then
39328
 
-        pkg_cv_MUSICBRAINZ3_CFLAGS="$MUSICBRAINZ3_CFLAGS"
39329
 
-    else
39330
 
-        if test -n "$PKG_CONFIG" && \
39331
 
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libmusicbrainz3 >= 3.0.2\"") >&5
39332
 
-  ($PKG_CONFIG --exists --print-errors "libmusicbrainz3 >= 3.0.2") 2>&5
39333
 
-  ac_status=$?
39334
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39335
 
-  (exit $ac_status); }; then
39336
 
-  pkg_cv_MUSICBRAINZ3_CFLAGS=`$PKG_CONFIG --cflags "libmusicbrainz3 >= 3.0.2" 2>/dev/null`
39337
 
-else
39338
 
-  pkg_failed=yes
39339
 
-fi
39340
 
-    fi
39341
 
-else
39342
 
-       pkg_failed=untried
39343
 
-fi
39344
 
-if test -n "$PKG_CONFIG"; then
39345
 
-    if test -n "$MUSICBRAINZ3_LIBS"; then
39346
 
-        pkg_cv_MUSICBRAINZ3_LIBS="$MUSICBRAINZ3_LIBS"
39347
 
-    else
39348
 
-        if test -n "$PKG_CONFIG" && \
39349
 
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libmusicbrainz3 >= 3.0.2\"") >&5
39350
 
-  ($PKG_CONFIG --exists --print-errors "libmusicbrainz3 >= 3.0.2") 2>&5
39351
 
-  ac_status=$?
39352
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39353
 
-  (exit $ac_status); }; then
39354
 
-  pkg_cv_MUSICBRAINZ3_LIBS=`$PKG_CONFIG --libs "libmusicbrainz3 >= 3.0.2" 2>/dev/null`
39355
 
-else
39356
 
-  pkg_failed=yes
39357
 
+if $ac_cs_silent; then
39358
 
+  exec 6>/dev/null
39359
 
+  ac_configure_extra_args="$ac_configure_extra_args --silent"
39360
 
 fi
39361
 
-    fi
39362
 
-else
39363
 
-       pkg_failed=untried
39364
 
+
39365
 
+_ACEOF
39366
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
39367
 
+if \$ac_cs_recheck; then
39368
 
+  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
39369
 
+  shift
39370
 
+  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
39371
 
+  CONFIG_SHELL='$SHELL'
39372
 
+  export CONFIG_SHELL
39373
 
+  exec "\$@"
39374
 
 fi
39375
 
 
39376
 
+_ACEOF
39377
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
39378
 
+exec 5>>config.log
39379
 
+{
39380
 
+  echo
39381
 
+  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
39382
 
+## Running $as_me. ##
39383
 
+_ASBOX
39384
 
+  $as_echo "$ac_log"
39385
 
+} >&5
39386
 
 
39387
 
+_ACEOF
39388
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
39389
 
+#
39390
 
+# INIT-COMMANDS
39391
 
+#
39392
 
+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
39393
 
 
39394
 
-if test $pkg_failed = yes; then
39395
 
 
39396
 
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
39397
 
-        _pkg_short_errors_supported=yes
39398
 
-else
39399
 
-        _pkg_short_errors_supported=no
39400
 
-fi
39401
 
-        if test $_pkg_short_errors_supported = yes; then
39402
 
-               MUSICBRAINZ3_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libmusicbrainz3 >= 3.0.2"`
39403
 
-        else
39404
 
-               MUSICBRAINZ3_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libmusicbrainz3 >= 3.0.2"`
39405
 
-        fi
39406
 
-       # Put the nasty error message in config.log where it belongs
39407
 
-       echo "$MUSICBRAINZ3_PKG_ERRORS" >&5
39408
 
 
39409
 
-       { echo "$as_me:$LINENO: result: no" >&5
39410
 
-echo "${ECHO_T}no" >&6; }
39411
 
-                have_mb3=no
39412
 
-elif test $pkg_failed = untried; then
39413
 
-       have_mb3=no
39414
 
-else
39415
 
-       MUSICBRAINZ3_CFLAGS=$pkg_cv_MUSICBRAINZ3_CFLAGS
39416
 
-       MUSICBRAINZ3_LIBS=$pkg_cv_MUSICBRAINZ3_LIBS
39417
 
-        { echo "$as_me:$LINENO: result: yes" >&5
39418
 
-echo "${ECHO_T}yes" >&6; }
39419
 
-       have_mb3=yes
39420
 
-fi
39421
 
+# The HP-UX ksh and POSIX shell print the target directory to stdout
39422
 
+# if CDPATH is set.
39423
 
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
39424
 
 
39425
 
+sed_quote_subst='$sed_quote_subst'
39426
 
+double_quote_subst='$double_quote_subst'
39427
 
+delay_variable_subst='$delay_variable_subst'
39428
 
+macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
39429
 
+macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
39430
 
+enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
39431
 
+enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
39432
 
+pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
39433
 
+enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
39434
 
+host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
39435
 
+host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
39436
 
+host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
39437
 
+build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
39438
 
+build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
39439
 
+build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
39440
 
+SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
39441
 
+Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
39442
 
+GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
39443
 
+EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
39444
 
+FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
39445
 
+LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
39446
 
+NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
39447
 
+LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
39448
 
+max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
39449
 
+ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
39450
 
+exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
39451
 
+lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
39452
 
+lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
39453
 
+lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
39454
 
+reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
39455
 
+reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
39456
 
+OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
39457
 
+deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
39458
 
+file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
39459
 
+AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
39460
 
+AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
39461
 
+STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
39462
 
+RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
39463
 
+old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
39464
 
+old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
39465
 
+old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
39466
 
+CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
39467
 
+CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
39468
 
+compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
39469
 
+GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
39470
 
+lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
39471
 
+lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
39472
 
+lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
39473
 
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
39474
 
+objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
39475
 
+SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
39476
 
+ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
39477
 
+MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
39478
 
+lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
39479
 
+lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
39480
 
+lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
39481
 
+lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
39482
 
+lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
39483
 
+need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
39484
 
+DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
39485
 
+NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
39486
 
+LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
39487
 
+OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
39488
 
+OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
39489
 
+libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
39490
 
+shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
39491
 
+extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
39492
 
+archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
39493
 
+enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
39494
 
+export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
39495
 
+whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
39496
 
+compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
39497
 
+old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
39498
 
+old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
39499
 
+archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
39500
 
+archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
39501
 
+module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
39502
 
+module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
39503
 
+with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
39504
 
+allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
39505
 
+no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
39506
 
+hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
39507
 
+hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
39508
 
+hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
39509
 
+hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
39510
 
+hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
39511
 
+hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
39512
 
+hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
39513
 
+hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
39514
 
+inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
39515
 
+link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
39516
 
+fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
39517
 
+always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
39518
 
+export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
39519
 
+exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
39520
 
+include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
39521
 
+prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
39522
 
+file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
39523
 
+variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
39524
 
+need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
39525
 
+need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
39526
 
+version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
39527
 
+runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
39528
 
+shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
39529
 
+shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
39530
 
+libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
39531
 
+library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
39532
 
+soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
39533
 
+postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
39534
 
+postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
39535
 
+finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
39536
 
+finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
39537
 
+hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
39538
 
+sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
39539
 
+sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
39540
 
+hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
39541
 
+enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
39542
 
+enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
39543
 
+enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
39544
 
+old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
39545
 
+striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
39546
 
+compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
39547
 
+predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
39548
 
+postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
39549
 
+predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
39550
 
+postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
39551
 
+compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
39552
 
+LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39553
 
+old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39554
 
+compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39555
 
+GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39556
 
+lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39557
 
+lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39558
 
+lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39559
 
+lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39560
 
+lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39561
 
+archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39562
 
+enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39563
 
+export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39564
 
+whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39565
 
+compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39566
 
+old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39567
 
+old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39568
 
+archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39569
 
+archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39570
 
+module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39571
 
+module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39572
 
+with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39573
 
+allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39574
 
+no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39575
 
+hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39576
 
+hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39577
 
+hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39578
 
+hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39579
 
+hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39580
 
+hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39581
 
+hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39582
 
+hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39583
 
+inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39584
 
+link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39585
 
+fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39586
 
+always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39587
 
+export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39588
 
+exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39589
 
+include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39590
 
+prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39591
 
+file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39592
 
+hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39593
 
+compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39594
 
+predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39595
 
+postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39596
 
+predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39597
 
+postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39598
 
+compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
39599
 
+
39600
 
+LTCC='$LTCC'
39601
 
+LTCFLAGS='$LTCFLAGS'
39602
 
+compiler='$compiler_DEFAULT'
39603
 
+
39604
 
+# Quote evaled strings.
39605
 
+for var in SED \
39606
 
+GREP \
39607
 
+EGREP \
39608
 
+FGREP \
39609
 
+LD \
39610
 
+NM \
39611
 
+LN_S \
39612
 
+lt_SP2NL \
39613
 
+lt_NL2SP \
39614
 
+reload_flag \
39615
 
+OBJDUMP \
39616
 
+deplibs_check_method \
39617
 
+file_magic_cmd \
39618
 
+AR \
39619
 
+AR_FLAGS \
39620
 
+STRIP \
39621
 
+RANLIB \
39622
 
+CC \
39623
 
+CFLAGS \
39624
 
+compiler \
39625
 
+lt_cv_sys_global_symbol_pipe \
39626
 
+lt_cv_sys_global_symbol_to_cdecl \
39627
 
+lt_cv_sys_global_symbol_to_c_name_address \
39628
 
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
39629
 
+SHELL \
39630
 
+ECHO \
39631
 
+lt_prog_compiler_no_builtin_flag \
39632
 
+lt_prog_compiler_wl \
39633
 
+lt_prog_compiler_pic \
39634
 
+lt_prog_compiler_static \
39635
 
+lt_cv_prog_compiler_c_o \
39636
 
+need_locks \
39637
 
+DSYMUTIL \
39638
 
+NMEDIT \
39639
 
+LIPO \
39640
 
+OTOOL \
39641
 
+OTOOL64 \
39642
 
+shrext_cmds \
39643
 
+export_dynamic_flag_spec \
39644
 
+whole_archive_flag_spec \
39645
 
+compiler_needs_object \
39646
 
+with_gnu_ld \
39647
 
+allow_undefined_flag \
39648
 
+no_undefined_flag \
39649
 
+hardcode_libdir_flag_spec \
39650
 
+hardcode_libdir_flag_spec_ld \
39651
 
+hardcode_libdir_separator \
39652
 
+fix_srcfile_path \
39653
 
+exclude_expsyms \
39654
 
+include_expsyms \
39655
 
+file_list_spec \
39656
 
+variables_saved_for_relink \
39657
 
+libname_spec \
39658
 
+library_names_spec \
39659
 
+soname_spec \
39660
 
+finish_eval \
39661
 
+old_striplib \
39662
 
+striplib \
39663
 
+compiler_lib_search_dirs \
39664
 
+predep_objects \
39665
 
+postdep_objects \
39666
 
+predeps \
39667
 
+postdeps \
39668
 
+compiler_lib_search_path \
39669
 
+LD_CXX \
39670
 
+compiler_CXX \
39671
 
+lt_prog_compiler_no_builtin_flag_CXX \
39672
 
+lt_prog_compiler_wl_CXX \
39673
 
+lt_prog_compiler_pic_CXX \
39674
 
+lt_prog_compiler_static_CXX \
39675
 
+lt_cv_prog_compiler_c_o_CXX \
39676
 
+export_dynamic_flag_spec_CXX \
39677
 
+whole_archive_flag_spec_CXX \
39678
 
+compiler_needs_object_CXX \
39679
 
+with_gnu_ld_CXX \
39680
 
+allow_undefined_flag_CXX \
39681
 
+no_undefined_flag_CXX \
39682
 
+hardcode_libdir_flag_spec_CXX \
39683
 
+hardcode_libdir_flag_spec_ld_CXX \
39684
 
+hardcode_libdir_separator_CXX \
39685
 
+fix_srcfile_path_CXX \
39686
 
+exclude_expsyms_CXX \
39687
 
+include_expsyms_CXX \
39688
 
+file_list_spec_CXX \
39689
 
+compiler_lib_search_dirs_CXX \
39690
 
+predep_objects_CXX \
39691
 
+postdep_objects_CXX \
39692
 
+predeps_CXX \
39693
 
+postdeps_CXX \
39694
 
+compiler_lib_search_path_CXX; do
39695
 
+    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
39696
 
+    *[\\\\\\\`\\"\\\$]*)
39697
 
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
39698
 
+      ;;
39699
 
+    *)
39700
 
+      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
39701
 
+      ;;
39702
 
+    esac
39703
 
+done
39704
 
 
39705
 
- if test "$have_mb3" = "yes"; then
39706
 
-  HAVE_MUSICBRAINZ3_TRUE=
39707
 
-  HAVE_MUSICBRAINZ3_FALSE='#'
39708
 
-else
39709
 
-  HAVE_MUSICBRAINZ3_TRUE='#'
39710
 
-  HAVE_MUSICBRAINZ3_FALSE=
39711
 
-fi
39712
 
+# Double-quote double-evaled strings.
39713
 
+for var in reload_cmds \
39714
 
+old_postinstall_cmds \
39715
 
+old_postuninstall_cmds \
39716
 
+old_archive_cmds \
39717
 
+extract_expsyms_cmds \
39718
 
+old_archive_from_new_cmds \
39719
 
+old_archive_from_expsyms_cmds \
39720
 
+archive_cmds \
39721
 
+archive_expsym_cmds \
39722
 
+module_cmds \
39723
 
+module_expsym_cmds \
39724
 
+export_symbols_cmds \
39725
 
+prelink_cmds \
39726
 
+postinstall_cmds \
39727
 
+postuninstall_cmds \
39728
 
+finish_cmds \
39729
 
+sys_lib_search_path_spec \
39730
 
+sys_lib_dlsearch_path_spec \
39731
 
+old_archive_cmds_CXX \
39732
 
+old_archive_from_new_cmds_CXX \
39733
 
+old_archive_from_expsyms_cmds_CXX \
39734
 
+archive_cmds_CXX \
39735
 
+archive_expsym_cmds_CXX \
39736
 
+module_cmds_CXX \
39737
 
+module_expsym_cmds_CXX \
39738
 
+export_symbols_cmds_CXX \
39739
 
+prelink_cmds_CXX; do
39740
 
+    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
39741
 
+    *[\\\\\\\`\\"\\\$]*)
39742
 
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
39743
 
+      ;;
39744
 
+    *)
39745
 
+      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
39746
 
+      ;;
39747
 
+    esac
39748
 
+done
39749
 
 
39750
 
-if test "$have_mb3" = "yes" ; then
39751
 
+# Fix-up fallback echo if it was mangled by the above quoting rules.
39752
 
+case \$lt_ECHO in
39753
 
+*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
39754
 
+  ;;
39755
 
+esac
39756
 
 
39757
 
-cat >>confdefs.h <<\_ACEOF
39758
 
-#define HAVE_MUSICBRAINZ3 1
39759
 
-_ACEOF
39760
 
+ac_aux_dir='$ac_aux_dir'
39761
 
+xsi_shell='$xsi_shell'
39762
 
+lt_shell_append='$lt_shell_append'
39763
 
 
39764
 
+# See if we are running on zsh, and set the options which allow our
39765
 
+# commands through without removal of \ escapes INIT.
39766
 
+if test -n "\${ZSH_VERSION+set}" ; then
39767
 
+   setopt NO_GLOB_SUBST
39768
 
 fi
39769
 
 
39770
 
 
39771
 
-pkg_failed=no
39772
 
-{ echo "$as_me:$LINENO: checking for MUSICBRAINZ" >&5
39773
 
-echo $ECHO_N "checking for MUSICBRAINZ... $ECHO_C" >&6; }
39774
 
+    PACKAGE='$PACKAGE'
39775
 
+    VERSION='$VERSION'
39776
 
+    TIMESTAMP='$TIMESTAMP'
39777
 
+    RM='$RM'
39778
 
+    ofile='$ofile'
39779
 
 
39780
 
-if test -n "$PKG_CONFIG"; then
39781
 
-    if test -n "$MUSICBRAINZ_CFLAGS"; then
39782
 
-        pkg_cv_MUSICBRAINZ_CFLAGS="$MUSICBRAINZ_CFLAGS"
39783
 
-    else
39784
 
-        if test -n "$PKG_CONFIG" && \
39785
 
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libmusicbrainz >= 2.1.3\"") >&5
39786
 
-  ($PKG_CONFIG --exists --print-errors "libmusicbrainz >= 2.1.3") 2>&5
39787
 
-  ac_status=$?
39788
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39789
 
-  (exit $ac_status); }; then
39790
 
-  pkg_cv_MUSICBRAINZ_CFLAGS=`$PKG_CONFIG --cflags "libmusicbrainz >= 2.1.3" 2>/dev/null`
39791
 
-else
39792
 
-  pkg_failed=yes
39793
 
-fi
39794
 
-    fi
39795
 
-else
39796
 
-       pkg_failed=untried
39797
 
-fi
39798
 
-if test -n "$PKG_CONFIG"; then
39799
 
-    if test -n "$MUSICBRAINZ_LIBS"; then
39800
 
-        pkg_cv_MUSICBRAINZ_LIBS="$MUSICBRAINZ_LIBS"
39801
 
-    else
39802
 
-        if test -n "$PKG_CONFIG" && \
39803
 
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libmusicbrainz >= 2.1.3\"") >&5
39804
 
-  ($PKG_CONFIG --exists --print-errors "libmusicbrainz >= 2.1.3") 2>&5
39805
 
-  ac_status=$?
39806
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39807
 
-  (exit $ac_status); }; then
39808
 
-  pkg_cv_MUSICBRAINZ_LIBS=`$PKG_CONFIG --libs "libmusicbrainz >= 2.1.3" 2>/dev/null`
39809
 
-else
39810
 
-  pkg_failed=yes
39811
 
-fi
39812
 
-    fi
39813
 
-else
39814
 
-       pkg_failed=untried
39815
 
-fi
39816
 
 
39817
 
 
39818
 
 
39819
 
-if test $pkg_failed = yes; then
39820
 
 
39821
 
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
39822
 
-        _pkg_short_errors_supported=yes
39823
 
-else
39824
 
-        _pkg_short_errors_supported=no
39825
 
-fi
39826
 
-        if test $_pkg_short_errors_supported = yes; then
39827
 
-               MUSICBRAINZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libmusicbrainz >= 2.1.3"`
39828
 
-        else
39829
 
-               MUSICBRAINZ_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libmusicbrainz >= 2.1.3"`
39830
 
-        fi
39831
 
-       # Put the nasty error message in config.log where it belongs
39832
 
-       echo "$MUSICBRAINZ_PKG_ERRORS" >&5
39833
 
 
39834
 
-       { echo "$as_me:$LINENO: result: no" >&5
39835
 
-echo "${ECHO_T}no" >&6; }
39836
 
-                have_mb=no
39837
 
-elif test $pkg_failed = untried; then
39838
 
-       have_mb=no
39839
 
-else
39840
 
-       MUSICBRAINZ_CFLAGS=$pkg_cv_MUSICBRAINZ_CFLAGS
39841
 
-       MUSICBRAINZ_LIBS=$pkg_cv_MUSICBRAINZ_LIBS
39842
 
-        { echo "$as_me:$LINENO: result: yes" >&5
39843
 
-echo "${ECHO_T}yes" >&6; }
39844
 
-       have_mb=yes
39845
 
-fi
39846
 
+_ACEOF
39847
 
 
39848
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
39849
 
 
39850
 
- if test "$have_mb" = "yes"; then
39851
 
-  HAVE_MUSICBRAINZ_TRUE=
39852
 
-  HAVE_MUSICBRAINZ_FALSE='#'
39853
 
-else
39854
 
-  HAVE_MUSICBRAINZ_TRUE='#'
39855
 
-  HAVE_MUSICBRAINZ_FALSE=
39856
 
-fi
39857
 
+# Handling of arguments.
39858
 
+for ac_config_target in $ac_config_targets
39859
 
+do
39860
 
+  case $ac_config_target in
39861
 
+    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
39862
 
+    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
39863
 
+    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
39864
 
+    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
39865
 
+    "sound-juicer.spec") CONFIG_FILES="$CONFIG_FILES sound-juicer.spec" ;;
39866
 
+    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
39867
 
+    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
39868
 
+    "data/sound-juicer.desktop.in") CONFIG_FILES="$CONFIG_FILES data/sound-juicer.desktop.in" ;;
39869
 
+    "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
39870
 
+    "help/sound-juicer/Makefile") CONFIG_FILES="$CONFIG_FILES help/sound-juicer/Makefile" ;;
39871
 
+    "libjuicer/Makefile") CONFIG_FILES="$CONFIG_FILES libjuicer/Makefile" ;;
39872
 
+    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
39873
 
+    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
39874
 
+    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
39875
 
+    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
39876
 
 
39877
 
-if test "$have_mb" = "yes" ; then
39878
 
+  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
39879
 
+$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
39880
 
+   { (exit 1); exit 1; }; };;
39881
 
+  esac
39882
 
+done
39883
 
 
39884
 
-cat >>confdefs.h <<\_ACEOF
39885
 
-#define HAVE_MUSICBRAINZ 1
39886
 
-_ACEOF
39887
 
 
39888
 
+# If the user did not use the arguments to specify the items to instantiate,
39889
 
+# then the envvar interface is used.  Set only those that are not.
39890
 
+# We use the long form for the default assignment because of an extremely
39891
 
+# bizarre bug on SunOS 4.1.3.
39892
 
+if $ac_need_defaults; then
39893
 
+  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
39894
 
+  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
39895
 
+  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
39896
 
 fi
39897
 
 
39898
 
-if test "$have_mb" = "no" && test "$have_mb3" = "no" ; then
39899
 
-        { { echo "$as_me:$LINENO: error: Either libmusicbrainz or libmusicbrainz3 needs to be available for sound-juicer to build" >&5
39900
 
-echo "$as_me: error: Either libmusicbrainz or libmusicbrainz3 needs to be available for sound-juicer to build" >&2;}
39901
 
-   { (exit 1); exit 1; }; }
39902
 
-fi
39903
 
+# Have a temporary directory for convenience.  Make it in the build tree
39904
 
+# simply because there is no reason against having it here, and in addition,
39905
 
+# creating and moving files from /tmp can sometimes cause problems.
39906
 
+# Hook for its removal unless debugging.
39907
 
+# Note that there is a small window in which the directory will not be cleaned:
39908
 
+# after its creation but before its name has been assigned to `$tmp'.
39909
 
+$debug ||
39910
 
+{
39911
 
+  tmp=
39912
 
+  trap 'exit_status=$?
39913
 
+  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
39914
 
+' 0
39915
 
+  trap '{ (exit 1); exit 1; }' 1 2 13 15
39916
 
+}
39917
 
+# Create a (secure) tmp directory for tmp files.
39918
 
 
39919
 
-oldlibs=$LIBS
39920
 
-LIBS="$LIBS $MUSICBRAINZ_LIBS"
39921
 
+{
39922
 
+  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
39923
 
+  test -n "$tmp" && test -d "$tmp"
39924
 
+}  ||
39925
 
+{
39926
 
+  tmp=./conf$$-$RANDOM
39927
 
+  (umask 077 && mkdir "$tmp")
39928
 
+} ||
39929
 
+{
39930
 
+   $as_echo "$as_me: cannot create a temporary directory in ." >&2
39931
 
+   { (exit 1); exit 1; }
39932
 
+}
39933
 
 
39934
 
-for ac_func in mb_SetProxyCreds
39935
 
-do
39936
 
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39937
 
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
39938
 
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39939
 
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39940
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
39941
 
+# Set up the scripts for CONFIG_FILES section.
39942
 
+# No need to generate them if there are no CONFIG_FILES.
39943
 
+# This happens for instance with `./config.status config.h'.
39944
 
+if test -n "$CONFIG_FILES"; then
39945
 
+
39946
 
+
39947
 
+ac_cr='
 
 
b"'"
39948
 
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
39949
 
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
39950
 
+  ac_cs_awk_cr='\\r'
39951
 
 else
39952
 
-  cat >conftest.$ac_ext <<_ACEOF
39953
 
-/* confdefs.h.  */
39954
 
+  ac_cs_awk_cr=$ac_cr
39955
 
+fi
39956
 
+
39957
 
+echo 'BEGIN {' >"$tmp/subs1.awk" &&
39958
 
 _ACEOF
39959
 
-cat confdefs.h >>conftest.$ac_ext
39960
 
-cat >>conftest.$ac_ext <<_ACEOF
39961
 
-/* end confdefs.h.  */
39962
 
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39963
 
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39964
 
-#define $ac_func innocuous_$ac_func
39965
 
 
39966
 
-/* System header to define __stub macros and hopefully few prototypes,
39967
 
-    which can conflict with char $ac_func (); below.
39968
 
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39969
 
-    <limits.h> exists even on freestanding compilers.  */
39970
 
 
39971
 
-#ifdef __STDC__
39972
 
-# include <limits.h>
39973
 
-#else
39974
 
-# include <assert.h>
39975
 
-#endif
39976
 
+{
39977
 
+  echo "cat >conf$$subs.awk <<_ACEOF" &&
39978
 
+  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
39979
 
+  echo "_ACEOF"
39980
 
+} >conf$$subs.sh ||
39981
 
+  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
39982
 
+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
39983
 
+   { (exit 1); exit 1; }; }
39984
 
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
39985
 
+ac_delim='%!_!# '
39986
 
+for ac_last_try in false false false false false :; do
39987
 
+  . ./conf$$subs.sh ||
39988
 
+    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
39989
 
+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
39990
 
+   { (exit 1); exit 1; }; }
39991
 
 
39992
 
-#undef $ac_func
39993
 
+  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
39994
 
+  if test $ac_delim_n = $ac_delim_num; then
39995
 
+    break
39996
 
+  elif $ac_last_try; then
39997
 
+    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
39998
 
+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
39999
 
+   { (exit 1); exit 1; }; }
40000
 
+  else
40001
 
+    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
40002
 
+  fi
40003
 
+done
40004
 
+rm -f conf$$subs.sh
40005
 
 
40006
 
-/* Override any GCC internal prototype to avoid an error.
40007
 
-   Use char because int might match the return type of a GCC
40008
 
-   builtin and then its argument prototype would still apply.  */
40009
 
-#ifdef __cplusplus
40010
 
-extern "C"
40011
 
-#endif
40012
 
-char $ac_func ();
40013
 
-/* The GNU C library defines this for functions which it implements
40014
 
-    to always fail with ENOSYS.  Some functions are actually named
40015
 
-    something starting with __ and the normal name is an alias.  */
40016
 
-#if defined __stub_$ac_func || defined __stub___$ac_func
40017
 
-choke me
40018
 
-#endif
40019
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
40020
 
+cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
40021
 
+_ACEOF
40022
 
+sed -n '
40023
 
+h
40024
 
+s/^/S["/; s/!.*/"]=/
40025
 
+p
40026
 
+g
40027
 
+s/^[^!]*!//
40028
 
+:repl
40029
 
+t repl
40030
 
+s/'"$ac_delim"'$//
40031
 
+t delim
40032
 
+:nl
40033
 
+h
40034
 
+s/\(.\{148\}\).*/\1/
40035
 
+t more1
40036
 
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
40037
 
+p
40038
 
+n
40039
 
+b repl
40040
 
+:more1
40041
 
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
40042
 
+p
40043
 
+g
40044
 
+s/.\{148\}//
40045
 
+t nl
40046
 
+:delim
40047
 
+h
40048
 
+s/\(.\{148\}\).*/\1/
40049
 
+t more2
40050
 
+s/["\\]/\\&/g; s/^/"/; s/$/"/
40051
 
+p
40052
 
+b
40053
 
+:more2
40054
 
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
40055
 
+p
40056
 
+g
40057
 
+s/.\{148\}//
40058
 
+t delim
40059
 
+' <conf$$subs.awk | sed '
40060
 
+/^[^""]/{
40061
 
+  N
40062
 
+  s/\n//
40063
 
+}
40064
 
+' >>$CONFIG_STATUS || ac_write_fail=1
40065
 
+rm -f conf$$subs.awk
40066
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
40067
 
+_ACAWK
40068
 
+cat >>"\$tmp/subs1.awk" <<_ACAWK &&
40069
 
+  for (key in S) S_is_set[key] = 1
40070
 
+  FS = ""
40071
 
 
40072
 
-int
40073
 
-main ()
40074
 
+}
40075
 
 {
40076
 
-return $ac_func ();
40077
 
-  ;
40078
 
-  return 0;
40079
 
+  line = $ 0
40080
 
+  nfields = split(line, field, "@")
40081
 
+  substed = 0
40082
 
+  len = length(field[1])
40083
 
+  for (i = 2; i < nfields; i++) {
40084
 
+    key = field[i]
40085
 
+    keylen = length(key)
40086
 
+    if (S_is_set[key]) {
40087
 
+      value = S[key]
40088
 
+      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
40089
 
+      len += length(value) + length(field[++i])
40090
 
+      substed = 1
40091
 
+    } else
40092
 
+      len += 1 + keylen
40093
 
+  }
40094
 
+
40095
 
+  print line
40096
 
 }
40097
 
+
40098
 
+_ACAWK
40099
 
+_ACEOF
40100
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
40101
 
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
40102
 
+  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
40103
 
+else
40104
 
+  cat
40105
 
+fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
40106
 
+  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
40107
 
+$as_echo "$as_me: error: could not setup config files machinery" >&2;}
40108
 
+   { (exit 1); exit 1; }; }
40109
 
 _ACEOF
40110
 
-rm -f conftest.$ac_objext conftest$ac_exeext
40111
 
-if { (ac_try="$ac_link"
40112
 
-case "(($ac_try" in
40113
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40114
 
-  *) ac_try_echo=$ac_try;;
40115
 
-esac
40116
 
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40117
 
-  (eval "$ac_link") 2>conftest.er1
40118
 
-  ac_status=$?
40119
 
-  grep -v '^ *+' conftest.er1 >conftest.err
40120
 
-  rm -f conftest.er1
40121
 
-  cat conftest.err >&5
40122
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40123
 
-  (exit $ac_status); } && {
40124
 
-        test -z "$ac_c_werror_flag" ||
40125
 
-        test ! -s conftest.err
40126
 
-       } && test -s conftest$ac_exeext &&
40127
 
-       $as_test_x conftest$ac_exeext; then
40128
 
-  eval "$as_ac_var=yes"
40129
 
-else
40130
 
-  echo "$as_me: failed program was:" >&5
40131
 
-sed 's/^/| /' conftest.$ac_ext >&5
40132
 
 
40133
 
-       eval "$as_ac_var=no"
40134
 
+# VPATH may cause trouble with some makes, so we remove $(srcdir),
40135
 
+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
40136
 
+# trailing colons and then remove the whole line if VPATH becomes empty
40137
 
+# (actually we leave an empty line to preserve line numbers).
40138
 
+if test "x$srcdir" = x.; then
40139
 
+  ac_vpsub='/^[         ]*VPATH[        ]*=/{
40140
 
+s/:*\$(srcdir):*/:/
40141
 
+s/:*\${srcdir}:*/:/
40142
 
+s/:*@srcdir@:*/:/
40143
 
+s/^\([^=]*=[    ]*\):*/\1/
40144
 
+s/:*$//
40145
 
+s/^[^=]*=[      ]*$//
40146
 
+}'
40147
 
 fi
40148
 
 
40149
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40150
 
-      conftest$ac_exeext conftest.$ac_ext
40151
 
-fi
40152
 
-ac_res=`eval echo '${'$as_ac_var'}'`
40153
 
-              { echo "$as_me:$LINENO: result: $ac_res" >&5
40154
 
-echo "${ECHO_T}$ac_res" >&6; }
40155
 
-if test `eval echo '${'$as_ac_var'}'` = yes; then
40156
 
-  cat >>confdefs.h <<_ACEOF
40157
 
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40158
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
40159
 
+fi # test -n "$CONFIG_FILES"
40160
 
+
40161
 
+# Set up the scripts for CONFIG_HEADERS section.
40162
 
+# No need to generate them if there are no CONFIG_HEADERS.
40163
 
+# This happens for instance with `./config.status Makefile'.
40164
 
+if test -n "$CONFIG_HEADERS"; then
40165
 
+cat >"$tmp/defines.awk" <<\_ACAWK ||
40166
 
+BEGIN {
40167
 
 _ACEOF
40168
 
 
40169
 
-fi
40170
 
+# Transform confdefs.h into an awk script `defines.awk', embedded as
40171
 
+# here-document in config.status, that substitutes the proper values into
40172
 
+# config.h.in to produce config.h.
40173
 
+
40174
 
+# Create a delimiter string that does not exist in confdefs.h, to ease
40175
 
+# handling of long lines.
40176
 
+ac_delim='%!_!# '
40177
 
+for ac_last_try in false false :; do
40178
 
+  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
40179
 
+  if test -z "$ac_t"; then
40180
 
+    break
40181
 
+  elif $ac_last_try; then
40182
 
+    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
40183
 
+$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
40184
 
+   { (exit 1); exit 1; }; }
40185
 
+  else
40186
 
+    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
40187
 
+  fi
40188
 
 done
40189
 
 
40190
 
-LIBS="$oldlibs"
40191
 
+# For the awk script, D is an array of macro values keyed by name,
40192
 
+# likewise P contains macro parameters if any.  Preserve backslash
40193
 
+# newline sequences.
40194
 
 
40195
 
-# Find gio for the metadata extractor
40196
 
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
40197
 
+sed -n '
40198
 
+s/.\{148\}/&'"$ac_delim"'/g
40199
 
+t rset
40200
 
+:rset
40201
 
+s/^[    ]*#[    ]*define[       ][      ]*/ /
40202
 
+t def
40203
 
+d
40204
 
+:def
40205
 
+s/\\$//
40206
 
+t bsnl
40207
 
+s/["\\]/\\&/g
40208
 
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
40209
 
+D["\1"]=" \3"/p
40210
 
+s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
40211
 
+d
40212
 
+:bsnl
40213
 
+s/["\\]/\\&/g
40214
 
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
40215
 
+D["\1"]=" \3\\\\\\n"\\/p
40216
 
+t cont
40217
 
+s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
40218
 
+t cont
40219
 
+d
40220
 
+:cont
40221
 
+n
40222
 
+s/.\{148\}/&'"$ac_delim"'/g
40223
 
+t clear
40224
 
+:clear
40225
 
+s/\\$//
40226
 
+t bsnlc
40227
 
+s/["\\]/\\&/g; s/^/"/; s/$/"/p
40228
 
+d
40229
 
+:bsnlc
40230
 
+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
40231
 
+b cont
40232
 
+' <confdefs.h | sed '
40233
 
+s/'"$ac_delim"'/"\\\
40234
 
+"/g' >>$CONFIG_STATUS || ac_write_fail=1
40235
 
+
40236
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
40237
 
+  for (key in D) D_is_set[key] = 1
40238
 
+  FS = ""
40239
 
+}
40240
 
+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
40241
 
+  line = \$ 0
40242
 
+  split(line, arg, " ")
40243
 
+  if (arg[1] == "#") {
40244
 
+    defundef = arg[2]
40245
 
+    mac1 = arg[3]
40246
 
+  } else {
40247
 
+    defundef = substr(arg[1], 2)
40248
 
+    mac1 = arg[2]
40249
 
+  }
40250
 
+  split(mac1, mac2, "(") #)
40251
 
+  macro = mac2[1]
40252
 
+  prefix = substr(line, 1, index(line, defundef) - 1)
40253
 
+  if (D_is_set[macro]) {
40254
 
+    # Preserve the white space surrounding the "#".
40255
 
+    print prefix "define", macro P[macro] D[macro]
40256
 
+    next
40257
 
+  } else {
40258
 
+    # Replace #undef with comments.  This is necessary, for example,
40259
 
+    # in the case of _POSIX_SOURCE, which is predefined and required
40260
 
+    # on some systems where configure will not decide to define it.
40261
 
+    if (defundef == "undef") {
40262
 
+      print "/*", prefix defundef, macro, "*/"
40263
 
+      next
40264
 
+    }
40265
 
+  }
40266
 
+}
40267
 
+{ print }
40268
 
+_ACAWK
40269
 
+_ACEOF
40270
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
40271
 
+  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
40272
 
+$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
40273
 
+   { (exit 1); exit 1; }; }
40274
 
+fi # test -n "$CONFIG_HEADERS"
40275
 
 
40276
 
-pkg_failed=no
40277
 
-{ echo "$as_me:$LINENO: checking for GIO" >&5
40278
 
-echo $ECHO_N "checking for GIO... $ECHO_C" >&6; }
40279
 
 
40280
 
-if test -n "$PKG_CONFIG"; then
40281
 
-    if test -n "$GIO_CFLAGS"; then
40282
 
-        pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
40283
 
-    else
40284
 
-        if test -n "$PKG_CONFIG" && \
40285
 
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gio-2.0\"") >&5
40286
 
-  ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
40287
 
-  ac_status=$?
40288
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40289
 
-  (exit $ac_status); }; then
40290
 
-  pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0" 2>/dev/null`
40291
 
-else
40292
 
-  pkg_failed=yes
40293
 
-fi
40294
 
-    fi
40295
 
-else
40296
 
-       pkg_failed=untried
40297
 
-fi
40298
 
-if test -n "$PKG_CONFIG"; then
40299
 
-    if test -n "$GIO_LIBS"; then
40300
 
-        pkg_cv_GIO_LIBS="$GIO_LIBS"
40301
 
-    else
40302
 
-        if test -n "$PKG_CONFIG" && \
40303
 
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gio-2.0\"") >&5
40304
 
-  ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
40305
 
-  ac_status=$?
40306
 
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40307
 
-  (exit $ac_status); }; then
40308
 
-  pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0" 2>/dev/null`
40309
 
-else
40310
 
-  pkg_failed=yes
40311
 
-fi
40312
 
+eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
40313
 
+shift
40314
 
+for ac_tag
40315
 
+do
40316
 
+  case $ac_tag in
40317
 
+  :[FHLC]) ac_mode=$ac_tag; continue;;
40318
 
+  esac
40319
 
+  case $ac_mode$ac_tag in
40320
 
+  :[FHL]*:*);;
40321
 
+  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
40322
 
+$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
40323
 
+   { (exit 1); exit 1; }; };;
40324
 
+  :[FH]-) ac_tag=-:-;;
40325
 
+  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
40326
 
+  esac
40327
 
+  ac_save_IFS=$IFS
40328
 
+  IFS=:
40329
 
+  set x $ac_tag
40330
 
+  IFS=$ac_save_IFS
40331
 
+  shift
40332
 
+  ac_file=$1
40333
 
+  shift
40334
 
+
40335
 
+  case $ac_mode in
40336
 
+  :L) ac_source=$1;;
40337
 
+  :[FH])
40338
 
+    ac_file_inputs=
40339
 
+    for ac_f
40340
 
+    do
40341
 
+      case $ac_f in
40342
 
+      -) ac_f="$tmp/stdin";;
40343
 
+      *) # Look for the file first in the build tree, then in the source tree
40344
 
+        # (if the path is not absolute).  The absolute path cannot be DOS-style,
40345
 
+        # because $ac_f cannot contain `:'.
40346
 
+        test -f "$ac_f" ||
40347
 
+          case $ac_f in
40348
 
+          [\\/$]*) false;;
40349
 
+          *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
40350
 
+          esac ||
40351
 
+          { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
40352
 
+$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
40353
 
+   { (exit 1); exit 1; }; };;
40354
 
+      esac
40355
 
+      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
40356
 
+      ac_file_inputs="$ac_file_inputs '$ac_f'"
40357
 
+    done
40358
 
+
40359
 
+    # Let's still pretend it is `configure' which instantiates (i.e., don't
40360
 
+    # use $as_me), people would be surprised to read:
40361
 
+    #    /* config.h.  Generated by config.status.  */
40362
 
+    configure_input='Generated from '`
40363
 
+         $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
40364
 
+       `' by configure.'
40365
 
+    if test x"$ac_file" != x-; then
40366
 
+      configure_input="$ac_file.  $configure_input"
40367
 
+      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
40368
 
+$as_echo "$as_me: creating $ac_file" >&6;}
40369
 
     fi
40370
 
-else
40371
 
-       pkg_failed=untried
40372
 
-fi
40373
 
+    # Neutralize special characters interpreted by sed in replacement strings.
40374
 
+    case $configure_input in #(
40375
 
+    *\&* | *\|* | *\\* )
40376
 
+       ac_sed_conf_input=`$as_echo "$configure_input" |
40377
 
+       sed 's/[\\\\&|]/\\\\&/g'`;; #(
40378
 
+    *) ac_sed_conf_input=$configure_input;;
40379
 
+    esac
40380
 
+
40381
 
+    case $ac_tag in
40382
 
+    *:-:* | *:-) cat >"$tmp/stdin" \
40383
 
+      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
40384
 
+$as_echo "$as_me: error: could not create $ac_file" >&2;}
40385
 
+   { (exit 1); exit 1; }; } ;;
40386
 
+    esac
40387
 
+    ;;
40388
 
+  esac
40389
 
 
40390
 
+  ac_dir=`$as_dirname -- "$ac_file" ||
40391
 
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40392
 
+        X"$ac_file" : 'X\(//\)[^/]' \| \
40393
 
+        X"$ac_file" : 'X\(//\)$' \| \
40394
 
+        X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
40395
 
+$as_echo X"$ac_file" |
40396
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
40397
 
+           s//\1/
40398
 
+           q
40399
 
+         }
40400
 
+         /^X\(\/\/\)[^/].*/{
40401
 
+           s//\1/
40402
 
+           q
40403
 
+         }
40404
 
+         /^X\(\/\/\)$/{
40405
 
+           s//\1/
40406
 
+           q
40407
 
+         }
40408
 
+         /^X\(\/\).*/{
40409
 
+           s//\1/
40410
 
+           q
40411
 
+         }
40412
 
+         s/.*/./; q'`
40413
 
+  { as_dir="$ac_dir"
40414
 
+  case $as_dir in #(
40415
 
+  -*) as_dir=./$as_dir;;
40416
 
+  esac
40417
 
+  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
40418
 
+    as_dirs=
40419
 
+    while :; do
40420
 
+      case $as_dir in #(
40421
 
+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
40422
 
+      *) as_qdir=$as_dir;;
40423
 
+      esac
40424
 
+      as_dirs="'$as_qdir' $as_dirs"
40425
 
+      as_dir=`$as_dirname -- "$as_dir" ||
40426
 
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40427
 
+        X"$as_dir" : 'X\(//\)[^/]' \| \
40428
 
+        X"$as_dir" : 'X\(//\)$' \| \
40429
 
+        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
40430
 
+$as_echo X"$as_dir" |
40431
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
40432
 
+           s//\1/
40433
 
+           q
40434
 
+         }
40435
 
+         /^X\(\/\/\)[^/].*/{
40436
 
+           s//\1/
40437
 
+           q
40438
 
+         }
40439
 
+         /^X\(\/\/\)$/{
40440
 
+           s//\1/
40441
 
+           q
40442
 
+         }
40443
 
+         /^X\(\/\).*/{
40444
 
+           s//\1/
40445
 
+           q
40446
 
+         }
40447
 
+         s/.*/./; q'`
40448
 
+      test -d "$as_dir" && break
40449
 
+    done
40450
 
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
40451
 
+  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
40452
 
+$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
40453
 
+   { (exit 1); exit 1; }; }; }
40454
 
+  ac_builddir=.
40455
 
 
40456
 
+case "$ac_dir" in
40457
 
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
40458
 
+*)
40459
 
+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
40460
 
+  # A ".." for each directory in $ac_dir_suffix.
40461
 
+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
40462
 
+  case $ac_top_builddir_sub in
40463
 
+  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
40464
 
+  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
40465
 
+  esac ;;
40466
 
+esac
40467
 
+ac_abs_top_builddir=$ac_pwd
40468
 
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
40469
 
+# for backward compatibility:
40470
 
+ac_top_builddir=$ac_top_build_prefix
40471
 
 
40472
 
-if test $pkg_failed = yes; then
40473
 
+case $srcdir in
40474
 
+  .)  # We are building in place.
40475
 
+    ac_srcdir=.
40476
 
+    ac_top_srcdir=$ac_top_builddir_sub
40477
 
+    ac_abs_top_srcdir=$ac_pwd ;;
40478
 
+  [\\/]* | ?:[\\/]* )  # Absolute name.
40479
 
+    ac_srcdir=$srcdir$ac_dir_suffix;
40480
 
+    ac_top_srcdir=$srcdir
40481
 
+    ac_abs_top_srcdir=$srcdir ;;
40482
 
+  *) # Relative name.
40483
 
+    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
40484
 
+    ac_top_srcdir=$ac_top_build_prefix$srcdir
40485
 
+    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
40486
 
+esac
40487
 
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
40488
 
 
40489
 
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
40490
 
-        _pkg_short_errors_supported=yes
40491
 
-else
40492
 
-        _pkg_short_errors_supported=no
40493
 
-fi
40494
 
-        if test $_pkg_short_errors_supported = yes; then
40495
 
-               GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gio-2.0"`
40496
 
-        else
40497
 
-               GIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gio-2.0"`
40498
 
-        fi
40499
 
-       # Put the nasty error message in config.log where it belongs
40500
 
-       echo "$GIO_PKG_ERRORS" >&5
40501
 
 
40502
 
-       { { echo "$as_me:$LINENO: error: Package requirements (gio-2.0) were not met:
40503
 
+  case $ac_mode in
40504
 
+  :F)
40505
 
+  #
40506
 
+  # CONFIG_FILE
40507
 
+  #
40508
 
 
40509
 
-$GIO_PKG_ERRORS
40510
 
+  case $INSTALL in
40511
 
+  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
40512
 
+  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
40513
 
+  esac
40514
 
+  ac_MKDIR_P=$MKDIR_P
40515
 
+  case $MKDIR_P in
40516
 
+  [\\/$]* | ?:[\\/]* ) ;;
40517
 
+  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
40518
 
+  esac
40519
 
+_ACEOF
40520
 
 
40521
 
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
40522
 
-installed software in a non-standard prefix.
40523
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
40524
 
+# If the template does not know about datarootdir, expand it.
40525
 
+# FIXME: This hack should be removed a few years after 2.60.
40526
 
+ac_datarootdir_hack=; ac_datarootdir_seen=
40527
 
 
40528
 
-Alternatively, you may set the environment variables GIO_CFLAGS
40529
 
-and GIO_LIBS to avoid the need to call pkg-config.
40530
 
-See the pkg-config man page for more details.
40531
 
-" >&5
40532
 
-echo "$as_me: error: Package requirements (gio-2.0) were not met:
40533
 
+ac_sed_dataroot='
40534
 
+/datarootdir/ {
40535
 
+  p
40536
 
+  q
40537
 
+}
40538
 
+/@datadir@/p
40539
 
+/@docdir@/p
40540
 
+/@infodir@/p
40541
 
+/@localedir@/p
40542
 
+/@mandir@/p
40543
 
+'
40544
 
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
40545
 
+*datarootdir*) ac_datarootdir_seen=yes;;
40546
 
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
40547
 
+  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
40548
 
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
40549
 
+_ACEOF
40550
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
40551
 
+  ac_datarootdir_hack='
40552
 
+  s&@datadir@&$datadir&g
40553
 
+  s&@docdir@&$docdir&g
40554
 
+  s&@infodir@&$infodir&g
40555
 
+  s&@localedir@&$localedir&g
40556
 
+  s&@mandir@&$mandir&g
40557
 
+    s&\\\${datarootdir}&$datarootdir&g' ;;
40558
 
+esac
40559
 
+_ACEOF
40560
 
 
40561
 
-$GIO_PKG_ERRORS
40562
 
+# Neutralize VPATH when `$srcdir' = `.'.
40563
 
+# Shell code in configure.ac might set extrasub.
40564
 
+# FIXME: do we really want to maintain this feature?
40565
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
40566
 
+ac_sed_extra="$ac_vpsub
40567
 
+$extrasub
40568
 
+_ACEOF
40569
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
40570
 
+:t
40571
 
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
40572
 
+s|@configure_input@|$ac_sed_conf_input|;t t
40573
 
+s&@top_builddir@&$ac_top_builddir_sub&;t t
40574
 
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
40575
 
+s&@srcdir@&$ac_srcdir&;t t
40576
 
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
40577
 
+s&@top_srcdir@&$ac_top_srcdir&;t t
40578
 
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
40579
 
+s&@builddir@&$ac_builddir&;t t
40580
 
+s&@abs_builddir@&$ac_abs_builddir&;t t
40581
 
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
40582
 
+s&@INSTALL@&$ac_INSTALL&;t t
40583
 
+s&@MKDIR_P@&$ac_MKDIR_P&;t t
40584
 
+$ac_datarootdir_hack
40585
 
+"
40586
 
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
40587
 
+  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
40588
 
+$as_echo "$as_me: error: could not create $ac_file" >&2;}
40589
 
+   { (exit 1); exit 1; }; }
40590
 
 
40591
 
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
40592
 
-installed software in a non-standard prefix.
40593
 
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
40594
 
+  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
40595
 
+  { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
40596
 
+  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
40597
 
+which seems to be undefined.  Please make sure it is defined." >&5
40598
 
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
40599
 
+which seems to be undefined.  Please make sure it is defined." >&2;}
40600
 
 
40601
 
-Alternatively, you may set the environment variables GIO_CFLAGS
40602
 
-and GIO_LIBS to avoid the need to call pkg-config.
40603
 
-See the pkg-config man page for more details.
40604
 
-" >&2;}
40605
 
+  rm -f "$tmp/stdin"
40606
 
+  case $ac_file in
40607
 
+  -) cat "$tmp/out" && rm -f "$tmp/out";;
40608
 
+  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
40609
 
+  esac \
40610
 
+  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
40611
 
+$as_echo "$as_me: error: could not create $ac_file" >&2;}
40612
 
    { (exit 1); exit 1; }; }
40613
 
-elif test $pkg_failed = untried; then
40614
 
-       { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
40615
 
-is in your PATH or set the PKG_CONFIG environment variable to the full
40616
 
-path to pkg-config.
40617
 
+ ;;
40618
 
+  :H)
40619
 
+  #
40620
 
+  # CONFIG_HEADER
40621
 
+  #
40622
 
+  if test x"$ac_file" != x-; then
40623
 
+    {
40624
 
+      $as_echo "/* $configure_input  */" \
40625
 
+      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
40626
 
+    } >"$tmp/config.h" \
40627
 
+      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
40628
 
+$as_echo "$as_me: error: could not create $ac_file" >&2;}
40629
 
+   { (exit 1); exit 1; }; }
40630
 
+    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
40631
 
+      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
40632
 
+$as_echo "$as_me: $ac_file is unchanged" >&6;}
40633
 
+    else
40634
 
+      rm -f "$ac_file"
40635
 
+      mv "$tmp/config.h" "$ac_file" \
40636
 
+       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
40637
 
+$as_echo "$as_me: error: could not create $ac_file" >&2;}
40638
 
+   { (exit 1); exit 1; }; }
40639
 
+    fi
40640
 
+  else
40641
 
+    $as_echo "/* $configure_input  */" \
40642
 
+      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
40643
 
+      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
40644
 
+$as_echo "$as_me: error: could not create -" >&2;}
40645
 
+   { (exit 1); exit 1; }; }
40646
 
+  fi
40647
 
+# Compute "$ac_file"'s index in $config_headers.
40648
 
+_am_arg="$ac_file"
40649
 
+_am_stamp_count=1
40650
 
+for _am_header in $config_headers :; do
40651
 
+  case $_am_header in
40652
 
+    $_am_arg | $_am_arg:* )
40653
 
+      break ;;
40654
 
+    * )
40655
 
+      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
40656
 
+  esac
40657
 
+done
40658
 
+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
40659
 
+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40660
 
+        X"$_am_arg" : 'X\(//\)[^/]' \| \
40661
 
+        X"$_am_arg" : 'X\(//\)$' \| \
40662
 
+        X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
40663
 
+$as_echo X"$_am_arg" |
40664
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
40665
 
+           s//\1/
40666
 
+           q
40667
 
+         }
40668
 
+         /^X\(\/\/\)[^/].*/{
40669
 
+           s//\1/
40670
 
+           q
40671
 
+         }
40672
 
+         /^X\(\/\/\)$/{
40673
 
+           s//\1/
40674
 
+           q
40675
 
+         }
40676
 
+         /^X\(\/\).*/{
40677
 
+           s//\1/
40678
 
+           q
40679
 
+         }
40680
 
+         s/.*/./; q'`/stamp-h$_am_stamp_count
40681
 
+ ;;
40682
 
 
40683
 
-Alternatively, you may set the environment variables GIO_CFLAGS
40684
 
-and GIO_LIBS to avoid the need to call pkg-config.
40685
 
-See the pkg-config man page for more details.
40686
 
+  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
40687
 
+$as_echo "$as_me: executing $ac_file commands" >&6;}
40688
 
+ ;;
40689
 
+  esac
40690
 
 
40691
 
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.
40692
 
-See \`config.log' for more details." >&5
40693
 
-echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
40694
 
-is in your PATH or set the PKG_CONFIG environment variable to the full
40695
 
-path to pkg-config.
40696
 
 
40697
 
-Alternatively, you may set the environment variables GIO_CFLAGS
40698
 
-and GIO_LIBS to avoid the need to call pkg-config.
40699
 
-See the pkg-config man page for more details.
40700
 
+  case $ac_file$ac_mode in
40701
 
+    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
40702
 
+  # Autoconf 2.62 quotes --file arguments for eval, but not when files
40703
 
+  # are listed without --file.  Let's play safe and only enable the eval
40704
 
+  # if we detect the quoting.
40705
 
+  case $CONFIG_FILES in
40706
 
+  *\'*) eval set x "$CONFIG_FILES" ;;
40707
 
+  *)   set x $CONFIG_FILES ;;
40708
 
+  esac
40709
 
+  shift
40710
 
+  for mf
40711
 
+  do
40712
 
+    # Strip MF so we end up with the name of the file.
40713
 
+    mf=`echo "$mf" | sed -e 's/:.*$//'`
40714
 
+    # Check whether this is an Automake generated Makefile or not.
40715
 
+    # We used to match only the files named `Makefile.in', but
40716
 
+    # some people rename them; so instead we look at the file content.
40717
 
+    # Grep'ing the first line is not enough: some people post-process
40718
 
+    # each Makefile.in and add a new line on top of each file to say so.
40719
 
+    # Grep'ing the whole file is not good either: AIX grep has a line
40720
 
+    # limit of 2048, but all sed's we know have understand at least 4000.
40721
 
+    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
40722
 
+      dirpart=`$as_dirname -- "$mf" ||
40723
 
+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40724
 
+        X"$mf" : 'X\(//\)[^/]' \| \
40725
 
+        X"$mf" : 'X\(//\)$' \| \
40726
 
+        X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
40727
 
+$as_echo X"$mf" |
40728
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
40729
 
+           s//\1/
40730
 
+           q
40731
 
+         }
40732
 
+         /^X\(\/\/\)[^/].*/{
40733
 
+           s//\1/
40734
 
+           q
40735
 
+         }
40736
 
+         /^X\(\/\/\)$/{
40737
 
+           s//\1/
40738
 
+           q
40739
 
+         }
40740
 
+         /^X\(\/\).*/{
40741
 
+           s//\1/
40742
 
+           q
40743
 
+         }
40744
 
+         s/.*/./; q'`
40745
 
+    else
40746
 
+      continue
40747
 
+    fi
40748
 
+    # Extract the definition of DEPDIR, am__include, and am__quote
40749
 
+    # from the Makefile without running `make'.
40750
 
+    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
40751
 
+    test -z "$DEPDIR" && continue
40752
 
+    am__include=`sed -n 's/^am__include = //p' < "$mf"`
40753
 
+    test -z "am__include" && continue
40754
 
+    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
40755
 
+    # When using ansi2knr, U may be empty or an underscore; expand it
40756
 
+    U=`sed -n 's/^U = //p' < "$mf"`
40757
 
+    # Find all dependency output files, they are included files with
40758
 
+    # $(DEPDIR) in their names.  We invoke sed twice because it is the
40759
 
+    # simplest approach to changing $(DEPDIR) to its actual value in the
40760
 
+    # expansion.
40761
 
+    for file in `sed -n "
40762
 
+      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
40763
 
+        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
40764
 
+      # Make sure the directory exists.
40765
 
+      test -f "$dirpart/$file" && continue
40766
 
+      fdir=`$as_dirname -- "$file" ||
40767
 
+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40768
 
+        X"$file" : 'X\(//\)[^/]' \| \
40769
 
+        X"$file" : 'X\(//\)$' \| \
40770
 
+        X"$file" : 'X\(/\)' \| . 2>/dev/null ||
40771
 
+$as_echo X"$file" |
40772
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
40773
 
+           s//\1/
40774
 
+           q
40775
 
+         }
40776
 
+         /^X\(\/\/\)[^/].*/{
40777
 
+           s//\1/
40778
 
+           q
40779
 
+         }
40780
 
+         /^X\(\/\/\)$/{
40781
 
+           s//\1/
40782
 
+           q
40783
 
+         }
40784
 
+         /^X\(\/\).*/{
40785
 
+           s//\1/
40786
 
+           q
40787
 
+         }
40788
 
+         s/.*/./; q'`
40789
 
+      { as_dir=$dirpart/$fdir
40790
 
+  case $as_dir in #(
40791
 
+  -*) as_dir=./$as_dir;;
40792
 
+  esac
40793
 
+  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
40794
 
+    as_dirs=
40795
 
+    while :; do
40796
 
+      case $as_dir in #(
40797
 
+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
40798
 
+      *) as_qdir=$as_dir;;
40799
 
+      esac
40800
 
+      as_dirs="'$as_qdir' $as_dirs"
40801
 
+      as_dir=`$as_dirname -- "$as_dir" ||
40802
 
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40803
 
+        X"$as_dir" : 'X\(//\)[^/]' \| \
40804
 
+        X"$as_dir" : 'X\(//\)$' \| \
40805
 
+        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
40806
 
+$as_echo X"$as_dir" |
40807
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
40808
 
+           s//\1/
40809
 
+           q
40810
 
+         }
40811
 
+         /^X\(\/\/\)[^/].*/{
40812
 
+           s//\1/
40813
 
+           q
40814
 
+         }
40815
 
+         /^X\(\/\/\)$/{
40816
 
+           s//\1/
40817
 
+           q
40818
 
+         }
40819
 
+         /^X\(\/\).*/{
40820
 
+           s//\1/
40821
 
+           q
40822
 
+         }
40823
 
+         s/.*/./; q'`
40824
 
+      test -d "$as_dir" && break
40825
 
+    done
40826
 
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
40827
 
+  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
40828
 
+$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
40829
 
+   { (exit 1); exit 1; }; }; }
40830
 
+      # echo "creating $dirpart/$file"
40831
 
+      echo '# dummy' > "$dirpart/$file"
40832
 
+    done
40833
 
+  done
40834
 
+}
40835
 
+ ;;
40836
 
+    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
40837
 
+        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
40838
 
+      esac ;;
40839
 
+    "libtool":C)
40840
 
 
40841
 
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.
40842
 
-See \`config.log' for more details." >&2;}
40843
 
-   { (exit 1); exit 1; }; }
40844
 
-else
40845
 
-       GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
40846
 
-       GIO_LIBS=$pkg_cv_GIO_LIBS
40847
 
-        { echo "$as_me:$LINENO: result: yes" >&5
40848
 
-echo "${ECHO_T}yes" >&6; }
40849
 
-       :
40850
 
-fi
40851
 
+    # See if we are running on zsh, and set the options which allow our
40852
 
+    # commands through without removal of \ escapes.
40853
 
+    if test -n "${ZSH_VERSION+set}" ; then
40854
 
+      setopt NO_GLOB_SUBST
40855
 
+    fi
40856
 
 
40857
 
+    cfgfile="${ofile}T"
40858
 
+    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
40859
 
+    $RM "$cfgfile"
40860
 
 
40861
 
+    cat <<_LT_EOF >> "$cfgfile"
40862
 
+#! $SHELL
40863
 
 
40864
 
-# Find how and where to put the GConf schemas
40865
 
-# Extract the first word of "gconftool-2", so it can be a program name with args.
40866
 
-set dummy gconftool-2; ac_word=$2
40867
 
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
40868
 
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
40869
 
-if test "${ac_cv_path_GCONFTOOL+set}" = set; then
40870
 
-  echo $ECHO_N "(cached) $ECHO_C" >&6
40871
 
-else
40872
 
-  case $GCONFTOOL in
40873
 
-  [\\/]* | ?:[\\/]*)
40874
 
-  ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
40875
 
-  ;;
40876
 
-  *)
40877
 
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40878
 
-for as_dir in $PATH
40879
 
-do
40880
 
-  IFS=$as_save_IFS
40881
 
-  test -z "$as_dir" && as_dir=.
40882
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
40883
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40884
 
-    ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
40885
 
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40886
 
-    break 2
40887
 
-  fi
40888
 
-done
40889
 
-done
40890
 
-IFS=$as_save_IFS
40891
 
+# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
40892
 
+# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
40893
 
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
40894
 
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
40895
 
+#
40896
 
+#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
40897
 
+#                 2006, 2007, 2008 Free Software Foundation, Inc.
40898
 
+#   Written by Gordon Matzigkeit, 1996
40899
 
+#
40900
 
+#   This file is part of GNU Libtool.
40901
 
+#
40902
 
+# GNU Libtool is free software; you can redistribute it and/or
40903
 
+# modify it under the terms of the GNU General Public License as
40904
 
+# published by the Free Software Foundation; either version 2 of
40905
 
+# the License, or (at your option) any later version.
40906
 
+#
40907
 
+# As a special exception to the GNU General Public License,
40908
 
+# if you distribute this file as part of a program or library that
40909
 
+# is built using GNU Libtool, you may include this file under the
40910
 
+# same distribution terms that you use for the rest of that program.
40911
 
+#
40912
 
+# GNU Libtool is distributed in the hope that it will be useful,
40913
 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
40914
 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
40915
 
+# GNU General Public License for more details.
40916
 
+#
40917
 
+# You should have received a copy of the GNU General Public License
40918
 
+# along with GNU Libtool; see the file COPYING.  If not, a copy
40919
 
+# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
40920
 
+# obtained by writing to the Free Software Foundation, Inc.,
40921
 
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
40922
 
 
40923
 
-  test -z "$ac_cv_path_GCONFTOOL" && ac_cv_path_GCONFTOOL="no"
40924
 
-  ;;
40925
 
-esac
40926
 
-fi
40927
 
-GCONFTOOL=$ac_cv_path_GCONFTOOL
40928
 
-if test -n "$GCONFTOOL"; then
40929
 
-  { echo "$as_me:$LINENO: result: $GCONFTOOL" >&5
40930
 
-echo "${ECHO_T}$GCONFTOOL" >&6; }
40931
 
-else
40932
 
-  { echo "$as_me:$LINENO: result: no" >&5
40933
 
-echo "${ECHO_T}no" >&6; }
40934
 
-fi
40935
 
 
40936
 
+# The names of the tagged configurations supported by this script.
40937
 
+available_tags="CXX "
40938
 
 
40939
 
-if test "$GCONFTOOL" = "no"; then
40940
 
-        { { echo "$as_me:$LINENO: error: gconftool-2 executable not found in your path - should be installed with GConf" >&5
40941
 
-echo "$as_me: error: gconftool-2 executable not found in your path - should be installed with GConf" >&2;}
40942
 
-   { (exit 1); exit 1; }; }
40943
 
-fi
40944
 
+# ### BEGIN LIBTOOL CONFIG
40945
 
 
40946
 
-  if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
40947
 
-    GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
40948
 
-  else
40949
 
-    GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
40950
 
-  fi
40951
 
+# Which release of libtool.m4 was used?
40952
 
+macro_version=$macro_version
40953
 
+macro_revision=$macro_revision
40954
 
 
40955
 
+# Whether or not to build shared libraries.
40956
 
+build_libtool_libs=$enable_shared
40957
 
 
40958
 
-# Check whether --with-gconf-source was given.
40959
 
-if test "${with_gconf_source+set}" = set; then
40960
 
-  withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
40961
 
-fi
40962
 
+# Whether or not to build static libraries.
40963
 
+build_old_libs=$enable_static
40964
 
 
40965
 
+# What type of objects to build.
40966
 
+pic_mode=$pic_mode
40967
 
 
40968
 
+# Whether or not to optimize for fast installation.
40969
 
+fast_install=$enable_fast_install
40970
 
 
40971
 
-  { echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
40972
 
-echo "${ECHO_T}Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
40973
 
+# The host system.
40974
 
+host_alias=$host_alias
40975
 
+host=$host
40976
 
+host_os=$host_os
40977
 
 
40978
 
-  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
40979
 
-    GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
40980
 
-  fi
40981
 
+# The build system.
40982
 
+build_alias=$build_alias
40983
 
+build=$build
40984
 
+build_os=$build_os
40985
 
 
40986
 
+# A sed program that does not truncate output.
40987
 
+SED=$lt_SED
40988
 
 
40989
 
-# Check whether --with-gconf-schema-file-dir was given.
40990
 
-if test "${with_gconf_schema_file_dir+set}" = set; then
40991
 
-  withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
40992
 
-fi
40993
 
+# Sed that helps us avoid accidentally triggering echo(1) options like -n.
40994
 
+Xsed="\$SED -e 1s/^X//"
40995
 
 
40996
 
+# A grep program that handles long lines.
40997
 
+GREP=$lt_GREP
40998
 
 
40999
 
+# An ERE matcher.
41000
 
+EGREP=$lt_EGREP
41001
 
 
41002
 
-  { echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
41003
 
-echo "${ECHO_T}Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
41004
 
+# A literal string matcher.
41005
 
+FGREP=$lt_FGREP
41006
 
 
41007
 
-  # Check whether --enable-schemas-install was given.
41008
 
-if test "${enable_schemas_install+set}" = set; then
41009
 
-  enableval=$enable_schemas_install; case ${enableval} in
41010
 
-       yes|no) ;;
41011
 
-       *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-schemas-install" >&5
41012
 
-echo "$as_me: error: bad value ${enableval} for --enable-schemas-install" >&2;}
41013
 
-   { (exit 1); exit 1; }; } ;;
41014
 
-      esac
41015
 
-fi
41016
 
+# A BSD- or MS-compatible name lister.
41017
 
+NM=$lt_NM
41018
 
 
41019
 
-   if test "$enable_schemas_install" != no; then
41020
 
-  GCONF_SCHEMAS_INSTALL_TRUE=
41021
 
-  GCONF_SCHEMAS_INSTALL_FALSE='#'
41022
 
-else
41023
 
-  GCONF_SCHEMAS_INSTALL_TRUE='#'
41024
 
-  GCONF_SCHEMAS_INSTALL_FALSE=
41025
 
-fi
41026
 
+# Whether we need soft or hard links.
41027
 
+LN_S=$lt_LN_S
41028
 
 
41029
 
+# What is the maximum length of a command?
41030
 
+max_cmd_len=$max_cmd_len
41031
 
 
41032
 
+# Object file suffix (normally "o").
41033
 
+objext=$ac_objext
41034
 
 
41035
 
+# Executable file suffix (normally "").
41036
 
+exeext=$exeext
41037
 
 
41038
 
-# Optionally enable G* deprecations
41039
 
-{ echo "$as_me:$LINENO: checking whether to enable deprecation warnings" >&5
41040
 
-echo $ECHO_N "checking whether to enable deprecation warnings... $ECHO_C" >&6; }
41041
 
-# Check whether --enable-deprecations was given.
41042
 
-if test "${enable_deprecations+set}" = set; then
41043
 
-  enableval=$enable_deprecations;
41044
 
-else
41045
 
-  enable_deprecations=no
41046
 
-fi
41047
 
+# whether the shell understands "unset".
41048
 
+lt_unset=$lt_unset
41049
 
 
41050
 
-{ echo "$as_me:$LINENO: result: $enable_deprecations" >&5
41051
 
-echo "${ECHO_T}$enable_deprecations" >&6; }
41052
 
+# turn spaces into newlines.
41053
 
+SP2NL=$lt_lt_SP2NL
41054
 
 
41055
 
-if test "$enable_deprecations" = "no"; then
41056
 
-       DISABLE_DEPRECATED=""
41057
 
+# turn newlines into spaces.
41058
 
+NL2SP=$lt_lt_NL2SP
41059
 
 
41060
 
-fi
41061
 
+# How to create reloadable object files.
41062
 
+reload_flag=$lt_reload_flag
41063
 
+reload_cmds=$lt_reload_cmds
41064
 
 
41065
 
-# We require Scroll Keeper 0.3.5 or above for the help
41066
 
-SCROLLKEEPER_BUILD_REQUIRED=0.3.5
41067
 
+# An object symbol dumper.
41068
 
+OBJDUMP=$lt_OBJDUMP
41069
 
 
41070
 
+# Method to check whether dependent libraries are shared objects.
41071
 
+deplibs_check_method=$lt_deplibs_check_method
41072
 
 
41073
 
+# Command to use when deplibs_check_method == "file_magic".
41074
 
+file_magic_cmd=$lt_file_magic_cmd
41075
 
 
41076
 
+# The archiver.
41077
 
+AR=$lt_AR
41078
 
+AR_FLAGS=$lt_AR_FLAGS
41079
 
 
41080
 
+# A symbol stripping program.
41081
 
+STRIP=$lt_STRIP
41082
 
 
41083
 
+# Commands used to install an old-style archive.
41084
 
+RANLIB=$lt_RANLIB
41085
 
+old_postinstall_cmds=$lt_old_postinstall_cmds
41086
 
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
41087
 
 
41088
 
+# A C compiler.
41089
 
+LTCC=$lt_CC
41090
 
 
41091
 
-# Finally, generate the files
41092
 
-ac_config_files="$ac_config_files sound-juicer.spec Makefile data/Makefile data/sound-juicer.desktop.in help/Makefile help/sound-juicer/Makefile libjuicer/Makefile po/Makefile.in src/Makefile tests/Makefile"
41093
 
+# LTCC compiler flags.
41094
 
+LTCFLAGS=$lt_CFLAGS
41095
 
 
41096
 
+# Take the output of nm and produce a listing of raw symbols and C names.
41097
 
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
41098
 
 
41099
 
-cat >confcache <<\_ACEOF
41100
 
-# This file is a shell script that caches the results of configure
41101
 
-# tests run on this system so they can be shared between configure
41102
 
-# scripts and configure runs, see configure's option --config-cache.
41103
 
-# It is not useful on other systems.  If it contains results you don't
41104
 
-# want to keep, you may remove or edit it.
41105
 
-#
41106
 
-# config.status only pays attention to the cache file if you give it
41107
 
-# the --recheck option to rerun configure.
41108
 
-#
41109
 
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
41110
 
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
41111
 
-# following values.
41112
 
+# Transform the output of nm in a proper C declaration.
41113
 
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
41114
 
 
41115
 
-_ACEOF
41116
 
+# Transform the output of nm in a C name address pair.
41117
 
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
41118
 
 
41119
 
-# The following way of writing the cache mishandles newlines in values,
41120
 
-# but we know of no workaround that is simple, portable, and efficient.
41121
 
-# So, we kill variables containing newlines.
41122
 
-# Ultrix sh set writes to stderr and can't be redirected directly,
41123
 
-# and sets the high bit in the cache file unless we assign to the vars.
41124
 
-(
41125
 
-  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41126
 
-    eval ac_val=\$$ac_var
41127
 
-    case $ac_val in #(
41128
 
-    *${as_nl}*)
41129
 
-      case $ac_var in #(
41130
 
-      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41131
 
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41132
 
-      esac
41133
 
-      case $ac_var in #(
41134
 
-      _ | IFS | as_nl) ;; #(
41135
 
-      *) $as_unset $ac_var ;;
41136
 
-      esac ;;
41137
 
-    esac
41138
 
-  done
41139
 
+# Transform the output of nm in a C name address pair when lib prefix is needed.
41140
 
+global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
41141
 
 
41142
 
-  (set) 2>&1 |
41143
 
-    case $as_nl`(ac_space=' '; set) 2>&1` in #(
41144
 
-    *${as_nl}ac_space=\ *)
41145
 
-      # `set' does not quote correctly, so add quotes (double-quote
41146
 
-      # substitution turns \\\\ into \\, and sed turns \\ into \).
41147
 
-      sed -n \
41148
 
-       "s/'/'\\\\''/g;
41149
 
-         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41150
 
-      ;; #(
41151
 
-    *)
41152
 
-      # `set' quotes correctly as required by POSIX, so do not add quotes.
41153
 
-      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41154
 
-      ;;
41155
 
-    esac |
41156
 
-    sort
41157
 
-) |
41158
 
-  sed '
41159
 
-     /^ac_cv_env_/b end
41160
 
-     t clear
41161
 
-     :clear
41162
 
-     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41163
 
-     t end
41164
 
-     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41165
 
-     :end' >>confcache
41166
 
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41167
 
-  if test -w "$cache_file"; then
41168
 
-    test "x$cache_file" != "x/dev/null" &&
41169
 
-      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41170
 
-echo "$as_me: updating cache $cache_file" >&6;}
41171
 
-    cat confcache >$cache_file
41172
 
-  else
41173
 
-    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41174
 
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41175
 
-  fi
41176
 
-fi
41177
 
-rm -f confcache
41178
 
+# The name of the directory that contains temporary libtool files.
41179
 
+objdir=$objdir
41180
 
 
41181
 
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
41182
 
-# Let make expand exec_prefix.
41183
 
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41184
 
+# Shell to use when invoking shell scripts.
41185
 
+SHELL=$lt_SHELL
41186
 
 
41187
 
-DEFS=-DHAVE_CONFIG_H
41188
 
+# An echo program that does not interpret backslashes.
41189
 
+ECHO=$lt_ECHO
41190
 
 
41191
 
-ac_libobjs=
41192
 
-ac_ltlibobjs=
41193
 
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41194
 
-  # 1. Remove the extension, and $U if already installed.
41195
 
-  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
41196
 
-  ac_i=`echo "$ac_i" | sed "$ac_script"`
41197
 
-  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
41198
 
-  #    will be set to the directory where LIBOBJS objects are built.
41199
 
-  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41200
 
-  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
41201
 
-done
41202
 
-LIBOBJS=$ac_libobjs
41203
 
+# Used to examine libraries when file_magic_cmd begins with "file".
41204
 
+MAGIC_CMD=$MAGIC_CMD
41205
 
 
41206
 
-LTLIBOBJS=$ac_ltlibobjs
41207
 
+# Must we lock files when doing compilation?
41208
 
+need_locks=$lt_need_locks
41209
 
 
41210
 
+# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
41211
 
+DSYMUTIL=$lt_DSYMUTIL
41212
 
 
41213
 
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
41214
 
-  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
41215
 
-Usually this means the macro was only invoked conditionally." >&5
41216
 
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
41217
 
-Usually this means the macro was only invoked conditionally." >&2;}
41218
 
-   { (exit 1); exit 1; }; }
41219
 
-fi
41220
 
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
41221
 
-  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
41222
 
-Usually this means the macro was only invoked conditionally." >&5
41223
 
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
41224
 
-Usually this means the macro was only invoked conditionally." >&2;}
41225
 
-   { (exit 1); exit 1; }; }
41226
 
-fi
41227
 
-if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
41228
 
-  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
41229
 
-Usually this means the macro was only invoked conditionally." >&5
41230
 
-echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
41231
 
-Usually this means the macro was only invoked conditionally." >&2;}
41232
 
-   { (exit 1); exit 1; }; }
41233
 
-fi
41234
 
+# Tool to change global to local symbols on Mac OS X.
41235
 
+NMEDIT=$lt_NMEDIT
41236
 
 
41237
 
-  ac_config_commands="$ac_config_commands po/stamp-it"
41238
 
+# Tool to manipulate fat objects and archives on Mac OS X.
41239
 
+LIPO=$lt_LIPO
41240
 
 
41241
 
+# ldd/readelf like tool for Mach-O binaries on Mac OS X.
41242
 
+OTOOL=$lt_OTOOL
41243
 
 
41244
 
-if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
41245
 
-  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
41246
 
-Usually this means the macro was only invoked conditionally." >&5
41247
 
-echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
41248
 
-Usually this means the macro was only invoked conditionally." >&2;}
41249
 
-   { (exit 1); exit 1; }; }
41250
 
-fi
41251
 
-if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
41252
 
-  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SK\" was never defined.
41253
 
-Usually this means the macro was only invoked conditionally." >&5
41254
 
-echo "$as_me: error: conditional \"ENABLE_SK\" was never defined.
41255
 
-Usually this means the macro was only invoked conditionally." >&2;}
41256
 
-   { (exit 1); exit 1; }; }
41257
 
-fi
41258
 
-if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
41259
 
-  { { echo "$as_me:$LINENO: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
41260
 
-Usually this means the macro was only invoked conditionally." >&5
41261
 
-echo "$as_me: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
41262
 
-Usually this means the macro was only invoked conditionally." >&2;}
41263
 
-   { (exit 1); exit 1; }; }
41264
 
-fi
41265
 
-if test -z "${HAVE_LIBCDIO_TRUE}" && test -z "${HAVE_LIBCDIO_FALSE}"; then
41266
 
-  { { echo "$as_me:$LINENO: error: conditional \"HAVE_LIBCDIO\" was never defined.
41267
 
-Usually this means the macro was only invoked conditionally." >&5
41268
 
-echo "$as_me: error: conditional \"HAVE_LIBCDIO\" was never defined.
41269
 
-Usually this means the macro was only invoked conditionally." >&2;}
41270
 
-   { (exit 1); exit 1; }; }
41271
 
-fi
41272
 
-if test -z "${HAVE_MUSICBRAINZ3_TRUE}" && test -z "${HAVE_MUSICBRAINZ3_FALSE}"; then
41273
 
-  { { echo "$as_me:$LINENO: error: conditional \"HAVE_MUSICBRAINZ3\" was never defined.
41274
 
-Usually this means the macro was only invoked conditionally." >&5
41275
 
-echo "$as_me: error: conditional \"HAVE_MUSICBRAINZ3\" was never defined.
41276
 
-Usually this means the macro was only invoked conditionally." >&2;}
41277
 
-   { (exit 1); exit 1; }; }
41278
 
-fi
41279
 
-if test -z "${HAVE_MUSICBRAINZ_TRUE}" && test -z "${HAVE_MUSICBRAINZ_FALSE}"; then
41280
 
-  { { echo "$as_me:$LINENO: error: conditional \"HAVE_MUSICBRAINZ\" was never defined.
41281
 
-Usually this means the macro was only invoked conditionally." >&5
41282
 
-echo "$as_me: error: conditional \"HAVE_MUSICBRAINZ\" was never defined.
41283
 
-Usually this means the macro was only invoked conditionally." >&2;}
41284
 
-   { (exit 1); exit 1; }; }
41285
 
-fi
41286
 
-if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
41287
 
-  { { echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
41288
 
-Usually this means the macro was only invoked conditionally." >&5
41289
 
-echo "$as_me: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
41290
 
-Usually this means the macro was only invoked conditionally." >&2;}
41291
 
-   { (exit 1); exit 1; }; }
41292
 
-fi
41293
 
+# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
41294
 
+OTOOL64=$lt_OTOOL64
41295
 
+
41296
 
+# Old archive suffix (normally "a").
41297
 
+libext=$libext
41298
 
+
41299
 
+# Shared library suffix (normally ".so").
41300
 
+shrext_cmds=$lt_shrext_cmds
41301
 
+
41302
 
+# The commands to extract the exported symbol list from a shared archive.
41303
 
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
41304
 
+
41305
 
+# Variables whose values should be saved in libtool wrapper scripts and
41306
 
+# restored at link time.
41307
 
+variables_saved_for_relink=$lt_variables_saved_for_relink
41308
 
 
41309
 
-: ${CONFIG_STATUS=./config.status}
41310
 
-ac_clean_files_save=$ac_clean_files
41311
 
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41312
 
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41313
 
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
41314
 
-cat >$CONFIG_STATUS <<_ACEOF
41315
 
-#! $SHELL
41316
 
-# Generated by $as_me.
41317
 
-# Run this file to recreate the current configuration.
41318
 
-# Compiler output produced by configure, useful for debugging
41319
 
-# configure, is in config.log if it exists.
41320
 
+# Do we need the "lib" prefix for modules?
41321
 
+need_lib_prefix=$need_lib_prefix
41322
 
 
41323
 
-debug=false
41324
 
-ac_cs_recheck=false
41325
 
-ac_cs_silent=false
41326
 
-SHELL=\${CONFIG_SHELL-$SHELL}
41327
 
-_ACEOF
41328
 
+# Do we need a version for libraries?
41329
 
+need_version=$need_version
41330
 
 
41331
 
-cat >>$CONFIG_STATUS <<\_ACEOF
41332
 
-## --------------------- ##
41333
 
-## M4sh Initialization.  ##
41334
 
-## --------------------- ##
41335
 
+# Library versioning type.
41336
 
+version_type=$version_type
41337
 
 
41338
 
-# Be more Bourne compatible
41339
 
-DUALCASE=1; export DUALCASE # for MKS sh
41340
 
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
41341
 
-  emulate sh
41342
 
-  NULLCMD=:
41343
 
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41344
 
-  # is contrary to our usage.  Disable this feature.
41345
 
-  alias -g '${1+"$@"}'='"$@"'
41346
 
-  setopt NO_GLOB_SUBST
41347
 
-else
41348
 
-  case `(set -o) 2>/dev/null` in
41349
 
-  *posix*) set -o posix ;;
41350
 
-esac
41351
 
+# Shared library runtime path variable.
41352
 
+runpath_var=$runpath_var
41353
 
 
41354
 
-fi
41355
 
+# Shared library path variable.
41356
 
+shlibpath_var=$shlibpath_var
41357
 
 
41358
 
+# Is shlibpath searched before the hard-coded library search path?
41359
 
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
41360
 
 
41361
 
+# Format of library name prefix.
41362
 
+libname_spec=$lt_libname_spec
41363
 
 
41364
 
+# List of archive names.  First name is the real one, the rest are links.
41365
 
+# The last name is the one that the linker finds with -lNAME
41366
 
+library_names_spec=$lt_library_names_spec
41367
 
 
41368
 
-# PATH needs CR
41369
 
-# Avoid depending upon Character Ranges.
41370
 
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41371
 
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41372
 
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41373
 
-as_cr_digits='0123456789'
41374
 
-as_cr_alnum=$as_cr_Letters$as_cr_digits
41375
 
+# The coded name of the library, if different from the real name.
41376
 
+soname_spec=$lt_soname_spec
41377
 
 
41378
 
-# The user is always right.
41379
 
-if test "${PATH_SEPARATOR+set}" != set; then
41380
 
-  echo "#! /bin/sh" >conf$$.sh
41381
 
-  echo  "exit 0"   >>conf$$.sh
41382
 
-  chmod +x conf$$.sh
41383
 
-  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
41384
 
-    PATH_SEPARATOR=';'
41385
 
-  else
41386
 
-    PATH_SEPARATOR=:
41387
 
-  fi
41388
 
-  rm -f conf$$.sh
41389
 
-fi
41390
 
+# Command to use after installation of a shared archive.
41391
 
+postinstall_cmds=$lt_postinstall_cmds
41392
 
 
41393
 
-# Support unset when possible.
41394
 
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
41395
 
-  as_unset=unset
41396
 
-else
41397
 
-  as_unset=false
41398
 
-fi
41399
 
+# Command to use after uninstallation of a shared archive.
41400
 
+postuninstall_cmds=$lt_postuninstall_cmds
41401
 
 
41402
 
+# Commands used to finish a libtool library installation in a directory.
41403
 
+finish_cmds=$lt_finish_cmds
41404
 
 
41405
 
-# IFS
41406
 
-# We need space, tab and new line, in precisely that order.  Quoting is
41407
 
-# there to prevent editors from complaining about space-tab.
41408
 
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
41409
 
-# splitting by setting IFS to empty value.)
41410
 
-as_nl='
41411
 
-'
41412
 
-IFS=" ""       $as_nl"
41413
 
+# As "finish_cmds", except a single script fragment to be evaled but
41414
 
+# not shown.
41415
 
+finish_eval=$lt_finish_eval
41416
 
 
41417
 
-# Find who we are.  Look in the path if we contain no directory separator.
41418
 
-case $0 in
41419
 
-  *[\\/]* ) as_myself=$0 ;;
41420
 
-  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41421
 
-for as_dir in $PATH
41422
 
-do
41423
 
-  IFS=$as_save_IFS
41424
 
-  test -z "$as_dir" && as_dir=.
41425
 
-  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41426
 
-done
41427
 
-IFS=$as_save_IFS
41428
 
+# Whether we should hardcode library paths into libraries.
41429
 
+hardcode_into_libs=$hardcode_into_libs
41430
 
 
41431
 
-     ;;
41432
 
-esac
41433
 
-# We did not find ourselves, most probably we were run as `sh COMMAND'
41434
 
-# in which case we are not to be found in the path.
41435
 
-if test "x$as_myself" = x; then
41436
 
-  as_myself=$0
41437
 
-fi
41438
 
-if test ! -f "$as_myself"; then
41439
 
-  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41440
 
-  { (exit 1); exit 1; }
41441
 
-fi
41442
 
+# Compile-time system search path for libraries.
41443
 
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
41444
 
 
41445
 
-# Work around bugs in pre-3.0 UWIN ksh.
41446
 
-for as_var in ENV MAIL MAILPATH
41447
 
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
41448
 
-done
41449
 
-PS1='$ '
41450
 
-PS2='> '
41451
 
-PS4='+ '
41452
 
+# Run-time system search path for libraries.
41453
 
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
41454
 
 
41455
 
-# NLS nuisances.
41456
 
-for as_var in \
41457
 
-  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41458
 
-  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41459
 
-  LC_TELEPHONE LC_TIME
41460
 
-do
41461
 
-  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41462
 
-    eval $as_var=C; export $as_var
41463
 
-  else
41464
 
-    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
41465
 
-  fi
41466
 
-done
41467
 
+# Whether dlopen is supported.
41468
 
+dlopen_support=$enable_dlopen
41469
 
 
41470
 
-# Required to use basename.
41471
 
-if expr a : '\(a\)' >/dev/null 2>&1 &&
41472
 
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
41473
 
-  as_expr=expr
41474
 
-else
41475
 
-  as_expr=false
41476
 
-fi
41477
 
+# Whether dlopen of programs is supported.
41478
 
+dlopen_self=$enable_dlopen_self
41479
 
 
41480
 
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41481
 
-  as_basename=basename
41482
 
-else
41483
 
-  as_basename=false
41484
 
-fi
41485
 
+# Whether dlopen of statically linked programs is supported.
41486
 
+dlopen_self_static=$enable_dlopen_self_static
41487
 
 
41488
 
+# Commands to strip libraries.
41489
 
+old_striplib=$lt_old_striplib
41490
 
+striplib=$lt_striplib
41491
 
 
41492
 
-# Name of the executable.
41493
 
-as_me=`$as_basename -- "$0" ||
41494
 
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41495
 
-        X"$0" : 'X\(//\)$' \| \
41496
 
-        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41497
 
-echo X/"$0" |
41498
 
-    sed '/^.*\/\([^/][^/]*\)\/*$/{
41499
 
-           s//\1/
41500
 
-           q
41501
 
-         }
41502
 
-         /^X\/\(\/\/\)$/{
41503
 
-           s//\1/
41504
 
-           q
41505
 
-         }
41506
 
-         /^X\/\(\/\).*/{
41507
 
-           s//\1/
41508
 
-           q
41509
 
-         }
41510
 
-         s/.*/./; q'`
41511
 
 
41512
 
-# CDPATH.
41513
 
-$as_unset CDPATH
41514
 
+# The linker used to build libraries.
41515
 
+LD=$lt_LD
41516
 
 
41517
 
+# Commands used to build an old-style archive.
41518
 
+old_archive_cmds=$lt_old_archive_cmds
41519
 
 
41520
 
+# A language specific compiler.
41521
 
+CC=$lt_compiler
41522
 
 
41523
 
-  as_lineno_1=$LINENO
41524
 
-  as_lineno_2=$LINENO
41525
 
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
41526
 
-  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
41527
 
+# Is the compiler the GNU compiler?
41528
 
+with_gcc=$GCC
41529
 
 
41530
 
-  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41531
 
-  # uniformly replaced by the line number.  The first 'sed' inserts a
41532
 
-  # line-number line after each line using $LINENO; the second 'sed'
41533
 
-  # does the real work.  The second script uses 'N' to pair each
41534
 
-  # line-number line with the line containing $LINENO, and appends
41535
 
-  # trailing '-' during substitution so that $LINENO is not a special
41536
 
-  # case at line end.
41537
 
-  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41538
 
-  # scripts with optimization help from Paolo Bonzini.  Blame Lee
41539
 
-  # E. McMahon (1931-1989) for sed's syntax.  :-)
41540
 
-  sed -n '
41541
 
-    p
41542
 
-    /[$]LINENO/=
41543
 
-  ' <$as_myself |
41544
 
-    sed '
41545
 
-      s/[$]LINENO.*/&-/
41546
 
-      t lineno
41547
 
-      b
41548
 
-      :lineno
41549
 
-      N
41550
 
-      :loop
41551
 
-      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
41552
 
-      t loop
41553
 
-      s/-\n.*//
41554
 
-    ' >$as_me.lineno &&
41555
 
-  chmod +x "$as_me.lineno" ||
41556
 
-    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
41557
 
-   { (exit 1); exit 1; }; }
41558
 
+# Compiler flag to turn off builtin functions.
41559
 
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
41560
 
 
41561
 
-  # Don't try to exec as it changes $[0], causing all sort of problems
41562
 
-  # (the dirname of $[0] is not the place where we might find the
41563
 
-  # original and so on.  Autoconf is especially sensitive to this).
41564
 
-  . "./$as_me.lineno"
41565
 
-  # Exit status is that of the last command.
41566
 
-  exit
41567
 
-}
41568
 
+# How to pass a linker flag through the compiler.
41569
 
+wl=$lt_lt_prog_compiler_wl
41570
 
 
41571
 
+# Additional compiler flags for building library objects.
41572
 
+pic_flag=$lt_lt_prog_compiler_pic
41573
 
 
41574
 
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
41575
 
-  as_dirname=dirname
41576
 
-else
41577
 
-  as_dirname=false
41578
 
-fi
41579
 
+# Compiler flag to prevent dynamic linking.
41580
 
+link_static_flag=$lt_lt_prog_compiler_static
41581
 
 
41582
 
-ECHO_C= ECHO_N= ECHO_T=
41583
 
-case `echo -n x` in
41584
 
--n*)
41585
 
-  case `echo 'x\c'` in
41586
 
-  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
41587
 
-  *)   ECHO_C='\c';;
41588
 
-  esac;;
41589
 
-*)
41590
 
-  ECHO_N='-n';;
41591
 
-esac
41592
 
+# Does compiler simultaneously support -c and -o options?
41593
 
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o
41594
 
 
41595
 
-if expr a : '\(a\)' >/dev/null 2>&1 &&
41596
 
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
41597
 
-  as_expr=expr
41598
 
-else
41599
 
-  as_expr=false
41600
 
-fi
41601
 
+# Whether or not to add -lc for building shared libraries.
41602
 
+build_libtool_need_lc=$archive_cmds_need_lc
41603
 
+
41604
 
+# Whether or not to disallow shared libs when runtime libs are static.
41605
 
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
41606
 
+
41607
 
+# Compiler flag to allow reflexive dlopens.
41608
 
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
41609
 
+
41610
 
+# Compiler flag to generate shared objects directly from archives.
41611
 
+whole_archive_flag_spec=$lt_whole_archive_flag_spec
41612
 
+
41613
 
+# Whether the compiler copes with passing no objects directly.
41614
 
+compiler_needs_object=$lt_compiler_needs_object
41615
 
+
41616
 
+# Create an old-style archive from a shared archive.
41617
 
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
41618
 
+
41619
 
+# Create a temporary old-style archive to link instead of a shared archive.
41620
 
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
41621
 
+
41622
 
+# Commands used to build a shared archive.
41623
 
+archive_cmds=$lt_archive_cmds
41624
 
+archive_expsym_cmds=$lt_archive_expsym_cmds
41625
 
+
41626
 
+# Commands used to build a loadable module if different from building
41627
 
+# a shared archive.
41628
 
+module_cmds=$lt_module_cmds
41629
 
+module_expsym_cmds=$lt_module_expsym_cmds
41630
 
+
41631
 
+# Whether we are building with GNU ld or not.
41632
 
+with_gnu_ld=$lt_with_gnu_ld
41633
 
+
41634
 
+# Flag that allows shared libraries with undefined symbols to be built.
41635
 
+allow_undefined_flag=$lt_allow_undefined_flag
41636
 
+
41637
 
+# Flag that enforces no undefined symbols.
41638
 
+no_undefined_flag=$lt_no_undefined_flag
41639
 
 
41640
 
-rm -f conf$$ conf$$.exe conf$$.file
41641
 
-if test -d conf$$.dir; then
41642
 
-  rm -f conf$$.dir/conf$$.file
41643
 
-else
41644
 
-  rm -f conf$$.dir
41645
 
-  mkdir conf$$.dir
41646
 
-fi
41647
 
-echo >conf$$.file
41648
 
-if ln -s conf$$.file conf$$ 2>/dev/null; then
41649
 
-  as_ln_s='ln -s'
41650
 
-  # ... but there are two gotchas:
41651
 
-  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41652
 
-  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41653
 
-  # In both cases, we have to default to `cp -p'.
41654
 
-  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
41655
 
-    as_ln_s='cp -p'
41656
 
-elif ln conf$$.file conf$$ 2>/dev/null; then
41657
 
-  as_ln_s=ln
41658
 
-else
41659
 
-  as_ln_s='cp -p'
41660
 
-fi
41661
 
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
41662
 
-rmdir conf$$.dir 2>/dev/null
41663
 
+# Flag to hardcode \$libdir into a binary during linking.
41664
 
+# This must work even if \$libdir does not exist
41665
 
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
41666
 
 
41667
 
-if mkdir -p . 2>/dev/null; then
41668
 
-  as_mkdir_p=:
41669
 
-else
41670
 
-  test -d ./-p && rmdir ./-p
41671
 
-  as_mkdir_p=false
41672
 
-fi
41673
 
+# If ld is used when linking, flag to hardcode \$libdir into a binary
41674
 
+# during linking.  This must work even if \$libdir does not exist.
41675
 
+hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
41676
 
 
41677
 
-if test -x / >/dev/null 2>&1; then
41678
 
-  as_test_x='test -x'
41679
 
-else
41680
 
-  if ls -dL / >/dev/null 2>&1; then
41681
 
-    as_ls_L_option=L
41682
 
-  else
41683
 
-    as_ls_L_option=
41684
 
-  fi
41685
 
-  as_test_x='
41686
 
-    eval sh -c '\''
41687
 
-      if test -d "$1"; then
41688
 
-        test -d "$1/.";
41689
 
-      else
41690
 
-       case $1 in
41691
 
-        -*)set "./$1";;
41692
 
-       esac;
41693
 
-       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
41694
 
-       ???[sx]*):;;*)false;;esac;fi
41695
 
-    '\'' sh
41696
 
-  '
41697
 
-fi
41698
 
-as_executable_p=$as_test_x
41699
 
+# Whether we need a single "-rpath" flag with a separated argument.
41700
 
+hardcode_libdir_separator=$lt_hardcode_libdir_separator
41701
 
 
41702
 
-# Sed expression to map a string onto a valid CPP name.
41703
 
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41704
 
+# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
41705
 
+# DIR into the resulting binary.
41706
 
+hardcode_direct=$hardcode_direct
41707
 
 
41708
 
-# Sed expression to map a string onto a valid variable name.
41709
 
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41710
 
+# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
41711
 
+# DIR into the resulting binary and the resulting library dependency is
41712
 
+# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
41713
 
+# library is relocated.
41714
 
+hardcode_direct_absolute=$hardcode_direct_absolute
41715
 
 
41716
 
+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
41717
 
+# into the resulting binary.
41718
 
+hardcode_minus_L=$hardcode_minus_L
41719
 
 
41720
 
-exec 6>&1
41721
 
+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
41722
 
+# into the resulting binary.
41723
 
+hardcode_shlibpath_var=$hardcode_shlibpath_var
41724
 
 
41725
 
-# Save the log message, to keep $[0] and so on meaningful, and to
41726
 
-# report actual input values of CONFIG_FILES etc. instead of their
41727
 
-# values after options handling.
41728
 
-ac_log="
41729
 
-This file was extended by Sound Juicer $as_me 2.26.1, which was
41730
 
-generated by GNU Autoconf 2.61.  Invocation command line was
41731
 
+# Set to "yes" if building a shared library automatically hardcodes DIR
41732
 
+# into the library and all subsequent libraries and executables linked
41733
 
+# against it.
41734
 
+hardcode_automatic=$hardcode_automatic
41735
 
 
41736
 
-  CONFIG_FILES    = $CONFIG_FILES
41737
 
-  CONFIG_HEADERS  = $CONFIG_HEADERS
41738
 
-  CONFIG_LINKS    = $CONFIG_LINKS
41739
 
-  CONFIG_COMMANDS = $CONFIG_COMMANDS
41740
 
-  $ $0 $@
41741
 
+# Set to yes if linker adds runtime paths of dependent libraries
41742
 
+# to runtime path list.
41743
 
+inherit_rpath=$inherit_rpath
41744
 
 
41745
 
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
41746
 
-"
41747
 
+# Whether libtool must link a program against all its dependency libraries.
41748
 
+link_all_deplibs=$link_all_deplibs
41749
 
 
41750
 
-_ACEOF
41751
 
+# Fix the shell variable \$srcfile for the compiler.
41752
 
+fix_srcfile_path=$lt_fix_srcfile_path
41753
 
 
41754
 
-cat >>$CONFIG_STATUS <<_ACEOF
41755
 
-# Files that config.status was made for.
41756
 
-config_files="$ac_config_files"
41757
 
-config_headers="$ac_config_headers"
41758
 
-config_commands="$ac_config_commands"
41759
 
+# Set to "yes" if exported symbols are required.
41760
 
+always_export_symbols=$always_export_symbols
41761
 
 
41762
 
-_ACEOF
41763
 
+# The commands to list exported symbols.
41764
 
+export_symbols_cmds=$lt_export_symbols_cmds
41765
 
 
41766
 
-cat >>$CONFIG_STATUS <<\_ACEOF
41767
 
-ac_cs_usage="\
41768
 
-\`$as_me' instantiates files from templates according to the
41769
 
-current configuration.
41770
 
+# Symbols that should not be listed in the preloaded symbols.
41771
 
+exclude_expsyms=$lt_exclude_expsyms
41772
 
 
41773
 
-Usage: $0 [OPTIONS] [FILE]...
41774
 
+# Symbols that must always be exported.
41775
 
+include_expsyms=$lt_include_expsyms
41776
 
 
41777
 
-  -h, --help       print this help, then exit
41778
 
-  -V, --version    print version number and configuration settings, then exit
41779
 
-  -q, --quiet      do not print progress messages
41780
 
-  -d, --debug      don't remove temporary files
41781
 
-      --recheck    update $as_me by reconfiguring in the same conditions
41782
 
-  --file=FILE[:TEMPLATE]
41783
 
-                  instantiate the configuration file FILE
41784
 
-  --header=FILE[:TEMPLATE]
41785
 
-                  instantiate the configuration header FILE
41786
 
+# Commands necessary for linking programs (against libraries) with templates.
41787
 
+prelink_cmds=$lt_prelink_cmds
41788
 
 
41789
 
-Configuration files:
41790
 
-$config_files
41791
 
+# Specify filename containing input files.
41792
 
+file_list_spec=$lt_file_list_spec
41793
 
 
41794
 
-Configuration headers:
41795
 
-$config_headers
41796
 
+# How to hardcode a shared library path into an executable.
41797
 
+hardcode_action=$hardcode_action
41798
 
 
41799
 
-Configuration commands:
41800
 
-$config_commands
41801
 
+# The directories searched by this compiler when creating a shared library.
41802
 
+compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
41803
 
 
41804
 
-Report bugs to <bug-autoconf@gnu.org>."
41805
 
+# Dependencies to place before and after the objects being linked to
41806
 
+# create a shared library.
41807
 
+predep_objects=$lt_predep_objects
41808
 
+postdep_objects=$lt_postdep_objects
41809
 
+predeps=$lt_predeps
41810
 
+postdeps=$lt_postdeps
41811
 
 
41812
 
-_ACEOF
41813
 
-cat >>$CONFIG_STATUS <<_ACEOF
41814
 
-ac_cs_version="\\
41815
 
-Sound Juicer config.status 2.26.1
41816
 
-configured by $0, generated by GNU Autoconf 2.61,
41817
 
-  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
41818
 
+# The library search path used internally by the compiler when linking
41819
 
+# a shared library.
41820
 
+compiler_lib_search_path=$lt_compiler_lib_search_path
41821
 
 
41822
 
-Copyright (C) 2006 Free Software Foundation, Inc.
41823
 
-This config.status script is free software; the Free Software Foundation
41824
 
-gives unlimited permission to copy, distribute and modify it."
41825
 
+# ### END LIBTOOL CONFIG
41826
 
 
41827
 
-ac_pwd='$ac_pwd'
41828
 
-srcdir='$srcdir'
41829
 
-INSTALL='$INSTALL'
41830
 
-MKDIR_P='$MKDIR_P'
41831
 
-_ACEOF
41832
 
+_LT_EOF
41833
 
 
41834
 
-cat >>$CONFIG_STATUS <<\_ACEOF
41835
 
-# If no file are specified by the user, then we need to provide default
41836
 
-# value.  By we need to know if files were specified by the user.
41837
 
-ac_need_defaults=:
41838
 
-while test $# != 0
41839
 
-do
41840
 
-  case $1 in
41841
 
-  --*=*)
41842
 
-    ac_option=`expr "X$1" : 'X\([^=]*\)='`
41843
 
-    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
41844
 
-    ac_shift=:
41845
 
-    ;;
41846
 
-  *)
41847
 
-    ac_option=$1
41848
 
-    ac_optarg=$2
41849
 
-    ac_shift=shift
41850
 
+  case $host_os in
41851
 
+  aix3*)
41852
 
+    cat <<\_LT_EOF >> "$cfgfile"
41853
 
+# AIX sometimes has problems with the GCC collect2 program.  For some
41854
 
+# reason, if we set the COLLECT_NAMES environment variable, the problems
41855
 
+# vanish in a puff of smoke.
41856
 
+if test "X${COLLECT_NAMES+set}" != Xset; then
41857
 
+  COLLECT_NAMES=
41858
 
+  export COLLECT_NAMES
41859
 
+fi
41860
 
+_LT_EOF
41861
 
     ;;
41862
 
   esac
41863
 
 
41864
 
-  case $ac_option in
41865
 
-  # Handling of the options.
41866
 
-  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41867
 
-    ac_cs_recheck=: ;;
41868
 
-  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
41869
 
-    echo "$ac_cs_version"; exit ;;
41870
 
-  --debug | --debu | --deb | --de | --d | -d )
41871
 
-    debug=: ;;
41872
 
-  --file | --fil | --fi | --f )
41873
 
-    $ac_shift
41874
 
-    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
41875
 
-    ac_need_defaults=false;;
41876
 
-  --header | --heade | --head | --hea )
41877
 
-    $ac_shift
41878
 
-    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
41879
 
-    ac_need_defaults=false;;
41880
 
-  --he | --h)
41881
 
-    # Conflict between --help and --header
41882
 
-    { echo "$as_me: error: ambiguous option: $1
41883
 
-Try \`$0 --help' for more information." >&2
41884
 
-   { (exit 1); exit 1; }; };;
41885
 
-  --help | --hel | -h )
41886
 
-    echo "$ac_cs_usage"; exit ;;
41887
 
-  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41888
 
-  | -silent | --silent | --silen | --sile | --sil | --si | --s)
41889
 
-    ac_cs_silent=: ;;
41890
 
 
41891
 
-  # This is an error.
41892
 
-  -*) { echo "$as_me: error: unrecognized option: $1
41893
 
-Try \`$0 --help' for more information." >&2
41894
 
-   { (exit 1); exit 1; }; } ;;
41895
 
+ltmain="$ac_aux_dir/ltmain.sh"
41896
 
 
41897
 
-  *) ac_config_targets="$ac_config_targets $1"
41898
 
-     ac_need_defaults=false ;;
41899
 
 
41900
 
+  # We use sed instead of cat because bash on DJGPP gets confused if
41901
 
+  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
41902
 
+  # text mode, it properly converts lines to CR/LF.  This bash problem
41903
 
+  # is reportedly fixed, but why not run on old versions too?
41904
 
+  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
41905
 
+    || (rm -f "$cfgfile"; exit 1)
41906
 
+
41907
 
+  case $xsi_shell in
41908
 
+  yes)
41909
 
+    cat << \_LT_EOF >> "$cfgfile"
41910
 
+
41911
 
+# func_dirname file append nondir_replacement
41912
 
+# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
41913
 
+# otherwise set result to NONDIR_REPLACEMENT.
41914
 
+func_dirname ()
41915
 
+{
41916
 
+  case ${1} in
41917
 
+    */*) func_dirname_result="${1%/*}${2}" ;;
41918
 
+    *  ) func_dirname_result="${3}" ;;
41919
 
   esac
41920
 
-  shift
41921
 
-done
41922
 
+}
41923
 
 
41924
 
-ac_configure_extra_args=
41925
 
+# func_basename file
41926
 
+func_basename ()
41927
 
+{
41928
 
+  func_basename_result="${1##*/}"
41929
 
+}
41930
 
 
41931
 
-if $ac_cs_silent; then
41932
 
-  exec 6>/dev/null
41933
 
-  ac_configure_extra_args="$ac_configure_extra_args --silent"
41934
 
-fi
41935
 
+# func_dirname_and_basename file append nondir_replacement
41936
 
+# perform func_basename and func_dirname in a single function
41937
 
+# call:
41938
 
+#   dirname:  Compute the dirname of FILE.  If nonempty,
41939
 
+#             add APPEND to the result, otherwise set result
41940
 
+#             to NONDIR_REPLACEMENT.
41941
 
+#             value returned in "$func_dirname_result"
41942
 
+#   basename: Compute filename of FILE.
41943
 
+#             value retuned in "$func_basename_result"
41944
 
+# Implementation must be kept synchronized with func_dirname
41945
 
+# and func_basename. For efficiency, we do not delegate to
41946
 
+# those functions but instead duplicate the functionality here.
41947
 
+func_dirname_and_basename ()
41948
 
+{
41949
 
+  case ${1} in
41950
 
+    */*) func_dirname_result="${1%/*}${2}" ;;
41951
 
+    *  ) func_dirname_result="${3}" ;;
41952
 
+  esac
41953
 
+  func_basename_result="${1##*/}"
41954
 
+}
41955
 
 
41956
 
-_ACEOF
41957
 
-cat >>$CONFIG_STATUS <<_ACEOF
41958
 
-if \$ac_cs_recheck; then
41959
 
-  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
41960
 
-  CONFIG_SHELL=$SHELL
41961
 
-  export CONFIG_SHELL
41962
 
-  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41963
 
-fi
41964
 
+# func_stripname prefix suffix name
41965
 
+# strip PREFIX and SUFFIX off of NAME.
41966
 
+# PREFIX and SUFFIX must not contain globbing or regex special
41967
 
+# characters, hashes, percent signs, but SUFFIX may contain a leading
41968
 
+# dot (in which case that matches only a dot).
41969
 
+func_stripname ()
41970
 
+{
41971
 
+  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
41972
 
+  # positional parameters, so assign one to ordinary parameter first.
41973
 
+  func_stripname_result=${3}
41974
 
+  func_stripname_result=${func_stripname_result#"${1}"}
41975
 
+  func_stripname_result=${func_stripname_result%"${2}"}
41976
 
+}
41977
 
 
41978
 
-_ACEOF
41979
 
-cat >>$CONFIG_STATUS <<\_ACEOF
41980
 
-exec 5>>config.log
41981
 
+# func_opt_split
41982
 
+func_opt_split ()
41983
 
 {
41984
 
-  echo
41985
 
-  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41986
 
-## Running $as_me. ##
41987
 
-_ASBOX
41988
 
-  echo "$ac_log"
41989
 
-} >&5
41990
 
+  func_opt_split_opt=${1%%=*}
41991
 
+  func_opt_split_arg=${1#*=}
41992
 
+}
41993
 
 
41994
 
-_ACEOF
41995
 
-cat >>$CONFIG_STATUS <<_ACEOF
41996
 
-#
41997
 
-# INIT-COMMANDS
41998
 
-#
41999
 
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
42000
 
+# func_lo2o object
42001
 
+func_lo2o ()
42002
 
+{
42003
 
+  case ${1} in
42004
 
+    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
42005
 
+    *)    func_lo2o_result=${1} ;;
42006
 
+  esac
42007
 
+}
42008
 
 
42009
 
+# func_xform libobj-or-source
42010
 
+func_xform ()
42011
 
+{
42012
 
+  func_xform_result=${1%.*}.lo
42013
 
+}
42014
 
 
42015
 
-_ACEOF
42016
 
+# func_arith arithmetic-term...
42017
 
+func_arith ()
42018
 
+{
42019
 
+  func_arith_result=$(( $* ))
42020
 
+}
42021
 
 
42022
 
-cat >>$CONFIG_STATUS <<\_ACEOF
42023
 
+# func_len string
42024
 
+# STRING may not start with a hyphen.
42025
 
+func_len ()
42026
 
+{
42027
 
+  func_len_result=${#1}
42028
 
+}
42029
 
 
42030
 
-# Handling of arguments.
42031
 
-for ac_config_target in $ac_config_targets
42032
 
-do
42033
 
-  case $ac_config_target in
42034
 
-    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
42035
 
-    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
42036
 
-    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
42037
 
-    "sound-juicer.spec") CONFIG_FILES="$CONFIG_FILES sound-juicer.spec" ;;
42038
 
-    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
42039
 
-    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
42040
 
-    "data/sound-juicer.desktop.in") CONFIG_FILES="$CONFIG_FILES data/sound-juicer.desktop.in" ;;
42041
 
-    "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
42042
 
-    "help/sound-juicer/Makefile") CONFIG_FILES="$CONFIG_FILES help/sound-juicer/Makefile" ;;
42043
 
-    "libjuicer/Makefile") CONFIG_FILES="$CONFIG_FILES libjuicer/Makefile" ;;
42044
 
-    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
42045
 
-    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
42046
 
-    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
42047
 
-    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
42048
 
+_LT_EOF
42049
 
+    ;;
42050
 
+  *) # Bourne compatible functions.
42051
 
+    cat << \_LT_EOF >> "$cfgfile"
42052
 
 
42053
 
-  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42054
 
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42055
 
-   { (exit 1); exit 1; }; };;
42056
 
-  esac
42057
 
-done
42058
 
+# func_dirname file append nondir_replacement
42059
 
+# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
42060
 
+# otherwise set result to NONDIR_REPLACEMENT.
42061
 
+func_dirname ()
42062
 
+{
42063
 
+  # Extract subdirectory from the argument.
42064
 
+  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
42065
 
+  if test "X$func_dirname_result" = "X${1}"; then
42066
 
+    func_dirname_result="${3}"
42067
 
+  else
42068
 
+    func_dirname_result="$func_dirname_result${2}"
42069
 
+  fi
42070
 
+}
42071
 
 
42072
 
+# func_basename file
42073
 
+func_basename ()
42074
 
+{
42075
 
+  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
42076
 
+}
42077
 
 
42078
 
-# If the user did not use the arguments to specify the items to instantiate,
42079
 
-# then the envvar interface is used.  Set only those that are not.
42080
 
-# We use the long form for the default assignment because of an extremely
42081
 
-# bizarre bug on SunOS 4.1.3.
42082
 
-if $ac_need_defaults; then
42083
 
-  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42084
 
-  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42085
 
-  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42086
 
-fi
42087
 
 
42088
 
-# Have a temporary directory for convenience.  Make it in the build tree
42089
 
-# simply because there is no reason against having it here, and in addition,
42090
 
-# creating and moving files from /tmp can sometimes cause problems.
42091
 
-# Hook for its removal unless debugging.
42092
 
-# Note that there is a small window in which the directory will not be cleaned:
42093
 
-# after its creation but before its name has been assigned to `$tmp'.
42094
 
-$debug ||
42095
 
+# func_stripname prefix suffix name
42096
 
+# strip PREFIX and SUFFIX off of NAME.
42097
 
+# PREFIX and SUFFIX must not contain globbing or regex special
42098
 
+# characters, hashes, percent signs, but SUFFIX may contain a leading
42099
 
+# dot (in which case that matches only a dot).
42100
 
+# func_strip_suffix prefix name
42101
 
+func_stripname ()
42102
 
+{
42103
 
+  case ${2} in
42104
 
+    .*) func_stripname_result=`$ECHO "X${3}" \
42105
 
+           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
42106
 
+    *)  func_stripname_result=`$ECHO "X${3}" \
42107
 
+           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
42108
 
+  esac
42109
 
+}
42110
 
+
42111
 
+# sed scripts:
42112
 
+my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
42113
 
+my_sed_long_arg='1s/^-[^=]*=//'
42114
 
+
42115
 
+# func_opt_split
42116
 
+func_opt_split ()
42117
 
 {
42118
 
-  tmp=
42119
 
-  trap 'exit_status=$?
42120
 
-  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
42121
 
-' 0
42122
 
-  trap '{ (exit 1); exit 1; }' 1 2 13 15
42123
 
+  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
42124
 
+  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
42125
 
 }
42126
 
-# Create a (secure) tmp directory for tmp files.
42127
 
 
42128
 
+# func_lo2o object
42129
 
+func_lo2o ()
42130
 
 {
42131
 
-  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42132
 
-  test -n "$tmp" && test -d "$tmp"
42133
 
-}  ||
42134
 
+  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
42135
 
+}
42136
 
+
42137
 
+# func_xform libobj-or-source
42138
 
+func_xform ()
42139
 
 {
42140
 
-  tmp=./conf$$-$RANDOM
42141
 
-  (umask 077 && mkdir "$tmp")
42142
 
-} ||
42143
 
+  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
42144
 
+}
42145
 
+
42146
 
+# func_arith arithmetic-term...
42147
 
+func_arith ()
42148
 
 {
42149
 
-   echo "$me: cannot create a temporary directory in ." >&2
42150
 
-   { (exit 1); exit 1; }
42151
 
+  func_arith_result=`expr "$@"`
42152
 
 }
42153
 
 
42154
 
-#
42155
 
-# Set up the sed scripts for CONFIG_FILES section.
42156
 
-#
42157
 
+# func_len string
42158
 
+# STRING may not start with a hyphen.
42159
 
+func_len ()
42160
 
+{
42161
 
+  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
42162
 
+}
42163
 
 
42164
 
-# No need to generate the scripts if there are no CONFIG_FILES.
42165
 
-# This happens for instance when ./config.status config.h
42166
 
-if test -n "$CONFIG_FILES"; then
42167
 
+_LT_EOF
42168
 
+esac
42169
 
 
42170
 
-_ACEOF
42171
 
+case $lt_shell_append in
42172
 
+  yes)
42173
 
+    cat << \_LT_EOF >> "$cfgfile"
42174
 
+
42175
 
+# func_append var value
42176
 
+# Append VALUE to the end of shell variable VAR.
42177
 
+func_append ()
42178
 
+{
42179
 
+  eval "$1+=\$2"
42180
 
+}
42181
 
+_LT_EOF
42182
 
+    ;;
42183
 
+  *)
42184
 
+    cat << \_LT_EOF >> "$cfgfile"
42185
 
 
42186
 
+# func_append var value
42187
 
+# Append VALUE to the end of shell variable VAR.
42188
 
+func_append ()
42189
 
+{
42190
 
+  eval "$1=\$$1\$2"
42191
 
+}
42192
 
 
42193
 
+_LT_EOF
42194
 
+    ;;
42195
 
+  esac
42196
 
 
42197
 
-ac_delim='%!_!# '
42198
 
-for ac_last_try in false false false false false :; do
42199
 
-  cat >conf$$subs.sed <<_ACEOF
42200
 
-SHELL!$SHELL$ac_delim
42201
 
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
42202
 
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
42203
 
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
42204
 
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
42205
 
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
42206
 
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
42207
 
-exec_prefix!$exec_prefix$ac_delim
42208
 
-prefix!$prefix$ac_delim
42209
 
-program_transform_name!$program_transform_name$ac_delim
42210
 
-bindir!$bindir$ac_delim
42211
 
-sbindir!$sbindir$ac_delim
42212
 
-libexecdir!$libexecdir$ac_delim
42213
 
-datarootdir!$datarootdir$ac_delim
42214
 
-datadir!$datadir$ac_delim
42215
 
-sysconfdir!$sysconfdir$ac_delim
42216
 
-sharedstatedir!$sharedstatedir$ac_delim
42217
 
-localstatedir!$localstatedir$ac_delim
42218
 
-includedir!$includedir$ac_delim
42219
 
-oldincludedir!$oldincludedir$ac_delim
42220
 
-docdir!$docdir$ac_delim
42221
 
-infodir!$infodir$ac_delim
42222
 
-htmldir!$htmldir$ac_delim
42223
 
-dvidir!$dvidir$ac_delim
42224
 
-pdfdir!$pdfdir$ac_delim
42225
 
-psdir!$psdir$ac_delim
42226
 
-libdir!$libdir$ac_delim
42227
 
-localedir!$localedir$ac_delim
42228
 
-mandir!$mandir$ac_delim
42229
 
-DEFS!$DEFS$ac_delim
42230
 
-ECHO_C!$ECHO_C$ac_delim
42231
 
-ECHO_N!$ECHO_N$ac_delim
42232
 
-ECHO_T!$ECHO_T$ac_delim
42233
 
-LIBS!$LIBS$ac_delim
42234
 
-build_alias!$build_alias$ac_delim
42235
 
-host_alias!$host_alias$ac_delim
42236
 
-target_alias!$target_alias$ac_delim
42237
 
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
42238
 
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
42239
 
-INSTALL_DATA!$INSTALL_DATA$ac_delim
42240
 
-am__isrc!$am__isrc$ac_delim
42241
 
-CYGPATH_W!$CYGPATH_W$ac_delim
42242
 
-PACKAGE!$PACKAGE$ac_delim
42243
 
-VERSION!$VERSION$ac_delim
42244
 
-ACLOCAL!$ACLOCAL$ac_delim
42245
 
-AUTOCONF!$AUTOCONF$ac_delim
42246
 
-AUTOMAKE!$AUTOMAKE$ac_delim
42247
 
-AUTOHEADER!$AUTOHEADER$ac_delim
42248
 
-MAKEINFO!$MAKEINFO$ac_delim
42249
 
-install_sh!$install_sh$ac_delim
42250
 
-STRIP!$STRIP$ac_delim
42251
 
-INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
42252
 
-mkdir_p!$mkdir_p$ac_delim
42253
 
-AWK!$AWK$ac_delim
42254
 
-SET_MAKE!$SET_MAKE$ac_delim
42255
 
-am__leading_dot!$am__leading_dot$ac_delim
42256
 
-AMTAR!$AMTAR$ac_delim
42257
 
-am__tar!$am__tar$ac_delim
42258
 
-am__untar!$am__untar$ac_delim
42259
 
-ACLOCAL_AMFLAGS!$ACLOCAL_AMFLAGS$ac_delim
42260
 
-GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
42261
 
-CC!$CC$ac_delim
42262
 
-CFLAGS!$CFLAGS$ac_delim
42263
 
-LDFLAGS!$LDFLAGS$ac_delim
42264
 
-CPPFLAGS!$CPPFLAGS$ac_delim
42265
 
-ac_ct_CC!$ac_ct_CC$ac_delim
42266
 
-EXEEXT!$EXEEXT$ac_delim
42267
 
-OBJEXT!$OBJEXT$ac_delim
42268
 
-DEPDIR!$DEPDIR$ac_delim
42269
 
-am__include!$am__include$ac_delim
42270
 
-am__quote!$am__quote$ac_delim
42271
 
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
42272
 
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
42273
 
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
42274
 
-CCDEPMODE!$CCDEPMODE$ac_delim
42275
 
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
42276
 
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
42277
 
-CPP!$CPP$ac_delim
42278
 
-GREP!$GREP$ac_delim
42279
 
-EGREP!$EGREP$ac_delim
42280
 
-USE_NLS!$USE_NLS$ac_delim
42281
 
-MSGFMT!$MSGFMT$ac_delim
42282
 
-MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
42283
 
-GMSGFMT!$GMSGFMT$ac_delim
42284
 
-XGETTEXT!$XGETTEXT$ac_delim
42285
 
-CATALOGS!$CATALOGS$ac_delim
42286
 
-CATOBJEXT!$CATOBJEXT$ac_delim
42287
 
-DATADIRNAME!$DATADIRNAME$ac_delim
42288
 
-GMOFILES!$GMOFILES$ac_delim
42289
 
-INSTOBJEXT!$INSTOBJEXT$ac_delim
42290
 
-INTLLIBS!$INTLLIBS$ac_delim
42291
 
-PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
42292
 
-PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
42293
 
-POFILES!$POFILES$ac_delim
42294
 
-POSUB!$POSUB$ac_delim
42295
 
-MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
42296
 
-CXX!$CXX$ac_delim
42297
 
-_ACEOF
42298
 
 
42299
 
-  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
42300
 
-    break
42301
 
-  elif $ac_last_try; then
42302
 
-    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
42303
 
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
42304
 
-   { (exit 1); exit 1; }; }
42305
 
-  else
42306
 
-    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42307
 
-  fi
42308
 
-done
42309
 
+  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
42310
 
+    || (rm -f "$cfgfile"; exit 1)
42311
 
 
42312
 
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
42313
 
-if test -n "$ac_eof"; then
42314
 
-  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
42315
 
-  ac_eof=`expr $ac_eof + 1`
42316
 
-fi
42317
 
+  mv -f "$cfgfile" "$ofile" ||
42318
 
+    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
42319
 
+  chmod +x "$ofile"
42320
 
 
42321
 
-cat >>$CONFIG_STATUS <<_ACEOF
42322
 
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
42323
 
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42324
 
-_ACEOF
42325
 
-sed '
42326
 
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
42327
 
-s/^/s,@/; s/!/@,|#_!!_#|/
42328
 
-:n
42329
 
-t n
42330
 
-s/'"$ac_delim"'$/,g/; t
42331
 
-s/$/\\/; p
42332
 
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
42333
 
-' >>$CONFIG_STATUS <conf$$subs.sed
42334
 
-rm -f conf$$subs.sed
42335
 
-cat >>$CONFIG_STATUS <<_ACEOF
42336
 
-CEOF$ac_eof
42337
 
-_ACEOF
42338
 
 
42339
 
+    cat <<_LT_EOF >> "$ofile"
42340
 
 
42341
 
-ac_delim='%!_!# '
42342
 
-for ac_last_try in false false false false false :; do
42343
 
-  cat >conf$$subs.sed <<_ACEOF
42344
 
-CXXFLAGS!$CXXFLAGS$ac_delim
42345
 
-ac_ct_CXX!$ac_ct_CXX$ac_delim
42346
 
-CXXDEPMODE!$CXXDEPMODE$ac_delim
42347
 
-am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
42348
 
-am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
42349
 
-build!$build$ac_delim
42350
 
-build_cpu!$build_cpu$ac_delim
42351
 
-build_vendor!$build_vendor$ac_delim
42352
 
-build_os!$build_os$ac_delim
42353
 
-host!$host$ac_delim
42354
 
-host_cpu!$host_cpu$ac_delim
42355
 
-host_vendor!$host_vendor$ac_delim
42356
 
-host_os!$host_os$ac_delim
42357
 
-SED!$SED$ac_delim
42358
 
-LN_S!$LN_S$ac_delim
42359
 
-ECHO!$ECHO$ac_delim
42360
 
-AR!$AR$ac_delim
42361
 
-RANLIB!$RANLIB$ac_delim
42362
 
-DSYMUTIL!$DSYMUTIL$ac_delim
42363
 
-NMEDIT!$NMEDIT$ac_delim
42364
 
-CXXCPP!$CXXCPP$ac_delim
42365
 
-F77!$F77$ac_delim
42366
 
-FFLAGS!$FFLAGS$ac_delim
42367
 
-ac_ct_F77!$ac_ct_F77$ac_delim
42368
 
-LIBTOOL!$LIBTOOL$ac_delim
42369
 
-INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
42370
 
-INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
42371
 
-INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
42372
 
-INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
42373
 
-INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
42374
 
-INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
42375
 
-INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
42376
 
-INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
42377
 
-INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
42378
 
-INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
42379
 
-INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
42380
 
-INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
42381
 
-INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
42382
 
-INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
42383
 
-INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
42384
 
-INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
42385
 
-INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
42386
 
-INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
42387
 
-INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
42388
 
-INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
42389
 
-INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
42390
 
-INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
42391
 
-MSGMERGE!$MSGMERGE$ac_delim
42392
 
-INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
42393
 
-ALL_LINGUAS!$ALL_LINGUAS$ac_delim
42394
 
-WARN_CFLAGS!$WARN_CFLAGS$ac_delim
42395
 
-WARN_CXXFLAGS!$WARN_CXXFLAGS$ac_delim
42396
 
-MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
42397
 
-MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
42398
 
-MAINT!$MAINT$ac_delim
42399
 
-DISABLE_DEPRECATED!$DISABLE_DEPRECATED$ac_delim
42400
 
-PKG_CONFIG!$PKG_CONFIG$ac_delim
42401
 
-HELP_DIR!$HELP_DIR$ac_delim
42402
 
-OMF_DIR!$OMF_DIR$ac_delim
42403
 
-DOC_USER_FORMATS!$DOC_USER_FORMATS$ac_delim
42404
 
-ENABLE_SK_TRUE!$ENABLE_SK_TRUE$ac_delim
42405
 
-ENABLE_SK_FALSE!$ENABLE_SK_FALSE$ac_delim
42406
 
-DISTCHECK_CONFIGURE_FLAGS!$DISTCHECK_CONFIGURE_FLAGS$ac_delim
42407
 
-HAVE_GNOME_DOC_UTILS_TRUE!$HAVE_GNOME_DOC_UTILS_TRUE$ac_delim
42408
 
-HAVE_GNOME_DOC_UTILS_FALSE!$HAVE_GNOME_DOC_UTILS_FALSE$ac_delim
42409
 
-GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
42410
 
-GLIB_LIBS!$GLIB_LIBS$ac_delim
42411
 
-BURN_CFLAGS!$BURN_CFLAGS$ac_delim
42412
 
-BURN_LIBS!$BURN_LIBS$ac_delim
42413
 
-UI_CFLAGS!$UI_CFLAGS$ac_delim
42414
 
-UI_LIBS!$UI_LIBS$ac_delim
42415
 
-GSTREAMER_CFLAGS!$GSTREAMER_CFLAGS$ac_delim
42416
 
-GSTREAMER_LIBS!$GSTREAMER_LIBS$ac_delim
42417
 
-GST_INSPECT!$GST_INSPECT$ac_delim
42418
 
-MEDIA_PROFILES_CFLAGS!$MEDIA_PROFILES_CFLAGS$ac_delim
42419
 
-MEDIA_PROFILES_LIBS!$MEDIA_PROFILES_LIBS$ac_delim
42420
 
-CDIO_CFLAGS!$CDIO_CFLAGS$ac_delim
42421
 
-CDIO_LIBS!$CDIO_LIBS$ac_delim
42422
 
-HAVE_LIBCDIO_TRUE!$HAVE_LIBCDIO_TRUE$ac_delim
42423
 
-HAVE_LIBCDIO_FALSE!$HAVE_LIBCDIO_FALSE$ac_delim
42424
 
-MUSICBRAINZ3_CFLAGS!$MUSICBRAINZ3_CFLAGS$ac_delim
42425
 
-MUSICBRAINZ3_LIBS!$MUSICBRAINZ3_LIBS$ac_delim
42426
 
-HAVE_MUSICBRAINZ3_TRUE!$HAVE_MUSICBRAINZ3_TRUE$ac_delim
42427
 
-HAVE_MUSICBRAINZ3_FALSE!$HAVE_MUSICBRAINZ3_FALSE$ac_delim
42428
 
-MUSICBRAINZ_CFLAGS!$MUSICBRAINZ_CFLAGS$ac_delim
42429
 
-MUSICBRAINZ_LIBS!$MUSICBRAINZ_LIBS$ac_delim
42430
 
-HAVE_MUSICBRAINZ_TRUE!$HAVE_MUSICBRAINZ_TRUE$ac_delim
42431
 
-HAVE_MUSICBRAINZ_FALSE!$HAVE_MUSICBRAINZ_FALSE$ac_delim
42432
 
-GIO_CFLAGS!$GIO_CFLAGS$ac_delim
42433
 
-GIO_LIBS!$GIO_LIBS$ac_delim
42434
 
-GCONFTOOL!$GCONFTOOL$ac_delim
42435
 
-GCONF_SCHEMA_CONFIG_SOURCE!$GCONF_SCHEMA_CONFIG_SOURCE$ac_delim
42436
 
-GCONF_SCHEMA_FILE_DIR!$GCONF_SCHEMA_FILE_DIR$ac_delim
42437
 
-GCONF_SCHEMAS_INSTALL_TRUE!$GCONF_SCHEMAS_INSTALL_TRUE$ac_delim
42438
 
-GCONF_SCHEMAS_INSTALL_FALSE!$GCONF_SCHEMAS_INSTALL_FALSE$ac_delim
42439
 
-SCROLLKEEPER_BUILD_REQUIRED!$SCROLLKEEPER_BUILD_REQUIRED$ac_delim
42440
 
-AM_CPPFLAGS!$AM_CPPFLAGS$ac_delim
42441
 
-_ACEOF
42442
 
+# ### BEGIN LIBTOOL TAG CONFIG: CXX
42443
 
 
42444
 
-  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
42445
 
-    break
42446
 
-  elif $ac_last_try; then
42447
 
-    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
42448
 
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
42449
 
-   { (exit 1); exit 1; }; }
42450
 
-  else
42451
 
-    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42452
 
-  fi
42453
 
-done
42454
 
+# The linker used to build libraries.
42455
 
+LD=$lt_LD_CXX
42456
 
 
42457
 
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
42458
 
-if test -n "$ac_eof"; then
42459
 
-  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
42460
 
-  ac_eof=`expr $ac_eof + 1`
42461
 
-fi
42462
 
+# Commands used to build an old-style archive.
42463
 
+old_archive_cmds=$lt_old_archive_cmds_CXX
42464
 
 
42465
 
-cat >>$CONFIG_STATUS <<_ACEOF
42466
 
-cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
42467
 
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42468
 
-_ACEOF
42469
 
-sed '
42470
 
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
42471
 
-s/^/s,@/; s/!/@,|#_!!_#|/
42472
 
-:n
42473
 
-t n
42474
 
-s/'"$ac_delim"'$/,g/; t
42475
 
-s/$/\\/; p
42476
 
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
42477
 
-' >>$CONFIG_STATUS <conf$$subs.sed
42478
 
-rm -f conf$$subs.sed
42479
 
-cat >>$CONFIG_STATUS <<_ACEOF
42480
 
-CEOF$ac_eof
42481
 
-_ACEOF
42482
 
+# A language specific compiler.
42483
 
+CC=$lt_compiler_CXX
42484
 
 
42485
 
+# Is the compiler the GNU compiler?
42486
 
+with_gcc=$GCC_CXX
42487
 
 
42488
 
-ac_delim='%!_!# '
42489
 
-for ac_last_try in false false false false false :; do
42490
 
-  cat >conf$$subs.sed <<_ACEOF
42491
 
-AM_CFLAGS!$AM_CFLAGS$ac_delim
42492
 
-AM_CXXFLAGS!$AM_CXXFLAGS$ac_delim
42493
 
-AM_LDFLAGS!$AM_LDFLAGS$ac_delim
42494
 
-LIBOBJS!$LIBOBJS$ac_delim
42495
 
-LTLIBOBJS!$LTLIBOBJS$ac_delim
42496
 
-_ACEOF
42497
 
+# Compiler flag to turn off builtin functions.
42498
 
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
42499
 
 
42500
 
-  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5; then
42501
 
-    break
42502
 
-  elif $ac_last_try; then
42503
 
-    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
42504
 
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
42505
 
-   { (exit 1); exit 1; }; }
42506
 
-  else
42507
 
-    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42508
 
-  fi
42509
 
-done
42510
 
+# How to pass a linker flag through the compiler.
42511
 
+wl=$lt_lt_prog_compiler_wl_CXX
42512
 
 
42513
 
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
42514
 
-if test -n "$ac_eof"; then
42515
 
-  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
42516
 
-  ac_eof=`expr $ac_eof + 1`
42517
 
-fi
42518
 
-
42519
 
-cat >>$CONFIG_STATUS <<_ACEOF
42520
 
-cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
42521
 
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
42522
 
-_ACEOF
42523
 
-sed '
42524
 
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
42525
 
-s/^/s,@/; s/!/@,|#_!!_#|/
42526
 
-:n
42527
 
-t n
42528
 
-s/'"$ac_delim"'$/,g/; t
42529
 
-s/$/\\/; p
42530
 
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
42531
 
-' >>$CONFIG_STATUS <conf$$subs.sed
42532
 
-rm -f conf$$subs.sed
42533
 
-cat >>$CONFIG_STATUS <<_ACEOF
42534
 
-:end
42535
 
-s/|#_!!_#|//g
42536
 
-CEOF$ac_eof
42537
 
-_ACEOF
42538
 
+# Additional compiler flags for building library objects.
42539
 
+pic_flag=$lt_lt_prog_compiler_pic_CXX
42540
 
 
42541
 
+# Compiler flag to prevent dynamic linking.
42542
 
+link_static_flag=$lt_lt_prog_compiler_static_CXX
42543
 
 
42544
 
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
42545
 
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
42546
 
-# trailing colons and then remove the whole line if VPATH becomes empty
42547
 
-# (actually we leave an empty line to preserve line numbers).
42548
 
-if test "x$srcdir" = x.; then
42549
 
-  ac_vpsub='/^[         ]*VPATH[        ]*=/{
42550
 
-s/:*\$(srcdir):*/:/
42551
 
-s/:*\${srcdir}:*/:/
42552
 
-s/:*@srcdir@:*/:/
42553
 
-s/^\([^=]*=[    ]*\):*/\1/
42554
 
-s/:*$//
42555
 
-s/^[^=]*=[      ]*$//
42556
 
-}'
42557
 
-fi
42558
 
+# Does compiler simultaneously support -c and -o options?
42559
 
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
42560
 
 
42561
 
-cat >>$CONFIG_STATUS <<\_ACEOF
42562
 
-fi # test -n "$CONFIG_FILES"
42563
 
+# Whether or not to add -lc for building shared libraries.
42564
 
+build_libtool_need_lc=$archive_cmds_need_lc_CXX
42565
 
 
42566
 
+# Whether or not to disallow shared libs when runtime libs are static.
42567
 
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
42568
 
 
42569
 
-for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
42570
 
-do
42571
 
-  case $ac_tag in
42572
 
-  :[FHLC]) ac_mode=$ac_tag; continue;;
42573
 
-  esac
42574
 
-  case $ac_mode$ac_tag in
42575
 
-  :[FHL]*:*);;
42576
 
-  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
42577
 
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
42578
 
-   { (exit 1); exit 1; }; };;
42579
 
-  :[FH]-) ac_tag=-:-;;
42580
 
-  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
42581
 
-  esac
42582
 
-  ac_save_IFS=$IFS
42583
 
-  IFS=:
42584
 
-  set x $ac_tag
42585
 
-  IFS=$ac_save_IFS
42586
 
-  shift
42587
 
-  ac_file=$1
42588
 
-  shift
42589
 
+# Compiler flag to allow reflexive dlopens.
42590
 
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
42591
 
 
42592
 
-  case $ac_mode in
42593
 
-  :L) ac_source=$1;;
42594
 
-  :[FH])
42595
 
-    ac_file_inputs=
42596
 
-    for ac_f
42597
 
-    do
42598
 
-      case $ac_f in
42599
 
-      -) ac_f="$tmp/stdin";;
42600
 
-      *) # Look for the file first in the build tree, then in the source tree
42601
 
-        # (if the path is not absolute).  The absolute path cannot be DOS-style,
42602
 
-        # because $ac_f cannot contain `:'.
42603
 
-        test -f "$ac_f" ||
42604
 
-          case $ac_f in
42605
 
-          [\\/$]*) false;;
42606
 
-          *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
42607
 
-          esac ||
42608
 
-          { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
42609
 
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
42610
 
-   { (exit 1); exit 1; }; };;
42611
 
-      esac
42612
 
-      ac_file_inputs="$ac_file_inputs $ac_f"
42613
 
-    done
42614
 
+# Compiler flag to generate shared objects directly from archives.
42615
 
+whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
42616
 
 
42617
 
-    # Let's still pretend it is `configure' which instantiates (i.e., don't
42618
 
-    # use $as_me), people would be surprised to read:
42619
 
-    #    /* config.h.  Generated by config.status.  */
42620
 
-    configure_input="Generated from "`IFS=:
42621
 
-         echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
42622
 
-    if test x"$ac_file" != x-; then
42623
 
-      configure_input="$ac_file.  $configure_input"
42624
 
-      { echo "$as_me:$LINENO: creating $ac_file" >&5
42625
 
-echo "$as_me: creating $ac_file" >&6;}
42626
 
-    fi
42627
 
+# Whether the compiler copes with passing no objects directly.
42628
 
+compiler_needs_object=$lt_compiler_needs_object_CXX
42629
 
 
42630
 
-    case $ac_tag in
42631
 
-    *:-:* | *:-) cat >"$tmp/stdin";;
42632
 
-    esac
42633
 
-    ;;
42634
 
-  esac
42635
 
+# Create an old-style archive from a shared archive.
42636
 
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
42637
 
 
42638
 
-  ac_dir=`$as_dirname -- "$ac_file" ||
42639
 
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42640
 
-        X"$ac_file" : 'X\(//\)[^/]' \| \
42641
 
-        X"$ac_file" : 'X\(//\)$' \| \
42642
 
-        X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42643
 
-echo X"$ac_file" |
42644
 
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42645
 
-           s//\1/
42646
 
-           q
42647
 
-         }
42648
 
-         /^X\(\/\/\)[^/].*/{
42649
 
-           s//\1/
42650
 
-           q
42651
 
-         }
42652
 
-         /^X\(\/\/\)$/{
42653
 
-           s//\1/
42654
 
-           q
42655
 
-         }
42656
 
-         /^X\(\/\).*/{
42657
 
-           s//\1/
42658
 
-           q
42659
 
-         }
42660
 
-         s/.*/./; q'`
42661
 
-  { as_dir="$ac_dir"
42662
 
-  case $as_dir in #(
42663
 
-  -*) as_dir=./$as_dir;;
42664
 
-  esac
42665
 
-  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
42666
 
-    as_dirs=
42667
 
-    while :; do
42668
 
-      case $as_dir in #(
42669
 
-      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
42670
 
-      *) as_qdir=$as_dir;;
42671
 
-      esac
42672
 
-      as_dirs="'$as_qdir' $as_dirs"
42673
 
-      as_dir=`$as_dirname -- "$as_dir" ||
42674
 
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42675
 
-        X"$as_dir" : 'X\(//\)[^/]' \| \
42676
 
-        X"$as_dir" : 'X\(//\)$' \| \
42677
 
-        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
42678
 
-echo X"$as_dir" |
42679
 
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42680
 
-           s//\1/
42681
 
-           q
42682
 
-         }
42683
 
-         /^X\(\/\/\)[^/].*/{
42684
 
-           s//\1/
42685
 
-           q
42686
 
-         }
42687
 
-         /^X\(\/\/\)$/{
42688
 
-           s//\1/
42689
 
-           q
42690
 
-         }
42691
 
-         /^X\(\/\).*/{
42692
 
-           s//\1/
42693
 
-           q
42694
 
-         }
42695
 
-         s/.*/./; q'`
42696
 
-      test -d "$as_dir" && break
42697
 
-    done
42698
 
-    test -z "$as_dirs" || eval "mkdir $as_dirs"
42699
 
-  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
42700
 
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
42701
 
-   { (exit 1); exit 1; }; }; }
42702
 
-  ac_builddir=.
42703
 
+# Create a temporary old-style archive to link instead of a shared archive.
42704
 
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
42705
 
+
42706
 
+# Commands used to build a shared archive.
42707
 
+archive_cmds=$lt_archive_cmds_CXX
42708
 
+archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
42709
 
+
42710
 
+# Commands used to build a loadable module if different from building
42711
 
+# a shared archive.
42712
 
+module_cmds=$lt_module_cmds_CXX
42713
 
+module_expsym_cmds=$lt_module_expsym_cmds_CXX
42714
 
+
42715
 
+# Whether we are building with GNU ld or not.
42716
 
+with_gnu_ld=$lt_with_gnu_ld_CXX
42717
 
+
42718
 
+# Flag that allows shared libraries with undefined symbols to be built.
42719
 
+allow_undefined_flag=$lt_allow_undefined_flag_CXX
42720
 
+
42721
 
+# Flag that enforces no undefined symbols.
42722
 
+no_undefined_flag=$lt_no_undefined_flag_CXX
42723
 
+
42724
 
+# Flag to hardcode \$libdir into a binary during linking.
42725
 
+# This must work even if \$libdir does not exist
42726
 
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
42727
 
+
42728
 
+# If ld is used when linking, flag to hardcode \$libdir into a binary
42729
 
+# during linking.  This must work even if \$libdir does not exist.
42730
 
+hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
42731
 
+
42732
 
+# Whether we need a single "-rpath" flag with a separated argument.
42733
 
+hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
42734
 
+
42735
 
+# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
42736
 
+# DIR into the resulting binary.
42737
 
+hardcode_direct=$hardcode_direct_CXX
42738
 
+
42739
 
+# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
42740
 
+# DIR into the resulting binary and the resulting library dependency is
42741
 
+# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
42742
 
+# library is relocated.
42743
 
+hardcode_direct_absolute=$hardcode_direct_absolute_CXX
42744
 
+
42745
 
+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
42746
 
+# into the resulting binary.
42747
 
+hardcode_minus_L=$hardcode_minus_L_CXX
42748
 
+
42749
 
+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
42750
 
+# into the resulting binary.
42751
 
+hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
42752
 
 
42753
 
-case "$ac_dir" in
42754
 
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42755
 
-*)
42756
 
-  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42757
 
-  # A ".." for each directory in $ac_dir_suffix.
42758
 
-  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
42759
 
-  case $ac_top_builddir_sub in
42760
 
-  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42761
 
-  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42762
 
-  esac ;;
42763
 
-esac
42764
 
-ac_abs_top_builddir=$ac_pwd
42765
 
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
42766
 
-# for backward compatibility:
42767
 
-ac_top_builddir=$ac_top_build_prefix
42768
 
+# Set to "yes" if building a shared library automatically hardcodes DIR
42769
 
+# into the library and all subsequent libraries and executables linked
42770
 
+# against it.
42771
 
+hardcode_automatic=$hardcode_automatic_CXX
42772
 
 
42773
 
-case $srcdir in
42774
 
-  .)  # We are building in place.
42775
 
-    ac_srcdir=.
42776
 
-    ac_top_srcdir=$ac_top_builddir_sub
42777
 
-    ac_abs_top_srcdir=$ac_pwd ;;
42778
 
-  [\\/]* | ?:[\\/]* )  # Absolute name.
42779
 
-    ac_srcdir=$srcdir$ac_dir_suffix;
42780
 
-    ac_top_srcdir=$srcdir
42781
 
-    ac_abs_top_srcdir=$srcdir ;;
42782
 
-  *) # Relative name.
42783
 
-    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42784
 
-    ac_top_srcdir=$ac_top_build_prefix$srcdir
42785
 
-    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42786
 
-esac
42787
 
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42788
 
+# Set to yes if linker adds runtime paths of dependent libraries
42789
 
+# to runtime path list.
42790
 
+inherit_rpath=$inherit_rpath_CXX
42791
 
 
42792
 
+# Whether libtool must link a program against all its dependency libraries.
42793
 
+link_all_deplibs=$link_all_deplibs_CXX
42794
 
 
42795
 
-  case $ac_mode in
42796
 
-  :F)
42797
 
-  #
42798
 
-  # CONFIG_FILE
42799
 
-  #
42800
 
+# Fix the shell variable \$srcfile for the compiler.
42801
 
+fix_srcfile_path=$lt_fix_srcfile_path_CXX
42802
 
 
42803
 
-  case $INSTALL in
42804
 
-  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42805
 
-  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
42806
 
-  esac
42807
 
-  ac_MKDIR_P=$MKDIR_P
42808
 
-  case $MKDIR_P in
42809
 
-  [\\/$]* | ?:[\\/]* ) ;;
42810
 
-  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
42811
 
-  esac
42812
 
-_ACEOF
42813
 
+# Set to "yes" if exported symbols are required.
42814
 
+always_export_symbols=$always_export_symbols_CXX
42815
 
 
42816
 
-cat >>$CONFIG_STATUS <<\_ACEOF
42817
 
-# If the template does not know about datarootdir, expand it.
42818
 
-# FIXME: This hack should be removed a few years after 2.60.
42819
 
-ac_datarootdir_hack=; ac_datarootdir_seen=
42820
 
+# The commands to list exported symbols.
42821
 
+export_symbols_cmds=$lt_export_symbols_cmds_CXX
42822
 
 
42823
 
-case `sed -n '/datarootdir/ {
42824
 
-  p
42825
 
-  q
42826
 
-}
42827
 
-/@datadir@/p
42828
 
-/@docdir@/p
42829
 
-/@infodir@/p
42830
 
-/@localedir@/p
42831
 
-/@mandir@/p
42832
 
-' $ac_file_inputs` in
42833
 
-*datarootdir*) ac_datarootdir_seen=yes;;
42834
 
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
42835
 
-  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42836
 
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42837
 
-_ACEOF
42838
 
-cat >>$CONFIG_STATUS <<_ACEOF
42839
 
-  ac_datarootdir_hack='
42840
 
-  s&@datadir@&$datadir&g
42841
 
-  s&@docdir@&$docdir&g
42842
 
-  s&@infodir@&$infodir&g
42843
 
-  s&@localedir@&$localedir&g
42844
 
-  s&@mandir@&$mandir&g
42845
 
-    s&\\\${datarootdir}&$datarootdir&g' ;;
42846
 
-esac
42847
 
-_ACEOF
42848
 
+# Symbols that should not be listed in the preloaded symbols.
42849
 
+exclude_expsyms=$lt_exclude_expsyms_CXX
42850
 
 
42851
 
-# Neutralize VPATH when `$srcdir' = `.'.
42852
 
-# Shell code in configure.ac might set extrasub.
42853
 
-# FIXME: do we really want to maintain this feature?
42854
 
-cat >>$CONFIG_STATUS <<_ACEOF
42855
 
-  sed "$ac_vpsub
42856
 
-$extrasub
42857
 
-_ACEOF
42858
 
-cat >>$CONFIG_STATUS <<\_ACEOF
42859
 
-:t
42860
 
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42861
 
-s&@configure_input@&$configure_input&;t t
42862
 
-s&@top_builddir@&$ac_top_builddir_sub&;t t
42863
 
-s&@srcdir@&$ac_srcdir&;t t
42864
 
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
42865
 
-s&@top_srcdir@&$ac_top_srcdir&;t t
42866
 
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
42867
 
-s&@builddir@&$ac_builddir&;t t
42868
 
-s&@abs_builddir@&$ac_abs_builddir&;t t
42869
 
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
42870
 
-s&@INSTALL@&$ac_INSTALL&;t t
42871
 
-s&@MKDIR_P@&$ac_MKDIR_P&;t t
42872
 
-$ac_datarootdir_hack
42873
 
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
42874
 
+# Symbols that must always be exported.
42875
 
+include_expsyms=$lt_include_expsyms_CXX
42876
 
 
42877
 
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42878
 
-  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
42879
 
-  { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
42880
 
-  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42881
 
-which seems to be undefined.  Please make sure it is defined." >&5
42882
 
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42883
 
-which seems to be undefined.  Please make sure it is defined." >&2;}
42884
 
+# Commands necessary for linking programs (against libraries) with templates.
42885
 
+prelink_cmds=$lt_prelink_cmds_CXX
42886
 
 
42887
 
-  rm -f "$tmp/stdin"
42888
 
-  case $ac_file in
42889
 
-  -) cat "$tmp/out"; rm -f "$tmp/out";;
42890
 
-  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
42891
 
-  esac
42892
 
- ;;
42893
 
-  :H)
42894
 
-  #
42895
 
-  # CONFIG_HEADER
42896
 
-  #
42897
 
-_ACEOF
42898
 
+# Specify filename containing input files.
42899
 
+file_list_spec=$lt_file_list_spec_CXX
42900
 
 
42901
 
-# Transform confdefs.h into a sed script `conftest.defines', that
42902
 
-# substitutes the proper values into config.h.in to produce config.h.
42903
 
-rm -f conftest.defines conftest.tail
42904
 
-# First, append a space to every undef/define line, to ease matching.
42905
 
-echo 's/$/ /' >conftest.defines
42906
 
-# Then, protect against being on the right side of a sed subst, or in
42907
 
-# an unquoted here document, in config.status.  If some macros were
42908
 
-# called several times there might be several #defines for the same
42909
 
-# symbol, which is useless.  But do not sort them, since the last
42910
 
-# AC_DEFINE must be honored.
42911
 
-ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42912
 
-# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
42913
 
-# NAME is the cpp macro being defined, VALUE is the value it is being given.
42914
 
-# PARAMS is the parameter list in the macro definition--in most cases, it's
42915
 
-# just an empty string.
42916
 
-ac_dA='s,^\\([  #]*\\)[^        ]*\\([  ]*'
42917
 
-ac_dB='\\)[     (].*,\\1define\\2'
42918
 
-ac_dC=' '
42919
 
-ac_dD=' ,'
42920
 
+# How to hardcode a shared library path into an executable.
42921
 
+hardcode_action=$hardcode_action_CXX
42922
 
 
42923
 
-uniq confdefs.h |
42924
 
-  sed -n '
42925
 
-       t rset
42926
 
-       :rset
42927
 
-       s/^[     ]*#[    ]*define[       ][      ]*//
42928
 
-       t ok
42929
 
-       d
42930
 
-       :ok
42931
 
-       s/[\\&,]/\\&/g
42932
 
-       s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
42933
 
-       s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
42934
 
-  ' >>conftest.defines
42935
 
-
42936
 
-# Remove the space that was appended to ease matching.
42937
 
-# Then replace #undef with comments.  This is necessary, for
42938
 
-# example, in the case of _POSIX_SOURCE, which is predefined and required
42939
 
-# on some systems where configure will not decide to define it.
42940
 
-# (The regexp can be short, since the line contains either #define or #undef.)
42941
 
-echo 's/ $//
42942
 
-s,^[    #]*u.*,/* & */,' >>conftest.defines
42943
 
-
42944
 
-# Break up conftest.defines:
42945
 
-ac_max_sed_lines=50
42946
 
-
42947
 
-# First sed command is:         sed -f defines.sed $ac_file_inputs >"$tmp/out1"
42948
 
-# Second one is:        sed -f defines.sed "$tmp/out1" >"$tmp/out2"
42949
 
-# Third one will be:    sed -f defines.sed "$tmp/out2" >"$tmp/out1"
42950
 
-# et cetera.
42951
 
-ac_in='$ac_file_inputs'
42952
 
-ac_out='"$tmp/out1"'
42953
 
-ac_nxt='"$tmp/out2"'
42954
 
-
42955
 
-while :
42956
 
-do
42957
 
-  # Write a here document:
42958
 
-    cat >>$CONFIG_STATUS <<_ACEOF
42959
 
-    # First, check the format of the line:
42960
 
-    cat >"\$tmp/defines.sed" <<\\CEOF
42961
 
-/^[     ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
42962
 
-/^[     ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
42963
 
-b
42964
 
-:def
42965
 
-_ACEOF
42966
 
-  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
42967
 
-  echo 'CEOF
42968
 
-    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
42969
 
-  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
42970
 
-  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
42971
 
-  grep . conftest.tail >/dev/null || break
42972
 
-  rm -f conftest.defines
42973
 
-  mv conftest.tail conftest.defines
42974
 
-done
42975
 
-rm -f conftest.defines conftest.tail
42976
 
+# The directories searched by this compiler when creating a shared library.
42977
 
+compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
42978
 
 
42979
 
-echo "ac_result=$ac_in" >>$CONFIG_STATUS
42980
 
-cat >>$CONFIG_STATUS <<\_ACEOF
42981
 
-  if test x"$ac_file" != x-; then
42982
 
-    echo "/* $configure_input  */" >"$tmp/config.h"
42983
 
-    cat "$ac_result" >>"$tmp/config.h"
42984
 
-    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
42985
 
-      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
42986
 
-echo "$as_me: $ac_file is unchanged" >&6;}
42987
 
-    else
42988
 
-      rm -f $ac_file
42989
 
-      mv "$tmp/config.h" $ac_file
42990
 
-    fi
42991
 
-  else
42992
 
-    echo "/* $configure_input  */"
42993
 
-    cat "$ac_result"
42994
 
-  fi
42995
 
-  rm -f "$tmp/out12"
42996
 
-# Compute $ac_file's index in $config_headers.
42997
 
-_am_arg=$ac_file
42998
 
-_am_stamp_count=1
42999
 
-for _am_header in $config_headers :; do
43000
 
-  case $_am_header in
43001
 
-    $_am_arg | $_am_arg:* )
43002
 
-      break ;;
43003
 
-    * )
43004
 
-      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
43005
 
-  esac
43006
 
-done
43007
 
-echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
43008
 
-$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43009
 
-        X"$_am_arg" : 'X\(//\)[^/]' \| \
43010
 
-        X"$_am_arg" : 'X\(//\)$' \| \
43011
 
-        X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
43012
 
-echo X"$_am_arg" |
43013
 
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
43014
 
-           s//\1/
43015
 
-           q
43016
 
-         }
43017
 
-         /^X\(\/\/\)[^/].*/{
43018
 
-           s//\1/
43019
 
-           q
43020
 
-         }
43021
 
-         /^X\(\/\/\)$/{
43022
 
-           s//\1/
43023
 
-           q
43024
 
-         }
43025
 
-         /^X\(\/\).*/{
43026
 
-           s//\1/
43027
 
-           q
43028
 
-         }
43029
 
-         s/.*/./; q'`/stamp-h$_am_stamp_count
43030
 
- ;;
43031
 
+# Dependencies to place before and after the objects being linked to
43032
 
+# create a shared library.
43033
 
+predep_objects=$lt_predep_objects_CXX
43034
 
+postdep_objects=$lt_postdep_objects_CXX
43035
 
+predeps=$lt_predeps_CXX
43036
 
+postdeps=$lt_postdeps_CXX
43037
 
 
43038
 
-  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
43039
 
-echo "$as_me: executing $ac_file commands" >&6;}
43040
 
- ;;
43041
 
-  esac
43042
 
+# The library search path used internally by the compiler when linking
43043
 
+# a shared library.
43044
 
+compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
43045
 
 
43046
 
+# ### END LIBTOOL TAG CONFIG: CXX
43047
 
+_LT_EOF
43048
 
 
43049
 
-  case $ac_file$ac_mode in
43050
 
-    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
43051
 
-  # Strip MF so we end up with the name of the file.
43052
 
-  mf=`echo "$mf" | sed -e 's/:.*$//'`
43053
 
-  # Check whether this is an Automake generated Makefile or not.
43054
 
-  # We used to match only the files named `Makefile.in', but
43055
 
-  # some people rename them; so instead we look at the file content.
43056
 
-  # Grep'ing the first line is not enough: some people post-process
43057
 
-  # each Makefile.in and add a new line on top of each file to say so.
43058
 
-  # Grep'ing the whole file is not good either: AIX grep has a line
43059
 
-  # limit of 2048, but all sed's we know have understand at least 4000.
43060
 
-  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
43061
 
-    dirpart=`$as_dirname -- "$mf" ||
43062
 
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43063
 
-        X"$mf" : 'X\(//\)[^/]' \| \
43064
 
-        X"$mf" : 'X\(//\)$' \| \
43065
 
-        X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
43066
 
-echo X"$mf" |
43067
 
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
43068
 
-           s//\1/
43069
 
-           q
43070
 
-         }
43071
 
-         /^X\(\/\/\)[^/].*/{
43072
 
-           s//\1/
43073
 
-           q
43074
 
-         }
43075
 
-         /^X\(\/\/\)$/{
43076
 
-           s//\1/
43077
 
-           q
43078
 
-         }
43079
 
-         /^X\(\/\).*/{
43080
 
-           s//\1/
43081
 
-           q
43082
 
-         }
43083
 
-         s/.*/./; q'`
43084
 
-  else
43085
 
-    continue
43086
 
-  fi
43087
 
-  # Extract the definition of DEPDIR, am__include, and am__quote
43088
 
-  # from the Makefile without running `make'.
43089
 
-  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
43090
 
-  test -z "$DEPDIR" && continue
43091
 
-  am__include=`sed -n 's/^am__include = //p' < "$mf"`
43092
 
-  test -z "am__include" && continue
43093
 
-  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
43094
 
-  # When using ansi2knr, U may be empty or an underscore; expand it
43095
 
-  U=`sed -n 's/^U = //p' < "$mf"`
43096
 
-  # Find all dependency output files, they are included files with
43097
 
-  # $(DEPDIR) in their names.  We invoke sed twice because it is the
43098
 
-  # simplest approach to changing $(DEPDIR) to its actual value in the
43099
 
-  # expansion.
43100
 
-  for file in `sed -n "
43101
 
-    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
43102
 
-       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
43103
 
-    # Make sure the directory exists.
43104
 
-    test -f "$dirpart/$file" && continue
43105
 
-    fdir=`$as_dirname -- "$file" ||
43106
 
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43107
 
-        X"$file" : 'X\(//\)[^/]' \| \
43108
 
-        X"$file" : 'X\(//\)$' \| \
43109
 
-        X"$file" : 'X\(/\)' \| . 2>/dev/null ||
43110
 
-echo X"$file" |
43111
 
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
43112
 
-           s//\1/
43113
 
-           q
43114
 
-         }
43115
 
-         /^X\(\/\/\)[^/].*/{
43116
 
-           s//\1/
43117
 
-           q
43118
 
-         }
43119
 
-         /^X\(\/\/\)$/{
43120
 
-           s//\1/
43121
 
-           q
43122
 
-         }
43123
 
-         /^X\(\/\).*/{
43124
 
-           s//\1/
43125
 
-           q
43126
 
-         }
43127
 
-         s/.*/./; q'`
43128
 
-    { as_dir=$dirpart/$fdir
43129
 
-  case $as_dir in #(
43130
 
-  -*) as_dir=./$as_dir;;
43131
 
-  esac
43132
 
-  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
43133
 
-    as_dirs=
43134
 
-    while :; do
43135
 
-      case $as_dir in #(
43136
 
-      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
43137
 
-      *) as_qdir=$as_dir;;
43138
 
-      esac
43139
 
-      as_dirs="'$as_qdir' $as_dirs"
43140
 
-      as_dir=`$as_dirname -- "$as_dir" ||
43141
 
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43142
 
-        X"$as_dir" : 'X\(//\)[^/]' \| \
43143
 
-        X"$as_dir" : 'X\(//\)$' \| \
43144
 
-        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
43145
 
-echo X"$as_dir" |
43146
 
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
43147
 
-           s//\1/
43148
 
-           q
43149
 
-         }
43150
 
-         /^X\(\/\/\)[^/].*/{
43151
 
-           s//\1/
43152
 
-           q
43153
 
-         }
43154
 
-         /^X\(\/\/\)$/{
43155
 
-           s//\1/
43156
 
-           q
43157
 
-         }
43158
 
-         /^X\(\/\).*/{
43159
 
-           s//\1/
43160
 
-           q
43161
 
-         }
43162
 
-         s/.*/./; q'`
43163
 
-      test -d "$as_dir" && break
43164
 
-    done
43165
 
-    test -z "$as_dirs" || eval "mkdir $as_dirs"
43166
 
-  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
43167
 
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
43168
 
-   { (exit 1); exit 1; }; }; }
43169
 
-    # echo "creating $dirpart/$file"
43170
 
-    echo '# dummy' > "$dirpart/$file"
43171
 
-  done
43172
 
-done
43173
 
  ;;
43174
 
-    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
43175
 
-        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
43176
 
-      esac ;;
43177
 
     "po/stamp-it":C)
43178
 
-    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" ; then
43179
 
-       { { echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
43180
 
-echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
43181
 
+    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
43182
 
+       { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
43183
 
+$as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
43184
 
    { (exit 1); exit 1; }; }
43185
 
     fi
43186
 
     rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
43187
 
@@ -26162,6 +22887,11 @@
43188
 
 chmod +x $CONFIG_STATUS
43189
 
 ac_clean_files=$ac_clean_files_save
43190
 
 
43191
 
+test $ac_write_fail = 0 ||
43192
 
+  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
43193
 
+$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
43194
 
+   { (exit 1); exit 1; }; }
43195
 
+
43196
 
 
43197
 
 # configure is writing to config.log, and then calls config.status.
43198
 
 # config.status does its own redirection, appending to config.log.
43199
 
@@ -26183,4 +22913,8 @@
43200
 
   # would make configure fail if this is the last instruction.
43201
 
   $ac_cs_success || { (exit 1); exit 1; }
43202
 
 fi
43203
 
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
43204
 
+  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
43205
 
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
43206
 
+fi
43207
 
 
43208
 
--- sound-juicer-2.26.1/data/Makefile.in        2009-04-10 10:52:17.000000000 +0100
43209
 
+++ sound-juicer-2.26.1.new/data/Makefile.in    2009-04-13 19:04:11.000000000 +0100
43210
 
@@ -1,4 +1,4 @@
43211
 
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
43212
 
+# Makefile.in generated by automake 1.10.2 from Makefile.am.
43213
 
 # @configure_input@
43214
 
 
43215
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
43216
 
@@ -37,7 +37,10 @@
43217
 
        $(srcdir)/Makefile.in $(srcdir)/sound-juicer.desktop.in.in
43218
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
43219
 
 am__aclocal_m4_deps = $(top_srcdir)/m4/gnome-doc-utils.m4 \
43220
 
-       $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/configure.in
43221
 
+       $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/libtool.m4 \
43222
 
+       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
43223
 
+       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
43224
 
+       $(top_srcdir)/configure.in
43225
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
43226
 
        $(ACLOCAL_M4)
43227
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
43228
 
@@ -97,14 +100,13 @@
43229
 
 DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@
43230
 
 DOC_USER_FORMATS = @DOC_USER_FORMATS@
43231
 
 DSYMUTIL = @DSYMUTIL@
43232
 
-ECHO = @ECHO@
43233
 
+DUMPBIN = @DUMPBIN@
43234
 
 ECHO_C = @ECHO_C@
43235
 
 ECHO_N = @ECHO_N@
43236
 
 ECHO_T = @ECHO_T@
43237
 
 EGREP = @EGREP@
43238
 
 EXEEXT = @EXEEXT@
43239
 
-F77 = @F77@
43240
 
-FFLAGS = @FFLAGS@
43241
 
+FGREP = @FGREP@
43242
 
 GCONFTOOL = @GCONFTOOL@
43243
 
 GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@
43244
 
 GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@
43245
 
@@ -127,33 +129,16 @@
43246
 
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
43247
 
 INSTOBJEXT = @INSTOBJEXT@
43248
 
 INTLLIBS = @INTLLIBS@
43249
 
-INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@
43250
 
-INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@
43251
 
-INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@
43252
 
 INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
43253
 
-INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@
43254
 
-INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@
43255
 
 INTLTOOL_MERGE = @INTLTOOL_MERGE@
43256
 
-INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@
43257
 
 INTLTOOL_PERL = @INTLTOOL_PERL@
43258
 
-INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@
43259
 
-INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@
43260
 
-INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@
43261
 
-INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@
43262
 
-INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@
43263
 
-INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@
43264
 
-INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@
43265
 
-INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@
43266
 
-INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@
43267
 
-INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@
43268
 
 INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
43269
 
-INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@
43270
 
-INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@
43271
 
-INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
43272
 
+LD = @LD@
43273
 
 LDFLAGS = @LDFLAGS@
43274
 
 LIBOBJS = @LIBOBJS@
43275
 
 LIBS = @LIBS@
43276
 
 LIBTOOL = @LIBTOOL@
43277
 
+LIPO = @LIPO@
43278
 
 LN_S = @LN_S@
43279
 
 LTLIBOBJS = @LTLIBOBJS@
43280
 
 MAINT = @MAINT@
43281
 
@@ -169,9 +154,13 @@
43282
 
 MUSICBRAINZ3_LIBS = @MUSICBRAINZ3_LIBS@
43283
 
 MUSICBRAINZ_CFLAGS = @MUSICBRAINZ_CFLAGS@
43284
 
 MUSICBRAINZ_LIBS = @MUSICBRAINZ_LIBS@
43285
 
+NM = @NM@
43286
 
 NMEDIT = @NMEDIT@
43287
 
+OBJDUMP = @OBJDUMP@
43288
 
 OBJEXT = @OBJEXT@
43289
 
 OMF_DIR = @OMF_DIR@
43290
 
+OTOOL = @OTOOL@
43291
 
+OTOOL64 = @OTOOL64@
43292
 
 PACKAGE = @PACKAGE@
43293
 
 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
43294
 
 PACKAGE_NAME = @PACKAGE_NAME@
43295
 
@@ -203,7 +192,7 @@
43296
 
 abs_top_srcdir = @abs_top_srcdir@
43297
 
 ac_ct_CC = @ac_ct_CC@
43298
 
 ac_ct_CXX = @ac_ct_CXX@
43299
 
-ac_ct_F77 = @ac_ct_F77@
43300
 
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
43301
 
 am__include = @am__include@
43302
 
 am__leading_dot = @am__leading_dot@
43303
 
 am__quote = @am__quote@
43304
 
@@ -234,6 +223,7 @@
43305
 
 libexecdir = @libexecdir@
43306
 
 localedir = @localedir@
43307
 
 localstatedir = @localstatedir@
43308
 
+lt_ECHO = @lt_ECHO@
43309
 
 mandir = @mandir@
43310
 
 mkdir_p = @mkdir_p@
43311
 
 oldincludedir = @oldincludedir@
43312
 
@@ -246,6 +236,7 @@
43313
 
 srcdir = @srcdir@
43314
 
 sysconfdir = @sysconfdir@
43315
 
 target_alias = @target_alias@
43316
 
+top_build_prefix = @top_build_prefix@
43317
 
 top_builddir = @top_builddir@
43318
 
 top_srcdir = @top_srcdir@
43319
 
 privatedatadir = $(pkgdatadir)
43320
 
@@ -282,8 +273,8 @@
43321
 
        @for dep in $?; do \
43322
 
          case '$(am__configure_deps)' in \
43323
 
            *$$dep*) \
43324
 
-             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
43325
 
-               && exit 0; \
43326
 
+             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
43327
 
+               && { if test -f $@; then exit 0; else break; fi; }; \
43328
 
              exit 1;; \
43329
 
          esac; \
43330
 
        done; \
43331
 
@@ -326,8 +317,8 @@
43332
 
          esac; \
43333
 
        done; \
43334
 
        for i in $$list; do \
43335
 
-         if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
43336
 
-         else file=$$i; fi; \
43337
 
+         if test -f $$i; then file=$$i; \
43338
 
+         else file=$(srcdir)/$$i; fi; \
43339
 
          ext=`echo $$i | sed -e 's/^.*\\.//'`; \
43340
 
          case "$$ext" in \
43341
 
            1*) ;; \
43342
 
--- sound-juicer-2.26.1/help/Makefile.in        2009-04-10 10:52:17.000000000 +0100
43343
 
+++ sound-juicer-2.26.1.new/help/Makefile.in    2009-04-13 19:04:11.000000000 +0100
43344
 
@@ -1,4 +1,4 @@
43345
 
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
43346
 
+# Makefile.in generated by automake 1.10.2 from Makefile.am.
43347
 
 # @configure_input@
43348
 
 
43349
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
43350
 
@@ -35,7 +35,10 @@
43351
 
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
43352
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
43353
 
 am__aclocal_m4_deps = $(top_srcdir)/m4/gnome-doc-utils.m4 \
43354
 
-       $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/configure.in
43355
 
+       $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/libtool.m4 \
43356
 
+       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
43357
 
+       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
43358
 
+       $(top_srcdir)/configure.in
43359
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
43360
 
        $(ACLOCAL_M4)
43361
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
43362
 
@@ -92,14 +95,13 @@
43363
 
 DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@
43364
 
 DOC_USER_FORMATS = @DOC_USER_FORMATS@
43365
 
 DSYMUTIL = @DSYMUTIL@
43366
 
-ECHO = @ECHO@
43367
 
+DUMPBIN = @DUMPBIN@
43368
 
 ECHO_C = @ECHO_C@
43369
 
 ECHO_N = @ECHO_N@
43370
 
 ECHO_T = @ECHO_T@
43371
 
 EGREP = @EGREP@
43372
 
 EXEEXT = @EXEEXT@
43373
 
-F77 = @F77@
43374
 
-FFLAGS = @FFLAGS@
43375
 
+FGREP = @FGREP@
43376
 
 GCONFTOOL = @GCONFTOOL@
43377
 
 GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@
43378
 
 GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@
43379
 
@@ -122,33 +124,16 @@
43380
 
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
43381
 
 INSTOBJEXT = @INSTOBJEXT@
43382
 
 INTLLIBS = @INTLLIBS@
43383
 
-INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@
43384
 
-INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@
43385
 
-INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@
43386
 
 INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
43387
 
-INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@
43388
 
-INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@
43389
 
 INTLTOOL_MERGE = @INTLTOOL_MERGE@
43390
 
-INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@
43391
 
 INTLTOOL_PERL = @INTLTOOL_PERL@
43392
 
-INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@
43393
 
-INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@
43394
 
-INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@
43395
 
-INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@
43396
 
-INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@
43397
 
-INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@
43398
 
-INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@
43399
 
-INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@
43400
 
-INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@
43401
 
-INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@
43402
 
 INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
43403
 
-INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@
43404
 
-INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@
43405
 
-INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
43406
 
+LD = @LD@
43407
 
 LDFLAGS = @LDFLAGS@
43408
 
 LIBOBJS = @LIBOBJS@
43409
 
 LIBS = @LIBS@
43410
 
 LIBTOOL = @LIBTOOL@
43411
 
+LIPO = @LIPO@
43412
 
 LN_S = @LN_S@
43413
 
 LTLIBOBJS = @LTLIBOBJS@
43414
 
 MAINT = @MAINT@
43415
 
@@ -164,9 +149,13 @@
43416
 
 MUSICBRAINZ3_LIBS = @MUSICBRAINZ3_LIBS@
43417
 
 MUSICBRAINZ_CFLAGS = @MUSICBRAINZ_CFLAGS@
43418
 
 MUSICBRAINZ_LIBS = @MUSICBRAINZ_LIBS@
43419
 
+NM = @NM@
43420
 
 NMEDIT = @NMEDIT@
43421
 
+OBJDUMP = @OBJDUMP@
43422
 
 OBJEXT = @OBJEXT@
43423
 
 OMF_DIR = @OMF_DIR@
43424
 
+OTOOL = @OTOOL@
43425
 
+OTOOL64 = @OTOOL64@
43426
 
 PACKAGE = @PACKAGE@
43427
 
 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
43428
 
 PACKAGE_NAME = @PACKAGE_NAME@
43429
 
@@ -198,7 +187,7 @@
43430
 
 abs_top_srcdir = @abs_top_srcdir@
43431
 
 ac_ct_CC = @ac_ct_CC@
43432
 
 ac_ct_CXX = @ac_ct_CXX@
43433
 
-ac_ct_F77 = @ac_ct_F77@
43434
 
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
43435
 
 am__include = @am__include@
43436
 
 am__leading_dot = @am__leading_dot@
43437
 
 am__quote = @am__quote@
43438
 
@@ -229,6 +218,7 @@
43439
 
 libexecdir = @libexecdir@
43440
 
 localedir = @localedir@
43441
 
 localstatedir = @localstatedir@
43442
 
+lt_ECHO = @lt_ECHO@
43443
 
 mandir = @mandir@
43444
 
 mkdir_p = @mkdir_p@
43445
 
 oldincludedir = @oldincludedir@
43446
 
@@ -241,6 +231,7 @@
43447
 
 srcdir = @srcdir@
43448
 
 sysconfdir = @sysconfdir@
43449
 
 target_alias = @target_alias@
43450
 
+top_build_prefix = @top_build_prefix@
43451
 
 top_builddir = @top_builddir@
43452
 
 top_srcdir = @top_srcdir@
43453
 
 SUBDIRS = sound-juicer
43454
 
@@ -251,8 +242,8 @@
43455
 
        @for dep in $?; do \
43456
 
          case '$(am__configure_deps)' in \
43457
 
            *$$dep*) \
43458
 
-             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
43459
 
-               && exit 0; \
43460
 
+             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
43461
 
+               && { if test -f $@; then exit 0; else break; fi; }; \
43462
 
              exit 1;; \
43463
 
          esac; \
43464
 
        done; \
43465
 
@@ -358,7 +349,7 @@
43466
 
        unique=`for i in $$list; do \
43467
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
43468
 
          done | \
43469
 
-         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
43470
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
43471
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
43472
 
        mkid -fID $$unique
43473
 
 tags: TAGS
43474
 
--- sound-juicer-2.26.1/help/sound-juicer/Makefile.in   2009-04-10 10:52:17.000000000 +0100
43475
 
+++ sound-juicer-2.26.1.new/help/sound-juicer/Makefile.in       2009-04-13 19:04:12.000000000 +0100
43476
 
@@ -1,4 +1,4 @@
43477
 
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
43478
 
+# Makefile.in generated by automake 1.10.2 from Makefile.am.
43479
 
 # @configure_input@
43480
 
 
43481
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
43482
 
@@ -60,7 +60,10 @@
43483
 
 subdir = help/sound-juicer
43484
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
43485
 
 am__aclocal_m4_deps = $(top_srcdir)/m4/gnome-doc-utils.m4 \
43486
 
-       $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/configure.in
43487
 
+       $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/libtool.m4 \
43488
 
+       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
43489
 
+       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
43490
 
+       $(top_srcdir)/configure.in
43491
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
43492
 
        $(ACLOCAL_M4)
43493
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
43494
 
@@ -105,14 +108,13 @@
43495
 
 DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@
43496
 
 DOC_USER_FORMATS = @DOC_USER_FORMATS@
43497
 
 DSYMUTIL = @DSYMUTIL@
43498
 
-ECHO = @ECHO@
43499
 
+DUMPBIN = @DUMPBIN@
43500
 
 ECHO_C = @ECHO_C@
43501
 
 ECHO_N = @ECHO_N@
43502
 
 ECHO_T = @ECHO_T@
43503
 
 EGREP = @EGREP@
43504
 
 EXEEXT = @EXEEXT@
43505
 
-F77 = @F77@
43506
 
-FFLAGS = @FFLAGS@
43507
 
+FGREP = @FGREP@
43508
 
 GCONFTOOL = @GCONFTOOL@
43509
 
 GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@
43510
 
 GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@
43511
 
@@ -135,33 +137,16 @@
43512
 
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
43513
 
 INSTOBJEXT = @INSTOBJEXT@
43514
 
 INTLLIBS = @INTLLIBS@
43515
 
-INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@
43516
 
-INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@
43517
 
-INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@
43518
 
 INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
43519
 
-INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@
43520
 
-INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@
43521
 
 INTLTOOL_MERGE = @INTLTOOL_MERGE@
43522
 
-INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@
43523
 
 INTLTOOL_PERL = @INTLTOOL_PERL@
43524
 
-INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@
43525
 
-INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@
43526
 
-INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@
43527
 
-INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@
43528
 
-INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@
43529
 
-INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@
43530
 
-INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@
43531
 
-INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@
43532
 
-INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@
43533
 
-INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@
43534
 
 INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
43535
 
-INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@
43536
 
-INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@
43537
 
-INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
43538
 
+LD = @LD@
43539
 
 LDFLAGS = @LDFLAGS@
43540
 
 LIBOBJS = @LIBOBJS@
43541
 
 LIBS = @LIBS@
43542
 
 LIBTOOL = @LIBTOOL@
43543
 
+LIPO = @LIPO@
43544
 
 LN_S = @LN_S@
43545
 
 LTLIBOBJS = @LTLIBOBJS@
43546
 
 MAINT = @MAINT@
43547
 
@@ -177,9 +162,13 @@
43548
 
 MUSICBRAINZ3_LIBS = @MUSICBRAINZ3_LIBS@
43549
 
 MUSICBRAINZ_CFLAGS = @MUSICBRAINZ_CFLAGS@
43550
 
 MUSICBRAINZ_LIBS = @MUSICBRAINZ_LIBS@
43551
 
+NM = @NM@
43552
 
 NMEDIT = @NMEDIT@
43553
 
+OBJDUMP = @OBJDUMP@
43554
 
 OBJEXT = @OBJEXT@
43555
 
 OMF_DIR = @OMF_DIR@
43556
 
+OTOOL = @OTOOL@
43557
 
+OTOOL64 = @OTOOL64@
43558
 
 PACKAGE = @PACKAGE@
43559
 
 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
43560
 
 PACKAGE_NAME = @PACKAGE_NAME@
43561
 
@@ -211,7 +200,7 @@
43562
 
 abs_top_srcdir = @abs_top_srcdir@
43563
 
 ac_ct_CC = @ac_ct_CC@
43564
 
 ac_ct_CXX = @ac_ct_CXX@
43565
 
-ac_ct_F77 = @ac_ct_F77@
43566
 
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
43567
 
 am__include = @am__include@
43568
 
 am__leading_dot = @am__leading_dot@
43569
 
 am__quote = @am__quote@
43570
 
@@ -242,6 +231,7 @@
43571
 
 libexecdir = @libexecdir@
43572
 
 localedir = @localedir@
43573
 
 localstatedir = @localstatedir@
43574
 
+lt_ECHO = @lt_ECHO@
43575
 
 mandir = @mandir@
43576
 
 mkdir_p = @mkdir_p@
43577
 
 oldincludedir = @oldincludedir@
43578
 
@@ -254,6 +244,7 @@
43579
 
 srcdir = @srcdir@
43580
 
 sysconfdir = @sysconfdir@
43581
 
 target_alias = @target_alias@
43582
 
+top_build_prefix = @top_build_prefix@
43583
 
 top_builddir = @top_builddir@
43584
 
 top_srcdir = @top_srcdir@
43585
 
 _clean_doc_header = $(if $(DOC_H_FILE),clean-doc-header)
43586
 
@@ -368,8 +359,8 @@
43587
 
        @for dep in $?; do \
43588
 
          case '$(am__configure_deps)' in \
43589
 
            *$$dep*) \
43590
 
-             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
43591
 
-               && exit 0; \
43592
 
+             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
43593
 
+               && { if test -f $@; then exit 0; else break; fi; }; \
43594
 
              exit 1;; \
43595
 
          esac; \
43596
 
        done; \
43597
 
--- sound-juicer-2.26.1/libjuicer/Makefile.in   2009-04-10 10:52:17.000000000 +0100
43598
 
+++ sound-juicer-2.26.1.new/libjuicer/Makefile.in       2009-04-13 19:04:12.000000000 +0100
43599
 
@@ -1,4 +1,4 @@
43600
 
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
43601
 
+# Makefile.in generated by automake 1.10.2 from Makefile.am.
43602
 
 # @configure_input@
43603
 
 
43604
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
43605
 
@@ -48,7 +48,10 @@
43606
 
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
43607
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
43608
 
 am__aclocal_m4_deps = $(top_srcdir)/m4/gnome-doc-utils.m4 \
43609
 
-       $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/configure.in
43610
 
+       $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/libtool.m4 \
43611
 
+       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
43612
 
+       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
43613
 
+       $(top_srcdir)/configure.in
43614
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
43615
 
        $(ACLOCAL_M4)
43616
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
43617
 
@@ -145,14 +148,13 @@
43618
 
 DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@
43619
 
 DOC_USER_FORMATS = @DOC_USER_FORMATS@
43620
 
 DSYMUTIL = @DSYMUTIL@
43621
 
-ECHO = @ECHO@
43622
 
+DUMPBIN = @DUMPBIN@
43623
 
 ECHO_C = @ECHO_C@
43624
 
 ECHO_N = @ECHO_N@
43625
 
 ECHO_T = @ECHO_T@
43626
 
 EGREP = @EGREP@
43627
 
 EXEEXT = @EXEEXT@
43628
 
-F77 = @F77@
43629
 
-FFLAGS = @FFLAGS@
43630
 
+FGREP = @FGREP@
43631
 
 GCONFTOOL = @GCONFTOOL@
43632
 
 GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@
43633
 
 GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@
43634
 
@@ -175,33 +177,16 @@
43635
 
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
43636
 
 INSTOBJEXT = @INSTOBJEXT@
43637
 
 INTLLIBS = @INTLLIBS@
43638
 
-INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@
43639
 
-INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@
43640
 
-INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@
43641
 
 INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
43642
 
-INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@
43643
 
-INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@
43644
 
 INTLTOOL_MERGE = @INTLTOOL_MERGE@
43645
 
-INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@
43646
 
 INTLTOOL_PERL = @INTLTOOL_PERL@
43647
 
-INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@
43648
 
-INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@
43649
 
-INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@
43650
 
-INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@
43651
 
-INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@
43652
 
-INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@
43653
 
-INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@
43654
 
-INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@
43655
 
-INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@
43656
 
-INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@
43657
 
 INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
43658
 
-INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@
43659
 
-INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@
43660
 
-INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
43661
 
+LD = @LD@
43662
 
 LDFLAGS = @LDFLAGS@
43663
 
 LIBOBJS = @LIBOBJS@
43664
 
 LIBS = @LIBS@
43665
 
 LIBTOOL = @LIBTOOL@
43666
 
+LIPO = @LIPO@
43667
 
 LN_S = @LN_S@
43668
 
 LTLIBOBJS = @LTLIBOBJS@
43669
 
 MAINT = @MAINT@
43670
 
@@ -217,9 +202,13 @@
43671
 
 MUSICBRAINZ3_LIBS = @MUSICBRAINZ3_LIBS@
43672
 
 MUSICBRAINZ_CFLAGS = @MUSICBRAINZ_CFLAGS@
43673
 
 MUSICBRAINZ_LIBS = @MUSICBRAINZ_LIBS@
43674
 
+NM = @NM@
43675
 
 NMEDIT = @NMEDIT@
43676
 
+OBJDUMP = @OBJDUMP@
43677
 
 OBJEXT = @OBJEXT@
43678
 
 OMF_DIR = @OMF_DIR@
43679
 
+OTOOL = @OTOOL@
43680
 
+OTOOL64 = @OTOOL64@
43681
 
 PACKAGE = @PACKAGE@
43682
 
 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
43683
 
 PACKAGE_NAME = @PACKAGE_NAME@
43684
 
@@ -251,7 +240,7 @@
43685
 
 abs_top_srcdir = @abs_top_srcdir@
43686
 
 ac_ct_CC = @ac_ct_CC@
43687
 
 ac_ct_CXX = @ac_ct_CXX@
43688
 
-ac_ct_F77 = @ac_ct_F77@
43689
 
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
43690
 
 am__include = @am__include@
43691
 
 am__leading_dot = @am__leading_dot@
43692
 
 am__quote = @am__quote@
43693
 
@@ -282,6 +271,7 @@
43694
 
 libexecdir = @libexecdir@
43695
 
 localedir = @localedir@
43696
 
 localstatedir = @localstatedir@
43697
 
+lt_ECHO = @lt_ECHO@
43698
 
 mandir = @mandir@
43699
 
 mkdir_p = @mkdir_p@
43700
 
 oldincludedir = @oldincludedir@
43701
 
@@ -294,6 +284,7 @@
43702
 
 srcdir = @srcdir@
43703
 
 sysconfdir = @sysconfdir@
43704
 
 target_alias = @target_alias@
43705
 
+top_build_prefix = @top_build_prefix@
43706
 
 top_builddir = @top_builddir@
43707
 
 top_srcdir = @top_srcdir@
43708
 
 noinst_LTLIBRARIES = libjuicer.la
43709
 
@@ -349,8 +340,8 @@
43710
 
        @for dep in $?; do \
43711
 
          case '$(am__configure_deps)' in \
43712
 
            *$$dep*) \
43713
 
-             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
43714
 
-               && exit 0; \
43715
 
+             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
43716
 
+               && { if test -f $@; then exit 0; else break; fi; }; \
43717
 
              exit 1;; \
43718
 
          esac; \
43719
 
        done; \
43720
 
@@ -542,7 +533,7 @@
43721
 
        unique=`for i in $$list; do \
43722
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
43723
 
          done | \
43724
 
-         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
43725
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
43726
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
43727
 
        mkid -fID $$unique
43728
 
 tags: TAGS
43729
 
--- sound-juicer-2.26.1/ltmain.sh       2008-04-29 22:33:55.000000000 +0100
43730
 
+++ sound-juicer-2.26.1.new/ltmain.sh   2009-04-13 19:04:05.000000000 +0100
43731
 
@@ -1,52 +1,83 @@
43732
 
-# ltmain.sh - Provide generalized library-building support services.
43733
 
-# NOTE: Changing this file will not affect anything until you rerun configure.
43734
 
-#
43735
 
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
43736
 
-# 2007, 2008  Free Software Foundation, Inc.
43737
 
-# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
43738
 
-#
43739
 
-# This program is free software; you can redistribute it and/or modify
43740
 
+# Generated from ltmain.m4sh.
43741
 
+
43742
 
+# ltmain.sh (GNU libtool) 2.2.6
43743
 
+# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
43744
 
+
43745
 
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
43746
 
+# This is free software; see the source for copying conditions.  There is NO
43747
 
+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
43748
 
+
43749
 
+# GNU Libtool is free software; you can redistribute it and/or modify
43750
 
 # it under the terms of the GNU General Public License as published by
43751
 
 # the Free Software Foundation; either version 2 of the License, or
43752
 
 # (at your option) any later version.
43753
 
 #
43754
 
-# This program is distributed in the hope that it will be useful, but
43755
 
+# As a special exception to the GNU General Public License,
43756
 
+# if you distribute this file as part of a program or library that
43757
 
+# is built using GNU Libtool, you may include this file under the
43758
 
+# same distribution terms that you use for the rest of that program.
43759
 
+#
43760
 
+# GNU Libtool is distributed in the hope that it will be useful, but
43761
 
 # WITHOUT ANY WARRANTY; without even the implied warranty of
43762
 
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
43763
 
 # General Public License for more details.
43764
 
 #
43765
 
 # You should have received a copy of the GNU General Public License
43766
 
-# along with this program; if not, write to the Free Software
43767
 
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
43768
 
-#
43769
 
-# As a special exception to the GNU General Public License, if you
43770
 
-# distribute this file as part of a program that contains a
43771
 
-# configuration script generated by Autoconf, you may include it under
43772
 
-# the same distribution terms that you use for the rest of that program.
43773
 
-
43774
 
-basename="s,^.*/,,g"
43775
 
-
43776
 
-# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
43777
 
-# is ksh but when the shell is invoked as "sh" and the current value of
43778
 
-# the _XPG environment variable is not equal to 1 (one), the special
43779
 
-# positional parameter $0, within a function call, is the name of the
43780
 
-# function.
43781
 
-progpath="$0"
43782
 
-
43783
 
-# The name of this program:
43784
 
-progname=`echo "$progpath" | $SED $basename`
43785
 
-modename="$progname"
43786
 
+# along with GNU Libtool; see the file COPYING.  If not, a copy
43787
 
+# can be downloaded from http://www.gnu.org/licenses/gpl.html,
43788
 
+# or obtained by writing to the Free Software Foundation, Inc.,
43789
 
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
43790
 
 
43791
 
-# Global variables:
43792
 
-EXIT_SUCCESS=0
43793
 
-EXIT_FAILURE=1
43794
 
+# Usage: $progname [OPTION]... [MODE-ARG]...
43795
 
+#
43796
 
+# Provide generalized library-building support services.
43797
 
+#
43798
 
+#     --config             show all configuration variables
43799
 
+#     --debug              enable verbose shell tracing
43800
 
+# -n, --dry-run            display commands without modifying any files
43801
 
+#     --features           display basic configuration information and exit
43802
 
+#     --mode=MODE          use operation mode MODE
43803
 
+#     --preserve-dup-deps  don't remove duplicate dependency libraries
43804
 
+#     --quiet, --silent    don't print informational messages
43805
 
+#     --tag=TAG            use configuration variables from tag TAG
43806
 
+# -v, --verbose            print informational messages (default)
43807
 
+#     --version            print version information
43808
 
+# -h, --help               print short or long help message
43809
 
+#
43810
 
+# MODE must be one of the following:
43811
 
+#
43812
 
+#       clean              remove files from the build directory
43813
 
+#       compile            compile a source file into a libtool object
43814
 
+#       execute            automatically set library path, then run a program
43815
 
+#       finish             complete the installation of libtool libraries
43816
 
+#       install            install libraries or executables
43817
 
+#       link               create a library or an executable
43818
 
+#       uninstall          remove libraries from an installed directory
43819
 
+#
43820
 
+# MODE-ARGS vary depending on the MODE.
43821
 
+# Try `$progname --help --mode=MODE' for a more detailed description of MODE.
43822
 
+#
43823
 
+# When reporting a bug, please describe a test case to reproduce it and
43824
 
+# include the following information:
43825
 
+#
43826
 
+#       host-triplet:  $host
43827
 
+#       shell:         $SHELL
43828
 
+#       compiler:              $LTCC
43829
 
+#       compiler flags:                $LTCFLAGS
43830
 
+#       linker:                $LD (gnu? $with_gnu_ld)
43831
 
+#       $progname:             (GNU libtool) 2.2.6 Debian-2.2.6a-1ubuntu1
43832
 
+#       automake:              $automake_version
43833
 
+#       autoconf:              $autoconf_version
43834
 
+#
43835
 
+# Report bugs to <bug-libtool@gnu.org>.
43836
 
 
43837
 
 PROGRAM=ltmain.sh
43838
 
 PACKAGE=libtool
43839
 
-VERSION="1.5.26 Debian 1.5.26-4"
43840
 
-TIMESTAMP=" (1.1220.2.493 2008/02/01 16:58:18)"
43841
 
+VERSION="2.2.6 Debian-2.2.6a-1ubuntu1"
43842
 
+TIMESTAMP=""
43843
 
+package_revision=1.3012
43844
 
 
43845
 
-# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
43846
 
+# Be Bourne compatible
43847
 
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
43848
 
   emulate sh
43849
 
   NULLCMD=:
43850
 
@@ -60,104 +91,261 @@
43851
 
 BIN_SH=xpg4; export BIN_SH # for Tru64
43852
 
 DUALCASE=1; export DUALCASE # for MKS sh
43853
 
 
43854
 
-# Check that we have a working $echo.
43855
 
-if test "X$1" = X--no-reexec; then
43856
 
-  # Discard the --no-reexec flag, and continue.
43857
 
-  shift
43858
 
-elif test "X$1" = X--fallback-echo; then
43859
 
-  # Avoid inline document here, it may be left over
43860
 
-  :
43861
 
-elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
43862
 
-  # Yippee, $echo works!
43863
 
-  :
43864
 
-else
43865
 
-  # Restart under the correct shell, and then maybe $echo will work.
43866
 
-  exec $SHELL "$progpath" --no-reexec ${1+"$@"}
43867
 
-fi
43868
 
-
43869
 
-if test "X$1" = X--fallback-echo; then
43870
 
-  # used as fallback echo
43871
 
-  shift
43872
 
-  cat <<EOF
43873
 
-$*
43874
 
-EOF
43875
 
-  exit $EXIT_SUCCESS
43876
 
-fi
43877
 
-
43878
 
-default_mode=
43879
 
-help="Try \`$progname --help' for more information."
43880
 
-magic="%%%MAGIC variable%%%"
43881
 
-mkdir="mkdir"
43882
 
-mv="mv -f"
43883
 
-rm="rm -f"
43884
 
-
43885
 
-# Sed substitution that helps us do robust quoting.  It backslashifies
43886
 
-# metacharacters that are still active within double-quoted strings.
43887
 
-Xsed="${SED}"' -e 1s/^X//'
43888
 
-sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
43889
 
-# test EBCDIC or ASCII
43890
 
-case `echo X|tr X '\101'` in
43891
 
- A) # ASCII based system
43892
 
-    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
43893
 
-  SP2NL='tr \040 \012'
43894
 
-  NL2SP='tr \015\012 \040\040'
43895
 
-  ;;
43896
 
- *) # EBCDIC based system
43897
 
-  SP2NL='tr \100 \n'
43898
 
-  NL2SP='tr \r\n \100\100'
43899
 
-  ;;
43900
 
-esac
43901
 
-
43902
 
-# NLS nuisances.
43903
 
+# NLS nuisances: We save the old values to restore during execute mode.
43904
 
 # Only set LANG and LC_ALL to C if already set.
43905
 
 # These must not be set unconditionally because not all systems understand
43906
 
 # e.g. LANG=C (notably SCO).
43907
 
-# We save the old values to restore during execute mode.
43908
 
-lt_env=
43909
 
+lt_user_locale=
43910
 
+lt_safe_locale=
43911
 
 for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
43912
 
 do
43913
 
   eval "if test \"\${$lt_var+set}\" = set; then
43914
 
-         save_$lt_var=\$$lt_var
43915
 
-         lt_env=\"$lt_var=\$$lt_var \$lt_env\"
43916
 
-         $lt_var=C
43917
 
+          save_$lt_var=\$$lt_var
43918
 
+          $lt_var=C
43919
 
          export $lt_var
43920
 
+         lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\"
43921
 
+         lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
43922
 
        fi"
43923
 
 done
43924
 
 
43925
 
-if test -n "$lt_env"; then
43926
 
-  lt_env="env $lt_env"
43927
 
-fi
43928
 
+$lt_unset CDPATH
43929
 
+
43930
 
+
43931
 
+
43932
 
+
43933
 
+
43934
 
+: ${CP="cp -f"}
43935
 
+: ${ECHO="echo"}
43936
 
+: ${EGREP="/bin/grep -E"}
43937
 
+: ${FGREP="/bin/grep -F"}
43938
 
+: ${GREP="/bin/grep"}
43939
 
+: ${LN_S="ln -s"}
43940
 
+: ${MAKE="make"}
43941
 
+: ${MKDIR="mkdir"}
43942
 
+: ${MV="mv -f"}
43943
 
+: ${RM="rm -f"}
43944
 
+: ${SED="/bin/sed"}
43945
 
+: ${SHELL="${CONFIG_SHELL-/bin/sh}"}
43946
 
+: ${Xsed="$SED -e 1s/^X//"}
43947
 
+
43948
 
+# Global variables:
43949
 
+EXIT_SUCCESS=0
43950
 
+EXIT_FAILURE=1
43951
 
+EXIT_MISMATCH=63  # $? = 63 is used to indicate version mismatch to missing.
43952
 
+EXIT_SKIP=77     # $? = 77 is used to indicate a skipped test to automake.
43953
 
+
43954
 
+exit_status=$EXIT_SUCCESS
43955
 
 
43956
 
 # Make sure IFS has a sensible default
43957
 
 lt_nl='
43958
 
 '
43959
 
 IFS="  $lt_nl"
43960
 
 
43961
 
-if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
43962
 
-  $echo "$modename: not configured to build any kind of library" 1>&2
43963
 
-  $echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
43964
 
-  exit $EXIT_FAILURE
43965
 
-fi
43966
 
+dirname="s,/[^/]*$,,"
43967
 
+basename="s,^.*/,,"
43968
 
 
43969
 
-# Global variables.
43970
 
-mode=$default_mode
43971
 
-nonopt=
43972
 
-prev=
43973
 
-prevopt=
43974
 
-run=
43975
 
-show="$echo"
43976
 
-show_help=
43977
 
-execute_dlfiles=
43978
 
-duplicate_deps=no
43979
 
-preserve_args=
43980
 
-lo2o="s/\\.lo\$/.${objext}/"
43981
 
-o2lo="s/\\.${objext}\$/.lo/"
43982
 
-extracted_archives=
43983
 
-extracted_serial=0
43984
 
+# func_dirname_and_basename file append nondir_replacement
43985
 
+# perform func_basename and func_dirname in a single function
43986
 
+# call:
43987
 
+#   dirname:  Compute the dirname of FILE.  If nonempty,
43988
 
+#             add APPEND to the result, otherwise set result
43989
 
+#             to NONDIR_REPLACEMENT.
43990
 
+#             value returned in "$func_dirname_result"
43991
 
+#   basename: Compute filename of FILE.
43992
 
+#             value retuned in "$func_basename_result"
43993
 
+# Implementation must be kept synchronized with func_dirname
43994
 
+# and func_basename. For efficiency, we do not delegate to
43995
 
+# those functions but instead duplicate the functionality here.
43996
 
+func_dirname_and_basename ()
43997
 
+{
43998
 
+  # Extract subdirectory from the argument.
43999
 
+  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
44000
 
+  if test "X$func_dirname_result" = "X${1}"; then
44001
 
+    func_dirname_result="${3}"
44002
 
+  else
44003
 
+    func_dirname_result="$func_dirname_result${2}"
44004
 
+  fi
44005
 
+  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
44006
 
+}
44007
 
+
44008
 
+# Generated shell functions inserted here.
44009
 
+
44010
 
+# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
44011
 
+# is ksh but when the shell is invoked as "sh" and the current value of
44012
 
+# the _XPG environment variable is not equal to 1 (one), the special
44013
 
+# positional parameter $0, within a function call, is the name of the
44014
 
+# function.
44015
 
+progpath="$0"
44016
 
+
44017
 
+# The name of this program:
44018
 
+# In the unlikely event $progname began with a '-', it would play havoc with
44019
 
+# func_echo (imagine progname=-n), so we prepend ./ in that case:
44020
 
+func_dirname_and_basename "$progpath"
44021
 
+progname=$func_basename_result
44022
 
+case $progname in
44023
 
+  -*) progname=./$progname ;;
44024
 
+esac
44025
 
+
44026
 
+# Make sure we have an absolute path for reexecution:
44027
 
+case $progpath in
44028
 
+  [\\/]*|[A-Za-z]:\\*) ;;
44029
 
+  *[\\/]*)
44030
 
+     progdir=$func_dirname_result
44031
 
+     progdir=`cd "$progdir" && pwd`
44032
 
+     progpath="$progdir/$progname"
44033
 
+     ;;
44034
 
+  *)
44035
 
+     save_IFS="$IFS"
44036
 
+     IFS=:
44037
 
+     for progdir in $PATH; do
44038
 
+       IFS="$save_IFS"
44039
 
+       test -x "$progdir/$progname" && break
44040
 
+     done
44041
 
+     IFS="$save_IFS"
44042
 
+     test -n "$progdir" || progdir=`pwd`
44043
 
+     progpath="$progdir/$progname"
44044
 
+     ;;
44045
 
+esac
44046
 
+
44047
 
+# Sed substitution that helps us do robust quoting.  It backslashifies
44048
 
+# metacharacters that are still active within double-quoted strings.
44049
 
+Xsed="${SED}"' -e 1s/^X//'
44050
 
+sed_quote_subst='s/\([`"$\\]\)/\\\1/g'
44051
 
+
44052
 
+# Same as above, but do not quote variable references.
44053
 
+double_quote_subst='s/\(["`\\]\)/\\\1/g'
44054
 
+
44055
 
+# Re-`\' parameter expansions in output of double_quote_subst that were
44056
 
+# `\'-ed in input to the same.  If an odd number of `\' preceded a '$'
44057
 
+# in input to double_quote_subst, that '$' was protected from expansion.
44058
 
+# Since each input `\' is now two `\'s, look for any number of runs of
44059
 
+# four `\'s followed by two `\'s and then a '$'.  `\' that '$'.
44060
 
+bs='\\'
44061
 
+bs2='\\\\'
44062
 
+bs4='\\\\\\\\'
44063
 
+dollar='\$'
44064
 
+sed_double_backslash="\
44065
 
+  s/$bs4/&\\
44066
 
+/g
44067
 
+  s/^$bs2$dollar/$bs&/
44068
 
+  s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g
44069
 
+  s/\n//g"
44070
 
+
44071
 
+# Standard options:
44072
 
+opt_dry_run=false
44073
 
+opt_help=false
44074
 
+opt_quiet=false
44075
 
+opt_verbose=false
44076
 
+opt_warning=:
44077
 
+
44078
 
+# func_echo arg...
44079
 
+# Echo program name prefixed message, along with the current mode
44080
 
+# name if it has been set yet.
44081
 
+func_echo ()
44082
 
+{
44083
 
+    $ECHO "$progname${mode+: }$mode: $*"
44084
 
+}
44085
 
+
44086
 
+# func_verbose arg...
44087
 
+# Echo program name prefixed message in verbose mode only.
44088
 
+func_verbose ()
44089
 
+{
44090
 
+    $opt_verbose && func_echo ${1+"$@"}
44091
 
+
44092
 
+    # A bug in bash halts the script if the last line of a function
44093
 
+    # fails when set -e is in force, so we need another command to
44094
 
+    # work around that:
44095
 
+    :
44096
 
+}
44097
 
+
44098
 
+# func_error arg...
44099
 
+# Echo program name prefixed message to standard error.
44100
 
+func_error ()
44101
 
+{
44102
 
+    $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2
44103
 
+}
44104
 
+
44105
 
+# func_warning arg...
44106
 
+# Echo program name prefixed warning message to standard error.
44107
 
+func_warning ()
44108
 
+{
44109
 
+    $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2
44110
 
+
44111
 
+    # bash bug again:
44112
 
+    :
44113
 
+}
44114
 
+
44115
 
+# func_fatal_error arg...
44116
 
+# Echo program name prefixed message to standard error, and exit.
44117
 
+func_fatal_error ()
44118
 
+{
44119
 
+    func_error ${1+"$@"}
44120
 
+    exit $EXIT_FAILURE
44121
 
+}
44122
 
+
44123
 
+# func_fatal_help arg...
44124
 
+# Echo program name prefixed message to standard error, followed by
44125
 
+# a help hint, and exit.
44126
 
+func_fatal_help ()
44127
 
+{
44128
 
+    func_error ${1+"$@"}
44129
 
+    func_fatal_error "$help"
44130
 
+}
44131
 
+help="Try \`$progname --help' for more information."  ## default
44132
 
+
44133
 
+
44134
 
+# func_grep expression filename
44135
 
+# Check whether EXPRESSION matches any line of FILENAME, without output.
44136
 
+func_grep ()
44137
 
+{
44138
 
+    $GREP "$1" "$2" >/dev/null 2>&1
44139
 
+}
44140
 
+
44141
 
+
44142
 
+# func_mkdir_p directory-path
44143
 
+# Make sure the entire path to DIRECTORY-PATH is available.
44144
 
+func_mkdir_p ()
44145
 
+{
44146
 
+    my_directory_path="$1"
44147
 
+    my_dir_list=
44148
 
+
44149
 
+    if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then
44150
 
+
44151
 
+      # Protect directory names starting with `-'
44152
 
+      case $my_directory_path in
44153
 
+        -*) my_directory_path="./$my_directory_path" ;;
44154
 
+      esac
44155
 
+
44156
 
+      # While some portion of DIR does not yet exist...
44157
 
+      while test ! -d "$my_directory_path"; do
44158
 
+        # ...make a list in topmost first order.  Use a colon delimited
44159
 
+       # list incase some portion of path contains whitespace.
44160
 
+        my_dir_list="$my_directory_path:$my_dir_list"
44161
 
+
44162
 
+        # If the last portion added has no slash in it, the list is done
44163
 
+        case $my_directory_path in */*) ;; *) break ;; esac
44164
 
+
44165
 
+        # ...otherwise throw away the child directory and loop
44166
 
+        my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"`
44167
 
+      done
44168
 
+      my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'`
44169
 
+
44170
 
+      save_mkdir_p_IFS="$IFS"; IFS=':'
44171
 
+      for my_dir in $my_dir_list; do
44172
 
+       IFS="$save_mkdir_p_IFS"
44173
 
+        # mkdir can fail with a `File exist' error if two processes
44174
 
+        # try to create one of the directories concurrently.  Don't
44175
 
+        # stop in that case!
44176
 
+        $MKDIR "$my_dir" 2>/dev/null || :
44177
 
+      done
44178
 
+      IFS="$save_mkdir_p_IFS"
44179
 
+
44180
 
+      # Bail out if we (or some other process) failed to create a directory.
44181
 
+      test -d "$my_directory_path" || \
44182
 
+        func_fatal_error "Failed to create \`$1'"
44183
 
+    fi
44184
 
+}
44185
 
 
44186
 
-#####################################
44187
 
-# Shell function definitions:
44188
 
-# This seems to be the best place for them
44189
 
 
44190
 
 # func_mktempdir [string]
44191
 
 # Make a temporary directory that won't clash with other running
44192
 
@@ -167,7 +355,7 @@
44193
 
 {
44194
 
     my_template="${TMPDIR-/tmp}/${1-$progname}"
44195
 
 
44196
 
-    if test "$run" = ":"; then
44197
 
+    if test "$opt_dry_run" = ":"; then
44198
 
       # Return a directory name, but don't create it in dry-run mode
44199
 
       my_tmpdir="${my_template}-$$"
44200
 
     else
44201
 
@@ -176,526 +364,787 @@
44202
 
       my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
44203
 
 
44204
 
       if test ! -d "$my_tmpdir"; then
44205
 
-       # Failing that, at least try and use $RANDOM to avoid a race
44206
 
-       my_tmpdir="${my_template}-${RANDOM-0}$$"
44207
 
+        # Failing that, at least try and use $RANDOM to avoid a race
44208
 
+        my_tmpdir="${my_template}-${RANDOM-0}$$"
44209
 
 
44210
 
-       save_mktempdir_umask=`umask`
44211
 
-       umask 0077
44212
 
-       $mkdir "$my_tmpdir"
44213
 
-       umask $save_mktempdir_umask
44214
 
+        save_mktempdir_umask=`umask`
44215
 
+        umask 0077
44216
 
+        $MKDIR "$my_tmpdir"
44217
 
+        umask $save_mktempdir_umask
44218
 
       fi
44219
 
 
44220
 
       # If we're not in dry-run mode, bomb out on failure
44221
 
-      test -d "$my_tmpdir" || {
44222
 
-        $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2
44223
 
-       exit $EXIT_FAILURE
44224
 
-      }
44225
 
+      test -d "$my_tmpdir" || \
44226
 
+        func_fatal_error "cannot create temporary directory \`$my_tmpdir'"
44227
 
     fi
44228
 
 
44229
 
-    $echo "X$my_tmpdir" | $Xsed
44230
 
+    $ECHO "X$my_tmpdir" | $Xsed
44231
 
 }
44232
 
 
44233
 
 
44234
 
-# func_win32_libid arg
44235
 
-# return the library type of file 'arg'
44236
 
-#
44237
 
-# Need a lot of goo to handle *both* DLLs and import libs
44238
 
-# Has to be a shell function in order to 'eat' the argument
44239
 
-# that is supplied when $file_magic_command is called.
44240
 
-func_win32_libid ()
44241
 
+# func_quote_for_eval arg
44242
 
+# Aesthetically quote ARG to be evaled later.
44243
 
+# This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT
44244
 
+# is double-quoted, suitable for a subsequent eval, whereas
44245
 
+# FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters
44246
 
+# which are still active within double quotes backslashified.
44247
 
+func_quote_for_eval ()
44248
 
 {
44249
 
-  win32_libid_type="unknown"
44250
 
-  win32_fileres=`file -L $1 2>/dev/null`
44251
 
-  case $win32_fileres in
44252
 
-  *ar\ archive\ import\ library*) # definitely import
44253
 
-    win32_libid_type="x86 archive import"
44254
 
-    ;;
44255
 
-  *ar\ archive*) # could be an import, or static
44256
 
-    if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
44257
 
-      $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
44258
 
-      win32_nmres=`eval $NM -f posix -A $1 | \
44259
 
-       $SED -n -e '1,100{
44260
 
-               / I /{
44261
 
-                       s,.*,import,
44262
 
-                       p
44263
 
-                       q
44264
 
-                       }
44265
 
-               }'`
44266
 
-      case $win32_nmres in
44267
 
-      import*)  win32_libid_type="x86 archive import";;
44268
 
-      *)        win32_libid_type="x86 archive static";;
44269
 
-      esac
44270
 
-    fi
44271
 
-    ;;
44272
 
-  *DLL*)
44273
 
-    win32_libid_type="x86 DLL"
44274
 
-    ;;
44275
 
-  *executable*) # but shell scripts are "executable" too...
44276
 
-    case $win32_fileres in
44277
 
-    *MS\ Windows\ PE\ Intel*)
44278
 
-      win32_libid_type="x86 DLL"
44279
 
-      ;;
44280
 
+    case $1 in
44281
 
+      *[\\\`\"\$]*)
44282
 
+       func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;;
44283
 
+      *)
44284
 
+        func_quote_for_eval_unquoted_result="$1" ;;
44285
 
+    esac
44286
 
+
44287
 
+    case $func_quote_for_eval_unquoted_result in
44288
 
+      # Double-quote args containing shell metacharacters to delay
44289
 
+      # word splitting, command substitution and and variable
44290
 
+      # expansion for a subsequent eval.
44291
 
+      # Many Bourne shells cannot handle close brackets correctly
44292
 
+      # in scan sets, so we specify it separately.
44293
 
+      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \    ]*|*]*|"")
44294
 
+        func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\""
44295
 
+        ;;
44296
 
+      *)
44297
 
+        func_quote_for_eval_result="$func_quote_for_eval_unquoted_result"
44298
 
     esac
44299
 
-    ;;
44300
 
-  esac
44301
 
-  $echo $win32_libid_type
44302
 
 }
44303
 
 
44304
 
 
44305
 
-# func_infer_tag arg
44306
 
-# Infer tagged configuration to use if any are available and
44307
 
-# if one wasn't chosen via the "--tag" command line option.
44308
 
-# Only attempt this if the compiler in the base compile
44309
 
-# command doesn't match the default compiler.
44310
 
-# arg is usually of the form 'gcc ...'
44311
 
-func_infer_tag ()
44312
 
+# func_quote_for_expand arg
44313
 
+# Aesthetically quote ARG to be evaled later; same as above,
44314
 
+# but do not quote variable references.
44315
 
+func_quote_for_expand ()
44316
 
 {
44317
 
-    if test -n "$available_tags" && test -z "$tagname"; then
44318
 
-      CC_quoted=
44319
 
-      for arg in $CC; do
44320
 
-       case $arg in
44321
 
-         *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
44322
 
-         arg="\"$arg\""
44323
 
-         ;;
44324
 
-       esac
44325
 
-       CC_quoted="$CC_quoted $arg"
44326
 
-      done
44327
 
-      case $@ in
44328
 
-      # Blanks in the command may have been stripped by the calling shell,
44329
 
-      # but not from the CC environment variable when configure was run.
44330
 
-      " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;;
44331
 
-      # Blanks at the start of $base_compile will cause this to fail
44332
 
-      # if we don't check for them as well.
44333
 
+    case $1 in
44334
 
+      *[\\\`\"]*)
44335
 
+       my_arg=`$ECHO "X$1" | $Xsed \
44336
 
+           -e "$double_quote_subst" -e "$sed_double_backslash"` ;;
44337
 
       *)
44338
 
-       for z in $available_tags; do
44339
 
-         if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
44340
 
-           # Evaluate the configuration.
44341
 
-           eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
44342
 
-           CC_quoted=
44343
 
-           for arg in $CC; do
44344
 
-           # Double-quote args containing other shell metacharacters.
44345
 
-           case $arg in
44346
 
-             *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \     ]*|*]*|"")
44347
 
-             arg="\"$arg\""
44348
 
-             ;;
44349
 
-           esac
44350
 
-           CC_quoted="$CC_quoted $arg"
44351
 
-         done
44352
 
-           case "$@ " in
44353
 
-             " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
44354
 
-             # The compiler in the base compile command matches
44355
 
-             # the one in the tagged configuration.
44356
 
-             # Assume this is the tagged configuration we want.
44357
 
-             tagname=$z
44358
 
-             break
44359
 
-             ;;
44360
 
-           esac
44361
 
-         fi
44362
 
-       done
44363
 
-       # If $tagname still isn't set, then no tagged configuration
44364
 
-       # was found and let the user know that the "--tag" command
44365
 
-       # line option must be used.
44366
 
-       if test -z "$tagname"; then
44367
 
-         $echo "$modename: unable to infer tagged configuration"
44368
 
-         $echo "$modename: specify a tag with \`--tag'" 1>&2
44369
 
-         exit $EXIT_FAILURE
44370
 
-#        else
44371
 
-#          $echo "$modename: using $tagname tagged configuration"
44372
 
-       fi
44373
 
-       ;;
44374
 
-      esac
44375
 
-    fi
44376
 
+        my_arg="$1" ;;
44377
 
+    esac
44378
 
+
44379
 
+    case $my_arg in
44380
 
+      # Double-quote args containing shell metacharacters to delay
44381
 
+      # word splitting and command substitution for a subsequent eval.
44382
 
+      # Many Bourne shells cannot handle close brackets correctly
44383
 
+      # in scan sets, so we specify it separately.
44384
 
+      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \    ]*|*]*|"")
44385
 
+        my_arg="\"$my_arg\""
44386
 
+        ;;
44387
 
+    esac
44388
 
+
44389
 
+    func_quote_for_expand_result="$my_arg"
44390
 
 }
44391
 
 
44392
 
 
44393
 
-# func_extract_an_archive dir oldlib
44394
 
-func_extract_an_archive ()
44395
 
+# func_show_eval cmd [fail_exp]
44396
 
+# Unless opt_silent is true, then output CMD.  Then, if opt_dryrun is
44397
 
+# not true, evaluate CMD.  If the evaluation of CMD fails, and FAIL_EXP
44398
 
+# is given, then evaluate it.
44399
 
+func_show_eval ()
44400
 
 {
44401
 
-    f_ex_an_ar_dir="$1"; shift
44402
 
-    f_ex_an_ar_oldlib="$1"
44403
 
+    my_cmd="$1"
44404
 
+    my_fail_exp="${2-:}"
44405
 
 
44406
 
-    $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)"
44407
 
-    $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $?
44408
 
-    if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
44409
 
-     :
44410
 
-    else
44411
 
-      $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2
44412
 
-      exit $EXIT_FAILURE
44413
 
+    ${opt_silent-false} || {
44414
 
+      func_quote_for_expand "$my_cmd"
44415
 
+      eval "func_echo $func_quote_for_expand_result"
44416
 
+    }
44417
 
+
44418
 
+    if ${opt_dry_run-false}; then :; else
44419
 
+      eval "$my_cmd"
44420
 
+      my_status=$?
44421
 
+      if test "$my_status" -eq 0; then :; else
44422
 
+       eval "(exit $my_status); $my_fail_exp"
44423
 
+      fi
44424
 
     fi
44425
 
 }
44426
 
 
44427
 
-# func_extract_archives gentop oldlib ...
44428
 
-func_extract_archives ()
44429
 
+
44430
 
+# func_show_eval_locale cmd [fail_exp]
44431
 
+# Unless opt_silent is true, then output CMD.  Then, if opt_dryrun is
44432
 
+# not true, evaluate CMD.  If the evaluation of CMD fails, and FAIL_EXP
44433
 
+# is given, then evaluate it.  Use the saved locale for evaluation.
44434
 
+func_show_eval_locale ()
44435
 
 {
44436
 
-    my_gentop="$1"; shift
44437
 
-    my_oldlibs=${1+"$@"}
44438
 
-    my_oldobjs=""
44439
 
-    my_xlib=""
44440
 
-    my_xabs=""
44441
 
-    my_xdir=""
44442
 
-    my_status=""
44443
 
+    my_cmd="$1"
44444
 
+    my_fail_exp="${2-:}"
44445
 
+
44446
 
+    ${opt_silent-false} || {
44447
 
+      func_quote_for_expand "$my_cmd"
44448
 
+      eval "func_echo $func_quote_for_expand_result"
44449
 
+    }
44450
 
 
44451
 
-    $show "${rm}r $my_gentop"
44452
 
-    $run ${rm}r "$my_gentop"
44453
 
-    $show "$mkdir $my_gentop"
44454
 
-    $run $mkdir "$my_gentop"
44455
 
-    my_status=$?
44456
 
-    if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then
44457
 
-      exit $my_status
44458
 
+    if ${opt_dry_run-false}; then :; else
44459
 
+      eval "$lt_user_locale
44460
 
+           $my_cmd"
44461
 
+      my_status=$?
44462
 
+      eval "$lt_safe_locale"
44463
 
+      if test "$my_status" -eq 0; then :; else
44464
 
+       eval "(exit $my_status); $my_fail_exp"
44465
 
+      fi
44466
 
     fi
44467
 
+}
44468
 
 
44469
 
-    for my_xlib in $my_oldlibs; do
44470
 
-      # Extract the objects.
44471
 
-      case $my_xlib in
44472
 
-       [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
44473
 
-       *) my_xabs=`pwd`"/$my_xlib" ;;
44474
 
-      esac
44475
 
-      my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'`
44476
 
-      my_xlib_u=$my_xlib
44477
 
-      while :; do
44478
 
-        case " $extracted_archives " in
44479
 
-       *" $my_xlib_u "*)
44480
 
-         extracted_serial=`expr $extracted_serial + 1`
44481
 
-         my_xlib_u=lt$extracted_serial-$my_xlib ;;
44482
 
-       *) break ;;
44483
 
-       esac
44484
 
-      done
44485
 
-      extracted_archives="$extracted_archives $my_xlib_u"
44486
 
-      my_xdir="$my_gentop/$my_xlib_u"
44487
 
 
44488
 
-      $show "${rm}r $my_xdir"
44489
 
-      $run ${rm}r "$my_xdir"
44490
 
-      $show "$mkdir $my_xdir"
44491
 
-      $run $mkdir "$my_xdir"
44492
 
-      exit_status=$?
44493
 
-      if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then
44494
 
-       exit $exit_status
44495
 
-      fi
44496
 
-      case $host in
44497
 
-      *-darwin*)
44498
 
-       $show "Extracting $my_xabs"
44499
 
-       # Do not bother doing anything if just a dry run
44500
 
-       if test -z "$run"; then
44501
 
-         darwin_orig_dir=`pwd`
44502
 
-         cd $my_xdir || exit $?
44503
 
-         darwin_archive=$my_xabs
44504
 
-         darwin_curdir=`pwd`
44505
 
-         darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'`
44506
 
-         darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null`
44507
 
-         if test -n "$darwin_arches"; then 
44508
 
-           darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'`
44509
 
-           darwin_arch=
44510
 
-           $show "$darwin_base_archive has multiple architectures $darwin_arches"
44511
 
-           for darwin_arch in  $darwin_arches ; do
44512
 
-             mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
44513
 
-             lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
44514
 
-             cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
44515
 
-             func_extract_an_archive "`pwd`" "${darwin_base_archive}"
44516
 
-             cd "$darwin_curdir"
44517
 
-             $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
44518
 
-           done # $darwin_arches
44519
 
-      ## Okay now we have a bunch of thin objects, gotta fatten them up :)
44520
 
-           darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP`
44521
 
-           darwin_file=
44522
 
-           darwin_files=
44523
 
-           for darwin_file in $darwin_filelist; do
44524
 
-             darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
44525
 
-             lipo -create -output "$darwin_file" $darwin_files
44526
 
-           done # $darwin_filelist
44527
 
-           ${rm}r unfat-$$
44528
 
-           cd "$darwin_orig_dir"
44529
 
-         else
44530
 
-           cd "$darwin_orig_dir"
44531
 
-           func_extract_an_archive "$my_xdir" "$my_xabs"
44532
 
-         fi # $darwin_arches
44533
 
-       fi # $run
44534
 
-       ;;
44535
 
-      *)
44536
 
-        func_extract_an_archive "$my_xdir" "$my_xabs"
44537
 
-        ;;
44538
 
-      esac
44539
 
-      my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
44540
 
-    done
44541
 
-    func_extract_archives_result="$my_oldobjs"
44542
 
+
44543
 
+
44544
 
+
44545
 
+# func_version
44546
 
+# Echo version message to standard output and exit.
44547
 
+func_version ()
44548
 
+{
44549
 
+    $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / {
44550
 
+        s/^# //
44551
 
+       s/^# *$//
44552
 
+        s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/
44553
 
+        p
44554
 
+     }' < "$progpath"
44555
 
+     exit $?
44556
 
+}
44557
 
+
44558
 
+# func_usage
44559
 
+# Echo short help message to standard output and exit.
44560
 
+func_usage ()
44561
 
+{
44562
 
+    $SED -n '/^# Usage:/,/# -h/ {
44563
 
+        s/^# //
44564
 
+       s/^# *$//
44565
 
+       s/\$progname/'$progname'/
44566
 
+       p
44567
 
+    }' < "$progpath"
44568
 
+    $ECHO
44569
 
+    $ECHO "run \`$progname --help | more' for full usage"
44570
 
+    exit $?
44571
 
+}
44572
 
+
44573
 
+# func_help
44574
 
+# Echo long help message to standard output and exit.
44575
 
+func_help ()
44576
 
+{
44577
 
+    $SED -n '/^# Usage:/,/# Report bugs to/ {
44578
 
+        s/^# //
44579
 
+       s/^# *$//
44580
 
+       s*\$progname*'$progname'*
44581
 
+       s*\$host*'"$host"'*
44582
 
+       s*\$SHELL*'"$SHELL"'*
44583
 
+       s*\$LTCC*'"$LTCC"'*
44584
 
+       s*\$LTCFLAGS*'"$LTCFLAGS"'*
44585
 
+       s*\$LD*'"$LD"'*
44586
 
+       s/\$with_gnu_ld/'"$with_gnu_ld"'/
44587
 
+       s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
44588
 
+       s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
44589
 
+       p
44590
 
+     }' < "$progpath"
44591
 
+    exit $?
44592
 
+}
44593
 
+
44594
 
+# func_missing_arg argname
44595
 
+# Echo program name prefixed message to standard error and set global
44596
 
+# exit_cmd.
44597
 
+func_missing_arg ()
44598
 
+{
44599
 
+    func_error "missing argument for $1"
44600
 
+    exit_cmd=exit
44601
 
 }
44602
 
-# End of Shell function definitions
44603
 
-#####################################
44604
 
 
44605
 
-# Darwin sucks
44606
 
-eval std_shrext=\"$shrext_cmds\"
44607
 
+exit_cmd=:
44608
 
 
44609
 
-disable_libs=no
44610
 
 
44611
 
-# Parse our command line options once, thoroughly.
44612
 
-while test "$#" -gt 0
44613
 
-do
44614
 
-  arg="$1"
44615
 
+
44616
 
+
44617
 
+
44618
 
+# Check that we have a working $ECHO.
44619
 
+if test "X$1" = X--no-reexec; then
44620
 
+  # Discard the --no-reexec flag, and continue.
44621
 
   shift
44622
 
+elif test "X$1" = X--fallback-echo; then
44623
 
+  # Avoid inline document here, it may be left over
44624
 
+  :
44625
 
+elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then
44626
 
+  # Yippee, $ECHO works!
44627
 
+  :
44628
 
+else
44629
 
+  # Restart under the correct shell, and then maybe $ECHO will work.
44630
 
+  exec $SHELL "$progpath" --no-reexec ${1+"$@"}
44631
 
+fi
44632
 
 
44633
 
-  case $arg in
44634
 
-  -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
44635
 
-  *) optarg= ;;
44636
 
-  esac
44637
 
+if test "X$1" = X--fallback-echo; then
44638
 
+  # used as fallback echo
44639
 
+  shift
44640
 
+  cat <<EOF
44641
 
+$*
44642
 
+EOF
44643
 
+  exit $EXIT_SUCCESS
44644
 
+fi
44645
 
 
44646
 
-  # If the previous option needs an argument, assign it.
44647
 
-  if test -n "$prev"; then
44648
 
-    case $prev in
44649
 
-    execute_dlfiles)
44650
 
-      execute_dlfiles="$execute_dlfiles $arg"
44651
 
-      ;;
44652
 
-    tag)
44653
 
-      tagname="$arg"
44654
 
-      preserve_args="${preserve_args}=$arg"
44655
 
-
44656
 
-      # Check whether tagname contains only valid characters
44657
 
-      case $tagname in
44658
 
-      *[!-_A-Za-z0-9,/]*)
44659
 
-       $echo "$progname: invalid tag name: $tagname" 1>&2
44660
 
-       exit $EXIT_FAILURE
44661
 
-       ;;
44662
 
-      esac
44663
 
+magic="%%%MAGIC variable%%%"
44664
 
+magic_exe="%%%MAGIC EXE variable%%%"
44665
 
 
44666
 
-      case $tagname in
44667
 
-      CC)
44668
 
-       # Don't test for the "default" C tag, as we know, it's there, but
44669
 
-       # not specially marked.
44670
 
-       ;;
44671
 
-      *)
44672
 
-       if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then
44673
 
-         taglist="$taglist $tagname"
44674
 
-         # Evaluate the configuration.
44675
 
-         eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`"
44676
 
-       else
44677
 
-         $echo "$progname: ignoring unknown tag $tagname" 1>&2
44678
 
-       fi
44679
 
-       ;;
44680
 
-      esac
44681
 
-      ;;
44682
 
-    *)
44683
 
-      eval "$prev=\$arg"
44684
 
-      ;;
44685
 
-    esac
44686
 
+# Global variables.
44687
 
+# $mode is unset
44688
 
+nonopt=
44689
 
+execute_dlfiles=
44690
 
+preserve_args=
44691
 
+lo2o="s/\\.lo\$/.${objext}/"
44692
 
+o2lo="s/\\.${objext}\$/.lo/"
44693
 
+extracted_archives=
44694
 
+extracted_serial=0
44695
 
 
44696
 
-    prev=
44697
 
-    prevopt=
44698
 
-    continue
44699
 
-  fi
44700
 
+opt_dry_run=false
44701
 
+opt_duplicate_deps=false
44702
 
+opt_silent=false
44703
 
+opt_debug=:
44704
 
 
44705
 
-  # Have we seen a non-optional argument yet?
44706
 
-  case $arg in
44707
 
-  --help)
44708
 
-    show_help=yes
44709
 
-    ;;
44710
 
+# If this variable is set in any of the actions, the command in it
44711
 
+# will be execed at the end.  This prevents here-documents from being
44712
 
+# left over by shells.
44713
 
+exec_cmd=
44714
 
 
44715
 
-  --version)
44716
 
-    echo "\
44717
 
-$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP
44718
 
-
44719
 
-Copyright (C) 2008  Free Software Foundation, Inc.
44720
 
-This is free software; see the source for copying conditions.  There is NO
44721
 
-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
44722
 
-    exit $?
44723
 
-    ;;
44724
 
+# func_fatal_configuration arg...
44725
 
+# Echo program name prefixed message to standard error, followed by
44726
 
+# a configuration failure hint, and exit.
44727
 
+func_fatal_configuration ()
44728
 
+{
44729
 
+    func_error ${1+"$@"}
44730
 
+    func_error "See the $PACKAGE documentation for more information."
44731
 
+    func_fatal_error "Fatal configuration error."
44732
 
+}
44733
 
+
44734
 
+
44735
 
+# func_config
44736
 
+# Display the configuration for all the tags in this script.
44737
 
+func_config ()
44738
 
+{
44739
 
+    re_begincf='^# ### BEGIN LIBTOOL'
44740
 
+    re_endcf='^# ### END LIBTOOL'
44741
 
+
44742
 
+    # Default configuration.
44743
 
+    $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
44744
 
 
44745
 
-  --config)
44746
 
-    ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath
44747
 
     # Now print the configurations for the tags.
44748
 
     for tagname in $taglist; do
44749
 
-      ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
44750
 
+      $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
44751
 
     done
44752
 
-    exit $?
44753
 
-    ;;
44754
 
-
44755
 
-  --debug)
44756
 
-    $echo "$progname: enabling shell trace mode"
44757
 
-    set -x
44758
 
-    preserve_args="$preserve_args $arg"
44759
 
-    ;;
44760
 
 
44761
 
-  --dry-run | -n)
44762
 
-    run=:
44763
 
-    ;;
44764
 
+    exit $?
44765
 
+}
44766
 
 
44767
 
-  --features)
44768
 
-    $echo "host: $host"
44769
 
+# func_features
44770
 
+# Display the features supported by this script.
44771
 
+func_features ()
44772
 
+{
44773
 
+    $ECHO "host: $host"
44774
 
     if test "$build_libtool_libs" = yes; then
44775
 
-      $echo "enable shared libraries"
44776
 
+      $ECHO "enable shared libraries"
44777
 
     else
44778
 
-      $echo "disable shared libraries"
44779
 
+      $ECHO "disable shared libraries"
44780
 
     fi
44781
 
     if test "$build_old_libs" = yes; then
44782
 
-      $echo "enable static libraries"
44783
 
+      $ECHO "enable static libraries"
44784
 
     else
44785
 
-      $echo "disable static libraries"
44786
 
+      $ECHO "disable static libraries"
44787
 
     fi
44788
 
+
44789
 
     exit $?
44790
 
-    ;;
44791
 
+}
44792
 
 
44793
 
-  --finish) mode="finish" ;;
44794
 
+# func_enable_tag tagname
44795
 
+# Verify that TAGNAME is valid, and either flag an error and exit, or
44796
 
+# enable the TAGNAME tag.  We also add TAGNAME to the global $taglist
44797
 
+# variable here.
44798
 
+func_enable_tag ()
44799
 
+{
44800
 
+  # Global variable:
44801
 
+  tagname="$1"
44802
 
+
44803
 
+  re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$"
44804
 
+  re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$"
44805
 
+  sed_extractcf="/$re_begincf/,/$re_endcf/p"
44806
 
+
44807
 
+  # Validate tagname.
44808
 
+  case $tagname in
44809
 
+    *[!-_A-Za-z0-9,/]*)
44810
 
+      func_fatal_error "invalid tag name: $tagname"
44811
 
+      ;;
44812
 
+  esac
44813
 
 
44814
 
-  --mode) prevopt="--mode" prev=mode ;;
44815
 
-  --mode=*) mode="$optarg" ;;
44816
 
+  # Don't test for the "default" C tag, as we know it's
44817
 
+  # there but not specially marked.
44818
 
+  case $tagname in
44819
 
+    CC) ;;
44820
 
+    *)
44821
 
+      if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
44822
 
+       taglist="$taglist $tagname"
44823
 
 
44824
 
-  --preserve-dup-deps) duplicate_deps="yes" ;;
44825
 
+       # Evaluate the configuration.  Be careful to quote the path
44826
 
+       # and the sed script, to avoid splitting on whitespace, but
44827
 
+       # also don't use non-portable quotes within backquotes within
44828
 
+       # quotes we have to do it in 2 steps:
44829
 
+       extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
44830
 
+       eval "$extractedcf"
44831
 
+      else
44832
 
+       func_error "ignoring unknown tag $tagname"
44833
 
+      fi
44834
 
+      ;;
44835
 
+  esac
44836
 
+}
44837
 
 
44838
 
-  --quiet | --silent)
44839
 
-    show=:
44840
 
-    preserve_args="$preserve_args $arg"
44841
 
-    ;;
44842
 
+# Parse options once, thoroughly.  This comes as soon as possible in
44843
 
+# the script to make things like `libtool --version' happen quickly.
44844
 
+{
44845
 
 
44846
 
-  --tag)
44847
 
-    prevopt="--tag"
44848
 
-    prev=tag
44849
 
-    preserve_args="$preserve_args --tag"
44850
 
+  # Shorthand for --mode=foo, only valid as the first argument
44851
 
+  case $1 in
44852
 
+  clean|clea|cle|cl)
44853
 
+    shift; set dummy --mode clean ${1+"$@"}; shift
44854
 
     ;;
44855
 
-  --tag=*)
44856
 
-    set tag "$optarg" ${1+"$@"}
44857
 
-    shift
44858
 
-    prev=tag
44859
 
-    preserve_args="$preserve_args --tag"
44860
 
+  compile|compil|compi|comp|com|co|c)
44861
 
+    shift; set dummy --mode compile ${1+"$@"}; shift
44862
 
     ;;
44863
 
-
44864
 
-  -dlopen)
44865
 
-    prevopt="-dlopen"
44866
 
-    prev=execute_dlfiles
44867
 
+  execute|execut|execu|exec|exe|ex|e)
44868
 
+    shift; set dummy --mode execute ${1+"$@"}; shift
44869
 
     ;;
44870
 
-
44871
 
-  -*)
44872
 
-    $echo "$modename: unrecognized option \`$arg'" 1>&2
44873
 
-    $echo "$help" 1>&2
44874
 
-    exit $EXIT_FAILURE
44875
 
+  finish|finis|fini|fin|fi|f)
44876
 
+    shift; set dummy --mode finish ${1+"$@"}; shift
44877
 
     ;;
44878
 
-
44879
 
-  *)
44880
 
-    nonopt="$arg"
44881
 
-    break
44882
 
+  install|instal|insta|inst|ins|in|i)
44883
 
+    shift; set dummy --mode install ${1+"$@"}; shift
44884
 
+    ;;
44885
 
+  link|lin|li|l)
44886
 
+    shift; set dummy --mode link ${1+"$@"}; shift
44887
 
+    ;;
44888
 
+  uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
44889
 
+    shift; set dummy --mode uninstall ${1+"$@"}; shift
44890
 
     ;;
44891
 
   esac
44892
 
-done
44893
 
 
44894
 
-if test -n "$prevopt"; then
44895
 
-  $echo "$modename: option \`$prevopt' requires an argument" 1>&2
44896
 
-  $echo "$help" 1>&2
44897
 
-  exit $EXIT_FAILURE
44898
 
-fi
44899
 
+  # Parse non-mode specific arguments:
44900
 
+  while test "$#" -gt 0; do
44901
 
+    opt="$1"
44902
 
+    shift
44903
 
 
44904
 
-case $disable_libs in
44905
 
-no) 
44906
 
-  ;;
44907
 
-shared)
44908
 
-  build_libtool_libs=no
44909
 
-  build_old_libs=yes
44910
 
-  ;;
44911
 
-static)
44912
 
-  build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
44913
 
-  ;;
44914
 
-esac
44915
 
+    case $opt in
44916
 
+      --config)                func_config                                     ;;
44917
 
 
44918
 
-# If this variable is set in any of the actions, the command in it
44919
 
-# will be execed at the end.  This prevents here-documents from being
44920
 
-# left over by shells.
44921
 
-exec_cmd=
44922
 
+      --debug)         preserve_args="$preserve_args $opt"
44923
 
+                       func_echo "enabling shell trace mode"
44924
 
+                       opt_debug='set -x'
44925
 
+                       $opt_debug
44926
 
+                       ;;
44927
 
 
44928
 
-if test -z "$show_help"; then
44929
 
+      -dlopen)         test "$#" -eq 0 && func_missing_arg "$opt" && break
44930
 
+                       execute_dlfiles="$execute_dlfiles $1"
44931
 
+                       shift
44932
 
+                       ;;
44933
 
 
44934
 
-  # Infer the operation mode.
44935
 
-  if test -z "$mode"; then
44936
 
-    $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
44937
 
-    $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2
44938
 
-    case $nonopt in
44939
 
-    *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*)
44940
 
-      mode=link
44941
 
-      for arg
44942
 
-      do
44943
 
-       case $arg in
44944
 
-       -c)
44945
 
-          mode=compile
44946
 
-          break
44947
 
-          ;;
44948
 
-       esac
44949
 
-      done
44950
 
-      ;;
44951
 
-    *db | *dbx | *strace | *truss)
44952
 
-      mode=execute
44953
 
-      ;;
44954
 
-    *install*|cp|mv)
44955
 
-      mode=install
44956
 
-      ;;
44957
 
-    *rm)
44958
 
-      mode=uninstall
44959
 
+      --dry-run | -n)  opt_dry_run=:                                   ;;
44960
 
+      --features)       func_features                                  ;;
44961
 
+      --finish)                mode="finish"                                   ;;
44962
 
+
44963
 
+      --mode)          test "$#" -eq 0 && func_missing_arg "$opt" && break
44964
 
+                       case $1 in
44965
 
+                         # Valid mode arguments:
44966
 
+                         clean)        ;;
44967
 
+                         compile)      ;;
44968
 
+                         execute)      ;;
44969
 
+                         finish)       ;;
44970
 
+                         install)      ;;
44971
 
+                         link)         ;;
44972
 
+                         relink)       ;;
44973
 
+                         uninstall)    ;;
44974
 
+
44975
 
+                         # Catch anything else as an error
44976
 
+                         *) func_error "invalid argument for $opt"
44977
 
+                            exit_cmd=exit
44978
 
+                            break
44979
 
+                            ;;
44980
 
+                       esac
44981
 
+
44982
 
+                       mode="$1"
44983
 
+                       shift
44984
 
+                       ;;
44985
 
+
44986
 
+      --preserve-dup-deps)
44987
 
+                       opt_duplicate_deps=:                            ;;
44988
 
+
44989
 
+      --quiet|--silent)        preserve_args="$preserve_args $opt"
44990
 
+                       opt_silent=:
44991
 
+                       ;;
44992
 
+
44993
 
+      --verbose| -v)   preserve_args="$preserve_args $opt"
44994
 
+                       opt_silent=false
44995
 
+                       ;;
44996
 
+
44997
 
+      --tag)           test "$#" -eq 0 && func_missing_arg "$opt" && break
44998
 
+                       preserve_args="$preserve_args $opt $1"
44999
 
+                       func_enable_tag "$1"    # tagname is set here
45000
 
+                       shift
45001
 
+                       ;;
45002
 
+
45003
 
+      # Separate optargs to long options:
45004
 
+      -dlopen=*|--mode=*|--tag=*)
45005
 
+                       func_opt_split "$opt"
45006
 
+                       set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"}
45007
 
+                       shift
45008
 
+                       ;;
45009
 
+
45010
 
+      -\?|-h)          func_usage                                      ;;
45011
 
+      --help)          opt_help=:                                      ;;
45012
 
+      --version)       func_version                                    ;;
45013
 
+
45014
 
+      -*)              func_fatal_help "unrecognized option \`$opt'"   ;;
45015
 
+
45016
 
+      *)               nonopt="$opt"
45017
 
+                       break
45018
 
+                       ;;
45019
 
+    esac
45020
 
+  done
45021
 
+
45022
 
+
45023
 
+  case $host in
45024
 
+    *cygwin* | *mingw* | *pw32* | *cegcc*)
45025
 
+      # don't eliminate duplications in $postdeps and $predeps
45026
 
+      opt_duplicate_compiler_generated_deps=:
45027
 
       ;;
45028
 
     *)
45029
 
-      # If we have no mode, but dlfiles were specified, then do execute mode.
45030
 
-      test -n "$execute_dlfiles" && mode=execute
45031
 
+      opt_duplicate_compiler_generated_deps=$opt_duplicate_deps
45032
 
+      ;;
45033
 
+  esac
45034
 
 
45035
 
-      # Just use the default operation mode.
45036
 
-      if test -z "$mode"; then
45037
 
-       if test -n "$nonopt"; then
45038
 
-         $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2
45039
 
-       else
45040
 
-         $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2
45041
 
-       fi
45042
 
+  # Having warned about all mis-specified options, bail out if
45043
 
+  # anything was wrong.
45044
 
+  $exit_cmd $EXIT_FAILURE
45045
 
+}
45046
 
+
45047
 
+# func_check_version_match
45048
 
+# Ensure that we are using m4 macros, and libtool script from the same
45049
 
+# release of libtool.
45050
 
+func_check_version_match ()
45051
 
+{
45052
 
+  if test "$package_revision" != "$macro_revision"; then
45053
 
+    if test "$VERSION" != "$macro_version"; then
45054
 
+      if test -z "$macro_version"; then
45055
 
+        cat >&2 <<_LT_EOF
45056
 
+$progname: Version mismatch error.  This is $PACKAGE $VERSION, but the
45057
 
+$progname: definition of this LT_INIT comes from an older release.
45058
 
+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
45059
 
+$progname: and run autoconf again.
45060
 
+_LT_EOF
45061
 
+      else
45062
 
+        cat >&2 <<_LT_EOF
45063
 
+$progname: Version mismatch error.  This is $PACKAGE $VERSION, but the
45064
 
+$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
45065
 
+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
45066
 
+$progname: and run autoconf again.
45067
 
+_LT_EOF
45068
 
       fi
45069
 
-      ;;
45070
 
-    esac
45071
 
+    else
45072
 
+      cat >&2 <<_LT_EOF
45073
 
+$progname: Version mismatch error.  This is $PACKAGE $VERSION, revision $package_revision,
45074
 
+$progname: but the definition of this LT_INIT comes from revision $macro_revision.
45075
 
+$progname: You should recreate aclocal.m4 with macros from revision $package_revision
45076
 
+$progname: of $PACKAGE $VERSION and run autoconf again.
45077
 
+_LT_EOF
45078
 
+    fi
45079
 
+
45080
 
+    exit $EXIT_MISMATCH
45081
 
+  fi
45082
 
+}
45083
 
+
45084
 
+
45085
 
+## ----------- ##
45086
 
+##    Main.    ##
45087
 
+## ----------- ##
45088
 
+
45089
 
+$opt_help || {
45090
 
+  # Sanity checks first:
45091
 
+  func_check_version_match
45092
 
+
45093
 
+  if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
45094
 
+    func_fatal_configuration "not configured to build any kind of library"
45095
 
   fi
45096
 
 
45097
 
+  test -z "$mode" && func_fatal_error "error: you must specify a MODE."
45098
 
+
45099
 
+
45100
 
+  # Darwin sucks
45101
 
+  eval std_shrext=\"$shrext_cmds\"
45102
 
+
45103
 
+
45104
 
   # Only execute mode is allowed to have -dlopen flags.
45105
 
   if test -n "$execute_dlfiles" && test "$mode" != execute; then
45106
 
-    $echo "$modename: unrecognized option \`-dlopen'" 1>&2
45107
 
-    $echo "$help" 1>&2
45108
 
+    func_error "unrecognized option \`-dlopen'"
45109
 
+    $ECHO "$help" 1>&2
45110
 
     exit $EXIT_FAILURE
45111
 
   fi
45112
 
 
45113
 
   # Change the help message to a mode-specific one.
45114
 
   generic_help="$help"
45115
 
-  help="Try \`$modename --help --mode=$mode' for more information."
45116
 
+  help="Try \`$progname --help --mode=$mode' for more information."
45117
 
+}
45118
 
 
45119
 
-  # These modes are in order of execution frequency so that they run quickly.
45120
 
-  case $mode in
45121
 
-  # libtool compile mode
45122
 
-  compile)
45123
 
-    modename="$modename: compile"
45124
 
-    # Get the compilation command and the source file.
45125
 
-    base_compile=
45126
 
-    srcfile="$nonopt"  #  always keep a non-empty value in "srcfile"
45127
 
-    suppress_opt=yes
45128
 
-    suppress_output=
45129
 
-    arg_mode=normal
45130
 
-    libobj=
45131
 
-    later=
45132
 
 
45133
 
-    for arg
45134
 
-    do
45135
 
-      case $arg_mode in
45136
 
-      arg  )
45137
 
-       # do not "continue".  Instead, add this to base_compile
45138
 
-       lastarg="$arg"
45139
 
-       arg_mode=normal
45140
 
-       ;;
45141
 
+# func_lalib_p file
45142
 
+# True iff FILE is a libtool `.la' library or `.lo' object file.
45143
 
+# This function is only a basic sanity check; it will hardly flush out
45144
 
+# determined imposters.
45145
 
+func_lalib_p ()
45146
 
+{
45147
 
+    test -f "$1" &&
45148
 
+      $SED -e 4q "$1" 2>/dev/null \
45149
 
+        | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
45150
 
+}
45151
 
 
45152
 
-      target )
45153
 
-       libobj="$arg"
45154
 
-       arg_mode=normal
45155
 
-       continue
45156
 
-       ;;
45157
 
+# func_lalib_unsafe_p file
45158
 
+# True iff FILE is a libtool `.la' library or `.lo' object file.
45159
 
+# This function implements the same check as func_lalib_p without
45160
 
+# resorting to external programs.  To this end, it redirects stdin and
45161
 
+# closes it afterwards, without saving the original file descriptor.
45162
 
+# As a safety measure, use it only where a negative result would be
45163
 
+# fatal anyway.  Works if `file' does not exist.
45164
 
+func_lalib_unsafe_p ()
45165
 
+{
45166
 
+    lalib_p=no
45167
 
+    if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then
45168
 
+       for lalib_p_l in 1 2 3 4
45169
 
+       do
45170
 
+           read lalib_p_line
45171
 
+           case "$lalib_p_line" in
45172
 
+               \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;;
45173
 
+           esac
45174
 
+       done
45175
 
+       exec 0<&5 5<&-
45176
 
+    fi
45177
 
+    test "$lalib_p" = yes
45178
 
+}
45179
 
 
45180
 
-      normal )
45181
 
-       # Accept any command-line options.
45182
 
-       case $arg in
45183
 
-       -o)
45184
 
-         if test -n "$libobj" ; then
45185
 
-           $echo "$modename: you cannot specify \`-o' more than once" 1>&2
45186
 
-           exit $EXIT_FAILURE
45187
 
-         fi
45188
 
-         arg_mode=target
45189
 
-         continue
45190
 
-         ;;
45191
 
+# func_ltwrapper_script_p file
45192
 
+# True iff FILE is a libtool wrapper script
45193
 
+# This function is only a basic sanity check; it will hardly flush out
45194
 
+# determined imposters.
45195
 
+func_ltwrapper_script_p ()
45196
 
+{
45197
 
+    func_lalib_p "$1"
45198
 
+}
45199
 
 
45200
 
-       -static | -prefer-pic | -prefer-non-pic)
45201
 
-         later="$later $arg"
45202
 
-         continue
45203
 
-         ;;
45204
 
+# func_ltwrapper_executable_p file
45205
 
+# True iff FILE is a libtool wrapper executable
45206
 
+# This function is only a basic sanity check; it will hardly flush out
45207
 
+# determined imposters.
45208
 
+func_ltwrapper_executable_p ()
45209
 
+{
45210
 
+    func_ltwrapper_exec_suffix=
45211
 
+    case $1 in
45212
 
+    *.exe) ;;
45213
 
+    *) func_ltwrapper_exec_suffix=.exe ;;
45214
 
+    esac
45215
 
+    $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1
45216
 
+}
45217
 
+
45218
 
+# func_ltwrapper_scriptname file
45219
 
+# Assumes file is an ltwrapper_executable
45220
 
+# uses $file to determine the appropriate filename for a
45221
 
+# temporary ltwrapper_script.
45222
 
+func_ltwrapper_scriptname ()
45223
 
+{
45224
 
+    func_ltwrapper_scriptname_result=""
45225
 
+    if func_ltwrapper_executable_p "$1"; then
45226
 
+       func_dirname_and_basename "$1" "" "."
45227
 
+       func_stripname '' '.exe' "$func_basename_result"
45228
 
+       func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
45229
 
+    fi
45230
 
+}
45231
 
+
45232
 
+# func_ltwrapper_p file
45233
 
+# True iff FILE is a libtool wrapper script or wrapper executable
45234
 
+# This function is only a basic sanity check; it will hardly flush out
45235
 
+# determined imposters.
45236
 
+func_ltwrapper_p ()
45237
 
+{
45238
 
+    func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1"
45239
 
+}
45240
 
+
45241
 
+
45242
 
+# func_execute_cmds commands fail_cmd
45243
 
+# Execute tilde-delimited COMMANDS.
45244
 
+# If FAIL_CMD is given, eval that upon failure.
45245
 
+# FAIL_CMD may read-access the current command in variable CMD!
45246
 
+func_execute_cmds ()
45247
 
+{
45248
 
+    $opt_debug
45249
 
+    save_ifs=$IFS; IFS='~'
45250
 
+    for cmd in $1; do
45251
 
+      IFS=$save_ifs
45252
 
+      eval cmd=\"$cmd\"
45253
 
+      func_show_eval "$cmd" "${2-:}"
45254
 
+    done
45255
 
+    IFS=$save_ifs
45256
 
+}
45257
 
+
45258
 
+
45259
 
+# func_source file
45260
 
+# Source FILE, adding directory component if necessary.
45261
 
+# Note that it is not necessary on cygwin/mingw to append a dot to
45262
 
+# FILE even if both FILE and FILE.exe exist: automatic-append-.exe
45263
 
+# behavior happens only for exec(3), not for open(2)!  Also, sourcing
45264
 
+# `FILE.' does not work on cygwin managed mounts.
45265
 
+func_source ()
45266
 
+{
45267
 
+    $opt_debug
45268
 
+    case $1 in
45269
 
+    */* | *\\*)        . "$1" ;;
45270
 
+    *)         . "./$1" ;;
45271
 
+    esac
45272
 
+}
45273
 
+
45274
 
+
45275
 
+# func_infer_tag arg
45276
 
+# Infer tagged configuration to use if any are available and
45277
 
+# if one wasn't chosen via the "--tag" command line option.
45278
 
+# Only attempt this if the compiler in the base compile
45279
 
+# command doesn't match the default compiler.
45280
 
+# arg is usually of the form 'gcc ...'
45281
 
+func_infer_tag ()
45282
 
+{
45283
 
+    $opt_debug
45284
 
+    if test -n "$available_tags" && test -z "$tagname"; then
45285
 
+      CC_quoted=
45286
 
+      for arg in $CC; do
45287
 
+        func_quote_for_eval "$arg"
45288
 
+       CC_quoted="$CC_quoted $func_quote_for_eval_result"
45289
 
+      done
45290
 
+      case $@ in
45291
 
+      # Blanks in the command may have been stripped by the calling shell,
45292
 
+      # but not from the CC environment variable when configure was run.
45293
 
+      " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;;
45294
 
+      # Blanks at the start of $base_compile will cause this to fail
45295
 
+      # if we don't check for them as well.
45296
 
+      *)
45297
 
+       for z in $available_tags; do
45298
 
+         if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
45299
 
+           # Evaluate the configuration.
45300
 
+           eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
45301
 
+           CC_quoted=
45302
 
+           for arg in $CC; do
45303
 
+             # Double-quote args containing other shell metacharacters.
45304
 
+             func_quote_for_eval "$arg"
45305
 
+             CC_quoted="$CC_quoted $func_quote_for_eval_result"
45306
 
+           done
45307
 
+           case "$@ " in
45308
 
+             " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*)
45309
 
+             # The compiler in the base compile command matches
45310
 
+             # the one in the tagged configuration.
45311
 
+             # Assume this is the tagged configuration we want.
45312
 
+             tagname=$z
45313
 
+             break
45314
 
+             ;;
45315
 
+           esac
45316
 
+         fi
45317
 
+       done
45318
 
+       # If $tagname still isn't set, then no tagged configuration
45319
 
+       # was found and let the user know that the "--tag" command
45320
 
+       # line option must be used.
45321
 
+       if test -z "$tagname"; then
45322
 
+         func_echo "unable to infer tagged configuration"
45323
 
+         func_fatal_error "specify a tag with \`--tag'"
45324
 
+#      else
45325
 
+#        func_verbose "using $tagname tagged configuration"
45326
 
+       fi
45327
 
+       ;;
45328
 
+      esac
45329
 
+    fi
45330
 
+}
45331
 
+
45332
 
+
45333
 
+
45334
 
+# func_write_libtool_object output_name pic_name nonpic_name
45335
 
+# Create a libtool object file (analogous to a ".la" file),
45336
 
+# but don't create it if we're doing a dry run.
45337
 
+func_write_libtool_object ()
45338
 
+{
45339
 
+    write_libobj=${1}
45340
 
+    if test "$build_libtool_libs" = yes; then
45341
 
+      write_lobj=\'${2}\'
45342
 
+    else
45343
 
+      write_lobj=none
45344
 
+    fi
45345
 
+
45346
 
+    if test "$build_old_libs" = yes; then
45347
 
+      write_oldobj=\'${3}\'
45348
 
+    else
45349
 
+      write_oldobj=none
45350
 
+    fi
45351
 
+
45352
 
+    $opt_dry_run || {
45353
 
+      cat >${write_libobj}T <<EOF
45354
 
+# $write_libobj - a libtool object file
45355
 
+# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
45356
 
+#
45357
 
+# Please DO NOT delete this file!
45358
 
+# It is necessary for linking the library.
45359
 
+
45360
 
+# Name of the PIC object.
45361
 
+pic_object=$write_lobj
45362
 
+
45363
 
+# Name of the non-PIC object
45364
 
+non_pic_object=$write_oldobj
45365
 
+
45366
 
+EOF
45367
 
+      $MV "${write_libobj}T" "${write_libobj}"
45368
 
+    }
45369
 
+}
45370
 
+
45371
 
+# func_mode_compile arg...
45372
 
+func_mode_compile ()
45373
 
+{
45374
 
+    $opt_debug
45375
 
+    # Get the compilation command and the source file.
45376
 
+    base_compile=
45377
 
+    srcfile="$nonopt"  #  always keep a non-empty value in "srcfile"
45378
 
+    suppress_opt=yes
45379
 
+    suppress_output=
45380
 
+    arg_mode=normal
45381
 
+    libobj=
45382
 
+    later=
45383
 
+    pie_flag=
45384
 
+
45385
 
+    for arg
45386
 
+    do
45387
 
+      case $arg_mode in
45388
 
+      arg  )
45389
 
+       # do not "continue".  Instead, add this to base_compile
45390
 
+       lastarg="$arg"
45391
 
+       arg_mode=normal
45392
 
+       ;;
45393
 
+
45394
 
+      target )
45395
 
+       libobj="$arg"
45396
 
+       arg_mode=normal
45397
 
+       continue
45398
 
+       ;;
45399
 
+
45400
 
+      normal )
45401
 
+       # Accept any command-line options.
45402
 
+       case $arg in
45403
 
+       -o)
45404
 
+         test -n "$libobj" && \
45405
 
+           func_fatal_error "you cannot specify \`-o' more than once"
45406
 
+         arg_mode=target
45407
 
+         continue
45408
 
+         ;;
45409
 
+
45410
 
+       -pie | -fpie | -fPIE)
45411
 
+          pie_flag="$pie_flag $arg"
45412
 
+         continue
45413
 
+         ;;
45414
 
+
45415
 
+       -shared | -static | -prefer-pic | -prefer-non-pic)
45416
 
+         later="$later $arg"
45417
 
+         continue
45418
 
+         ;;
45419
 
 
45420
 
        -no-suppress)
45421
 
          suppress_opt=no
45422
 
@@ -708,31 +1157,25 @@
45423
 
          ;;            #  replaced later.  I would guess that would be a bug.
45424
 
 
45425
 
        -Wc,*)
45426
 
-         args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
45427
 
+         func_stripname '-Wc,' '' "$arg"
45428
 
+         args=$func_stripname_result
45429
 
          lastarg=
45430
 
          save_ifs="$IFS"; IFS=','
45431
 
-         for arg in $args; do
45432
 
+         for arg in $args; do
45433
 
            IFS="$save_ifs"
45434
 
-
45435
 
-           # Double-quote args containing other shell metacharacters.
45436
 
-           # Many Bourne shells cannot handle close brackets correctly
45437
 
-           # in scan sets, so we specify it separately.
45438
 
-           case $arg in
45439
 
-             *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \     ]*|*]*|"")
45440
 
-             arg="\"$arg\""
45441
 
-             ;;
45442
 
-           esac
45443
 
-           lastarg="$lastarg $arg"
45444
 
+           func_quote_for_eval "$arg"
45445
 
+           lastarg="$lastarg $func_quote_for_eval_result"
45446
 
          done
45447
 
          IFS="$save_ifs"
45448
 
-         lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
45449
 
+         func_stripname ' ' '' "$lastarg"
45450
 
+         lastarg=$func_stripname_result
45451
 
 
45452
 
          # Add the arguments to base_compile.
45453
 
          base_compile="$base_compile $lastarg"
45454
 
          continue
45455
 
          ;;
45456
 
 
45457
 
-       * )
45458
 
+       *)
45459
 
          # Accept the current argument as the source file.
45460
 
          # The previous "srcfile" becomes the current argument.
45461
 
          #
45462
 
@@ -744,66 +1187,42 @@
45463
 
       esac    #  case $arg_mode
45464
 
 
45465
 
       # Aesthetically quote the previous argument.
45466
 
-      lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`
45467
 
-
45468
 
-      case $lastarg in
45469
 
-      # Double-quote args containing other shell metacharacters.
45470
 
-      # Many Bourne shells cannot handle close brackets correctly
45471
 
-      # in scan sets, and some SunOS ksh mistreat backslash-escaping
45472
 
-      # in scan sets (worked around with variable expansion),
45473
 
-      # and furthermore cannot handle '|' '&' '(' ')' in scan sets 
45474
 
-      # at all, so we specify them separately.
45475
 
-      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \    ]*|*]*|"")
45476
 
-       lastarg="\"$lastarg\""
45477
 
-       ;;
45478
 
-      esac
45479
 
-
45480
 
-      base_compile="$base_compile $lastarg"
45481
 
+      func_quote_for_eval "$lastarg"
45482
 
+      base_compile="$base_compile $func_quote_for_eval_result"
45483
 
     done # for arg
45484
 
 
45485
 
     case $arg_mode in
45486
 
     arg)
45487
 
-      $echo "$modename: you must specify an argument for -Xcompile"
45488
 
-      exit $EXIT_FAILURE
45489
 
+      func_fatal_error "you must specify an argument for -Xcompile"
45490
 
       ;;
45491
 
     target)
45492
 
-      $echo "$modename: you must specify a target with \`-o'" 1>&2
45493
 
-      exit $EXIT_FAILURE
45494
 
+      func_fatal_error "you must specify a target with \`-o'"
45495
 
       ;;
45496
 
     *)
45497
 
       # Get the name of the library object.
45498
 
-      [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
45499
 
+      test -z "$libobj" && {
45500
 
+       func_basename "$srcfile"
45501
 
+       libobj="$func_basename_result"
45502
 
+      }
45503
 
       ;;
45504
 
     esac
45505
 
 
45506
 
     # Recognize several different file suffixes.
45507
 
     # If the user specifies -o file.o, it is replaced with file.lo
45508
 
-    xform='[cCFSifmso]'
45509
 
     case $libobj in
45510
 
-    *.ada) xform=ada ;;
45511
 
-    *.adb) xform=adb ;;
45512
 
-    *.ads) xform=ads ;;
45513
 
-    *.asm) xform=asm ;;
45514
 
-    *.c++) xform=c++ ;;
45515
 
-    *.cc) xform=cc ;;
45516
 
-    *.ii) xform=ii ;;
45517
 
-    *.class) xform=class ;;
45518
 
-    *.cpp) xform=cpp ;;
45519
 
-    *.cxx) xform=cxx ;;
45520
 
-    *.[fF][09]?) xform=[fF][09]. ;;
45521
 
-    *.for) xform=for ;;
45522
 
-    *.java) xform=java ;;
45523
 
-    *.obj) xform=obj ;;
45524
 
-    *.sx) xform=sx ;;
45525
 
+    *.[cCFSifmso] | \
45526
 
+    *.ada | *.adb | *.ads | *.asm | \
45527
 
+    *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
45528
 
+    *.[fF][09]? | *.for | *.java | *.obj | *.sx)
45529
 
+      func_xform "$libobj"
45530
 
+      libobj=$func_xform_result
45531
 
+      ;;
45532
 
     esac
45533
 
 
45534
 
-    libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
45535
 
-
45536
 
     case $libobj in
45537
 
-    *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
45538
 
+    *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;;
45539
 
     *)
45540
 
-      $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
45541
 
-      exit $EXIT_FAILURE
45542
 
+      func_fatal_error "cannot determine name of library object from \`$libobj'"
45543
 
       ;;
45544
 
     esac
45545
 
 
45546
 
@@ -811,7 +1230,15 @@
45547
 
 
45548
 
     for arg in $later; do
45549
 
       case $arg in
45550
 
+      -shared)
45551
 
+       test "$build_libtool_libs" != yes && \
45552
 
+         func_fatal_configuration "can not build a shared library"
45553
 
+       build_old_libs=no
45554
 
+       continue
45555
 
+       ;;
45556
 
+
45557
 
       -static)
45558
 
+       build_libtool_libs=no
45559
 
        build_old_libs=yes
45560
 
        continue
45561
 
        ;;
45562
 
@@ -828,28 +1255,17 @@
45563
 
       esac
45564
 
     done
45565
 
 
45566
 
-    qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"`
45567
 
-    case $qlibobj in
45568
 
-      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \    ]*|*]*|"")
45569
 
-       qlibobj="\"$qlibobj\"" ;;
45570
 
-    esac
45571
 
-    test "X$libobj" != "X$qlibobj" \
45572
 
-       && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"'  &()|`$[]' \
45573
 
-       && $echo "$modename: libobj name \`$libobj' may not contain shell special characters."
45574
 
-    objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
45575
 
-    xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
45576
 
-    if test "X$xdir" = "X$obj"; then
45577
 
-      xdir=
45578
 
-    else
45579
 
-      xdir=$xdir/
45580
 
-    fi
45581
 
+    func_quote_for_eval "$libobj"
45582
 
+    test "X$libobj" != "X$func_quote_for_eval_result" \
45583
 
+      && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"'   &()|`$[]' \
45584
 
+      && func_warning "libobj name \`$libobj' may not contain shell special characters."
45585
 
+    func_dirname_and_basename "$obj" "/" ""
45586
 
+    objname="$func_basename_result"
45587
 
+    xdir="$func_dirname_result"
45588
 
     lobj=${xdir}$objdir/$objname
45589
 
 
45590
 
-    if test -z "$base_compile"; then
45591
 
-      $echo "$modename: you must specify a compilation command" 1>&2
45592
 
-      $echo "$help" 1>&2
45593
 
-      exit $EXIT_FAILURE
45594
 
-    fi
45595
 
+    test -z "$base_compile" && \
45596
 
+      func_fatal_help "you must specify a compilation command"
45597
 
 
45598
 
     # Delete any leftover library objects.
45599
 
     if test "$build_old_libs" = yes; then
45600
 
@@ -858,12 +1274,9 @@
45601
 
       removelist="$lobj $libobj ${libobj}T"
45602
 
     fi
45603
 
 
45604
 
-    $run $rm $removelist
45605
 
-    trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
45606
 
-
45607
 
     # On Cygwin there's no "real" PIC flag so we must build both object types
45608
 
     case $host_os in
45609
 
-    cygwin* | mingw* | pw32* | os2*)
45610
 
+    cygwin* | mingw* | pw32* | os2* | cegcc*)
45611
 
       pic_mode=default
45612
 
       ;;
45613
 
     esac
45614
 
@@ -875,10 +1288,8 @@
45615
 
     # Calculate the filename of the output object if compiler does
45616
 
     # not support -o with -c
45617
 
     if test "$compiler_c_o" = no; then
45618
 
-      output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
45619
 
+      output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
45620
 
       lockfile="$output_obj.lock"
45621
 
-      removelist="$removelist $output_obj $lockfile"
45622
 
-      trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
45623
 
     else
45624
 
       output_obj=
45625
 
       need_locks=no
45626
 
@@ -888,13 +1299,13 @@
45627
 
     # Lock this critical section if it is needed
45628
 
     # We use this script file to make the link, it avoids creating a new file
45629
 
     if test "$need_locks" = yes; then
45630
 
-      until $run ln "$progpath" "$lockfile" 2>/dev/null; do
45631
 
-       $show "Waiting for $lockfile to be removed"
45632
 
+      until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
45633
 
+       func_echo "Waiting for $lockfile to be removed"
45634
 
        sleep 2
45635
 
       done
45636
 
     elif test "$need_locks" = warn; then
45637
 
       if test -f "$lockfile"; then
45638
 
-       $echo "\
45639
 
+       $ECHO "\
45640
 
 *** ERROR, $lockfile exists and contains:
45641
 
 `cat $lockfile 2>/dev/null`
45642
 
 
45643
 
@@ -905,34 +1316,22 @@
45644
 
 avoid parallel builds (make -j) in this platform, or get a better
45645
 
 compiler."
45646
 
 
45647
 
-       $run $rm $removelist
45648
 
+       $opt_dry_run || $RM $removelist
45649
 
        exit $EXIT_FAILURE
45650
 
       fi
45651
 
-      $echo "$srcfile" > "$lockfile"
45652
 
+      removelist="$removelist $output_obj"
45653
 
+      $ECHO "$srcfile" > "$lockfile"
45654
 
     fi
45655
 
 
45656
 
+    $opt_dry_run || $RM $removelist
45657
 
+    removelist="$removelist $lockfile"
45658
 
+    trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
45659
 
+
45660
 
     if test -n "$fix_srcfile_path"; then
45661
 
       eval srcfile=\"$fix_srcfile_path\"
45662
 
     fi
45663
 
-    qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"`
45664
 
-    case $qsrcfile in
45665
 
-      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \    ]*|*]*|"")
45666
 
-      qsrcfile="\"$qsrcfile\"" ;;
45667
 
-    esac
45668
 
-
45669
 
-    $run $rm "$libobj" "${libobj}T"
45670
 
-
45671
 
-    # Create a libtool object file (analogous to a ".la" file),
45672
 
-    # but don't create it if we're doing a dry run.
45673
 
-    test -z "$run" && cat > ${libobj}T <<EOF
45674
 
-# $libobj - a libtool object file
45675
 
-# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
45676
 
-#
45677
 
-# Please DO NOT delete this file!
45678
 
-# It is necessary for linking the library.
45679
 
-
45680
 
-# Name of the PIC object.
45681
 
-EOF
45682
 
+    func_quote_for_eval "$srcfile"
45683
 
+    qsrcfile=$func_quote_for_eval_result
45684
 
 
45685
 
     # Only build a PIC object if we are building libtool libraries.
45686
 
     if test "$build_libtool_libs" = yes; then
45687
 
@@ -946,32 +1345,19 @@
45688
 
        command="$base_compile $qsrcfile"
45689
 
       fi
45690
 
 
45691
 
-      if test ! -d "${xdir}$objdir"; then
45692
 
-       $show "$mkdir ${xdir}$objdir"
45693
 
-       $run $mkdir ${xdir}$objdir
45694
 
-       exit_status=$?
45695
 
-       if test "$exit_status" -ne 0 && test ! -d "${xdir}$objdir"; then
45696
 
-         exit $exit_status
45697
 
-       fi
45698
 
-      fi
45699
 
+      func_mkdir_p "$xdir$objdir"
45700
 
 
45701
 
       if test -z "$output_obj"; then
45702
 
        # Place PIC objects in $objdir
45703
 
        command="$command -o $lobj"
45704
 
       fi
45705
 
 
45706
 
-      $run $rm "$lobj" "$output_obj"
45707
 
-
45708
 
-      $show "$command"
45709
 
-      if $run eval $lt_env "$command"; then :
45710
 
-      else
45711
 
-       test -n "$output_obj" && $run $rm $removelist
45712
 
-       exit $EXIT_FAILURE
45713
 
-      fi
45714
 
+      func_show_eval_locale "$command" \
45715
 
+          'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE'
45716
 
 
45717
 
       if test "$need_locks" = warn &&
45718
 
         test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
45719
 
-       $echo "\
45720
 
+       $ECHO "\
45721
 
 *** ERROR, $lockfile contains:
45722
 
 `cat $lockfile 2>/dev/null`
45723
 
 
45724
 
@@ -985,45 +1371,27 @@
45725
 
 avoid parallel builds (make -j) in this platform, or get a better
45726
 
 compiler."
45727
 
 
45728
 
-       $run $rm $removelist
45729
 
+       $opt_dry_run || $RM $removelist
45730
 
        exit $EXIT_FAILURE
45731
 
       fi
45732
 
 
45733
 
       # Just move the object if needed, then go on to compile the next one
45734
 
       if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
45735
 
-       $show "$mv $output_obj $lobj"
45736
 
-       if $run $mv $output_obj $lobj; then :
45737
 
-       else
45738
 
-         error=$?
45739
 
-         $run $rm $removelist
45740
 
-         exit $error
45741
 
-       fi
45742
 
+       func_show_eval '$MV "$output_obj" "$lobj"' \
45743
 
+         'error=$?; $opt_dry_run || $RM $removelist; exit $error'
45744
 
       fi
45745
 
 
45746
 
-      # Append the name of the PIC object to the libtool object file.
45747
 
-      test -z "$run" && cat >> ${libobj}T <<EOF
45748
 
-pic_object='$objdir/$objname'
45749
 
-
45750
 
-EOF
45751
 
-
45752
 
       # Allow error messages only from the first compilation.
45753
 
       if test "$suppress_opt" = yes; then
45754
 
-        suppress_output=' >/dev/null 2>&1'
45755
 
+       suppress_output=' >/dev/null 2>&1'
45756
 
       fi
45757
 
-    else
45758
 
-      # No PIC object so indicate it doesn't exist in the libtool
45759
 
-      # object file.
45760
 
-      test -z "$run" && cat >> ${libobj}T <<EOF
45761
 
-pic_object=none
45762
 
-
45763
 
-EOF
45764
 
     fi
45765
 
 
45766
 
     # Only build a position-dependent object if we build old libraries.
45767
 
     if test "$build_old_libs" = yes; then
45768
 
       if test "$pic_mode" != yes; then
45769
 
        # Don't build PIC code
45770
 
-       command="$base_compile $qsrcfile"
45771
 
+       command="$base_compile $qsrcfile$pie_flag"
45772
 
       else
45773
 
        command="$base_compile $qsrcfile $pic_flag"
45774
 
       fi
45775
 
@@ -1033,17 +1401,12 @@
45776
 
 
45777
 
       # Suppress compiler output if we already did a PIC compilation.
45778
 
       command="$command$suppress_output"
45779
 
-      $run $rm "$obj" "$output_obj"
45780
 
-      $show "$command"
45781
 
-      if $run eval $lt_env "$command"; then :
45782
 
-      else
45783
 
-       $run $rm $removelist
45784
 
-       exit $EXIT_FAILURE
45785
 
-      fi
45786
 
+      func_show_eval_locale "$command" \
45787
 
+        '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
45788
 
 
45789
 
       if test "$need_locks" = warn &&
45790
 
         test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
45791
 
-       $echo "\
45792
 
+       $ECHO "\
45793
 
 *** ERROR, $lockfile contains:
45794
 
 `cat $lockfile 2>/dev/null`
45795
 
 
45796
 
@@ -1057,5485 +1420,6783 @@
45797
 
 avoid parallel builds (make -j) in this platform, or get a better
45798
 
 compiler."
45799
 
 
45800
 
-       $run $rm $removelist
45801
 
+       $opt_dry_run || $RM $removelist
45802
 
        exit $EXIT_FAILURE
45803
 
       fi
45804
 
 
45805
 
       # Just move the object if needed
45806
 
       if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
45807
 
-       $show "$mv $output_obj $obj"
45808
 
-       if $run $mv $output_obj $obj; then :
45809
 
-       else
45810
 
-         error=$?
45811
 
-         $run $rm $removelist
45812
 
-         exit $error
45813
 
-       fi
45814
 
+       func_show_eval '$MV "$output_obj" "$obj"' \
45815
 
+         'error=$?; $opt_dry_run || $RM $removelist; exit $error'
45816
 
       fi
45817
 
-
45818
 
-      # Append the name of the non-PIC object the libtool object file.
45819
 
-      # Only append if the libtool object file exists.
45820
 
-      test -z "$run" && cat >> ${libobj}T <<EOF
45821
 
-# Name of the non-PIC object.
45822
 
-non_pic_object='$objname'
45823
 
-
45824
 
-EOF
45825
 
-    else
45826
 
-      # Append the name of the non-PIC object the libtool object file.
45827
 
-      # Only append if the libtool object file exists.
45828
 
-      test -z "$run" && cat >> ${libobj}T <<EOF
45829
 
-# Name of the non-PIC object.
45830
 
-non_pic_object=none
45831
 
-
45832
 
-EOF
45833
 
     fi
45834
 
 
45835
 
-    $run $mv "${libobj}T" "${libobj}"
45836
 
+    $opt_dry_run || {
45837
 
+      func_write_libtool_object "$libobj" "$objdir/$objname" "$objname"
45838
 
 
45839
 
-    # Unlock the critical section if it was locked
45840
 
-    if test "$need_locks" != no; then
45841
 
-      $run $rm "$lockfile"
45842
 
-    fi
45843
 
+      # Unlock the critical section if it was locked
45844
 
+      if test "$need_locks" != no; then
45845
 
+       removelist=$lockfile
45846
 
+        $RM "$lockfile"
45847
 
+      fi
45848
 
+    }
45849
 
 
45850
 
     exit $EXIT_SUCCESS
45851
 
-    ;;
45852
 
+}
45853
 
 
45854
 
-  # libtool link mode
45855
 
-  link | relink)
45856
 
-    modename="$modename: link"
45857
 
-    case $host in
45858
 
-    *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
45859
 
-      # It is impossible to link a dll without this setting, and
45860
 
-      # we shouldn't force the makefile maintainer to figure out
45861
 
-      # which system we are compiling for in order to pass an extra
45862
 
-      # flag for every libtool invocation.
45863
 
-      # allow_undefined=no
45864
 
+$opt_help || {
45865
 
+test "$mode" = compile && func_mode_compile ${1+"$@"}
45866
 
+}
45867
 
 
45868
 
-      # FIXME: Unfortunately, there are problems with the above when trying
45869
 
-      # to make a dll which has undefined symbols, in which case not
45870
 
-      # even a static library is built.  For now, we need to specify
45871
 
-      # -no-undefined on the libtool link line when we can be certain
45872
 
-      # that all symbols are satisfied, otherwise we get a static library.
45873
 
-      allow_undefined=yes
45874
 
-      ;;
45875
 
-    *)
45876
 
-      allow_undefined=yes
45877
 
-      ;;
45878
 
-    esac
45879
 
-    libtool_args="$nonopt"
45880
 
-    base_compile="$nonopt $@"
45881
 
-    compile_command="$nonopt"
45882
 
-    finalize_command="$nonopt"
45883
 
+func_mode_help ()
45884
 
+{
45885
 
+    # We need to display help for each of the modes.
45886
 
+    case $mode in
45887
 
+      "")
45888
 
+        # Generic help is extracted from the usage comments
45889
 
+        # at the start of this file.
45890
 
+        func_help
45891
 
+        ;;
45892
 
 
45893
 
-    compile_rpath=
45894
 
-    finalize_rpath=
45895
 
-    compile_shlibpath=
45896
 
-    finalize_shlibpath=
45897
 
-    convenience=
45898
 
-    old_convenience=
45899
 
-    deplibs=
45900
 
-    old_deplibs=
45901
 
-    compiler_flags=
45902
 
-    linker_flags=
45903
 
-    dllsearchpath=
45904
 
-    lib_search_path=`pwd`
45905
 
-    inst_prefix_dir=
45906
 
+      clean)
45907
 
+        $ECHO \
45908
 
+"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
45909
 
 
45910
 
-    avoid_version=no
45911
 
-    dlfiles=
45912
 
-    dlprefiles=
45913
 
-    dlself=no
45914
 
-    export_dynamic=no
45915
 
-    export_symbols=
45916
 
-    export_symbols_regex=
45917
 
-    generated=
45918
 
-    libobjs=
45919
 
-    ltlibs=
45920
 
-    module=no
45921
 
-    no_install=no
45922
 
-    objs=
45923
 
-    non_pic_objects=
45924
 
-    notinst_path= # paths that contain not-installed libtool libraries
45925
 
-    precious_files_regex=
45926
 
-    prefer_static_libs=no
45927
 
-    preload=no
45928
 
-    prev=
45929
 
-    prevarg=
45930
 
-    release=
45931
 
-    rpath=
45932
 
-    xrpath=
45933
 
-    perm_rpath=
45934
 
-    temp_rpath=
45935
 
-    thread_safe=no
45936
 
-    vinfo=
45937
 
-    vinfo_number=no
45938
 
-    single_module="${wl}-single_module"
45939
 
+Remove files from the build directory.
45940
 
 
45941
 
-    func_infer_tag $base_compile
45942
 
+RM is the name of the program to use to delete files associated with each FILE
45943
 
+(typically \`/bin/rm').  RM-OPTIONS are options (such as \`-f') to be passed
45944
 
+to RM.
45945
 
 
45946
 
-    # We need to know -static, to get the right output filenames.
45947
 
-    for arg
45948
 
-    do
45949
 
-      case $arg in
45950
 
-      -all-static | -static | -static-libtool-libs)
45951
 
-       case $arg in
45952
 
-       -all-static)
45953
 
-         if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
45954
 
-           $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
45955
 
-         fi
45956
 
-         if test -n "$link_static_flag"; then
45957
 
-           dlopen_self=$dlopen_self_static
45958
 
-         fi
45959
 
-         prefer_static_libs=yes
45960
 
-         ;;
45961
 
-       -static)
45962
 
-         if test -z "$pic_flag" && test -n "$link_static_flag"; then
45963
 
-           dlopen_self=$dlopen_self_static
45964
 
-         fi
45965
 
-         prefer_static_libs=built
45966
 
-         ;;
45967
 
-       -static-libtool-libs)
45968
 
-         if test -z "$pic_flag" && test -n "$link_static_flag"; then
45969
 
-           dlopen_self=$dlopen_self_static
45970
 
-         fi
45971
 
-         prefer_static_libs=yes
45972
 
-         ;;
45973
 
-       esac
45974
 
-       build_libtool_libs=no
45975
 
-       build_old_libs=yes
45976
 
-       break
45977
 
-       ;;
45978
 
-      esac
45979
 
-    done
45980
 
+If FILE is a libtool library, object or program, all the files associated
45981
 
+with it are deleted. Otherwise, only FILE itself is deleted using RM."
45982
 
+        ;;
45983
 
 
45984
 
-    # See if our shared archives depend on static archives.
45985
 
-    test -n "$old_archive_from_new_cmds" && build_old_libs=yes
45986
 
+      compile)
45987
 
+      $ECHO \
45988
 
+"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
45989
 
 
45990
 
-    # Go through the arguments, transforming them on the way.
45991
 
-    while test "$#" -gt 0; do
45992
 
-      arg="$1"
45993
 
-      shift
45994
 
-      case $arg in
45995
 
-      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \    ]*|*]*|"")
45996
 
-       qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test
45997
 
-       ;;
45998
 
-      *) qarg=$arg ;;
45999
 
-      esac
46000
 
-      libtool_args="$libtool_args $qarg"
46001
 
+Compile a source file into a libtool library object.
46002
 
 
46003
 
-      # If the previous option needs an argument, assign it.
46004
 
-      if test -n "$prev"; then
46005
 
-       case $prev in
46006
 
-       output)
46007
 
-         compile_command="$compile_command @OUTPUT@"
46008
 
-         finalize_command="$finalize_command @OUTPUT@"
46009
 
-         ;;
46010
 
-       esac
46011
 
+This mode accepts the following additional options:
46012
 
 
46013
 
-       case $prev in
46014
 
-       dlfiles|dlprefiles)
46015
 
-         if test "$preload" = no; then
46016
 
-           # Add the symbol object into the linking commands.
46017
 
-           compile_command="$compile_command @SYMFILE@"
46018
 
-           finalize_command="$finalize_command @SYMFILE@"
46019
 
-           preload=yes
46020
 
-         fi
46021
 
-         case $arg in
46022
 
-         *.la | *.lo) ;;  # We handle these cases below.
46023
 
-         force)
46024
 
-           if test "$dlself" = no; then
46025
 
-             dlself=needless
46026
 
-             export_dynamic=yes
46027
 
-           fi
46028
 
-           prev=
46029
 
-           continue
46030
 
-           ;;
46031
 
-         self)
46032
 
-           if test "$prev" = dlprefiles; then
46033
 
-             dlself=yes
46034
 
-           elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
46035
 
-             dlself=yes
46036
 
-           else
46037
 
-             dlself=needless
46038
 
-             export_dynamic=yes
46039
 
-           fi
46040
 
-           prev=
46041
 
-           continue
46042
 
-           ;;
46043
 
-         *)
46044
 
-           if test "$prev" = dlfiles; then
46045
 
-             dlfiles="$dlfiles $arg"
46046
 
-           else
46047
 
-             dlprefiles="$dlprefiles $arg"
46048
 
-           fi
46049
 
-           prev=
46050
 
-           continue
46051
 
-           ;;
46052
 
-         esac
46053
 
-         ;;
46054
 
-       expsyms)
46055
 
-         export_symbols="$arg"
46056
 
-         if test ! -f "$arg"; then
46057
 
-           $echo "$modename: symbol file \`$arg' does not exist"
46058
 
-           exit $EXIT_FAILURE
46059
 
-         fi
46060
 
-         prev=
46061
 
-         continue
46062
 
-         ;;
46063
 
-       expsyms_regex)
46064
 
-         export_symbols_regex="$arg"
46065
 
-         prev=
46066
 
-         continue
46067
 
-         ;;
46068
 
-       inst_prefix)
46069
 
-         inst_prefix_dir="$arg"
46070
 
-         prev=
46071
 
-         continue
46072
 
-         ;;
46073
 
-       precious_regex)
46074
 
-         precious_files_regex="$arg"
46075
 
-         prev=
46076
 
-         continue
46077
 
-         ;;
46078
 
-       release)
46079
 
-         release="-$arg"
46080
 
-         prev=
46081
 
-         continue
46082
 
-         ;;
46083
 
-       objectlist)
46084
 
-         if test -f "$arg"; then
46085
 
-           save_arg=$arg
46086
 
-           moreargs=
46087
 
-           for fil in `cat $save_arg`
46088
 
-           do
46089
 
-#            moreargs="$moreargs $fil"
46090
 
-             arg=$fil
46091
 
-             # A libtool-controlled object.
46092
 
+  -o OUTPUT-FILE    set the output file name to OUTPUT-FILE
46093
 
+  -no-suppress      do not suppress compiler output for multiple passes
46094
 
+  -prefer-pic       try to building PIC objects only
46095
 
+  -prefer-non-pic   try to building non-PIC objects only
46096
 
+  -shared           do not build a \`.o' file suitable for static linking
46097
 
+  -static           only build a \`.o' file suitable for static linking
46098
 
 
46099
 
-             # Check to see that this really is a libtool object.
46100
 
-             if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
46101
 
-               pic_object=
46102
 
-               non_pic_object=
46103
 
+COMPILE-COMMAND is a command to be used in creating a \`standard' object file
46104
 
+from the given SOURCEFILE.
46105
 
 
46106
 
-               # Read the .lo file
46107
 
-               # If there is no directory component, then add one.
46108
 
-               case $arg in
46109
 
-               */* | *\\*) . $arg ;;
46110
 
-               *) . ./$arg ;;
46111
 
-               esac
46112
 
+The output file name is determined by removing the directory component from
46113
 
+SOURCEFILE, then substituting the C source code suffix \`.c' with the
46114
 
+library object suffix, \`.lo'."
46115
 
+        ;;
46116
 
 
46117
 
-               if test -z "$pic_object" || \
46118
 
-                  test -z "$non_pic_object" ||
46119
 
-                  test "$pic_object" = none && \
46120
 
-                  test "$non_pic_object" = none; then
46121
 
-                 $echo "$modename: cannot find name of object for \`$arg'" 1>&2
46122
 
-                 exit $EXIT_FAILURE
46123
 
-               fi
46124
 
+      execute)
46125
 
+        $ECHO \
46126
 
+"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]...
46127
 
 
46128
 
-               # Extract subdirectory from the argument.
46129
 
-               xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
46130
 
-               if test "X$xdir" = "X$arg"; then
46131
 
-                 xdir=
46132
 
-               else
46133
 
-                 xdir="$xdir/"
46134
 
-               fi
46135
 
+Automatically set library path, then run a program.
46136
 
 
46137
 
-               if test "$pic_object" != none; then
46138
 
-                 # Prepend the subdirectory the object is found in.
46139
 
-                 pic_object="$xdir$pic_object"
46140
 
+This mode accepts the following additional options:
46141
 
 
46142
 
-                 if test "$prev" = dlfiles; then
46143
 
-                   if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
46144
 
-                     dlfiles="$dlfiles $pic_object"
46145
 
-                     prev=
46146
 
-                     continue
46147
 
-                   else
46148
 
-                     # If libtool objects are unsupported, then we need to preload.
46149
 
-                     prev=dlprefiles
46150
 
-                   fi
46151
 
-                 fi
46152
 
+  -dlopen FILE      add the directory containing FILE to the library path
46153
 
 
46154
 
-                 # CHECK ME:  I think I busted this.  -Ossama
46155
 
-                 if test "$prev" = dlprefiles; then
46156
 
-                   # Preload the old-style object.
46157
 
-                   dlprefiles="$dlprefiles $pic_object"
46158
 
-                   prev=
46159
 
-                 fi
46160
 
+This mode sets the library path environment variable according to \`-dlopen'
46161
 
+flags.
46162
 
 
46163
 
-                 # A PIC object.
46164
 
-                 libobjs="$libobjs $pic_object"
46165
 
-                 arg="$pic_object"
46166
 
-               fi
46167
 
+If any of the ARGS are libtool executable wrappers, then they are translated
46168
 
+into their corresponding uninstalled binary, and any of their required library
46169
 
+directories are added to the library path.
46170
 
 
46171
 
-               # Non-PIC object.
46172
 
-               if test "$non_pic_object" != none; then
46173
 
-                 # Prepend the subdirectory the object is found in.
46174
 
-                 non_pic_object="$xdir$non_pic_object"
46175
 
+Then, COMMAND is executed, with ARGS as arguments."
46176
 
+        ;;
46177
 
 
46178
 
-                 # A standard non-PIC object
46179
 
-                 non_pic_objects="$non_pic_objects $non_pic_object"
46180
 
-                 if test -z "$pic_object" || test "$pic_object" = none ; then
46181
 
-                   arg="$non_pic_object"
46182
 
-                 fi
46183
 
-               else
46184
 
-                 # If the PIC object exists, use it instead.
46185
 
-                 # $xdir was prepended to $pic_object above.
46186
 
-                 non_pic_object="$pic_object"
46187
 
-                 non_pic_objects="$non_pic_objects $non_pic_object"
46188
 
-               fi
46189
 
-             else
46190
 
-               # Only an error if not doing a dry-run.
46191
 
-               if test -z "$run"; then
46192
 
-                 $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
46193
 
-                 exit $EXIT_FAILURE
46194
 
-               else
46195
 
-                 # Dry-run case.
46196
 
+      finish)
46197
 
+        $ECHO \
46198
 
+"Usage: $progname [OPTION]... --mode=finish [LIBDIR]...
46199
 
 
46200
 
-                 # Extract subdirectory from the argument.
46201
 
-                 xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
46202
 
-                 if test "X$xdir" = "X$arg"; then
46203
 
-                   xdir=
46204
 
-                 else
46205
 
-                   xdir="$xdir/"
46206
 
-                 fi
46207
 
+Complete the installation of libtool libraries.
46208
 
 
46209
 
-                 pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
46210
 
-                 non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
46211
 
-                 libobjs="$libobjs $pic_object"
46212
 
-                 non_pic_objects="$non_pic_objects $non_pic_object"
46213
 
-               fi
46214
 
-             fi
46215
 
-           done
46216
 
-         else
46217
 
-           $echo "$modename: link input file \`$save_arg' does not exist"
46218
 
-           exit $EXIT_FAILURE
46219
 
-         fi
46220
 
-         arg=$save_arg
46221
 
-         prev=
46222
 
-         continue
46223
 
-         ;;
46224
 
-       rpath | xrpath)
46225
 
-         # We need an absolute path.
46226
 
-         case $arg in
46227
 
-         [\\/]* | [A-Za-z]:[\\/]*) ;;
46228
 
-         *)
46229
 
-           $echo "$modename: only absolute run-paths are allowed" 1>&2
46230
 
-           exit $EXIT_FAILURE
46231
 
-           ;;
46232
 
-         esac
46233
 
-         if test "$prev" = rpath; then
46234
 
-           case "$rpath " in
46235
 
-           *" $arg "*) ;;
46236
 
-           *) rpath="$rpath $arg" ;;
46237
 
-           esac
46238
 
-         else
46239
 
-           case "$xrpath " in
46240
 
-           *" $arg "*) ;;
46241
 
-           *) xrpath="$xrpath $arg" ;;
46242
 
-           esac
46243
 
-         fi
46244
 
-         prev=
46245
 
-         continue
46246
 
-         ;;
46247
 
-       xcompiler)
46248
 
-         compiler_flags="$compiler_flags $qarg"
46249
 
-         prev=
46250
 
-         compile_command="$compile_command $qarg"
46251
 
-         finalize_command="$finalize_command $qarg"
46252
 
-         continue
46253
 
-         ;;
46254
 
-       xlinker)
46255
 
-         linker_flags="$linker_flags $qarg"
46256
 
-         compiler_flags="$compiler_flags $wl$qarg"
46257
 
-         prev=
46258
 
-         compile_command="$compile_command $wl$qarg"
46259
 
-         finalize_command="$finalize_command $wl$qarg"
46260
 
-         continue
46261
 
-         ;;
46262
 
-       xcclinker)
46263
 
-         linker_flags="$linker_flags $qarg"
46264
 
-         compiler_flags="$compiler_flags $qarg"
46265
 
-         prev=
46266
 
-         compile_command="$compile_command $qarg"
46267
 
-         finalize_command="$finalize_command $qarg"
46268
 
-         continue
46269
 
-         ;;
46270
 
-       shrext)
46271
 
-         shrext_cmds="$arg"
46272
 
-         prev=
46273
 
-         continue
46274
 
-         ;;
46275
 
-       darwin_framework|darwin_framework_skip)
46276
 
-         test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg"
46277
 
-         compile_command="$compile_command $arg"
46278
 
-         finalize_command="$finalize_command $arg"
46279
 
-         prev=
46280
 
-         continue
46281
 
-         ;;
46282
 
-       *)
46283
 
-         eval "$prev=\"\$arg\""
46284
 
-         prev=
46285
 
-         continue
46286
 
-         ;;
46287
 
-       esac
46288
 
-      fi # test -n "$prev"
46289
 
+Each LIBDIR is a directory that contains libtool libraries.
46290
 
 
46291
 
-      prevarg="$arg"
46292
 
+The commands that this mode executes may require superuser privileges.  Use
46293
 
+the \`--dry-run' option if you just want to see what would be executed."
46294
 
+        ;;
46295
 
 
46296
 
-      case $arg in
46297
 
-      -all-static)
46298
 
-       if test -n "$link_static_flag"; then
46299
 
-         compile_command="$compile_command $link_static_flag"
46300
 
-         finalize_command="$finalize_command $link_static_flag"
46301
 
-       fi
46302
 
-       continue
46303
 
-       ;;
46304
 
+      install)
46305
 
+        $ECHO \
46306
 
+"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND...
46307
 
 
46308
 
-      -allow-undefined)
46309
 
-       # FIXME: remove this flag sometime in the future.
46310
 
-       $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2
46311
 
-       continue
46312
 
-       ;;
46313
 
+Install executables or libraries.
46314
 
 
46315
 
-      -avoid-version)
46316
 
-       avoid_version=yes
46317
 
-       continue
46318
 
-       ;;
46319
 
+INSTALL-COMMAND is the installation command.  The first component should be
46320
 
+either the \`install' or \`cp' program.
46321
 
 
46322
 
-      -dlopen)
46323
 
-       prev=dlfiles
46324
 
-       continue
46325
 
-       ;;
46326
 
+The following components of INSTALL-COMMAND are treated specially:
46327
 
 
46328
 
-      -dlpreopen)
46329
 
-       prev=dlprefiles
46330
 
-       continue
46331
 
-       ;;
46332
 
+  -inst-prefix PREFIX-DIR  Use PREFIX-DIR as a staging area for installation
46333
 
 
46334
 
-      -export-dynamic)
46335
 
-       export_dynamic=yes
46336
 
-       continue
46337
 
-       ;;
46338
 
+The rest of the components are interpreted as arguments to that command (only
46339
 
+BSD-compatible install options are recognized)."
46340
 
+        ;;
46341
 
 
46342
 
-      -export-symbols | -export-symbols-regex)
46343
 
-       if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
46344
 
-         $echo "$modename: more than one -exported-symbols argument is not allowed"
46345
 
-         exit $EXIT_FAILURE
46346
 
-       fi
46347
 
-       if test "X$arg" = "X-export-symbols"; then
46348
 
-         prev=expsyms
46349
 
-       else
46350
 
-         prev=expsyms_regex
46351
 
-       fi
46352
 
-       continue
46353
 
-       ;;
46354
 
+      link)
46355
 
+        $ECHO \
46356
 
+"Usage: $progname [OPTION]... --mode=link LINK-COMMAND...
46357
 
 
46358
 
-      -framework|-arch|-isysroot)
46359
 
-       case " $CC " in
46360
 
-         *" ${arg} ${1} "* | *" ${arg} ${1} "*) 
46361
 
-               prev=darwin_framework_skip ;;
46362
 
-         *) compiler_flags="$compiler_flags $arg"
46363
 
-            prev=darwin_framework ;;
46364
 
-       esac
46365
 
-       compile_command="$compile_command $arg"
46366
 
-       finalize_command="$finalize_command $arg"
46367
 
-       continue
46368
 
-       ;;
46369
 
+Link object files or libraries together to form another library, or to
46370
 
+create an executable program.
46371
 
 
46372
 
-      -inst-prefix-dir)
46373
 
-       prev=inst_prefix
46374
 
-       continue
46375
 
-       ;;
46376
 
+LINK-COMMAND is a command using the C compiler that you would use to create
46377
 
+a program from several object files.
46378
 
 
46379
 
-      # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
46380
 
-      # so, if we see these flags be careful not to treat them like -L
46381
 
-      -L[A-Z][A-Z]*:*)
46382
 
-       case $with_gcc/$host in
46383
 
-       no/*-*-irix* | /*-*-irix*)
46384
 
-         compile_command="$compile_command $arg"
46385
 
-         finalize_command="$finalize_command $arg"
46386
 
-         ;;
46387
 
-       esac
46388
 
-       continue
46389
 
-       ;;
46390
 
+The following components of LINK-COMMAND are treated specially:
46391
 
 
46392
 
-      -L*)
46393
 
-       dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
46394
 
-       # We need an absolute path.
46395
 
-       case $dir in
46396
 
-       [\\/]* | [A-Za-z]:[\\/]*) ;;
46397
 
-       *)
46398
 
-         absdir=`cd "$dir" && pwd`
46399
 
-         if test -z "$absdir"; then
46400
 
-           $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
46401
 
-           absdir="$dir"
46402
 
-           notinst_path="$notinst_path $dir"
46403
 
-         fi
46404
 
-         dir="$absdir"
46405
 
-         ;;
46406
 
-       esac
46407
 
-       case "$deplibs " in
46408
 
-       *" -L$dir "*) ;;
46409
 
-       *)
46410
 
-         deplibs="$deplibs -L$dir"
46411
 
-         lib_search_path="$lib_search_path $dir"
46412
 
-         ;;
46413
 
-       esac
46414
 
-       case $host in
46415
 
-       *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
46416
 
-         testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'`
46417
 
-         case :$dllsearchpath: in
46418
 
-         *":$dir:"*) ;;
46419
 
-         *) dllsearchpath="$dllsearchpath:$dir";;
46420
 
-         esac
46421
 
-         case :$dllsearchpath: in
46422
 
-         *":$testbindir:"*) ;;
46423
 
-         *) dllsearchpath="$dllsearchpath:$testbindir";;
46424
 
-         esac
46425
 
-         ;;
46426
 
-       esac
46427
 
-       continue
46428
 
-       ;;
46429
 
+  -all-static       do not do any dynamic linking at all
46430
 
+  -avoid-version    do not add a version suffix if possible
46431
 
+  -dlopen FILE      \`-dlpreopen' FILE if it cannot be dlopened at runtime
46432
 
+  -dlpreopen FILE   link in FILE and add its symbols to lt_preloaded_symbols
46433
 
+  -export-dynamic   allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
46434
 
+  -export-symbols SYMFILE
46435
 
+                    try to export only the symbols listed in SYMFILE
46436
 
+  -export-symbols-regex REGEX
46437
 
+                    try to export only the symbols matching REGEX
46438
 
+  -LLIBDIR          search LIBDIR for required installed libraries
46439
 
+  -lNAME            OUTPUT-FILE requires the installed library libNAME
46440
 
+  -module           build a library that can dlopened
46441
 
+  -no-fast-install  disable the fast-install mode
46442
 
+  -no-install       link a not-installable executable
46443
 
+  -no-undefined     declare that a library does not refer to external symbols
46444
 
+  -o OUTPUT-FILE    create OUTPUT-FILE from the specified objects
46445
 
+  -objectlist FILE  Use a list of object files found in FILE to specify objects
46446
 
+  -precious-files-regex REGEX
46447
 
+                    don't remove output files matching REGEX
46448
 
+  -release RELEASE  specify package release information
46449
 
+  -rpath LIBDIR     the created library will eventually be installed in LIBDIR
46450
 
+  -R[ ]LIBDIR       add LIBDIR to the runtime path of programs and libraries
46451
 
+  -shared           only do dynamic linking of libtool libraries
46452
 
+  -shrext SUFFIX    override the standard shared library file extension
46453
 
+  -static           do not do any dynamic linking of uninstalled libtool libraries
46454
 
+  -static-libtool-libs
46455
 
+                    do not do any dynamic linking of libtool libraries
46456
 
+  -version-info CURRENT[:REVISION[:AGE]]
46457
 
+                    specify library version info [each variable defaults to 0]
46458
 
+  -weak LIBNAME     declare that the target provides the LIBNAME interface
46459
 
 
46460
 
-      -l*)
46461
 
-       if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
46462
 
-         case $host in
46463
 
-         *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*)
46464
 
-           # These systems don't actually have a C or math library (as such)
46465
 
-           continue
46466
 
-           ;;
46467
 
-         *-*-os2*)
46468
 
-           # These systems don't actually have a C library (as such)
46469
 
-           test "X$arg" = "X-lc" && continue
46470
 
-           ;;
46471
 
-         *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
46472
 
-           # Do not include libc due to us having libc/libc_r.
46473
 
-           test "X$arg" = "X-lc" && continue
46474
 
-           ;;
46475
 
-         *-*-rhapsody* | *-*-darwin1.[012])
46476
 
-           # Rhapsody C and math libraries are in the System framework
46477
 
-           deplibs="$deplibs -framework System"
46478
 
-           continue
46479
 
-           ;;
46480
 
-         *-*-sco3.2v5* | *-*-sco5v6*)
46481
 
-           # Causes problems with __ctype
46482
 
-           test "X$arg" = "X-lc" && continue
46483
 
-           ;;
46484
 
-         *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
46485
 
-           # Compiler inserts libc in the correct place for threads to work
46486
 
-           test "X$arg" = "X-lc" && continue
46487
 
-           ;;
46488
 
-         esac
46489
 
-       elif test "X$arg" = "X-lc_r"; then
46490
 
-        case $host in
46491
 
-        *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
46492
 
-          # Do not include libc_r directly, use -pthread flag.
46493
 
-          continue
46494
 
-          ;;
46495
 
-        esac
46496
 
-       fi
46497
 
-       deplibs="$deplibs $arg"
46498
 
-       continue
46499
 
-       ;;
46500
 
+All other options (arguments beginning with \`-') are ignored.
46501
 
 
46502
 
-      # Tru64 UNIX uses -model [arg] to determine the layout of C++
46503
 
-      # classes, name mangling, and exception handling.
46504
 
-      -model)
46505
 
-       compile_command="$compile_command $arg"
46506
 
-       compiler_flags="$compiler_flags $arg"
46507
 
-       finalize_command="$finalize_command $arg"
46508
 
-       prev=xcompiler
46509
 
-       continue
46510
 
-       ;;
46511
 
+Every other argument is treated as a filename.  Files ending in \`.la' are
46512
 
+treated as uninstalled libtool libraries, other files are standard or library
46513
 
+object files.
46514
 
 
46515
 
-     -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
46516
 
-       compiler_flags="$compiler_flags $arg"
46517
 
-       compile_command="$compile_command $arg"
46518
 
-       finalize_command="$finalize_command $arg"
46519
 
-       continue
46520
 
-       ;;
46521
 
+If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
46522
 
+only library objects (\`.lo' files) may be specified, and \`-rpath' is
46523
 
+required, except when creating a convenience library.
46524
 
 
46525
 
-      -multi_module)
46526
 
-       single_module="${wl}-multi_module"
46527
 
-       continue
46528
 
-       ;;
46529
 
+If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
46530
 
+using \`ar' and \`ranlib', or on Windows using \`lib'.
46531
 
 
46532
 
-      -module)
46533
 
-       module=yes
46534
 
-       continue
46535
 
-       ;;
46536
 
+If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
46537
 
+is created, otherwise an executable program is created."
46538
 
+        ;;
46539
 
 
46540
 
-      # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
46541
 
-      # -r[0-9][0-9]* specifies the processor on the SGI compiler
46542
 
-      # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
46543
 
-      # +DA*, +DD* enable 64-bit mode on the HP compiler
46544
 
-      # -q* pass through compiler args for the IBM compiler
46545
 
-      # -m* pass through architecture-specific compiler args for GCC
46546
 
-      # -m*, -t[45]*, -txscale* pass through architecture-specific
46547
 
-      # compiler args for GCC
46548
 
-      # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
46549
 
-      # -F/path gives path to uninstalled frameworks, gcc on darwin
46550
 
-      # @file GCC response files
46551
 
-      -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
46552
 
-      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
46553
 
+      uninstall)
46554
 
+        $ECHO \
46555
 
+"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
46556
 
 
46557
 
-       # Unknown arguments in both finalize_command and compile_command need
46558
 
-       # to be aesthetically quoted because they are evaled later.
46559
 
-       arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
46560
 
-       case $arg in
46561
 
-       *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \   ]*|*]*|"")
46562
 
-         arg="\"$arg\""
46563
 
-         ;;
46564
 
-       esac
46565
 
-        compile_command="$compile_command $arg"
46566
 
-        finalize_command="$finalize_command $arg"
46567
 
-        compiler_flags="$compiler_flags $arg"
46568
 
-        continue
46569
 
+Remove libraries from an installation directory.
46570
 
+
46571
 
+RM is the name of the program to use to delete files associated with each FILE
46572
 
+(typically \`/bin/rm').  RM-OPTIONS are options (such as \`-f') to be passed
46573
 
+to RM.
46574
 
+
46575
 
+If FILE is a libtool library, all the files associated with it are deleted.
46576
 
+Otherwise, only FILE itself is deleted using RM."
46577
 
         ;;
46578
 
 
46579
 
-      -shrext)
46580
 
-       prev=shrext
46581
 
-       continue
46582
 
-       ;;
46583
 
+      *)
46584
 
+        func_fatal_help "invalid operation mode \`$mode'"
46585
 
+        ;;
46586
 
+    esac
46587
 
 
46588
 
-      -no-fast-install)
46589
 
-       fast_install=no
46590
 
-       continue
46591
 
-       ;;
46592
 
+    $ECHO
46593
 
+    $ECHO "Try \`$progname --help' for more information about other modes."
46594
 
 
46595
 
-      -no-install)
46596
 
-       case $host in
46597
 
-       *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin*)
46598
 
-         # The PATH hackery in wrapper scripts is required on Windows
46599
 
-         # and Darwin in order for the loader to find any dlls it needs.
46600
 
-         $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
46601
 
-         $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
46602
 
-         fast_install=no
46603
 
-         ;;
46604
 
-       *) no_install=yes ;;
46605
 
-       esac
46606
 
-       continue
46607
 
-       ;;
46608
 
+    exit $?
46609
 
+}
46610
 
 
46611
 
-      -no-undefined)
46612
 
-       allow_undefined=no
46613
 
-       continue
46614
 
-       ;;
46615
 
+  # Now that we've collected a possible --mode arg, show help if necessary
46616
 
+  $opt_help && func_mode_help
46617
 
 
46618
 
-      -objectlist)
46619
 
-       prev=objectlist
46620
 
-       continue
46621
 
-       ;;
46622
 
 
46623
 
-      -o) prev=output ;;
46624
 
+# func_mode_execute arg...
46625
 
+func_mode_execute ()
46626
 
+{
46627
 
+    $opt_debug
46628
 
+    # The first argument is the command name.
46629
 
+    cmd="$nonopt"
46630
 
+    test -z "$cmd" && \
46631
 
+      func_fatal_help "you must specify a COMMAND"
46632
 
 
46633
 
-      -precious-files-regex)
46634
 
-       prev=precious_regex
46635
 
-       continue
46636
 
-       ;;
46637
 
+    # Handle -dlopen flags immediately.
46638
 
+    for file in $execute_dlfiles; do
46639
 
+      test -f "$file" \
46640
 
+       || func_fatal_help "\`$file' is not a file"
46641
 
 
46642
 
-      -release)
46643
 
-       prev=release
46644
 
-       continue
46645
 
-       ;;
46646
 
+      dir=
46647
 
+      case $file in
46648
 
+      *.la)
46649
 
+       # Check to see that this really is a libtool archive.
46650
 
+       func_lalib_unsafe_p "$file" \
46651
 
+         || func_fatal_help "\`$lib' is not a valid libtool archive"
46652
 
 
46653
 
-      -rpath)
46654
 
-       prev=rpath
46655
 
-       continue
46656
 
-       ;;
46657
 
+       # Read the libtool library.
46658
 
+       dlname=
46659
 
+       library_names=
46660
 
+       func_source "$file"
46661
 
 
46662
 
-      -R)
46663
 
-       prev=xrpath
46664
 
-       continue
46665
 
-       ;;
46666
 
+       # Skip this library if it cannot be dlopened.
46667
 
+       if test -z "$dlname"; then
46668
 
+         # Warn if it was a shared library.
46669
 
+         test -n "$library_names" && \
46670
 
+           func_warning "\`$file' was not linked with \`-export-dynamic'"
46671
 
+         continue
46672
 
+       fi
46673
 
 
46674
 
-      -R*)
46675
 
-       dir=`$echo "X$arg" | $Xsed -e 's/^-R//'`
46676
 
-       # We need an absolute path.
46677
 
-       case $dir in
46678
 
-       [\\/]* | [A-Za-z]:[\\/]*) ;;
46679
 
-       *)
46680
 
-         $echo "$modename: only absolute run-paths are allowed" 1>&2
46681
 
-         exit $EXIT_FAILURE
46682
 
-         ;;
46683
 
-       esac
46684
 
-       case "$xrpath " in
46685
 
-       *" $dir "*) ;;
46686
 
-       *) xrpath="$xrpath $dir" ;;
46687
 
-       esac
46688
 
-       continue
46689
 
-       ;;
46690
 
+       func_dirname "$file" "" "."
46691
 
+       dir="$func_dirname_result"
46692
 
 
46693
 
-      -static | -static-libtool-libs)
46694
 
-       # The effects of -static are defined in a previous loop.
46695
 
-       # We used to do the same as -all-static on platforms that
46696
 
-       # didn't have a PIC flag, but the assumption that the effects
46697
 
-       # would be equivalent was wrong.  It would break on at least
46698
 
-       # Digital Unix and AIX.
46699
 
-       continue
46700
 
+       if test -f "$dir/$objdir/$dlname"; then
46701
 
+         dir="$dir/$objdir"
46702
 
+       else
46703
 
+         if test ! -f "$dir/$dlname"; then
46704
 
+           func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'"
46705
 
+         fi
46706
 
+       fi
46707
 
        ;;
46708
 
 
46709
 
-      -thread-safe)
46710
 
-       thread_safe=yes
46711
 
-       continue
46712
 
+      *.lo)
46713
 
+       # Just add the directory containing the .lo file.
46714
 
+       func_dirname "$file" "" "."
46715
 
+       dir="$func_dirname_result"
46716
 
        ;;
46717
 
 
46718
 
-      -version-info)
46719
 
-       prev=vinfo
46720
 
-       continue
46721
 
-       ;;
46722
 
-      -version-number)
46723
 
-       prev=vinfo
46724
 
-       vinfo_number=yes
46725
 
+      *)
46726
 
+       func_warning "\`-dlopen' is ignored for non-libtool libraries and objects"
46727
 
        continue
46728
 
        ;;
46729
 
+      esac
46730
 
 
46731
 
-      -Wc,*)
46732
 
-       args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
46733
 
-       arg=
46734
 
-       save_ifs="$IFS"; IFS=','
46735
 
-       for flag in $args; do
46736
 
-         IFS="$save_ifs"
46737
 
-         case $flag in
46738
 
-           *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \       ]*|*]*|"")
46739
 
-           flag="\"$flag\""
46740
 
-           ;;
46741
 
-         esac
46742
 
-         arg="$arg $wl$flag"
46743
 
-         compiler_flags="$compiler_flags $flag"
46744
 
-       done
46745
 
-       IFS="$save_ifs"
46746
 
-       arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
46747
 
-       ;;
46748
 
+      # Get the absolute pathname.
46749
 
+      absdir=`cd "$dir" && pwd`
46750
 
+      test -n "$absdir" && dir="$absdir"
46751
 
 
46752
 
-      -Wl,*)
46753
 
-       args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
46754
 
-       arg=
46755
 
-       save_ifs="$IFS"; IFS=','
46756
 
-       for flag in $args; do
46757
 
-         IFS="$save_ifs"
46758
 
-         case $flag in
46759
 
-           *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \       ]*|*]*|"")
46760
 
-           flag="\"$flag\""
46761
 
-           ;;
46762
 
-         esac
46763
 
-         arg="$arg $wl$flag"
46764
 
-         compiler_flags="$compiler_flags $wl$flag"
46765
 
-         linker_flags="$linker_flags $flag"
46766
 
-       done
46767
 
-       IFS="$save_ifs"
46768
 
-       arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
46769
 
-       ;;
46770
 
+      # Now add the directory to shlibpath_var.
46771
 
+      if eval "test -z \"\$$shlibpath_var\""; then
46772
 
+       eval "$shlibpath_var=\"\$dir\""
46773
 
+      else
46774
 
+       eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
46775
 
+      fi
46776
 
+    done
46777
 
 
46778
 
-      -Xcompiler)
46779
 
-       prev=xcompiler
46780
 
-       continue
46781
 
-       ;;
46782
 
+    # This variable tells wrapper scripts just to set shlibpath_var
46783
 
+    # rather than running their programs.
46784
 
+    libtool_execute_magic="$magic"
46785
 
 
46786
 
-      -Xlinker)
46787
 
-       prev=xlinker
46788
 
-       continue
46789
 
+    # Check if any of the arguments is a wrapper script.
46790
 
+    args=
46791
 
+    for file
46792
 
+    do
46793
 
+      case $file in
46794
 
+      -*) ;;
46795
 
+      *)
46796
 
+       # Do a test to see if this is really a libtool program.
46797
 
+       if func_ltwrapper_script_p "$file"; then
46798
 
+         func_source "$file"
46799
 
+         # Transform arg to wrapped name.
46800
 
+         file="$progdir/$program"
46801
 
+       elif func_ltwrapper_executable_p "$file"; then
46802
 
+         func_ltwrapper_scriptname "$file"
46803
 
+         func_source "$func_ltwrapper_scriptname_result"
46804
 
+         # Transform arg to wrapped name.
46805
 
+         file="$progdir/$program"
46806
 
+       fi
46807
 
        ;;
46808
 
+      esac
46809
 
+      # Quote arguments (to preserve shell metacharacters).
46810
 
+      func_quote_for_eval "$file"
46811
 
+      args="$args $func_quote_for_eval_result"
46812
 
+    done
46813
 
 
46814
 
-      -XCClinker)
46815
 
-       prev=xcclinker
46816
 
-       continue
46817
 
-       ;;
46818
 
+    if test "X$opt_dry_run" = Xfalse; then
46819
 
+      if test -n "$shlibpath_var"; then
46820
 
+       # Export the shlibpath_var.
46821
 
+       eval "export $shlibpath_var"
46822
 
+      fi
46823
 
 
46824
 
-      # Some other compiler flag.
46825
 
-      -* | +*)
46826
 
-       # Unknown arguments in both finalize_command and compile_command need
46827
 
-       # to be aesthetically quoted because they are evaled later.
46828
 
-       arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
46829
 
-       case $arg in
46830
 
-       *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \   ]*|*]*|"")
46831
 
-         arg="\"$arg\""
46832
 
-         ;;
46833
 
-       esac
46834
 
-       ;;
46835
 
+      # Restore saved environment variables
46836
 
+      for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
46837
 
+      do
46838
 
+       eval "if test \"\${save_$lt_var+set}\" = set; then
46839
 
+                $lt_var=\$save_$lt_var; export $lt_var
46840
 
+             else
46841
 
+               $lt_unset $lt_var
46842
 
+             fi"
46843
 
+      done
46844
 
 
46845
 
-      *.$objext)
46846
 
-       # A standard object.
46847
 
-       objs="$objs $arg"
46848
 
-       ;;
46849
 
+      # Now prepare to actually exec the command.
46850
 
+      exec_cmd="\$cmd$args"
46851
 
+    else
46852
 
+      # Display what would be done.
46853
 
+      if test -n "$shlibpath_var"; then
46854
 
+       eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
46855
 
+       $ECHO "export $shlibpath_var"
46856
 
+      fi
46857
 
+      $ECHO "$cmd$args"
46858
 
+      exit $EXIT_SUCCESS
46859
 
+    fi
46860
 
+}
46861
 
 
46862
 
-      *.lo)
46863
 
-       # A libtool-controlled object.
46864
 
+test "$mode" = execute && func_mode_execute ${1+"$@"}
46865
 
 
46866
 
-       # Check to see that this really is a libtool object.
46867
 
-       if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
46868
 
-         pic_object=
46869
 
-         non_pic_object=
46870
 
 
46871
 
-         # Read the .lo file
46872
 
-         # If there is no directory component, then add one.
46873
 
-         case $arg in
46874
 
-         */* | *\\*) . $arg ;;
46875
 
-         *) . ./$arg ;;
46876
 
-         esac
46877
 
+# func_mode_finish arg...
46878
 
+func_mode_finish ()
46879
 
+{
46880
 
+    $opt_debug
46881
 
+    libdirs="$nonopt"
46882
 
+    admincmds=
46883
 
 
46884
 
-         if test -z "$pic_object" || \
46885
 
-            test -z "$non_pic_object" ||
46886
 
-            test "$pic_object" = none && \
46887
 
-            test "$non_pic_object" = none; then
46888
 
-           $echo "$modename: cannot find name of object for \`$arg'" 1>&2
46889
 
-           exit $EXIT_FAILURE
46890
 
-         fi
46891
 
+    if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
46892
 
+      for dir
46893
 
+      do
46894
 
+       libdirs="$libdirs $dir"
46895
 
+      done
46896
 
 
46897
 
-         # Extract subdirectory from the argument.
46898
 
-         xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
46899
 
-         if test "X$xdir" = "X$arg"; then
46900
 
-           xdir=
46901
 
-         else
46902
 
-           xdir="$xdir/"
46903
 
-         fi
46904
 
+      for libdir in $libdirs; do
46905
 
+       if test -n "$finish_cmds"; then
46906
 
+         # Do each command in the finish commands.
46907
 
+         func_execute_cmds "$finish_cmds" 'admincmds="$admincmds
46908
 
+'"$cmd"'"'
46909
 
+       fi
46910
 
+       if test -n "$finish_eval"; then
46911
 
+         # Do the single finish_eval.
46912
 
+         eval cmds=\"$finish_eval\"
46913
 
+         $opt_dry_run || eval "$cmds" || admincmds="$admincmds
46914
 
+       $cmds"
46915
 
+       fi
46916
 
+      done
46917
 
+    fi
46918
 
 
46919
 
-         if test "$pic_object" != none; then
46920
 
-           # Prepend the subdirectory the object is found in.
46921
 
-           pic_object="$xdir$pic_object"
46922
 
+    # Exit here if they wanted silent mode.
46923
 
+    $opt_silent && exit $EXIT_SUCCESS
46924
 
 
46925
 
-           if test "$prev" = dlfiles; then
46926
 
-             if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
46927
 
-               dlfiles="$dlfiles $pic_object"
46928
 
-               prev=
46929
 
-               continue
46930
 
-             else
46931
 
-               # If libtool objects are unsupported, then we need to preload.
46932
 
-               prev=dlprefiles
46933
 
-             fi
46934
 
-           fi
46935
 
+    $ECHO "X----------------------------------------------------------------------" | $Xsed
46936
 
+    $ECHO "Libraries have been installed in:"
46937
 
+    for libdir in $libdirs; do
46938
 
+      $ECHO "   $libdir"
46939
 
+    done
46940
 
+    $ECHO
46941
 
+    $ECHO "If you ever happen to want to link against installed libraries"
46942
 
+    $ECHO "in a given directory, LIBDIR, you must either use libtool, and"
46943
 
+    $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'"
46944
 
+    $ECHO "flag during linking and do at least one of the following:"
46945
 
+    if test -n "$shlibpath_var"; then
46946
 
+      $ECHO "   - add LIBDIR to the \`$shlibpath_var' environment variable"
46947
 
+      $ECHO "     during execution"
46948
 
+    fi
46949
 
+    if test -n "$runpath_var"; then
46950
 
+      $ECHO "   - add LIBDIR to the \`$runpath_var' environment variable"
46951
 
+      $ECHO "     during linking"
46952
 
+    fi
46953
 
+    if test -n "$hardcode_libdir_flag_spec"; then
46954
 
+      libdir=LIBDIR
46955
 
+      eval flag=\"$hardcode_libdir_flag_spec\"
46956
 
 
46957
 
-           # CHECK ME:  I think I busted this.  -Ossama
46958
 
-           if test "$prev" = dlprefiles; then
46959
 
-             # Preload the old-style object.
46960
 
-             dlprefiles="$dlprefiles $pic_object"
46961
 
-             prev=
46962
 
-           fi
46963
 
+      $ECHO "   - use the \`$flag' linker flag"
46964
 
+    fi
46965
 
+    if test -n "$admincmds"; then
46966
 
+      $ECHO "   - have your system administrator run these commands:$admincmds"
46967
 
+    fi
46968
 
+    if test -f /etc/ld.so.conf; then
46969
 
+      $ECHO "   - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
46970
 
+    fi
46971
 
+    $ECHO
46972
 
 
46973
 
-           # A PIC object.
46974
 
-           libobjs="$libobjs $pic_object"
46975
 
-           arg="$pic_object"
46976
 
-         fi
46977
 
+    $ECHO "See any operating system documentation about shared libraries for"
46978
 
+    case $host in
46979
 
+      solaris2.[6789]|solaris2.1[0-9])
46980
 
+        $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual"
46981
 
+       $ECHO "pages."
46982
 
+       ;;
46983
 
+      *)
46984
 
+        $ECHO "more information, such as the ld(1) and ld.so(8) manual pages."
46985
 
+        ;;
46986
 
+    esac
46987
 
+    $ECHO "X----------------------------------------------------------------------" | $Xsed
46988
 
+    exit $EXIT_SUCCESS
46989
 
+}
46990
 
 
46991
 
-         # Non-PIC object.
46992
 
-         if test "$non_pic_object" != none; then
46993
 
-           # Prepend the subdirectory the object is found in.
46994
 
-           non_pic_object="$xdir$non_pic_object"
46995
 
+test "$mode" = finish && func_mode_finish ${1+"$@"}
46996
 
 
46997
 
-           # A standard non-PIC object
46998
 
-           non_pic_objects="$non_pic_objects $non_pic_object"
46999
 
-           if test -z "$pic_object" || test "$pic_object" = none ; then
47000
 
-             arg="$non_pic_object"
47001
 
-           fi
47002
 
-         else
47003
 
-           # If the PIC object exists, use it instead.
47004
 
-           # $xdir was prepended to $pic_object above.
47005
 
-           non_pic_object="$pic_object"
47006
 
-           non_pic_objects="$non_pic_objects $non_pic_object"
47007
 
-         fi
47008
 
-       else
47009
 
-         # Only an error if not doing a dry-run.
47010
 
-         if test -z "$run"; then
47011
 
-           $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
47012
 
-           exit $EXIT_FAILURE
47013
 
-         else
47014
 
-           # Dry-run case.
47015
 
 
47016
 
-           # Extract subdirectory from the argument.
47017
 
-           xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
47018
 
-           if test "X$xdir" = "X$arg"; then
47019
 
-             xdir=
47020
 
-           else
47021
 
-             xdir="$xdir/"
47022
 
-           fi
47023
 
+# func_mode_install arg...
47024
 
+func_mode_install ()
47025
 
+{
47026
 
+    $opt_debug
47027
 
+    # There may be an optional sh(1) argument at the beginning of
47028
 
+    # install_prog (especially on Windows NT).
47029
 
+    if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
47030
 
+       # Allow the use of GNU shtool's install command.
47031
 
+       $ECHO "X$nonopt" | $GREP shtool >/dev/null; then
47032
 
+      # Aesthetically quote it.
47033
 
+      func_quote_for_eval "$nonopt"
47034
 
+      install_prog="$func_quote_for_eval_result "
47035
 
+      arg=$1
47036
 
+      shift
47037
 
+    else
47038
 
+      install_prog=
47039
 
+      arg=$nonopt
47040
 
+    fi
47041
 
 
47042
 
-           pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
47043
 
-           non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
47044
 
-           libobjs="$libobjs $pic_object"
47045
 
-           non_pic_objects="$non_pic_objects $non_pic_object"
47046
 
-         fi
47047
 
-       fi
47048
 
-       ;;
47049
 
+    # The real first argument should be the name of the installation program.
47050
 
+    # Aesthetically quote it.
47051
 
+    func_quote_for_eval "$arg"
47052
 
+    install_prog="$install_prog$func_quote_for_eval_result"
47053
 
 
47054
 
-      *.$libext)
47055
 
-       # An archive.
47056
 
-       deplibs="$deplibs $arg"
47057
 
-       old_deplibs="$old_deplibs $arg"
47058
 
+    # We need to accept at least all the BSD install flags.
47059
 
+    dest=
47060
 
+    files=
47061
 
+    opts=
47062
 
+    prev=
47063
 
+    install_type=
47064
 
+    isdir=no
47065
 
+    stripme=
47066
 
+    for arg
47067
 
+    do
47068
 
+      if test -n "$dest"; then
47069
 
+       files="$files $dest"
47070
 
+       dest=$arg
47071
 
        continue
47072
 
-       ;;
47073
 
-
47074
 
-      *.la)
47075
 
-       # A libtool-controlled library.
47076
 
+      fi
47077
 
 
47078
 
-       if test "$prev" = dlfiles; then
47079
 
-         # This library was specified with -dlopen.
47080
 
-         dlfiles="$dlfiles $arg"
47081
 
-         prev=
47082
 
-       elif test "$prev" = dlprefiles; then
47083
 
-         # The library was specified with -dlpreopen.
47084
 
-         dlprefiles="$dlprefiles $arg"
47085
 
+      case $arg in
47086
 
+      -d) isdir=yes ;;
47087
 
+      -f)
47088
 
+       case " $install_prog " in
47089
 
+       *[\\\ /]cp\ *) ;;
47090
 
+       *) prev=$arg ;;
47091
 
+       esac
47092
 
+       ;;
47093
 
+      -g | -m | -o)
47094
 
+       prev=$arg
47095
 
+       ;;
47096
 
+      -s)
47097
 
+       stripme=" -s"
47098
 
+       continue
47099
 
+       ;;
47100
 
+      -*)
47101
 
+       ;;
47102
 
+      *)
47103
 
+       # If the previous option needed an argument, then skip it.
47104
 
+       if test -n "$prev"; then
47105
 
          prev=
47106
 
        else
47107
 
-         deplibs="$deplibs $arg"
47108
 
+         dest=$arg
47109
 
+         continue
47110
 
        fi
47111
 
-       continue
47112
 
        ;;
47113
 
+      esac
47114
 
 
47115
 
-      # Some other compiler argument.
47116
 
-      *)
47117
 
-       # Unknown arguments in both finalize_command and compile_command need
47118
 
-       # to be aesthetically quoted because they are evaled later.
47119
 
-       arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
47120
 
-       case $arg in
47121
 
-       *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \   ]*|*]*|"")
47122
 
-         arg="\"$arg\""
47123
 
-         ;;
47124
 
-       esac
47125
 
-       ;;
47126
 
-      esac # arg
47127
 
+      # Aesthetically quote the argument.
47128
 
+      func_quote_for_eval "$arg"
47129
 
+      install_prog="$install_prog $func_quote_for_eval_result"
47130
 
+    done
47131
 
 
47132
 
-      # Now actually substitute the argument into the commands.
47133
 
-      if test -n "$arg"; then
47134
 
-       compile_command="$compile_command $arg"
47135
 
-       finalize_command="$finalize_command $arg"
47136
 
-      fi
47137
 
-    done # argument parsing loop
47138
 
+    test -z "$install_prog" && \
47139
 
+      func_fatal_help "you must specify an install program"
47140
 
 
47141
 
-    if test -n "$prev"; then
47142
 
-      $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
47143
 
-      $echo "$help" 1>&2
47144
 
-      exit $EXIT_FAILURE
47145
 
-    fi
47146
 
+    test -n "$prev" && \
47147
 
+      func_fatal_help "the \`$prev' option requires an argument"
47148
 
 
47149
 
-    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
47150
 
-      eval arg=\"$export_dynamic_flag_spec\"
47151
 
-      compile_command="$compile_command $arg"
47152
 
-      finalize_command="$finalize_command $arg"
47153
 
+    if test -z "$files"; then
47154
 
+      if test -z "$dest"; then
47155
 
+       func_fatal_help "no file or destination specified"
47156
 
+      else
47157
 
+       func_fatal_help "you must specify a destination"
47158
 
+      fi
47159
 
     fi
47160
 
 
47161
 
-    oldlibs=
47162
 
-    # calculate the name of the file, without its directory
47163
 
-    outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
47164
 
-    libobjs_save="$libobjs"
47165
 
+    # Strip any trailing slash from the destination.
47166
 
+    func_stripname '' '/' "$dest"
47167
 
+    dest=$func_stripname_result
47168
 
 
47169
 
-    if test -n "$shlibpath_var"; then
47170
 
-      # get the directories listed in $shlibpath_var
47171
 
-      eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
47172
 
+    # Check to see that the destination is a directory.
47173
 
+    test -d "$dest" && isdir=yes
47174
 
+    if test "$isdir" = yes; then
47175
 
+      destdir="$dest"
47176
 
+      destname=
47177
 
     else
47178
 
-      shlib_search_path=
47179
 
-    fi
47180
 
-    eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
47181
 
-    eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
47182
 
+      func_dirname_and_basename "$dest" "" "."
47183
 
+      destdir="$func_dirname_result"
47184
 
+      destname="$func_basename_result"
47185
 
 
47186
 
-    output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
47187
 
-    if test "X$output_objdir" = "X$output"; then
47188
 
-      output_objdir="$objdir"
47189
 
-    else
47190
 
-      output_objdir="$output_objdir/$objdir"
47191
 
-    fi
47192
 
-    # Create the object directory.
47193
 
-    if test ! -d "$output_objdir"; then
47194
 
-      $show "$mkdir $output_objdir"
47195
 
-      $run $mkdir $output_objdir
47196
 
-      exit_status=$?
47197
 
-      if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then
47198
 
-       exit $exit_status
47199
 
-      fi
47200
 
+      # Not a directory, so check to see that there is only one file specified.
47201
 
+      set dummy $files; shift
47202
 
+      test "$#" -gt 1 && \
47203
 
+       func_fatal_help "\`$dest' is not a directory"
47204
 
     fi
47205
 
-
47206
 
-    # Determine the type of output
47207
 
-    case $output in
47208
 
-    "")
47209
 
-      $echo "$modename: you must specify an output file" 1>&2
47210
 
-      $echo "$help" 1>&2
47211
 
-      exit $EXIT_FAILURE
47212
 
-      ;;
47213
 
-    *.$libext) linkmode=oldlib ;;
47214
 
-    *.lo | *.$objext) linkmode=obj ;;
47215
 
-    *.la) linkmode=lib ;;
47216
 
-    *) linkmode=prog ;; # Anything else should be a program.
47217
 
-    esac
47218
 
-
47219
 
-    case $host in
47220
 
-    *cygwin* | *mingw* | *pw32*)
47221
 
-      # don't eliminate duplications in $postdeps and $predeps
47222
 
-      duplicate_compiler_generated_deps=yes
47223
 
-      ;;
47224
 
+    case $destdir in
47225
 
+    [\\/]* | [A-Za-z]:[\\/]*) ;;
47226
 
     *)
47227
 
-      duplicate_compiler_generated_deps=$duplicate_deps
47228
 
+      for file in $files; do
47229
 
+       case $file in
47230
 
+       *.lo) ;;
47231
 
+       *)
47232
 
+         func_fatal_help "\`$destdir' must be an absolute directory name"
47233
 
+         ;;
47234
 
+       esac
47235
 
+      done
47236
 
       ;;
47237
 
     esac
47238
 
-    specialdeplibs=
47239
 
 
47240
 
-    libs=
47241
 
-    # Find all interdependent deplibs by searching for libraries
47242
 
-    # that are linked more than once (e.g. -la -lb -la)
47243
 
-    for deplib in $deplibs; do
47244
 
-      if test "X$duplicate_deps" = "Xyes" ; then
47245
 
-       case "$libs " in
47246
 
-       *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
47247
 
-       esac
47248
 
-      fi
47249
 
-      libs="$libs $deplib"
47250
 
-    done
47251
 
+    # This variable tells wrapper scripts just to set variables rather
47252
 
+    # than running their programs.
47253
 
+    libtool_install_magic="$magic"
47254
 
 
47255
 
-    if test "$linkmode" = lib; then
47256
 
-      libs="$predeps $libs $compiler_lib_search_path $postdeps"
47257
 
+    staticlibs=
47258
 
+    future_libdirs=
47259
 
+    current_libdirs=
47260
 
+    for file in $files; do
47261
 
 
47262
 
-      # Compute libraries that are listed more than once in $predeps
47263
 
-      # $postdeps and mark them as special (i.e., whose duplicates are
47264
 
-      # not to be eliminated).
47265
 
-      pre_post_deps=
47266
 
-      if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then
47267
 
-       for pre_post_dep in $predeps $postdeps; do
47268
 
-         case "$pre_post_deps " in
47269
 
-         *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
47270
 
+      # Do each installation.
47271
 
+      case $file in
47272
 
+      *.$libext)
47273
 
+       # Do the static libraries later.
47274
 
+       staticlibs="$staticlibs $file"
47275
 
+       ;;
47276
 
+
47277
 
+      *.la)
47278
 
+       # Check to see that this really is a libtool archive.
47279
 
+       func_lalib_unsafe_p "$file" \
47280
 
+         || func_fatal_help "\`$file' is not a valid libtool archive"
47281
 
+
47282
 
+       library_names=
47283
 
+       old_library=
47284
 
+       relink_command=
47285
 
+       func_source "$file"
47286
 
+
47287
 
+       # Add the libdir to current_libdirs if it is the destination.
47288
 
+       if test "X$destdir" = "X$libdir"; then
47289
 
+         case "$current_libdirs " in
47290
 
+         *" $libdir "*) ;;
47291
 
+         *) current_libdirs="$current_libdirs $libdir" ;;
47292
 
          esac
47293
 
-         pre_post_deps="$pre_post_deps $pre_post_dep"
47294
 
-       done
47295
 
-      fi
47296
 
-      pre_post_deps=
47297
 
-    fi
47298
 
+       else
47299
 
+         # Note the libdir as a future libdir.
47300
 
+         case "$future_libdirs " in
47301
 
+         *" $libdir "*) ;;
47302
 
+         *) future_libdirs="$future_libdirs $libdir" ;;
47303
 
+         esac
47304
 
+       fi
47305
 
 
47306
 
-    deplibs=
47307
 
-    newdependency_libs=
47308
 
-    newlib_search_path=
47309
 
-    need_relink=no # whether we're linking any uninstalled libtool libraries
47310
 
-    notinst_deplibs= # not-installed libtool libraries
47311
 
-    case $linkmode in
47312
 
-    lib)
47313
 
-       passes="conv link"
47314
 
-       for file in $dlfiles $dlprefiles; do
47315
 
-         case $file in
47316
 
-         *.la) ;;
47317
 
-         *)
47318
 
-           $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
47319
 
-           exit $EXIT_FAILURE
47320
 
+       func_dirname "$file" "/" ""
47321
 
+       dir="$func_dirname_result"
47322
 
+       dir="$dir$objdir"
47323
 
+
47324
 
+       if test -n "$relink_command"; then
47325
 
+         # Determine the prefix the user has applied to our future dir.
47326
 
+         inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"`
47327
 
+
47328
 
+         # Don't allow the user to place us outside of our expected
47329
 
+         # location b/c this prevents finding dependent libraries that
47330
 
+         # are installed to the same prefix.
47331
 
+         # At present, this check doesn't affect windows .dll's that
47332
 
+         # are installed into $libdir/../bin (currently, that works fine)
47333
 
+         # but it's something to keep an eye on.
47334
 
+         test "$inst_prefix_dir" = "$destdir" && \
47335
 
+           func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir"
47336
 
+
47337
 
+         if test -n "$inst_prefix_dir"; then
47338
 
+           # Stick the inst_prefix_dir data into the link command.
47339
 
+           relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
47340
 
+         else
47341
 
+           relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"`
47342
 
+         fi
47343
 
+
47344
 
+         func_warning "relinking \`$file'"
47345
 
+         func_show_eval "$relink_command" \
47346
 
+           'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"'
47347
 
+       fi
47348
 
+
47349
 
+       # See the names of the shared library.
47350
 
+       set dummy $library_names; shift
47351
 
+       if test -n "$1"; then
47352
 
+         realname="$1"
47353
 
+         shift
47354
 
+
47355
 
+         srcname="$realname"
47356
 
+         test -n "$relink_command" && srcname="$realname"T
47357
 
+
47358
 
+         # Install the shared library and build the symlinks.
47359
 
+         func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \
47360
 
+             'exit $?'
47361
 
+         tstripme="$stripme"
47362
 
+         case $host_os in
47363
 
+         cygwin* | mingw* | pw32* | cegcc*)
47364
 
+           case $realname in
47365
 
+           *.dll.a)
47366
 
+             tstripme=""
47367
 
+             ;;
47368
 
+           esac
47369
 
            ;;
47370
 
          esac
47371
 
-       done
47372
 
-       ;;
47373
 
-    prog)
47374
 
-       compile_deplibs=
47375
 
-       finalize_deplibs=
47376
 
-       alldeplibs=no
47377
 
-       newdlfiles=
47378
 
-       newdlprefiles=
47379
 
-       passes="conv scan dlopen dlpreopen link"
47380
 
-       ;;
47381
 
-    *)  passes="conv"
47382
 
-       ;;
47383
 
-    esac
47384
 
-    for pass in $passes; do
47385
 
-      if test "$linkmode,$pass" = "lib,link" ||
47386
 
-        test "$linkmode,$pass" = "prog,scan"; then
47387
 
-       libs="$deplibs"
47388
 
-       deplibs=
47389
 
-      fi
47390
 
-      if test "$linkmode" = prog; then
47391
 
-       case $pass in
47392
 
-       dlopen) libs="$dlfiles" ;;
47393
 
-       dlpreopen) libs="$dlprefiles" ;;
47394
 
-       link)
47395
 
-         libs="$deplibs %DEPLIBS%"
47396
 
-         test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
47397
 
-         ;;
47398
 
-       esac
47399
 
-      fi
47400
 
-      if test "$pass" = dlopen; then
47401
 
-       # Collect dlpreopened libraries
47402
 
-       save_deplibs="$deplibs"
47403
 
-       deplibs=
47404
 
-      fi
47405
 
-      for deplib in $libs; do
47406
 
-       lib=
47407
 
-       found=no
47408
 
-       case $deplib in
47409
 
-       -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
47410
 
-         if test "$linkmode,$pass" = "prog,link"; then
47411
 
-           compile_deplibs="$deplib $compile_deplibs"
47412
 
-           finalize_deplibs="$deplib $finalize_deplibs"
47413
 
-         else
47414
 
-           compiler_flags="$compiler_flags $deplib"
47415
 
-         fi
47416
 
-         continue
47417
 
-         ;;
47418
 
-       -l*)
47419
 
-         if test "$linkmode" != lib && test "$linkmode" != prog; then
47420
 
-           $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
47421
 
-           continue
47422
 
-         fi
47423
 
-         name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
47424
 
-         if test "$linkmode" = lib; then
47425
 
-           searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
47426
 
-         else
47427
 
-           searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
47428
 
+         if test -n "$tstripme" && test -n "$striplib"; then
47429
 
+           func_show_eval "$striplib $destdir/$realname" 'exit $?'
47430
 
          fi
47431
 
-         for searchdir in $searchdirs; do
47432
 
-           for search_ext in .la $std_shrext .so .a; do
47433
 
-             # Search the libtool library
47434
 
-             lib="$searchdir/lib${name}${search_ext}"
47435
 
-             if test -f "$lib"; then
47436
 
-               if test "$search_ext" = ".la"; then
47437
 
-                 found=yes
47438
 
-               else
47439
 
-                 found=no
47440
 
-               fi
47441
 
-               break 2
47442
 
-             fi
47443
 
+
47444
 
+         if test "$#" -gt 0; then
47445
 
+           # Delete the old symlinks, and create new ones.
47446
 
+           # Try `ln -sf' first, because the `ln' binary might depend on
47447
 
+           # the symlink we replace!  Solaris /bin/ln does not understand -f,
47448
 
+           # so we also need to try rm && ln -s.
47449
 
+           for linkname
47450
 
+           do
47451
 
+             test "$linkname" != "$realname" \
47452
 
+               && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })"
47453
 
            done
47454
 
-         done
47455
 
-         if test "$found" != yes; then
47456
 
-           # deplib doesn't seem to be a libtool library
47457
 
-           if test "$linkmode,$pass" = "prog,link"; then
47458
 
-             compile_deplibs="$deplib $compile_deplibs"
47459
 
-             finalize_deplibs="$deplib $finalize_deplibs"
47460
 
-           else
47461
 
-             deplibs="$deplib $deplibs"
47462
 
-             test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
47463
 
-           fi
47464
 
-           continue
47465
 
-         else # deplib is a libtool library
47466
 
-           # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
47467
 
-           # We need to do some special things here, and not later.
47468
 
-           if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
47469
 
-             case " $predeps $postdeps " in
47470
 
-             *" $deplib "*)
47471
 
-               if (${SED} -e '2q' $lib |
47472
 
-                    grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
47473
 
-                 library_names=
47474
 
-                 old_library=
47475
 
-                 case $lib in
47476
 
-                 */* | *\\*) . $lib ;;
47477
 
-                 *) . ./$lib ;;
47478
 
-                 esac
47479
 
-                 for l in $old_library $library_names; do
47480
 
-                   ll="$l"
47481
 
-                 done
47482
 
-                 if test "X$ll" = "X$old_library" ; then # only static version available
47483
 
-                   found=no
47484
 
-                   ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
47485
 
-                   test "X$ladir" = "X$lib" && ladir="."
47486
 
-                   lib=$ladir/$old_library
47487
 
-                   if test "$linkmode,$pass" = "prog,link"; then
47488
 
-                     compile_deplibs="$deplib $compile_deplibs"
47489
 
-                     finalize_deplibs="$deplib $finalize_deplibs"
47490
 
-                   else
47491
 
-                     deplibs="$deplib $deplibs"
47492
 
-                     test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
47493
 
-                   fi
47494
 
-                   continue
47495
 
-                 fi
47496
 
-               fi
47497
 
-               ;;
47498
 
-             *) ;;
47499
 
-             esac
47500
 
-           fi
47501
 
-         fi
47502
 
-         ;; # -l
47503
 
-       -L*)
47504
 
-         case $linkmode in
47505
 
-         lib)
47506
 
-           deplibs="$deplib $deplibs"
47507
 
-           test "$pass" = conv && continue
47508
 
-           newdependency_libs="$deplib $newdependency_libs"
47509
 
-           newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
47510
 
-           ;;
47511
 
-         prog)
47512
 
-           if test "$pass" = conv; then
47513
 
-             deplibs="$deplib $deplibs"
47514
 
-             continue
47515
 
-           fi
47516
 
-           if test "$pass" = scan; then
47517
 
-             deplibs="$deplib $deplibs"
47518
 
-           else
47519
 
-             compile_deplibs="$deplib $compile_deplibs"
47520
 
-             finalize_deplibs="$deplib $finalize_deplibs"
47521
 
-           fi
47522
 
-           newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
47523
 
-           ;;
47524
 
-         *)
47525
 
-           $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
47526
 
-           ;;
47527
 
-         esac # linkmode
47528
 
-         continue
47529
 
-         ;; # -L
47530
 
-       -R*)
47531
 
-         if test "$pass" = link; then
47532
 
-           dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
47533
 
-           # Make sure the xrpath contains only unique directories.
47534
 
-           case "$xrpath " in
47535
 
-           *" $dir "*) ;;
47536
 
-           *) xrpath="$xrpath $dir" ;;
47537
 
-           esac
47538
 
-         fi
47539
 
-         deplibs="$deplib $deplibs"
47540
 
-         continue
47541
 
-         ;;
47542
 
-       *.la) lib="$deplib" ;;
47543
 
-       *.$libext)
47544
 
-         if test "$pass" = conv; then
47545
 
-           deplibs="$deplib $deplibs"
47546
 
-           continue
47547
 
-         fi
47548
 
-         case $linkmode in
47549
 
-         lib)
47550
 
-           valid_a_lib=no
47551
 
-           case $deplibs_check_method in
47552
 
-             match_pattern*)
47553
 
-               set dummy $deplibs_check_method
47554
 
-               match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
47555
 
-               if eval $echo \"$deplib\" 2>/dev/null \
47556
 
-                   | $SED 10q \
47557
 
-                   | $EGREP "$match_pattern_regex" > /dev/null; then
47558
 
-                 valid_a_lib=yes
47559
 
-               fi
47560
 
-               ;;
47561
 
-             pass_all)
47562
 
-               valid_a_lib=yes
47563
 
-               ;;
47564
 
-            esac
47565
 
-           if test "$valid_a_lib" != yes; then
47566
 
-             $echo
47567
 
-             $echo "*** Warning: Trying to link with static lib archive $deplib."
47568
 
-             $echo "*** I have the capability to make that library automatically link in when"
47569
 
-             $echo "*** you link to this library.  But I can only do this if you have a"
47570
 
-             $echo "*** shared version of the library, which you do not appear to have"
47571
 
-             $echo "*** because the file extensions .$libext of this argument makes me believe"
47572
 
-             $echo "*** that it is just a static archive that I should not used here."
47573
 
-           else
47574
 
-             $echo
47575
 
-             $echo "*** Warning: Linking the shared library $output against the"
47576
 
-             $echo "*** static library $deplib is not portable!"
47577
 
-             deplibs="$deplib $deplibs"
47578
 
-           fi
47579
 
-           continue
47580
 
-           ;;
47581
 
-         prog)
47582
 
-           if test "$pass" != link; then
47583
 
-             deplibs="$deplib $deplibs"
47584
 
-           else
47585
 
-             compile_deplibs="$deplib $compile_deplibs"
47586
 
-             finalize_deplibs="$deplib $finalize_deplibs"
47587
 
-           fi
47588
 
-           continue
47589
 
-           ;;
47590
 
-         esac # linkmode
47591
 
-         ;; # *.$libext
47592
 
-       *.lo | *.$objext)
47593
 
-         if test "$pass" = conv; then
47594
 
-           deplibs="$deplib $deplibs"
47595
 
-         elif test "$linkmode" = prog; then
47596
 
-           if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
47597
 
-             # If there is no dlopen support or we're linking statically,
47598
 
-             # we need to preload.
47599
 
-             newdlprefiles="$newdlprefiles $deplib"
47600
 
-             compile_deplibs="$deplib $compile_deplibs"
47601
 
-             finalize_deplibs="$deplib $finalize_deplibs"
47602
 
-           else
47603
 
-             newdlfiles="$newdlfiles $deplib"
47604
 
-           fi
47605
 
          fi
47606
 
-         continue
47607
 
-         ;;
47608
 
-       %DEPLIBS%)
47609
 
-         alldeplibs=yes
47610
 
-         continue
47611
 
-         ;;
47612
 
-       esac # case $deplib
47613
 
-       if test "$found" = yes || test -f "$lib"; then :
47614
 
-       else
47615
 
-         $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2
47616
 
-         exit $EXIT_FAILURE
47617
 
-       fi
47618
 
 
47619
 
-       # Check to see that this really is a libtool archive.
47620
 
-       if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
47621
 
-       else
47622
 
-         $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
47623
 
-         exit $EXIT_FAILURE
47624
 
+         # Do each command in the postinstall commands.
47625
 
+         lib="$destdir/$realname"
47626
 
+         func_execute_cmds "$postinstall_cmds" 'exit $?'
47627
 
        fi
47628
 
 
47629
 
-       ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
47630
 
-       test "X$ladir" = "X$lib" && ladir="."
47631
 
-
47632
 
-       dlname=
47633
 
-       dlopen=
47634
 
-       dlpreopen=
47635
 
-       libdir=
47636
 
-       library_names=
47637
 
-       old_library=
47638
 
-       # If the library was installed with an old release of libtool,
47639
 
-       # it will not redefine variables installed, or shouldnotlink
47640
 
-       installed=yes
47641
 
-       shouldnotlink=no
47642
 
-       avoidtemprpath=
47643
 
+       # Install the pseudo-library for information purposes.
47644
 
+       func_basename "$file"
47645
 
+       name="$func_basename_result"
47646
 
+       instname="$dir/$name"i
47647
 
+       func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
47648
 
 
47649
 
+       # Maybe install the static library, too.
47650
 
+       test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
47651
 
+       ;;
47652
 
 
47653
 
-       # Read the .la file
47654
 
-       case $lib in
47655
 
-       */* | *\\*) . $lib ;;
47656
 
-       *) . ./$lib ;;
47657
 
-       esac
47658
 
+      *.lo)
47659
 
+       # Install (i.e. copy) a libtool object.
47660
 
 
47661
 
-       if test "$linkmode,$pass" = "lib,link" ||
47662
 
-          test "$linkmode,$pass" = "prog,scan" ||
47663
 
-          { test "$linkmode" != prog && test "$linkmode" != lib; }; then
47664
 
-         test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
47665
 
-         test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
47666
 
+       # Figure out destination file name, if it wasn't already specified.
47667
 
+       if test -n "$destname"; then
47668
 
+         destfile="$destdir/$destname"
47669
 
+       else
47670
 
+         func_basename "$file"
47671
 
+         destfile="$func_basename_result"
47672
 
+         destfile="$destdir/$destfile"
47673
 
        fi
47674
 
 
47675
 
-       if test "$pass" = conv; then
47676
 
-         # Only check for convenience libraries
47677
 
-         deplibs="$lib $deplibs"
47678
 
-         if test -z "$libdir"; then
47679
 
-           if test -z "$old_library"; then
47680
 
-             $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
47681
 
-             exit $EXIT_FAILURE
47682
 
-           fi
47683
 
-           # It is a libtool convenience library, so add in its objects.
47684
 
-           convenience="$convenience $ladir/$objdir/$old_library"
47685
 
-           old_convenience="$old_convenience $ladir/$objdir/$old_library"
47686
 
-           tmp_libs=
47687
 
-           for deplib in $dependency_libs; do
47688
 
-             deplibs="$deplib $deplibs"
47689
 
-              if test "X$duplicate_deps" = "Xyes" ; then
47690
 
-               case "$tmp_libs " in
47691
 
-               *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
47692
 
-               esac
47693
 
-              fi
47694
 
-             tmp_libs="$tmp_libs $deplib"
47695
 
-           done
47696
 
-         elif test "$linkmode" != prog && test "$linkmode" != lib; then
47697
 
-           $echo "$modename: \`$lib' is not a convenience library" 1>&2
47698
 
-           exit $EXIT_FAILURE
47699
 
-         fi
47700
 
-         continue
47701
 
-       fi # $pass = conv
47702
 
+       # Deduce the name of the destination old-style object file.
47703
 
+       case $destfile in
47704
 
+       *.lo)
47705
 
+         func_lo2o "$destfile"
47706
 
+         staticdest=$func_lo2o_result
47707
 
+         ;;
47708
 
+       *.$objext)
47709
 
+         staticdest="$destfile"
47710
 
+         destfile=
47711
 
+         ;;
47712
 
+       *)
47713
 
+         func_fatal_help "cannot copy a libtool object to \`$destfile'"
47714
 
+         ;;
47715
 
+       esac
47716
 
 
47717
 
+       # Install the libtool object if requested.
47718
 
+       test -n "$destfile" && \
47719
 
+         func_show_eval "$install_prog $file $destfile" 'exit $?'
47720
 
 
47721
 
-       # Get the name of the library we link against.
47722
 
-       linklib=
47723
 
-       for l in $old_library $library_names; do
47724
 
-         linklib="$l"
47725
 
-       done
47726
 
-       if test -z "$linklib"; then
47727
 
-         $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
47728
 
-         exit $EXIT_FAILURE
47729
 
-       fi
47730
 
+       # Install the old object if enabled.
47731
 
+       if test "$build_old_libs" = yes; then
47732
 
+         # Deduce the name of the old-style object file.
47733
 
+         func_lo2o "$file"
47734
 
+         staticobj=$func_lo2o_result
47735
 
+         func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?'
47736
 
+       fi
47737
 
+       exit $EXIT_SUCCESS
47738
 
+       ;;
47739
 
 
47740
 
-       # This library was specified with -dlopen.
47741
 
-       if test "$pass" = dlopen; then
47742
 
-         if test -z "$libdir"; then
47743
 
-           $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
47744
 
-           exit $EXIT_FAILURE
47745
 
-         fi
47746
 
-         if test -z "$dlname" ||
47747
 
-            test "$dlopen_support" != yes ||
47748
 
-            test "$build_libtool_libs" = no; then
47749
 
-           # If there is no dlname, no dlopen support or we're linking
47750
 
-           # statically, we need to preload.  We also need to preload any
47751
 
-           # dependent libraries so libltdl's deplib preloader doesn't
47752
 
-           # bomb out in the load deplibs phase.
47753
 
-           dlprefiles="$dlprefiles $lib $dependency_libs"
47754
 
-         else
47755
 
-           newdlfiles="$newdlfiles $lib"
47756
 
-         fi
47757
 
-         continue
47758
 
-       fi # $pass = dlopen
47759
 
+      *)
47760
 
+       # Figure out destination file name, if it wasn't already specified.
47761
 
+       if test -n "$destname"; then
47762
 
+         destfile="$destdir/$destname"
47763
 
+       else
47764
 
+         func_basename "$file"
47765
 
+         destfile="$func_basename_result"
47766
 
+         destfile="$destdir/$destfile"
47767
 
+       fi
47768
 
 
47769
 
-       # We need an absolute path.
47770
 
-       case $ladir in
47771
 
-       [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
47772
 
+       # If the file is missing, and there is a .exe on the end, strip it
47773
 
+       # because it is most likely a libtool script we actually want to
47774
 
+       # install
47775
 
+       stripped_ext=""
47776
 
+       case $file in
47777
 
+         *.exe)
47778
 
+           if test ! -f "$file"; then
47779
 
+             func_stripname '' '.exe' "$file"
47780
 
+             file=$func_stripname_result
47781
 
+             stripped_ext=".exe"
47782
 
+           fi
47783
 
+           ;;
47784
 
+       esac
47785
 
+
47786
 
+       # Do a test to see if this is really a libtool program.
47787
 
+       case $host in
47788
 
+       *cygwin* | *mingw*)
47789
 
+           if func_ltwrapper_executable_p "$file"; then
47790
 
+             func_ltwrapper_scriptname "$file"
47791
 
+             wrapper=$func_ltwrapper_scriptname_result
47792
 
+           else
47793
 
+             func_stripname '' '.exe' "$file"
47794
 
+             wrapper=$func_stripname_result
47795
 
+           fi
47796
 
+           ;;
47797
 
        *)
47798
 
-         abs_ladir=`cd "$ladir" && pwd`
47799
 
-         if test -z "$abs_ladir"; then
47800
 
-           $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2
47801
 
-           $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
47802
 
-           abs_ladir="$ladir"
47803
 
+           wrapper=$file
47804
 
+           ;;
47805
 
+       esac
47806
 
+       if func_ltwrapper_script_p "$wrapper"; then
47807
 
+         notinst_deplibs=
47808
 
+         relink_command=
47809
 
+
47810
 
+         func_source "$wrapper"
47811
 
+
47812
 
+         # Check the variables that should have been set.
47813
 
+         test -z "$generated_by_libtool_version" && \
47814
 
+           func_fatal_error "invalid libtool wrapper script \`$wrapper'"
47815
 
+
47816
 
+         finalize=yes
47817
 
+         for lib in $notinst_deplibs; do
47818
 
+           # Check to see that each library is installed.
47819
 
+           libdir=
47820
 
+           if test -f "$lib"; then
47821
 
+             func_source "$lib"
47822
 
+           fi
47823
 
+           libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
47824
 
+           if test -n "$libdir" && test ! -f "$libfile"; then
47825
 
+             func_warning "\`$lib' has not been installed in \`$libdir'"
47826
 
+             finalize=no
47827
 
+           fi
47828
 
+         done
47829
 
+
47830
 
+         relink_command=
47831
 
+         func_source "$wrapper"
47832
 
+
47833
 
+         outputname=
47834
 
+         if test "$fast_install" = no && test -n "$relink_command"; then
47835
 
+           $opt_dry_run || {
47836
 
+             if test "$finalize" = yes; then
47837
 
+               tmpdir=`func_mktempdir`
47838
 
+               func_basename "$file$stripped_ext"
47839
 
+               file="$func_basename_result"
47840
 
+               outputname="$tmpdir/$file"
47841
 
+               # Replace the output file specification.
47842
 
+               relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
47843
 
+
47844
 
+               $opt_silent || {
47845
 
+                 func_quote_for_expand "$relink_command"
47846
 
+                 eval "func_echo $func_quote_for_expand_result"
47847
 
+               }
47848
 
+               if eval "$relink_command"; then :
47849
 
+                 else
47850
 
+                 func_error "error: relink \`$file' with the above command before installing it"
47851
 
+                 $opt_dry_run || ${RM}r "$tmpdir"
47852
 
+                 continue
47853
 
+               fi
47854
 
+               file="$outputname"
47855
 
+             else
47856
 
+               func_warning "cannot relink \`$file'"
47857
 
+             fi
47858
 
+           }
47859
 
+         else
47860
 
+           # Install the binary that we compiled earlier.
47861
 
+           file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
47862
 
          fi
47863
 
+       fi
47864
 
+
47865
 
+       # remove .exe since cygwin /usr/bin/install will append another
47866
 
+       # one anyway
47867
 
+       case $install_prog,$host in
47868
 
+       */usr/bin/install*,*cygwin*)
47869
 
+         case $file:$destfile in
47870
 
+         *.exe:*.exe)
47871
 
+           # this is ok
47872
 
+           ;;
47873
 
+         *.exe:*)
47874
 
+           destfile=$destfile.exe
47875
 
+           ;;
47876
 
+         *:*.exe)
47877
 
+           func_stripname '' '.exe' "$destfile"
47878
 
+           destfile=$func_stripname_result
47879
 
+           ;;
47880
 
+         esac
47881
 
          ;;
47882
 
        esac
47883
 
-       laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
47884
 
+       func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?'
47885
 
+       $opt_dry_run || if test -n "$outputname"; then
47886
 
+         ${RM}r "$tmpdir"
47887
 
+       fi
47888
 
+       ;;
47889
 
+      esac
47890
 
+    done
47891
 
 
47892
 
-       # Find the relevant object directory and library name.
47893
 
-       if test "X$installed" = Xyes; then
47894
 
-         if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
47895
 
-           $echo "$modename: warning: library \`$lib' was moved." 1>&2
47896
 
-           dir="$ladir"
47897
 
-           absdir="$abs_ladir"
47898
 
-           libdir="$abs_ladir"
47899
 
-         else
47900
 
-           dir="$libdir"
47901
 
-           absdir="$libdir"
47902
 
+    for file in $staticlibs; do
47903
 
+      func_basename "$file"
47904
 
+      name="$func_basename_result"
47905
 
+
47906
 
+      # Set up the ranlib parameters.
47907
 
+      oldlib="$destdir/$name"
47908
 
+
47909
 
+      func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
47910
 
+
47911
 
+      if test -n "$stripme" && test -n "$old_striplib"; then
47912
 
+       func_show_eval "$old_striplib $oldlib" 'exit $?'
47913
 
+      fi
47914
 
+
47915
 
+      # Do each command in the postinstall commands.
47916
 
+      func_execute_cmds "$old_postinstall_cmds" 'exit $?'
47917
 
+    done
47918
 
+
47919
 
+    test -n "$future_libdirs" && \
47920
 
+      func_warning "remember to run \`$progname --finish$future_libdirs'"
47921
 
+
47922
 
+    if test -n "$current_libdirs"; then
47923
 
+      # Maybe just do a dry run.
47924
 
+      $opt_dry_run && current_libdirs=" -n$current_libdirs"
47925
 
+      exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
47926
 
+    else
47927
 
+      exit $EXIT_SUCCESS
47928
 
+    fi
47929
 
+}
47930
 
+
47931
 
+test "$mode" = install && func_mode_install ${1+"$@"}
47932
 
+
47933
 
+
47934
 
+# func_generate_dlsyms outputname originator pic_p
47935
 
+# Extract symbols from dlprefiles and create ${outputname}S.o with
47936
 
+# a dlpreopen symbol table.
47937
 
+func_generate_dlsyms ()
47938
 
+{
47939
 
+    $opt_debug
47940
 
+    my_outputname="$1"
47941
 
+    my_originator="$2"
47942
 
+    my_pic_p="${3-no}"
47943
 
+    my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'`
47944
 
+    my_dlsyms=
47945
 
+
47946
 
+    if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
47947
 
+      if test -n "$NM" && test -n "$global_symbol_pipe"; then
47948
 
+       my_dlsyms="${my_outputname}S.c"
47949
 
+      else
47950
 
+       func_error "not configured to extract global symbols from dlpreopened files"
47951
 
+      fi
47952
 
+    fi
47953
 
+
47954
 
+    if test -n "$my_dlsyms"; then
47955
 
+      case $my_dlsyms in
47956
 
+      "") ;;
47957
 
+      *.c)
47958
 
+       # Discover the nlist of each of the dlfiles.
47959
 
+       nlist="$output_objdir/${my_outputname}.nm"
47960
 
+
47961
 
+       func_show_eval "$RM $nlist ${nlist}S ${nlist}T"
47962
 
+
47963
 
+       # Parse the name list into a source file.
47964
 
+       func_verbose "creating $output_objdir/$my_dlsyms"
47965
 
+
47966
 
+       $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\
47967
 
+/* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */
47968
 
+/* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */
47969
 
+
47970
 
+#ifdef __cplusplus
47971
 
+extern \"C\" {
47972
 
+#endif
47973
 
+
47974
 
+/* External symbol declarations for the compiler. */\
47975
 
+"
47976
 
+
47977
 
+       if test "$dlself" = yes; then
47978
 
+         func_verbose "generating symbol list for \`$output'"
47979
 
+
47980
 
+         $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
47981
 
+
47982
 
+         # Add our own program objects to the symbol list.
47983
 
+         progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
47984
 
+         for progfile in $progfiles; do
47985
 
+           func_verbose "extracting global C symbols from \`$progfile'"
47986
 
+           $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'"
47987
 
+         done
47988
 
+
47989
 
+         if test -n "$exclude_expsyms"; then
47990
 
+           $opt_dry_run || {
47991
 
+             eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
47992
 
+             eval '$MV "$nlist"T "$nlist"'
47993
 
+           }
47994
 
          fi
47995
 
-         test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
47996
 
-       else
47997
 
-         if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
47998
 
-           dir="$ladir"
47999
 
-           absdir="$abs_ladir"
48000
 
-           # Remove this search path later
48001
 
-           notinst_path="$notinst_path $abs_ladir"
48002
 
+
48003
 
+         if test -n "$export_symbols_regex"; then
48004
 
+           $opt_dry_run || {
48005
 
+             eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
48006
 
+             eval '$MV "$nlist"T "$nlist"'
48007
 
+           }
48008
 
+         fi
48009
 
+
48010
 
+         # Prepare the list of exported symbols
48011
 
+         if test -z "$export_symbols"; then
48012
 
+           export_symbols="$output_objdir/$outputname.exp"
48013
 
+           $opt_dry_run || {
48014
 
+             $RM $export_symbols
48015
 
+             eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
48016
 
+             case $host in
48017
 
+             *cygwin* | *mingw* | *cegcc* )
48018
 
+                eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
48019
 
+                eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
48020
 
+               ;;
48021
 
+             esac
48022
 
+           }
48023
 
          else
48024
 
-           dir="$ladir/$objdir"
48025
 
-           absdir="$abs_ladir/$objdir"
48026
 
-           # Remove this search path later
48027
 
-           notinst_path="$notinst_path $abs_ladir"
48028
 
+           $opt_dry_run || {
48029
 
+             eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
48030
 
+             eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
48031
 
+             eval '$MV "$nlist"T "$nlist"'
48032
 
+             case $host in
48033
 
+               *cygwin | *mingw* | *cegcc* )
48034
 
+                 eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
48035
 
+                 eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
48036
 
+                 ;;
48037
 
+             esac
48038
 
+           }
48039
 
          fi
48040
 
-       fi # $installed = yes
48041
 
-       name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
48042
 
+       fi
48043
 
 
48044
 
-       # This library was specified with -dlpreopen.
48045
 
-       if test "$pass" = dlpreopen; then
48046
 
-         if test -z "$libdir"; then
48047
 
-           $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
48048
 
-           exit $EXIT_FAILURE
48049
 
+       for dlprefile in $dlprefiles; do
48050
 
+         func_verbose "extracting global C symbols from \`$dlprefile'"
48051
 
+         func_basename "$dlprefile"
48052
 
+         name="$func_basename_result"
48053
 
+         $opt_dry_run || {
48054
 
+           eval '$ECHO ": $name " >> "$nlist"'
48055
 
+           eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'"
48056
 
+         }
48057
 
+       done
48058
 
+
48059
 
+       $opt_dry_run || {
48060
 
+         # Make sure we have at least an empty file.
48061
 
+         test -f "$nlist" || : > "$nlist"
48062
 
+
48063
 
+         if test -n "$exclude_expsyms"; then
48064
 
+           $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
48065
 
+           $MV "$nlist"T "$nlist"
48066
 
          fi
48067
 
-         # Prefer using a static library (so that no silly _DYNAMIC symbols
48068
 
-         # are required to link).
48069
 
-         if test -n "$old_library"; then
48070
 
-           newdlprefiles="$newdlprefiles $dir/$old_library"
48071
 
-         # Otherwise, use the dlname, so that lt_dlopen finds it.
48072
 
-         elif test -n "$dlname"; then
48073
 
-           newdlprefiles="$newdlprefiles $dir/$dlname"
48074
 
+
48075
 
+         # Try sorting and uniquifying the output.
48076
 
+         if $GREP -v "^: " < "$nlist" |
48077
 
+             if sort -k 3 </dev/null >/dev/null 2>&1; then
48078
 
+               sort -k 3
48079
 
+             else
48080
 
+               sort +2
48081
 
+             fi |
48082
 
+             uniq > "$nlist"S; then
48083
 
+           :
48084
 
          else
48085
 
-           newdlprefiles="$newdlprefiles $dir/$linklib"
48086
 
+           $GREP -v "^: " < "$nlist" > "$nlist"S
48087
 
          fi
48088
 
-       fi # $pass = dlpreopen
48089
 
 
48090
 
-       if test -z "$libdir"; then
48091
 
-         # Link the convenience library
48092
 
-         if test "$linkmode" = lib; then
48093
 
-           deplibs="$dir/$old_library $deplibs"
48094
 
-         elif test "$linkmode,$pass" = "prog,link"; then
48095
 
-           compile_deplibs="$dir/$old_library $compile_deplibs"
48096
 
-           finalize_deplibs="$dir/$old_library $finalize_deplibs"
48097
 
+         if test -f "$nlist"S; then
48098
 
+           eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
48099
 
          else
48100
 
-           deplibs="$lib $deplibs" # used for prog,scan pass
48101
 
+           $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms"
48102
 
          fi
48103
 
-         continue
48104
 
-       fi
48105
 
 
48106
 
+         $ECHO >> "$output_objdir/$my_dlsyms" "\
48107
 
 
48108
 
-       if test "$linkmode" = prog && test "$pass" != link; then
48109
 
-         newlib_search_path="$newlib_search_path $ladir"
48110
 
-         deplibs="$lib $deplibs"
48111
 
+/* The mapping between symbol names and symbols.  */
48112
 
+typedef struct {
48113
 
+  const char *name;
48114
 
+  void *address;
48115
 
+} lt_dlsymlist;
48116
 
+"
48117
 
+         case $host in
48118
 
+         *cygwin* | *mingw* | *cegcc* )
48119
 
+           $ECHO >> "$output_objdir/$my_dlsyms" "\
48120
 
+/* DATA imports from DLLs on WIN32 con't be const, because
48121
 
+   runtime relocations are performed -- see ld's documentation
48122
 
+   on pseudo-relocs.  */"
48123
 
+           lt_dlsym_const= ;;
48124
 
+         *osf5*)
48125
 
+           echo >> "$output_objdir/$my_dlsyms" "\
48126
 
+/* This system does not cope well with relocations in const data */"
48127
 
+           lt_dlsym_const= ;;
48128
 
+         *)
48129
 
+           lt_dlsym_const=const ;;
48130
 
+         esac
48131
 
 
48132
 
-         linkalldeplibs=no
48133
 
-         if test "$link_all_deplibs" != no || test -z "$library_names" ||
48134
 
-            test "$build_libtool_libs" = no; then
48135
 
-           linkalldeplibs=yes
48136
 
-         fi
48137
 
+         $ECHO >> "$output_objdir/$my_dlsyms" "\
48138
 
+extern $lt_dlsym_const lt_dlsymlist
48139
 
+lt_${my_prefix}_LTX_preloaded_symbols[];
48140
 
+$lt_dlsym_const lt_dlsymlist
48141
 
+lt_${my_prefix}_LTX_preloaded_symbols[] =
48142
 
+{\
48143
 
+  { \"$my_originator\", (void *) 0 },"
48144
 
 
48145
 
-         tmp_libs=
48146
 
-         for deplib in $dependency_libs; do
48147
 
-           case $deplib in
48148
 
-           -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
48149
 
-           esac
48150
 
-           # Need to link against all dependency_libs?
48151
 
-           if test "$linkalldeplibs" = yes; then
48152
 
-             deplibs="$deplib $deplibs"
48153
 
-           else
48154
 
-             # Need to hardcode shared library paths
48155
 
-             # or/and link against static libraries
48156
 
-             newdependency_libs="$deplib $newdependency_libs"
48157
 
-           fi
48158
 
-           if test "X$duplicate_deps" = "Xyes" ; then
48159
 
-             case "$tmp_libs " in
48160
 
-             *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
48161
 
-             esac
48162
 
-           fi
48163
 
-           tmp_libs="$tmp_libs $deplib"
48164
 
-         done # for deplib
48165
 
-         continue
48166
 
-       fi # $linkmode = prog...
48167
 
+         case $need_lib_prefix in
48168
 
+         no)
48169
 
+           eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms"
48170
 
+           ;;
48171
 
+         *)
48172
 
+           eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
48173
 
+           ;;
48174
 
+         esac
48175
 
+         $ECHO >> "$output_objdir/$my_dlsyms" "\
48176
 
+  {0, (void *) 0}
48177
 
+};
48178
 
 
48179
 
-       if test "$linkmode,$pass" = "prog,link"; then
48180
 
-         if test -n "$library_names" &&
48181
 
-            { { test "$prefer_static_libs" = no ||
48182
 
-                test "$prefer_static_libs,$installed" = "built,yes"; } ||
48183
 
-              test -z "$old_library"; }; then
48184
 
-           # We need to hardcode the library path
48185
 
-           if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
48186
 
-             # Make sure the rpath contains only unique directories.
48187
 
-             case "$temp_rpath " in
48188
 
-             *" $dir "*) ;;
48189
 
-             *" $absdir "*) ;;
48190
 
-             *) temp_rpath="$temp_rpath $absdir" ;;
48191
 
-             esac
48192
 
-           fi
48193
 
+/* This works around a problem in FreeBSD linker */
48194
 
+#ifdef FREEBSD_WORKAROUND
48195
 
+static const void *lt_preloaded_setup() {
48196
 
+  return lt_${my_prefix}_LTX_preloaded_symbols;
48197
 
+}
48198
 
+#endif
48199
 
 
48200
 
-           # Hardcode the library path.
48201
 
-           # Skip directories that are in the system default run-time
48202
 
-           # search path.
48203
 
-           case " $sys_lib_dlsearch_path " in
48204
 
-           *" $absdir "*) ;;
48205
 
-           *)
48206
 
-             case "$compile_rpath " in
48207
 
-             *" $absdir "*) ;;
48208
 
-             *) compile_rpath="$compile_rpath $absdir"
48209
 
-             esac
48210
 
-             ;;
48211
 
-           esac
48212
 
-           case " $sys_lib_dlsearch_path " in
48213
 
-           *" $libdir "*) ;;
48214
 
-           *)
48215
 
-             case "$finalize_rpath " in
48216
 
-             *" $libdir "*) ;;
48217
 
-             *) finalize_rpath="$finalize_rpath $libdir"
48218
 
-             esac
48219
 
-             ;;
48220
 
-           esac
48221
 
-         fi # $linkmode,$pass = prog,link...
48222
 
+#ifdef __cplusplus
48223
 
+}
48224
 
+#endif\
48225
 
+"
48226
 
+       } # !$opt_dry_run
48227
 
 
48228
 
-         if test "$alldeplibs" = yes &&
48229
 
-            { test "$deplibs_check_method" = pass_all ||
48230
 
-              { test "$build_libtool_libs" = yes &&
48231
 
-                test -n "$library_names"; }; }; then
48232
 
-           # We only need to search for static libraries
48233
 
-           continue
48234
 
-         fi
48235
 
-       fi
48236
 
+       pic_flag_for_symtable=
48237
 
+       case "$compile_command " in
48238
 
+       *" -static "*) ;;
48239
 
+       *)
48240
 
+         case $host in
48241
 
+         # compiling the symbol table file with pic_flag works around
48242
 
+         # a FreeBSD bug that causes programs to crash when -lm is
48243
 
+         # linked before any other PIC object.  But we must not use
48244
 
+         # pic_flag when linking with -static.  The problem exists in
48245
 
+         # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
48246
 
+         *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
48247
 
+           pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
48248
 
+         *-*-hpux*)
48249
 
+           pic_flag_for_symtable=" $pic_flag"  ;;
48250
 
+         *)
48251
 
+           if test "X$my_pic_p" != Xno; then
48252
 
+             pic_flag_for_symtable=" $pic_flag"
48253
 
+           fi
48254
 
+           ;;
48255
 
+         esac
48256
 
+         ;;
48257
 
+       esac
48258
 
+       symtab_cflags=
48259
 
+       for arg in $LTCFLAGS; do
48260
 
+         case $arg in
48261
 
+         -pie | -fpie | -fPIE) ;;
48262
 
+         *) symtab_cflags="$symtab_cflags $arg" ;;
48263
 
+         esac
48264
 
+       done
48265
 
 
48266
 
-       link_static=no # Whether the deplib will be linked statically
48267
 
-       use_static_libs=$prefer_static_libs
48268
 
-       if test "$use_static_libs" = built && test "$installed" = yes ; then
48269
 
-         use_static_libs=no
48270
 
-       fi
48271
 
-       if test -n "$library_names" &&
48272
 
-          { test "$use_static_libs" = no || test -z "$old_library"; }; then
48273
 
-         if test "$installed" = no; then
48274
 
-           notinst_deplibs="$notinst_deplibs $lib"
48275
 
-           need_relink=yes
48276
 
-         fi
48277
 
-         # This is a shared library
48278
 
+       # Now compile the dynamic symbol file.
48279
 
+       func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?'
48280
 
 
48281
 
-         # Warn about portability, can't link against -module's on
48282
 
-         # some systems (darwin)
48283
 
-         if test "$shouldnotlink" = yes && test "$pass" = link ; then
48284
 
-           $echo
48285
 
-           if test "$linkmode" = prog; then
48286
 
-             $echo "*** Warning: Linking the executable $output against the loadable module"
48287
 
-           else
48288
 
-             $echo "*** Warning: Linking the shared library $output against the loadable module"
48289
 
-           fi
48290
 
-           $echo "*** $linklib is not portable!"
48291
 
-         fi
48292
 
-         if test "$linkmode" = lib &&
48293
 
-            test "$hardcode_into_libs" = yes; then
48294
 
-           # Hardcode the library path.
48295
 
-           # Skip directories that are in the system default run-time
48296
 
-           # search path.
48297
 
-           case " $sys_lib_dlsearch_path " in
48298
 
-           *" $absdir "*) ;;
48299
 
-           *)
48300
 
-             case "$compile_rpath " in
48301
 
-             *" $absdir "*) ;;
48302
 
-             *) compile_rpath="$compile_rpath $absdir"
48303
 
-             esac
48304
 
-             ;;
48305
 
-           esac
48306
 
-           case " $sys_lib_dlsearch_path " in
48307
 
-           *" $libdir "*) ;;
48308
 
-           *)
48309
 
-             case "$finalize_rpath " in
48310
 
-             *" $libdir "*) ;;
48311
 
-             *) finalize_rpath="$finalize_rpath $libdir"
48312
 
-             esac
48313
 
-             ;;
48314
 
-           esac
48315
 
+       # Clean up the generated files.
48316
 
+       func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"'
48317
 
+
48318
 
+       # Transform the symbol file into the correct name.
48319
 
+       symfileobj="$output_objdir/${my_outputname}S.$objext"
48320
 
+       case $host in
48321
 
+       *cygwin* | *mingw* | *cegcc* )
48322
 
+         if test -f "$output_objdir/$my_outputname.def"; then
48323
 
+           compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
48324
 
+           finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
48325
 
+         else
48326
 
+           compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
48327
 
+           finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
48328
 
          fi
48329
 
+         ;;
48330
 
+       *)
48331
 
+         compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
48332
 
+         finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
48333
 
+         ;;
48334
 
+       esac
48335
 
+       ;;
48336
 
+      *)
48337
 
+       func_fatal_error "unknown suffix for \`$my_dlsyms'"
48338
 
+       ;;
48339
 
+      esac
48340
 
+    else
48341
 
+      # We keep going just in case the user didn't refer to
48342
 
+      # lt_preloaded_symbols.  The linker will fail if global_symbol_pipe
48343
 
+      # really was required.
48344
 
+
48345
 
+      # Nullify the symbol file.
48346
 
+      compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
48347
 
+      finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
48348
 
+    fi
48349
 
+}
48350
 
 
48351
 
-         if test -n "$old_archive_from_expsyms_cmds"; then
48352
 
-           # figure out the soname
48353
 
-           set dummy $library_names
48354
 
-           realname="$2"
48355
 
-           shift; shift
48356
 
-           libname=`eval \\$echo \"$libname_spec\"`
48357
 
-           # use dlname if we got it. it's perfectly good, no?
48358
 
-           if test -n "$dlname"; then
48359
 
-             soname="$dlname"
48360
 
-           elif test -n "$soname_spec"; then
48361
 
-             # bleh windows
48362
 
-             case $host in
48363
 
-             *cygwin* | mingw*)
48364
 
-               major=`expr $current - $age`
48365
 
-               versuffix="-$major"
48366
 
-               ;;
48367
 
-             esac
48368
 
-             eval soname=\"$soname_spec\"
48369
 
-           else
48370
 
-             soname="$realname"
48371
 
-           fi
48372
 
+# func_win32_libid arg
48373
 
+# return the library type of file 'arg'
48374
 
+#
48375
 
+# Need a lot of goo to handle *both* DLLs and import libs
48376
 
+# Has to be a shell function in order to 'eat' the argument
48377
 
+# that is supplied when $file_magic_command is called.
48378
 
+func_win32_libid ()
48379
 
+{
48380
 
+  $opt_debug
48381
 
+  win32_libid_type="unknown"
48382
 
+  win32_fileres=`file -L $1 2>/dev/null`
48383
 
+  case $win32_fileres in
48384
 
+  *ar\ archive\ import\ library*) # definitely import
48385
 
+    win32_libid_type="x86 archive import"
48386
 
+    ;;
48387
 
+  *ar\ archive*) # could be an import, or static
48388
 
+    if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
48389
 
+       $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
48390
 
+      win32_nmres=`eval $NM -f posix -A $1 |
48391
 
+       $SED -n -e '
48392
 
+           1,100{
48393
 
+               / I /{
48394
 
+                   s,.*,import,
48395
 
+                   p
48396
 
+                   q
48397
 
+               }
48398
 
+           }'`
48399
 
+      case $win32_nmres in
48400
 
+      import*)  win32_libid_type="x86 archive import";;
48401
 
+      *)        win32_libid_type="x86 archive static";;
48402
 
+      esac
48403
 
+    fi
48404
 
+    ;;
48405
 
+  *DLL*)
48406
 
+    win32_libid_type="x86 DLL"
48407
 
+    ;;
48408
 
+  *executable*) # but shell scripts are "executable" too...
48409
 
+    case $win32_fileres in
48410
 
+    *MS\ Windows\ PE\ Intel*)
48411
 
+      win32_libid_type="x86 DLL"
48412
 
+      ;;
48413
 
+    esac
48414
 
+    ;;
48415
 
+  esac
48416
 
+  $ECHO "$win32_libid_type"
48417
 
+}
48418
 
 
48419
 
-           # Make a new name for the extract_expsyms_cmds to use
48420
 
-           soroot="$soname"
48421
 
-           soname=`$echo $soroot | ${SED} -e 's/^.*\///'`
48422
 
-           newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
48423
 
 
48424
 
-           # If the library has no export list, then create one now
48425
 
-           if test -f "$output_objdir/$soname-def"; then :
48426
 
-           else
48427
 
-             $show "extracting exported symbol list from \`$soname'"
48428
 
-             save_ifs="$IFS"; IFS='~'
48429
 
-             cmds=$extract_expsyms_cmds
48430
 
-             for cmd in $cmds; do
48431
 
-               IFS="$save_ifs"
48432
 
-               eval cmd=\"$cmd\"
48433
 
-               $show "$cmd"
48434
 
-               $run eval "$cmd" || exit $?
48435
 
-             done
48436
 
-             IFS="$save_ifs"
48437
 
-           fi
48438
 
 
48439
 
-           # Create $newlib
48440
 
-           if test -f "$output_objdir/$newlib"; then :; else
48441
 
-             $show "generating import library for \`$soname'"
48442
 
-             save_ifs="$IFS"; IFS='~'
48443
 
-             cmds=$old_archive_from_expsyms_cmds
48444
 
-             for cmd in $cmds; do
48445
 
-               IFS="$save_ifs"
48446
 
-               eval cmd=\"$cmd\"
48447
 
-               $show "$cmd"
48448
 
-               $run eval "$cmd" || exit $?
48449
 
-             done
48450
 
-             IFS="$save_ifs"
48451
 
-           fi
48452
 
-           # make sure the library variables are pointing to the new library
48453
 
-           dir=$output_objdir
48454
 
-           linklib=$newlib
48455
 
-         fi # test -n "$old_archive_from_expsyms_cmds"
48456
 
+# func_extract_an_archive dir oldlib
48457
 
+func_extract_an_archive ()
48458
 
+{
48459
 
+    $opt_debug
48460
 
+    f_ex_an_ar_dir="$1"; shift
48461
 
+    f_ex_an_ar_oldlib="$1"
48462
 
+    func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?'
48463
 
+    if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
48464
 
+     :
48465
 
+    else
48466
 
+      func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib"
48467
 
+    fi
48468
 
+}
48469
 
 
48470
 
-         if test "$linkmode" = prog || test "$mode" != relink; then
48471
 
-           add_shlibpath=
48472
 
-           add_dir=
48473
 
-           add=
48474
 
-           lib_linked=yes
48475
 
-           case $hardcode_action in
48476
 
-           immediate | unsupported)
48477
 
-             if test "$hardcode_direct" = no; then
48478
 
-               add="$dir/$linklib"
48479
 
-               case $host in
48480
 
-                 *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
48481
 
-                 *-*-sysv4*uw2*) add_dir="-L$dir" ;;
48482
 
-                 *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
48483
 
-                   *-*-unixware7*) add_dir="-L$dir" ;;
48484
 
-                 *-*-darwin* )
48485
 
-                   # if the lib is a module then we can not link against
48486
 
-                   # it, someone is ignoring the new warnings I added
48487
 
-                   if /usr/bin/file -L $add 2> /dev/null |
48488
 
-                      $EGREP ": [^:]* bundle" >/dev/null ; then
48489
 
-                     $echo "** Warning, lib $linklib is a module, not a shared library"
48490
 
-                     if test -z "$old_library" ; then
48491
 
-                       $echo
48492
 
-                       $echo "** And there doesn't seem to be a static archive available"
48493
 
-                       $echo "** The link will probably fail, sorry"
48494
 
-                     else
48495
 
-                       add="$dir/$old_library"
48496
 
-                     fi
48497
 
-                   fi
48498
 
-               esac
48499
 
-             elif test "$hardcode_minus_L" = no; then
48500
 
-               case $host in
48501
 
-               *-*-sunos*) add_shlibpath="$dir" ;;
48502
 
-               esac
48503
 
-               add_dir="-L$dir"
48504
 
-               add="-l$name"
48505
 
-             elif test "$hardcode_shlibpath_var" = no; then
48506
 
-               add_shlibpath="$dir"
48507
 
-               add="-l$name"
48508
 
-             else
48509
 
-               lib_linked=no
48510
 
-             fi
48511
 
-             ;;
48512
 
-           relink)
48513
 
-             if test "$hardcode_direct" = yes; then
48514
 
-               add="$dir/$linklib"
48515
 
-             elif test "$hardcode_minus_L" = yes; then
48516
 
-               add_dir="-L$dir"
48517
 
-               # Try looking first in the location we're being installed to.
48518
 
-               if test -n "$inst_prefix_dir"; then
48519
 
-                 case $libdir in
48520
 
-                   [\\/]*)
48521
 
-                     add_dir="$add_dir -L$inst_prefix_dir$libdir"
48522
 
-                     ;;
48523
 
-                 esac
48524
 
-               fi
48525
 
-               add="-l$name"
48526
 
-             elif test "$hardcode_shlibpath_var" = yes; then
48527
 
-               add_shlibpath="$dir"
48528
 
-               add="-l$name"
48529
 
-             else
48530
 
-               lib_linked=no
48531
 
-             fi
48532
 
-             ;;
48533
 
-           *) lib_linked=no ;;
48534
 
-           esac
48535
 
 
48536
 
-           if test "$lib_linked" != yes; then
48537
 
-             $echo "$modename: configuration error: unsupported hardcode properties"
48538
 
-             exit $EXIT_FAILURE
48539
 
-           fi
48540
 
+# func_extract_archives gentop oldlib ...
48541
 
+func_extract_archives ()
48542
 
+{
48543
 
+    $opt_debug
48544
 
+    my_gentop="$1"; shift
48545
 
+    my_oldlibs=${1+"$@"}
48546
 
+    my_oldobjs=""
48547
 
+    my_xlib=""
48548
 
+    my_xabs=""
48549
 
+    my_xdir=""
48550
 
 
48551
 
-           if test -n "$add_shlibpath"; then
48552
 
-             case :$compile_shlibpath: in
48553
 
-             *":$add_shlibpath:"*) ;;
48554
 
-             *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
48555
 
-             esac
48556
 
-           fi
48557
 
-           if test "$linkmode" = prog; then
48558
 
-             test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
48559
 
-             test -n "$add" && compile_deplibs="$add $compile_deplibs"
48560
 
-           else
48561
 
-             test -n "$add_dir" && deplibs="$add_dir $deplibs"
48562
 
-             test -n "$add" && deplibs="$add $deplibs"
48563
 
-             if test "$hardcode_direct" != yes && \
48564
 
-                test "$hardcode_minus_L" != yes && \
48565
 
-                test "$hardcode_shlibpath_var" = yes; then
48566
 
-               case :$finalize_shlibpath: in
48567
 
-               *":$libdir:"*) ;;
48568
 
-               *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
48569
 
-               esac
48570
 
-             fi
48571
 
-           fi
48572
 
-         fi
48573
 
+    for my_xlib in $my_oldlibs; do
48574
 
+      # Extract the objects.
48575
 
+      case $my_xlib in
48576
 
+       [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
48577
 
+       *) my_xabs=`pwd`"/$my_xlib" ;;
48578
 
+      esac
48579
 
+      func_basename "$my_xlib"
48580
 
+      my_xlib="$func_basename_result"
48581
 
+      my_xlib_u=$my_xlib
48582
 
+      while :; do
48583
 
+        case " $extracted_archives " in
48584
 
+       *" $my_xlib_u "*)
48585
 
+         func_arith $extracted_serial + 1
48586
 
+         extracted_serial=$func_arith_result
48587
 
+         my_xlib_u=lt$extracted_serial-$my_xlib ;;
48588
 
+       *) break ;;
48589
 
+       esac
48590
 
+      done
48591
 
+      extracted_archives="$extracted_archives $my_xlib_u"
48592
 
+      my_xdir="$my_gentop/$my_xlib_u"
48593
 
 
48594
 
-         if test "$linkmode" = prog || test "$mode" = relink; then
48595
 
-           add_shlibpath=
48596
 
-           add_dir=
48597
 
-           add=
48598
 
-           # Finalize command for both is simple: just hardcode it.
48599
 
-           if test "$hardcode_direct" = yes; then
48600
 
-             add="$libdir/$linklib"
48601
 
-           elif test "$hardcode_minus_L" = yes; then
48602
 
-             add_dir="-L$libdir"
48603
 
-             add="-l$name"
48604
 
-           elif test "$hardcode_shlibpath_var" = yes; then
48605
 
-             case :$finalize_shlibpath: in
48606
 
-             *":$libdir:"*) ;;
48607
 
-             *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
48608
 
-             esac
48609
 
-             add="-l$name"
48610
 
-           elif test "$hardcode_automatic" = yes; then
48611
 
-             if test -n "$inst_prefix_dir" &&
48612
 
-                test -f "$inst_prefix_dir$libdir/$linklib" ; then
48613
 
-               add="$inst_prefix_dir$libdir/$linklib"
48614
 
-             else
48615
 
-               add="$libdir/$linklib"
48616
 
-             fi
48617
 
-           else
48618
 
-             # We cannot seem to hardcode it, guess we'll fake it.
48619
 
-             add_dir="-L$libdir"
48620
 
-             # Try looking first in the location we're being installed to.
48621
 
-             if test -n "$inst_prefix_dir"; then
48622
 
-               case $libdir in
48623
 
-                 [\\/]*)
48624
 
-                   add_dir="$add_dir -L$inst_prefix_dir$libdir"
48625
 
-                   ;;
48626
 
-               esac
48627
 
-             fi
48628
 
-             add="-l$name"
48629
 
-           fi
48630
 
+      func_mkdir_p "$my_xdir"
48631
 
 
48632
 
-           if test "$linkmode" = prog; then
48633
 
-             test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
48634
 
-             test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
48635
 
-           else
48636
 
-             test -n "$add_dir" && deplibs="$add_dir $deplibs"
48637
 
-             test -n "$add" && deplibs="$add $deplibs"
48638
 
-           fi
48639
 
-         fi
48640
 
-       elif test "$linkmode" = prog; then
48641
 
-         # Here we assume that one of hardcode_direct or hardcode_minus_L
48642
 
-         # is not unsupported.  This is valid on all known static and
48643
 
-         # shared platforms.
48644
 
-         if test "$hardcode_direct" != unsupported; then
48645
 
-           test -n "$old_library" && linklib="$old_library"
48646
 
-           compile_deplibs="$dir/$linklib $compile_deplibs"
48647
 
-           finalize_deplibs="$dir/$linklib $finalize_deplibs"
48648
 
+      case $host in
48649
 
+      *-darwin*)
48650
 
+       func_verbose "Extracting $my_xabs"
48651
 
+       # Do not bother doing anything if just a dry run
48652
 
+       $opt_dry_run || {
48653
 
+         darwin_orig_dir=`pwd`
48654
 
+         cd $my_xdir || exit $?
48655
 
+         darwin_archive=$my_xabs
48656
 
+         darwin_curdir=`pwd`
48657
 
+         darwin_base_archive=`basename "$darwin_archive"`
48658
 
+         darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true`
48659
 
+         if test -n "$darwin_arches"; then
48660
 
+           darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'`
48661
 
+           darwin_arch=
48662
 
+           func_verbose "$darwin_base_archive has multiple architectures $darwin_arches"
48663
 
+           for darwin_arch in  $darwin_arches ; do
48664
 
+             func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
48665
 
+             $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
48666
 
+             cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
48667
 
+             func_extract_an_archive "`pwd`" "${darwin_base_archive}"
48668
 
+             cd "$darwin_curdir"
48669
 
+             $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
48670
 
+           done # $darwin_arches
48671
 
+            ## Okay now we've a bunch of thin objects, gotta fatten them up :)
48672
 
+           darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u`
48673
 
+           darwin_file=
48674
 
+           darwin_files=
48675
 
+           for darwin_file in $darwin_filelist; do
48676
 
+             darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
48677
 
+             $LIPO -create -output "$darwin_file" $darwin_files
48678
 
+           done # $darwin_filelist
48679
 
+           $RM -rf unfat-$$
48680
 
+           cd "$darwin_orig_dir"
48681
 
          else
48682
 
-           compile_deplibs="-l$name -L$dir $compile_deplibs"
48683
 
-           finalize_deplibs="-l$name -L$dir $finalize_deplibs"
48684
 
-         fi
48685
 
-       elif test "$build_libtool_libs" = yes; then
48686
 
-         # Not a shared library
48687
 
-         if test "$deplibs_check_method" != pass_all; then
48688
 
-           # We're trying link a shared library against a static one
48689
 
-           # but the system doesn't support it.
48690
 
+           cd $darwin_orig_dir
48691
 
+           func_extract_an_archive "$my_xdir" "$my_xabs"
48692
 
+         fi # $darwin_arches
48693
 
+       } # !$opt_dry_run
48694
 
+       ;;
48695
 
+      *)
48696
 
+        func_extract_an_archive "$my_xdir" "$my_xabs"
48697
 
+       ;;
48698
 
+      esac
48699
 
+      my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
48700
 
+    done
48701
 
 
48702
 
-           # Just print a warning and add the library to dependency_libs so
48703
 
-           # that the program can be linked against the static library.
48704
 
-           $echo
48705
 
-           $echo "*** Warning: This system can not link to static lib archive $lib."
48706
 
-           $echo "*** I have the capability to make that library automatically link in when"
48707
 
-           $echo "*** you link to this library.  But I can only do this if you have a"
48708
 
-           $echo "*** shared version of the library, which you do not appear to have."
48709
 
-           if test "$module" = yes; then
48710
 
-             $echo "*** But as you try to build a module library, libtool will still create "
48711
 
-             $echo "*** a static module, that should work as long as the dlopening application"
48712
 
-             $echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
48713
 
-             if test -z "$global_symbol_pipe"; then
48714
 
-               $echo
48715
 
-               $echo "*** However, this would only work if libtool was able to extract symbol"
48716
 
-               $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
48717
 
-               $echo "*** not find such a program.  So, this module is probably useless."
48718
 
-               $echo "*** \`nm' from GNU binutils and a full rebuild may help."
48719
 
-             fi
48720
 
-             if test "$build_old_libs" = no; then
48721
 
-               build_libtool_libs=module
48722
 
-               build_old_libs=yes
48723
 
-             else
48724
 
-               build_libtool_libs=no
48725
 
-             fi
48726
 
-           fi
48727
 
-         else
48728
 
-           deplibs="$dir/$old_library $deplibs"
48729
 
-           link_static=yes
48730
 
-         fi
48731
 
-       fi # link shared/static library?
48732
 
+    func_extract_archives_result="$my_oldobjs"
48733
 
+}
48734
 
 
48735
 
-       if test "$linkmode" = lib; then
48736
 
-         if test -n "$dependency_libs" &&
48737
 
-            { test "$hardcode_into_libs" != yes ||
48738
 
-              test "$build_old_libs" = yes ||
48739
 
-              test "$link_static" = yes; }; then
48740
 
-           # Extract -R from dependency_libs
48741
 
-           temp_deplibs=
48742
 
-           for libdir in $dependency_libs; do
48743
 
-             case $libdir in
48744
 
-             -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'`
48745
 
-                  case " $xrpath " in
48746
 
-                  *" $temp_xrpath "*) ;;
48747
 
-                  *) xrpath="$xrpath $temp_xrpath";;
48748
 
-                  esac;;
48749
 
-             *) temp_deplibs="$temp_deplibs $libdir";;
48750
 
-             esac
48751
 
-           done
48752
 
-           dependency_libs="$temp_deplibs"
48753
 
-         fi
48754
 
 
48755
 
-         newlib_search_path="$newlib_search_path $absdir"
48756
 
-         # Link against this library
48757
 
-         test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
48758
 
-         # ... and its dependency_libs
48759
 
-         tmp_libs=
48760
 
-         for deplib in $dependency_libs; do
48761
 
-           newdependency_libs="$deplib $newdependency_libs"
48762
 
-           if test "X$duplicate_deps" = "Xyes" ; then
48763
 
-             case "$tmp_libs " in
48764
 
-             *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
48765
 
-             esac
48766
 
-           fi
48767
 
-           tmp_libs="$tmp_libs $deplib"
48768
 
-         done
48769
 
 
48770
 
-         if test "$link_all_deplibs" != no; then
48771
 
-           # Add the search paths of all dependency libraries
48772
 
-           for deplib in $dependency_libs; do
48773
 
-             case $deplib in
48774
 
-             -L*) path="$deplib" ;;
48775
 
-             *.la)
48776
 
-               dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
48777
 
-               test "X$dir" = "X$deplib" && dir="."
48778
 
-               # We need an absolute path.
48779
 
-               case $dir in
48780
 
-               [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
48781
 
-               *)
48782
 
-                 absdir=`cd "$dir" && pwd`
48783
 
-                 if test -z "$absdir"; then
48784
 
-                   $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
48785
 
-                   absdir="$dir"
48786
 
-                 fi
48787
 
-                 ;;
48788
 
-               esac
48789
 
-               if grep "^installed=no" $deplib > /dev/null; then
48790
 
-                 path="$absdir/$objdir"
48791
 
-               else
48792
 
-                 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
48793
 
-                 if test -z "$libdir"; then
48794
 
-                   $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
48795
 
-                   exit $EXIT_FAILURE
48796
 
-                 fi
48797
 
-                 if test "$absdir" != "$libdir"; then
48798
 
-                   $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
48799
 
-                 fi
48800
 
-                 path="$absdir"
48801
 
-               fi
48802
 
-               depdepl=
48803
 
-               case $host in
48804
 
-               *-*-darwin*)
48805
 
-                 # we do not want to link against static libs,
48806
 
-                 # but need to link against shared
48807
 
-                 eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
48808
 
-                 eval deplibdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
48809
 
-                 if test -n "$deplibrary_names" ; then
48810
 
-                   for tmp in $deplibrary_names ; do
48811
 
-                     depdepl=$tmp
48812
 
-                   done
48813
 
-                   if test -f "$deplibdir/$depdepl" ; then
48814
 
-                     depdepl="$deplibdir/$depdepl"
48815
 
-                   elif test -f "$path/$depdepl" ; then
48816
 
-                     depdepl="$path/$depdepl"
48817
 
-                   else
48818
 
-                     # Can't find it, oh well...
48819
 
-                     depdepl=
48820
 
-                   fi
48821
 
-                   # do not add paths which are already there
48822
 
-                   case " $newlib_search_path " in
48823
 
-                   *" $path "*) ;;
48824
 
-                   *) newlib_search_path="$newlib_search_path $path";;
48825
 
-                   esac
48826
 
-                 fi
48827
 
-                 path=""
48828
 
-                 ;;
48829
 
-               *)
48830
 
-                 path="-L$path"
48831
 
-                 ;;
48832
 
-               esac
48833
 
-               ;;
48834
 
-             -l*)
48835
 
-               case $host in
48836
 
-               *-*-darwin*)
48837
 
-                 # Again, we only want to link against shared libraries
48838
 
-                 eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
48839
 
-                 for tmp in $newlib_search_path ; do
48840
 
-                   if test -f "$tmp/lib$tmp_libs.dylib" ; then
48841
 
-                     eval depdepl="$tmp/lib$tmp_libs.dylib"
48842
 
-                     break
48843
 
-                   fi
48844
 
-                 done
48845
 
-                 path=""
48846
 
-                 ;;
48847
 
-               *) continue ;;
48848
 
-               esac
48849
 
-               ;;
48850
 
-             *) continue ;;
48851
 
-             esac
48852
 
-             case " $deplibs " in
48853
 
-             *" $path "*) ;;
48854
 
-             *) deplibs="$path $deplibs" ;;
48855
 
-             esac
48856
 
-             case " $deplibs " in
48857
 
-             *" $depdepl "*) ;;
48858
 
-             *) deplibs="$depdepl $deplibs" ;;
48859
 
-             esac
48860
 
-           done
48861
 
-         fi # link_all_deplibs != no
48862
 
-       fi # linkmode = lib
48863
 
-      done # for deplib in $libs
48864
 
-      dependency_libs="$newdependency_libs"
48865
 
-      if test "$pass" = dlpreopen; then
48866
 
-       # Link the dlpreopened libraries before other libraries
48867
 
-       for deplib in $save_deplibs; do
48868
 
-         deplibs="$deplib $deplibs"
48869
 
-       done
48870
 
-      fi
48871
 
-      if test "$pass" != dlopen; then
48872
 
-       if test "$pass" != conv; then
48873
 
-         # Make sure lib_search_path contains only unique directories.
48874
 
-         lib_search_path=
48875
 
-         for dir in $newlib_search_path; do
48876
 
-           case "$lib_search_path " in
48877
 
-           *" $dir "*) ;;
48878
 
-           *) lib_search_path="$lib_search_path $dir" ;;
48879
 
-           esac
48880
 
-         done
48881
 
-         newlib_search_path=
48882
 
+# func_emit_wrapper_part1 [arg=no]
48883
 
+#
48884
 
+# Emit the first part of a libtool wrapper script on stdout.
48885
 
+# For more information, see the description associated with
48886
 
+# func_emit_wrapper(), below.
48887
 
+func_emit_wrapper_part1 ()
48888
 
+{
48889
 
+       func_emit_wrapper_part1_arg1=no
48890
 
+       if test -n "$1" ; then
48891
 
+         func_emit_wrapper_part1_arg1=$1
48892
 
        fi
48893
 
 
48894
 
-       if test "$linkmode,$pass" != "prog,link"; then
48895
 
-         vars="deplibs"
48896
 
-       else
48897
 
-         vars="compile_deplibs finalize_deplibs"
48898
 
-       fi
48899
 
-       for var in $vars dependency_libs; do
48900
 
-         # Add libraries to $var in reverse order
48901
 
-         eval tmp_libs=\"\$$var\"
48902
 
-         new_libs=
48903
 
-         for deplib in $tmp_libs; do
48904
 
-           # FIXME: Pedantically, this is the right thing to do, so
48905
 
-           #        that some nasty dependency loop isn't accidentally
48906
 
-           #        broken:
48907
 
-           #new_libs="$deplib $new_libs"
48908
 
-           # Pragmatically, this seems to cause very few problems in
48909
 
-           # practice:
48910
 
-           case $deplib in
48911
 
-           -L*) new_libs="$deplib $new_libs" ;;
48912
 
-           -R*) ;;
48913
 
-           *)
48914
 
-             # And here is the reason: when a library appears more
48915
 
-             # than once as an explicit dependence of a library, or
48916
 
-             # is implicitly linked in more than once by the
48917
 
-             # compiler, it is considered special, and multiple
48918
 
-             # occurrences thereof are not removed.  Compare this
48919
 
-             # with having the same library being listed as a
48920
 
-             # dependency of multiple other libraries: in this case,
48921
 
-             # we know (pedantically, we assume) the library does not
48922
 
-             # need to be listed more than once, so we keep only the
48923
 
-             # last copy.  This is not always right, but it is rare
48924
 
-             # enough that we require users that really mean to play
48925
 
-             # such unportable linking tricks to link the library
48926
 
-             # using -Wl,-lname, so that libtool does not consider it
48927
 
-             # for duplicate removal.
48928
 
-             case " $specialdeplibs " in
48929
 
-             *" $deplib "*) new_libs="$deplib $new_libs" ;;
48930
 
-             *)
48931
 
-               case " $new_libs " in
48932
 
-               *" $deplib "*) ;;
48933
 
-               *) new_libs="$deplib $new_libs" ;;
48934
 
-               esac
48935
 
-               ;;
48936
 
-             esac
48937
 
-             ;;
48938
 
-           esac
48939
 
-         done
48940
 
-         tmp_libs=
48941
 
-         for deplib in $new_libs; do
48942
 
-           case $deplib in
48943
 
-           -L*)
48944
 
-             case " $tmp_libs " in
48945
 
-             *" $deplib "*) ;;
48946
 
-             *) tmp_libs="$tmp_libs $deplib" ;;
48947
 
-             esac
48948
 
-             ;;
48949
 
-           *) tmp_libs="$tmp_libs $deplib" ;;
48950
 
-           esac
48951
 
-         done
48952
 
-         eval $var=\"$tmp_libs\"
48953
 
-       done # for var
48954
 
-      fi
48955
 
-      # Last step: remove runtime libs from dependency_libs
48956
 
-      # (they stay in deplibs)
48957
 
-      tmp_libs=
48958
 
-      for i in $dependency_libs ; do
48959
 
-       case " $predeps $postdeps $compiler_lib_search_path " in
48960
 
-       *" $i "*)
48961
 
-         i=""
48962
 
-         ;;
48963
 
-       esac
48964
 
-       if test -n "$i" ; then
48965
 
-         tmp_libs="$tmp_libs $i"
48966
 
-       fi
48967
 
-      done
48968
 
-      dependency_libs=$tmp_libs
48969
 
-    done # for pass
48970
 
-    if test "$linkmode" = prog; then
48971
 
-      dlfiles="$newdlfiles"
48972
 
-      dlprefiles="$newdlprefiles"
48973
 
+       $ECHO "\
48974
 
+#! $SHELL
48975
 
+
48976
 
+# $output - temporary wrapper script for $objdir/$outputname
48977
 
+# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
48978
 
+#
48979
 
+# The $output program cannot be directly executed until all the libtool
48980
 
+# libraries that it depends on are installed.
48981
 
+#
48982
 
+# This wrapper script should never be moved out of the build directory.
48983
 
+# If it is, it will not operate correctly.
48984
 
+
48985
 
+# Sed substitution that helps us do robust quoting.  It backslashifies
48986
 
+# metacharacters that are still active within double-quoted strings.
48987
 
+Xsed='${SED} -e 1s/^X//'
48988
 
+sed_quote_subst='$sed_quote_subst'
48989
 
+
48990
 
+# Be Bourne compatible
48991
 
+if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
48992
 
+  emulate sh
48993
 
+  NULLCMD=:
48994
 
+  # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
48995
 
+  # is contrary to our usage.  Disable this feature.
48996
 
+  alias -g '\${1+\"\$@\"}'='\"\$@\"'
48997
 
+  setopt NO_GLOB_SUBST
48998
 
+else
48999
 
+  case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
49000
 
+fi
49001
 
+BIN_SH=xpg4; export BIN_SH # for Tru64
49002
 
+DUALCASE=1; export DUALCASE # for MKS sh
49003
 
+
49004
 
+# The HP-UX ksh and POSIX shell print the target directory to stdout
49005
 
+# if CDPATH is set.
49006
 
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
49007
 
+
49008
 
+relink_command=\"$relink_command\"
49009
 
+
49010
 
+# This environment variable determines our operation mode.
49011
 
+if test \"\$libtool_install_magic\" = \"$magic\"; then
49012
 
+  # install mode needs the following variables:
49013
 
+  generated_by_libtool_version='$macro_version'
49014
 
+  notinst_deplibs='$notinst_deplibs'
49015
 
+else
49016
 
+  # When we are sourced in execute mode, \$file and \$ECHO are already set.
49017
 
+  if test \"\$libtool_execute_magic\" != \"$magic\"; then
49018
 
+    ECHO=\"$qecho\"
49019
 
+    file=\"\$0\"
49020
 
+    # Make sure echo works.
49021
 
+    if test \"X\$1\" = X--no-reexec; then
49022
 
+      # Discard the --no-reexec flag, and continue.
49023
 
+      shift
49024
 
+    elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then
49025
 
+      # Yippee, \$ECHO works!
49026
 
+      :
49027
 
+    else
49028
 
+      # Restart under the correct shell, and then maybe \$ECHO will work.
49029
 
+      exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
49030
 
     fi
49031
 
+  fi\
49032
 
+"
49033
 
+       $ECHO "\
49034
 
 
49035
 
-    case $linkmode in
49036
 
-    oldlib)
49037
 
-      case " $deplibs" in
49038
 
-      *\ -l* | *\ -L*)
49039
 
-       $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 ;;
49040
 
+  # Find the directory that this script lives in.
49041
 
+  thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
49042
 
+  test \"x\$thisdir\" = \"x\$file\" && thisdir=.
49043
 
+
49044
 
+  # Follow symbolic links until we get to the real thisdir.
49045
 
+  file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
49046
 
+  while test -n \"\$file\"; do
49047
 
+    destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
49048
 
+
49049
 
+    # If there was a directory component, then change thisdir.
49050
 
+    if test \"x\$destdir\" != \"x\$file\"; then
49051
 
+      case \"\$destdir\" in
49052
 
+      [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
49053
 
+      *) thisdir=\"\$thisdir/\$destdir\" ;;
49054
 
       esac
49055
 
+    fi
49056
 
 
49057
 
-      if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
49058
 
-       $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
49059
 
-      fi
49060
 
+    file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
49061
 
+    file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
49062
 
+  done
49063
 
+"
49064
 
+}
49065
 
+# end: func_emit_wrapper_part1
49066
 
 
49067
 
-      if test -n "$rpath"; then
49068
 
-       $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2
49069
 
-      fi
49070
 
+# func_emit_wrapper_part2 [arg=no]
49071
 
+#
49072
 
+# Emit the second part of a libtool wrapper script on stdout.
49073
 
+# For more information, see the description associated with
49074
 
+# func_emit_wrapper(), below.
49075
 
+func_emit_wrapper_part2 ()
49076
 
+{
49077
 
+       func_emit_wrapper_part2_arg1=no
49078
 
+       if test -n "$1" ; then
49079
 
+         func_emit_wrapper_part2_arg1=$1
49080
 
+       fi
49081
 
+
49082
 
+       $ECHO "\
49083
 
+
49084
 
+  # Usually 'no', except on cygwin/mingw when embedded into
49085
 
+  # the cwrapper.
49086
 
+  WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1
49087
 
+  if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
49088
 
+    # special case for '.'
49089
 
+    if test \"\$thisdir\" = \".\"; then
49090
 
+      thisdir=\`pwd\`
49091
 
+    fi
49092
 
+    # remove .libs from thisdir
49093
 
+    case \"\$thisdir\" in
49094
 
+    *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;;
49095
 
+    $objdir )   thisdir=. ;;
49096
 
+    esac
49097
 
+  fi
49098
 
 
49099
 
-      if test -n "$xrpath"; then
49100
 
-       $echo "$modename: warning: \`-R' is ignored for archives" 1>&2
49101
 
-      fi
49102
 
+  # Try to get the absolute directory name.
49103
 
+  absdir=\`cd \"\$thisdir\" && pwd\`
49104
 
+  test -n \"\$absdir\" && thisdir=\"\$absdir\"
49105
 
+"
49106
 
 
49107
 
-      if test -n "$vinfo"; then
49108
 
-       $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2
49109
 
-      fi
49110
 
+       if test "$fast_install" = yes; then
49111
 
+         $ECHO "\
49112
 
+  program=lt-'$outputname'$exeext
49113
 
+  progdir=\"\$thisdir/$objdir\"
49114
 
 
49115
 
-      if test -n "$release"; then
49116
 
-       $echo "$modename: warning: \`-release' is ignored for archives" 1>&2
49117
 
-      fi
49118
 
+  if test ! -f \"\$progdir/\$program\" ||
49119
 
+     { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
49120
 
+       test \"X\$file\" != \"X\$progdir/\$program\"; }; then
49121
 
 
49122
 
-      if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
49123
 
-       $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2
49124
 
-      fi
49125
 
+    file=\"\$\$-\$program\"
49126
 
 
49127
 
-      # Now set the variables for building old libraries.
49128
 
-      build_libtool_libs=no
49129
 
-      oldlibs="$output"
49130
 
-      objs="$objs$old_deplibs"
49131
 
-      ;;
49132
 
+    if test ! -d \"\$progdir\"; then
49133
 
+      $MKDIR \"\$progdir\"
49134
 
+    else
49135
 
+      $RM \"\$progdir/\$file\"
49136
 
+    fi"
49137
 
 
49138
 
-    lib)
49139
 
-      # Make sure we only generate libraries of the form `libNAME.la'.
49140
 
-      case $outputname in
49141
 
-      lib*)
49142
 
-       name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
49143
 
-       eval shared_ext=\"$shrext_cmds\"
49144
 
-       eval libname=\"$libname_spec\"
49145
 
-       ;;
49146
 
-      *)
49147
 
-       if test "$module" = no; then
49148
 
-         $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
49149
 
-         $echo "$help" 1>&2
49150
 
-         exit $EXIT_FAILURE
49151
 
-       fi
49152
 
-       if test "$need_lib_prefix" != no; then
49153
 
-         # Add the "lib" prefix for modules if required
49154
 
-         name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
49155
 
-         eval shared_ext=\"$shrext_cmds\"
49156
 
-         eval libname=\"$libname_spec\"
49157
 
-       else
49158
 
-         libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
49159
 
-       fi
49160
 
-       ;;
49161
 
-      esac
49162
 
+         $ECHO "\
49163
 
 
49164
 
-      if test -n "$objs"; then
49165
 
-       if test "$deplibs_check_method" != pass_all; then
49166
 
-         $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
49167
 
-         exit $EXIT_FAILURE
49168
 
+    # relink executable if necessary
49169
 
+    if test -n \"\$relink_command\"; then
49170
 
+      if relink_command_output=\`eval \$relink_command 2>&1\`; then :
49171
 
+      else
49172
 
+       $ECHO \"\$relink_command_output\" >&2
49173
 
+       $RM \"\$progdir/\$file\"
49174
 
+       exit 1
49175
 
+      fi
49176
 
+    fi
49177
 
+
49178
 
+    $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
49179
 
+    { $RM \"\$progdir/\$program\";
49180
 
+      $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; }
49181
 
+    $RM \"\$progdir/\$file\"
49182
 
+  fi"
49183
 
        else
49184
 
-         $echo
49185
 
-         $echo "*** Warning: Linking the shared library $output against the non-libtool"
49186
 
-         $echo "*** objects $objs is not portable!"
49187
 
-         libobjs="$libobjs $objs"
49188
 
+         $ECHO "\
49189
 
+  program='$outputname'
49190
 
+  progdir=\"\$thisdir/$objdir\"
49191
 
+"
49192
 
        fi
49193
 
-      fi
49194
 
 
49195
 
-      if test "$dlself" != no; then
49196
 
-       $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2
49197
 
-      fi
49198
 
+       $ECHO "\
49199
 
 
49200
 
-      set dummy $rpath
49201
 
-      if test "$#" -gt 2; then
49202
 
-       $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2
49203
 
-      fi
49204
 
-      install_libdir="$2"
49205
 
+  if test -f \"\$progdir/\$program\"; then"
49206
 
 
49207
 
-      oldlibs=
49208
 
-      if test -z "$rpath"; then
49209
 
-       if test "$build_libtool_libs" = yes; then
49210
 
-         # Building a libtool convenience library.
49211
 
-         # Some compilers have problems with a `.al' extension so
49212
 
-         # convenience libraries should have the same extension an
49213
 
-         # archive normally would.
49214
 
-         oldlibs="$output_objdir/$libname.$libext $oldlibs"
49215
 
-         build_libtool_libs=convenience
49216
 
-         build_old_libs=yes
49217
 
-       fi
49218
 
+       # Export our shlibpath_var if we have one.
49219
 
+       if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
49220
 
+         $ECHO "\
49221
 
+    # Add our own library path to $shlibpath_var
49222
 
+    $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
49223
 
 
49224
 
-       if test -n "$vinfo"; then
49225
 
-         $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2
49226
 
+    # Some systems cannot cope with colon-terminated $shlibpath_var
49227
 
+    # The second colon is a workaround for a bug in BeOS R4 sed
49228
 
+    $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
49229
 
+
49230
 
+    export $shlibpath_var
49231
 
+"
49232
 
        fi
49233
 
 
49234
 
-       if test -n "$release"; then
49235
 
-         $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2
49236
 
+       # fixup the dll searchpath if we need to.
49237
 
+       if test -n "$dllsearchpath"; then
49238
 
+         $ECHO "\
49239
 
+    # Add the dll search path components to the executable PATH
49240
 
+    PATH=$dllsearchpath:\$PATH
49241
 
+"
49242
 
        fi
49243
 
-      else
49244
 
 
49245
 
-       # Parse the version information argument.
49246
 
-       save_ifs="$IFS"; IFS=':'
49247
 
-       set dummy $vinfo 0 0 0
49248
 
-       IFS="$save_ifs"
49249
 
+       $ECHO "\
49250
 
+    if test \"\$libtool_execute_magic\" != \"$magic\"; then
49251
 
+      # Run the actual program with our arguments.
49252
 
+"
49253
 
+       case $host in
49254
 
+       # Backslashes separate directories on plain windows
49255
 
+       *-*-mingw | *-*-os2* | *-cegcc*)
49256
 
+         $ECHO "\
49257
 
+      exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
49258
 
+"
49259
 
+         ;;
49260
 
+
49261
 
+       *)
49262
 
+         $ECHO "\
49263
 
+      exec \"\$progdir/\$program\" \${1+\"\$@\"}
49264
 
+"
49265
 
+         ;;
49266
 
+       esac
49267
 
+       $ECHO "\
49268
 
+      \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
49269
 
+      exit 1
49270
 
+    fi
49271
 
+  else
49272
 
+    # The program doesn't exist.
49273
 
+    \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
49274
 
+    \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
49275
 
+    $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
49276
 
+    exit 1
49277
 
+  fi
49278
 
+fi\
49279
 
+"
49280
 
+}
49281
 
+# end: func_emit_wrapper_part2
49282
 
 
49283
 
-       if test -n "$8"; then
49284
 
-         $echo "$modename: too many parameters to \`-version-info'" 1>&2
49285
 
-         $echo "$help" 1>&2
49286
 
-         exit $EXIT_FAILURE
49287
 
+
49288
 
+# func_emit_wrapper [arg=no]
49289
 
+#
49290
 
+# Emit a libtool wrapper script on stdout.
49291
 
+# Don't directly open a file because we may want to
49292
 
+# incorporate the script contents within a cygwin/mingw
49293
 
+# wrapper executable.  Must ONLY be called from within
49294
 
+# func_mode_link because it depends on a number of variables
49295
 
+# set therein.
49296
 
+#
49297
 
+# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
49298
 
+# variable will take.  If 'yes', then the emitted script
49299
 
+# will assume that the directory in which it is stored is
49300
 
+# the $objdir directory.  This is a cygwin/mingw-specific
49301
 
+# behavior.
49302
 
+func_emit_wrapper ()
49303
 
+{
49304
 
+       func_emit_wrapper_arg1=no
49305
 
+       if test -n "$1" ; then
49306
 
+         func_emit_wrapper_arg1=$1
49307
 
        fi
49308
 
 
49309
 
-       # convert absolute version numbers to libtool ages
49310
 
-       # this retains compatibility with .la files and attempts
49311
 
-       # to make the code below a bit more comprehensible
49312
 
+       # split this up so that func_emit_cwrapperexe_src
49313
 
+       # can call each part independently.
49314
 
+       func_emit_wrapper_part1 "${func_emit_wrapper_arg1}"
49315
 
+       func_emit_wrapper_part2 "${func_emit_wrapper_arg1}"
49316
 
+}
49317
 
 
49318
 
-       case $vinfo_number in
49319
 
-       yes)
49320
 
-         number_major="$2"
49321
 
-         number_minor="$3"
49322
 
-         number_revision="$4"
49323
 
-         #
49324
 
-         # There are really only two kinds -- those that
49325
 
-         # use the current revision as the major version
49326
 
-         # and those that subtract age and use age as
49327
 
-         # a minor version.  But, then there is irix
49328
 
-         # which has an extra 1 added just for fun
49329
 
-         #
49330
 
-         case $version_type in
49331
 
-         darwin|linux|osf|windows|none)
49332
 
-           current=`expr $number_major + $number_minor`
49333
 
-           age="$number_minor"
49334
 
-           revision="$number_revision"
49335
 
-           ;;
49336
 
-         freebsd-aout|freebsd-elf|sunos)
49337
 
-           current="$number_major"
49338
 
-           revision="$number_minor"
49339
 
-           age="0"
49340
 
-           ;;
49341
 
-         irix|nonstopux)
49342
 
-           current=`expr $number_major + $number_minor`
49343
 
-           age="$number_minor"
49344
 
-           revision="$number_minor"
49345
 
-           lt_irix_increment=no
49346
 
-           ;;
49347
 
-         *)
49348
 
-           $echo "$modename: unknown library version type \`$version_type'" 1>&2
49349
 
-           $echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
49350
 
-           exit $EXIT_FAILURE
49351
 
-           ;;
49352
 
-         esac
49353
 
-         ;;
49354
 
-       no)
49355
 
-         current="$2"
49356
 
-         revision="$3"
49357
 
-         age="$4"
49358
 
-         ;;
49359
 
-       esac
49360
 
 
49361
 
-       # Check that each of the things are valid numbers.
49362
 
-       case $current in
49363
 
-       0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
49364
 
-       *)
49365
 
-         $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2
49366
 
-         $echo "$modename: \`$vinfo' is not valid version information" 1>&2
49367
 
-         exit $EXIT_FAILURE
49368
 
-         ;;
49369
 
-       esac
49370
 
+# func_to_host_path arg
49371
 
+#
49372
 
+# Convert paths to host format when used with build tools.
49373
 
+# Intended for use with "native" mingw (where libtool itself
49374
 
+# is running under the msys shell), or in the following cross-
49375
 
+# build environments:
49376
 
+#    $build          $host
49377
 
+#    mingw (msys)    mingw  [e.g. native]
49378
 
+#    cygwin          mingw
49379
 
+#    *nix + wine     mingw
49380
 
+# where wine is equipped with the `winepath' executable.
49381
 
+# In the native mingw case, the (msys) shell automatically
49382
 
+# converts paths for any non-msys applications it launches,
49383
 
+# but that facility isn't available from inside the cwrapper.
49384
 
+# Similar accommodations are necessary for $host mingw and
49385
 
+# $build cygwin.  Calling this function does no harm for other
49386
 
+# $host/$build combinations not listed above.
49387
 
+#
49388
 
+# ARG is the path (on $build) that should be converted to
49389
 
+# the proper representation for $host. The result is stored
49390
 
+# in $func_to_host_path_result.
49391
 
+func_to_host_path ()
49392
 
+{
49393
 
+  func_to_host_path_result="$1"
49394
 
+  if test -n "$1" ; then
49395
 
+    case $host in
49396
 
+      *mingw* )
49397
 
+        lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
49398
 
+        case $build in
49399
 
+          *mingw* ) # actually, msys
49400
 
+            # awkward: cmd appends spaces to result
49401
 
+            lt_sed_strip_trailing_spaces="s/[ ]*\$//"
49402
 
+            func_to_host_path_tmp1=`( cmd //c echo "$1" |\
49403
 
+              $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
49404
 
+            func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
49405
 
+              $SED -e "$lt_sed_naive_backslashify"`
49406
 
+            ;;
49407
 
+          *cygwin* )
49408
 
+            func_to_host_path_tmp1=`cygpath -w "$1"`
49409
 
+            func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
49410
 
+              $SED -e "$lt_sed_naive_backslashify"`
49411
 
+            ;;
49412
 
+          * )
49413
 
+            # Unfortunately, winepath does not exit with a non-zero
49414
 
+            # error code, so we are forced to check the contents of
49415
 
+            # stdout. On the other hand, if the command is not
49416
 
+            # found, the shell will set an exit code of 127 and print
49417
 
+            # *an error message* to stdout. So we must check for both
49418
 
+            # error code of zero AND non-empty stdout, which explains
49419
 
+            # the odd construction:
49420
 
+            func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null`
49421
 
+            if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then
49422
 
+              func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
49423
 
+                $SED -e "$lt_sed_naive_backslashify"`
49424
 
+            else
49425
 
+              # Allow warning below.
49426
 
+              func_to_host_path_result=""
49427
 
+            fi
49428
 
+            ;;
49429
 
+        esac
49430
 
+        if test -z "$func_to_host_path_result" ; then
49431
 
+          func_error "Could not determine host path corresponding to"
49432
 
+          func_error "  '$1'"
49433
 
+          func_error "Continuing, but uninstalled executables may not work."
49434
 
+          # Fallback:
49435
 
+          func_to_host_path_result="$1"
49436
 
+        fi
49437
 
+        ;;
49438
 
+    esac
49439
 
+  fi
49440
 
+}
49441
 
+# end: func_to_host_path
49442
 
 
49443
 
-       case $revision in
49444
 
-       0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
49445
 
-       *)
49446
 
-         $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2
49447
 
-         $echo "$modename: \`$vinfo' is not valid version information" 1>&2
49448
 
-         exit $EXIT_FAILURE
49449
 
-         ;;
49450
 
-       esac
49451
 
+# func_to_host_pathlist arg
49452
 
+#
49453
 
+# Convert pathlists to host format when used with build tools.
49454
 
+# See func_to_host_path(), above. This function supports the
49455
 
+# following $build/$host combinations (but does no harm for
49456
 
+# combinations not listed here):
49457
 
+#    $build          $host
49458
 
+#    mingw (msys)    mingw  [e.g. native]
49459
 
+#    cygwin          mingw
49460
 
+#    *nix + wine     mingw
49461
 
+#
49462
 
+# Path separators are also converted from $build format to
49463
 
+# $host format. If ARG begins or ends with a path separator
49464
 
+# character, it is preserved (but converted to $host format)
49465
 
+# on output.
49466
 
+#
49467
 
+# ARG is a pathlist (on $build) that should be converted to
49468
 
+# the proper representation on $host. The result is stored
49469
 
+# in $func_to_host_pathlist_result.
49470
 
+func_to_host_pathlist ()
49471
 
+{
49472
 
+  func_to_host_pathlist_result="$1"
49473
 
+  if test -n "$1" ; then
49474
 
+    case $host in
49475
 
+      *mingw* )
49476
 
+        lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
49477
 
+        # Remove leading and trailing path separator characters from
49478
 
+        # ARG. msys behavior is inconsistent here, cygpath turns them
49479
 
+        # into '.;' and ';.', and winepath ignores them completely.
49480
 
+        func_to_host_pathlist_tmp2="$1"
49481
 
+        # Once set for this call, this variable should not be
49482
 
+        # reassigned. It is used in tha fallback case.
49483
 
+        func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\
49484
 
+          $SED -e 's|^:*||' -e 's|:*$||'`
49485
 
+        case $build in
49486
 
+          *mingw* ) # Actually, msys.
49487
 
+            # Awkward: cmd appends spaces to result.
49488
 
+            lt_sed_strip_trailing_spaces="s/[ ]*\$//"
49489
 
+            func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\
49490
 
+              $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
49491
 
+            func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
49492
 
+              $SED -e "$lt_sed_naive_backslashify"`
49493
 
+            ;;
49494
 
+          *cygwin* )
49495
 
+            func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"`
49496
 
+            func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
49497
 
+              $SED -e "$lt_sed_naive_backslashify"`
49498
 
+            ;;
49499
 
+          * )
49500
 
+            # unfortunately, winepath doesn't convert pathlists
49501
 
+            func_to_host_pathlist_result=""
49502
 
+            func_to_host_pathlist_oldIFS=$IFS
49503
 
+            IFS=:
49504
 
+            for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do
49505
 
+              IFS=$func_to_host_pathlist_oldIFS
49506
 
+              if test -n "$func_to_host_pathlist_f" ; then
49507
 
+                func_to_host_path "$func_to_host_pathlist_f"
49508
 
+                if test -n "$func_to_host_path_result" ; then
49509
 
+                  if test -z "$func_to_host_pathlist_result" ; then
49510
 
+                    func_to_host_pathlist_result="$func_to_host_path_result"
49511
 
+                  else
49512
 
+                    func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result"
49513
 
+                  fi
49514
 
+                fi
49515
 
+              fi
49516
 
+              IFS=:
49517
 
+            done
49518
 
+            IFS=$func_to_host_pathlist_oldIFS
49519
 
+            ;;
49520
 
+        esac
49521
 
+        if test -z "$func_to_host_pathlist_result" ; then
49522
 
+          func_error "Could not determine the host path(s) corresponding to"
49523
 
+          func_error "  '$1'"
49524
 
+          func_error "Continuing, but uninstalled executables may not work."
49525
 
+          # Fallback. This may break if $1 contains DOS-style drive
49526
 
+          # specifications. The fix is not to complicate the expression
49527
 
+          # below, but for the user to provide a working wine installation
49528
 
+          # with winepath so that path translation in the cross-to-mingw
49529
 
+          # case works properly.
49530
 
+          lt_replace_pathsep_nix_to_dos="s|:|;|g"
49531
 
+          func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\
49532
 
+            $SED -e "$lt_replace_pathsep_nix_to_dos"`
49533
 
+        fi
49534
 
+        # Now, add the leading and trailing path separators back
49535
 
+        case "$1" in
49536
 
+          :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result"
49537
 
+            ;;
49538
 
+        esac
49539
 
+        case "$1" in
49540
 
+          *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;"
49541
 
+            ;;
49542
 
+        esac
49543
 
+        ;;
49544
 
+    esac
49545
 
+  fi
49546
 
+}
49547
 
+# end: func_to_host_pathlist
49548
 
 
49549
 
-       case $age in
49550
 
-       0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
49551
 
-       *)
49552
 
-         $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2
49553
 
-         $echo "$modename: \`$vinfo' is not valid version information" 1>&2
49554
 
-         exit $EXIT_FAILURE
49555
 
-         ;;
49556
 
-       esac
49557
 
+# func_emit_cwrapperexe_src
49558
 
+# emit the source code for a wrapper executable on stdout
49559
 
+# Must ONLY be called from within func_mode_link because
49560
 
+# it depends on a number of variable set therein.
49561
 
+func_emit_cwrapperexe_src ()
49562
 
+{
49563
 
+       cat <<EOF
49564
 
 
49565
 
-       if test "$age" -gt "$current"; then
49566
 
-         $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
49567
 
-         $echo "$modename: \`$vinfo' is not valid version information" 1>&2
49568
 
-         exit $EXIT_FAILURE
49569
 
-       fi
49570
 
+/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
49571
 
+   Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
49572
 
 
49573
 
-       # Calculate the version variables.
49574
 
-       major=
49575
 
-       versuffix=
49576
 
-       verstring=
49577
 
-       case $version_type in
49578
 
-       none) ;;
49579
 
+   The $output program cannot be directly executed until all the libtool
49580
 
+   libraries that it depends on are installed.
49581
 
 
49582
 
-       darwin)
49583
 
-         # Like Linux, but with the current version available in
49584
 
-         # verstring for coding it into the library header
49585
 
-         major=.`expr $current - $age`
49586
 
-         versuffix="$major.$age.$revision"
49587
 
-         # Darwin ld doesn't like 0 for these options...
49588
 
-         minor_current=`expr $current + 1`
49589
 
-         xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
49590
 
-         verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
49591
 
-         ;;
49592
 
+   This wrapper executable should never be moved out of the build directory.
49593
 
+   If it is, it will not operate correctly.
49594
 
 
49595
 
-       freebsd-aout)
49596
 
-         major=".$current"
49597
 
-         versuffix=".$current.$revision";
49598
 
-         ;;
49599
 
+   Currently, it simply execs the wrapper *script* "$SHELL $output",
49600
 
+   but could eventually absorb all of the scripts functionality and
49601
 
+   exec $objdir/$outputname directly.
49602
 
+*/
49603
 
+EOF
49604
 
+           cat <<"EOF"
49605
 
+#include <stdio.h>
49606
 
+#include <stdlib.h>
49607
 
+#ifdef _MSC_VER
49608
 
+# include <direct.h>
49609
 
+# include <process.h>
49610
 
+# include <io.h>
49611
 
+# define setmode _setmode
49612
 
+#else
49613
 
+# include <unistd.h>
49614
 
+# include <stdint.h>
49615
 
+# ifdef __CYGWIN__
49616
 
+#  include <io.h>
49617
 
+#  define HAVE_SETENV
49618
 
+#  ifdef __STRICT_ANSI__
49619
 
+char *realpath (const char *, char *);
49620
 
+int putenv (char *);
49621
 
+int setenv (const char *, const char *, int);
49622
 
+#  endif
49623
 
+# endif
49624
 
+#endif
49625
 
+#include <malloc.h>
49626
 
+#include <stdarg.h>
49627
 
+#include <assert.h>
49628
 
+#include <string.h>
49629
 
+#include <ctype.h>
49630
 
+#include <errno.h>
49631
 
+#include <fcntl.h>
49632
 
+#include <sys/stat.h>
49633
 
 
49634
 
-       freebsd-elf)
49635
 
-         major=".$current"
49636
 
-         versuffix=".$current";
49637
 
-         ;;
49638
 
+#if defined(PATH_MAX)
49639
 
+# define LT_PATHMAX PATH_MAX
49640
 
+#elif defined(MAXPATHLEN)
49641
 
+# define LT_PATHMAX MAXPATHLEN
49642
 
+#else
49643
 
+# define LT_PATHMAX 1024
49644
 
+#endif
49645
 
 
49646
 
-       irix | nonstopux)
49647
 
-         if test "X$lt_irix_increment" = "Xno"; then
49648
 
-           major=`expr $current - $age`
49649
 
-         else
49650
 
-           major=`expr $current - $age + 1`
49651
 
-         fi
49652
 
-         case $version_type in
49653
 
-           nonstopux) verstring_prefix=nonstopux ;;
49654
 
-           *)         verstring_prefix=sgi ;;
49655
 
-         esac
49656
 
-         verstring="$verstring_prefix$major.$revision"
49657
 
+#ifndef S_IXOTH
49658
 
+# define S_IXOTH 0
49659
 
+#endif
49660
 
+#ifndef S_IXGRP
49661
 
+# define S_IXGRP 0
49662
 
+#endif
49663
 
 
49664
 
-         # Add in all the interfaces that we are compatible with.
49665
 
-         loop=$revision
49666
 
-         while test "$loop" -ne 0; do
49667
 
-           iface=`expr $revision - $loop`
49668
 
-           loop=`expr $loop - 1`
49669
 
-           verstring="$verstring_prefix$major.$iface:$verstring"
49670
 
-         done
49671
 
+#ifdef _MSC_VER
49672
 
+# define S_IXUSR _S_IEXEC
49673
 
+# define stat _stat
49674
 
+# ifndef _INTPTR_T_DEFINED
49675
 
+#  define intptr_t int
49676
 
+# endif
49677
 
+#endif
49678
 
 
49679
 
-         # Before this point, $major must not contain `.'.
49680
 
-         major=.$major
49681
 
-         versuffix="$major.$revision"
49682
 
-         ;;
49683
 
+#ifndef DIR_SEPARATOR
49684
 
+# define DIR_SEPARATOR '/'
49685
 
+# define PATH_SEPARATOR ':'
49686
 
+#endif
49687
 
 
49688
 
-       linux)
49689
 
-         major=.`expr $current - $age`
49690
 
-         versuffix="$major.$age.$revision"
49691
 
-         ;;
49692
 
+#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
49693
 
+  defined (__OS2__)
49694
 
+# define HAVE_DOS_BASED_FILE_SYSTEM
49695
 
+# define FOPEN_WB "wb"
49696
 
+# ifndef DIR_SEPARATOR_2
49697
 
+#  define DIR_SEPARATOR_2 '\\'
49698
 
+# endif
49699
 
+# ifndef PATH_SEPARATOR_2
49700
 
+#  define PATH_SEPARATOR_2 ';'
49701
 
+# endif
49702
 
+#endif
49703
 
 
49704
 
-       osf)
49705
 
-         major=.`expr $current - $age`
49706
 
-         versuffix=".$current.$age.$revision"
49707
 
-         verstring="$current.$age.$revision"
49708
 
+#ifndef DIR_SEPARATOR_2
49709
 
+# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
49710
 
+#else /* DIR_SEPARATOR_2 */
49711
 
+# define IS_DIR_SEPARATOR(ch) \
49712
 
+       (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
49713
 
+#endif /* DIR_SEPARATOR_2 */
49714
 
 
49715
 
-         # Add in all the interfaces that we are compatible with.
49716
 
-         loop=$age
49717
 
-         while test "$loop" -ne 0; do
49718
 
-           iface=`expr $current - $loop`
49719
 
-           loop=`expr $loop - 1`
49720
 
-           verstring="$verstring:${iface}.0"
49721
 
-         done
49722
 
+#ifndef PATH_SEPARATOR_2
49723
 
+# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
49724
 
+#else /* PATH_SEPARATOR_2 */
49725
 
+# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
49726
 
+#endif /* PATH_SEPARATOR_2 */
49727
 
 
49728
 
-         # Make executables depend on our current version.
49729
 
-         verstring="$verstring:${current}.0"
49730
 
-         ;;
49731
 
+#ifdef __CYGWIN__
49732
 
+# define FOPEN_WB "wb"
49733
 
+#endif
49734
 
 
49735
 
-       sunos)
49736
 
-         major=".$current"
49737
 
-         versuffix=".$current.$revision"
49738
 
-         ;;
49739
 
+#ifndef FOPEN_WB
49740
 
+# define FOPEN_WB "w"
49741
 
+#endif
49742
 
+#ifndef _O_BINARY
49743
 
+# define _O_BINARY 0
49744
 
+#endif
49745
 
 
49746
 
-       windows)
49747
 
-         # Use '-' rather than '.', since we only want one
49748
 
-         # extension on DOS 8.3 filesystems.
49749
 
-         major=`expr $current - $age`
49750
 
-         versuffix="-$major"
49751
 
-         ;;
49752
 
+#define XMALLOC(type, num)      ((type *) xmalloc ((num) * sizeof(type)))
49753
 
+#define XFREE(stale) do { \
49754
 
+  if (stale) { free ((void *) stale); stale = 0; } \
49755
 
+} while (0)
49756
 
 
49757
 
-       *)
49758
 
-         $echo "$modename: unknown library version type \`$version_type'" 1>&2
49759
 
-         $echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
49760
 
-         exit $EXIT_FAILURE
49761
 
-         ;;
49762
 
-       esac
49763
 
+#undef LTWRAPPER_DEBUGPRINTF
49764
 
+#if defined DEBUGWRAPPER
49765
 
+# define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args
49766
 
+static void
49767
 
+ltwrapper_debugprintf (const char *fmt, ...)
49768
 
+{
49769
 
+    va_list args;
49770
 
+    va_start (args, fmt);
49771
 
+    (void) vfprintf (stderr, fmt, args);
49772
 
+    va_end (args);
49773
 
+}
49774
 
+#else
49775
 
+# define LTWRAPPER_DEBUGPRINTF(args)
49776
 
+#endif
49777
 
 
49778
 
-       # Clear the version info if we defaulted, and they specified a release.
49779
 
-       if test -z "$vinfo" && test -n "$release"; then
49780
 
-         major=
49781
 
-         case $version_type in
49782
 
-         darwin)
49783
 
-           # we can't check for "0.0" in archive_cmds due to quoting
49784
 
-           # problems, so we reset it completely
49785
 
-           verstring=
49786
 
-           ;;
49787
 
-         *)
49788
 
-           verstring="0.0"
49789
 
-           ;;
49790
 
-         esac
49791
 
-         if test "$need_version" = no; then
49792
 
-           versuffix=
49793
 
-         else
49794
 
-           versuffix=".0.0"
49795
 
-         fi
49796
 
-       fi
49797
 
+const char *program_name = NULL;
49798
 
 
49799
 
-       # Remove version info from name if versioning should be avoided
49800
 
-       if test "$avoid_version" = yes && test "$need_version" = no; then
49801
 
-         major=
49802
 
-         versuffix=
49803
 
-         verstring=""
49804
 
-       fi
49805
 
+void *xmalloc (size_t num);
49806
 
+char *xstrdup (const char *string);
49807
 
+const char *base_name (const char *name);
49808
 
+char *find_executable (const char *wrapper);
49809
 
+char *chase_symlinks (const char *pathspec);
49810
 
+int make_executable (const char *path);
49811
 
+int check_executable (const char *path);
49812
 
+char *strendzap (char *str, const char *pat);
49813
 
+void lt_fatal (const char *message, ...);
49814
 
+void lt_setenv (const char *name, const char *value);
49815
 
+char *lt_extend_str (const char *orig_value, const char *add, int to_end);
49816
 
+void lt_opt_process_env_set (const char *arg);
49817
 
+void lt_opt_process_env_prepend (const char *arg);
49818
 
+void lt_opt_process_env_append (const char *arg);
49819
 
+int lt_split_name_value (const char *arg, char** name, char** value);
49820
 
+void lt_update_exe_path (const char *name, const char *value);
49821
 
+void lt_update_lib_path (const char *name, const char *value);
49822
 
 
49823
 
-       # Check to see if the archive will have undefined symbols.
49824
 
-       if test "$allow_undefined" = yes; then
49825
 
-         if test "$allow_undefined_flag" = unsupported; then
49826
 
-           $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2
49827
 
-           build_libtool_libs=no
49828
 
-           build_old_libs=yes
49829
 
-         fi
49830
 
-       else
49831
 
-         # Don't allow undefined symbols.
49832
 
-         allow_undefined_flag="$no_undefined_flag"
49833
 
-       fi
49834
 
-      fi
49835
 
+static const char *script_text_part1 =
49836
 
+EOF
49837
 
 
49838
 
-      if test "$mode" != relink; then
49839
 
-       # Remove our outputs, but don't remove object files since they
49840
 
-       # may have been created when compiling PIC objects.
49841
 
-       removelist=
49842
 
-       tempremovelist=`$echo "$output_objdir/*"`
49843
 
-       for p in $tempremovelist; do
49844
 
-         case $p in
49845
 
-           *.$objext)
49846
 
-              ;;
49847
 
-           $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
49848
 
-              if test "X$precious_files_regex" != "X"; then
49849
 
-                if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
49850
 
-                then
49851
 
-                  continue
49852
 
-                fi
49853
 
-              fi
49854
 
-              removelist="$removelist $p"
49855
 
-              ;;
49856
 
-           *) ;;
49857
 
-         esac
49858
 
-       done
49859
 
-       if test -n "$removelist"; then
49860
 
-         $show "${rm}r $removelist"
49861
 
-         $run ${rm}r $removelist
49862
 
-       fi
49863
 
-      fi
49864
 
+           func_emit_wrapper_part1 yes |
49865
 
+               $SED -e 's/\([\\"]\)/\\\1/g' \
49866
 
+                    -e 's/^/  "/' -e 's/$/\\n"/'
49867
 
+           echo ";"
49868
 
+           cat <<EOF
49869
 
 
49870
 
-      # Now set the variables for building old libraries.
49871
 
-      if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
49872
 
-       oldlibs="$oldlibs $output_objdir/$libname.$libext"
49873
 
+static const char *script_text_part2 =
49874
 
+EOF
49875
 
+           func_emit_wrapper_part2 yes |
49876
 
+               $SED -e 's/\([\\"]\)/\\\1/g' \
49877
 
+                    -e 's/^/  "/' -e 's/$/\\n"/'
49878
 
+           echo ";"
49879
 
+
49880
 
+           cat <<EOF
49881
 
+const char * MAGIC_EXE = "$magic_exe";
49882
 
+const char * LIB_PATH_VARNAME = "$shlibpath_var";
49883
 
+EOF
49884
 
 
49885
 
-       # Transform .lo files to .o files.
49886
 
-       oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
49887
 
-      fi
49888
 
+           if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
49889
 
+              func_to_host_pathlist "$temp_rpath"
49890
 
+             cat <<EOF
49891
 
+const char * LIB_PATH_VALUE   = "$func_to_host_pathlist_result";
49892
 
+EOF
49893
 
+           else
49894
 
+             cat <<"EOF"
49895
 
+const char * LIB_PATH_VALUE   = "";
49896
 
+EOF
49897
 
+           fi
49898
 
 
49899
 
-      # Eliminate all temporary directories.
49900
 
-      #for path in $notinst_path; do
49901
 
-      #        lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
49902
 
-      #        deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
49903
 
-      #        dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
49904
 
-      #done
49905
 
+           if test -n "$dllsearchpath"; then
49906
 
+              func_to_host_pathlist "$dllsearchpath:"
49907
 
+             cat <<EOF
49908
 
+const char * EXE_PATH_VARNAME = "PATH";
49909
 
+const char * EXE_PATH_VALUE   = "$func_to_host_pathlist_result";
49910
 
+EOF
49911
 
+           else
49912
 
+             cat <<"EOF"
49913
 
+const char * EXE_PATH_VARNAME = "";
49914
 
+const char * EXE_PATH_VALUE   = "";
49915
 
+EOF
49916
 
+           fi
49917
 
 
49918
 
-      if test -n "$xrpath"; then
49919
 
-       # If the user specified any rpath flags, then add them.
49920
 
-       temp_xrpath=
49921
 
-       for libdir in $xrpath; do
49922
 
-         temp_xrpath="$temp_xrpath -R$libdir"
49923
 
-         case "$finalize_rpath " in
49924
 
-         *" $libdir "*) ;;
49925
 
-         *) finalize_rpath="$finalize_rpath $libdir" ;;
49926
 
-         esac
49927
 
-       done
49928
 
-       if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
49929
 
-         dependency_libs="$temp_xrpath $dependency_libs"
49930
 
-       fi
49931
 
-      fi
49932
 
+           if test "$fast_install" = yes; then
49933
 
+             cat <<EOF
49934
 
+const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */
49935
 
+EOF
49936
 
+           else
49937
 
+             cat <<EOF
49938
 
+const char * TARGET_PROGRAM_NAME = "$outputname"; /* hopefully, no .exe */
49939
 
+EOF
49940
 
+           fi
49941
 
 
49942
 
-      # Make sure dlfiles contains only unique files that won't be dlpreopened
49943
 
-      old_dlfiles="$dlfiles"
49944
 
-      dlfiles=
49945
 
-      for lib in $old_dlfiles; do
49946
 
-       case " $dlprefiles $dlfiles " in
49947
 
-       *" $lib "*) ;;
49948
 
-       *) dlfiles="$dlfiles $lib" ;;
49949
 
-       esac
49950
 
-      done
49951
 
 
49952
 
-      # Make sure dlprefiles contains only unique files
49953
 
-      old_dlprefiles="$dlprefiles"
49954
 
-      dlprefiles=
49955
 
-      for lib in $old_dlprefiles; do
49956
 
-       case "$dlprefiles " in
49957
 
-       *" $lib "*) ;;
49958
 
-       *) dlprefiles="$dlprefiles $lib" ;;
49959
 
-       esac
49960
 
-      done
49961
 
+           cat <<"EOF"
49962
 
 
49963
 
-      if test "$build_libtool_libs" = yes; then
49964
 
-       if test -n "$rpath"; then
49965
 
-         case $host in
49966
 
-         *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
49967
 
-           # these systems don't actually have a c library (as such)!
49968
 
-           ;;
49969
 
-         *-*-rhapsody* | *-*-darwin1.[012])
49970
 
-           # Rhapsody C library is in the System framework
49971
 
-           deplibs="$deplibs -framework System"
49972
 
-           ;;
49973
 
-         *-*-netbsd*)
49974
 
-           # Don't link with libc until the a.out ld.so is fixed.
49975
 
-           ;;
49976
 
-         *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
49977
 
-           # Do not include libc due to us having libc/libc_r.
49978
 
-           ;;
49979
 
-         *-*-sco3.2v5* | *-*-sco5v6*)
49980
 
-           # Causes problems with __ctype
49981
 
-           ;;
49982
 
-         *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
49983
 
-           # Compiler inserts libc in the correct place for threads to work
49984
 
-           ;;
49985
 
-         *)
49986
 
-           # Add libc to deplibs on all other systems if necessary.
49987
 
-           if test "$build_libtool_need_lc" = "yes"; then
49988
 
-             deplibs="$deplibs -lc"
49989
 
-           fi
49990
 
+#define LTWRAPPER_OPTION_PREFIX         "--lt-"
49991
 
+#define LTWRAPPER_OPTION_PREFIX_LENGTH  5
49992
 
+
49993
 
+static const size_t opt_prefix_len         = LTWRAPPER_OPTION_PREFIX_LENGTH;
49994
 
+static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
49995
 
+
49996
 
+static const char *dumpscript_opt       = LTWRAPPER_OPTION_PREFIX "dump-script";
49997
 
+
49998
 
+static const size_t env_set_opt_len     = LTWRAPPER_OPTION_PREFIX_LENGTH + 7;
49999
 
+static const char *env_set_opt          = LTWRAPPER_OPTION_PREFIX "env-set";
50000
 
+  /* argument is putenv-style "foo=bar", value of foo is set to bar */
50001
 
+
50002
 
+static const size_t env_prepend_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 11;
50003
 
+static const char *env_prepend_opt      = LTWRAPPER_OPTION_PREFIX "env-prepend";
50004
 
+  /* argument is putenv-style "foo=bar", new value of foo is bar${foo} */
50005
 
+
50006
 
+static const size_t env_append_opt_len  = LTWRAPPER_OPTION_PREFIX_LENGTH + 10;
50007
 
+static const char *env_append_opt       = LTWRAPPER_OPTION_PREFIX "env-append";
50008
 
+  /* argument is putenv-style "foo=bar", new value of foo is ${foo}bar */
50009
 
+
50010
 
+int
50011
 
+main (int argc, char *argv[])
50012
 
+{
50013
 
+  char **newargz;
50014
 
+  int  newargc;
50015
 
+  char *tmp_pathspec;
50016
 
+  char *actual_cwrapper_path;
50017
 
+  char *actual_cwrapper_name;
50018
 
+  char *target_name;
50019
 
+  char *lt_argv_zero;
50020
 
+  intptr_t rval = 127;
50021
 
+
50022
 
+  int i;
50023
 
+
50024
 
+  program_name = (char *) xstrdup (base_name (argv[0]));
50025
 
+  LTWRAPPER_DEBUGPRINTF (("(main) argv[0]      : %s\n", argv[0]));
50026
 
+  LTWRAPPER_DEBUGPRINTF (("(main) program_name : %s\n", program_name));
50027
 
+
50028
 
+  /* very simple arg parsing; don't want to rely on getopt */
50029
 
+  for (i = 1; i < argc; i++)
50030
 
+    {
50031
 
+      if (strcmp (argv[i], dumpscript_opt) == 0)
50032
 
+       {
50033
 
+EOF
50034
 
+           case "$host" in
50035
 
+             *mingw* | *cygwin* )
50036
 
+               # make stdout use "unix" line endings
50037
 
+               echo "          setmode(1,_O_BINARY);"
50038
 
+               ;;
50039
 
+             esac
50040
 
+
50041
 
+           cat <<"EOF"
50042
 
+         printf ("%s", script_text_part1);
50043
 
+         printf ("%s", script_text_part2);
50044
 
+         return 0;
50045
 
+       }
50046
 
+    }
50047
 
+
50048
 
+  newargz = XMALLOC (char *, argc + 1);
50049
 
+  tmp_pathspec = find_executable (argv[0]);
50050
 
+  if (tmp_pathspec == NULL)
50051
 
+    lt_fatal ("Couldn't find %s", argv[0]);
50052
 
+  LTWRAPPER_DEBUGPRINTF (("(main) found exe (before symlink chase) at : %s\n",
50053
 
+                         tmp_pathspec));
50054
 
+
50055
 
+  actual_cwrapper_path = chase_symlinks (tmp_pathspec);
50056
 
+  LTWRAPPER_DEBUGPRINTF (("(main) found exe (after symlink chase) at : %s\n",
50057
 
+                         actual_cwrapper_path));
50058
 
+  XFREE (tmp_pathspec);
50059
 
+
50060
 
+  actual_cwrapper_name = xstrdup( base_name (actual_cwrapper_path));
50061
 
+  strendzap (actual_cwrapper_path, actual_cwrapper_name);
50062
 
+
50063
 
+  /* wrapper name transforms */
50064
 
+  strendzap (actual_cwrapper_name, ".exe");
50065
 
+  tmp_pathspec = lt_extend_str (actual_cwrapper_name, ".exe", 1);
50066
 
+  XFREE (actual_cwrapper_name);
50067
 
+  actual_cwrapper_name = tmp_pathspec;
50068
 
+  tmp_pathspec = 0;
50069
 
+
50070
 
+  /* target_name transforms -- use actual target program name; might have lt- prefix */
50071
 
+  target_name = xstrdup (base_name (TARGET_PROGRAM_NAME));
50072
 
+  strendzap (target_name, ".exe");
50073
 
+  tmp_pathspec = lt_extend_str (target_name, ".exe", 1);
50074
 
+  XFREE (target_name);
50075
 
+  target_name = tmp_pathspec;
50076
 
+  tmp_pathspec = 0;
50077
 
+
50078
 
+  LTWRAPPER_DEBUGPRINTF (("(main) libtool target name: %s\n",
50079
 
+                         target_name));
50080
 
+EOF
50081
 
+
50082
 
+           cat <<EOF
50083
 
+  newargz[0] =
50084
 
+    XMALLOC (char, (strlen (actual_cwrapper_path) +
50085
 
+                   strlen ("$objdir") + 1 + strlen (actual_cwrapper_name) + 1));
50086
 
+  strcpy (newargz[0], actual_cwrapper_path);
50087
 
+  strcat (newargz[0], "$objdir");
50088
 
+  strcat (newargz[0], "/");
50089
 
+EOF
50090
 
+
50091
 
+           cat <<"EOF"
50092
 
+  /* stop here, and copy so we don't have to do this twice */
50093
 
+  tmp_pathspec = xstrdup (newargz[0]);
50094
 
+
50095
 
+  /* do NOT want the lt- prefix here, so use actual_cwrapper_name */
50096
 
+  strcat (newargz[0], actual_cwrapper_name);
50097
 
+
50098
 
+  /* DO want the lt- prefix here if it exists, so use target_name */
50099
 
+  lt_argv_zero = lt_extend_str (tmp_pathspec, target_name, 1);
50100
 
+  XFREE (tmp_pathspec);
50101
 
+  tmp_pathspec = NULL;
50102
 
+EOF
50103
 
+
50104
 
+           case $host_os in
50105
 
+             mingw*)
50106
 
+           cat <<"EOF"
50107
 
+  {
50108
 
+    char* p;
50109
 
+    while ((p = strchr (newargz[0], '\\')) != NULL)
50110
 
+      {
50111
 
+       *p = '/';
50112
 
+      }
50113
 
+    while ((p = strchr (lt_argv_zero, '\\')) != NULL)
50114
 
+      {
50115
 
+       *p = '/';
50116
 
+      }
50117
 
+  }
50118
 
+EOF
50119
 
            ;;
50120
 
-         esac
50121
 
-       fi
50122
 
+           esac
50123
 
+
50124
 
+           cat <<"EOF"
50125
 
+  XFREE (target_name);
50126
 
+  XFREE (actual_cwrapper_path);
50127
 
+  XFREE (actual_cwrapper_name);
50128
 
+
50129
 
+  lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
50130
 
+  lt_setenv ("DUALCASE", "1");  /* for MSK sh */
50131
 
+  lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
50132
 
+  lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
50133
 
+
50134
 
+  newargc=0;
50135
 
+  for (i = 1; i < argc; i++)
50136
 
+    {
50137
 
+      if (strncmp (argv[i], env_set_opt, env_set_opt_len) == 0)
50138
 
+        {
50139
 
+          if (argv[i][env_set_opt_len] == '=')
50140
 
+            {
50141
 
+              const char *p = argv[i] + env_set_opt_len + 1;
50142
 
+              lt_opt_process_env_set (p);
50143
 
+            }
50144
 
+          else if (argv[i][env_set_opt_len] == '\0' && i + 1 < argc)
50145
 
+            {
50146
 
+              lt_opt_process_env_set (argv[++i]); /* don't copy */
50147
 
+            }
50148
 
+          else
50149
 
+            lt_fatal ("%s missing required argument", env_set_opt);
50150
 
+          continue;
50151
 
+        }
50152
 
+      if (strncmp (argv[i], env_prepend_opt, env_prepend_opt_len) == 0)
50153
 
+        {
50154
 
+          if (argv[i][env_prepend_opt_len] == '=')
50155
 
+            {
50156
 
+              const char *p = argv[i] + env_prepend_opt_len + 1;
50157
 
+              lt_opt_process_env_prepend (p);
50158
 
+            }
50159
 
+          else if (argv[i][env_prepend_opt_len] == '\0' && i + 1 < argc)
50160
 
+            {
50161
 
+              lt_opt_process_env_prepend (argv[++i]); /* don't copy */
50162
 
+            }
50163
 
+          else
50164
 
+            lt_fatal ("%s missing required argument", env_prepend_opt);
50165
 
+          continue;
50166
 
+        }
50167
 
+      if (strncmp (argv[i], env_append_opt, env_append_opt_len) == 0)
50168
 
+        {
50169
 
+          if (argv[i][env_append_opt_len] == '=')
50170
 
+            {
50171
 
+              const char *p = argv[i] + env_append_opt_len + 1;
50172
 
+              lt_opt_process_env_append (p);
50173
 
+            }
50174
 
+          else if (argv[i][env_append_opt_len] == '\0' && i + 1 < argc)
50175
 
+            {
50176
 
+              lt_opt_process_env_append (argv[++i]); /* don't copy */
50177
 
+            }
50178
 
+          else
50179
 
+            lt_fatal ("%s missing required argument", env_append_opt);
50180
 
+          continue;
50181
 
+        }
50182
 
+      if (strncmp (argv[i], ltwrapper_option_prefix, opt_prefix_len) == 0)
50183
 
+        {
50184
 
+          /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
50185
 
+             namespace, but it is not one of the ones we know about and
50186
 
+             have already dealt with, above (inluding dump-script), then
50187
 
+             report an error. Otherwise, targets might begin to believe
50188
 
+             they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
50189
 
+             namespace. The first time any user complains about this, we'll
50190
 
+             need to make LTWRAPPER_OPTION_PREFIX a configure-time option
50191
 
+             or a configure.ac-settable value.
50192
 
+           */
50193
 
+          lt_fatal ("Unrecognized option in %s namespace: '%s'",
50194
 
+                    ltwrapper_option_prefix, argv[i]);
50195
 
+        }
50196
 
+      /* otherwise ... */
50197
 
+      newargz[++newargc] = xstrdup (argv[i]);
50198
 
+    }
50199
 
+  newargz[++newargc] = NULL;
50200
 
+
50201
 
+  LTWRAPPER_DEBUGPRINTF     (("(main) lt_argv_zero : %s\n", (lt_argv_zero ? lt_argv_zero : "<NULL>")));
50202
 
+  for (i = 0; i < newargc; i++)
50203
 
+    {
50204
 
+      LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d]   : %s\n", i, (newargz[i] ? newargz[i] : "<NULL>")));
50205
 
+    }
50206
 
 
50207
 
-       # Transform deplibs into only deplibs that can be linked in shared.
50208
 
-       name_save=$name
50209
 
-       libname_save=$libname
50210
 
-       release_save=$release
50211
 
-       versuffix_save=$versuffix
50212
 
-       major_save=$major
50213
 
-       # I'm not sure if I'm treating the release correctly.  I think
50214
 
-       # release should show up in the -l (ie -lgmp5) so we don't want to
50215
 
-       # add it in twice.  Is that correct?
50216
 
-       release=""
50217
 
-       versuffix=""
50218
 
-       major=""
50219
 
-       newdeplibs=
50220
 
-       droppeddeps=no
50221
 
-       case $deplibs_check_method in
50222
 
-       pass_all)
50223
 
-         # Don't check for shared/static.  Everything works.
50224
 
-         # This might be a little naive.  We might want to check
50225
 
-         # whether the library exists or not.  But this is on
50226
 
-         # osf3 & osf4 and I'm not really sure... Just
50227
 
-         # implementing what was already the behavior.
50228
 
-         newdeplibs=$deplibs
50229
 
-         ;;
50230
 
-       test_compile)
50231
 
-         # This code stresses the "libraries are programs" paradigm to its
50232
 
-         # limits. Maybe even breaks it.  We compile a program, linking it
50233
 
-         # against the deplibs as a proxy for the library.  Then we can check
50234
 
-         # whether they linked in statically or dynamically with ldd.
50235
 
-         $rm conftest.c
50236
 
-         cat > conftest.c <<EOF
50237
 
-         int main() { return 0; }
50238
 
 EOF
50239
 
-         $rm conftest
50240
 
-         if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
50241
 
-           ldd_output=`ldd conftest`
50242
 
-           for i in $deplibs; do
50243
 
-             name=`expr $i : '-l\(.*\)'`
50244
 
-             # If $name is empty we are operating on a -L argument.
50245
 
-              if test "$name" != "" && test "$name" != "0"; then
50246
 
-               if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
50247
 
-                 case " $predeps $postdeps " in
50248
 
-                 *" $i "*)
50249
 
-                   newdeplibs="$newdeplibs $i"
50250
 
-                   i=""
50251
 
-                   ;;
50252
 
-                 esac
50253
 
-               fi
50254
 
-               if test -n "$i" ; then
50255
 
-                 libname=`eval \\$echo \"$libname_spec\"`
50256
 
-                 deplib_matches=`eval \\$echo \"$library_names_spec\"`
50257
 
-                 set dummy $deplib_matches
50258
 
-                 deplib_match=$2
50259
 
-                 if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
50260
 
-                   newdeplibs="$newdeplibs $i"
50261
 
-                 else
50262
 
-                   droppeddeps=yes
50263
 
-                   $echo
50264
 
-                   $echo "*** Warning: dynamic linker does not accept needed library $i."
50265
 
-                   $echo "*** I have the capability to make that library automatically link in when"
50266
 
-                   $echo "*** you link to this library.  But I can only do this if you have a"
50267
 
-                   $echo "*** shared version of the library, which I believe you do not have"
50268
 
-                   $echo "*** because a test_compile did reveal that the linker did not use it for"
50269
 
-                   $echo "*** its dynamic dependency list that programs get resolved with at runtime."
50270
 
-                 fi
50271
 
-               fi
50272
 
-             else
50273
 
-               newdeplibs="$newdeplibs $i"
50274
 
-             fi
50275
 
-           done
50276
 
-         else
50277
 
-           # Error occurred in the first compile.  Let's try to salvage
50278
 
-           # the situation: Compile a separate program for each library.
50279
 
-           for i in $deplibs; do
50280
 
-             name=`expr $i : '-l\(.*\)'`
50281
 
-             # If $name is empty we are operating on a -L argument.
50282
 
-              if test "$name" != "" && test "$name" != "0"; then
50283
 
-               $rm conftest
50284
 
-               if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
50285
 
-                 ldd_output=`ldd conftest`
50286
 
-                 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
50287
 
-                   case " $predeps $postdeps " in
50288
 
-                   *" $i "*)
50289
 
-                     newdeplibs="$newdeplibs $i"
50290
 
-                     i=""
50291
 
-                     ;;
50292
 
-                   esac
50293
 
-                 fi
50294
 
-                 if test -n "$i" ; then
50295
 
-                   libname=`eval \\$echo \"$libname_spec\"`
50296
 
-                   deplib_matches=`eval \\$echo \"$library_names_spec\"`
50297
 
-                   set dummy $deplib_matches
50298
 
-                   deplib_match=$2
50299
 
-                   if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
50300
 
-                     newdeplibs="$newdeplibs $i"
50301
 
-                   else
50302
 
-                     droppeddeps=yes
50303
 
-                     $echo
50304
 
-                     $echo "*** Warning: dynamic linker does not accept needed library $i."
50305
 
-                     $echo "*** I have the capability to make that library automatically link in when"
50306
 
-                     $echo "*** you link to this library.  But I can only do this if you have a"
50307
 
-                     $echo "*** shared version of the library, which you do not appear to have"
50308
 
-                     $echo "*** because a test_compile did reveal that the linker did not use this one"
50309
 
-                     $echo "*** as a dynamic dependency that programs can get resolved with at runtime."
50310
 
-                   fi
50311
 
-                 fi
50312
 
-               else
50313
 
-                 droppeddeps=yes
50314
 
-                 $echo
50315
 
-                 $echo "*** Warning!  Library $i is needed by this library but I was not able to"
50316
 
-                 $echo "*** make it link in!  You will probably need to install it or some"
50317
 
-                 $echo "*** library that it depends on before this library will be fully"
50318
 
-                 $echo "*** functional.  Installing it before continuing would be even better."
50319
 
-               fi
50320
 
-             else
50321
 
-               newdeplibs="$newdeplibs $i"
50322
 
-             fi
50323
 
-           done
50324
 
-         fi
50325
 
-         ;;
50326
 
-       file_magic*)
50327
 
-         set dummy $deplibs_check_method
50328
 
-         file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
50329
 
-         for a_deplib in $deplibs; do
50330
 
-           name=`expr $a_deplib : '-l\(.*\)'`
50331
 
-           # If $name is empty we are operating on a -L argument.
50332
 
-            if test "$name" != "" && test  "$name" != "0"; then
50333
 
-             if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
50334
 
-               case " $predeps $postdeps " in
50335
 
-               *" $a_deplib "*)
50336
 
-                 newdeplibs="$newdeplibs $a_deplib"
50337
 
-                 a_deplib=""
50338
 
-                 ;;
50339
 
-               esac
50340
 
-             fi
50341
 
-             if test -n "$a_deplib" ; then
50342
 
-               libname=`eval \\$echo \"$libname_spec\"`
50343
 
-               for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
50344
 
-                 potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
50345
 
-                 for potent_lib in $potential_libs; do
50346
 
-                     # Follow soft links.
50347
 
-                     if ls -lLd "$potent_lib" 2>/dev/null \
50348
 
-                        | grep " -> " >/dev/null; then
50349
 
-                       continue
50350
 
-                     fi
50351
 
-                     # The statement above tries to avoid entering an
50352
 
-                     # endless loop below, in case of cyclic links.
50353
 
-                     # We might still enter an endless loop, since a link
50354
 
-                     # loop can be closed while we follow links,
50355
 
-                     # but so what?
50356
 
-                     potlib="$potent_lib"
50357
 
-                     while test -h "$potlib" 2>/dev/null; do
50358
 
-                       potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
50359
 
-                       case $potliblink in
50360
 
-                       [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
50361
 
-                       *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
50362
 
-                       esac
50363
 
-                     done
50364
 
-                     if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
50365
 
-                        | ${SED} 10q \
50366
 
-                        | $EGREP "$file_magic_regex" > /dev/null; then
50367
 
-                       newdeplibs="$newdeplibs $a_deplib"
50368
 
-                       a_deplib=""
50369
 
-                       break 2
50370
 
-                     fi
50371
 
-                 done
50372
 
-               done
50373
 
-             fi
50374
 
-             if test -n "$a_deplib" ; then
50375
 
-               droppeddeps=yes
50376
 
-               $echo
50377
 
-               $echo "*** Warning: linker path does not have real file for library $a_deplib."
50378
 
-               $echo "*** I have the capability to make that library automatically link in when"
50379
 
-               $echo "*** you link to this library.  But I can only do this if you have a"
50380
 
-               $echo "*** shared version of the library, which you do not appear to have"
50381
 
-               $echo "*** because I did check the linker path looking for a file starting"
50382
 
-               if test -z "$potlib" ; then
50383
 
-                 $echo "*** with $libname but no candidates were found. (...for file magic test)"
50384
 
-               else
50385
 
-                 $echo "*** with $libname and none of the candidates passed a file format test"
50386
 
-                 $echo "*** using a file magic. Last file checked: $potlib"
50387
 
-               fi
50388
 
-             fi
50389
 
-           else
50390
 
-             # Add a -L argument.
50391
 
-             newdeplibs="$newdeplibs $a_deplib"
50392
 
-           fi
50393
 
-         done # Gone through all deplibs.
50394
 
-         ;;
50395
 
-       match_pattern*)
50396
 
-         set dummy $deplibs_check_method
50397
 
-         match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
50398
 
-         for a_deplib in $deplibs; do
50399
 
-           name=`expr $a_deplib : '-l\(.*\)'`
50400
 
-           # If $name is empty we are operating on a -L argument.
50401
 
-           if test -n "$name" && test "$name" != "0"; then
50402
 
-             if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
50403
 
-               case " $predeps $postdeps " in
50404
 
-               *" $a_deplib "*)
50405
 
-                 newdeplibs="$newdeplibs $a_deplib"
50406
 
-                 a_deplib=""
50407
 
-                 ;;
50408
 
-               esac
50409
 
-             fi
50410
 
-             if test -n "$a_deplib" ; then
50411
 
-               libname=`eval \\$echo \"$libname_spec\"`
50412
 
-               for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
50413
 
-                 potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
50414
 
-                 for potent_lib in $potential_libs; do
50415
 
-                   potlib="$potent_lib" # see symlink-check above in file_magic test
50416
 
-                   if eval $echo \"$potent_lib\" 2>/dev/null \
50417
 
-                       | ${SED} 10q \
50418
 
-                       | $EGREP "$match_pattern_regex" > /dev/null; then
50419
 
-                     newdeplibs="$newdeplibs $a_deplib"
50420
 
-                     a_deplib=""
50421
 
-                     break 2
50422
 
-                   fi
50423
 
-                 done
50424
 
-               done
50425
 
-             fi
50426
 
-             if test -n "$a_deplib" ; then
50427
 
-               droppeddeps=yes
50428
 
-               $echo
50429
 
-               $echo "*** Warning: linker path does not have real file for library $a_deplib."
50430
 
-               $echo "*** I have the capability to make that library automatically link in when"
50431
 
-               $echo "*** you link to this library.  But I can only do this if you have a"
50432
 
-               $echo "*** shared version of the library, which you do not appear to have"
50433
 
-               $echo "*** because I did check the linker path looking for a file starting"
50434
 
-               if test -z "$potlib" ; then
50435
 
-                 $echo "*** with $libname but no candidates were found. (...for regex pattern test)"
50436
 
-               else
50437
 
-                 $echo "*** with $libname and none of the candidates passed a file format test"
50438
 
-                 $echo "*** using a regex pattern. Last file checked: $potlib"
50439
 
-               fi
50440
 
-             fi
50441
 
-           else
50442
 
-             # Add a -L argument.
50443
 
-             newdeplibs="$newdeplibs $a_deplib"
50444
 
-           fi
50445
 
-         done # Gone through all deplibs.
50446
 
-         ;;
50447
 
-       none | unknown | *)
50448
 
-         newdeplibs=""
50449
 
-         tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
50450
 
-           -e 's/ -[LR][^ ]*//g'`
50451
 
-         if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
50452
 
-           for i in $predeps $postdeps ; do
50453
 
-             # can't use Xsed below, because $i might contain '/'
50454
 
-             tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"`
50455
 
-           done
50456
 
-         fi
50457
 
-         if $echo "X $tmp_deplibs" | $Xsed -e 's/[     ]//g' \
50458
 
-           | grep . >/dev/null; then
50459
 
-           $echo
50460
 
-           if test "X$deplibs_check_method" = "Xnone"; then
50461
 
-             $echo "*** Warning: inter-library dependencies are not supported in this platform."
50462
 
-           else
50463
 
-             $echo "*** Warning: inter-library dependencies are not known to be supported."
50464
 
-           fi
50465
 
-           $echo "*** All declared inter-library dependencies are being dropped."
50466
 
-           droppeddeps=yes
50467
 
-         fi
50468
 
-         ;;
50469
 
-       esac
50470
 
-       versuffix=$versuffix_save
50471
 
-       major=$major_save
50472
 
-       release=$release_save
50473
 
-       libname=$libname_save
50474
 
-       name=$name_save
50475
 
 
50476
 
-       case $host in
50477
 
-       *-*-rhapsody* | *-*-darwin1.[012])
50478
 
-         # On Rhapsody replace the C library is the System framework
50479
 
-         newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'`
50480
 
-         ;;
50481
 
-       esac
50482
 
+           case $host_os in
50483
 
+             mingw*)
50484
 
+               cat <<"EOF"
50485
 
+  /* execv doesn't actually work on mingw as expected on unix */
50486
 
+  rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
50487
 
+  if (rval == -1)
50488
 
+    {
50489
 
+      /* failed to start process */
50490
 
+      LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno));
50491
 
+      return 127;
50492
 
+    }
50493
 
+  return rval;
50494
 
+EOF
50495
 
+               ;;
50496
 
+             *)
50497
 
+               cat <<"EOF"
50498
 
+  execv (lt_argv_zero, newargz);
50499
 
+  return rval; /* =127, but avoids unused variable warning */
50500
 
+EOF
50501
 
+               ;;
50502
 
+           esac
50503
 
 
50504
 
-       if test "$droppeddeps" = yes; then
50505
 
-         if test "$module" = yes; then
50506
 
-           $echo
50507
 
-           $echo "*** Warning: libtool could not satisfy all declared inter-library"
50508
 
-           $echo "*** dependencies of module $libname.  Therefore, libtool will create"
50509
 
-           $echo "*** a static module, that should work as long as the dlopening"
50510
 
-           $echo "*** application is linked with the -dlopen flag."
50511
 
-           if test -z "$global_symbol_pipe"; then
50512
 
-             $echo
50513
 
-             $echo "*** However, this would only work if libtool was able to extract symbol"
50514
 
-             $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
50515
 
-             $echo "*** not find such a program.  So, this module is probably useless."
50516
 
-             $echo "*** \`nm' from GNU binutils and a full rebuild may help."
50517
 
-           fi
50518
 
-           if test "$build_old_libs" = no; then
50519
 
-             oldlibs="$output_objdir/$libname.$libext"
50520
 
-             build_libtool_libs=module
50521
 
-             build_old_libs=yes
50522
 
-           else
50523
 
-             build_libtool_libs=no
50524
 
-           fi
50525
 
-         else
50526
 
-           $echo "*** The inter-library dependencies that have been dropped here will be"
50527
 
-           $echo "*** automatically added whenever a program is linked with this library"
50528
 
-           $echo "*** or is declared to -dlopen it."
50529
 
+           cat <<"EOF"
50530
 
+}
50531
 
 
50532
 
-           if test "$allow_undefined" = no; then
50533
 
-             $echo
50534
 
-             $echo "*** Since this library must not contain undefined symbols,"
50535
 
-             $echo "*** because either the platform does not support them or"
50536
 
-             $echo "*** it was explicitly requested with -no-undefined,"
50537
 
-             $echo "*** libtool will only create a static version of it."
50538
 
-             if test "$build_old_libs" = no; then
50539
 
-               oldlibs="$output_objdir/$libname.$libext"
50540
 
-               build_libtool_libs=module
50541
 
-               build_old_libs=yes
50542
 
-             else
50543
 
-               build_libtool_libs=no
50544
 
-             fi
50545
 
-           fi
50546
 
-         fi
50547
 
-       fi
50548
 
-       # Done checking deplibs!
50549
 
-       deplibs=$newdeplibs
50550
 
-      fi
50551
 
+void *
50552
 
+xmalloc (size_t num)
50553
 
+{
50554
 
+  void *p = (void *) malloc (num);
50555
 
+  if (!p)
50556
 
+    lt_fatal ("Memory exhausted");
50557
 
 
50558
 
+  return p;
50559
 
+}
50560
 
 
50561
 
-      # move library search paths that coincide with paths to not yet
50562
 
-      # installed libraries to the beginning of the library search list
50563
 
-      new_libs=
50564
 
-      for path in $notinst_path; do
50565
 
-       case " $new_libs " in
50566
 
-       *" -L$path/$objdir "*) ;;
50567
 
-       *)
50568
 
-         case " $deplibs " in
50569
 
-         *" -L$path/$objdir "*)
50570
 
-           new_libs="$new_libs -L$path/$objdir" ;;
50571
 
-         esac
50572
 
-         ;;
50573
 
-       esac
50574
 
-      done
50575
 
-      for deplib in $deplibs; do
50576
 
-       case $deplib in
50577
 
-       -L*)
50578
 
-         case " $new_libs " in
50579
 
-         *" $deplib "*) ;;
50580
 
-         *) new_libs="$new_libs $deplib" ;;
50581
 
-         esac
50582
 
-         ;;
50583
 
-       *) new_libs="$new_libs $deplib" ;;
50584
 
-       esac
50585
 
-      done
50586
 
-      deplibs="$new_libs"
50587
 
+char *
50588
 
+xstrdup (const char *string)
50589
 
+{
50590
 
+  return string ? strcpy ((char *) xmalloc (strlen (string) + 1),
50591
 
+                         string) : NULL;
50592
 
+}
50593
 
 
50594
 
+const char *
50595
 
+base_name (const char *name)
50596
 
+{
50597
 
+  const char *base;
50598
 
 
50599
 
-      # All the library-specific variables (install_libdir is set above).
50600
 
-      library_names=
50601
 
-      old_library=
50602
 
-      dlname=
50603
 
+#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
50604
 
+  /* Skip over the disk name in MSDOS pathnames. */
50605
 
+  if (isalpha ((unsigned char) name[0]) && name[1] == ':')
50606
 
+    name += 2;
50607
 
+#endif
50608
 
 
50609
 
-      # Test again, we may have decided not to build it any more
50610
 
-      if test "$build_libtool_libs" = yes; then
50611
 
-       if test "$hardcode_into_libs" = yes; then
50612
 
-         # Hardcode the library paths
50613
 
-         hardcode_libdirs=
50614
 
-         dep_rpath=
50615
 
-         rpath="$finalize_rpath"
50616
 
-         test "$mode" != relink && rpath="$compile_rpath$rpath"
50617
 
-         for libdir in $rpath; do
50618
 
-           if test -n "$hardcode_libdir_flag_spec"; then
50619
 
-             if test -n "$hardcode_libdir_separator"; then
50620
 
-               if test -z "$hardcode_libdirs"; then
50621
 
-                 hardcode_libdirs="$libdir"
50622
 
-               else
50623
 
-                 # Just accumulate the unique libdirs.
50624
 
-                 case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
50625
 
-                 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
50626
 
-                   ;;
50627
 
-                 *)
50628
 
-                   hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
50629
 
-                   ;;
50630
 
-                 esac
50631
 
-               fi
50632
 
-             else
50633
 
-               eval flag=\"$hardcode_libdir_flag_spec\"
50634
 
-               dep_rpath="$dep_rpath $flag"
50635
 
-             fi
50636
 
-           elif test -n "$runpath_var"; then
50637
 
-             case "$perm_rpath " in
50638
 
-             *" $libdir "*) ;;
50639
 
-             *) perm_rpath="$perm_rpath $libdir" ;;
50640
 
-             esac
50641
 
-           fi
50642
 
-         done
50643
 
-         # Substitute the hardcoded libdirs into the rpath.
50644
 
-         if test -n "$hardcode_libdir_separator" &&
50645
 
-            test -n "$hardcode_libdirs"; then
50646
 
-           libdir="$hardcode_libdirs"
50647
 
-           if test -n "$hardcode_libdir_flag_spec_ld"; then
50648
 
-             case $archive_cmds in
50649
 
-             *\$LD*) eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" ;;
50650
 
-             *)      eval dep_rpath=\"$hardcode_libdir_flag_spec\" ;;
50651
 
-             esac
50652
 
-           else
50653
 
-             eval dep_rpath=\"$hardcode_libdir_flag_spec\"
50654
 
-           fi
50655
 
-         fi
50656
 
-         if test -n "$runpath_var" && test -n "$perm_rpath"; then
50657
 
-           # We should set the runpath_var.
50658
 
-           rpath=
50659
 
-           for dir in $perm_rpath; do
50660
 
-             rpath="$rpath$dir:"
50661
 
-           done
50662
 
-           eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
50663
 
-         fi
50664
 
-         test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
50665
 
-       fi
50666
 
+  for (base = name; *name; name++)
50667
 
+    if (IS_DIR_SEPARATOR (*name))
50668
 
+      base = name + 1;
50669
 
+  return base;
50670
 
+}
50671
 
 
50672
 
-       shlibpath="$finalize_shlibpath"
50673
 
-       test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
50674
 
-       if test -n "$shlibpath"; then
50675
 
-         eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
50676
 
-       fi
50677
 
+int
50678
 
+check_executable (const char *path)
50679
 
+{
50680
 
+  struct stat st;
50681
 
 
50682
 
-       # Get the real and link names of the library.
50683
 
-       eval shared_ext=\"$shrext_cmds\"
50684
 
-       eval library_names=\"$library_names_spec\"
50685
 
-       set dummy $library_names
50686
 
-       realname="$2"
50687
 
-       shift; shift
50688
 
+  LTWRAPPER_DEBUGPRINTF (("(check_executable)  : %s\n",
50689
 
+                         path ? (*path ? path : "EMPTY!") : "NULL!"));
50690
 
+  if ((!path) || (!*path))
50691
 
+    return 0;
50692
 
 
50693
 
-       if test -n "$soname_spec"; then
50694
 
-         eval soname=\"$soname_spec\"
50695
 
-       else
50696
 
-         soname="$realname"
50697
 
-       fi
50698
 
-       if test -z "$dlname"; then
50699
 
-         dlname=$soname
50700
 
-       fi
50701
 
+  if ((stat (path, &st) >= 0)
50702
 
+      && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)))
50703
 
+    return 1;
50704
 
+  else
50705
 
+    return 0;
50706
 
+}
50707
 
 
50708
 
-       lib="$output_objdir/$realname"
50709
 
-       linknames=
50710
 
-       for link
50711
 
-       do
50712
 
-         linknames="$linknames $link"
50713
 
-       done
50714
 
+int
50715
 
+make_executable (const char *path)
50716
 
+{
50717
 
+  int rval = 0;
50718
 
+  struct stat st;
50719
 
 
50720
 
-       # Use standard objects if they are pic
50721
 
-       test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
50722
 
+  LTWRAPPER_DEBUGPRINTF (("(make_executable)   : %s\n",
50723
 
+                         path ? (*path ? path : "EMPTY!") : "NULL!"));
50724
 
+  if ((!path) || (!*path))
50725
 
+    return 0;
50726
 
 
50727
 
-       # Prepare the list of exported symbols
50728
 
-       if test -z "$export_symbols"; then
50729
 
-         if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
50730
 
-           $show "generating symbol list for \`$libname.la'"
50731
 
-           export_symbols="$output_objdir/$libname.exp"
50732
 
-           $run $rm $export_symbols
50733
 
-           cmds=$export_symbols_cmds
50734
 
-           save_ifs="$IFS"; IFS='~'
50735
 
-           for cmd in $cmds; do
50736
 
-             IFS="$save_ifs"
50737
 
-             eval cmd=\"$cmd\"
50738
 
-             if len=`expr "X$cmd" : ".*"` &&
50739
 
-              test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
50740
 
-               $show "$cmd"
50741
 
-               $run eval "$cmd" || exit $?
50742
 
-               skipped_export=false
50743
 
-             else
50744
 
-               # The command line is too long to execute in one step.
50745
 
-               $show "using reloadable object file for export list..."
50746
 
-               skipped_export=:
50747
 
-               # Break out early, otherwise skipped_export may be
50748
 
-               # set to false by a later but shorter cmd.
50749
 
-               break
50750
 
-             fi
50751
 
-           done
50752
 
-           IFS="$save_ifs"
50753
 
-           if test -n "$export_symbols_regex"; then
50754
 
-             $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
50755
 
-             $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
50756
 
-             $show "$mv \"${export_symbols}T\" \"$export_symbols\""
50757
 
-             $run eval '$mv "${export_symbols}T" "$export_symbols"'
50758
 
-           fi
50759
 
-         fi
50760
 
-       fi
50761
 
+  if (stat (path, &st) >= 0)
50762
 
+    {
50763
 
+      rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR);
50764
 
+    }
50765
 
+  return rval;
50766
 
+}
50767
 
 
50768
 
-       if test -n "$export_symbols" && test -n "$include_expsyms"; then
50769
 
-         $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"'
50770
 
-       fi
50771
 
+/* Searches for the full path of the wrapper.  Returns
50772
 
+   newly allocated full path name if found, NULL otherwise
50773
 
+   Does not chase symlinks, even on platforms that support them.
50774
 
+*/
50775
 
+char *
50776
 
+find_executable (const char *wrapper)
50777
 
+{
50778
 
+  int has_slash = 0;
50779
 
+  const char *p;
50780
 
+  const char *p_next;
50781
 
+  /* static buffer for getcwd */
50782
 
+  char tmp[LT_PATHMAX + 1];
50783
 
+  int tmp_len;
50784
 
+  char *concat_name;
50785
 
 
50786
 
-       tmp_deplibs=
50787
 
-       for test_deplib in $deplibs; do
50788
 
-               case " $convenience " in
50789
 
-               *" $test_deplib "*) ;;
50790
 
-               *)
50791
 
-                       tmp_deplibs="$tmp_deplibs $test_deplib"
50792
 
-                       ;;
50793
 
-               esac
50794
 
-       done
50795
 
-       deplibs="$tmp_deplibs"
50796
 
+  LTWRAPPER_DEBUGPRINTF (("(find_executable)   : %s\n",
50797
 
+                         wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"));
50798
 
 
50799
 
-       if test -n "$convenience"; then
50800
 
-         if test -n "$whole_archive_flag_spec"; then
50801
 
-           save_libobjs=$libobjs
50802
 
-           eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
50803
 
-         else
50804
 
-           gentop="$output_objdir/${outputname}x"
50805
 
-           generated="$generated $gentop"
50806
 
+  if ((wrapper == NULL) || (*wrapper == '\0'))
50807
 
+    return NULL;
50808
 
 
50809
 
-           func_extract_archives $gentop $convenience
50810
 
-           libobjs="$libobjs $func_extract_archives_result"
50811
 
-         fi
50812
 
-       fi
50813
 
-       
50814
 
-       if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
50815
 
-         eval flag=\"$thread_safe_flag_spec\"
50816
 
-         linker_flags="$linker_flags $flag"
50817
 
-       fi
50818
 
+  /* Absolute path? */
50819
 
+#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
50820
 
+  if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':')
50821
 
+    {
50822
 
+      concat_name = xstrdup (wrapper);
50823
 
+      if (check_executable (concat_name))
50824
 
+       return concat_name;
50825
 
+      XFREE (concat_name);
50826
 
+    }
50827
 
+  else
50828
 
+    {
50829
 
+#endif
50830
 
+      if (IS_DIR_SEPARATOR (wrapper[0]))
50831
 
+       {
50832
 
+         concat_name = xstrdup (wrapper);
50833
 
+         if (check_executable (concat_name))
50834
 
+           return concat_name;
50835
 
+         XFREE (concat_name);
50836
 
+       }
50837
 
+#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
50838
 
+    }
50839
 
+#endif
50840
 
 
50841
 
-       # Make a backup of the uninstalled library when relinking
50842
 
-       if test "$mode" = relink; then
50843
 
-         $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
50844
 
-       fi
50845
 
+  for (p = wrapper; *p; p++)
50846
 
+    if (*p == '/')
50847
 
+      {
50848
 
+       has_slash = 1;
50849
 
+       break;
50850
 
+      }
50851
 
+  if (!has_slash)
50852
 
+    {
50853
 
+      /* no slashes; search PATH */
50854
 
+      const char *path = getenv ("PATH");
50855
 
+      if (path != NULL)
50856
 
+       {
50857
 
+         for (p = path; *p; p = p_next)
50858
 
+           {
50859
 
+             const char *q;
50860
 
+             size_t p_len;
50861
 
+             for (q = p; *q; q++)
50862
 
+               if (IS_PATH_SEPARATOR (*q))
50863
 
+                 break;
50864
 
+             p_len = q - p;
50865
 
+             p_next = (*q == '\0' ? q : q + 1);
50866
 
+             if (p_len == 0)
50867
 
+               {
50868
 
+                 /* empty path: current directory */
50869
 
+                 if (getcwd (tmp, LT_PATHMAX) == NULL)
50870
 
+                   lt_fatal ("getcwd failed");
50871
 
+                 tmp_len = strlen (tmp);
50872
 
+                 concat_name =
50873
 
+                   XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
50874
 
+                 memcpy (concat_name, tmp, tmp_len);
50875
 
+                 concat_name[tmp_len] = '/';
50876
 
+                 strcpy (concat_name + tmp_len + 1, wrapper);
50877
 
+               }
50878
 
+             else
50879
 
+               {
50880
 
+                 concat_name =
50881
 
+                   XMALLOC (char, p_len + 1 + strlen (wrapper) + 1);
50882
 
+                 memcpy (concat_name, p, p_len);
50883
 
+                 concat_name[p_len] = '/';
50884
 
+                 strcpy (concat_name + p_len + 1, wrapper);
50885
 
+               }
50886
 
+             if (check_executable (concat_name))
50887
 
+               return concat_name;
50888
 
+             XFREE (concat_name);
50889
 
+           }
50890
 
+       }
50891
 
+      /* not found in PATH; assume curdir */
50892
 
+    }
50893
 
+  /* Relative path | not found in path: prepend cwd */
50894
 
+  if (getcwd (tmp, LT_PATHMAX) == NULL)
50895
 
+    lt_fatal ("getcwd failed");
50896
 
+  tmp_len = strlen (tmp);
50897
 
+  concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
50898
 
+  memcpy (concat_name, tmp, tmp_len);
50899
 
+  concat_name[tmp_len] = '/';
50900
 
+  strcpy (concat_name + tmp_len + 1, wrapper);
50901
 
 
50902
 
-       # Do each of the archive commands.
50903
 
-       if test "$module" = yes && test -n "$module_cmds" ; then
50904
 
-         if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
50905
 
-           eval test_cmds=\"$module_expsym_cmds\"
50906
 
-           cmds=$module_expsym_cmds
50907
 
-         else
50908
 
-           eval test_cmds=\"$module_cmds\"
50909
 
-           cmds=$module_cmds
50910
 
-         fi
50911
 
-       else
50912
 
-       if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
50913
 
-         eval test_cmds=\"$archive_expsym_cmds\"
50914
 
-         cmds=$archive_expsym_cmds
50915
 
-       else
50916
 
-         eval test_cmds=\"$archive_cmds\"
50917
 
-         cmds=$archive_cmds
50918
 
-         fi
50919
 
-       fi
50920
 
+  if (check_executable (concat_name))
50921
 
+    return concat_name;
50922
 
+  XFREE (concat_name);
50923
 
+  return NULL;
50924
 
+}
50925
 
 
50926
 
-       if test "X$skipped_export" != "X:" &&
50927
 
-          len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
50928
 
-          test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
50929
 
-         :
50930
 
-       else
50931
 
-         # The command line is too long to link in one step, link piecewise.
50932
 
-         $echo "creating reloadable object files..."
50933
 
+char *
50934
 
+chase_symlinks (const char *pathspec)
50935
 
+{
50936
 
+#ifndef S_ISLNK
50937
 
+  return xstrdup (pathspec);
50938
 
+#else
50939
 
+  char buf[LT_PATHMAX];
50940
 
+  struct stat s;
50941
 
+  char *tmp_pathspec = xstrdup (pathspec);
50942
 
+  char *p;
50943
 
+  int has_symlinks = 0;
50944
 
+  while (strlen (tmp_pathspec) && !has_symlinks)
50945
 
+    {
50946
 
+      LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n",
50947
 
+                             tmp_pathspec));
50948
 
+      if (lstat (tmp_pathspec, &s) == 0)
50949
 
+       {
50950
 
+         if (S_ISLNK (s.st_mode) != 0)
50951
 
+           {
50952
 
+             has_symlinks = 1;
50953
 
+             break;
50954
 
+           }
50955
 
 
50956
 
-         # Save the value of $output and $libobjs because we want to
50957
 
-         # use them later.  If we have whole_archive_flag_spec, we
50958
 
-         # want to use save_libobjs as it was before
50959
 
-         # whole_archive_flag_spec was expanded, because we can't
50960
 
-         # assume the linker understands whole_archive_flag_spec.
50961
 
-         # This may have to be revisited, in case too many
50962
 
-         # convenience libraries get linked in and end up exceeding
50963
 
-         # the spec.
50964
 
-         if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
50965
 
-           save_libobjs=$libobjs
50966
 
-         fi
50967
 
-         save_output=$output
50968
 
-         output_la=`$echo "X$output" | $Xsed -e "$basename"`
50969
 
+         /* search backwards for last DIR_SEPARATOR */
50970
 
+         p = tmp_pathspec + strlen (tmp_pathspec) - 1;
50971
 
+         while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
50972
 
+           p--;
50973
 
+         if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
50974
 
+           {
50975
 
+             /* no more DIR_SEPARATORS left */
50976
 
+             break;
50977
 
+           }
50978
 
+         *p = '\0';
50979
 
+       }
50980
 
+      else
50981
 
+       {
50982
 
+         char *errstr = strerror (errno);
50983
 
+         lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
50984
 
+       }
50985
 
+    }
50986
 
+  XFREE (tmp_pathspec);
50987
 
 
50988
 
-         # Clear the reloadable object creation command queue and
50989
 
-         # initialize k to one.
50990
 
-         test_cmds=
50991
 
-         concat_cmds=
50992
 
-         objlist=
50993
 
-         delfiles=
50994
 
-         last_robj=
50995
 
-         k=1
50996
 
-         output=$output_objdir/$output_la-${k}.$objext
50997
 
-         # Loop over the list of objects to be linked.
50998
 
-         for obj in $save_libobjs
50999
 
-         do
51000
 
-           eval test_cmds=\"$reload_cmds $objlist $last_robj\"
51001
 
-           if test "X$objlist" = X ||
51002
 
-              { len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
51003
 
-                test "$len" -le "$max_cmd_len"; }; then
51004
 
-             objlist="$objlist $obj"
51005
 
-           else
51006
 
-             # The command $test_cmds is almost too long, add a
51007
 
-             # command to the queue.
51008
 
-             if test "$k" -eq 1 ; then
51009
 
-               # The first file doesn't have a previous command to add.
51010
 
-               eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
51011
 
-             else
51012
 
-               # All subsequent reloadable object files will link in
51013
 
-               # the last one created.
51014
 
-               eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\"
51015
 
-             fi
51016
 
-             last_robj=$output_objdir/$output_la-${k}.$objext
51017
 
-             k=`expr $k + 1`
51018
 
-             output=$output_objdir/$output_la-${k}.$objext
51019
 
-             objlist=$obj
51020
 
-             len=1
51021
 
-           fi
51022
 
-         done
51023
 
-         # Handle the remaining objects by creating one last
51024
 
-         # reloadable object file.  All subsequent reloadable object
51025
 
-         # files will link in the last one created.
51026
 
-         test -z "$concat_cmds" || concat_cmds=$concat_cmds~
51027
 
-         eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
51028
 
+  if (!has_symlinks)
51029
 
+    {
51030
 
+      return xstrdup (pathspec);
51031
 
+    }
51032
 
 
51033
 
-         if ${skipped_export-false}; then
51034
 
-           $show "generating symbol list for \`$libname.la'"
51035
 
-           export_symbols="$output_objdir/$libname.exp"
51036
 
-           $run $rm $export_symbols
51037
 
-           libobjs=$output
51038
 
-           # Append the command to create the export file.
51039
 
-           eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\"
51040
 
-          fi
51041
 
-
51042
 
-         # Set up a command to remove the reloadable object files
51043
 
-         # after they are used.
51044
 
-         i=0
51045
 
-         while test "$i" -lt "$k"
51046
 
-         do
51047
 
-           i=`expr $i + 1`
51048
 
-           delfiles="$delfiles $output_objdir/$output_la-${i}.$objext"
51049
 
-         done
51050
 
+  tmp_pathspec = realpath (pathspec, buf);
51051
 
+  if (tmp_pathspec == 0)
51052
 
+    {
51053
 
+      lt_fatal ("Could not follow symlinks for %s", pathspec);
51054
 
+    }
51055
 
+  return xstrdup (tmp_pathspec);
51056
 
+#endif
51057
 
+}
51058
 
 
51059
 
-         $echo "creating a temporary reloadable object file: $output"
51060
 
+char *
51061
 
+strendzap (char *str, const char *pat)
51062
 
+{
51063
 
+  size_t len, patlen;
51064
 
 
51065
 
-         # Loop through the commands generated above and execute them.
51066
 
-         save_ifs="$IFS"; IFS='~'
51067
 
-         for cmd in $concat_cmds; do
51068
 
-           IFS="$save_ifs"
51069
 
-           $show "$cmd"
51070
 
-           $run eval "$cmd" || exit $?
51071
 
-         done
51072
 
-         IFS="$save_ifs"
51073
 
+  assert (str != NULL);
51074
 
+  assert (pat != NULL);
51075
 
 
51076
 
-         libobjs=$output
51077
 
-         # Restore the value of output.
51078
 
-         output=$save_output
51079
 
+  len = strlen (str);
51080
 
+  patlen = strlen (pat);
51081
 
 
51082
 
-         if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
51083
 
-           eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
51084
 
-         fi
51085
 
-         # Expand the library linking commands again to reset the
51086
 
-         # value of $libobjs for piecewise linking.
51087
 
+  if (patlen <= len)
51088
 
+    {
51089
 
+      str += len - patlen;
51090
 
+      if (strcmp (str, pat) == 0)
51091
 
+       *str = '\0';
51092
 
+    }
51093
 
+  return str;
51094
 
+}
51095
 
 
51096
 
-         # Do each of the archive commands.
51097
 
-         if test "$module" = yes && test -n "$module_cmds" ; then
51098
 
-           if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
51099
 
-             cmds=$module_expsym_cmds
51100
 
-           else
51101
 
-             cmds=$module_cmds
51102
 
-           fi
51103
 
-         else
51104
 
-         if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
51105
 
-           cmds=$archive_expsym_cmds
51106
 
-         else
51107
 
-           cmds=$archive_cmds
51108
 
-           fi
51109
 
-         fi
51110
 
+static void
51111
 
+lt_error_core (int exit_status, const char *mode,
51112
 
+              const char *message, va_list ap)
51113
 
+{
51114
 
+  fprintf (stderr, "%s: %s: ", program_name, mode);
51115
 
+  vfprintf (stderr, message, ap);
51116
 
+  fprintf (stderr, ".\n");
51117
 
 
51118
 
-         # Append the command to remove the reloadable object files
51119
 
-         # to the just-reset $cmds.
51120
 
-         eval cmds=\"\$cmds~\$rm $delfiles\"
51121
 
-       fi
51122
 
-       save_ifs="$IFS"; IFS='~'
51123
 
-       for cmd in $cmds; do
51124
 
-         IFS="$save_ifs"
51125
 
-         eval cmd=\"$cmd\"
51126
 
-         $show "$cmd"
51127
 
-         $run eval "$cmd" || {
51128
 
-           lt_exit=$?
51129
 
+  if (exit_status >= 0)
51130
 
+    exit (exit_status);
51131
 
+}
51132
 
 
51133
 
-           # Restore the uninstalled library and exit
51134
 
-           if test "$mode" = relink; then
51135
 
-             $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
51136
 
-           fi
51137
 
+void
51138
 
+lt_fatal (const char *message, ...)
51139
 
+{
51140
 
+  va_list ap;
51141
 
+  va_start (ap, message);
51142
 
+  lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
51143
 
+  va_end (ap);
51144
 
+}
51145
 
 
51146
 
-           exit $lt_exit
51147
 
-         }
51148
 
-       done
51149
 
-       IFS="$save_ifs"
51150
 
+void
51151
 
+lt_setenv (const char *name, const char *value)
51152
 
+{
51153
 
+  LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n",
51154
 
+                          (name ? name : "<NULL>"),
51155
 
+                          (value ? value : "<NULL>")));
51156
 
+  {
51157
 
+#ifdef HAVE_SETENV
51158
 
+    /* always make a copy, for consistency with !HAVE_SETENV */
51159
 
+    char *str = xstrdup (value);
51160
 
+    setenv (name, str, 1);
51161
 
+#else
51162
 
+    int len = strlen (name) + 1 + strlen (value) + 1;
51163
 
+    char *str = XMALLOC (char, len);
51164
 
+    sprintf (str, "%s=%s", name, value);
51165
 
+    if (putenv (str) != EXIT_SUCCESS)
51166
 
+      {
51167
 
+        XFREE (str);
51168
 
+      }
51169
 
+#endif
51170
 
+  }
51171
 
+}
51172
 
 
51173
 
-       # Restore the uninstalled library and exit
51174
 
-       if test "$mode" = relink; then
51175
 
-         $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
51176
 
+char *
51177
 
+lt_extend_str (const char *orig_value, const char *add, int to_end)
51178
 
+{
51179
 
+  char *new_value;
51180
 
+  if (orig_value && *orig_value)
51181
 
+    {
51182
 
+      int orig_value_len = strlen (orig_value);
51183
 
+      int add_len = strlen (add);
51184
 
+      new_value = XMALLOC (char, add_len + orig_value_len + 1);
51185
 
+      if (to_end)
51186
 
+        {
51187
 
+          strcpy (new_value, orig_value);
51188
 
+          strcpy (new_value + orig_value_len, add);
51189
 
+        }
51190
 
+      else
51191
 
+        {
51192
 
+          strcpy (new_value, add);
51193
 
+          strcpy (new_value + add_len, orig_value);
51194
 
+        }
51195
 
+    }
51196
 
+  else
51197
 
+    {
51198
 
+      new_value = xstrdup (add);
51199
 
+    }
51200
 
+  return new_value;
51201
 
+}
51202
 
 
51203
 
-         if test -n "$convenience"; then
51204
 
-           if test -z "$whole_archive_flag_spec"; then
51205
 
-             $show "${rm}r $gentop"
51206
 
-             $run ${rm}r "$gentop"
51207
 
-           fi
51208
 
-         fi
51209
 
+int
51210
 
+lt_split_name_value (const char *arg, char** name, char** value)
51211
 
+{
51212
 
+  const char *p;
51213
 
+  int len;
51214
 
+  if (!arg || !*arg)
51215
 
+    return 1;
51216
 
 
51217
 
-         exit $EXIT_SUCCESS
51218
 
-       fi
51219
 
+  p = strchr (arg, (int)'=');
51220
 
 
51221
 
-       # Create links to the real library.
51222
 
-       for linkname in $linknames; do
51223
 
-         if test "$realname" != "$linkname"; then
51224
 
-           $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)"
51225
 
-           $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $?
51226
 
-         fi
51227
 
-       done
51228
 
-
51229
 
-       # If -module or -export-dynamic was specified, set the dlname.
51230
 
-       if test "$module" = yes || test "$export_dynamic" = yes; then
51231
 
-         # On all known operating systems, these are identical.
51232
 
-         dlname="$soname"
51233
 
-       fi
51234
 
-      fi
51235
 
-      ;;
51236
 
+  if (!p)
51237
 
+    return 1;
51238
 
 
51239
 
-    obj)
51240
 
-      case " $deplibs" in
51241
 
-      *\ -l* | *\ -L*)
51242
 
-       $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 ;;
51243
 
-      esac
51244
 
+  *value = xstrdup (++p);
51245
 
 
51246
 
-      if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
51247
 
-       $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
51248
 
-      fi
51249
 
+  len = strlen (arg) - strlen (*value);
51250
 
+  *name = XMALLOC (char, len);
51251
 
+  strncpy (*name, arg, len-1);
51252
 
+  (*name)[len - 1] = '\0';
51253
 
 
51254
 
-      if test -n "$rpath"; then
51255
 
-       $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2
51256
 
-      fi
51257
 
+  return 0;
51258
 
+}
51259
 
 
51260
 
-      if test -n "$xrpath"; then
51261
 
-       $echo "$modename: warning: \`-R' is ignored for objects" 1>&2
51262
 
-      fi
51263
 
+void
51264
 
+lt_opt_process_env_set (const char *arg)
51265
 
+{
51266
 
+  char *name = NULL;
51267
 
+  char *value = NULL;
51268
 
 
51269
 
-      if test -n "$vinfo"; then
51270
 
-       $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2
51271
 
-      fi
51272
 
+  if (lt_split_name_value (arg, &name, &value) != 0)
51273
 
+    {
51274
 
+      XFREE (name);
51275
 
+      XFREE (value);
51276
 
+      lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg);
51277
 
+    }
51278
 
 
51279
 
-      if test -n "$release"; then
51280
 
-       $echo "$modename: warning: \`-release' is ignored for objects" 1>&2
51281
 
-      fi
51282
 
+  lt_setenv (name, value);
51283
 
+  XFREE (name);
51284
 
+  XFREE (value);
51285
 
+}
51286
 
 
51287
 
-      case $output in
51288
 
-      *.lo)
51289
 
-       if test -n "$objs$old_deplibs"; then
51290
 
-         $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
51291
 
-         exit $EXIT_FAILURE
51292
 
-       fi
51293
 
-       libobj="$output"
51294
 
-       obj=`$echo "X$output" | $Xsed -e "$lo2o"`
51295
 
-       ;;
51296
 
-      *)
51297
 
-       libobj=
51298
 
-       obj="$output"
51299
 
-       ;;
51300
 
-      esac
51301
 
+void
51302
 
+lt_opt_process_env_prepend (const char *arg)
51303
 
+{
51304
 
+  char *name = NULL;
51305
 
+  char *value = NULL;
51306
 
+  char *new_value = NULL;
51307
 
 
51308
 
-      # Delete the old objects.
51309
 
-      $run $rm $obj $libobj
51310
 
+  if (lt_split_name_value (arg, &name, &value) != 0)
51311
 
+    {
51312
 
+      XFREE (name);
51313
 
+      XFREE (value);
51314
 
+      lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg);
51315
 
+    }
51316
 
 
51317
 
-      # Objects from convenience libraries.  This assumes
51318
 
-      # single-version convenience libraries.  Whenever we create
51319
 
-      # different ones for PIC/non-PIC, this we'll have to duplicate
51320
 
-      # the extraction.
51321
 
-      reload_conv_objs=
51322
 
-      gentop=
51323
 
-      # reload_cmds runs $LD directly, so let us get rid of
51324
 
-      # -Wl from whole_archive_flag_spec and hope we can get by with
51325
 
-      # turning comma into space..
51326
 
-      wl=
51327
 
+  new_value = lt_extend_str (getenv (name), value, 0);
51328
 
+  lt_setenv (name, new_value);
51329
 
+  XFREE (new_value);
51330
 
+  XFREE (name);
51331
 
+  XFREE (value);
51332
 
+}
51333
 
 
51334
 
-      if test -n "$convenience"; then
51335
 
-       if test -n "$whole_archive_flag_spec"; then
51336
 
-         eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
51337
 
-         reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
51338
 
-       else
51339
 
-         gentop="$output_objdir/${obj}x"
51340
 
-         generated="$generated $gentop"
51341
 
+void
51342
 
+lt_opt_process_env_append (const char *arg)
51343
 
+{
51344
 
+  char *name = NULL;
51345
 
+  char *value = NULL;
51346
 
+  char *new_value = NULL;
51347
 
 
51348
 
-         func_extract_archives $gentop $convenience
51349
 
-         reload_conv_objs="$reload_objs $func_extract_archives_result"
51350
 
-       fi
51351
 
-      fi
51352
 
+  if (lt_split_name_value (arg, &name, &value) != 0)
51353
 
+    {
51354
 
+      XFREE (name);
51355
 
+      XFREE (value);
51356
 
+      lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg);
51357
 
+    }
51358
 
 
51359
 
-      # Create the old-style object.
51360
 
-      reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
51361
 
+  new_value = lt_extend_str (getenv (name), value, 1);
51362
 
+  lt_setenv (name, new_value);
51363
 
+  XFREE (new_value);
51364
 
+  XFREE (name);
51365
 
+  XFREE (value);
51366
 
+}
51367
 
 
51368
 
-      output="$obj"
51369
 
-      cmds=$reload_cmds
51370
 
-      save_ifs="$IFS"; IFS='~'
51371
 
-      for cmd in $cmds; do
51372
 
-       IFS="$save_ifs"
51373
 
-       eval cmd=\"$cmd\"
51374
 
-       $show "$cmd"
51375
 
-       $run eval "$cmd" || exit $?
51376
 
-      done
51377
 
-      IFS="$save_ifs"
51378
 
+void
51379
 
+lt_update_exe_path (const char *name, const char *value)
51380
 
+{
51381
 
+  LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
51382
 
+                          (name ? name : "<NULL>"),
51383
 
+                          (value ? value : "<NULL>")));
51384
 
 
51385
 
-      # Exit if we aren't doing a library object file.
51386
 
-      if test -z "$libobj"; then
51387
 
-       if test -n "$gentop"; then
51388
 
-         $show "${rm}r $gentop"
51389
 
-         $run ${rm}r $gentop
51390
 
-       fi
51391
 
+  if (name && *name && value && *value)
51392
 
+    {
51393
 
+      char *new_value = lt_extend_str (getenv (name), value, 0);
51394
 
+      /* some systems can't cope with a ':'-terminated path #' */
51395
 
+      int len = strlen (new_value);
51396
 
+      while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
51397
 
+        {
51398
 
+          new_value[len-1] = '\0';
51399
 
+        }
51400
 
+      lt_setenv (name, new_value);
51401
 
+      XFREE (new_value);
51402
 
+    }
51403
 
+}
51404
 
 
51405
 
-       exit $EXIT_SUCCESS
51406
 
-      fi
51407
 
+void
51408
 
+lt_update_lib_path (const char *name, const char *value)
51409
 
+{
51410
 
+  LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
51411
 
+                          (name ? name : "<NULL>"),
51412
 
+                          (value ? value : "<NULL>")));
51413
 
 
51414
 
-      if test "$build_libtool_libs" != yes; then
51415
 
-       if test -n "$gentop"; then
51416
 
-         $show "${rm}r $gentop"
51417
 
-         $run ${rm}r $gentop
51418
 
-       fi
51419
 
+  if (name && *name && value && *value)
51420
 
+    {
51421
 
+      char *new_value = lt_extend_str (getenv (name), value, 0);
51422
 
+      lt_setenv (name, new_value);
51423
 
+      XFREE (new_value);
51424
 
+    }
51425
 
+}
51426
 
 
51427
 
-       # Create an invalid libtool object if no PIC, so that we don't
51428
 
-       # accidentally link it into a program.
51429
 
-       # $show "echo timestamp > $libobj"
51430
 
-       # $run eval "echo timestamp > $libobj" || exit $?
51431
 
-       exit $EXIT_SUCCESS
51432
 
-      fi
51433
 
 
51434
 
-      if test -n "$pic_flag" || test "$pic_mode" != default; then
51435
 
-       # Only do commands if we really have different PIC objects.
51436
 
-       reload_objs="$libobjs $reload_conv_objs"
51437
 
-       output="$libobj"
51438
 
-       cmds=$reload_cmds
51439
 
-       save_ifs="$IFS"; IFS='~'
51440
 
-       for cmd in $cmds; do
51441
 
-         IFS="$save_ifs"
51442
 
-         eval cmd=\"$cmd\"
51443
 
-         $show "$cmd"
51444
 
-         $run eval "$cmd" || exit $?
51445
 
-       done
51446
 
-       IFS="$save_ifs"
51447
 
-      fi
51448
 
+EOF
51449
 
+}
51450
 
+# end: func_emit_cwrapperexe_src
51451
 
 
51452
 
-      if test -n "$gentop"; then
51453
 
-       $show "${rm}r $gentop"
51454
 
-       $run ${rm}r $gentop
51455
 
-      fi
51456
 
+# func_mode_link arg...
51457
 
+func_mode_link ()
51458
 
+{
51459
 
+    $opt_debug
51460
 
+    case $host in
51461
 
+    *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
51462
 
+      # It is impossible to link a dll without this setting, and
51463
 
+      # we shouldn't force the makefile maintainer to figure out
51464
 
+      # which system we are compiling for in order to pass an extra
51465
 
+      # flag for every libtool invocation.
51466
 
+      # allow_undefined=no
51467
 
 
51468
 
-      exit $EXIT_SUCCESS
51469
 
+      # FIXME: Unfortunately, there are problems with the above when trying
51470
 
+      # to make a dll which has undefined symbols, in which case not
51471
 
+      # even a static library is built.  For now, we need to specify
51472
 
+      # -no-undefined on the libtool link line when we can be certain
51473
 
+      # that all symbols are satisfied, otherwise we get a static library.
51474
 
+      allow_undefined=yes
51475
 
       ;;
51476
 
+    *)
51477
 
+      allow_undefined=yes
51478
 
+      ;;
51479
 
+    esac
51480
 
+    libtool_args=$nonopt
51481
 
+    base_compile="$nonopt $@"
51482
 
+    compile_command=$nonopt
51483
 
+    finalize_command=$nonopt
51484
 
 
51485
 
-    prog)
51486
 
-      case $host in
51487
 
-       *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
51488
 
-      esac
51489
 
-      if test -n "$vinfo"; then
51490
 
-       $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
51491
 
-      fi
51492
 
-
51493
 
-      if test -n "$release"; then
51494
 
-       $echo "$modename: warning: \`-release' is ignored for programs" 1>&2
51495
 
-      fi
51496
 
+    compile_rpath=
51497
 
+    finalize_rpath=
51498
 
+    compile_shlibpath=
51499
 
+    finalize_shlibpath=
51500
 
+    convenience=
51501
 
+    old_convenience=
51502
 
+    deplibs=
51503
 
+    old_deplibs=
51504
 
+    compiler_flags=
51505
 
+    linker_flags=
51506
 
+    dllsearchpath=
51507
 
+    lib_search_path=`pwd`
51508
 
+    inst_prefix_dir=
51509
 
+    new_inherited_linker_flags=
51510
 
 
51511
 
-      if test "$preload" = yes; then
51512
 
-       if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown &&
51513
 
-          test "$dlopen_self_static" = unknown; then
51514
 
-         $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support."
51515
 
-       fi
51516
 
-      fi
51517
 
+    avoid_version=no
51518
 
+    dlfiles=
51519
 
+    dlprefiles=
51520
 
+    dlself=no
51521
 
+    export_dynamic=no
51522
 
+    export_symbols=
51523
 
+    export_symbols_regex=
51524
 
+    generated=
51525
 
+    libobjs=
51526
 
+    ltlibs=
51527
 
+    module=no
51528
 
+    no_install=no
51529
 
+    objs=
51530
 
+    non_pic_objects=
51531
 
+    precious_files_regex=
51532
 
+    prefer_static_libs=no
51533
 
+    preload=no
51534
 
+    prev=
51535
 
+    prevarg=
51536
 
+    release=
51537
 
+    rpath=
51538
 
+    xrpath=
51539
 
+    perm_rpath=
51540
 
+    temp_rpath=
51541
 
+    thread_safe=no
51542
 
+    vinfo=
51543
 
+    vinfo_number=no
51544
 
+    weak_libs=
51545
 
+    single_module="${wl}-single_module"
51546
 
+    func_infer_tag $base_compile
51547
 
 
51548
 
-      case $host in
51549
 
-      *-*-rhapsody* | *-*-darwin1.[012])
51550
 
-       # On Rhapsody replace the C library is the System framework
51551
 
-       compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
51552
 
-       finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
51553
 
+    # We need to know -static, to get the right output filenames.
51554
 
+    for arg
51555
 
+    do
51556
 
+      case $arg in
51557
 
+      -shared)
51558
 
+       test "$build_libtool_libs" != yes && \
51559
 
+         func_fatal_configuration "can not build a shared library"
51560
 
+       build_old_libs=no
51561
 
+       break
51562
 
+       ;;
51563
 
+      -all-static | -static | -static-libtool-libs)
51564
 
+       case $arg in
51565
 
+       -all-static)
51566
 
+         if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
51567
 
+           func_warning "complete static linking is impossible in this configuration"
51568
 
+         fi
51569
 
+         if test -n "$link_static_flag"; then
51570
 
+           dlopen_self=$dlopen_self_static
51571
 
+         fi
51572
 
+         prefer_static_libs=yes
51573
 
+         ;;
51574
 
+       -static)
51575
 
+         if test -z "$pic_flag" && test -n "$link_static_flag"; then
51576
 
+           dlopen_self=$dlopen_self_static
51577
 
+         fi
51578
 
+         prefer_static_libs=built
51579
 
+         ;;
51580
 
+       -static-libtool-libs)
51581
 
+         if test -z "$pic_flag" && test -n "$link_static_flag"; then
51582
 
+           dlopen_self=$dlopen_self_static
51583
 
+         fi
51584
 
+         prefer_static_libs=yes
51585
 
+         ;;
51586
 
+       esac
51587
 
+       build_libtool_libs=no
51588
 
+       build_old_libs=yes
51589
 
+       break
51590
 
        ;;
51591
 
       esac
51592
 
+    done
51593
 
 
51594
 
-      case $host in
51595
 
-      *darwin*)
51596
 
-        # Don't allow lazy linking, it breaks C++ global constructors
51597
 
-        if test "$tagname" = CXX ; then
51598
 
-        compile_command="$compile_command ${wl}-bind_at_load"
51599
 
-        finalize_command="$finalize_command ${wl}-bind_at_load"
51600
 
-        fi
51601
 
-        ;;
51602
 
-      esac
51603
 
+    # See if our shared archives depend on static archives.
51604
 
+    test -n "$old_archive_from_new_cmds" && build_old_libs=yes
51605
 
 
51606
 
+    # Go through the arguments, transforming them on the way.
51607
 
+    while test "$#" -gt 0; do
51608
 
+      arg="$1"
51609
 
+      shift
51610
 
+      func_quote_for_eval "$arg"
51611
 
+      qarg=$func_quote_for_eval_unquoted_result
51612
 
+      func_append libtool_args " $func_quote_for_eval_result"
51613
 
 
51614
 
-      # move library search paths that coincide with paths to not yet
51615
 
-      # installed libraries to the beginning of the library search list
51616
 
-      new_libs=
51617
 
-      for path in $notinst_path; do
51618
 
-       case " $new_libs " in
51619
 
-       *" -L$path/$objdir "*) ;;
51620
 
-       *)
51621
 
-         case " $compile_deplibs " in
51622
 
-         *" -L$path/$objdir "*)
51623
 
-           new_libs="$new_libs -L$path/$objdir" ;;
51624
 
-         esac
51625
 
-         ;;
51626
 
-       esac
51627
 
-      done
51628
 
-      for deplib in $compile_deplibs; do
51629
 
-       case $deplib in
51630
 
-       -L*)
51631
 
-         case " $new_libs " in
51632
 
-         *" $deplib "*) ;;
51633
 
-         *) new_libs="$new_libs $deplib" ;;
51634
 
-         esac
51635
 
+      # If the previous option needs an argument, assign it.
51636
 
+      if test -n "$prev"; then
51637
 
+       case $prev in
51638
 
+       output)
51639
 
+         func_append compile_command " @OUTPUT@"
51640
 
+         func_append finalize_command " @OUTPUT@"
51641
 
          ;;
51642
 
-       *) new_libs="$new_libs $deplib" ;;
51643
 
        esac
51644
 
-      done
51645
 
-      compile_deplibs="$new_libs"
51646
 
 
51647
 
-
51648
 
-      compile_command="$compile_command $compile_deplibs"
51649
 
-      finalize_command="$finalize_command $finalize_deplibs"
51650
 
-
51651
 
-      if test -n "$rpath$xrpath"; then
51652
 
-       # If the user specified any rpath flags, then add them.
51653
 
-       for libdir in $rpath $xrpath; do
51654
 
-         # This is the magic to use -rpath.
51655
 
-         case "$finalize_rpath " in
51656
 
-         *" $libdir "*) ;;
51657
 
-         *) finalize_rpath="$finalize_rpath $libdir" ;;
51658
 
-         esac
51659
 
-       done
51660
 
-      fi
51661
 
-
51662
 
-      # Now hardcode the library paths
51663
 
-      rpath=
51664
 
-      hardcode_libdirs=
51665
 
-      for libdir in $compile_rpath $finalize_rpath; do
51666
 
-       if test -n "$hardcode_libdir_flag_spec"; then
51667
 
-         if test -n "$hardcode_libdir_separator"; then
51668
 
-           if test -z "$hardcode_libdirs"; then
51669
 
-             hardcode_libdirs="$libdir"
51670
 
+       case $prev in
51671
 
+       dlfiles|dlprefiles)
51672
 
+         if test "$preload" = no; then
51673
 
+           # Add the symbol object into the linking commands.
51674
 
+           func_append compile_command " @SYMFILE@"
51675
 
+           func_append finalize_command " @SYMFILE@"
51676
 
+           preload=yes
51677
 
+         fi
51678
 
+         case $arg in
51679
 
+         *.la | *.lo) ;;  # We handle these cases below.
51680
 
+         force)
51681
 
+           if test "$dlself" = no; then
51682
 
+             dlself=needless
51683
 
+             export_dynamic=yes
51684
 
+           fi
51685
 
+           prev=
51686
 
+           continue
51687
 
+           ;;
51688
 
+         self)
51689
 
+           if test "$prev" = dlprefiles; then
51690
 
+             dlself=yes
51691
 
+           elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
51692
 
+             dlself=yes
51693
 
            else
51694
 
-             # Just accumulate the unique libdirs.
51695
 
-             case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
51696
 
-             *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
51697
 
-               ;;
51698
 
-             *)
51699
 
-               hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
51700
 
-               ;;
51701
 
-             esac
51702
 
+             dlself=needless
51703
 
+             export_dynamic=yes
51704
 
            fi
51705
 
-         else
51706
 
-           eval flag=\"$hardcode_libdir_flag_spec\"
51707
 
-           rpath="$rpath $flag"
51708
 
-         fi
51709
 
-       elif test -n "$runpath_var"; then
51710
 
-         case "$perm_rpath " in
51711
 
-         *" $libdir "*) ;;
51712
 
-         *) perm_rpath="$perm_rpath $libdir" ;;
51713
 
-         esac
51714
 
-       fi
51715
 
-       case $host in
51716
 
-       *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
51717
 
-         testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'`
51718
 
-         case :$dllsearchpath: in
51719
 
-         *":$libdir:"*) ;;
51720
 
-         *) dllsearchpath="$dllsearchpath:$libdir";;
51721
 
-         esac
51722
 
-         case :$dllsearchpath: in
51723
 
-         *":$testbindir:"*) ;;
51724
 
-         *) dllsearchpath="$dllsearchpath:$testbindir";;
51725
 
+           prev=
51726
 
+           continue
51727
 
+           ;;
51728
 
+         *)
51729
 
+           if test "$prev" = dlfiles; then
51730
 
+             dlfiles="$dlfiles $arg"
51731
 
+           else
51732
 
+             dlprefiles="$dlprefiles $arg"
51733
 
+           fi
51734
 
+           prev=
51735
 
+           continue
51736
 
+           ;;
51737
 
          esac
51738
 
          ;;
51739
 
-       esac
51740
 
-      done
51741
 
-      # Substitute the hardcoded libdirs into the rpath.
51742
 
-      if test -n "$hardcode_libdir_separator" &&
51743
 
-        test -n "$hardcode_libdirs"; then
51744
 
-       libdir="$hardcode_libdirs"
51745
 
-       eval rpath=\" $hardcode_libdir_flag_spec\"
51746
 
-      fi
51747
 
-      compile_rpath="$rpath"
51748
 
-
51749
 
-      rpath=
51750
 
-      hardcode_libdirs=
51751
 
-      for libdir in $finalize_rpath; do
51752
 
-       if test -n "$hardcode_libdir_flag_spec"; then
51753
 
-         if test -n "$hardcode_libdir_separator"; then
51754
 
-           if test -z "$hardcode_libdirs"; then
51755
 
-             hardcode_libdirs="$libdir"
51756
 
-           else
51757
 
-             # Just accumulate the unique libdirs.
51758
 
-             case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
51759
 
-             *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
51760
 
-               ;;
51761
 
-             *)
51762
 
-               hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
51763
 
-               ;;
51764
 
+       expsyms)
51765
 
+         export_symbols="$arg"
51766
 
+         test -f "$arg" \
51767
 
+           || func_fatal_error "symbol file \`$arg' does not exist"
51768
 
+         prev=
51769
 
+         continue
51770
 
+         ;;
51771
 
+       expsyms_regex)
51772
 
+         export_symbols_regex="$arg"
51773
 
+         prev=
51774
 
+         continue
51775
 
+         ;;
51776
 
+       framework)
51777
 
+         case $host in
51778
 
+           *-*-darwin*)
51779
 
+             case "$deplibs " in
51780
 
+               *" $qarg.ltframework "*) ;;
51781
 
+               *) deplibs="$deplibs $qarg.ltframework" # this is fixed later
51782
 
+                  ;;
51783
 
              esac
51784
 
-           fi
51785
 
-         else
51786
 
-           eval flag=\"$hardcode_libdir_flag_spec\"
51787
 
-           rpath="$rpath $flag"
51788
 
-         fi
51789
 
-       elif test -n "$runpath_var"; then
51790
 
-         case "$finalize_perm_rpath " in
51791
 
-         *" $libdir "*) ;;
51792
 
-         *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
51793
 
+             ;;
51794
 
          esac
51795
 
-       fi
51796
 
-      done
51797
 
-      # Substitute the hardcoded libdirs into the rpath.
51798
 
-      if test -n "$hardcode_libdir_separator" &&
51799
 
-        test -n "$hardcode_libdirs"; then
51800
 
-       libdir="$hardcode_libdirs"
51801
 
-       eval rpath=\" $hardcode_libdir_flag_spec\"
51802
 
-      fi
51803
 
-      finalize_rpath="$rpath"
51804
 
-
51805
 
-      if test -n "$libobjs" && test "$build_old_libs" = yes; then
51806
 
-       # Transform all the library objects into standard objects.
51807
 
-       compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
51808
 
-       finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
51809
 
-      fi
51810
 
+         prev=
51811
 
+         continue
51812
 
+         ;;
51813
 
+       inst_prefix)
51814
 
+         inst_prefix_dir="$arg"
51815
 
+         prev=
51816
 
+         continue
51817
 
+         ;;
51818
 
+       objectlist)
51819
 
+         if test -f "$arg"; then
51820
 
+           save_arg=$arg
51821
 
+           moreargs=
51822
 
+           for fil in `cat "$save_arg"`
51823
 
+           do
51824
 
+#            moreargs="$moreargs $fil"
51825
 
+             arg=$fil
51826
 
+             # A libtool-controlled object.
51827
 
 
51828
 
-      dlsyms=
51829
 
-      if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
51830
 
-       if test -n "$NM" && test -n "$global_symbol_pipe"; then
51831
 
-         dlsyms="${outputname}S.c"
51832
 
-       else
51833
 
-         $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2
51834
 
-       fi
51835
 
-      fi
51836
 
+             # Check to see that this really is a libtool object.
51837
 
+             if func_lalib_unsafe_p "$arg"; then
51838
 
+               pic_object=
51839
 
+               non_pic_object=
51840
 
 
51841
 
-      if test -n "$dlsyms"; then
51842
 
-       case $dlsyms in
51843
 
-       "") ;;
51844
 
-       *.c)
51845
 
-         # Discover the nlist of each of the dlfiles.
51846
 
-         nlist="$output_objdir/${outputname}.nm"
51847
 
+               # Read the .lo file
51848
 
+               func_source "$arg"
51849
 
 
51850
 
-         $show "$rm $nlist ${nlist}S ${nlist}T"
51851
 
-         $run $rm "$nlist" "${nlist}S" "${nlist}T"
51852
 
+               if test -z "$pic_object" ||
51853
 
+                  test -z "$non_pic_object" ||
51854
 
+                  test "$pic_object" = none &&
51855
 
+                  test "$non_pic_object" = none; then
51856
 
+                 func_fatal_error "cannot find name of object for \`$arg'"
51857
 
+               fi
51858
 
 
51859
 
-         # Parse the name list into a source file.
51860
 
-         $show "creating $output_objdir/$dlsyms"
51861
 
+               # Extract subdirectory from the argument.
51862
 
+               func_dirname "$arg" "/" ""
51863
 
+               xdir="$func_dirname_result"
51864
 
 
51865
 
-         test -z "$run" && $echo > "$output_objdir/$dlsyms" "\
51866
 
-/* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */
51867
 
-/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */
51868
 
+               if test "$pic_object" != none; then
51869
 
+                 # Prepend the subdirectory the object is found in.
51870
 
+                 pic_object="$xdir$pic_object"
51871
 
 
51872
 
-#ifdef __cplusplus
51873
 
-extern \"C\" {
51874
 
-#endif
51875
 
+                 if test "$prev" = dlfiles; then
51876
 
+                   if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
51877
 
+                     dlfiles="$dlfiles $pic_object"
51878
 
+                     prev=
51879
 
+                     continue
51880
 
+                   else
51881
 
+                     # If libtool objects are unsupported, then we need to preload.
51882
 
+                     prev=dlprefiles
51883
 
+                   fi
51884
 
+                 fi
51885
 
 
51886
 
-/* Prevent the only kind of declaration conflicts we can make. */
51887
 
-#define lt_preloaded_symbols some_other_symbol
51888
 
+                 # CHECK ME:  I think I busted this.  -Ossama
51889
 
+                 if test "$prev" = dlprefiles; then
51890
 
+                   # Preload the old-style object.
51891
 
+                   dlprefiles="$dlprefiles $pic_object"
51892
 
+                   prev=
51893
 
+                 fi
51894
 
 
51895
 
-/* External symbol declarations for the compiler. */\
51896
 
-"
51897
 
+                 # A PIC object.
51898
 
+                 func_append libobjs " $pic_object"
51899
 
+                 arg="$pic_object"
51900
 
+               fi
51901
 
 
51902
 
-         if test "$dlself" = yes; then
51903
 
-           $show "generating symbol list for \`$output'"
51904
 
+               # Non-PIC object.
51905
 
+               if test "$non_pic_object" != none; then
51906
 
+                 # Prepend the subdirectory the object is found in.
51907
 
+                 non_pic_object="$xdir$non_pic_object"
51908
 
 
51909
 
-           test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist"
51910
 
+                 # A standard non-PIC object
51911
 
+                 func_append non_pic_objects " $non_pic_object"
51912
 
+                 if test -z "$pic_object" || test "$pic_object" = none ; then
51913
 
+                   arg="$non_pic_object"
51914
 
+                 fi
51915
 
+               else
51916
 
+                 # If the PIC object exists, use it instead.
51917
 
+                 # $xdir was prepended to $pic_object above.
51918
 
+                 non_pic_object="$pic_object"
51919
 
+                 func_append non_pic_objects " $non_pic_object"
51920
 
+               fi
51921
 
+             else
51922
 
+               # Only an error if not doing a dry-run.
51923
 
+               if $opt_dry_run; then
51924
 
+                 # Extract subdirectory from the argument.
51925
 
+                 func_dirname "$arg" "/" ""
51926
 
+                 xdir="$func_dirname_result"
51927
 
 
51928
 
-           # Add our own program objects to the symbol list.
51929
 
-           progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
51930
 
-           for arg in $progfiles; do
51931
 
-             $show "extracting global C symbols from \`$arg'"
51932
 
-             $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
51933
 
+                 func_lo2o "$arg"
51934
 
+                 pic_object=$xdir$objdir/$func_lo2o_result
51935
 
+                 non_pic_object=$xdir$func_lo2o_result
51936
 
+                 func_append libobjs " $pic_object"
51937
 
+                 func_append non_pic_objects " $non_pic_object"
51938
 
+               else
51939
 
+                 func_fatal_error "\`$arg' is not a valid libtool object"
51940
 
+               fi
51941
 
+             fi
51942
 
            done
51943
 
-
51944
 
-           if test -n "$exclude_expsyms"; then
51945
 
-             $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
51946
 
-             $run eval '$mv "$nlist"T "$nlist"'
51947
 
-           fi
51948
 
-
51949
 
-           if test -n "$export_symbols_regex"; then
51950
 
-             $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
51951
 
-             $run eval '$mv "$nlist"T "$nlist"'
51952
 
-           fi
51953
 
-
51954
 
-           # Prepare the list of exported symbols
51955
 
-           if test -z "$export_symbols"; then
51956
 
-             export_symbols="$output_objdir/$outputname.exp"
51957
 
-             $run $rm $export_symbols
51958
 
-             $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
51959
 
-              case $host in
51960
 
-              *cygwin* | *mingw* )
51961
 
-               $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
51962
 
-               $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
51963
 
-                ;;
51964
 
-              esac
51965
 
-           else
51966
 
-             $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
51967
 
-             $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
51968
 
-             $run eval 'mv "$nlist"T "$nlist"'
51969
 
-              case $host in
51970
 
-              *cygwin* | *mingw* )
51971
 
-               $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
51972
 
-               $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
51973
 
-                ;;
51974
 
-              esac
51975
 
-           fi
51976
 
+         else
51977
 
+           func_fatal_error "link input file \`$arg' does not exist"
51978
 
          fi
51979
 
-
51980
 
-         for arg in $dlprefiles; do
51981
 
-           $show "extracting global C symbols from \`$arg'"
51982
 
-           name=`$echo "$arg" | ${SED} -e 's%^.*/%%'`
51983
 
-           $run eval '$echo ": $name " >> "$nlist"'
51984
 
-           $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
51985
 
-         done
51986
 
-
51987
 
-         if test -z "$run"; then
51988
 
-           # Make sure we have at least an empty file.
51989
 
-           test -f "$nlist" || : > "$nlist"
51990
 
-
51991
 
-           if test -n "$exclude_expsyms"; then
51992
 
-             $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
51993
 
-             $mv "$nlist"T "$nlist"
51994
 
-           fi
51995
 
-
51996
 
-           # Try sorting and uniquifying the output.
51997
 
-           if grep -v "^: " < "$nlist" |
51998
 
-               if sort -k 3 </dev/null >/dev/null 2>&1; then
51999
 
-                 sort -k 3
52000
 
-               else
52001
 
-                 sort +2
52002
 
-               fi |
52003
 
-               uniq > "$nlist"S; then
52004
 
-             :
52005
 
-           else
52006
 
-             grep -v "^: " < "$nlist" > "$nlist"S
52007
 
-           fi
52008
 
-
52009
 
-           if test -f "$nlist"S; then
52010
 
-             eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"'
52011
 
-           else
52012
 
-             $echo '/* NONE */' >> "$output_objdir/$dlsyms"
52013
 
-           fi
52014
 
-
52015
 
-           $echo >> "$output_objdir/$dlsyms" "\
52016
 
-
52017
 
-#undef lt_preloaded_symbols
52018
 
-
52019
 
-#if defined (__STDC__) && __STDC__
52020
 
-# define lt_ptr void *
52021
 
-#else
52022
 
-# define lt_ptr char *
52023
 
-# define const
52024
 
-#endif
52025
 
-
52026
 
-/* The mapping between symbol names and symbols. */
52027
 
-"
52028
 
-
52029
 
-           case $host in
52030
 
-           *cygwin* | *mingw* )
52031
 
-         $echo >> "$output_objdir/$dlsyms" "\
52032
 
-/* DATA imports from DLLs on WIN32 can't be const, because
52033
 
-   runtime relocations are performed -- see ld's documentation
52034
 
-   on pseudo-relocs */
52035
 
-struct {
52036
 
-"
52037
 
-             ;;
52038
 
-           * )
52039
 
-         $echo >> "$output_objdir/$dlsyms" "\
52040
 
-const struct {
52041
 
-"
52042
 
-             ;;
52043
 
-           esac
52044
 
-
52045
 
-
52046
 
-         $echo >> "$output_objdir/$dlsyms" "\
52047
 
-  const char *name;
52048
 
-  lt_ptr address;
52049
 
-}
52050
 
-lt_preloaded_symbols[] =
52051
 
-{\
52052
 
-"
52053
 
-
52054
 
-           eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms"
52055
 
-
52056
 
-           $echo >> "$output_objdir/$dlsyms" "\
52057
 
-  {0, (lt_ptr) 0}
52058
 
-};
52059
 
-
52060
 
-/* This works around a problem in FreeBSD linker */
52061
 
-#ifdef FREEBSD_WORKAROUND
52062
 
-static const void *lt_preloaded_setup() {
52063
 
-  return lt_preloaded_symbols;
52064
 
-}
52065
 
-#endif
52066
 
-
52067
 
-#ifdef __cplusplus
52068
 
-}
52069
 
-#endif\
52070
 
-"
52071
 
-         fi
52072
 
-
52073
 
-         pic_flag_for_symtable=
52074
 
-         case $host in
52075
 
-         # compiling the symbol table file with pic_flag works around
52076
 
-         # a FreeBSD bug that causes programs to crash when -lm is
52077
 
-         # linked before any other PIC object.  But we must not use
52078
 
-         # pic_flag when linking with -static.  The problem exists in
52079
 
-         # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
52080
 
-         *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
52081
 
-           case "$compile_command " in
52082
 
-           *" -static "*) ;;
52083
 
-           *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";;
52084
 
-           esac;;
52085
 
-         *-*-hpux*)
52086
 
-           case "$compile_command " in
52087
 
-           *" -static "*) ;;
52088
 
-           *) pic_flag_for_symtable=" $pic_flag";;
52089
 
-           esac
52090
 
+         arg=$save_arg
52091
 
+         prev=
52092
 
+         continue
52093
 
+         ;;
52094
 
+       precious_regex)
52095
 
+         precious_files_regex="$arg"
52096
 
+         prev=
52097
 
+         continue
52098
 
+         ;;
52099
 
+       release)
52100
 
+         release="-$arg"
52101
 
+         prev=
52102
 
+         continue
52103
 
+         ;;
52104
 
+       rpath | xrpath)
52105
 
+         # We need an absolute path.
52106
 
+         case $arg in
52107
 
+         [\\/]* | [A-Za-z]:[\\/]*) ;;
52108
 
+         *)
52109
 
+           func_fatal_error "only absolute run-paths are allowed"
52110
 
+           ;;
52111
 
          esac
52112
 
-
52113
 
-         # Now compile the dynamic symbol file.
52114
 
-         $show "(cd $output_objdir && $LTCC  $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
52115
 
-         $run eval '(cd $output_objdir && $LTCC  $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
52116
 
-
52117
 
-         # Clean up the generated files.
52118
 
-         $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
52119
 
-         $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
52120
 
-
52121
 
-         # Transform the symbol file into the correct name.
52122
 
-          case $host in
52123
 
-          *cygwin* | *mingw* )
52124
 
-            if test -f "$output_objdir/${outputname}.def" ; then
52125
 
-              compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
52126
 
-              finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
52127
 
-            else
52128
 
-              compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
52129
 
-              finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
52130
 
-             fi
52131
 
-            ;;
52132
 
-          * )
52133
 
-            compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
52134
 
-            finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
52135
 
-            ;;
52136
 
-          esac
52137
 
+         if test "$prev" = rpath; then
52138
 
+           case "$rpath " in
52139
 
+           *" $arg "*) ;;
52140
 
+           *) rpath="$rpath $arg" ;;
52141
 
+           esac
52142
 
+         else
52143
 
+           case "$xrpath " in
52144
 
+           *" $arg "*) ;;
52145
 
+           *) xrpath="$xrpath $arg" ;;
52146
 
+           esac
52147
 
+         fi
52148
 
+         prev=
52149
 
+         continue
52150
 
+         ;;
52151
 
+       shrext)
52152
 
+         shrext_cmds="$arg"
52153
 
+         prev=
52154
 
+         continue
52155
 
+         ;;
52156
 
+       weak)
52157
 
+         weak_libs="$weak_libs $arg"
52158
 
+         prev=
52159
 
+         continue
52160
 
+         ;;
52161
 
+       xcclinker)
52162
 
+         linker_flags="$linker_flags $qarg"
52163
 
+         compiler_flags="$compiler_flags $qarg"
52164
 
+         prev=
52165
 
+         func_append compile_command " $qarg"
52166
 
+         func_append finalize_command " $qarg"
52167
 
+         continue
52168
 
+         ;;
52169
 
+       xcompiler)
52170
 
+         compiler_flags="$compiler_flags $qarg"
52171
 
+         prev=
52172
 
+         func_append compile_command " $qarg"
52173
 
+         func_append finalize_command " $qarg"
52174
 
+         continue
52175
 
+         ;;
52176
 
+       xlinker)
52177
 
+         linker_flags="$linker_flags $qarg"
52178
 
+         compiler_flags="$compiler_flags $wl$qarg"
52179
 
+         prev=
52180
 
+         func_append compile_command " $wl$qarg"
52181
 
+         func_append finalize_command " $wl$qarg"
52182
 
+         continue
52183
 
          ;;
52184
 
        *)
52185
 
-         $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
52186
 
-         exit $EXIT_FAILURE
52187
 
+         eval "$prev=\"\$arg\""
52188
 
+         prev=
52189
 
+         continue
52190
 
          ;;
52191
 
        esac
52192
 
-      else
52193
 
-       # We keep going just in case the user didn't refer to
52194
 
-       # lt_preloaded_symbols.  The linker will fail if global_symbol_pipe
52195
 
-       # really was required.
52196
 
-
52197
 
-       # Nullify the symbol file.
52198
 
-       compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
52199
 
-       finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
52200
 
-      fi
52201
 
-
52202
 
-      if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
52203
 
-       # Replace the output file specification.
52204
 
-       compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$output"'%g' | $NL2SP`
52205
 
-       link_command="$compile_command$compile_rpath"
52206
 
+      fi # test -n "$prev"
52207
 
 
52208
 
-       # We have no uninstalled library dependencies, so finalize right now.
52209
 
-       $show "$link_command"
52210
 
-       $run eval "$link_command"
52211
 
-       exit_status=$?
52212
 
+      prevarg="$arg"
52213
 
 
52214
 
-       # Delete the generated files.
52215
 
-       if test -n "$dlsyms"; then
52216
 
-         $show "$rm $output_objdir/${outputname}S.${objext}"
52217
 
-         $run $rm "$output_objdir/${outputname}S.${objext}"
52218
 
+      case $arg in
52219
 
+      -all-static)
52220
 
+       if test -n "$link_static_flag"; then
52221
 
+         # See comment for -static flag below, for more details.
52222
 
+         func_append compile_command " $link_static_flag"
52223
 
+         func_append finalize_command " $link_static_flag"
52224
 
        fi
52225
 
+       continue
52226
 
+       ;;
52227
 
 
52228
 
-       exit $exit_status
52229
 
-      fi
52230
 
-
52231
 
-      if test -n "$shlibpath_var"; then
52232
 
-       # We should set the shlibpath_var
52233
 
-       rpath=
52234
 
-       for dir in $temp_rpath; do
52235
 
-         case $dir in
52236
 
-         [\\/]* | [A-Za-z]:[\\/]*)
52237
 
-           # Absolute path.
52238
 
-           rpath="$rpath$dir:"
52239
 
-           ;;
52240
 
-         *)
52241
 
-           # Relative path: add a thisdir entry.
52242
 
-           rpath="$rpath\$thisdir/$dir:"
52243
 
-           ;;
52244
 
-         esac
52245
 
-       done
52246
 
-       temp_rpath="$rpath"
52247
 
-      fi
52248
 
+      -allow-undefined)
52249
 
+       # FIXME: remove this flag sometime in the future.
52250
 
+       func_fatal_error "\`-allow-undefined' must not be used because it is the default"
52251
 
+       ;;
52252
 
 
52253
 
-      if test -n "$compile_shlibpath$finalize_shlibpath"; then
52254
 
-       compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
52255
 
-      fi
52256
 
-      if test -n "$finalize_shlibpath"; then
52257
 
-       finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
52258
 
-      fi
52259
 
+      -avoid-version)
52260
 
+       avoid_version=yes
52261
 
+       continue
52262
 
+       ;;
52263
 
 
52264
 
-      compile_var=
52265
 
-      finalize_var=
52266
 
-      if test -n "$runpath_var"; then
52267
 
-       if test -n "$perm_rpath"; then
52268
 
-         # We should set the runpath_var.
52269
 
-         rpath=
52270
 
-         for dir in $perm_rpath; do
52271
 
-           rpath="$rpath$dir:"
52272
 
-         done
52273
 
-         compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
52274
 
-       fi
52275
 
-       if test -n "$finalize_perm_rpath"; then
52276
 
-         # We should set the runpath_var.
52277
 
-         rpath=
52278
 
-         for dir in $finalize_perm_rpath; do
52279
 
-           rpath="$rpath$dir:"
52280
 
-         done
52281
 
-         finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
52282
 
-       fi
52283
 
-      fi
52284
 
+      -dlopen)
52285
 
+       prev=dlfiles
52286
 
+       continue
52287
 
+       ;;
52288
 
 
52289
 
-      if test "$no_install" = yes; then
52290
 
-       # We don't need to create a wrapper script.
52291
 
-       link_command="$compile_var$compile_command$compile_rpath"
52292
 
-       # Replace the output file specification.
52293
 
-       link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
52294
 
-       # Delete the old output file.
52295
 
-       $run $rm $output
52296
 
-       # Link the executable and exit
52297
 
-       $show "$link_command"
52298
 
-       $run eval "$link_command" || exit $?
52299
 
-       exit $EXIT_SUCCESS
52300
 
-      fi
52301
 
+      -dlpreopen)
52302
 
+       prev=dlprefiles
52303
 
+       continue
52304
 
+       ;;
52305
 
 
52306
 
-      if test "$hardcode_action" = relink; then
52307
 
-       # Fast installation is not supported
52308
 
-       link_command="$compile_var$compile_command$compile_rpath"
52309
 
-       relink_command="$finalize_var$finalize_command$finalize_rpath"
52310
 
+      -export-dynamic)
52311
 
+       export_dynamic=yes
52312
 
+       continue
52313
 
+       ;;
52314
 
 
52315
 
-       $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2
52316
 
-       $echo "$modename: \`$output' will be relinked during installation" 1>&2
52317
 
-      else
52318
 
-       if test "$fast_install" != no; then
52319
 
-         link_command="$finalize_var$compile_command$finalize_rpath"
52320
 
-         if test "$fast_install" = yes; then
52321
 
-           relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $SP2NL | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g' | $NL2SP`
52322
 
-         else
52323
 
-           # fast_install is set to needless
52324
 
-           relink_command=
52325
 
-         fi
52326
 
+      -export-symbols | -export-symbols-regex)
52327
 
+       if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
52328
 
+         func_fatal_error "more than one -exported-symbols argument is not allowed"
52329
 
+       fi
52330
 
+       if test "X$arg" = "X-export-symbols"; then
52331
 
+         prev=expsyms
52332
 
        else
52333
 
-         link_command="$compile_var$compile_command$compile_rpath"
52334
 
-         relink_command="$finalize_var$finalize_command$finalize_rpath"
52335
 
+         prev=expsyms_regex
52336
 
        fi
52337
 
-      fi
52338
 
-
52339
 
-      # Replace the output file specification.
52340
 
-      link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
52341
 
+       continue
52342
 
+       ;;
52343
 
 
52344
 
-      # Delete the old output files.
52345
 
-      $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname
52346
 
+      -framework)
52347
 
+       prev=framework
52348
 
+       continue
52349
 
+       ;;
52350
 
 
52351
 
-      $show "$link_command"
52352
 
-      $run eval "$link_command" || exit $?
52353
 
+      -inst-prefix-dir)
52354
 
+       prev=inst_prefix
52355
 
+       continue
52356
 
+       ;;
52357
 
 
52358
 
-      # Now create the wrapper script.
52359
 
-      $show "creating $output"
52360
 
+      # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
52361
 
+      # so, if we see these flags be careful not to treat them like -L
52362
 
+      -L[A-Z][A-Z]*:*)
52363
 
+       case $with_gcc/$host in
52364
 
+       no/*-*-irix* | /*-*-irix*)
52365
 
+         func_append compile_command " $arg"
52366
 
+         func_append finalize_command " $arg"
52367
 
+         ;;
52368
 
+       esac
52369
 
+       continue
52370
 
+       ;;
52371
 
 
52372
 
-      # Quote the relink command for shipping.
52373
 
-      if test -n "$relink_command"; then
52374
 
-       # Preserve any variables that may affect compiler behavior
52375
 
-       for var in $variables_saved_for_relink; do
52376
 
-         if eval test -z \"\${$var+set}\"; then
52377
 
-           relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
52378
 
-         elif eval var_value=\$$var; test -z "$var_value"; then
52379
 
-           relink_command="$var=; export $var; $relink_command"
52380
 
+      -L*)
52381
 
+       func_stripname '-L' '' "$arg"
52382
 
+       dir=$func_stripname_result
52383
 
+       if test -z "$dir"; then
52384
 
+         if test "$#" -gt 0; then
52385
 
+           func_fatal_error "require no space between \`-L' and \`$1'"
52386
 
          else
52387
 
-           var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
52388
 
-           relink_command="$var=\"$var_value\"; export $var; $relink_command"
52389
 
+           func_fatal_error "need path for \`-L' option"
52390
 
          fi
52391
 
-       done
52392
 
-       relink_command="(cd `pwd`; $relink_command)"
52393
 
-       relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
52394
 
-      fi
52395
 
-
52396
 
-      # Quote $echo for shipping.
52397
 
-      if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then
52398
 
-       case $progpath in
52399
 
-       [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
52400
 
-       *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
52401
 
+       fi
52402
 
+       # We need an absolute path.
52403
 
+       case $dir in
52404
 
+       [\\/]* | [A-Za-z]:[\\/]*) ;;
52405
 
+       *)
52406
 
+         absdir=`cd "$dir" && pwd`
52407
 
+         test -z "$absdir" && \
52408
 
+           func_fatal_error "cannot determine absolute directory name of \`$dir'"
52409
 
+         dir="$absdir"
52410
 
+         ;;
52411
 
        esac
52412
 
-       qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
52413
 
-      else
52414
 
-       qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"`
52415
 
-      fi
52416
 
-
52417
 
-      # Only actually do things if our run command is non-null.
52418
 
-      if test -z "$run"; then
52419
 
-       # win32 will think the script is a binary if it has
52420
 
-       # a .exe suffix, so we strip it off here.
52421
 
-       case $output in
52422
 
-         *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;;
52423
 
+       case "$deplibs " in
52424
 
+       *" -L$dir "*) ;;
52425
 
+       *)
52426
 
+         deplibs="$deplibs -L$dir"
52427
 
+         lib_search_path="$lib_search_path $dir"
52428
 
+         ;;
52429
 
        esac
52430
 
-       # test for cygwin because mv fails w/o .exe extensions
52431
 
        case $host in
52432
 
-         *cygwin*)
52433
 
-           exeext=.exe
52434
 
-           outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;;
52435
 
-         *) exeext= ;;
52436
 
+       *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
52437
 
+         testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'`
52438
 
+         case :$dllsearchpath: in
52439
 
+         *":$dir:"*) ;;
52440
 
+         ::) dllsearchpath=$dir;;
52441
 
+         *) dllsearchpath="$dllsearchpath:$dir";;
52442
 
+         esac
52443
 
+         case :$dllsearchpath: in
52444
 
+         *":$testbindir:"*) ;;
52445
 
+         ::) dllsearchpath=$testbindir;;
52446
 
+         *) dllsearchpath="$dllsearchpath:$testbindir";;
52447
 
+         esac
52448
 
+         ;;
52449
 
        esac
52450
 
-       case $host in
52451
 
-         *cygwin* | *mingw* )
52452
 
-            output_name=`basename $output`
52453
 
-            output_path=`dirname $output`
52454
 
-            cwrappersource="$output_path/$objdir/lt-$output_name.c"
52455
 
-            cwrapper="$output_path/$output_name.exe"
52456
 
-            $rm $cwrappersource $cwrapper
52457
 
-            trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
52458
 
+       continue
52459
 
+       ;;
52460
 
 
52461
 
-           cat > $cwrappersource <<EOF
52462
 
+      -l*)
52463
 
+       if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
52464
 
+         case $host in
52465
 
+         *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*)
52466
 
+           # These systems don't actually have a C or math library (as such)
52467
 
+           continue
52468
 
+           ;;
52469
 
+         *-*-os2*)
52470
 
+           # These systems don't actually have a C library (as such)
52471
 
+           test "X$arg" = "X-lc" && continue
52472
 
+           ;;
52473
 
+         *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
52474
 
+           # Do not include libc due to us having libc/libc_r.
52475
 
+           test "X$arg" = "X-lc" && continue
52476
 
+           ;;
52477
 
+         *-*-rhapsody* | *-*-darwin1.[012])
52478
 
+           # Rhapsody C and math libraries are in the System framework
52479
 
+           deplibs="$deplibs System.ltframework"
52480
 
+           continue
52481
 
+           ;;
52482
 
+         *-*-sco3.2v5* | *-*-sco5v6*)
52483
 
+           # Causes problems with __ctype
52484
 
+           test "X$arg" = "X-lc" && continue
52485
 
+           ;;
52486
 
+         *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
52487
 
+           # Compiler inserts libc in the correct place for threads to work
52488
 
+           test "X$arg" = "X-lc" && continue
52489
 
+           ;;
52490
 
+         esac
52491
 
+       elif test "X$arg" = "X-lc_r"; then
52492
 
+        case $host in
52493
 
+        *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
52494
 
+          # Do not include libc_r directly, use -pthread flag.
52495
 
+          continue
52496
 
+          ;;
52497
 
+        esac
52498
 
+       fi
52499
 
+       deplibs="$deplibs $arg"
52500
 
+       continue
52501
 
+       ;;
52502
 
 
52503
 
-/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
52504
 
-   Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
52505
 
+      -module)
52506
 
+       module=yes
52507
 
+       continue
52508
 
+       ;;
52509
 
 
52510
 
-   The $output program cannot be directly executed until all the libtool
52511
 
-   libraries that it depends on are installed.
52512
 
+      # Tru64 UNIX uses -model [arg] to determine the layout of C++
52513
 
+      # classes, name mangling, and exception handling.
52514
 
+      # Darwin uses the -arch flag to determine output architecture.
52515
 
+      -model|-arch|-isysroot)
52516
 
+       compiler_flags="$compiler_flags $arg"
52517
 
+       func_append compile_command " $arg"
52518
 
+       func_append finalize_command " $arg"
52519
 
+       prev=xcompiler
52520
 
+       continue
52521
 
+       ;;
52522
 
 
52523
 
-   This wrapper executable should never be moved out of the build directory.
52524
 
-   If it is, it will not operate correctly.
52525
 
+      -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
52526
 
+       compiler_flags="$compiler_flags $arg"
52527
 
+       func_append compile_command " $arg"
52528
 
+       func_append finalize_command " $arg"
52529
 
+       case "$new_inherited_linker_flags " in
52530
 
+           *" $arg "*) ;;
52531
 
+           * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;;
52532
 
+       esac
52533
 
+       continue
52534
 
+       ;;
52535
 
 
52536
 
-   Currently, it simply execs the wrapper *script* "/bin/sh $output",
52537
 
-   but could eventually absorb all of the scripts functionality and
52538
 
-   exec $objdir/$outputname directly.
52539
 
-*/
52540
 
-EOF
52541
 
-           cat >> $cwrappersource<<"EOF"
52542
 
-#include <stdio.h>
52543
 
-#include <stdlib.h>
52544
 
-#include <unistd.h>
52545
 
-#include <malloc.h>
52546
 
-#include <stdarg.h>
52547
 
-#include <assert.h>
52548
 
-#include <string.h>
52549
 
-#include <ctype.h>
52550
 
-#include <sys/stat.h>
52551
 
+      -multi_module)
52552
 
+       single_module="${wl}-multi_module"
52553
 
+       continue
52554
 
+       ;;
52555
 
 
52556
 
-#if defined(PATH_MAX)
52557
 
-# define LT_PATHMAX PATH_MAX
52558
 
-#elif defined(MAXPATHLEN)
52559
 
-# define LT_PATHMAX MAXPATHLEN
52560
 
-#else
52561
 
-# define LT_PATHMAX 1024
52562
 
-#endif
52563
 
+      -no-fast-install)
52564
 
+       fast_install=no
52565
 
+       continue
52566
 
+       ;;
52567
 
 
52568
 
-#ifndef DIR_SEPARATOR
52569
 
-# define DIR_SEPARATOR '/'
52570
 
-# define PATH_SEPARATOR ':'
52571
 
-#endif
52572
 
+      -no-install)
52573
 
+       case $host in
52574
 
+       *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*)
52575
 
+         # The PATH hackery in wrapper scripts is required on Windows
52576
 
+         # and Darwin in order for the loader to find any dlls it needs.
52577
 
+         func_warning "\`-no-install' is ignored for $host"
52578
 
+         func_warning "assuming \`-no-fast-install' instead"
52579
 
+         fast_install=no
52580
 
+         ;;
52581
 
+       *) no_install=yes ;;
52582
 
+       esac
52583
 
+       continue
52584
 
+       ;;
52585
 
 
52586
 
-#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
52587
 
-  defined (__OS2__)
52588
 
-# define HAVE_DOS_BASED_FILE_SYSTEM
52589
 
-# ifndef DIR_SEPARATOR_2
52590
 
-#  define DIR_SEPARATOR_2 '\\'
52591
 
-# endif
52592
 
-# ifndef PATH_SEPARATOR_2
52593
 
-#  define PATH_SEPARATOR_2 ';'
52594
 
-# endif
52595
 
-#endif
52596
 
+      -no-undefined)
52597
 
+       allow_undefined=no
52598
 
+       continue
52599
 
+       ;;
52600
 
 
52601
 
-#ifndef DIR_SEPARATOR_2
52602
 
-# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
52603
 
-#else /* DIR_SEPARATOR_2 */
52604
 
-# define IS_DIR_SEPARATOR(ch) \
52605
 
-        (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
52606
 
-#endif /* DIR_SEPARATOR_2 */
52607
 
+      -objectlist)
52608
 
+       prev=objectlist
52609
 
+       continue
52610
 
+       ;;
52611
 
 
52612
 
-#ifndef PATH_SEPARATOR_2
52613
 
-# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
52614
 
-#else /* PATH_SEPARATOR_2 */
52615
 
-# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
52616
 
-#endif /* PATH_SEPARATOR_2 */
52617
 
+      -o) prev=output ;;
52618
 
 
52619
 
-#define XMALLOC(type, num)      ((type *) xmalloc ((num) * sizeof(type)))
52620
 
-#define XFREE(stale) do { \
52621
 
-  if (stale) { free ((void *) stale); stale = 0; } \
52622
 
-} while (0)
52623
 
+      -precious-files-regex)
52624
 
+       prev=precious_regex
52625
 
+       continue
52626
 
+       ;;
52627
 
 
52628
 
-/* -DDEBUG is fairly common in CFLAGS.  */
52629
 
-#undef DEBUG
52630
 
-#if defined DEBUGWRAPPER
52631
 
-# define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__)
52632
 
-#else
52633
 
-# define DEBUG(format, ...)
52634
 
-#endif
52635
 
+      -release)
52636
 
+       prev=release
52637
 
+       continue
52638
 
+       ;;
52639
 
 
52640
 
-const char *program_name = NULL;
52641
 
+      -rpath)
52642
 
+       prev=rpath
52643
 
+       continue
52644
 
+       ;;
52645
 
 
52646
 
-void * xmalloc (size_t num);
52647
 
-char * xstrdup (const char *string);
52648
 
-const char * base_name (const char *name);
52649
 
-char * find_executable(const char *wrapper);
52650
 
-int    check_executable(const char *path);
52651
 
-char * strendzap(char *str, const char *pat);
52652
 
-void lt_fatal (const char *message, ...);
52653
 
+      -R)
52654
 
+       prev=xrpath
52655
 
+       continue
52656
 
+       ;;
52657
 
 
52658
 
-int
52659
 
-main (int argc, char *argv[])
52660
 
-{
52661
 
-  char **newargz;
52662
 
-  int i;
52663
 
+      -R*)
52664
 
+       func_stripname '-R' '' "$arg"
52665
 
+       dir=$func_stripname_result
52666
 
+       # We need an absolute path.
52667
 
+       case $dir in
52668
 
+       [\\/]* | [A-Za-z]:[\\/]*) ;;
52669
 
+       *)
52670
 
+         func_fatal_error "only absolute run-paths are allowed"
52671
 
+         ;;
52672
 
+       esac
52673
 
+       case "$xrpath " in
52674
 
+       *" $dir "*) ;;
52675
 
+       *) xrpath="$xrpath $dir" ;;
52676
 
+       esac
52677
 
+       continue
52678
 
+       ;;
52679
 
 
52680
 
-  program_name = (char *) xstrdup (base_name (argv[0]));
52681
 
-  DEBUG("(main) argv[0]      : %s\n",argv[0]);
52682
 
-  DEBUG("(main) program_name : %s\n",program_name);
52683
 
-  newargz = XMALLOC(char *, argc+2);
52684
 
-EOF
52685
 
+      -shared)
52686
 
+       # The effects of -shared are defined in a previous loop.
52687
 
+       continue
52688
 
+       ;;
52689
 
 
52690
 
-            cat >> $cwrappersource <<EOF
52691
 
-  newargz[0] = (char *) xstrdup("$SHELL");
52692
 
-EOF
52693
 
+      -shrext)
52694
 
+       prev=shrext
52695
 
+       continue
52696
 
+       ;;
52697
 
 
52698
 
-            cat >> $cwrappersource <<"EOF"
52699
 
-  newargz[1] = find_executable(argv[0]);
52700
 
-  if (newargz[1] == NULL)
52701
 
-    lt_fatal("Couldn't find %s", argv[0]);
52702
 
-  DEBUG("(main) found exe at : %s\n",newargz[1]);
52703
 
-  /* we know the script has the same name, without the .exe */
52704
 
-  /* so make sure newargz[1] doesn't end in .exe */
52705
 
-  strendzap(newargz[1],".exe");
52706
 
-  for (i = 1; i < argc; i++)
52707
 
-    newargz[i+1] = xstrdup(argv[i]);
52708
 
-  newargz[argc+1] = NULL;
52709
 
+      -static | -static-libtool-libs)
52710
 
+       # The effects of -static are defined in a previous loop.
52711
 
+       # We used to do the same as -all-static on platforms that
52712
 
+       # didn't have a PIC flag, but the assumption that the effects
52713
 
+       # would be equivalent was wrong.  It would break on at least
52714
 
+       # Digital Unix and AIX.
52715
 
+       continue
52716
 
+       ;;
52717
 
 
52718
 
-  for (i=0; i<argc+1; i++)
52719
 
-  {
52720
 
-    DEBUG("(main) newargz[%d]   : %s\n",i,newargz[i]);
52721
 
-    ;
52722
 
-  }
52723
 
+      -thread-safe)
52724
 
+       thread_safe=yes
52725
 
+       continue
52726
 
+       ;;
52727
 
 
52728
 
-EOF
52729
 
+      -version-info)
52730
 
+       prev=vinfo
52731
 
+       continue
52732
 
+       ;;
52733
 
 
52734
 
-            case $host_os in
52735
 
-              mingw*)
52736
 
-                cat >> $cwrappersource <<EOF
52737
 
-  execv("$SHELL",(char const **)newargz);
52738
 
-EOF
52739
 
-              ;;
52740
 
-              *)
52741
 
-                cat >> $cwrappersource <<EOF
52742
 
-  execv("$SHELL",newargz);
52743
 
-EOF
52744
 
-              ;;
52745
 
-            esac
52746
 
+      -version-number)
52747
 
+       prev=vinfo
52748
 
+       vinfo_number=yes
52749
 
+       continue
52750
 
+       ;;
52751
 
 
52752
 
-            cat >> $cwrappersource <<"EOF"
52753
 
-  return 127;
52754
 
-}
52755
 
+      -weak)
52756
 
+        prev=weak
52757
 
+       continue
52758
 
+       ;;
52759
 
 
52760
 
-void *
52761
 
-xmalloc (size_t num)
52762
 
-{
52763
 
-  void * p = (void *) malloc (num);
52764
 
-  if (!p)
52765
 
-    lt_fatal ("Memory exhausted");
52766
 
+      -Wc,*)
52767
 
+       func_stripname '-Wc,' '' "$arg"
52768
 
+       args=$func_stripname_result
52769
 
+       arg=
52770
 
+       save_ifs="$IFS"; IFS=','
52771
 
+       for flag in $args; do
52772
 
+         IFS="$save_ifs"
52773
 
+          func_quote_for_eval "$flag"
52774
 
+         arg="$arg $wl$func_quote_for_eval_result"
52775
 
+         compiler_flags="$compiler_flags $func_quote_for_eval_result"
52776
 
+       done
52777
 
+       IFS="$save_ifs"
52778
 
+       func_stripname ' ' '' "$arg"
52779
 
+       arg=$func_stripname_result
52780
 
+       ;;
52781
 
 
52782
 
-  return p;
52783
 
-}
52784
 
+      -Wl,*)
52785
 
+       func_stripname '-Wl,' '' "$arg"
52786
 
+       args=$func_stripname_result
52787
 
+       arg=
52788
 
+       save_ifs="$IFS"; IFS=','
52789
 
+       for flag in $args; do
52790
 
+         IFS="$save_ifs"
52791
 
+          func_quote_for_eval "$flag"
52792
 
+         arg="$arg $wl$func_quote_for_eval_result"
52793
 
+         compiler_flags="$compiler_flags $wl$func_quote_for_eval_result"
52794
 
+         linker_flags="$linker_flags $func_quote_for_eval_result"
52795
 
+       done
52796
 
+       IFS="$save_ifs"
52797
 
+       func_stripname ' ' '' "$arg"
52798
 
+       arg=$func_stripname_result
52799
 
+       ;;
52800
 
 
52801
 
-char *
52802
 
-xstrdup (const char *string)
52803
 
-{
52804
 
-  return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL
52805
 
-;
52806
 
-}
52807
 
+      -Xcompiler)
52808
 
+       prev=xcompiler
52809
 
+       continue
52810
 
+       ;;
52811
 
 
52812
 
-const char *
52813
 
-base_name (const char *name)
52814
 
-{
52815
 
-  const char *base;
52816
 
+      -Xlinker)
52817
 
+       prev=xlinker
52818
 
+       continue
52819
 
+       ;;
52820
 
 
52821
 
-#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
52822
 
-  /* Skip over the disk name in MSDOS pathnames. */
52823
 
-  if (isalpha ((unsigned char)name[0]) && name[1] == ':')
52824
 
-    name += 2;
52825
 
-#endif
52826
 
+      -XCClinker)
52827
 
+       prev=xcclinker
52828
 
+       continue
52829
 
+       ;;
52830
 
 
52831
 
-  for (base = name; *name; name++)
52832
 
-    if (IS_DIR_SEPARATOR (*name))
52833
 
-      base = name + 1;
52834
 
-  return base;
52835
 
-}
52836
 
+      # -msg_* for osf cc
52837
 
+      -msg_*)
52838
 
+       func_quote_for_eval "$arg"
52839
 
+       arg="$func_quote_for_eval_result"
52840
 
+       ;;
52841
 
 
52842
 
-int
52843
 
-check_executable(const char * path)
52844
 
-{
52845
 
-  struct stat st;
52846
 
+      # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
52847
 
+      # -r[0-9][0-9]* specifies the processor on the SGI compiler
52848
 
+      # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
52849
 
+      # +DA*, +DD* enable 64-bit mode on the HP compiler
52850
 
+      # -q* pass through compiler args for the IBM compiler
52851
 
+      # -m*, -t[45]*, -txscale* pass through architecture-specific
52852
 
+      # compiler args for GCC
52853
 
+      # -F/path gives path to uninstalled frameworks, gcc on darwin
52854
 
+      # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
52855
 
+      # @file GCC response files
52856
 
+      -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
52857
 
+      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
52858
 
+        func_quote_for_eval "$arg"
52859
 
+       arg="$func_quote_for_eval_result"
52860
 
+        func_append compile_command " $arg"
52861
 
+        func_append finalize_command " $arg"
52862
 
+        compiler_flags="$compiler_flags $arg"
52863
 
+        continue
52864
 
+        ;;
52865
 
 
52866
 
-  DEBUG("(check_executable)  : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!");
52867
 
-  if ((!path) || (!*path))
52868
 
-    return 0;
52869
 
+      # Some other compiler flag.
52870
 
+      -* | +*)
52871
 
+        func_quote_for_eval "$arg"
52872
 
+       arg="$func_quote_for_eval_result"
52873
 
+       ;;
52874
 
 
52875
 
-  if ((stat (path, &st) >= 0) &&
52876
 
-      (
52877
 
-        /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */
52878
 
-#if defined (S_IXOTH)
52879
 
-       ((st.st_mode & S_IXOTH) == S_IXOTH) ||
52880
 
-#endif
52881
 
-#if defined (S_IXGRP)
52882
 
-       ((st.st_mode & S_IXGRP) == S_IXGRP) ||
52883
 
-#endif
52884
 
-       ((st.st_mode & S_IXUSR) == S_IXUSR))
52885
 
-      )
52886
 
-    return 1;
52887
 
-  else
52888
 
-    return 0;
52889
 
-}
52890
 
+      *.$objext)
52891
 
+       # A standard object.
52892
 
+       objs="$objs $arg"
52893
 
+       ;;
52894
 
 
52895
 
-/* Searches for the full path of the wrapper.  Returns
52896
 
-   newly allocated full path name if found, NULL otherwise */
52897
 
-char *
52898
 
-find_executable (const char* wrapper)
52899
 
-{
52900
 
-  int has_slash = 0;
52901
 
-  const char* p;
52902
 
-  const char* p_next;
52903
 
-  /* static buffer for getcwd */
52904
 
-  char tmp[LT_PATHMAX + 1];
52905
 
-  int tmp_len;
52906
 
-  char* concat_name;
52907
 
+      *.lo)
52908
 
+       # A libtool-controlled object.
52909
 
 
52910
 
-  DEBUG("(find_executable)  : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!");
52911
 
+       # Check to see that this really is a libtool object.
52912
 
+       if func_lalib_unsafe_p "$arg"; then
52913
 
+         pic_object=
52914
 
+         non_pic_object=
52915
 
 
52916
 
-  if ((wrapper == NULL) || (*wrapper == '\0'))
52917
 
-    return NULL;
52918
 
+         # Read the .lo file
52919
 
+         func_source "$arg"
52920
 
 
52921
 
-  /* Absolute path? */
52922
 
-#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
52923
 
-  if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':')
52924
 
-  {
52925
 
-    concat_name = xstrdup (wrapper);
52926
 
-    if (check_executable(concat_name))
52927
 
-      return concat_name;
52928
 
-    XFREE(concat_name);
52929
 
-  }
52930
 
-  else
52931
 
-  {
52932
 
-#endif
52933
 
-    if (IS_DIR_SEPARATOR (wrapper[0]))
52934
 
-    {
52935
 
-      concat_name = xstrdup (wrapper);
52936
 
-      if (check_executable(concat_name))
52937
 
-        return concat_name;
52938
 
-      XFREE(concat_name);
52939
 
-    }
52940
 
-#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
52941
 
-  }
52942
 
-#endif
52943
 
+         if test -z "$pic_object" ||
52944
 
+            test -z "$non_pic_object" ||
52945
 
+            test "$pic_object" = none &&
52946
 
+            test "$non_pic_object" = none; then
52947
 
+           func_fatal_error "cannot find name of object for \`$arg'"
52948
 
+         fi
52949
 
 
52950
 
-  for (p = wrapper; *p; p++)
52951
 
-    if (*p == '/')
52952
 
-    {
52953
 
-      has_slash = 1;
52954
 
-      break;
52955
 
-    }
52956
 
-  if (!has_slash)
52957
 
-  {
52958
 
-    /* no slashes; search PATH */
52959
 
-    const char* path = getenv ("PATH");
52960
 
-    if (path != NULL)
52961
 
-    {
52962
 
-      for (p = path; *p; p = p_next)
52963
 
-      {
52964
 
-        const char* q;
52965
 
-        size_t p_len;
52966
 
-        for (q = p; *q; q++)
52967
 
-          if (IS_PATH_SEPARATOR(*q))
52968
 
-            break;
52969
 
-        p_len = q - p;
52970
 
-        p_next = (*q == '\0' ? q : q + 1);
52971
 
-        if (p_len == 0)
52972
 
-        {
52973
 
-          /* empty path: current directory */
52974
 
-          if (getcwd (tmp, LT_PATHMAX) == NULL)
52975
 
-            lt_fatal ("getcwd failed");
52976
 
-          tmp_len = strlen(tmp);
52977
 
-          concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
52978
 
-          memcpy (concat_name, tmp, tmp_len);
52979
 
-          concat_name[tmp_len] = '/';
52980
 
-          strcpy (concat_name + tmp_len + 1, wrapper);
52981
 
-        }
52982
 
-        else
52983
 
-        {
52984
 
-          concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1);
52985
 
-          memcpy (concat_name, p, p_len);
52986
 
-          concat_name[p_len] = '/';
52987
 
-          strcpy (concat_name + p_len + 1, wrapper);
52988
 
-        }
52989
 
-        if (check_executable(concat_name))
52990
 
-          return concat_name;
52991
 
-        XFREE(concat_name);
52992
 
-      }
52993
 
-    }
52994
 
-    /* not found in PATH; assume curdir */
52995
 
-  }
52996
 
-  /* Relative path | not found in path: prepend cwd */
52997
 
-  if (getcwd (tmp, LT_PATHMAX) == NULL)
52998
 
-    lt_fatal ("getcwd failed");
52999
 
-  tmp_len = strlen(tmp);
53000
 
-  concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
53001
 
-  memcpy (concat_name, tmp, tmp_len);
53002
 
-  concat_name[tmp_len] = '/';
53003
 
-  strcpy (concat_name + tmp_len + 1, wrapper);
53004
 
+         # Extract subdirectory from the argument.
53005
 
+         func_dirname "$arg" "/" ""
53006
 
+         xdir="$func_dirname_result"
53007
 
 
53008
 
-  if (check_executable(concat_name))
53009
 
-    return concat_name;
53010
 
-  XFREE(concat_name);
53011
 
-  return NULL;
53012
 
-}
53013
 
+         if test "$pic_object" != none; then
53014
 
+           # Prepend the subdirectory the object is found in.
53015
 
+           pic_object="$xdir$pic_object"
53016
 
 
53017
 
-char *
53018
 
-strendzap(char *str, const char *pat)
53019
 
-{
53020
 
-  size_t len, patlen;
53021
 
+           if test "$prev" = dlfiles; then
53022
 
+             if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
53023
 
+               dlfiles="$dlfiles $pic_object"
53024
 
+               prev=
53025
 
+               continue
53026
 
+             else
53027
 
+               # If libtool objects are unsupported, then we need to preload.
53028
 
+               prev=dlprefiles
53029
 
+             fi
53030
 
+           fi
53031
 
 
53032
 
-  assert(str != NULL);
53033
 
-  assert(pat != NULL);
53034
 
+           # CHECK ME:  I think I busted this.  -Ossama
53035
 
+           if test "$prev" = dlprefiles; then
53036
 
+             # Preload the old-style object.
53037
 
+             dlprefiles="$dlprefiles $pic_object"
53038
 
+             prev=
53039
 
+           fi
53040
 
 
53041
 
-  len = strlen(str);
53042
 
-  patlen = strlen(pat);
53043
 
+           # A PIC object.
53044
 
+           func_append libobjs " $pic_object"
53045
 
+           arg="$pic_object"
53046
 
+         fi
53047
 
 
53048
 
-  if (patlen <= len)
53049
 
-  {
53050
 
-    str += len - patlen;
53051
 
-    if (strcmp(str, pat) == 0)
53052
 
-      *str = '\0';
53053
 
-  }
53054
 
-  return str;
53055
 
-}
53056
 
+         # Non-PIC object.
53057
 
+         if test "$non_pic_object" != none; then
53058
 
+           # Prepend the subdirectory the object is found in.
53059
 
+           non_pic_object="$xdir$non_pic_object"
53060
 
 
53061
 
-static void
53062
 
-lt_error_core (int exit_status, const char * mode,
53063
 
-          const char * message, va_list ap)
53064
 
-{
53065
 
-  fprintf (stderr, "%s: %s: ", program_name, mode);
53066
 
-  vfprintf (stderr, message, ap);
53067
 
-  fprintf (stderr, ".\n");
53068
 
+           # A standard non-PIC object
53069
 
+           func_append non_pic_objects " $non_pic_object"
53070
 
+           if test -z "$pic_object" || test "$pic_object" = none ; then
53071
 
+             arg="$non_pic_object"
53072
 
+           fi
53073
 
+         else
53074
 
+           # If the PIC object exists, use it instead.
53075
 
+           # $xdir was prepended to $pic_object above.
53076
 
+           non_pic_object="$pic_object"
53077
 
+           func_append non_pic_objects " $non_pic_object"
53078
 
+         fi
53079
 
+       else
53080
 
+         # Only an error if not doing a dry-run.
53081
 
+         if $opt_dry_run; then
53082
 
+           # Extract subdirectory from the argument.
53083
 
+           func_dirname "$arg" "/" ""
53084
 
+           xdir="$func_dirname_result"
53085
 
 
53086
 
-  if (exit_status >= 0)
53087
 
-    exit (exit_status);
53088
 
-}
53089
 
+           func_lo2o "$arg"
53090
 
+           pic_object=$xdir$objdir/$func_lo2o_result
53091
 
+           non_pic_object=$xdir$func_lo2o_result
53092
 
+           func_append libobjs " $pic_object"
53093
 
+           func_append non_pic_objects " $non_pic_object"
53094
 
+         else
53095
 
+           func_fatal_error "\`$arg' is not a valid libtool object"
53096
 
+         fi
53097
 
+       fi
53098
 
+       ;;
53099
 
 
53100
 
-void
53101
 
-lt_fatal (const char *message, ...)
53102
 
-{
53103
 
-  va_list ap;
53104
 
-  va_start (ap, message);
53105
 
-  lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
53106
 
-  va_end (ap);
53107
 
-}
53108
 
-EOF
53109
 
-          # we should really use a build-platform specific compiler
53110
 
-          # here, but OTOH, the wrappers (shell script and this C one)
53111
 
-          # are only useful if you want to execute the "real" binary.
53112
 
-          # Since the "real" binary is built for $host, then this
53113
 
-          # wrapper might as well be built for $host, too.
53114
 
-          $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource
53115
 
-          ;;
53116
 
-        esac
53117
 
-        $rm $output
53118
 
-        trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
53119
 
+      *.$libext)
53120
 
+       # An archive.
53121
 
+       deplibs="$deplibs $arg"
53122
 
+       old_deplibs="$old_deplibs $arg"
53123
 
+       continue
53124
 
+       ;;
53125
 
 
53126
 
-       $echo > $output "\
53127
 
-#! $SHELL
53128
 
+      *.la)
53129
 
+       # A libtool-controlled library.
53130
 
 
53131
 
-# $output - temporary wrapper script for $objdir/$outputname
53132
 
-# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
53133
 
-#
53134
 
-# The $output program cannot be directly executed until all the libtool
53135
 
-# libraries that it depends on are installed.
53136
 
-#
53137
 
-# This wrapper script should never be moved out of the build directory.
53138
 
-# If it is, it will not operate correctly.
53139
 
+       if test "$prev" = dlfiles; then
53140
 
+         # This library was specified with -dlopen.
53141
 
+         dlfiles="$dlfiles $arg"
53142
 
+         prev=
53143
 
+       elif test "$prev" = dlprefiles; then
53144
 
+         # The library was specified with -dlpreopen.
53145
 
+         dlprefiles="$dlprefiles $arg"
53146
 
+         prev=
53147
 
+       else
53148
 
+         deplibs="$deplibs $arg"
53149
 
+       fi
53150
 
+       continue
53151
 
+       ;;
53152
 
 
53153
 
-# Sed substitution that helps us do robust quoting.  It backslashifies
53154
 
-# metacharacters that are still active within double-quoted strings.
53155
 
-Xsed='${SED} -e 1s/^X//'
53156
 
-sed_quote_subst='$sed_quote_subst'
53157
 
+      # Some other compiler argument.
53158
 
+      *)
53159
 
+       # Unknown arguments in both finalize_command and compile_command need
53160
 
+       # to be aesthetically quoted because they are evaled later.
53161
 
+       func_quote_for_eval "$arg"
53162
 
+       arg="$func_quote_for_eval_result"
53163
 
+       ;;
53164
 
+      esac # arg
53165
 
 
53166
 
-# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
53167
 
-if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
53168
 
-  emulate sh
53169
 
-  NULLCMD=:
53170
 
-  # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
53171
 
-  # is contrary to our usage.  Disable this feature.
53172
 
-  alias -g '\${1+\"\$@\"}'='\"\$@\"'
53173
 
-  setopt NO_GLOB_SUBST
53174
 
-else
53175
 
-  case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
53176
 
-fi
53177
 
-BIN_SH=xpg4; export BIN_SH # for Tru64
53178
 
-DUALCASE=1; export DUALCASE # for MKS sh
53179
 
+      # Now actually substitute the argument into the commands.
53180
 
+      if test -n "$arg"; then
53181
 
+       func_append compile_command " $arg"
53182
 
+       func_append finalize_command " $arg"
53183
 
+      fi
53184
 
+    done # argument parsing loop
53185
 
 
53186
 
-# The HP-UX ksh and POSIX shell print the target directory to stdout
53187
 
-# if CDPATH is set.
53188
 
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
53189
 
+    test -n "$prev" && \
53190
 
+      func_fatal_help "the \`$prevarg' option requires an argument"
53191
 
 
53192
 
-relink_command=\"$relink_command\"
53193
 
+    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
53194
 
+      eval arg=\"$export_dynamic_flag_spec\"
53195
 
+      func_append compile_command " $arg"
53196
 
+      func_append finalize_command " $arg"
53197
 
+    fi
53198
 
 
53199
 
-# This environment variable determines our operation mode.
53200
 
-if test \"\$libtool_install_magic\" = \"$magic\"; then
53201
 
-  # install mode needs the following variable:
53202
 
-  notinst_deplibs='$notinst_deplibs'
53203
 
-else
53204
 
-  # When we are sourced in execute mode, \$file and \$echo are already set.
53205
 
-  if test \"\$libtool_execute_magic\" != \"$magic\"; then
53206
 
-    echo=\"$qecho\"
53207
 
-    file=\"\$0\"
53208
 
-    # Make sure echo works.
53209
 
-    if test \"X\$1\" = X--no-reexec; then
53210
 
-      # Discard the --no-reexec flag, and continue.
53211
 
-      shift
53212
 
-    elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then
53213
 
-      # Yippee, \$echo works!
53214
 
-      :
53215
 
+    oldlibs=
53216
 
+    # calculate the name of the file, without its directory
53217
 
+    func_basename "$output"
53218
 
+    outputname="$func_basename_result"
53219
 
+    libobjs_save="$libobjs"
53220
 
+
53221
 
+    if test -n "$shlibpath_var"; then
53222
 
+      # get the directories listed in $shlibpath_var
53223
 
+      eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
53224
 
     else
53225
 
-      # Restart under the correct shell, and then maybe \$echo will work.
53226
 
-      exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
53227
 
+      shlib_search_path=
53228
 
     fi
53229
 
-  fi\
53230
 
-"
53231
 
-       $echo >> $output "\
53232
 
+    eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
53233
 
+    eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
53234
 
 
53235
 
-  # Find the directory that this script lives in.
53236
 
-  thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
53237
 
-  test \"x\$thisdir\" = \"x\$file\" && thisdir=.
53238
 
+    func_dirname "$output" "/" ""
53239
 
+    output_objdir="$func_dirname_result$objdir"
53240
 
+    # Create the object directory.
53241
 
+    func_mkdir_p "$output_objdir"
53242
 
 
53243
 
-  # Follow symbolic links until we get to the real thisdir.
53244
 
-  file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
53245
 
-  while test -n \"\$file\"; do
53246
 
-    destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
53247
 
+    # Determine the type of output
53248
 
+    case $output in
53249
 
+    "")
53250
 
+      func_fatal_help "you must specify an output file"
53251
 
+      ;;
53252
 
+    *.$libext) linkmode=oldlib ;;
53253
 
+    *.lo | *.$objext) linkmode=obj ;;
53254
 
+    *.la) linkmode=lib ;;
53255
 
+    *) linkmode=prog ;; # Anything else should be a program.
53256
 
+    esac
53257
 
+
53258
 
+    specialdeplibs=
53259
 
+
53260
 
+    libs=
53261
 
+    # Find all interdependent deplibs by searching for libraries
53262
 
+    # that are linked more than once (e.g. -la -lb -la)
53263
 
+    for deplib in $deplibs; do
53264
 
+      if $opt_duplicate_deps ; then
53265
 
+       case "$libs " in
53266
 
+       *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
53267
 
+       esac
53268
 
+      fi
53269
 
+      libs="$libs $deplib"
53270
 
+    done
53271
 
+
53272
 
+    if test "$linkmode" = lib; then
53273
 
+      libs="$predeps $libs $compiler_lib_search_path $postdeps"
53274
 
+
53275
 
+      # Compute libraries that are listed more than once in $predeps
53276
 
+      # $postdeps and mark them as special (i.e., whose duplicates are
53277
 
+      # not to be eliminated).
53278
 
+      pre_post_deps=
53279
 
+      if $opt_duplicate_compiler_generated_deps; then
53280
 
+       for pre_post_dep in $predeps $postdeps; do
53281
 
+         case "$pre_post_deps " in
53282
 
+         *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
53283
 
+         esac
53284
 
+         pre_post_deps="$pre_post_deps $pre_post_dep"
53285
 
+       done
53286
 
+      fi
53287
 
+      pre_post_deps=
53288
 
+    fi
53289
 
+
53290
 
+    deplibs=
53291
 
+    newdependency_libs=
53292
 
+    newlib_search_path=
53293
 
+    need_relink=no # whether we're linking any uninstalled libtool libraries
53294
 
+    notinst_deplibs= # not-installed libtool libraries
53295
 
+    notinst_path= # paths that contain not-installed libtool libraries
53296
 
+
53297
 
+    case $linkmode in
53298
 
+    lib)
53299
 
+       passes="conv dlpreopen link"
53300
 
+       for file in $dlfiles $dlprefiles; do
53301
 
+         case $file in
53302
 
+         *.la) ;;
53303
 
+         *)
53304
 
+           func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file"
53305
 
+           ;;
53306
 
+         esac
53307
 
+       done
53308
 
+       ;;
53309
 
+    prog)
53310
 
+       compile_deplibs=
53311
 
+       finalize_deplibs=
53312
 
+       alldeplibs=no
53313
 
+       newdlfiles=
53314
 
+       newdlprefiles=
53315
 
+       passes="conv scan dlopen dlpreopen link"
53316
 
+       ;;
53317
 
+    *)  passes="conv"
53318
 
+       ;;
53319
 
+    esac
53320
 
+
53321
 
+    for pass in $passes; do
53322
 
+      # The preopen pass in lib mode reverses $deplibs; put it back here
53323
 
+      # so that -L comes before libs that need it for instance...
53324
 
+      if test "$linkmode,$pass" = "lib,link"; then
53325
 
+       ## FIXME: Find the place where the list is rebuilt in the wrong
53326
 
+       ##        order, and fix it there properly
53327
 
+        tmp_deplibs=
53328
 
+       for deplib in $deplibs; do
53329
 
+         tmp_deplibs="$deplib $tmp_deplibs"
53330
 
+       done
53331
 
+       deplibs="$tmp_deplibs"
53332
 
+      fi
53333
 
+
53334
 
+      if test "$linkmode,$pass" = "lib,link" ||
53335
 
+        test "$linkmode,$pass" = "prog,scan"; then
53336
 
+       libs="$deplibs"
53337
 
+       deplibs=
53338
 
+      fi
53339
 
+      if test "$linkmode" = prog; then
53340
 
+       case $pass in
53341
 
+       dlopen) libs="$dlfiles" ;;
53342
 
+       dlpreopen) libs="$dlprefiles" ;;
53343
 
+       link)
53344
 
+         libs="$deplibs %DEPLIBS%"
53345
 
+         test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
53346
 
+         ;;
53347
 
+       esac
53348
 
+      fi
53349
 
+      if test "$linkmode,$pass" = "lib,dlpreopen"; then
53350
 
+       # Collect and forward deplibs of preopened libtool libs
53351
 
+       for lib in $dlprefiles; do
53352
 
+         # Ignore non-libtool-libs
53353
 
+         dependency_libs=
53354
 
+         case $lib in
53355
 
+         *.la) func_source "$lib" ;;
53356
 
+         esac
53357
 
+
53358
 
+         # Collect preopened libtool deplibs, except any this library
53359
 
+         # has declared as weak libs
53360
 
+         for deplib in $dependency_libs; do
53361
 
+            deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"`
53362
 
+           case " $weak_libs " in
53363
 
+           *" $deplib_base "*) ;;
53364
 
+           *) deplibs="$deplibs $deplib" ;;
53365
 
+           esac
53366
 
+         done
53367
 
+       done
53368
 
+       libs="$dlprefiles"
53369
 
+      fi
53370
 
+      if test "$pass" = dlopen; then
53371
 
+       # Collect dlpreopened libraries
53372
 
+       save_deplibs="$deplibs"
53373
 
+       deplibs=
53374
 
+      fi
53375
 
+
53376
 
+      for deplib in $libs; do
53377
 
+       lib=
53378
 
+       found=no
53379
 
+       case $deplib in
53380
 
+       -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
53381
 
+         if test "$linkmode,$pass" = "prog,link"; then
53382
 
+           compile_deplibs="$deplib $compile_deplibs"
53383
 
+           finalize_deplibs="$deplib $finalize_deplibs"
53384
 
+         else
53385
 
+           compiler_flags="$compiler_flags $deplib"
53386
 
+           if test "$linkmode" = lib ; then
53387
 
+               case "$new_inherited_linker_flags " in
53388
 
+                   *" $deplib "*) ;;
53389
 
+                   * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
53390
 
+               esac
53391
 
+           fi
53392
 
+         fi
53393
 
+         continue
53394
 
+         ;;
53395
 
+       -l*)
53396
 
+         if test "$linkmode" != lib && test "$linkmode" != prog; then
53397
 
+           func_warning "\`-l' is ignored for archives/objects"
53398
 
+           continue
53399
 
+         fi
53400
 
+         func_stripname '-l' '' "$deplib"
53401
 
+         name=$func_stripname_result
53402
 
+         if test "$linkmode" = lib; then
53403
 
+           searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
53404
 
+         else
53405
 
+           searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
53406
 
+         fi
53407
 
+         for searchdir in $searchdirs; do
53408
 
+           for search_ext in .la $std_shrext .so .a; do
53409
 
+             # Search the libtool library
53410
 
+             lib="$searchdir/lib${name}${search_ext}"
53411
 
+             if test -f "$lib"; then
53412
 
+               if test "$search_ext" = ".la"; then
53413
 
+                 found=yes
53414
 
+               else
53415
 
+                 found=no
53416
 
+               fi
53417
 
+               break 2
53418
 
+             fi
53419
 
+           done
53420
 
+         done
53421
 
+         if test "$found" != yes; then
53422
 
+           # deplib doesn't seem to be a libtool library
53423
 
+           if test "$linkmode,$pass" = "prog,link"; then
53424
 
+             compile_deplibs="$deplib $compile_deplibs"
53425
 
+             finalize_deplibs="$deplib $finalize_deplibs"
53426
 
+           else
53427
 
+             deplibs="$deplib $deplibs"
53428
 
+             test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
53429
 
+           fi
53430
 
+           continue
53431
 
+         else # deplib is a libtool library
53432
 
+           # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
53433
 
+           # We need to do some special things here, and not later.
53434
 
+           if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
53435
 
+             case " $predeps $postdeps " in
53436
 
+             *" $deplib "*)
53437
 
+               if func_lalib_p "$lib"; then
53438
 
+                 library_names=
53439
 
+                 old_library=
53440
 
+                 func_source "$lib"
53441
 
+                 for l in $old_library $library_names; do
53442
 
+                   ll="$l"
53443
 
+                 done
53444
 
+                 if test "X$ll" = "X$old_library" ; then # only static version available
53445
 
+                   found=no
53446
 
+                   func_dirname "$lib" "" "."
53447
 
+                   ladir="$func_dirname_result"
53448
 
+                   lib=$ladir/$old_library
53449
 
+                   if test "$linkmode,$pass" = "prog,link"; then
53450
 
+                     compile_deplibs="$deplib $compile_deplibs"
53451
 
+                     finalize_deplibs="$deplib $finalize_deplibs"
53452
 
+                   else
53453
 
+                     deplibs="$deplib $deplibs"
53454
 
+                     test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
53455
 
+                   fi
53456
 
+                   continue
53457
 
+                 fi
53458
 
+               fi
53459
 
+               ;;
53460
 
+             *) ;;
53461
 
+             esac
53462
 
+           fi
53463
 
+         fi
53464
 
+         ;; # -l
53465
 
+       *.ltframework)
53466
 
+         if test "$linkmode,$pass" = "prog,link"; then
53467
 
+           compile_deplibs="$deplib $compile_deplibs"
53468
 
+           finalize_deplibs="$deplib $finalize_deplibs"
53469
 
+         else
53470
 
+           deplibs="$deplib $deplibs"
53471
 
+           if test "$linkmode" = lib ; then
53472
 
+               case "$new_inherited_linker_flags " in
53473
 
+                   *" $deplib "*) ;;
53474
 
+                   * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
53475
 
+               esac
53476
 
+           fi
53477
 
+         fi
53478
 
+         continue
53479
 
+         ;;
53480
 
+       -L*)
53481
 
+         case $linkmode in
53482
 
+         lib)
53483
 
+           deplibs="$deplib $deplibs"
53484
 
+           test "$pass" = conv && continue
53485
 
+           newdependency_libs="$deplib $newdependency_libs"
53486
 
+           func_stripname '-L' '' "$deplib"
53487
 
+           newlib_search_path="$newlib_search_path $func_stripname_result"
53488
 
+           ;;
53489
 
+         prog)
53490
 
+           if test "$pass" = conv; then
53491
 
+             deplibs="$deplib $deplibs"
53492
 
+             continue
53493
 
+           fi
53494
 
+           if test "$pass" = scan; then
53495
 
+             deplibs="$deplib $deplibs"
53496
 
+           else
53497
 
+             compile_deplibs="$deplib $compile_deplibs"
53498
 
+             finalize_deplibs="$deplib $finalize_deplibs"
53499
 
+           fi
53500
 
+           func_stripname '-L' '' "$deplib"
53501
 
+           newlib_search_path="$newlib_search_path $func_stripname_result"
53502
 
+           ;;
53503
 
+         *)
53504
 
+           func_warning "\`-L' is ignored for archives/objects"
53505
 
+           ;;
53506
 
+         esac # linkmode
53507
 
+         continue
53508
 
+         ;; # -L
53509
 
+       -R*)
53510
 
+         if test "$pass" = link; then
53511
 
+           func_stripname '-R' '' "$deplib"
53512
 
+           dir=$func_stripname_result
53513
 
+           # Make sure the xrpath contains only unique directories.
53514
 
+           case "$xrpath " in
53515
 
+           *" $dir "*) ;;
53516
 
+           *) xrpath="$xrpath $dir" ;;
53517
 
+           esac
53518
 
+         fi
53519
 
+         deplibs="$deplib $deplibs"
53520
 
+         continue
53521
 
+         ;;
53522
 
+       *.la) lib="$deplib" ;;
53523
 
+       *.$libext)
53524
 
+         if test "$pass" = conv; then
53525
 
+           deplibs="$deplib $deplibs"
53526
 
+           continue
53527
 
+         fi
53528
 
+         case $linkmode in
53529
 
+         lib)
53530
 
+           # Linking convenience modules into shared libraries is allowed,
53531
 
+           # but linking other static libraries is non-portable.
53532
 
+           case " $dlpreconveniencelibs " in
53533
 
+           *" $deplib "*) ;;
53534
 
+           *)
53535
 
+             valid_a_lib=no
53536
 
+             case $deplibs_check_method in
53537
 
+               match_pattern*)
53538
 
+                 set dummy $deplibs_check_method; shift
53539
 
+                 match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
53540
 
+                 if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \
53541
 
+                   | $EGREP "$match_pattern_regex" > /dev/null; then
53542
 
+                   valid_a_lib=yes
53543
 
+                 fi
53544
 
+               ;;
53545
 
+               pass_all)
53546
 
+                 valid_a_lib=yes
53547
 
+               ;;
53548
 
+             esac
53549
 
+             if test "$valid_a_lib" != yes; then
53550
 
+               $ECHO
53551
 
+               $ECHO "*** Warning: Trying to link with static lib archive $deplib."
53552
 
+               $ECHO "*** I have the capability to make that library automatically link in when"
53553
 
+               $ECHO "*** you link to this library.  But I can only do this if you have a"
53554
 
+               $ECHO "*** shared version of the library, which you do not appear to have"
53555
 
+               $ECHO "*** because the file extensions .$libext of this argument makes me believe"
53556
 
+               $ECHO "*** that it is just a static archive that I should not use here."
53557
 
+             else
53558
 
+               $ECHO
53559
 
+               $ECHO "*** Warning: Linking the shared library $output against the"
53560
 
+               $ECHO "*** static library $deplib is not portable!"
53561
 
+               deplibs="$deplib $deplibs"
53562
 
+             fi
53563
 
+             ;;
53564
 
+           esac
53565
 
+           continue
53566
 
+           ;;
53567
 
+         prog)
53568
 
+           if test "$pass" != link; then
53569
 
+             deplibs="$deplib $deplibs"
53570
 
+           else
53571
 
+             compile_deplibs="$deplib $compile_deplibs"
53572
 
+             finalize_deplibs="$deplib $finalize_deplibs"
53573
 
+           fi
53574
 
+           continue
53575
 
+           ;;
53576
 
+         esac # linkmode
53577
 
+         ;; # *.$libext
53578
 
+       *.lo | *.$objext)
53579
 
+         if test "$pass" = conv; then
53580
 
+           deplibs="$deplib $deplibs"
53581
 
+         elif test "$linkmode" = prog; then
53582
 
+           if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
53583
 
+             # If there is no dlopen support or we're linking statically,
53584
 
+             # we need to preload.
53585
 
+             newdlprefiles="$newdlprefiles $deplib"
53586
 
+             compile_deplibs="$deplib $compile_deplibs"
53587
 
+             finalize_deplibs="$deplib $finalize_deplibs"
53588
 
+           else
53589
 
+             newdlfiles="$newdlfiles $deplib"
53590
 
+           fi
53591
 
+         fi
53592
 
+         continue
53593
 
+         ;;
53594
 
+       %DEPLIBS%)
53595
 
+         alldeplibs=yes
53596
 
+         continue
53597
 
+         ;;
53598
 
+       esac # case $deplib
53599
 
+
53600
 
+       if test "$found" = yes || test -f "$lib"; then :
53601
 
+       else
53602
 
+         func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'"
53603
 
+       fi
53604
 
+
53605
 
+       # Check to see that this really is a libtool archive.
53606
 
+       func_lalib_unsafe_p "$lib" \
53607
 
+         || func_fatal_error "\`$lib' is not a valid libtool archive"
53608
 
+
53609
 
+       func_dirname "$lib" "" "."
53610
 
+       ladir="$func_dirname_result"
53611
 
+
53612
 
+       dlname=
53613
 
+       dlopen=
53614
 
+       dlpreopen=
53615
 
+       libdir=
53616
 
+       library_names=
53617
 
+       old_library=
53618
 
+       inherited_linker_flags=
53619
 
+       # If the library was installed with an old release of libtool,
53620
 
+       # it will not redefine variables installed, or shouldnotlink
53621
 
+       installed=yes
53622
 
+       shouldnotlink=no
53623
 
+       avoidtemprpath=
53624
 
+
53625
 
+
53626
 
+       # Read the .la file
53627
 
+       func_source "$lib"
53628
 
+
53629
 
+       # Convert "-framework foo" to "foo.ltframework"
53630
 
+       if test -n "$inherited_linker_flags"; then
53631
 
+         tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'`
53632
 
+         for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
53633
 
+           case " $new_inherited_linker_flags " in
53634
 
+             *" $tmp_inherited_linker_flag "*) ;;
53635
 
+             *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";;
53636
 
+           esac
53637
 
+         done
53638
 
+       fi
53639
 
+       dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
53640
 
+       if test "$linkmode,$pass" = "lib,link" ||
53641
 
+          test "$linkmode,$pass" = "prog,scan" ||
53642
 
+          { test "$linkmode" != prog && test "$linkmode" != lib; }; then
53643
 
+         test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
53644
 
+         test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
53645
 
+       fi
53646
 
+
53647
 
+       if test "$pass" = conv; then
53648
 
+         # Only check for convenience libraries
53649
 
+         deplibs="$lib $deplibs"
53650
 
+         if test -z "$libdir"; then
53651
 
+           if test -z "$old_library"; then
53652
 
+             func_fatal_error "cannot find name of link library for \`$lib'"
53653
 
+           fi
53654
 
+           # It is a libtool convenience library, so add in its objects.
53655
 
+           convenience="$convenience $ladir/$objdir/$old_library"
53656
 
+           old_convenience="$old_convenience $ladir/$objdir/$old_library"
53657
 
+         elif test "$linkmode" != prog && test "$linkmode" != lib; then
53658
 
+           func_fatal_error "\`$lib' is not a convenience library"
53659
 
+         fi
53660
 
+         tmp_libs=
53661
 
+         for deplib in $dependency_libs; do
53662
 
+           deplibs="$deplib $deplibs"
53663
 
+           if $opt_duplicate_deps ; then
53664
 
+             case "$tmp_libs " in
53665
 
+             *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
53666
 
+             esac
53667
 
+           fi
53668
 
+           tmp_libs="$tmp_libs $deplib"
53669
 
+         done
53670
 
+         continue
53671
 
+       fi # $pass = conv
53672
 
+
53673
 
+
53674
 
+       # Get the name of the library we link against.
53675
 
+       linklib=
53676
 
+       for l in $old_library $library_names; do
53677
 
+         linklib="$l"
53678
 
+       done
53679
 
+       if test -z "$linklib"; then
53680
 
+         func_fatal_error "cannot find name of link library for \`$lib'"
53681
 
+       fi
53682
 
+
53683
 
+       # This library was specified with -dlopen.
53684
 
+       if test "$pass" = dlopen; then
53685
 
+         if test -z "$libdir"; then
53686
 
+           func_fatal_error "cannot -dlopen a convenience library: \`$lib'"
53687
 
+         fi
53688
 
+         if test -z "$dlname" ||
53689
 
+            test "$dlopen_support" != yes ||
53690
 
+            test "$build_libtool_libs" = no; then
53691
 
+           # If there is no dlname, no dlopen support or we're linking
53692
 
+           # statically, we need to preload.  We also need to preload any
53693
 
+           # dependent libraries so libltdl's deplib preloader doesn't
53694
 
+           # bomb out in the load deplibs phase.
53695
 
+           dlprefiles="$dlprefiles $lib $dependency_libs"
53696
 
+         else
53697
 
+           newdlfiles="$newdlfiles $lib"
53698
 
+         fi
53699
 
+         continue
53700
 
+       fi # $pass = dlopen
53701
 
+
53702
 
+       # We need an absolute path.
53703
 
+       case $ladir in
53704
 
+       [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
53705
 
+       *)
53706
 
+         abs_ladir=`cd "$ladir" && pwd`
53707
 
+         if test -z "$abs_ladir"; then
53708
 
+           func_warning "cannot determine absolute directory name of \`$ladir'"
53709
 
+           func_warning "passing it literally to the linker, although it might fail"
53710
 
+           abs_ladir="$ladir"
53711
 
+         fi
53712
 
+         ;;
53713
 
+       esac
53714
 
+       func_basename "$lib"
53715
 
+       laname="$func_basename_result"
53716
 
+
53717
 
+       # Find the relevant object directory and library name.
53718
 
+       if test "X$installed" = Xyes; then
53719
 
+         if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
53720
 
+           func_warning "library \`$lib' was moved."
53721
 
+           dir="$ladir"
53722
 
+           absdir="$abs_ladir"
53723
 
+           libdir="$abs_ladir"
53724
 
+         else
53725
 
+           dir="$libdir"
53726
 
+           absdir="$libdir"
53727
 
+         fi
53728
 
+         test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
53729
 
+       else
53730
 
+         if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
53731
 
+           dir="$ladir"
53732
 
+           absdir="$abs_ladir"
53733
 
+           # Remove this search path later
53734
 
+           notinst_path="$notinst_path $abs_ladir"
53735
 
+         else
53736
 
+           dir="$ladir/$objdir"
53737
 
+           absdir="$abs_ladir/$objdir"
53738
 
+           # Remove this search path later
53739
 
+           notinst_path="$notinst_path $abs_ladir"
53740
 
+         fi
53741
 
+       fi # $installed = yes
53742
 
+       func_stripname 'lib' '.la' "$laname"
53743
 
+       name=$func_stripname_result
53744
 
+
53745
 
+       # This library was specified with -dlpreopen.
53746
 
+       if test "$pass" = dlpreopen; then
53747
 
+         if test -z "$libdir" && test "$linkmode" = prog; then
53748
 
+           func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'"
53749
 
+         fi
53750
 
+         # Prefer using a static library (so that no silly _DYNAMIC symbols
53751
 
+         # are required to link).
53752
 
+         if test -n "$old_library"; then
53753
 
+           newdlprefiles="$newdlprefiles $dir/$old_library"
53754
 
+           # Keep a list of preopened convenience libraries to check
53755
 
+           # that they are being used correctly in the link pass.
53756
 
+           test -z "$libdir" && \
53757
 
+               dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library"
53758
 
+         # Otherwise, use the dlname, so that lt_dlopen finds it.
53759
 
+         elif test -n "$dlname"; then
53760
 
+           newdlprefiles="$newdlprefiles $dir/$dlname"
53761
 
+         else
53762
 
+           newdlprefiles="$newdlprefiles $dir/$linklib"
53763
 
+         fi
53764
 
+       fi # $pass = dlpreopen
53765
 
+
53766
 
+       if test -z "$libdir"; then
53767
 
+         # Link the convenience library
53768
 
+         if test "$linkmode" = lib; then
53769
 
+           deplibs="$dir/$old_library $deplibs"
53770
 
+         elif test "$linkmode,$pass" = "prog,link"; then
53771
 
+           compile_deplibs="$dir/$old_library $compile_deplibs"
53772
 
+           finalize_deplibs="$dir/$old_library $finalize_deplibs"
53773
 
+         else
53774
 
+           deplibs="$lib $deplibs" # used for prog,scan pass
53775
 
+         fi
53776
 
+         continue
53777
 
+       fi
53778
 
+
53779
 
+
53780
 
+       if test "$linkmode" = prog && test "$pass" != link; then
53781
 
+         newlib_search_path="$newlib_search_path $ladir"
53782
 
+         deplibs="$lib $deplibs"
53783
 
+
53784
 
+         linkalldeplibs=no
53785
 
+         if test "$link_all_deplibs" != no || test -z "$library_names" ||
53786
 
+            test "$build_libtool_libs" = no; then
53787
 
+           linkalldeplibs=yes
53788
 
+         fi
53789
 
+
53790
 
+         tmp_libs=
53791
 
+         for deplib in $dependency_libs; do
53792
 
+           case $deplib in
53793
 
+           -L*) func_stripname '-L' '' "$deplib"
53794
 
+                newlib_search_path="$newlib_search_path $func_stripname_result"
53795
 
+                ;;
53796
 
+           esac
53797
 
+           # Need to link against all dependency_libs?
53798
 
+           if test "$linkalldeplibs" = yes; then
53799
 
+             deplibs="$deplib $deplibs"
53800
 
+           else
53801
 
+             # Need to hardcode shared library paths
53802
 
+             # or/and link against static libraries
53803
 
+             newdependency_libs="$deplib $newdependency_libs"
53804
 
+           fi
53805
 
+           if $opt_duplicate_deps ; then
53806
 
+             case "$tmp_libs " in
53807
 
+             *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
53808
 
+             esac
53809
 
+           fi
53810
 
+           tmp_libs="$tmp_libs $deplib"
53811
 
+         done # for deplib
53812
 
+         continue
53813
 
+       fi # $linkmode = prog...
53814
 
+
53815
 
+       if test "$linkmode,$pass" = "prog,link"; then
53816
 
+         if test -n "$library_names" &&
53817
 
+            { { test "$prefer_static_libs" = no ||
53818
 
+                test "$prefer_static_libs,$installed" = "built,yes"; } ||
53819
 
+              test -z "$old_library"; }; then
53820
 
+           # We need to hardcode the library path
53821
 
+           if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
53822
 
+             # Make sure the rpath contains only unique directories.
53823
 
+             case "$temp_rpath:" in
53824
 
+             *"$absdir:"*) ;;
53825
 
+             *) temp_rpath="$temp_rpath$absdir:" ;;
53826
 
+             esac
53827
 
+           fi
53828
 
+
53829
 
+           # Hardcode the library path.
53830
 
+           # Skip directories that are in the system default run-time
53831
 
+           # search path.
53832
 
+           case " $sys_lib_dlsearch_path " in
53833
 
+           *" $absdir "*) ;;
53834
 
+           *)
53835
 
+             case "$compile_rpath " in
53836
 
+             *" $absdir "*) ;;
53837
 
+             *) compile_rpath="$compile_rpath $absdir"
53838
 
+             esac
53839
 
+             ;;
53840
 
+           esac
53841
 
+           case " $sys_lib_dlsearch_path " in
53842
 
+           *" $libdir "*) ;;
53843
 
+           *)
53844
 
+             case "$finalize_rpath " in
53845
 
+             *" $libdir "*) ;;
53846
 
+             *) finalize_rpath="$finalize_rpath $libdir"
53847
 
+             esac
53848
 
+             ;;
53849
 
+           esac
53850
 
+         fi # $linkmode,$pass = prog,link...
53851
 
+
53852
 
+         if test "$alldeplibs" = yes &&
53853
 
+            { test "$deplibs_check_method" = pass_all ||
53854
 
+              { test "$build_libtool_libs" = yes &&
53855
 
+                test -n "$library_names"; }; }; then
53856
 
+           # We only need to search for static libraries
53857
 
+           continue
53858
 
+         fi
53859
 
+       fi
53860
 
+
53861
 
+       link_static=no # Whether the deplib will be linked statically
53862
 
+       use_static_libs=$prefer_static_libs
53863
 
+       if test "$use_static_libs" = built && test "$installed" = yes; then
53864
 
+         use_static_libs=no
53865
 
+       fi
53866
 
+       if test -n "$library_names" &&
53867
 
+          { test "$use_static_libs" = no || test -z "$old_library"; }; then
53868
 
+         case $host in
53869
 
+         *cygwin* | *mingw* | *cegcc*)
53870
 
+             # No point in relinking DLLs because paths are not encoded
53871
 
+             notinst_deplibs="$notinst_deplibs $lib"
53872
 
+             need_relink=no
53873
 
+           ;;
53874
 
+         *)
53875
 
+           if test "$installed" = no; then
53876
 
+             notinst_deplibs="$notinst_deplibs $lib"
53877
 
+             need_relink=yes
53878
 
+           fi
53879
 
+           ;;
53880
 
+         esac
53881
 
+         # This is a shared library
53882
 
+
53883
 
+         # Warn about portability, can't link against -module's on some
53884
 
+         # systems (darwin).  Don't bleat about dlopened modules though!
53885
 
+         dlopenmodule=""
53886
 
+         for dlpremoduletest in $dlprefiles; do
53887
 
+           if test "X$dlpremoduletest" = "X$lib"; then
53888
 
+             dlopenmodule="$dlpremoduletest"
53889
 
+             break
53890
 
+           fi
53891
 
+         done
53892
 
+         if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then
53893
 
+           $ECHO
53894
 
+           if test "$linkmode" = prog; then
53895
 
+             $ECHO "*** Warning: Linking the executable $output against the loadable module"
53896
 
+           else
53897
 
+             $ECHO "*** Warning: Linking the shared library $output against the loadable module"
53898
 
+           fi
53899
 
+           $ECHO "*** $linklib is not portable!"
53900
 
+         fi
53901
 
+         if test "$linkmode" = lib &&
53902
 
+            test "$hardcode_into_libs" = yes; then
53903
 
+           # Hardcode the library path.
53904
 
+           # Skip directories that are in the system default run-time
53905
 
+           # search path.
53906
 
+           case " $sys_lib_dlsearch_path " in
53907
 
+           *" $absdir "*) ;;
53908
 
+           *)
53909
 
+             case "$compile_rpath " in
53910
 
+             *" $absdir "*) ;;
53911
 
+             *) compile_rpath="$compile_rpath $absdir"
53912
 
+             esac
53913
 
+             ;;
53914
 
+           esac
53915
 
+           case " $sys_lib_dlsearch_path " in
53916
 
+           *" $libdir "*) ;;
53917
 
+           *)
53918
 
+             case "$finalize_rpath " in
53919
 
+             *" $libdir "*) ;;
53920
 
+             *) finalize_rpath="$finalize_rpath $libdir"
53921
 
+             esac
53922
 
+             ;;
53923
 
+           esac
53924
 
+         fi
53925
 
+
53926
 
+         if test -n "$old_archive_from_expsyms_cmds"; then
53927
 
+           # figure out the soname
53928
 
+           set dummy $library_names
53929
 
+           shift
53930
 
+           realname="$1"
53931
 
+           shift
53932
 
+           libname=`eval "\\$ECHO \"$libname_spec\""`
53933
 
+           # use dlname if we got it. it's perfectly good, no?
53934
 
+           if test -n "$dlname"; then
53935
 
+             soname="$dlname"
53936
 
+           elif test -n "$soname_spec"; then
53937
 
+             # bleh windows
53938
 
+             case $host in
53939
 
+             *cygwin* | mingw* | *cegcc*)
53940
 
+               func_arith $current - $age
53941
 
+               major=$func_arith_result
53942
 
+               versuffix="-$major"
53943
 
+               ;;
53944
 
+             esac
53945
 
+             eval soname=\"$soname_spec\"
53946
 
+           else
53947
 
+             soname="$realname"
53948
 
+           fi
53949
 
+
53950
 
+           # Make a new name for the extract_expsyms_cmds to use
53951
 
+           soroot="$soname"
53952
 
+           func_basename "$soroot"
53953
 
+           soname="$func_basename_result"
53954
 
+           func_stripname 'lib' '.dll' "$soname"
53955
 
+           newlib=libimp-$func_stripname_result.a
53956
 
+
53957
 
+           # If the library has no export list, then create one now
53958
 
+           if test -f "$output_objdir/$soname-def"; then :
53959
 
+           else
53960
 
+             func_verbose "extracting exported symbol list from \`$soname'"
53961
 
+             func_execute_cmds "$extract_expsyms_cmds" 'exit $?'
53962
 
+           fi
53963
 
+
53964
 
+           # Create $newlib
53965
 
+           if test -f "$output_objdir/$newlib"; then :; else
53966
 
+             func_verbose "generating import library for \`$soname'"
53967
 
+             func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?'
53968
 
+           fi
53969
 
+           # make sure the library variables are pointing to the new library
53970
 
+           dir=$output_objdir
53971
 
+           linklib=$newlib
53972
 
+         fi # test -n "$old_archive_from_expsyms_cmds"
53973
 
+
53974
 
+         if test "$linkmode" = prog || test "$mode" != relink; then
53975
 
+           add_shlibpath=
53976
 
+           add_dir=
53977
 
+           add=
53978
 
+           lib_linked=yes
53979
 
+           case $hardcode_action in
53980
 
+           immediate | unsupported)
53981
 
+             if test "$hardcode_direct" = no; then
53982
 
+               add="$dir/$linklib"
53983
 
+               case $host in
53984
 
+                 *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
53985
 
+                 *-*-sysv4*uw2*) add_dir="-L$dir" ;;
53986
 
+                 *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
53987
 
+                   *-*-unixware7*) add_dir="-L$dir" ;;
53988
 
+                 *-*-darwin* )
53989
 
+                   # if the lib is a (non-dlopened) module then we can not
53990
 
+                   # link against it, someone is ignoring the earlier warnings
53991
 
+                   if /usr/bin/file -L $add 2> /dev/null |
53992
 
+                        $GREP ": [^:]* bundle" >/dev/null ; then
53993
 
+                     if test "X$dlopenmodule" != "X$lib"; then
53994
 
+                       $ECHO "*** Warning: lib $linklib is a module, not a shared library"
53995
 
+                       if test -z "$old_library" ; then
53996
 
+                         $ECHO
53997
 
+                         $ECHO "*** And there doesn't seem to be a static archive available"
53998
 
+                         $ECHO "*** The link will probably fail, sorry"
53999
 
+                       else
54000
 
+                         add="$dir/$old_library"
54001
 
+                       fi
54002
 
+                     elif test -n "$old_library"; then
54003
 
+                       add="$dir/$old_library"
54004
 
+                     fi
54005
 
+                   fi
54006
 
+               esac
54007
 
+             elif test "$hardcode_minus_L" = no; then
54008
 
+               case $host in
54009
 
+               *-*-sunos*) add_shlibpath="$dir" ;;
54010
 
+               esac
54011
 
+               add_dir="-L$dir"
54012
 
+               add="-l$name"
54013
 
+             elif test "$hardcode_shlibpath_var" = no; then
54014
 
+               add_shlibpath="$dir"
54015
 
+               add="-l$name"
54016
 
+             else
54017
 
+               lib_linked=no
54018
 
+             fi
54019
 
+             ;;
54020
 
+           relink)
54021
 
+             if test "$hardcode_direct" = yes &&
54022
 
+                test "$hardcode_direct_absolute" = no; then
54023
 
+               add="$dir/$linklib"
54024
 
+             elif test "$hardcode_minus_L" = yes; then
54025
 
+               add_dir="-L$dir"
54026
 
+               # Try looking first in the location we're being installed to.
54027
 
+               if test -n "$inst_prefix_dir"; then
54028
 
+                 case $libdir in
54029
 
+                   [\\/]*)
54030
 
+                     add_dir="$add_dir -L$inst_prefix_dir$libdir"
54031
 
+                     ;;
54032
 
+                 esac
54033
 
+               fi
54034
 
+               add="-l$name"
54035
 
+             elif test "$hardcode_shlibpath_var" = yes; then
54036
 
+               add_shlibpath="$dir"
54037
 
+               add="-l$name"
54038
 
+             else
54039
 
+               lib_linked=no
54040
 
+             fi
54041
 
+             ;;
54042
 
+           *) lib_linked=no ;;
54043
 
+           esac
54044
 
+
54045
 
+           if test "$lib_linked" != yes; then
54046
 
+             func_fatal_configuration "unsupported hardcode properties"
54047
 
+           fi
54048
 
+
54049
 
+           if test -n "$add_shlibpath"; then
54050
 
+             case :$compile_shlibpath: in
54051
 
+             *":$add_shlibpath:"*) ;;
54052
 
+             *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
54053
 
+             esac
54054
 
+           fi
54055
 
+           if test "$linkmode" = prog; then
54056
 
+             test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
54057
 
+             test -n "$add" && compile_deplibs="$add $compile_deplibs"
54058
 
+           else
54059
 
+             test -n "$add_dir" && deplibs="$add_dir $deplibs"
54060
 
+             test -n "$add" && deplibs="$add $deplibs"
54061
 
+             if test "$hardcode_direct" != yes &&
54062
 
+                test "$hardcode_minus_L" != yes &&
54063
 
+                test "$hardcode_shlibpath_var" = yes; then
54064
 
+               case :$finalize_shlibpath: in
54065
 
+               *":$libdir:"*) ;;
54066
 
+               *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
54067
 
+               esac
54068
 
+             fi
54069
 
+           fi
54070
 
+         fi
54071
 
+
54072
 
+         if test "$linkmode" = prog || test "$mode" = relink; then
54073
 
+           add_shlibpath=
54074
 
+           add_dir=
54075
 
+           add=
54076
 
+           # Finalize command for both is simple: just hardcode it.
54077
 
+           if test "$hardcode_direct" = yes &&
54078
 
+              test "$hardcode_direct_absolute" = no; then
54079
 
+             add="$libdir/$linklib"
54080
 
+           elif test "$hardcode_minus_L" = yes; then
54081
 
+             add_dir="-L$libdir"
54082
 
+             add="-l$name"
54083
 
+           elif test "$hardcode_shlibpath_var" = yes; then
54084
 
+             case :$finalize_shlibpath: in
54085
 
+             *":$libdir:"*) ;;
54086
 
+             *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
54087
 
+             esac
54088
 
+             add="-l$name"
54089
 
+           elif test "$hardcode_automatic" = yes; then
54090
 
+             if test -n "$inst_prefix_dir" &&
54091
 
+                test -f "$inst_prefix_dir$libdir/$linklib" ; then
54092
 
+               add="$inst_prefix_dir$libdir/$linklib"
54093
 
+             else
54094
 
+               add="$libdir/$linklib"
54095
 
+             fi
54096
 
+           else
54097
 
+             # We cannot seem to hardcode it, guess we'll fake it.
54098
 
+             add_dir="-L$libdir"
54099
 
+             # Try looking first in the location we're being installed to.
54100
 
+             if test -n "$inst_prefix_dir"; then
54101
 
+               case $libdir in
54102
 
+                 [\\/]*)
54103
 
+                   add_dir="$add_dir -L$inst_prefix_dir$libdir"
54104
 
+                   ;;
54105
 
+               esac
54106
 
+             fi
54107
 
+             add="-l$name"
54108
 
+           fi
54109
 
+
54110
 
+           if test "$linkmode" = prog; then
54111
 
+             test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
54112
 
+             test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
54113
 
+           else
54114
 
+             test -n "$add_dir" && deplibs="$add_dir $deplibs"
54115
 
+             test -n "$add" && deplibs="$add $deplibs"
54116
 
+           fi
54117
 
+         fi
54118
 
+       elif test "$linkmode" = prog; then
54119
 
+         # Here we assume that one of hardcode_direct or hardcode_minus_L
54120
 
+         # is not unsupported.  This is valid on all known static and
54121
 
+         # shared platforms.
54122
 
+         if test "$hardcode_direct" != unsupported; then
54123
 
+           test -n "$old_library" && linklib="$old_library"
54124
 
+           compile_deplibs="$dir/$linklib $compile_deplibs"
54125
 
+           finalize_deplibs="$dir/$linklib $finalize_deplibs"
54126
 
+         else
54127
 
+           compile_deplibs="-l$name -L$dir $compile_deplibs"
54128
 
+           finalize_deplibs="-l$name -L$dir $finalize_deplibs"
54129
 
+         fi
54130
 
+       elif test "$build_libtool_libs" = yes; then
54131
 
+         # Not a shared library
54132
 
+         if test "$deplibs_check_method" != pass_all; then
54133
 
+           # We're trying link a shared library against a static one
54134
 
+           # but the system doesn't support it.
54135
 
+
54136
 
+           # Just print a warning and add the library to dependency_libs so
54137
 
+           # that the program can be linked against the static library.
54138
 
+           $ECHO
54139
 
+           $ECHO "*** Warning: This system can not link to static lib archive $lib."
54140
 
+           $ECHO "*** I have the capability to make that library automatically link in when"
54141
 
+           $ECHO "*** you link to this library.  But I can only do this if you have a"
54142
 
+           $ECHO "*** shared version of the library, which you do not appear to have."
54143
 
+           if test "$module" = yes; then
54144
 
+             $ECHO "*** But as you try to build a module library, libtool will still create "
54145
 
+             $ECHO "*** a static module, that should work as long as the dlopening application"
54146
 
+             $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime."
54147
 
+             if test -z "$global_symbol_pipe"; then
54148
 
+               $ECHO
54149
 
+               $ECHO "*** However, this would only work if libtool was able to extract symbol"
54150
 
+               $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
54151
 
+               $ECHO "*** not find such a program.  So, this module is probably useless."
54152
 
+               $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
54153
 
+             fi
54154
 
+             if test "$build_old_libs" = no; then
54155
 
+               build_libtool_libs=module
54156
 
+               build_old_libs=yes
54157
 
+             else
54158
 
+               build_libtool_libs=no
54159
 
+             fi
54160
 
+           fi
54161
 
+         else
54162
 
+           deplibs="$dir/$old_library $deplibs"
54163
 
+           link_static=yes
54164
 
+         fi
54165
 
+       fi # link shared/static library?
54166
 
+
54167
 
+       if test "$linkmode" = lib; then
54168
 
+         if test -n "$dependency_libs" &&
54169
 
+            { test "$hardcode_into_libs" != yes ||
54170
 
+              test "$build_old_libs" = yes ||
54171
 
+              test "$link_static" = yes; }; then
54172
 
+           # Extract -R from dependency_libs
54173
 
+           temp_deplibs=
54174
 
+           for libdir in $dependency_libs; do
54175
 
+             case $libdir in
54176
 
+             -R*) func_stripname '-R' '' "$libdir"
54177
 
+                  temp_xrpath=$func_stripname_result
54178
 
+                  case " $xrpath " in
54179
 
+                  *" $temp_xrpath "*) ;;
54180
 
+                  *) xrpath="$xrpath $temp_xrpath";;
54181
 
+                  esac;;
54182
 
+             *) temp_deplibs="$temp_deplibs $libdir";;
54183
 
+             esac
54184
 
+           done
54185
 
+           dependency_libs="$temp_deplibs"
54186
 
+         fi
54187
 
+
54188
 
+         newlib_search_path="$newlib_search_path $absdir"
54189
 
+         # Link against this library
54190
 
+         test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
54191
 
+         # ... and its dependency_libs
54192
 
+         tmp_libs=
54193
 
+         for deplib in $dependency_libs; do
54194
 
+           newdependency_libs="$deplib $newdependency_libs"
54195
 
+           if $opt_duplicate_deps ; then
54196
 
+             case "$tmp_libs " in
54197
 
+             *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
54198
 
+             esac
54199
 
+           fi
54200
 
+           tmp_libs="$tmp_libs $deplib"
54201
 
+         done
54202
 
+
54203
 
+         if test "$link_all_deplibs" != no; then
54204
 
+           # Add the search paths of all dependency libraries
54205
 
+           for deplib in $dependency_libs; do
54206
 
+             case $deplib in
54207
 
+             -L*) path="$deplib" ;;
54208
 
+             *.la)
54209
 
+               func_dirname "$deplib" "" "."
54210
 
+               dir="$func_dirname_result"
54211
 
+               # We need an absolute path.
54212
 
+               case $dir in
54213
 
+               [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
54214
 
+               *)
54215
 
+                 absdir=`cd "$dir" && pwd`
54216
 
+                 if test -z "$absdir"; then
54217
 
+                   func_warning "cannot determine absolute directory name of \`$dir'"
54218
 
+                   absdir="$dir"
54219
 
+                 fi
54220
 
+                 ;;
54221
 
+               esac
54222
 
+               if $GREP "^installed=no" $deplib > /dev/null; then
54223
 
+               case $host in
54224
 
+               *-*-darwin*)
54225
 
+                 depdepl=
54226
 
+                 eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
54227
 
+                 if test -n "$deplibrary_names" ; then
54228
 
+                   for tmp in $deplibrary_names ; do
54229
 
+                     depdepl=$tmp
54230
 
+                   done
54231
 
+                   if test -f "$absdir/$objdir/$depdepl" ; then
54232
 
+                     depdepl="$absdir/$objdir/$depdepl"
54233
 
+                     darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
54234
 
+                      if test -z "$darwin_install_name"; then
54235
 
+                          darwin_install_name=`${OTOOL64} -L $depdepl  | awk '{if (NR == 2) {print $1;exit}}'`
54236
 
+                      fi
54237
 
+                     compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
54238
 
+                     linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}"
54239
 
+                     path=
54240
 
+                   fi
54241
 
+                 fi
54242
 
+                 ;;
54243
 
+               *)
54244
 
+                 path="-L$absdir/$objdir"
54245
 
+                 ;;
54246
 
+               esac
54247
 
+               else
54248
 
+                 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
54249
 
+                 test -z "$libdir" && \
54250
 
+                   func_fatal_error "\`$deplib' is not a valid libtool archive"
54251
 
+                 test "$absdir" != "$libdir" && \
54252
 
+                   func_warning "\`$deplib' seems to be moved"
54253
 
+
54254
 
+                 path="-L$absdir"
54255
 
+               fi
54256
 
+               ;;
54257
 
+             esac
54258
 
+             case " $deplibs " in
54259
 
+             *" $path "*) ;;
54260
 
+             *) deplibs="$path $deplibs" ;;
54261
 
+             esac
54262
 
+           done
54263
 
+         fi # link_all_deplibs != no
54264
 
+       fi # linkmode = lib
54265
 
+      done # for deplib in $libs
54266
 
+      if test "$pass" = link; then
54267
 
+       if test "$linkmode" = "prog"; then
54268
 
+         compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
54269
 
+         finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
54270
 
+       else
54271
 
+         compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
54272
 
+       fi
54273
 
+      fi
54274
 
+      dependency_libs="$newdependency_libs"
54275
 
+      if test "$pass" = dlpreopen; then
54276
 
+       # Link the dlpreopened libraries before other libraries
54277
 
+       for deplib in $save_deplibs; do
54278
 
+         deplibs="$deplib $deplibs"
54279
 
+       done
54280
 
+      fi
54281
 
+      if test "$pass" != dlopen; then
54282
 
+       if test "$pass" != conv; then
54283
 
+         # Make sure lib_search_path contains only unique directories.
54284
 
+         lib_search_path=
54285
 
+         for dir in $newlib_search_path; do
54286
 
+           case "$lib_search_path " in
54287
 
+           *" $dir "*) ;;
54288
 
+           *) lib_search_path="$lib_search_path $dir" ;;
54289
 
+           esac
54290
 
+         done
54291
 
+         newlib_search_path=
54292
 
+       fi
54293
 
+
54294
 
+       if test "$linkmode,$pass" != "prog,link"; then
54295
 
+         vars="deplibs"
54296
 
+       else
54297
 
+         vars="compile_deplibs finalize_deplibs"
54298
 
+       fi
54299
 
+       for var in $vars dependency_libs; do
54300
 
+         # Add libraries to $var in reverse order
54301
 
+         eval tmp_libs=\"\$$var\"
54302
 
+         new_libs=
54303
 
+         for deplib in $tmp_libs; do
54304
 
+           # FIXME: Pedantically, this is the right thing to do, so
54305
 
+           #        that some nasty dependency loop isn't accidentally
54306
 
+           #        broken:
54307
 
+           #new_libs="$deplib $new_libs"
54308
 
+           # Pragmatically, this seems to cause very few problems in
54309
 
+           # practice:
54310
 
+           case $deplib in
54311
 
+           -L*) new_libs="$deplib $new_libs" ;;
54312
 
+           -R*) ;;
54313
 
+           *)
54314
 
+             # And here is the reason: when a library appears more
54315
 
+             # than once as an explicit dependence of a library, or
54316
 
+             # is implicitly linked in more than once by the
54317
 
+             # compiler, it is considered special, and multiple
54318
 
+             # occurrences thereof are not removed.  Compare this
54319
 
+             # with having the same library being listed as a
54320
 
+             # dependency of multiple other libraries: in this case,
54321
 
+             # we know (pedantically, we assume) the library does not
54322
 
+             # need to be listed more than once, so we keep only the
54323
 
+             # last copy.  This is not always right, but it is rare
54324
 
+             # enough that we require users that really mean to play
54325
 
+             # such unportable linking tricks to link the library
54326
 
+             # using -Wl,-lname, so that libtool does not consider it
54327
 
+             # for duplicate removal.
54328
 
+             case " $specialdeplibs " in
54329
 
+             *" $deplib "*) new_libs="$deplib $new_libs" ;;
54330
 
+             *)
54331
 
+               case " $new_libs " in
54332
 
+               *" $deplib "*) ;;
54333
 
+               *) new_libs="$deplib $new_libs" ;;
54334
 
+               esac
54335
 
+               ;;
54336
 
+             esac
54337
 
+             ;;
54338
 
+           esac
54339
 
+         done
54340
 
+         tmp_libs=
54341
 
+         for deplib in $new_libs; do
54342
 
+           case $deplib in
54343
 
+           -L*)
54344
 
+             case " $tmp_libs " in
54345
 
+             *" $deplib "*) ;;
54346
 
+             *) tmp_libs="$tmp_libs $deplib" ;;
54347
 
+             esac
54348
 
+             ;;
54349
 
+           *) tmp_libs="$tmp_libs $deplib" ;;
54350
 
+           esac
54351
 
+         done
54352
 
+         eval $var=\"$tmp_libs\"
54353
 
+       done # for var
54354
 
+      fi
54355
 
+      # Last step: remove runtime libs from dependency_libs
54356
 
+      # (they stay in deplibs)
54357
 
+      tmp_libs=
54358
 
+      for i in $dependency_libs ; do
54359
 
+       case " $predeps $postdeps $compiler_lib_search_path " in
54360
 
+       *" $i "*)
54361
 
+         i=""
54362
 
+         ;;
54363
 
+       esac
54364
 
+       if test -n "$i" ; then
54365
 
+         tmp_libs="$tmp_libs $i"
54366
 
+       fi
54367
 
+      done
54368
 
+      dependency_libs=$tmp_libs
54369
 
+    done # for pass
54370
 
+    if test "$linkmode" = prog; then
54371
 
+      dlfiles="$newdlfiles"
54372
 
+    fi
54373
 
+    if test "$linkmode" = prog || test "$linkmode" = lib; then
54374
 
+      dlprefiles="$newdlprefiles"
54375
 
+    fi
54376
 
+
54377
 
+    case $linkmode in
54378
 
+    oldlib)
54379
 
+      if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
54380
 
+       func_warning "\`-dlopen' is ignored for archives"
54381
 
+      fi
54382
 
+
54383
 
+      case " $deplibs" in
54384
 
+      *\ -l* | *\ -L*)
54385
 
+       func_warning "\`-l' and \`-L' are ignored for archives" ;;
54386
 
+      esac
54387
 
+
54388
 
+      test -n "$rpath" && \
54389
 
+       func_warning "\`-rpath' is ignored for archives"
54390
 
+
54391
 
+      test -n "$xrpath" && \
54392
 
+       func_warning "\`-R' is ignored for archives"
54393
 
+
54394
 
+      test -n "$vinfo" && \
54395
 
+       func_warning "\`-version-info/-version-number' is ignored for archives"
54396
 
+
54397
 
+      test -n "$release" && \
54398
 
+       func_warning "\`-release' is ignored for archives"
54399
 
+
54400
 
+      test -n "$export_symbols$export_symbols_regex" && \
54401
 
+       func_warning "\`-export-symbols' is ignored for archives"
54402
 
+
54403
 
+      # Now set the variables for building old libraries.
54404
 
+      build_libtool_libs=no
54405
 
+      oldlibs="$output"
54406
 
+      objs="$objs$old_deplibs"
54407
 
+      ;;
54408
 
+
54409
 
+    lib)
54410
 
+      # Make sure we only generate libraries of the form `libNAME.la'.
54411
 
+      case $outputname in
54412
 
+      lib*)
54413
 
+       func_stripname 'lib' '.la' "$outputname"
54414
 
+       name=$func_stripname_result
54415
 
+       eval shared_ext=\"$shrext_cmds\"
54416
 
+       eval libname=\"$libname_spec\"
54417
 
+       ;;
54418
 
+      *)
54419
 
+       test "$module" = no && \
54420
 
+         func_fatal_help "libtool library \`$output' must begin with \`lib'"
54421
 
+
54422
 
+       if test "$need_lib_prefix" != no; then
54423
 
+         # Add the "lib" prefix for modules if required
54424
 
+         func_stripname '' '.la' "$outputname"
54425
 
+         name=$func_stripname_result
54426
 
+         eval shared_ext=\"$shrext_cmds\"
54427
 
+         eval libname=\"$libname_spec\"
54428
 
+       else
54429
 
+         func_stripname '' '.la' "$outputname"
54430
 
+         libname=$func_stripname_result
54431
 
+       fi
54432
 
+       ;;
54433
 
+      esac
54434
 
+
54435
 
+      if test -n "$objs"; then
54436
 
+       if test "$deplibs_check_method" != pass_all; then
54437
 
+         func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs"
54438
 
+       else
54439
 
+         $ECHO
54440
 
+         $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
54441
 
+         $ECHO "*** objects $objs is not portable!"
54442
 
+         libobjs="$libobjs $objs"
54443
 
+       fi
54444
 
+      fi
54445
 
+
54446
 
+      test "$dlself" != no && \
54447
 
+       func_warning "\`-dlopen self' is ignored for libtool libraries"
54448
 
+
54449
 
+      set dummy $rpath
54450
 
+      shift
54451
 
+      test "$#" -gt 1 && \
54452
 
+       func_warning "ignoring multiple \`-rpath's for a libtool library"
54453
 
+
54454
 
+      install_libdir="$1"
54455
 
+
54456
 
+      oldlibs=
54457
 
+      if test -z "$rpath"; then
54458
 
+       if test "$build_libtool_libs" = yes; then
54459
 
+         # Building a libtool convenience library.
54460
 
+         # Some compilers have problems with a `.al' extension so
54461
 
+         # convenience libraries should have the same extension an
54462
 
+         # archive normally would.
54463
 
+         oldlibs="$output_objdir/$libname.$libext $oldlibs"
54464
 
+         build_libtool_libs=convenience
54465
 
+         build_old_libs=yes
54466
 
+       fi
54467
 
+
54468
 
+       test -n "$vinfo" && \
54469
 
+         func_warning "\`-version-info/-version-number' is ignored for convenience libraries"
54470
 
+
54471
 
+       test -n "$release" && \
54472
 
+         func_warning "\`-release' is ignored for convenience libraries"
54473
 
+      else
54474
 
+
54475
 
+       # Parse the version information argument.
54476
 
+       save_ifs="$IFS"; IFS=':'
54477
 
+       set dummy $vinfo 0 0 0
54478
 
+       shift
54479
 
+       IFS="$save_ifs"
54480
 
+
54481
 
+       test -n "$7" && \
54482
 
+         func_fatal_help "too many parameters to \`-version-info'"
54483
 
+
54484
 
+       # convert absolute version numbers to libtool ages
54485
 
+       # this retains compatibility with .la files and attempts
54486
 
+       # to make the code below a bit more comprehensible
54487
 
+
54488
 
+       case $vinfo_number in
54489
 
+       yes)
54490
 
+         number_major="$1"
54491
 
+         number_minor="$2"
54492
 
+         number_revision="$3"
54493
 
+         #
54494
 
+         # There are really only two kinds -- those that
54495
 
+         # use the current revision as the major version
54496
 
+         # and those that subtract age and use age as
54497
 
+         # a minor version.  But, then there is irix
54498
 
+         # which has an extra 1 added just for fun
54499
 
+         #
54500
 
+         case $version_type in
54501
 
+         darwin|linux|osf|windows|none)
54502
 
+           func_arith $number_major + $number_minor
54503
 
+           current=$func_arith_result
54504
 
+           age="$number_minor"
54505
 
+           revision="$number_revision"
54506
 
+           ;;
54507
 
+         freebsd-aout|freebsd-elf|sunos)
54508
 
+           current="$number_major"
54509
 
+           revision="$number_minor"
54510
 
+           age="0"
54511
 
+           ;;
54512
 
+         irix|nonstopux)
54513
 
+           func_arith $number_major + $number_minor
54514
 
+           current=$func_arith_result
54515
 
+           age="$number_minor"
54516
 
+           revision="$number_minor"
54517
 
+           lt_irix_increment=no
54518
 
+           ;;
54519
 
+         *)
54520
 
+           func_fatal_configuration "$modename: unknown library version type \`$version_type'"
54521
 
+           ;;
54522
 
+         esac
54523
 
+         ;;
54524
 
+       no)
54525
 
+         current="$1"
54526
 
+         revision="$2"
54527
 
+         age="$3"
54528
 
+         ;;
54529
 
+       esac
54530
 
+
54531
 
+       # Check that each of the things are valid numbers.
54532
 
+       case $current in
54533
 
+       0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
54534
 
+       *)
54535
 
+         func_error "CURRENT \`$current' must be a nonnegative integer"
54536
 
+         func_fatal_error "\`$vinfo' is not valid version information"
54537
 
+         ;;
54538
 
+       esac
54539
 
+
54540
 
+       case $revision in
54541
 
+       0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
54542
 
+       *)
54543
 
+         func_error "REVISION \`$revision' must be a nonnegative integer"
54544
 
+         func_fatal_error "\`$vinfo' is not valid version information"
54545
 
+         ;;
54546
 
+       esac
54547
 
+
54548
 
+       case $age in
54549
 
+       0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
54550
 
+       *)
54551
 
+         func_error "AGE \`$age' must be a nonnegative integer"
54552
 
+         func_fatal_error "\`$vinfo' is not valid version information"
54553
 
+         ;;
54554
 
+       esac
54555
 
+
54556
 
+       if test "$age" -gt "$current"; then
54557
 
+         func_error "AGE \`$age' is greater than the current interface number \`$current'"
54558
 
+         func_fatal_error "\`$vinfo' is not valid version information"
54559
 
+       fi
54560
 
+
54561
 
+       # Calculate the version variables.
54562
 
+       major=
54563
 
+       versuffix=
54564
 
+       verstring=
54565
 
+       case $version_type in
54566
 
+       none) ;;
54567
 
+
54568
 
+       darwin)
54569
 
+         # Like Linux, but with the current version available in
54570
 
+         # verstring for coding it into the library header
54571
 
+         func_arith $current - $age
54572
 
+         major=.$func_arith_result
54573
 
+         versuffix="$major.$age.$revision"
54574
 
+         # Darwin ld doesn't like 0 for these options...
54575
 
+         func_arith $current + 1
54576
 
+         minor_current=$func_arith_result
54577
 
+         xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
54578
 
+         verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
54579
 
+         ;;
54580
 
+
54581
 
+       freebsd-aout)
54582
 
+         major=".$current"
54583
 
+         versuffix=".$current.$revision";
54584
 
+         ;;
54585
 
+
54586
 
+       freebsd-elf)
54587
 
+         major=".$current"
54588
 
+         versuffix=".$current"
54589
 
+         ;;
54590
 
+
54591
 
+       irix | nonstopux)
54592
 
+         if test "X$lt_irix_increment" = "Xno"; then
54593
 
+           func_arith $current - $age
54594
 
+         else
54595
 
+           func_arith $current - $age + 1
54596
 
+         fi
54597
 
+         major=$func_arith_result
54598
 
+
54599
 
+         case $version_type in
54600
 
+           nonstopux) verstring_prefix=nonstopux ;;
54601
 
+           *)         verstring_prefix=sgi ;;
54602
 
+         esac
54603
 
+         verstring="$verstring_prefix$major.$revision"
54604
 
+
54605
 
+         # Add in all the interfaces that we are compatible with.
54606
 
+         loop=$revision
54607
 
+         while test "$loop" -ne 0; do
54608
 
+           func_arith $revision - $loop
54609
 
+           iface=$func_arith_result
54610
 
+           func_arith $loop - 1
54611
 
+           loop=$func_arith_result
54612
 
+           verstring="$verstring_prefix$major.$iface:$verstring"
54613
 
+         done
54614
 
+
54615
 
+         # Before this point, $major must not contain `.'.
54616
 
+         major=.$major
54617
 
+         versuffix="$major.$revision"
54618
 
+         ;;
54619
 
+
54620
 
+       linux)
54621
 
+         func_arith $current - $age
54622
 
+         major=.$func_arith_result
54623
 
+         versuffix="$major.$age.$revision"
54624
 
+         ;;
54625
 
+
54626
 
+       osf)
54627
 
+         func_arith $current - $age
54628
 
+         major=.$func_arith_result
54629
 
+         versuffix=".$current.$age.$revision"
54630
 
+         verstring="$current.$age.$revision"
54631
 
+
54632
 
+         # Add in all the interfaces that we are compatible with.
54633
 
+         loop=$age
54634
 
+         while test "$loop" -ne 0; do
54635
 
+           func_arith $current - $loop
54636
 
+           iface=$func_arith_result
54637
 
+           func_arith $loop - 1
54638
 
+           loop=$func_arith_result
54639
 
+           verstring="$verstring:${iface}.0"
54640
 
+         done
54641
 
+
54642
 
+         # Make executables depend on our current version.
54643
 
+         verstring="$verstring:${current}.0"
54644
 
+         ;;
54645
 
+
54646
 
+       qnx)
54647
 
+         major=".$current"
54648
 
+         versuffix=".$current"
54649
 
+         ;;
54650
 
+
54651
 
+       sunos)
54652
 
+         major=".$current"
54653
 
+         versuffix=".$current.$revision"
54654
 
+         ;;
54655
 
+
54656
 
+       windows)
54657
 
+         # Use '-' rather than '.', since we only want one
54658
 
+         # extension on DOS 8.3 filesystems.
54659
 
+         func_arith $current - $age
54660
 
+         major=$func_arith_result
54661
 
+         versuffix="-$major"
54662
 
+         ;;
54663
 
+
54664
 
+       *)
54665
 
+         func_fatal_configuration "unknown library version type \`$version_type'"
54666
 
+         ;;
54667
 
+       esac
54668
 
+
54669
 
+       # Clear the version info if we defaulted, and they specified a release.
54670
 
+       if test -z "$vinfo" && test -n "$release"; then
54671
 
+         major=
54672
 
+         case $version_type in
54673
 
+         darwin)
54674
 
+           # we can't check for "0.0" in archive_cmds due to quoting
54675
 
+           # problems, so we reset it completely
54676
 
+           verstring=
54677
 
+           ;;
54678
 
+         *)
54679
 
+           verstring="0.0"
54680
 
+           ;;
54681
 
+         esac
54682
 
+         if test "$need_version" = no; then
54683
 
+           versuffix=
54684
 
+         else
54685
 
+           versuffix=".0.0"
54686
 
+         fi
54687
 
+       fi
54688
 
+
54689
 
+       # Remove version info from name if versioning should be avoided
54690
 
+       if test "$avoid_version" = yes && test "$need_version" = no; then
54691
 
+         major=
54692
 
+         versuffix=
54693
 
+         verstring=""
54694
 
+       fi
54695
 
+
54696
 
+       # Check to see if the archive will have undefined symbols.
54697
 
+       if test "$allow_undefined" = yes; then
54698
 
+         if test "$allow_undefined_flag" = unsupported; then
54699
 
+           func_warning "undefined symbols not allowed in $host shared libraries"
54700
 
+           build_libtool_libs=no
54701
 
+           build_old_libs=yes
54702
 
+         fi
54703
 
+       else
54704
 
+         # Don't allow undefined symbols.
54705
 
+         allow_undefined_flag="$no_undefined_flag"
54706
 
+       fi
54707
 
+
54708
 
+      fi
54709
 
+
54710
 
+      func_generate_dlsyms "$libname" "$libname" "yes"
54711
 
+      libobjs="$libobjs $symfileobj"
54712
 
+      test "X$libobjs" = "X " && libobjs=
54713
 
+
54714
 
+      if test "$mode" != relink; then
54715
 
+       # Remove our outputs, but don't remove object files since they
54716
 
+       # may have been created when compiling PIC objects.
54717
 
+       removelist=
54718
 
+       tempremovelist=`$ECHO "$output_objdir/*"`
54719
 
+       for p in $tempremovelist; do
54720
 
+         case $p in
54721
 
+           *.$objext | *.gcno)
54722
 
+              ;;
54723
 
+           $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
54724
 
+              if test "X$precious_files_regex" != "X"; then
54725
 
+                if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
54726
 
+                then
54727
 
+                  continue
54728
 
+                fi
54729
 
+              fi
54730
 
+              removelist="$removelist $p"
54731
 
+              ;;
54732
 
+           *) ;;
54733
 
+         esac
54734
 
+       done
54735
 
+       test -n "$removelist" && \
54736
 
+         func_show_eval "${RM}r \$removelist"
54737
 
+      fi
54738
 
+
54739
 
+      # Now set the variables for building old libraries.
54740
 
+      if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
54741
 
+       oldlibs="$oldlibs $output_objdir/$libname.$libext"
54742
 
+
54743
 
+       # Transform .lo files to .o files.
54744
 
+       oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
54745
 
+      fi
54746
 
+
54747
 
+      # Eliminate all temporary directories.
54748
 
+      #for path in $notinst_path; do
54749
 
+      #        lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"`
54750
 
+      #        deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"`
54751
 
+      #        dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"`
54752
 
+      #done
54753
 
+
54754
 
+      if test -n "$xrpath"; then
54755
 
+       # If the user specified any rpath flags, then add them.
54756
 
+       temp_xrpath=
54757
 
+       for libdir in $xrpath; do
54758
 
+         temp_xrpath="$temp_xrpath -R$libdir"
54759
 
+         case "$finalize_rpath " in
54760
 
+         *" $libdir "*) ;;
54761
 
+         *) finalize_rpath="$finalize_rpath $libdir" ;;
54762
 
+         esac
54763
 
+       done
54764
 
+       if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
54765
 
+         dependency_libs="$temp_xrpath $dependency_libs"
54766
 
+       fi
54767
 
+      fi
54768
 
+
54769
 
+      # Make sure dlfiles contains only unique files that won't be dlpreopened
54770
 
+      old_dlfiles="$dlfiles"
54771
 
+      dlfiles=
54772
 
+      for lib in $old_dlfiles; do
54773
 
+       case " $dlprefiles $dlfiles " in
54774
 
+       *" $lib "*) ;;
54775
 
+       *) dlfiles="$dlfiles $lib" ;;
54776
 
+       esac
54777
 
+      done
54778
 
+
54779
 
+      # Make sure dlprefiles contains only unique files
54780
 
+      old_dlprefiles="$dlprefiles"
54781
 
+      dlprefiles=
54782
 
+      for lib in $old_dlprefiles; do
54783
 
+       case "$dlprefiles " in
54784
 
+       *" $lib "*) ;;
54785
 
+       *) dlprefiles="$dlprefiles $lib" ;;
54786
 
+       esac
54787
 
+      done
54788
 
+
54789
 
+      if test "$build_libtool_libs" = yes; then
54790
 
+       if test -n "$rpath"; then
54791
 
+         case $host in
54792
 
+         *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*)
54793
 
+           # these systems don't actually have a c library (as such)!
54794
 
+           ;;
54795
 
+         *-*-rhapsody* | *-*-darwin1.[012])
54796
 
+           # Rhapsody C library is in the System framework
54797
 
+           deplibs="$deplibs System.ltframework"
54798
 
+           ;;
54799
 
+         *-*-netbsd*)
54800
 
+           # Don't link with libc until the a.out ld.so is fixed.
54801
 
+           ;;
54802
 
+         *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
54803
 
+           # Do not include libc due to us having libc/libc_r.
54804
 
+           ;;
54805
 
+         *-*-sco3.2v5* | *-*-sco5v6*)
54806
 
+           # Causes problems with __ctype
54807
 
+           ;;
54808
 
+         *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
54809
 
+           # Compiler inserts libc in the correct place for threads to work
54810
 
+           ;;
54811
 
+         *)
54812
 
+           # Add libc to deplibs on all other systems if necessary.
54813
 
+           if test "$build_libtool_need_lc" = "yes"; then
54814
 
+             deplibs="$deplibs -lc"
54815
 
+           fi
54816
 
+           ;;
54817
 
+         esac
54818
 
+       fi
54819
 
+
54820
 
+       # Transform deplibs into only deplibs that can be linked in shared.
54821
 
+       name_save=$name
54822
 
+       libname_save=$libname
54823
 
+       release_save=$release
54824
 
+       versuffix_save=$versuffix
54825
 
+       major_save=$major
54826
 
+       # I'm not sure if I'm treating the release correctly.  I think
54827
 
+       # release should show up in the -l (ie -lgmp5) so we don't want to
54828
 
+       # add it in twice.  Is that correct?
54829
 
+       release=""
54830
 
+       versuffix=""
54831
 
+       major=""
54832
 
+       newdeplibs=
54833
 
+       droppeddeps=no
54834
 
+       case $deplibs_check_method in
54835
 
+       pass_all)
54836
 
+         # Don't check for shared/static.  Everything works.
54837
 
+         # This might be a little naive.  We might want to check
54838
 
+         # whether the library exists or not.  But this is on
54839
 
+         # osf3 & osf4 and I'm not really sure... Just
54840
 
+         # implementing what was already the behavior.
54841
 
+         newdeplibs=$deplibs
54842
 
+         ;;
54843
 
+       test_compile)
54844
 
+         # This code stresses the "libraries are programs" paradigm to its
54845
 
+         # limits. Maybe even breaks it.  We compile a program, linking it
54846
 
+         # against the deplibs as a proxy for the library.  Then we can check
54847
 
+         # whether they linked in statically or dynamically with ldd.
54848
 
+         $opt_dry_run || $RM conftest.c
54849
 
+         cat > conftest.c <<EOF
54850
 
+         int main() { return 0; }
54851
 
+EOF
54852
 
+         $opt_dry_run || $RM conftest
54853
 
+         if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
54854
 
+           ldd_output=`ldd conftest`
54855
 
+           for i in $deplibs; do
54856
 
+             case $i in
54857
 
+             -l*)
54858
 
+               func_stripname -l '' "$i"
54859
 
+               name=$func_stripname_result
54860
 
+               if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
54861
 
+                 case " $predeps $postdeps " in
54862
 
+                 *" $i "*)
54863
 
+                   newdeplibs="$newdeplibs $i"
54864
 
+                   i=""
54865
 
+                   ;;
54866
 
+                 esac
54867
 
+               fi
54868
 
+               if test -n "$i" ; then
54869
 
+                 libname=`eval "\\$ECHO \"$libname_spec\""`
54870
 
+                 deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
54871
 
+                 set dummy $deplib_matches; shift
54872
 
+                 deplib_match=$1
54873
 
+                 if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
54874
 
+                   newdeplibs="$newdeplibs $i"
54875
 
+                 else
54876
 
+                   droppeddeps=yes
54877
 
+                   $ECHO
54878
 
+                   $ECHO "*** Warning: dynamic linker does not accept needed library $i."
54879
 
+                   $ECHO "*** I have the capability to make that library automatically link in when"
54880
 
+                   $ECHO "*** you link to this library.  But I can only do this if you have a"
54881
 
+                   $ECHO "*** shared version of the library, which I believe you do not have"
54882
 
+                   $ECHO "*** because a test_compile did reveal that the linker did not use it for"
54883
 
+                   $ECHO "*** its dynamic dependency list that programs get resolved with at runtime."
54884
 
+                 fi
54885
 
+               fi
54886
 
+               ;;
54887
 
+             *)
54888
 
+               newdeplibs="$newdeplibs $i"
54889
 
+               ;;
54890
 
+             esac
54891
 
+           done
54892
 
+         else
54893
 
+           # Error occurred in the first compile.  Let's try to salvage
54894
 
+           # the situation: Compile a separate program for each library.
54895
 
+           for i in $deplibs; do
54896
 
+             case $i in
54897
 
+             -l*)
54898
 
+               func_stripname -l '' "$i"
54899
 
+               name=$func_stripname_result
54900
 
+               $opt_dry_run || $RM conftest
54901
 
+               if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
54902
 
+                 ldd_output=`ldd conftest`
54903
 
+                 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
54904
 
+                   case " $predeps $postdeps " in
54905
 
+                   *" $i "*)
54906
 
+                     newdeplibs="$newdeplibs $i"
54907
 
+                     i=""
54908
 
+                     ;;
54909
 
+                   esac
54910
 
+                 fi
54911
 
+                 if test -n "$i" ; then
54912
 
+                   libname=`eval "\\$ECHO \"$libname_spec\""`
54913
 
+                   deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
54914
 
+                   set dummy $deplib_matches; shift
54915
 
+                   deplib_match=$1
54916
 
+                   if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
54917
 
+                     newdeplibs="$newdeplibs $i"
54918
 
+                   else
54919
 
+                     droppeddeps=yes
54920
 
+                     $ECHO
54921
 
+                     $ECHO "*** Warning: dynamic linker does not accept needed library $i."
54922
 
+                     $ECHO "*** I have the capability to make that library automatically link in when"
54923
 
+                     $ECHO "*** you link to this library.  But I can only do this if you have a"
54924
 
+                     $ECHO "*** shared version of the library, which you do not appear to have"
54925
 
+                     $ECHO "*** because a test_compile did reveal that the linker did not use this one"
54926
 
+                     $ECHO "*** as a dynamic dependency that programs can get resolved with at runtime."
54927
 
+                   fi
54928
 
+                 fi
54929
 
+               else
54930
 
+                 droppeddeps=yes
54931
 
+                 $ECHO
54932
 
+                 $ECHO "*** Warning!  Library $i is needed by this library but I was not able to"
54933
 
+                 $ECHO "*** make it link in!  You will probably need to install it or some"
54934
 
+                 $ECHO "*** library that it depends on before this library will be fully"
54935
 
+                 $ECHO "*** functional.  Installing it before continuing would be even better."
54936
 
+               fi
54937
 
+               ;;
54938
 
+             *)
54939
 
+               newdeplibs="$newdeplibs $i"
54940
 
+               ;;
54941
 
+             esac
54942
 
+           done
54943
 
+         fi
54944
 
+         ;;
54945
 
+       file_magic*)
54946
 
+         set dummy $deplibs_check_method; shift
54947
 
+         file_magic_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
54948
 
+         for a_deplib in $deplibs; do
54949
 
+           case $a_deplib in
54950
 
+           -l*)
54951
 
+             func_stripname -l '' "$a_deplib"
54952
 
+             name=$func_stripname_result
54953
 
+             if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
54954
 
+               case " $predeps $postdeps " in
54955
 
+               *" $a_deplib "*)
54956
 
+                 newdeplibs="$newdeplibs $a_deplib"
54957
 
+                 a_deplib=""
54958
 
+                 ;;
54959
 
+               esac
54960
 
+             fi
54961
 
+             if test -n "$a_deplib" ; then
54962
 
+               libname=`eval "\\$ECHO \"$libname_spec\""`
54963
 
+               for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
54964
 
+                 potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
54965
 
+                 for potent_lib in $potential_libs; do
54966
 
+                     # Follow soft links.
54967
 
+                     if ls -lLd "$potent_lib" 2>/dev/null |
54968
 
+                        $GREP " -> " >/dev/null; then
54969
 
+                       continue
54970
 
+                     fi
54971
 
+                     # The statement above tries to avoid entering an
54972
 
+                     # endless loop below, in case of cyclic links.
54973
 
+                     # We might still enter an endless loop, since a link
54974
 
+                     # loop can be closed while we follow links,
54975
 
+                     # but so what?
54976
 
+                     potlib="$potent_lib"
54977
 
+                     while test -h "$potlib" 2>/dev/null; do
54978
 
+                       potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
54979
 
+                       case $potliblink in
54980
 
+                       [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
54981
 
+                       *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
54982
 
+                       esac
54983
 
+                     done
54984
 
+                     if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
54985
 
+                        $SED -e 10q |
54986
 
+                        $EGREP "$file_magic_regex" > /dev/null; then
54987
 
+                       newdeplibs="$newdeplibs $a_deplib"
54988
 
+                       a_deplib=""
54989
 
+                       break 2
54990
 
+                     fi
54991
 
+                 done
54992
 
+               done
54993
 
+             fi
54994
 
+             if test -n "$a_deplib" ; then
54995
 
+               droppeddeps=yes
54996
 
+               $ECHO
54997
 
+               $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
54998
 
+               $ECHO "*** I have the capability to make that library automatically link in when"
54999
 
+               $ECHO "*** you link to this library.  But I can only do this if you have a"
55000
 
+               $ECHO "*** shared version of the library, which you do not appear to have"
55001
 
+               $ECHO "*** because I did check the linker path looking for a file starting"
55002
 
+               if test -z "$potlib" ; then
55003
 
+                 $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
55004
 
+               else
55005
 
+                 $ECHO "*** with $libname and none of the candidates passed a file format test"
55006
 
+                 $ECHO "*** using a file magic. Last file checked: $potlib"
55007
 
+               fi
55008
 
+             fi
55009
 
+             ;;
55010
 
+           *)
55011
 
+             # Add a -L argument.
55012
 
+             newdeplibs="$newdeplibs $a_deplib"
55013
 
+             ;;
55014
 
+           esac
55015
 
+         done # Gone through all deplibs.
55016
 
+         ;;
55017
 
+       match_pattern*)
55018
 
+         set dummy $deplibs_check_method; shift
55019
 
+         match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
55020
 
+         for a_deplib in $deplibs; do
55021
 
+           case $a_deplib in
55022
 
+           -l*)
55023
 
+             func_stripname -l '' "$a_deplib"
55024
 
+             name=$func_stripname_result
55025
 
+             if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
55026
 
+               case " $predeps $postdeps " in
55027
 
+               *" $a_deplib "*)
55028
 
+                 newdeplibs="$newdeplibs $a_deplib"
55029
 
+                 a_deplib=""
55030
 
+                 ;;
55031
 
+               esac
55032
 
+             fi
55033
 
+             if test -n "$a_deplib" ; then
55034
 
+               libname=`eval "\\$ECHO \"$libname_spec\""`
55035
 
+               for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
55036
 
+                 potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
55037
 
+                 for potent_lib in $potential_libs; do
55038
 
+                   potlib="$potent_lib" # see symlink-check above in file_magic test
55039
 
+                   if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \
55040
 
+                      $EGREP "$match_pattern_regex" > /dev/null; then
55041
 
+                     newdeplibs="$newdeplibs $a_deplib"
55042
 
+                     a_deplib=""
55043
 
+                     break 2
55044
 
+                   fi
55045
 
+                 done
55046
 
+               done
55047
 
+             fi
55048
 
+             if test -n "$a_deplib" ; then
55049
 
+               droppeddeps=yes
55050
 
+               $ECHO
55051
 
+               $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
55052
 
+               $ECHO "*** I have the capability to make that library automatically link in when"
55053
 
+               $ECHO "*** you link to this library.  But I can only do this if you have a"
55054
 
+               $ECHO "*** shared version of the library, which you do not appear to have"
55055
 
+               $ECHO "*** because I did check the linker path looking for a file starting"
55056
 
+               if test -z "$potlib" ; then
55057
 
+                 $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
55058
 
+               else
55059
 
+                 $ECHO "*** with $libname and none of the candidates passed a file format test"
55060
 
+                 $ECHO "*** using a regex pattern. Last file checked: $potlib"
55061
 
+               fi
55062
 
+             fi
55063
 
+             ;;
55064
 
+           *)
55065
 
+             # Add a -L argument.
55066
 
+             newdeplibs="$newdeplibs $a_deplib"
55067
 
+             ;;
55068
 
+           esac
55069
 
+         done # Gone through all deplibs.
55070
 
+         ;;
55071
 
+       none | unknown | *)
55072
 
+         newdeplibs=""
55073
 
+         tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \
55074
 
+             -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'`
55075
 
+         if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
55076
 
+           for i in $predeps $postdeps ; do
55077
 
+             # can't use Xsed below, because $i might contain '/'
55078
 
+             tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"`
55079
 
+           done
55080
 
+         fi
55081
 
+         if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[      ]//g' |
55082
 
+            $GREP . >/dev/null; then
55083
 
+           $ECHO
55084
 
+           if test "X$deplibs_check_method" = "Xnone"; then
55085
 
+             $ECHO "*** Warning: inter-library dependencies are not supported in this platform."
55086
 
+           else
55087
 
+             $ECHO "*** Warning: inter-library dependencies are not known to be supported."
55088
 
+           fi
55089
 
+           $ECHO "*** All declared inter-library dependencies are being dropped."
55090
 
+           droppeddeps=yes
55091
 
+         fi
55092
 
+         ;;
55093
 
+       esac
55094
 
+       versuffix=$versuffix_save
55095
 
+       major=$major_save
55096
 
+       release=$release_save
55097
 
+       libname=$libname_save
55098
 
+       name=$name_save
55099
 
 
55100
 
-    # If there was a directory component, then change thisdir.
55101
 
-    if test \"x\$destdir\" != \"x\$file\"; then
55102
 
-      case \"\$destdir\" in
55103
 
-      [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
55104
 
-      *) thisdir=\"\$thisdir/\$destdir\" ;;
55105
 
+       case $host in
55106
 
+       *-*-rhapsody* | *-*-darwin1.[012])
55107
 
+         # On Rhapsody replace the C library with the System framework
55108
 
+         newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
55109
 
+         ;;
55110
 
+       esac
55111
 
+
55112
 
+       if test "$droppeddeps" = yes; then
55113
 
+         if test "$module" = yes; then
55114
 
+           $ECHO
55115
 
+           $ECHO "*** Warning: libtool could not satisfy all declared inter-library"
55116
 
+           $ECHO "*** dependencies of module $libname.  Therefore, libtool will create"
55117
 
+           $ECHO "*** a static module, that should work as long as the dlopening"
55118
 
+           $ECHO "*** application is linked with the -dlopen flag."
55119
 
+           if test -z "$global_symbol_pipe"; then
55120
 
+             $ECHO
55121
 
+             $ECHO "*** However, this would only work if libtool was able to extract symbol"
55122
 
+             $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
55123
 
+             $ECHO "*** not find such a program.  So, this module is probably useless."
55124
 
+             $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
55125
 
+           fi
55126
 
+           if test "$build_old_libs" = no; then
55127
 
+             oldlibs="$output_objdir/$libname.$libext"
55128
 
+             build_libtool_libs=module
55129
 
+             build_old_libs=yes
55130
 
+           else
55131
 
+             build_libtool_libs=no
55132
 
+           fi
55133
 
+         else
55134
 
+           $ECHO "*** The inter-library dependencies that have been dropped here will be"
55135
 
+           $ECHO "*** automatically added whenever a program is linked with this library"
55136
 
+           $ECHO "*** or is declared to -dlopen it."
55137
 
+
55138
 
+           if test "$allow_undefined" = no; then
55139
 
+             $ECHO
55140
 
+             $ECHO "*** Since this library must not contain undefined symbols,"
55141
 
+             $ECHO "*** because either the platform does not support them or"
55142
 
+             $ECHO "*** it was explicitly requested with -no-undefined,"
55143
 
+             $ECHO "*** libtool will only create a static version of it."
55144
 
+             if test "$build_old_libs" = no; then
55145
 
+               oldlibs="$output_objdir/$libname.$libext"
55146
 
+               build_libtool_libs=module
55147
 
+               build_old_libs=yes
55148
 
+             else
55149
 
+               build_libtool_libs=no
55150
 
+             fi
55151
 
+           fi
55152
 
+         fi
55153
 
+       fi
55154
 
+       # Done checking deplibs!
55155
 
+       deplibs=$newdeplibs
55156
 
+      fi
55157
 
+      # Time to change all our "foo.ltframework" stuff back to "-framework foo"
55158
 
+      case $host in
55159
 
+       *-*-darwin*)
55160
 
+         newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
55161
 
+         new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
55162
 
+         deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
55163
 
+         ;;
55164
 
       esac
55165
 
-    fi
55166
 
 
55167
 
-    file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
55168
 
-    file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
55169
 
-  done
55170
 
+      # move library search paths that coincide with paths to not yet
55171
 
+      # installed libraries to the beginning of the library search list
55172
 
+      new_libs=
55173
 
+      for path in $notinst_path; do
55174
 
+       case " $new_libs " in
55175
 
+       *" -L$path/$objdir "*) ;;
55176
 
+       *)
55177
 
+         case " $deplibs " in
55178
 
+         *" -L$path/$objdir "*)
55179
 
+           new_libs="$new_libs -L$path/$objdir" ;;
55180
 
+         esac
55181
 
+         ;;
55182
 
+       esac
55183
 
+      done
55184
 
+      for deplib in $deplibs; do
55185
 
+       case $deplib in
55186
 
+       -L*)
55187
 
+         case " $new_libs " in
55188
 
+         *" $deplib "*) ;;
55189
 
+         *) new_libs="$new_libs $deplib" ;;
55190
 
+         esac
55191
 
+         ;;
55192
 
+       *) new_libs="$new_libs $deplib" ;;
55193
 
+       esac
55194
 
+      done
55195
 
+      deplibs="$new_libs"
55196
 
 
55197
 
-  # Try to get the absolute directory name.
55198
 
-  absdir=\`cd \"\$thisdir\" && pwd\`
55199
 
-  test -n \"\$absdir\" && thisdir=\"\$absdir\"
55200
 
-"
55201
 
+      # All the library-specific variables (install_libdir is set above).
55202
 
+      library_names=
55203
 
+      old_library=
55204
 
+      dlname=
55205
 
+
55206
 
+      # Test again, we may have decided not to build it any more
55207
 
+      if test "$build_libtool_libs" = yes; then
55208
 
+       if test "$hardcode_into_libs" = yes; then
55209
 
+         # Hardcode the library paths
55210
 
+         hardcode_libdirs=
55211
 
+         dep_rpath=
55212
 
+         rpath="$finalize_rpath"
55213
 
+         test "$mode" != relink && rpath="$compile_rpath$rpath"
55214
 
+         for libdir in $rpath; do
55215
 
+           if test -n "$hardcode_libdir_flag_spec"; then
55216
 
+             if test -n "$hardcode_libdir_separator"; then
55217
 
+               if test -z "$hardcode_libdirs"; then
55218
 
+                 hardcode_libdirs="$libdir"
55219
 
+               else
55220
 
+                 # Just accumulate the unique libdirs.
55221
 
+                 case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
55222
 
+                 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
55223
 
+                   ;;
55224
 
+                 *)
55225
 
+                   hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
55226
 
+                   ;;
55227
 
+                 esac
55228
 
+               fi
55229
 
+             else
55230
 
+               eval flag=\"$hardcode_libdir_flag_spec\"
55231
 
+               dep_rpath="$dep_rpath $flag"
55232
 
+             fi
55233
 
+           elif test -n "$runpath_var"; then
55234
 
+             case "$perm_rpath " in
55235
 
+             *" $libdir "*) ;;
55236
 
+             *) perm_rpath="$perm_rpath $libdir" ;;
55237
 
+             esac
55238
 
+           fi
55239
 
+         done
55240
 
+         # Substitute the hardcoded libdirs into the rpath.
55241
 
+         if test -n "$hardcode_libdir_separator" &&
55242
 
+            test -n "$hardcode_libdirs"; then
55243
 
+           libdir="$hardcode_libdirs"
55244
 
+           if test -n "$hardcode_libdir_flag_spec_ld"; then
55245
 
+             eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
55246
 
+           else
55247
 
+             eval dep_rpath=\"$hardcode_libdir_flag_spec\"
55248
 
+           fi
55249
 
+         fi
55250
 
+         if test -n "$runpath_var" && test -n "$perm_rpath"; then
55251
 
+           # We should set the runpath_var.
55252
 
+           rpath=
55253
 
+           for dir in $perm_rpath; do
55254
 
+             rpath="$rpath$dir:"
55255
 
+           done
55256
 
+           eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
55257
 
+         fi
55258
 
+         test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
55259
 
+       fi
55260
 
 
55261
 
-       if test "$fast_install" = yes; then
55262
 
-         $echo >> $output "\
55263
 
-  program=lt-'$outputname'$exeext
55264
 
-  progdir=\"\$thisdir/$objdir\"
55265
 
+       shlibpath="$finalize_shlibpath"
55266
 
+       test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
55267
 
+       if test -n "$shlibpath"; then
55268
 
+         eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
55269
 
+       fi
55270
 
 
55271
 
-  if test ! -f \"\$progdir/\$program\" || \\
55272
 
-     { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
55273
 
-       test \"X\$file\" != \"X\$progdir/\$program\"; }; then
55274
 
+       # Get the real and link names of the library.
55275
 
+       eval shared_ext=\"$shrext_cmds\"
55276
 
+       eval library_names=\"$library_names_spec\"
55277
 
+       set dummy $library_names
55278
 
+       shift
55279
 
+       realname="$1"
55280
 
+       shift
55281
 
 
55282
 
-    file=\"\$\$-\$program\"
55283
 
+       if test -n "$soname_spec"; then
55284
 
+         eval soname=\"$soname_spec\"
55285
 
+       else
55286
 
+         soname="$realname"
55287
 
+       fi
55288
 
+       if test -z "$dlname"; then
55289
 
+         dlname=$soname
55290
 
+       fi
55291
 
 
55292
 
-    if test ! -d \"\$progdir\"; then
55293
 
-      $mkdir \"\$progdir\"
55294
 
-    else
55295
 
-      $rm \"\$progdir/\$file\"
55296
 
-    fi"
55297
 
+       lib="$output_objdir/$realname"
55298
 
+       linknames=
55299
 
+       for link
55300
 
+       do
55301
 
+         linknames="$linknames $link"
55302
 
+       done
55303
 
 
55304
 
-         $echo >> $output "\
55305
 
+       # Use standard objects if they are pic
55306
 
+       test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
55307
 
+       test "X$libobjs" = "X " && libobjs=
55308
 
 
55309
 
-    # relink executable if necessary
55310
 
-    if test -n \"\$relink_command\"; then
55311
 
-      if relink_command_output=\`eval \$relink_command 2>&1\`; then :
55312
 
-      else
55313
 
-       $echo \"\$relink_command_output\" >&2
55314
 
-       $rm \"\$progdir/\$file\"
55315
 
-       exit $EXIT_FAILURE
55316
 
-      fi
55317
 
-    fi
55318
 
+       delfiles=
55319
 
+       if test -n "$export_symbols" && test -n "$include_expsyms"; then
55320
 
+         $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
55321
 
+         export_symbols="$output_objdir/$libname.uexp"
55322
 
+         delfiles="$delfiles $export_symbols"
55323
 
+       fi
55324
 
+
55325
 
+       orig_export_symbols=
55326
 
+       case $host_os in
55327
 
+       cygwin* | mingw* | cegcc*)
55328
 
+         if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
55329
 
+           # exporting using user supplied symfile
55330
 
+           if test "x`$SED 1q $export_symbols`" != xEXPORTS; then
55331
 
+             # and it's NOT already a .def file. Must figure out
55332
 
+             # which of the given symbols are data symbols and tag
55333
 
+             # them as such. So, trigger use of export_symbols_cmds.
55334
 
+             # export_symbols gets reassigned inside the "prepare
55335
 
+             # the list of exported symbols" if statement, so the
55336
 
+             # include_expsyms logic still works.
55337
 
+             orig_export_symbols="$export_symbols"
55338
 
+             export_symbols=
55339
 
+             always_export_symbols=yes
55340
 
+           fi
55341
 
+         fi
55342
 
+         ;;
55343
 
+       esac
55344
 
 
55345
 
-    $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
55346
 
-    { $rm \"\$progdir/\$program\";
55347
 
-      $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; }
55348
 
-    $rm \"\$progdir/\$file\"
55349
 
-  fi"
55350
 
-       else
55351
 
-         $echo >> $output "\
55352
 
-  program='$outputname'
55353
 
-  progdir=\"\$thisdir/$objdir\"
55354
 
-"
55355
 
+       # Prepare the list of exported symbols
55356
 
+       if test -z "$export_symbols"; then
55357
 
+         if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
55358
 
+           func_verbose "generating symbol list for \`$libname.la'"
55359
 
+           export_symbols="$output_objdir/$libname.exp"
55360
 
+           $opt_dry_run || $RM $export_symbols
55361
 
+           cmds=$export_symbols_cmds
55362
 
+           save_ifs="$IFS"; IFS='~'
55363
 
+           for cmd in $cmds; do
55364
 
+             IFS="$save_ifs"
55365
 
+             eval cmd=\"$cmd\"
55366
 
+             func_len " $cmd"
55367
 
+             len=$func_len_result
55368
 
+             if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
55369
 
+               func_show_eval "$cmd" 'exit $?'
55370
 
+               skipped_export=false
55371
 
+             else
55372
 
+               # The command line is too long to execute in one step.
55373
 
+               func_verbose "using reloadable object file for export list..."
55374
 
+               skipped_export=:
55375
 
+               # Break out early, otherwise skipped_export may be
55376
 
+               # set to false by a later but shorter cmd.
55377
 
+               break
55378
 
+             fi
55379
 
+           done
55380
 
+           IFS="$save_ifs"
55381
 
+           if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then
55382
 
+             func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
55383
 
+             func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
55384
 
+           fi
55385
 
+         fi
55386
 
        fi
55387
 
 
55388
 
-       $echo >> $output "\
55389
 
-
55390
 
-  if test -f \"\$progdir/\$program\"; then"
55391
 
+       if test -n "$export_symbols" && test -n "$include_expsyms"; then
55392
 
+         tmp_export_symbols="$export_symbols"
55393
 
+         test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
55394
 
+         $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
55395
 
+       fi
55396
 
+
55397
 
+       if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
55398
 
+         # The given exports_symbols file has to be filtered, so filter it.
55399
 
+         func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
55400
 
+         # FIXME: $output_objdir/$libname.filter potentially contains lots of
55401
 
+         # 's' commands which not all seds can handle. GNU sed should be fine
55402
 
+         # though. Also, the filter scales superlinearly with the number of
55403
 
+         # global variables. join(1) would be nice here, but unfortunately
55404
 
+         # isn't a blessed tool.
55405
 
+         $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
55406
 
+         delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
55407
 
+         export_symbols=$output_objdir/$libname.def
55408
 
+         $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
55409
 
+       fi
55410
 
 
55411
 
-       # Export our shlibpath_var if we have one.
55412
 
-       if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
55413
 
-         $echo >> $output "\
55414
 
-    # Add our own library path to $shlibpath_var
55415
 
-    $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
55416
 
+       tmp_deplibs=
55417
 
+       for test_deplib in $deplibs; do
55418
 
+         case " $convenience " in
55419
 
+         *" $test_deplib "*) ;;
55420
 
+         *)
55421
 
+           tmp_deplibs="$tmp_deplibs $test_deplib"
55422
 
+           ;;
55423
 
+         esac
55424
 
+       done
55425
 
+       deplibs="$tmp_deplibs"
55426
 
 
55427
 
-    # Some systems cannot cope with colon-terminated $shlibpath_var
55428
 
-    # The second colon is a workaround for a bug in BeOS R4 sed
55429
 
-    $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
55430
 
+       if test -n "$convenience"; then
55431
 
+         if test -n "$whole_archive_flag_spec" &&
55432
 
+           test "$compiler_needs_object" = yes &&
55433
 
+           test -z "$libobjs"; then
55434
 
+           # extract the archives, so we have objects to list.
55435
 
+           # TODO: could optimize this to just extract one archive.
55436
 
+           whole_archive_flag_spec=
55437
 
+         fi
55438
 
+         if test -n "$whole_archive_flag_spec"; then
55439
 
+           save_libobjs=$libobjs
55440
 
+           eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
55441
 
+           test "X$libobjs" = "X " && libobjs=
55442
 
+         else
55443
 
+           gentop="$output_objdir/${outputname}x"
55444
 
+           generated="$generated $gentop"
55445
 
 
55446
 
-    export $shlibpath_var
55447
 
-"
55448
 
+           func_extract_archives $gentop $convenience
55449
 
+           libobjs="$libobjs $func_extract_archives_result"
55450
 
+           test "X$libobjs" = "X " && libobjs=
55451
 
+         fi
55452
 
        fi
55453
 
 
55454
 
-       # fixup the dll searchpath if we need to.
55455
 
-       if test -n "$dllsearchpath"; then
55456
 
-         $echo >> $output "\
55457
 
-    # Add the dll search path components to the executable PATH
55458
 
-    PATH=$dllsearchpath:\$PATH
55459
 
-"
55460
 
+       if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
55461
 
+         eval flag=\"$thread_safe_flag_spec\"
55462
 
+         linker_flags="$linker_flags $flag"
55463
 
        fi
55464
 
 
55465
 
-       $echo >> $output "\
55466
 
-    if test \"\$libtool_execute_magic\" != \"$magic\"; then
55467
 
-      # Run the actual program with our arguments.
55468
 
-"
55469
 
-       case $host in
55470
 
-       # Backslashes separate directories on plain windows
55471
 
-       *-*-mingw | *-*-os2*)
55472
 
-         $echo >> $output "\
55473
 
-      exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
55474
 
-"
55475
 
-         ;;
55476
 
-
55477
 
-       *)
55478
 
-         $echo >> $output "\
55479
 
-      exec \"\$progdir/\$program\" \${1+\"\$@\"}
55480
 
-"
55481
 
-         ;;
55482
 
-       esac
55483
 
-       $echo >> $output "\
55484
 
-      \$echo \"\$0: cannot exec \$program \$*\"
55485
 
-      exit $EXIT_FAILURE
55486
 
-    fi
55487
 
-  else
55488
 
-    # The program doesn't exist.
55489
 
-    \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
55490
 
-    \$echo \"This script is just a wrapper for \$program.\" 1>&2
55491
 
-    $echo \"See the $PACKAGE documentation for more information.\" 1>&2
55492
 
-    exit $EXIT_FAILURE
55493
 
-  fi
55494
 
-fi\
55495
 
-"
55496
 
-       chmod +x $output
55497
 
-      fi
55498
 
-      exit $EXIT_SUCCESS
55499
 
-      ;;
55500
 
-    esac
55501
 
-
55502
 
-    # See if we need to build an old-fashioned archive.
55503
 
-    for oldlib in $oldlibs; do
55504
 
+       # Make a backup of the uninstalled library when relinking
55505
 
+       if test "$mode" = relink; then
55506
 
+         $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $?
55507
 
+       fi
55508
 
 
55509
 
-      if test "$build_libtool_libs" = convenience; then
55510
 
-       oldobjs="$libobjs_save"
55511
 
-       addlibs="$convenience"
55512
 
-       build_libtool_libs=no
55513
 
-      else
55514
 
-       if test "$build_libtool_libs" = module; then
55515
 
-         oldobjs="$libobjs_save"
55516
 
-         build_libtool_libs=no
55517
 
+       # Do each of the archive commands.
55518
 
+       if test "$module" = yes && test -n "$module_cmds" ; then
55519
 
+         if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
55520
 
+           eval test_cmds=\"$module_expsym_cmds\"
55521
 
+           cmds=$module_expsym_cmds
55522
 
+         else
55523
 
+           eval test_cmds=\"$module_cmds\"
55524
 
+           cmds=$module_cmds
55525
 
+         fi
55526
 
        else
55527
 
-         oldobjs="$old_deplibs $non_pic_objects"
55528
 
+         if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
55529
 
+           eval test_cmds=\"$archive_expsym_cmds\"
55530
 
+           cmds=$archive_expsym_cmds
55531
 
+         else
55532
 
+           eval test_cmds=\"$archive_cmds\"
55533
 
+           cmds=$archive_cmds
55534
 
+         fi
55535
 
        fi
55536
 
-       addlibs="$old_convenience"
55537
 
-      fi
55538
 
 
55539
 
-      if test -n "$addlibs"; then
55540
 
-       gentop="$output_objdir/${outputname}x"
55541
 
-       generated="$generated $gentop"
55542
 
+       if test "X$skipped_export" != "X:" &&
55543
 
+          func_len " $test_cmds" &&
55544
 
+          len=$func_len_result &&
55545
 
+          test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
55546
 
+         :
55547
 
+       else
55548
 
+         # The command line is too long to link in one step, link piecewise
55549
 
+         # or, if using GNU ld and skipped_export is not :, use a linker
55550
 
+         # script.
55551
 
 
55552
 
-       func_extract_archives $gentop $addlibs
55553
 
-       oldobjs="$oldobjs $func_extract_archives_result"
55554
 
-      fi
55555
 
+         # Save the value of $output and $libobjs because we want to
55556
 
+         # use them later.  If we have whole_archive_flag_spec, we
55557
 
+         # want to use save_libobjs as it was before
55558
 
+         # whole_archive_flag_spec was expanded, because we can't
55559
 
+         # assume the linker understands whole_archive_flag_spec.
55560
 
+         # This may have to be revisited, in case too many
55561
 
+         # convenience libraries get linked in and end up exceeding
55562
 
+         # the spec.
55563
 
+         if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
55564
 
+           save_libobjs=$libobjs
55565
 
+         fi
55566
 
+         save_output=$output
55567
 
+         output_la=`$ECHO "X$output" | $Xsed -e "$basename"`
55568
 
 
55569
 
-      # Do each command in the archive commands.
55570
 
-      if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
55571
 
-       cmds=$old_archive_from_new_cmds
55572
 
-      else
55573
 
-       # POSIX demands no paths to be encoded in archives.  We have
55574
 
-       # to avoid creating archives with duplicate basenames if we
55575
 
-       # might have to extract them afterwards, e.g., when creating a
55576
 
-       # static archive out of a convenience library, or when linking
55577
 
-       # the entirety of a libtool archive into another (currently
55578
 
-       # not supported by libtool).
55579
 
-       if (for obj in $oldobjs
55580
 
+         # Clear the reloadable object creation command queue and
55581
 
+         # initialize k to one.
55582
 
+         test_cmds=
55583
 
+         concat_cmds=
55584
 
+         objlist=
55585
 
+         last_robj=
55586
 
+         k=1
55587
 
+
55588
 
+         if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then
55589
 
+           output=${output_objdir}/${output_la}.lnkscript
55590
 
+           func_verbose "creating GNU ld script: $output"
55591
 
+           $ECHO 'INPUT (' > $output
55592
 
+           for obj in $save_libobjs
55593
 
            do
55594
 
-             $echo "X$obj" | $Xsed -e 's%^.*/%%'
55595
 
-           done | sort | sort -uc >/dev/null 2>&1); then
55596
 
-         :
55597
 
-       else
55598
 
-         $echo "copying selected object files to avoid basename conflicts..."
55599
 
+             $ECHO "$obj" >> $output
55600
 
+           done
55601
 
+           $ECHO ')' >> $output
55602
 
+           delfiles="$delfiles $output"
55603
 
+         elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
55604
 
+           output=${output_objdir}/${output_la}.lnk
55605
 
+           func_verbose "creating linker input file list: $output"
55606
 
+           : > $output
55607
 
+           set x $save_libobjs
55608
 
+           shift
55609
 
+           firstobj=
55610
 
+           if test "$compiler_needs_object" = yes; then
55611
 
+             firstobj="$1 "
55612
 
+             shift
55613
 
+           fi
55614
 
+           for obj
55615
 
+           do
55616
 
+             $ECHO "$obj" >> $output
55617
 
+           done
55618
 
+           delfiles="$delfiles $output"
55619
 
+           output=$firstobj\"$file_list_spec$output\"
55620
 
+         else
55621
 
+           if test -n "$save_libobjs"; then
55622
 
+             func_verbose "creating reloadable object files..."
55623
 
+             output=$output_objdir/$output_la-${k}.$objext
55624
 
+             eval test_cmds=\"$reload_cmds\"
55625
 
+             func_len " $test_cmds"
55626
 
+             len0=$func_len_result
55627
 
+             len=$len0
55628
 
+
55629
 
+             # Loop over the list of objects to be linked.
55630
 
+             for obj in $save_libobjs
55631
 
+             do
55632
 
+               func_len " $obj"
55633
 
+               func_arith $len + $func_len_result
55634
 
+               len=$func_arith_result
55635
 
+               if test "X$objlist" = X ||
55636
 
+                  test "$len" -lt "$max_cmd_len"; then
55637
 
+                 func_append objlist " $obj"
55638
 
+               else
55639
 
+                 # The command $test_cmds is almost too long, add a
55640
 
+                 # command to the queue.
55641
 
+                 if test "$k" -eq 1 ; then
55642
 
+                   # The first file doesn't have a previous command to add.
55643
 
+                   eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
55644
 
+                 else
55645
 
+                   # All subsequent reloadable object files will link in
55646
 
+                   # the last one created.
55647
 
+                   eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\"
55648
 
+                 fi
55649
 
+                 last_robj=$output_objdir/$output_la-${k}.$objext
55650
 
+                 func_arith $k + 1
55651
 
+                 k=$func_arith_result
55652
 
+                 output=$output_objdir/$output_la-${k}.$objext
55653
 
+                 objlist=$obj
55654
 
+                 func_len " $last_robj"
55655
 
+                 func_arith $len0 + $func_len_result
55656
 
+                 len=$func_arith_result
55657
 
+               fi
55658
 
+             done
55659
 
+             # Handle the remaining objects by creating one last
55660
 
+             # reloadable object file.  All subsequent reloadable object
55661
 
+             # files will link in the last one created.
55662
 
+             test -z "$concat_cmds" || concat_cmds=$concat_cmds~
55663
 
+             eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
55664
 
+             if test -n "$last_robj"; then
55665
 
+               eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\"
55666
 
+             fi
55667
 
+             delfiles="$delfiles $output"
55668
 
 
55669
 
-         if test -z "$gentop"; then
55670
 
-           gentop="$output_objdir/${outputname}x"
55671
 
-           generated="$generated $gentop"
55672
 
+           else
55673
 
+             output=
55674
 
+           fi
55675
 
+
55676
 
+           if ${skipped_export-false}; then
55677
 
+             func_verbose "generating symbol list for \`$libname.la'"
55678
 
+             export_symbols="$output_objdir/$libname.exp"
55679
 
+             $opt_dry_run || $RM $export_symbols
55680
 
+             libobjs=$output
55681
 
+             # Append the command to create the export file.
55682
 
+             test -z "$concat_cmds" || concat_cmds=$concat_cmds~
55683
 
+             eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\"
55684
 
+             if test -n "$last_robj"; then
55685
 
+               eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
55686
 
+             fi
55687
 
+           fi
55688
 
+
55689
 
+           test -n "$save_libobjs" &&
55690
 
+             func_verbose "creating a temporary reloadable object file: $output"
55691
 
+
55692
 
+           # Loop through the commands generated above and execute them.
55693
 
+           save_ifs="$IFS"; IFS='~'
55694
 
+           for cmd in $concat_cmds; do
55695
 
+             IFS="$save_ifs"
55696
 
+             $opt_silent || {
55697
 
+                 func_quote_for_expand "$cmd"
55698
 
+                 eval "func_echo $func_quote_for_expand_result"
55699
 
+             }
55700
 
+             $opt_dry_run || eval "$cmd" || {
55701
 
+               lt_exit=$?
55702
 
+
55703
 
+               # Restore the uninstalled library and exit
55704
 
+               if test "$mode" = relink; then
55705
 
+                 ( cd "$output_objdir" && \
55706
 
+                   $RM "${realname}T" && \
55707
 
+                   $MV "${realname}U" "$realname" )
55708
 
+               fi
55709
 
+
55710
 
+               exit $lt_exit
55711
 
+             }
55712
 
+           done
55713
 
+           IFS="$save_ifs"
55714
 
 
55715
 
-           $show "${rm}r $gentop"
55716
 
-           $run ${rm}r "$gentop"
55717
 
-           $show "$mkdir $gentop"
55718
 
-           $run $mkdir "$gentop"
55719
 
-           exit_status=$?
55720
 
-           if test "$exit_status" -ne 0 && test ! -d "$gentop"; then
55721
 
-             exit $exit_status
55722
 
+           if test -n "$export_symbols_regex" && ${skipped_export-false}; then
55723
 
+             func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
55724
 
+             func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
55725
 
            fi
55726
 
          fi
55727
 
 
55728
 
-         save_oldobjs=$oldobjs
55729
 
-         oldobjs=
55730
 
-         counter=1
55731
 
-         for obj in $save_oldobjs
55732
 
-         do
55733
 
-           objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
55734
 
-           case " $oldobjs " in
55735
 
-           " ") oldobjs=$obj ;;
55736
 
-           *[\ /]"$objbase "*)
55737
 
-             while :; do
55738
 
-               # Make sure we don't pick an alternate name that also
55739
 
-               # overlaps.
55740
 
-               newobj=lt$counter-$objbase
55741
 
-               counter=`expr $counter + 1`
55742
 
-               case " $oldobjs " in
55743
 
-               *[\ /]"$newobj "*) ;;
55744
 
-               *) if test ! -f "$gentop/$newobj"; then break; fi ;;
55745
 
-               esac
55746
 
-             done
55747
 
-             $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
55748
 
-             $run ln "$obj" "$gentop/$newobj" ||
55749
 
-             $run cp "$obj" "$gentop/$newobj"
55750
 
-             oldobjs="$oldobjs $gentop/$newobj"
55751
 
-             ;;
55752
 
-           *) oldobjs="$oldobjs $obj" ;;
55753
 
-           esac
55754
 
-         done
55755
 
-       fi
55756
 
+          if ${skipped_export-false}; then
55757
 
+           if test -n "$export_symbols" && test -n "$include_expsyms"; then
55758
 
+             tmp_export_symbols="$export_symbols"
55759
 
+             test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
55760
 
+             $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
55761
 
+           fi
55762
 
+
55763
 
+           if test -n "$orig_export_symbols"; then
55764
 
+             # The given exports_symbols file has to be filtered, so filter it.
55765
 
+             func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
55766
 
+             # FIXME: $output_objdir/$libname.filter potentially contains lots of
55767
 
+             # 's' commands which not all seds can handle. GNU sed should be fine
55768
 
+             # though. Also, the filter scales superlinearly with the number of
55769
 
+             # global variables. join(1) would be nice here, but unfortunately
55770
 
+             # isn't a blessed tool.
55771
 
+             $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
55772
 
+             delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
55773
 
+             export_symbols=$output_objdir/$libname.def
55774
 
+             $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
55775
 
+           fi
55776
 
+         fi
55777
 
 
55778
 
-       eval cmds=\"$old_archive_cmds\"
55779
 
+         libobjs=$output
55780
 
+         # Restore the value of output.
55781
 
+         output=$save_output
55782
 
 
55783
 
-       if len=`expr "X$cmds" : ".*"` &&
55784
 
-            test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
55785
 
-         cmds=$old_archive_cmds
55786
 
-       else
55787
 
-         # the command line is too long to link in one step, link in parts
55788
 
-         $echo "using piecewise archive linking..."
55789
 
-         save_RANLIB=$RANLIB
55790
 
-         RANLIB=:
55791
 
-         objlist=
55792
 
-         concat_cmds=
55793
 
-         save_oldobjs=$oldobjs
55794
 
+         if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
55795
 
+           eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
55796
 
+           test "X$libobjs" = "X " && libobjs=
55797
 
+         fi
55798
 
+         # Expand the library linking commands again to reset the
55799
 
+         # value of $libobjs for piecewise linking.
55800
 
 
55801
 
-         # Is there a better way of finding the last object in the list?
55802
 
-         for obj in $save_oldobjs
55803
 
-         do
55804
 
-           last_oldobj=$obj
55805
 
-         done
55806
 
-         for obj in $save_oldobjs
55807
 
-         do
55808
 
-           oldobjs="$objlist $obj"
55809
 
-           objlist="$objlist $obj"
55810
 
-           eval test_cmds=\"$old_archive_cmds\"
55811
 
-           if len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
55812
 
-              test "$len" -le "$max_cmd_len"; then
55813
 
-             :
55814
 
+         # Do each of the archive commands.
55815
 
+         if test "$module" = yes && test -n "$module_cmds" ; then
55816
 
+           if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
55817
 
+             cmds=$module_expsym_cmds
55818
 
            else
55819
 
-             # the above command should be used before it gets too long
55820
 
-             oldobjs=$objlist
55821
 
-             if test "$obj" = "$last_oldobj" ; then
55822
 
-               RANLIB=$save_RANLIB
55823
 
-             fi
55824
 
-             test -z "$concat_cmds" || concat_cmds=$concat_cmds~
55825
 
-             eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
55826
 
-             objlist=
55827
 
+             cmds=$module_cmds
55828
 
            fi
55829
 
-         done
55830
 
-         RANLIB=$save_RANLIB
55831
 
-         oldobjs=$objlist
55832
 
-         if test "X$oldobjs" = "X" ; then
55833
 
-           eval cmds=\"\$concat_cmds\"
55834
 
          else
55835
 
-           eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
55836
 
+           if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
55837
 
+             cmds=$archive_expsym_cmds
55838
 
+           else
55839
 
+             cmds=$archive_cmds
55840
 
+           fi
55841
 
          fi
55842
 
        fi
55843
 
-      fi
55844
 
-      save_ifs="$IFS"; IFS='~'
55845
 
-      for cmd in $cmds; do
55846
 
-        eval cmd=\"$cmd\"
55847
 
-       IFS="$save_ifs"
55848
 
-       $show "$cmd"
55849
 
-       $run eval "$cmd" || exit $?
55850
 
-      done
55851
 
-      IFS="$save_ifs"
55852
 
-    done
55853
 
 
55854
 
-    if test -n "$generated"; then
55855
 
-      $show "${rm}r$generated"
55856
 
-      $run ${rm}r$generated
55857
 
-    fi
55858
 
+       if test -n "$delfiles"; then
55859
 
+         # Append the command to remove temporary files to $cmds.
55860
 
+         eval cmds=\"\$cmds~\$RM $delfiles\"
55861
 
+       fi
55862
 
 
55863
 
-    # Now create the libtool archive.
55864
 
-    case $output in
55865
 
-    *.la)
55866
 
-      old_library=
55867
 
-      test "$build_old_libs" = yes && old_library="$libname.$libext"
55868
 
-      $show "creating $output"
55869
 
+       # Add any objects from preloaded convenience libraries
55870
 
+       if test -n "$dlprefiles"; then
55871
 
+         gentop="$output_objdir/${outputname}x"
55872
 
+         generated="$generated $gentop"
55873
 
 
55874
 
-      # Preserve any variables that may affect compiler behavior
55875
 
-      for var in $variables_saved_for_relink; do
55876
 
-       if eval test -z \"\${$var+set}\"; then
55877
 
-         relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
55878
 
-       elif eval var_value=\$$var; test -z "$var_value"; then
55879
 
-         relink_command="$var=; export $var; $relink_command"
55880
 
-       else
55881
 
-         var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
55882
 
-         relink_command="$var=\"$var_value\"; export $var; $relink_command"
55883
 
+         func_extract_archives $gentop $dlprefiles
55884
 
+         libobjs="$libobjs $func_extract_archives_result"
55885
 
+         test "X$libobjs" = "X " && libobjs=
55886
 
        fi
55887
 
-      done
55888
 
-      # Quote the link command for shipping.
55889
 
-      relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
55890
 
-      relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
55891
 
-      if test "$hardcode_automatic" = yes ; then
55892
 
-       relink_command=
55893
 
-      fi
55894
 
 
55895
 
+       save_ifs="$IFS"; IFS='~'
55896
 
+       for cmd in $cmds; do
55897
 
+         IFS="$save_ifs"
55898
 
+         eval cmd=\"$cmd\"
55899
 
+         $opt_silent || {
55900
 
+           func_quote_for_expand "$cmd"
55901
 
+           eval "func_echo $func_quote_for_expand_result"
55902
 
+         }
55903
 
+         $opt_dry_run || eval "$cmd" || {
55904
 
+           lt_exit=$?
55905
 
 
55906
 
-      # Only create the output if not a dry run.
55907
 
-      if test -z "$run"; then
55908
 
-       for installed in no yes; do
55909
 
-         if test "$installed" = yes; then
55910
 
-           if test -z "$install_libdir"; then
55911
 
-             break
55912
 
+           # Restore the uninstalled library and exit
55913
 
+           if test "$mode" = relink; then
55914
 
+             ( cd "$output_objdir" && \
55915
 
+               $RM "${realname}T" && \
55916
 
+               $MV "${realname}U" "$realname" )
55917
 
            fi
55918
 
-           output="$output_objdir/$outputname"i
55919
 
-           # Replace all uninstalled libtool libraries with the installed ones
55920
 
-           newdependency_libs=
55921
 
-           for deplib in $dependency_libs; do
55922
 
-             case $deplib in
55923
 
-             *.la)
55924
 
-               name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
55925
 
-               eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
55926
 
-               if test -z "$libdir"; then
55927
 
-                 $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
55928
 
-                 exit $EXIT_FAILURE
55929
 
-               fi
55930
 
-               newdependency_libs="$newdependency_libs $libdir/$name"
55931
 
-               ;;
55932
 
-             *) newdependency_libs="$newdependency_libs $deplib" ;;
55933
 
-             esac
55934
 
-           done
55935
 
-           dependency_libs="$newdependency_libs"
55936
 
-           newdlfiles=
55937
 
-           for lib in $dlfiles; do
55938
 
-             name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
55939
 
-             eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
55940
 
-             if test -z "$libdir"; then
55941
 
-               $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
55942
 
-               exit $EXIT_FAILURE
55943
 
-             fi
55944
 
-             newdlfiles="$newdlfiles $libdir/$name"
55945
 
-           done
55946
 
-           dlfiles="$newdlfiles"
55947
 
-           newdlprefiles=
55948
 
-           for lib in $dlprefiles; do
55949
 
-             name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
55950
 
-             eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
55951
 
-             if test -z "$libdir"; then
55952
 
-               $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
55953
 
-               exit $EXIT_FAILURE
55954
 
-             fi
55955
 
-             newdlprefiles="$newdlprefiles $libdir/$name"
55956
 
-           done
55957
 
-           dlprefiles="$newdlprefiles"
55958
 
-         else
55959
 
-           newdlfiles=
55960
 
-           for lib in $dlfiles; do
55961
 
-             case $lib in
55962
 
-               [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
55963
 
-               *) abs=`pwd`"/$lib" ;;
55964
 
-             esac
55965
 
-             newdlfiles="$newdlfiles $abs"
55966
 
-           done
55967
 
-           dlfiles="$newdlfiles"
55968
 
-           newdlprefiles=
55969
 
-           for lib in $dlprefiles; do
55970
 
-             case $lib in
55971
 
-               [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
55972
 
-               *) abs=`pwd`"/$lib" ;;
55973
 
-             esac
55974
 
-             newdlprefiles="$newdlprefiles $abs"
55975
 
-           done
55976
 
-           dlprefiles="$newdlprefiles"
55977
 
-         fi
55978
 
-         $rm $output
55979
 
-         # place dlname in correct position for cygwin
55980
 
-         tdlname=$dlname
55981
 
-         case $host,$output,$installed,$module,$dlname in
55982
 
-           *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
55983
 
-         esac
55984
 
-         $echo > $output "\
55985
 
-# $outputname - a libtool library file
55986
 
-# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
55987
 
-#
55988
 
-# Please DO NOT delete this file!
55989
 
-# It is necessary for linking the library.
55990
 
 
55991
 
-# The name that we can dlopen(3).
55992
 
-dlname='$tdlname'
55993
 
+           exit $lt_exit
55994
 
+         }
55995
 
+       done
55996
 
+       IFS="$save_ifs"
55997
 
 
55998
 
-# Names of this library.
55999
 
-library_names='$library_names'
56000
 
+       # Restore the uninstalled library and exit
56001
 
+       if test "$mode" = relink; then
56002
 
+         $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $?
56003
 
 
56004
 
-# The name of the static archive.
56005
 
-old_library='$old_library'
56006
 
+         if test -n "$convenience"; then
56007
 
+           if test -z "$whole_archive_flag_spec"; then
56008
 
+             func_show_eval '${RM}r "$gentop"'
56009
 
+           fi
56010
 
+         fi
56011
 
 
56012
 
-# Libraries that this one depends upon.
56013
 
-dependency_libs='$dependency_libs'
56014
 
+         exit $EXIT_SUCCESS
56015
 
+       fi
56016
 
 
56017
 
-# Version information for $libname.
56018
 
-current=$current
56019
 
-age=$age
56020
 
-revision=$revision
56021
 
+       # Create links to the real library.
56022
 
+       for linkname in $linknames; do
56023
 
+         if test "$realname" != "$linkname"; then
56024
 
+           func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?'
56025
 
+         fi
56026
 
+       done
56027
 
 
56028
 
-# Is this an already installed library?
56029
 
-installed=$installed
56030
 
+       # If -module or -export-dynamic was specified, set the dlname.
56031
 
+       if test "$module" = yes || test "$export_dynamic" = yes; then
56032
 
+         # On all known operating systems, these are identical.
56033
 
+         dlname="$soname"
56034
 
+       fi
56035
 
+      fi
56036
 
+      ;;
56037
 
 
56038
 
-# Should we warn about portability when linking against -modules?
56039
 
-shouldnotlink=$module
56040
 
+    obj)
56041
 
+      if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
56042
 
+       func_warning "\`-dlopen' is ignored for objects"
56043
 
+      fi
56044
 
 
56045
 
-# Files to dlopen/dlpreopen
56046
 
-dlopen='$dlfiles'
56047
 
-dlpreopen='$dlprefiles'
56048
 
+      case " $deplibs" in
56049
 
+      *\ -l* | *\ -L*)
56050
 
+       func_warning "\`-l' and \`-L' are ignored for objects" ;;
56051
 
+      esac
56052
 
 
56053
 
-# Directory that this library needs to be installed in:
56054
 
-libdir='$install_libdir'"
56055
 
-         if test "$installed" = no && test "$need_relink" = yes; then
56056
 
-           $echo >> $output "\
56057
 
-relink_command=\"$relink_command\""
56058
 
-         fi
56059
 
-       done
56060
 
-      fi
56061
 
+      test -n "$rpath" && \
56062
 
+       func_warning "\`-rpath' is ignored for objects"
56063
 
 
56064
 
-      # Do a symbolic link so that the libtool archive can be found in
56065
 
-      # LD_LIBRARY_PATH before the program is installed.
56066
 
-      $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)"
56067
 
-      $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
56068
 
-      ;;
56069
 
-    esac
56070
 
-    exit $EXIT_SUCCESS
56071
 
-    ;;
56072
 
+      test -n "$xrpath" && \
56073
 
+       func_warning "\`-R' is ignored for objects"
56074
 
 
56075
 
-  # libtool install mode
56076
 
-  install)
56077
 
-    modename="$modename: install"
56078
 
+      test -n "$vinfo" && \
56079
 
+       func_warning "\`-version-info' is ignored for objects"
56080
 
 
56081
 
-    # There may be an optional sh(1) argument at the beginning of
56082
 
-    # install_prog (especially on Windows NT).
56083
 
-    if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
56084
 
-       # Allow the use of GNU shtool's install command.
56085
 
-       $echo "X$nonopt" | grep shtool > /dev/null; then
56086
 
-      # Aesthetically quote it.
56087
 
-      arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
56088
 
-      case $arg in
56089
 
-      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \    ]*|*]*|"")
56090
 
-       arg="\"$arg\""
56091
 
+      test -n "$release" && \
56092
 
+       func_warning "\`-release' is ignored for objects"
56093
 
+
56094
 
+      case $output in
56095
 
+      *.lo)
56096
 
+       test -n "$objs$old_deplibs" && \
56097
 
+         func_fatal_error "cannot build library object \`$output' from non-libtool objects"
56098
 
+
56099
 
+       libobj=$output
56100
 
+       func_lo2o "$libobj"
56101
 
+       obj=$func_lo2o_result
56102
 
+       ;;
56103
 
+      *)
56104
 
+       libobj=
56105
 
+       obj="$output"
56106
 
        ;;
56107
 
       esac
56108
 
-      install_prog="$arg "
56109
 
-      arg="$1"
56110
 
-      shift
56111
 
-    else
56112
 
-      install_prog=
56113
 
-      arg=$nonopt
56114
 
-    fi
56115
 
 
56116
 
-    # The real first argument should be the name of the installation program.
56117
 
-    # Aesthetically quote it.
56118
 
-    arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
56119
 
-    case $arg in
56120
 
-    *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \      ]*|*]*|"")
56121
 
-      arg="\"$arg\""
56122
 
-      ;;
56123
 
-    esac
56124
 
-    install_prog="$install_prog$arg"
56125
 
+      # Delete the old objects.
56126
 
+      $opt_dry_run || $RM $obj $libobj
56127
 
 
56128
 
-    # We need to accept at least all the BSD install flags.
56129
 
-    dest=
56130
 
-    files=
56131
 
-    opts=
56132
 
-    prev=
56133
 
-    install_type=
56134
 
-    isdir=no
56135
 
-    stripme=
56136
 
-    for arg
56137
 
-    do
56138
 
-      if test -n "$dest"; then
56139
 
-       files="$files $dest"
56140
 
-       dest=$arg
56141
 
-       continue
56142
 
-      fi
56143
 
+      # Objects from convenience libraries.  This assumes
56144
 
+      # single-version convenience libraries.  Whenever we create
56145
 
+      # different ones for PIC/non-PIC, this we'll have to duplicate
56146
 
+      # the extraction.
56147
 
+      reload_conv_objs=
56148
 
+      gentop=
56149
 
+      # reload_cmds runs $LD directly, so let us get rid of
56150
 
+      # -Wl from whole_archive_flag_spec and hope we can get by with
56151
 
+      # turning comma into space..
56152
 
+      wl=
56153
 
 
56154
 
-      case $arg in
56155
 
-      -d) isdir=yes ;;
56156
 
-      -f) 
56157
 
-       case " $install_prog " in
56158
 
-       *[\\\ /]cp\ *) ;;
56159
 
-       *) prev=$arg ;;
56160
 
-       esac
56161
 
-       ;;
56162
 
-      -g | -m | -o) prev=$arg ;;
56163
 
-      -s)
56164
 
-       stripme=" -s"
56165
 
-       continue
56166
 
-       ;;
56167
 
-      -*)
56168
 
-       ;;
56169
 
-      *)
56170
 
-       # If the previous option needed an argument, then skip it.
56171
 
-       if test -n "$prev"; then
56172
 
-         prev=
56173
 
+      if test -n "$convenience"; then
56174
 
+       if test -n "$whole_archive_flag_spec"; then
56175
 
+         eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
56176
 
+         reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
56177
 
        else
56178
 
-         dest=$arg
56179
 
-         continue
56180
 
+         gentop="$output_objdir/${obj}x"
56181
 
+         generated="$generated $gentop"
56182
 
+
56183
 
+         func_extract_archives $gentop $convenience
56184
 
+         reload_conv_objs="$reload_objs $func_extract_archives_result"
56185
 
        fi
56186
 
-       ;;
56187
 
-      esac
56188
 
+      fi
56189
 
 
56190
 
-      # Aesthetically quote the argument.
56191
 
-      arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
56192
 
-      case $arg in
56193
 
-      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \    ]*|*]*|"")
56194
 
-       arg="\"$arg\""
56195
 
-       ;;
56196
 
-      esac
56197
 
-      install_prog="$install_prog $arg"
56198
 
-    done
56199
 
+      # Create the old-style object.
56200
 
+      reload_objs="$objs$old_deplibs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
56201
 
 
56202
 
-    if test -z "$install_prog"; then
56203
 
-      $echo "$modename: you must specify an install program" 1>&2
56204
 
-      $echo "$help" 1>&2
56205
 
-      exit $EXIT_FAILURE
56206
 
-    fi
56207
 
+      output="$obj"
56208
 
+      func_execute_cmds "$reload_cmds" 'exit $?'
56209
 
 
56210
 
-    if test -n "$prev"; then
56211
 
-      $echo "$modename: the \`$prev' option requires an argument" 1>&2
56212
 
-      $echo "$help" 1>&2
56213
 
-      exit $EXIT_FAILURE
56214
 
-    fi
56215
 
+      # Exit if we aren't doing a library object file.
56216
 
+      if test -z "$libobj"; then
56217
 
+       if test -n "$gentop"; then
56218
 
+         func_show_eval '${RM}r "$gentop"'
56219
 
+       fi
56220
 
 
56221
 
-    if test -z "$files"; then
56222
 
-      if test -z "$dest"; then
56223
 
-       $echo "$modename: no file or destination specified" 1>&2
56224
 
-      else
56225
 
-       $echo "$modename: you must specify a destination" 1>&2
56226
 
+       exit $EXIT_SUCCESS
56227
 
       fi
56228
 
-      $echo "$help" 1>&2
56229
 
-      exit $EXIT_FAILURE
56230
 
-    fi
56231
 
 
56232
 
-    # Strip any trailing slash from the destination.
56233
 
-    dest=`$echo "X$dest" | $Xsed -e 's%/$%%'`
56234
 
+      if test "$build_libtool_libs" != yes; then
56235
 
+       if test -n "$gentop"; then
56236
 
+         func_show_eval '${RM}r "$gentop"'
56237
 
+       fi
56238
 
 
56239
 
-    # Check to see that the destination is a directory.
56240
 
-    test -d "$dest" && isdir=yes
56241
 
-    if test "$isdir" = yes; then
56242
 
-      destdir="$dest"
56243
 
-      destname=
56244
 
-    else
56245
 
-      destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'`
56246
 
-      test "X$destdir" = "X$dest" && destdir=.
56247
 
-      destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'`
56248
 
+       # Create an invalid libtool object if no PIC, so that we don't
56249
 
+       # accidentally link it into a program.
56250
 
+       # $show "echo timestamp > $libobj"
56251
 
+       # $opt_dry_run || eval "echo timestamp > $libobj" || exit $?
56252
 
+       exit $EXIT_SUCCESS
56253
 
+      fi
56254
 
 
56255
 
-      # Not a directory, so check to see that there is only one file specified.
56256
 
-      set dummy $files
56257
 
-      if test "$#" -gt 2; then
56258
 
-       $echo "$modename: \`$dest' is not a directory" 1>&2
56259
 
-       $echo "$help" 1>&2
56260
 
-       exit $EXIT_FAILURE
56261
 
+      if test -n "$pic_flag" || test "$pic_mode" != default; then
56262
 
+       # Only do commands if we really have different PIC objects.
56263
 
+       reload_objs="$libobjs $reload_conv_objs"
56264
 
+       output="$libobj"
56265
 
+       func_execute_cmds "$reload_cmds" 'exit $?'
56266
 
       fi
56267
 
-    fi
56268
 
-    case $destdir in
56269
 
-    [\\/]* | [A-Za-z]:[\\/]*) ;;
56270
 
-    *)
56271
 
-      for file in $files; do
56272
 
-       case $file in
56273
 
-       *.lo) ;;
56274
 
-       *)
56275
 
-         $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
56276
 
-         $echo "$help" 1>&2
56277
 
-         exit $EXIT_FAILURE
56278
 
-         ;;
56279
 
-       esac
56280
 
-      done
56281
 
+
56282
 
+      if test -n "$gentop"; then
56283
 
+       func_show_eval '${RM}r "$gentop"'
56284
 
+      fi
56285
 
+
56286
 
+      exit $EXIT_SUCCESS
56287
 
       ;;
56288
 
-    esac
56289
 
 
56290
 
-    # This variable tells wrapper scripts just to set variables rather
56291
 
-    # than running their programs.
56292
 
-    libtool_install_magic="$magic"
56293
 
+    prog)
56294
 
+      case $host in
56295
 
+       *cygwin*) func_stripname '' '.exe' "$output"
56296
 
+                 output=$func_stripname_result.exe;;
56297
 
+      esac
56298
 
+      test -n "$vinfo" && \
56299
 
+       func_warning "\`-version-info' is ignored for programs"
56300
 
 
56301
 
-    staticlibs=
56302
 
-    future_libdirs=
56303
 
-    current_libdirs=
56304
 
-    for file in $files; do
56305
 
+      test -n "$release" && \
56306
 
+       func_warning "\`-release' is ignored for programs"
56307
 
 
56308
 
-      # Do each installation.
56309
 
-      case $file in
56310
 
-      *.$libext)
56311
 
-       # Do the static libraries later.
56312
 
-       staticlibs="$staticlibs $file"
56313
 
+      test "$preload" = yes \
56314
 
+        && test "$dlopen_support" = unknown \
56315
 
+       && test "$dlopen_self" = unknown \
56316
 
+       && test "$dlopen_self_static" = unknown && \
56317
 
+         func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support."
56318
 
+
56319
 
+      case $host in
56320
 
+      *-*-rhapsody* | *-*-darwin1.[012])
56321
 
+       # On Rhapsody replace the C library is the System framework
56322
 
+       compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
56323
 
+       finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
56324
 
        ;;
56325
 
+      esac
56326
 
 
56327
 
-      *.la)
56328
 
-       # Check to see that this really is a libtool archive.
56329
 
-       if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
56330
 
-       else
56331
 
-         $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
56332
 
-         $echo "$help" 1>&2
56333
 
-         exit $EXIT_FAILURE
56334
 
+      case $host in
56335
 
+      *-*-darwin*)
56336
 
+       # Don't allow lazy linking, it breaks C++ global constructors
56337
 
+       # But is supposedly fixed on 10.4 or later (yay!).
56338
 
+       if test "$tagname" = CXX ; then
56339
 
+         case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
56340
 
+           10.[0123])
56341
 
+             compile_command="$compile_command ${wl}-bind_at_load"
56342
 
+             finalize_command="$finalize_command ${wl}-bind_at_load"
56343
 
+           ;;
56344
 
+         esac
56345
 
        fi
56346
 
+       # Time to change all our "foo.ltframework" stuff back to "-framework foo"
56347
 
+       compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
56348
 
+       finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
56349
 
+       ;;
56350
 
+      esac
56351
 
 
56352
 
-       library_names=
56353
 
-       old_library=
56354
 
-       relink_command=
56355
 
-       # If there is no directory component, then add one.
56356
 
-       case $file in
56357
 
-       */* | *\\*) . $file ;;
56358
 
-       *) . ./$file ;;
56359
 
-       esac
56360
 
 
56361
 
-       # Add the libdir to current_libdirs if it is the destination.
56362
 
-       if test "X$destdir" = "X$libdir"; then
56363
 
-         case "$current_libdirs " in
56364
 
-         *" $libdir "*) ;;
56365
 
-         *) current_libdirs="$current_libdirs $libdir" ;;
56366
 
+      # move library search paths that coincide with paths to not yet
56367
 
+      # installed libraries to the beginning of the library search list
56368
 
+      new_libs=
56369
 
+      for path in $notinst_path; do
56370
 
+       case " $new_libs " in
56371
 
+       *" -L$path/$objdir "*) ;;
56372
 
+       *)
56373
 
+         case " $compile_deplibs " in
56374
 
+         *" -L$path/$objdir "*)
56375
 
+           new_libs="$new_libs -L$path/$objdir" ;;
56376
 
          esac
56377
 
-       else
56378
 
-         # Note the libdir as a future libdir.
56379
 
-         case "$future_libdirs " in
56380
 
-         *" $libdir "*) ;;
56381
 
-         *) future_libdirs="$future_libdirs $libdir" ;;
56382
 
+         ;;
56383
 
+       esac
56384
 
+      done
56385
 
+      for deplib in $compile_deplibs; do
56386
 
+       case $deplib in
56387
 
+       -L*)
56388
 
+         case " $new_libs " in
56389
 
+         *" $deplib "*) ;;
56390
 
+         *) new_libs="$new_libs $deplib" ;;
56391
 
          esac
56392
 
-       fi
56393
 
+         ;;
56394
 
+       *) new_libs="$new_libs $deplib" ;;
56395
 
+       esac
56396
 
+      done
56397
 
+      compile_deplibs="$new_libs"
56398
 
 
56399
 
-       dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/
56400
 
-       test "X$dir" = "X$file/" && dir=
56401
 
-       dir="$dir$objdir"
56402
 
 
56403
 
-       if test -n "$relink_command"; then
56404
 
-         # Determine the prefix the user has applied to our future dir.
56405
 
-         inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"`
56406
 
+      compile_command="$compile_command $compile_deplibs"
56407
 
+      finalize_command="$finalize_command $finalize_deplibs"
56408
 
 
56409
 
-         # Don't allow the user to place us outside of our expected
56410
 
-         # location b/c this prevents finding dependent libraries that
56411
 
-         # are installed to the same prefix.
56412
 
-         # At present, this check doesn't affect windows .dll's that
56413
 
-         # are installed into $libdir/../bin (currently, that works fine)
56414
 
-         # but it's something to keep an eye on.
56415
 
-         if test "$inst_prefix_dir" = "$destdir"; then
56416
 
-           $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
56417
 
-           exit $EXIT_FAILURE
56418
 
-         fi
56419
 
+      if test -n "$rpath$xrpath"; then
56420
 
+       # If the user specified any rpath flags, then add them.
56421
 
+       for libdir in $rpath $xrpath; do
56422
 
+         # This is the magic to use -rpath.
56423
 
+         case "$finalize_rpath " in
56424
 
+         *" $libdir "*) ;;
56425
 
+         *) finalize_rpath="$finalize_rpath $libdir" ;;
56426
 
+         esac
56427
 
+       done
56428
 
+      fi
56429
 
 
56430
 
-         if test -n "$inst_prefix_dir"; then
56431
 
-           # Stick the inst_prefix_dir data into the link command.
56432
 
-           relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP`
56433
 
+      # Now hardcode the library paths
56434
 
+      rpath=
56435
 
+      hardcode_libdirs=
56436
 
+      for libdir in $compile_rpath $finalize_rpath; do
56437
 
+       if test -n "$hardcode_libdir_flag_spec"; then
56438
 
+         if test -n "$hardcode_libdir_separator"; then
56439
 
+           if test -z "$hardcode_libdirs"; then
56440
 
+             hardcode_libdirs="$libdir"
56441
 
+           else
56442
 
+             # Just accumulate the unique libdirs.
56443
 
+             case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
56444
 
+             *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
56445
 
+               ;;
56446
 
+             *)
56447
 
+               hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
56448
 
+               ;;
56449
 
+             esac
56450
 
+           fi
56451
 
          else
56452
 
-           relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%%" | $NL2SP`
56453
 
+           eval flag=\"$hardcode_libdir_flag_spec\"
56454
 
+           rpath="$rpath $flag"
56455
 
          fi
56456
 
+       elif test -n "$runpath_var"; then
56457
 
+         case "$perm_rpath " in
56458
 
+         *" $libdir "*) ;;
56459
 
+         *) perm_rpath="$perm_rpath $libdir" ;;
56460
 
+         esac
56461
 
+       fi
56462
 
+       case $host in
56463
 
+       *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
56464
 
+         testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'`
56465
 
+         case :$dllsearchpath: in
56466
 
+         *":$libdir:"*) ;;
56467
 
+         ::) dllsearchpath=$libdir;;
56468
 
+         *) dllsearchpath="$dllsearchpath:$libdir";;
56469
 
+         esac
56470
 
+         case :$dllsearchpath: in
56471
 
+         *":$testbindir:"*) ;;
56472
 
+         ::) dllsearchpath=$testbindir;;
56473
 
+         *) dllsearchpath="$dllsearchpath:$testbindir";;
56474
 
+         esac
56475
 
+         ;;
56476
 
+       esac
56477
 
+      done
56478
 
+      # Substitute the hardcoded libdirs into the rpath.
56479
 
+      if test -n "$hardcode_libdir_separator" &&
56480
 
+        test -n "$hardcode_libdirs"; then
56481
 
+       libdir="$hardcode_libdirs"
56482
 
+       eval rpath=\" $hardcode_libdir_flag_spec\"
56483
 
+      fi
56484
 
+      compile_rpath="$rpath"
56485
 
 
56486
 
-         $echo "$modename: warning: relinking \`$file'" 1>&2
56487
 
-         $show "$relink_command"
56488
 
-         if $run eval "$relink_command"; then :
56489
 
+      rpath=
56490
 
+      hardcode_libdirs=
56491
 
+      for libdir in $finalize_rpath; do
56492
 
+       if test -n "$hardcode_libdir_flag_spec"; then
56493
 
+         if test -n "$hardcode_libdir_separator"; then
56494
 
+           if test -z "$hardcode_libdirs"; then
56495
 
+             hardcode_libdirs="$libdir"
56496
 
+           else
56497
 
+             # Just accumulate the unique libdirs.
56498
 
+             case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
56499
 
+             *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
56500
 
+               ;;
56501
 
+             *)
56502
 
+               hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
56503
 
+               ;;
56504
 
+             esac
56505
 
+           fi
56506
 
          else
56507
 
-           $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
56508
 
-           exit $EXIT_FAILURE
56509
 
+           eval flag=\"$hardcode_libdir_flag_spec\"
56510
 
+           rpath="$rpath $flag"
56511
 
          fi
56512
 
+       elif test -n "$runpath_var"; then
56513
 
+         case "$finalize_perm_rpath " in
56514
 
+         *" $libdir "*) ;;
56515
 
+         *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
56516
 
+         esac
56517
 
        fi
56518
 
+      done
56519
 
+      # Substitute the hardcoded libdirs into the rpath.
56520
 
+      if test -n "$hardcode_libdir_separator" &&
56521
 
+        test -n "$hardcode_libdirs"; then
56522
 
+       libdir="$hardcode_libdirs"
56523
 
+       eval rpath=\" $hardcode_libdir_flag_spec\"
56524
 
+      fi
56525
 
+      finalize_rpath="$rpath"
56526
 
 
56527
 
-       # See the names of the shared library.
56528
 
-       set dummy $library_names
56529
 
-       if test -n "$2"; then
56530
 
-         realname="$2"
56531
 
-         shift
56532
 
-         shift
56533
 
+      if test -n "$libobjs" && test "$build_old_libs" = yes; then
56534
 
+       # Transform all the library objects into standard objects.
56535
 
+       compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
56536
 
+       finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
56537
 
+      fi
56538
 
 
56539
 
-         srcname="$realname"
56540
 
-         test -n "$relink_command" && srcname="$realname"T
56541
 
+      func_generate_dlsyms "$outputname" "@PROGRAM@" "no"
56542
 
 
56543
 
-         # Install the shared library and build the symlinks.
56544
 
-         $show "$install_prog $dir/$srcname $destdir/$realname"
56545
 
-         $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $?
56546
 
-         if test -n "$stripme" && test -n "$striplib"; then
56547
 
-           $show "$striplib $destdir/$realname"
56548
 
-           $run eval "$striplib $destdir/$realname" || exit $?
56549
 
-         fi
56550
 
+      # template prelinking step
56551
 
+      if test -n "$prelink_cmds"; then
56552
 
+       func_execute_cmds "$prelink_cmds" 'exit $?'
56553
 
+      fi
56554
 
 
56555
 
-         if test "$#" -gt 0; then
56556
 
-           # Delete the old symlinks, and create new ones.
56557
 
-           # Try `ln -sf' first, because the `ln' binary might depend on
56558
 
-           # the symlink we replace!  Solaris /bin/ln does not understand -f,
56559
 
-           # so we also need to try rm && ln -s.
56560
 
-           for linkname
56561
 
-           do
56562
 
-             if test "$linkname" != "$realname"; then
56563
 
-                $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
56564
 
-                $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
56565
 
-             fi
56566
 
-           done
56567
 
-         fi
56568
 
+      wrappers_required=yes
56569
 
+      case $host in
56570
 
+      *cygwin* | *mingw* )
56571
 
+        if test "$build_libtool_libs" != yes; then
56572
 
+          wrappers_required=no
56573
 
+        fi
56574
 
+        ;;
56575
 
+      *cegcc)
56576
 
+        # Disable wrappers for cegcc, we are cross compiling anyway.
56577
 
+        wrappers_required=no
56578
 
+        ;;
56579
 
+      *)
56580
 
+        if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
56581
 
+          wrappers_required=no
56582
 
+        fi
56583
 
+        ;;
56584
 
+      esac
56585
 
+      if test "$wrappers_required" = no; then
56586
 
+       # Replace the output file specification.
56587
 
+       compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
56588
 
+       link_command="$compile_command$compile_rpath"
56589
 
 
56590
 
-         # Do each command in the postinstall commands.
56591
 
-         lib="$destdir/$realname"
56592
 
-         cmds=$postinstall_cmds
56593
 
-         save_ifs="$IFS"; IFS='~'
56594
 
-         for cmd in $cmds; do
56595
 
-           IFS="$save_ifs"
56596
 
-           eval cmd=\"$cmd\"
56597
 
-           $show "$cmd"
56598
 
-           $run eval "$cmd" || {
56599
 
-             lt_exit=$?
56600
 
-
56601
 
-             # Restore the uninstalled library and exit
56602
 
-             if test "$mode" = relink; then
56603
 
-               $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
56604
 
-             fi
56605
 
+       # We have no uninstalled library dependencies, so finalize right now.
56606
 
+       exit_status=0
56607
 
+       func_show_eval "$link_command" 'exit_status=$?'
56608
 
 
56609
 
-             exit $lt_exit
56610
 
-           }
56611
 
-         done
56612
 
-         IFS="$save_ifs"
56613
 
+       # Delete the generated files.
56614
 
+       if test -f "$output_objdir/${outputname}S.${objext}"; then
56615
 
+         func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"'
56616
 
        fi
56617
 
 
56618
 
-       # Install the pseudo-library for information purposes.
56619
 
-       name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
56620
 
-       instname="$dir/$name"i
56621
 
-       $show "$install_prog $instname $destdir/$name"
56622
 
-       $run eval "$install_prog $instname $destdir/$name" || exit $?
56623
 
-
56624
 
-       # Maybe install the static library, too.
56625
 
-       test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
56626
 
-       ;;
56627
 
+       exit $exit_status
56628
 
+      fi
56629
 
 
56630
 
-      *.lo)
56631
 
-       # Install (i.e. copy) a libtool object.
56632
 
+      if test -n "$compile_shlibpath$finalize_shlibpath"; then
56633
 
+       compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
56634
 
+      fi
56635
 
+      if test -n "$finalize_shlibpath"; then
56636
 
+       finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
56637
 
+      fi
56638
 
 
56639
 
-       # Figure out destination file name, if it wasn't already specified.
56640
 
-       if test -n "$destname"; then
56641
 
-         destfile="$destdir/$destname"
56642
 
-       else
56643
 
-         destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
56644
 
-         destfile="$destdir/$destfile"
56645
 
+      compile_var=
56646
 
+      finalize_var=
56647
 
+      if test -n "$runpath_var"; then
56648
 
+       if test -n "$perm_rpath"; then
56649
 
+         # We should set the runpath_var.
56650
 
+         rpath=
56651
 
+         for dir in $perm_rpath; do
56652
 
+           rpath="$rpath$dir:"
56653
 
+         done
56654
 
+         compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
56655
 
        fi
56656
 
-
56657
 
-       # Deduce the name of the destination old-style object file.
56658
 
-       case $destfile in
56659
 
-       *.lo)
56660
 
-         staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
56661
 
-         ;;
56662
 
-       *.$objext)
56663
 
-         staticdest="$destfile"
56664
 
-         destfile=
56665
 
-         ;;
56666
 
-       *)
56667
 
-         $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
56668
 
-         $echo "$help" 1>&2
56669
 
-         exit $EXIT_FAILURE
56670
 
-         ;;
56671
 
-       esac
56672
 
-
56673
 
-       # Install the libtool object if requested.
56674
 
-       if test -n "$destfile"; then
56675
 
-         $show "$install_prog $file $destfile"
56676
 
-         $run eval "$install_prog $file $destfile" || exit $?
56677
 
+       if test -n "$finalize_perm_rpath"; then
56678
 
+         # We should set the runpath_var.
56679
 
+         rpath=
56680
 
+         for dir in $finalize_perm_rpath; do
56681
 
+           rpath="$rpath$dir:"
56682
 
+         done
56683
 
+         finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
56684
 
        fi
56685
 
+      fi
56686
 
 
56687
 
-       # Install the old object if enabled.
56688
 
-       if test "$build_old_libs" = yes; then
56689
 
-         # Deduce the name of the old-style object file.
56690
 
-         staticobj=`$echo "X$file" | $Xsed -e "$lo2o"`
56691
 
-
56692
 
-         $show "$install_prog $staticobj $staticdest"
56693
 
-         $run eval "$install_prog \$staticobj \$staticdest" || exit $?
56694
 
-       fi
56695
 
+      if test "$no_install" = yes; then
56696
 
+       # We don't need to create a wrapper script.
56697
 
+       link_command="$compile_var$compile_command$compile_rpath"
56698
 
+       # Replace the output file specification.
56699
 
+       link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
56700
 
+       # Delete the old output file.
56701
 
+       $opt_dry_run || $RM $output
56702
 
+       # Link the executable and exit
56703
 
+       func_show_eval "$link_command" 'exit $?'
56704
 
        exit $EXIT_SUCCESS
56705
 
-       ;;
56706
 
+      fi
56707
 
 
56708
 
-      *)
56709
 
-       # Figure out destination file name, if it wasn't already specified.
56710
 
-       if test -n "$destname"; then
56711
 
-         destfile="$destdir/$destname"
56712
 
+      if test "$hardcode_action" = relink; then
56713
 
+       # Fast installation is not supported
56714
 
+       link_command="$compile_var$compile_command$compile_rpath"
56715
 
+       relink_command="$finalize_var$finalize_command$finalize_rpath"
56716
 
+
56717
 
+       func_warning "this platform does not like uninstalled shared libraries"
56718
 
+       func_warning "\`$output' will be relinked during installation"
56719
 
+      else
56720
 
+       if test "$fast_install" != no; then
56721
 
+         link_command="$finalize_var$compile_command$finalize_rpath"
56722
 
+         if test "$fast_install" = yes; then
56723
 
+           relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
56724
 
+         else
56725
 
+           # fast_install is set to needless
56726
 
+           relink_command=
56727
 
+         fi
56728
 
        else
56729
 
-         destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
56730
 
-         destfile="$destdir/$destfile"
56731
 
+         link_command="$compile_var$compile_command$compile_rpath"
56732
 
+         relink_command="$finalize_var$finalize_command$finalize_rpath"
56733
 
        fi
56734
 
+      fi
56735
 
 
56736
 
-       # If the file is missing, and there is a .exe on the end, strip it
56737
 
-       # because it is most likely a libtool script we actually want to
56738
 
-       # install
56739
 
-       stripped_ext=""
56740
 
-       case $file in
56741
 
-         *.exe)
56742
 
-           if test ! -f "$file"; then
56743
 
-             file=`$echo $file|${SED} 's,.exe$,,'`
56744
 
-             stripped_ext=".exe"
56745
 
-           fi
56746
 
-           ;;
56747
 
-       esac
56748
 
-
56749
 
-       # Do a test to see if this is really a libtool program.
56750
 
-       case $host in
56751
 
-       *cygwin*|*mingw*)
56752
 
-           wrapper=`$echo $file | ${SED} -e 's,.exe$,,'`
56753
 
-           ;;
56754
 
-       *)
56755
 
-           wrapper=$file
56756
 
-           ;;
56757
 
-       esac
56758
 
-       if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
56759
 
-         notinst_deplibs=
56760
 
-         relink_command=
56761
 
-
56762
 
-         # Note that it is not necessary on cygwin/mingw to append a dot to
56763
 
-         # foo even if both foo and FILE.exe exist: automatic-append-.exe
56764
 
-         # behavior happens only for exec(3), not for open(2)!  Also, sourcing
56765
 
-         # `FILE.' does not work on cygwin managed mounts.
56766
 
-         #
56767
 
-         # If there is no directory component, then add one.
56768
 
-         case $wrapper in
56769
 
-         */* | *\\*) . ${wrapper} ;;
56770
 
-         *) . ./${wrapper} ;;
56771
 
-         esac
56772
 
-
56773
 
-         # Check the variables that should have been set.
56774
 
-         if test -z "$notinst_deplibs"; then
56775
 
-           $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
56776
 
-           exit $EXIT_FAILURE
56777
 
-         fi
56778
 
+      # Replace the output file specification.
56779
 
+      link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
56780
 
 
56781
 
-         finalize=yes
56782
 
-         for lib in $notinst_deplibs; do
56783
 
-           # Check to see that each library is installed.
56784
 
-           libdir=
56785
 
-           if test -f "$lib"; then
56786
 
-             # If there is no directory component, then add one.
56787
 
-             case $lib in
56788
 
-             */* | *\\*) . $lib ;;
56789
 
-             *) . ./$lib ;;
56790
 
-             esac
56791
 
-           fi
56792
 
-           libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
56793
 
-           if test -n "$libdir" && test ! -f "$libfile"; then
56794
 
-             $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2
56795
 
-             finalize=no
56796
 
-           fi
56797
 
-         done
56798
 
+      # Delete the old output files.
56799
 
+      $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
56800
 
 
56801
 
-         relink_command=
56802
 
-         # Note that it is not necessary on cygwin/mingw to append a dot to
56803
 
-         # foo even if both foo and FILE.exe exist: automatic-append-.exe
56804
 
-         # behavior happens only for exec(3), not for open(2)!  Also, sourcing
56805
 
-         # `FILE.' does not work on cygwin managed mounts.
56806
 
-         #
56807
 
-         # If there is no directory component, then add one.
56808
 
-         case $wrapper in
56809
 
-         */* | *\\*) . ${wrapper} ;;
56810
 
-         *) . ./${wrapper} ;;
56811
 
-         esac
56812
 
+      func_show_eval "$link_command" 'exit $?'
56813
 
 
56814
 
-         outputname=
56815
 
-         if test "$fast_install" = no && test -n "$relink_command"; then
56816
 
-           if test "$finalize" = yes && test -z "$run"; then
56817
 
-             tmpdir=`func_mktempdir`
56818
 
-             file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
56819
 
-             outputname="$tmpdir/$file"
56820
 
-             # Replace the output file specification.
56821
 
-             relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g' | $NL2SP`
56822
 
+      # Now create the wrapper script.
56823
 
+      func_verbose "creating $output"
56824
 
 
56825
 
-             $show "$relink_command"
56826
 
-             if $run eval "$relink_command"; then :
56827
 
-             else
56828
 
-               $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
56829
 
-               ${rm}r "$tmpdir"
56830
 
-               continue
56831
 
-             fi
56832
 
-             file="$outputname"
56833
 
-           else
56834
 
-             $echo "$modename: warning: cannot relink \`$file'" 1>&2
56835
 
-           fi
56836
 
+      # Quote the relink command for shipping.
56837
 
+      if test -n "$relink_command"; then
56838
 
+       # Preserve any variables that may affect compiler behavior
56839
 
+       for var in $variables_saved_for_relink; do
56840
 
+         if eval test -z \"\${$var+set}\"; then
56841
 
+           relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
56842
 
+         elif eval var_value=\$$var; test -z "$var_value"; then
56843
 
+           relink_command="$var=; export $var; $relink_command"
56844
 
          else
56845
 
-           # Install the binary that we compiled earlier.
56846
 
-           file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
56847
 
+           func_quote_for_eval "$var_value"
56848
 
+           relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
56849
 
          fi
56850
 
-       fi
56851
 
+       done
56852
 
+       relink_command="(cd `pwd`; $relink_command)"
56853
 
+       relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
56854
 
+      fi
56855
 
 
56856
 
-       # remove .exe since cygwin /usr/bin/install will append another
56857
 
-       # one anyway 
56858
 
-       case $install_prog,$host in
56859
 
-       */usr/bin/install*,*cygwin*)
56860
 
-         case $file:$destfile in
56861
 
-         *.exe:*.exe)
56862
 
-           # this is ok
56863
 
-           ;;
56864
 
-         *.exe:*)
56865
 
-           destfile=$destfile.exe
56866
 
-           ;;
56867
 
-         *:*.exe)
56868
 
-           destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'`
56869
 
-           ;;
56870
 
-         esac
56871
 
-         ;;
56872
 
+      # Quote $ECHO for shipping.
56873
 
+      if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then
56874
 
+       case $progpath in
56875
 
+       [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
56876
 
+       *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
56877
 
+       esac
56878
 
+       qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"`
56879
 
+      else
56880
 
+       qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"`
56881
 
+      fi
56882
 
+
56883
 
+      # Only actually do things if not in dry run mode.
56884
 
+      $opt_dry_run || {
56885
 
+       # win32 will think the script is a binary if it has
56886
 
+       # a .exe suffix, so we strip it off here.
56887
 
+       case $output in
56888
 
+         *.exe) func_stripname '' '.exe' "$output"
56889
 
+                output=$func_stripname_result ;;
56890
 
+       esac
56891
 
+       # test for cygwin because mv fails w/o .exe extensions
56892
 
+       case $host in
56893
 
+         *cygwin*)
56894
 
+           exeext=.exe
56895
 
+           func_stripname '' '.exe' "$outputname"
56896
 
+           outputname=$func_stripname_result ;;
56897
 
+         *) exeext= ;;
56898
 
        esac
56899
 
-       $show "$install_prog$stripme $file $destfile"
56900
 
-       $run eval "$install_prog\$stripme \$file \$destfile" || exit $?
56901
 
-       test -n "$outputname" && ${rm}r "$tmpdir"
56902
 
-       ;;
56903
 
-      esac
56904
 
-    done
56905
 
+       case $host in
56906
 
+         *cygwin* | *mingw* )
56907
 
+           func_dirname_and_basename "$output" "" "."
56908
 
+           output_name=$func_basename_result
56909
 
+           output_path=$func_dirname_result
56910
 
+           cwrappersource="$output_path/$objdir/lt-$output_name.c"
56911
 
+           cwrapper="$output_path/$output_name.exe"
56912
 
+           $RM $cwrappersource $cwrapper
56913
 
+           trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
56914
 
+
56915
 
+           func_emit_cwrapperexe_src > $cwrappersource
56916
 
+
56917
 
+           # The wrapper executable is built using the $host compiler,
56918
 
+           # because it contains $host paths and files. If cross-
56919
 
+           # compiling, it, like the target executable, must be
56920
 
+           # executed on the $host or under an emulation environment.
56921
 
+           $opt_dry_run || {
56922
 
+             $LTCC $LTCFLAGS -o $cwrapper $cwrappersource
56923
 
+             $STRIP $cwrapper
56924
 
+           }
56925
 
 
56926
 
-    for file in $staticlibs; do
56927
 
-      name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
56928
 
+           # Now, create the wrapper script for func_source use:
56929
 
+           func_ltwrapper_scriptname $cwrapper
56930
 
+           $RM $func_ltwrapper_scriptname_result
56931
 
+           trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15
56932
 
+           $opt_dry_run || {
56933
 
+             # note: this script will not be executed, so do not chmod.
56934
 
+             if test "x$build" = "x$host" ; then
56935
 
+               $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result
56936
 
+             else
56937
 
+               func_emit_wrapper no > $func_ltwrapper_scriptname_result
56938
 
+             fi
56939
 
+           }
56940
 
+         ;;
56941
 
+         * )
56942
 
+           $RM $output
56943
 
+           trap "$RM $output; exit $EXIT_FAILURE" 1 2 15
56944
 
 
56945
 
-      # Set up the ranlib parameters.
56946
 
-      oldlib="$destdir/$name"
56947
 
+           func_emit_wrapper no > $output
56948
 
+           chmod +x $output
56949
 
+         ;;
56950
 
+       esac
56951
 
+      }
56952
 
+      exit $EXIT_SUCCESS
56953
 
+      ;;
56954
 
+    esac
56955
 
 
56956
 
-      $show "$install_prog $file $oldlib"
56957
 
-      $run eval "$install_prog \$file \$oldlib" || exit $?
56958
 
+    # See if we need to build an old-fashioned archive.
56959
 
+    for oldlib in $oldlibs; do
56960
 
 
56961
 
-      if test -n "$stripme" && test -n "$old_striplib"; then
56962
 
-       $show "$old_striplib $oldlib"
56963
 
-       $run eval "$old_striplib $oldlib" || exit $?
56964
 
+      if test "$build_libtool_libs" = convenience; then
56965
 
+       oldobjs="$libobjs_save $symfileobj"
56966
 
+       addlibs="$convenience"
56967
 
+       build_libtool_libs=no
56968
 
+      else
56969
 
+       if test "$build_libtool_libs" = module; then
56970
 
+         oldobjs="$libobjs_save"
56971
 
+         build_libtool_libs=no
56972
 
+       else
56973
 
+         oldobjs="$old_deplibs $non_pic_objects"
56974
 
+         if test "$preload" = yes && test -f "$symfileobj"; then
56975
 
+           oldobjs="$oldobjs $symfileobj"
56976
 
+         fi
56977
 
+       fi
56978
 
+       addlibs="$old_convenience"
56979
 
       fi
56980
 
 
56981
 
-      # Do each command in the postinstall commands.
56982
 
-      cmds=$old_postinstall_cmds
56983
 
-      save_ifs="$IFS"; IFS='~'
56984
 
-      for cmd in $cmds; do
56985
 
-       IFS="$save_ifs"
56986
 
-       eval cmd=\"$cmd\"
56987
 
-       $show "$cmd"
56988
 
-       $run eval "$cmd" || exit $?
56989
 
-      done
56990
 
-      IFS="$save_ifs"
56991
 
-    done
56992
 
+      if test -n "$addlibs"; then
56993
 
+       gentop="$output_objdir/${outputname}x"
56994
 
+       generated="$generated $gentop"
56995
 
 
56996
 
-    if test -n "$future_libdirs"; then
56997
 
-      $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2
56998
 
-    fi
56999
 
+       func_extract_archives $gentop $addlibs
57000
 
+       oldobjs="$oldobjs $func_extract_archives_result"
57001
 
+      fi
57002
 
 
57003
 
-    if test -n "$current_libdirs"; then
57004
 
-      # Maybe just do a dry run.
57005
 
-      test -n "$run" && current_libdirs=" -n$current_libdirs"
57006
 
-      exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
57007
 
-    else
57008
 
-      exit $EXIT_SUCCESS
57009
 
-    fi
57010
 
-    ;;
57011
 
+      # Do each command in the archive commands.
57012
 
+      if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
57013
 
+       cmds=$old_archive_from_new_cmds
57014
 
+      else
57015
 
 
57016
 
-  # libtool finish mode
57017
 
-  finish)
57018
 
-    modename="$modename: finish"
57019
 
-    libdirs="$nonopt"
57020
 
-    admincmds=
57021
 
+       # Add any objects from preloaded convenience libraries
57022
 
+       if test -n "$dlprefiles"; then
57023
 
+         gentop="$output_objdir/${outputname}x"
57024
 
+         generated="$generated $gentop"
57025
 
 
57026
 
-    if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
57027
 
-      for dir
57028
 
-      do
57029
 
-       libdirs="$libdirs $dir"
57030
 
-      done
57031
 
+         func_extract_archives $gentop $dlprefiles
57032
 
+         oldobjs="$oldobjs $func_extract_archives_result"
57033
 
+       fi
57034
 
 
57035
 
-      for libdir in $libdirs; do
57036
 
-       if test -n "$finish_cmds"; then
57037
 
-         # Do each command in the finish commands.
57038
 
-         cmds=$finish_cmds
57039
 
-         save_ifs="$IFS"; IFS='~'
57040
 
-         for cmd in $cmds; do
57041
 
-           IFS="$save_ifs"
57042
 
-           eval cmd=\"$cmd\"
57043
 
-           $show "$cmd"
57044
 
-           $run eval "$cmd" || admincmds="$admincmds
57045
 
-       $cmd"
57046
 
+       # POSIX demands no paths to be encoded in archives.  We have
57047
 
+       # to avoid creating archives with duplicate basenames if we
57048
 
+       # might have to extract them afterwards, e.g., when creating a
57049
 
+       # static archive out of a convenience library, or when linking
57050
 
+       # the entirety of a libtool archive into another (currently
57051
 
+       # not supported by libtool).
57052
 
+       if (for obj in $oldobjs
57053
 
+           do
57054
 
+             func_basename "$obj"
57055
 
+             $ECHO "$func_basename_result"
57056
 
+           done | sort | sort -uc >/dev/null 2>&1); then
57057
 
+         :
57058
 
+       else
57059
 
+         $ECHO "copying selected object files to avoid basename conflicts..."
57060
 
+         gentop="$output_objdir/${outputname}x"
57061
 
+         generated="$generated $gentop"
57062
 
+         func_mkdir_p "$gentop"
57063
 
+         save_oldobjs=$oldobjs
57064
 
+         oldobjs=
57065
 
+         counter=1
57066
 
+         for obj in $save_oldobjs
57067
 
+         do
57068
 
+           func_basename "$obj"
57069
 
+           objbase="$func_basename_result"
57070
 
+           case " $oldobjs " in
57071
 
+           " ") oldobjs=$obj ;;
57072
 
+           *[\ /]"$objbase "*)
57073
 
+             while :; do
57074
 
+               # Make sure we don't pick an alternate name that also
57075
 
+               # overlaps.
57076
 
+               newobj=lt$counter-$objbase
57077
 
+               func_arith $counter + 1
57078
 
+               counter=$func_arith_result
57079
 
+               case " $oldobjs " in
57080
 
+               *[\ /]"$newobj "*) ;;
57081
 
+               *) if test ! -f "$gentop/$newobj"; then break; fi ;;
57082
 
+               esac
57083
 
+             done
57084
 
+             func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
57085
 
+             oldobjs="$oldobjs $gentop/$newobj"
57086
 
+             ;;
57087
 
+           *) oldobjs="$oldobjs $obj" ;;
57088
 
+           esac
57089
 
          done
57090
 
-         IFS="$save_ifs"
57091
 
-       fi
57092
 
-       if test -n "$finish_eval"; then
57093
 
-         # Do the single finish_eval.
57094
 
-         eval cmds=\"$finish_eval\"
57095
 
-         $run eval "$cmds" || admincmds="$admincmds
57096
 
-       $cmds"
57097
 
        fi
57098
 
-      done
57099
 
-    fi
57100
 
-
57101
 
-    # Exit here if they wanted silent mode.
57102
 
-    test "$show" = : && exit $EXIT_SUCCESS
57103
 
+       eval cmds=\"$old_archive_cmds\"
57104
 
 
57105
 
-    $echo "X----------------------------------------------------------------------" | $Xsed
57106
 
-    $echo "Libraries have been installed in:"
57107
 
-    for libdir in $libdirs; do
57108
 
-      $echo "   $libdir"
57109
 
+       func_len " $cmds"
57110
 
+       len=$func_len_result
57111
 
+       if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
57112
 
+         cmds=$old_archive_cmds
57113
 
+       else
57114
 
+         # the command line is too long to link in one step, link in parts
57115
 
+         func_verbose "using piecewise archive linking..."
57116
 
+         save_RANLIB=$RANLIB
57117
 
+         RANLIB=:
57118
 
+         objlist=
57119
 
+         concat_cmds=
57120
 
+         save_oldobjs=$oldobjs
57121
 
+         oldobjs=
57122
 
+         # Is there a better way of finding the last object in the list?
57123
 
+         for obj in $save_oldobjs
57124
 
+         do
57125
 
+           last_oldobj=$obj
57126
 
+         done
57127
 
+         eval test_cmds=\"$old_archive_cmds\"
57128
 
+         func_len " $test_cmds"
57129
 
+         len0=$func_len_result
57130
 
+         len=$len0
57131
 
+         for obj in $save_oldobjs
57132
 
+         do
57133
 
+           func_len " $obj"
57134
 
+           func_arith $len + $func_len_result
57135
 
+           len=$func_arith_result
57136
 
+           func_append objlist " $obj"
57137
 
+           if test "$len" -lt "$max_cmd_len"; then
57138
 
+             :
57139
 
+           else
57140
 
+             # the above command should be used before it gets too long
57141
 
+             oldobjs=$objlist
57142
 
+             if test "$obj" = "$last_oldobj" ; then
57143
 
+               RANLIB=$save_RANLIB
57144
 
+             fi
57145
 
+             test -z "$concat_cmds" || concat_cmds=$concat_cmds~
57146
 
+             eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
57147
 
+             objlist=
57148
 
+             len=$len0
57149
 
+           fi
57150
 
+         done
57151
 
+         RANLIB=$save_RANLIB
57152
 
+         oldobjs=$objlist
57153
 
+         if test "X$oldobjs" = "X" ; then
57154
 
+           eval cmds=\"\$concat_cmds\"
57155
 
+         else
57156
 
+           eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
57157
 
+         fi
57158
 
+       fi
57159
 
+      fi
57160
 
+      func_execute_cmds "$cmds" 'exit $?'
57161
 
     done
57162
 
-    $echo
57163
 
-    $echo "If you ever happen to want to link against installed libraries"
57164
 
-    $echo "in a given directory, LIBDIR, you must either use libtool, and"
57165
 
-    $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
57166
 
-    $echo "flag during linking and do at least one of the following:"
57167
 
-    if test -n "$shlibpath_var"; then
57168
 
-      $echo "   - add LIBDIR to the \`$shlibpath_var' environment variable"
57169
 
-      $echo "     during execution"
57170
 
-    fi
57171
 
-    if test -n "$runpath_var"; then
57172
 
-      $echo "   - add LIBDIR to the \`$runpath_var' environment variable"
57173
 
-      $echo "     during linking"
57174
 
-    fi
57175
 
-    if test -n "$hardcode_libdir_flag_spec"; then
57176
 
-      libdir=LIBDIR
57177
 
-      eval flag=\"$hardcode_libdir_flag_spec\"
57178
 
-
57179
 
-      $echo "   - use the \`$flag' linker flag"
57180
 
-    fi
57181
 
-    if test -n "$admincmds"; then
57182
 
-      $echo "   - have your system administrator run these commands:$admincmds"
57183
 
-    fi
57184
 
-    if test -f /etc/ld.so.conf; then
57185
 
-      $echo "   - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
57186
 
-    fi
57187
 
-    $echo
57188
 
-    $echo "See any operating system documentation about shared libraries for"
57189
 
-    $echo "more information, such as the ld(1) and ld.so(8) manual pages."
57190
 
-    $echo "X----------------------------------------------------------------------" | $Xsed
57191
 
-    exit $EXIT_SUCCESS
57192
 
-    ;;
57193
 
-
57194
 
-  # libtool execute mode
57195
 
-  execute)
57196
 
-    modename="$modename: execute"
57197
 
 
57198
 
-    # The first argument is the command name.
57199
 
-    cmd="$nonopt"
57200
 
-    if test -z "$cmd"; then
57201
 
-      $echo "$modename: you must specify a COMMAND" 1>&2
57202
 
-      $echo "$help"
57203
 
-      exit $EXIT_FAILURE
57204
 
-    fi
57205
 
+    test -n "$generated" && \
57206
 
+      func_show_eval "${RM}r$generated"
57207
 
 
57208
 
-    # Handle -dlopen flags immediately.
57209
 
-    for file in $execute_dlfiles; do
57210
 
-      if test ! -f "$file"; then
57211
 
-       $echo "$modename: \`$file' is not a file" 1>&2
57212
 
-       $echo "$help" 1>&2
57213
 
-       exit $EXIT_FAILURE
57214
 
-      fi
57215
 
+    # Now create the libtool archive.
57216
 
+    case $output in
57217
 
+    *.la)
57218
 
+      old_library=
57219
 
+      test "$build_old_libs" = yes && old_library="$libname.$libext"
57220
 
+      func_verbose "creating $output"
57221
 
 
57222
 
-      dir=
57223
 
-      case $file in
57224
 
-      *.la)
57225
 
-       # Check to see that this really is a libtool archive.
57226
 
-       if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
57227
 
+      # Preserve any variables that may affect compiler behavior
57228
 
+      for var in $variables_saved_for_relink; do
57229
 
+       if eval test -z \"\${$var+set}\"; then
57230
 
+         relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
57231
 
+       elif eval var_value=\$$var; test -z "$var_value"; then
57232
 
+         relink_command="$var=; export $var; $relink_command"
57233
 
        else
57234
 
-         $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
57235
 
-         $echo "$help" 1>&2
57236
 
-         exit $EXIT_FAILURE
57237
 
+         func_quote_for_eval "$var_value"
57238
 
+         relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
57239
 
        fi
57240
 
+      done
57241
 
+      # Quote the link command for shipping.
57242
 
+      relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
57243
 
+      relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
57244
 
+      if test "$hardcode_automatic" = yes ; then
57245
 
+       relink_command=
57246
 
+      fi
57247
 
 
57248
 
-       # Read the libtool library.
57249
 
-       dlname=
57250
 
-       library_names=
57251
 
+      # Only create the output if not a dry run.
57252
 
+      $opt_dry_run || {
57253
 
+       for installed in no yes; do
57254
 
+         if test "$installed" = yes; then
57255
 
+           if test -z "$install_libdir"; then
57256
 
+             break
57257
 
+           fi
57258
 
+           output="$output_objdir/$outputname"i
57259
 
+           # Replace all uninstalled libtool libraries with the installed ones
57260
 
+           newdependency_libs=
57261
 
+           for deplib in $dependency_libs; do
57262
 
+             case $deplib in
57263
 
+             *.la)
57264
 
+               func_basename "$deplib"
57265
 
+               name="$func_basename_result"
57266
 
+               eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
57267
 
+               test -z "$libdir" && \
57268
 
+                 func_fatal_error "\`$deplib' is not a valid libtool archive"
57269
 
+               newdependency_libs="$newdependency_libs $libdir/$name"
57270
 
+               ;;
57271
 
+             *) newdependency_libs="$newdependency_libs $deplib" ;;
57272
 
+             esac
57273
 
+           done
57274
 
+           dependency_libs="$newdependency_libs"
57275
 
+           newdlfiles=
57276
 
+
57277
 
+           for lib in $dlfiles; do
57278
 
+             case $lib in
57279
 
+             *.la)
57280
 
+               func_basename "$lib"
57281
 
+               name="$func_basename_result"
57282
 
+               eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
57283
 
+               test -z "$libdir" && \
57284
 
+                 func_fatal_error "\`$lib' is not a valid libtool archive"
57285
 
+               newdlfiles="$newdlfiles $libdir/$name"
57286
 
+               ;;
57287
 
+             *) newdlfiles="$newdlfiles $lib" ;;
57288
 
+             esac
57289
 
+           done
57290
 
+           dlfiles="$newdlfiles"
57291
 
+           newdlprefiles=
57292
 
+           for lib in $dlprefiles; do
57293
 
+             case $lib in
57294
 
+             *.la)
57295
 
+               # Only pass preopened files to the pseudo-archive (for
57296
 
+               # eventual linking with the app. that links it) if we
57297
 
+               # didn't already link the preopened objects directly into
57298
 
+               # the library:
57299
 
+               func_basename "$lib"
57300
 
+               name="$func_basename_result"
57301
 
+               eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
57302
 
+               test -z "$libdir" && \
57303
 
+                 func_fatal_error "\`$lib' is not a valid libtool archive"
57304
 
+               newdlprefiles="$newdlprefiles $libdir/$name"
57305
 
+               ;;
57306
 
+             esac
57307
 
+           done
57308
 
+           dlprefiles="$newdlprefiles"
57309
 
+         else
57310
 
+           newdlfiles=
57311
 
+           for lib in $dlfiles; do
57312
 
+             case $lib in
57313
 
+               [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
57314
 
+               *) abs=`pwd`"/$lib" ;;
57315
 
+             esac
57316
 
+             newdlfiles="$newdlfiles $abs"
57317
 
+           done
57318
 
+           dlfiles="$newdlfiles"
57319
 
+           newdlprefiles=
57320
 
+           for lib in $dlprefiles; do
57321
 
+             case $lib in
57322
 
+               [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
57323
 
+               *) abs=`pwd`"/$lib" ;;
57324
 
+             esac
57325
 
+             newdlprefiles="$newdlprefiles $abs"
57326
 
+           done
57327
 
+           dlprefiles="$newdlprefiles"
57328
 
+         fi
57329
 
+         $RM $output
57330
 
+         # place dlname in correct position for cygwin
57331
 
+         tdlname=$dlname
57332
 
+         case $host,$output,$installed,$module,$dlname in
57333
 
+           *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
57334
 
+         esac
57335
 
+         $ECHO > $output "\
57336
 
+# $outputname - a libtool library file
57337
 
+# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
57338
 
+#
57339
 
+# Please DO NOT delete this file!
57340
 
+# It is necessary for linking the library.
57341
 
 
57342
 
-       # If there is no directory component, then add one.
57343
 
-       case $file in
57344
 
-       */* | *\\*) . $file ;;
57345
 
-       *) . ./$file ;;
57346
 
-       esac
57347
 
+# The name that we can dlopen(3).
57348
 
+dlname='$tdlname'
57349
 
 
57350
 
-       # Skip this library if it cannot be dlopened.
57351
 
-       if test -z "$dlname"; then
57352
 
-         # Warn if it was a shared library.
57353
 
-         test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'"
57354
 
-         continue
57355
 
-       fi
57356
 
+# Names of this library.
57357
 
+library_names='$library_names'
57358
 
 
57359
 
-       dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
57360
 
-       test "X$dir" = "X$file" && dir=.
57361
 
+# The name of the static archive.
57362
 
+old_library='$old_library'
57363
 
 
57364
 
-       if test -f "$dir/$objdir/$dlname"; then
57365
 
-         dir="$dir/$objdir"
57366
 
-       else
57367
 
-         if test ! -f "$dir/$dlname"; then
57368
 
-           $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
57369
 
-           exit $EXIT_FAILURE
57370
 
-         fi
57371
 
-       fi
57372
 
-       ;;
57373
 
+# Linker flags that can not go in dependency_libs.
57374
 
+inherited_linker_flags='$new_inherited_linker_flags'
57375
 
 
57376
 
-      *.lo)
57377
 
-       # Just add the directory containing the .lo file.
57378
 
-       dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
57379
 
-       test "X$dir" = "X$file" && dir=.
57380
 
-       ;;
57381
 
+# Libraries that this one depends upon.
57382
 
+dependency_libs='$dependency_libs'
57383
 
 
57384
 
-      *)
57385
 
-       $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2
57386
 
-       continue
57387
 
-       ;;
57388
 
-      esac
57389
 
+# Names of additional weak libraries provided by this library
57390
 
+weak_library_names='$weak_libs'
57391
 
 
57392
 
-      # Get the absolute pathname.
57393
 
-      absdir=`cd "$dir" && pwd`
57394
 
-      test -n "$absdir" && dir="$absdir"
57395
 
+# Version information for $libname.
57396
 
+current=$current
57397
 
+age=$age
57398
 
+revision=$revision
57399
 
 
57400
 
-      # Now add the directory to shlibpath_var.
57401
 
-      if eval "test -z \"\$$shlibpath_var\""; then
57402
 
-       eval "$shlibpath_var=\"\$dir\""
57403
 
-      else
57404
 
-       eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
57405
 
-      fi
57406
 
-    done
57407
 
+# Is this an already installed library?
57408
 
+installed=$installed
57409
 
 
57410
 
-    # This variable tells wrapper scripts just to set shlibpath_var
57411
 
-    # rather than running their programs.
57412
 
-    libtool_execute_magic="$magic"
57413
 
+# Should we warn about portability when linking against -modules?
57414
 
+shouldnotlink=$module
57415
 
 
57416
 
-    # Check if any of the arguments is a wrapper script.
57417
 
-    args=
57418
 
-    for file
57419
 
-    do
57420
 
-      case $file in
57421
 
-      -*) ;;
57422
 
-      *)
57423
 
-       # Do a test to see if this is really a libtool program.
57424
 
-       if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
57425
 
-         # If there is no directory component, then add one.
57426
 
-         case $file in
57427
 
-         */* | *\\*) . $file ;;
57428
 
-         *) . ./$file ;;
57429
 
-         esac
57430
 
+# Files to dlopen/dlpreopen
57431
 
+dlopen='$dlfiles'
57432
 
+dlpreopen='$dlprefiles'
57433
 
 
57434
 
-         # Transform arg to wrapped name.
57435
 
-         file="$progdir/$program"
57436
 
-       fi
57437
 
-       ;;
57438
 
-      esac
57439
 
-      # Quote arguments (to preserve shell metacharacters).
57440
 
-      file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"`
57441
 
-      args="$args \"$file\""
57442
 
-    done
57443
 
+# Directory that this library needs to be installed in:
57444
 
+libdir='$install_libdir'"
57445
 
+         if test "$installed" = no && test "$need_relink" = yes; then
57446
 
+           $ECHO >> $output "\
57447
 
+relink_command=\"$relink_command\""
57448
 
+         fi
57449
 
+       done
57450
 
+      }
57451
 
 
57452
 
-    if test -z "$run"; then
57453
 
-      if test -n "$shlibpath_var"; then
57454
 
-       # Export the shlibpath_var.
57455
 
-       eval "export $shlibpath_var"
57456
 
-      fi
57457
 
+      # Do a symbolic link so that the libtool archive can be found in
57458
 
+      # LD_LIBRARY_PATH before the program is installed.
57459
 
+      func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?'
57460
 
+      ;;
57461
 
+    esac
57462
 
+    exit $EXIT_SUCCESS
57463
 
+}
57464
 
 
57465
 
-      # Restore saved environment variables
57466
 
-      for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
57467
 
-      do
57468
 
-       eval "if test \"\${save_$lt_var+set}\" = set; then
57469
 
-               $lt_var=\$save_$lt_var; export $lt_var
57470
 
-             fi"
57471
 
-      done
57472
 
+{ test "$mode" = link || test "$mode" = relink; } &&
57473
 
+    func_mode_link ${1+"$@"}
57474
 
 
57475
 
-      # Now prepare to actually exec the command.
57476
 
-      exec_cmd="\$cmd$args"
57477
 
-    else
57478
 
-      # Display what would be done.
57479
 
-      if test -n "$shlibpath_var"; then
57480
 
-       eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\""
57481
 
-       $echo "export $shlibpath_var"
57482
 
-      fi
57483
 
-      $echo "$cmd$args"
57484
 
-      exit $EXIT_SUCCESS
57485
 
-    fi
57486
 
-    ;;
57487
 
 
57488
 
-  # libtool clean and uninstall mode
57489
 
-  clean | uninstall)
57490
 
-    modename="$modename: $mode"
57491
 
-    rm="$nonopt"
57492
 
+# func_mode_uninstall arg...
57493
 
+func_mode_uninstall ()
57494
 
+{
57495
 
+    $opt_debug
57496
 
+    RM="$nonopt"
57497
 
     files=
57498
 
     rmforce=
57499
 
     exit_status=0
57500
 
@@ -6547,30 +8208,28 @@
57501
 
     for arg
57502
 
     do
57503
 
       case $arg in
57504
 
-      -f) rm="$rm $arg"; rmforce=yes ;;
57505
 
-      -*) rm="$rm $arg" ;;
57506
 
+      -f) RM="$RM $arg"; rmforce=yes ;;
57507
 
+      -*) RM="$RM $arg" ;;
57508
 
       *) files="$files $arg" ;;
57509
 
       esac
57510
 
     done
57511
 
 
57512
 
-    if test -z "$rm"; then
57513
 
-      $echo "$modename: you must specify an RM program" 1>&2
57514
 
-      $echo "$help" 1>&2
57515
 
-      exit $EXIT_FAILURE
57516
 
-    fi
57517
 
+    test -z "$RM" && \
57518
 
+      func_fatal_help "you must specify an RM program"
57519
 
 
57520
 
     rmdirs=
57521
 
 
57522
 
     origobjdir="$objdir"
57523
 
     for file in $files; do
57524
 
-      dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
57525
 
-      if test "X$dir" = "X$file"; then
57526
 
-       dir=.
57527
 
+      func_dirname "$file" "" "."
57528
 
+      dir="$func_dirname_result"
57529
 
+      if test "X$dir" = X.; then
57530
 
        objdir="$origobjdir"
57531
 
       else
57532
 
        objdir="$dir/$origobjdir"
57533
 
       fi
57534
 
-      name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
57535
 
+      func_basename "$file"
57536
 
+      name="$func_basename_result"
57537
 
       test "$mode" = uninstall && objdir="$dir"
57538
 
 
57539
 
       # Remember objdir for removal later, being careful to avoid duplicates
57540
 
@@ -6582,9 +8241,9 @@
57541
 
       fi
57542
 
 
57543
 
       # Don't error if the file doesn't exist and rm -f was used.
57544
 
-      if (test -L "$file") >/dev/null 2>&1 \
57545
 
-       || (test -h "$file") >/dev/null 2>&1 \
57546
 
-       || test -f "$file"; then
57547
 
+      if { test -L "$file"; } >/dev/null 2>&1 ||
57548
 
+        { test -h "$file"; } >/dev/null 2>&1 ||
57549
 
+        test -f "$file"; then
57550
 
        :
57551
 
       elif test -d "$file"; then
57552
 
        exit_status=1
57553
 
@@ -6598,8 +8257,8 @@
57554
 
       case $name in
57555
 
       *.la)
57556
 
        # Possibly a libtool archive, so verify it.
57557
 
-       if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
57558
 
-         . $dir/$name
57559
 
+       if func_lalib_p "$file"; then
57560
 
+         func_source $dir/$name
57561
 
 
57562
 
          # Delete the libtool libraries and symlinks.
57563
 
          for n in $library_names; do
57564
 
@@ -6614,39 +8273,17 @@
57565
 
            *" $dlname "*) ;;
57566
 
            *) rmfiles="$rmfiles $objdir/$dlname" ;;
57567
 
            esac
57568
 
-            test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
57569
 
+           test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
57570
 
            ;;
57571
 
          uninstall)
57572
 
            if test -n "$library_names"; then
57573
 
              # Do each command in the postuninstall commands.
57574
 
-             cmds=$postuninstall_cmds
57575
 
-             save_ifs="$IFS"; IFS='~'
57576
 
-             for cmd in $cmds; do
57577
 
-               IFS="$save_ifs"
57578
 
-               eval cmd=\"$cmd\"
57579
 
-               $show "$cmd"
57580
 
-               $run eval "$cmd"
57581
 
-               if test "$?" -ne 0 && test "$rmforce" != yes; then
57582
 
-                 exit_status=1
57583
 
-               fi
57584
 
-             done
57585
 
-             IFS="$save_ifs"
57586
 
+             func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
57587
 
            fi
57588
 
 
57589
 
            if test -n "$old_library"; then
57590
 
              # Do each command in the old_postuninstall commands.
57591
 
-             cmds=$old_postuninstall_cmds
57592
 
-             save_ifs="$IFS"; IFS='~'
57593
 
-             for cmd in $cmds; do
57594
 
-               IFS="$save_ifs"
57595
 
-               eval cmd=\"$cmd\"
57596
 
-               $show "$cmd"
57597
 
-               $run eval "$cmd"
57598
 
-               if test "$?" -ne 0 && test "$rmforce" != yes; then
57599
 
-                 exit_status=1
57600
 
-               fi
57601
 
-             done
57602
 
-             IFS="$save_ifs"
57603
 
+             func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
57604
 
            fi
57605
 
            # FIXME: should reinstall the best remaining shared library.
57606
 
            ;;
57607
 
@@ -6656,20 +8293,20 @@
57608
 
 
57609
 
       *.lo)
57610
 
        # Possibly a libtool object, so verify it.
57611
 
-       if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
57612
 
+       if func_lalib_p "$file"; then
57613
 
 
57614
 
          # Read the .lo file
57615
 
-         . $dir/$name
57616
 
+         func_source $dir/$name
57617
 
 
57618
 
          # Add PIC object to the list of files to remove.
57619
 
-         if test -n "$pic_object" \
57620
 
-            && test "$pic_object" != none; then
57621
 
+         if test -n "$pic_object" &&
57622
 
+            test "$pic_object" != none; then
57623
 
            rmfiles="$rmfiles $dir/$pic_object"
57624
 
          fi
57625
 
 
57626
 
          # Add non-PIC object to the list of files to remove.
57627
 
-         if test -n "$non_pic_object" \
57628
 
-            && test "$non_pic_object" != none; then
57629
 
+         if test -n "$non_pic_object" &&
57630
 
+            test "$non_pic_object" != none; then
57631
 
            rmfiles="$rmfiles $dir/$non_pic_object"
57632
 
          fi
57633
 
        fi
57634
 
@@ -6680,17 +8317,26 @@
57635
 
          noexename=$name
57636
 
          case $file in
57637
 
          *.exe)
57638
 
-           file=`$echo $file|${SED} 's,.exe$,,'`
57639
 
-           noexename=`$echo $name|${SED} 's,.exe$,,'`
57640
 
+           func_stripname '' '.exe' "$file"
57641
 
+           file=$func_stripname_result
57642
 
+           func_stripname '' '.exe' "$name"
57643
 
+           noexename=$func_stripname_result
57644
 
            # $file with .exe has already been added to rmfiles,
57645
 
            # add $file without .exe
57646
 
            rmfiles="$rmfiles $file"
57647
 
            ;;
57648
 
          esac
57649
 
          # Do a test to see if this is a libtool program.
57650
 
-         if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
57651
 
-           relink_command=
57652
 
-           . $dir/$noexename
57653
 
+         if func_ltwrapper_p "$file"; then
57654
 
+           if func_ltwrapper_executable_p "$file"; then
57655
 
+             func_ltwrapper_scriptname "$file"
57656
 
+             relink_command=
57657
 
+             func_source $func_ltwrapper_scriptname_result
57658
 
+             rmfiles="$rmfiles $func_ltwrapper_scriptname_result"
57659
 
+           else
57660
 
+             relink_command=
57661
 
+             func_source $dir/$noexename
57662
 
+           fi
57663
 
 
57664
 
            # note $name still contains .exe if it was in $file originally
57665
 
            # as does the version of $file that was added into $rmfiles
57666
 
@@ -6705,239 +8351,38 @@
57667
 
        fi
57668
 
        ;;
57669
 
       esac
57670
 
-      $show "$rm $rmfiles"
57671
 
-      $run $rm $rmfiles || exit_status=1
57672
 
+      func_show_eval "$RM $rmfiles" 'exit_status=1'
57673
 
     done
57674
 
     objdir="$origobjdir"
57675
 
 
57676
 
     # Try to remove the ${objdir}s in the directories where we deleted files
57677
 
     for dir in $rmdirs; do
57678
 
       if test -d "$dir"; then
57679
 
-       $show "rmdir $dir"
57680
 
-       $run rmdir $dir >/dev/null 2>&1
57681
 
+       func_show_eval "rmdir $dir >/dev/null 2>&1"
57682
 
       fi
57683
 
     done
57684
 
 
57685
 
     exit $exit_status
57686
 
-    ;;
57687
 
+}
57688
 
 
57689
 
-  "")
57690
 
-    $echo "$modename: you must specify a MODE" 1>&2
57691
 
-    $echo "$generic_help" 1>&2
57692
 
-    exit $EXIT_FAILURE
57693
 
-    ;;
57694
 
-  esac
57695
 
+{ test "$mode" = uninstall || test "$mode" = clean; } &&
57696
 
+    func_mode_uninstall ${1+"$@"}
57697
 
 
57698
 
-  if test -z "$exec_cmd"; then
57699
 
-    $echo "$modename: invalid operation mode \`$mode'" 1>&2
57700
 
-    $echo "$generic_help" 1>&2
57701
 
-    exit $EXIT_FAILURE
57702
 
-  fi
57703
 
-fi # test -z "$show_help"
57704
 
+test -z "$mode" && {
57705
 
+  help="$generic_help"
57706
 
+  func_fatal_help "you must specify a MODE"
57707
 
+}
57708
 
+
57709
 
+test -z "$exec_cmd" && \
57710
 
+  func_fatal_help "invalid operation mode \`$mode'"
57711
 
 
57712
 
 if test -n "$exec_cmd"; then
57713
 
-  eval exec $exec_cmd
57714
 
+  eval exec "$exec_cmd"
57715
 
   exit $EXIT_FAILURE
57716
 
 fi
57717
 
 
57718
 
-# We need to display help for each of the modes.
57719
 
-case $mode in
57720
 
-"") $echo \
57721
 
-"Usage: $modename [OPTION]... [MODE-ARG]...
57722
 
-
57723
 
-Provide generalized library-building support services.
57724
 
-
57725
 
-    --config          show all configuration variables
57726
 
-    --debug           enable verbose shell tracing
57727
 
--n, --dry-run         display commands without modifying any files
57728
 
-    --features        display basic configuration information and exit
57729
 
-    --finish          same as \`--mode=finish'
57730
 
-    --help            display this help message and exit
57731
 
-    --mode=MODE       use operation mode MODE [default=inferred from MODE-ARGS]
57732
 
-    --quiet           same as \`--silent'
57733
 
-    --silent          don't print informational messages
57734
 
-    --tag=TAG         use configuration variables from tag TAG
57735
 
-    --version         print version information
57736
 
-
57737
 
-MODE must be one of the following:
57738
 
-
57739
 
-      clean           remove files from the build directory
57740
 
-      compile         compile a source file into a libtool object
57741
 
-      execute         automatically set library path, then run a program
57742
 
-      finish          complete the installation of libtool libraries
57743
 
-      install         install libraries or executables
57744
 
-      link            create a library or an executable
57745
 
-      uninstall       remove libraries from an installed directory
57746
 
-
57747
 
-MODE-ARGS vary depending on the MODE.  Try \`$modename --help --mode=MODE' for
57748
 
-a more detailed description of MODE.
57749
 
-
57750
 
-Report bugs to <bug-libtool@gnu.org>."
57751
 
-  exit $EXIT_SUCCESS
57752
 
-  ;;
57753
 
-
57754
 
-clean)
57755
 
-  $echo \
57756
 
-"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
57757
 
-
57758
 
-Remove files from the build directory.
57759
 
-
57760
 
-RM is the name of the program to use to delete files associated with each FILE
57761
 
-(typically \`/bin/rm').  RM-OPTIONS are options (such as \`-f') to be passed
57762
 
-to RM.
57763
 
-
57764
 
-If FILE is a libtool library, object or program, all the files associated
57765
 
-with it are deleted. Otherwise, only FILE itself is deleted using RM."
57766
 
-  ;;
57767
 
-
57768
 
-compile)
57769
 
-  $echo \
57770
 
-"Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
57771
 
-
57772
 
-Compile a source file into a libtool library object.
57773
 
-
57774
 
-This mode accepts the following additional options:
57775
 
-
57776
 
-  -o OUTPUT-FILE    set the output file name to OUTPUT-FILE
57777
 
-  -prefer-pic       try to building PIC objects only
57778
 
-  -prefer-non-pic   try to building non-PIC objects only
57779
 
-  -static           always build a \`.o' file suitable for static linking
57780
 
-
57781
 
-COMPILE-COMMAND is a command to be used in creating a \`standard' object file
57782
 
-from the given SOURCEFILE.
57783
 
-
57784
 
-The output file name is determined by removing the directory component from
57785
 
-SOURCEFILE, then substituting the C source code suffix \`.c' with the
57786
 
-library object suffix, \`.lo'."
57787
 
-  ;;
57788
 
-
57789
 
-execute)
57790
 
-  $echo \
57791
 
-"Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]...
57792
 
-
57793
 
-Automatically set library path, then run a program.
57794
 
-
57795
 
-This mode accepts the following additional options:
57796
 
-
57797
 
-  -dlopen FILE      add the directory containing FILE to the library path
57798
 
-
57799
 
-This mode sets the library path environment variable according to \`-dlopen'
57800
 
-flags.
57801
 
-
57802
 
-If any of the ARGS are libtool executable wrappers, then they are translated
57803
 
-into their corresponding uninstalled binary, and any of their required library
57804
 
-directories are added to the library path.
57805
 
-
57806
 
-Then, COMMAND is executed, with ARGS as arguments."
57807
 
-  ;;
57808
 
-
57809
 
-finish)
57810
 
-  $echo \
57811
 
-"Usage: $modename [OPTION]... --mode=finish [LIBDIR]...
57812
 
-
57813
 
-Complete the installation of libtool libraries.
57814
 
-
57815
 
-Each LIBDIR is a directory that contains libtool libraries.
57816
 
-
57817
 
-The commands that this mode executes may require superuser privileges.  Use
57818
 
-the \`--dry-run' option if you just want to see what would be executed."
57819
 
-  ;;
57820
 
-
57821
 
-install)
57822
 
-  $echo \
57823
 
-"Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND...
57824
 
-
57825
 
-Install executables or libraries.
57826
 
-
57827
 
-INSTALL-COMMAND is the installation command.  The first component should be
57828
 
-either the \`install' or \`cp' program.
57829
 
-
57830
 
-The rest of the components are interpreted as arguments to that command (only
57831
 
-BSD-compatible install options are recognized)."
57832
 
-  ;;
57833
 
-
57834
 
-link)
57835
 
-  $echo \
57836
 
-"Usage: $modename [OPTION]... --mode=link LINK-COMMAND...
57837
 
-
57838
 
-Link object files or libraries together to form another library, or to
57839
 
-create an executable program.
57840
 
+exit $exit_status
57841
 
 
57842
 
-LINK-COMMAND is a command using the C compiler that you would use to create
57843
 
-a program from several object files.
57844
 
-
57845
 
-The following components of LINK-COMMAND are treated specially:
57846
 
-
57847
 
-  -all-static       do not do any dynamic linking at all
57848
 
-  -avoid-version    do not add a version suffix if possible
57849
 
-  -dlopen FILE      \`-dlpreopen' FILE if it cannot be dlopened at runtime
57850
 
-  -dlpreopen FILE   link in FILE and add its symbols to lt_preloaded_symbols
57851
 
-  -export-dynamic   allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
57852
 
-  -export-symbols SYMFILE
57853
 
-                    try to export only the symbols listed in SYMFILE
57854
 
-  -export-symbols-regex REGEX
57855
 
-                    try to export only the symbols matching REGEX
57856
 
-  -LLIBDIR          search LIBDIR for required installed libraries
57857
 
-  -lNAME            OUTPUT-FILE requires the installed library libNAME
57858
 
-  -module           build a library that can dlopened
57859
 
-  -no-fast-install  disable the fast-install mode
57860
 
-  -no-install       link a not-installable executable
57861
 
-  -no-undefined     declare that a library does not refer to external symbols
57862
 
-  -o OUTPUT-FILE    create OUTPUT-FILE from the specified objects
57863
 
-  -objectlist FILE  Use a list of object files found in FILE to specify objects
57864
 
-  -precious-files-regex REGEX
57865
 
-                    don't remove output files matching REGEX
57866
 
-  -release RELEASE  specify package release information
57867
 
-  -rpath LIBDIR     the created library will eventually be installed in LIBDIR
57868
 
-  -R[ ]LIBDIR       add LIBDIR to the runtime path of programs and libraries
57869
 
-  -static           do not do any dynamic linking of uninstalled libtool libraries
57870
 
-  -static-libtool-libs
57871
 
-                    do not do any dynamic linking of libtool libraries
57872
 
-  -version-info CURRENT[:REVISION[:AGE]]
57873
 
-                    specify library version info [each variable defaults to 0]
57874
 
-
57875
 
-All other options (arguments beginning with \`-') are ignored.
57876
 
-
57877
 
-Every other argument is treated as a filename.  Files ending in \`.la' are
57878
 
-treated as uninstalled libtool libraries, other files are standard or library
57879
 
-object files.
57880
 
-
57881
 
-If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
57882
 
-only library objects (\`.lo' files) may be specified, and \`-rpath' is
57883
 
-required, except when creating a convenience library.
57884
 
-
57885
 
-If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
57886
 
-using \`ar' and \`ranlib', or on Windows using \`lib'.
57887
 
-
57888
 
-If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
57889
 
-is created, otherwise an executable program is created."
57890
 
-  ;;
57891
 
-
57892
 
-uninstall)
57893
 
-  $echo \
57894
 
-"Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
57895
 
-
57896
 
-Remove libraries from an installation directory.
57897
 
-
57898
 
-RM is the name of the program to use to delete files associated with each FILE
57899
 
-(typically \`/bin/rm').  RM-OPTIONS are options (such as \`-f') to be passed
57900
 
-to RM.
57901
 
-
57902
 
-If FILE is a libtool library, all the files associated with it are deleted.
57903
 
-Otherwise, only FILE itself is deleted using RM."
57904
 
-  ;;
57905
 
-
57906
 
-*)
57907
 
-  $echo "$modename: invalid operation mode \`$mode'" 1>&2
57908
 
-  $echo "$help" 1>&2
57909
 
-  exit $EXIT_FAILURE
57910
 
-  ;;
57911
 
-esac
57912
 
-
57913
 
-$echo
57914
 
-$echo "Try \`$modename --help' for more information about other modes."
57915
 
-
57916
 
-exit $?
57917
 
 
57918
 
 # The TAGs below are defined such that we never get into a situation
57919
 
 # in which we disable both kinds of libraries.  Given conflicting
57920
 
@@ -6951,14 +8396,17 @@
57921
 
 # configuration.  But we'll never go from static-only to shared-only.
57922
 
 
57923
 
 # ### BEGIN LIBTOOL TAG CONFIG: disable-shared
57924
 
-disable_libs=shared
57925
 
+build_libtool_libs=no
57926
 
+build_old_libs=yes
57927
 
 # ### END LIBTOOL TAG CONFIG: disable-shared
57928
 
 
57929
 
 # ### BEGIN LIBTOOL TAG CONFIG: disable-static
57930
 
-disable_libs=static
57931
 
+build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
57932
 
 # ### END LIBTOOL TAG CONFIG: disable-static
57933
 
 
57934
 
 # Local Variables:
57935
 
 # mode:shell-script
57936
 
 # sh-indentation:2
57937
 
 # End:
57938
 
+# vi:sw=2
57939
 
+
57940
 
--- sound-juicer-2.26.1/m4/libtool.m4   1970-01-01 01:00:00.000000000 +0100
57941
 
+++ sound-juicer-2.26.1.new/m4/libtool.m4       2009-04-13 19:04:05.000000000 +0100
57942
 
@@ -0,0 +1,7373 @@
57943
 
+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
57944
 
+#
57945
 
+#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
57946
 
+#                 2006, 2007, 2008 Free Software Foundation, Inc.
57947
 
+#   Written by Gordon Matzigkeit, 1996
57948
 
+#
57949
 
+# This file is free software; the Free Software Foundation gives
57950
 
+# unlimited permission to copy and/or distribute it, with or without
57951
 
+# modifications, as long as this notice is preserved.
57952
 
+
57953
 
+m4_define([_LT_COPYING], [dnl
57954
 
+#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
57955
 
+#                 2006, 2007, 2008 Free Software Foundation, Inc.
57956
 
+#   Written by Gordon Matzigkeit, 1996
57957
 
+#
57958
 
+#   This file is part of GNU Libtool.
57959
 
+#
57960
 
+# GNU Libtool is free software; you can redistribute it and/or
57961
 
+# modify it under the terms of the GNU General Public License as
57962
 
+# published by the Free Software Foundation; either version 2 of
57963
 
+# the License, or (at your option) any later version.
57964
 
+#
57965
 
+# As a special exception to the GNU General Public License,
57966
 
+# if you distribute this file as part of a program or library that
57967
 
+# is built using GNU Libtool, you may include this file under the
57968
 
+# same distribution terms that you use for the rest of that program.
57969
 
+#
57970
 
+# GNU Libtool is distributed in the hope that it will be useful,
57971
 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
57972
 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
57973
 
+# GNU General Public License for more details.
57974
 
+#
57975
 
+# You should have received a copy of the GNU General Public License
57976
 
+# along with GNU Libtool; see the file COPYING.  If not, a copy
57977
 
+# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
57978
 
+# obtained by writing to the Free Software Foundation, Inc.,
57979
 
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
57980
 
+])
57981
 
+
57982
 
+# serial 56 LT_INIT
57983
 
+
57984
 
+
57985
 
+# LT_PREREQ(VERSION)
57986
 
+# ------------------
57987
 
+# Complain and exit if this libtool version is less that VERSION.
57988
 
+m4_defun([LT_PREREQ],
57989
 
+[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
57990
 
+       [m4_default([$3],
57991
 
+                  [m4_fatal([Libtool version $1 or higher is required],
57992
 
+                            63)])],
57993
 
+       [$2])])
57994
 
+
57995
 
+
57996
 
+# _LT_CHECK_BUILDDIR
57997
 
+# ------------------
57998
 
+# Complain if the absolute build directory name contains unusual characters
57999
 
+m4_defun([_LT_CHECK_BUILDDIR],
58000
 
+[case `pwd` in
58001
 
+  *\ * | *\    *)
58002
 
+    AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
58003
 
+esac
58004
 
+])
58005
 
+
58006
 
+
58007
 
+# LT_INIT([OPTIONS])
58008
 
+# ------------------
58009
 
+AC_DEFUN([LT_INIT],
58010
 
+[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
58011
 
+AC_BEFORE([$0], [LT_LANG])dnl
58012
 
+AC_BEFORE([$0], [LT_OUTPUT])dnl
58013
 
+AC_BEFORE([$0], [LTDL_INIT])dnl
58014
 
+m4_require([_LT_CHECK_BUILDDIR])dnl
58015
 
+
58016
 
+dnl Autoconf doesn't catch unexpanded LT_ macros by default:
58017
 
+m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
58018
 
+m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
58019
 
+dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
58020
 
+dnl unless we require an AC_DEFUNed macro:
58021
 
+AC_REQUIRE([LTOPTIONS_VERSION])dnl
58022
 
+AC_REQUIRE([LTSUGAR_VERSION])dnl
58023
 
+AC_REQUIRE([LTVERSION_VERSION])dnl
58024
 
+AC_REQUIRE([LTOBSOLETE_VERSION])dnl
58025
 
+m4_require([_LT_PROG_LTMAIN])dnl
58026
 
+
58027
 
+dnl Parse OPTIONS
58028
 
+_LT_SET_OPTIONS([$0], [$1])
58029
 
+
58030
 
+# This can be used to rebuild libtool when needed
58031
 
+LIBTOOL_DEPS="$ltmain"
58032
 
+
58033
 
+# Always use our own libtool.
58034
 
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
58035
 
+AC_SUBST(LIBTOOL)dnl
58036
 
+
58037
 
+_LT_SETUP
58038
 
+
58039
 
+# Only expand once:
58040
 
+m4_define([LT_INIT])
58041
 
+])# LT_INIT
58042
 
+
58043
 
+# Old names:
58044
 
+AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
58045
 
+AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
58046
 
+dnl aclocal-1.4 backwards compatibility:
58047
 
+dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
58048
 
+dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
58049
 
+
58050
 
+
58051
 
+# _LT_CC_BASENAME(CC)
58052
 
+# -------------------
58053
 
+# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
58054
 
+m4_defun([_LT_CC_BASENAME],
58055
 
+[for cc_temp in $1""; do
58056
 
+  case $cc_temp in
58057
 
+    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
58058
 
+    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
58059
 
+    \-*) ;;
58060
 
+    *) break;;
58061
 
+  esac
58062
 
+done
58063
 
+cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
58064
 
+])
58065
 
+
58066
 
+
58067
 
+# _LT_FILEUTILS_DEFAULTS
58068
 
+# ----------------------
58069
 
+# It is okay to use these file commands and assume they have been set
58070
 
+# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
58071
 
+m4_defun([_LT_FILEUTILS_DEFAULTS],
58072
 
+[: ${CP="cp -f"}
58073
 
+: ${MV="mv -f"}
58074
 
+: ${RM="rm -f"}
58075
 
+])# _LT_FILEUTILS_DEFAULTS
58076
 
+
58077
 
+
58078
 
+# _LT_SETUP
58079
 
+# ---------
58080
 
+m4_defun([_LT_SETUP],
58081
 
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
58082
 
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
58083
 
+_LT_DECL([], [host_alias], [0], [The host system])dnl
58084
 
+_LT_DECL([], [host], [0])dnl
58085
 
+_LT_DECL([], [host_os], [0])dnl
58086
 
+dnl
58087
 
+_LT_DECL([], [build_alias], [0], [The build system])dnl
58088
 
+_LT_DECL([], [build], [0])dnl
58089
 
+_LT_DECL([], [build_os], [0])dnl
58090
 
+dnl
58091
 
+AC_REQUIRE([AC_PROG_CC])dnl
58092
 
+AC_REQUIRE([LT_PATH_LD])dnl
58093
 
+AC_REQUIRE([LT_PATH_NM])dnl
58094
 
+dnl
58095
 
+AC_REQUIRE([AC_PROG_LN_S])dnl
58096
 
+test -z "$LN_S" && LN_S="ln -s"
58097
 
+_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
58098
 
+dnl
58099
 
+AC_REQUIRE([LT_CMD_MAX_LEN])dnl
58100
 
+_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
58101
 
+_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
58102
 
+dnl
58103
 
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
58104
 
+m4_require([_LT_CHECK_SHELL_FEATURES])dnl
58105
 
+m4_require([_LT_CMD_RELOAD])dnl
58106
 
+m4_require([_LT_CHECK_MAGIC_METHOD])dnl
58107
 
+m4_require([_LT_CMD_OLD_ARCHIVE])dnl
58108
 
+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
58109
 
+
58110
 
+_LT_CONFIG_LIBTOOL_INIT([
58111
 
+# See if we are running on zsh, and set the options which allow our
58112
 
+# commands through without removal of \ escapes INIT.
58113
 
+if test -n "\${ZSH_VERSION+set}" ; then
58114
 
+   setopt NO_GLOB_SUBST
58115
 
+fi
58116
 
+])
58117
 
+if test -n "${ZSH_VERSION+set}" ; then
58118
 
+   setopt NO_GLOB_SUBST
58119
 
+fi
58120
 
+
58121
 
+_LT_CHECK_OBJDIR
58122
 
+
58123
 
+m4_require([_LT_TAG_COMPILER])dnl
58124
 
+_LT_PROG_ECHO_BACKSLASH
58125
 
+
58126
 
+case $host_os in
58127
 
+aix3*)
58128
 
+  # AIX sometimes has problems with the GCC collect2 program.  For some
58129
 
+  # reason, if we set the COLLECT_NAMES environment variable, the problems
58130
 
+  # vanish in a puff of smoke.
58131
 
+  if test "X${COLLECT_NAMES+set}" != Xset; then
58132
 
+    COLLECT_NAMES=
58133
 
+    export COLLECT_NAMES
58134
 
+  fi
58135
 
+  ;;
58136
 
+esac
58137
 
+
58138
 
+# Sed substitution that helps us do robust quoting.  It backslashifies
58139
 
+# metacharacters that are still active within double-quoted strings.
58140
 
+sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
58141
 
+
58142
 
+# Same as above, but do not quote variable references.
58143
 
+double_quote_subst='s/\([["`\\]]\)/\\\1/g'
58144
 
+
58145
 
+# Sed substitution to delay expansion of an escaped shell variable in a
58146
 
+# double_quote_subst'ed string.
58147
 
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
58148
 
+
58149
 
+# Sed substitution to delay expansion of an escaped single quote.
58150
 
+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
58151
 
+
58152
 
+# Sed substitution to avoid accidental globbing in evaled expressions
58153
 
+no_glob_subst='s/\*/\\\*/g'
58154
 
+
58155
 
+# Global variables:
58156
 
+ofile=libtool
58157
 
+can_build_shared=yes
58158
 
+
58159
 
+# All known linkers require a `.a' archive for static linking (except MSVC,
58160
 
+# which needs '.lib').
58161
 
+libext=a
58162
 
+
58163
 
+with_gnu_ld="$lt_cv_prog_gnu_ld"
58164
 
+
58165
 
+old_CC="$CC"
58166
 
+old_CFLAGS="$CFLAGS"
58167
 
+
58168
 
+# Set sane defaults for various variables
58169
 
+test -z "$CC" && CC=cc
58170
 
+test -z "$LTCC" && LTCC=$CC
58171
 
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
58172
 
+test -z "$LD" && LD=ld
58173
 
+test -z "$ac_objext" && ac_objext=o
58174
 
+
58175
 
+_LT_CC_BASENAME([$compiler])
58176
 
+
58177
 
+# Only perform the check for file, if the check method requires it
58178
 
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
58179
 
+case $deplibs_check_method in
58180
 
+file_magic*)
58181
 
+  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
58182
 
+    _LT_PATH_MAGIC
58183
 
+  fi
58184
 
+  ;;
58185
 
+esac
58186
 
+
58187
 
+# Use C for the default configuration in the libtool script
58188
 
+LT_SUPPORTED_TAG([CC])
58189
 
+_LT_LANG_C_CONFIG
58190
 
+_LT_LANG_DEFAULT_CONFIG
58191
 
+_LT_CONFIG_COMMANDS
58192
 
+])# _LT_SETUP
58193
 
+
58194
 
+
58195
 
+# _LT_PROG_LTMAIN
58196
 
+# ---------------
58197
 
+# Note that this code is called both from `configure', and `config.status'
58198
 
+# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,
58199
 
+# `config.status' has no value for ac_aux_dir unless we are using Automake,
58200
 
+# so we pass a copy along to make sure it has a sensible value anyway.
58201
 
+m4_defun([_LT_PROG_LTMAIN],
58202
 
+[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
58203
 
+_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
58204
 
+ltmain="$ac_aux_dir/ltmain.sh"
58205
 
+])# _LT_PROG_LTMAIN
58206
 
+
58207
 
+
58208
 
+## ------------------------------------- ##
58209
 
+## Accumulate code for creating libtool. ##
58210
 
+## ------------------------------------- ##
58211
 
+
58212
 
+# So that we can recreate a full libtool script including additional
58213
 
+# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
58214
 
+# in macros and then make a single call at the end using the `libtool'
58215
 
+# label.
58216
 
+
58217
 
+
58218
 
+# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
58219
 
+# ----------------------------------------
58220
 
+# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
58221
 
+m4_define([_LT_CONFIG_LIBTOOL_INIT],
58222
 
+[m4_ifval([$1],
58223
 
+          [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
58224
 
+                     [$1
58225
 
+])])])
58226
 
+
58227
 
+# Initialize.
58228
 
+m4_define([_LT_OUTPUT_LIBTOOL_INIT])
58229
 
+
58230
 
+
58231
 
+# _LT_CONFIG_LIBTOOL([COMMANDS])
58232
 
+# ------------------------------
58233
 
+# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
58234
 
+m4_define([_LT_CONFIG_LIBTOOL],
58235
 
+[m4_ifval([$1],
58236
 
+          [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
58237
 
+                     [$1
58238
 
+])])])
58239
 
+
58240
 
+# Initialize.
58241
 
+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
58242
 
+
58243
 
+
58244
 
+# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
58245
 
+# -----------------------------------------------------
58246
 
+m4_defun([_LT_CONFIG_SAVE_COMMANDS],
58247
 
+[_LT_CONFIG_LIBTOOL([$1])
58248
 
+_LT_CONFIG_LIBTOOL_INIT([$2])
58249
 
+])
58250
 
+
58251
 
+
58252
 
+# _LT_FORMAT_COMMENT([COMMENT])
58253
 
+# -----------------------------
58254
 
+# Add leading comment marks to the start of each line, and a trailing
58255
 
+# full-stop to the whole comment if one is not present already.
58256
 
+m4_define([_LT_FORMAT_COMMENT],
58257
 
+[m4_ifval([$1], [
58258
 
+m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
58259
 
+              [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
58260
 
+)])
58261
 
+
58262
 
+
58263
 
+
58264
 
+## ------------------------ ##
58265
 
+## FIXME: Eliminate VARNAME ##
58266
 
+## ------------------------ ##
58267
 
+
58268
 
+
58269
 
+# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
58270
 
+# -------------------------------------------------------------------
58271
 
+# CONFIGNAME is the name given to the value in the libtool script.
58272
 
+# VARNAME is the (base) name used in the configure script.
58273
 
+# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
58274
 
+# VARNAME.  Any other value will be used directly.
58275
 
+m4_define([_LT_DECL],
58276
 
+[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
58277
 
+    [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
58278
 
+       [m4_ifval([$1], [$1], [$2])])
58279
 
+    lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
58280
 
+    m4_ifval([$4],
58281
 
+       [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
58282
 
+    lt_dict_add_subkey([lt_decl_dict], [$2],
58283
 
+       [tagged?], [m4_ifval([$5], [yes], [no])])])
58284
 
+])
58285
 
+
58286
 
+
58287
 
+# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
58288
 
+# --------------------------------------------------------
58289
 
+m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
58290
 
+
58291
 
+
58292
 
+# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
58293
 
+# ------------------------------------------------
58294
 
+m4_define([lt_decl_tag_varnames],
58295
 
+[_lt_decl_filter([tagged?], [yes], $@)])
58296
 
+
58297
 
+
58298
 
+# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
58299
 
+# ---------------------------------------------------------
58300
 
+m4_define([_lt_decl_filter],
58301
 
+[m4_case([$#],
58302
 
+  [0], [m4_fatal([$0: too few arguments: $#])],
58303
 
+  [1], [m4_fatal([$0: too few arguments: $#: $1])],
58304
 
+  [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
58305
 
+  [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
58306
 
+  [lt_dict_filter([lt_decl_dict], $@)])[]dnl
58307
 
+])
58308
 
+
58309
 
+
58310
 
+# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
58311
 
+# --------------------------------------------------
58312
 
+m4_define([lt_decl_quote_varnames],
58313
 
+[_lt_decl_filter([value], [1], $@)])
58314
 
+
58315
 
+
58316
 
+# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
58317
 
+# ---------------------------------------------------
58318
 
+m4_define([lt_decl_dquote_varnames],
58319
 
+[_lt_decl_filter([value], [2], $@)])
58320
 
+
58321
 
+
58322
 
+# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
58323
 
+# ---------------------------------------------------
58324
 
+m4_define([lt_decl_varnames_tagged],
58325
 
+[m4_assert([$# <= 2])dnl
58326
 
+_$0(m4_quote(m4_default([$1], [[, ]])),
58327
 
+    m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
58328
 
+    m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
58329
 
+m4_define([_lt_decl_varnames_tagged],
58330
 
+[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
58331
 
+
58332
 
+
58333
 
+# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
58334
 
+# ------------------------------------------------
58335
 
+m4_define([lt_decl_all_varnames],
58336
 
+[_$0(m4_quote(m4_default([$1], [[, ]])),
58337
 
+     m4_if([$2], [],
58338
 
+          m4_quote(lt_decl_varnames),
58339
 
+       m4_quote(m4_shift($@))))[]dnl
58340
 
+])
58341
 
+m4_define([_lt_decl_all_varnames],
58342
 
+[lt_join($@, lt_decl_varnames_tagged([$1],
58343
 
+                       lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
58344
 
+])
58345
 
+
58346
 
+
58347
 
+# _LT_CONFIG_STATUS_DECLARE([VARNAME])
58348
 
+# ------------------------------------
58349
 
+# Quote a variable value, and forward it to `config.status' so that its
58350
 
+# declaration there will have the same value as in `configure'.  VARNAME
58351
 
+# must have a single quote delimited value for this to work.
58352
 
+m4_define([_LT_CONFIG_STATUS_DECLARE],
58353
 
+[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
58354
 
+
58355
 
+
58356
 
+# _LT_CONFIG_STATUS_DECLARATIONS
58357
 
+# ------------------------------
58358
 
+# We delimit libtool config variables with single quotes, so when
58359
 
+# we write them to config.status, we have to be sure to quote all
58360
 
+# embedded single quotes properly.  In configure, this macro expands
58361
 
+# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
58362
 
+#
58363
 
+#    <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
58364
 
+m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
58365
 
+[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
58366
 
+    [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
58367
 
+
58368
 
+
58369
 
+# _LT_LIBTOOL_TAGS
58370
 
+# ----------------
58371
 
+# Output comment and list of tags supported by the script
58372
 
+m4_defun([_LT_LIBTOOL_TAGS],
58373
 
+[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
58374
 
+available_tags="_LT_TAGS"dnl
58375
 
+])
58376
 
+
58377
 
+
58378
 
+# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
58379
 
+# -----------------------------------
58380
 
+# Extract the dictionary values for VARNAME (optionally with TAG) and
58381
 
+# expand to a commented shell variable setting:
58382
 
+#
58383
 
+#    # Some comment about what VAR is for.
58384
 
+#    visible_name=$lt_internal_name
58385
 
+m4_define([_LT_LIBTOOL_DECLARE],
58386
 
+[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
58387
 
+                                          [description])))[]dnl
58388
 
+m4_pushdef([_libtool_name],
58389
 
+    m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
58390
 
+m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
58391
 
+    [0], [_libtool_name=[$]$1],
58392
 
+    [1], [_libtool_name=$lt_[]$1],
58393
 
+    [2], [_libtool_name=$lt_[]$1],
58394
 
+    [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
58395
 
+m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
58396
 
+])
58397
 
+
58398
 
+
58399
 
+# _LT_LIBTOOL_CONFIG_VARS
58400
 
+# -----------------------
58401
 
+# Produce commented declarations of non-tagged libtool config variables
58402
 
+# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
58403
 
+# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG
58404
 
+# section) are produced by _LT_LIBTOOL_TAG_VARS.
58405
 
+m4_defun([_LT_LIBTOOL_CONFIG_VARS],
58406
 
+[m4_foreach([_lt_var],
58407
 
+    m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
58408
 
+    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
58409
 
+
58410
 
+
58411
 
+# _LT_LIBTOOL_TAG_VARS(TAG)
58412
 
+# -------------------------
58413
 
+m4_define([_LT_LIBTOOL_TAG_VARS],
58414
 
+[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
58415
 
+    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
58416
 
+
58417
 
+
58418
 
+# _LT_TAGVAR(VARNAME, [TAGNAME])
58419
 
+# ------------------------------
58420
 
+m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
58421
 
+
58422
 
+
58423
 
+# _LT_CONFIG_COMMANDS
58424
 
+# -------------------
58425
 
+# Send accumulated output to $CONFIG_STATUS.  Thanks to the lists of
58426
 
+# variables for single and double quote escaping we saved from calls
58427
 
+# to _LT_DECL, we can put quote escaped variables declarations
58428
 
+# into `config.status', and then the shell code to quote escape them in
58429
 
+# for loops in `config.status'.  Finally, any additional code accumulated
58430
 
+# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
58431
 
+m4_defun([_LT_CONFIG_COMMANDS],
58432
 
+[AC_PROVIDE_IFELSE([LT_OUTPUT],
58433
 
+       dnl If the libtool generation code has been placed in $CONFIG_LT,
58434
 
+       dnl instead of duplicating it all over again into config.status,
58435
 
+       dnl then we will have config.status run $CONFIG_LT later, so it
58436
 
+       dnl needs to know what name is stored there:
58437
 
+        [AC_CONFIG_COMMANDS([libtool],
58438
 
+            [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
58439
 
+    dnl If the libtool generation code is destined for config.status,
58440
 
+    dnl expand the accumulated commands and init code now:
58441
 
+    [AC_CONFIG_COMMANDS([libtool],
58442
 
+        [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
58443
 
+])#_LT_CONFIG_COMMANDS
58444
 
+
58445
 
+
58446
 
+# Initialize.
58447
 
+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
58448
 
+[
58449
 
+
58450
 
+# The HP-UX ksh and POSIX shell print the target directory to stdout
58451
 
+# if CDPATH is set.
58452
 
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
58453
 
+
58454
 
+sed_quote_subst='$sed_quote_subst'
58455
 
+double_quote_subst='$double_quote_subst'
58456
 
+delay_variable_subst='$delay_variable_subst'
58457
 
+_LT_CONFIG_STATUS_DECLARATIONS
58458
 
+LTCC='$LTCC'
58459
 
+LTCFLAGS='$LTCFLAGS'
58460
 
+compiler='$compiler_DEFAULT'
58461
 
+
58462
 
+# Quote evaled strings.
58463
 
+for var in lt_decl_all_varnames([[ \
58464
 
+]], lt_decl_quote_varnames); do
58465
 
+    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
58466
 
+    *[[\\\\\\\`\\"\\\$]]*)
58467
 
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
58468
 
+      ;;
58469
 
+    *)
58470
 
+      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
58471
 
+      ;;
58472
 
+    esac
58473
 
+done
58474
 
+
58475
 
+# Double-quote double-evaled strings.
58476
 
+for var in lt_decl_all_varnames([[ \
58477
 
+]], lt_decl_dquote_varnames); do
58478
 
+    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
58479
 
+    *[[\\\\\\\`\\"\\\$]]*)
58480
 
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
58481
 
+      ;;
58482
 
+    *)
58483
 
+      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
58484
 
+      ;;
58485
 
+    esac
58486
 
+done
58487
 
+
58488
 
+# Fix-up fallback echo if it was mangled by the above quoting rules.
58489
 
+case \$lt_ECHO in
58490
 
+*'\\\[$]0 --fallback-echo"')dnl "
58491
 
+  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
58492
 
+  ;;
58493
 
+esac
58494
 
+
58495
 
+_LT_OUTPUT_LIBTOOL_INIT
58496
 
+])
58497
 
+
58498
 
+
58499
 
+# LT_OUTPUT
58500
 
+# ---------
58501
 
+# This macro allows early generation of the libtool script (before
58502
 
+# AC_OUTPUT is called), incase it is used in configure for compilation
58503
 
+# tests.
58504
 
+AC_DEFUN([LT_OUTPUT],
58505
 
+[: ${CONFIG_LT=./config.lt}
58506
 
+AC_MSG_NOTICE([creating $CONFIG_LT])
58507
 
+cat >"$CONFIG_LT" <<_LTEOF
58508
 
+#! $SHELL
58509
 
+# Generated by $as_me.
58510
 
+# Run this file to recreate a libtool stub with the current configuration.
58511
 
+
58512
 
+lt_cl_silent=false
58513
 
+SHELL=\${CONFIG_SHELL-$SHELL}
58514
 
+_LTEOF
58515
 
+
58516
 
+cat >>"$CONFIG_LT" <<\_LTEOF
58517
 
+AS_SHELL_SANITIZE
58518
 
+_AS_PREPARE
58519
 
+
58520
 
+exec AS_MESSAGE_FD>&1
58521
 
+exec AS_MESSAGE_LOG_FD>>config.log
58522
 
+{
58523
 
+  echo
58524
 
+  AS_BOX([Running $as_me.])
58525
 
+} >&AS_MESSAGE_LOG_FD
58526
 
+
58527
 
+lt_cl_help="\
58528
 
+\`$as_me' creates a local libtool stub from the current configuration,
58529
 
+for use in further configure time tests before the real libtool is
58530
 
+generated.
58531
 
+
58532
 
+Usage: $[0] [[OPTIONS]]
58533
 
+
58534
 
+  -h, --help      print this help, then exit
58535
 
+  -V, --version   print version number, then exit
58536
 
+  -q, --quiet     do not print progress messages
58537
 
+  -d, --debug     don't remove temporary files
58538
 
+
58539
 
+Report bugs to <bug-libtool@gnu.org>."
58540
 
+
58541
 
+lt_cl_version="\
58542
 
+m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
58543
 
+m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
58544
 
+configured by $[0], generated by m4_PACKAGE_STRING.
58545
 
+
58546
 
+Copyright (C) 2008 Free Software Foundation, Inc.
58547
 
+This config.lt script is free software; the Free Software Foundation
58548
 
+gives unlimited permision to copy, distribute and modify it."
58549
 
+
58550
 
+while test $[#] != 0
58551
 
+do
58552
 
+  case $[1] in
58553
 
+    --version | --v* | -V )
58554
 
+      echo "$lt_cl_version"; exit 0 ;;
58555
 
+    --help | --h* | -h )
58556
 
+      echo "$lt_cl_help"; exit 0 ;;
58557
 
+    --debug | --d* | -d )
58558
 
+      debug=: ;;
58559
 
+    --quiet | --q* | --silent | --s* | -q )
58560
 
+      lt_cl_silent=: ;;
58561
 
+
58562
 
+    -*) AC_MSG_ERROR([unrecognized option: $[1]
58563
 
+Try \`$[0] --help' for more information.]) ;;
58564
 
+
58565
 
+    *) AC_MSG_ERROR([unrecognized argument: $[1]
58566
 
+Try \`$[0] --help' for more information.]) ;;
58567
 
+  esac
58568
 
+  shift
58569
 
+done
58570
 
+
58571
 
+if $lt_cl_silent; then
58572
 
+  exec AS_MESSAGE_FD>/dev/null
58573
 
+fi
58574
 
+_LTEOF
58575
 
+
58576
 
+cat >>"$CONFIG_LT" <<_LTEOF
58577
 
+_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
58578
 
+_LTEOF
58579
 
+
58580
 
+cat >>"$CONFIG_LT" <<\_LTEOF
58581
 
+AC_MSG_NOTICE([creating $ofile])
58582
 
+_LT_OUTPUT_LIBTOOL_COMMANDS
58583
 
+AS_EXIT(0)
58584
 
+_LTEOF
58585
 
+chmod +x "$CONFIG_LT"
58586
 
+
58587
 
+# configure is writing to config.log, but config.lt does its own redirection,
58588
 
+# appending to config.log, which fails on DOS, as config.log is still kept
58589
 
+# open by configure.  Here we exec the FD to /dev/null, effectively closing
58590
 
+# config.log, so it can be properly (re)opened and appended to by config.lt.
58591
 
+if test "$no_create" != yes; then
58592
 
+  lt_cl_success=:
58593
 
+  test "$silent" = yes &&
58594
 
+    lt_config_lt_args="$lt_config_lt_args --quiet"
58595
 
+  exec AS_MESSAGE_LOG_FD>/dev/null
58596
 
+  $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
58597
 
+  exec AS_MESSAGE_LOG_FD>>config.log
58598
 
+  $lt_cl_success || AS_EXIT(1)
58599
 
+fi
58600
 
+])# LT_OUTPUT
58601
 
+
58602
 
+
58603
 
+# _LT_CONFIG(TAG)
58604
 
+# ---------------
58605
 
+# If TAG is the built-in tag, create an initial libtool script with a
58606
 
+# default configuration from the untagged config vars.  Otherwise add code
58607
 
+# to config.status for appending the configuration named by TAG from the
58608
 
+# matching tagged config vars.
58609
 
+m4_defun([_LT_CONFIG],
58610
 
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
58611
 
+_LT_CONFIG_SAVE_COMMANDS([
58612
 
+  m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
58613
 
+  m4_if(_LT_TAG, [C], [
58614
 
+    # See if we are running on zsh, and set the options which allow our
58615
 
+    # commands through without removal of \ escapes.
58616
 
+    if test -n "${ZSH_VERSION+set}" ; then
58617
 
+      setopt NO_GLOB_SUBST
58618
 
+    fi
58619
 
+
58620
 
+    cfgfile="${ofile}T"
58621
 
+    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
58622
 
+    $RM "$cfgfile"
58623
 
+
58624
 
+    cat <<_LT_EOF >> "$cfgfile"
58625
 
+#! $SHELL
58626
 
+
58627
 
+# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
58628
 
+# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
58629
 
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
58630
 
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
58631
 
+#
58632
 
+_LT_COPYING
58633
 
+_LT_LIBTOOL_TAGS
58634
 
+
58635
 
+# ### BEGIN LIBTOOL CONFIG
58636
 
+_LT_LIBTOOL_CONFIG_VARS
58637
 
+_LT_LIBTOOL_TAG_VARS
58638
 
+# ### END LIBTOOL CONFIG
58639
 
+
58640
 
+_LT_EOF
58641
 
+
58642
 
+  case $host_os in
58643
 
+  aix3*)
58644
 
+    cat <<\_LT_EOF >> "$cfgfile"
58645
 
+# AIX sometimes has problems with the GCC collect2 program.  For some
58646
 
+# reason, if we set the COLLECT_NAMES environment variable, the problems
58647
 
+# vanish in a puff of smoke.
58648
 
+if test "X${COLLECT_NAMES+set}" != Xset; then
58649
 
+  COLLECT_NAMES=
58650
 
+  export COLLECT_NAMES
58651
 
+fi
58652
 
+_LT_EOF
58653
 
+    ;;
58654
 
+  esac
58655
 
+
58656
 
+  _LT_PROG_LTMAIN
58657
 
+
58658
 
+  # We use sed instead of cat because bash on DJGPP gets confused if
58659
 
+  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
58660
 
+  # text mode, it properly converts lines to CR/LF.  This bash problem
58661
 
+  # is reportedly fixed, but why not run on old versions too?
58662
 
+  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
58663
 
+    || (rm -f "$cfgfile"; exit 1)
58664
 
+
58665
 
+  _LT_PROG_XSI_SHELLFNS
58666
 
+
58667
 
+  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
58668
 
+    || (rm -f "$cfgfile"; exit 1)
58669
 
+
58670
 
+  mv -f "$cfgfile" "$ofile" ||
58671
 
+    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
58672
 
+  chmod +x "$ofile"
58673
 
+],
58674
 
+[cat <<_LT_EOF >> "$ofile"
58675
 
+
58676
 
+dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
58677
 
+dnl in a comment (ie after a #).
58678
 
+# ### BEGIN LIBTOOL TAG CONFIG: $1
58679
 
+_LT_LIBTOOL_TAG_VARS(_LT_TAG)
58680
 
+# ### END LIBTOOL TAG CONFIG: $1
58681
 
+_LT_EOF
58682
 
+])dnl /m4_if
58683
 
+],
58684
 
+[m4_if([$1], [], [
58685
 
+    PACKAGE='$PACKAGE'
58686
 
+    VERSION='$VERSION'
58687
 
+    TIMESTAMP='$TIMESTAMP'
58688
 
+    RM='$RM'
58689
 
+    ofile='$ofile'], [])
58690
 
+])dnl /_LT_CONFIG_SAVE_COMMANDS
58691
 
+])# _LT_CONFIG
58692
 
+
58693
 
+
58694
 
+# LT_SUPPORTED_TAG(TAG)
58695
 
+# ---------------------
58696
 
+# Trace this macro to discover what tags are supported by the libtool
58697
 
+# --tag option, using:
58698
 
+#    autoconf --trace 'LT_SUPPORTED_TAG:$1'
58699
 
+AC_DEFUN([LT_SUPPORTED_TAG], [])
58700
 
+
58701
 
+
58702
 
+# C support is built-in for now
58703
 
+m4_define([_LT_LANG_C_enabled], [])
58704
 
+m4_define([_LT_TAGS], [])
58705
 
+
58706
 
+
58707
 
+# LT_LANG(LANG)
58708
 
+# -------------
58709
 
+# Enable libtool support for the given language if not already enabled.
58710
 
+AC_DEFUN([LT_LANG],
58711
 
+[AC_BEFORE([$0], [LT_OUTPUT])dnl
58712
 
+m4_case([$1],
58713
 
+  [C],                 [_LT_LANG(C)],
58714
 
+  [C++],               [_LT_LANG(CXX)],
58715
 
+  [Java],              [_LT_LANG(GCJ)],
58716
 
+  [Fortran 77],                [_LT_LANG(F77)],
58717
 
+  [Fortran],           [_LT_LANG(FC)],
58718
 
+  [Windows Resource],  [_LT_LANG(RC)],
58719
 
+  [m4_ifdef([_LT_LANG_]$1[_CONFIG],
58720
 
+    [_LT_LANG($1)],
58721
 
+    [m4_fatal([$0: unsupported language: "$1"])])])dnl
58722
 
+])# LT_LANG
58723
 
+
58724
 
+
58725
 
+# _LT_LANG(LANGNAME)
58726
 
+# ------------------
58727
 
+m4_defun([_LT_LANG],
58728
 
+[m4_ifdef([_LT_LANG_]$1[_enabled], [],
58729
 
+  [LT_SUPPORTED_TAG([$1])dnl
58730
 
+  m4_append([_LT_TAGS], [$1 ])dnl
58731
 
+  m4_define([_LT_LANG_]$1[_enabled], [])dnl
58732
 
+  _LT_LANG_$1_CONFIG($1)])dnl
58733
 
+])# _LT_LANG
58734
 
+
58735
 
+
58736
 
+# _LT_LANG_DEFAULT_CONFIG
58737
 
+# -----------------------
58738
 
+m4_defun([_LT_LANG_DEFAULT_CONFIG],
58739
 
+[AC_PROVIDE_IFELSE([AC_PROG_CXX],
58740
 
+  [LT_LANG(CXX)],
58741
 
+  [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
58742
 
+
58743
 
+AC_PROVIDE_IFELSE([AC_PROG_F77],
58744
 
+  [LT_LANG(F77)],
58745
 
+  [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
58746
 
+
58747
 
+AC_PROVIDE_IFELSE([AC_PROG_FC],
58748
 
+  [LT_LANG(FC)],
58749
 
+  [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
58750
 
+
58751
 
+dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
58752
 
+dnl pulling things in needlessly.
58753
 
+AC_PROVIDE_IFELSE([AC_PROG_GCJ],
58754
 
+  [LT_LANG(GCJ)],
58755
 
+  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
58756
 
+    [LT_LANG(GCJ)],
58757
 
+    [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
58758
 
+      [LT_LANG(GCJ)],
58759
 
+      [m4_ifdef([AC_PROG_GCJ],
58760
 
+       [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
58761
 
+       m4_ifdef([A][M_PROG_GCJ],
58762
 
+       [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
58763
 
+       m4_ifdef([LT_PROG_GCJ],
58764
 
+       [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
58765
 
+
58766
 
+AC_PROVIDE_IFELSE([LT_PROG_RC],
58767
 
+  [LT_LANG(RC)],
58768
 
+  [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
58769
 
+])# _LT_LANG_DEFAULT_CONFIG
58770
 
+
58771
 
+# Obsolete macros:
58772
 
+AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
58773
 
+AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
58774
 
+AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
58775
 
+AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
58776
 
+dnl aclocal-1.4 backwards compatibility:
58777
 
+dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
58778
 
+dnl AC_DEFUN([AC_LIBTOOL_F77], [])
58779
 
+dnl AC_DEFUN([AC_LIBTOOL_FC], [])
58780
 
+dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
58781
 
+
58782
 
+
58783
 
+# _LT_TAG_COMPILER
58784
 
+# ----------------
58785
 
+m4_defun([_LT_TAG_COMPILER],
58786
 
+[AC_REQUIRE([AC_PROG_CC])dnl
58787
 
+
58788
 
+_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
58789
 
+_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
58790
 
+_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
58791
 
+_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
58792
 
+
58793
 
+# If no C compiler was specified, use CC.
58794
 
+LTCC=${LTCC-"$CC"}
58795
 
+
58796
 
+# If no C compiler flags were specified, use CFLAGS.
58797
 
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
58798
 
+
58799
 
+# Allow CC to be a program name with arguments.
58800
 
+compiler=$CC
58801
 
+])# _LT_TAG_COMPILER
58802
 
+
58803
 
+
58804
 
+# _LT_COMPILER_BOILERPLATE
58805
 
+# ------------------------
58806
 
+# Check for compiler boilerplate output or warnings with
58807
 
+# the simple compiler test code.
58808
 
+m4_defun([_LT_COMPILER_BOILERPLATE],
58809
 
+[m4_require([_LT_DECL_SED])dnl
58810
 
+ac_outfile=conftest.$ac_objext
58811
 
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
58812
 
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
58813
 
+_lt_compiler_boilerplate=`cat conftest.err`
58814
 
+$RM conftest*
58815
 
+])# _LT_COMPILER_BOILERPLATE
58816
 
+
58817
 
+
58818
 
+# _LT_LINKER_BOILERPLATE
58819
 
+# ----------------------
58820
 
+# Check for linker boilerplate output or warnings with
58821
 
+# the simple link test code.
58822
 
+m4_defun([_LT_LINKER_BOILERPLATE],
58823
 
+[m4_require([_LT_DECL_SED])dnl
58824
 
+ac_outfile=conftest.$ac_objext
58825
 
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
58826
 
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
58827
 
+_lt_linker_boilerplate=`cat conftest.err`
58828
 
+$RM -r conftest*
58829
 
+])# _LT_LINKER_BOILERPLATE
58830
 
+
58831
 
+# _LT_REQUIRED_DARWIN_CHECKS
58832
 
+# -------------------------
58833
 
+m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
58834
 
+  case $host_os in
58835
 
+    rhapsody* | darwin*)
58836
 
+    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
58837
 
+    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
58838
 
+    AC_CHECK_TOOL([LIPO], [lipo], [:])
58839
 
+    AC_CHECK_TOOL([OTOOL], [otool], [:])
58840
 
+    AC_CHECK_TOOL([OTOOL64], [otool64], [:])
58841
 
+    _LT_DECL([], [DSYMUTIL], [1],
58842
 
+      [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
58843
 
+    _LT_DECL([], [NMEDIT], [1],
58844
 
+      [Tool to change global to local symbols on Mac OS X])
58845
 
+    _LT_DECL([], [LIPO], [1],
58846
 
+      [Tool to manipulate fat objects and archives on Mac OS X])
58847
 
+    _LT_DECL([], [OTOOL], [1],
58848
 
+      [ldd/readelf like tool for Mach-O binaries on Mac OS X])
58849
 
+    _LT_DECL([], [OTOOL64], [1],
58850
 
+      [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
58851
 
+
58852
 
+    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
58853
 
+      [lt_cv_apple_cc_single_mod=no
58854
 
+      if test -z "${LT_MULTI_MODULE}"; then
58855
 
+       # By default we will add the -single_module flag. You can override
58856
 
+       # by either setting the environment variable LT_MULTI_MODULE
58857
 
+       # non-empty at configure time, or by adding -multi_module to the
58858
 
+       # link flags.
58859
 
+       rm -rf libconftest.dylib*
58860
 
+       echo "int foo(void){return 1;}" > conftest.c
58861
 
+       echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
58862
 
+-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
58863
 
+       $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
58864
 
+         -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
58865
 
+        _lt_result=$?
58866
 
+       if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
58867
 
+         lt_cv_apple_cc_single_mod=yes
58868
 
+       else
58869
 
+         cat conftest.err >&AS_MESSAGE_LOG_FD
58870
 
+       fi
58871
 
+       rm -rf libconftest.dylib*
58872
 
+       rm -f conftest.*
58873
 
+      fi])
58874
 
+    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
58875
 
+      [lt_cv_ld_exported_symbols_list],
58876
 
+      [lt_cv_ld_exported_symbols_list=no
58877
 
+      save_LDFLAGS=$LDFLAGS
58878
 
+      echo "_main" > conftest.sym
58879
 
+      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
58880
 
+      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
58881
 
+       [lt_cv_ld_exported_symbols_list=yes],
58882
 
+       [lt_cv_ld_exported_symbols_list=no])
58883
 
+       LDFLAGS="$save_LDFLAGS"
58884
 
+    ])
58885
 
+    case $host_os in
58886
 
+    rhapsody* | darwin1.[[012]])
58887
 
+      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
58888
 
+    darwin1.*)
58889
 
+      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
58890
 
+    darwin*) # darwin 5.x on
58891
 
+      # if running on 10.5 or later, the deployment target defaults
58892
 
+      # to the OS version, if on x86, and 10.4, the deployment
58893
 
+      # target defaults to 10.4. Don't you love it?
58894
 
+      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
58895
 
+       10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
58896
 
+         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
58897
 
+       10.[[012]]*)
58898
 
+         _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
58899
 
+       10.*)
58900
 
+         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
58901
 
+      esac
58902
 
+    ;;
58903
 
+  esac
58904
 
+    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
58905
 
+      _lt_dar_single_mod='$single_module'
58906
 
+    fi
58907
 
+    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
58908
 
+      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
58909
 
+    else
58910
 
+      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
58911
 
+    fi
58912
 
+    if test "$DSYMUTIL" != ":"; then
58913
 
+      _lt_dsymutil='~$DSYMUTIL $lib || :'
58914
 
+    else
58915
 
+      _lt_dsymutil=
58916
 
+    fi
58917
 
+    ;;
58918
 
+  esac
58919
 
+])
58920
 
+
58921
 
+
58922
 
+# _LT_DARWIN_LINKER_FEATURES
58923
 
+# --------------------------
58924
 
+# Checks for linker and compiler features on darwin
58925
 
+m4_defun([_LT_DARWIN_LINKER_FEATURES],
58926
 
+[
58927
 
+  m4_require([_LT_REQUIRED_DARWIN_CHECKS])
58928
 
+  _LT_TAGVAR(archive_cmds_need_lc, $1)=no
58929
 
+  _LT_TAGVAR(hardcode_direct, $1)=no
58930
 
+  _LT_TAGVAR(hardcode_automatic, $1)=yes
58931
 
+  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
58932
 
+  _LT_TAGVAR(whole_archive_flag_spec, $1)=''
58933
 
+  _LT_TAGVAR(link_all_deplibs, $1)=yes
58934
 
+  _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
58935
 
+  case $cc_basename in
58936
 
+     ifort*) _lt_dar_can_shared=yes ;;
58937
 
+     *) _lt_dar_can_shared=$GCC ;;
58938
 
+  esac
58939
 
+  if test "$_lt_dar_can_shared" = "yes"; then
58940
 
+    output_verbose_link_cmd=echo
58941
 
+    _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}"
58942
 
+    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
58943
 
+    _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}"
58944
 
+    _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}"
58945
 
+    m4_if([$1], [CXX],
58946
 
+[   if test "$lt_cv_apple_cc_single_mod" != "yes"; then
58947
 
+      _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}"
58948
 
+      _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}"
58949
 
+    fi
58950
 
+],[])
58951
 
+  else
58952
 
+  _LT_TAGVAR(ld_shlibs, $1)=no
58953
 
+  fi
58954
 
+])
58955
 
+
58956
 
+# _LT_SYS_MODULE_PATH_AIX
58957
 
+# -----------------------
58958
 
+# Links a minimal program and checks the executable
58959
 
+# for the system default hardcoded library path. In most cases,
58960
 
+# this is /usr/lib:/lib, but when the MPI compilers are used
58961
 
+# the location of the communication and MPI libs are included too.
58962
 
+# If we don't find anything, use the default library path according
58963
 
+# to the aix ld manual.
58964
 
+m4_defun([_LT_SYS_MODULE_PATH_AIX],
58965
 
+[m4_require([_LT_DECL_SED])dnl
58966
 
+AC_LINK_IFELSE(AC_LANG_PROGRAM,[
58967
 
+lt_aix_libpath_sed='
58968
 
+    /Import File Strings/,/^$/ {
58969
 
+       /^0/ {
58970
 
+           s/^0  *\(.*\)$/\1/
58971
 
+           p
58972
 
+       }
58973
 
+    }'
58974
 
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
58975
 
+# Check for a 64-bit object if we didn't find anything.
58976
 
+if test -z "$aix_libpath"; then
58977
 
+  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
58978
 
+fi],[])
58979
 
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
58980
 
+])# _LT_SYS_MODULE_PATH_AIX
58981
 
+
58982
 
+
58983
 
+# _LT_SHELL_INIT(ARG)
58984
 
+# -------------------
58985
 
+m4_define([_LT_SHELL_INIT],
58986
 
+[ifdef([AC_DIVERSION_NOTICE],
58987
 
+            [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
58988
 
+        [AC_DIVERT_PUSH(NOTICE)])
58989
 
+$1
58990
 
+AC_DIVERT_POP
58991
 
+])# _LT_SHELL_INIT
58992
 
+
58993
 
+
58994
 
+# _LT_PROG_ECHO_BACKSLASH
58995
 
+# -----------------------
58996
 
+# Add some code to the start of the generated configure script which
58997
 
+# will find an echo command which doesn't interpret backslashes.
58998
 
+m4_defun([_LT_PROG_ECHO_BACKSLASH],
58999
 
+[_LT_SHELL_INIT([
59000
 
+# Check that we are running under the correct shell.
59001
 
+SHELL=${CONFIG_SHELL-/bin/sh}
59002
 
+
59003
 
+case X$lt_ECHO in
59004
 
+X*--fallback-echo)
59005
 
+  # Remove one level of quotation (which was required for Make).
59006
 
+  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
59007
 
+  ;;
59008
 
+esac
59009
 
+
59010
 
+ECHO=${lt_ECHO-echo}
59011
 
+if test "X[$]1" = X--no-reexec; then
59012
 
+  # Discard the --no-reexec flag, and continue.
59013
 
+  shift
59014
 
+elif test "X[$]1" = X--fallback-echo; then
59015
 
+  # Avoid inline document here, it may be left over
59016
 
+  :
59017
 
+elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
59018
 
+  # Yippee, $ECHO works!
59019
 
+  :
59020
 
+else
59021
 
+  # Restart under the correct shell.
59022
 
+  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
59023
 
+fi
59024
 
+
59025
 
+if test "X[$]1" = X--fallback-echo; then
59026
 
+  # used as fallback echo
59027
 
+  shift
59028
 
+  cat <<_LT_EOF
59029
 
+[$]*
59030
 
+_LT_EOF
59031
 
+  exit 0
59032
 
+fi
59033
 
+
59034
 
+# The HP-UX ksh and POSIX shell print the target directory to stdout
59035
 
+# if CDPATH is set.
59036
 
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59037
 
+
59038
 
+if test -z "$lt_ECHO"; then
59039
 
+  if test "X${echo_test_string+set}" != Xset; then
59040
 
+    # find a string as large as possible, as long as the shell can cope with it
59041
 
+    for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
59042
 
+      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
59043
 
+      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
59044
 
+        { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
59045
 
+      then
59046
 
+        break
59047
 
+      fi
59048
 
+    done
59049
 
+  fi
59050
 
+
59051
 
+  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
59052
 
+     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
59053
 
+     test "X$echo_testing_string" = "X$echo_test_string"; then
59054
 
+    :
59055
 
+  else
59056
 
+    # The Solaris, AIX, and Digital Unix default echo programs unquote
59057
 
+    # backslashes.  This makes it impossible to quote backslashes using
59058
 
+    #   echo "$something" | sed 's/\\/\\\\/g'
59059
 
+    #
59060
 
+    # So, first we look for a working echo in the user's PATH.
59061
 
+
59062
 
+    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
59063
 
+    for dir in $PATH /usr/ucb; do
59064
 
+      IFS="$lt_save_ifs"
59065
 
+      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
59066
 
+         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
59067
 
+         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
59068
 
+         test "X$echo_testing_string" = "X$echo_test_string"; then
59069
 
+        ECHO="$dir/echo"
59070
 
+        break
59071
 
+      fi
59072
 
+    done
59073
 
+    IFS="$lt_save_ifs"
59074
 
+
59075
 
+    if test "X$ECHO" = Xecho; then
59076
 
+      # We didn't find a better echo, so look for alternatives.
59077
 
+      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
59078
 
+         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
59079
 
+         test "X$echo_testing_string" = "X$echo_test_string"; then
59080
 
+        # This shell has a builtin print -r that does the trick.
59081
 
+        ECHO='print -r'
59082
 
+      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
59083
 
+          test "X$CONFIG_SHELL" != X/bin/ksh; then
59084
 
+        # If we have ksh, try running configure again with it.
59085
 
+        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
59086
 
+        export ORIGINAL_CONFIG_SHELL
59087
 
+        CONFIG_SHELL=/bin/ksh
59088
 
+        export CONFIG_SHELL
59089
 
+        exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
59090
 
+      else
59091
 
+        # Try using printf.
59092
 
+        ECHO='printf %s\n'
59093
 
+        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
59094
 
+          echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
59095
 
+          test "X$echo_testing_string" = "X$echo_test_string"; then
59096
 
+         # Cool, printf works
59097
 
+         :
59098
 
+        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
59099
 
+            test "X$echo_testing_string" = 'X\t' &&
59100
 
+            echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
59101
 
+            test "X$echo_testing_string" = "X$echo_test_string"; then
59102
 
+         CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
59103
 
+         export CONFIG_SHELL
59104
 
+         SHELL="$CONFIG_SHELL"
59105
 
+         export SHELL
59106
 
+         ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
59107
 
+        elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
59108
 
+            test "X$echo_testing_string" = 'X\t' &&
59109
 
+            echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
59110
 
+            test "X$echo_testing_string" = "X$echo_test_string"; then
59111
 
+         ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
59112
 
+        else
59113
 
+         # maybe with a smaller string...
59114
 
+         prev=:
59115
 
+
59116
 
+         for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
59117
 
+           if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
59118
 
+           then
59119
 
+             break
59120
 
+           fi
59121
 
+           prev="$cmd"
59122
 
+         done
59123
 
+
59124
 
+         if test "$prev" != 'sed 50q "[$]0"'; then
59125
 
+           echo_test_string=`eval $prev`
59126
 
+           export echo_test_string
59127
 
+           exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
59128
 
+         else
59129
 
+           # Oops.  We lost completely, so just stick with echo.
59130
 
+           ECHO=echo
59131
 
+         fi
59132
 
+        fi
59133
 
+      fi
59134
 
+    fi
59135
 
+  fi
59136
 
+fi
59137
 
+
59138
 
+# Copy echo and quote the copy suitably for passing to libtool from
59139
 
+# the Makefile, instead of quoting the original, which is used later.
59140
 
+lt_ECHO=$ECHO
59141
 
+if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
59142
 
+   lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
59143
 
+fi
59144
 
+
59145
 
+AC_SUBST(lt_ECHO)
59146
 
+])
59147
 
+_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
59148
 
+_LT_DECL([], [ECHO], [1],
59149
 
+    [An echo program that does not interpret backslashes])
59150
 
+])# _LT_PROG_ECHO_BACKSLASH
59151
 
+
59152
 
+
59153
 
+# _LT_ENABLE_LOCK
59154
 
+# ---------------
59155
 
+m4_defun([_LT_ENABLE_LOCK],
59156
 
+[AC_ARG_ENABLE([libtool-lock],
59157
 
+  [AS_HELP_STRING([--disable-libtool-lock],
59158
 
+    [avoid locking (might break parallel builds)])])
59159
 
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
59160
 
+
59161
 
+# Some flags need to be propagated to the compiler or linker for good
59162
 
+# libtool support.
59163
 
+case $host in
59164
 
+ia64-*-hpux*)
59165
 
+  # Find out which ABI we are using.
59166
 
+  echo 'int i;' > conftest.$ac_ext
59167
 
+  if AC_TRY_EVAL(ac_compile); then
59168
 
+    case `/usr/bin/file conftest.$ac_objext` in
59169
 
+      *ELF-32*)
59170
 
+       HPUX_IA64_MODE="32"
59171
 
+       ;;
59172
 
+      *ELF-64*)
59173
 
+       HPUX_IA64_MODE="64"
59174
 
+       ;;
59175
 
+    esac
59176
 
+  fi
59177
 
+  rm -rf conftest*
59178
 
+  ;;
59179
 
+*-*-irix6*)
59180
 
+  # Find out which ABI we are using.
59181
 
+  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
59182
 
+  if AC_TRY_EVAL(ac_compile); then
59183
 
+    if test "$lt_cv_prog_gnu_ld" = yes; then
59184
 
+      case `/usr/bin/file conftest.$ac_objext` in
59185
 
+       *32-bit*)
59186
 
+         LD="${LD-ld} -melf32bsmip"
59187
 
+         ;;
59188
 
+       *N32*)
59189
 
+         LD="${LD-ld} -melf32bmipn32"
59190
 
+         ;;
59191
 
+       *64-bit*)
59192
 
+         LD="${LD-ld} -melf64bmip"
59193
 
+       ;;
59194
 
+      esac
59195
 
+    else
59196
 
+      case `/usr/bin/file conftest.$ac_objext` in
59197
 
+       *32-bit*)
59198
 
+         LD="${LD-ld} -32"
59199
 
+         ;;
59200
 
+       *N32*)
59201
 
+         LD="${LD-ld} -n32"
59202
 
+         ;;
59203
 
+       *64-bit*)
59204
 
+         LD="${LD-ld} -64"
59205
 
+         ;;
59206
 
+      esac
59207
 
+    fi
59208
 
+  fi
59209
 
+  rm -rf conftest*
59210
 
+  ;;
59211
 
+
59212
 
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
59213
 
+s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
59214
 
+  # Find out which ABI we are using.
59215
 
+  echo 'int i;' > conftest.$ac_ext
59216
 
+  if AC_TRY_EVAL(ac_compile); then
59217
 
+    case `/usr/bin/file conftest.o` in
59218
 
+      *32-bit*)
59219
 
+       case $host in
59220
 
+         x86_64-*kfreebsd*-gnu)
59221
 
+           LD="${LD-ld} -m elf_i386_fbsd"
59222
 
+           ;;
59223
 
+         x86_64-*linux*)
59224
 
+           LD="${LD-ld} -m elf_i386"
59225
 
+           ;;
59226
 
+         ppc64-*linux*|powerpc64-*linux*)
59227
 
+           LD="${LD-ld} -m elf32ppclinux"
59228
 
+           ;;
59229
 
+         s390x-*linux*)
59230
 
+           LD="${LD-ld} -m elf_s390"
59231
 
+           ;;
59232
 
+         sparc64-*linux*)
59233
 
+           LD="${LD-ld} -m elf32_sparc"
59234
 
+           ;;
59235
 
+       esac
59236
 
+       ;;
59237
 
+      *64-bit*)
59238
 
+       case $host in
59239
 
+         x86_64-*kfreebsd*-gnu)
59240
 
+           LD="${LD-ld} -m elf_x86_64_fbsd"
59241
 
+           ;;
59242
 
+         x86_64-*linux*)
59243
 
+           LD="${LD-ld} -m elf_x86_64"
59244
 
+           ;;
59245
 
+         ppc*-*linux*|powerpc*-*linux*)
59246
 
+           LD="${LD-ld} -m elf64ppc"
59247
 
+           ;;
59248
 
+         s390*-*linux*|s390*-*tpf*)
59249
 
+           LD="${LD-ld} -m elf64_s390"
59250
 
+           ;;
59251
 
+         sparc*-*linux*)
59252
 
+           LD="${LD-ld} -m elf64_sparc"
59253
 
+           ;;
59254
 
+       esac
59255
 
+       ;;
59256
 
+    esac
59257
 
+  fi
59258
 
+  rm -rf conftest*
59259
 
+  ;;
59260
 
+
59261
 
+*-*-sco3.2v5*)
59262
 
+  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
59263
 
+  SAVE_CFLAGS="$CFLAGS"
59264
 
+  CFLAGS="$CFLAGS -belf"
59265
 
+  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
59266
 
+    [AC_LANG_PUSH(C)
59267
 
+     AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
59268
 
+     AC_LANG_POP])
59269
 
+  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
59270
 
+    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
59271
 
+    CFLAGS="$SAVE_CFLAGS"
59272
 
+  fi
59273
 
+  ;;
59274
 
+sparc*-*solaris*)
59275
 
+  # Find out which ABI we are using.
59276
 
+  echo 'int i;' > conftest.$ac_ext
59277
 
+  if AC_TRY_EVAL(ac_compile); then
59278
 
+    case `/usr/bin/file conftest.o` in
59279
 
+    *64-bit*)
59280
 
+      case $lt_cv_prog_gnu_ld in
59281
 
+      yes*) LD="${LD-ld} -m elf64_sparc" ;;
59282
 
+      *)
59283
 
+       if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
59284
 
+         LD="${LD-ld} -64"
59285
 
+       fi
59286
 
+       ;;
59287
 
+      esac
59288
 
+      ;;
59289
 
+    esac
59290
 
+  fi
59291
 
+  rm -rf conftest*
59292
 
+  ;;
59293
 
+esac
59294
 
+
59295
 
+need_locks="$enable_libtool_lock"
59296
 
+])# _LT_ENABLE_LOCK
59297
 
+
59298
 
+
59299
 
+# _LT_CMD_OLD_ARCHIVE
59300
 
+# -------------------
59301
 
+m4_defun([_LT_CMD_OLD_ARCHIVE],
59302
 
+[AC_CHECK_TOOL(AR, ar, false)
59303
 
+test -z "$AR" && AR=ar
59304
 
+test -z "$AR_FLAGS" && AR_FLAGS=cru
59305
 
+_LT_DECL([], [AR], [1], [The archiver])
59306
 
+_LT_DECL([], [AR_FLAGS], [1])
59307
 
+
59308
 
+AC_CHECK_TOOL(STRIP, strip, :)
59309
 
+test -z "$STRIP" && STRIP=:
59310
 
+_LT_DECL([], [STRIP], [1], [A symbol stripping program])
59311
 
+
59312
 
+AC_CHECK_TOOL(RANLIB, ranlib, :)
59313
 
+test -z "$RANLIB" && RANLIB=:
59314
 
+_LT_DECL([], [RANLIB], [1],
59315
 
+    [Commands used to install an old-style archive])
59316
 
+
59317
 
+# Determine commands to create old-style static archives.
59318
 
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
59319
 
+old_postinstall_cmds='chmod 644 $oldlib'
59320
 
+old_postuninstall_cmds=
59321
 
+
59322
 
+if test -n "$RANLIB"; then
59323
 
+  case $host_os in
59324
 
+  openbsd*)
59325
 
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
59326
 
+    ;;
59327
 
+  *)
59328
 
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
59329
 
+    ;;
59330
 
+  esac
59331
 
+  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
59332
 
+fi
59333
 
+_LT_DECL([], [old_postinstall_cmds], [2])
59334
 
+_LT_DECL([], [old_postuninstall_cmds], [2])
59335
 
+_LT_TAGDECL([], [old_archive_cmds], [2],
59336
 
+    [Commands used to build an old-style archive])
59337
 
+])# _LT_CMD_OLD_ARCHIVE
59338
 
+
59339
 
+
59340
 
+# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
59341
 
+#              [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
59342
 
+# ----------------------------------------------------------------
59343
 
+# Check whether the given compiler option works
59344
 
+AC_DEFUN([_LT_COMPILER_OPTION],
59345
 
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
59346
 
+m4_require([_LT_DECL_SED])dnl
59347
 
+AC_CACHE_CHECK([$1], [$2],
59348
 
+  [$2=no
59349
 
+   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
59350
 
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
59351
 
+   lt_compiler_flag="$3"
59352
 
+   # Insert the option either (1) after the last *FLAGS variable, or
59353
 
+   # (2) before a word containing "conftest.", or (3) at the end.
59354
 
+   # Note that $ac_compile itself does not contain backslashes and begins
59355
 
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
59356
 
+   # The option is referenced via a variable to avoid confusing sed.
59357
 
+   lt_compile=`echo "$ac_compile" | $SED \
59358
 
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
59359
 
+   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
59360
 
+   -e 's:$: $lt_compiler_flag:'`
59361
 
+   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
59362
 
+   (eval "$lt_compile" 2>conftest.err)
59363
 
+   ac_status=$?
59364
 
+   cat conftest.err >&AS_MESSAGE_LOG_FD
59365
 
+   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
59366
 
+   if (exit $ac_status) && test -s "$ac_outfile"; then
59367
 
+     # The compiler can only warn and ignore the option if not recognized
59368
 
+     # So say no if there are warnings other than the usual output.
59369
 
+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
59370
 
+     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
59371
 
+     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
59372
 
+       $2=yes
59373
 
+     fi
59374
 
+   fi
59375
 
+   $RM conftest*
59376
 
+])
59377
 
+
59378
 
+if test x"[$]$2" = xyes; then
59379
 
+    m4_if([$5], , :, [$5])
59380
 
+else
59381
 
+    m4_if([$6], , :, [$6])
59382
 
+fi
59383
 
+])# _LT_COMPILER_OPTION
59384
 
+
59385
 
+# Old name:
59386
 
+AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
59387
 
+dnl aclocal-1.4 backwards compatibility:
59388
 
+dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
59389
 
+
59390
 
+
59391
 
+# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
59392
 
+#                  [ACTION-SUCCESS], [ACTION-FAILURE])
59393
 
+# ----------------------------------------------------
59394
 
+# Check whether the given linker option works
59395
 
+AC_DEFUN([_LT_LINKER_OPTION],
59396
 
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
59397
 
+m4_require([_LT_DECL_SED])dnl
59398
 
+AC_CACHE_CHECK([$1], [$2],
59399
 
+  [$2=no
59400
 
+   save_LDFLAGS="$LDFLAGS"
59401
 
+   LDFLAGS="$LDFLAGS $3"
59402
 
+   echo "$lt_simple_link_test_code" > conftest.$ac_ext
59403
 
+   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
59404
 
+     # The linker can only warn and ignore the option if not recognized
59405
 
+     # So say no if there are warnings
59406
 
+     if test -s conftest.err; then
59407
 
+       # Append any errors to the config.log.
59408
 
+       cat conftest.err 1>&AS_MESSAGE_LOG_FD
59409
 
+       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
59410
 
+       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
59411
 
+       if diff conftest.exp conftest.er2 >/dev/null; then
59412
 
+         $2=yes
59413
 
+       fi
59414
 
+     else
59415
 
+       $2=yes
59416
 
+     fi
59417
 
+   fi
59418
 
+   $RM -r conftest*
59419
 
+   LDFLAGS="$save_LDFLAGS"
59420
 
+])
59421
 
+
59422
 
+if test x"[$]$2" = xyes; then
59423
 
+    m4_if([$4], , :, [$4])
59424
 
+else
59425
 
+    m4_if([$5], , :, [$5])
59426
 
+fi
59427
 
+])# _LT_LINKER_OPTION
59428
 
+
59429
 
+# Old name:
59430
 
+AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
59431
 
+dnl aclocal-1.4 backwards compatibility:
59432
 
+dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
59433
 
+
59434
 
+
59435
 
+# LT_CMD_MAX_LEN
59436
 
+#---------------
59437
 
+AC_DEFUN([LT_CMD_MAX_LEN],
59438
 
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
59439
 
+# find the maximum length of command line arguments
59440
 
+AC_MSG_CHECKING([the maximum length of command line arguments])
59441
 
+AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
59442
 
+  i=0
59443
 
+  teststring="ABCD"
59444
 
+
59445
 
+  case $build_os in
59446
 
+  msdosdjgpp*)
59447
 
+    # On DJGPP, this test can blow up pretty badly due to problems in libc
59448
 
+    # (any single argument exceeding 2000 bytes causes a buffer overrun
59449
 
+    # during glob expansion).  Even if it were fixed, the result of this
59450
 
+    # check would be larger than it should be.
59451
 
+    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
59452
 
+    ;;
59453
 
+
59454
 
+  gnu*)
59455
 
+    # Under GNU Hurd, this test is not required because there is
59456
 
+    # no limit to the length of command line arguments.
59457
 
+    # Libtool will interpret -1 as no limit whatsoever
59458
 
+    lt_cv_sys_max_cmd_len=-1;
59459
 
+    ;;
59460
 
+
59461
 
+  cygwin* | mingw* | cegcc*)
59462
 
+    # On Win9x/ME, this test blows up -- it succeeds, but takes
59463
 
+    # about 5 minutes as the teststring grows exponentially.
59464
 
+    # Worse, since 9x/ME are not pre-emptively multitasking,
59465
 
+    # you end up with a "frozen" computer, even though with patience
59466
 
+    # the test eventually succeeds (with a max line length of 256k).
59467
 
+    # Instead, let's just punt: use the minimum linelength reported by
59468
 
+    # all of the supported platforms: 8192 (on NT/2K/XP).
59469
 
+    lt_cv_sys_max_cmd_len=8192;
59470
 
+    ;;
59471
 
+
59472
 
+  amigaos*)
59473
 
+    # On AmigaOS with pdksh, this test takes hours, literally.
59474
 
+    # So we just punt and use a minimum line length of 8192.
59475
 
+    lt_cv_sys_max_cmd_len=8192;
59476
 
+    ;;
59477
 
+
59478
 
+  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
59479
 
+    # This has been around since 386BSD, at least.  Likely further.
59480
 
+    if test -x /sbin/sysctl; then
59481
 
+      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
59482
 
+    elif test -x /usr/sbin/sysctl; then
59483
 
+      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
59484
 
+    else
59485
 
+      lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
59486
 
+    fi
59487
 
+    # And add a safety zone
59488
 
+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
59489
 
+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
59490
 
+    ;;
59491
 
+
59492
 
+  interix*)
59493
 
+    # We know the value 262144 and hardcode it with a safety zone (like BSD)
59494
 
+    lt_cv_sys_max_cmd_len=196608
59495
 
+    ;;
59496
 
+
59497
 
+  osf*)
59498
 
+    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
59499
 
+    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
59500
 
+    # nice to cause kernel panics so lets avoid the loop below.
59501
 
+    # First set a reasonable default.
59502
 
+    lt_cv_sys_max_cmd_len=16384
59503
 
+    #
59504
 
+    if test -x /sbin/sysconfig; then
59505
 
+      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
59506
 
+        *1*) lt_cv_sys_max_cmd_len=-1 ;;
59507
 
+      esac
59508
 
+    fi
59509
 
+    ;;
59510
 
+  sco3.2v5*)
59511
 
+    lt_cv_sys_max_cmd_len=102400
59512
 
+    ;;
59513
 
+  sysv5* | sco5v6* | sysv4.2uw2*)
59514
 
+    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
59515
 
+    if test -n "$kargmax"; then
59516
 
+      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[        ]]//'`
59517
 
+    else
59518
 
+      lt_cv_sys_max_cmd_len=32768
59519
 
+    fi
59520
 
+    ;;
59521
 
+  *)
59522
 
+    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
59523
 
+    if test -n "$lt_cv_sys_max_cmd_len"; then
59524
 
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
59525
 
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
59526
 
+    else
59527
 
+      # Make teststring a little bigger before we do anything with it.
59528
 
+      # a 1K string should be a reasonable start.
59529
 
+      for i in 1 2 3 4 5 6 7 8 ; do
59530
 
+        teststring=$teststring$teststring
59531
 
+      done
59532
 
+      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
59533
 
+      # If test is not a shell built-in, we'll probably end up computing a
59534
 
+      # maximum length that is only half of the actual maximum length, but
59535
 
+      # we can't tell.
59536
 
+      while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
59537
 
+                = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
59538
 
+             test $i != 17 # 1/2 MB should be enough
59539
 
+      do
59540
 
+        i=`expr $i + 1`
59541
 
+        teststring=$teststring$teststring
59542
 
+      done
59543
 
+      # Only check the string length outside the loop.
59544
 
+      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
59545
 
+      teststring=
59546
 
+      # Add a significant safety factor because C++ compilers can tack on
59547
 
+      # massive amounts of additional arguments before passing them to the
59548
 
+      # linker.  It appears as though 1/2 is a usable value.
59549
 
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
59550
 
+    fi
59551
 
+    ;;
59552
 
+  esac
59553
 
+])
59554
 
+if test -n $lt_cv_sys_max_cmd_len ; then
59555
 
+  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
59556
 
+else
59557
 
+  AC_MSG_RESULT(none)
59558
 
+fi
59559
 
+max_cmd_len=$lt_cv_sys_max_cmd_len
59560
 
+_LT_DECL([], [max_cmd_len], [0],
59561
 
+    [What is the maximum length of a command?])
59562
 
+])# LT_CMD_MAX_LEN
59563
 
+
59564
 
+# Old name:
59565
 
+AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
59566
 
+dnl aclocal-1.4 backwards compatibility:
59567
 
+dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
59568
 
+
59569
 
+
59570
 
+# _LT_HEADER_DLFCN
59571
 
+# ----------------
59572
 
+m4_defun([_LT_HEADER_DLFCN],
59573
 
+[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
59574
 
+])# _LT_HEADER_DLFCN
59575
 
+
59576
 
+
59577
 
+# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
59578
 
+#                      ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
59579
 
+# ----------------------------------------------------------------
59580
 
+m4_defun([_LT_TRY_DLOPEN_SELF],
59581
 
+[m4_require([_LT_HEADER_DLFCN])dnl
59582
 
+if test "$cross_compiling" = yes; then :
59583
 
+  [$4]
59584
 
+else
59585
 
+  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
59586
 
+  lt_status=$lt_dlunknown
59587
 
+  cat > conftest.$ac_ext <<_LT_EOF
59588
 
+[#line __oline__ "configure"
59589
 
+#include "confdefs.h"
59590
 
+
59591
 
+#if HAVE_DLFCN_H
59592
 
+#include <dlfcn.h>
59593
 
+#endif
59594
 
+
59595
 
+#include <stdio.h>
59596
 
+
59597
 
+#ifdef RTLD_GLOBAL
59598
 
+#  define LT_DLGLOBAL          RTLD_GLOBAL
59599
 
+#else
59600
 
+#  ifdef DL_GLOBAL
59601
 
+#    define LT_DLGLOBAL                DL_GLOBAL
59602
 
+#  else
59603
 
+#    define LT_DLGLOBAL                0
59604
 
+#  endif
59605
 
+#endif
59606
 
+
59607
 
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
59608
 
+   find out it does not work in some platform. */
59609
 
+#ifndef LT_DLLAZY_OR_NOW
59610
 
+#  ifdef RTLD_LAZY
59611
 
+#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
59612
 
+#  else
59613
 
+#    ifdef DL_LAZY
59614
 
+#      define LT_DLLAZY_OR_NOW         DL_LAZY
59615
 
+#    else
59616
 
+#      ifdef RTLD_NOW
59617
 
+#        define LT_DLLAZY_OR_NOW       RTLD_NOW
59618
 
+#      else
59619
 
+#        ifdef DL_NOW
59620
 
+#          define LT_DLLAZY_OR_NOW     DL_NOW
59621
 
+#        else
59622
 
+#          define LT_DLLAZY_OR_NOW     0
59623
 
+#        endif
59624
 
+#      endif
59625
 
+#    endif
59626
 
+#  endif
59627
 
+#endif
59628
 
+
59629
 
+void fnord() { int i=42;}
59630
 
+int main ()
59631
 
+{
59632
 
+  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
59633
 
+  int status = $lt_dlunknown;
59634
 
+
59635
 
+  if (self)
59636
 
+    {
59637
 
+      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
59638
 
+      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
59639
 
+      /* dlclose (self); */
59640
 
+    }
59641
 
+  else
59642
 
+    puts (dlerror ());
59643
 
+
59644
 
+  return status;
59645
 
+}]
59646
 
+_LT_EOF
59647
 
+  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
59648
 
+    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
59649
 
+    lt_status=$?
59650
 
+    case x$lt_status in
59651
 
+      x$lt_dlno_uscore) $1 ;;
59652
 
+      x$lt_dlneed_uscore) $2 ;;
59653
 
+      x$lt_dlunknown|x*) $3 ;;
59654
 
+    esac
59655
 
+  else :
59656
 
+    # compilation failed
59657
 
+    $3
59658
 
+  fi
59659
 
+fi
59660
 
+rm -fr conftest*
59661
 
+])# _LT_TRY_DLOPEN_SELF
59662
 
+
59663
 
+
59664
 
+# LT_SYS_DLOPEN_SELF
59665
 
+# ------------------
59666
 
+AC_DEFUN([LT_SYS_DLOPEN_SELF],
59667
 
+[m4_require([_LT_HEADER_DLFCN])dnl
59668
 
+if test "x$enable_dlopen" != xyes; then
59669
 
+  enable_dlopen=unknown
59670
 
+  enable_dlopen_self=unknown
59671
 
+  enable_dlopen_self_static=unknown
59672
 
+else
59673
 
+  lt_cv_dlopen=no
59674
 
+  lt_cv_dlopen_libs=
59675
 
+
59676
 
+  case $host_os in
59677
 
+  beos*)
59678
 
+    lt_cv_dlopen="load_add_on"
59679
 
+    lt_cv_dlopen_libs=
59680
 
+    lt_cv_dlopen_self=yes
59681
 
+    ;;
59682
 
+
59683
 
+  mingw* | pw32* | cegcc*)
59684
 
+    lt_cv_dlopen="LoadLibrary"
59685
 
+    lt_cv_dlopen_libs=
59686
 
+    ;;
59687
 
+
59688
 
+  cygwin*)
59689
 
+    lt_cv_dlopen="dlopen"
59690
 
+    lt_cv_dlopen_libs=
59691
 
+    ;;
59692
 
+
59693
 
+  darwin*)
59694
 
+  # if libdl is installed we need to link against it
59695
 
+    AC_CHECK_LIB([dl], [dlopen],
59696
 
+               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
59697
 
+    lt_cv_dlopen="dyld"
59698
 
+    lt_cv_dlopen_libs=
59699
 
+    lt_cv_dlopen_self=yes
59700
 
+    ])
59701
 
+    ;;
59702
 
+
59703
 
+  *)
59704
 
+    AC_CHECK_FUNC([shl_load],
59705
 
+         [lt_cv_dlopen="shl_load"],
59706
 
+      [AC_CHECK_LIB([dld], [shl_load],
59707
 
+           [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
59708
 
+       [AC_CHECK_FUNC([dlopen],
59709
 
+             [lt_cv_dlopen="dlopen"],
59710
 
+         [AC_CHECK_LIB([dl], [dlopen],
59711
 
+               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
59712
 
+           [AC_CHECK_LIB([svld], [dlopen],
59713
 
+                 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
59714
 
+             [AC_CHECK_LIB([dld], [dld_link],
59715
 
+                   [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
59716
 
+             ])
59717
 
+           ])
59718
 
+         ])
59719
 
+       ])
59720
 
+      ])
59721
 
+    ;;
59722
 
+  esac
59723
 
+
59724
 
+  if test "x$lt_cv_dlopen" != xno; then
59725
 
+    enable_dlopen=yes
59726
 
+  else
59727
 
+    enable_dlopen=no
59728
 
+  fi
59729
 
+
59730
 
+  case $lt_cv_dlopen in
59731
 
+  dlopen)
59732
 
+    save_CPPFLAGS="$CPPFLAGS"
59733
 
+    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
59734
 
+
59735
 
+    save_LDFLAGS="$LDFLAGS"
59736
 
+    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
59737
 
+
59738
 
+    save_LIBS="$LIBS"
59739
 
+    LIBS="$lt_cv_dlopen_libs $LIBS"
59740
 
+
59741
 
+    AC_CACHE_CHECK([whether a program can dlopen itself],
59742
 
+         lt_cv_dlopen_self, [dnl
59743
 
+         _LT_TRY_DLOPEN_SELF(
59744
 
+           lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
59745
 
+           lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
59746
 
+    ])
59747
 
+
59748
 
+    if test "x$lt_cv_dlopen_self" = xyes; then
59749
 
+      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
59750
 
+      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
59751
 
+         lt_cv_dlopen_self_static, [dnl
59752
 
+         _LT_TRY_DLOPEN_SELF(
59753
 
+           lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
59754
 
+           lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
59755
 
+      ])
59756
 
+    fi
59757
 
+
59758
 
+    CPPFLAGS="$save_CPPFLAGS"
59759
 
+    LDFLAGS="$save_LDFLAGS"
59760
 
+    LIBS="$save_LIBS"
59761
 
+    ;;
59762
 
+  esac
59763
 
+
59764
 
+  case $lt_cv_dlopen_self in
59765
 
+  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
59766
 
+  *) enable_dlopen_self=unknown ;;
59767
 
+  esac
59768
 
+
59769
 
+  case $lt_cv_dlopen_self_static in
59770
 
+  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
59771
 
+  *) enable_dlopen_self_static=unknown ;;
59772
 
+  esac
59773
 
+fi
59774
 
+_LT_DECL([dlopen_support], [enable_dlopen], [0],
59775
 
+        [Whether dlopen is supported])
59776
 
+_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
59777
 
+        [Whether dlopen of programs is supported])
59778
 
+_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
59779
 
+        [Whether dlopen of statically linked programs is supported])
59780
 
+])# LT_SYS_DLOPEN_SELF
59781
 
+
59782
 
+# Old name:
59783
 
+AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
59784
 
+dnl aclocal-1.4 backwards compatibility:
59785
 
+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
59786
 
+
59787
 
+
59788
 
+# _LT_COMPILER_C_O([TAGNAME])
59789
 
+# ---------------------------
59790
 
+# Check to see if options -c and -o are simultaneously supported by compiler.
59791
 
+# This macro does not hard code the compiler like AC_PROG_CC_C_O.
59792
 
+m4_defun([_LT_COMPILER_C_O],
59793
 
+[m4_require([_LT_DECL_SED])dnl
59794
 
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
59795
 
+m4_require([_LT_TAG_COMPILER])dnl
59796
 
+AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
59797
 
+  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
59798
 
+  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
59799
 
+   $RM -r conftest 2>/dev/null
59800
 
+   mkdir conftest
59801
 
+   cd conftest
59802
 
+   mkdir out
59803
 
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
59804
 
+
59805
 
+   lt_compiler_flag="-o out/conftest2.$ac_objext"
59806
 
+   # Insert the option either (1) after the last *FLAGS variable, or
59807
 
+   # (2) before a word containing "conftest.", or (3) at the end.
59808
 
+   # Note that $ac_compile itself does not contain backslashes and begins
59809
 
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
59810
 
+   lt_compile=`echo "$ac_compile" | $SED \
59811
 
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
59812
 
+   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
59813
 
+   -e 's:$: $lt_compiler_flag:'`
59814
 
+   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
59815
 
+   (eval "$lt_compile" 2>out/conftest.err)
59816
 
+   ac_status=$?
59817
 
+   cat out/conftest.err >&AS_MESSAGE_LOG_FD
59818
 
+   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
59819
 
+   if (exit $ac_status) && test -s out/conftest2.$ac_objext
59820
 
+   then
59821
 
+     # The compiler can only warn and ignore the option if not recognized
59822
 
+     # So say no if there are warnings
59823
 
+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
59824
 
+     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
59825
 
+     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
59826
 
+       _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
59827
 
+     fi
59828
 
+   fi
59829
 
+   chmod u+w . 2>&AS_MESSAGE_LOG_FD
59830
 
+   $RM conftest*
59831
 
+   # SGI C++ compiler will create directory out/ii_files/ for
59832
 
+   # template instantiation
59833
 
+   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
59834
 
+   $RM out/* && rmdir out
59835
 
+   cd ..
59836
 
+   $RM -r conftest
59837
 
+   $RM conftest*
59838
 
+])
59839
 
+_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
59840
 
+       [Does compiler simultaneously support -c and -o options?])
59841
 
+])# _LT_COMPILER_C_O
59842
 
+
59843
 
+
59844
 
+# _LT_COMPILER_FILE_LOCKS([TAGNAME])
59845
 
+# ----------------------------------
59846
 
+# Check to see if we can do hard links to lock some files if needed
59847
 
+m4_defun([_LT_COMPILER_FILE_LOCKS],
59848
 
+[m4_require([_LT_ENABLE_LOCK])dnl
59849
 
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
59850
 
+_LT_COMPILER_C_O([$1])
59851
 
+
59852
 
+hard_links="nottested"
59853
 
+if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
59854
 
+  # do not overwrite the value of need_locks provided by the user
59855
 
+  AC_MSG_CHECKING([if we can lock with hard links])
59856
 
+  hard_links=yes
59857
 
+  $RM conftest*
59858
 
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
59859
 
+  touch conftest.a
59860
 
+  ln conftest.a conftest.b 2>&5 || hard_links=no
59861
 
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
59862
 
+  AC_MSG_RESULT([$hard_links])
59863
 
+  if test "$hard_links" = no; then
59864
 
+    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
59865
 
+    need_locks=warn
59866
 
+  fi
59867
 
+else
59868
 
+  need_locks=no
59869
 
+fi
59870
 
+_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
59871
 
+])# _LT_COMPILER_FILE_LOCKS
59872
 
+
59873
 
+
59874
 
+# _LT_CHECK_OBJDIR
59875
 
+# ----------------
59876
 
+m4_defun([_LT_CHECK_OBJDIR],
59877
 
+[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
59878
 
+[rm -f .libs 2>/dev/null
59879
 
+mkdir .libs 2>/dev/null
59880
 
+if test -d .libs; then
59881
 
+  lt_cv_objdir=.libs
59882
 
+else
59883
 
+  # MS-DOS does not allow filenames that begin with a dot.
59884
 
+  lt_cv_objdir=_libs
59885
 
+fi
59886
 
+rmdir .libs 2>/dev/null])
59887
 
+objdir=$lt_cv_objdir
59888
 
+_LT_DECL([], [objdir], [0],
59889
 
+         [The name of the directory that contains temporary libtool files])dnl
59890
 
+m4_pattern_allow([LT_OBJDIR])dnl
59891
 
+AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
59892
 
+  [Define to the sub-directory in which libtool stores uninstalled libraries.])
59893
 
+])# _LT_CHECK_OBJDIR
59894
 
+
59895
 
+
59896
 
+# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
59897
 
+# --------------------------------------
59898
 
+# Check hardcoding attributes.
59899
 
+m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
59900
 
+[AC_MSG_CHECKING([how to hardcode library paths into programs])
59901
 
+_LT_TAGVAR(hardcode_action, $1)=
59902
 
+if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
59903
 
+   test -n "$_LT_TAGVAR(runpath_var, $1)" ||
59904
 
+   test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
59905
 
+
59906
 
+  # We can hardcode non-existent directories.
59907
 
+  if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
59908
 
+     # If the only mechanism to avoid hardcoding is shlibpath_var, we
59909
 
+     # have to relink, otherwise we might link with an installed library
59910
 
+     # when we should be linking with a yet-to-be-installed one
59911
 
+     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
59912
 
+     test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
59913
 
+    # Linking always hardcodes the temporary library directory.
59914
 
+    _LT_TAGVAR(hardcode_action, $1)=relink
59915
 
+  else
59916
 
+    # We can link without hardcoding, and we can hardcode nonexisting dirs.
59917
 
+    _LT_TAGVAR(hardcode_action, $1)=immediate
59918
 
+  fi
59919
 
+else
59920
 
+  # We cannot hardcode anything, or else we can only hardcode existing
59921
 
+  # directories.
59922
 
+  _LT_TAGVAR(hardcode_action, $1)=unsupported
59923
 
+fi
59924
 
+AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
59925
 
+
59926
 
+if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
59927
 
+   test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
59928
 
+  # Fast installation is not supported
59929
 
+  enable_fast_install=no
59930
 
+elif test "$shlibpath_overrides_runpath" = yes ||
59931
 
+     test "$enable_shared" = no; then
59932
 
+  # Fast installation is not necessary
59933
 
+  enable_fast_install=needless
59934
 
+fi
59935
 
+_LT_TAGDECL([], [hardcode_action], [0],
59936
 
+    [How to hardcode a shared library path into an executable])
59937
 
+])# _LT_LINKER_HARDCODE_LIBPATH
59938
 
+
59939
 
+
59940
 
+# _LT_CMD_STRIPLIB
59941
 
+# ----------------
59942
 
+m4_defun([_LT_CMD_STRIPLIB],
59943
 
+[m4_require([_LT_DECL_EGREP])
59944
 
+striplib=
59945
 
+old_striplib=
59946
 
+AC_MSG_CHECKING([whether stripping libraries is possible])
59947
 
+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
59948
 
+  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
59949
 
+  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
59950
 
+  AC_MSG_RESULT([yes])
59951
 
+else
59952
 
+# FIXME - insert some real tests, host_os isn't really good enough
59953
 
+  case $host_os in
59954
 
+  darwin*)
59955
 
+    if test -n "$STRIP" ; then
59956
 
+      striplib="$STRIP -x"
59957
 
+      old_striplib="$STRIP -S"
59958
 
+      AC_MSG_RESULT([yes])
59959
 
+    else
59960
 
+      AC_MSG_RESULT([no])
59961
 
+    fi
59962
 
+    ;;
59963
 
+  *)
59964
 
+    AC_MSG_RESULT([no])
59965
 
+    ;;
59966
 
+  esac
59967
 
+fi
59968
 
+_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
59969
 
+_LT_DECL([], [striplib], [1])
59970
 
+])# _LT_CMD_STRIPLIB
59971
 
+
59972
 
+
59973
 
+# _LT_SYS_DYNAMIC_LINKER([TAG])
59974
 
+# -----------------------------
59975
 
+# PORTME Fill in your ld.so characteristics
59976
 
+m4_defun([_LT_SYS_DYNAMIC_LINKER],
59977
 
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
59978
 
+m4_require([_LT_DECL_EGREP])dnl
59979
 
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
59980
 
+m4_require([_LT_DECL_OBJDUMP])dnl
59981
 
+m4_require([_LT_DECL_SED])dnl
59982
 
+AC_MSG_CHECKING([dynamic linker characteristics])
59983
 
+m4_if([$1],
59984
 
+       [], [
59985
 
+if test "$GCC" = yes; then
59986
 
+  case $host_os in
59987
 
+    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
59988
 
+    *) lt_awk_arg="/^libraries:/" ;;
59989
 
+  esac
59990
 
+  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
59991
 
+  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
59992
 
+    # if the path contains ";" then we assume it to be the separator
59993
 
+    # otherwise default to the standard path separator (i.e. ":") - it is
59994
 
+    # assumed that no part of a normal pathname contains ";" but that should
59995
 
+    # okay in the real world where ";" in dirpaths is itself problematic.
59996
 
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
59997
 
+  else
59998
 
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
59999
 
+  fi
60000
 
+  # Ok, now we have the path, separated by spaces, we can step through it
60001
 
+  # and add multilib dir if necessary.
60002
 
+  lt_tmp_lt_search_path_spec=
60003
 
+  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
60004
 
+  for lt_sys_path in $lt_search_path_spec; do
60005
 
+    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
60006
 
+      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
60007
 
+    else
60008
 
+      test -d "$lt_sys_path" && \
60009
 
+       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
60010
 
+    fi
60011
 
+  done
60012
 
+  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
60013
 
+BEGIN {RS=" "; FS="/|\n";} {
60014
 
+  lt_foo="";
60015
 
+  lt_count=0;
60016
 
+  for (lt_i = NF; lt_i > 0; lt_i--) {
60017
 
+    if ($lt_i != "" && $lt_i != ".") {
60018
 
+      if ($lt_i == "..") {
60019
 
+        lt_count++;
60020
 
+      } else {
60021
 
+        if (lt_count == 0) {
60022
 
+          lt_foo="/" $lt_i lt_foo;
60023
 
+        } else {
60024
 
+          lt_count--;
60025
 
+        }
60026
 
+      }
60027
 
+    }
60028
 
+  }
60029
 
+  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
60030
 
+  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
60031
 
+}'`
60032
 
+  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
60033
 
+else
60034
 
+  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
60035
 
+fi])
60036
 
+library_names_spec=
60037
 
+libname_spec='lib$name'
60038
 
+soname_spec=
60039
 
+shrext_cmds=".so"
60040
 
+postinstall_cmds=
60041
 
+postuninstall_cmds=
60042
 
+finish_cmds=
60043
 
+finish_eval=
60044
 
+shlibpath_var=
60045
 
+shlibpath_overrides_runpath=unknown
60046
 
+version_type=none
60047
 
+dynamic_linker="$host_os ld.so"
60048
 
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
60049
 
+need_lib_prefix=unknown
60050
 
+hardcode_into_libs=no
60051
 
+
60052
 
+# when you set need_version to no, make sure it does not cause -set_version
60053
 
+# flags to be left without arguments
60054
 
+need_version=unknown
60055
 
+
60056
 
+case $host_os in
60057
 
+aix3*)
60058
 
+  version_type=linux
60059
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
60060
 
+  shlibpath_var=LIBPATH
60061
 
+
60062
 
+  # AIX 3 has no versioning support, so we append a major version to the name.
60063
 
+  soname_spec='${libname}${release}${shared_ext}$major'
60064
 
+  ;;
60065
 
+
60066
 
+aix[[4-9]]*)
60067
 
+  version_type=linux
60068
 
+  need_lib_prefix=no
60069
 
+  need_version=no
60070
 
+  hardcode_into_libs=yes
60071
 
+  if test "$host_cpu" = ia64; then
60072
 
+    # AIX 5 supports IA64
60073
 
+    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
60074
 
+    shlibpath_var=LD_LIBRARY_PATH
60075
 
+  else
60076
 
+    # With GCC up to 2.95.x, collect2 would create an import file
60077
 
+    # for dependence libraries.  The import file would start with
60078
 
+    # the line `#! .'.  This would cause the generated library to
60079
 
+    # depend on `.', always an invalid library.  This was fixed in
60080
 
+    # development snapshots of GCC prior to 3.0.
60081
 
+    case $host_os in
60082
 
+      aix4 | aix4.[[01]] | aix4.[[01]].*)
60083
 
+      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
60084
 
+          echo ' yes '
60085
 
+          echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
60086
 
+       :
60087
 
+      else
60088
 
+       can_build_shared=no
60089
 
+      fi
60090
 
+      ;;
60091
 
+    esac
60092
 
+    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
60093
 
+    # soname into executable. Probably we can add versioning support to
60094
 
+    # collect2, so additional links can be useful in future.
60095
 
+    if test "$aix_use_runtimelinking" = yes; then
60096
 
+      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
60097
 
+      # instead of lib<name>.a to let people know that these are not
60098
 
+      # typical AIX shared libraries.
60099
 
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
60100
 
+    else
60101
 
+      # We preserve .a as extension for shared libraries through AIX4.2
60102
 
+      # and later when we are not doing run time linking.
60103
 
+      library_names_spec='${libname}${release}.a $libname.a'
60104
 
+      soname_spec='${libname}${release}${shared_ext}$major'
60105
 
+    fi
60106
 
+    shlibpath_var=LIBPATH
60107
 
+  fi
60108
 
+  ;;
60109
 
+
60110
 
+amigaos*)
60111
 
+  case $host_cpu in
60112
 
+  powerpc)
60113
 
+    # Since July 2007 AmigaOS4 officially supports .so libraries.
60114
 
+    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
60115
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
60116
 
+    ;;
60117
 
+  m68k)
60118
 
+    library_names_spec='$libname.ixlibrary $libname.a'
60119
 
+    # Create ${libname}_ixlibrary.a entries in /sys/libs.
60120
 
+    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'
60121
 
+    ;;
60122
 
+  esac
60123
 
+  ;;
60124
 
+
60125
 
+beos*)
60126
 
+  library_names_spec='${libname}${shared_ext}'
60127
 
+  dynamic_linker="$host_os ld.so"
60128
 
+  shlibpath_var=LIBRARY_PATH
60129
 
+  ;;
60130
 
+
60131
 
+bsdi[[45]]*)
60132
 
+  version_type=linux
60133
 
+  need_version=no
60134
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
60135
 
+  soname_spec='${libname}${release}${shared_ext}$major'
60136
 
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
60137
 
+  shlibpath_var=LD_LIBRARY_PATH
60138
 
+  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
60139
 
+  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
60140
 
+  # the default ld.so.conf also contains /usr/contrib/lib and
60141
 
+  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
60142
 
+  # libtool to hard-code these into programs
60143
 
+  ;;
60144
 
+
60145
 
+cygwin* | mingw* | pw32* | cegcc*)
60146
 
+  version_type=windows
60147
 
+  shrext_cmds=".dll"
60148
 
+  need_version=no
60149
 
+  need_lib_prefix=no
60150
 
+
60151
 
+  case $GCC,$host_os in
60152
 
+  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
60153
 
+    library_names_spec='$libname.dll.a'
60154
 
+    # DLL is installed to $(libdir)/../bin by postinstall_cmds
60155
 
+    postinstall_cmds='base_file=`basename \${file}`~
60156
 
+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
60157
 
+      dldir=$destdir/`dirname \$dlpath`~
60158
 
+      test -d \$dldir || mkdir -p \$dldir~
60159
 
+      $install_prog $dir/$dlname \$dldir/$dlname~
60160
 
+      chmod a+x \$dldir/$dlname~
60161
 
+      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
60162
 
+        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
60163
 
+      fi'
60164
 
+    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
60165
 
+      dlpath=$dir/\$dldll~
60166
 
+       $RM \$dlpath'
60167
 
+    shlibpath_overrides_runpath=yes
60168
 
+
60169
 
+    case $host_os in
60170
 
+    cygwin*)
60171
 
+      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
60172
 
+      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
60173
 
+      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
60174
 
+      ;;
60175
 
+    mingw* | cegcc*)
60176
 
+      # MinGW DLLs use traditional 'lib' prefix
60177
 
+      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
60178
 
+      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
60179
 
+      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
60180
 
+        # It is most probably a Windows format PATH printed by
60181
 
+        # mingw gcc, but we are running on Cygwin. Gcc prints its search
60182
 
+        # path with ; separators, and with drive letters. We can handle the
60183
 
+        # drive letters (cygwin fileutils understands them), so leave them,
60184
 
+        # especially as we might pass files found there to a mingw objdump,
60185
 
+        # which wouldn't understand a cygwinified path. Ahh.
60186
 
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
60187
 
+      else
60188
 
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
60189
 
+      fi
60190
 
+      ;;
60191
 
+    pw32*)
60192
 
+      # pw32 DLLs use 'pw' prefix rather than 'lib'
60193
 
+      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
60194
 
+      ;;
60195
 
+    esac
60196
 
+    ;;
60197
 
+
60198
 
+  *)
60199
 
+    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
60200
 
+    ;;
60201
 
+  esac
60202
 
+  dynamic_linker='Win32 ld.exe'
60203
 
+  # FIXME: first we should search . and the directory the executable is in
60204
 
+  shlibpath_var=PATH
60205
 
+  ;;
60206
 
+
60207
 
+darwin* | rhapsody*)
60208
 
+  dynamic_linker="$host_os dyld"
60209
 
+  version_type=darwin
60210
 
+  need_lib_prefix=no
60211
 
+  need_version=no
60212
 
+  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
60213
 
+  soname_spec='${libname}${release}${major}$shared_ext'
60214
 
+  shlibpath_overrides_runpath=yes
60215
 
+  shlibpath_var=DYLD_LIBRARY_PATH
60216
 
+  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
60217
 
+m4_if([$1], [],[
60218
 
+  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
60219
 
+  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
60220
 
+  ;;
60221
 
+
60222
 
+dgux*)
60223
 
+  version_type=linux
60224
 
+  need_lib_prefix=no
60225
 
+  need_version=no
60226
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
60227
 
+  soname_spec='${libname}${release}${shared_ext}$major'
60228
 
+  shlibpath_var=LD_LIBRARY_PATH
60229
 
+  ;;
60230
 
+
60231
 
+freebsd1*)
60232
 
+  dynamic_linker=no
60233
 
+  ;;
60234
 
+
60235
 
+freebsd* | dragonfly*)
60236
 
+  # DragonFly does not have aout.  When/if they implement a new
60237
 
+  # versioning mechanism, adjust this.
60238
 
+  if test -x /usr/bin/objformat; then
60239
 
+    objformat=`/usr/bin/objformat`
60240
 
+  else
60241
 
+    case $host_os in
60242
 
+    freebsd[[123]]*) objformat=aout ;;
60243
 
+    *) objformat=elf ;;
60244
 
+    esac
60245
 
+  fi
60246
 
+  version_type=freebsd-$objformat
60247
 
+  case $version_type in
60248
 
+    freebsd-elf*)
60249
 
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
60250
 
+      need_version=no
60251
 
+      need_lib_prefix=no
60252
 
+      ;;
60253
 
+    freebsd-*)
60254
 
+      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
60255
 
+      need_version=yes
60256
 
+      ;;
60257
 
+  esac
60258
 
+  shlibpath_var=LD_LIBRARY_PATH
60259
 
+  case $host_os in
60260
 
+  freebsd2*)
60261
 
+    shlibpath_overrides_runpath=yes
60262
 
+    ;;
60263
 
+  freebsd3.[[01]]* | freebsdelf3.[[01]]*)
60264
 
+    shlibpath_overrides_runpath=yes
60265
 
+    hardcode_into_libs=yes
60266
 
+    ;;
60267
 
+  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
60268
 
+  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
60269
 
+    shlibpath_overrides_runpath=no
60270
 
+    hardcode_into_libs=yes
60271
 
+    ;;
60272
 
+  *) # from 4.6 on, and DragonFly
60273
 
+    shlibpath_overrides_runpath=yes
60274
 
+    hardcode_into_libs=yes
60275
 
+    ;;
60276
 
+  esac
60277
 
+  ;;
60278
 
+
60279
 
+gnu*)
60280
 
+  version_type=linux
60281
 
+  need_lib_prefix=no
60282
 
+  need_version=no
60283
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
60284
 
+  soname_spec='${libname}${release}${shared_ext}$major'
60285
 
+  shlibpath_var=LD_LIBRARY_PATH
60286
 
+  hardcode_into_libs=yes
60287
 
+  ;;
60288
 
+
60289
 
+hpux9* | hpux10* | hpux11*)
60290
 
+  # Give a soname corresponding to the major version so that dld.sl refuses to
60291
 
+  # link against other versions.
60292
 
+  version_type=sunos
60293
 
+  need_lib_prefix=no
60294
 
+  need_version=no
60295
 
+  case $host_cpu in
60296
 
+  ia64*)
60297
 
+    shrext_cmds='.so'
60298
 
+    hardcode_into_libs=yes
60299
 
+    dynamic_linker="$host_os dld.so"
60300
 
+    shlibpath_var=LD_LIBRARY_PATH
60301
 
+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
60302
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
60303
 
+    soname_spec='${libname}${release}${shared_ext}$major'
60304
 
+    if test "X$HPUX_IA64_MODE" = X32; then
60305
 
+      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
60306
 
+    else
60307
 
+      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
60308
 
+    fi
60309
 
+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
60310
 
+    ;;
60311
 
+  hppa*64*)
60312
 
+    shrext_cmds='.sl'
60313
 
+    hardcode_into_libs=yes
60314
 
+    dynamic_linker="$host_os dld.sl"
60315
 
+    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
60316
 
+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
60317
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
60318
 
+    soname_spec='${libname}${release}${shared_ext}$major'
60319
 
+    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
60320
 
+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
60321
 
+    ;;
60322
 
+  *)
60323
 
+    shrext_cmds='.sl'
60324
 
+    dynamic_linker="$host_os dld.sl"
60325
 
+    shlibpath_var=SHLIB_PATH
60326
 
+    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
60327
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
60328
 
+    soname_spec='${libname}${release}${shared_ext}$major'
60329
 
+    ;;
60330
 
+  esac
60331
 
+  # HP-UX runs *really* slowly unless shared libraries are mode 555.
60332
 
+  postinstall_cmds='chmod 555 $lib'
60333
 
+  ;;
60334
 
+
60335
 
+interix[[3-9]]*)
60336
 
+  version_type=linux
60337
 
+  need_lib_prefix=no
60338
 
+  need_version=no
60339
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
60340
 
+  soname_spec='${libname}${release}${shared_ext}$major'
60341
 
+  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
60342
 
+  shlibpath_var=LD_LIBRARY_PATH
60343
 
+  shlibpath_overrides_runpath=no
60344
 
+  hardcode_into_libs=yes
60345
 
+  ;;
60346
 
+
60347
 
+irix5* | irix6* | nonstopux*)
60348
 
+  case $host_os in
60349
 
+    nonstopux*) version_type=nonstopux ;;
60350
 
+    *)
60351
 
+       if test "$lt_cv_prog_gnu_ld" = yes; then
60352
 
+               version_type=linux
60353
 
+       else
60354
 
+               version_type=irix
60355
 
+       fi ;;
60356
 
+  esac
60357
 
+  need_lib_prefix=no
60358
 
+  need_version=no
60359
 
+  soname_spec='${libname}${release}${shared_ext}$major'
60360
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
60361
 
+  case $host_os in
60362
 
+  irix5* | nonstopux*)
60363
 
+    libsuff= shlibsuff=
60364
 
+    ;;
60365
 
+  *)
60366
 
+    case $LD in # libtool.m4 will add one of these switches to LD
60367
 
+    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
60368
 
+      libsuff= shlibsuff= libmagic=32-bit;;
60369
 
+    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
60370
 
+      libsuff=32 shlibsuff=N32 libmagic=N32;;
60371
 
+    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
60372
 
+      libsuff=64 shlibsuff=64 libmagic=64-bit;;
60373
 
+    *) libsuff= shlibsuff= libmagic=never-match;;
60374
 
+    esac
60375
 
+    ;;
60376
 
+  esac
60377
 
+  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
60378
 
+  shlibpath_overrides_runpath=no
60379
 
+  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
60380
 
+  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
60381
 
+  hardcode_into_libs=yes
60382
 
+  ;;
60383
 
+
60384
 
+# No shared lib support for Linux oldld, aout, or coff.
60385
 
+linux*oldld* | linux*aout* | linux*coff*)
60386
 
+  dynamic_linker=no
60387
 
+  ;;
60388
 
+
60389
 
+# This must be Linux ELF.
60390
 
+linux* | k*bsd*-gnu)
60391
 
+  version_type=linux
60392
 
+  need_lib_prefix=no
60393
 
+  need_version=no
60394
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
60395
 
+  soname_spec='${libname}${release}${shared_ext}$major'
60396
 
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
60397
 
+  shlibpath_var=LD_LIBRARY_PATH
60398
 
+  shlibpath_overrides_runpath=no
60399
 
+  # Some binutils ld are patched to set DT_RUNPATH
60400
 
+  save_LDFLAGS=$LDFLAGS
60401
 
+  save_libdir=$libdir
60402
 
+  eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
60403
 
+       LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
60404
 
+  AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
60405
 
+    [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
60406
 
+       [shlibpath_overrides_runpath=yes])])
60407
 
+  LDFLAGS=$save_LDFLAGS
60408
 
+  libdir=$save_libdir
60409
 
+
60410
 
+  # This implies no fast_install, which is unacceptable.
60411
 
+  # Some rework will be needed to allow for fast_install
60412
 
+  # before this can be enabled.
60413
 
+  hardcode_into_libs=yes
60414
 
+
60415
 
+  # Append ld.so.conf contents to the search path
60416
 
+  if test -f /etc/ld.so.conf; then
60417
 
+    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' ' '`
60418
 
+    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
60419
 
+  fi
60420
 
+
60421
 
+  # We used to test for /lib/ld.so.1 and disable shared libraries on
60422
 
+  # powerpc, because MkLinux only supported shared libraries with the
60423
 
+  # GNU dynamic linker.  Since this was broken with cross compilers,
60424
 
+  # most powerpc-linux boxes support dynamic linking these days and
60425
 
+  # people can always --disable-shared, the test was removed, and we
60426
 
+  # assume the GNU/Linux dynamic linker is in use.
60427
 
+  dynamic_linker='GNU/Linux ld.so'
60428
 
+  ;;
60429
 
+
60430
 
+netbsdelf*-gnu)
60431
 
+  version_type=linux
60432
 
+  need_lib_prefix=no
60433
 
+  need_version=no
60434
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
60435
 
+  soname_spec='${libname}${release}${shared_ext}$major'
60436
 
+  shlibpath_var=LD_LIBRARY_PATH
60437
 
+  shlibpath_overrides_runpath=no
60438
 
+  hardcode_into_libs=yes
60439
 
+  dynamic_linker='NetBSD ld.elf_so'
60440
 
+  ;;
60441
 
+
60442
 
+netbsd*)
60443
 
+  version_type=sunos
60444
 
+  need_lib_prefix=no
60445
 
+  need_version=no
60446
 
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
60447
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
60448
 
+    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
60449
 
+    dynamic_linker='NetBSD (a.out) ld.so'
60450
 
+  else
60451
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
60452
 
+    soname_spec='${libname}${release}${shared_ext}$major'
60453
 
+    dynamic_linker='NetBSD ld.elf_so'
60454
 
+  fi
60455
 
+  shlibpath_var=LD_LIBRARY_PATH
60456
 
+  shlibpath_overrides_runpath=yes
60457
 
+  hardcode_into_libs=yes
60458
 
+  ;;
60459
 
+
60460
 
+newsos6)
60461
 
+  version_type=linux
60462
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
60463
 
+  shlibpath_var=LD_LIBRARY_PATH
60464
 
+  shlibpath_overrides_runpath=yes
60465
 
+  ;;
60466
 
+
60467
 
+*nto* | *qnx*)
60468
 
+  version_type=qnx
60469
 
+  need_lib_prefix=no
60470
 
+  need_version=no
60471
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
60472
 
+  soname_spec='${libname}${release}${shared_ext}$major'
60473
 
+  shlibpath_var=LD_LIBRARY_PATH
60474
 
+  shlibpath_overrides_runpath=no
60475
 
+  hardcode_into_libs=yes
60476
 
+  dynamic_linker='ldqnx.so'
60477
 
+  ;;
60478
 
+
60479
 
+openbsd*)
60480
 
+  version_type=sunos
60481
 
+  sys_lib_dlsearch_path_spec="/usr/lib"
60482
 
+  need_lib_prefix=no
60483
 
+  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
60484
 
+  case $host_os in
60485
 
+    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
60486
 
+    *)                         need_version=no  ;;
60487
 
+  esac
60488
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
60489
 
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
60490
 
+  shlibpath_var=LD_LIBRARY_PATH
60491
 
+  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
60492
 
+    case $host_os in
60493
 
+      openbsd2.[[89]] | openbsd2.[[89]].*)
60494
 
+       shlibpath_overrides_runpath=no
60495
 
+       ;;
60496
 
+      *)
60497
 
+       shlibpath_overrides_runpath=yes
60498
 
+       ;;
60499
 
+      esac
60500
 
+  else
60501
 
+    shlibpath_overrides_runpath=yes
60502
 
+  fi
60503
 
+  ;;
60504
 
+
60505
 
+os2*)
60506
 
+  libname_spec='$name'
60507
 
+  shrext_cmds=".dll"
60508
 
+  need_lib_prefix=no
60509
 
+  library_names_spec='$libname${shared_ext} $libname.a'
60510
 
+  dynamic_linker='OS/2 ld.exe'
60511
 
+  shlibpath_var=LIBPATH
60512
 
+  ;;
60513
 
+
60514
 
+osf3* | osf4* | osf5*)
60515
 
+  version_type=osf
60516
 
+  need_lib_prefix=no
60517
 
+  need_version=no
60518
 
+  soname_spec='${libname}${release}${shared_ext}$major'
60519
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
60520
 
+  shlibpath_var=LD_LIBRARY_PATH
60521
 
+  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
60522
 
+  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
60523
 
+  ;;
60524
 
+
60525
 
+rdos*)
60526
 
+  dynamic_linker=no
60527
 
+  ;;
60528
 
+
60529
 
+solaris*)
60530
 
+  version_type=linux
60531
 
+  need_lib_prefix=no
60532
 
+  need_version=no
60533
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
60534
 
+  soname_spec='${libname}${release}${shared_ext}$major'
60535
 
+  shlibpath_var=LD_LIBRARY_PATH
60536
 
+  shlibpath_overrides_runpath=yes
60537
 
+  hardcode_into_libs=yes
60538
 
+  # ldd complains unless libraries are executable
60539
 
+  postinstall_cmds='chmod +x $lib'
60540
 
+  ;;
60541
 
+
60542
 
+sunos4*)
60543
 
+  version_type=sunos
60544
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
60545
 
+  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
60546
 
+  shlibpath_var=LD_LIBRARY_PATH
60547
 
+  shlibpath_overrides_runpath=yes
60548
 
+  if test "$with_gnu_ld" = yes; then
60549
 
+    need_lib_prefix=no
60550
 
+  fi
60551
 
+  need_version=yes
60552
 
+  ;;
60553
 
+
60554
 
+sysv4 | sysv4.3*)
60555
 
+  version_type=linux
60556
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
60557
 
+  soname_spec='${libname}${release}${shared_ext}$major'
60558
 
+  shlibpath_var=LD_LIBRARY_PATH
60559
 
+  case $host_vendor in
60560
 
+    sni)
60561
 
+      shlibpath_overrides_runpath=no
60562
 
+      need_lib_prefix=no
60563
 
+      runpath_var=LD_RUN_PATH
60564
 
+      ;;
60565
 
+    siemens)
60566
 
+      need_lib_prefix=no
60567
 
+      ;;
60568
 
+    motorola)
60569
 
+      need_lib_prefix=no
60570
 
+      need_version=no
60571
 
+      shlibpath_overrides_runpath=no
60572
 
+      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
60573
 
+      ;;
60574
 
+  esac
60575
 
+  ;;
60576
 
+
60577
 
+sysv4*MP*)
60578
 
+  if test -d /usr/nec ;then
60579
 
+    version_type=linux
60580
 
+    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
60581
 
+    soname_spec='$libname${shared_ext}.$major'
60582
 
+    shlibpath_var=LD_LIBRARY_PATH
60583
 
+  fi
60584
 
+  ;;
60585
 
+
60586
 
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
60587
 
+  version_type=freebsd-elf
60588
 
+  need_lib_prefix=no
60589
 
+  need_version=no
60590
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
60591
 
+  soname_spec='${libname}${release}${shared_ext}$major'
60592
 
+  shlibpath_var=LD_LIBRARY_PATH
60593
 
+  shlibpath_overrides_runpath=yes
60594
 
+  hardcode_into_libs=yes
60595
 
+  if test "$with_gnu_ld" = yes; then
60596
 
+    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
60597
 
+  else
60598
 
+    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
60599
 
+    case $host_os in
60600
 
+      sco3.2v5*)
60601
 
+        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
60602
 
+       ;;
60603
 
+    esac
60604
 
+  fi
60605
 
+  sys_lib_dlsearch_path_spec='/usr/lib'
60606
 
+  ;;
60607
 
+
60608
 
+tpf*)
60609
 
+  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
60610
 
+  version_type=linux
60611
 
+  need_lib_prefix=no
60612
 
+  need_version=no
60613
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
60614
 
+  shlibpath_var=LD_LIBRARY_PATH
60615
 
+  shlibpath_overrides_runpath=no
60616
 
+  hardcode_into_libs=yes
60617
 
+  ;;
60618
 
+
60619
 
+uts4*)
60620
 
+  version_type=linux
60621
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
60622
 
+  soname_spec='${libname}${release}${shared_ext}$major'
60623
 
+  shlibpath_var=LD_LIBRARY_PATH
60624
 
+  ;;
60625
 
+
60626
 
+*)
60627
 
+  dynamic_linker=no
60628
 
+  ;;
60629
 
+esac
60630
 
+AC_MSG_RESULT([$dynamic_linker])
60631
 
+test "$dynamic_linker" = no && can_build_shared=no
60632
 
+
60633
 
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
60634
 
+if test "$GCC" = yes; then
60635
 
+  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
60636
 
+fi
60637
 
+
60638
 
+if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
60639
 
+  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
60640
 
+fi
60641
 
+if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
60642
 
+  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
60643
 
+fi
60644
 
+
60645
 
+_LT_DECL([], [variables_saved_for_relink], [1],
60646
 
+    [Variables whose values should be saved in libtool wrapper scripts and
60647
 
+    restored at link time])
60648
 
+_LT_DECL([], [need_lib_prefix], [0],
60649
 
+    [Do we need the "lib" prefix for modules?])
60650
 
+_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
60651
 
+_LT_DECL([], [version_type], [0], [Library versioning type])
60652
 
+_LT_DECL([], [runpath_var], [0],  [Shared library runtime path variable])
60653
 
+_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
60654
 
+_LT_DECL([], [shlibpath_overrides_runpath], [0],
60655
 
+    [Is shlibpath searched before the hard-coded library search path?])
60656
 
+_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
60657
 
+_LT_DECL([], [library_names_spec], [1],
60658
 
+    [[List of archive names.  First name is the real one, the rest are links.
60659
 
+    The last name is the one that the linker finds with -lNAME]])
60660
 
+_LT_DECL([], [soname_spec], [1],
60661
 
+    [[The coded name of the library, if different from the real name]])
60662
 
+_LT_DECL([], [postinstall_cmds], [2],
60663
 
+    [Command to use after installation of a shared archive])
60664
 
+_LT_DECL([], [postuninstall_cmds], [2],
60665
 
+    [Command to use after uninstallation of a shared archive])
60666
 
+_LT_DECL([], [finish_cmds], [2],
60667
 
+    [Commands used to finish a libtool library installation in a directory])
60668
 
+_LT_DECL([], [finish_eval], [1],
60669
 
+    [[As "finish_cmds", except a single script fragment to be evaled but
60670
 
+    not shown]])
60671
 
+_LT_DECL([], [hardcode_into_libs], [0],
60672
 
+    [Whether we should hardcode library paths into libraries])
60673
 
+_LT_DECL([], [sys_lib_search_path_spec], [2],
60674
 
+    [Compile-time system search path for libraries])
60675
 
+_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
60676
 
+    [Run-time system search path for libraries])
60677
 
+])# _LT_SYS_DYNAMIC_LINKER
60678
 
+
60679
 
+
60680
 
+# _LT_PATH_TOOL_PREFIX(TOOL)
60681
 
+# --------------------------
60682
 
+# find a file program which can recognize shared library
60683
 
+AC_DEFUN([_LT_PATH_TOOL_PREFIX],
60684
 
+[m4_require([_LT_DECL_EGREP])dnl
60685
 
+AC_MSG_CHECKING([for $1])
60686
 
+AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
60687
 
+[case $MAGIC_CMD in
60688
 
+[[\\/*] |  ?:[\\/]*])
60689
 
+  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
60690
 
+  ;;
60691
 
+*)
60692
 
+  lt_save_MAGIC_CMD="$MAGIC_CMD"
60693
 
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
60694
 
+dnl $ac_dummy forces splitting on constant user-supplied paths.
60695
 
+dnl POSIX.2 word splitting is done only on the output of word expansions,
60696
 
+dnl not every word.  This closes a longstanding sh security hole.
60697
 
+  ac_dummy="m4_if([$2], , $PATH, [$2])"
60698
 
+  for ac_dir in $ac_dummy; do
60699
 
+    IFS="$lt_save_ifs"
60700
 
+    test -z "$ac_dir" && ac_dir=.
60701
 
+    if test -f $ac_dir/$1; then
60702
 
+      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
60703
 
+      if test -n "$file_magic_test_file"; then
60704
 
+       case $deplibs_check_method in
60705
 
+       "file_magic "*)
60706
 
+         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
60707
 
+         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
60708
 
+         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
60709
 
+           $EGREP "$file_magic_regex" > /dev/null; then
60710
 
+           :
60711
 
+         else
60712
 
+           cat <<_LT_EOF 1>&2
60713
 
+
60714
 
+*** Warning: the command libtool uses to detect shared libraries,
60715
 
+*** $file_magic_cmd, produces output that libtool cannot recognize.
60716
 
+*** The result is that libtool may fail to recognize shared libraries
60717
 
+*** as such.  This will affect the creation of libtool libraries that
60718
 
+*** depend on shared libraries, but programs linked with such libtool
60719
 
+*** libraries will work regardless of this problem.  Nevertheless, you
60720
 
+*** may want to report the problem to your system manager and/or to
60721
 
+*** bug-libtool@gnu.org
60722
 
+
60723
 
+_LT_EOF
60724
 
+         fi ;;
60725
 
+       esac
60726
 
+      fi
60727
 
+      break
60728
 
+    fi
60729
 
+  done
60730
 
+  IFS="$lt_save_ifs"
60731
 
+  MAGIC_CMD="$lt_save_MAGIC_CMD"
60732
 
+  ;;
60733
 
+esac])
60734
 
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
60735
 
+if test -n "$MAGIC_CMD"; then
60736
 
+  AC_MSG_RESULT($MAGIC_CMD)
60737
 
+else
60738
 
+  AC_MSG_RESULT(no)
60739
 
+fi
60740
 
+_LT_DECL([], [MAGIC_CMD], [0],
60741
 
+        [Used to examine libraries when file_magic_cmd begins with "file"])dnl
60742
 
+])# _LT_PATH_TOOL_PREFIX
60743
 
+
60744
 
+# Old name:
60745
 
+AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
60746
 
+dnl aclocal-1.4 backwards compatibility:
60747
 
+dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
60748
 
+
60749
 
+
60750
 
+# _LT_PATH_MAGIC
60751
 
+# --------------
60752
 
+# find a file program which can recognize a shared library
60753
 
+m4_defun([_LT_PATH_MAGIC],
60754
 
+[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
60755
 
+if test -z "$lt_cv_path_MAGIC_CMD"; then
60756
 
+  if test -n "$ac_tool_prefix"; then
60757
 
+    _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
60758
 
+  else
60759
 
+    MAGIC_CMD=:
60760
 
+  fi
60761
 
+fi
60762
 
+])# _LT_PATH_MAGIC
60763
 
+
60764
 
+
60765
 
+# LT_PATH_LD
60766
 
+# ----------
60767
 
+# find the pathname to the GNU or non-GNU linker
60768
 
+AC_DEFUN([LT_PATH_LD],
60769
 
+[AC_REQUIRE([AC_PROG_CC])dnl
60770
 
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
60771
 
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
60772
 
+m4_require([_LT_DECL_SED])dnl
60773
 
+m4_require([_LT_DECL_EGREP])dnl
60774
 
+
60775
 
+AC_ARG_WITH([gnu-ld],
60776
 
+    [AS_HELP_STRING([--with-gnu-ld],
60777
 
+       [assume the C compiler uses GNU ld @<:@default=no@:>@])],
60778
 
+    [test "$withval" = no || with_gnu_ld=yes],
60779
 
+    [with_gnu_ld=no])dnl
60780
 
+
60781
 
+ac_prog=ld
60782
 
+if test "$GCC" = yes; then
60783
 
+  # Check if gcc -print-prog-name=ld gives a path.
60784
 
+  AC_MSG_CHECKING([for ld used by $CC])
60785
 
+  case $host in
60786
 
+  *-*-mingw*)
60787
 
+    # gcc leaves a trailing carriage return which upsets mingw
60788
 
+    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
60789
 
+  *)
60790
 
+    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
60791
 
+  esac
60792
 
+  case $ac_prog in
60793
 
+    # Accept absolute paths.
60794
 
+    [[\\/]]* | ?:[[\\/]]*)
60795
 
+      re_direlt='/[[^/]][[^/]]*/\.\./'
60796
 
+      # Canonicalize the pathname of ld
60797
 
+      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
60798
 
+      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
60799
 
+       ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
60800
 
+      done
60801
 
+      test -z "$LD" && LD="$ac_prog"
60802
 
+      ;;
60803
 
+  "")
60804
 
+    # If it fails, then pretend we aren't using GCC.
60805
 
+    ac_prog=ld
60806
 
+    ;;
60807
 
+  *)
60808
 
+    # If it is relative, then search for the first ld in PATH.
60809
 
+    with_gnu_ld=unknown
60810
 
+    ;;
60811
 
+  esac
60812
 
+elif test "$with_gnu_ld" = yes; then
60813
 
+  AC_MSG_CHECKING([for GNU ld])
60814
 
+else
60815
 
+  AC_MSG_CHECKING([for non-GNU ld])
60816
 
+fi
60817
 
+AC_CACHE_VAL(lt_cv_path_LD,
60818
 
+[if test -z "$LD"; then
60819
 
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
60820
 
+  for ac_dir in $PATH; do
60821
 
+    IFS="$lt_save_ifs"
60822
 
+    test -z "$ac_dir" && ac_dir=.
60823
 
+    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
60824
 
+      lt_cv_path_LD="$ac_dir/$ac_prog"
60825
 
+      # Check to see if the program is GNU ld.  I'd rather use --version,
60826
 
+      # but apparently some variants of GNU ld only accept -v.
60827
 
+      # Break only if it was the GNU/non-GNU ld that we prefer.
60828
 
+      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
60829
 
+      *GNU* | *'with BFD'*)
60830
 
+       test "$with_gnu_ld" != no && break
60831
 
+       ;;
60832
 
+      *)
60833
 
+       test "$with_gnu_ld" != yes && break
60834
 
+       ;;
60835
 
+      esac
60836
 
+    fi
60837
 
+  done
60838
 
+  IFS="$lt_save_ifs"
60839
 
+else
60840
 
+  lt_cv_path_LD="$LD" # Let the user override the test with a path.
60841
 
+fi])
60842
 
+LD="$lt_cv_path_LD"
60843
 
+if test -n "$LD"; then
60844
 
+  AC_MSG_RESULT($LD)
60845
 
+else
60846
 
+  AC_MSG_RESULT(no)
60847
 
+fi
60848
 
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
60849
 
+_LT_PATH_LD_GNU
60850
 
+AC_SUBST([LD])
60851
 
+
60852
 
+_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
60853
 
+])# LT_PATH_LD
60854
 
+
60855
 
+# Old names:
60856
 
+AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
60857
 
+AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
60858
 
+dnl aclocal-1.4 backwards compatibility:
60859
 
+dnl AC_DEFUN([AM_PROG_LD], [])
60860
 
+dnl AC_DEFUN([AC_PROG_LD], [])
60861
 
+
60862
 
+
60863
 
+# _LT_PATH_LD_GNU
60864
 
+#- --------------
60865
 
+m4_defun([_LT_PATH_LD_GNU],
60866
 
+[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
60867
 
+[# I'd rather use --version here, but apparently some GNU lds only accept -v.
60868
 
+case `$LD -v 2>&1 </dev/null` in
60869
 
+*GNU* | *'with BFD'*)
60870
 
+  lt_cv_prog_gnu_ld=yes
60871
 
+  ;;
60872
 
+*)
60873
 
+  lt_cv_prog_gnu_ld=no
60874
 
+  ;;
60875
 
+esac])
60876
 
+with_gnu_ld=$lt_cv_prog_gnu_ld
60877
 
+])# _LT_PATH_LD_GNU
60878
 
+
60879
 
+
60880
 
+# _LT_CMD_RELOAD
60881
 
+# --------------
60882
 
+# find reload flag for linker
60883
 
+#   -- PORTME Some linkers may need a different reload flag.
60884
 
+m4_defun([_LT_CMD_RELOAD],
60885
 
+[AC_CACHE_CHECK([for $LD option to reload object files],
60886
 
+  lt_cv_ld_reload_flag,
60887
 
+  [lt_cv_ld_reload_flag='-r'])
60888
 
+reload_flag=$lt_cv_ld_reload_flag
60889
 
+case $reload_flag in
60890
 
+"" | " "*) ;;
60891
 
+*) reload_flag=" $reload_flag" ;;
60892
 
+esac
60893
 
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
60894
 
+case $host_os in
60895
 
+  darwin*)
60896
 
+    if test "$GCC" = yes; then
60897
 
+      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
60898
 
+    else
60899
 
+      reload_cmds='$LD$reload_flag -o $output$reload_objs'
60900
 
+    fi
60901
 
+    ;;
60902
 
+esac
60903
 
+_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
60904
 
+_LT_DECL([], [reload_cmds], [2])dnl
60905
 
+])# _LT_CMD_RELOAD
60906
 
+
60907
 
+
60908
 
+# _LT_CHECK_MAGIC_METHOD
60909
 
+# ----------------------
60910
 
+# how to check for library dependencies
60911
 
+#  -- PORTME fill in with the dynamic library characteristics
60912
 
+m4_defun([_LT_CHECK_MAGIC_METHOD],
60913
 
+[m4_require([_LT_DECL_EGREP])
60914
 
+m4_require([_LT_DECL_OBJDUMP])
60915
 
+AC_CACHE_CHECK([how to recognize dependent libraries],
60916
 
+lt_cv_deplibs_check_method,
60917
 
+[lt_cv_file_magic_cmd='$MAGIC_CMD'
60918
 
+lt_cv_file_magic_test_file=
60919
 
+lt_cv_deplibs_check_method='unknown'
60920
 
+# Need to set the preceding variable on all platforms that support
60921
 
+# interlibrary dependencies.
60922
 
+# 'none' -- dependencies not supported.
60923
 
+# `unknown' -- same as none, but documents that we really don't know.
60924
 
+# 'pass_all' -- all dependencies passed with no checks.
60925
 
+# 'test_compile' -- check by making test program.
60926
 
+# 'file_magic [[regex]]' -- check by looking for files in library path
60927
 
+# which responds to the $file_magic_cmd with a given extended regex.
60928
 
+# If you have `file' or equivalent on your system and you're not sure
60929
 
+# whether `pass_all' will *always* work, you probably want this one.
60930
 
+
60931
 
+case $host_os in
60932
 
+aix[[4-9]]*)
60933
 
+  lt_cv_deplibs_check_method=pass_all
60934
 
+  ;;
60935
 
+
60936
 
+beos*)
60937
 
+  lt_cv_deplibs_check_method=pass_all
60938
 
+  ;;
60939
 
+
60940
 
+bsdi[[45]]*)
60941
 
+  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
60942
 
+  lt_cv_file_magic_cmd='/usr/bin/file -L'
60943
 
+  lt_cv_file_magic_test_file=/shlib/libc.so
60944
 
+  ;;
60945
 
+
60946
 
+cygwin*)
60947
 
+  # func_win32_libid is a shell function defined in ltmain.sh
60948
 
+  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
60949
 
+  lt_cv_file_magic_cmd='func_win32_libid'
60950
 
+  ;;
60951
 
+
60952
 
+mingw* | pw32*)
60953
 
+  # Base MSYS/MinGW do not provide the 'file' command needed by
60954
 
+  # func_win32_libid shell function, so use a weaker test based on 'objdump',
60955
 
+  # unless we find 'file', for example because we are cross-compiling.
60956
 
+  if ( file / ) >/dev/null 2>&1; then
60957
 
+    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
60958
 
+    lt_cv_file_magic_cmd='func_win32_libid'
60959
 
+  else
60960
 
+    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
60961
 
+    lt_cv_file_magic_cmd='$OBJDUMP -f'
60962
 
+  fi
60963
 
+  ;;
60964
 
+
60965
 
+cegcc)
60966
 
+  # use the weaker test based on 'objdump'. See mingw*.
60967
 
+  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
60968
 
+  lt_cv_file_magic_cmd='$OBJDUMP -f'
60969
 
+  ;;
60970
 
+
60971
 
+darwin* | rhapsody*)
60972
 
+  lt_cv_deplibs_check_method=pass_all
60973
 
+  ;;
60974
 
+
60975
 
+freebsd* | dragonfly*)
60976
 
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
60977
 
+    case $host_cpu in
60978
 
+    i*86 )
60979
 
+      # Not sure whether the presence of OpenBSD here was a mistake.
60980
 
+      # Let's accept both of them until this is cleared up.
60981
 
+      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
60982
 
+      lt_cv_file_magic_cmd=/usr/bin/file
60983
 
+      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
60984
 
+      ;;
60985
 
+    esac
60986
 
+  else
60987
 
+    lt_cv_deplibs_check_method=pass_all
60988
 
+  fi
60989
 
+  ;;
60990
 
+
60991
 
+gnu*)
60992
 
+  lt_cv_deplibs_check_method=pass_all
60993
 
+  ;;
60994
 
+
60995
 
+hpux10.20* | hpux11*)
60996
 
+  lt_cv_file_magic_cmd=/usr/bin/file
60997
 
+  case $host_cpu in
60998
 
+  ia64*)
60999
 
+    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
61000
 
+    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
61001
 
+    ;;
61002
 
+  hppa*64*)
61003
 
+    [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]']
61004
 
+    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
61005
 
+    ;;
61006
 
+  *)
61007
 
+    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
61008
 
+    lt_cv_file_magic_test_file=/usr/lib/libc.sl
61009
 
+    ;;
61010
 
+  esac
61011
 
+  ;;
61012
 
+
61013
 
+interix[[3-9]]*)
61014
 
+  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
61015
 
+  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
61016
 
+  ;;
61017
 
+
61018
 
+irix5* | irix6* | nonstopux*)
61019
 
+  case $LD in
61020
 
+  *-32|*"-32 ") libmagic=32-bit;;
61021
 
+  *-n32|*"-n32 ") libmagic=N32;;
61022
 
+  *-64|*"-64 ") libmagic=64-bit;;
61023
 
+  *) libmagic=never-match;;
61024
 
+  esac
61025
 
+  lt_cv_deplibs_check_method=pass_all
61026
 
+  ;;
61027
 
+
61028
 
+# This must be Linux ELF.
61029
 
+linux* | k*bsd*-gnu)
61030
 
+  lt_cv_deplibs_check_method=pass_all
61031
 
+  ;;
61032
 
+
61033
 
+netbsd* | netbsdelf*-gnu)
61034
 
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
61035
 
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
61036
 
+  else
61037
 
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
61038
 
+  fi
61039
 
+  ;;
61040
 
+
61041
 
+newos6*)
61042
 
+  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
61043
 
+  lt_cv_file_magic_cmd=/usr/bin/file
61044
 
+  lt_cv_file_magic_test_file=/usr/lib/libnls.so
61045
 
+  ;;
61046
 
+
61047
 
+*nto* | *qnx*)
61048
 
+  lt_cv_deplibs_check_method=pass_all
61049
 
+  ;;
61050
 
+
61051
 
+openbsd*)
61052
 
+  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
61053
 
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
61054
 
+  else
61055
 
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
61056
 
+  fi
61057
 
+  ;;
61058
 
+
61059
 
+osf3* | osf4* | osf5*)
61060
 
+  lt_cv_deplibs_check_method=pass_all
61061
 
+  ;;
61062
 
+
61063
 
+rdos*)
61064
 
+  lt_cv_deplibs_check_method=pass_all
61065
 
+  ;;
61066
 
+
61067
 
+solaris*)
61068
 
+  lt_cv_deplibs_check_method=pass_all
61069
 
+  ;;
61070
 
+
61071
 
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
61072
 
+  lt_cv_deplibs_check_method=pass_all
61073
 
+  ;;
61074
 
+
61075
 
+sysv4 | sysv4.3*)
61076
 
+  case $host_vendor in
61077
 
+  motorola)
61078
 
+    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]]'
61079
 
+    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
61080
 
+    ;;
61081
 
+  ncr)
61082
 
+    lt_cv_deplibs_check_method=pass_all
61083
 
+    ;;
61084
 
+  sequent)
61085
 
+    lt_cv_file_magic_cmd='/bin/file'
61086
 
+    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
61087
 
+    ;;
61088
 
+  sni)
61089
 
+    lt_cv_file_magic_cmd='/bin/file'
61090
 
+    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
61091
 
+    lt_cv_file_magic_test_file=/lib/libc.so
61092
 
+    ;;
61093
 
+  siemens)
61094
 
+    lt_cv_deplibs_check_method=pass_all
61095
 
+    ;;
61096
 
+  pc)
61097
 
+    lt_cv_deplibs_check_method=pass_all
61098
 
+    ;;
61099
 
+  esac
61100
 
+  ;;
61101
 
+
61102
 
+tpf*)
61103
 
+  lt_cv_deplibs_check_method=pass_all
61104
 
+  ;;
61105
 
+esac
61106
 
+])
61107
 
+file_magic_cmd=$lt_cv_file_magic_cmd
61108
 
+deplibs_check_method=$lt_cv_deplibs_check_method
61109
 
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
61110
 
+
61111
 
+_LT_DECL([], [deplibs_check_method], [1],
61112
 
+    [Method to check whether dependent libraries are shared objects])
61113
 
+_LT_DECL([], [file_magic_cmd], [1],
61114
 
+    [Command to use when deplibs_check_method == "file_magic"])
61115
 
+])# _LT_CHECK_MAGIC_METHOD
61116
 
+
61117
 
+
61118
 
+# LT_PATH_NM
61119
 
+# ----------
61120
 
+# find the pathname to a BSD- or MS-compatible name lister
61121
 
+AC_DEFUN([LT_PATH_NM],
61122
 
+[AC_REQUIRE([AC_PROG_CC])dnl
61123
 
+AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
61124
 
+[if test -n "$NM"; then
61125
 
+  # Let the user override the test.
61126
 
+  lt_cv_path_NM="$NM"
61127
 
+else
61128
 
+  lt_nm_to_check="${ac_tool_prefix}nm"
61129
 
+  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
61130
 
+    lt_nm_to_check="$lt_nm_to_check nm"
61131
 
+  fi
61132
 
+  for lt_tmp_nm in $lt_nm_to_check; do
61133
 
+    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
61134
 
+    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
61135
 
+      IFS="$lt_save_ifs"
61136
 
+      test -z "$ac_dir" && ac_dir=.
61137
 
+      tmp_nm="$ac_dir/$lt_tmp_nm"
61138
 
+      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
61139
 
+       # Check to see if the nm accepts a BSD-compat flag.
61140
 
+       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
61141
 
+       #   nm: unknown option "B" ignored
61142
 
+       # Tru64's nm complains that /dev/null is an invalid object file
61143
 
+       case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
61144
 
+       */dev/null* | *'Invalid file or object type'*)
61145
 
+         lt_cv_path_NM="$tmp_nm -B"
61146
 
+         break
61147
 
+         ;;
61148
 
+       *)
61149
 
+         case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
61150
 
+         */dev/null*)
61151
 
+           lt_cv_path_NM="$tmp_nm -p"
61152
 
+           break
61153
 
+           ;;
61154
 
+         *)
61155
 
+           lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
61156
 
+           continue # so that we can try to find one that supports BSD flags
61157
 
+           ;;
61158
 
+         esac
61159
 
+         ;;
61160
 
+       esac
61161
 
+      fi
61162
 
+    done
61163
 
+    IFS="$lt_save_ifs"
61164
 
+  done
61165
 
+  : ${lt_cv_path_NM=no}
61166
 
+fi])
61167
 
+if test "$lt_cv_path_NM" != "no"; then
61168
 
+  NM="$lt_cv_path_NM"
61169
 
+else
61170
 
+  # Didn't find any BSD compatible name lister, look for dumpbin.
61171
 
+  AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
61172
 
+  AC_SUBST([DUMPBIN])
61173
 
+  if test "$DUMPBIN" != ":"; then
61174
 
+    NM="$DUMPBIN"
61175
 
+  fi
61176
 
+fi
61177
 
+test -z "$NM" && NM=nm
61178
 
+AC_SUBST([NM])
61179
 
+_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
61180
 
+
61181
 
+AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
61182
 
+  [lt_cv_nm_interface="BSD nm"
61183
 
+  echo "int some_variable = 0;" > conftest.$ac_ext
61184
 
+  (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
61185
 
+  (eval "$ac_compile" 2>conftest.err)
61186
 
+  cat conftest.err >&AS_MESSAGE_LOG_FD
61187
 
+  (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
61188
 
+  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
61189
 
+  cat conftest.err >&AS_MESSAGE_LOG_FD
61190
 
+  (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
61191
 
+  cat conftest.out >&AS_MESSAGE_LOG_FD
61192
 
+  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
61193
 
+    lt_cv_nm_interface="MS dumpbin"
61194
 
+  fi
61195
 
+  rm -f conftest*])
61196
 
+])# LT_PATH_NM
61197
 
+
61198
 
+# Old names:
61199
 
+AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
61200
 
+AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
61201
 
+dnl aclocal-1.4 backwards compatibility:
61202
 
+dnl AC_DEFUN([AM_PROG_NM], [])
61203
 
+dnl AC_DEFUN([AC_PROG_NM], [])
61204
 
+
61205
 
+
61206
 
+# LT_LIB_M
61207
 
+# --------
61208
 
+# check for math library
61209
 
+AC_DEFUN([LT_LIB_M],
61210
 
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
61211
 
+LIBM=
61212
 
+case $host in
61213
 
+*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
61214
 
+  # These system don't have libm, or don't need it
61215
 
+  ;;
61216
 
+*-ncr-sysv4.3*)
61217
 
+  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
61218
 
+  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
61219
 
+  ;;
61220
 
+*)
61221
 
+  AC_CHECK_LIB(m, cos, LIBM="-lm")
61222
 
+  ;;
61223
 
+esac
61224
 
+AC_SUBST([LIBM])
61225
 
+])# LT_LIB_M
61226
 
+
61227
 
+# Old name:
61228
 
+AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
61229
 
+dnl aclocal-1.4 backwards compatibility:
61230
 
+dnl AC_DEFUN([AC_CHECK_LIBM], [])
61231
 
+
61232
 
+
61233
 
+# _LT_COMPILER_NO_RTTI([TAGNAME])
61234
 
+# -------------------------------
61235
 
+m4_defun([_LT_COMPILER_NO_RTTI],
61236
 
+[m4_require([_LT_TAG_COMPILER])dnl
61237
 
+
61238
 
+_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
61239
 
+
61240
 
+if test "$GCC" = yes; then
61241
 
+  _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
61242
 
+
61243
 
+  _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
61244
 
+    lt_cv_prog_compiler_rtti_exceptions,
61245
 
+    [-fno-rtti -fno-exceptions], [],
61246
 
+    [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
61247
 
+fi
61248
 
+_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
61249
 
+       [Compiler flag to turn off builtin functions])
61250
 
+])# _LT_COMPILER_NO_RTTI
61251
 
+
61252
 
+
61253
 
+# _LT_CMD_GLOBAL_SYMBOLS
61254
 
+# ----------------------
61255
 
+m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
61256
 
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
61257
 
+AC_REQUIRE([AC_PROG_CC])dnl
61258
 
+AC_REQUIRE([LT_PATH_NM])dnl
61259
 
+AC_REQUIRE([LT_PATH_LD])dnl
61260
 
+m4_require([_LT_DECL_SED])dnl
61261
 
+m4_require([_LT_DECL_EGREP])dnl
61262
 
+m4_require([_LT_TAG_COMPILER])dnl
61263
 
+
61264
 
+# Check for command to grab the raw symbol name followed by C symbol from nm.
61265
 
+AC_MSG_CHECKING([command to parse $NM output from $compiler object])
61266
 
+AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
61267
 
+[
61268
 
+# These are sane defaults that work on at least a few old systems.
61269
 
+# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
61270
 
+
61271
 
+# Character class describing NM global symbol codes.
61272
 
+symcode='[[BCDEGRST]]'
61273
 
+
61274
 
+# Regexp to match symbols that can be accessed directly from C.
61275
 
+sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
61276
 
+
61277
 
+# Define system-specific variables.
61278
 
+case $host_os in
61279
 
+aix*)
61280
 
+  symcode='[[BCDT]]'
61281
 
+  ;;
61282
 
+cygwin* | mingw* | pw32* | cegcc*)
61283
 
+  symcode='[[ABCDGISTW]]'
61284
 
+  ;;
61285
 
+hpux*)
61286
 
+  if test "$host_cpu" = ia64; then
61287
 
+    symcode='[[ABCDEGRST]]'
61288
 
+  fi
61289
 
+  ;;
61290
 
+irix* | nonstopux*)
61291
 
+  symcode='[[BCDEGRST]]'
61292
 
+  ;;
61293
 
+osf*)
61294
 
+  symcode='[[BCDEGQRST]]'
61295
 
+  ;;
61296
 
+solaris*)
61297
 
+  symcode='[[BDRT]]'
61298
 
+  ;;
61299
 
+sco3.2v5*)
61300
 
+  symcode='[[DT]]'
61301
 
+  ;;
61302
 
+sysv4.2uw2*)
61303
 
+  symcode='[[DT]]'
61304
 
+  ;;
61305
 
+sysv5* | sco5v6* | unixware* | OpenUNIX*)
61306
 
+  symcode='[[ABDT]]'
61307
 
+  ;;
61308
 
+sysv4)
61309
 
+  symcode='[[DFNSTU]]'
61310
 
+  ;;
61311
 
+esac
61312
 
+
61313
 
+# If we're using GNU nm, then use its standard symbol codes.
61314
 
+case `$NM -V 2>&1` in
61315
 
+*GNU* | *'with BFD'*)
61316
 
+  symcode='[[ABCDGIRSTW]]' ;;
61317
 
+esac
61318
 
+
61319
 
+# Transform an extracted symbol line into a proper C declaration.
61320
 
+# Some systems (esp. on ia64) link data and code symbols differently,
61321
 
+# so use this general approach.
61322
 
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
61323
 
+
61324
 
+# Transform an extracted symbol line into symbol name and symbol address
61325
 
+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'"
61326
 
+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'"
61327
 
+
61328
 
+# Handle CRLF in mingw tool chain
61329
 
+opt_cr=
61330
 
+case $build_os in
61331
 
+mingw*)
61332
 
+  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
61333
 
+  ;;
61334
 
+esac
61335
 
+
61336
 
+# Try without a prefix underscore, then with it.
61337
 
+for ac_symprfx in "" "_"; do
61338
 
+
61339
 
+  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
61340
 
+  symxfrm="\\1 $ac_symprfx\\2 \\2"
61341
 
+
61342
 
+  # Write the raw and C identifiers.
61343
 
+  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
61344
 
+    # Fake it for dumpbin and say T for any non-static function
61345
 
+    # and D for any global variable.
61346
 
+    # Also find C++ and __fastcall symbols from MSVC++,
61347
 
+    # which start with @ or ?.
61348
 
+    lt_cv_sys_global_symbol_pipe="$AWK ['"\
61349
 
+"     {last_section=section; section=\$ 3};"\
61350
 
+"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
61351
 
+"     \$ 0!~/External *\|/{next};"\
61352
 
+"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
61353
 
+"     {if(hide[section]) next};"\
61354
 
+"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
61355
 
+"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
61356
 
+"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
61357
 
+"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
61358
 
+"     ' prfx=^$ac_symprfx]"
61359
 
+  else
61360
 
+    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[    ]]\($symcode$symcode*\)[[       ]][[    ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
61361
 
+  fi
61362
 
+
61363
 
+  # Check to see that the pipe works correctly.
61364
 
+  pipe_works=no
61365
 
+
61366
 
+  rm -f conftest*
61367
 
+  cat > conftest.$ac_ext <<_LT_EOF
61368
 
+#ifdef __cplusplus
61369
 
+extern "C" {
61370
 
+#endif
61371
 
+char nm_test_var;
61372
 
+void nm_test_func(void);
61373
 
+void nm_test_func(void){}
61374
 
+#ifdef __cplusplus
61375
 
+}
61376
 
+#endif
61377
 
+int main(){nm_test_var='a';nm_test_func();return(0);}
61378
 
+_LT_EOF
61379
 
+
61380
 
+  if AC_TRY_EVAL(ac_compile); then
61381
 
+    # Now try to grab the symbols.
61382
 
+    nlist=conftest.nm
61383
 
+    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
61384
 
+      # Try sorting and uniquifying the output.
61385
 
+      if sort "$nlist" | uniq > "$nlist"T; then
61386
 
+       mv -f "$nlist"T "$nlist"
61387
 
+      else
61388
 
+       rm -f "$nlist"T
61389
 
+      fi
61390
 
+
61391
 
+      # Make sure that we snagged all the symbols we need.
61392
 
+      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
61393
 
+       if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
61394
 
+         cat <<_LT_EOF > conftest.$ac_ext
61395
 
+#ifdef __cplusplus
61396
 
+extern "C" {
61397
 
+#endif
61398
 
+
61399
 
+_LT_EOF
61400
 
+         # Now generate the symbol file.
61401
 
+         eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
61402
 
+
61403
 
+         cat <<_LT_EOF >> conftest.$ac_ext
61404
 
+
61405
 
+/* The mapping between symbol names and symbols.  */
61406
 
+const struct {
61407
 
+  const char *name;
61408
 
+  void       *address;
61409
 
+}
61410
 
+lt__PROGRAM__LTX_preloaded_symbols[[]] =
61411
 
+{
61412
 
+  { "@PROGRAM@", (void *) 0 },
61413
 
+_LT_EOF
61414
 
+         $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
61415
 
+         cat <<\_LT_EOF >> conftest.$ac_ext
61416
 
+  {0, (void *) 0}
61417
 
+};
61418
 
+
61419
 
+/* This works around a problem in FreeBSD linker */
61420
 
+#ifdef FREEBSD_WORKAROUND
61421
 
+static const void *lt_preloaded_setup() {
61422
 
+  return lt__PROGRAM__LTX_preloaded_symbols;
61423
 
+}
61424
 
+#endif
61425
 
+
61426
 
+#ifdef __cplusplus
61427
 
+}
61428
 
+#endif
61429
 
+_LT_EOF
61430
 
+         # Now try linking the two files.
61431
 
+         mv conftest.$ac_objext conftstm.$ac_objext
61432
 
+         lt_save_LIBS="$LIBS"
61433
 
+         lt_save_CFLAGS="$CFLAGS"
61434
 
+         LIBS="conftstm.$ac_objext"
61435
 
+         CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
61436
 
+         if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
61437
 
+           pipe_works=yes
61438
 
+         fi
61439
 
+         LIBS="$lt_save_LIBS"
61440
 
+         CFLAGS="$lt_save_CFLAGS"
61441
 
+       else
61442
 
+         echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
61443
 
+       fi
61444
 
+      else
61445
 
+       echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
61446
 
+      fi
61447
 
+    else
61448
 
+      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
61449
 
+    fi
61450
 
+  else
61451
 
+    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
61452
 
+    cat conftest.$ac_ext >&5
61453
 
+  fi
61454
 
+  rm -rf conftest* conftst*
61455
 
+
61456
 
+  # Do not use the global_symbol_pipe unless it works.
61457
 
+  if test "$pipe_works" = yes; then
61458
 
+    break
61459
 
+  else
61460
 
+    lt_cv_sys_global_symbol_pipe=
61461
 
+  fi
61462
 
+done
61463
 
+])
61464
 
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
61465
 
+  lt_cv_sys_global_symbol_to_cdecl=
61466
 
+fi
61467
 
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
61468
 
+  AC_MSG_RESULT(failed)
61469
 
+else
61470
 
+  AC_MSG_RESULT(ok)
61471
 
+fi
61472
 
+
61473
 
+_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
61474
 
+    [Take the output of nm and produce a listing of raw symbols and C names])
61475
 
+_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
61476
 
+    [Transform the output of nm in a proper C declaration])
61477
 
+_LT_DECL([global_symbol_to_c_name_address],
61478
 
+    [lt_cv_sys_global_symbol_to_c_name_address], [1],
61479
 
+    [Transform the output of nm in a C name address pair])
61480
 
+_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
61481
 
+    [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
61482
 
+    [Transform the output of nm in a C name address pair when lib prefix is needed])
61483
 
+]) # _LT_CMD_GLOBAL_SYMBOLS
61484
 
+
61485
 
+
61486
 
+# _LT_COMPILER_PIC([TAGNAME])
61487
 
+# ---------------------------
61488
 
+m4_defun([_LT_COMPILER_PIC],
61489
 
+[m4_require([_LT_TAG_COMPILER])dnl
61490
 
+_LT_TAGVAR(lt_prog_compiler_wl, $1)=
61491
 
+_LT_TAGVAR(lt_prog_compiler_pic, $1)=
61492
 
+_LT_TAGVAR(lt_prog_compiler_static, $1)=
61493
 
+
61494
 
+AC_MSG_CHECKING([for $compiler option to produce PIC])
61495
 
+m4_if([$1], [CXX], [
61496
 
+  # C++ specific cases for pic, static, wl, etc.
61497
 
+  if test "$GXX" = yes; then
61498
 
+    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
61499
 
+    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
61500
 
+
61501
 
+    case $host_os in
61502
 
+    aix*)
61503
 
+      # All AIX code is PIC.
61504
 
+      if test "$host_cpu" = ia64; then
61505
 
+       # AIX 5 now supports IA64 processor
61506
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
61507
 
+      fi
61508
 
+      ;;
61509
 
+
61510
 
+    amigaos*)
61511
 
+      case $host_cpu in
61512
 
+      powerpc)
61513
 
+            # see comment about AmigaOS4 .so support
61514
 
+            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
61515
 
+        ;;
61516
 
+      m68k)
61517
 
+            # FIXME: we need at least 68020 code to build shared libraries, but
61518
 
+            # adding the `-m68020' flag to GCC prevents building anything better,
61519
 
+            # like `-m68040'.
61520
 
+            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
61521
 
+        ;;
61522
 
+      esac
61523
 
+      ;;
61524
 
+
61525
 
+    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
61526
 
+      # PIC is the default for these OSes.
61527
 
+      ;;
61528
 
+    mingw* | cygwin* | os2* | pw32* | cegcc*)
61529
 
+      # This hack is so that the source file can tell whether it is being
61530
 
+      # built for inclusion in a dll (and should export symbols for example).
61531
 
+      # Although the cygwin gcc ignores -fPIC, still need this for old-style
61532
 
+      # (--disable-auto-import) libraries
61533
 
+      m4_if([$1], [GCJ], [],
61534
 
+       [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
61535
 
+      ;;
61536
 
+    darwin* | rhapsody*)
61537
 
+      # PIC is the default on this platform
61538
 
+      # Common symbols not allowed in MH_DYLIB files
61539
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
61540
 
+      ;;
61541
 
+    *djgpp*)
61542
 
+      # DJGPP does not support shared libraries at all
61543
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)=
61544
 
+      ;;
61545
 
+    interix[[3-9]]*)
61546
 
+      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
61547
 
+      # Instead, we relocate shared libraries at runtime.
61548
 
+      ;;
61549
 
+    sysv4*MP*)
61550
 
+      if test -d /usr/nec; then
61551
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
61552
 
+      fi
61553
 
+      ;;
61554
 
+    hpux*)
61555
 
+      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
61556
 
+      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
61557
 
+      # sets the default TLS model and affects inlining.
61558
 
+      case $host_cpu in
61559
 
+      hppa*64*)
61560
 
+       ;;
61561
 
+      *)
61562
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
61563
 
+       ;;
61564
 
+      esac
61565
 
+      ;;
61566
 
+    *qnx* | *nto*)
61567
 
+      # QNX uses GNU C++, but need to define -shared option too, otherwise
61568
 
+      # it will coredump.
61569
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
61570
 
+      ;;
61571
 
+    *)
61572
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
61573
 
+      ;;
61574
 
+    esac
61575
 
+  else
61576
 
+    case $host_os in
61577
 
+      aix[[4-9]]*)
61578
 
+       # All AIX code is PIC.
61579
 
+       if test "$host_cpu" = ia64; then
61580
 
+         # AIX 5 now supports IA64 processor
61581
 
+         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
61582
 
+       else
61583
 
+         _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
61584
 
+       fi
61585
 
+       ;;
61586
 
+      chorus*)
61587
 
+       case $cc_basename in
61588
 
+       cxch68*)
61589
 
+         # Green Hills C++ Compiler
61590
 
+         # _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"
61591
 
+         ;;
61592
 
+       esac
61593
 
+       ;;
61594
 
+      dgux*)
61595
 
+       case $cc_basename in
61596
 
+         ec++*)
61597
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
61598
 
+           ;;
61599
 
+         ghcx*)
61600
 
+           # Green Hills C++ Compiler
61601
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
61602
 
+           ;;
61603
 
+         *)
61604
 
+           ;;
61605
 
+       esac
61606
 
+       ;;
61607
 
+      freebsd* | dragonfly*)
61608
 
+       # FreeBSD uses GNU C++
61609
 
+       ;;
61610
 
+      hpux9* | hpux10* | hpux11*)
61611
 
+       case $cc_basename in
61612
 
+         CC*)
61613
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
61614
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
61615
 
+           if test "$host_cpu" != ia64; then
61616
 
+             _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
61617
 
+           fi
61618
 
+           ;;
61619
 
+         aCC*)
61620
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
61621
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
61622
 
+           case $host_cpu in
61623
 
+           hppa*64*|ia64*)
61624
 
+             # +Z the default
61625
 
+             ;;
61626
 
+           *)
61627
 
+             _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
61628
 
+             ;;
61629
 
+           esac
61630
 
+           ;;
61631
 
+         *)
61632
 
+           ;;
61633
 
+       esac
61634
 
+       ;;
61635
 
+      interix*)
61636
 
+       # This is c89, which is MS Visual C++ (no shared libs)
61637
 
+       # Anyone wants to do a port?
61638
 
+       ;;
61639
 
+      irix5* | irix6* | nonstopux*)
61640
 
+       case $cc_basename in
61641
 
+         CC*)
61642
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
61643
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
61644
 
+           # CC pic flag -KPIC is the default.
61645
 
+           ;;
61646
 
+         *)
61647
 
+           ;;
61648
 
+       esac
61649
 
+       ;;
61650
 
+      linux* | k*bsd*-gnu)
61651
 
+       case $cc_basename in
61652
 
+         KCC*)
61653
 
+           # KAI C++ Compiler
61654
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
61655
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
61656
 
+           ;;
61657
 
+         ecpc* )
61658
 
+           # old Intel C++ for x86_64 which still supported -KPIC.
61659
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
61660
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
61661
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
61662
 
+           ;;
61663
 
+         icpc* )
61664
 
+           # Intel C++, used to be incompatible with GCC.
61665
 
+           # ICC 10 doesn't accept -KPIC any more.
61666
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
61667
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
61668
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
61669
 
+           ;;
61670
 
+         pgCC* | pgcpp*)
61671
 
+           # Portland Group C++ compiler
61672
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
61673
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
61674
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
61675
 
+           ;;
61676
 
+         cxx*)
61677
 
+           # Compaq C++
61678
 
+           # Make sure the PIC flag is empty.  It appears that all Alpha
61679
 
+           # Linux and Compaq Tru64 Unix objects are PIC.
61680
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)=
61681
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
61682
 
+           ;;
61683
 
+         xlc* | xlC*)
61684
 
+           # IBM XL 8.0 on PPC
61685
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
61686
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
61687
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
61688
 
+           ;;
61689
 
+         *)
61690
 
+           case `$CC -V 2>&1 | sed 5q` in
61691
 
+           *Sun\ C*)
61692
 
+             # Sun C++ 5.9
61693
 
+             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
61694
 
+             _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
61695
 
+             _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
61696
 
+             ;;
61697
 
+           esac
61698
 
+           ;;
61699
 
+       esac
61700
 
+       ;;
61701
 
+      lynxos*)
61702
 
+       ;;
61703
 
+      m88k*)
61704
 
+       ;;
61705
 
+      mvs*)
61706
 
+       case $cc_basename in
61707
 
+         cxx*)
61708
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
61709
 
+           ;;
61710
 
+         *)
61711
 
+           ;;
61712
 
+       esac
61713
 
+       ;;
61714
 
+      netbsd* | netbsdelf*-gnu)
61715
 
+       ;;
61716
 
+      *qnx* | *nto*)
61717
 
+        # QNX uses GNU C++, but need to define -shared option too, otherwise
61718
 
+        # it will coredump.
61719
 
+        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
61720
 
+        ;;
61721
 
+      osf3* | osf4* | osf5*)
61722
 
+       case $cc_basename in
61723
 
+         KCC*)
61724
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
61725
 
+           ;;
61726
 
+         RCC*)
61727
 
+           # Rational C++ 2.4.1
61728
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
61729
 
+           ;;
61730
 
+         cxx*)
61731
 
+           # Digital/Compaq C++
61732
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
61733
 
+           # Make sure the PIC flag is empty.  It appears that all Alpha
61734
 
+           # Linux and Compaq Tru64 Unix objects are PIC.
61735
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)=
61736
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
61737
 
+           ;;
61738
 
+         *)
61739
 
+           ;;
61740
 
+       esac
61741
 
+       ;;
61742
 
+      psos*)
61743
 
+       ;;
61744
 
+      solaris*)
61745
 
+       case $cc_basename in
61746
 
+         CC*)
61747
 
+           # Sun C++ 4.2, 5.x and Centerline C++
61748
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
61749
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
61750
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
61751
 
+           ;;
61752
 
+         gcx*)
61753
 
+           # Green Hills C++ Compiler
61754
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
61755
 
+           ;;
61756
 
+         *)
61757
 
+           ;;
61758
 
+       esac
61759
 
+       ;;
61760
 
+      sunos4*)
61761
 
+       case $cc_basename in
61762
 
+         CC*)
61763
 
+           # Sun C++ 4.x
61764
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
61765
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
61766
 
+           ;;
61767
 
+         lcc*)
61768
 
+           # Lucid
61769
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
61770
 
+           ;;
61771
 
+         *)
61772
 
+           ;;
61773
 
+       esac
61774
 
+       ;;
61775
 
+      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
61776
 
+       case $cc_basename in
61777
 
+         CC*)
61778
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
61779
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
61780
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
61781
 
+           ;;
61782
 
+       esac
61783
 
+       ;;
61784
 
+      tandem*)
61785
 
+       case $cc_basename in
61786
 
+         NCC*)
61787
 
+           # NonStop-UX NCC 3.20
61788
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
61789
 
+           ;;
61790
 
+         *)
61791
 
+           ;;
61792
 
+       esac
61793
 
+       ;;
61794
 
+      vxworks*)
61795
 
+       ;;
61796
 
+      *)
61797
 
+       _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
61798
 
+       ;;
61799
 
+    esac
61800
 
+  fi
61801
 
+],
61802
 
+[
61803
 
+  if test "$GCC" = yes; then
61804
 
+    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
61805
 
+    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
61806
 
+
61807
 
+    case $host_os in
61808
 
+      aix*)
61809
 
+      # All AIX code is PIC.
61810
 
+      if test "$host_cpu" = ia64; then
61811
 
+       # AIX 5 now supports IA64 processor
61812
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
61813
 
+      fi
61814
 
+      ;;
61815
 
+
61816
 
+    amigaos*)
61817
 
+      case $host_cpu in
61818
 
+      powerpc)
61819
 
+            # see comment about AmigaOS4 .so support
61820
 
+            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
61821
 
+        ;;
61822
 
+      m68k)
61823
 
+            # FIXME: we need at least 68020 code to build shared libraries, but
61824
 
+            # adding the `-m68020' flag to GCC prevents building anything better,
61825
 
+            # like `-m68040'.
61826
 
+            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
61827
 
+        ;;
61828
 
+      esac
61829
 
+      ;;
61830
 
+
61831
 
+    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
61832
 
+      # PIC is the default for these OSes.
61833
 
+      ;;
61834
 
+
61835
 
+    mingw* | cygwin* | pw32* | os2* | cegcc*)
61836
 
+      # This hack is so that the source file can tell whether it is being
61837
 
+      # built for inclusion in a dll (and should export symbols for example).
61838
 
+      # Although the cygwin gcc ignores -fPIC, still need this for old-style
61839
 
+      # (--disable-auto-import) libraries
61840
 
+      m4_if([$1], [GCJ], [],
61841
 
+       [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
61842
 
+      ;;
61843
 
+
61844
 
+    darwin* | rhapsody*)
61845
 
+      # PIC is the default on this platform
61846
 
+      # Common symbols not allowed in MH_DYLIB files
61847
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
61848
 
+      ;;
61849
 
+
61850
 
+    hpux*)
61851
 
+      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
61852
 
+      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
61853
 
+      # sets the default TLS model and affects inlining.
61854
 
+      case $host_cpu in
61855
 
+      hppa*64*)
61856
 
+       # +Z the default
61857
 
+       ;;
61858
 
+      *)
61859
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
61860
 
+       ;;
61861
 
+      esac
61862
 
+      ;;
61863
 
+
61864
 
+    interix[[3-9]]*)
61865
 
+      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
61866
 
+      # Instead, we relocate shared libraries at runtime.
61867
 
+      ;;
61868
 
+
61869
 
+    msdosdjgpp*)
61870
 
+      # Just because we use GCC doesn't mean we suddenly get shared libraries
61871
 
+      # on systems that don't support them.
61872
 
+      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
61873
 
+      enable_shared=no
61874
 
+      ;;
61875
 
+
61876
 
+    *nto* | *qnx*)
61877
 
+      # QNX uses GNU C++, but need to define -shared option too, otherwise
61878
 
+      # it will coredump.
61879
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
61880
 
+      ;;
61881
 
+
61882
 
+    sysv4*MP*)
61883
 
+      if test -d /usr/nec; then
61884
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
61885
 
+      fi
61886
 
+      ;;
61887
 
+
61888
 
+    *)
61889
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
61890
 
+      ;;
61891
 
+    esac
61892
 
+  else
61893
 
+    # PORTME Check for flag to pass linker flags through the system compiler.
61894
 
+    case $host_os in
61895
 
+    aix*)
61896
 
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
61897
 
+      if test "$host_cpu" = ia64; then
61898
 
+       # AIX 5 now supports IA64 processor
61899
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
61900
 
+      else
61901
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
61902
 
+      fi
61903
 
+      ;;
61904
 
+
61905
 
+    mingw* | cygwin* | pw32* | os2* | cegcc*)
61906
 
+      # This hack is so that the source file can tell whether it is being
61907
 
+      # built for inclusion in a dll (and should export symbols for example).
61908
 
+      m4_if([$1], [GCJ], [],
61909
 
+       [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
61910
 
+      ;;
61911
 
+
61912
 
+    hpux9* | hpux10* | hpux11*)
61913
 
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
61914
 
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
61915
 
+      # not for PA HP-UX.
61916
 
+      case $host_cpu in
61917
 
+      hppa*64*|ia64*)
61918
 
+       # +Z the default
61919
 
+       ;;
61920
 
+      *)
61921
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
61922
 
+       ;;
61923
 
+      esac
61924
 
+      # Is there a better lt_prog_compiler_static that works with the bundled CC?
61925
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
61926
 
+      ;;
61927
 
+
61928
 
+    irix5* | irix6* | nonstopux*)
61929
 
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
61930
 
+      # PIC (with -KPIC) is the default.
61931
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
61932
 
+      ;;
61933
 
+
61934
 
+    linux* | k*bsd*-gnu)
61935
 
+      case $cc_basename in
61936
 
+      # old Intel for x86_64 which still supported -KPIC.
61937
 
+      ecc*)
61938
 
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
61939
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
61940
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
61941
 
+        ;;
61942
 
+      # icc used to be incompatible with GCC.
61943
 
+      # ICC 10 doesn't accept -KPIC any more.
61944
 
+      icc* | ifort*)
61945
 
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
61946
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
61947
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
61948
 
+        ;;
61949
 
+      # Lahey Fortran 8.1.
61950
 
+      lf95*)
61951
 
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
61952
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
61953
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
61954
 
+       ;;
61955
 
+      pgcc* | pgf77* | pgf90* | pgf95*)
61956
 
+        # Portland Group compilers (*not* the Pentium gcc compiler,
61957
 
+       # which looks to be a dead project)
61958
 
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
61959
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
61960
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
61961
 
+        ;;
61962
 
+      ccc*)
61963
 
+        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
61964
 
+        # All Alpha code is PIC.
61965
 
+        _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
61966
 
+        ;;
61967
 
+      xl*)
61968
 
+       # IBM XL C 8.0/Fortran 10.1 on PPC
61969
 
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
61970
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
61971
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
61972
 
+       ;;
61973
 
+      *)
61974
 
+       case `$CC -V 2>&1 | sed 5q` in
61975
 
+       *Sun\ C*)
61976
 
+         # Sun C 5.9
61977
 
+         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
61978
 
+         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
61979
 
+         _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
61980
 
+         ;;
61981
 
+       *Sun\ F*)
61982
 
+         # Sun Fortran 8.3 passes all unrecognized flags to the linker
61983
 
+         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
61984
 
+         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
61985
 
+         _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
61986
 
+         ;;
61987
 
+       esac
61988
 
+       ;;
61989
 
+      esac
61990
 
+      ;;
61991
 
+
61992
 
+    newsos6)
61993
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
61994
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
61995
 
+      ;;
61996
 
+
61997
 
+    *nto* | *qnx*)
61998
 
+      # QNX uses GNU C++, but need to define -shared option too, otherwise
61999
 
+      # it will coredump.
62000
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
62001
 
+      ;;
62002
 
+
62003
 
+    osf3* | osf4* | osf5*)
62004
 
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
62005
 
+      # All OSF/1 code is PIC.
62006
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
62007
 
+      ;;
62008
 
+
62009
 
+    rdos*)
62010
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
62011
 
+      ;;
62012
 
+
62013
 
+    solaris*)
62014
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
62015
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
62016
 
+      case $cc_basename in
62017
 
+      f77* | f90* | f95*)
62018
 
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
62019
 
+      *)
62020
 
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
62021
 
+      esac
62022
 
+      ;;
62023
 
+
62024
 
+    sunos4*)
62025
 
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
62026
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
62027
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
62028
 
+      ;;
62029
 
+
62030
 
+    sysv4 | sysv4.2uw2* | sysv4.3*)
62031
 
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
62032
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
62033
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
62034
 
+      ;;
62035
 
+
62036
 
+    sysv4*MP*)
62037
 
+      if test -d /usr/nec ;then
62038
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
62039
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
62040
 
+      fi
62041
 
+      ;;
62042
 
+
62043
 
+    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
62044
 
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
62045
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
62046
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
62047
 
+      ;;
62048
 
+
62049
 
+    unicos*)
62050
 
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
62051
 
+      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
62052
 
+      ;;
62053
 
+
62054
 
+    uts4*)
62055
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
62056
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
62057
 
+      ;;
62058
 
+
62059
 
+    *)
62060
 
+      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
62061
 
+      ;;
62062
 
+    esac
62063
 
+  fi
62064
 
+])
62065
 
+case $host_os in
62066
 
+  # For platforms which do not support PIC, -DPIC is meaningless:
62067
 
+  *djgpp*)
62068
 
+    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
62069
 
+    ;;
62070
 
+  *)
62071
 
+    _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
62072
 
+    ;;
62073
 
+esac
62074
 
+AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
62075
 
+_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
62076
 
+       [How to pass a linker flag through the compiler])
62077
 
+
62078
 
+#
62079
 
+# Check to make sure the PIC flag actually works.
62080
 
+#
62081
 
+if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
62082
 
+  _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
62083
 
+    [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
62084
 
+    [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
62085
 
+    [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
62086
 
+     "" | " "*) ;;
62087
 
+     *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
62088
 
+     esac],
62089
 
+    [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
62090
 
+     _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
62091
 
+fi
62092
 
+_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
62093
 
+       [Additional compiler flags for building library objects])
62094
 
+
62095
 
+#
62096
 
+# Check to make sure the static flag actually works.
62097
 
+#
62098
 
+wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
62099
 
+_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
62100
 
+  _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
62101
 
+  $lt_tmp_static_flag,
62102
 
+  [],
62103
 
+  [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
62104
 
+_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
62105
 
+       [Compiler flag to prevent dynamic linking])
62106
 
+])# _LT_COMPILER_PIC
62107
 
+
62108
 
+
62109
 
+# _LT_LINKER_SHLIBS([TAGNAME])
62110
 
+# ----------------------------
62111
 
+# See if the linker supports building shared libraries.
62112
 
+m4_defun([_LT_LINKER_SHLIBS],
62113
 
+[AC_REQUIRE([LT_PATH_LD])dnl
62114
 
+AC_REQUIRE([LT_PATH_NM])dnl
62115
 
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
62116
 
+m4_require([_LT_DECL_EGREP])dnl
62117
 
+m4_require([_LT_DECL_SED])dnl
62118
 
+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
62119
 
+m4_require([_LT_TAG_COMPILER])dnl
62120
 
+AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
62121
 
+m4_if([$1], [CXX], [
62122
 
+  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
62123
 
+  case $host_os in
62124
 
+  aix[[4-9]]*)
62125
 
+    # If we're using GNU nm, then we don't want the "-C" option.
62126
 
+    # -C means demangle to AIX nm, but means don't demangle with GNU nm
62127
 
+    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
62128
 
+      _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'
62129
 
+    else
62130
 
+      _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'
62131
 
+    fi
62132
 
+    ;;
62133
 
+  pw32*)
62134
 
+    _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
62135
 
+  ;;
62136
 
+  cygwin* | mingw* | cegcc*)
62137
 
+    _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'
62138
 
+  ;;
62139
 
+  linux* | k*bsd*-gnu)
62140
 
+    _LT_TAGVAR(link_all_deplibs, $1)=no
62141
 
+  ;;
62142
 
+  *)
62143
 
+    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
62144
 
+  ;;
62145
 
+  esac
62146
 
+  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
62147
 
+], [
62148
 
+  runpath_var=
62149
 
+  _LT_TAGVAR(allow_undefined_flag, $1)=
62150
 
+  _LT_TAGVAR(always_export_symbols, $1)=no
62151
 
+  _LT_TAGVAR(archive_cmds, $1)=
62152
 
+  _LT_TAGVAR(archive_expsym_cmds, $1)=
62153
 
+  _LT_TAGVAR(compiler_needs_object, $1)=no
62154
 
+  _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
62155
 
+  _LT_TAGVAR(export_dynamic_flag_spec, $1)=
62156
 
+  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
62157
 
+  _LT_TAGVAR(hardcode_automatic, $1)=no
62158
 
+  _LT_TAGVAR(hardcode_direct, $1)=no
62159
 
+  _LT_TAGVAR(hardcode_direct_absolute, $1)=no
62160
 
+  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
62161
 
+  _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
62162
 
+  _LT_TAGVAR(hardcode_libdir_separator, $1)=
62163
 
+  _LT_TAGVAR(hardcode_minus_L, $1)=no
62164
 
+  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
62165
 
+  _LT_TAGVAR(inherit_rpath, $1)=no
62166
 
+  _LT_TAGVAR(link_all_deplibs, $1)=unknown
62167
 
+  _LT_TAGVAR(module_cmds, $1)=
62168
 
+  _LT_TAGVAR(module_expsym_cmds, $1)=
62169
 
+  _LT_TAGVAR(old_archive_from_new_cmds, $1)=
62170
 
+  _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
62171
 
+  _LT_TAGVAR(thread_safe_flag_spec, $1)=
62172
 
+  _LT_TAGVAR(whole_archive_flag_spec, $1)=
62173
 
+  # include_expsyms should be a list of space-separated symbols to be *always*
62174
 
+  # included in the symbol list
62175
 
+  _LT_TAGVAR(include_expsyms, $1)=
62176
 
+  # exclude_expsyms can be an extended regexp of symbols to exclude
62177
 
+  # it will be wrapped by ` (' and `)$', so one must not match beginning or
62178
 
+  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
62179
 
+  # as well as any symbol that contains `d'.
62180
 
+  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
62181
 
+  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
62182
 
+  # platforms (ab)use it in PIC code, but their linkers get confused if
62183
 
+  # the symbol is explicitly referenced.  Since portable code cannot
62184
 
+  # rely on this symbol name, it's probably fine to never include it in
62185
 
+  # preloaded symbol tables.
62186
 
+  # Exclude shared library initialization/finalization symbols.
62187
 
+dnl Note also adjust exclude_expsyms for C++ above.
62188
 
+  extract_expsyms_cmds=
62189
 
+
62190
 
+  case $host_os in
62191
 
+  cygwin* | mingw* | pw32* | cegcc*)
62192
 
+    # FIXME: the MSVC++ port hasn't been tested in a loooong time
62193
 
+    # When not using gcc, we currently assume that we are using
62194
 
+    # Microsoft Visual C++.
62195
 
+    if test "$GCC" != yes; then
62196
 
+      with_gnu_ld=no
62197
 
+    fi
62198
 
+    ;;
62199
 
+  interix*)
62200
 
+    # we just hope/assume this is gcc and not c89 (= MSVC++)
62201
 
+    with_gnu_ld=yes
62202
 
+    ;;
62203
 
+  openbsd*)
62204
 
+    with_gnu_ld=no
62205
 
+    ;;
62206
 
+  esac
62207
 
+
62208
 
+  _LT_TAGVAR(ld_shlibs, $1)=yes
62209
 
+  if test "$with_gnu_ld" = yes; then
62210
 
+    # If archive_cmds runs LD, not CC, wlarc should be empty
62211
 
+    wlarc='${wl}'
62212
 
+
62213
 
+    # Set some defaults for GNU ld with shared library support. These
62214
 
+    # are reset later if shared libraries are not supported. Putting them
62215
 
+    # here allows them to be overridden if necessary.
62216
 
+    runpath_var=LD_RUN_PATH
62217
 
+    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
62218
 
+    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
62219
 
+    # ancient GNU ld didn't support --whole-archive et. al.
62220
 
+    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
62221
 
+      _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
62222
 
+    else
62223
 
+      _LT_TAGVAR(whole_archive_flag_spec, $1)=
62224
 
+    fi
62225
 
+    supports_anon_versioning=no
62226
 
+    case `$LD -v 2>&1` in
62227
 
+      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
62228
 
+      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
62229
 
+      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
62230
 
+      *\ 2.11.*) ;; # other 2.11 versions
62231
 
+      *) supports_anon_versioning=yes ;;
62232
 
+    esac
62233
 
+
62234
 
+    # See if GNU ld supports shared libraries.
62235
 
+    case $host_os in
62236
 
+    aix[[3-9]]*)
62237
 
+      # On AIX/PPC, the GNU linker is very broken
62238
 
+      if test "$host_cpu" != ia64; then
62239
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
62240
 
+       cat <<_LT_EOF 1>&2
62241
 
+
62242
 
+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
62243
 
+*** to be unable to reliably create shared libraries on AIX.
62244
 
+*** Therefore, libtool is disabling shared libraries support.  If you
62245
 
+*** really care for shared libraries, you may want to modify your PATH
62246
 
+*** so that a non-GNU linker is found, and then restart.
62247
 
+
62248
 
+_LT_EOF
62249
 
+      fi
62250
 
+      ;;
62251
 
+
62252
 
+    amigaos*)
62253
 
+      case $host_cpu in
62254
 
+      powerpc)
62255
 
+            # see comment about AmigaOS4 .so support
62256
 
+            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
62257
 
+            _LT_TAGVAR(archive_expsym_cmds, $1)=''
62258
 
+        ;;
62259
 
+      m68k)
62260
 
+            _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)'
62261
 
+            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
62262
 
+            _LT_TAGVAR(hardcode_minus_L, $1)=yes
62263
 
+        ;;
62264
 
+      esac
62265
 
+      ;;
62266
 
+
62267
 
+    beos*)
62268
 
+      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
62269
 
+       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
62270
 
+       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
62271
 
+       # support --undefined.  This deserves some investigation.  FIXME
62272
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
62273
 
+      else
62274
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
62275
 
+      fi
62276
 
+      ;;
62277
 
+
62278
 
+    cygwin* | mingw* | pw32* | cegcc*)
62279
 
+      # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
62280
 
+      # as there is no search path for DLLs.
62281
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
62282
 
+      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
62283
 
+      _LT_TAGVAR(always_export_symbols, $1)=no
62284
 
+      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
62285
 
+      _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'
62286
 
+
62287
 
+      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
62288
 
+        _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'
62289
 
+       # If the export-symbols file already is a .def file (1st line
62290
 
+       # is EXPORTS), use it as is; otherwise, prepend...
62291
 
+       _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
62292
 
+         cp $export_symbols $output_objdir/$soname.def;
62293
 
+       else
62294
 
+         echo EXPORTS > $output_objdir/$soname.def;
62295
 
+         cat $export_symbols >> $output_objdir/$soname.def;
62296
 
+       fi~
62297
 
+       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
62298
 
+      else
62299
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
62300
 
+      fi
62301
 
+      ;;
62302
 
+
62303
 
+    interix[[3-9]]*)
62304
 
+      _LT_TAGVAR(hardcode_direct, $1)=no
62305
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
62306
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
62307
 
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
62308
 
+      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
62309
 
+      # Instead, shared libraries are loaded at an image base (0x10000000 by
62310
 
+      # default) and relocated if they conflict, which is a slow very memory
62311
 
+      # consuming and fragmenting process.  To avoid this, we pick a random,
62312
 
+      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
62313
 
+      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
62314
 
+      _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'
62315
 
+      _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'
62316
 
+      ;;
62317
 
+
62318
 
+    gnu* | linux* | tpf* | k*bsd*-gnu)
62319
 
+      tmp_diet=no
62320
 
+      if test "$host_os" = linux-dietlibc; then
62321
 
+       case $cc_basename in
62322
 
+         diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
62323
 
+       esac
62324
 
+      fi
62325
 
+      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
62326
 
+        && test "$tmp_diet" = no
62327
 
+      then
62328
 
+       tmp_addflag=
62329
 
+       tmp_sharedflag='-shared'
62330
 
+       case $cc_basename,$host_cpu in
62331
 
+        pgcc*)                         # Portland Group C compiler
62332
 
+         _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'
62333
 
+         tmp_addflag=' $pic_flag'
62334
 
+         ;;
62335
 
+       pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
62336
 
+         _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'
62337
 
+         tmp_addflag=' $pic_flag -Mnomain' ;;
62338
 
+       ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
62339
 
+         tmp_addflag=' -i_dynamic' ;;
62340
 
+       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
62341
 
+         tmp_addflag=' -i_dynamic -nofor_main' ;;
62342
 
+       ifc* | ifort*)                  # Intel Fortran compiler
62343
 
+         tmp_addflag=' -nofor_main' ;;
62344
 
+       lf95*)                          # Lahey Fortran 8.1
62345
 
+         _LT_TAGVAR(whole_archive_flag_spec, $1)=
62346
 
+         tmp_sharedflag='--shared' ;;
62347
 
+       xl[[cC]]*)                      # IBM XL C 8.0 on PPC (deal with xlf below)
62348
 
+         tmp_sharedflag='-qmkshrobj'
62349
 
+         tmp_addflag= ;;
62350
 
+       esac
62351
 
+       case `$CC -V 2>&1 | sed 5q` in
62352
 
+       *Sun\ C*)                       # Sun C 5.9
62353
 
+         _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'
62354
 
+         _LT_TAGVAR(compiler_needs_object, $1)=yes
62355
 
+         tmp_sharedflag='-G' ;;
62356
 
+       *Sun\ F*)                       # Sun Fortran 8.3
62357
 
+         tmp_sharedflag='-G' ;;
62358
 
+       esac
62359
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
62360
 
+
62361
 
+        if test "x$supports_anon_versioning" = xyes; then
62362
 
+          _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
62363
 
+           cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
62364
 
+           echo "local: *; };" >> $output_objdir/$libname.ver~
62365
 
+           $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
62366
 
+        fi
62367
 
+
62368
 
+       case $cc_basename in
62369
 
+       xlf*)
62370
 
+         # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
62371
 
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
62372
 
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
62373
 
+         _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
62374
 
+         _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
62375
 
+         if test "x$supports_anon_versioning" = xyes; then
62376
 
+           _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
62377
 
+             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
62378
 
+             echo "local: *; };" >> $output_objdir/$libname.ver~
62379
 
+             $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
62380
 
+         fi
62381
 
+         ;;
62382
 
+       esac
62383
 
+      else
62384
 
+        _LT_TAGVAR(ld_shlibs, $1)=no
62385
 
+      fi
62386
 
+      ;;
62387
 
+
62388
 
+    netbsd* | netbsdelf*-gnu)
62389
 
+      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
62390
 
+       _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
62391
 
+       wlarc=
62392
 
+      else
62393
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
62394
 
+       _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'
62395
 
+      fi
62396
 
+      ;;
62397
 
+
62398
 
+    solaris*)
62399
 
+      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
62400
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
62401
 
+       cat <<_LT_EOF 1>&2
62402
 
+
62403
 
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
62404
 
+*** create shared libraries on Solaris systems.  Therefore, libtool
62405
 
+*** is disabling shared libraries support.  We urge you to upgrade GNU
62406
 
+*** binutils to release 2.9.1 or newer.  Another option is to modify
62407
 
+*** your PATH or compiler configuration so that the native linker is
62408
 
+*** used, and then restart.
62409
 
+
62410
 
+_LT_EOF
62411
 
+      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
62412
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
62413
 
+       _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'
62414
 
+      else
62415
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
62416
 
+      fi
62417
 
+      ;;
62418
 
+
62419
 
+    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
62420
 
+      case `$LD -v 2>&1` in
62421
 
+        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
62422
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
62423
 
+       cat <<_LT_EOF 1>&2
62424
 
+
62425
 
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
62426
 
+*** reliably create shared libraries on SCO systems.  Therefore, libtool
62427
 
+*** is disabling shared libraries support.  We urge you to upgrade GNU
62428
 
+*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
62429
 
+*** your PATH or compiler configuration so that the native linker is
62430
 
+*** used, and then restart.
62431
 
+
62432
 
+_LT_EOF
62433
 
+       ;;
62434
 
+       *)
62435
 
+         # For security reasons, it is highly recommended that you always
62436
 
+         # use absolute paths for naming shared libraries, and exclude the
62437
 
+         # DT_RUNPATH tag from executables and libraries.  But doing so
62438
 
+         # requires that you compile everything twice, which is a pain.
62439
 
+         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
62440
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
62441
 
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
62442
 
+           _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'
62443
 
+         else
62444
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
62445
 
+         fi
62446
 
+       ;;
62447
 
+      esac
62448
 
+      ;;
62449
 
+
62450
 
+    sunos4*)
62451
 
+      _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
62452
 
+      wlarc=
62453
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
62454
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
62455
 
+      ;;
62456
 
+
62457
 
+    *)
62458
 
+      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
62459
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
62460
 
+       _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'
62461
 
+      else
62462
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
62463
 
+      fi
62464
 
+      ;;
62465
 
+    esac
62466
 
+
62467
 
+    if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
62468
 
+      runpath_var=
62469
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
62470
 
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)=
62471
 
+      _LT_TAGVAR(whole_archive_flag_spec, $1)=
62472
 
+    fi
62473
 
+  else
62474
 
+    # PORTME fill in a description of your system's linker (not GNU ld)
62475
 
+    case $host_os in
62476
 
+    aix3*)
62477
 
+      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
62478
 
+      _LT_TAGVAR(always_export_symbols, $1)=yes
62479
 
+      _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'
62480
 
+      # Note: this linker hardcodes the directories in LIBPATH if there
62481
 
+      # are no directories specified by -L.
62482
 
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
62483
 
+      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
62484
 
+       # Neither direct hardcoding nor static linking is supported with a
62485
 
+       # broken collect2.
62486
 
+       _LT_TAGVAR(hardcode_direct, $1)=unsupported
62487
 
+      fi
62488
 
+      ;;
62489
 
+
62490
 
+    aix[[4-9]]*)
62491
 
+      if test "$host_cpu" = ia64; then
62492
 
+       # On IA64, the linker does run time linking by default, so we don't
62493
 
+       # have to do anything special.
62494
 
+       aix_use_runtimelinking=no
62495
 
+       exp_sym_flag='-Bexport'
62496
 
+       no_entry_flag=""
62497
 
+      else
62498
 
+       # If we're using GNU nm, then we don't want the "-C" option.
62499
 
+       # -C means demangle to AIX nm, but means don't demangle with GNU nm
62500
 
+       if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
62501
 
+         _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'
62502
 
+       else
62503
 
+         _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'
62504
 
+       fi
62505
 
+       aix_use_runtimelinking=no
62506
 
+
62507
 
+       # Test if we are trying to use run time linking or normal
62508
 
+       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
62509
 
+       # need to do runtime linking.
62510
 
+       case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
62511
 
+         for ld_flag in $LDFLAGS; do
62512
 
+         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
62513
 
+           aix_use_runtimelinking=yes
62514
 
+           break
62515
 
+         fi
62516
 
+         done
62517
 
+         ;;
62518
 
+       esac
62519
 
+
62520
 
+       exp_sym_flag='-bexport'
62521
 
+       no_entry_flag='-bnoentry'
62522
 
+      fi
62523
 
+
62524
 
+      # When large executables or shared objects are built, AIX ld can
62525
 
+      # have problems creating the table of contents.  If linking a library
62526
 
+      # or program results in "error TOC overflow" add -mminimal-toc to
62527
 
+      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
62528
 
+      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
62529
 
+
62530
 
+      _LT_TAGVAR(archive_cmds, $1)=''
62531
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
62532
 
+      _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
62533
 
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
62534
 
+      _LT_TAGVAR(link_all_deplibs, $1)=yes
62535
 
+      _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
62536
 
+
62537
 
+      if test "$GCC" = yes; then
62538
 
+       case $host_os in aix4.[[012]]|aix4.[[012]].*)
62539
 
+       # We only want to do this on AIX 4.2 and lower, the check
62540
 
+       # below for broken collect2 doesn't work under 4.3+
62541
 
+         collect2name=`${CC} -print-prog-name=collect2`
62542
 
+         if test -f "$collect2name" &&
62543
 
+          strings "$collect2name" | $GREP resolve_lib_name >/dev/null
62544
 
+         then
62545
 
+         # We have reworked collect2
62546
 
+         :
62547
 
+         else
62548
 
+         # We have old collect2
62549
 
+         _LT_TAGVAR(hardcode_direct, $1)=unsupported
62550
 
+         # It fails to find uninstalled libraries when the uninstalled
62551
 
+         # path is not listed in the libpath.  Setting hardcode_minus_L
62552
 
+         # to unsupported forces relinking
62553
 
+         _LT_TAGVAR(hardcode_minus_L, $1)=yes
62554
 
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
62555
 
+         _LT_TAGVAR(hardcode_libdir_separator, $1)=
62556
 
+         fi
62557
 
+         ;;
62558
 
+       esac
62559
 
+       shared_flag='-shared'
62560
 
+       if test "$aix_use_runtimelinking" = yes; then
62561
 
+         shared_flag="$shared_flag "'${wl}-G'
62562
 
+       fi
62563
 
+       _LT_TAGVAR(link_all_deplibs, $1)=no
62564
 
+      else
62565
 
+       # not using gcc
62566
 
+       if test "$host_cpu" = ia64; then
62567
 
+       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
62568
 
+       # chokes on -Wl,-G. The following line is correct:
62569
 
+         shared_flag='-G'
62570
 
+       else
62571
 
+         if test "$aix_use_runtimelinking" = yes; then
62572
 
+           shared_flag='${wl}-G'
62573
 
+         else
62574
 
+           shared_flag='${wl}-bM:SRE'
62575
 
+         fi
62576
 
+       fi
62577
 
+      fi
62578
 
+
62579
 
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
62580
 
+      # It seems that -bexpall does not export symbols beginning with
62581
 
+      # underscore (_), so it is better to generate a list of symbols to export.
62582
 
+      _LT_TAGVAR(always_export_symbols, $1)=yes
62583
 
+      if test "$aix_use_runtimelinking" = yes; then
62584
 
+       # Warning - without using the other runtime loading flags (-brtl),
62585
 
+       # -berok will link without error, but may produce a broken library.
62586
 
+       _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
62587
 
+        # Determine the default libpath from the value encoded in an
62588
 
+        # empty executable.
62589
 
+        _LT_SYS_MODULE_PATH_AIX
62590
 
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
62591
 
+        _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"
62592
 
+      else
62593
 
+       if test "$host_cpu" = ia64; then
62594
 
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
62595
 
+         _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
62596
 
+         _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"
62597
 
+       else
62598
 
+        # Determine the default libpath from the value encoded in an
62599
 
+        # empty executable.
62600
 
+        _LT_SYS_MODULE_PATH_AIX
62601
 
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
62602
 
+         # Warning - without using the other run time loading flags,
62603
 
+         # -berok will link without error, but may produce a broken library.
62604
 
+         _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
62605
 
+         _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
62606
 
+         # Exported symbols can be pulled into shared objects from archives
62607
 
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
62608
 
+         _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
62609
 
+         # This is similar to how AIX traditionally builds its shared libraries.
62610
 
+         _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'
62611
 
+       fi
62612
 
+      fi
62613
 
+      ;;
62614
 
+
62615
 
+    amigaos*)
62616
 
+      case $host_cpu in
62617
 
+      powerpc)
62618
 
+            # see comment about AmigaOS4 .so support
62619
 
+            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
62620
 
+            _LT_TAGVAR(archive_expsym_cmds, $1)=''
62621
 
+        ;;
62622
 
+      m68k)
62623
 
+            _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)'
62624
 
+            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
62625
 
+            _LT_TAGVAR(hardcode_minus_L, $1)=yes
62626
 
+        ;;
62627
 
+      esac
62628
 
+      ;;
62629
 
+
62630
 
+    bsdi[[45]]*)
62631
 
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
62632
 
+      ;;
62633
 
+
62634
 
+    cygwin* | mingw* | pw32* | cegcc*)
62635
 
+      # When not using gcc, we currently assume that we are using
62636
 
+      # Microsoft Visual C++.
62637
 
+      # hardcode_libdir_flag_spec is actually meaningless, as there is
62638
 
+      # no search path for DLLs.
62639
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
62640
 
+      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
62641
 
+      # Tell ltmain to make .lib files, not .a files.
62642
 
+      libext=lib
62643
 
+      # Tell ltmain to make .dll files, not .so files.
62644
 
+      shrext_cmds=".dll"
62645
 
+      # FIXME: Setting linknames here is a bad hack.
62646
 
+      _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
62647
 
+      # The linker will automatically build a .lib file if we build a DLL.
62648
 
+      _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
62649
 
+      # FIXME: Should let the user specify the lib program.
62650
 
+      _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
62651
 
+      _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
62652
 
+      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
62653
 
+      ;;
62654
 
+
62655
 
+    darwin* | rhapsody*)
62656
 
+      _LT_DARWIN_LINKER_FEATURES($1)
62657
 
+      ;;
62658
 
+
62659
 
+    dgux*)
62660
 
+      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
62661
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
62662
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
62663
 
+      ;;
62664
 
+
62665
 
+    freebsd1*)
62666
 
+      _LT_TAGVAR(ld_shlibs, $1)=no
62667
 
+      ;;
62668
 
+
62669
 
+    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
62670
 
+    # support.  Future versions do this automatically, but an explicit c++rt0.o
62671
 
+    # does not break anything, and helps significantly (at the cost of a little
62672
 
+    # extra space).
62673
 
+    freebsd2.2*)
62674
 
+      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
62675
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
62676
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
62677
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
62678
 
+      ;;
62679
 
+
62680
 
+    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
62681
 
+    freebsd2*)
62682
 
+      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
62683
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
62684
 
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
62685
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
62686
 
+      ;;
62687
 
+
62688
 
+    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
62689
 
+    freebsd* | dragonfly*)
62690
 
+      _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
62691
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
62692
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
62693
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
62694
 
+      ;;
62695
 
+
62696
 
+    hpux9*)
62697
 
+      if test "$GCC" = yes; then
62698
 
+       _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'
62699
 
+      else
62700
 
+       _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'
62701
 
+      fi
62702
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
62703
 
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
62704
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
62705
 
+
62706
 
+      # hardcode_minus_L: Not really in the search PATH,
62707
 
+      # but as the default location of the library.
62708
 
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
62709
 
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
62710
 
+      ;;
62711
 
+
62712
 
+    hpux10*)
62713
 
+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
62714
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
62715
 
+      else
62716
 
+       _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
62717
 
+      fi
62718
 
+      if test "$with_gnu_ld" = no; then
62719
 
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
62720
 
+       _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
62721
 
+       _LT_TAGVAR(hardcode_libdir_separator, $1)=:
62722
 
+       _LT_TAGVAR(hardcode_direct, $1)=yes
62723
 
+       _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
62724
 
+       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
62725
 
+       # hardcode_minus_L: Not really in the search PATH,
62726
 
+       # but as the default location of the library.
62727
 
+       _LT_TAGVAR(hardcode_minus_L, $1)=yes
62728
 
+      fi
62729
 
+      ;;
62730
 
+
62731
 
+    hpux11*)
62732
 
+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
62733
 
+       case $host_cpu in
62734
 
+       hppa*64*)
62735
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
62736
 
+         ;;
62737
 
+       ia64*)
62738
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
62739
 
+         ;;
62740
 
+       *)
62741
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
62742
 
+         ;;
62743
 
+       esac
62744
 
+      else
62745
 
+       case $host_cpu in
62746
 
+       hppa*64*)
62747
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
62748
 
+         ;;
62749
 
+       ia64*)
62750
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
62751
 
+         ;;
62752
 
+       *)
62753
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
62754
 
+         ;;
62755
 
+       esac
62756
 
+      fi
62757
 
+      if test "$with_gnu_ld" = no; then
62758
 
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
62759
 
+       _LT_TAGVAR(hardcode_libdir_separator, $1)=:
62760
 
+
62761
 
+       case $host_cpu in
62762
 
+       hppa*64*|ia64*)
62763
 
+         _LT_TAGVAR(hardcode_direct, $1)=no
62764
 
+         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
62765
 
+         ;;
62766
 
+       *)
62767
 
+         _LT_TAGVAR(hardcode_direct, $1)=yes
62768
 
+         _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
62769
 
+         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
62770
 
+
62771
 
+         # hardcode_minus_L: Not really in the search PATH,
62772
 
+         # but as the default location of the library.
62773
 
+         _LT_TAGVAR(hardcode_minus_L, $1)=yes
62774
 
+         ;;
62775
 
+       esac
62776
 
+      fi
62777
 
+      ;;
62778
 
+
62779
 
+    irix5* | irix6* | nonstopux*)
62780
 
+      if test "$GCC" = yes; then
62781
 
+       _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'
62782
 
+       # Try to use the -exported_symbol ld option, if it does not
62783
 
+       # work, assume that -exports_file does not work either and
62784
 
+       # implicitly export all symbols.
62785
 
+        save_LDFLAGS="$LDFLAGS"
62786
 
+        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
62787
 
+        AC_LINK_IFELSE(int foo(void) {},
62788
 
+          _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'
62789
 
+        )
62790
 
+        LDFLAGS="$save_LDFLAGS"
62791
 
+      else
62792
 
+       _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'
62793
 
+       _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'
62794
 
+      fi
62795
 
+      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
62796
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
62797
 
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
62798
 
+      _LT_TAGVAR(inherit_rpath, $1)=yes
62799
 
+      _LT_TAGVAR(link_all_deplibs, $1)=yes
62800
 
+      ;;
62801
 
+
62802
 
+    netbsd* | netbsdelf*-gnu)
62803
 
+      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
62804
 
+       _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
62805
 
+      else
62806
 
+       _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
62807
 
+      fi
62808
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
62809
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
62810
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
62811
 
+      ;;
62812
 
+
62813
 
+    newsos6)
62814
 
+      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
62815
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
62816
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
62817
 
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
62818
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
62819
 
+      ;;
62820
 
+
62821
 
+    *nto* | *qnx*)
62822
 
+      ;;
62823
 
+
62824
 
+    openbsd*)
62825
 
+      if test -f /usr/libexec/ld.so; then
62826
 
+       _LT_TAGVAR(hardcode_direct, $1)=yes
62827
 
+       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
62828
 
+       _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
62829
 
+       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
62830
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
62831
 
+         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
62832
 
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
62833
 
+         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
62834
 
+       else
62835
 
+         case $host_os in
62836
 
+          openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
62837
 
+            _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
62838
 
+            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
62839
 
+            ;;
62840
 
+          *)
62841
 
+            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
62842
 
+            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
62843
 
+            ;;
62844
 
+         esac
62845
 
+       fi
62846
 
+      else
62847
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
62848
 
+      fi
62849
 
+      ;;
62850
 
+
62851
 
+    os2*)
62852
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
62853
 
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
62854
 
+      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
62855
 
+      _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'
62856
 
+      _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
62857
 
+      ;;
62858
 
+
62859
 
+    osf3*)
62860
 
+      if test "$GCC" = yes; then
62861
 
+       _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
62862
 
+       _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'
62863
 
+      else
62864
 
+       _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
62865
 
+       _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'
62866
 
+      fi
62867
 
+      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
62868
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
62869
 
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
62870
 
+      ;;
62871
 
+
62872
 
+    osf4* | osf5*)     # as osf3* with the addition of -msym flag
62873
 
+      if test "$GCC" = yes; then
62874
 
+       _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
62875
 
+       _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'
62876
 
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
62877
 
+      else
62878
 
+       _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
62879
 
+       _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'
62880
 
+       _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~
62881
 
+       $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'
62882
 
+
62883
 
+       # Both c and cxx compiler support -rpath directly
62884
 
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
62885
 
+      fi
62886
 
+      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
62887
 
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
62888
 
+      ;;
62889
 
+
62890
 
+    solaris*)
62891
 
+      _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
62892
 
+      if test "$GCC" = yes; then
62893
 
+       wlarc='${wl}'
62894
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
62895
 
+       _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
62896
 
+         $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
62897
 
+      else
62898
 
+       case `$CC -V 2>&1` in
62899
 
+       *"Compilers 5.0"*)
62900
 
+         wlarc=''
62901
 
+         _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
62902
 
+         _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
62903
 
+         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
62904
 
+         ;;
62905
 
+       *)
62906
 
+         wlarc='${wl}'
62907
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
62908
 
+         _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
62909
 
+         $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
62910
 
+         ;;
62911
 
+       esac
62912
 
+      fi
62913
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
62914
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
62915
 
+      case $host_os in
62916
 
+      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
62917
 
+      *)
62918
 
+       # The compiler driver will combine and reorder linker options,
62919
 
+       # but understands `-z linker_flag'.  GCC discards it without `$wl',
62920
 
+       # but is careful enough not to reorder.
62921
 
+       # Supported since Solaris 2.6 (maybe 2.5.1?)
62922
 
+       if test "$GCC" = yes; then
62923
 
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
62924
 
+       else
62925
 
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
62926
 
+       fi
62927
 
+       ;;
62928
 
+      esac
62929
 
+      _LT_TAGVAR(link_all_deplibs, $1)=yes
62930
 
+      ;;
62931
 
+
62932
 
+    sunos4*)
62933
 
+      if test "x$host_vendor" = xsequent; then
62934
 
+       # Use $CC to link under sequent, because it throws in some extra .o
62935
 
+       # files that make .init and .fini sections work.
62936
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
62937
 
+      else
62938
 
+       _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
62939
 
+      fi
62940
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
62941
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
62942
 
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
62943
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
62944
 
+      ;;
62945
 
+
62946
 
+    sysv4)
62947
 
+      case $host_vendor in
62948
 
+       sni)
62949
 
+         _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
62950
 
+         _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
62951
 
+       ;;
62952
 
+       siemens)
62953
 
+         ## LD is ld it makes a PLAMLIB
62954
 
+         ## CC just makes a GrossModule.
62955
 
+         _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
62956
 
+         _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
62957
 
+         _LT_TAGVAR(hardcode_direct, $1)=no
62958
 
+        ;;
62959
 
+       motorola)
62960
 
+         _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
62961
 
+         _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
62962
 
+       ;;
62963
 
+      esac
62964
 
+      runpath_var='LD_RUN_PATH'
62965
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
62966
 
+      ;;
62967
 
+
62968
 
+    sysv4.3*)
62969
 
+      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
62970
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
62971
 
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
62972
 
+      ;;
62973
 
+
62974
 
+    sysv4*MP*)
62975
 
+      if test -d /usr/nec; then
62976
 
+       _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
62977
 
+       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
62978
 
+       runpath_var=LD_RUN_PATH
62979
 
+       hardcode_runpath_var=yes
62980
 
+       _LT_TAGVAR(ld_shlibs, $1)=yes
62981
 
+      fi
62982
 
+      ;;
62983
 
+
62984
 
+    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
62985
 
+      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
62986
 
+      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
62987
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
62988
 
+      runpath_var='LD_RUN_PATH'
62989
 
+
62990
 
+      if test "$GCC" = yes; then
62991
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
62992
 
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
62993
 
+      else
62994
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
62995
 
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
62996
 
+      fi
62997
 
+      ;;
62998
 
+
62999
 
+    sysv5* | sco3.2v5* | sco5v6*)
63000
 
+      # Note: We can NOT use -z defs as we might desire, because we do not
63001
 
+      # link with -lc, and that would cause any symbols used from libc to
63002
 
+      # always be unresolved, which means just about no library would
63003
 
+      # ever link correctly.  If we're not using GNU ld we use -z text
63004
 
+      # though, which does catch some bad symbols but isn't as heavy-handed
63005
 
+      # as -z defs.
63006
 
+      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
63007
 
+      _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
63008
 
+      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
63009
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
63010
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
63011
 
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
63012
 
+      _LT_TAGVAR(link_all_deplibs, $1)=yes
63013
 
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
63014
 
+      runpath_var='LD_RUN_PATH'
63015
 
+
63016
 
+      if test "$GCC" = yes; then
63017
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
63018
 
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
63019
 
+      else
63020
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
63021
 
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
63022
 
+      fi
63023
 
+      ;;
63024
 
+
63025
 
+    uts4*)
63026
 
+      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
63027
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
63028
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
63029
 
+      ;;
63030
 
+
63031
 
+    *)
63032
 
+      _LT_TAGVAR(ld_shlibs, $1)=no
63033
 
+      ;;
63034
 
+    esac
63035
 
+
63036
 
+    if test x$host_vendor = xsni; then
63037
 
+      case $host in
63038
 
+      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
63039
 
+       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
63040
 
+       ;;
63041
 
+      esac
63042
 
+    fi
63043
 
+  fi
63044
 
+])
63045
 
+AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
63046
 
+test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
63047
 
+
63048
 
+_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
63049
 
+
63050
 
+_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
63051
 
+_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
63052
 
+_LT_DECL([], [extract_expsyms_cmds], [2],
63053
 
+    [The commands to extract the exported symbol list from a shared archive])
63054
 
+
63055
 
+#
63056
 
+# Do we need to explicitly link libc?
63057
 
+#
63058
 
+case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
63059
 
+x|xyes)
63060
 
+  # Assume -lc should be added
63061
 
+  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
63062
 
+
63063
 
+  if test "$enable_shared" = yes && test "$GCC" = yes; then
63064
 
+    case $_LT_TAGVAR(archive_cmds, $1) in
63065
 
+    *'~'*)
63066
 
+      # FIXME: we may have to deal with multi-command sequences.
63067
 
+      ;;
63068
 
+    '$CC '*)
63069
 
+      # Test whether the compiler implicitly links with -lc since on some
63070
 
+      # systems, -lgcc has to come before -lc. If gcc already passes -lc
63071
 
+      # to ld, don't add -lc before -lgcc.
63072
 
+      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
63073
 
+      $RM conftest*
63074
 
+      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
63075
 
+
63076
 
+      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
63077
 
+        soname=conftest
63078
 
+        lib=conftest
63079
 
+        libobjs=conftest.$ac_objext
63080
 
+        deplibs=
63081
 
+        wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
63082
 
+       pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
63083
 
+        compiler_flags=-v
63084
 
+        linker_flags=-v
63085
 
+        verstring=
63086
 
+        output_objdir=.
63087
 
+        libname=conftest
63088
 
+        lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
63089
 
+        _LT_TAGVAR(allow_undefined_flag, $1)=
63090
 
+        if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
63091
 
+        then
63092
 
+         _LT_TAGVAR(archive_cmds_need_lc, $1)=no
63093
 
+        else
63094
 
+         _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
63095
 
+        fi
63096
 
+        _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
63097
 
+      else
63098
 
+        cat conftest.err 1>&5
63099
 
+      fi
63100
 
+      $RM conftest*
63101
 
+      AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
63102
 
+      ;;
63103
 
+    esac
63104
 
+  fi
63105
 
+  ;;
63106
 
+esac
63107
 
+
63108
 
+_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
63109
 
+    [Whether or not to add -lc for building shared libraries])
63110
 
+_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
63111
 
+    [enable_shared_with_static_runtimes], [0],
63112
 
+    [Whether or not to disallow shared libs when runtime libs are static])
63113
 
+_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
63114
 
+    [Compiler flag to allow reflexive dlopens])
63115
 
+_LT_TAGDECL([], [whole_archive_flag_spec], [1],
63116
 
+    [Compiler flag to generate shared objects directly from archives])
63117
 
+_LT_TAGDECL([], [compiler_needs_object], [1],
63118
 
+    [Whether the compiler copes with passing no objects directly])
63119
 
+_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
63120
 
+    [Create an old-style archive from a shared archive])
63121
 
+_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
63122
 
+    [Create a temporary old-style archive to link instead of a shared archive])
63123
 
+_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
63124
 
+_LT_TAGDECL([], [archive_expsym_cmds], [2])
63125
 
+_LT_TAGDECL([], [module_cmds], [2],
63126
 
+    [Commands used to build a loadable module if different from building
63127
 
+    a shared archive.])
63128
 
+_LT_TAGDECL([], [module_expsym_cmds], [2])
63129
 
+_LT_TAGDECL([], [with_gnu_ld], [1],
63130
 
+    [Whether we are building with GNU ld or not])
63131
 
+_LT_TAGDECL([], [allow_undefined_flag], [1],
63132
 
+    [Flag that allows shared libraries with undefined symbols to be built])
63133
 
+_LT_TAGDECL([], [no_undefined_flag], [1],
63134
 
+    [Flag that enforces no undefined symbols])
63135
 
+_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
63136
 
+    [Flag to hardcode $libdir into a binary during linking.
63137
 
+    This must work even if $libdir does not exist])
63138
 
+_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
63139
 
+    [[If ld is used when linking, flag to hardcode $libdir into a binary
63140
 
+    during linking.  This must work even if $libdir does not exist]])
63141
 
+_LT_TAGDECL([], [hardcode_libdir_separator], [1],
63142
 
+    [Whether we need a single "-rpath" flag with a separated argument])
63143
 
+_LT_TAGDECL([], [hardcode_direct], [0],
63144
 
+    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
63145
 
+    DIR into the resulting binary])
63146
 
+_LT_TAGDECL([], [hardcode_direct_absolute], [0],
63147
 
+    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
63148
 
+    DIR into the resulting binary and the resulting library dependency is
63149
 
+    "absolute", i.e impossible to change by setting ${shlibpath_var} if the
63150
 
+    library is relocated])
63151
 
+_LT_TAGDECL([], [hardcode_minus_L], [0],
63152
 
+    [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
63153
 
+    into the resulting binary])
63154
 
+_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
63155
 
+    [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
63156
 
+    into the resulting binary])
63157
 
+_LT_TAGDECL([], [hardcode_automatic], [0],
63158
 
+    [Set to "yes" if building a shared library automatically hardcodes DIR
63159
 
+    into the library and all subsequent libraries and executables linked
63160
 
+    against it])
63161
 
+_LT_TAGDECL([], [inherit_rpath], [0],
63162
 
+    [Set to yes if linker adds runtime paths of dependent libraries
63163
 
+    to runtime path list])
63164
 
+_LT_TAGDECL([], [link_all_deplibs], [0],
63165
 
+    [Whether libtool must link a program against all its dependency libraries])
63166
 
+_LT_TAGDECL([], [fix_srcfile_path], [1],
63167
 
+    [Fix the shell variable $srcfile for the compiler])
63168
 
+_LT_TAGDECL([], [always_export_symbols], [0],
63169
 
+    [Set to "yes" if exported symbols are required])
63170
 
+_LT_TAGDECL([], [export_symbols_cmds], [2],
63171
 
+    [The commands to list exported symbols])
63172
 
+_LT_TAGDECL([], [exclude_expsyms], [1],
63173
 
+    [Symbols that should not be listed in the preloaded symbols])
63174
 
+_LT_TAGDECL([], [include_expsyms], [1],
63175
 
+    [Symbols that must always be exported])
63176
 
+_LT_TAGDECL([], [prelink_cmds], [2],
63177
 
+    [Commands necessary for linking programs (against libraries) with templates])
63178
 
+_LT_TAGDECL([], [file_list_spec], [1],
63179
 
+    [Specify filename containing input files])
63180
 
+dnl FIXME: Not yet implemented
63181
 
+dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
63182
 
+dnl    [Compiler flag to generate thread safe objects])
63183
 
+])# _LT_LINKER_SHLIBS
63184
 
+
63185
 
+
63186
 
+# _LT_LANG_C_CONFIG([TAG])
63187
 
+# ------------------------
63188
 
+# Ensure that the configuration variables for a C compiler are suitably
63189
 
+# defined.  These variables are subsequently used by _LT_CONFIG to write
63190
 
+# the compiler configuration to `libtool'.
63191
 
+m4_defun([_LT_LANG_C_CONFIG],
63192
 
+[m4_require([_LT_DECL_EGREP])dnl
63193
 
+lt_save_CC="$CC"
63194
 
+AC_LANG_PUSH(C)
63195
 
+
63196
 
+# Source file extension for C test sources.
63197
 
+ac_ext=c
63198
 
+
63199
 
+# Object file extension for compiled C test sources.
63200
 
+objext=o
63201
 
+_LT_TAGVAR(objext, $1)=$objext
63202
 
+
63203
 
+# Code to be used in simple compile tests
63204
 
+lt_simple_compile_test_code="int some_variable = 0;"
63205
 
+
63206
 
+# Code to be used in simple link tests
63207
 
+lt_simple_link_test_code='int main(){return(0);}'
63208
 
+
63209
 
+_LT_TAG_COMPILER
63210
 
+# Save the default compiler, since it gets overwritten when the other
63211
 
+# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
63212
 
+compiler_DEFAULT=$CC
63213
 
+
63214
 
+# save warnings/boilerplate of simple test code
63215
 
+_LT_COMPILER_BOILERPLATE
63216
 
+_LT_LINKER_BOILERPLATE
63217
 
+
63218
 
+## CAVEAT EMPTOR:
63219
 
+## There is no encapsulation within the following macros, do not change
63220
 
+## the running order or otherwise move them around unless you know exactly
63221
 
+## what you are doing...
63222
 
+if test -n "$compiler"; then
63223
 
+  _LT_COMPILER_NO_RTTI($1)
63224
 
+  _LT_COMPILER_PIC($1)
63225
 
+  _LT_COMPILER_C_O($1)
63226
 
+  _LT_COMPILER_FILE_LOCKS($1)
63227
 
+  _LT_LINKER_SHLIBS($1)
63228
 
+  _LT_SYS_DYNAMIC_LINKER($1)
63229
 
+  _LT_LINKER_HARDCODE_LIBPATH($1)
63230
 
+  LT_SYS_DLOPEN_SELF
63231
 
+  _LT_CMD_STRIPLIB
63232
 
+
63233
 
+  # Report which library types will actually be built
63234
 
+  AC_MSG_CHECKING([if libtool supports shared libraries])
63235
 
+  AC_MSG_RESULT([$can_build_shared])
63236
 
+
63237
 
+  AC_MSG_CHECKING([whether to build shared libraries])
63238
 
+  test "$can_build_shared" = "no" && enable_shared=no
63239
 
+
63240
 
+  # On AIX, shared libraries and static libraries use the same namespace, and
63241
 
+  # are all built from PIC.
63242
 
+  case $host_os in
63243
 
+  aix3*)
63244
 
+    test "$enable_shared" = yes && enable_static=no
63245
 
+    if test -n "$RANLIB"; then
63246
 
+      archive_cmds="$archive_cmds~\$RANLIB \$lib"
63247
 
+      postinstall_cmds='$RANLIB $lib'
63248
 
+    fi
63249
 
+    ;;
63250
 
+
63251
 
+  aix[[4-9]]*)
63252
 
+    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
63253
 
+      test "$enable_shared" = yes && enable_static=no
63254
 
+    fi
63255
 
+    ;;
63256
 
+  esac
63257
 
+  AC_MSG_RESULT([$enable_shared])
63258
 
+
63259
 
+  AC_MSG_CHECKING([whether to build static libraries])
63260
 
+  # Make sure either enable_shared or enable_static is yes.
63261
 
+  test "$enable_shared" = yes || enable_static=yes
63262
 
+  AC_MSG_RESULT([$enable_static])
63263
 
+
63264
 
+  _LT_CONFIG($1)
63265
 
+fi
63266
 
+AC_LANG_POP
63267
 
+CC="$lt_save_CC"
63268
 
+])# _LT_LANG_C_CONFIG
63269
 
+
63270
 
+
63271
 
+# _LT_PROG_CXX
63272
 
+# ------------
63273
 
+# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
63274
 
+# compiler, we have our own version here.
63275
 
+m4_defun([_LT_PROG_CXX],
63276
 
+[
63277
 
+pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
63278
 
+AC_PROG_CXX
63279
 
+if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
63280
 
+    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
63281
 
+    (test "X$CXX" != "Xg++"))) ; then
63282
 
+  AC_PROG_CXXCPP
63283
 
+else
63284
 
+  _lt_caught_CXX_error=yes
63285
 
+fi
63286
 
+popdef([AC_MSG_ERROR])
63287
 
+])# _LT_PROG_CXX
63288
 
+
63289
 
+dnl aclocal-1.4 backwards compatibility:
63290
 
+dnl AC_DEFUN([_LT_PROG_CXX], [])
63291
 
+
63292
 
+
63293
 
+# _LT_LANG_CXX_CONFIG([TAG])
63294
 
+# --------------------------
63295
 
+# Ensure that the configuration variables for a C++ compiler are suitably
63296
 
+# defined.  These variables are subsequently used by _LT_CONFIG to write
63297
 
+# the compiler configuration to `libtool'.
63298
 
+m4_defun([_LT_LANG_CXX_CONFIG],
63299
 
+[AC_REQUIRE([_LT_PROG_CXX])dnl
63300
 
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
63301
 
+m4_require([_LT_DECL_EGREP])dnl
63302
 
+
63303
 
+AC_LANG_PUSH(C++)
63304
 
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
63305
 
+_LT_TAGVAR(allow_undefined_flag, $1)=
63306
 
+_LT_TAGVAR(always_export_symbols, $1)=no
63307
 
+_LT_TAGVAR(archive_expsym_cmds, $1)=
63308
 
+_LT_TAGVAR(compiler_needs_object, $1)=no
63309
 
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
63310
 
+_LT_TAGVAR(hardcode_direct, $1)=no
63311
 
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
63312
 
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
63313
 
+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
63314
 
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
63315
 
+_LT_TAGVAR(hardcode_minus_L, $1)=no
63316
 
+_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
63317
 
+_LT_TAGVAR(hardcode_automatic, $1)=no
63318
 
+_LT_TAGVAR(inherit_rpath, $1)=no
63319
 
+_LT_TAGVAR(module_cmds, $1)=
63320
 
+_LT_TAGVAR(module_expsym_cmds, $1)=
63321
 
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
63322
 
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
63323
 
+_LT_TAGVAR(no_undefined_flag, $1)=
63324
 
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
63325
 
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
63326
 
+
63327
 
+# Source file extension for C++ test sources.
63328
 
+ac_ext=cpp
63329
 
+
63330
 
+# Object file extension for compiled C++ test sources.
63331
 
+objext=o
63332
 
+_LT_TAGVAR(objext, $1)=$objext
63333
 
+
63334
 
+# No sense in running all these tests if we already determined that
63335
 
+# the CXX compiler isn't working.  Some variables (like enable_shared)
63336
 
+# are currently assumed to apply to all compilers on this platform,
63337
 
+# and will be corrupted by setting them based on a non-working compiler.
63338
 
+if test "$_lt_caught_CXX_error" != yes; then
63339
 
+  # Code to be used in simple compile tests
63340
 
+  lt_simple_compile_test_code="int some_variable = 0;"
63341
 
+
63342
 
+  # Code to be used in simple link tests
63343
 
+  lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
63344
 
+
63345
 
+  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
63346
 
+  _LT_TAG_COMPILER
63347
 
+
63348
 
+  # save warnings/boilerplate of simple test code
63349
 
+  _LT_COMPILER_BOILERPLATE
63350
 
+  _LT_LINKER_BOILERPLATE
63351
 
+
63352
 
+  # Allow CC to be a program name with arguments.
63353
 
+  lt_save_CC=$CC
63354
 
+  lt_save_LD=$LD
63355
 
+  lt_save_GCC=$GCC
63356
 
+  GCC=$GXX
63357
 
+  lt_save_with_gnu_ld=$with_gnu_ld
63358
 
+  lt_save_path_LD=$lt_cv_path_LD
63359
 
+  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
63360
 
+    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
63361
 
+  else
63362
 
+    $as_unset lt_cv_prog_gnu_ld
63363
 
+  fi
63364
 
+  if test -n "${lt_cv_path_LDCXX+set}"; then
63365
 
+    lt_cv_path_LD=$lt_cv_path_LDCXX
63366
 
+  else
63367
 
+    $as_unset lt_cv_path_LD
63368
 
+  fi
63369
 
+  test -z "${LDCXX+set}" || LD=$LDCXX
63370
 
+  CC=${CXX-"c++"}
63371
 
+  compiler=$CC
63372
 
+  _LT_TAGVAR(compiler, $1)=$CC
63373
 
+  _LT_CC_BASENAME([$compiler])
63374
 
+
63375
 
+  if test -n "$compiler"; then
63376
 
+    # We don't want -fno-exception when compiling C++ code, so set the
63377
 
+    # no_builtin_flag separately
63378
 
+    if test "$GXX" = yes; then
63379
 
+      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
63380
 
+    else
63381
 
+      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
63382
 
+    fi
63383
 
+
63384
 
+    if test "$GXX" = yes; then
63385
 
+      # Set up default GNU C++ configuration
63386
 
+
63387
 
+      LT_PATH_LD
63388
 
+
63389
 
+      # Check if GNU C++ uses GNU ld as the underlying linker, since the
63390
 
+      # archiving commands below assume that GNU ld is being used.
63391
 
+      if test "$with_gnu_ld" = yes; then
63392
 
+        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
63393
 
+        _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'
63394
 
+
63395
 
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
63396
 
+        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
63397
 
+
63398
 
+        # If archive_cmds runs LD, not CC, wlarc should be empty
63399
 
+        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
63400
 
+        #     investigate it a little bit more. (MM)
63401
 
+        wlarc='${wl}'
63402
 
+
63403
 
+        # ancient GNU ld didn't support --whole-archive et. al.
63404
 
+        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
63405
 
+         $GREP 'no-whole-archive' > /dev/null; then
63406
 
+          _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
63407
 
+        else
63408
 
+          _LT_TAGVAR(whole_archive_flag_spec, $1)=
63409
 
+        fi
63410
 
+      else
63411
 
+        with_gnu_ld=no
63412
 
+        wlarc=
63413
 
+
63414
 
+        # A generic and very simple default shared library creation
63415
 
+        # command for GNU C++ for the case where it uses the native
63416
 
+        # linker, instead of GNU ld.  If possible, this setting should
63417
 
+        # overridden to take advantage of the native linker features on
63418
 
+        # the platform it is being used on.
63419
 
+        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
63420
 
+      fi
63421
 
+
63422
 
+      # Commands to make compiler produce verbose output that lists
63423
 
+      # what "hidden" libraries, object files and flags are used when
63424
 
+      # linking a shared library.
63425
 
+      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
63426
 
+
63427
 
+    else
63428
 
+      GXX=no
63429
 
+      with_gnu_ld=no
63430
 
+      wlarc=
63431
 
+    fi
63432
 
+
63433
 
+    # PORTME: fill in a description of your system's C++ link characteristics
63434
 
+    AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
63435
 
+    _LT_TAGVAR(ld_shlibs, $1)=yes
63436
 
+    case $host_os in
63437
 
+      aix3*)
63438
 
+        # FIXME: insert proper C++ library support
63439
 
+        _LT_TAGVAR(ld_shlibs, $1)=no
63440
 
+        ;;
63441
 
+      aix[[4-9]]*)
63442
 
+        if test "$host_cpu" = ia64; then
63443
 
+          # On IA64, the linker does run time linking by default, so we don't
63444
 
+          # have to do anything special.
63445
 
+          aix_use_runtimelinking=no
63446
 
+          exp_sym_flag='-Bexport'
63447
 
+          no_entry_flag=""
63448
 
+        else
63449
 
+          aix_use_runtimelinking=no
63450
 
+
63451
 
+          # Test if we are trying to use run time linking or normal
63452
 
+          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
63453
 
+          # need to do runtime linking.
63454
 
+          case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
63455
 
+           for ld_flag in $LDFLAGS; do
63456
 
+             case $ld_flag in
63457
 
+             *-brtl*)
63458
 
+               aix_use_runtimelinking=yes
63459
 
+               break
63460
 
+               ;;
63461
 
+             esac
63462
 
+           done
63463
 
+           ;;
63464
 
+          esac
63465
 
+
63466
 
+          exp_sym_flag='-bexport'
63467
 
+          no_entry_flag='-bnoentry'
63468
 
+        fi
63469
 
+
63470
 
+        # When large executables or shared objects are built, AIX ld can
63471
 
+        # have problems creating the table of contents.  If linking a library
63472
 
+        # or program results in "error TOC overflow" add -mminimal-toc to
63473
 
+        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
63474
 
+        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
63475
 
+
63476
 
+        _LT_TAGVAR(archive_cmds, $1)=''
63477
 
+        _LT_TAGVAR(hardcode_direct, $1)=yes
63478
 
+        _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
63479
 
+        _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
63480
 
+        _LT_TAGVAR(link_all_deplibs, $1)=yes
63481
 
+        _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
63482
 
+
63483
 
+        if test "$GXX" = yes; then
63484
 
+          case $host_os in aix4.[[012]]|aix4.[[012]].*)
63485
 
+          # We only want to do this on AIX 4.2 and lower, the check
63486
 
+          # below for broken collect2 doesn't work under 4.3+
63487
 
+         collect2name=`${CC} -print-prog-name=collect2`
63488
 
+         if test -f "$collect2name" &&
63489
 
+            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
63490
 
+         then
63491
 
+           # We have reworked collect2
63492
 
+           :
63493
 
+         else
63494
 
+           # We have old collect2
63495
 
+           _LT_TAGVAR(hardcode_direct, $1)=unsupported
63496
 
+           # It fails to find uninstalled libraries when the uninstalled
63497
 
+           # path is not listed in the libpath.  Setting hardcode_minus_L
63498
 
+           # to unsupported forces relinking
63499
 
+           _LT_TAGVAR(hardcode_minus_L, $1)=yes
63500
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
63501
 
+           _LT_TAGVAR(hardcode_libdir_separator, $1)=
63502
 
+         fi
63503
 
+          esac
63504
 
+          shared_flag='-shared'
63505
 
+         if test "$aix_use_runtimelinking" = yes; then
63506
 
+           shared_flag="$shared_flag "'${wl}-G'
63507
 
+         fi
63508
 
+        else
63509
 
+          # not using gcc
63510
 
+          if test "$host_cpu" = ia64; then
63511
 
+         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
63512
 
+         # chokes on -Wl,-G. The following line is correct:
63513
 
+         shared_flag='-G'
63514
 
+          else
63515
 
+           if test "$aix_use_runtimelinking" = yes; then
63516
 
+             shared_flag='${wl}-G'
63517
 
+           else
63518
 
+             shared_flag='${wl}-bM:SRE'
63519
 
+           fi
63520
 
+          fi
63521
 
+        fi
63522
 
+
63523
 
+        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
63524
 
+        # It seems that -bexpall does not export symbols beginning with
63525
 
+        # underscore (_), so it is better to generate a list of symbols to
63526
 
+       # export.
63527
 
+        _LT_TAGVAR(always_export_symbols, $1)=yes
63528
 
+        if test "$aix_use_runtimelinking" = yes; then
63529
 
+          # Warning - without using the other runtime loading flags (-brtl),
63530
 
+          # -berok will link without error, but may produce a broken library.
63531
 
+          _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
63532
 
+          # Determine the default libpath from the value encoded in an empty
63533
 
+          # executable.
63534
 
+          _LT_SYS_MODULE_PATH_AIX
63535
 
+          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
63536
 
+
63537
 
+          _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"
63538
 
+        else
63539
 
+          if test "$host_cpu" = ia64; then
63540
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
63541
 
+           _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
63542
 
+           _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"
63543
 
+          else
63544
 
+           # Determine the default libpath from the value encoded in an
63545
 
+           # empty executable.
63546
 
+           _LT_SYS_MODULE_PATH_AIX
63547
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
63548
 
+           # Warning - without using the other run time loading flags,
63549
 
+           # -berok will link without error, but may produce a broken library.
63550
 
+           _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
63551
 
+           _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
63552
 
+           # Exported symbols can be pulled into shared objects from archives
63553
 
+           _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
63554
 
+           _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
63555
 
+           # This is similar to how AIX traditionally builds its shared
63556
 
+           # libraries.
63557
 
+           _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'
63558
 
+          fi
63559
 
+        fi
63560
 
+        ;;
63561
 
+
63562
 
+      beos*)
63563
 
+       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
63564
 
+         _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
63565
 
+         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
63566
 
+         # support --undefined.  This deserves some investigation.  FIXME
63567
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
63568
 
+       else
63569
 
+         _LT_TAGVAR(ld_shlibs, $1)=no
63570
 
+       fi
63571
 
+       ;;
63572
 
+
63573
 
+      chorus*)
63574
 
+        case $cc_basename in
63575
 
+          *)
63576
 
+         # FIXME: insert proper C++ library support
63577
 
+         _LT_TAGVAR(ld_shlibs, $1)=no
63578
 
+         ;;
63579
 
+        esac
63580
 
+        ;;
63581
 
+
63582
 
+      cygwin* | mingw* | pw32* | cegcc*)
63583
 
+        # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
63584
 
+        # as there is no search path for DLLs.
63585
 
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
63586
 
+        _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
63587
 
+        _LT_TAGVAR(always_export_symbols, $1)=no
63588
 
+        _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
63589
 
+
63590
 
+        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
63591
 
+          _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'
63592
 
+          # If the export-symbols file already is a .def file (1st line
63593
 
+          # is EXPORTS), use it as is; otherwise, prepend...
63594
 
+          _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
63595
 
+           cp $export_symbols $output_objdir/$soname.def;
63596
 
+          else
63597
 
+           echo EXPORTS > $output_objdir/$soname.def;
63598
 
+           cat $export_symbols >> $output_objdir/$soname.def;
63599
 
+          fi~
63600
 
+          $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'
63601
 
+        else
63602
 
+          _LT_TAGVAR(ld_shlibs, $1)=no
63603
 
+        fi
63604
 
+        ;;
63605
 
+      darwin* | rhapsody*)
63606
 
+        _LT_DARWIN_LINKER_FEATURES($1)
63607
 
+       ;;
63608
 
+
63609
 
+      dgux*)
63610
 
+        case $cc_basename in
63611
 
+          ec++*)
63612
 
+           # FIXME: insert proper C++ library support
63613
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
63614
 
+           ;;
63615
 
+          ghcx*)
63616
 
+           # Green Hills C++ Compiler
63617
 
+           # FIXME: insert proper C++ library support
63618
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
63619
 
+           ;;
63620
 
+          *)
63621
 
+           # FIXME: insert proper C++ library support
63622
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
63623
 
+           ;;
63624
 
+        esac
63625
 
+        ;;
63626
 
+
63627
 
+      freebsd[[12]]*)
63628
 
+        # C++ shared libraries reported to be fairly broken before
63629
 
+       # switch to ELF
63630
 
+        _LT_TAGVAR(ld_shlibs, $1)=no
63631
 
+        ;;
63632
 
+
63633
 
+      freebsd-elf*)
63634
 
+        _LT_TAGVAR(archive_cmds_need_lc, $1)=no
63635
 
+        ;;
63636
 
+
63637
 
+      freebsd* | dragonfly*)
63638
 
+        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
63639
 
+        # conventions
63640
 
+        _LT_TAGVAR(ld_shlibs, $1)=yes
63641
 
+        ;;
63642
 
+
63643
 
+      gnu*)
63644
 
+        ;;
63645
 
+
63646
 
+      hpux9*)
63647
 
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
63648
 
+        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
63649
 
+        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
63650
 
+        _LT_TAGVAR(hardcode_direct, $1)=yes
63651
 
+        _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
63652
 
+                                            # but as the default
63653
 
+                                            # location of the library.
63654
 
+
63655
 
+        case $cc_basename in
63656
 
+          CC*)
63657
 
+            # FIXME: insert proper C++ library support
63658
 
+            _LT_TAGVAR(ld_shlibs, $1)=no
63659
 
+            ;;
63660
 
+          aCC*)
63661
 
+            _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'
63662
 
+            # Commands to make compiler produce verbose output that lists
63663
 
+            # what "hidden" libraries, object files and flags are used when
63664
 
+            # linking a shared library.
63665
 
+            #
63666
 
+            # There doesn't appear to be a way to prevent this compiler from
63667
 
+            # explicitly linking system object files so we need to strip them
63668
 
+            # from the output so that they don't get included in the library
63669
 
+            # dependencies.
63670
 
+            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'
63671
 
+            ;;
63672
 
+          *)
63673
 
+            if test "$GXX" = yes; then
63674
 
+              _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'
63675
 
+            else
63676
 
+              # FIXME: insert proper C++ library support
63677
 
+              _LT_TAGVAR(ld_shlibs, $1)=no
63678
 
+            fi
63679
 
+            ;;
63680
 
+        esac
63681
 
+        ;;
63682
 
+
63683
 
+      hpux10*|hpux11*)
63684
 
+        if test $with_gnu_ld = no; then
63685
 
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
63686
 
+         _LT_TAGVAR(hardcode_libdir_separator, $1)=:
63687
 
+
63688
 
+          case $host_cpu in
63689
 
+            hppa*64*|ia64*)
63690
 
+              ;;
63691
 
+            *)
63692
 
+             _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
63693
 
+              ;;
63694
 
+          esac
63695
 
+        fi
63696
 
+        case $host_cpu in
63697
 
+          hppa*64*|ia64*)
63698
 
+            _LT_TAGVAR(hardcode_direct, $1)=no
63699
 
+            _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
63700
 
+            ;;
63701
 
+          *)
63702
 
+            _LT_TAGVAR(hardcode_direct, $1)=yes
63703
 
+            _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
63704
 
+            _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
63705
 
+                                                # but as the default
63706
 
+                                                # location of the library.
63707
 
+            ;;
63708
 
+        esac
63709
 
+
63710
 
+        case $cc_basename in
63711
 
+          CC*)
63712
 
+           # FIXME: insert proper C++ library support
63713
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
63714
 
+           ;;
63715
 
+          aCC*)
63716
 
+           case $host_cpu in
63717
 
+             hppa*64*)
63718
 
+               _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
63719
 
+               ;;
63720
 
+             ia64*)
63721
 
+               _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
63722
 
+               ;;
63723
 
+             *)
63724
 
+               _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'
63725
 
+               ;;
63726
 
+           esac
63727
 
+           # Commands to make compiler produce verbose output that lists
63728
 
+           # what "hidden" libraries, object files and flags are used when
63729
 
+           # linking a shared library.
63730
 
+           #
63731
 
+           # There doesn't appear to be a way to prevent this compiler from
63732
 
+           # explicitly linking system object files so we need to strip them
63733
 
+           # from the output so that they don't get included in the library
63734
 
+           # dependencies.
63735
 
+           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'
63736
 
+           ;;
63737
 
+          *)
63738
 
+           if test "$GXX" = yes; then
63739
 
+             if test $with_gnu_ld = no; then
63740
 
+               case $host_cpu in
63741
 
+                 hppa*64*)
63742
 
+                   _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
63743
 
+                   ;;
63744
 
+                 ia64*)
63745
 
+                   _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'
63746
 
+                   ;;
63747
 
+                 *)
63748
 
+                   _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'
63749
 
+                   ;;
63750
 
+               esac
63751
 
+             fi
63752
 
+           else
63753
 
+             # FIXME: insert proper C++ library support
63754
 
+             _LT_TAGVAR(ld_shlibs, $1)=no
63755
 
+           fi
63756
 
+           ;;
63757
 
+        esac
63758
 
+        ;;
63759
 
+
63760
 
+      interix[[3-9]]*)
63761
 
+       _LT_TAGVAR(hardcode_direct, $1)=no
63762
 
+       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
63763
 
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
63764
 
+       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
63765
 
+       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
63766
 
+       # Instead, shared libraries are loaded at an image base (0x10000000 by
63767
 
+       # default) and relocated if they conflict, which is a slow very memory
63768
 
+       # consuming and fragmenting process.  To avoid this, we pick a random,
63769
 
+       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
63770
 
+       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
63771
 
+       _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'
63772
 
+       _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'
63773
 
+       ;;
63774
 
+      irix5* | irix6*)
63775
 
+        case $cc_basename in
63776
 
+          CC*)
63777
 
+           # SGI C++
63778
 
+           _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'
63779
 
+
63780
 
+           # Archives containing C++ object files must be created using
63781
 
+           # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
63782
 
+           # necessary to make sure instantiated templates are included
63783
 
+           # in the archive.
63784
 
+           _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
63785
 
+           ;;
63786
 
+          *)
63787
 
+           if test "$GXX" = yes; then
63788
 
+             if test "$with_gnu_ld" = no; then
63789
 
+               _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'
63790
 
+             else
63791
 
+               _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'
63792
 
+             fi
63793
 
+           fi
63794
 
+           _LT_TAGVAR(link_all_deplibs, $1)=yes
63795
 
+           ;;
63796
 
+        esac
63797
 
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
63798
 
+        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
63799
 
+        _LT_TAGVAR(inherit_rpath, $1)=yes
63800
 
+        ;;
63801
 
+
63802
 
+      linux* | k*bsd*-gnu)
63803
 
+        case $cc_basename in
63804
 
+          KCC*)
63805
 
+           # Kuck and Associates, Inc. (KAI) C++ Compiler
63806
 
+
63807
 
+           # KCC will only create a shared library if the output file
63808
 
+           # ends with ".so" (or ".sl" for HP-UX), so rename the library
63809
 
+           # to its proper name (with version) after linking.
63810
 
+           _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'
63811
 
+           _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'
63812
 
+           # Commands to make compiler produce verbose output that lists
63813
 
+           # what "hidden" libraries, object files and flags are used when
63814
 
+           # linking a shared library.
63815
 
+           #
63816
 
+           # There doesn't appear to be a way to prevent this compiler from
63817
 
+           # explicitly linking system object files so we need to strip them
63818
 
+           # from the output so that they don't get included in the library
63819
 
+           # dependencies.
63820
 
+           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'
63821
 
+
63822
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
63823
 
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
63824
 
+
63825
 
+           # Archives containing C++ object files must be created using
63826
 
+           # "CC -Bstatic", where "CC" is the KAI C++ compiler.
63827
 
+           _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
63828
 
+           ;;
63829
 
+         icpc* | ecpc* )
63830
 
+           # Intel C++
63831
 
+           with_gnu_ld=yes
63832
 
+           # version 8.0 and above of icpc choke on multiply defined symbols
63833
 
+           # if we add $predep_objects and $postdep_objects, however 7.1 and
63834
 
+           # earlier do not add the objects themselves.
63835
 
+           case `$CC -V 2>&1` in
63836
 
+             *"Version 7."*)
63837
 
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
63838
 
+               _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'
63839
 
+               ;;
63840
 
+             *)  # Version 8.0 or newer
63841
 
+               tmp_idyn=
63842
 
+               case $host_cpu in
63843
 
+                 ia64*) tmp_idyn=' -i_dynamic';;
63844
 
+               esac
63845
 
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
63846
 
+               _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'
63847
 
+               ;;
63848
 
+           esac
63849
 
+           _LT_TAGVAR(archive_cmds_need_lc, $1)=no
63850
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
63851
 
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
63852
 
+           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
63853
 
+           ;;
63854
 
+          pgCC* | pgcpp*)
63855
 
+            # Portland Group C++ compiler
63856
 
+           case `$CC -V` in
63857
 
+           *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
63858
 
+             _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
63859
 
+               rm -rf $tpldir~
63860
 
+               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
63861
 
+               compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
63862
 
+             _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
63863
 
+               rm -rf $tpldir~
63864
 
+               $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
63865
 
+               $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
63866
 
+               $RANLIB $oldlib'
63867
 
+             _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
63868
 
+               rm -rf $tpldir~
63869
 
+               $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
63870
 
+               $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
63871
 
+             _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
63872
 
+               rm -rf $tpldir~
63873
 
+               $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
63874
 
+               $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'
63875
 
+             ;;
63876
 
+           *) # Version 6 will use weak symbols
63877
 
+             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
63878
 
+             _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'
63879
 
+             ;;
63880
 
+           esac
63881
 
+
63882
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
63883
 
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
63884
 
+           _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'
63885
 
+            ;;
63886
 
+         cxx*)
63887
 
+           # Compaq C++
63888
 
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
63889
 
+           _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'
63890
 
+
63891
 
+           runpath_var=LD_RUN_PATH
63892
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
63893
 
+           _LT_TAGVAR(hardcode_libdir_separator, $1)=:
63894
 
+
63895
 
+           # Commands to make compiler produce verbose output that lists
63896
 
+           # what "hidden" libraries, object files and flags are used when
63897
 
+           # linking a shared library.
63898
 
+           #
63899
 
+           # There doesn't appear to be a way to prevent this compiler from
63900
 
+           # explicitly linking system object files so we need to strip them
63901
 
+           # from the output so that they don't get included in the library
63902
 
+           # dependencies.
63903
 
+           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'
63904
 
+           ;;
63905
 
+         xl*)
63906
 
+           # IBM XL 8.0 on PPC, with GNU ld
63907
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
63908
 
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
63909
 
+           _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
63910
 
+           if test "x$supports_anon_versioning" = xyes; then
63911
 
+             _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
63912
 
+               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
63913
 
+               echo "local: *; };" >> $output_objdir/$libname.ver~
63914
 
+               $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
63915
 
+           fi
63916
 
+           ;;
63917
 
+         *)
63918
 
+           case `$CC -V 2>&1 | sed 5q` in
63919
 
+           *Sun\ C*)
63920
 
+             # Sun C++ 5.9
63921
 
+             _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
63922
 
+             _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
63923
 
+             _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'
63924
 
+             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
63925
 
+             _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'
63926
 
+             _LT_TAGVAR(compiler_needs_object, $1)=yes
63927
 
+
63928
 
+             # Not sure whether something based on
63929
 
+             # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
63930
 
+             # would be better.
63931
 
+             output_verbose_link_cmd='echo'
63932
 
+
63933
 
+             # Archives containing C++ object files must be created using
63934
 
+             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
63935
 
+             # necessary to make sure instantiated templates are included
63936
 
+             # in the archive.
63937
 
+             _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
63938
 
+             ;;
63939
 
+           esac
63940
 
+           ;;
63941
 
+       esac
63942
 
+       ;;
63943
 
+
63944
 
+      lynxos*)
63945
 
+        # FIXME: insert proper C++ library support
63946
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
63947
 
+       ;;
63948
 
+
63949
 
+      m88k*)
63950
 
+        # FIXME: insert proper C++ library support
63951
 
+        _LT_TAGVAR(ld_shlibs, $1)=no
63952
 
+       ;;
63953
 
+
63954
 
+      mvs*)
63955
 
+        case $cc_basename in
63956
 
+          cxx*)
63957
 
+           # FIXME: insert proper C++ library support
63958
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
63959
 
+           ;;
63960
 
+         *)
63961
 
+           # FIXME: insert proper C++ library support
63962
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
63963
 
+           ;;
63964
 
+       esac
63965
 
+       ;;
63966
 
+
63967
 
+      netbsd*)
63968
 
+        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
63969
 
+         _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
63970
 
+         wlarc=
63971
 
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
63972
 
+         _LT_TAGVAR(hardcode_direct, $1)=yes
63973
 
+         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
63974
 
+       fi
63975
 
+       # Workaround some broken pre-1.5 toolchains
63976
 
+       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
63977
 
+       ;;
63978
 
+
63979
 
+      *nto* | *qnx*)
63980
 
+        _LT_TAGVAR(ld_shlibs, $1)=yes
63981
 
+       ;;
63982
 
+
63983
 
+      openbsd2*)
63984
 
+        # C++ shared libraries are fairly broken
63985
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
63986
 
+       ;;
63987
 
+
63988
 
+      openbsd*)
63989
 
+       if test -f /usr/libexec/ld.so; then
63990
 
+         _LT_TAGVAR(hardcode_direct, $1)=yes
63991
 
+         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
63992
 
+         _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
63993
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
63994
 
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
63995
 
+         if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
63996
 
+           _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'
63997
 
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
63998
 
+           _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
63999
 
+         fi
64000
 
+         output_verbose_link_cmd=echo
64001
 
+       else
64002
 
+         _LT_TAGVAR(ld_shlibs, $1)=no
64003
 
+       fi
64004
 
+       ;;
64005
 
+
64006
 
+      osf3* | osf4* | osf5*)
64007
 
+        case $cc_basename in
64008
 
+          KCC*)
64009
 
+           # Kuck and Associates, Inc. (KAI) C++ Compiler
64010
 
+
64011
 
+           # KCC will only create a shared library if the output file
64012
 
+           # ends with ".so" (or ".sl" for HP-UX), so rename the library
64013
 
+           # to its proper name (with version) after linking.
64014
 
+           _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'
64015
 
+
64016
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
64017
 
+           _LT_TAGVAR(hardcode_libdir_separator, $1)=:
64018
 
+
64019
 
+           # Archives containing C++ object files must be created using
64020
 
+           # the KAI C++ compiler.
64021
 
+           case $host in
64022
 
+             osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
64023
 
+             *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
64024
 
+           esac
64025
 
+           ;;
64026
 
+          RCC*)
64027
 
+           # Rational C++ 2.4.1
64028
 
+           # FIXME: insert proper C++ library support
64029
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
64030
 
+           ;;
64031
 
+          cxx*)
64032
 
+           case $host in
64033
 
+             osf3*)
64034
 
+               _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
64035
 
+               _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'
64036
 
+               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
64037
 
+               ;;
64038
 
+             *)
64039
 
+               _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
64040
 
+               _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'
64041
 
+               _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
64042
 
+                 echo "-hidden">> $lib.exp~
64043
 
+                 $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~
64044
 
+                 $RM $lib.exp'
64045
 
+               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
64046
 
+               ;;
64047
 
+           esac
64048
 
+
64049
 
+           _LT_TAGVAR(hardcode_libdir_separator, $1)=:
64050
 
+
64051
 
+           # Commands to make compiler produce verbose output that lists
64052
 
+           # what "hidden" libraries, object files and flags are used when
64053
 
+           # linking a shared library.
64054
 
+           #
64055
 
+           # There doesn't appear to be a way to prevent this compiler from
64056
 
+           # explicitly linking system object files so we need to strip them
64057
 
+           # from the output so that they don't get included in the library
64058
 
+           # dependencies.
64059
 
+           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'
64060
 
+           ;;
64061
 
+         *)
64062
 
+           if test "$GXX" = yes && test "$with_gnu_ld" = no; then
64063
 
+             _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
64064
 
+             case $host in
64065
 
+               osf3*)
64066
 
+                 _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'
64067
 
+                 ;;
64068
 
+               *)
64069
 
+                 _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'
64070
 
+                 ;;
64071
 
+             esac
64072
 
+
64073
 
+             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
64074
 
+             _LT_TAGVAR(hardcode_libdir_separator, $1)=:
64075
 
+
64076
 
+             # Commands to make compiler produce verbose output that lists
64077
 
+             # what "hidden" libraries, object files and flags are used when
64078
 
+             # linking a shared library.
64079
 
+             output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
64080
 
+
64081
 
+           else
64082
 
+             # FIXME: insert proper C++ library support
64083
 
+             _LT_TAGVAR(ld_shlibs, $1)=no
64084
 
+           fi
64085
 
+           ;;
64086
 
+        esac
64087
 
+        ;;
64088
 
+
64089
 
+      psos*)
64090
 
+        # FIXME: insert proper C++ library support
64091
 
+        _LT_TAGVAR(ld_shlibs, $1)=no
64092
 
+        ;;
64093
 
+
64094
 
+      sunos4*)
64095
 
+        case $cc_basename in
64096
 
+          CC*)
64097
 
+           # Sun C++ 4.x
64098
 
+           # FIXME: insert proper C++ library support
64099
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
64100
 
+           ;;
64101
 
+          lcc*)
64102
 
+           # Lucid
64103
 
+           # FIXME: insert proper C++ library support
64104
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
64105
 
+           ;;
64106
 
+          *)
64107
 
+           # FIXME: insert proper C++ library support
64108
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
64109
 
+           ;;
64110
 
+        esac
64111
 
+        ;;
64112
 
+
64113
 
+      solaris*)
64114
 
+        case $cc_basename in
64115
 
+          CC*)
64116
 
+           # Sun C++ 4.2, 5.x and Centerline C++
64117
 
+            _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
64118
 
+           _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
64119
 
+           _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
64120
 
+           _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
64121
 
+             $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'
64122
 
+
64123
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
64124
 
+           _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
64125
 
+           case $host_os in
64126
 
+             solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
64127
 
+             *)
64128
 
+               # The compiler driver will combine and reorder linker options,
64129
 
+               # but understands `-z linker_flag'.
64130
 
+               # Supported since Solaris 2.6 (maybe 2.5.1?)
64131
 
+               _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
64132
 
+               ;;
64133
 
+           esac
64134
 
+           _LT_TAGVAR(link_all_deplibs, $1)=yes
64135
 
+
64136
 
+           output_verbose_link_cmd='echo'
64137
 
+
64138
 
+           # Archives containing C++ object files must be created using
64139
 
+           # "CC -xar", where "CC" is the Sun C++ compiler.  This is
64140
 
+           # necessary to make sure instantiated templates are included
64141
 
+           # in the archive.
64142
 
+           _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
64143
 
+           ;;
64144
 
+          gcx*)
64145
 
+           # Green Hills C++ Compiler
64146
 
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
64147
 
+
64148
 
+           # The C++ compiler must be used to create the archive.
64149
 
+           _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
64150
 
+           ;;
64151
 
+          *)
64152
 
+           # GNU C++ compiler with Solaris linker
64153
 
+           if test "$GXX" = yes && test "$with_gnu_ld" = no; then
64154
 
+             _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
64155
 
+             if $CC --version | $GREP -v '^2\.7' > /dev/null; then
64156
 
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
64157
 
+               _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
64158
 
+                 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
64159
 
+
64160
 
+               # Commands to make compiler produce verbose output that lists
64161
 
+               # what "hidden" libraries, object files and flags are used when
64162
 
+               # linking a shared library.
64163
 
+               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
64164
 
+             else
64165
 
+               # g++ 2.7 appears to require `-G' NOT `-shared' on this
64166
 
+               # platform.
64167
 
+               _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
64168
 
+               _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
64169
 
+                 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
64170
 
+
64171
 
+               # Commands to make compiler produce verbose output that lists
64172
 
+               # what "hidden" libraries, object files and flags are used when
64173
 
+               # linking a shared library.
64174
 
+               output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
64175
 
+             fi
64176
 
+
64177
 
+             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
64178
 
+             case $host_os in
64179
 
+               solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
64180
 
+               *)
64181
 
+                 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
64182
 
+                 ;;
64183
 
+             esac
64184
 
+           fi
64185
 
+           ;;
64186
 
+        esac
64187
 
+        ;;
64188
 
+
64189
 
+    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
64190
 
+      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
64191
 
+      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
64192
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
64193
 
+      runpath_var='LD_RUN_PATH'
64194
 
+
64195
 
+      case $cc_basename in
64196
 
+        CC*)
64197
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
64198
 
+         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
64199
 
+         ;;
64200
 
+       *)
64201
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
64202
 
+         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
64203
 
+         ;;
64204
 
+      esac
64205
 
+      ;;
64206
 
+
64207
 
+      sysv5* | sco3.2v5* | sco5v6*)
64208
 
+       # Note: We can NOT use -z defs as we might desire, because we do not
64209
 
+       # link with -lc, and that would cause any symbols used from libc to
64210
 
+       # always be unresolved, which means just about no library would
64211
 
+       # ever link correctly.  If we're not using GNU ld we use -z text
64212
 
+       # though, which does catch some bad symbols but isn't as heavy-handed
64213
 
+       # as -z defs.
64214
 
+       _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
64215
 
+       _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
64216
 
+       _LT_TAGVAR(archive_cmds_need_lc, $1)=no
64217
 
+       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
64218
 
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
64219
 
+       _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
64220
 
+       _LT_TAGVAR(link_all_deplibs, $1)=yes
64221
 
+       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
64222
 
+       runpath_var='LD_RUN_PATH'
64223
 
+
64224
 
+       case $cc_basename in
64225
 
+          CC*)
64226
 
+           _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
64227
 
+           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
64228
 
+           ;;
64229
 
+         *)
64230
 
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
64231
 
+           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
64232
 
+           ;;
64233
 
+       esac
64234
 
+      ;;
64235
 
+
64236
 
+      tandem*)
64237
 
+        case $cc_basename in
64238
 
+          NCC*)
64239
 
+           # NonStop-UX NCC 3.20
64240
 
+           # FIXME: insert proper C++ library support
64241
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
64242
 
+           ;;
64243
 
+          *)
64244
 
+           # FIXME: insert proper C++ library support
64245
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
64246
 
+           ;;
64247
 
+        esac
64248
 
+        ;;
64249
 
+
64250
 
+      vxworks*)
64251
 
+        # FIXME: insert proper C++ library support
64252
 
+        _LT_TAGVAR(ld_shlibs, $1)=no
64253
 
+        ;;
64254
 
+
64255
 
+      *)
64256
 
+        # FIXME: insert proper C++ library support
64257
 
+        _LT_TAGVAR(ld_shlibs, $1)=no
64258
 
+        ;;
64259
 
+    esac
64260
 
+
64261
 
+    AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
64262
 
+    test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
64263
 
+
64264
 
+    _LT_TAGVAR(GCC, $1)="$GXX"
64265
 
+    _LT_TAGVAR(LD, $1)="$LD"
64266
 
+
64267
 
+    ## CAVEAT EMPTOR:
64268
 
+    ## There is no encapsulation within the following macros, do not change
64269
 
+    ## the running order or otherwise move them around unless you know exactly
64270
 
+    ## what you are doing...
64271
 
+    _LT_SYS_HIDDEN_LIBDEPS($1)
64272
 
+    _LT_COMPILER_PIC($1)
64273
 
+    _LT_COMPILER_C_O($1)
64274
 
+    _LT_COMPILER_FILE_LOCKS($1)
64275
 
+    _LT_LINKER_SHLIBS($1)
64276
 
+    _LT_SYS_DYNAMIC_LINKER($1)
64277
 
+    _LT_LINKER_HARDCODE_LIBPATH($1)
64278
 
+
64279
 
+    _LT_CONFIG($1)
64280
 
+  fi # test -n "$compiler"
64281
 
+
64282
 
+  CC=$lt_save_CC
64283
 
+  LDCXX=$LD
64284
 
+  LD=$lt_save_LD
64285
 
+  GCC=$lt_save_GCC
64286
 
+  with_gnu_ld=$lt_save_with_gnu_ld
64287
 
+  lt_cv_path_LDCXX=$lt_cv_path_LD
64288
 
+  lt_cv_path_LD=$lt_save_path_LD
64289
 
+  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
64290
 
+  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
64291
 
+fi # test "$_lt_caught_CXX_error" != yes
64292
 
+
64293
 
+AC_LANG_POP
64294
 
+])# _LT_LANG_CXX_CONFIG
64295
 
+
64296
 
+
64297
 
+# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
64298
 
+# ---------------------------------
64299
 
+# Figure out "hidden" library dependencies from verbose
64300
 
+# compiler output when linking a shared library.
64301
 
+# Parse the compiler output and extract the necessary
64302
 
+# objects, libraries and library flags.
64303
 
+m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
64304
 
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
64305
 
+# Dependencies to place before and after the object being linked:
64306
 
+_LT_TAGVAR(predep_objects, $1)=
64307
 
+_LT_TAGVAR(postdep_objects, $1)=
64308
 
+_LT_TAGVAR(predeps, $1)=
64309
 
+_LT_TAGVAR(postdeps, $1)=
64310
 
+_LT_TAGVAR(compiler_lib_search_path, $1)=
64311
 
+
64312
 
+dnl we can't use the lt_simple_compile_test_code here,
64313
 
+dnl because it contains code intended for an executable,
64314
 
+dnl not a library.  It's possible we should let each
64315
 
+dnl tag define a new lt_????_link_test_code variable,
64316
 
+dnl but it's only used here...
64317
 
+m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
64318
 
+int a;
64319
 
+void foo (void) { a = 0; }
64320
 
+_LT_EOF
64321
 
+], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
64322
 
+class Foo
64323
 
+{
64324
 
+public:
64325
 
+  Foo (void) { a = 0; }
64326
 
+private:
64327
 
+  int a;
64328
 
+};
64329
 
+_LT_EOF
64330
 
+], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
64331
 
+      subroutine foo
64332
 
+      implicit none
64333
 
+      integer*4 a
64334
 
+      a=0
64335
 
+      return
64336
 
+      end
64337
 
+_LT_EOF
64338
 
+], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
64339
 
+      subroutine foo
64340
 
+      implicit none
64341
 
+      integer a
64342
 
+      a=0
64343
 
+      return
64344
 
+      end
64345
 
+_LT_EOF
64346
 
+], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
64347
 
+public class foo {
64348
 
+  private int a;
64349
 
+  public void bar (void) {
64350
 
+    a = 0;
64351
 
+  }
64352
 
+};
64353
 
+_LT_EOF
64354
 
+])
64355
 
+dnl Parse the compiler output and extract the necessary
64356
 
+dnl objects, libraries and library flags.
64357
 
+if AC_TRY_EVAL(ac_compile); then
64358
 
+  # Parse the compiler output and extract the necessary
64359
 
+  # objects, libraries and library flags.
64360
 
+
64361
 
+  # Sentinel used to keep track of whether or not we are before
64362
 
+  # the conftest object file.
64363
 
+  pre_test_object_deps_done=no
64364
 
+
64365
 
+  for p in `eval "$output_verbose_link_cmd"`; do
64366
 
+    case $p in
64367
 
+
64368
 
+    -L* | -R* | -l*)
64369
 
+       # Some compilers place space between "-{L,R}" and the path.
64370
 
+       # Remove the space.
64371
 
+       if test $p = "-L" ||
64372
 
+          test $p = "-R"; then
64373
 
+        prev=$p
64374
 
+        continue
64375
 
+       else
64376
 
+        prev=
64377
 
+       fi
64378
 
+
64379
 
+       if test "$pre_test_object_deps_done" = no; then
64380
 
+        case $p in
64381
 
+        -L* | -R*)
64382
 
+          # Internal compiler library paths should come after those
64383
 
+          # provided the user.  The postdeps already come after the
64384
 
+          # user supplied libs so there is no need to process them.
64385
 
+          if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
64386
 
+            _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
64387
 
+          else
64388
 
+            _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
64389
 
+          fi
64390
 
+          ;;
64391
 
+        # The "-l" case would never come before the object being
64392
 
+        # linked, so don't bother handling this case.
64393
 
+        esac
64394
 
+       else
64395
 
+        if test -z "$_LT_TAGVAR(postdeps, $1)"; then
64396
 
+          _LT_TAGVAR(postdeps, $1)="${prev}${p}"
64397
 
+        else
64398
 
+          _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
64399
 
+        fi
64400
 
+       fi
64401
 
+       ;;
64402
 
+
64403
 
+    *.$objext)
64404
 
+       # This assumes that the test object file only shows up
64405
 
+       # once in the compiler output.
64406
 
+       if test "$p" = "conftest.$objext"; then
64407
 
+        pre_test_object_deps_done=yes
64408
 
+        continue
64409
 
+       fi
64410
 
+
64411
 
+       if test "$pre_test_object_deps_done" = no; then
64412
 
+        if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
64413
 
+          _LT_TAGVAR(predep_objects, $1)="$p"
64414
 
+        else
64415
 
+          _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
64416
 
+        fi
64417
 
+       else
64418
 
+        if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
64419
 
+          _LT_TAGVAR(postdep_objects, $1)="$p"
64420
 
+        else
64421
 
+          _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
64422
 
+        fi
64423
 
+       fi
64424
 
+       ;;
64425
 
+
64426
 
+    *) ;; # Ignore the rest.
64427
 
+
64428
 
+    esac
64429
 
+  done
64430
 
+
64431
 
+  # Clean up.
64432
 
+  rm -f a.out a.exe
64433
 
+else
64434
 
+  echo "libtool.m4: error: problem compiling $1 test program"
64435
 
+fi
64436
 
+
64437
 
+$RM -f confest.$objext
64438
 
+
64439
 
+# PORTME: override above test on systems where it is broken
64440
 
+m4_if([$1], [CXX],
64441
 
+[case $host_os in
64442
 
+interix[[3-9]]*)
64443
 
+  # Interix 3.5 installs completely hosed .la files for C++, so rather than
64444
 
+  # hack all around it, let's just trust "g++" to DTRT.
64445
 
+  _LT_TAGVAR(predep_objects,$1)=
64446
 
+  _LT_TAGVAR(postdep_objects,$1)=
64447
 
+  _LT_TAGVAR(postdeps,$1)=
64448
 
+  ;;
64449
 
+
64450
 
+linux*)
64451
 
+  case `$CC -V 2>&1 | sed 5q` in
64452
 
+  *Sun\ C*)
64453
 
+    # Sun C++ 5.9
64454
 
+
64455
 
+    # The more standards-conforming stlport4 library is
64456
 
+    # incompatible with the Cstd library. Avoid specifying
64457
 
+    # it if it's in CXXFLAGS. Ignore libCrun as
64458
 
+    # -library=stlport4 depends on it.
64459
 
+    case " $CXX $CXXFLAGS " in
64460
 
+    *" -library=stlport4 "*)
64461
 
+      solaris_use_stlport4=yes
64462
 
+      ;;
64463
 
+    esac
64464
 
+
64465
 
+    if test "$solaris_use_stlport4" != yes; then
64466
 
+      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
64467
 
+    fi
64468
 
+    ;;
64469
 
+  esac
64470
 
+  ;;
64471
 
+
64472
 
+solaris*)
64473
 
+  case $cc_basename in
64474
 
+  CC*)
64475
 
+    # The more standards-conforming stlport4 library is
64476
 
+    # incompatible with the Cstd library. Avoid specifying
64477
 
+    # it if it's in CXXFLAGS. Ignore libCrun as
64478
 
+    # -library=stlport4 depends on it.
64479
 
+    case " $CXX $CXXFLAGS " in
64480
 
+    *" -library=stlport4 "*)
64481
 
+      solaris_use_stlport4=yes
64482
 
+      ;;
64483
 
+    esac
64484
 
+
64485
 
+    # Adding this requires a known-good setup of shared libraries for
64486
 
+    # Sun compiler versions before 5.6, else PIC objects from an old
64487
 
+    # archive will be linked into the output, leading to subtle bugs.
64488
 
+    if test "$solaris_use_stlport4" != yes; then
64489
 
+      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
64490
 
+    fi
64491
 
+    ;;
64492
 
+  esac
64493
 
+  ;;
64494
 
+esac
64495
 
+])
64496
 
+
64497
 
+case " $_LT_TAGVAR(postdeps, $1) " in
64498
 
+*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
64499
 
+esac
64500
 
+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=
64501
 
+if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
64502
 
+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
64503
 
+fi
64504
 
+_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
64505
 
+    [The directories searched by this compiler when creating a shared library])
64506
 
+_LT_TAGDECL([], [predep_objects], [1],
64507
 
+    [Dependencies to place before and after the objects being linked to
64508
 
+    create a shared library])
64509
 
+_LT_TAGDECL([], [postdep_objects], [1])
64510
 
+_LT_TAGDECL([], [predeps], [1])
64511
 
+_LT_TAGDECL([], [postdeps], [1])
64512
 
+_LT_TAGDECL([], [compiler_lib_search_path], [1],
64513
 
+    [The library search path used internally by the compiler when linking
64514
 
+    a shared library])
64515
 
+])# _LT_SYS_HIDDEN_LIBDEPS
64516
 
+
64517
 
+
64518
 
+# _LT_PROG_F77
64519
 
+# ------------
64520
 
+# Since AC_PROG_F77 is broken, in that it returns the empty string
64521
 
+# if there is no fortran compiler, we have our own version here.
64522
 
+m4_defun([_LT_PROG_F77],
64523
 
+[
64524
 
+pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
64525
 
+AC_PROG_F77
64526
 
+if test -z "$F77" || test "X$F77" = "Xno"; then
64527
 
+  _lt_disable_F77=yes
64528
 
+fi
64529
 
+popdef([AC_MSG_ERROR])
64530
 
+])# _LT_PROG_F77
64531
 
+
64532
 
+dnl aclocal-1.4 backwards compatibility:
64533
 
+dnl AC_DEFUN([_LT_PROG_F77], [])
64534
 
+
64535
 
+
64536
 
+# _LT_LANG_F77_CONFIG([TAG])
64537
 
+# --------------------------
64538
 
+# Ensure that the configuration variables for a Fortran 77 compiler are
64539
 
+# suitably defined.  These variables are subsequently used by _LT_CONFIG
64540
 
+# to write the compiler configuration to `libtool'.
64541
 
+m4_defun([_LT_LANG_F77_CONFIG],
64542
 
+[AC_REQUIRE([_LT_PROG_F77])dnl
64543
 
+AC_LANG_PUSH(Fortran 77)
64544
 
+
64545
 
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
64546
 
+_LT_TAGVAR(allow_undefined_flag, $1)=
64547
 
+_LT_TAGVAR(always_export_symbols, $1)=no
64548
 
+_LT_TAGVAR(archive_expsym_cmds, $1)=
64549
 
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
64550
 
+_LT_TAGVAR(hardcode_direct, $1)=no
64551
 
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
64552
 
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
64553
 
+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
64554
 
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
64555
 
+_LT_TAGVAR(hardcode_minus_L, $1)=no
64556
 
+_LT_TAGVAR(hardcode_automatic, $1)=no
64557
 
+_LT_TAGVAR(inherit_rpath, $1)=no
64558
 
+_LT_TAGVAR(module_cmds, $1)=
64559
 
+_LT_TAGVAR(module_expsym_cmds, $1)=
64560
 
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
64561
 
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
64562
 
+_LT_TAGVAR(no_undefined_flag, $1)=
64563
 
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
64564
 
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
64565
 
+
64566
 
+# Source file extension for f77 test sources.
64567
 
+ac_ext=f
64568
 
+
64569
 
+# Object file extension for compiled f77 test sources.
64570
 
+objext=o
64571
 
+_LT_TAGVAR(objext, $1)=$objext
64572
 
+
64573
 
+# No sense in running all these tests if we already determined that
64574
 
+# the F77 compiler isn't working.  Some variables (like enable_shared)
64575
 
+# are currently assumed to apply to all compilers on this platform,
64576
 
+# and will be corrupted by setting them based on a non-working compiler.
64577
 
+if test "$_lt_disable_F77" != yes; then
64578
 
+  # Code to be used in simple compile tests
64579
 
+  lt_simple_compile_test_code="\
64580
 
+      subroutine t
64581
 
+      return
64582
 
+      end
64583
 
+"
64584
 
+
64585
 
+  # Code to be used in simple link tests
64586
 
+  lt_simple_link_test_code="\
64587
 
+      program t
64588
 
+      end
64589
 
+"
64590
 
+
64591
 
+  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
64592
 
+  _LT_TAG_COMPILER
64593
 
+
64594
 
+  # save warnings/boilerplate of simple test code
64595
 
+  _LT_COMPILER_BOILERPLATE
64596
 
+  _LT_LINKER_BOILERPLATE
64597
 
+
64598
 
+  # Allow CC to be a program name with arguments.
64599
 
+  lt_save_CC="$CC"
64600
 
+  lt_save_GCC=$GCC
64601
 
+  CC=${F77-"f77"}
64602
 
+  compiler=$CC
64603
 
+  _LT_TAGVAR(compiler, $1)=$CC
64604
 
+  _LT_CC_BASENAME([$compiler])
64605
 
+  GCC=$G77
64606
 
+  if test -n "$compiler"; then
64607
 
+    AC_MSG_CHECKING([if libtool supports shared libraries])
64608
 
+    AC_MSG_RESULT([$can_build_shared])
64609
 
+
64610
 
+    AC_MSG_CHECKING([whether to build shared libraries])
64611
 
+    test "$can_build_shared" = "no" && enable_shared=no
64612
 
+
64613
 
+    # On AIX, shared libraries and static libraries use the same namespace, and
64614
 
+    # are all built from PIC.
64615
 
+    case $host_os in
64616
 
+      aix3*)
64617
 
+        test "$enable_shared" = yes && enable_static=no
64618
 
+        if test -n "$RANLIB"; then
64619
 
+          archive_cmds="$archive_cmds~\$RANLIB \$lib"
64620
 
+          postinstall_cmds='$RANLIB $lib'
64621
 
+        fi
64622
 
+        ;;
64623
 
+      aix[[4-9]]*)
64624
 
+       if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
64625
 
+         test "$enable_shared" = yes && enable_static=no
64626
 
+       fi
64627
 
+        ;;
64628
 
+    esac
64629
 
+    AC_MSG_RESULT([$enable_shared])
64630
 
+
64631
 
+    AC_MSG_CHECKING([whether to build static libraries])
64632
 
+    # Make sure either enable_shared or enable_static is yes.
64633
 
+    test "$enable_shared" = yes || enable_static=yes
64634
 
+    AC_MSG_RESULT([$enable_static])
64635
 
+
64636
 
+    _LT_TAGVAR(GCC, $1)="$G77"
64637
 
+    _LT_TAGVAR(LD, $1)="$LD"
64638
 
+
64639
 
+    ## CAVEAT EMPTOR:
64640
 
+    ## There is no encapsulation within the following macros, do not change
64641
 
+    ## the running order or otherwise move them around unless you know exactly
64642
 
+    ## what you are doing...
64643
 
+    _LT_COMPILER_PIC($1)
64644
 
+    _LT_COMPILER_C_O($1)
64645
 
+    _LT_COMPILER_FILE_LOCKS($1)
64646
 
+    _LT_LINKER_SHLIBS($1)
64647
 
+    _LT_SYS_DYNAMIC_LINKER($1)
64648
 
+    _LT_LINKER_HARDCODE_LIBPATH($1)
64649
 
+
64650
 
+    _LT_CONFIG($1)
64651
 
+  fi # test -n "$compiler"
64652
 
+
64653
 
+  GCC=$lt_save_GCC
64654
 
+  CC="$lt_save_CC"
64655
 
+fi # test "$_lt_disable_F77" != yes
64656
 
+
64657
 
+AC_LANG_POP
64658
 
+])# _LT_LANG_F77_CONFIG
64659
 
+
64660
 
+
64661
 
+# _LT_PROG_FC
64662
 
+# -----------
64663
 
+# Since AC_PROG_FC is broken, in that it returns the empty string
64664
 
+# if there is no fortran compiler, we have our own version here.
64665
 
+m4_defun([_LT_PROG_FC],
64666
 
+[
64667
 
+pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
64668
 
+AC_PROG_FC
64669
 
+if test -z "$FC" || test "X$FC" = "Xno"; then
64670
 
+  _lt_disable_FC=yes
64671
 
+fi
64672
 
+popdef([AC_MSG_ERROR])
64673
 
+])# _LT_PROG_FC
64674
 
+
64675
 
+dnl aclocal-1.4 backwards compatibility:
64676
 
+dnl AC_DEFUN([_LT_PROG_FC], [])
64677
 
+
64678
 
+
64679
 
+# _LT_LANG_FC_CONFIG([TAG])
64680
 
+# -------------------------
64681
 
+# Ensure that the configuration variables for a Fortran compiler are
64682
 
+# suitably defined.  These variables are subsequently used by _LT_CONFIG
64683
 
+# to write the compiler configuration to `libtool'.
64684
 
+m4_defun([_LT_LANG_FC_CONFIG],
64685
 
+[AC_REQUIRE([_LT_PROG_FC])dnl
64686
 
+AC_LANG_PUSH(Fortran)
64687
 
+
64688
 
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
64689
 
+_LT_TAGVAR(allow_undefined_flag, $1)=
64690
 
+_LT_TAGVAR(always_export_symbols, $1)=no
64691
 
+_LT_TAGVAR(archive_expsym_cmds, $1)=
64692
 
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
64693
 
+_LT_TAGVAR(hardcode_direct, $1)=no
64694
 
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
64695
 
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
64696
 
+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
64697
 
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
64698
 
+_LT_TAGVAR(hardcode_minus_L, $1)=no
64699
 
+_LT_TAGVAR(hardcode_automatic, $1)=no
64700
 
+_LT_TAGVAR(inherit_rpath, $1)=no
64701
 
+_LT_TAGVAR(module_cmds, $1)=
64702
 
+_LT_TAGVAR(module_expsym_cmds, $1)=
64703
 
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
64704
 
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
64705
 
+_LT_TAGVAR(no_undefined_flag, $1)=
64706
 
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
64707
 
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
64708
 
+
64709
 
+# Source file extension for fc test sources.
64710
 
+ac_ext=${ac_fc_srcext-f}
64711
 
+
64712
 
+# Object file extension for compiled fc test sources.
64713
 
+objext=o
64714
 
+_LT_TAGVAR(objext, $1)=$objext
64715
 
+
64716
 
+# No sense in running all these tests if we already determined that
64717
 
+# the FC compiler isn't working.  Some variables (like enable_shared)
64718
 
+# are currently assumed to apply to all compilers on this platform,
64719
 
+# and will be corrupted by setting them based on a non-working compiler.
64720
 
+if test "$_lt_disable_FC" != yes; then
64721
 
+  # Code to be used in simple compile tests
64722
 
+  lt_simple_compile_test_code="\
64723
 
+      subroutine t
64724
 
+      return
64725
 
+      end
64726
 
+"
64727
 
+
64728
 
+  # Code to be used in simple link tests
64729
 
+  lt_simple_link_test_code="\
64730
 
+      program t
64731
 
+      end
64732
 
+"
64733
 
+
64734
 
+  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
64735
 
+  _LT_TAG_COMPILER
64736
 
+
64737
 
+  # save warnings/boilerplate of simple test code
64738
 
+  _LT_COMPILER_BOILERPLATE
64739
 
+  _LT_LINKER_BOILERPLATE
64740
 
+
64741
 
+  # Allow CC to be a program name with arguments.
64742
 
+  lt_save_CC="$CC"
64743
 
+  lt_save_GCC=$GCC
64744
 
+  CC=${FC-"f95"}
64745
 
+  compiler=$CC
64746
 
+  GCC=$ac_cv_fc_compiler_gnu
64747
 
+
64748
 
+  _LT_TAGVAR(compiler, $1)=$CC
64749
 
+  _LT_CC_BASENAME([$compiler])
64750
 
+
64751
 
+  if test -n "$compiler"; then
64752
 
+    AC_MSG_CHECKING([if libtool supports shared libraries])
64753
 
+    AC_MSG_RESULT([$can_build_shared])
64754
 
+
64755
 
+    AC_MSG_CHECKING([whether to build shared libraries])
64756
 
+    test "$can_build_shared" = "no" && enable_shared=no
64757
 
+
64758
 
+    # On AIX, shared libraries and static libraries use the same namespace, and
64759
 
+    # are all built from PIC.
64760
 
+    case $host_os in
64761
 
+      aix3*)
64762
 
+        test "$enable_shared" = yes && enable_static=no
64763
 
+        if test -n "$RANLIB"; then
64764
 
+          archive_cmds="$archive_cmds~\$RANLIB \$lib"
64765
 
+          postinstall_cmds='$RANLIB $lib'
64766
 
+        fi
64767
 
+        ;;
64768
 
+      aix[[4-9]]*)
64769
 
+       if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
64770
 
+         test "$enable_shared" = yes && enable_static=no
64771
 
+       fi
64772
 
+        ;;
64773
 
+    esac
64774
 
+    AC_MSG_RESULT([$enable_shared])
64775
 
+
64776
 
+    AC_MSG_CHECKING([whether to build static libraries])
64777
 
+    # Make sure either enable_shared or enable_static is yes.
64778
 
+    test "$enable_shared" = yes || enable_static=yes
64779
 
+    AC_MSG_RESULT([$enable_static])
64780
 
+
64781
 
+    _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
64782
 
+    _LT_TAGVAR(LD, $1)="$LD"
64783
 
+
64784
 
+    ## CAVEAT EMPTOR:
64785
 
+    ## There is no encapsulation within the following macros, do not change
64786
 
+    ## the running order or otherwise move them around unless you know exactly
64787
 
+    ## what you are doing...
64788
 
+    _LT_SYS_HIDDEN_LIBDEPS($1)
64789
 
+    _LT_COMPILER_PIC($1)
64790
 
+    _LT_COMPILER_C_O($1)
64791
 
+    _LT_COMPILER_FILE_LOCKS($1)
64792
 
+    _LT_LINKER_SHLIBS($1)
64793
 
+    _LT_SYS_DYNAMIC_LINKER($1)
64794
 
+    _LT_LINKER_HARDCODE_LIBPATH($1)
64795
 
+
64796
 
+    _LT_CONFIG($1)
64797
 
+  fi # test -n "$compiler"
64798
 
+
64799
 
+  GCC=$lt_save_GCC
64800
 
+  CC="$lt_save_CC"
64801
 
+fi # test "$_lt_disable_FC" != yes
64802
 
+
64803
 
+AC_LANG_POP
64804
 
+])# _LT_LANG_FC_CONFIG
64805
 
+
64806
 
+
64807
 
+# _LT_LANG_GCJ_CONFIG([TAG])
64808
 
+# --------------------------
64809
 
+# Ensure that the configuration variables for the GNU Java Compiler compiler
64810
 
+# are suitably defined.  These variables are subsequently used by _LT_CONFIG
64811
 
+# to write the compiler configuration to `libtool'.
64812
 
+m4_defun([_LT_LANG_GCJ_CONFIG],
64813
 
+[AC_REQUIRE([LT_PROG_GCJ])dnl
64814
 
+AC_LANG_SAVE
64815
 
+
64816
 
+# Source file extension for Java test sources.
64817
 
+ac_ext=java
64818
 
+
64819
 
+# Object file extension for compiled Java test sources.
64820
 
+objext=o
64821
 
+_LT_TAGVAR(objext, $1)=$objext
64822
 
+
64823
 
+# Code to be used in simple compile tests
64824
 
+lt_simple_compile_test_code="class foo {}"
64825
 
+
64826
 
+# Code to be used in simple link tests
64827
 
+lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
64828
 
+
64829
 
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
64830
 
+_LT_TAG_COMPILER
64831
 
+
64832
 
+# save warnings/boilerplate of simple test code
64833
 
+_LT_COMPILER_BOILERPLATE
64834
 
+_LT_LINKER_BOILERPLATE
64835
 
+
64836
 
+# Allow CC to be a program name with arguments.
64837
 
+lt_save_CC="$CC"
64838
 
+lt_save_GCC=$GCC
64839
 
+GCC=yes
64840
 
+CC=${GCJ-"gcj"}
64841
 
+compiler=$CC
64842
 
+_LT_TAGVAR(compiler, $1)=$CC
64843
 
+_LT_TAGVAR(LD, $1)="$LD"
64844
 
+_LT_CC_BASENAME([$compiler])
64845
 
+
64846
 
+# GCJ did not exist at the time GCC didn't implicitly link libc in.
64847
 
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
64848
 
+
64849
 
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
64850
 
+
64851
 
+## CAVEAT EMPTOR:
64852
 
+## There is no encapsulation within the following macros, do not change
64853
 
+## the running order or otherwise move them around unless you know exactly
64854
 
+## what you are doing...
64855
 
+if test -n "$compiler"; then
64856
 
+  _LT_COMPILER_NO_RTTI($1)
64857
 
+  _LT_COMPILER_PIC($1)
64858
 
+  _LT_COMPILER_C_O($1)
64859
 
+  _LT_COMPILER_FILE_LOCKS($1)
64860
 
+  _LT_LINKER_SHLIBS($1)
64861
 
+  _LT_LINKER_HARDCODE_LIBPATH($1)
64862
 
+
64863
 
+  _LT_CONFIG($1)
64864
 
+fi
64865
 
+
64866
 
+AC_LANG_RESTORE
64867
 
+
64868
 
+GCC=$lt_save_GCC
64869
 
+CC="$lt_save_CC"
64870
 
+])# _LT_LANG_GCJ_CONFIG
64871
 
+
64872
 
+
64873
 
+# _LT_LANG_RC_CONFIG([TAG])
64874
 
+# -------------------------
64875
 
+# Ensure that the configuration variables for the Windows resource compiler
64876
 
+# are suitably defined.  These variables are subsequently used by _LT_CONFIG
64877
 
+# to write the compiler configuration to `libtool'.
64878
 
+m4_defun([_LT_LANG_RC_CONFIG],
64879
 
+[AC_REQUIRE([LT_PROG_RC])dnl
64880
 
+AC_LANG_SAVE
64881
 
+
64882
 
+# Source file extension for RC test sources.
64883
 
+ac_ext=rc
64884
 
+
64885
 
+# Object file extension for compiled RC test sources.
64886
 
+objext=o
64887
 
+_LT_TAGVAR(objext, $1)=$objext
64888
 
+
64889
 
+# Code to be used in simple compile tests
64890
 
+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
64891
 
+
64892
 
+# Code to be used in simple link tests
64893
 
+lt_simple_link_test_code="$lt_simple_compile_test_code"
64894
 
+
64895
 
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
64896
 
+_LT_TAG_COMPILER
64897
 
+
64898
 
+# save warnings/boilerplate of simple test code
64899
 
+_LT_COMPILER_BOILERPLATE
64900
 
+_LT_LINKER_BOILERPLATE
64901
 
+
64902
 
+# Allow CC to be a program name with arguments.
64903
 
+lt_save_CC="$CC"
64904
 
+lt_save_GCC=$GCC
64905
 
+GCC=
64906
 
+CC=${RC-"windres"}
64907
 
+compiler=$CC
64908
 
+_LT_TAGVAR(compiler, $1)=$CC
64909
 
+_LT_CC_BASENAME([$compiler])
64910
 
+_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
64911
 
+
64912
 
+if test -n "$compiler"; then
64913
 
+  :
64914
 
+  _LT_CONFIG($1)
64915
 
+fi
64916
 
+
64917
 
+GCC=$lt_save_GCC
64918
 
+AC_LANG_RESTORE
64919
 
+CC="$lt_save_CC"
64920
 
+])# _LT_LANG_RC_CONFIG
64921
 
+
64922
 
+
64923
 
+# LT_PROG_GCJ
64924
 
+# -----------
64925
 
+AC_DEFUN([LT_PROG_GCJ],
64926
 
+[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
64927
 
+  [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
64928
 
+    [AC_CHECK_TOOL(GCJ, gcj,)
64929
 
+      test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
64930
 
+      AC_SUBST(GCJFLAGS)])])[]dnl
64931
 
+])
64932
 
+
64933
 
+# Old name:
64934
 
+AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
64935
 
+dnl aclocal-1.4 backwards compatibility:
64936
 
+dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
64937
 
+
64938
 
+
64939
 
+# LT_PROG_RC
64940
 
+# ----------
64941
 
+AC_DEFUN([LT_PROG_RC],
64942
 
+[AC_CHECK_TOOL(RC, windres,)
64943
 
+])
64944
 
+
64945
 
+# Old name:
64946
 
+AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
64947
 
+dnl aclocal-1.4 backwards compatibility:
64948
 
+dnl AC_DEFUN([LT_AC_PROG_RC], [])
64949
 
+
64950
 
+
64951
 
+# _LT_DECL_EGREP
64952
 
+# --------------
64953
 
+# If we don't have a new enough Autoconf to choose the best grep
64954
 
+# available, choose the one first in the user's PATH.
64955
 
+m4_defun([_LT_DECL_EGREP],
64956
 
+[AC_REQUIRE([AC_PROG_EGREP])dnl
64957
 
+AC_REQUIRE([AC_PROG_FGREP])dnl
64958
 
+test -z "$GREP" && GREP=grep
64959
 
+_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
64960
 
+_LT_DECL([], [EGREP], [1], [An ERE matcher])
64961
 
+_LT_DECL([], [FGREP], [1], [A literal string matcher])
64962
 
+dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
64963
 
+AC_SUBST([GREP])
64964
 
+])
64965
 
+
64966
 
+
64967
 
+# _LT_DECL_OBJDUMP
64968
 
+# --------------
64969
 
+# If we don't have a new enough Autoconf to choose the best objdump
64970
 
+# available, choose the one first in the user's PATH.
64971
 
+m4_defun([_LT_DECL_OBJDUMP],
64972
 
+[AC_CHECK_TOOL(OBJDUMP, objdump, false)
64973
 
+test -z "$OBJDUMP" && OBJDUMP=objdump
64974
 
+_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
64975
 
+AC_SUBST([OBJDUMP])
64976
 
+])
64977
 
+
64978
 
+
64979
 
+# _LT_DECL_SED
64980
 
+# ------------
64981
 
+# Check for a fully-functional sed program, that truncates
64982
 
+# as few characters as possible.  Prefer GNU sed if found.
64983
 
+m4_defun([_LT_DECL_SED],
64984
 
+[AC_PROG_SED
64985
 
+test -z "$SED" && SED=sed
64986
 
+Xsed="$SED -e 1s/^X//"
64987
 
+_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
64988
 
+_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
64989
 
+    [Sed that helps us avoid accidentally triggering echo(1) options like -n])
64990
 
+])# _LT_DECL_SED
64991
 
+
64992
 
+m4_ifndef([AC_PROG_SED], [
64993
 
+############################################################
64994
 
+# NOTE: This macro has been submitted for inclusion into   #
64995
 
+#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
64996
 
+#  a released version of Autoconf we should remove this    #
64997
 
+#  macro and use it instead.                               #
64998
 
+############################################################
64999
 
+
65000
 
+m4_defun([AC_PROG_SED],
65001
 
+[AC_MSG_CHECKING([for a sed that does not truncate output])
65002
 
+AC_CACHE_VAL(lt_cv_path_SED,
65003
 
+[# Loop through the user's path and test for sed and gsed.
65004
 
+# Then use that list of sed's as ones to test for truncation.
65005
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65006
 
+for as_dir in $PATH
65007
 
+do
65008
 
+  IFS=$as_save_IFS
65009
 
+  test -z "$as_dir" && as_dir=.
65010
 
+  for lt_ac_prog in sed gsed; do
65011
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
65012
 
+      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
65013
 
+        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
65014
 
+      fi
65015
 
+    done
65016
 
+  done
65017
 
+done
65018
 
+IFS=$as_save_IFS
65019
 
+lt_ac_max=0
65020
 
+lt_ac_count=0
65021
 
+# Add /usr/xpg4/bin/sed as it is typically found on Solaris
65022
 
+# along with /bin/sed that truncates output.
65023
 
+for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
65024
 
+  test ! -f $lt_ac_sed && continue
65025
 
+  cat /dev/null > conftest.in
65026
 
+  lt_ac_count=0
65027
 
+  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
65028
 
+  # Check for GNU sed and select it if it is found.
65029
 
+  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
65030
 
+    lt_cv_path_SED=$lt_ac_sed
65031
 
+    break
65032
 
+  fi
65033
 
+  while true; do
65034
 
+    cat conftest.in conftest.in >conftest.tmp
65035
 
+    mv conftest.tmp conftest.in
65036
 
+    cp conftest.in conftest.nl
65037
 
+    echo >>conftest.nl
65038
 
+    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
65039
 
+    cmp -s conftest.out conftest.nl || break
65040
 
+    # 10000 chars as input seems more than enough
65041
 
+    test $lt_ac_count -gt 10 && break
65042
 
+    lt_ac_count=`expr $lt_ac_count + 1`
65043
 
+    if test $lt_ac_count -gt $lt_ac_max; then
65044
 
+      lt_ac_max=$lt_ac_count
65045
 
+      lt_cv_path_SED=$lt_ac_sed
65046
 
+    fi
65047
 
+  done
65048
 
+done
65049
 
+])
65050
 
+SED=$lt_cv_path_SED
65051
 
+AC_SUBST([SED])
65052
 
+AC_MSG_RESULT([$SED])
65053
 
+])#AC_PROG_SED
65054
 
+])#m4_ifndef
65055
 
+
65056
 
+# Old name:
65057
 
+AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
65058
 
+dnl aclocal-1.4 backwards compatibility:
65059
 
+dnl AC_DEFUN([LT_AC_PROG_SED], [])
65060
 
+
65061
 
+
65062
 
+# _LT_CHECK_SHELL_FEATURES
65063
 
+# ------------------------
65064
 
+# Find out whether the shell is Bourne or XSI compatible,
65065
 
+# or has some other useful features.
65066
 
+m4_defun([_LT_CHECK_SHELL_FEATURES],
65067
 
+[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
65068
 
+# Try some XSI features
65069
 
+xsi_shell=no
65070
 
+( _lt_dummy="a/b/c"
65071
 
+  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
65072
 
+      = c,a/b,, \
65073
 
+    && eval 'test $(( 1 + 1 )) -eq 2 \
65074
 
+    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
65075
 
+  && xsi_shell=yes
65076
 
+AC_MSG_RESULT([$xsi_shell])
65077
 
+_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
65078
 
+
65079
 
+AC_MSG_CHECKING([whether the shell understands "+="])
65080
 
+lt_shell_append=no
65081
 
+( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
65082
 
+    >/dev/null 2>&1 \
65083
 
+  && lt_shell_append=yes
65084
 
+AC_MSG_RESULT([$lt_shell_append])
65085
 
+_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
65086
 
+
65087
 
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
65088
 
+  lt_unset=unset
65089
 
+else
65090
 
+  lt_unset=false
65091
 
+fi
65092
 
+_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
65093
 
+
65094
 
+# test EBCDIC or ASCII
65095
 
+case `echo X|tr X '\101'` in
65096
 
+ A) # ASCII based system
65097
 
+    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
65098
 
+  lt_SP2NL='tr \040 \012'
65099
 
+  lt_NL2SP='tr \015\012 \040\040'
65100
 
+  ;;
65101
 
+ *) # EBCDIC based system
65102
 
+  lt_SP2NL='tr \100 \n'
65103
 
+  lt_NL2SP='tr \r\n \100\100'
65104
 
+  ;;
65105
 
+esac
65106
 
+_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
65107
 
+_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
65108
 
+])# _LT_CHECK_SHELL_FEATURES
65109
 
+
65110
 
+
65111
 
+# _LT_PROG_XSI_SHELLFNS
65112
 
+# ---------------------
65113
 
+# Bourne and XSI compatible variants of some useful shell functions.
65114
 
+m4_defun([_LT_PROG_XSI_SHELLFNS],
65115
 
+[case $xsi_shell in
65116
 
+  yes)
65117
 
+    cat << \_LT_EOF >> "$cfgfile"
65118
 
+
65119
 
+# func_dirname file append nondir_replacement
65120
 
+# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
65121
 
+# otherwise set result to NONDIR_REPLACEMENT.
65122
 
+func_dirname ()
65123
 
+{
65124
 
+  case ${1} in
65125
 
+    */*) func_dirname_result="${1%/*}${2}" ;;
65126
 
+    *  ) func_dirname_result="${3}" ;;
65127
 
+  esac
65128
 
+}
65129
 
+
65130
 
+# func_basename file
65131
 
+func_basename ()
65132
 
+{
65133
 
+  func_basename_result="${1##*/}"
65134
 
+}
65135
 
+
65136
 
+# func_dirname_and_basename file append nondir_replacement
65137
 
+# perform func_basename and func_dirname in a single function
65138
 
+# call:
65139
 
+#   dirname:  Compute the dirname of FILE.  If nonempty,
65140
 
+#             add APPEND to the result, otherwise set result
65141
 
+#             to NONDIR_REPLACEMENT.
65142
 
+#             value returned in "$func_dirname_result"
65143
 
+#   basename: Compute filename of FILE.
65144
 
+#             value retuned in "$func_basename_result"
65145
 
+# Implementation must be kept synchronized with func_dirname
65146
 
+# and func_basename. For efficiency, we do not delegate to
65147
 
+# those functions but instead duplicate the functionality here.
65148
 
+func_dirname_and_basename ()
65149
 
+{
65150
 
+  case ${1} in
65151
 
+    */*) func_dirname_result="${1%/*}${2}" ;;
65152
 
+    *  ) func_dirname_result="${3}" ;;
65153
 
+  esac
65154
 
+  func_basename_result="${1##*/}"
65155
 
+}
65156
 
+
65157
 
+# func_stripname prefix suffix name
65158
 
+# strip PREFIX and SUFFIX off of NAME.
65159
 
+# PREFIX and SUFFIX must not contain globbing or regex special
65160
 
+# characters, hashes, percent signs, but SUFFIX may contain a leading
65161
 
+# dot (in which case that matches only a dot).
65162
 
+func_stripname ()
65163
 
+{
65164
 
+  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
65165
 
+  # positional parameters, so assign one to ordinary parameter first.
65166
 
+  func_stripname_result=${3}
65167
 
+  func_stripname_result=${func_stripname_result#"${1}"}
65168
 
+  func_stripname_result=${func_stripname_result%"${2}"}
65169
 
+}
65170
 
+
65171
 
+# func_opt_split
65172
 
+func_opt_split ()
65173
 
+{
65174
 
+  func_opt_split_opt=${1%%=*}
65175
 
+  func_opt_split_arg=${1#*=}
65176
 
+}
65177
 
+
65178
 
+# func_lo2o object
65179
 
+func_lo2o ()
65180
 
+{
65181
 
+  case ${1} in
65182
 
+    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
65183
 
+    *)    func_lo2o_result=${1} ;;
65184
 
+  esac
65185
 
+}
65186
 
+
65187
 
+# func_xform libobj-or-source
65188
 
+func_xform ()
65189
 
+{
65190
 
+  func_xform_result=${1%.*}.lo
65191
 
+}
65192
 
+
65193
 
+# func_arith arithmetic-term...
65194
 
+func_arith ()
65195
 
+{
65196
 
+  func_arith_result=$(( $[*] ))
65197
 
+}
65198
 
+
65199
 
+# func_len string
65200
 
+# STRING may not start with a hyphen.
65201
 
+func_len ()
65202
 
+{
65203
 
+  func_len_result=${#1}
65204
 
+}
65205
 
+
65206
 
+_LT_EOF
65207
 
+    ;;
65208
 
+  *) # Bourne compatible functions.
65209
 
+    cat << \_LT_EOF >> "$cfgfile"
65210
 
+
65211
 
+# func_dirname file append nondir_replacement
65212
 
+# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
65213
 
+# otherwise set result to NONDIR_REPLACEMENT.
65214
 
+func_dirname ()
65215
 
+{
65216
 
+  # Extract subdirectory from the argument.
65217
 
+  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
65218
 
+  if test "X$func_dirname_result" = "X${1}"; then
65219
 
+    func_dirname_result="${3}"
65220
 
+  else
65221
 
+    func_dirname_result="$func_dirname_result${2}"
65222
 
+  fi
65223
 
+}
65224
 
+
65225
 
+# func_basename file
65226
 
+func_basename ()
65227
 
+{
65228
 
+  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
65229
 
+}
65230
 
+
65231
 
+dnl func_dirname_and_basename
65232
 
+dnl A portable version of this function is already defined in general.m4sh
65233
 
+dnl so there is no need for it here.
65234
 
+
65235
 
+# func_stripname prefix suffix name
65236
 
+# strip PREFIX and SUFFIX off of NAME.
65237
 
+# PREFIX and SUFFIX must not contain globbing or regex special
65238
 
+# characters, hashes, percent signs, but SUFFIX may contain a leading
65239
 
+# dot (in which case that matches only a dot).
65240
 
+# func_strip_suffix prefix name
65241
 
+func_stripname ()
65242
 
+{
65243
 
+  case ${2} in
65244
 
+    .*) func_stripname_result=`$ECHO "X${3}" \
65245
 
+           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
65246
 
+    *)  func_stripname_result=`$ECHO "X${3}" \
65247
 
+           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
65248
 
+  esac
65249
 
+}
65250
 
+
65251
 
+# sed scripts:
65252
 
+my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
65253
 
+my_sed_long_arg='1s/^-[[^=]]*=//'
65254
 
+
65255
 
+# func_opt_split
65256
 
+func_opt_split ()
65257
 
+{
65258
 
+  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
65259
 
+  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
65260
 
+}
65261
 
+
65262
 
+# func_lo2o object
65263
 
+func_lo2o ()
65264
 
+{
65265
 
+  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
65266
 
+}
65267
 
+
65268
 
+# func_xform libobj-or-source
65269
 
+func_xform ()
65270
 
+{
65271
 
+  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
65272
 
+}
65273
 
+
65274
 
+# func_arith arithmetic-term...
65275
 
+func_arith ()
65276
 
+{
65277
 
+  func_arith_result=`expr "$[@]"`
65278
 
+}
65279
 
+
65280
 
+# func_len string
65281
 
+# STRING may not start with a hyphen.
65282
 
+func_len ()
65283
 
+{
65284
 
+  func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
65285
 
+}
65286
 
+
65287
 
+_LT_EOF
65288
 
+esac
65289
 
+
65290
 
+case $lt_shell_append in
65291
 
+  yes)
65292
 
+    cat << \_LT_EOF >> "$cfgfile"
65293
 
+
65294
 
+# func_append var value
65295
 
+# Append VALUE to the end of shell variable VAR.
65296
 
+func_append ()
65297
 
+{
65298
 
+  eval "$[1]+=\$[2]"
65299
 
+}
65300
 
+_LT_EOF
65301
 
+    ;;
65302
 
+  *)
65303
 
+    cat << \_LT_EOF >> "$cfgfile"
65304
 
+
65305
 
+# func_append var value
65306
 
+# Append VALUE to the end of shell variable VAR.
65307
 
+func_append ()
65308
 
+{
65309
 
+  eval "$[1]=\$$[1]\$[2]"
65310
 
+}
65311
 
+
65312
 
+_LT_EOF
65313
 
+    ;;
65314
 
+  esac
65315
 
+])
65316
 
--- sound-juicer-2.26.1/m4/lt~obsolete.m4       1970-01-01 01:00:00.000000000 +0100
65317
 
+++ sound-juicer-2.26.1.new/m4/lt~obsolete.m4   2009-04-13 19:04:05.000000000 +0100
65318
 
@@ -0,0 +1,92 @@
65319
 
+# lt~obsolete.m4 -- aclocal satisfying obsolete definitions.    -*-Autoconf-*-
65320
 
+#
65321
 
+#   Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
65322
 
+#   Written by Scott James Remnant, 2004.
65323
 
+#
65324
 
+# This file is free software; the Free Software Foundation gives
65325
 
+# unlimited permission to copy and/or distribute it, with or without
65326
 
+# modifications, as long as this notice is preserved.
65327
 
+
65328
 
+# serial 4 lt~obsolete.m4
65329
 
+
65330
 
+# These exist entirely to fool aclocal when bootstrapping libtool.
65331
 
+#
65332
 
+# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
65333
 
+# which have later been changed to m4_define as they aren't part of the
65334
 
+# exported API, or moved to Autoconf or Automake where they belong.
65335
 
+#
65336
 
+# The trouble is, aclocal is a bit thick.  It'll see the old AC_DEFUN
65337
 
+# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
65338
 
+# using a macro with the same name in our local m4/libtool.m4 it'll
65339
 
+# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
65340
 
+# and doesn't know about Autoconf macros at all.)
65341
 
+#
65342
 
+# So we provide this file, which has a silly filename so it's always
65343
 
+# included after everything else.  This provides aclocal with the
65344
 
+# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
65345
 
+# because those macros already exist, or will be overwritten later.
65346
 
+# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. 
65347
 
+#
65348
 
+# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
65349
 
+# Yes, that means every name once taken will need to remain here until
65350
 
+# we give up compatibility with versions before 1.7, at which point
65351
 
+# we need to keep only those names which we still refer to.
65352
 
+
65353
 
+# This is to help aclocal find these macros, as it can't see m4_define.
65354
 
+AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
65355
 
+
65356
 
+m4_ifndef([AC_LIBTOOL_LINKER_OPTION],  [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
65357
 
+m4_ifndef([AC_PROG_EGREP],             [AC_DEFUN([AC_PROG_EGREP])])
65358
 
+m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH],        [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
65359
 
+m4_ifndef([_LT_AC_SHELL_INIT],         [AC_DEFUN([_LT_AC_SHELL_INIT])])
65360
 
+m4_ifndef([_LT_AC_SYS_LIBPATH_AIX],    [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
65361
 
+m4_ifndef([_LT_PROG_LTMAIN],           [AC_DEFUN([_LT_PROG_LTMAIN])])
65362
 
+m4_ifndef([_LT_AC_TAGVAR],             [AC_DEFUN([_LT_AC_TAGVAR])])
65363
 
+m4_ifndef([AC_LTDL_ENABLE_INSTALL],    [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
65364
 
+m4_ifndef([AC_LTDL_PREOPEN],           [AC_DEFUN([AC_LTDL_PREOPEN])])
65365
 
+m4_ifndef([_LT_AC_SYS_COMPILER],       [AC_DEFUN([_LT_AC_SYS_COMPILER])])
65366
 
+m4_ifndef([_LT_AC_LOCK],               [AC_DEFUN([_LT_AC_LOCK])])
65367
 
+m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE],        [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
65368
 
+m4_ifndef([_LT_AC_TRY_DLOPEN_SELF],    [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
65369
 
+m4_ifndef([AC_LIBTOOL_PROG_CC_C_O],    [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
65370
 
+m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
65371
 
+m4_ifndef([AC_LIBTOOL_OBJDIR],         [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
65372
 
+m4_ifndef([AC_LTDL_OBJDIR],            [AC_DEFUN([AC_LTDL_OBJDIR])])
65373
 
+m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
65374
 
+m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP],  [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
65375
 
+m4_ifndef([AC_PATH_MAGIC],             [AC_DEFUN([AC_PATH_MAGIC])])
65376
 
+m4_ifndef([AC_PROG_LD_GNU],            [AC_DEFUN([AC_PROG_LD_GNU])])
65377
 
+m4_ifndef([AC_PROG_LD_RELOAD_FLAG],    [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
65378
 
+m4_ifndef([AC_DEPLIBS_CHECK_METHOD],   [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
65379
 
+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
65380
 
+m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
65381
 
+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
65382
 
+m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
65383
 
+m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
65384
 
+m4_ifndef([LT_AC_PROG_EGREP],          [AC_DEFUN([LT_AC_PROG_EGREP])])
65385
 
+m4_ifndef([LT_AC_PROG_SED],            [AC_DEFUN([LT_AC_PROG_SED])])
65386
 
+m4_ifndef([_LT_CC_BASENAME],           [AC_DEFUN([_LT_CC_BASENAME])])
65387
 
+m4_ifndef([_LT_COMPILER_BOILERPLATE],  [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
65388
 
+m4_ifndef([_LT_LINKER_BOILERPLATE],    [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
65389
 
+m4_ifndef([_AC_PROG_LIBTOOL],          [AC_DEFUN([_AC_PROG_LIBTOOL])])
65390
 
+m4_ifndef([AC_LIBTOOL_SETUP],          [AC_DEFUN([AC_LIBTOOL_SETUP])])
65391
 
+m4_ifndef([_LT_AC_CHECK_DLFCN],                [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
65392
 
+m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER],     [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
65393
 
+m4_ifndef([_LT_AC_TAGCONFIG],          [AC_DEFUN([_LT_AC_TAGCONFIG])])
65394
 
+m4_ifndef([AC_DISABLE_FAST_INSTALL],   [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
65395
 
+m4_ifndef([_LT_AC_LANG_CXX],           [AC_DEFUN([_LT_AC_LANG_CXX])])
65396
 
+m4_ifndef([_LT_AC_LANG_F77],           [AC_DEFUN([_LT_AC_LANG_F77])])
65397
 
+m4_ifndef([_LT_AC_LANG_GCJ],           [AC_DEFUN([_LT_AC_LANG_GCJ])])
65398
 
+m4_ifndef([AC_LIBTOOL_RC],             [AC_DEFUN([AC_LIBTOOL_RC])])
65399
 
+m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG],  [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
65400
 
+m4_ifndef([_LT_AC_LANG_C_CONFIG],      [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
65401
 
+m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
65402
 
+m4_ifndef([_LT_AC_LANG_CXX_CONFIG],    [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
65403
 
+m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
65404
 
+m4_ifndef([_LT_AC_LANG_F77_CONFIG],    [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
65405
 
+m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
65406
 
+m4_ifndef([_LT_AC_LANG_GCJ_CONFIG],    [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
65407
 
+m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
65408
 
+m4_ifndef([_LT_AC_LANG_RC_CONFIG],     [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
65409
 
+m4_ifndef([AC_LIBTOOL_CONFIG],         [AC_DEFUN([AC_LIBTOOL_CONFIG])])
65410
 
+m4_ifndef([_LT_AC_FILE_LTDLL_C],       [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
65411
 
--- sound-juicer-2.26.1/m4/ltoptions.m4 1970-01-01 01:00:00.000000000 +0100
65412
 
+++ sound-juicer-2.26.1.new/m4/ltoptions.m4     2009-04-13 19:04:05.000000000 +0100
65413
 
@@ -0,0 +1,368 @@
65414
 
+# Helper functions for option handling.                    -*- Autoconf -*-
65415
 
+#
65416
 
+#   Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
65417
 
+#   Written by Gary V. Vaughan, 2004
65418
 
+#
65419
 
+# This file is free software; the Free Software Foundation gives
65420
 
+# unlimited permission to copy and/or distribute it, with or without
65421
 
+# modifications, as long as this notice is preserved.
65422
 
+
65423
 
+# serial 6 ltoptions.m4
65424
 
+
65425
 
+# This is to help aclocal find these macros, as it can't see m4_define.
65426
 
+AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
65427
 
+
65428
 
+
65429
 
+# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
65430
 
+# ------------------------------------------
65431
 
+m4_define([_LT_MANGLE_OPTION],
65432
 
+[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
65433
 
+
65434
 
+
65435
 
+# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
65436
 
+# ---------------------------------------
65437
 
+# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
65438
 
+# matching handler defined, dispatch to it.  Other OPTION-NAMEs are
65439
 
+# saved as a flag.
65440
 
+m4_define([_LT_SET_OPTION],
65441
 
+[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
65442
 
+m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
65443
 
+        _LT_MANGLE_DEFUN([$1], [$2]),
65444
 
+    [m4_warning([Unknown $1 option `$2'])])[]dnl
65445
 
+])
65446
 
+
65447
 
+
65448
 
+# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
65449
 
+# ------------------------------------------------------------
65450
 
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
65451
 
+m4_define([_LT_IF_OPTION],
65452
 
+[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
65453
 
+
65454
 
+
65455
 
+# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
65456
 
+# -------------------------------------------------------
65457
 
+# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
65458
 
+# are set.
65459
 
+m4_define([_LT_UNLESS_OPTIONS],
65460
 
+[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
65461
 
+           [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
65462
 
+                     [m4_define([$0_found])])])[]dnl
65463
 
+m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
65464
 
+])[]dnl
65465
 
+])
65466
 
+
65467
 
+
65468
 
+# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
65469
 
+# ----------------------------------------
65470
 
+# OPTION-LIST is a space-separated list of Libtool options associated
65471
 
+# with MACRO-NAME.  If any OPTION has a matching handler declared with
65472
 
+# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
65473
 
+# the unknown option and exit.
65474
 
+m4_defun([_LT_SET_OPTIONS],
65475
 
+[# Set options
65476
 
+m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
65477
 
+    [_LT_SET_OPTION([$1], _LT_Option)])
65478
 
+
65479
 
+m4_if([$1],[LT_INIT],[
65480
 
+  dnl
65481
 
+  dnl Simply set some default values (i.e off) if boolean options were not
65482
 
+  dnl specified:
65483
 
+  _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
65484
 
+  ])
65485
 
+  _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
65486
 
+  ])
65487
 
+  dnl
65488
 
+  dnl If no reference was made to various pairs of opposing options, then
65489
 
+  dnl we run the default mode handler for the pair.  For example, if neither
65490
 
+  dnl `shared' nor `disable-shared' was passed, we enable building of shared
65491
 
+  dnl archives by default:
65492
 
+  _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
65493
 
+  _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
65494
 
+  _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
65495
 
+  _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
65496
 
+                  [_LT_ENABLE_FAST_INSTALL])
65497
 
+  ])
65498
 
+])# _LT_SET_OPTIONS
65499
 
+
65500
 
+
65501
 
+## --------------------------------- ##
65502
 
+## Macros to handle LT_INIT options. ##
65503
 
+## --------------------------------- ##
65504
 
+
65505
 
+# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
65506
 
+# -----------------------------------------
65507
 
+m4_define([_LT_MANGLE_DEFUN],
65508
 
+[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
65509
 
+
65510
 
+
65511
 
+# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
65512
 
+# -----------------------------------------------
65513
 
+m4_define([LT_OPTION_DEFINE],
65514
 
+[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
65515
 
+])# LT_OPTION_DEFINE
65516
 
+
65517
 
+
65518
 
+# dlopen
65519
 
+# ------
65520
 
+LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
65521
 
+])
65522
 
+
65523
 
+AU_DEFUN([AC_LIBTOOL_DLOPEN],
65524
 
+[_LT_SET_OPTION([LT_INIT], [dlopen])
65525
 
+AC_DIAGNOSE([obsolete],
65526
 
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
65527
 
+put the `dlopen' option into LT_INIT's first parameter.])
65528
 
+])
65529
 
+
65530
 
+dnl aclocal-1.4 backwards compatibility:
65531
 
+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
65532
 
+
65533
 
+
65534
 
+# win32-dll
65535
 
+# ---------
65536
 
+# Declare package support for building win32 dll's.
65537
 
+LT_OPTION_DEFINE([LT_INIT], [win32-dll],
65538
 
+[enable_win32_dll=yes
65539
 
+
65540
 
+case $host in
65541
 
+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
65542
 
+  AC_CHECK_TOOL(AS, as, false)
65543
 
+  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
65544
 
+  AC_CHECK_TOOL(OBJDUMP, objdump, false)
65545
 
+  ;;
65546
 
+esac
65547
 
+
65548
 
+test -z "$AS" && AS=as
65549
 
+_LT_DECL([], [AS],      [0], [Assembler program])dnl
65550
 
+
65551
 
+test -z "$DLLTOOL" && DLLTOOL=dlltool
65552
 
+_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
65553
 
+
65554
 
+test -z "$OBJDUMP" && OBJDUMP=objdump
65555
 
+_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
65556
 
+])# win32-dll
65557
 
+
65558
 
+AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
65559
 
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
65560
 
+_LT_SET_OPTION([LT_INIT], [win32-dll])
65561
 
+AC_DIAGNOSE([obsolete],
65562
 
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
65563
 
+put the `win32-dll' option into LT_INIT's first parameter.])
65564
 
+])
65565
 
+
65566
 
+dnl aclocal-1.4 backwards compatibility:
65567
 
+dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
65568
 
+
65569
 
+
65570
 
+# _LT_ENABLE_SHARED([DEFAULT])
65571
 
+# ----------------------------
65572
 
+# implement the --enable-shared flag, and supports the `shared' and
65573
 
+# `disable-shared' LT_INIT options.
65574
 
+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
65575
 
+m4_define([_LT_ENABLE_SHARED],
65576
 
+[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
65577
 
+AC_ARG_ENABLE([shared],
65578
 
+    [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
65579
 
+       [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
65580
 
+    [p=${PACKAGE-default}
65581
 
+    case $enableval in
65582
 
+    yes) enable_shared=yes ;;
65583
 
+    no) enable_shared=no ;;
65584
 
+    *)
65585
 
+      enable_shared=no
65586
 
+      # Look at the argument we got.  We use all the common list separators.
65587
 
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
65588
 
+      for pkg in $enableval; do
65589
 
+       IFS="$lt_save_ifs"
65590
 
+       if test "X$pkg" = "X$p"; then
65591
 
+         enable_shared=yes
65592
 
+       fi
65593
 
+      done
65594
 
+      IFS="$lt_save_ifs"
65595
 
+      ;;
65596
 
+    esac],
65597
 
+    [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
65598
 
+
65599
 
+    _LT_DECL([build_libtool_libs], [enable_shared], [0],
65600
 
+       [Whether or not to build shared libraries])
65601
 
+])# _LT_ENABLE_SHARED
65602
 
+
65603
 
+LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
65604
 
+LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
65605
 
+
65606
 
+# Old names:
65607
 
+AC_DEFUN([AC_ENABLE_SHARED],
65608
 
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
65609
 
+])
65610
 
+
65611
 
+AC_DEFUN([AC_DISABLE_SHARED],
65612
 
+[_LT_SET_OPTION([LT_INIT], [disable-shared])
65613
 
+])
65614
 
+
65615
 
+AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
65616
 
+AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
65617
 
+
65618
 
+dnl aclocal-1.4 backwards compatibility:
65619
 
+dnl AC_DEFUN([AM_ENABLE_SHARED], [])
65620
 
+dnl AC_DEFUN([AM_DISABLE_SHARED], [])
65621
 
+
65622
 
+
65623
 
+
65624
 
+# _LT_ENABLE_STATIC([DEFAULT])
65625
 
+# ----------------------------
65626
 
+# implement the --enable-static flag, and support the `static' and
65627
 
+# `disable-static' LT_INIT options.
65628
 
+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
65629
 
+m4_define([_LT_ENABLE_STATIC],
65630
 
+[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
65631
 
+AC_ARG_ENABLE([static],
65632
 
+    [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
65633
 
+       [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
65634
 
+    [p=${PACKAGE-default}
65635
 
+    case $enableval in
65636
 
+    yes) enable_static=yes ;;
65637
 
+    no) enable_static=no ;;
65638
 
+    *)
65639
 
+     enable_static=no
65640
 
+      # Look at the argument we got.  We use all the common list separators.
65641
 
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
65642
 
+      for pkg in $enableval; do
65643
 
+       IFS="$lt_save_ifs"
65644
 
+       if test "X$pkg" = "X$p"; then
65645
 
+         enable_static=yes
65646
 
+       fi
65647
 
+      done
65648
 
+      IFS="$lt_save_ifs"
65649
 
+      ;;
65650
 
+    esac],
65651
 
+    [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
65652
 
+
65653
 
+    _LT_DECL([build_old_libs], [enable_static], [0],
65654
 
+       [Whether or not to build static libraries])
65655
 
+])# _LT_ENABLE_STATIC
65656
 
+
65657
 
+LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
65658
 
+LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
65659
 
+
65660
 
+# Old names:
65661
 
+AC_DEFUN([AC_ENABLE_STATIC],
65662
 
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
65663
 
+])
65664
 
+
65665
 
+AC_DEFUN([AC_DISABLE_STATIC],
65666
 
+[_LT_SET_OPTION([LT_INIT], [disable-static])
65667
 
+])
65668
 
+
65669
 
+AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
65670
 
+AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
65671
 
+
65672
 
+dnl aclocal-1.4 backwards compatibility:
65673
 
+dnl AC_DEFUN([AM_ENABLE_STATIC], [])
65674
 
+dnl AC_DEFUN([AM_DISABLE_STATIC], [])
65675
 
+
65676
 
+
65677
 
+
65678
 
+# _LT_ENABLE_FAST_INSTALL([DEFAULT])
65679
 
+# ----------------------------------
65680
 
+# implement the --enable-fast-install flag, and support the `fast-install'
65681
 
+# and `disable-fast-install' LT_INIT options.
65682
 
+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
65683
 
+m4_define([_LT_ENABLE_FAST_INSTALL],
65684
 
+[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
65685
 
+AC_ARG_ENABLE([fast-install],
65686
 
+    [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
65687
 
+    [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
65688
 
+    [p=${PACKAGE-default}
65689
 
+    case $enableval in
65690
 
+    yes) enable_fast_install=yes ;;
65691
 
+    no) enable_fast_install=no ;;
65692
 
+    *)
65693
 
+      enable_fast_install=no
65694
 
+      # Look at the argument we got.  We use all the common list separators.
65695
 
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
65696
 
+      for pkg in $enableval; do
65697
 
+       IFS="$lt_save_ifs"
65698
 
+       if test "X$pkg" = "X$p"; then
65699
 
+         enable_fast_install=yes
65700
 
+       fi
65701
 
+      done
65702
 
+      IFS="$lt_save_ifs"
65703
 
+      ;;
65704
 
+    esac],
65705
 
+    [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
65706
 
+
65707
 
+_LT_DECL([fast_install], [enable_fast_install], [0],
65708
 
+        [Whether or not to optimize for fast installation])dnl
65709
 
+])# _LT_ENABLE_FAST_INSTALL
65710
 
+
65711
 
+LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
65712
 
+LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
65713
 
+
65714
 
+# Old names:
65715
 
+AU_DEFUN([AC_ENABLE_FAST_INSTALL],
65716
 
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
65717
 
+AC_DIAGNOSE([obsolete],
65718
 
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
65719
 
+the `fast-install' option into LT_INIT's first parameter.])
65720
 
+])
65721
 
+
65722
 
+AU_DEFUN([AC_DISABLE_FAST_INSTALL],
65723
 
+[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
65724
 
+AC_DIAGNOSE([obsolete],
65725
 
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
65726
 
+the `disable-fast-install' option into LT_INIT's first parameter.])
65727
 
+])
65728
 
+
65729
 
+dnl aclocal-1.4 backwards compatibility:
65730
 
+dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
65731
 
+dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
65732
 
+
65733
 
+
65734
 
+# _LT_WITH_PIC([MODE])
65735
 
+# --------------------
65736
 
+# implement the --with-pic flag, and support the `pic-only' and `no-pic'
65737
 
+# LT_INIT options.
65738
 
+# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
65739
 
+m4_define([_LT_WITH_PIC],
65740
 
+[AC_ARG_WITH([pic],
65741
 
+    [AS_HELP_STRING([--with-pic],
65742
 
+       [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
65743
 
+    [pic_mode="$withval"],
65744
 
+    [pic_mode=default])
65745
 
+
65746
 
+test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
65747
 
+
65748
 
+_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
65749
 
+])# _LT_WITH_PIC
65750
 
+
65751
 
+LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
65752
 
+LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
65753
 
+
65754
 
+# Old name:
65755
 
+AU_DEFUN([AC_LIBTOOL_PICMODE],
65756
 
+[_LT_SET_OPTION([LT_INIT], [pic-only])
65757
 
+AC_DIAGNOSE([obsolete],
65758
 
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
65759
 
+put the `pic-only' option into LT_INIT's first parameter.])
65760
 
+])
65761
 
+
65762
 
+dnl aclocal-1.4 backwards compatibility:
65763
 
+dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
65764
 
+
65765
 
+## ----------------- ##
65766
 
+## LTDL_INIT Options ##
65767
 
+## ----------------- ##
65768
 
+
65769
 
+m4_define([_LTDL_MODE], [])
65770
 
+LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
65771
 
+                [m4_define([_LTDL_MODE], [nonrecursive])])
65772
 
+LT_OPTION_DEFINE([LTDL_INIT], [recursive],
65773
 
+                [m4_define([_LTDL_MODE], [recursive])])
65774
 
+LT_OPTION_DEFINE([LTDL_INIT], [subproject],
65775
 
+                [m4_define([_LTDL_MODE], [subproject])])
65776
 
+
65777
 
+m4_define([_LTDL_TYPE], [])
65778
 
+LT_OPTION_DEFINE([LTDL_INIT], [installable],
65779
 
+                [m4_define([_LTDL_TYPE], [installable])])
65780
 
+LT_OPTION_DEFINE([LTDL_INIT], [convenience],
65781
 
+                [m4_define([_LTDL_TYPE], [convenience])])
65782
 
--- sound-juicer-2.26.1/m4/ltsugar.m4   1970-01-01 01:00:00.000000000 +0100
65783
 
+++ sound-juicer-2.26.1.new/m4/ltsugar.m4       2009-04-13 19:04:05.000000000 +0100
65784
 
@@ -0,0 +1,123 @@
65785
 
+# ltsugar.m4 -- libtool m4 base layer.                         -*-Autoconf-*-
65786
 
+#
65787
 
+# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
65788
 
+# Written by Gary V. Vaughan, 2004
65789
 
+#
65790
 
+# This file is free software; the Free Software Foundation gives
65791
 
+# unlimited permission to copy and/or distribute it, with or without
65792
 
+# modifications, as long as this notice is preserved.
65793
 
+
65794
 
+# serial 6 ltsugar.m4
65795
 
+
65796
 
+# This is to help aclocal find these macros, as it can't see m4_define.
65797
 
+AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
65798
 
+
65799
 
+
65800
 
+# lt_join(SEP, ARG1, [ARG2...])
65801
 
+# -----------------------------
65802
 
+# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
65803
 
+# associated separator.
65804
 
+# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
65805
 
+# versions in m4sugar had bugs.
65806
 
+m4_define([lt_join],
65807
 
+[m4_if([$#], [1], [],
65808
 
+       [$#], [2], [[$2]],
65809
 
+       [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
65810
 
+m4_define([_lt_join],
65811
 
+[m4_if([$#$2], [2], [],
65812
 
+       [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
65813
 
+
65814
 
+
65815
 
+# lt_car(LIST)
65816
 
+# lt_cdr(LIST)
65817
 
+# ------------
65818
 
+# Manipulate m4 lists.
65819
 
+# These macros are necessary as long as will still need to support
65820
 
+# Autoconf-2.59 which quotes differently.
65821
 
+m4_define([lt_car], [[$1]])
65822
 
+m4_define([lt_cdr],
65823
 
+[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
65824
 
+       [$#], 1, [],
65825
 
+       [m4_dquote(m4_shift($@))])])
65826
 
+m4_define([lt_unquote], $1)
65827
 
+
65828
 
+
65829
 
+# lt_append(MACRO-NAME, STRING, [SEPARATOR])
65830
 
+# ------------------------------------------
65831
 
+# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
65832
 
+# Note that neither SEPARATOR nor STRING are expanded; they are appended
65833
 
+# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
65834
 
+# No SEPARATOR is output if MACRO-NAME was previously undefined (different
65835
 
+# than defined and empty).
65836
 
+#
65837
 
+# This macro is needed until we can rely on Autoconf 2.62, since earlier
65838
 
+# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
65839
 
+m4_define([lt_append],
65840
 
+[m4_define([$1],
65841
 
+          m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
65842
 
+
65843
 
+
65844
 
+
65845
 
+# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
65846
 
+# ----------------------------------------------------------
65847
 
+# Produce a SEP delimited list of all paired combinations of elements of
65848
 
+# PREFIX-LIST with SUFFIX1 through SUFFIXn.  Each element of the list
65849
 
+# has the form PREFIXmINFIXSUFFIXn.
65850
 
+# Needed until we can rely on m4_combine added in Autoconf 2.62.
65851
 
+m4_define([lt_combine],
65852
 
+[m4_if(m4_eval([$# > 3]), [1],
65853
 
+       [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
65854
 
+[[m4_foreach([_Lt_prefix], [$2],
65855
 
+            [m4_foreach([_Lt_suffix],
65856
 
+               ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
65857
 
+       [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
65858
 
+
65859
 
+
65860
 
+# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
65861
 
+# -----------------------------------------------------------------------
65862
 
+# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
65863
 
+# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
65864
 
+m4_define([lt_if_append_uniq],
65865
 
+[m4_ifdef([$1],
65866
 
+         [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
65867
 
+                [lt_append([$1], [$2], [$3])$4],
65868
 
+                [$5])],
65869
 
+         [lt_append([$1], [$2], [$3])$4])])
65870
 
+
65871
 
+
65872
 
+# lt_dict_add(DICT, KEY, VALUE)
65873
 
+# -----------------------------
65874
 
+m4_define([lt_dict_add],
65875
 
+[m4_define([$1($2)], [$3])])
65876
 
+
65877
 
+
65878
 
+# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
65879
 
+# --------------------------------------------
65880
 
+m4_define([lt_dict_add_subkey],
65881
 
+[m4_define([$1($2:$3)], [$4])])
65882
 
+
65883
 
+
65884
 
+# lt_dict_fetch(DICT, KEY, [SUBKEY])
65885
 
+# ----------------------------------
65886
 
+m4_define([lt_dict_fetch],
65887
 
+[m4_ifval([$3],
65888
 
+       m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
65889
 
+    m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
65890
 
+
65891
 
+
65892
 
+# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
65893
 
+# -----------------------------------------------------------------
65894
 
+m4_define([lt_if_dict_fetch],
65895
 
+[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
65896
 
+       [$5],
65897
 
+    [$6])])
65898
 
+
65899
 
+
65900
 
+# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
65901
 
+# --------------------------------------------------------------
65902
 
+m4_define([lt_dict_filter],
65903
 
+[m4_if([$5], [], [],
65904
 
+  [lt_join(m4_quote(m4_default([$4], [[, ]])),
65905
 
+           lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
65906
 
+                     [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
65907
 
+])
65908
 
--- sound-juicer-2.26.1/m4/ltversion.m4 1970-01-01 01:00:00.000000000 +0100
65909
 
+++ sound-juicer-2.26.1.new/m4/ltversion.m4     2009-04-13 19:04:05.000000000 +0100
65910
 
@@ -0,0 +1,23 @@
65911
 
+# ltversion.m4 -- version numbers                      -*- Autoconf -*-
65912
 
+#
65913
 
+#   Copyright (C) 2004 Free Software Foundation, Inc.
65914
 
+#   Written by Scott James Remnant, 2004
65915
 
+#
65916
 
+# This file is free software; the Free Software Foundation gives
65917
 
+# unlimited permission to copy and/or distribute it, with or without
65918
 
+# modifications, as long as this notice is preserved.
65919
 
+
65920
 
+# Generated from ltversion.in.
65921
 
+
65922
 
+# serial 3012 ltversion.m4
65923
 
+# This file is part of GNU Libtool
65924
 
+
65925
 
+m4_define([LT_PACKAGE_VERSION], [2.2.6])
65926
 
+m4_define([LT_PACKAGE_REVISION], [1.3012])
65927
 
+
65928
 
+AC_DEFUN([LTVERSION_VERSION],
65929
 
+[macro_version='2.2.6'
65930
 
+macro_revision='1.3012'
65931
 
+_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
65932
 
+_LT_DECL(, macro_revision, 0)
65933
 
+])
65934
 
--- sound-juicer-2.26.1/Makefile.in     2009-04-10 10:52:18.000000000 +0100
65935
 
+++ sound-juicer-2.26.1.new/Makefile.in 2009-04-13 19:04:12.000000000 +0100
65936
 
@@ -1,4 +1,4 @@
65937
 
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
65938
 
+# Makefile.in generated by automake 1.10.2 from Makefile.am.
65939
 
 # @configure_input@
65940
 
 
65941
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
65942
 
@@ -39,7 +39,10 @@
65943
 
        config.sub depcomp install-sh ltmain.sh missing mkinstalldirs
65944
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
65945
 
 am__aclocal_m4_deps = $(top_srcdir)/m4/gnome-doc-utils.m4 \
65946
 
-       $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/configure.in
65947
 
+       $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/libtool.m4 \
65948
 
+       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
65949
 
+       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
65950
 
+       $(top_srcdir)/configure.in
65951
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
65952
 
        $(ACLOCAL_M4)
65953
 
 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
65954
 
@@ -108,14 +111,13 @@
65955
 
 DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper
65956
 
 DOC_USER_FORMATS = @DOC_USER_FORMATS@
65957
 
 DSYMUTIL = @DSYMUTIL@
65958
 
-ECHO = @ECHO@
65959
 
+DUMPBIN = @DUMPBIN@
65960
 
 ECHO_C = @ECHO_C@
65961
 
 ECHO_N = @ECHO_N@
65962
 
 ECHO_T = @ECHO_T@
65963
 
 EGREP = @EGREP@
65964
 
 EXEEXT = @EXEEXT@
65965
 
-F77 = @F77@
65966
 
-FFLAGS = @FFLAGS@
65967
 
+FGREP = @FGREP@
65968
 
 GCONFTOOL = @GCONFTOOL@
65969
 
 GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@
65970
 
 GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@
65971
 
@@ -138,33 +140,16 @@
65972
 
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
65973
 
 INSTOBJEXT = @INSTOBJEXT@
65974
 
 INTLLIBS = @INTLLIBS@
65975
 
-INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@
65976
 
-INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@
65977
 
-INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@
65978
 
 INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
65979
 
-INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@
65980
 
-INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@
65981
 
 INTLTOOL_MERGE = @INTLTOOL_MERGE@
65982
 
-INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@
65983
 
 INTLTOOL_PERL = @INTLTOOL_PERL@
65984
 
-INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@
65985
 
-INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@
65986
 
-INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@
65987
 
-INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@
65988
 
-INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@
65989
 
-INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@
65990
 
-INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@
65991
 
-INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@
65992
 
-INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@
65993
 
-INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@
65994
 
 INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
65995
 
-INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@
65996
 
-INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@
65997
 
-INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
65998
 
+LD = @LD@
65999
 
 LDFLAGS = @LDFLAGS@
66000
 
 LIBOBJS = @LIBOBJS@
66001
 
 LIBS = @LIBS@
66002
 
 LIBTOOL = @LIBTOOL@
66003
 
+LIPO = @LIPO@
66004
 
 LN_S = @LN_S@
66005
 
 LTLIBOBJS = @LTLIBOBJS@
66006
 
 MAINT = @MAINT@
66007
 
@@ -180,9 +165,13 @@
66008
 
 MUSICBRAINZ3_LIBS = @MUSICBRAINZ3_LIBS@
66009
 
 MUSICBRAINZ_CFLAGS = @MUSICBRAINZ_CFLAGS@
66010
 
 MUSICBRAINZ_LIBS = @MUSICBRAINZ_LIBS@
66011
 
+NM = @NM@
66012
 
 NMEDIT = @NMEDIT@
66013
 
+OBJDUMP = @OBJDUMP@
66014
 
 OBJEXT = @OBJEXT@
66015
 
 OMF_DIR = @OMF_DIR@
66016
 
+OTOOL = @OTOOL@
66017
 
+OTOOL64 = @OTOOL64@
66018
 
 PACKAGE = @PACKAGE@
66019
 
 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
66020
 
 PACKAGE_NAME = @PACKAGE_NAME@
66021
 
@@ -214,7 +203,7 @@
66022
 
 abs_top_srcdir = @abs_top_srcdir@
66023
 
 ac_ct_CC = @ac_ct_CC@
66024
 
 ac_ct_CXX = @ac_ct_CXX@
66025
 
-ac_ct_F77 = @ac_ct_F77@
66026
 
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
66027
 
 am__include = @am__include@
66028
 
 am__leading_dot = @am__leading_dot@
66029
 
 am__quote = @am__quote@
66030
 
@@ -245,6 +234,7 @@
66031
 
 libexecdir = @libexecdir@
66032
 
 localedir = @localedir@
66033
 
 localstatedir = @localstatedir@
66034
 
+lt_ECHO = @lt_ECHO@
66035
 
 mandir = @mandir@
66036
 
 mkdir_p = @mkdir_p@
66037
 
 oldincludedir = @oldincludedir@
66038
 
@@ -257,6 +247,7 @@
66039
 
 srcdir = @srcdir@
66040
 
 sysconfdir = @sysconfdir@
66041
 
 target_alias = @target_alias@
66042
 
+top_build_prefix = @top_build_prefix@
66043
 
 top_builddir = @top_builddir@
66044
 
 top_srcdir = @top_srcdir@
66045
 
 SUBDIRS = po data libjuicer src tests help
66046
 
@@ -333,7 +324,7 @@
66047
 
        -rm -rf .libs _libs
66048
 
 
66049
 
 distclean-libtool:
66050
 
-       -rm -f libtool
66051
 
+       -rm -f libtool config.lt
66052
 
 
66053
 
 # This directory's subdirectories are mostly independent; you can cd
66054
 
 # into them and run `make' without going through this Makefile.
66055
 
@@ -410,7 +401,7 @@
66056
 
        unique=`for i in $$list; do \
66057
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
66058
 
          done | \
66059
 
-         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
66060
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
66061
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
66062
 
        mkid -fID $$unique
66063
 
 tags: TAGS
66064
 
--- sound-juicer-2.26.1/src/Makefile.in 2009-04-10 10:52:17.000000000 +0100
66065
 
+++ sound-juicer-2.26.1.new/src/Makefile.in     2009-04-13 19:04:12.000000000 +0100
66066
 
@@ -1,4 +1,4 @@
66067
 
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
66068
 
+# Makefile.in generated by automake 1.10.2 from Makefile.am.
66069
 
 # @configure_input@
66070
 
 
66071
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
66072
 
@@ -37,7 +37,10 @@
66073
 
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
66074
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
66075
 
 am__aclocal_m4_deps = $(top_srcdir)/m4/gnome-doc-utils.m4 \
66076
 
-       $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/configure.in
66077
 
+       $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/libtool.m4 \
66078
 
+       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
66079
 
+       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
66080
 
+       $(top_srcdir)/configure.in
66081
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
66082
 
        $(ACLOCAL_M4)
66083
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
66084
 
@@ -126,14 +129,13 @@
66085
 
 DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@
66086
 
 DOC_USER_FORMATS = @DOC_USER_FORMATS@
66087
 
 DSYMUTIL = @DSYMUTIL@
66088
 
-ECHO = @ECHO@
66089
 
+DUMPBIN = @DUMPBIN@
66090
 
 ECHO_C = @ECHO_C@
66091
 
 ECHO_N = @ECHO_N@
66092
 
 ECHO_T = @ECHO_T@
66093
 
 EGREP = @EGREP@
66094
 
 EXEEXT = @EXEEXT@
66095
 
-F77 = @F77@
66096
 
-FFLAGS = @FFLAGS@
66097
 
+FGREP = @FGREP@
66098
 
 GCONFTOOL = @GCONFTOOL@
66099
 
 GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@
66100
 
 GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@
66101
 
@@ -156,33 +158,16 @@
66102
 
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
66103
 
 INSTOBJEXT = @INSTOBJEXT@
66104
 
 INTLLIBS = @INTLLIBS@
66105
 
-INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@
66106
 
-INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@
66107
 
-INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@
66108
 
 INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
66109
 
-INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@
66110
 
-INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@
66111
 
 INTLTOOL_MERGE = @INTLTOOL_MERGE@
66112
 
-INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@
66113
 
 INTLTOOL_PERL = @INTLTOOL_PERL@
66114
 
-INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@
66115
 
-INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@
66116
 
-INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@
66117
 
-INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@
66118
 
-INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@
66119
 
-INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@
66120
 
-INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@
66121
 
-INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@
66122
 
-INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@
66123
 
-INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@
66124
 
 INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
66125
 
-INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@
66126
 
-INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@
66127
 
-INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
66128
 
+LD = @LD@
66129
 
 LDFLAGS = @LDFLAGS@
66130
 
 LIBOBJS = @LIBOBJS@
66131
 
 LIBS = @LIBS@
66132
 
 LIBTOOL = @LIBTOOL@
66133
 
+LIPO = @LIPO@
66134
 
 LN_S = @LN_S@
66135
 
 LTLIBOBJS = @LTLIBOBJS@
66136
 
 MAINT = @MAINT@
66137
 
@@ -198,9 +183,13 @@
66138
 
 MUSICBRAINZ3_LIBS = @MUSICBRAINZ3_LIBS@
66139
 
 MUSICBRAINZ_CFLAGS = @MUSICBRAINZ_CFLAGS@
66140
 
 MUSICBRAINZ_LIBS = @MUSICBRAINZ_LIBS@
66141
 
+NM = @NM@
66142
 
 NMEDIT = @NMEDIT@
66143
 
+OBJDUMP = @OBJDUMP@
66144
 
 OBJEXT = @OBJEXT@
66145
 
 OMF_DIR = @OMF_DIR@
66146
 
+OTOOL = @OTOOL@
66147
 
+OTOOL64 = @OTOOL64@
66148
 
 PACKAGE = @PACKAGE@
66149
 
 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
66150
 
 PACKAGE_NAME = @PACKAGE_NAME@
66151
 
@@ -232,7 +221,7 @@
66152
 
 abs_top_srcdir = @abs_top_srcdir@
66153
 
 ac_ct_CC = @ac_ct_CC@
66154
 
 ac_ct_CXX = @ac_ct_CXX@
66155
 
-ac_ct_F77 = @ac_ct_F77@
66156
 
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
66157
 
 am__include = @am__include@
66158
 
 am__leading_dot = @am__leading_dot@
66159
 
 am__quote = @am__quote@
66160
 
@@ -263,6 +252,7 @@
66161
 
 libexecdir = @libexecdir@
66162
 
 localedir = @localedir@
66163
 
 localstatedir = @localstatedir@
66164
 
+lt_ECHO = @lt_ECHO@
66165
 
 mandir = @mandir@
66166
 
 mkdir_p = @mkdir_p@
66167
 
 oldincludedir = @oldincludedir@
66168
 
@@ -275,6 +265,7 @@
66169
 
 srcdir = @srcdir@
66170
 
 sysconfdir = @sysconfdir@
66171
 
 target_alias = @target_alias@
66172
 
+top_build_prefix = @top_build_prefix@
66173
 
 top_builddir = @top_builddir@
66174
 
 top_srcdir = @top_srcdir@
66175
 
 sound_juicer_SOURCES = \
66176
 
@@ -350,8 +341,8 @@
66177
 
        @for dep in $?; do \
66178
 
          case '$(am__configure_deps)' in \
66179
 
            *$$dep*) \
66180
 
-             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
66181
 
-               && exit 0; \
66182
 
+             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
66183
 
+               && { if test -f $@; then exit 0; else break; fi; }; \
66184
 
              exit 1;; \
66185
 
          esac; \
66186
 
        done; \
66187
 
@@ -647,7 +638,7 @@
66188
 
        unique=`for i in $$list; do \
66189
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
66190
 
          done | \
66191
 
-         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
66192
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
66193
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
66194
 
        mkid -fID $$unique
66195
 
 tags: TAGS
66196
 
--- sound-juicer-2.26.1/tests/Makefile.in       2009-04-10 10:52:17.000000000 +0100
66197
 
+++ sound-juicer-2.26.1.new/tests/Makefile.in   2009-04-13 19:04:12.000000000 +0100
66198
 
@@ -1,4 +1,4 @@
66199
 
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
66200
 
+# Makefile.in generated by automake 1.10.2 from Makefile.am.
66201
 
 # @configure_input@
66202
 
 
66203
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
66204
 
@@ -37,7 +37,10 @@
66205
 
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
66206
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
66207
 
 am__aclocal_m4_deps = $(top_srcdir)/m4/gnome-doc-utils.m4 \
66208
 
-       $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/configure.in
66209
 
+       $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/libtool.m4 \
66210
 
+       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
66211
 
+       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
66212
 
+       $(top_srcdir)/configure.in
66213
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
66214
 
        $(ACLOCAL_M4)
66215
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
66216
 
@@ -105,14 +108,13 @@
66217
 
 DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@
66218
 
 DOC_USER_FORMATS = @DOC_USER_FORMATS@
66219
 
 DSYMUTIL = @DSYMUTIL@
66220
 
-ECHO = @ECHO@
66221
 
+DUMPBIN = @DUMPBIN@
66222
 
 ECHO_C = @ECHO_C@
66223
 
 ECHO_N = @ECHO_N@
66224
 
 ECHO_T = @ECHO_T@
66225
 
 EGREP = @EGREP@
66226
 
 EXEEXT = @EXEEXT@
66227
 
-F77 = @F77@
66228
 
-FFLAGS = @FFLAGS@
66229
 
+FGREP = @FGREP@
66230
 
 GCONFTOOL = @GCONFTOOL@
66231
 
 GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@
66232
 
 GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@
66233
 
@@ -135,33 +137,16 @@
66234
 
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
66235
 
 INSTOBJEXT = @INSTOBJEXT@
66236
 
 INTLLIBS = @INTLLIBS@
66237
 
-INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@
66238
 
-INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@
66239
 
-INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@
66240
 
 INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
66241
 
-INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@
66242
 
-INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@
66243
 
 INTLTOOL_MERGE = @INTLTOOL_MERGE@
66244
 
-INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@
66245
 
 INTLTOOL_PERL = @INTLTOOL_PERL@
66246
 
-INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@
66247
 
-INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@
66248
 
-INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@
66249
 
-INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@
66250
 
-INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@
66251
 
-INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@
66252
 
-INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@
66253
 
-INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@
66254
 
-INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@
66255
 
-INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@
66256
 
 INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
66257
 
-INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@
66258
 
-INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@
66259
 
-INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
66260
 
+LD = @LD@
66261
 
 LDFLAGS = @LDFLAGS@
66262
 
 LIBOBJS = @LIBOBJS@
66263
 
 LIBS = @LIBS@
66264
 
 LIBTOOL = @LIBTOOL@
66265
 
+LIPO = @LIPO@
66266
 
 LN_S = @LN_S@
66267
 
 LTLIBOBJS = @LTLIBOBJS@
66268
 
 MAINT = @MAINT@
66269
 
@@ -177,9 +162,13 @@
66270
 
 MUSICBRAINZ3_LIBS = @MUSICBRAINZ3_LIBS@
66271
 
 MUSICBRAINZ_CFLAGS = @MUSICBRAINZ_CFLAGS@
66272
 
 MUSICBRAINZ_LIBS = @MUSICBRAINZ_LIBS@
66273
 
+NM = @NM@
66274
 
 NMEDIT = @NMEDIT@
66275
 
+OBJDUMP = @OBJDUMP@
66276
 
 OBJEXT = @OBJEXT@
66277
 
 OMF_DIR = @OMF_DIR@
66278
 
+OTOOL = @OTOOL@
66279
 
+OTOOL64 = @OTOOL64@
66280
 
 PACKAGE = @PACKAGE@
66281
 
 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
66282
 
 PACKAGE_NAME = @PACKAGE_NAME@
66283
 
@@ -211,7 +200,7 @@
66284
 
 abs_top_srcdir = @abs_top_srcdir@
66285
 
 ac_ct_CC = @ac_ct_CC@
66286
 
 ac_ct_CXX = @ac_ct_CXX@
66287
 
-ac_ct_F77 = @ac_ct_F77@
66288
 
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
66289
 
 am__include = @am__include@
66290
 
 am__leading_dot = @am__leading_dot@
66291
 
 am__quote = @am__quote@
66292
 
@@ -242,6 +231,7 @@
66293
 
 libexecdir = @libexecdir@
66294
 
 localedir = @localedir@
66295
 
 localstatedir = @localstatedir@
66296
 
+lt_ECHO = @lt_ECHO@
66297
 
 mandir = @mandir@
66298
 
 mkdir_p = @mkdir_p@
66299
 
 oldincludedir = @oldincludedir@
66300
 
@@ -254,6 +244,7 @@
66301
 
 srcdir = @srcdir@
66302
 
 sysconfdir = @sysconfdir@
66303
 
 target_alias = @target_alias@
66304
 
+top_build_prefix = @top_build_prefix@
66305
 
 top_builddir = @top_builddir@
66306
 
 top_srcdir = @top_srcdir@
66307
 
 mb_test_SOURCES = \
66308
 
@@ -293,8 +284,8 @@
66309
 
        @for dep in $?; do \
66310
 
          case '$(am__configure_deps)' in \
66311
 
            *$$dep*) \
66312
 
-             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
66313
 
-               && exit 0; \
66314
 
+             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
66315
 
+               && { if test -f $@; then exit 0; else break; fi; }; \
66316
 
              exit 1;; \
66317
 
          esac; \
66318
 
        done; \
66319
 
@@ -383,7 +374,7 @@
66320
 
        unique=`for i in $$list; do \
66321
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
66322
 
          done | \
66323
 
-         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
66324
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
66325
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
66326
 
        mkid -fID $$unique
66327
 
 tags: TAGS