~ubuntu-branches/ubuntu/saucy/flac/saucy

« back to all changes in this revision

Viewing changes to debian/patches/01_relibtoolize.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Tollef Fog Heen
  • Date: 2005-11-10 12:55:33 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20051110125533-2fmlml8wnb06r5vg
Tags: 1.1.2-3ubuntu1
* Merge with Debian
  - We did the C++ transition earlier than Debian, so add c2 suffix to
    liboggflac++ and libflac++

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh /usr/share/dpatch/dpatch-run
 
2
## 01_relibtoolize.dpatch by Joshua Kwan <joshk@triplehelix.org>
 
3
##
 
4
## All lines beginning with `## DP:' are a description of the patch.
 
5
## DP: Autotools suck
 
6
 
 
7
diff --exclude debian -urN orig/flac-1.1.2/aclocal.m4 flac-1.1.2/aclocal.m4
 
8
--- orig/flac-1.1.2/aclocal.m4  2005-02-04 18:21:34.000000000 -0800
 
9
+++ flac-1.1.2/aclocal.m4       2005-08-17 19:52:24.000000000 -0700
 
10
@@ -11,5121 +11,394 @@
 
11
 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 
12
 # PARTICULAR PURPOSE.
 
13
 
 
14
-#                                                        -*- Autoconf -*-
 
15
-# Copyright (C) 2002, 2003  Free Software Foundation, Inc.
 
16
-# Generated from amversion.in; do not edit by hand.
 
17
-
 
18
-# This program is free software; you can redistribute it and/or modify
 
19
-# it under the terms of the GNU General Public License as published by
 
20
-# the Free Software Foundation; either version 2, or (at your option)
 
21
-# any later version.
 
22
+# codeset.m4 serial AM1 (gettext-0.10.40)
 
23
+dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
 
24
+dnl This file is free software; the Free Software Foundation
 
25
+dnl gives unlimited permission to copy and/or distribute it,
 
26
+dnl with or without modifications, as long as this notice is preserved.
 
27
 
 
28
-# This program is distributed in the hope that it will be useful,
 
29
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
30
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
31
-# GNU General Public License for more details.
 
32
+dnl From Bruno Haible.
 
33
 
 
34
-# You should have received a copy of the GNU General Public License
 
35
-# along with this program; if not, write to the Free Software
 
36
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
37
+AC_DEFUN([AM_LANGINFO_CODESET],
 
38
+[
 
39
+  AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
 
40
+    [AC_TRY_LINK([#include <langinfo.h>],
 
41
+      [char* cs = nl_langinfo(CODESET);],
 
42
+      am_cv_langinfo_codeset=yes,
 
43
+      am_cv_langinfo_codeset=no)
 
44
+    ])
 
45
+  if test $am_cv_langinfo_codeset = yes; then
 
46
+    AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
 
47
+      [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
 
48
+  fi
 
49
+])
 
50
 
 
51
-# AM_AUTOMAKE_VERSION(VERSION)
 
52
-# ----------------------------
 
53
-# Automake X.Y traces this macro to ensure aclocal.m4 has been
 
54
-# generated from the m4 files accompanying Automake X.Y.
 
55
-AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"])
 
56
+# iconv.m4 serial AM4 (gettext-0.11.3)
 
57
+dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
 
58
+dnl This file is free software; the Free Software Foundation
 
59
+dnl gives unlimited permission to copy and/or distribute it,
 
60
+dnl with or without modifications, as long as this notice is preserved.
 
61
 
 
62
-# AM_SET_CURRENT_AUTOMAKE_VERSION
 
63
-# -------------------------------
 
64
-# Call AM_AUTOMAKE_VERSION so it can be traced.
 
65
-# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
 
66
-AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
 
67
-        [AM_AUTOMAKE_VERSION([1.8.5])])
 
68
+dnl From Bruno Haible.
 
69
 
 
70
-# Figure out how to run the assembler.             -*- Autoconf -*-
 
71
+AC_DEFUN([AM_ICONV_LINKFLAGS_BODY],
 
72
+[
 
73
+  dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
 
74
+  AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
 
75
+  AC_REQUIRE([AC_LIB_RPATH])
 
76
 
 
77
-# serial 3
 
78
+  dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
 
79
+  dnl accordingly.
 
80
+  AC_LIB_LINKFLAGS_BODY([iconv])
 
81
+])
 
82
 
 
83
-# Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc.
 
84
+AC_DEFUN([AM_ICONV_LINK],
 
85
+[
 
86
+  dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
 
87
+  dnl those with the standalone portable GNU libiconv installed).
 
88
 
 
89
-# This program is free software; you can redistribute it and/or modify
 
90
-# it under the terms of the GNU General Public License as published by
 
91
-# the Free Software Foundation; either version 2, or (at your option)
 
92
-# any later version.
 
93
+  dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
 
94
+  dnl accordingly.
 
95
+  AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
 
96
 
 
97
-# This program is distributed in the hope that it will be useful,
 
98
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
99
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
100
-# GNU General Public License for more details.
 
101
+  dnl Add $INCICONV to CPPFLAGS before performing the following checks,
 
102
+  dnl because if the user has installed libiconv and not disabled its use
 
103
+  dnl via --without-libiconv-prefix, he wants to use it. The first
 
104
+  dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
 
105
+  am_save_CPPFLAGS="$CPPFLAGS"
 
106
+  AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
 
107
 
 
108
-# You should have received a copy of the GNU General Public License
 
109
-# along with this program; if not, write to the Free Software
 
110
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
111
-# 02111-1307, USA.
 
112
+  AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
 
113
+    am_cv_func_iconv="no, consider installing GNU libiconv"
 
114
+    am_cv_lib_iconv=no
 
115
+    AC_TRY_LINK([#include <stdlib.h>
 
116
+#include <iconv.h>],
 
117
+      [iconv_t cd = iconv_open("","");
 
118
+       iconv(cd,NULL,NULL,NULL,NULL);
 
119
+       iconv_close(cd);],
 
120
+      am_cv_func_iconv=yes)
 
121
+    if test "$am_cv_func_iconv" != yes; then
 
122
+      am_save_LIBS="$LIBS"
 
123
+      LIBS="$LIBS $LIBICONV"
 
124
+      AC_TRY_LINK([#include <stdlib.h>
 
125
+#include <iconv.h>],
 
126
+        [iconv_t cd = iconv_open("","");
 
127
+         iconv(cd,NULL,NULL,NULL,NULL);
 
128
+         iconv_close(cd);],
 
129
+        am_cv_lib_iconv=yes
 
130
+        am_cv_func_iconv=yes)
 
131
+      LIBS="$am_save_LIBS"
 
132
+    fi
 
133
+  ])
 
134
+  if test "$am_cv_func_iconv" = yes; then
 
135
+    AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
 
136
+  fi
 
137
+  if test "$am_cv_lib_iconv" = yes; then
 
138
+    AC_MSG_CHECKING([how to link with libiconv])
 
139
+    AC_MSG_RESULT([$LIBICONV])
 
140
+  else
 
141
+    dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
 
142
+    dnl either.
 
143
+    CPPFLAGS="$am_save_CPPFLAGS"
 
144
+    LIBICONV=
 
145
+    LTLIBICONV=
 
146
+  fi
 
147
+  AC_SUBST(LIBICONV)
 
148
+  AC_SUBST(LTLIBICONV)
 
149
+])
 
150
 
 
151
-# AM_PROG_AS
 
152
-# ----------
 
153
-AC_DEFUN([AM_PROG_AS],
 
154
-[# By default we simply use the C compiler to build assembly code.
 
155
-AC_REQUIRE([AC_PROG_CC])
 
156
-test "${CCAS+set}" = set || CCAS=$CC
 
157
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
 
158
-AC_ARG_VAR([CCAS],      [assembler compiler command (defaults to CC)])
 
159
-AC_ARG_VAR([CCASFLAGS], [assembler compiler flags (defaults to CFLAGS)])
 
160
+AC_DEFUN([AM_ICONV],
 
161
+[
 
162
+  AM_ICONV_LINK
 
163
+  if test "$am_cv_func_iconv" = yes; then
 
164
+    AC_MSG_CHECKING([for iconv declaration])
 
165
+    AC_CACHE_VAL(am_cv_proto_iconv, [
 
166
+      AC_TRY_COMPILE([
 
167
+#include <stdlib.h>
 
168
+#include <iconv.h>
 
169
+extern
 
170
+#ifdef __cplusplus
 
171
+"C"
 
172
+#endif
 
173
+#if defined(__STDC__) || defined(__cplusplus)
 
174
+size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
 
175
+#else
 
176
+size_t iconv();
 
177
+#endif
 
178
+], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const")
 
179
+      am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"])
 
180
+    am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
 
181
+    AC_MSG_RESULT([$]{ac_t:-
 
182
+         }[$]am_cv_proto_iconv)
 
183
+    AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
 
184
+      [Define as const if the declaration of iconv() needs const.])
 
185
+  fi
 
186
 ])
 
187
 
 
188
-# AM_AUX_DIR_EXPAND
 
189
+# lib-ld.m4 serial 3 (gettext-0.13)
 
190
+dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
 
191
+dnl This file is free software; the Free Software Foundation
 
192
+dnl gives unlimited permission to copy and/or distribute it,
 
193
+dnl with or without modifications, as long as this notice is preserved.
 
194
 
 
195
-# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
 
196
+dnl Subroutines of libtool.m4,
 
197
+dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
 
198
+dnl with libtool.m4.
 
199
 
 
200
-# This program is free software; you can redistribute it and/or modify
 
201
-# it under the terms of the GNU General Public License as published by
 
202
-# the Free Software Foundation; either version 2, or (at your option)
 
203
-# any later version.
 
204
+dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
 
205
+AC_DEFUN([AC_LIB_PROG_LD_GNU],
 
206
+[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
 
207
+[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
208
+case `$LD -v 2>&1 </dev/null` in
 
209
+*GNU* | *'with BFD'*)
 
210
+  acl_cv_prog_gnu_ld=yes ;;
 
211
+*)
 
212
+  acl_cv_prog_gnu_ld=no ;;
 
213
+esac])
 
214
+with_gnu_ld=$acl_cv_prog_gnu_ld
 
215
+])
 
216
 
 
217
-# This program is distributed in the hope that it will be useful,
 
218
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
219
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
220
-# GNU General Public License for more details.
 
221
+dnl From libtool-1.4. Sets the variable LD.
 
222
+AC_DEFUN([AC_LIB_PROG_LD],
 
223
+[AC_ARG_WITH(gnu-ld,
 
224
+[  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]],
 
225
+test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
 
226
+AC_REQUIRE([AC_PROG_CC])dnl
 
227
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
228
+# Prepare PATH_SEPARATOR.
 
229
+# The user is always right.
 
230
+if test "${PATH_SEPARATOR+set}" != set; then
 
231
+  echo "#! /bin/sh" >conf$$.sh
 
232
+  echo  "exit 0"   >>conf$$.sh
 
233
+  chmod +x conf$$.sh
 
234
+  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
235
+    PATH_SEPARATOR=';'
 
236
+  else
 
237
+    PATH_SEPARATOR=:
 
238
+  fi
 
239
+  rm -f conf$$.sh
 
240
+fi
 
241
+ac_prog=ld
 
242
+if test "$GCC" = yes; then
 
243
+  # Check if gcc -print-prog-name=ld gives a path.
 
244
+  AC_MSG_CHECKING([for ld used by GCC])
 
245
+  case $host in
 
246
+  *-*-mingw*)
 
247
+    # gcc leaves a trailing carriage return which upsets mingw
 
248
+    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
249
+  *)
 
250
+    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
251
+  esac
 
252
+  case $ac_prog in
 
253
+    # Accept absolute paths.
 
254
+    [[\\/]* | [A-Za-z]:[\\/]*)]
 
255
+      [re_direlt='/[^/][^/]*/\.\./']
 
256
+      # Canonicalize the path of ld
 
257
+      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
 
258
+      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 
259
+       ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
 
260
+      done
 
261
+      test -z "$LD" && LD="$ac_prog"
 
262
+      ;;
 
263
+  "")
 
264
+    # If it fails, then pretend we aren't using GCC.
 
265
+    ac_prog=ld
 
266
+    ;;
 
267
+  *)
 
268
+    # If it is relative, then search for the first ld in PATH.
 
269
+    with_gnu_ld=unknown
 
270
+    ;;
 
271
+  esac
 
272
+elif test "$with_gnu_ld" = yes; then
 
273
+  AC_MSG_CHECKING([for GNU ld])
 
274
+else
 
275
+  AC_MSG_CHECKING([for non-GNU ld])
 
276
+fi
 
277
+AC_CACHE_VAL(acl_cv_path_LD,
 
278
+[if test -z "$LD"; then
 
279
+  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
 
280
+  for ac_dir in $PATH; do
 
281
+    test -z "$ac_dir" && ac_dir=.
 
282
+    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
283
+      acl_cv_path_LD="$ac_dir/$ac_prog"
 
284
+      # Check to see if the program is GNU ld.  I'd rather use --version,
 
285
+      # but apparently some GNU ld's only accept -v.
 
286
+      # Break only if it was the GNU/non-GNU ld that we prefer.
 
287
+      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
 
288
+      *GNU* | *'with BFD'*)
 
289
+       test "$with_gnu_ld" != no && break ;;
 
290
+      *)
 
291
+       test "$with_gnu_ld" != yes && break ;;
 
292
+      esac
 
293
+    fi
 
294
+  done
 
295
+  IFS="$ac_save_ifs"
 
296
+else
 
297
+  acl_cv_path_LD="$LD" # Let the user override the test with a path.
 
298
+fi])
 
299
+LD="$acl_cv_path_LD"
 
300
+if test -n "$LD"; then
 
301
+  AC_MSG_RESULT($LD)
 
302
+else
 
303
+  AC_MSG_RESULT(no)
 
304
+fi
 
305
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
 
306
+AC_LIB_PROG_LD_GNU
 
307
+])
 
308
 
 
309
-# You should have received a copy of the GNU General Public License
 
310
-# along with this program; if not, write to the Free Software
 
311
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
312
-# 02111-1307, USA.
 
313
+# lib-link.m4 serial 6 (gettext-0.14.3)
 
314
+dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
 
315
+dnl This file is free software; the Free Software Foundation
 
316
+dnl gives unlimited permission to copy and/or distribute it,
 
317
+dnl with or without modifications, as long as this notice is preserved.
 
318
 
 
319
-# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
 
320
-# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
 
321
-# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
 
322
-#
 
323
-# Of course, Automake must honor this variable whenever it calls a
 
324
-# tool from the auxiliary directory.  The problem is that $srcdir (and
 
325
-# therefore $ac_aux_dir as well) can be either absolute or relative,
 
326
-# depending on how configure is run.  This is pretty annoying, since
 
327
-# it makes $ac_aux_dir quite unusable in subdirectories: in the top
 
328
-# source directory, any form will work fine, but in subdirectories a
 
329
-# relative path needs to be adjusted first.
 
330
-#
 
331
-# $ac_aux_dir/missing
 
332
-#    fails when called from a subdirectory if $ac_aux_dir is relative
 
333
-# $top_srcdir/$ac_aux_dir/missing
 
334
-#    fails if $ac_aux_dir is absolute,
 
335
-#    fails when called from a subdirectory in a VPATH build with
 
336
-#          a relative $ac_aux_dir
 
337
-#
 
338
-# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
 
339
-# are both prefixed by $srcdir.  In an in-source build this is usually
 
340
-# harmless because $srcdir is `.', but things will broke when you
 
341
-# start a VPATH build or use an absolute $srcdir.
 
342
-#
 
343
-# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
 
344
-# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
 
345
-#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
 
346
-# and then we would define $MISSING as
 
347
-#   MISSING="\${SHELL} $am_aux_dir/missing"
 
348
-# This will work as long as MISSING is not called from configure, because
 
349
-# unfortunately $(top_srcdir) has no meaning in configure.
 
350
-# However there are other variables, like CC, which are often used in
 
351
-# configure, and could therefore not use this "fixed" $ac_aux_dir.
 
352
-#
 
353
-# Another solution, used here, is to always expand $ac_aux_dir to an
 
354
-# absolute PATH.  The drawback is that using absolute paths prevent a
 
355
-# configured tree to be moved without reconfiguration.
 
356
-
 
357
-AC_DEFUN([AM_AUX_DIR_EXPAND],
 
358
-[dnl Rely on autoconf to set up CDPATH properly.
 
359
-AC_PREREQ([2.50])dnl
 
360
-# expand $ac_aux_dir to an absolute path
 
361
-am_aux_dir=`cd $ac_aux_dir && pwd`
 
362
-])
 
363
-
 
364
-# AM_CONDITIONAL                                              -*- Autoconf -*-
 
365
-
 
366
-# Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
 
367
-
 
368
-# This program is free software; you can redistribute it and/or modify
 
369
-# it under the terms of the GNU General Public License as published by
 
370
-# the Free Software Foundation; either version 2, or (at your option)
 
371
-# any later version.
 
372
-
 
373
-# This program is distributed in the hope that it will be useful,
 
374
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
375
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
376
-# GNU General Public License for more details.
 
377
-
 
378
-# You should have received a copy of the GNU General Public License
 
379
-# along with this program; if not, write to the Free Software
 
380
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
381
-# 02111-1307, USA.
 
382
-
 
383
-# serial 6
 
384
-
 
385
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
 
386
-# -------------------------------------
 
387
-# Define a conditional.
 
388
-AC_DEFUN([AM_CONDITIONAL],
 
389
-[AC_PREREQ(2.52)dnl
 
390
- ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
 
391
-       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
 
392
-AC_SUBST([$1_TRUE])
 
393
-AC_SUBST([$1_FALSE])
 
394
-if $2; then
 
395
-  $1_TRUE=
 
396
-  $1_FALSE='#'
 
397
-else
 
398
-  $1_TRUE='#'
 
399
-  $1_FALSE=
 
400
-fi
 
401
-AC_CONFIG_COMMANDS_PRE(
 
402
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
 
403
-  AC_MSG_ERROR([conditional "$1" was never defined.
 
404
-Usually this means the macro was only invoked conditionally.])
 
405
-fi])])
 
406
-
 
407
-# serial 7                                             -*- Autoconf -*-
 
408
-
 
409
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
 
410
-# Free Software Foundation, Inc.
 
411
-
 
412
-# This program is free software; you can redistribute it and/or modify
 
413
-# it under the terms of the GNU General Public License as published by
 
414
-# the Free Software Foundation; either version 2, or (at your option)
 
415
-# any later version.
 
416
-
 
417
-# This program is distributed in the hope that it will be useful,
 
418
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
419
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
420
-# GNU General Public License for more details.
 
421
-
 
422
-# You should have received a copy of the GNU General Public License
 
423
-# along with this program; if not, write to the Free Software
 
424
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
425
-# 02111-1307, USA.
 
426
-
 
427
-
 
428
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
 
429
-# written in clear, in which case automake, when reading aclocal.m4,
 
430
-# will think it sees a *use*, and therefore will trigger all it's
 
431
-# C support machinery.  Also note that it means that autoscan, seeing
 
432
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
 
433
+dnl From Bruno Haible.
 
434
 
 
435
+AC_PREREQ(2.50)
 
436
 
 
437
+dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
 
438
+dnl the libraries corresponding to explicit and implicit dependencies.
 
439
+dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
 
440
+dnl augments the CPPFLAGS variable.
 
441
+AC_DEFUN([AC_LIB_LINKFLAGS],
 
442
+[
 
443
+  AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
 
444
+  AC_REQUIRE([AC_LIB_RPATH])
 
445
+  define([Name],[translit([$1],[./-], [___])])
 
446
+  define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
 
447
+                               [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
 
448
+  AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
 
449
+    AC_LIB_LINKFLAGS_BODY([$1], [$2])
 
450
+    ac_cv_lib[]Name[]_libs="$LIB[]NAME"
 
451
+    ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
 
452
+    ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
 
453
+  ])
 
454
+  LIB[]NAME="$ac_cv_lib[]Name[]_libs"
 
455
+  LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
 
456
+  INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
 
457
+  AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
 
458
+  AC_SUBST([LIB]NAME)
 
459
+  AC_SUBST([LTLIB]NAME)
 
460
+  dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
 
461
+  dnl results of this search when this library appears as a dependency.
 
462
+  HAVE_LIB[]NAME=yes
 
463
+  undefine([Name])
 
464
+  undefine([NAME])
 
465
+])
 
466
 
 
467
-# _AM_DEPENDENCIES(NAME)
 
468
-# ----------------------
 
469
-# See how the compiler implements dependency checking.
 
470
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
 
471
-# We try a few techniques and use that to set a single cache variable.
 
472
-#
 
473
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
 
474
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
 
475
-# dependency, and given that the user is not expected to run this macro,
 
476
-# just rely on AC_PROG_CC.
 
477
-AC_DEFUN([_AM_DEPENDENCIES],
 
478
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
 
479
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
 
480
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
 
481
-AC_REQUIRE([AM_DEP_TRACK])dnl
 
482
+dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode)
 
483
+dnl searches for libname and the libraries corresponding to explicit and
 
484
+dnl implicit dependencies, together with the specified include files and
 
485
+dnl the ability to compile and link the specified testcode. If found, it
 
486
+dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and
 
487
+dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and
 
488
+dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
 
489
+dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
 
490
+AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
 
491
+[
 
492
+  AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
 
493
+  AC_REQUIRE([AC_LIB_RPATH])
 
494
+  define([Name],[translit([$1],[./-], [___])])
 
495
+  define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
 
496
+                               [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
 
497
 
 
498
-ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
 
499
-       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
 
500
-       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
 
501
-       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
 
502
-                   [depcc="$$1"   am_compiler_list=])
 
503
+  dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
 
504
+  dnl accordingly.
 
505
+  AC_LIB_LINKFLAGS_BODY([$1], [$2])
 
506
 
 
507
-AC_CACHE_CHECK([dependency style of $depcc],
 
508
-               [am_cv_$1_dependencies_compiler_type],
 
509
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
510
-  # We make a subdir and do the tests there.  Otherwise we can end up
 
511
-  # making bogus files that we don't know about and never remove.  For
 
512
-  # instance it was reported that on HP-UX the gcc test will end up
 
513
-  # making a dummy file named `D' -- because `-MD' means `put the output
 
514
-  # in D'.
 
515
-  mkdir conftest.dir
 
516
-  # Copy depcomp to subdir because otherwise we won't find it if we're
 
517
-  # using a relative directory.
 
518
-  cp "$am_depcomp" conftest.dir
 
519
-  cd conftest.dir
 
520
-  # We will build objects and dependencies in a subdirectory because
 
521
-  # it helps to detect inapplicable dependency modes.  For instance
 
522
-  # both Tru64's cc and ICC support -MD to output dependencies as a
 
523
-  # side effect of compilation, but ICC will put the dependencies in
 
524
-  # the current directory while Tru64 will put them in the object
 
525
-  # directory.
 
526
-  mkdir sub
 
527
+  dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
 
528
+  dnl because if the user has installed lib[]Name and not disabled its use
 
529
+  dnl via --without-lib[]Name-prefix, he wants to use it.
 
530
+  ac_save_CPPFLAGS="$CPPFLAGS"
 
531
+  AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
 
532
 
 
533
-  am_cv_$1_dependencies_compiler_type=none
 
534
-  if test "$am_compiler_list" = ""; then
 
535
-     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
 
536
+  AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
 
537
+    ac_save_LIBS="$LIBS"
 
538
+    LIBS="$LIBS $LIB[]NAME"
 
539
+    AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no])
 
540
+    LIBS="$ac_save_LIBS"
 
541
+  ])
 
542
+  if test "$ac_cv_lib[]Name" = yes; then
 
543
+    HAVE_LIB[]NAME=yes
 
544
+    AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
 
545
+    AC_MSG_CHECKING([how to link with lib[]$1])
 
546
+    AC_MSG_RESULT([$LIB[]NAME])
 
547
+  else
 
548
+    HAVE_LIB[]NAME=no
 
549
+    dnl If $LIB[]NAME didn't lead to a usable library, we don't need
 
550
+    dnl $INC[]NAME either.
 
551
+    CPPFLAGS="$ac_save_CPPFLAGS"
 
552
+    LIB[]NAME=
 
553
+    LTLIB[]NAME=
 
554
   fi
 
555
-  for depmode in $am_compiler_list; do
 
556
-    # Setup a source with many dependencies, because some compilers
 
557
-    # like to wrap large dependency lists on column 80 (with \), and
 
558
-    # we should not choose a depcomp mode which is confused by this.
 
559
-    #
 
560
-    # We need to recreate these files for each test, as the compiler may
 
561
-    # overwrite some of them when testing with obscure command lines.
 
562
-    # This happens at least with the AIX C compiler.
 
563
-    : > sub/conftest.c
 
564
-    for i in 1 2 3 4 5 6; do
 
565
-      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
566
-      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
567
-      # Solaris 8's {/usr,}/bin/sh.
 
568
-      touch sub/conftst$i.h
 
569
-    done
 
570
-    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
571
+  AC_SUBST([HAVE_LIB]NAME)
 
572
+  AC_SUBST([LIB]NAME)
 
573
+  AC_SUBST([LTLIB]NAME)
 
574
+  undefine([Name])
 
575
+  undefine([NAME])
 
576
+])
 
577
 
 
578
-    case $depmode in
 
579
-    nosideeffect)
 
580
-      # after this tag, mechanisms are not by side-effect, so they'll
 
581
-      # only be used when explicitly requested
 
582
-      if test "x$enable_dependency_tracking" = xyes; then
 
583
-       continue
 
584
-      else
 
585
-       break
 
586
-      fi
 
587
-      ;;
 
588
-    none) break ;;
 
589
-    esac
 
590
-    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
591
-    # mode.  It turns out that the SunPro C++ compiler does not properly
 
592
-    # handle `-M -o', and we need to detect this.
 
593
-    if depmode=$depmode \
 
594
-       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
595
-       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
596
-       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
597
-         >/dev/null 2>conftest.err &&
 
598
-       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
599
-       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
600
-       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
601
-      # icc doesn't choke on unknown options, it will just issue warnings
 
602
-      # or remarks (even with -Werror).  So we grep stderr for any message
 
603
-      # that says an option was ignored or not supported.
 
604
-      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
605
-      #   icc: Command line warning: ignoring option '-M'; no argument required
 
606
-      # The diagnosis changed in icc 8.0:
 
607
-      #   icc: Command line remark: option '-MP' not supported
 
608
-      if (grep 'ignoring option' conftest.err ||
 
609
-          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
610
-        am_cv_$1_dependencies_compiler_type=$depmode
 
611
-        break
 
612
-      fi
 
613
-    fi
 
614
-  done
 
615
-
 
616
-  cd ..
 
617
-  rm -rf conftest.dir
 
618
-else
 
619
-  am_cv_$1_dependencies_compiler_type=none
 
620
-fi
 
621
-])
 
622
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
 
623
-AM_CONDITIONAL([am__fastdep$1], [
 
624
-  test "x$enable_dependency_tracking" != xno \
 
625
-  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
 
626
-])
 
627
-
 
628
-
 
629
-# AM_SET_DEPDIR
 
630
-# -------------
 
631
-# Choose a directory name for dependency files.
 
632
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
 
633
-AC_DEFUN([AM_SET_DEPDIR],
 
634
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
 
635
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
 
636
-])
 
637
-
 
638
-
 
639
-# AM_DEP_TRACK
 
640
-# ------------
 
641
-AC_DEFUN([AM_DEP_TRACK],
 
642
-[AC_ARG_ENABLE(dependency-tracking,
 
643
-[  --disable-dependency-tracking  speeds up one-time build
 
644
-  --enable-dependency-tracking   do not reject slow dependency extractors])
 
645
-if test "x$enable_dependency_tracking" != xno; then
 
646
-  am_depcomp="$ac_aux_dir/depcomp"
 
647
-  AMDEPBACKSLASH='\'
 
648
-fi
 
649
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
 
650
-AC_SUBST([AMDEPBACKSLASH])
 
651
+dnl Determine the platform dependent parameters needed to use rpath:
 
652
+dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator,
 
653
+dnl hardcode_direct, hardcode_minus_L.
 
654
+AC_DEFUN([AC_LIB_RPATH],
 
655
+[
 
656
+  dnl Tell automake >= 1.10 to complain if config.rpath is missing.
 
657
+  m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
 
658
+  AC_REQUIRE([AC_PROG_CC])                dnl we use $CC, $GCC, $LDFLAGS
 
659
+  AC_REQUIRE([AC_LIB_PROG_LD])            dnl we use $LD, $with_gnu_ld
 
660
+  AC_REQUIRE([AC_CANONICAL_HOST])         dnl we use $host
 
661
+  AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
 
662
+  AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [
 
663
+    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
 
664
+    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
 
665
+    . ./conftest.sh
 
666
+    rm -f ./conftest.sh
 
667
+    acl_cv_rpath=done
 
668
+  ])
 
669
+  wl="$acl_cv_wl"
 
670
+  libext="$acl_cv_libext"
 
671
+  shlibext="$acl_cv_shlibext"
 
672
+  hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
 
673
+  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
 
674
+  hardcode_direct="$acl_cv_hardcode_direct"
 
675
+  hardcode_minus_L="$acl_cv_hardcode_minus_L"
 
676
+  dnl Determine whether the user wants rpath handling at all.
 
677
+  AC_ARG_ENABLE(rpath,
 
678
+    [  --disable-rpath         do not hardcode runtime library paths],
 
679
+    :, enable_rpath=yes)
 
680
 ])
 
681
 
 
682
-# Generate code to set up dependency tracking.   -*- Autoconf -*-
 
683
-
 
684
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
 
685
-
 
686
-# This program is free software; you can redistribute it and/or modify
 
687
-# it under the terms of the GNU General Public License as published by
 
688
-# the Free Software Foundation; either version 2, or (at your option)
 
689
-# any later version.
 
690
-
 
691
-# This program is distributed in the hope that it will be useful,
 
692
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
693
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
694
-# GNU General Public License for more details.
 
695
-
 
696
-# You should have received a copy of the GNU General Public License
 
697
-# along with this program; if not, write to the Free Software
 
698
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
699
-# 02111-1307, USA.
 
700
-
 
701
-#serial 2
 
702
-
 
703
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
 
704
-# ------------------------------
 
705
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
 
706
-[for mf in $CONFIG_FILES; do
 
707
-  # Strip MF so we end up with the name of the file.
 
708
-  mf=`echo "$mf" | sed -e 's/:.*$//'`
 
709
-  # Check whether this is an Automake generated Makefile or not.
 
710
-  # We used to match only the files named `Makefile.in', but
 
711
-  # some people rename them; so instead we look at the file content.
 
712
-  # Grep'ing the first line is not enough: some people post-process
 
713
-  # each Makefile.in and add a new line on top of each file to say so.
 
714
-  # So let's grep whole file.
 
715
-  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
716
-    dirpart=`AS_DIRNAME("$mf")`
 
717
-  else
 
718
-    continue
 
719
-  fi
 
720
-  grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
 
721
-  # Extract the definition of DEP_FILES from the Makefile without
 
722
-  # running `make'.
 
723
-  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
724
-  test -z "$DEPDIR" && continue
 
725
-  # When using ansi2knr, U may be empty or an underscore; expand it
 
726
-  U=`sed -n 's/^U = //p' < "$mf"`
 
727
-  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
 
728
-  # We invoke sed twice because it is the simplest approach to
 
729
-  # changing $(DEPDIR) to its actual value in the expansion.
 
730
-  for file in `sed -n '
 
731
-    /^DEP_FILES = .*\\\\$/ {
 
732
-      s/^DEP_FILES = //
 
733
-      :loop
 
734
-       s/\\\\$//
 
735
-       p
 
736
-       n
 
737
-       /\\\\$/ b loop
 
738
-      p
 
739
-    }
 
740
-    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
 
741
-       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
742
-    # Make sure the directory exists.
 
743
-    test -f "$dirpart/$file" && continue
 
744
-    fdir=`AS_DIRNAME(["$file"])`
 
745
-    AS_MKDIR_P([$dirpart/$fdir])
 
746
-    # echo "creating $dirpart/$file"
 
747
-    echo '# dummy' > "$dirpart/$file"
 
748
-  done
 
749
-done
 
750
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
 
751
-
 
752
-
 
753
-# AM_OUTPUT_DEPENDENCY_COMMANDS
 
754
-# -----------------------------
 
755
-# This macro should only be invoked once -- use via AC_REQUIRE.
 
756
-#
 
757
-# This code is only required when automatic dependency tracking
 
758
-# is enabled.  FIXME.  This creates each `.P' file that we will
 
759
-# need in order to bootstrap the dependency handling code.
 
760
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
 
761
-[AC_CONFIG_COMMANDS([depfiles],
 
762
-     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
 
763
-     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
 
764
-])
 
765
-
 
766
-# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
 
767
-
 
768
-# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
 
769
-
 
770
-# This program is free software; you can redistribute it and/or modify
 
771
-# it under the terms of the GNU General Public License as published by
 
772
-# the Free Software Foundation; either version 2, or (at your option)
 
773
-# any later version.
 
774
-
 
775
-# This program is distributed in the hope that it will be useful,
 
776
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
777
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
778
-# GNU General Public License for more details.
 
779
-
 
780
-# You should have received a copy of the GNU General Public License
 
781
-# along with this program; if not, write to the Free Software
 
782
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
783
-# 02111-1307, USA.
 
784
-
 
785
-# serial 7
 
786
-
 
787
-# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
 
788
-AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
 
789
-
 
790
-# Do all the work for Automake.                            -*- Autoconf -*-
 
791
-
 
792
-# This macro actually does too much some checks are only needed if
 
793
-# your package does certain things.  But this isn't really a big deal.
 
794
-
 
795
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
 
796
-# Free Software Foundation, Inc.
 
797
-
 
798
-# This program is free software; you can redistribute it and/or modify
 
799
-# it under the terms of the GNU General Public License as published by
 
800
-# the Free Software Foundation; either version 2, or (at your option)
 
801
-# any later version.
 
802
-
 
803
-# This program is distributed in the hope that it will be useful,
 
804
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
805
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
806
-# GNU General Public License for more details.
 
807
-
 
808
-# You should have received a copy of the GNU General Public License
 
809
-# along with this program; if not, write to the Free Software
 
810
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
811
-# 02111-1307, USA.
 
812
-
 
813
-# serial 11
 
814
-
 
815
-# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
 
816
-# AM_INIT_AUTOMAKE([OPTIONS])
 
817
-# -----------------------------------------------
 
818
-# The call with PACKAGE and VERSION arguments is the old style
 
819
-# call (pre autoconf-2.50), which is being phased out.  PACKAGE
 
820
-# and VERSION should now be passed to AC_INIT and removed from
 
821
-# the call to AM_INIT_AUTOMAKE.
 
822
-# We support both call styles for the transition.  After
 
823
-# the next Automake release, Autoconf can make the AC_INIT
 
824
-# arguments mandatory, and then we can depend on a new Autoconf
 
825
-# release and drop the old call support.
 
826
-AC_DEFUN([AM_INIT_AUTOMAKE],
 
827
-[AC_PREREQ([2.58])dnl
 
828
-dnl Autoconf wants to disallow AM_ names.  We explicitly allow
 
829
-dnl the ones we care about.
 
830
-m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
 
831
-AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
 
832
-AC_REQUIRE([AC_PROG_INSTALL])dnl
 
833
-# test to see if srcdir already configured
 
834
-if test "`cd $srcdir && pwd`" != "`pwd`" &&
 
835
-   test -f $srcdir/config.status; then
 
836
-  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 
837
-fi
 
838
-
 
839
-# test whether we have cygpath
 
840
-if test -z "$CYGPATH_W"; then
 
841
-  if (cygpath --version) >/dev/null 2>/dev/null; then
 
842
-    CYGPATH_W='cygpath -w'
 
843
-  else
 
844
-    CYGPATH_W=echo
 
845
-  fi
 
846
-fi
 
847
-AC_SUBST([CYGPATH_W])
 
848
-
 
849
-# Define the identity of the package.
 
850
-dnl Distinguish between old-style and new-style calls.
 
851
-m4_ifval([$2],
 
852
-[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
 
853
- AC_SUBST([PACKAGE], [$1])dnl
 
854
- AC_SUBST([VERSION], [$2])],
 
855
-[_AM_SET_OPTIONS([$1])dnl
 
856
- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
 
857
- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
 
858
-
 
859
-_AM_IF_OPTION([no-define],,
 
860
-[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
 
861
- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
 
862
-
 
863
-# Some tools Automake needs.
 
864
-AC_REQUIRE([AM_SANITY_CHECK])dnl
 
865
-AC_REQUIRE([AC_ARG_PROGRAM])dnl
 
866
-AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
 
867
-AM_MISSING_PROG(AUTOCONF, autoconf)
 
868
-AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
 
869
-AM_MISSING_PROG(AUTOHEADER, autoheader)
 
870
-AM_MISSING_PROG(MAKEINFO, makeinfo)
 
871
-AM_MISSING_PROG(AMTAR, tar)
 
872
-AM_PROG_INSTALL_SH
 
873
-AM_PROG_INSTALL_STRIP
 
874
-AC_REQUIRE([AM_PROG_MKDIR_P])dnl
 
875
-# We need awk for the "check" target.  The system "awk" is bad on
 
876
-# some platforms.
 
877
-AC_REQUIRE([AC_PROG_AWK])dnl
 
878
-AC_REQUIRE([AC_PROG_MAKE_SET])dnl
 
879
-AC_REQUIRE([AM_SET_LEADING_DOT])dnl
 
880
-
 
881
-_AM_IF_OPTION([no-dependencies],,
 
882
-[AC_PROVIDE_IFELSE([AC_PROG_CC],
 
883
-                  [_AM_DEPENDENCIES(CC)],
 
884
-                  [define([AC_PROG_CC],
 
885
-                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
 
886
-AC_PROVIDE_IFELSE([AC_PROG_CXX],
 
887
-                  [_AM_DEPENDENCIES(CXX)],
 
888
-                  [define([AC_PROG_CXX],
 
889
-                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
890
-])
 
891
-])
 
892
-
 
893
-
 
894
-# When config.status generates a header, we must update the stamp-h file.
 
895
-# This file resides in the same directory as the config header
 
896
-# that is generated.  The stamp files are numbered to have different names.
 
897
-
 
898
-# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
 
899
-# loop where config.status creates the headers, so we can generate
 
900
-# our stamp files there.
 
901
-AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
 
902
-[# Compute $1's index in $config_headers.
 
903
-_am_stamp_count=1
 
904
-for _am_header in $config_headers :; do
 
905
-  case $_am_header in
 
906
-    $1 | $1:* )
 
907
-      break ;;
 
908
-    * )
 
909
-      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
910
-  esac
 
911
-done
 
912
-echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
 
913
-
 
914
-# AM_PROG_INSTALL_SH
 
915
-# ------------------
 
916
-# Define $install_sh.
 
917
-
 
918
-# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
 
919
-
 
920
-# This program is free software; you can redistribute it and/or modify
 
921
-# it under the terms of the GNU General Public License as published by
 
922
-# the Free Software Foundation; either version 2, or (at your option)
 
923
-# any later version.
 
924
-
 
925
-# This program is distributed in the hope that it will be useful,
 
926
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
927
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
928
-# GNU General Public License for more details.
 
929
-
 
930
-# You should have received a copy of the GNU General Public License
 
931
-# along with this program; if not, write to the Free Software
 
932
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
933
-# 02111-1307, USA.
 
934
-
 
935
-AC_DEFUN([AM_PROG_INSTALL_SH],
 
936
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 
937
-install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
938
-AC_SUBST(install_sh)])
 
939
-
 
940
-#                                                          -*- Autoconf -*-
 
941
-# Copyright (C) 2003  Free Software Foundation, Inc.
 
942
-
 
943
-# This program is free software; you can redistribute it and/or modify
 
944
-# it under the terms of the GNU General Public License as published by
 
945
-# the Free Software Foundation; either version 2, or (at your option)
 
946
-# any later version.
 
947
-
 
948
-# This program is distributed in the hope that it will be useful,
 
949
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
950
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
951
-# GNU General Public License for more details.
 
952
-
 
953
-# You should have received a copy of the GNU General Public License
 
954
-# along with this program; if not, write to the Free Software
 
955
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
956
-# 02111-1307, USA.
 
957
-
 
958
-# serial 1
 
959
-
 
960
-# Check whether the underlying file-system supports filenames
 
961
-# with a leading dot.  For instance MS-DOS doesn't.
 
962
-AC_DEFUN([AM_SET_LEADING_DOT],
 
963
-[rm -rf .tst 2>/dev/null
 
964
-mkdir .tst 2>/dev/null
 
965
-if test -d .tst; then
 
966
-  am__leading_dot=.
 
967
-else
 
968
-  am__leading_dot=_
 
969
-fi
 
970
-rmdir .tst 2>/dev/null
 
971
-AC_SUBST([am__leading_dot])])
 
972
-
 
973
-# Add --enable-maintainer-mode option to configure.
 
974
-# From Jim Meyering
 
975
-
 
976
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004
 
977
-# Free Software Foundation, Inc.
 
978
-
 
979
-# This program is free software; you can redistribute it and/or modify
 
980
-# it under the terms of the GNU General Public License as published by
 
981
-# the Free Software Foundation; either version 2, or (at your option)
 
982
-# any later version.
 
983
-
 
984
-# This program is distributed in the hope that it will be useful,
 
985
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
986
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
987
-# GNU General Public License for more details.
 
988
-
 
989
-# You should have received a copy of the GNU General Public License
 
990
-# along with this program; if not, write to the Free Software
 
991
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
992
-# 02111-1307, USA.
 
993
-
 
994
-# serial 3
 
995
-
 
996
-AC_DEFUN([AM_MAINTAINER_MODE],
 
997
-[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
 
998
-  dnl maintainer-mode is disabled by default
 
999
-  AC_ARG_ENABLE(maintainer-mode,
 
1000
-[  --enable-maintainer-mode  enable make rules and dependencies not useful
 
1001
-                         (and sometimes confusing) to the casual installer],
 
1002
-      USE_MAINTAINER_MODE=$enableval,
 
1003
-      USE_MAINTAINER_MODE=no)
 
1004
-  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
 
1005
-  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
 
1006
-  MAINT=$MAINTAINER_MODE_TRUE
 
1007
-  AC_SUBST(MAINT)dnl
 
1008
-]
 
1009
-)
 
1010
-
 
1011
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
 
1012
-
 
1013
-# Check to see how 'make' treats includes.     -*- Autoconf -*-
 
1014
-
 
1015
-# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
 
1016
-
 
1017
-# This program is free software; you can redistribute it and/or modify
 
1018
-# it under the terms of the GNU General Public License as published by
 
1019
-# the Free Software Foundation; either version 2, or (at your option)
 
1020
-# any later version.
 
1021
-
 
1022
-# This program is distributed in the hope that it will be useful,
 
1023
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
1024
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
1025
-# GNU General Public License for more details.
 
1026
-
 
1027
-# You should have received a copy of the GNU General Public License
 
1028
-# along with this program; if not, write to the Free Software
 
1029
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
1030
-# 02111-1307, USA.
 
1031
-
 
1032
-# serial 2
 
1033
-
 
1034
-# AM_MAKE_INCLUDE()
 
1035
-# -----------------
 
1036
-# Check to see how make treats includes.
 
1037
-AC_DEFUN([AM_MAKE_INCLUDE],
 
1038
-[am_make=${MAKE-make}
 
1039
-cat > confinc << 'END'
 
1040
-am__doit:
 
1041
-       @echo done
 
1042
-.PHONY: am__doit
 
1043
-END
 
1044
-# If we don't find an include directive, just comment out the code.
 
1045
-AC_MSG_CHECKING([for style of include used by $am_make])
 
1046
-am__include="#"
 
1047
-am__quote=
 
1048
-_am_result=none
 
1049
-# First try GNU make style include.
 
1050
-echo "include confinc" > confmf
 
1051
-# We grep out `Entering directory' and `Leaving directory'
 
1052
-# messages which can occur if `w' ends up in MAKEFLAGS.
 
1053
-# In particular we don't look at `^make:' because GNU make might
 
1054
-# be invoked under some other name (usually "gmake"), in which
 
1055
-# case it prints its new name instead of `make'.
 
1056
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 
1057
-   am__include=include
 
1058
-   am__quote=
 
1059
-   _am_result=GNU
 
1060
-fi
 
1061
-# Now try BSD make style include.
 
1062
-if test "$am__include" = "#"; then
 
1063
-   echo '.include "confinc"' > confmf
 
1064
-   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 
1065
-      am__include=.include
 
1066
-      am__quote="\""
 
1067
-      _am_result=BSD
 
1068
-   fi
 
1069
-fi
 
1070
-AC_SUBST([am__include])
 
1071
-AC_SUBST([am__quote])
 
1072
-AC_MSG_RESULT([$_am_result])
 
1073
-rm -f confinc confmf
 
1074
-])
 
1075
-
 
1076
-#  -*- Autoconf -*-
 
1077
-
 
1078
-
 
1079
-# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
 
1080
-
 
1081
-# This program is free software; you can redistribute it and/or modify
 
1082
-# it under the terms of the GNU General Public License as published by
 
1083
-# the Free Software Foundation; either version 2, or (at your option)
 
1084
-# any later version.
 
1085
-
 
1086
-# This program is distributed in the hope that it will be useful,
 
1087
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
1088
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
1089
-# GNU General Public License for more details.
 
1090
-
 
1091
-# You should have received a copy of the GNU General Public License
 
1092
-# along with this program; if not, write to the Free Software
 
1093
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
1094
-# 02111-1307, USA.
 
1095
-
 
1096
-# serial 3
 
1097
-
 
1098
-# AM_MISSING_PROG(NAME, PROGRAM)
 
1099
-# ------------------------------
 
1100
-AC_DEFUN([AM_MISSING_PROG],
 
1101
-[AC_REQUIRE([AM_MISSING_HAS_RUN])
 
1102
-$1=${$1-"${am_missing_run}$2"}
 
1103
-AC_SUBST($1)])
 
1104
-
 
1105
-
 
1106
-# AM_MISSING_HAS_RUN
 
1107
-# ------------------
 
1108
-# Define MISSING if not defined so far and test if it supports --run.
 
1109
-# If it does, set am_missing_run to use it, otherwise, to nothing.
 
1110
-AC_DEFUN([AM_MISSING_HAS_RUN],
 
1111
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 
1112
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
1113
-# Use eval to expand $SHELL
 
1114
-if eval "$MISSING --run true"; then
 
1115
-  am_missing_run="$MISSING --run "
 
1116
-else
 
1117
-  am_missing_run=
 
1118
-  AC_MSG_WARN([`missing' script is too old or missing])
 
1119
-fi
 
1120
-])
 
1121
-
 
1122
-# AM_PROG_MKDIR_P
 
1123
-# ---------------
 
1124
-# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
 
1125
-
 
1126
-# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
 
1127
-
 
1128
-# This program is free software; you can redistribute it and/or modify
 
1129
-# it under the terms of the GNU General Public License as published by
 
1130
-# the Free Software Foundation; either version 2, or (at your option)
 
1131
-# any later version.
 
1132
-
 
1133
-# This program is distributed in the hope that it will be useful,
 
1134
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
1135
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
1136
-# GNU General Public License for more details.
 
1137
-
 
1138
-# You should have received a copy of the GNU General Public License
 
1139
-# along with this program; if not, write to the Free Software
 
1140
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
1141
-# 02111-1307, USA.
 
1142
-
 
1143
-# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
 
1144
-# created by `make install' are always world readable, even if the
 
1145
-# installer happens to have an overly restrictive umask (e.g. 077).
 
1146
-# This was a mistake.  There are at least two reasons why we must not
 
1147
-# use `-m 0755':
 
1148
-#   - it causes special bits like SGID to be ignored,
 
1149
-#   - it may be too restrictive (some setups expect 775 directories).
 
1150
-#
 
1151
-# Do not use -m 0755 and let people choose whatever they expect by
 
1152
-# setting umask.
 
1153
-#
 
1154
-# We cannot accept any implementation of `mkdir' that recognizes `-p'.
 
1155
-# Some implementations (such as Solaris 8's) are not thread-safe: if a
 
1156
-# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
 
1157
-# concurrently, both version can detect that a/ is missing, but only
 
1158
-# one can create it and the other will error out.  Consequently we
 
1159
-# restrict ourselves to GNU make (using the --version option ensures
 
1160
-# this.)
 
1161
-AC_DEFUN([AM_PROG_MKDIR_P],
 
1162
-[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
1163
-  # Keeping the `.' argument allows $(mkdir_p) to be used without
 
1164
-  # argument.  Indeed, we sometimes output rules like
 
1165
-  #   $(mkdir_p) $(somedir)
 
1166
-  # where $(somedir) is conditionally defined.
 
1167
-  # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
 
1168
-  # expensive solution, as it forces Make to start a sub-shell.)
 
1169
-  mkdir_p='mkdir -p -- .'
 
1170
-else
 
1171
-  # On NextStep and OpenStep, the `mkdir' command does not
 
1172
-  # recognize any option.  It will interpret all options as
 
1173
-  # directories to create, and then abort because `.' already
 
1174
-  # exists.
 
1175
-  for d in ./-p ./--version;
 
1176
-  do
 
1177
-    test -d $d && rmdir $d
 
1178
-  done
 
1179
-  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
1180
-  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
1181
-    mkdir_p='$(mkinstalldirs)'
 
1182
-  else
 
1183
-    mkdir_p='$(install_sh) -d'
 
1184
-  fi
 
1185
-fi
 
1186
-AC_SUBST([mkdir_p])])
 
1187
-
 
1188
-# Helper functions for option handling.                    -*- Autoconf -*-
 
1189
-
 
1190
-# Copyright (C) 2001, 2002, 2003  Free Software Foundation, Inc.
 
1191
-
 
1192
-# This program is free software; you can redistribute it and/or modify
 
1193
-# it under the terms of the GNU General Public License as published by
 
1194
-# the Free Software Foundation; either version 2, or (at your option)
 
1195
-# any later version.
 
1196
-
 
1197
-# This program is distributed in the hope that it will be useful,
 
1198
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
1199
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
1200
-# GNU General Public License for more details.
 
1201
-
 
1202
-# You should have received a copy of the GNU General Public License
 
1203
-# along with this program; if not, write to the Free Software
 
1204
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
1205
-# 02111-1307, USA.
 
1206
-
 
1207
-# serial 2
 
1208
-
 
1209
-# _AM_MANGLE_OPTION(NAME)
 
1210
-# -----------------------
 
1211
-AC_DEFUN([_AM_MANGLE_OPTION],
 
1212
-[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
 
1213
-
 
1214
-# _AM_SET_OPTION(NAME)
 
1215
-# ------------------------------
 
1216
-# Set option NAME.  Presently that only means defining a flag for this option.
 
1217
-AC_DEFUN([_AM_SET_OPTION],
 
1218
-[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
 
1219
-
 
1220
-# _AM_SET_OPTIONS(OPTIONS)
 
1221
-# ----------------------------------
 
1222
-# OPTIONS is a space-separated list of Automake options.
 
1223
-AC_DEFUN([_AM_SET_OPTIONS],
 
1224
-[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
 
1225
-
 
1226
-# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
 
1227
-# -------------------------------------------
 
1228
-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
 
1229
-AC_DEFUN([_AM_IF_OPTION],
 
1230
-[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
 
1231
-
 
1232
-#
 
1233
-# Check to make sure that the build environment is sane.
 
1234
-#
 
1235
-
 
1236
-# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
 
1237
-
 
1238
-# This program is free software; you can redistribute it and/or modify
 
1239
-# it under the terms of the GNU General Public License as published by
 
1240
-# the Free Software Foundation; either version 2, or (at your option)
 
1241
-# any later version.
 
1242
-
 
1243
-# This program is distributed in the hope that it will be useful,
 
1244
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
1245
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
1246
-# GNU General Public License for more details.
 
1247
-
 
1248
-# You should have received a copy of the GNU General Public License
 
1249
-# along with this program; if not, write to the Free Software
 
1250
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
1251
-# 02111-1307, USA.
 
1252
-
 
1253
-# serial 3
 
1254
-
 
1255
-# AM_SANITY_CHECK
 
1256
-# ---------------
 
1257
-AC_DEFUN([AM_SANITY_CHECK],
 
1258
-[AC_MSG_CHECKING([whether build environment is sane])
 
1259
-# Just in case
 
1260
-sleep 1
 
1261
-echo timestamp > conftest.file
 
1262
-# Do `set' in a subshell so we don't clobber the current shell's
 
1263
-# arguments.  Must try -L first in case configure is actually a
 
1264
-# symlink; some systems play weird games with the mod time of symlinks
 
1265
-# (eg FreeBSD returns the mod time of the symlink's containing
 
1266
-# directory).
 
1267
-if (
 
1268
-   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
1269
-   if test "$[*]" = "X"; then
 
1270
-      # -L didn't work.
 
1271
-      set X `ls -t $srcdir/configure conftest.file`
 
1272
-   fi
 
1273
-   rm -f conftest.file
 
1274
-   if test "$[*]" != "X $srcdir/configure conftest.file" \
 
1275
-      && test "$[*]" != "X conftest.file $srcdir/configure"; then
 
1276
-
 
1277
-      # If neither matched, then we have a broken ls.  This can happen
 
1278
-      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
1279
-      # broken ls alias from the environment.  This has actually
 
1280
-      # happened.  Such a system could not be considered "sane".
 
1281
-      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
 
1282
-alias in your environment])
 
1283
-   fi
 
1284
-
 
1285
-   test "$[2]" = conftest.file
 
1286
-   )
 
1287
-then
 
1288
-   # Ok.
 
1289
-   :
 
1290
-else
 
1291
-   AC_MSG_ERROR([newly created file is older than distributed files!
 
1292
-Check your system clock])
 
1293
-fi
 
1294
-AC_MSG_RESULT(yes)])
 
1295
-
 
1296
-# AM_PROG_INSTALL_STRIP
 
1297
-
 
1298
-# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
 
1299
-
 
1300
-# This program is free software; you can redistribute it and/or modify
 
1301
-# it under the terms of the GNU General Public License as published by
 
1302
-# the Free Software Foundation; either version 2, or (at your option)
 
1303
-# any later version.
 
1304
-
 
1305
-# This program is distributed in the hope that it will be useful,
 
1306
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
1307
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
1308
-# GNU General Public License for more details.
 
1309
-
 
1310
-# You should have received a copy of the GNU General Public License
 
1311
-# along with this program; if not, write to the Free Software
 
1312
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
1313
-# 02111-1307, USA.
 
1314
-
 
1315
-# One issue with vendor `install' (even GNU) is that you can't
 
1316
-# specify the program used to strip binaries.  This is especially
 
1317
-# annoying in cross-compiling environments, where the build's strip
 
1318
-# is unlikely to handle the host's binaries.
 
1319
-# Fortunately install-sh will honor a STRIPPROG variable, so we
 
1320
-# always use install-sh in `make install-strip', and initialize
 
1321
-# STRIPPROG with the value of the STRIP variable (set by the user).
 
1322
-AC_DEFUN([AM_PROG_INSTALL_STRIP],
 
1323
-[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 
1324
-# Installed binaries are usually stripped using `strip' when the user
 
1325
-# run `make install-strip'.  However `strip' might not be the right
 
1326
-# tool to use in cross-compilation environments, therefore Automake
 
1327
-# will honor the `STRIP' environment variable to overrule this program.
 
1328
-dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
 
1329
-if test "$cross_compiling" != no; then
 
1330
-  AC_CHECK_TOOL([STRIP], [strip], :)
 
1331
-fi
 
1332
-INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
1333
-AC_SUBST([INSTALL_STRIP_PROGRAM])])
 
1334
-
 
1335
-# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
 
1336
-
 
1337
-# serial 46 AC_PROG_LIBTOOL
 
1338
-
 
1339
-AC_DEFUN([AC_PROG_LIBTOOL],
 
1340
-[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
 
1341
-
 
1342
-# This can be used to rebuild libtool when needed
 
1343
-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
 
1344
-
 
1345
-# Always use our own libtool.
 
1346
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
1347
-AC_SUBST(LIBTOOL)dnl
 
1348
-
 
1349
-# Prevent multiple expansion
 
1350
-define([AC_PROG_LIBTOOL], [])
 
1351
-])
 
1352
-
 
1353
-AC_DEFUN([AC_LIBTOOL_SETUP],
 
1354
-[AC_PREREQ(2.13)dnl
 
1355
-AC_REQUIRE([AC_ENABLE_SHARED])dnl
 
1356
-AC_REQUIRE([AC_ENABLE_STATIC])dnl
 
1357
-AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
 
1358
-AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
1359
-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 
1360
-AC_REQUIRE([AC_PROG_CC])dnl
 
1361
-AC_REQUIRE([AC_PROG_LD])dnl
 
1362
-AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
 
1363
-AC_REQUIRE([AC_PROG_NM])dnl
 
1364
-AC_REQUIRE([AC_PROG_LN_S])dnl
 
1365
-AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
 
1366
-AC_REQUIRE([AC_OBJEXT])dnl
 
1367
-AC_REQUIRE([AC_EXEEXT])dnl
 
1368
-dnl
 
1369
-
 
1370
-_LT_AC_PROG_ECHO_BACKSLASH
 
1371
-# Only perform the check for file, if the check method requires it
 
1372
-case $deplibs_check_method in
 
1373
-file_magic*)
 
1374
-  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
1375
-    AC_PATH_MAGIC
 
1376
-  fi
 
1377
-  ;;
 
1378
-esac
 
1379
-
 
1380
-AC_CHECK_TOOL(RANLIB, ranlib, :)
 
1381
-AC_CHECK_TOOL(STRIP, strip, :)
 
1382
-
 
1383
-ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
 
1384
-ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
 
1385
-enable_win32_dll=yes, enable_win32_dll=no)
 
1386
-
 
1387
-AC_ARG_ENABLE(libtool-lock,
 
1388
-  [  --disable-libtool-lock  avoid locking (might break parallel builds)])
 
1389
-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
1390
-
 
1391
-# Some flags need to be propagated to the compiler or linker for good
 
1392
-# libtool support.
 
1393
-case $host in
 
1394
-*-*-irix6*)
 
1395
-  # Find out which ABI we are using.
 
1396
-  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
 
1397
-  if AC_TRY_EVAL(ac_compile); then
 
1398
-    case `/usr/bin/file conftest.$ac_objext` in
 
1399
-    *32-bit*)
 
1400
-      LD="${LD-ld} -32"
 
1401
-      ;;
 
1402
-    *N32*)
 
1403
-      LD="${LD-ld} -n32"
 
1404
-      ;;
 
1405
-    *64-bit*)
 
1406
-      LD="${LD-ld} -64"
 
1407
-      ;;
 
1408
-    esac
 
1409
-  fi
 
1410
-  rm -rf conftest*
 
1411
-  ;;
 
1412
-
 
1413
-*-*-sco3.2v5*)
 
1414
-  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
1415
-  SAVE_CFLAGS="$CFLAGS"
 
1416
-  CFLAGS="$CFLAGS -belf"
 
1417
-  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
 
1418
-    [AC_LANG_SAVE
 
1419
-     AC_LANG_C
 
1420
-     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
 
1421
-     AC_LANG_RESTORE])
 
1422
-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
1423
-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
1424
-    CFLAGS="$SAVE_CFLAGS"
 
1425
-  fi
 
1426
-  ;;
 
1427
-
 
1428
-ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
 
1429
-[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
 
1430
-  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
 
1431
-  AC_CHECK_TOOL(AS, as, false)
 
1432
-  AC_CHECK_TOOL(OBJDUMP, objdump, false)
 
1433
-
 
1434
-  # recent cygwin and mingw systems supply a stub DllMain which the user
 
1435
-  # can override, but on older systems we have to supply one
 
1436
-  AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain,
 
1437
-    [AC_TRY_LINK([],
 
1438
-      [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
 
1439
-      DllMain (0, 0, 0);],
 
1440
-      [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])])
 
1441
-
 
1442
-  case $host/$CC in
 
1443
-  *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
 
1444
-    # old mingw systems require "-dll" to link a DLL, while more recent ones
 
1445
-    # require "-mdll"
 
1446
-    SAVE_CFLAGS="$CFLAGS"
 
1447
-    CFLAGS="$CFLAGS -mdll"
 
1448
-    AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
 
1449
-      [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
 
1450
-    CFLAGS="$SAVE_CFLAGS" ;;
 
1451
-  *-*-cygwin* | *-*-pw32*)
 
1452
-    # cygwin systems need to pass --dll to the linker, and not link
 
1453
-    # crt.o which will require a WinMain@16 definition.
 
1454
-    lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
 
1455
-  esac
 
1456
-  ;;
 
1457
-  ])
 
1458
-esac
 
1459
-
 
1460
-_LT_AC_LTCONFIG_HACK
 
1461
-
 
1462
-])
 
1463
-
 
1464
-# AC_LIBTOOL_HEADER_ASSERT
 
1465
-# ------------------------
 
1466
-AC_DEFUN([AC_LIBTOOL_HEADER_ASSERT],
 
1467
-[AC_CACHE_CHECK([whether $CC supports assert without backlinking],
 
1468
-    [lt_cv_func_assert_works],
 
1469
-    [case $host in
 
1470
-    *-*-solaris*)
 
1471
-      if test "$GCC" = yes && test "$with_gnu_ld" != yes; then
 
1472
-        case `$CC --version 2>/dev/null` in
 
1473
-        [[12]].*) lt_cv_func_assert_works=no ;;
 
1474
-        *)        lt_cv_func_assert_works=yes ;;
 
1475
-        esac
 
1476
-      fi
 
1477
-      ;;
 
1478
-    esac])
 
1479
-
 
1480
-if test "x$lt_cv_func_assert_works" = xyes; then
 
1481
-  AC_CHECK_HEADERS(assert.h)
 
1482
-fi
 
1483
-])# AC_LIBTOOL_HEADER_ASSERT
 
1484
-
 
1485
-# _LT_AC_CHECK_DLFCN
 
1486
-# --------------------
 
1487
-AC_DEFUN([_LT_AC_CHECK_DLFCN],
 
1488
-[AC_CHECK_HEADERS(dlfcn.h)
 
1489
-])# _LT_AC_CHECK_DLFCN
 
1490
-
 
1491
-# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
 
1492
-# ---------------------------------
 
1493
-AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
 
1494
-[AC_REQUIRE([AC_CANONICAL_HOST])
 
1495
-AC_REQUIRE([AC_PROG_NM])
 
1496
-AC_REQUIRE([AC_OBJEXT])
 
1497
-# Check for command to grab the raw symbol name followed by C symbol from nm.
 
1498
-AC_MSG_CHECKING([command to parse $NM output])
 
1499
-AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [dnl
 
1500
-
 
1501
-# These are sane defaults that work on at least a few old systems.
 
1502
-# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
1503
-
 
1504
-# Character class describing NM global symbol codes.
 
1505
-symcode='[[BCDEGRST]]'
 
1506
-
 
1507
-# Regexp to match symbols that can be accessed directly from C.
 
1508
-sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
 
1509
-
 
1510
-# Transform the above into a raw symbol and a C symbol.
 
1511
-symxfrm='\1 \2\3 \3'
 
1512
-
 
1513
-# Transform an extracted symbol line into a proper C declaration
 
1514
-lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
 
1515
-
 
1516
-# Transform an extracted symbol line into symbol name and symbol address
 
1517
-lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
 
1518
-
 
1519
-# Define system-specific variables.
 
1520
-case $host_os in
 
1521
-aix*)
 
1522
-  symcode='[[BCDT]]'
 
1523
-  ;;
 
1524
-cygwin* | mingw* | pw32*)
 
1525
-  symcode='[[ABCDGISTW]]'
 
1526
-  ;;
 
1527
-hpux*) # Its linker distinguishes data from code symbols
 
1528
-  lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
1529
-  lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
 
1530
-  ;;
 
1531
-irix*)
 
1532
-  symcode='[[BCDEGRST]]'
 
1533
-  ;;
 
1534
-solaris* | sysv5*)
 
1535
-  symcode='[[BDT]]'
 
1536
-  ;;
 
1537
-sysv4)
 
1538
-  symcode='[[DFNSTU]]'
 
1539
-  ;;
 
1540
-esac
 
1541
-
 
1542
-# Handle CRLF in mingw tool chain
 
1543
-opt_cr=
 
1544
-case $host_os in
 
1545
-mingw*)
 
1546
-  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
1547
-  ;;
 
1548
-esac
 
1549
-
 
1550
-# If we're using GNU nm, then use its standard symbol codes.
 
1551
-if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
 
1552
-  symcode='[[ABCDGISTW]]'
 
1553
-fi
 
1554
-
 
1555
-# Try without a prefix undercore, then with it.
 
1556
-for ac_symprfx in "" "_"; do
 
1557
-
 
1558
-  # Write the raw and C identifiers.
 
1559
-lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[       ]]\($symcode$symcode*\)[[       ]][[    ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
 
1560
-
 
1561
-  # Check to see that the pipe works correctly.
 
1562
-  pipe_works=no
 
1563
-  rm -f conftest*
 
1564
-  cat > conftest.$ac_ext <<EOF
 
1565
-#ifdef __cplusplus
 
1566
-extern "C" {
 
1567
-#endif
 
1568
-char nm_test_var;
 
1569
-void nm_test_func(){}
 
1570
-#ifdef __cplusplus
 
1571
-}
 
1572
-#endif
 
1573
-int main(){nm_test_var='a';nm_test_func();return(0);}
 
1574
-EOF
 
1575
-
 
1576
-  if AC_TRY_EVAL(ac_compile); then
 
1577
-    # Now try to grab the symbols.
 
1578
-    nlist=conftest.nm
 
1579
-    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
 
1580
-      # Try sorting and uniquifying the output.
 
1581
-      if sort "$nlist" | uniq > "$nlist"T; then
 
1582
-       mv -f "$nlist"T "$nlist"
 
1583
-      else
 
1584
-       rm -f "$nlist"T
 
1585
-      fi
 
1586
-
 
1587
-      # Make sure that we snagged all the symbols we need.
 
1588
-      if egrep ' nm_test_var$' "$nlist" >/dev/null; then
 
1589
-       if egrep ' nm_test_func$' "$nlist" >/dev/null; then
 
1590
-         cat <<EOF > conftest.$ac_ext
 
1591
-#ifdef __cplusplus
 
1592
-extern "C" {
 
1593
-#endif
 
1594
-
 
1595
-EOF
 
1596
-         # Now generate the symbol file.
 
1597
-         eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
 
1598
-
 
1599
-         cat <<EOF >> conftest.$ac_ext
 
1600
-#if defined (__STDC__) && __STDC__
 
1601
-# define lt_ptr void *
 
1602
-#else
 
1603
-# define lt_ptr char *
 
1604
-# define const
 
1605
-#endif
 
1606
-
 
1607
-/* The mapping between symbol names and symbols. */
 
1608
-const struct {
 
1609
-  const char *name;
 
1610
-  lt_ptr address;
 
1611
-}
 
1612
-lt_preloaded_symbols[[]] =
 
1613
-{
 
1614
-EOF
 
1615
-         sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
 
1616
-         cat <<\EOF >> conftest.$ac_ext
 
1617
-  {0, (lt_ptr) 0}
 
1618
-};
 
1619
-
 
1620
-#ifdef __cplusplus
 
1621
-}
 
1622
-#endif
 
1623
-EOF
 
1624
-         # Now try linking the two files.
 
1625
-         mv conftest.$ac_objext conftstm.$ac_objext
 
1626
-         save_LIBS="$LIBS"
 
1627
-         save_CFLAGS="$CFLAGS"
 
1628
-         LIBS="conftstm.$ac_objext"
 
1629
-         CFLAGS="$CFLAGS$no_builtin_flag"
 
1630
-         if AC_TRY_EVAL(ac_link) && test -s conftest; then
 
1631
-           pipe_works=yes
 
1632
-         fi
 
1633
-         LIBS="$save_LIBS"
 
1634
-         CFLAGS="$save_CFLAGS"
 
1635
-       else
 
1636
-         echo "cannot find nm_test_func in $nlist" >&AC_FD_CC
 
1637
-       fi
 
1638
-      else
 
1639
-       echo "cannot find nm_test_var in $nlist" >&AC_FD_CC
 
1640
-      fi
 
1641
-    else
 
1642
-      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC
 
1643
-    fi
 
1644
-  else
 
1645
-    echo "$progname: failed program was:" >&AC_FD_CC
 
1646
-    cat conftest.$ac_ext >&5
 
1647
-  fi
 
1648
-  rm -f conftest* conftst*
 
1649
-
 
1650
-  # Do not use the global_symbol_pipe unless it works.
 
1651
-  if test "$pipe_works" = yes; then
 
1652
-    break
 
1653
-  else
 
1654
-    lt_cv_sys_global_symbol_pipe=
 
1655
-  fi
 
1656
-done
 
1657
-])
 
1658
-global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
 
1659
-if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
1660
-  global_symbol_to_cdecl=
 
1661
-  global_symbol_to_c_name_address=
 
1662
-else
 
1663
-  global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
 
1664
-  global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
 
1665
-fi
 
1666
-if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
 
1667
-then
 
1668
-  AC_MSG_RESULT(failed)
 
1669
-else
 
1670
-  AC_MSG_RESULT(ok)
 
1671
-fi
 
1672
-]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
 
1673
-
 
1674
-# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
 
1675
-# ---------------------------------
 
1676
-AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR],
 
1677
-[# Find the correct PATH separator.  Usually this is `:', but
 
1678
-# DJGPP uses `;' like DOS.
 
1679
-if test "X${PATH_SEPARATOR+set}" != Xset; then
 
1680
-  UNAME=${UNAME-`uname 2>/dev/null`}
 
1681
-  case X$UNAME in
 
1682
-    *-DOS) lt_cv_sys_path_separator=';' ;;
 
1683
-    *)     lt_cv_sys_path_separator=':' ;;
 
1684
-  esac
 
1685
-  PATH_SEPARATOR=$lt_cv_sys_path_separator
 
1686
-fi
 
1687
-])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
 
1688
-
 
1689
-# _LT_AC_PROG_ECHO_BACKSLASH
 
1690
-# --------------------------
 
1691
-# Add some code to the start of the generated configure script which
 
1692
-# will find an echo command which doesn't interpret backslashes.
 
1693
-AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
 
1694
-[ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
 
1695
-                             [AC_DIVERT_PUSH(NOTICE)])
 
1696
-_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
 
1697
-
 
1698
-# Check that we are running under the correct shell.
 
1699
-SHELL=${CONFIG_SHELL-/bin/sh}
 
1700
-
 
1701
-case X$ECHO in
 
1702
-X*--fallback-echo)
 
1703
-  # Remove one level of quotation (which was required for Make).
 
1704
-  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
 
1705
-  ;;
 
1706
-esac
 
1707
-
 
1708
-echo=${ECHO-echo}
 
1709
-if test "X[$]1" = X--no-reexec; then
 
1710
-  # Discard the --no-reexec flag, and continue.
 
1711
-  shift
 
1712
-elif test "X[$]1" = X--fallback-echo; then
 
1713
-  # Avoid inline document here, it may be left over
 
1714
-  :
 
1715
-elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
 
1716
-  # Yippee, $echo works!
 
1717
-  :
 
1718
-else
 
1719
-  # Restart under the correct shell.
 
1720
-  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
 
1721
-fi
 
1722
-
 
1723
-if test "X[$]1" = X--fallback-echo; then
 
1724
-  # used as fallback echo
 
1725
-  shift
 
1726
-  cat <<EOF
 
1727
-$*
 
1728
-EOF
 
1729
-  exit 0
 
1730
-fi
 
1731
-
 
1732
-# The HP-UX ksh and POSIX shell print the target directory to stdout
 
1733
-# if CDPATH is set.
 
1734
-if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
 
1735
-
 
1736
-if test -z "$ECHO"; then
 
1737
-if test "X${echo_test_string+set}" != Xset; then
 
1738
-# find a string as large as possible, as long as the shell can cope with it
 
1739
-  for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
 
1740
-    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
1741
-    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
 
1742
-       echo_test_string="`eval $cmd`" &&
 
1743
-       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
 
1744
-    then
 
1745
-      break
 
1746
-    fi
 
1747
-  done
 
1748
-fi
 
1749
-
 
1750
-if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
 
1751
-   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
 
1752
-   test "X$echo_testing_string" = "X$echo_test_string"; then
 
1753
-  :
 
1754
-else
 
1755
-  # The Solaris, AIX, and Digital Unix default echo programs unquote
 
1756
-  # backslashes.  This makes it impossible to quote backslashes using
 
1757
-  #   echo "$something" | sed 's/\\/\\\\/g'
 
1758
-  #
 
1759
-  # So, first we look for a working echo in the user's PATH.
 
1760
-
 
1761
-  IFS="${IFS=  }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
1762
-  for dir in $PATH /usr/ucb; do
 
1763
-    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
1764
-       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
1765
-       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
1766
-       test "X$echo_testing_string" = "X$echo_test_string"; then
 
1767
-      echo="$dir/echo"
 
1768
-      break
 
1769
-    fi
 
1770
-  done
 
1771
-  IFS="$save_ifs"
 
1772
-
 
1773
-  if test "X$echo" = Xecho; then
 
1774
-    # We didn't find a better echo, so look for alternatives.
 
1775
-    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
 
1776
-       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
 
1777
-       test "X$echo_testing_string" = "X$echo_test_string"; then
 
1778
-      # This shell has a builtin print -r that does the trick.
 
1779
-      echo='print -r'
 
1780
-    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
 
1781
-        test "X$CONFIG_SHELL" != X/bin/ksh; then
 
1782
-      # If we have ksh, try running configure again with it.
 
1783
-      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
1784
-      export ORIGINAL_CONFIG_SHELL
 
1785
-      CONFIG_SHELL=/bin/ksh
 
1786
-      export CONFIG_SHELL
 
1787
-      exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
 
1788
-    else
 
1789
-      # Try using printf.
 
1790
-      echo='printf %s\n'
 
1791
-      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
 
1792
-        echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
 
1793
-        test "X$echo_testing_string" = "X$echo_test_string"; then
 
1794
-       # Cool, printf works
 
1795
-       :
 
1796
-      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
 
1797
-          test "X$echo_testing_string" = 'X\t' &&
 
1798
-          echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
1799
-          test "X$echo_testing_string" = "X$echo_test_string"; then
 
1800
-       CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
1801
-       export CONFIG_SHELL
 
1802
-       SHELL="$CONFIG_SHELL"
 
1803
-       export SHELL
 
1804
-       echo="$CONFIG_SHELL [$]0 --fallback-echo"
 
1805
-      elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
 
1806
-          test "X$echo_testing_string" = 'X\t' &&
 
1807
-          echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
1808
-          test "X$echo_testing_string" = "X$echo_test_string"; then
 
1809
-       echo="$CONFIG_SHELL [$]0 --fallback-echo"
 
1810
-      else
 
1811
-       # maybe with a smaller string...
 
1812
-       prev=:
 
1813
-
 
1814
-       for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
 
1815
-         if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
 
1816
-         then
 
1817
-           break
 
1818
-         fi
 
1819
-         prev="$cmd"
 
1820
-       done
 
1821
-
 
1822
-       if test "$prev" != 'sed 50q "[$]0"'; then
 
1823
-         echo_test_string=`eval $prev`
 
1824
-         export echo_test_string
 
1825
-         exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
 
1826
-       else
 
1827
-         # Oops.  We lost completely, so just stick with echo.
 
1828
-         echo=echo
 
1829
-       fi
 
1830
-      fi
 
1831
-    fi
 
1832
-  fi
 
1833
-fi
 
1834
-fi
 
1835
-
 
1836
-# Copy echo and quote the copy suitably for passing to libtool from
 
1837
-# the Makefile, instead of quoting the original, which is used later.
 
1838
-ECHO=$echo
 
1839
-if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
 
1840
-   ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
 
1841
-fi
 
1842
-
 
1843
-AC_SUBST(ECHO)
 
1844
-AC_DIVERT_POP
 
1845
-])# _LT_AC_PROG_ECHO_BACKSLASH
 
1846
-
 
1847
-# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
 
1848
-#                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
 
1849
-# ------------------------------------------------------------------
 
1850
-AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
 
1851
-[if test "$cross_compiling" = yes; then :
 
1852
-  [$4]
 
1853
-else
 
1854
-  AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
 
1855
-  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
1856
-  lt_status=$lt_dlunknown
 
1857
-  cat > conftest.$ac_ext <<EOF
 
1858
-[#line __oline__ "configure"
 
1859
-#include "confdefs.h"
 
1860
-
 
1861
-#if HAVE_DLFCN_H
 
1862
-#include <dlfcn.h>
 
1863
-#endif
 
1864
-
 
1865
-#include <stdio.h>
 
1866
-
 
1867
-#ifdef RTLD_GLOBAL
 
1868
-#  define LT_DLGLOBAL          RTLD_GLOBAL
 
1869
-#else
 
1870
-#  ifdef DL_GLOBAL
 
1871
-#    define LT_DLGLOBAL                DL_GLOBAL
 
1872
-#  else
 
1873
-#    define LT_DLGLOBAL                0
 
1874
-#  endif
 
1875
-#endif
 
1876
-
 
1877
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
1878
-   find out it does not work in some platform. */
 
1879
-#ifndef LT_DLLAZY_OR_NOW
 
1880
-#  ifdef RTLD_LAZY
 
1881
-#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
 
1882
-#  else
 
1883
-#    ifdef DL_LAZY
 
1884
-#      define LT_DLLAZY_OR_NOW         DL_LAZY
 
1885
-#    else
 
1886
-#      ifdef RTLD_NOW
 
1887
-#        define LT_DLLAZY_OR_NOW       RTLD_NOW
 
1888
-#      else
 
1889
-#        ifdef DL_NOW
 
1890
-#          define LT_DLLAZY_OR_NOW     DL_NOW
 
1891
-#        else
 
1892
-#          define LT_DLLAZY_OR_NOW     0
 
1893
-#        endif
 
1894
-#      endif
 
1895
-#    endif
 
1896
-#  endif
 
1897
-#endif
 
1898
-
 
1899
-#ifdef __cplusplus
 
1900
-extern "C" void exit (int);
 
1901
-#endif
 
1902
-
 
1903
-void fnord() { int i=42;}
 
1904
-int main ()
 
1905
-{
 
1906
-  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
1907
-  int status = $lt_dlunknown;
 
1908
-
 
1909
-  if (self)
 
1910
-    {
 
1911
-      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
1912
-      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
1913
-      /* dlclose (self); */
 
1914
-    }
 
1915
-
 
1916
-    exit (status);
 
1917
-}]
 
1918
-EOF
 
1919
-  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
 
1920
-    (./conftest; exit; ) 2>/dev/null
 
1921
-    lt_status=$?
 
1922
-    case x$lt_status in
 
1923
-      x$lt_dlno_uscore) $1 ;;
 
1924
-      x$lt_dlneed_uscore) $2 ;;
 
1925
-      x$lt_unknown|x*) $3 ;;
 
1926
-    esac
 
1927
-  else :
 
1928
-    # compilation failed
 
1929
-    $3
 
1930
-  fi
 
1931
-fi
 
1932
-rm -fr conftest*
 
1933
-])# _LT_AC_TRY_DLOPEN_SELF
 
1934
-
 
1935
-# AC_LIBTOOL_DLOPEN_SELF
 
1936
-# -------------------
 
1937
-AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
 
1938
-[if test "x$enable_dlopen" != xyes; then
 
1939
-  enable_dlopen=unknown
 
1940
-  enable_dlopen_self=unknown
 
1941
-  enable_dlopen_self_static=unknown
 
1942
-else
 
1943
-  lt_cv_dlopen=no
 
1944
-  lt_cv_dlopen_libs=
 
1945
-
 
1946
-  case $host_os in
 
1947
-  beos*)
 
1948
-    lt_cv_dlopen="load_add_on"
 
1949
-    lt_cv_dlopen_libs=
 
1950
-    lt_cv_dlopen_self=yes
 
1951
-    ;;
 
1952
-
 
1953
-  cygwin* | mingw* | pw32*)
 
1954
-    lt_cv_dlopen="LoadLibrary"
 
1955
-    lt_cv_dlopen_libs=
 
1956
-   ;;
 
1957
-
 
1958
-  *)
 
1959
-    AC_CHECK_FUNC([shl_load],
 
1960
-          [lt_cv_dlopen="shl_load"],
 
1961
-      [AC_CHECK_LIB([dld], [shl_load],
 
1962
-            [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
 
1963
-       [AC_CHECK_FUNC([dlopen],
 
1964
-             [lt_cv_dlopen="dlopen"],
 
1965
-         [AC_CHECK_LIB([dl], [dlopen],
 
1966
-               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
 
1967
-           [AC_CHECK_LIB([svld], [dlopen],
 
1968
-                 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
 
1969
-             [AC_CHECK_LIB([dld], [dld_link],
 
1970
-                   [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
 
1971
-             ])
 
1972
-           ])
 
1973
-         ])
 
1974
-       ])
 
1975
-      ])
 
1976
-    ;;
 
1977
-  esac
 
1978
-
 
1979
-  if test "x$lt_cv_dlopen" != xno; then
 
1980
-    enable_dlopen=yes
 
1981
-  else
 
1982
-    enable_dlopen=no
 
1983
-  fi
 
1984
-
 
1985
-  case $lt_cv_dlopen in
 
1986
-  dlopen)
 
1987
-    save_CPPFLAGS="$CPPFLAGS"
 
1988
-    AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
 
1989
-    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
1990
-
 
1991
-    save_LDFLAGS="$LDFLAGS"
 
1992
-    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
1993
-
 
1994
-    save_LIBS="$LIBS"
 
1995
-    LIBS="$lt_cv_dlopen_libs $LIBS"
 
1996
-
 
1997
-    AC_CACHE_CHECK([whether a program can dlopen itself],
 
1998
-         lt_cv_dlopen_self, [dnl
 
1999
-         _LT_AC_TRY_DLOPEN_SELF(
 
2000
-           lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
 
2001
-           lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
 
2002
-    ])
 
2003
-
 
2004
-    if test "x$lt_cv_dlopen_self" = xyes; then
 
2005
-      LDFLAGS="$LDFLAGS $link_static_flag"
 
2006
-      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
 
2007
-         lt_cv_dlopen_self_static, [dnl
 
2008
-         _LT_AC_TRY_DLOPEN_SELF(
 
2009
-           lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
 
2010
-           lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
 
2011
-      ])
 
2012
-    fi
 
2013
-
 
2014
-    CPPFLAGS="$save_CPPFLAGS"
 
2015
-    LDFLAGS="$save_LDFLAGS"
 
2016
-    LIBS="$save_LIBS"
 
2017
-    ;;
 
2018
-  esac
 
2019
-
 
2020
-  case $lt_cv_dlopen_self in
 
2021
-  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
2022
-  *) enable_dlopen_self=unknown ;;
 
2023
-  esac
 
2024
-
 
2025
-  case $lt_cv_dlopen_self_static in
 
2026
-  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
2027
-  *) enable_dlopen_self_static=unknown ;;
 
2028
-  esac
 
2029
-fi
 
2030
-])# AC_LIBTOOL_DLOPEN_SELF
 
2031
-
 
2032
-AC_DEFUN([_LT_AC_LTCONFIG_HACK],
 
2033
-[AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])dnl
 
2034
-# Sed substitution that helps us do robust quoting.  It backslashifies
 
2035
-# metacharacters that are still active within double-quoted strings.
 
2036
-Xsed='sed -e s/^X//'
 
2037
-sed_quote_subst='s/\([[\\"\\`$\\\\]]\)/\\\1/g'
 
2038
-
 
2039
-# Same as above, but do not quote variable references.
 
2040
-double_quote_subst='s/\([[\\"\\`\\\\]]\)/\\\1/g'
 
2041
-
 
2042
-# Sed substitution to delay expansion of an escaped shell variable in a
 
2043
-# double_quote_subst'ed string.
 
2044
-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
2045
-
 
2046
-# Constants:
 
2047
-rm="rm -f"
 
2048
-
 
2049
-# Global variables:
 
2050
-default_ofile=libtool
 
2051
-can_build_shared=yes
 
2052
-
 
2053
-# All known linkers require a `.a' archive for static linking (except M$VC,
 
2054
-# which needs '.lib').
 
2055
-libext=a
 
2056
-ltmain="$ac_aux_dir/ltmain.sh"
 
2057
-ofile="$default_ofile"
 
2058
-with_gnu_ld="$lt_cv_prog_gnu_ld"
 
2059
-need_locks="$enable_libtool_lock"
 
2060
-
 
2061
-old_CC="$CC"
 
2062
-old_CFLAGS="$CFLAGS"
 
2063
-
 
2064
-# Set sane defaults for various variables
 
2065
-test -z "$AR" && AR=ar
 
2066
-test -z "$AR_FLAGS" && AR_FLAGS=cru
 
2067
-test -z "$AS" && AS=as
 
2068
-test -z "$CC" && CC=cc
 
2069
-test -z "$DLLTOOL" && DLLTOOL=dlltool
 
2070
-test -z "$LD" && LD=ld
 
2071
-test -z "$LN_S" && LN_S="ln -s"
 
2072
-test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
2073
-test -z "$NM" && NM=nm
 
2074
-test -z "$OBJDUMP" && OBJDUMP=objdump
 
2075
-test -z "$RANLIB" && RANLIB=:
 
2076
-test -z "$STRIP" && STRIP=:
 
2077
-test -z "$ac_objext" && ac_objext=o
 
2078
-
 
2079
-if test x"$host" != x"$build"; then
 
2080
-  ac_tool_prefix=${host_alias}-
 
2081
-else
 
2082
-  ac_tool_prefix=
 
2083
-fi
 
2084
-
 
2085
-# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
 
2086
-case $host_os in
 
2087
-linux-gnu*) ;;
 
2088
-linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
 
2089
-esac
 
2090
-
 
2091
-case $host_os in
 
2092
-aix3*)
 
2093
-  # AIX sometimes has problems with the GCC collect2 program.  For some
 
2094
-  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
2095
-  # vanish in a puff of smoke.
 
2096
-  if test "X${COLLECT_NAMES+set}" != Xset; then
 
2097
-    COLLECT_NAMES=
 
2098
-    export COLLECT_NAMES
 
2099
-  fi
 
2100
-  ;;
 
2101
-esac
 
2102
-
 
2103
-# Determine commands to create old-style static archives.
 
2104
-old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
2105
-old_postinstall_cmds='chmod 644 $oldlib'
 
2106
-old_postuninstall_cmds=
 
2107
-
 
2108
-if test -n "$RANLIB"; then
 
2109
-  case $host_os in
 
2110
-  openbsd*)
 
2111
-    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
 
2112
-    ;;
 
2113
-  *)
 
2114
-    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
 
2115
-    ;;
 
2116
-  esac
 
2117
-  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
2118
-fi
 
2119
-
 
2120
-# Allow CC to be a program name with arguments.
 
2121
-set dummy $CC
 
2122
-compiler="[$]2"
 
2123
-
 
2124
-AC_MSG_CHECKING([for objdir])
 
2125
-rm -f .libs 2>/dev/null
 
2126
-mkdir .libs 2>/dev/null
 
2127
-if test -d .libs; then
 
2128
-  objdir=.libs
 
2129
-else
 
2130
-  # MS-DOS does not allow filenames that begin with a dot.
 
2131
-  objdir=_libs
 
2132
-fi
 
2133
-rmdir .libs 2>/dev/null
 
2134
-AC_MSG_RESULT($objdir)
 
2135
-
 
2136
-
 
2137
-AC_ARG_WITH(pic,
 
2138
-[  --with-pic              try to use only PIC/non-PIC objects [default=use both]],
 
2139
-pic_mode="$withval", pic_mode=default)
 
2140
-test -z "$pic_mode" && pic_mode=default
 
2141
-
 
2142
-# We assume here that the value for lt_cv_prog_cc_pic will not be cached
 
2143
-# in isolation, and that seeing it set (from the cache) indicates that
 
2144
-# the associated values are set (in the cache) correctly too.
 
2145
-AC_MSG_CHECKING([for $compiler option to produce PIC])
 
2146
-AC_CACHE_VAL(lt_cv_prog_cc_pic,
 
2147
-[ lt_cv_prog_cc_pic=
 
2148
-  lt_cv_prog_cc_shlib=
 
2149
-  lt_cv_prog_cc_wl=
 
2150
-  lt_cv_prog_cc_static=
 
2151
-  lt_cv_prog_cc_no_builtin=
 
2152
-  lt_cv_prog_cc_can_build_shared=$can_build_shared
 
2153
-
 
2154
-  if test "$GCC" = yes; then
 
2155
-    lt_cv_prog_cc_wl='-Wl,'
 
2156
-    lt_cv_prog_cc_static='-static'
 
2157
-
 
2158
-    case $host_os in
 
2159
-    aix*)
 
2160
-      # Below there is a dirty hack to force normal static linking with -ldl
 
2161
-      # The problem is because libdl dynamically linked with both libc and
 
2162
-      # libC (AIX C++ library), which obviously doesn't included in libraries
 
2163
-      # list by gcc. This cause undefined symbols with -static flags.
 
2164
-      # This hack allows C programs to be linked with "-static -ldl", but
 
2165
-      # not sure about C++ programs.
 
2166
-      lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
 
2167
-      ;;
 
2168
-    amigaos*)
 
2169
-      # FIXME: we need at least 68020 code to build shared libraries, but
 
2170
-      # adding the `-m68020' flag to GCC prevents building anything better,
 
2171
-      # like `-m68040'.
 
2172
-      lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
 
2173
-      ;;
 
2174
-    beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
 
2175
-      # PIC is the default for these OSes.
 
2176
-      ;;
 
2177
-    darwin* | rhapsody*)
 
2178
-      # PIC is the default on this platform
 
2179
-      # Common symbols not allowed in MH_DYLIB files
 
2180
-      lt_cv_prog_cc_pic='-fno-common'
 
2181
-      ;;
 
2182
-    cygwin* | mingw* | pw32* | os2*)
 
2183
-      # This hack is so that the source file can tell whether it is being
 
2184
-      # built for inclusion in a dll (and should export symbols for example).
 
2185
-      lt_cv_prog_cc_pic='-DDLL_EXPORT'
 
2186
-      ;;
 
2187
-    sysv4*MP*)
 
2188
-      if test -d /usr/nec; then
 
2189
-        lt_cv_prog_cc_pic=-Kconform_pic
 
2190
-      fi
 
2191
-      ;;
 
2192
-    *)
 
2193
-      lt_cv_prog_cc_pic='-fPIC'
 
2194
-      ;;
 
2195
-    esac
 
2196
-  else
 
2197
-    # PORTME Check for PIC flags for the system compiler.
 
2198
-    case $host_os in
 
2199
-    aix3* | aix4* | aix5*)
 
2200
-      lt_cv_prog_cc_wl='-Wl,'
 
2201
-      # All AIX code is PIC.
 
2202
-      if test "$host_cpu" = ia64; then
 
2203
-       # AIX 5 now supports IA64 processor
 
2204
-       lt_cv_prog_cc_static='-Bstatic'
 
2205
-      else
 
2206
-       lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
 
2207
-      fi
 
2208
-      ;;
 
2209
-
 
2210
-    hpux9* | hpux10* | hpux11*)
 
2211
-      # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
 
2212
-      lt_cv_prog_cc_wl='-Wl,'
 
2213
-      lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
 
2214
-      lt_cv_prog_cc_pic='+Z'
 
2215
-      ;;
 
2216
-
 
2217
-    irix5* | irix6*)
 
2218
-      lt_cv_prog_cc_wl='-Wl,'
 
2219
-      lt_cv_prog_cc_static='-non_shared'
 
2220
-      # PIC (with -KPIC) is the default.
 
2221
-      ;;
 
2222
-
 
2223
-    cygwin* | mingw* | pw32* | os2*)
 
2224
-      # This hack is so that the source file can tell whether it is being
 
2225
-      # built for inclusion in a dll (and should export symbols for example).
 
2226
-      lt_cv_prog_cc_pic='-DDLL_EXPORT'
 
2227
-      ;;
 
2228
-
 
2229
-    newsos6)
 
2230
-      lt_cv_prog_cc_pic='-KPIC'
 
2231
-      lt_cv_prog_cc_static='-Bstatic'
 
2232
-      ;;
 
2233
-
 
2234
-    osf3* | osf4* | osf5*)
 
2235
-      # All OSF/1 code is PIC.
 
2236
-      lt_cv_prog_cc_wl='-Wl,'
 
2237
-      lt_cv_prog_cc_static='-non_shared'
 
2238
-      ;;
 
2239
-
 
2240
-    sco3.2v5*)
 
2241
-      lt_cv_prog_cc_pic='-Kpic'
 
2242
-      lt_cv_prog_cc_static='-dn'
 
2243
-      lt_cv_prog_cc_shlib='-belf'
 
2244
-      ;;
 
2245
-
 
2246
-    solaris*)
 
2247
-      lt_cv_prog_cc_pic='-KPIC'
 
2248
-      lt_cv_prog_cc_static='-Bstatic'
 
2249
-      lt_cv_prog_cc_wl='-Wl,'
 
2250
-      ;;
 
2251
-
 
2252
-    sunos4*)
 
2253
-      lt_cv_prog_cc_pic='-PIC'
 
2254
-      lt_cv_prog_cc_static='-Bstatic'
 
2255
-      lt_cv_prog_cc_wl='-Qoption ld '
 
2256
-      ;;
 
2257
-
 
2258
-    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
2259
-      lt_cv_prog_cc_pic='-KPIC'
 
2260
-      lt_cv_prog_cc_static='-Bstatic'
 
2261
-      if test "x$host_vendor" = xsni; then
 
2262
-       lt_cv_prog_cc_wl='-LD'
 
2263
-      else
 
2264
-       lt_cv_prog_cc_wl='-Wl,'
 
2265
-      fi
 
2266
-      ;;
 
2267
-
 
2268
-    uts4*)
 
2269
-      lt_cv_prog_cc_pic='-pic'
 
2270
-      lt_cv_prog_cc_static='-Bstatic'
 
2271
-      ;;
 
2272
-
 
2273
-    sysv4*MP*)
 
2274
-      if test -d /usr/nec ;then
 
2275
-       lt_cv_prog_cc_pic='-Kconform_pic'
 
2276
-       lt_cv_prog_cc_static='-Bstatic'
 
2277
-      fi
 
2278
-      ;;
 
2279
-
 
2280
-    *)
 
2281
-      lt_cv_prog_cc_can_build_shared=no
 
2282
-      ;;
 
2283
-    esac
 
2284
-  fi
 
2285
-])
 
2286
-if test -z "$lt_cv_prog_cc_pic"; then
 
2287
-  AC_MSG_RESULT([none])
 
2288
-else
 
2289
-  AC_MSG_RESULT([$lt_cv_prog_cc_pic])
 
2290
-
 
2291
-  # Check to make sure the pic_flag actually works.
 
2292
-  AC_MSG_CHECKING([if $compiler PIC flag $lt_cv_prog_cc_pic works])
 
2293
-  AC_CACHE_VAL(lt_cv_prog_cc_pic_works, [dnl
 
2294
-    save_CFLAGS="$CFLAGS"
 
2295
-    CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
 
2296
-    AC_TRY_COMPILE([], [], [dnl
 
2297
-      case $host_os in
 
2298
-      hpux9* | hpux10* | hpux11*)
 
2299
-       # On HP-UX, both CC and GCC only warn that PIC is supported... then
 
2300
-       # they create non-PIC objects.  So, if there were any warnings, we
 
2301
-       # assume that PIC is not supported.
 
2302
-       if test -s conftest.err; then
 
2303
-         lt_cv_prog_cc_pic_works=no
 
2304
-       else
 
2305
-         lt_cv_prog_cc_pic_works=yes
 
2306
-       fi
 
2307
-       ;;
 
2308
-      *)
 
2309
-       lt_cv_prog_cc_pic_works=yes
 
2310
-       ;;
 
2311
-      esac
 
2312
-    ], [dnl
 
2313
-      lt_cv_prog_cc_pic_works=no
 
2314
-    ])
 
2315
-    CFLAGS="$save_CFLAGS"
 
2316
-  ])
 
2317
-
 
2318
-  if test "X$lt_cv_prog_cc_pic_works" = Xno; then
 
2319
-    lt_cv_prog_cc_pic=
 
2320
-    lt_cv_prog_cc_can_build_shared=no
 
2321
-  else
 
2322
-    lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
 
2323
-  fi
 
2324
-
 
2325
-  AC_MSG_RESULT([$lt_cv_prog_cc_pic_works])
 
2326
-fi
 
2327
-
 
2328
-# Check for any special shared library compilation flags.
 
2329
-if test -n "$lt_cv_prog_cc_shlib"; then
 
2330
-  AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries])
 
2331
-  if echo "$old_CC $old_CFLAGS " | egrep -e "[[        ]]$lt_cv_prog_cc_shlib[[        ]]" >/dev/null; then :
 
2332
-  else
 
2333
-   AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure])
 
2334
-    lt_cv_prog_cc_can_build_shared=no
 
2335
-  fi
 
2336
-fi
 
2337
-
 
2338
-AC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works])
 
2339
-AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl
 
2340
-  lt_cv_prog_cc_static_works=no
 
2341
-  save_LDFLAGS="$LDFLAGS"
 
2342
-  LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
 
2343
-  AC_TRY_LINK([], [], [lt_cv_prog_cc_static_works=yes])
 
2344
-  LDFLAGS="$save_LDFLAGS"
 
2345
-])
 
2346
-
 
2347
-# Belt *and* braces to stop my trousers falling down:
 
2348
-test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
 
2349
-AC_MSG_RESULT([$lt_cv_prog_cc_static_works])
 
2350
-
 
2351
-pic_flag="$lt_cv_prog_cc_pic"
 
2352
-special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
 
2353
-wl="$lt_cv_prog_cc_wl"
 
2354
-link_static_flag="$lt_cv_prog_cc_static"
 
2355
-no_builtin_flag="$lt_cv_prog_cc_no_builtin"
 
2356
-can_build_shared="$lt_cv_prog_cc_can_build_shared"
 
2357
-
 
2358
-
 
2359
-# Check to see if options -o and -c are simultaneously supported by compiler
 
2360
-AC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext])
 
2361
-AC_CACHE_VAL([lt_cv_compiler_c_o], [
 
2362
-$rm -r conftest 2>/dev/null
 
2363
-mkdir conftest
 
2364
-cd conftest
 
2365
-echo "int some_variable = 0;" > conftest.$ac_ext
 
2366
-mkdir out
 
2367
-# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
 
2368
-# that will create temporary files in the current directory regardless of
 
2369
-# the output directory.  Thus, making CWD read-only will cause this test
 
2370
-# to fail, enabling locking or at least warning the user not to do parallel
 
2371
-# builds.
 
2372
-chmod -w .
 
2373
-save_CFLAGS="$CFLAGS"
 
2374
-CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
 
2375
-compiler_c_o=no
 
2376
-if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
 
2377
-  # The compiler can only warn and ignore the option if not recognized
 
2378
-  # So say no if there are warnings
 
2379
-  if test -s out/conftest.err; then
 
2380
-    lt_cv_compiler_c_o=no
 
2381
-  else
 
2382
-    lt_cv_compiler_c_o=yes
 
2383
-  fi
 
2384
-else
 
2385
-  # Append any errors to the config.log.
 
2386
-  cat out/conftest.err 1>&AC_FD_CC
 
2387
-  lt_cv_compiler_c_o=no
 
2388
-fi
 
2389
-CFLAGS="$save_CFLAGS"
 
2390
-chmod u+w .
 
2391
-$rm conftest* out/*
 
2392
-rmdir out
 
2393
-cd ..
 
2394
-rmdir conftest
 
2395
-$rm -r conftest 2>/dev/null
 
2396
-])
 
2397
-compiler_c_o=$lt_cv_compiler_c_o
 
2398
-AC_MSG_RESULT([$compiler_c_o])
 
2399
-
 
2400
-if test x"$compiler_c_o" = x"yes"; then
 
2401
-  # Check to see if we can write to a .lo
 
2402
-  AC_MSG_CHECKING([if $compiler supports -c -o file.lo])
 
2403
-  AC_CACHE_VAL([lt_cv_compiler_o_lo], [
 
2404
-  lt_cv_compiler_o_lo=no
 
2405
-  save_CFLAGS="$CFLAGS"
 
2406
-  CFLAGS="$CFLAGS -c -o conftest.lo"
 
2407
-  save_objext="$ac_objext"
 
2408
-  ac_objext=lo
 
2409
-  AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
 
2410
-    # The compiler can only warn and ignore the option if not recognized
 
2411
-    # So say no if there are warnings
 
2412
-    if test -s conftest.err; then
 
2413
-      lt_cv_compiler_o_lo=no
 
2414
-    else
 
2415
-      lt_cv_compiler_o_lo=yes
 
2416
-    fi
 
2417
-  ])
 
2418
-  ac_objext="$save_objext"
 
2419
-  CFLAGS="$save_CFLAGS"
 
2420
-  ])
 
2421
-  compiler_o_lo=$lt_cv_compiler_o_lo
 
2422
-  AC_MSG_RESULT([$compiler_o_lo])
 
2423
-else
 
2424
-  compiler_o_lo=no
 
2425
-fi
 
2426
-
 
2427
-# Check to see if we can do hard links to lock some files if needed
 
2428
-hard_links="nottested"
 
2429
-if test "$compiler_c_o" = no && test "$need_locks" != no; then
 
2430
-  # do not overwrite the value of need_locks provided by the user
 
2431
-  AC_MSG_CHECKING([if we can lock with hard links])
 
2432
-  hard_links=yes
 
2433
-  $rm conftest*
 
2434
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
2435
-  touch conftest.a
 
2436
-  ln conftest.a conftest.b 2>&5 || hard_links=no
 
2437
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
2438
-  AC_MSG_RESULT([$hard_links])
 
2439
-  if test "$hard_links" = no; then
 
2440
-    AC_MSG_WARN([\`$CC' does not support \`-c -o', so \`make -j' may be unsafe])
 
2441
-    need_locks=warn
 
2442
-  fi
 
2443
-else
 
2444
-  need_locks=no
 
2445
-fi
 
2446
-
 
2447
-if test "$GCC" = yes; then
 
2448
-  # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
 
2449
-  AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions])
 
2450
-  echo "int some_variable = 0;" > conftest.$ac_ext
 
2451
-  save_CFLAGS="$CFLAGS"
 
2452
-  CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
 
2453
-  compiler_rtti_exceptions=no
 
2454
-  AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
 
2455
-    # The compiler can only warn and ignore the option if not recognized
 
2456
-    # So say no if there are warnings
 
2457
-    if test -s conftest.err; then
 
2458
-      compiler_rtti_exceptions=no
 
2459
-    else
 
2460
-      compiler_rtti_exceptions=yes
 
2461
-    fi
 
2462
-  ])
 
2463
-  CFLAGS="$save_CFLAGS"
 
2464
-  AC_MSG_RESULT([$compiler_rtti_exceptions])
 
2465
-
 
2466
-  if test "$compiler_rtti_exceptions" = "yes"; then
 
2467
-    no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
 
2468
-  else
 
2469
-    no_builtin_flag=' -fno-builtin'
 
2470
-  fi
 
2471
-fi
 
2472
-
 
2473
-# See if the linker supports building shared libraries.
 
2474
-AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries])
 
2475
-
 
2476
-allow_undefined_flag=
 
2477
-no_undefined_flag=
 
2478
-need_lib_prefix=unknown
 
2479
-need_version=unknown
 
2480
-# when you set need_version to no, make sure it does not cause -set_version
 
2481
-# flags to be left without arguments
 
2482
-archive_cmds=
 
2483
-archive_expsym_cmds=
 
2484
-old_archive_from_new_cmds=
 
2485
-old_archive_from_expsyms_cmds=
 
2486
-export_dynamic_flag_spec=
 
2487
-whole_archive_flag_spec=
 
2488
-thread_safe_flag_spec=
 
2489
-hardcode_into_libs=no
 
2490
-hardcode_libdir_flag_spec=
 
2491
-hardcode_libdir_separator=
 
2492
-hardcode_direct=no
 
2493
-hardcode_minus_L=no
 
2494
-hardcode_shlibpath_var=unsupported
 
2495
-runpath_var=
 
2496
-link_all_deplibs=unknown
 
2497
-always_export_symbols=no
 
2498
-export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
2499
-# include_expsyms should be a list of space-separated symbols to be *always*
 
2500
-# included in the symbol list
 
2501
-include_expsyms=
 
2502
-# exclude_expsyms can be an egrep regular expression of symbols to exclude
 
2503
-# it will be wrapped by ` (' and `)$', so one must not match beginning or
 
2504
-# end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
2505
-# as well as any symbol that contains `d'.
 
2506
-exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
2507
-# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
2508
-# platforms (ab)use it in PIC code, but their linkers get confused if
 
2509
-# the symbol is explicitly referenced.  Since portable code cannot
 
2510
-# rely on this symbol name, it's probably fine to never include it in
 
2511
-# preloaded symbol tables.
 
2512
-extract_expsyms_cmds=
 
2513
-
 
2514
-case $host_os in
 
2515
-cygwin* | mingw* | pw32*)
 
2516
-  # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
2517
-  # When not using gcc, we currently assume that we are using
 
2518
-  # Microsoft Visual C++.
 
2519
-  if test "$GCC" != yes; then
 
2520
-    with_gnu_ld=no
 
2521
-  fi
 
2522
-  ;;
 
2523
-openbsd*)
 
2524
-  with_gnu_ld=no
 
2525
-  ;;
 
2526
-esac
 
2527
-
 
2528
-ld_shlibs=yes
 
2529
-if test "$with_gnu_ld" = yes; then
 
2530
-  # If archive_cmds runs LD, not CC, wlarc should be empty
 
2531
-  wlarc='${wl}'
 
2532
-
 
2533
-  # See if GNU ld supports shared libraries.
 
2534
-  case $host_os in
 
2535
-  aix3* | aix4* | aix5*)
 
2536
-    # On AIX, the GNU linker is very broken
 
2537
-    # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
 
2538
-    ld_shlibs=no
 
2539
-    cat <<EOF 1>&2
 
2540
-
 
2541
-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
2542
-*** to be unable to reliably create shared libraries on AIX.
 
2543
-*** Therefore, libtool is disabling shared libraries support.  If you
 
2544
-*** really care for shared libraries, you may want to modify your PATH
 
2545
-*** so that a non-GNU linker is found, and then restart.
 
2546
-
 
2547
-EOF
 
2548
-    ;;
 
2549
-
 
2550
-  amigaos*)
 
2551
-    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)'
 
2552
-    hardcode_libdir_flag_spec='-L$libdir'
 
2553
-    hardcode_minus_L=yes
 
2554
-
 
2555
-    # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
 
2556
-    # that the semantics of dynamic libraries on AmigaOS, at least up
 
2557
-    # to version 4, is to share data among multiple programs linked
 
2558
-    # with the same dynamic library.  Since this doesn't match the
 
2559
-    # behavior of shared libraries on other platforms, we can use
 
2560
-    # them.
 
2561
-    ld_shlibs=no
 
2562
-    ;;
 
2563
-
 
2564
-  beos*)
 
2565
-    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
 
2566
-      allow_undefined_flag=unsupported
 
2567
-      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
2568
-      # support --undefined.  This deserves some investigation.  FIXME
 
2569
-      archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
2570
-    else
 
2571
-      ld_shlibs=no
 
2572
-    fi
 
2573
-    ;;
 
2574
-
 
2575
-  cygwin* | mingw* | pw32*)
 
2576
-    # hardcode_libdir_flag_spec is actually meaningless, as there is
 
2577
-    # no search path for DLLs.
 
2578
-    hardcode_libdir_flag_spec='-L$libdir'
 
2579
-    allow_undefined_flag=unsupported
 
2580
-    always_export_symbols=yes
 
2581
-
 
2582
-    extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
 
2583
-      sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
 
2584
-      test -f $output_objdir/impgen.exe || (cd $output_objdir && \
 
2585
-      if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
 
2586
-      else $CC -o impgen impgen.c ; fi)~
 
2587
-      $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
 
2588
-
 
2589
-    old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
 
2590
-
 
2591
-    # cygwin and mingw dlls have different entry points and sets of symbols
 
2592
-    # to exclude.
 
2593
-    # FIXME: what about values for MSVC?
 
2594
-    dll_entry=__cygwin_dll_entry@12
 
2595
-    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
 
2596
-    case $host_os in
 
2597
-    mingw*)
 
2598
-      # mingw values
 
2599
-      dll_entry=_DllMainCRTStartup@12
 
2600
-      dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
 
2601
-      ;;
 
2602
-    esac
 
2603
-
 
2604
-    # mingw and cygwin differ, and it's simplest to just exclude the union
 
2605
-    # of the two symbol sets.
 
2606
-    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
 
2607
-
 
2608
-    # recent cygwin and mingw systems supply a stub DllMain which the user
 
2609
-    # can override, but on older systems we have to supply one (in ltdll.c)
 
2610
-    if test "x$lt_cv_need_dllmain" = "xyes"; then
 
2611
-      ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
 
2612
-      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
 
2613
-       test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
 
2614
-    else
 
2615
-      ltdll_obj=
 
2616
-      ltdll_cmds=
 
2617
-    fi
 
2618
-
 
2619
-    # Extract the symbol export list from an `--export-all' def file,
 
2620
-    # then regenerate the def file from the symbol export list, so that
 
2621
-    # the compiled dll only exports the symbol export list.
 
2622
-    # Be careful not to strip the DATA tag left be newer dlltools.
 
2623
-    export_symbols_cmds="$ltdll_cmds"'
 
2624
-      $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
 
2625
-      sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
 
2626
-
 
2627
-    # If the export-symbols file already is a .def file (1st line
 
2628
-    # is EXPORTS), use it as is.
 
2629
-    # If DATA tags from a recent dlltool are present, honour them!
 
2630
-    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
 
2631
-       cp $export_symbols $output_objdir/$soname-def;
 
2632
-      else
 
2633
-       echo EXPORTS > $output_objdir/$soname-def;
 
2634
-       _lt_hint=1;
 
2635
-       cat $export_symbols | while read symbol; do
 
2636
-        set dummy \$symbol;
 
2637
-        case \[$]# in
 
2638
-          2) echo "   \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
 
2639
-          *) echo "     \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
 
2640
-        esac;
 
2641
-        _lt_hint=`expr 1 + \$_lt_hint`;
 
2642
-       done;
 
2643
-      fi~
 
2644
-      '"$ltdll_cmds"'
 
2645
-      $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
 
2646
-      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
 
2647
-      $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
 
2648
-      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
 
2649
-      $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
 
2650
-    ;;
 
2651
-
 
2652
-  netbsd*)
 
2653
-    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
2654
-      archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
2655
-      wlarc=
 
2656
-    else
 
2657
-      archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
2658
-      archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
2659
-    fi
 
2660
-    ;;
 
2661
-
 
2662
-  solaris* | sysv5*)
 
2663
-    if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
 
2664
-      ld_shlibs=no
 
2665
-      cat <<EOF 1>&2
 
2666
-
 
2667
-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
2668
-*** create shared libraries on Solaris systems.  Therefore, libtool
 
2669
-*** is disabling shared libraries support.  We urge you to upgrade GNU
 
2670
-*** binutils to release 2.9.1 or newer.  Another option is to modify
 
2671
-*** your PATH or compiler configuration so that the native linker is
 
2672
-*** used, and then restart.
 
2673
-
 
2674
-EOF
 
2675
-    elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
 
2676
-      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
2677
-      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
2678
-    else
 
2679
-      ld_shlibs=no
 
2680
-    fi
 
2681
-    ;;
 
2682
-
 
2683
-  sunos4*)
 
2684
-    archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
2685
-    wlarc=
 
2686
-    hardcode_direct=yes
 
2687
-    hardcode_shlibpath_var=no
 
2688
-    ;;
 
2689
-
 
2690
-  *)
 
2691
-    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
 
2692
-      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
2693
-      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
2694
-    else
 
2695
-      ld_shlibs=no
 
2696
-    fi
 
2697
-    ;;
 
2698
-  esac
 
2699
-
 
2700
-  if test "$ld_shlibs" = yes; then
 
2701
-    runpath_var=LD_RUN_PATH
 
2702
-    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
2703
-    export_dynamic_flag_spec='${wl}--export-dynamic'
 
2704
-    case $host_os in
 
2705
-    cygwin* | mingw* | pw32*)
 
2706
-      # dlltool doesn't understand --whole-archive et. al.
 
2707
-      whole_archive_flag_spec=
 
2708
-      ;;
 
2709
-    *)
 
2710
-      # ancient GNU ld didn't support --whole-archive et. al.
 
2711
-      if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
 
2712
-       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
2713
-      else
 
2714
-       whole_archive_flag_spec=
 
2715
-      fi
 
2716
-      ;;
 
2717
-    esac
 
2718
-  fi
 
2719
-else
 
2720
-  # PORTME fill in a description of your system's linker (not GNU ld)
 
2721
-  case $host_os in
 
2722
-  aix3*)
 
2723
-    allow_undefined_flag=unsupported
 
2724
-    always_export_symbols=yes
 
2725
-    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'
 
2726
-    # Note: this linker hardcodes the directories in LIBPATH if there
 
2727
-    # are no directories specified by -L.
 
2728
-    hardcode_minus_L=yes
 
2729
-    if test "$GCC" = yes && test -z "$link_static_flag"; then
 
2730
-      # Neither direct hardcoding nor static linking is supported with a
 
2731
-      # broken collect2.
 
2732
-      hardcode_direct=unsupported
 
2733
-    fi
 
2734
-    ;;
 
2735
-
 
2736
-  aix4* | aix5*)
 
2737
-    if test "$host_cpu" = ia64; then
 
2738
-      # On IA64, the linker does run time linking by default, so we don't
 
2739
-      # have to do anything special.
 
2740
-      aix_use_runtimelinking=no
 
2741
-      exp_sym_flag='-Bexport'
 
2742
-      no_entry_flag=""
 
2743
-    else
 
2744
-      aix_use_runtimelinking=no
 
2745
-
 
2746
-      # Test if we are trying to use run time linking or normal
 
2747
-      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
2748
-      # need to do runtime linking.
 
2749
-      case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
 
2750
-       for ld_flag in $LDFLAGS; do
 
2751
-         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
2752
-           aix_use_runtimelinking=yes
 
2753
-           break
 
2754
-         fi
 
2755
-       done
 
2756
-      esac
 
2757
-
 
2758
-      exp_sym_flag='-bexport'
 
2759
-      no_entry_flag='-bnoentry'
 
2760
-    fi
 
2761
-
 
2762
-    # When large executables or shared objects are built, AIX ld can
 
2763
-    # have problems creating the table of contents.  If linking a library
 
2764
-    # or program results in "error TOC overflow" add -mminimal-toc to
 
2765
-    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
2766
-    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
2767
-
 
2768
-    hardcode_direct=yes
 
2769
-    archive_cmds=''
 
2770
-    hardcode_libdir_separator=':'
 
2771
-    if test "$GCC" = yes; then
 
2772
-      case $host_os in aix4.[[012]]|aix4.[[012]].*)
 
2773
-       collect2name=`${CC} -print-prog-name=collect2`
 
2774
-       if test -f "$collect2name" && \
 
2775
-         strings "$collect2name" | grep resolve_lib_name >/dev/null
 
2776
-       then
 
2777
-         # We have reworked collect2
 
2778
-         hardcode_direct=yes
 
2779
-       else
 
2780
-         # We have old collect2
 
2781
-         hardcode_direct=unsupported
 
2782
-         # It fails to find uninstalled libraries when the uninstalled
 
2783
-         # path is not listed in the libpath.  Setting hardcode_minus_L
 
2784
-         # to unsupported forces relinking
 
2785
-         hardcode_minus_L=yes
 
2786
-         hardcode_libdir_flag_spec='-L$libdir'
 
2787
-         hardcode_libdir_separator=
 
2788
-       fi
 
2789
-      esac
 
2790
-
 
2791
-      shared_flag='-shared'
 
2792
-    else
 
2793
-      # not using gcc
 
2794
-      if test "$host_cpu" = ia64; then
 
2795
-       shared_flag='${wl}-G'
 
2796
-      else
 
2797
-       if test "$aix_use_runtimelinking" = yes; then
 
2798
-         shared_flag='${wl}-G'
 
2799
-       else
 
2800
-         shared_flag='${wl}-bM:SRE'
 
2801
-       fi
 
2802
-      fi
 
2803
-    fi
 
2804
-
 
2805
-    # It seems that -bexpall can do strange things, so it is better to
 
2806
-    # generate a list of symbols to export.
 
2807
-    always_export_symbols=yes
 
2808
-    if test "$aix_use_runtimelinking" = yes; then
 
2809
-      # Warning - without using the other runtime loading flags (-brtl),
 
2810
-      # -berok will link without error, but may produce a broken library.
 
2811
-      allow_undefined_flag='-berok'
 
2812
-      hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
 
2813
-      archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
2814
-    else
 
2815
-      if test "$host_cpu" = ia64; then
 
2816
-       hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
2817
-       allow_undefined_flag="-z nodefs"
 
2818
-       archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
2819
-      else
 
2820
-       hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
 
2821
-       # Warning - without using the other run time loading flags,
 
2822
-       # -berok will link without error, but may produce a broken library.
 
2823
-       allow_undefined_flag='${wl}-berok'
 
2824
-       # This is a bit strange, but is similar to how AIX traditionally builds
 
2825
-       # it's shared libraries.
 
2826
-       archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
 
2827
-      fi
 
2828
-    fi
 
2829
-    ;;
 
2830
-
 
2831
-  amigaos*)
 
2832
-    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)'
 
2833
-    hardcode_libdir_flag_spec='-L$libdir'
 
2834
-    hardcode_minus_L=yes
 
2835
-    # see comment about different semantics on the GNU ld section
 
2836
-    ld_shlibs=no
 
2837
-    ;;
 
2838
-
 
2839
-  cygwin* | mingw* | pw32*)
 
2840
-    # When not using gcc, we currently assume that we are using
 
2841
-    # Microsoft Visual C++.
 
2842
-    # hardcode_libdir_flag_spec is actually meaningless, as there is
 
2843
-    # no search path for DLLs.
 
2844
-    hardcode_libdir_flag_spec=' '
 
2845
-    allow_undefined_flag=unsupported
 
2846
-    # Tell ltmain to make .lib files, not .a files.
 
2847
-    libext=lib
 
2848
-    # FIXME: Setting linknames here is a bad hack.
 
2849
-    archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
2850
-    # The linker will automatically build a .lib file if we build a DLL.
 
2851
-    old_archive_from_new_cmds='true'
 
2852
-    # FIXME: Should let the user specify the lib program.
 
2853
-    old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
2854
-    fix_srcfile_path='`cygpath -w "$srcfile"`'
 
2855
-    ;;
 
2856
-
 
2857
-  darwin* | rhapsody*)
 
2858
-    case "$host_os" in
 
2859
-    rhapsody* | darwin1.[[012]])
 
2860
-      allow_undefined_flag='-undefined suppress'
 
2861
-      ;;
 
2862
-    *) # Darwin 1.3 on
 
2863
-      allow_undefined_flag='-flat_namespace -undefined suppress'
 
2864
-      ;;
 
2865
-    esac
 
2866
-    # FIXME: Relying on posixy $() will cause problems for
 
2867
-    #        cross-compilation, but unfortunately the echo tests do not
 
2868
-    #        yet detect zsh echo's removal of \ escapes.
 
2869
-    archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
 
2870
-    # We need to add '_' to the symbols in $export_symbols first
 
2871
-    #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
 
2872
-    hardcode_direct=yes
 
2873
-    hardcode_shlibpath_var=no
 
2874
-    whole_archive_flag_spec='-all_load $convenience'
 
2875
-    ;;
 
2876
-
 
2877
-  freebsd1*)
 
2878
-    ld_shlibs=no
 
2879
-    ;;
 
2880
-
 
2881
-  # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
2882
-  # support.  Future versions do this automatically, but an explicit c++rt0.o
 
2883
-  # does not break anything, and helps significantly (at the cost of a little
 
2884
-  # extra space).
 
2885
-  freebsd2.2*)
 
2886
-    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
2887
-    hardcode_libdir_flag_spec='-R$libdir'
 
2888
-    hardcode_direct=yes
 
2889
-    hardcode_shlibpath_var=no
 
2890
-    ;;
 
2891
-
 
2892
-  # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
2893
-  freebsd2*)
 
2894
-    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
2895
-    hardcode_direct=yes
 
2896
-    hardcode_minus_L=yes
 
2897
-    hardcode_shlibpath_var=no
 
2898
-    ;;
 
2899
-
 
2900
-  # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
2901
-  freebsd*)
 
2902
-    archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
2903
-    hardcode_libdir_flag_spec='-R$libdir'
 
2904
-    hardcode_direct=yes
 
2905
-    hardcode_shlibpath_var=no
 
2906
-    ;;
 
2907
-
 
2908
-  hpux9* | hpux10* | hpux11*)
 
2909
-    case $host_os in
 
2910
-    hpux9*) 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' ;;
 
2911
-    *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
 
2912
-    esac
 
2913
-    hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
2914
-    hardcode_libdir_separator=:
 
2915
-    hardcode_direct=yes
 
2916
-    hardcode_minus_L=yes # Not in the search PATH, but as the default
 
2917
-                        # location of the library.
 
2918
-    export_dynamic_flag_spec='${wl}-E'
 
2919
-    ;;
 
2920
-
 
2921
-  irix5* | irix6*)
 
2922
-    if test "$GCC" = yes; then
 
2923
-      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'
 
2924
-    else
 
2925
-      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'
 
2926
-    fi
 
2927
-    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
2928
-    hardcode_libdir_separator=:
 
2929
-    link_all_deplibs=yes
 
2930
-    ;;
 
2931
-
 
2932
-  netbsd*)
 
2933
-    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
2934
-      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
2935
-    else
 
2936
-      archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
2937
-    fi
 
2938
-    hardcode_libdir_flag_spec='-R$libdir'
 
2939
-    hardcode_direct=yes
 
2940
-    hardcode_shlibpath_var=no
 
2941
-    ;;
 
2942
-
 
2943
-  newsos6)
 
2944
-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
2945
-    hardcode_direct=yes
 
2946
-    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
2947
-    hardcode_libdir_separator=:
 
2948
-    hardcode_shlibpath_var=no
 
2949
-    ;;
 
2950
-
 
2951
-  openbsd*)
 
2952
-    hardcode_direct=yes
 
2953
-    hardcode_shlibpath_var=no
 
2954
-    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
2955
-      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
 
2956
-      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
2957
-      export_dynamic_flag_spec='${wl}-E'
 
2958
-    else
 
2959
-      case "$host_os" in
 
2960
-      openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
 
2961
-       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
2962
-       hardcode_libdir_flag_spec='-R$libdir'
 
2963
-        ;;
 
2964
-      *)
 
2965
-        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
 
2966
-        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
2967
-        ;;
 
2968
-      esac
 
2969
-    fi
 
2970
-    ;;
 
2971
-
 
2972
-  os2*)
 
2973
-    hardcode_libdir_flag_spec='-L$libdir'
 
2974
-    hardcode_minus_L=yes
 
2975
-    allow_undefined_flag=unsupported
 
2976
-    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'
 
2977
-    old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
2978
-    ;;
 
2979
-
 
2980
-  osf3*)
 
2981
-    if test "$GCC" = yes; then
 
2982
-      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
2983
-      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'
 
2984
-    else
 
2985
-      allow_undefined_flag=' -expect_unresolved \*'
 
2986
-      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'
 
2987
-    fi
 
2988
-    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
2989
-    hardcode_libdir_separator=:
 
2990
-    ;;
 
2991
-
 
2992
-  osf4* | osf5*)       # as osf3* with the addition of -msym flag
 
2993
-    if test "$GCC" = yes; then
 
2994
-      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
2995
-      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'
 
2996
-      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
2997
-    else
 
2998
-      allow_undefined_flag=' -expect_unresolved \*'
 
2999
-      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'
 
3000
-      archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
 
3001
-      $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
3002
-
 
3003
-      #Both c and cxx compiler support -rpath directly
 
3004
-      hardcode_libdir_flag_spec='-rpath $libdir'
 
3005
-    fi
 
3006
-    hardcode_libdir_separator=:
 
3007
-    ;;
 
3008
-
 
3009
-  sco3.2v5*)
 
3010
-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
3011
-    hardcode_shlibpath_var=no
 
3012
-    runpath_var=LD_RUN_PATH
 
3013
-    hardcode_runpath_var=yes
 
3014
-    export_dynamic_flag_spec='${wl}-Bexport'
 
3015
-    ;;
 
3016
-
 
3017
-  solaris*)
 
3018
-    # gcc --version < 3.0 without binutils cannot create self contained
 
3019
-    # shared libraries reliably, requiring libgcc.a to resolve some of
 
3020
-    # the object symbols generated in some cases.  Libraries that use
 
3021
-    # assert need libgcc.a to resolve __eprintf, for example.  Linking
 
3022
-    # a copy of libgcc.a into every shared library to guarantee resolving
 
3023
-    # such symbols causes other problems:  According to Tim Van Holder
 
3024
-    # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
 
3025
-    # (to the application) exception stack for one thing.
 
3026
-    no_undefined_flag=' -z defs'
 
3027
-    if test "$GCC" = yes; then
 
3028
-      case `$CC --version 2>/dev/null` in
 
3029
-      [[12]].*)
 
3030
-       cat <<EOF 1>&2
 
3031
-
 
3032
-*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
 
3033
-*** create self contained shared libraries on Solaris systems, without
 
3034
-*** introducing a dependency on libgcc.a.  Therefore, libtool is disabling
 
3035
-*** -no-undefined support, which will at least allow you to build shared
 
3036
-*** libraries.  However, you may find that when you link such libraries
 
3037
-*** into an application without using GCC, you have to manually add
 
3038
-*** \`gcc --print-libgcc-file-name\` to the link command.  We urge you to
 
3039
-*** upgrade to a newer version of GCC.  Another option is to rebuild your
 
3040
-*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
 
3041
-
 
3042
-EOF
 
3043
-        no_undefined_flag=
 
3044
-       ;;
 
3045
-      esac
 
3046
-    fi
 
3047
-    # $CC -shared without GNU ld will not create a library from C++
 
3048
-    # object files and a static libstdc++, better avoid it by now
 
3049
-    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
3050
-    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
3051
-               $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
3052
-    hardcode_libdir_flag_spec='-R$libdir'
 
3053
-    hardcode_shlibpath_var=no
 
3054
-    case $host_os in
 
3055
-    solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
 
3056
-    *) # Supported since Solaris 2.6 (maybe 2.5.1?)
 
3057
-      whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
 
3058
-    esac
 
3059
-    link_all_deplibs=yes
 
3060
-    ;;
 
3061
-
 
3062
-  sunos4*)
 
3063
-    if test "x$host_vendor" = xsequent; then
 
3064
-      # Use $CC to link under sequent, because it throws in some extra .o
 
3065
-      # files that make .init and .fini sections work.
 
3066
-      archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
3067
-    else
 
3068
-      archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
3069
-    fi
 
3070
-    hardcode_libdir_flag_spec='-L$libdir'
 
3071
-    hardcode_direct=yes
 
3072
-    hardcode_minus_L=yes
 
3073
-    hardcode_shlibpath_var=no
 
3074
-    ;;
 
3075
-
 
3076
-  sysv4)
 
3077
-    if test "x$host_vendor" = xsno; then
 
3078
-      archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
3079
-      hardcode_direct=yes # is this really true???
 
3080
-    else
 
3081
-      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
3082
-      hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
3083
-    fi
 
3084
-    runpath_var='LD_RUN_PATH'
 
3085
-    hardcode_shlibpath_var=no
 
3086
-    ;;
 
3087
-
 
3088
-  sysv4.3*)
 
3089
-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
3090
-    hardcode_shlibpath_var=no
 
3091
-    export_dynamic_flag_spec='-Bexport'
 
3092
-    ;;
 
3093
-
 
3094
-  sysv5*)
 
3095
-    no_undefined_flag=' -z text'
 
3096
-    # $CC -shared without GNU ld will not create a library from C++
 
3097
-    # object files and a static libstdc++, better avoid it by now
 
3098
-    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
3099
-    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
3100
-               $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
3101
-    hardcode_libdir_flag_spec=
 
3102
-    hardcode_shlibpath_var=no
 
3103
-    runpath_var='LD_RUN_PATH'
 
3104
-    ;;
 
3105
-
 
3106
-  uts4*)
 
3107
-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
3108
-    hardcode_libdir_flag_spec='-L$libdir'
 
3109
-    hardcode_shlibpath_var=no
 
3110
-    ;;
 
3111
-
 
3112
-  dgux*)
 
3113
-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
3114
-    hardcode_libdir_flag_spec='-L$libdir'
 
3115
-    hardcode_shlibpath_var=no
 
3116
-    ;;
 
3117
-
 
3118
-  sysv4*MP*)
 
3119
-    if test -d /usr/nec; then
 
3120
-      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
3121
-      hardcode_shlibpath_var=no
 
3122
-      runpath_var=LD_RUN_PATH
 
3123
-      hardcode_runpath_var=yes
 
3124
-      ld_shlibs=yes
 
3125
-    fi
 
3126
-    ;;
 
3127
-
 
3128
-  sysv4.2uw2*)
 
3129
-    archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
3130
-    hardcode_direct=yes
 
3131
-    hardcode_minus_L=no
 
3132
-    hardcode_shlibpath_var=no
 
3133
-    hardcode_runpath_var=yes
 
3134
-    runpath_var=LD_RUN_PATH
 
3135
-    ;;
 
3136
-
 
3137
-  sysv5uw7* | unixware7*)
 
3138
-    no_undefined_flag='${wl}-z ${wl}text'
 
3139
-    if test "$GCC" = yes; then
 
3140
-      archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
3141
-    else
 
3142
-      archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
3143
-    fi
 
3144
-    runpath_var='LD_RUN_PATH'
 
3145
-    hardcode_shlibpath_var=no
 
3146
-    ;;
 
3147
-
 
3148
-  *)
 
3149
-    ld_shlibs=no
 
3150
-    ;;
 
3151
-  esac
 
3152
-fi
 
3153
-AC_MSG_RESULT([$ld_shlibs])
 
3154
-test "$ld_shlibs" = no && can_build_shared=no
 
3155
-
 
3156
-# Check hardcoding attributes.
 
3157
-AC_MSG_CHECKING([how to hardcode library paths into programs])
 
3158
-hardcode_action=
 
3159
-if test -n "$hardcode_libdir_flag_spec" || \
 
3160
-   test -n "$runpath_var"; then
 
3161
-
 
3162
-  # We can hardcode non-existant directories.
 
3163
-  if test "$hardcode_direct" != no &&
 
3164
-     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
3165
-     # have to relink, otherwise we might link with an installed library
 
3166
-     # when we should be linking with a yet-to-be-installed one
 
3167
-     ## test "$hardcode_shlibpath_var" != no &&
 
3168
-     test "$hardcode_minus_L" != no; then
 
3169
-    # Linking always hardcodes the temporary library directory.
 
3170
-    hardcode_action=relink
 
3171
-  else
 
3172
-    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
3173
-    hardcode_action=immediate
 
3174
-  fi
 
3175
-else
 
3176
-  # We cannot hardcode anything, or else we can only hardcode existing
 
3177
-  # directories.
 
3178
-  hardcode_action=unsupported
 
3179
-fi
 
3180
-AC_MSG_RESULT([$hardcode_action])
 
3181
-
 
3182
-striplib=
 
3183
-old_striplib=
 
3184
-AC_MSG_CHECKING([whether stripping libraries is possible])
 
3185
-if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
 
3186
-  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
3187
-  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
3188
-  AC_MSG_RESULT([yes])
 
3189
-else
 
3190
-  AC_MSG_RESULT([no])
 
3191
-fi
 
3192
-
 
3193
-reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
3194
-test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
3195
-
 
3196
-# PORTME Fill in your ld.so characteristics
 
3197
-AC_MSG_CHECKING([dynamic linker characteristics])
 
3198
-library_names_spec=
 
3199
-libname_spec='lib$name'
 
3200
-soname_spec=
 
3201
-postinstall_cmds=
 
3202
-postuninstall_cmds=
 
3203
-finish_cmds=
 
3204
-finish_eval=
 
3205
-shlibpath_var=
 
3206
-shlibpath_overrides_runpath=unknown
 
3207
-version_type=none
 
3208
-dynamic_linker="$host_os ld.so"
 
3209
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
3210
-sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
3211
-
 
3212
-case $host_os in
 
3213
-aix3*)
 
3214
-  version_type=linux
 
3215
-  library_names_spec='${libname}${release}.so$versuffix $libname.a'
 
3216
-  shlibpath_var=LIBPATH
 
3217
-
 
3218
-  # AIX has no versioning support, so we append a major version to the name.
 
3219
-  soname_spec='${libname}${release}.so$major'
 
3220
-  ;;
 
3221
-
 
3222
-aix4* | aix5*)
 
3223
-  version_type=linux
 
3224
-  if test "$host_cpu" = ia64; then
 
3225
-    # AIX 5 supports IA64
 
3226
-    library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
 
3227
-    shlibpath_var=LD_LIBRARY_PATH
 
3228
-  else
 
3229
-    # With GCC up to 2.95.x, collect2 would create an import file
 
3230
-    # for dependence libraries.  The import file would start with
 
3231
-    # the line `#! .'.  This would cause the generated library to
 
3232
-    # depend on `.', always an invalid library.  This was fixed in
 
3233
-    # development snapshots of GCC prior to 3.0.
 
3234
-    case $host_os in
 
3235
-      aix4 | aix4.[[01]] | aix4.[[01]].*)
 
3236
-       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
3237
-            echo ' yes '
 
3238
-            echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
3239
-         :
 
3240
-       else
 
3241
-         can_build_shared=no
 
3242
-       fi
 
3243
-       ;;
 
3244
-    esac
 
3245
-    # AIX (on Power*) has no versioning support, so currently we can
 
3246
-    # not hardcode correct soname into executable. Probably we can
 
3247
-    # add versioning support to collect2, so additional links can
 
3248
-    # be useful in future.
 
3249
-    if test "$aix_use_runtimelinking" = yes; then
 
3250
-      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
3251
-      # instead of lib<name>.a to let people know that these are not
 
3252
-      # typical AIX shared libraries.
 
3253
-      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
 
3254
-    else
 
3255
-      # We preserve .a as extension for shared libraries through AIX4.2
 
3256
-      # and later when we are not doing run time linking.
 
3257
-      library_names_spec='${libname}${release}.a $libname.a'
 
3258
-      soname_spec='${libname}${release}.so$major'
 
3259
-    fi
 
3260
-    shlibpath_var=LIBPATH
 
3261
-  fi
 
3262
-  ;;
 
3263
-
 
3264
-amigaos*)
 
3265
-  library_names_spec='$libname.ixlibrary $libname.a'
 
3266
-  # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
3267
-  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'
 
3268
-  ;;
 
3269
-
 
3270
-beos*)
 
3271
-  library_names_spec='${libname}.so'
 
3272
-  dynamic_linker="$host_os ld.so"
 
3273
-  shlibpath_var=LIBRARY_PATH
 
3274
-  ;;
 
3275
-
 
3276
-bsdi4*)
 
3277
-  version_type=linux
 
3278
-  need_version=no
 
3279
-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
 
3280
-  soname_spec='${libname}${release}.so$major'
 
3281
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
3282
-  shlibpath_var=LD_LIBRARY_PATH
 
3283
-  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
3284
-  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
3285
-  export_dynamic_flag_spec=-rdynamic
 
3286
-  # the default ld.so.conf also contains /usr/contrib/lib and
 
3287
-  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
3288
-  # libtool to hard-code these into programs
 
3289
-  ;;
 
3290
-
 
3291
-cygwin* | mingw* | pw32*)
 
3292
-  version_type=windows
 
3293
-  need_version=no
 
3294
-  need_lib_prefix=no
 
3295
-  case $GCC,$host_os in
 
3296
-  yes,cygwin*)
 
3297
-    library_names_spec='$libname.dll.a'
 
3298
-    soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
 
3299
-    postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
 
3300
-      dldir=$destdir/`dirname \$dlpath`~
 
3301
-      test -d \$dldir || mkdir -p \$dldir~
 
3302
-      $install_prog .libs/$dlname \$dldir/$dlname'
 
3303
-    postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
3304
-      dlpath=$dir/\$dldll~
 
3305
-       $rm \$dlpath'
 
3306
-    ;;
 
3307
-  yes,mingw*)
 
3308
-    library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
 
3309
-    sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
 
3310
-    ;;
 
3311
-  yes,pw32*)
 
3312
-    library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
 
3313
-    ;;
 
3314
-  *)
 
3315
-    library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib'
 
3316
-    ;;
 
3317
-  esac
 
3318
-  dynamic_linker='Win32 ld.exe'
 
3319
-  # FIXME: first we should search . and the directory the executable is in
 
3320
-  shlibpath_var=PATH
 
3321
-  ;;
 
3322
-
 
3323
-darwin* | rhapsody*)
 
3324
-  dynamic_linker="$host_os dyld"
 
3325
-  version_type=darwin
 
3326
-  need_lib_prefix=no
 
3327
-  need_version=no
 
3328
-  # FIXME: Relying on posixy $() will cause problems for
 
3329
-  #        cross-compilation, but unfortunately the echo tests do not
 
3330
-  #        yet detect zsh echo's removal of \ escapes.
 
3331
-  library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
 
3332
-  soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
 
3333
-  shlibpath_overrides_runpath=yes
 
3334
-  shlibpath_var=DYLD_LIBRARY_PATH
 
3335
-  ;;
 
3336
-
 
3337
-freebsd1*)
 
3338
-  dynamic_linker=no
 
3339
-  ;;
 
3340
-
 
3341
-freebsd*)
 
3342
-  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
3343
-  version_type=freebsd-$objformat
 
3344
-  case $version_type in
 
3345
-    freebsd-elf*)
 
3346
-      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
 
3347
-      need_version=no
 
3348
-      need_lib_prefix=no
 
3349
-      ;;
 
3350
-    freebsd-*)
 
3351
-      library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
 
3352
-      need_version=yes
 
3353
-      ;;
 
3354
-  esac
 
3355
-  shlibpath_var=LD_LIBRARY_PATH
 
3356
-  case $host_os in
 
3357
-  freebsd2*)
 
3358
-    shlibpath_overrides_runpath=yes
 
3359
-    ;;
 
3360
-  *)
 
3361
-    shlibpath_overrides_runpath=no
 
3362
-    hardcode_into_libs=yes
 
3363
-    ;;
 
3364
-  esac
 
3365
-  ;;
 
3366
-
 
3367
-gnu*)
 
3368
-  version_type=linux
 
3369
-  need_lib_prefix=no
 
3370
-  need_version=no
 
3371
-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
 
3372
-  soname_spec='${libname}${release}.so$major'
 
3373
-  shlibpath_var=LD_LIBRARY_PATH
 
3374
-  hardcode_into_libs=yes
 
3375
-  ;;
 
3376
-
 
3377
-hpux9* | hpux10* | hpux11*)
 
3378
-  # Give a soname corresponding to the major version so that dld.sl refuses to
 
3379
-  # link against other versions.
 
3380
-  dynamic_linker="$host_os dld.sl"
 
3381
-  version_type=sunos
 
3382
-  need_lib_prefix=no
 
3383
-  need_version=no
 
3384
-  shlibpath_var=SHLIB_PATH
 
3385
-  shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
3386
-  library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
 
3387
-  soname_spec='${libname}${release}.sl$major'
 
3388
-  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
3389
-  postinstall_cmds='chmod 555 $lib'
 
3390
-  ;;
 
3391
-
 
3392
-irix5* | irix6*)
 
3393
-  version_type=irix
 
3394
-  need_lib_prefix=no
 
3395
-  need_version=no
 
3396
-  soname_spec='${libname}${release}.so$major'
 
3397
-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
 
3398
-  case $host_os in
 
3399
-  irix5*)
 
3400
-    libsuff= shlibsuff=
 
3401
-    ;;
 
3402
-  *)
 
3403
-    case $LD in # libtool.m4 will add one of these switches to LD
 
3404
-    *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
 
3405
-    *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
 
3406
-    *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
3407
-    *) libsuff= shlibsuff= libmagic=never-match;;
 
3408
-    esac
 
3409
-    ;;
 
3410
-  esac
 
3411
-  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
3412
-  shlibpath_overrides_runpath=no
 
3413
-  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
3414
-  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
3415
-  ;;
 
3416
-
 
3417
-# No shared lib support for Linux oldld, aout, or coff.
 
3418
-linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
 
3419
-  dynamic_linker=no
 
3420
-  ;;
 
3421
-
 
3422
-# This must be Linux ELF.
 
3423
-linux-gnu*)
 
3424
-  version_type=linux
 
3425
-  need_lib_prefix=no
 
3426
-  need_version=no
 
3427
-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
 
3428
-  soname_spec='${libname}${release}.so$major'
 
3429
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
3430
-  shlibpath_var=LD_LIBRARY_PATH
 
3431
-  shlibpath_overrides_runpath=no
 
3432
-  # This implies no fast_install, which is unacceptable.
 
3433
-  # Some rework will be needed to allow for fast_install
 
3434
-  # before this can be enabled.
 
3435
-  hardcode_into_libs=yes
 
3436
-
 
3437
-  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
3438
-  # powerpc, because MkLinux only supported shared libraries with the
 
3439
-  # GNU dynamic linker.  Since this was broken with cross compilers,
 
3440
-  # most powerpc-linux boxes support dynamic linking these days and
 
3441
-  # people can always --disable-shared, the test was removed, and we
 
3442
-  # assume the GNU/Linux dynamic linker is in use.
 
3443
-  dynamic_linker='GNU/Linux ld.so'
 
3444
-  ;;
 
3445
-
 
3446
-netbsd*)
 
3447
-  version_type=sunos
 
3448
-  need_lib_prefix=no
 
3449
-  need_version=no
 
3450
-  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
3451
-    library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
 
3452
-    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
3453
-    dynamic_linker='NetBSD (a.out) ld.so'
 
3454
-  else
 
3455
-    library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
 
3456
-    soname_spec='${libname}${release}.so$major'
 
3457
-    dynamic_linker='NetBSD ld.elf_so'
 
3458
-  fi
 
3459
-  shlibpath_var=LD_LIBRARY_PATH
 
3460
-  shlibpath_overrides_runpath=yes
 
3461
-  hardcode_into_libs=yes
 
3462
-  ;;
 
3463
-
 
3464
-newsos6)
 
3465
-  version_type=linux
 
3466
-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
 
3467
-  shlibpath_var=LD_LIBRARY_PATH
 
3468
-  shlibpath_overrides_runpath=yes
 
3469
-  ;;
 
3470
-
 
3471
-openbsd*)
 
3472
-  version_type=sunos
 
3473
-  need_lib_prefix=no
 
3474
-  need_version=no
 
3475
-  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
3476
-    case "$host_os" in
 
3477
-    openbsd2.[[89]] | openbsd2.[[89]].*)
 
3478
-      shlibpath_overrides_runpath=no
 
3479
-      ;;
 
3480
-    *)
 
3481
-      shlibpath_overrides_runpath=yes
 
3482
-      ;;
 
3483
-    esac
 
3484
-  else
 
3485
-    shlibpath_overrides_runpath=yes
 
3486
-  fi
 
3487
-  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
 
3488
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
3489
-  shlibpath_var=LD_LIBRARY_PATH
 
3490
-  ;;
 
3491
-
 
3492
-os2*)
 
3493
-  libname_spec='$name'
 
3494
-  need_lib_prefix=no
 
3495
-  library_names_spec='$libname.dll $libname.a'
 
3496
-  dynamic_linker='OS/2 ld.exe'
 
3497
-  shlibpath_var=LIBPATH
 
3498
-  ;;
 
3499
-
 
3500
-osf3* | osf4* | osf5*)
 
3501
-  version_type=osf
 
3502
-  need_version=no
 
3503
-  soname_spec='${libname}${release}.so'
 
3504
-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
 
3505
-  shlibpath_var=LD_LIBRARY_PATH
 
3506
-  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
3507
-  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
3508
-  ;;
 
3509
-
 
3510
-sco3.2v5*)
 
3511
-  version_type=osf
 
3512
-  soname_spec='${libname}${release}.so$major'
 
3513
-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
 
3514
-  shlibpath_var=LD_LIBRARY_PATH
 
3515
-  ;;
 
3516
-
 
3517
-solaris*)
 
3518
-  version_type=linux
 
3519
-  need_lib_prefix=no
 
3520
-  need_version=no
 
3521
-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
 
3522
-  soname_spec='${libname}${release}.so$major'
 
3523
-  shlibpath_var=LD_LIBRARY_PATH
 
3524
-  shlibpath_overrides_runpath=yes
 
3525
-  hardcode_into_libs=yes
 
3526
-  # ldd complains unless libraries are executable
 
3527
-  postinstall_cmds='chmod +x $lib'
 
3528
-  ;;
 
3529
-
 
3530
-sunos4*)
 
3531
-  version_type=sunos
 
3532
-  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
 
3533
-  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
3534
-  shlibpath_var=LD_LIBRARY_PATH
 
3535
-  shlibpath_overrides_runpath=yes
 
3536
-  if test "$with_gnu_ld" = yes; then
 
3537
-    need_lib_prefix=no
 
3538
-  fi
 
3539
-  need_version=yes
 
3540
-  ;;
 
3541
-
 
3542
-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
3543
-  version_type=linux
 
3544
-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
 
3545
-  soname_spec='${libname}${release}.so$major'
 
3546
-  shlibpath_var=LD_LIBRARY_PATH
 
3547
-  case $host_vendor in
 
3548
-    sni)
 
3549
-      shlibpath_overrides_runpath=no
 
3550
-      ;;
 
3551
-    motorola)
 
3552
-      need_lib_prefix=no
 
3553
-      need_version=no
 
3554
-      shlibpath_overrides_runpath=no
 
3555
-      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
3556
-      ;;
 
3557
-  esac
 
3558
-  ;;
 
3559
-
 
3560
-uts4*)
 
3561
-  version_type=linux
 
3562
-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
 
3563
-  soname_spec='${libname}${release}.so$major'
 
3564
-  shlibpath_var=LD_LIBRARY_PATH
 
3565
-  ;;
 
3566
-
 
3567
-dgux*)
 
3568
-  version_type=linux
 
3569
-  need_lib_prefix=no
 
3570
-  need_version=no
 
3571
-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
 
3572
-  soname_spec='${libname}${release}.so$major'
 
3573
-  shlibpath_var=LD_LIBRARY_PATH
 
3574
-  ;;
 
3575
-
 
3576
-sysv4*MP*)
 
3577
-  if test -d /usr/nec ;then
 
3578
-    version_type=linux
 
3579
-    library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
 
3580
-    soname_spec='$libname.so.$major'
 
3581
-    shlibpath_var=LD_LIBRARY_PATH
 
3582
-  fi
 
3583
-  ;;
 
3584
-
 
3585
-*)
 
3586
-  dynamic_linker=no
 
3587
-  ;;
 
3588
-esac
 
3589
-AC_MSG_RESULT([$dynamic_linker])
 
3590
-test "$dynamic_linker" = no && can_build_shared=no
 
3591
-
 
3592
-# Report the final consequences.
 
3593
-AC_MSG_CHECKING([if libtool supports shared libraries])
 
3594
-AC_MSG_RESULT([$can_build_shared])
 
3595
-
 
3596
-AC_MSG_CHECKING([whether to build shared libraries])
 
3597
-test "$can_build_shared" = "no" && enable_shared=no
 
3598
-
 
3599
-# On AIX, shared libraries and static libraries use the same namespace, and
 
3600
-# are all built from PIC.
 
3601
-case "$host_os" in
 
3602
-aix3*)
 
3603
-  test "$enable_shared" = yes && enable_static=no
 
3604
-  if test -n "$RANLIB"; then
 
3605
-    archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
3606
-    postinstall_cmds='$RANLIB $lib'
 
3607
-  fi
 
3608
-  ;;
 
3609
-
 
3610
-aix4*)
 
3611
-  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
3612
-    test "$enable_shared" = yes && enable_static=no
 
3613
-  fi
 
3614
-  ;;
 
3615
-esac
 
3616
-AC_MSG_RESULT([$enable_shared])
 
3617
-
 
3618
-AC_MSG_CHECKING([whether to build static libraries])
 
3619
-# Make sure either enable_shared or enable_static is yes.
 
3620
-test "$enable_shared" = yes || enable_static=yes
 
3621
-AC_MSG_RESULT([$enable_static])
 
3622
-
 
3623
-if test "$hardcode_action" = relink; then
 
3624
-  # Fast installation is not supported
 
3625
-  enable_fast_install=no
 
3626
-elif test "$shlibpath_overrides_runpath" = yes ||
 
3627
-     test "$enable_shared" = no; then
 
3628
-  # Fast installation is not necessary
 
3629
-  enable_fast_install=needless
 
3630
-fi
 
3631
-
 
3632
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
3633
-if test "$GCC" = yes; then
 
3634
-  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
3635
-fi
 
3636
-
 
3637
-AC_LIBTOOL_DLOPEN_SELF
 
3638
-
 
3639
-if test "$enable_shared" = yes && test "$GCC" = yes; then
 
3640
-  case $archive_cmds in
 
3641
-  *'~'*)
 
3642
-    # FIXME: we may have to deal with multi-command sequences.
 
3643
-    ;;
 
3644
-  '$CC '*)
 
3645
-    # Test whether the compiler implicitly links with -lc since on some
 
3646
-    # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
3647
-    # to ld, don't add -lc before -lgcc.
 
3648
-    AC_MSG_CHECKING([whether -lc should be explicitly linked in])
 
3649
-    AC_CACHE_VAL([lt_cv_archive_cmds_need_lc],
 
3650
-    [$rm conftest*
 
3651
-    echo 'static int dummy;' > conftest.$ac_ext
 
3652
-
 
3653
-    if AC_TRY_EVAL(ac_compile); then
 
3654
-      soname=conftest
 
3655
-      lib=conftest
 
3656
-      libobjs=conftest.$ac_objext
 
3657
-      deplibs=
 
3658
-      wl=$lt_cv_prog_cc_wl
 
3659
-      compiler_flags=-v
 
3660
-      linker_flags=-v
 
3661
-      verstring=
 
3662
-      output_objdir=.
 
3663
-      libname=conftest
 
3664
-      save_allow_undefined_flag=$allow_undefined_flag
 
3665
-      allow_undefined_flag=
 
3666
-      if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
 
3667
-      then
 
3668
-       lt_cv_archive_cmds_need_lc=no
 
3669
-      else
 
3670
-       lt_cv_archive_cmds_need_lc=yes
 
3671
-      fi
 
3672
-      allow_undefined_flag=$save_allow_undefined_flag
 
3673
-    else
 
3674
-      cat conftest.err 1>&5
 
3675
-    fi])
 
3676
-    AC_MSG_RESULT([$lt_cv_archive_cmds_need_lc])
 
3677
-    ;;
 
3678
-  esac
 
3679
-fi
 
3680
-need_lc=${lt_cv_archive_cmds_need_lc-yes}
 
3681
-
 
3682
-# The second clause should only fire when bootstrapping the
 
3683
-# libtool distribution, otherwise you forgot to ship ltmain.sh
 
3684
-# with your package, and you will get complaints that there are
 
3685
-# no rules to generate ltmain.sh.
 
3686
-if test -f "$ltmain"; then
 
3687
-  :
 
3688
-else
 
3689
-  # If there is no Makefile yet, we rely on a make rule to execute
 
3690
-  # `config.status --recheck' to rerun these tests and create the
 
3691
-  # libtool script then.
 
3692
-  test -f Makefile && make "$ltmain"
 
3693
-fi
 
3694
-
 
3695
-if test -f "$ltmain"; then
 
3696
-  trap "$rm \"${ofile}T\"; exit 1" 1 2 15
 
3697
-  $rm -f "${ofile}T"
 
3698
-
 
3699
-  echo creating $ofile
 
3700
-
 
3701
-  # Now quote all the things that may contain metacharacters while being
 
3702
-  # careful not to overquote the AC_SUBSTed values.  We take copies of the
 
3703
-  # variables and quote the copies for generation of the libtool script.
 
3704
-  for var in echo old_CC old_CFLAGS \
 
3705
-    AR AR_FLAGS CC LD LN_S NM SHELL \
 
3706
-    reload_flag reload_cmds wl \
 
3707
-    pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
 
3708
-    thread_safe_flag_spec whole_archive_flag_spec libname_spec \
 
3709
-    library_names_spec soname_spec \
 
3710
-    RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
 
3711
-    old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
 
3712
-    postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
 
3713
-    old_striplib striplib file_magic_cmd export_symbols_cmds \
 
3714
-    deplibs_check_method allow_undefined_flag no_undefined_flag \
 
3715
-    finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
 
3716
-    global_symbol_to_c_name_address \
 
3717
-    hardcode_libdir_flag_spec hardcode_libdir_separator  \
 
3718
-    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 
3719
-    compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
 
3720
-
 
3721
-    case $var in
 
3722
-    reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
 
3723
-    old_postinstall_cmds | old_postuninstall_cmds | \
 
3724
-    export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
 
3725
-    extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
 
3726
-    postinstall_cmds | postuninstall_cmds | \
 
3727
-    finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 
3728
-      # Double-quote double-evaled strings.
 
3729
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 
3730
-      ;;
 
3731
-    *)
 
3732
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 
3733
-      ;;
 
3734
-    esac
 
3735
-  done
 
3736
-
 
3737
-  cat <<__EOF__ > "${ofile}T"
 
3738
-#! $SHELL
 
3739
-
 
3740
-# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
3741
-# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
 
3742
-# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
3743
-#
 
3744
-# Copyright (C) 1996-2000 Free Software Foundation, Inc.
 
3745
-# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 
3746
-#
 
3747
-# This program is free software; you can redistribute it and/or modify
 
3748
-# it under the terms of the GNU General Public License as published by
 
3749
-# the Free Software Foundation; either version 2 of the License, or
 
3750
-# (at your option) any later version.
 
3751
-#
 
3752
-# This program is distributed in the hope that it will be useful, but
 
3753
-# WITHOUT ANY WARRANTY; without even the implied warranty of
 
3754
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
3755
-# General Public License for more details.
 
3756
-#
 
3757
-# You should have received a copy of the GNU General Public License
 
3758
-# along with this program; if not, write to the Free Software
 
3759
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
3760
-#
 
3761
-# As a special exception to the GNU General Public License, if you
 
3762
-# distribute this file as part of a program that contains a
 
3763
-# configuration script generated by Autoconf, you may include it under
 
3764
-# the same distribution terms that you use for the rest of that program.
 
3765
-
 
3766
-# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
3767
-Xsed="sed -e s/^X//"
 
3768
-
 
3769
-# The HP-UX ksh and POSIX shell print the target directory to stdout
 
3770
-# if CDPATH is set.
 
3771
-if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
 
3772
-
 
3773
-# ### BEGIN LIBTOOL CONFIG
 
3774
-
 
3775
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
3776
-
 
3777
-# Shell to use when invoking shell scripts.
 
3778
-SHELL=$lt_SHELL
 
3779
-
 
3780
-# Whether or not to build shared libraries.
 
3781
-build_libtool_libs=$enable_shared
 
3782
-
 
3783
-# Whether or not to build static libraries.
 
3784
-build_old_libs=$enable_static
 
3785
-
 
3786
-# Whether or not to add -lc for building shared libraries.
 
3787
-build_libtool_need_lc=$need_lc
 
3788
-
 
3789
-# Whether or not to optimize for fast installation.
 
3790
-fast_install=$enable_fast_install
 
3791
-
 
3792
-# The host system.
 
3793
-host_alias=$host_alias
 
3794
-host=$host
 
3795
-
 
3796
-# An echo program that does not interpret backslashes.
 
3797
-echo=$lt_echo
 
3798
-
 
3799
-# The archiver.
 
3800
-AR=$lt_AR
 
3801
-AR_FLAGS=$lt_AR_FLAGS
 
3802
-
 
3803
-# The default C compiler.
 
3804
-CC=$lt_CC
 
3805
-
 
3806
-# Is the compiler the GNU C compiler?
 
3807
-with_gcc=$GCC
 
3808
-
 
3809
-# The linker used to build libraries.
 
3810
-LD=$lt_LD
 
3811
-
 
3812
-# Whether we need hard or soft links.
 
3813
-LN_S=$lt_LN_S
 
3814
-
 
3815
-# A BSD-compatible nm program.
 
3816
-NM=$lt_NM
 
3817
-
 
3818
-# A symbol stripping program
 
3819
-STRIP=$STRIP
 
3820
-
 
3821
-# Used to examine libraries when file_magic_cmd begins "file"
 
3822
-MAGIC_CMD=$MAGIC_CMD
 
3823
-
 
3824
-# Used on cygwin: DLL creation program.
 
3825
-DLLTOOL="$DLLTOOL"
 
3826
-
 
3827
-# Used on cygwin: object dumper.
 
3828
-OBJDUMP="$OBJDUMP"
 
3829
-
 
3830
-# Used on cygwin: assembler.
 
3831
-AS="$AS"
 
3832
-
 
3833
-# The name of the directory that contains temporary libtool files.
 
3834
-objdir=$objdir
 
3835
-
 
3836
-# How to create reloadable object files.
 
3837
-reload_flag=$lt_reload_flag
 
3838
-reload_cmds=$lt_reload_cmds
 
3839
-
 
3840
-# How to pass a linker flag through the compiler.
 
3841
-wl=$lt_wl
 
3842
-
 
3843
-# Object file suffix (normally "o").
 
3844
-objext="$ac_objext"
 
3845
-
 
3846
-# Old archive suffix (normally "a").
 
3847
-libext="$libext"
 
3848
-
 
3849
-# Executable file suffix (normally "").
 
3850
-exeext="$exeext"
 
3851
-
 
3852
-# Additional compiler flags for building library objects.
 
3853
-pic_flag=$lt_pic_flag
 
3854
-pic_mode=$pic_mode
 
3855
-
 
3856
-# Does compiler simultaneously support -c and -o options?
 
3857
-compiler_c_o=$lt_compiler_c_o
 
3858
-
 
3859
-# Can we write directly to a .lo ?
 
3860
-compiler_o_lo=$lt_compiler_o_lo
 
3861
-
 
3862
-# Must we lock files when doing compilation ?
 
3863
-need_locks=$lt_need_locks
 
3864
-
 
3865
-# Do we need the lib prefix for modules?
 
3866
-need_lib_prefix=$need_lib_prefix
 
3867
-
 
3868
-# Do we need a version for libraries?
 
3869
-need_version=$need_version
 
3870
-
 
3871
-# Whether dlopen is supported.
 
3872
-dlopen_support=$enable_dlopen
 
3873
-
 
3874
-# Whether dlopen of programs is supported.
 
3875
-dlopen_self=$enable_dlopen_self
 
3876
-
 
3877
-# Whether dlopen of statically linked programs is supported.
 
3878
-dlopen_self_static=$enable_dlopen_self_static
 
3879
-
 
3880
-# Compiler flag to prevent dynamic linking.
 
3881
-link_static_flag=$lt_link_static_flag
 
3882
-
 
3883
-# Compiler flag to turn off builtin functions.
 
3884
-no_builtin_flag=$lt_no_builtin_flag
 
3885
-
 
3886
-# Compiler flag to allow reflexive dlopens.
 
3887
-export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
3888
-
 
3889
-# Compiler flag to generate shared objects directly from archives.
 
3890
-whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
3891
-
 
3892
-# Compiler flag to generate thread-safe objects.
 
3893
-thread_safe_flag_spec=$lt_thread_safe_flag_spec
 
3894
-
 
3895
-# Library versioning type.
 
3896
-version_type=$version_type
 
3897
-
 
3898
-# Format of library name prefix.
 
3899
-libname_spec=$lt_libname_spec
 
3900
-
 
3901
-# List of archive names.  First name is the real one, the rest are links.
 
3902
-# The last name is the one that the linker finds with -lNAME.
 
3903
-library_names_spec=$lt_library_names_spec
 
3904
-
 
3905
-# The coded name of the library, if different from the real name.
 
3906
-soname_spec=$lt_soname_spec
 
3907
-
 
3908
-# Commands used to build and install an old-style archive.
 
3909
-RANLIB=$lt_RANLIB
 
3910
-old_archive_cmds=$lt_old_archive_cmds
 
3911
-old_postinstall_cmds=$lt_old_postinstall_cmds
 
3912
-old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
3913
-
 
3914
-# Create an old-style archive from a shared archive.
 
3915
-old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
3916
-
 
3917
-# Create a temporary old-style archive to link instead of a shared archive.
 
3918
-old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
3919
-
 
3920
-# Commands used to build and install a shared archive.
 
3921
-archive_cmds=$lt_archive_cmds
 
3922
-archive_expsym_cmds=$lt_archive_expsym_cmds
 
3923
-postinstall_cmds=$lt_postinstall_cmds
 
3924
-postuninstall_cmds=$lt_postuninstall_cmds
 
3925
-
 
3926
-# Commands to strip libraries.
 
3927
-old_striplib=$lt_old_striplib
 
3928
-striplib=$lt_striplib
 
3929
-
 
3930
-# Method to check whether dependent libraries are shared objects.
 
3931
-deplibs_check_method=$lt_deplibs_check_method
 
3932
-
 
3933
-# Command to use when deplibs_check_method == file_magic.
 
3934
-file_magic_cmd=$lt_file_magic_cmd
 
3935
-
 
3936
-# Flag that allows shared libraries with undefined symbols to be built.
 
3937
-allow_undefined_flag=$lt_allow_undefined_flag
 
3938
-
 
3939
-# Flag that forces no undefined symbols.
 
3940
-no_undefined_flag=$lt_no_undefined_flag
 
3941
-
 
3942
-# Commands used to finish a libtool library installation in a directory.
 
3943
-finish_cmds=$lt_finish_cmds
 
3944
-
 
3945
-# Same as above, but a single script fragment to be evaled but not shown.
 
3946
-finish_eval=$lt_finish_eval
 
3947
-
 
3948
-# Take the output of nm and produce a listing of raw symbols and C names.
 
3949
-global_symbol_pipe=$lt_global_symbol_pipe
 
3950
-
 
3951
-# Transform the output of nm in a proper C declaration
 
3952
-global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
 
3953
-
 
3954
-# Transform the output of nm in a C name address pair
 
3955
-global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
 
3956
-
 
3957
-# This is the shared library runtime path variable.
 
3958
-runpath_var=$runpath_var
 
3959
-
 
3960
-# This is the shared library path variable.
 
3961
-shlibpath_var=$shlibpath_var
 
3962
-
 
3963
-# Is shlibpath searched before the hard-coded library search path?
 
3964
-shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
3965
-
 
3966
-# How to hardcode a shared library path into an executable.
 
3967
-hardcode_action=$hardcode_action
 
3968
-
 
3969
-# Whether we should hardcode library paths into libraries.
 
3970
-hardcode_into_libs=$hardcode_into_libs
 
3971
-
 
3972
-# Flag to hardcode \$libdir into a binary during linking.
 
3973
-# This must work even if \$libdir does not exist.
 
3974
-hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
3975
-
 
3976
-# Whether we need a single -rpath flag with a separated argument.
 
3977
-hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
3978
-
 
3979
-# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
 
3980
-# resulting binary.
 
3981
-hardcode_direct=$hardcode_direct
 
3982
-
 
3983
-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 
3984
-# resulting binary.
 
3985
-hardcode_minus_L=$hardcode_minus_L
 
3986
-
 
3987
-# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 
3988
-# the resulting binary.
 
3989
-hardcode_shlibpath_var=$hardcode_shlibpath_var
 
3990
-
 
3991
-# Variables whose values should be saved in libtool wrapper scripts and
 
3992
-# restored at relink time.
 
3993
-variables_saved_for_relink="$variables_saved_for_relink"
 
3994
-
 
3995
-# Whether libtool must link a program against all its dependency libraries.
 
3996
-link_all_deplibs=$link_all_deplibs
 
3997
-
 
3998
-# Compile-time system search path for libraries
 
3999
-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
4000
-
 
4001
-# Run-time system search path for libraries
 
4002
-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
4003
-
 
4004
-# Fix the shell variable \$srcfile for the compiler.
 
4005
-fix_srcfile_path="$fix_srcfile_path"
 
4006
-
 
4007
-# Set to yes if exported symbols are required.
 
4008
-always_export_symbols=$always_export_symbols
 
4009
-
 
4010
-# The commands to list exported symbols.
 
4011
-export_symbols_cmds=$lt_export_symbols_cmds
 
4012
-
 
4013
-# The commands to extract the exported symbol list from a shared archive.
 
4014
-extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
4015
-
 
4016
-# Symbols that should not be listed in the preloaded symbols.
 
4017
-exclude_expsyms=$lt_exclude_expsyms
 
4018
-
 
4019
-# Symbols that must always be exported.
 
4020
-include_expsyms=$lt_include_expsyms
 
4021
-
 
4022
-# ### END LIBTOOL CONFIG
 
4023
-
 
4024
-__EOF__
 
4025
-
 
4026
-  case $host_os in
 
4027
-  aix3*)
 
4028
-    cat <<\EOF >> "${ofile}T"
 
4029
-
 
4030
-# AIX sometimes has problems with the GCC collect2 program.  For some
 
4031
-# reason, if we set the COLLECT_NAMES environment variable, the problems
 
4032
-# vanish in a puff of smoke.
 
4033
-if test "X${COLLECT_NAMES+set}" != Xset; then
 
4034
-  COLLECT_NAMES=
 
4035
-  export COLLECT_NAMES
 
4036
-fi
 
4037
-EOF
 
4038
-    ;;
 
4039
-  esac
 
4040
-
 
4041
-  case $host_os in
 
4042
-  cygwin* | mingw* | pw32* | os2*)
 
4043
-    cat <<'EOF' >> "${ofile}T"
 
4044
-      # This is a source program that is used to create dlls on Windows
 
4045
-      # Don't remove nor modify the starting and closing comments
 
4046
-# /* ltdll.c starts here */
 
4047
-# #define WIN32_LEAN_AND_MEAN
 
4048
-# #include <windows.h>
 
4049
-# #undef WIN32_LEAN_AND_MEAN
 
4050
-# #include <stdio.h>
 
4051
-#
 
4052
-# #ifndef __CYGWIN__
 
4053
-# #  ifdef __CYGWIN32__
 
4054
-# #    define __CYGWIN__ __CYGWIN32__
 
4055
-# #  endif
 
4056
-# #endif
 
4057
-#
 
4058
-# #ifdef __cplusplus
 
4059
-# extern "C" {
 
4060
-# #endif
 
4061
-# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
 
4062
-# #ifdef __cplusplus
 
4063
-# }
 
4064
-# #endif
 
4065
-#
 
4066
-# #ifdef __CYGWIN__
 
4067
-# #include <cygwin/cygwin_dll.h>
 
4068
-# DECLARE_CYGWIN_DLL( DllMain );
 
4069
-# #endif
 
4070
-# HINSTANCE __hDllInstance_base;
 
4071
-#
 
4072
-# BOOL APIENTRY
 
4073
-# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
 
4074
-# {
 
4075
-#   __hDllInstance_base = hInst;
 
4076
-#   return TRUE;
 
4077
-# }
 
4078
-# /* ltdll.c ends here */
 
4079
-       # This is a source program that is used to create import libraries
 
4080
-       # on Windows for dlls which lack them. Don't remove nor modify the
 
4081
-       # starting and closing comments
 
4082
-# /* impgen.c starts here */
 
4083
-# /*   Copyright (C) 1999-2000 Free Software Foundation, Inc.
 
4084
-#
 
4085
-#  This file is part of GNU libtool.
 
4086
-#
 
4087
-#  This program is free software; you can redistribute it and/or modify
 
4088
-#  it under the terms of the GNU General Public License as published by
 
4089
-#  the Free Software Foundation; either version 2 of the License, or
 
4090
-#  (at your option) any later version.
 
4091
-#
 
4092
-#  This program is distributed in the hope that it will be useful,
 
4093
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
4094
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
4095
-#  GNU General Public License for more details.
 
4096
-#
 
4097
-#  You should have received a copy of the GNU General Public License
 
4098
-#  along with this program; if not, write to the Free Software
 
4099
-#  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
4100
-#  */
 
4101
-#
 
4102
-# #include <stdio.h>           /* for printf() */
 
4103
-# #include <unistd.h>          /* for open(), lseek(), read() */
 
4104
-# #include <fcntl.h>           /* for O_RDONLY, O_BINARY */
 
4105
-# #include <string.h>          /* for strdup() */
 
4106
-#
 
4107
-# /* O_BINARY isn't required (or even defined sometimes) under Unix */
 
4108
-# #ifndef O_BINARY
 
4109
-# #define O_BINARY 0
 
4110
-# #endif
 
4111
-#
 
4112
-# static unsigned int
 
4113
-# pe_get16 (fd, offset)
 
4114
-#      int fd;
 
4115
-#      int offset;
 
4116
-# {
 
4117
-#   unsigned char b[2];
 
4118
-#   lseek (fd, offset, SEEK_SET);
 
4119
-#   read (fd, b, 2);
 
4120
-#   return b[0] + (b[1]<<8);
 
4121
-# }
 
4122
-#
 
4123
-# static unsigned int
 
4124
-# pe_get32 (fd, offset)
 
4125
-#     int fd;
 
4126
-#     int offset;
 
4127
-# {
 
4128
-#   unsigned char b[4];
 
4129
-#   lseek (fd, offset, SEEK_SET);
 
4130
-#   read (fd, b, 4);
 
4131
-#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
 
4132
-# }
 
4133
-#
 
4134
-# static unsigned int
 
4135
-# pe_as32 (ptr)
 
4136
-#      void *ptr;
 
4137
-# {
 
4138
-#   unsigned char *b = ptr;
 
4139
-#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
 
4140
-# }
 
4141
-#
 
4142
-# int
 
4143
-# main (argc, argv)
 
4144
-#     int argc;
 
4145
-#     char *argv[];
 
4146
-# {
 
4147
-#     int dll;
 
4148
-#     unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
 
4149
-#     unsigned long export_rva, export_size, nsections, secptr, expptr;
 
4150
-#     unsigned long name_rvas, nexp;
 
4151
-#     unsigned char *expdata, *erva;
 
4152
-#     char *filename, *dll_name;
 
4153
-#
 
4154
-#     filename = argv[1];
 
4155
-#
 
4156
-#     dll = open(filename, O_RDONLY|O_BINARY);
 
4157
-#     if (dll < 1)
 
4158
-#      return 1;
 
4159
-#
 
4160
-#     dll_name = filename;
 
4161
-#
 
4162
-#     for (i=0; filename[i]; i++)
 
4163
-#      if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':')
 
4164
-#          dll_name = filename + i +1;
 
4165
-#
 
4166
-#     pe_header_offset = pe_get32 (dll, 0x3c);
 
4167
-#     opthdr_ofs = pe_header_offset + 4 + 20;
 
4168
-#     num_entries = pe_get32 (dll, opthdr_ofs + 92);
 
4169
-#
 
4170
-#     if (num_entries < 1) /* no exports */
 
4171
-#      return 1;
 
4172
-#
 
4173
-#     export_rva = pe_get32 (dll, opthdr_ofs + 96);
 
4174
-#     export_size = pe_get32 (dll, opthdr_ofs + 100);
 
4175
-#     nsections = pe_get16 (dll, pe_header_offset + 4 +2);
 
4176
-#     secptr = (pe_header_offset + 4 + 20 +
 
4177
-#            pe_get16 (dll, pe_header_offset + 4 + 16));
 
4178
-#
 
4179
-#     expptr = 0;
 
4180
-#     for (i = 0; i < nsections; i++)
 
4181
-#     {
 
4182
-#      char sname[8];
 
4183
-#      unsigned long secptr1 = secptr + 40 * i;
 
4184
-#      unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
 
4185
-#      unsigned long vsize = pe_get32 (dll, secptr1 + 16);
 
4186
-#      unsigned long fptr = pe_get32 (dll, secptr1 + 20);
 
4187
-#      lseek(dll, secptr1, SEEK_SET);
 
4188
-#      read(dll, sname, 8);
 
4189
-#      if (vaddr <= export_rva && vaddr+vsize > export_rva)
 
4190
-#      {
 
4191
-#          expptr = fptr + (export_rva - vaddr);
 
4192
-#          if (export_rva + export_size > vaddr + vsize)
 
4193
-#              export_size = vsize - (export_rva - vaddr);
 
4194
-#          break;
 
4195
-#      }
 
4196
-#     }
 
4197
-#
 
4198
-#     expdata = (unsigned char*)malloc(export_size);
 
4199
-#     lseek (dll, expptr, SEEK_SET);
 
4200
-#     read (dll, expdata, export_size);
 
4201
-#     erva = expdata - export_rva;
 
4202
-#
 
4203
-#     nexp = pe_as32 (expdata+24);
 
4204
-#     name_rvas = pe_as32 (expdata+32);
 
4205
-#
 
4206
-#     printf ("EXPORTS\n");
 
4207
-#     for (i = 0; i<nexp; i++)
 
4208
-#     {
 
4209
-#      unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
 
4210
-#      printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
 
4211
-#     }
 
4212
-#
 
4213
-#     return 0;
 
4214
-# }
 
4215
-# /* impgen.c ends here */
 
4216
-
 
4217
-EOF
 
4218
-    ;;
 
4219
-  esac
 
4220
-
 
4221
-  # We use sed instead of cat because bash on DJGPP gets confused if
 
4222
-  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
4223
-  # text mode, it properly converts lines to CR/LF.  This bash problem
 
4224
-  # is reportedly fixed, but why not run on old versions too?
 
4225
-  sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
 
4226
-
 
4227
-  mv -f "${ofile}T" "$ofile" || \
 
4228
-    (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
 
4229
-  chmod +x "$ofile"
 
4230
-fi
 
4231
-
 
4232
-])# _LT_AC_LTCONFIG_HACK
 
4233
-
 
4234
-# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
 
4235
-AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
 
4236
-
 
4237
-# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
 
4238
-AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
 
4239
-
 
4240
-# AC_ENABLE_SHARED - implement the --enable-shared flag
 
4241
-# Usage: AC_ENABLE_SHARED[(DEFAULT)]
 
4242
-#   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
 
4243
-#   `yes'.
 
4244
-AC_DEFUN([AC_ENABLE_SHARED],
 
4245
-[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
 
4246
-AC_ARG_ENABLE(shared,
 
4247
-changequote(<<, >>)dnl
 
4248
-<<  --enable-shared[=PKGS]  build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT],
 
4249
-changequote([, ])dnl
 
4250
-[p=${PACKAGE-default}
 
4251
-case $enableval in
 
4252
-yes) enable_shared=yes ;;
 
4253
-no) enable_shared=no ;;
 
4254
-*)
 
4255
-  enable_shared=no
 
4256
-  # Look at the argument we got.  We use all the common list separators.
 
4257
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
 
4258
-  for pkg in $enableval; do
 
4259
-    if test "X$pkg" = "X$p"; then
 
4260
-      enable_shared=yes
 
4261
-    fi
 
4262
-  done
 
4263
-  IFS="$ac_save_ifs"
 
4264
-  ;;
 
4265
-esac],
 
4266
-enable_shared=AC_ENABLE_SHARED_DEFAULT)dnl
 
4267
-])
 
4268
-
 
4269
-# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
 
4270
-AC_DEFUN([AC_DISABLE_SHARED],
 
4271
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
 
4272
-AC_ENABLE_SHARED(no)])
 
4273
-
 
4274
-# AC_ENABLE_STATIC - implement the --enable-static flag
 
4275
-# Usage: AC_ENABLE_STATIC[(DEFAULT)]
 
4276
-#   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
 
4277
-#   `yes'.
 
4278
-AC_DEFUN([AC_ENABLE_STATIC],
 
4279
-[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
 
4280
-AC_ARG_ENABLE(static,
 
4281
-changequote(<<, >>)dnl
 
4282
-<<  --enable-static[=PKGS]  build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT],
 
4283
-changequote([, ])dnl
 
4284
-[p=${PACKAGE-default}
 
4285
-case $enableval in
 
4286
-yes) enable_static=yes ;;
 
4287
-no) enable_static=no ;;
 
4288
-*)
 
4289
-  enable_static=no
 
4290
-  # Look at the argument we got.  We use all the common list separators.
 
4291
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
 
4292
-  for pkg in $enableval; do
 
4293
-    if test "X$pkg" = "X$p"; then
 
4294
-      enable_static=yes
 
4295
-    fi
 
4296
-  done
 
4297
-  IFS="$ac_save_ifs"
 
4298
-  ;;
 
4299
-esac],
 
4300
-enable_static=AC_ENABLE_STATIC_DEFAULT)dnl
 
4301
-])
 
4302
-
 
4303
-# AC_DISABLE_STATIC - set the default static flag to --disable-static
 
4304
-AC_DEFUN([AC_DISABLE_STATIC],
 
4305
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
 
4306
-AC_ENABLE_STATIC(no)])
 
4307
-
 
4308
-
 
4309
-# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
 
4310
-# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
 
4311
-#   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
 
4312
-#   `yes'.
 
4313
-AC_DEFUN([AC_ENABLE_FAST_INSTALL],
 
4314
-[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
 
4315
-AC_ARG_ENABLE(fast-install,
 
4316
-changequote(<<, >>)dnl
 
4317
-<<  --enable-fast-install[=PKGS]  optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT],
 
4318
-changequote([, ])dnl
 
4319
-[p=${PACKAGE-default}
 
4320
-case $enableval in
 
4321
-yes) enable_fast_install=yes ;;
 
4322
-no) enable_fast_install=no ;;
 
4323
-*)
 
4324
-  enable_fast_install=no
 
4325
-  # Look at the argument we got.  We use all the common list separators.
 
4326
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
 
4327
-  for pkg in $enableval; do
 
4328
-    if test "X$pkg" = "X$p"; then
 
4329
-      enable_fast_install=yes
 
4330
-    fi
 
4331
-  done
 
4332
-  IFS="$ac_save_ifs"
 
4333
-  ;;
 
4334
-esac],
 
4335
-enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl
 
4336
-])
 
4337
-
 
4338
-# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install
 
4339
-AC_DEFUN([AC_DISABLE_FAST_INSTALL],
 
4340
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
 
4341
-AC_ENABLE_FAST_INSTALL(no)])
 
4342
-
 
4343
-# AC_LIBTOOL_PICMODE - implement the --with-pic flag
 
4344
-# Usage: AC_LIBTOOL_PICMODE[(MODE)]
 
4345
-#   Where MODE is either `yes' or `no'.  If omitted, it defaults to
 
4346
-#   `both'.
 
4347
-AC_DEFUN([AC_LIBTOOL_PICMODE],
 
4348
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
 
4349
-pic_mode=ifelse($#,1,$1,default)])
 
4350
-
 
4351
-
 
4352
-# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library
 
4353
-AC_DEFUN([AC_PATH_TOOL_PREFIX],
 
4354
-[AC_MSG_CHECKING([for $1])
 
4355
-AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
 
4356
-[case $MAGIC_CMD in
 
4357
-  /*)
 
4358
-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
4359
-  ;;
 
4360
-  ?:/*)
 
4361
-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
 
4362
-  ;;
 
4363
-  *)
 
4364
-  ac_save_MAGIC_CMD="$MAGIC_CMD"
 
4365
-  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
4366
-dnl $ac_dummy forces splitting on constant user-supplied paths.
 
4367
-dnl POSIX.2 word splitting is done only on the output of word expansions,
 
4368
-dnl not every word.  This closes a longstanding sh security hole.
 
4369
-  ac_dummy="ifelse([$2], , $PATH, [$2])"
 
4370
-  for ac_dir in $ac_dummy; do
 
4371
-    test -z "$ac_dir" && ac_dir=.
 
4372
-    if test -f $ac_dir/$1; then
 
4373
-      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
 
4374
-      if test -n "$file_magic_test_file"; then
 
4375
-       case $deplibs_check_method in
 
4376
-       "file_magic "*)
 
4377
-         file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
4378
-         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
4379
-         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
4380
-           egrep "$file_magic_regex" > /dev/null; then
 
4381
-           :
 
4382
-         else
 
4383
-           cat <<EOF 1>&2
 
4384
-
 
4385
-*** Warning: the command libtool uses to detect shared libraries,
 
4386
-*** $file_magic_cmd, produces output that libtool cannot recognize.
 
4387
-*** The result is that libtool may fail to recognize shared libraries
 
4388
-*** as such.  This will affect the creation of libtool libraries that
 
4389
-*** depend on shared libraries, but programs linked with such libtool
 
4390
-*** libraries will work regardless of this problem.  Nevertheless, you
 
4391
-*** may want to report the problem to your system manager and/or to
 
4392
-*** bug-libtool@gnu.org
 
4393
-
 
4394
-EOF
 
4395
-         fi ;;
 
4396
-       esac
 
4397
-      fi
 
4398
-      break
 
4399
-    fi
 
4400
-  done
 
4401
-  IFS="$ac_save_ifs"
 
4402
-  MAGIC_CMD="$ac_save_MAGIC_CMD"
 
4403
-  ;;
 
4404
-esac])
 
4405
-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
4406
-if test -n "$MAGIC_CMD"; then
 
4407
-  AC_MSG_RESULT($MAGIC_CMD)
 
4408
-else
 
4409
-  AC_MSG_RESULT(no)
 
4410
-fi
 
4411
-])
 
4412
-
 
4413
-
 
4414
-# AC_PATH_MAGIC - find a file program which can recognise a shared library
 
4415
-AC_DEFUN([AC_PATH_MAGIC],
 
4416
-[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl
 
4417
-AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH)
 
4418
-if test -z "$lt_cv_path_MAGIC_CMD"; then
 
4419
-  if test -n "$ac_tool_prefix"; then
 
4420
-    AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH)
 
4421
-  else
 
4422
-    MAGIC_CMD=:
 
4423
-  fi
 
4424
-fi
 
4425
-])
 
4426
-
 
4427
-
 
4428
-# AC_PROG_LD - find the path to the GNU or non-GNU linker
 
4429
-AC_DEFUN([AC_PROG_LD],
 
4430
-[AC_ARG_WITH(gnu-ld,
 
4431
-[  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]],
 
4432
-test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
 
4433
-AC_REQUIRE([AC_PROG_CC])dnl
 
4434
-AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
4435
-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 
4436
-AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
 
4437
-ac_prog=ld
 
4438
-if test "$GCC" = yes; then
 
4439
-  # Check if gcc -print-prog-name=ld gives a path.
 
4440
-  AC_MSG_CHECKING([for ld used by GCC])
 
4441
-  case $host in
 
4442
-  *-*-mingw*)
 
4443
-    # gcc leaves a trailing carriage return which upsets mingw
 
4444
-    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
4445
-  *)
 
4446
-    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
4447
-  esac
 
4448
-  case $ac_prog in
 
4449
-    # Accept absolute paths.
 
4450
-    [[\\/]]* | [[A-Za-z]]:[[\\/]]*)
 
4451
-      re_direlt='/[[^/]][[^/]]*/\.\./'
 
4452
-      # Canonicalize the path of ld
 
4453
-      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
 
4454
-      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 
4455
-       ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
 
4456
-      done
 
4457
-      test -z "$LD" && LD="$ac_prog"
 
4458
-      ;;
 
4459
-  "")
 
4460
-    # If it fails, then pretend we aren't using GCC.
 
4461
-    ac_prog=ld
 
4462
-    ;;
 
4463
-  *)
 
4464
-    # If it is relative, then search for the first ld in PATH.
 
4465
-    with_gnu_ld=unknown
 
4466
-    ;;
 
4467
-  esac
 
4468
-elif test "$with_gnu_ld" = yes; then
 
4469
-  AC_MSG_CHECKING([for GNU ld])
 
4470
-else
 
4471
-  AC_MSG_CHECKING([for non-GNU ld])
 
4472
-fi
 
4473
-AC_CACHE_VAL(lt_cv_path_LD,
 
4474
-[if test -z "$LD"; then
 
4475
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4476
-  for ac_dir in $PATH; do
 
4477
-    test -z "$ac_dir" && ac_dir=.
 
4478
-    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
4479
-      lt_cv_path_LD="$ac_dir/$ac_prog"
 
4480
-      # Check to see if the program is GNU ld.  I'd rather use --version,
 
4481
-      # but apparently some GNU ld's only accept -v.
 
4482
-      # Break only if it was the GNU/non-GNU ld that we prefer.
 
4483
-      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
 
4484
-       test "$with_gnu_ld" != no && break
 
4485
-      else
 
4486
-       test "$with_gnu_ld" != yes && break
 
4487
-      fi
 
4488
-    fi
 
4489
-  done
 
4490
-  IFS="$ac_save_ifs"
 
4491
-else
 
4492
-  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
4493
-fi])
 
4494
-LD="$lt_cv_path_LD"
 
4495
-if test -n "$LD"; then
 
4496
-  AC_MSG_RESULT($LD)
 
4497
-else
 
4498
-  AC_MSG_RESULT(no)
 
4499
-fi
 
4500
-test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
 
4501
-AC_PROG_LD_GNU
 
4502
-])
 
4503
-
 
4504
-# AC_PROG_LD_GNU -
 
4505
-AC_DEFUN([AC_PROG_LD_GNU],
 
4506
-[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
 
4507
-[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
4508
-if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
 
4509
-  lt_cv_prog_gnu_ld=yes
 
4510
-else
 
4511
-  lt_cv_prog_gnu_ld=no
 
4512
-fi])
 
4513
-with_gnu_ld=$lt_cv_prog_gnu_ld
 
4514
-])
 
4515
-
 
4516
-# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker
 
4517
-#   -- PORTME Some linkers may need a different reload flag.
 
4518
-AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
 
4519
-[AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag,
 
4520
-[lt_cv_ld_reload_flag='-r'])
 
4521
-reload_flag=$lt_cv_ld_reload_flag
 
4522
-test -n "$reload_flag" && reload_flag=" $reload_flag"
 
4523
-])
 
4524
-
 
4525
-# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
 
4526
-#  -- PORTME fill in with the dynamic library characteristics
 
4527
-AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
 
4528
-[AC_CACHE_CHECK([how to recognise dependant libraries],
 
4529
-lt_cv_deplibs_check_method,
 
4530
-[lt_cv_file_magic_cmd='$MAGIC_CMD'
 
4531
-lt_cv_file_magic_test_file=
 
4532
-lt_cv_deplibs_check_method='unknown'
 
4533
-# Need to set the preceding variable on all platforms that support
 
4534
-# interlibrary dependencies.
 
4535
-# 'none' -- dependencies not supported.
 
4536
-# `unknown' -- same as none, but documents that we really don't know.
 
4537
-# 'pass_all' -- all dependencies passed with no checks.
 
4538
-# 'test_compile' -- check by making test program.
 
4539
-# 'file_magic [[regex]]' -- check by looking for files in library path
 
4540
-# which responds to the $file_magic_cmd with a given egrep regex.
 
4541
-# If you have `file' or equivalent on your system and you're not sure
 
4542
-# whether `pass_all' will *always* work, you probably want this one.
 
4543
-
 
4544
-case $host_os in
 
4545
-aix4* | aix5*)
 
4546
-  lt_cv_deplibs_check_method=pass_all
 
4547
-  ;;
 
4548
-
 
4549
-beos*)
 
4550
-  lt_cv_deplibs_check_method=pass_all
 
4551
-  ;;
 
4552
-
 
4553
-bsdi4*)
 
4554
-  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
 
4555
-  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
4556
-  lt_cv_file_magic_test_file=/shlib/libc.so
 
4557
-  ;;
 
4558
-
 
4559
-cygwin* | mingw* | pw32*)
 
4560
-  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
4561
-  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4562
-  ;;
 
4563
-
 
4564
-darwin* | rhapsody*)
 
4565
-  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
 
4566
-  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
4567
-  case "$host_os" in
 
4568
-  rhapsody* | darwin1.[[012]])
 
4569
-    lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
 
4570
-    ;;
 
4571
-  *) # Darwin 1.3 on
 
4572
-    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
 
4573
-    ;;
 
4574
-  esac
 
4575
-  ;;
 
4576
-
 
4577
-freebsd*)
 
4578
-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
4579
-    case $host_cpu in
 
4580
-    i*86 )
 
4581
-      # Not sure whether the presence of OpenBSD here was a mistake.
 
4582
-      # Let's accept both of them until this is cleared up.
 
4583
-      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
 
4584
-      lt_cv_file_magic_cmd=/usr/bin/file
 
4585
-      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
4586
-      ;;
 
4587
-    esac
 
4588
-  else
 
4589
-    lt_cv_deplibs_check_method=pass_all
 
4590
-  fi
 
4591
-  ;;
 
4592
-
 
4593
-gnu*)
 
4594
-  lt_cv_deplibs_check_method=pass_all
 
4595
-  ;;
 
4596
-
 
4597
-hpux10.20*|hpux11*)
 
4598
-  lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
 
4599
-  lt_cv_file_magic_cmd=/usr/bin/file
 
4600
-  lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
4601
-  ;;
 
4602
-
 
4603
-irix5* | irix6*)
 
4604
-  case $host_os in
 
4605
-  irix5*)
 
4606
-    # this will be overridden with pass_all, but let us keep it just in case
 
4607
-    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
 
4608
-    ;;
 
4609
-  *)
 
4610
-    case $LD in
 
4611
-    *-32|*"-32 ") libmagic=32-bit;;
 
4612
-    *-n32|*"-n32 ") libmagic=N32;;
 
4613
-    *-64|*"-64 ") libmagic=64-bit;;
 
4614
-    *) libmagic=never-match;;
 
4615
-    esac
 
4616
-    # this will be overridden with pass_all, but let us keep it just in case
 
4617
-    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
 
4618
-    ;;
 
4619
-  esac
 
4620
-  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
 
4621
-  lt_cv_deplibs_check_method=pass_all
 
4622
-  ;;
 
4623
-
 
4624
-# This must be Linux ELF.
 
4625
-linux-gnu*)
 
4626
-  case $host_cpu in
 
4627
-  alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* )
 
4628
-    lt_cv_deplibs_check_method=pass_all ;;
 
4629
-  *)
 
4630
-    # glibc up to 2.1.1 does not perform some relocations on ARM
 
4631
-    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
 
4632
-  esac
 
4633
-  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
 
4634
-  ;;
 
4635
-
 
4636
-netbsd*)
 
4637
-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
4638
-    lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$'
 
4639
-  else
 
4640
-    lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$'
 
4641
-  fi
 
4642
-  ;;
 
4643
-
 
4644
-newos6*)
 
4645
-  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
 
4646
-  lt_cv_file_magic_cmd=/usr/bin/file
 
4647
-  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
4648
-  ;;
 
4649
-
 
4650
-openbsd*)
 
4651
-  lt_cv_file_magic_cmd=/usr/bin/file
 
4652
-  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
4653
-  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
4654
-    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
 
4655
-  else
 
4656
-    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
 
4657
-  fi
 
4658
-  ;;
 
4659
-
 
4660
-osf3* | osf4* | osf5*)
 
4661
-  # this will be overridden with pass_all, but let us keep it just in case
 
4662
-  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
 
4663
-  lt_cv_file_magic_test_file=/shlib/libc.so
 
4664
-  lt_cv_deplibs_check_method=pass_all
 
4665
-  ;;
 
4666
-
 
4667
-sco3.2v5*)
 
4668
-  lt_cv_deplibs_check_method=pass_all
 
4669
-  ;;
 
4670
-
 
4671
-solaris*)
 
4672
-  lt_cv_deplibs_check_method=pass_all
 
4673
-  lt_cv_file_magic_test_file=/lib/libc.so
 
4674
-  ;;
 
4675
-
 
4676
-sysv5uw[[78]]* | sysv4*uw2*)
 
4677
-  lt_cv_deplibs_check_method=pass_all
 
4678
-  ;;
 
4679
-
 
4680
-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
4681
-  case $host_vendor in
 
4682
-  motorola)
 
4683
-    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]]'
 
4684
-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
4685
-    ;;
 
4686
-  ncr)
 
4687
-    lt_cv_deplibs_check_method=pass_all
 
4688
-    ;;
 
4689
-  sequent)
 
4690
-    lt_cv_file_magic_cmd='/bin/file'
 
4691
-    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
 
4692
-    ;;
 
4693
-  sni)
 
4694
-    lt_cv_file_magic_cmd='/bin/file'
 
4695
-    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
 
4696
-    lt_cv_file_magic_test_file=/lib/libc.so
 
4697
-    ;;
 
4698
-  esac
 
4699
-  ;;
 
4700
-esac
 
4701
-])
 
4702
-file_magic_cmd=$lt_cv_file_magic_cmd
 
4703
-deplibs_check_method=$lt_cv_deplibs_check_method
 
4704
-])
 
4705
-
 
4706
-
 
4707
-# AC_PROG_NM - find the path to a BSD-compatible name lister
 
4708
-AC_DEFUN([AC_PROG_NM],
 
4709
-[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
 
4710
-AC_MSG_CHECKING([for BSD-compatible nm])
 
4711
-AC_CACHE_VAL(lt_cv_path_NM,
 
4712
-[if test -n "$NM"; then
 
4713
-  # Let the user override the test.
 
4714
-  lt_cv_path_NM="$NM"
 
4715
-else
 
4716
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4717
-  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
 
4718
-    test -z "$ac_dir" && ac_dir=.
 
4719
-    tmp_nm=$ac_dir/${ac_tool_prefix}nm
 
4720
-    if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
 
4721
-      # Check to see if the nm accepts a BSD-compat flag.
 
4722
-      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
4723
-      #   nm: unknown option "B" ignored
 
4724
-      # Tru64's nm complains that /dev/null is an invalid object file
 
4725
-      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
 
4726
-       lt_cv_path_NM="$tmp_nm -B"
 
4727
-       break
 
4728
-      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
 
4729
-       lt_cv_path_NM="$tmp_nm -p"
 
4730
-       break
 
4731
-      else
 
4732
-       lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
4733
-       continue # so that we can try to find one that supports BSD flags
 
4734
-      fi
 
4735
-    fi
 
4736
-  done
 
4737
-  IFS="$ac_save_ifs"
 
4738
-  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 
4739
-fi])
 
4740
-NM="$lt_cv_path_NM"
 
4741
-AC_MSG_RESULT([$NM])
 
4742
-])
 
4743
-
 
4744
-# AC_CHECK_LIBM - check for math library
 
4745
-AC_DEFUN([AC_CHECK_LIBM],
 
4746
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
4747
-LIBM=
 
4748
-case $host in
 
4749
-*-*-beos* | *-*-cygwin* | *-*-pw32*)
 
4750
-  # These system don't have libm
 
4751
-  ;;
 
4752
-*-ncr-sysv4.3*)
 
4753
-  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
 
4754
-  AC_CHECK_LIB(m, main, LIBM="$LIBM -lm")
 
4755
-  ;;
 
4756
-*)
 
4757
-  AC_CHECK_LIB(m, main, LIBM="-lm")
 
4758
-  ;;
 
4759
-esac
 
4760
-])
 
4761
-
 
4762
-# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
 
4763
-# the libltdl convenience library and INCLTDL to the include flags for
 
4764
-# the libltdl header and adds --enable-ltdl-convenience to the
 
4765
-# configure arguments.  Note that LIBLTDL and INCLTDL are not
 
4766
-# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If DIR is not
 
4767
-# provided, it is assumed to be `libltdl'.  LIBLTDL will be prefixed
 
4768
-# with '${top_builddir}/' and INCLTDL will be prefixed with
 
4769
-# '${top_srcdir}/' (note the single quotes!).  If your package is not
 
4770
-# flat and you're not using automake, define top_builddir and
 
4771
-# top_srcdir appropriately in the Makefiles.
 
4772
-AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
 
4773
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
 
4774
-  case $enable_ltdl_convenience in
 
4775
-  no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
 
4776
-  "") enable_ltdl_convenience=yes
 
4777
-      ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
 
4778
-  esac
 
4779
-  LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
 
4780
-  INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
 
4781
-])
 
4782
-
 
4783
-# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
 
4784
-# the libltdl installable library and INCLTDL to the include flags for
 
4785
-# the libltdl header and adds --enable-ltdl-install to the configure
 
4786
-# arguments.  Note that LIBLTDL and INCLTDL are not AC_SUBSTed, nor is
 
4787
-# AC_CONFIG_SUBDIRS called.  If DIR is not provided and an installed
 
4788
-# libltdl is not found, it is assumed to be `libltdl'.  LIBLTDL will
 
4789
-# be prefixed with '${top_builddir}/' and INCLTDL will be prefixed
 
4790
-# with '${top_srcdir}/' (note the single quotes!).  If your package is
 
4791
-# not flat and you're not using automake, define top_builddir and
 
4792
-# top_srcdir appropriately in the Makefiles.
 
4793
-# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
 
4794
-AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
 
4795
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
 
4796
-  AC_CHECK_LIB(ltdl, main,
 
4797
-  [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
 
4798
-  [if test x"$enable_ltdl_install" = xno; then
 
4799
-     AC_MSG_WARN([libltdl not installed, but installation disabled])
 
4800
-   else
 
4801
-     enable_ltdl_install=yes
 
4802
-   fi
 
4803
-  ])
 
4804
-  if test x"$enable_ltdl_install" = x"yes"; then
 
4805
-    ac_configure_args="$ac_configure_args --enable-ltdl-install"
 
4806
-    LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
 
4807
-    INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
 
4808
-  else
 
4809
-    ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
 
4810
-    LIBLTDL="-lltdl"
 
4811
-    INCLTDL=
 
4812
-  fi
 
4813
-])
 
4814
-
 
4815
-# old names
 
4816
-AC_DEFUN([AM_PROG_LIBTOOL],   [AC_PROG_LIBTOOL])
 
4817
-AC_DEFUN([AM_ENABLE_SHARED],  [AC_ENABLE_SHARED($@)])
 
4818
-AC_DEFUN([AM_ENABLE_STATIC],  [AC_ENABLE_STATIC($@)])
 
4819
-AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
 
4820
-AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
 
4821
-AC_DEFUN([AM_PROG_LD],        [AC_PROG_LD])
 
4822
-AC_DEFUN([AM_PROG_NM],        [AC_PROG_NM])
 
4823
-
 
4824
-# This is just to silence aclocal about the macro not being used
 
4825
-ifelse([AC_DISABLE_FAST_INSTALL])
 
4826
-
 
4827
-# CFLAGS and library paths for XMMS
 
4828
-# written 15 December 1999 by Ben Gertzfield <che@debian.org>
 
4829
-
 
4830
-dnl Usage:
 
4831
-dnl AM_PATH_XMMS([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
 
4832
-dnl
 
4833
-dnl Example:
 
4834
-dnl AM_PATH_XMMS(0.9.5.1, , AC_MSG_ERROR([*** XMMS >= 0.9.5.1 not installed - please install first ***]))
 
4835
-dnl
 
4836
-dnl Defines XMMS_CFLAGS, XMMS_LIBS, XMMS_DATA_DIR, XMMS_PLUGIN_DIR, 
 
4837
-dnl XMMS_VISUALIZATION_PLUGIN_DIR, XMMS_INPUT_PLUGIN_DIR, 
 
4838
-dnl XMMS_OUTPUT_PLUGIN_DIR, XMMS_GENERAL_PLUGIN_DIR, XMMS_EFFECT_PLUGIN_DIR,
 
4839
-dnl and XMMS_VERSION for your plugin pleasure.
 
4840
-dnl
 
4841
-
 
4842
-dnl XMMS_TEST_VERSION(AVAILABLE-VERSION, NEEDED-VERSION [, ACTION-IF-OKAY [, ACTION-IF-NOT-OKAY]])
 
4843
-AC_DEFUN(XMMS_TEST_VERSION, [
 
4844
-
 
4845
-# Determine which version number is greater. Prints 2 to stdout if     
 
4846
-# the second number is greater, 1 if the first number is greater,      
 
4847
-# 0 if the numbers are equal.                                          
 
4848
-                                                                       
 
4849
-# Written 15 December 1999 by Ben Gertzfield <che@debian.org>          
 
4850
-# Revised 15 December 1999 by Jim Monty <monty@primenet.com>           
 
4851
-                                                                       
 
4852
-    AC_PROG_AWK
 
4853
-    xmms_got_version=[` $AWK '                                         \
 
4854
-BEGIN {                                                                        \
 
4855
-    print vercmp(ARGV[1], ARGV[2]);                                    \
 
4856
-}                                                                      \
 
4857
-                                                                       \
 
4858
-function vercmp(ver1, ver2,    ver1arr, ver2arr,                       \
 
4859
-                               ver1len, ver2len,                       \
 
4860
-                               ver1int, ver2int, len, i, p) {          \
 
4861
-                                                                       \
 
4862
-    ver1len = split(ver1, ver1arr, /\./);                              \
 
4863
-    ver2len = split(ver2, ver2arr, /\./);                              \
 
4864
-                                                                       \
 
4865
-    len = ver1len > ver2len ? ver1len : ver2len;                       \
 
4866
-                                                                       \
 
4867
-    for (i = 1; i <= len; i++) {                                       \
 
4868
-        p = 1000 ^ (len - i);                                          \
 
4869
-        ver1int += ver1arr[i] * p;                                     \
 
4870
-        ver2int += ver2arr[i] * p;                                     \
 
4871
-    }                                                                  \
 
4872
-                                                                       \
 
4873
-    if (ver1int < ver2int)                                             \
 
4874
-        return 2;                                                      \
 
4875
-    else if (ver1int > ver2int)                                                \
 
4876
-        return 1;                                                      \
 
4877
-    else                                                               \
 
4878
-        return 0;                                                      \
 
4879
-}' $1 $2`]                                                             
 
4880
-
 
4881
-    if test $xmms_got_version -eq 2; then      # failure
 
4882
-       ifelse([$4], , :, $4)                   
 
4883
-    else                                       # success!
 
4884
-       ifelse([$3], , :, $3)
 
4885
-    fi
 
4886
-])
 
4887
-
 
4888
-AC_DEFUN(AM_PATH_XMMS,
 
4889
-[
 
4890
-AC_ARG_WITH(xmms-prefix,[  --with-xmms-prefix=PFX  Prefix where XMMS is installed (optional)],
 
4891
-       xmms_config_prefix="$withval", xmms_config_prefix="")
 
4892
-AC_ARG_WITH(xmms-exec-prefix,[  --with-xmms-exec-prefix=PFX Exec prefix where XMMS is installed (optional)],
 
4893
-       xmms_config_exec_prefix="$withval", xmms_config_exec_prefix="")
 
4894
-
 
4895
-if test x$xmms_config_exec_prefix != x; then
 
4896
-    xmms_config_args="$xmms_config_args --exec-prefix=$xmms_config_exec_prefix"
 
4897
-    if test x${XMMS_CONFIG+set} != xset; then
 
4898
-       XMMS_CONFIG=$xmms_config_exec_prefix/bin/xmms-config
 
4899
-    fi
 
4900
-fi
 
4901
-
 
4902
-if test x$xmms_config_prefix != x; then
 
4903
-    xmms_config_args="$xmms_config_args --prefix=$xmms_config_prefix"
 
4904
-    if test x${XMMS_CONFIG+set} != xset; then
 
4905
-       XMMS_CONFIG=$xmms_config_prefix/bin/xmms-config
 
4906
-    fi
 
4907
-fi
 
4908
-
 
4909
-AC_PATH_PROG(XMMS_CONFIG, xmms-config, no)
 
4910
-min_xmms_version=ifelse([$1], ,0.9.5.1, $1)
 
4911
-
 
4912
-if test "$XMMS_CONFIG" = "no"; then
 
4913
-    no_xmms=yes
 
4914
-else
 
4915
-    XMMS_CFLAGS=`$XMMS_CONFIG $xmms_config_args --cflags`
 
4916
-    XMMS_LIBS=`$XMMS_CONFIG $xmms_config_args --libs`
 
4917
-    XMMS_VERSION=`$XMMS_CONFIG $xmms_config_args --version`
 
4918
-    XMMS_DATA_DIR=`$XMMS_CONFIG $xmms_config_args --data-dir`
 
4919
-    XMMS_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --plugin-dir`
 
4920
-    XMMS_VISUALIZATION_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args \
 
4921
-                                       --visualization-plugin-dir`
 
4922
-    XMMS_INPUT_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --input-plugin-dir`
 
4923
-    XMMS_OUTPUT_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --output-plugin-dir`
 
4924
-    XMMS_EFFECT_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --effect-plugin-dir`
 
4925
-    XMMS_GENERAL_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --general-plugin-dir`
 
4926
-
 
4927
-    XMMS_TEST_VERSION($XMMS_VERSION, $min_xmms_version, ,no_xmms=version)
 
4928
-fi
 
4929
-
 
4930
-AC_MSG_CHECKING(for XMMS - version >= $min_xmms_version)
 
4931
-
 
4932
-if test "x$no_xmms" = x; then
 
4933
-    AC_MSG_RESULT(yes)
 
4934
-    ifelse([$2], , :, [$2])
 
4935
-else
 
4936
-    AC_MSG_RESULT(no)
 
4937
-
 
4938
-    if test "$XMMS_CONFIG" = "no" ; then
 
4939
-       echo "*** The xmms-config script installed by XMMS could not be found."
 
4940
-       echo "*** If XMMS was installed in PREFIX, make sure PREFIX/bin is in"
 
4941
-       echo "*** your path, or set the XMMS_CONFIG environment variable to the"
 
4942
-       echo "*** full path to xmms-config."
 
4943
-    else
 
4944
-       if test "$no_xmms" = "version"; then
 
4945
-           echo "*** An old version of XMMS, $XMMS_VERSION, was found."
 
4946
-           echo "*** You need a version of XMMS newer than $min_xmms_version."
 
4947
-           echo "*** The latest version of XMMS is always available from"
 
4948
-           echo "*** http://www.xmms.org/"
 
4949
-           echo "***"
 
4950
-
 
4951
-            echo "*** If you have already installed a sufficiently new version, this error"
 
4952
-            echo "*** probably means that the wrong copy of the xmms-config shell script is"
 
4953
-            echo "*** being found. The easiest way to fix this is to remove the old version"
 
4954
-            echo "*** of XMMS, but you can also set the XMMS_CONFIG environment to point to the"
 
4955
-            echo "*** correct copy of xmms-config. (In this case, you will have to"
 
4956
-            echo "*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf"
 
4957
-            echo "*** so that the correct libraries are found at run-time)"
 
4958
-       fi
 
4959
-    fi
 
4960
-    XMMS_CFLAGS=""
 
4961
-    XMMS_LIBS=""
 
4962
-    ifelse([$3], , :, [$3])
 
4963
-fi
 
4964
-AC_SUBST(XMMS_CFLAGS)
 
4965
-AC_SUBST(XMMS_LIBS)
 
4966
-AC_SUBST(XMMS_VERSION)
 
4967
-AC_SUBST(XMMS_DATA_DIR)
 
4968
-AC_SUBST(XMMS_PLUGIN_DIR)
 
4969
-AC_SUBST(XMMS_VISUALIZATION_PLUGIN_DIR)
 
4970
-AC_SUBST(XMMS_INPUT_PLUGIN_DIR)
 
4971
-AC_SUBST(XMMS_OUTPUT_PLUGIN_DIR)
 
4972
-AC_SUBST(XMMS_GENERAL_PLUGIN_DIR)
 
4973
-AC_SUBST(XMMS_EFFECT_PLUGIN_DIR)
 
4974
-])
 
4975
-
 
4976
-# Configure paths for libogg
 
4977
-# Jack Moffitt <jack@icecast.org> 10-21-2000
 
4978
-# Shamelessly stolen from Owen Taylor and Manish Singh
 
4979
-
 
4980
-dnl XIPH_PATH_OGG([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
 
4981
-dnl Test for libogg, and define OGG_CFLAGS and OGG_LIBS
 
4982
-dnl
 
4983
-AC_DEFUN([XIPH_PATH_OGG],
 
4984
-[dnl 
 
4985
-dnl Get the cflags and libraries
 
4986
-dnl
 
4987
-AC_ARG_WITH(ogg,[  --with-ogg=PFX   Prefix where libogg is installed (optional)], ogg_prefix="$withval", ogg_prefix="")
 
4988
-AC_ARG_WITH(ogg-libraries,[  --with-ogg-libraries=DIR   Directory where libogg library is installed (optional)], ogg_libraries="$withval", ogg_libraries="")
 
4989
-AC_ARG_WITH(ogg-includes,[  --with-ogg-includes=DIR   Directory where libogg header files are installed (optional)], ogg_includes="$withval", ogg_includes="")
 
4990
-AC_ARG_ENABLE(oggtest, [  --disable-oggtest       Do not try to compile and run a test Ogg program],, enable_oggtest=yes)
 
4991
-
 
4992
-  if test "x$ogg_libraries" != "x" ; then
 
4993
-    OGG_LIBS="-L$ogg_libraries"
 
4994
-  elif test "x$ogg_prefix" != "x" ; then
 
4995
-    OGG_LIBS="-L$ogg_prefix/lib"
 
4996
-  elif test "x$prefix" != "xNONE" ; then
 
4997
-    OGG_LIBS="-L$prefix/lib"
 
4998
-  fi
 
4999
-
 
5000
-  OGG_LIBS="$OGG_LIBS -logg"
 
5001
-
 
5002
-  if test "x$ogg_includes" != "x" ; then
 
5003
-    OGG_CFLAGS="-I$ogg_includes"
 
5004
-  elif test "x$ogg_prefix" != "x" ; then
 
5005
-    OGG_CFLAGS="-I$ogg_prefix/include"
 
5006
-  elif test "x$prefix" != "xNONE"; then
 
5007
-    OGG_CFLAGS="-I$prefix/include"
 
5008
-  fi
 
5009
-
 
5010
-  AC_MSG_CHECKING(for Ogg)
 
5011
-  no_ogg=""
 
5012
-
 
5013
-
 
5014
-  if test "x$enable_oggtest" = "xyes" ; then
 
5015
-    ac_save_CFLAGS="$CFLAGS"
 
5016
-    ac_save_LIBS="$LIBS"
 
5017
-    CFLAGS="$CFLAGS $OGG_CFLAGS"
 
5018
-    LIBS="$LIBS $OGG_LIBS"
 
5019
-dnl
 
5020
-dnl Now check if the installed Ogg is sufficiently new.
 
5021
-dnl
 
5022
-      rm -f conf.oggtest
 
5023
-      AC_TRY_RUN([
 
5024
-#include <stdio.h>
 
5025
-#include <stdlib.h>
 
5026
-#include <string.h>
 
5027
-#include <ogg/ogg.h>
 
5028
-
 
5029
-int main ()
 
5030
-{
 
5031
-  system("touch conf.oggtest");
 
5032
-  return 0;
 
5033
-}
 
5034
-
 
5035
-],, no_ogg=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
 
5036
-       CFLAGS="$ac_save_CFLAGS"
 
5037
-       LIBS="$ac_save_LIBS"
 
5038
-  fi
 
5039
-
 
5040
-  if test "x$no_ogg" = "x" ; then
 
5041
-     AC_MSG_RESULT(yes)
 
5042
-     ifelse([$1], , :, [$1])     
 
5043
-  else
 
5044
-     AC_MSG_RESULT(no)
 
5045
-     if test -f conf.oggtest ; then
 
5046
-       :
 
5047
-     else
 
5048
-       echo "*** Could not run Ogg test program, checking why..."
 
5049
-       CFLAGS="$CFLAGS $OGG_CFLAGS"
 
5050
-       LIBS="$LIBS $OGG_LIBS"
 
5051
-       AC_TRY_LINK([
 
5052
-#include <stdio.h>
 
5053
-#include <ogg/ogg.h>
 
5054
-],     [ return 0; ],
 
5055
-       [ echo "*** The test program compiled, but did not run. This usually means"
 
5056
-       echo "*** that the run-time linker is not finding Ogg or finding the wrong"
 
5057
-       echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your"
 
5058
-       echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
 
5059
-       echo "*** to the installed location  Also, make sure you have run ldconfig if that"
 
5060
-       echo "*** is required on your system"
 
5061
-       echo "***"
 
5062
-       echo "*** If you have an old version installed, it is best to remove it, although"
 
5063
-       echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
 
5064
-       [ echo "*** The test program failed to compile or link. See the file config.log for the"
 
5065
-       echo "*** exact error that occured. This usually means Ogg was incorrectly installed"
 
5066
-       echo "*** or that you have moved Ogg since it was installed." ])
 
5067
-       CFLAGS="$ac_save_CFLAGS"
 
5068
-       LIBS="$ac_save_LIBS"
 
5069
-     fi
 
5070
-     OGG_CFLAGS=""
 
5071
-     OGG_LIBS=""
 
5072
-     ifelse([$2], , :, [$2])
 
5073
-  fi
 
5074
-  AC_SUBST(OGG_CFLAGS)
 
5075
-  AC_SUBST(OGG_LIBS)
 
5076
-  rm -f conf.oggtest
 
5077
-])
 
5078
-
 
5079
-# codeset.m4 serial AM1 (gettext-0.10.40)
 
5080
-dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
 
5081
-dnl This file is free software, distributed under the terms of the GNU
 
5082
-dnl General Public License.  As a special exception to the GNU General
 
5083
-dnl Public License, this file may be distributed as part of a program
 
5084
-dnl that contains a configuration script generated by Autoconf, under
 
5085
-dnl the same distribution terms as the rest of that program.
 
5086
-
 
5087
-dnl From Bruno Haible.
 
5088
-
 
5089
-AC_DEFUN([AM_LANGINFO_CODESET],
 
5090
-[
 
5091
-  AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
 
5092
-    [AC_TRY_LINK([#include <langinfo.h>],
 
5093
-      [char* cs = nl_langinfo(CODESET);],
 
5094
-      am_cv_langinfo_codeset=yes,
 
5095
-      am_cv_langinfo_codeset=no)
 
5096
-    ])
 
5097
-  if test $am_cv_langinfo_codeset = yes; then
 
5098
-    AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
 
5099
-      [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
 
5100
-  fi
 
5101
-])
 
5102
-
 
5103
-# iconv.m4 serial AM4 (gettext-0.11.3)
 
5104
-dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
 
5105
-dnl This file is free software, distributed under the terms of the GNU
 
5106
-dnl General Public License.  As a special exception to the GNU General
 
5107
-dnl Public License, this file may be distributed as part of a program
 
5108
-dnl that contains a configuration script generated by Autoconf, under
 
5109
-dnl the same distribution terms as the rest of that program.
 
5110
-
 
5111
-dnl From Bruno Haible.
 
5112
-
 
5113
-AC_DEFUN([AM_ICONV_LINKFLAGS_BODY],
 
5114
-[
 
5115
-  dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
 
5116
-  AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
 
5117
-  AC_REQUIRE([AC_LIB_RPATH])
 
5118
-
 
5119
-  dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
 
5120
-  dnl accordingly.
 
5121
-  AC_LIB_LINKFLAGS_BODY([iconv])
 
5122
-])
 
5123
-
 
5124
-AC_DEFUN([AM_ICONV_LINK],
 
5125
-[
 
5126
-  dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
 
5127
-  dnl those with the standalone portable GNU libiconv installed).
 
5128
-
 
5129
-  dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
 
5130
-  dnl accordingly.
 
5131
-  AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
 
5132
-
 
5133
-  dnl Add $INCICONV to CPPFLAGS before performing the following checks,
 
5134
-  dnl because if the user has installed libiconv and not disabled its use
 
5135
-  dnl via --without-libiconv-prefix, he wants to use it. The first
 
5136
-  dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
 
5137
-  am_save_CPPFLAGS="$CPPFLAGS"
 
5138
-  AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
 
5139
-
 
5140
-  AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
 
5141
-    am_cv_func_iconv="no, consider installing GNU libiconv"
 
5142
-    am_cv_lib_iconv=no
 
5143
-    AC_TRY_LINK([#include <stdlib.h>
 
5144
-#include <iconv.h>],
 
5145
-      [iconv_t cd = iconv_open("","");
 
5146
-       iconv(cd,NULL,NULL,NULL,NULL);
 
5147
-       iconv_close(cd);],
 
5148
-      am_cv_func_iconv=yes)
 
5149
-    if test "$am_cv_func_iconv" != yes; then
 
5150
-      am_save_LIBS="$LIBS"
 
5151
-      LIBS="$LIBS $LIBICONV"
 
5152
-      AC_TRY_LINK([#include <stdlib.h>
 
5153
-#include <iconv.h>],
 
5154
-        [iconv_t cd = iconv_open("","");
 
5155
-         iconv(cd,NULL,NULL,NULL,NULL);
 
5156
-         iconv_close(cd);],
 
5157
-        am_cv_lib_iconv=yes
 
5158
-        am_cv_func_iconv=yes)
 
5159
-      LIBS="$am_save_LIBS"
 
5160
-    fi
 
5161
-  ])
 
5162
-  if test "$am_cv_func_iconv" = yes; then
 
5163
-    AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
 
5164
-  fi
 
5165
-  if test "$am_cv_lib_iconv" = yes; then
 
5166
-    AC_MSG_CHECKING([how to link with libiconv])
 
5167
-    AC_MSG_RESULT([$LIBICONV])
 
5168
-  else
 
5169
-    dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
 
5170
-    dnl either.
 
5171
-    CPPFLAGS="$am_save_CPPFLAGS"
 
5172
-    LIBICONV=
 
5173
-    LTLIBICONV=
 
5174
-  fi
 
5175
-  AC_SUBST(LIBICONV)
 
5176
-  AC_SUBST(LTLIBICONV)
 
5177
-])
 
5178
-
 
5179
-AC_DEFUN([AM_ICONV],
 
5180
-[
 
5181
-  AM_ICONV_LINK
 
5182
-  if test "$am_cv_func_iconv" = yes; then
 
5183
-    AC_MSG_CHECKING([for iconv declaration])
 
5184
-    AC_CACHE_VAL(am_cv_proto_iconv, [
 
5185
-      AC_TRY_COMPILE([
 
5186
-#include <stdlib.h>
 
5187
-#include <iconv.h>
 
5188
-extern
 
5189
-#ifdef __cplusplus
 
5190
-"C"
 
5191
-#endif
 
5192
-#if defined(__STDC__) || defined(__cplusplus)
 
5193
-size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
 
5194
-#else
 
5195
-size_t iconv();
 
5196
-#endif
 
5197
-], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const")
 
5198
-      am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"])
 
5199
-    am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
 
5200
-    AC_MSG_RESULT([$]{ac_t:-
 
5201
-         }[$]am_cv_proto_iconv)
 
5202
-    AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
 
5203
-      [Define as const if the declaration of iconv() needs const.])
 
5204
-  fi
 
5205
-])
 
5206
-
 
5207
-# lib-ld.m4 serial 1 (gettext-0.11)
 
5208
-dnl Copyright (C) 1996-2002 Free Software Foundation, Inc.
 
5209
-dnl This file is free software, distributed under the terms of the GNU
 
5210
-dnl General Public License.  As a special exception to the GNU General
 
5211
-dnl Public License, this file may be distributed as part of a program
 
5212
-dnl that contains a configuration script generated by Autoconf, under
 
5213
-dnl the same distribution terms as the rest of that program.
 
5214
-
 
5215
-dnl Subroutines of libtool.m4,
 
5216
-dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
 
5217
-dnl with libtool.m4.
 
5218
-
 
5219
-dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
 
5220
-AC_DEFUN([AC_LIB_PROG_LD_GNU],
 
5221
-[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
 
5222
-[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
5223
-if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
 
5224
-  acl_cv_prog_gnu_ld=yes
 
5225
-else
 
5226
-  acl_cv_prog_gnu_ld=no
 
5227
-fi])
 
5228
-with_gnu_ld=$acl_cv_prog_gnu_ld
 
5229
-])
 
5230
-
 
5231
-dnl From libtool-1.4. Sets the variable LD.
 
5232
-AC_DEFUN([AC_LIB_PROG_LD],
 
5233
-[AC_ARG_WITH(gnu-ld,
 
5234
-[  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]],
 
5235
-test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
 
5236
-AC_REQUIRE([AC_PROG_CC])dnl
 
5237
-AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
5238
-ac_prog=ld
 
5239
-if test "$GCC" = yes; then
 
5240
-  # Check if gcc -print-prog-name=ld gives a path.
 
5241
-  AC_MSG_CHECKING([for ld used by GCC])
 
5242
-  case $host in
 
5243
-  *-*-mingw*)
 
5244
-    # gcc leaves a trailing carriage return which upsets mingw
 
5245
-    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
5246
-  *)
 
5247
-    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
5248
-  esac
 
5249
-  case $ac_prog in
 
5250
-    # Accept absolute paths.
 
5251
-    [[\\/]* | [A-Za-z]:[\\/]*)]
 
5252
-      [re_direlt='/[^/][^/]*/\.\./']
 
5253
-      # Canonicalize the path of ld
 
5254
-      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
 
5255
-      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 
5256
-       ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
 
5257
-      done
 
5258
-      test -z "$LD" && LD="$ac_prog"
 
5259
-      ;;
 
5260
-  "")
 
5261
-    # If it fails, then pretend we aren't using GCC.
 
5262
-    ac_prog=ld
 
5263
-    ;;
 
5264
-  *)
 
5265
-    # If it is relative, then search for the first ld in PATH.
 
5266
-    with_gnu_ld=unknown
 
5267
-    ;;
 
5268
-  esac
 
5269
-elif test "$with_gnu_ld" = yes; then
 
5270
-  AC_MSG_CHECKING([for GNU ld])
 
5271
-else
 
5272
-  AC_MSG_CHECKING([for non-GNU ld])
 
5273
-fi
 
5274
-AC_CACHE_VAL(acl_cv_path_LD,
 
5275
-[if test -z "$LD"; then
 
5276
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
 
5277
-  for ac_dir in $PATH; do
 
5278
-    test -z "$ac_dir" && ac_dir=.
 
5279
-    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
5280
-      acl_cv_path_LD="$ac_dir/$ac_prog"
 
5281
-      # Check to see if the program is GNU ld.  I'd rather use --version,
 
5282
-      # but apparently some GNU ld's only accept -v.
 
5283
-      # Break only if it was the GNU/non-GNU ld that we prefer.
 
5284
-      if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
 
5285
-       test "$with_gnu_ld" != no && break
 
5286
-      else
 
5287
-       test "$with_gnu_ld" != yes && break
 
5288
-      fi
 
5289
-    fi
 
5290
-  done
 
5291
-  IFS="$ac_save_ifs"
 
5292
-else
 
5293
-  acl_cv_path_LD="$LD" # Let the user override the test with a path.
 
5294
-fi])
 
5295
-LD="$acl_cv_path_LD"
 
5296
-if test -n "$LD"; then
 
5297
-  AC_MSG_RESULT($LD)
 
5298
-else
 
5299
-  AC_MSG_RESULT(no)
 
5300
-fi
 
5301
-test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
 
5302
-AC_LIB_PROG_LD_GNU
 
5303
-])
 
5304
-
 
5305
-# lib-link.m4 serial 3 (gettext-0.11.3)
 
5306
-dnl Copyright (C) 2001-2002 Free Software Foundation, Inc.
 
5307
-dnl This file is free software, distributed under the terms of the GNU
 
5308
-dnl General Public License.  As a special exception to the GNU General
 
5309
-dnl Public License, this file may be distributed as part of a program
 
5310
-dnl that contains a configuration script generated by Autoconf, under
 
5311
-dnl the same distribution terms as the rest of that program.
 
5312
-
 
5313
-dnl From Bruno Haible.
 
5314
-
 
5315
-dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
 
5316
-dnl the libraries corresponding to explicit and implicit dependencies.
 
5317
-dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
 
5318
-dnl augments the CPPFLAGS variable.
 
5319
-AC_DEFUN([AC_LIB_LINKFLAGS],
 
5320
-[
 
5321
-  AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
 
5322
-  AC_REQUIRE([AC_LIB_RPATH])
 
5323
-  define([Name],[translit([$1],[./-], [___])])
 
5324
-  define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
 
5325
-                               [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
 
5326
-  AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
 
5327
-    AC_LIB_LINKFLAGS_BODY([$1], [$2])
 
5328
-    ac_cv_lib[]Name[]_libs="$LIB[]NAME"
 
5329
-    ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
 
5330
-    ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
 
5331
-  ])
 
5332
-  LIB[]NAME="$ac_cv_lib[]Name[]_libs"
 
5333
-  LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
 
5334
-  INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
 
5335
-  AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
 
5336
-  AC_SUBST([LIB]NAME)
 
5337
-  AC_SUBST([LTLIB]NAME)
 
5338
-  dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
 
5339
-  dnl results of this search when this library appears as a dependency.
 
5340
-  HAVE_LIB[]NAME=yes
 
5341
-  undefine([Name])
 
5342
-  undefine([NAME])
 
5343
-])
 
5344
-
 
5345
-dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode)
 
5346
-dnl searches for libname and the libraries corresponding to explicit and
 
5347
-dnl implicit dependencies, together with the specified include files and
 
5348
-dnl the ability to compile and link the specified testcode. If found, it
 
5349
-dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and
 
5350
-dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and
 
5351
-dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
 
5352
-dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
 
5353
-AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
 
5354
-[
 
5355
-  AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
 
5356
-  AC_REQUIRE([AC_LIB_RPATH])
 
5357
-  define([Name],[translit([$1],[./-], [___])])
 
5358
-  define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
 
5359
-                               [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
 
5360
-
 
5361
-  dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
 
5362
-  dnl accordingly.
 
5363
-  AC_LIB_LINKFLAGS_BODY([$1], [$2])
 
5364
-
 
5365
-  dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
 
5366
-  dnl because if the user has installed lib[]Name and not disabled its use
 
5367
-  dnl via --without-lib[]Name-prefix, he wants to use it.
 
5368
-  ac_save_CPPFLAGS="$CPPFLAGS"
 
5369
-  AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
 
5370
-
 
5371
-  AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
 
5372
-    ac_save_LIBS="$LIBS"
 
5373
-    LIBS="$LIBS $LIB[]NAME"
 
5374
-    AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no])
 
5375
-    LIBS="$ac_save_LIBS"
 
5376
-  ])
 
5377
-  if test "$ac_cv_lib[]Name" = yes; then
 
5378
-    HAVE_LIB[]NAME=yes
 
5379
-    AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
 
5380
-    AC_MSG_CHECKING([how to link with lib[]$1])
 
5381
-    AC_MSG_RESULT([$LIB[]NAME])
 
5382
-  else
 
5383
-    HAVE_LIB[]NAME=no
 
5384
-    dnl If $LIB[]NAME didn't lead to a usable library, we don't need
 
5385
-    dnl $INC[]NAME either.
 
5386
-    CPPFLAGS="$ac_save_CPPFLAGS"
 
5387
-    LIB[]NAME=
 
5388
-    LTLIB[]NAME=
 
5389
-  fi
 
5390
-  AC_SUBST([HAVE_LIB]NAME)
 
5391
-  AC_SUBST([LIB]NAME)
 
5392
-  AC_SUBST([LTLIB]NAME)
 
5393
-  undefine([Name])
 
5394
-  undefine([NAME])
 
5395
-])
 
5396
-
 
5397
-dnl Determine the platform dependent parameters needed to use rpath:
 
5398
-dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator,
 
5399
-dnl hardcode_direct, hardcode_minus_L,
 
5400
-dnl sys_lib_search_path_spec, sys_lib_dlsearch_path_spec.
 
5401
-AC_DEFUN([AC_LIB_RPATH],
 
5402
-[
 
5403
-  AC_REQUIRE([AC_PROG_CC])                dnl we use $CC, $GCC, $LDFLAGS
 
5404
-  AC_REQUIRE([AC_LIB_PROG_LD])            dnl we use $LD, $with_gnu_ld
 
5405
-  AC_REQUIRE([AC_CANONICAL_HOST])         dnl we use $host
 
5406
-  AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
 
5407
-  AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [
 
5408
-    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
 
5409
-    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
 
5410
-    . ./conftest.sh
 
5411
-    rm -f ./conftest.sh
 
5412
-    acl_cv_rpath=done
 
5413
-  ])
 
5414
-  wl="$acl_cv_wl"
 
5415
-  libext="$acl_cv_libext"
 
5416
-  shlibext="$acl_cv_shlibext"
 
5417
-  hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
 
5418
-  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
 
5419
-  hardcode_direct="$acl_cv_hardcode_direct"
 
5420
-  hardcode_minus_L="$acl_cv_hardcode_minus_L"
 
5421
-  sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec"
 
5422
-  sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec"
 
5423
-  dnl Determine whether the user wants rpath handling at all.
 
5424
-  AC_ARG_ENABLE(rpath,
 
5425
-    [  --disable-rpath         do not hardcode runtime library paths],
 
5426
-    :, enable_rpath=yes)
 
5427
-])
 
5428
-
 
5429
-dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
 
5430
-dnl the libraries corresponding to explicit and implicit dependencies.
 
5431
-dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
 
5432
-AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
 
5433
-[
 
5434
-  define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
 
5435
-                               [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
 
5436
-  dnl By default, look in $includedir and $libdir.
 
5437
-  use_additional=yes
 
5438
-  AC_LIB_WITH_FINAL_PREFIX([
 
5439
-    eval additional_includedir=\"$includedir\"
 
5440
-    eval additional_libdir=\"$libdir\"
 
5441
-  ])
 
5442
-  AC_ARG_WITH([lib$1-prefix],
 
5443
-[  --with-lib$1-prefix[=DIR]  search for lib$1 in DIR/include and DIR/lib
 
5444
-  --without-lib$1-prefix     don't search for lib$1 in includedir and libdir],
 
5445
-[
 
5446
-    if test "X$withval" = "Xno"; then
 
5447
-      use_additional=no
 
5448
-    else
 
5449
-      if test "X$withval" = "X"; then
 
5450
-        AC_LIB_WITH_FINAL_PREFIX([
 
5451
-          eval additional_includedir=\"$includedir\"
 
5452
-          eval additional_libdir=\"$libdir\"
 
5453
-        ])
 
5454
-      else
 
5455
-        additional_includedir="$withval/include"
 
5456
-        additional_libdir="$withval/lib"
 
5457
-      fi
 
5458
-    fi
 
5459
+dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
 
5460
+dnl the libraries corresponding to explicit and implicit dependencies.
 
5461
+dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
 
5462
+AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
 
5463
+[
 
5464
+  define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
 
5465
+                               [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
 
5466
+  dnl By default, look in $includedir and $libdir.
 
5467
+  use_additional=yes
 
5468
+  AC_LIB_WITH_FINAL_PREFIX([
 
5469
+    eval additional_includedir=\"$includedir\"
 
5470
+    eval additional_libdir=\"$libdir\"
 
5471
+  ])
 
5472
+  AC_LIB_ARG_WITH([lib$1-prefix],
 
5473
+[  --with-lib$1-prefix[=DIR]  search for lib$1 in DIR/include and DIR/lib
 
5474
+  --without-lib$1-prefix     don't search for lib$1 in includedir and libdir],
 
5475
+[
 
5476
+    if test "X$withval" = "Xno"; then
 
5477
+      use_additional=no
 
5478
+    else
 
5479
+      if test "X$withval" = "X"; then
 
5480
+        AC_LIB_WITH_FINAL_PREFIX([
 
5481
+          eval additional_includedir=\"$includedir\"
 
5482
+          eval additional_libdir=\"$libdir\"
 
5483
+        ])
 
5484
+      else
 
5485
+        additional_includedir="$withval/include"
 
5486
+        additional_libdir="$withval/lib"
 
5487
+      fi
 
5488
+    fi
 
5489
 ])
 
5490
   dnl Search the library and its dependencies in $additional_libdir and
 
5491
   dnl $LDFLAGS. Using breadth-first-seach.
 
5492
@@ -5327,7 +600,7 @@
 
5493
                 if test "X$additional_includedir" = "X/usr/local/include"; then
 
5494
                   if test -n "$GCC"; then
 
5495
                     case $host_os in
 
5496
-                      linux*) haveit=yes;;
 
5497
+                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
5498
                     esac
 
5499
                   fi
 
5500
                 fi
 
5501
@@ -5376,7 +649,7 @@
 
5502
                       if test "X$additional_libdir" = "X/usr/local/lib"; then
 
5503
                         if test -n "$GCC"; then
 
5504
                           case $host_os in
 
5505
-                            linux*) haveit=yes;;
 
5506
+                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
5507
                           esac
 
5508
                         fi
 
5509
                       fi
 
5510
@@ -5471,208 +744,7372 @@
 
5511
       fi
 
5512
     done
 
5513
   done
 
5514
-  if test "X$rpathdirs" != "X"; then
 
5515
-    if test -n "$hardcode_libdir_separator"; then
 
5516
-      dnl Weird platform: only the last -rpath option counts, the user must
 
5517
-      dnl pass all path elements in one option. We can arrange that for a
 
5518
-      dnl single library, but not when more than one $LIBNAMEs are used.
 
5519
-      alldirs=
 
5520
-      for found_dir in $rpathdirs; do
 
5521
-        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
 
5522
-      done
 
5523
-      dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
 
5524
-      acl_save_libdir="$libdir"
 
5525
-      libdir="$alldirs"
 
5526
-      eval flag=\"$hardcode_libdir_flag_spec\"
 
5527
-      libdir="$acl_save_libdir"
 
5528
-      LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
 
5529
-    else
 
5530
-      dnl The -rpath options are cumulative.
 
5531
-      for found_dir in $rpathdirs; do
 
5532
-        acl_save_libdir="$libdir"
 
5533
-        libdir="$found_dir"
 
5534
-        eval flag=\"$hardcode_libdir_flag_spec\"
 
5535
-        libdir="$acl_save_libdir"
 
5536
-        LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
 
5537
-      done
 
5538
-    fi
 
5539
-  fi
 
5540
-  if test "X$ltrpathdirs" != "X"; then
 
5541
-    dnl When using libtool, the option that works for both libraries and
 
5542
-    dnl executables is -R. The -R options are cumulative.
 
5543
-    for found_dir in $ltrpathdirs; do
 
5544
-      LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
 
5545
-    done
 
5546
+  if test "X$rpathdirs" != "X"; then
 
5547
+    if test -n "$hardcode_libdir_separator"; then
 
5548
+      dnl Weird platform: only the last -rpath option counts, the user must
 
5549
+      dnl pass all path elements in one option. We can arrange that for a
 
5550
+      dnl single library, but not when more than one $LIBNAMEs are used.
 
5551
+      alldirs=
 
5552
+      for found_dir in $rpathdirs; do
 
5553
+        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
 
5554
+      done
 
5555
+      dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
 
5556
+      acl_save_libdir="$libdir"
 
5557
+      libdir="$alldirs"
 
5558
+      eval flag=\"$hardcode_libdir_flag_spec\"
 
5559
+      libdir="$acl_save_libdir"
 
5560
+      LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
 
5561
+    else
 
5562
+      dnl The -rpath options are cumulative.
 
5563
+      for found_dir in $rpathdirs; do
 
5564
+        acl_save_libdir="$libdir"
 
5565
+        libdir="$found_dir"
 
5566
+        eval flag=\"$hardcode_libdir_flag_spec\"
 
5567
+        libdir="$acl_save_libdir"
 
5568
+        LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
 
5569
+      done
 
5570
+    fi
 
5571
+  fi
 
5572
+  if test "X$ltrpathdirs" != "X"; then
 
5573
+    dnl When using libtool, the option that works for both libraries and
 
5574
+    dnl executables is -R. The -R options are cumulative.
 
5575
+    for found_dir in $ltrpathdirs; do
 
5576
+      LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
 
5577
+    done
 
5578
+  fi
 
5579
+])
 
5580
+
 
5581
+dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
 
5582
+dnl unless already present in VAR.
 
5583
+dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
 
5584
+dnl contains two or three consecutive elements that belong together.
 
5585
+AC_DEFUN([AC_LIB_APPENDTOVAR],
 
5586
+[
 
5587
+  for element in [$2]; do
 
5588
+    haveit=
 
5589
+    for x in $[$1]; do
 
5590
+      AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
 
5591
+      if test "X$x" = "X$element"; then
 
5592
+        haveit=yes
 
5593
+        break
 
5594
+      fi
 
5595
+    done
 
5596
+    if test -z "$haveit"; then
 
5597
+      [$1]="${[$1]}${[$1]:+ }$element"
 
5598
+    fi
 
5599
+  done
 
5600
+])
 
5601
+
 
5602
+# lib-prefix.m4 serial 4 (gettext-0.14.2)
 
5603
+dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
 
5604
+dnl This file is free software; the Free Software Foundation
 
5605
+dnl gives unlimited permission to copy and/or distribute it,
 
5606
+dnl with or without modifications, as long as this notice is preserved.
 
5607
+
 
5608
+dnl From Bruno Haible.
 
5609
+
 
5610
+dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
 
5611
+dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
 
5612
+dnl require excessive bracketing.
 
5613
+ifdef([AC_HELP_STRING],
 
5614
+[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
 
5615
+[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
 
5616
+
 
5617
+dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
 
5618
+dnl to access previously installed libraries. The basic assumption is that
 
5619
+dnl a user will want packages to use other packages he previously installed
 
5620
+dnl with the same --prefix option.
 
5621
+dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
 
5622
+dnl libraries, but is otherwise very convenient.
 
5623
+AC_DEFUN([AC_LIB_PREFIX],
 
5624
+[
 
5625
+  AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
 
5626
+  AC_REQUIRE([AC_PROG_CC])
 
5627
+  AC_REQUIRE([AC_CANONICAL_HOST])
 
5628
+  AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
 
5629
+  dnl By default, look in $includedir and $libdir.
 
5630
+  use_additional=yes
 
5631
+  AC_LIB_WITH_FINAL_PREFIX([
 
5632
+    eval additional_includedir=\"$includedir\"
 
5633
+    eval additional_libdir=\"$libdir\"
 
5634
+  ])
 
5635
+  AC_LIB_ARG_WITH([lib-prefix],
 
5636
+[  --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
 
5637
+  --without-lib-prefix    don't search for libraries in includedir and libdir],
 
5638
+[
 
5639
+    if test "X$withval" = "Xno"; then
 
5640
+      use_additional=no
 
5641
+    else
 
5642
+      if test "X$withval" = "X"; then
 
5643
+        AC_LIB_WITH_FINAL_PREFIX([
 
5644
+          eval additional_includedir=\"$includedir\"
 
5645
+          eval additional_libdir=\"$libdir\"
 
5646
+        ])
 
5647
+      else
 
5648
+        additional_includedir="$withval/include"
 
5649
+        additional_libdir="$withval/lib"
 
5650
+      fi
 
5651
+    fi
 
5652
+])
 
5653
+  if test $use_additional = yes; then
 
5654
+    dnl Potentially add $additional_includedir to $CPPFLAGS.
 
5655
+    dnl But don't add it
 
5656
+    dnl   1. if it's the standard /usr/include,
 
5657
+    dnl   2. if it's already present in $CPPFLAGS,
 
5658
+    dnl   3. if it's /usr/local/include and we are using GCC on Linux,
 
5659
+    dnl   4. if it doesn't exist as a directory.
 
5660
+    if test "X$additional_includedir" != "X/usr/include"; then
 
5661
+      haveit=
 
5662
+      for x in $CPPFLAGS; do
 
5663
+        AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
 
5664
+        if test "X$x" = "X-I$additional_includedir"; then
 
5665
+          haveit=yes
 
5666
+          break
 
5667
+        fi
 
5668
+      done
 
5669
+      if test -z "$haveit"; then
 
5670
+        if test "X$additional_includedir" = "X/usr/local/include"; then
 
5671
+          if test -n "$GCC"; then
 
5672
+            case $host_os in
 
5673
+              linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
5674
+            esac
 
5675
+          fi
 
5676
+        fi
 
5677
+        if test -z "$haveit"; then
 
5678
+          if test -d "$additional_includedir"; then
 
5679
+            dnl Really add $additional_includedir to $CPPFLAGS.
 
5680
+            CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
 
5681
+          fi
 
5682
+        fi
 
5683
+      fi
 
5684
+    fi
 
5685
+    dnl Potentially add $additional_libdir to $LDFLAGS.
 
5686
+    dnl But don't add it
 
5687
+    dnl   1. if it's the standard /usr/lib,
 
5688
+    dnl   2. if it's already present in $LDFLAGS,
 
5689
+    dnl   3. if it's /usr/local/lib and we are using GCC on Linux,
 
5690
+    dnl   4. if it doesn't exist as a directory.
 
5691
+    if test "X$additional_libdir" != "X/usr/lib"; then
 
5692
+      haveit=
 
5693
+      for x in $LDFLAGS; do
 
5694
+        AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
 
5695
+        if test "X$x" = "X-L$additional_libdir"; then
 
5696
+          haveit=yes
 
5697
+          break
 
5698
+        fi
 
5699
+      done
 
5700
+      if test -z "$haveit"; then
 
5701
+        if test "X$additional_libdir" = "X/usr/local/lib"; then
 
5702
+          if test -n "$GCC"; then
 
5703
+            case $host_os in
 
5704
+              linux*) haveit=yes;;
 
5705
+            esac
 
5706
+          fi
 
5707
+        fi
 
5708
+        if test -z "$haveit"; then
 
5709
+          if test -d "$additional_libdir"; then
 
5710
+            dnl Really add $additional_libdir to $LDFLAGS.
 
5711
+            LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
 
5712
+          fi
 
5713
+        fi
 
5714
+      fi
 
5715
+    fi
 
5716
+  fi
 
5717
+])
 
5718
+
 
5719
+dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
 
5720
+dnl acl_final_exec_prefix, containing the values to which $prefix and
 
5721
+dnl $exec_prefix will expand at the end of the configure script.
 
5722
+AC_DEFUN([AC_LIB_PREPARE_PREFIX],
 
5723
+[
 
5724
+  dnl Unfortunately, prefix and exec_prefix get only finally determined
 
5725
+  dnl at the end of configure.
 
5726
+  if test "X$prefix" = "XNONE"; then
 
5727
+    acl_final_prefix="$ac_default_prefix"
 
5728
+  else
 
5729
+    acl_final_prefix="$prefix"
 
5730
+  fi
 
5731
+  if test "X$exec_prefix" = "XNONE"; then
 
5732
+    acl_final_exec_prefix='${prefix}'
 
5733
+  else
 
5734
+    acl_final_exec_prefix="$exec_prefix"
 
5735
+  fi
 
5736
+  acl_save_prefix="$prefix"
 
5737
+  prefix="$acl_final_prefix"
 
5738
+  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
 
5739
+  prefix="$acl_save_prefix"
 
5740
+])
 
5741
+
 
5742
+dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
 
5743
+dnl variables prefix and exec_prefix bound to the values they will have
 
5744
+dnl at the end of the configure script.
 
5745
+AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
 
5746
+[
 
5747
+  acl_save_prefix="$prefix"
 
5748
+  prefix="$acl_final_prefix"
 
5749
+  acl_save_exec_prefix="$exec_prefix"
 
5750
+  exec_prefix="$acl_final_exec_prefix"
 
5751
+  $1
 
5752
+  exec_prefix="$acl_save_exec_prefix"
 
5753
+  prefix="$acl_save_prefix"
 
5754
+])
 
5755
+
 
5756
+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
 
5757
+
 
5758
+# serial 47 AC_PROG_LIBTOOL
 
5759
+# Debian $Rev: 214 $
 
5760
+
 
5761
+
 
5762
+# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
 
5763
+# -----------------------------------------------------------
 
5764
+# If this macro is not defined by Autoconf, define it here.
 
5765
+m4_ifdef([AC_PROVIDE_IFELSE],
 
5766
+         [],
 
5767
+         [m4_define([AC_PROVIDE_IFELSE],
 
5768
+                [m4_ifdef([AC_PROVIDE_$1],
 
5769
+                          [$2], [$3])])])
 
5770
+
 
5771
+
 
5772
+# AC_PROG_LIBTOOL
 
5773
+# ---------------
 
5774
+AC_DEFUN([AC_PROG_LIBTOOL],
 
5775
+[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
 
5776
+dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
 
5777
+dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
 
5778
+  AC_PROVIDE_IFELSE([AC_PROG_CXX],
 
5779
+    [AC_LIBTOOL_CXX],
 
5780
+    [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
 
5781
+  ])])
 
5782
+dnl And a similar setup for Fortran 77 support
 
5783
+  AC_PROVIDE_IFELSE([AC_PROG_F77],
 
5784
+    [AC_LIBTOOL_F77],
 
5785
+    [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
 
5786
+])])
 
5787
+
 
5788
+dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
 
5789
+dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
 
5790
+dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
 
5791
+  AC_PROVIDE_IFELSE([AC_PROG_GCJ],
 
5792
+    [AC_LIBTOOL_GCJ],
 
5793
+    [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
 
5794
+      [AC_LIBTOOL_GCJ],
 
5795
+      [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
 
5796
+       [AC_LIBTOOL_GCJ],
 
5797
+      [ifdef([AC_PROG_GCJ],
 
5798
+            [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
 
5799
+       ifdef([A][M_PROG_GCJ],
 
5800
+            [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
 
5801
+       ifdef([LT_AC_PROG_GCJ],
 
5802
+            [define([LT_AC_PROG_GCJ],
 
5803
+               defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
 
5804
+])])# AC_PROG_LIBTOOL
 
5805
+
 
5806
+
 
5807
+# _AC_PROG_LIBTOOL
 
5808
+# ----------------
 
5809
+AC_DEFUN([_AC_PROG_LIBTOOL],
 
5810
+[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
 
5811
+AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
 
5812
+AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
 
5813
+AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
 
5814
+
 
5815
+# This can be used to rebuild libtool when needed
 
5816
+LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
 
5817
+
 
5818
+# Always use our own libtool.
 
5819
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
5820
+AC_SUBST(LIBTOOL)dnl
 
5821
+
 
5822
+# Prevent multiple expansion
 
5823
+define([AC_PROG_LIBTOOL], [])
 
5824
+])# _AC_PROG_LIBTOOL
 
5825
+
 
5826
+
 
5827
+# AC_LIBTOOL_SETUP
 
5828
+# ----------------
 
5829
+AC_DEFUN([AC_LIBTOOL_SETUP],
 
5830
+[AC_PREREQ(2.50)dnl
 
5831
+AC_REQUIRE([AC_ENABLE_SHARED])dnl
 
5832
+AC_REQUIRE([AC_ENABLE_STATIC])dnl
 
5833
+AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
 
5834
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
5835
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 
5836
+AC_REQUIRE([AC_PROG_CC])dnl
 
5837
+AC_REQUIRE([AC_PROG_LD])dnl
 
5838
+AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
 
5839
+AC_REQUIRE([AC_PROG_NM])dnl
 
5840
+
 
5841
+AC_REQUIRE([AC_PROG_LN_S])dnl
 
5842
+AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
 
5843
+# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
 
5844
+AC_REQUIRE([AC_OBJEXT])dnl
 
5845
+AC_REQUIRE([AC_EXEEXT])dnl
 
5846
+dnl
 
5847
+
 
5848
+AC_LIBTOOL_SYS_MAX_CMD_LEN
 
5849
+AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
 
5850
+AC_LIBTOOL_OBJDIR
 
5851
+
 
5852
+AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
 
5853
+_LT_AC_PROG_ECHO_BACKSLASH
 
5854
+
 
5855
+case $host_os in
 
5856
+aix3*)
 
5857
+  # AIX sometimes has problems with the GCC collect2 program.  For some
 
5858
+  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
5859
+  # vanish in a puff of smoke.
 
5860
+  if test "X${COLLECT_NAMES+set}" != Xset; then
 
5861
+    COLLECT_NAMES=
 
5862
+    export COLLECT_NAMES
 
5863
+  fi
 
5864
+  ;;
 
5865
+esac
 
5866
+
 
5867
+# Sed substitution that helps us do robust quoting.  It backslashifies
 
5868
+# metacharacters that are still active within double-quoted strings.
 
5869
+Xsed='sed -e s/^X//'
 
5870
+[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
 
5871
+
 
5872
+# Same as above, but do not quote variable references.
 
5873
+[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
 
5874
+
 
5875
+# Sed substitution to delay expansion of an escaped shell variable in a
 
5876
+# double_quote_subst'ed string.
 
5877
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
5878
+
 
5879
+# Sed substitution to avoid accidental globbing in evaled expressions
 
5880
+no_glob_subst='s/\*/\\\*/g'
 
5881
+
 
5882
+# Constants:
 
5883
+rm="rm -f"
 
5884
+
 
5885
+# Global variables:
 
5886
+default_ofile=libtool
 
5887
+can_build_shared=yes
 
5888
+
 
5889
+# All known linkers require a `.a' archive for static linking (except M$VC,
 
5890
+# which needs '.lib').
 
5891
+libext=a
 
5892
+ltmain="$ac_aux_dir/ltmain.sh"
 
5893
+ofile="$default_ofile"
 
5894
+with_gnu_ld="$lt_cv_prog_gnu_ld"
 
5895
+
 
5896
+AC_CHECK_TOOL(AR, ar, false)
 
5897
+AC_CHECK_TOOL(RANLIB, ranlib, :)
 
5898
+AC_CHECK_TOOL(STRIP, strip, :)
 
5899
+
 
5900
+old_CC="$CC"
 
5901
+old_CFLAGS="$CFLAGS"
 
5902
+
 
5903
+# Set sane defaults for various variables
 
5904
+test -z "$AR" && AR=ar
 
5905
+test -z "$AR_FLAGS" && AR_FLAGS=cru
 
5906
+test -z "$AS" && AS=as
 
5907
+test -z "$CC" && CC=cc
 
5908
+test -z "$LTCC" && LTCC=$CC
 
5909
+test -z "$DLLTOOL" && DLLTOOL=dlltool
 
5910
+test -z "$LD" && LD=ld
 
5911
+test -z "$LN_S" && LN_S="ln -s"
 
5912
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
5913
+test -z "$NM" && NM=nm
 
5914
+test -z "$SED" && SED=sed
 
5915
+test -z "$OBJDUMP" && OBJDUMP=objdump
 
5916
+test -z "$RANLIB" && RANLIB=:
 
5917
+test -z "$STRIP" && STRIP=:
 
5918
+test -z "$ac_objext" && ac_objext=o
 
5919
+
 
5920
+# Determine commands to create old-style static archives.
 
5921
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
5922
+old_postinstall_cmds='chmod 644 $oldlib'
 
5923
+old_postuninstall_cmds=
 
5924
+
 
5925
+if test -n "$RANLIB"; then
 
5926
+  case $host_os in
 
5927
+  openbsd*)
 
5928
+    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
 
5929
+    ;;
 
5930
+  *)
 
5931
+    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
 
5932
+    ;;
 
5933
+  esac
 
5934
+  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
5935
+fi
 
5936
+
 
5937
+# Only perform the check for file, if the check method requires it
 
5938
+case $deplibs_check_method in
 
5939
+file_magic*)
 
5940
+  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
5941
+    AC_PATH_MAGIC
 
5942
+  fi
 
5943
+  ;;
 
5944
+esac
 
5945
+
 
5946
+AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
 
5947
+AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
 
5948
+enable_win32_dll=yes, enable_win32_dll=no)
 
5949
+
 
5950
+AC_ARG_ENABLE([libtool-lock],
 
5951
+    [AC_HELP_STRING([--disable-libtool-lock],
 
5952
+       [avoid locking (might break parallel builds)])])
 
5953
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
5954
+
 
5955
+AC_ARG_WITH([pic],
 
5956
+    [AC_HELP_STRING([--with-pic],
 
5957
+       [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
 
5958
+    [pic_mode="$withval"],
 
5959
+    [pic_mode=default])
 
5960
+test -z "$pic_mode" && pic_mode=default
 
5961
+
 
5962
+# Use C for the default configuration in the libtool script
 
5963
+tagname=
 
5964
+AC_LIBTOOL_LANG_C_CONFIG
 
5965
+_LT_AC_TAGCONFIG
 
5966
+])# AC_LIBTOOL_SETUP
 
5967
+
 
5968
+
 
5969
+# _LT_AC_SYS_COMPILER
 
5970
+# -------------------
 
5971
+AC_DEFUN([_LT_AC_SYS_COMPILER],
 
5972
+[AC_REQUIRE([AC_PROG_CC])dnl
 
5973
+
 
5974
+# If no C compiler was specified, use CC.
 
5975
+LTCC=${LTCC-"$CC"}
 
5976
+
 
5977
+# Allow CC to be a program name with arguments.
 
5978
+compiler=$CC
 
5979
+])# _LT_AC_SYS_COMPILER
 
5980
+
 
5981
+
 
5982
+# _LT_AC_SYS_LIBPATH_AIX
 
5983
+# ----------------------
 
5984
+# Links a minimal program and checks the executable
 
5985
+# for the system default hardcoded library path. In most cases,
 
5986
+# this is /usr/lib:/lib, but when the MPI compilers are used
 
5987
+# the location of the communication and MPI libs are included too.
 
5988
+# If we don't find anything, use the default library path according
 
5989
+# to the aix ld manual.
 
5990
+AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
 
5991
+[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
 
5992
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
5993
+}'`
 
5994
+# Check for a 64-bit object if we didn't find anything.
 
5995
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
5996
+}'`; fi],[])
 
5997
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
5998
+])# _LT_AC_SYS_LIBPATH_AIX
 
5999
+
 
6000
+
 
6001
+# _LT_AC_SHELL_INIT(ARG)
 
6002
+# ----------------------
 
6003
+AC_DEFUN([_LT_AC_SHELL_INIT],
 
6004
+[ifdef([AC_DIVERSION_NOTICE],
 
6005
+            [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
 
6006
+        [AC_DIVERT_PUSH(NOTICE)])
 
6007
+$1
 
6008
+AC_DIVERT_POP
 
6009
+])# _LT_AC_SHELL_INIT
 
6010
+
 
6011
+
 
6012
+# _LT_AC_PROG_ECHO_BACKSLASH
 
6013
+# --------------------------
 
6014
+# Add some code to the start of the generated configure script which
 
6015
+# will find an echo command which doesn't interpret backslashes.
 
6016
+AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
 
6017
+[_LT_AC_SHELL_INIT([
 
6018
+# Check that we are running under the correct shell.
 
6019
+SHELL=${CONFIG_SHELL-/bin/sh}
 
6020
+
 
6021
+case X$ECHO in
 
6022
+X*--fallback-echo)
 
6023
+  # Remove one level of quotation (which was required for Make).
 
6024
+  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
 
6025
+  ;;
 
6026
+esac
 
6027
+
 
6028
+echo=${ECHO-echo}
 
6029
+if test "X[$]1" = X--no-reexec; then
 
6030
+  # Discard the --no-reexec flag, and continue.
 
6031
+  shift
 
6032
+elif test "X[$]1" = X--fallback-echo; then
 
6033
+  # Avoid inline document here, it may be left over
 
6034
+  :
 
6035
+elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
 
6036
+  # Yippee, $echo works!
 
6037
+  :
 
6038
+else
 
6039
+  # Restart under the correct shell.
 
6040
+  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
 
6041
+fi
 
6042
+
 
6043
+if test "X[$]1" = X--fallback-echo; then
 
6044
+  # used as fallback echo
 
6045
+  shift
 
6046
+  cat <<EOF
 
6047
+[$]*
 
6048
+EOF
 
6049
+  exit 0
 
6050
+fi
 
6051
+
 
6052
+# The HP-UX ksh and POSIX shell print the target directory to stdout
 
6053
+# if CDPATH is set.
 
6054
+if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
 
6055
+
 
6056
+if test -z "$ECHO"; then
 
6057
+if test "X${echo_test_string+set}" != Xset; then
 
6058
+# find a string as large as possible, as long as the shell can cope with it
 
6059
+  for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
 
6060
+    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
6061
+    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
 
6062
+       echo_test_string="`eval $cmd`" &&
 
6063
+       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
 
6064
+    then
 
6065
+      break
 
6066
+    fi
 
6067
+  done
 
6068
+fi
 
6069
+
 
6070
+if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
 
6071
+   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
 
6072
+   test "X$echo_testing_string" = "X$echo_test_string"; then
 
6073
+  :
 
6074
+else
 
6075
+  # The Solaris, AIX, and Digital Unix default echo programs unquote
 
6076
+  # backslashes.  This makes it impossible to quote backslashes using
 
6077
+  #   echo "$something" | sed 's/\\/\\\\/g'
 
6078
+  #
 
6079
+  # So, first we look for a working echo in the user's PATH.
 
6080
+
 
6081
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
6082
+  for dir in $PATH /usr/ucb; do
 
6083
+    IFS="$lt_save_ifs"
 
6084
+    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
6085
+       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
6086
+       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
6087
+       test "X$echo_testing_string" = "X$echo_test_string"; then
 
6088
+      echo="$dir/echo"
 
6089
+      break
 
6090
+    fi
 
6091
+  done
 
6092
+  IFS="$lt_save_ifs"
 
6093
+
 
6094
+  if test "X$echo" = Xecho; then
 
6095
+    # We didn't find a better echo, so look for alternatives.
 
6096
+    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
 
6097
+       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
 
6098
+       test "X$echo_testing_string" = "X$echo_test_string"; then
 
6099
+      # This shell has a builtin print -r that does the trick.
 
6100
+      echo='print -r'
 
6101
+    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
 
6102
+        test "X$CONFIG_SHELL" != X/bin/ksh; then
 
6103
+      # If we have ksh, try running configure again with it.
 
6104
+      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
6105
+      export ORIGINAL_CONFIG_SHELL
 
6106
+      CONFIG_SHELL=/bin/ksh
 
6107
+      export CONFIG_SHELL
 
6108
+      exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
 
6109
+    else
 
6110
+      # Try using printf.
 
6111
+      echo='printf %s\n'
 
6112
+      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
 
6113
+        echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
 
6114
+        test "X$echo_testing_string" = "X$echo_test_string"; then
 
6115
+       # Cool, printf works
 
6116
+       :
 
6117
+      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
 
6118
+          test "X$echo_testing_string" = 'X\t' &&
 
6119
+          echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
6120
+          test "X$echo_testing_string" = "X$echo_test_string"; then
 
6121
+       CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
6122
+       export CONFIG_SHELL
 
6123
+       SHELL="$CONFIG_SHELL"
 
6124
+       export SHELL
 
6125
+       echo="$CONFIG_SHELL [$]0 --fallback-echo"
 
6126
+      elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
 
6127
+          test "X$echo_testing_string" = 'X\t' &&
 
6128
+          echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
6129
+          test "X$echo_testing_string" = "X$echo_test_string"; then
 
6130
+       echo="$CONFIG_SHELL [$]0 --fallback-echo"
 
6131
+      else
 
6132
+       # maybe with a smaller string...
 
6133
+       prev=:
 
6134
+
 
6135
+       for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
 
6136
+         if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
 
6137
+         then
 
6138
+           break
 
6139
+         fi
 
6140
+         prev="$cmd"
 
6141
+       done
 
6142
+
 
6143
+       if test "$prev" != 'sed 50q "[$]0"'; then
 
6144
+         echo_test_string=`eval $prev`
 
6145
+         export echo_test_string
 
6146
+         exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
 
6147
+       else
 
6148
+         # Oops.  We lost completely, so just stick with echo.
 
6149
+         echo=echo
 
6150
+       fi
 
6151
+      fi
 
6152
+    fi
 
6153
+  fi
 
6154
+fi
 
6155
+fi
 
6156
+
 
6157
+# Copy echo and quote the copy suitably for passing to libtool from
 
6158
+# the Makefile, instead of quoting the original, which is used later.
 
6159
+ECHO=$echo
 
6160
+if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
 
6161
+   ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
 
6162
+fi
 
6163
+
 
6164
+AC_SUBST(ECHO)
 
6165
+])])# _LT_AC_PROG_ECHO_BACKSLASH
 
6166
+
 
6167
+
 
6168
+# _LT_AC_LOCK
 
6169
+# -----------
 
6170
+AC_DEFUN([_LT_AC_LOCK],
 
6171
+[AC_ARG_ENABLE([libtool-lock],
 
6172
+    [AC_HELP_STRING([--disable-libtool-lock],
 
6173
+       [avoid locking (might break parallel builds)])])
 
6174
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
6175
+
 
6176
+# Some flags need to be propagated to the compiler or linker for good
 
6177
+# libtool support.
 
6178
+case $host in
 
6179
+ia64-*-hpux*)
 
6180
+  # Find out which ABI we are using.
 
6181
+  echo 'int i;' > conftest.$ac_ext
 
6182
+  if AC_TRY_EVAL(ac_compile); then
 
6183
+    case `/usr/bin/file conftest.$ac_objext` in
 
6184
+    *ELF-32*)
 
6185
+      HPUX_IA64_MODE="32"
 
6186
+      ;;
 
6187
+    *ELF-64*)
 
6188
+      HPUX_IA64_MODE="64"
 
6189
+      ;;
 
6190
+    esac
 
6191
+  fi
 
6192
+  rm -rf conftest*
 
6193
+  ;;
 
6194
+*-*-irix6*)
 
6195
+  # Find out which ABI we are using.
 
6196
+  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
 
6197
+  if AC_TRY_EVAL(ac_compile); then
 
6198
+   if test "$lt_cv_prog_gnu_ld" = yes; then
 
6199
+    case `/usr/bin/file conftest.$ac_objext` in
 
6200
+    *32-bit*)
 
6201
+      LD="${LD-ld} -melf32bsmip"
 
6202
+      ;;
 
6203
+    *N32*)
 
6204
+      LD="${LD-ld} -melf32bmipn32"
 
6205
+      ;;
 
6206
+    *64-bit*)
 
6207
+      LD="${LD-ld} -melf64bmip"
 
6208
+      ;;
 
6209
+    esac
 
6210
+   else
 
6211
+    case `/usr/bin/file conftest.$ac_objext` in
 
6212
+    *32-bit*)
 
6213
+      LD="${LD-ld} -32"
 
6214
+      ;;
 
6215
+    *N32*)
 
6216
+      LD="${LD-ld} -n32"
 
6217
+      ;;
 
6218
+    *64-bit*)
 
6219
+      LD="${LD-ld} -64"
 
6220
+      ;;
 
6221
+    esac
 
6222
+   fi
 
6223
+  fi
 
6224
+  rm -rf conftest*
 
6225
+  ;;
 
6226
+
 
6227
+x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 
6228
+  # Find out which ABI we are using.
 
6229
+  echo 'int i;' > conftest.$ac_ext
 
6230
+  if AC_TRY_EVAL(ac_compile); then
 
6231
+    case "`/usr/bin/file conftest.o`" in
 
6232
+    *32-bit*)
 
6233
+      case $host in
 
6234
+        x86_64-*linux*)
 
6235
+          LD="${LD-ld} -m elf_i386"
 
6236
+          ;;
 
6237
+        ppc64-*linux*|powerpc64-*linux*)
 
6238
+          LD="${LD-ld} -m elf32ppclinux"
 
6239
+          ;;
 
6240
+        s390x-*linux*)
 
6241
+          LD="${LD-ld} -m elf_s390"
 
6242
+          ;;
 
6243
+        sparc64-*linux*)
 
6244
+          LD="${LD-ld} -m elf32_sparc"
 
6245
+          ;;
 
6246
+      esac
 
6247
+      ;;
 
6248
+    *64-bit*)
 
6249
+      case $host in
 
6250
+        x86_64-*linux*)
 
6251
+          LD="${LD-ld} -m elf_x86_64"
 
6252
+          ;;
 
6253
+        ppc*-*linux*|powerpc*-*linux*)
 
6254
+          LD="${LD-ld} -m elf64ppc"
 
6255
+          ;;
 
6256
+        s390*-*linux*)
 
6257
+          LD="${LD-ld} -m elf64_s390"
 
6258
+          ;;
 
6259
+        sparc*-*linux*)
 
6260
+          LD="${LD-ld} -m elf64_sparc"
 
6261
+          ;;
 
6262
+      esac
 
6263
+      ;;
 
6264
+    esac
 
6265
+  fi
 
6266
+  rm -rf conftest*
 
6267
+  ;;
 
6268
+
 
6269
+*-*-sco3.2v5*)
 
6270
+  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
6271
+  SAVE_CFLAGS="$CFLAGS"
 
6272
+  CFLAGS="$CFLAGS -belf"
 
6273
+  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
 
6274
+    [AC_LANG_PUSH(C)
 
6275
+     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
 
6276
+     AC_LANG_POP])
 
6277
+  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
6278
+    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
6279
+    CFLAGS="$SAVE_CFLAGS"
 
6280
+  fi
 
6281
+  ;;
 
6282
+AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
 
6283
+[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
 
6284
+  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
 
6285
+  AC_CHECK_TOOL(AS, as, false)
 
6286
+  AC_CHECK_TOOL(OBJDUMP, objdump, false)
 
6287
+  ;;
 
6288
+  ])
 
6289
+esac
 
6290
+
 
6291
+need_locks="$enable_libtool_lock"
 
6292
+
 
6293
+])# _LT_AC_LOCK
 
6294
+
 
6295
+
 
6296
+# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
 
6297
+#              [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
 
6298
+# ----------------------------------------------------------------
 
6299
+# Check whether the given compiler option works
 
6300
+AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
 
6301
+[AC_REQUIRE([LT_AC_PROG_SED])
 
6302
+AC_CACHE_CHECK([$1], [$2],
 
6303
+  [$2=no
 
6304
+  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
 
6305
+   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
6306
+   lt_compiler_flag="$3"
 
6307
+   # Insert the option either (1) after the last *FLAGS variable, or
 
6308
+   # (2) before a word containing "conftest.", or (3) at the end.
 
6309
+   # Note that $ac_compile itself does not contain backslashes and begins
 
6310
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
6311
+   # The option is referenced via a variable to avoid confusing sed.
 
6312
+   lt_compile=`echo "$ac_compile" | $SED \
 
6313
+   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
6314
+   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
 
6315
+   -e 's:$: $lt_compiler_flag:'`
 
6316
+   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
 
6317
+   (eval "$lt_compile" 2>conftest.err)
 
6318
+   ac_status=$?
 
6319
+   cat conftest.err >&AS_MESSAGE_LOG_FD
 
6320
+   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 
6321
+   if (exit $ac_status) && test -s "$ac_outfile"; then
 
6322
+     # The compiler can only warn and ignore the option if not recognized
 
6323
+     # So say no if there are warnings
 
6324
+     if test ! -s conftest.err; then
 
6325
+       $2=yes
 
6326
+     fi
 
6327
+   fi
 
6328
+   $rm conftest*
 
6329
+])
 
6330
+
 
6331
+if test x"[$]$2" = xyes; then
 
6332
+    ifelse([$5], , :, [$5])
 
6333
+else
 
6334
+    ifelse([$6], , :, [$6])
 
6335
+fi
 
6336
+])# AC_LIBTOOL_COMPILER_OPTION
 
6337
+
 
6338
+
 
6339
+# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
 
6340
+#                          [ACTION-SUCCESS], [ACTION-FAILURE])
 
6341
+# ------------------------------------------------------------
 
6342
+# Check whether the given compiler option works
 
6343
+AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
 
6344
+[AC_CACHE_CHECK([$1], [$2],
 
6345
+  [$2=no
 
6346
+   save_LDFLAGS="$LDFLAGS"
 
6347
+   LDFLAGS="$LDFLAGS $3"
 
6348
+   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
6349
+   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
6350
+     # The compiler can only warn and ignore the option if not recognized
 
6351
+     # So say no if there are warnings
 
6352
+     if test -s conftest.err; then
 
6353
+       # Append any errors to the config.log.
 
6354
+       cat conftest.err 1>&AS_MESSAGE_LOG_FD
 
6355
+     else
 
6356
+       $2=yes
 
6357
+     fi
 
6358
+   fi
 
6359
+   $rm conftest*
 
6360
+   LDFLAGS="$save_LDFLAGS"
 
6361
+])
 
6362
+
 
6363
+if test x"[$]$2" = xyes; then
 
6364
+    ifelse([$4], , :, [$4])
 
6365
+else
 
6366
+    ifelse([$5], , :, [$5])
 
6367
+fi
 
6368
+])# AC_LIBTOOL_LINKER_OPTION
 
6369
+
 
6370
+
 
6371
+# AC_LIBTOOL_SYS_MAX_CMD_LEN
 
6372
+# --------------------------
 
6373
+AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
 
6374
+[# find the maximum length of command line arguments
 
6375
+AC_MSG_CHECKING([the maximum length of command line arguments])
 
6376
+AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
 
6377
+  i=0
 
6378
+  teststring="ABCD"
 
6379
+
 
6380
+  case $build_os in
 
6381
+  msdosdjgpp*)
 
6382
+    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
6383
+    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
6384
+    # during glob expansion).  Even if it were fixed, the result of this
 
6385
+    # check would be larger than it should be.
 
6386
+    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
6387
+    ;;
 
6388
+
 
6389
+  gnu*)
 
6390
+    # Under GNU Hurd, this test is not required because there is
 
6391
+    # no limit to the length of command line arguments.
 
6392
+    # Libtool will interpret -1 as no limit whatsoever
 
6393
+    lt_cv_sys_max_cmd_len=-1;
 
6394
+    ;;
 
6395
+
 
6396
+  cygwin* | mingw*)
 
6397
+    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
6398
+    # about 5 minutes as the teststring grows exponentially.
 
6399
+    # Worse, since 9x/ME are not pre-emptively multitasking,
 
6400
+    # you end up with a "frozen" computer, even though with patience
 
6401
+    # the test eventually succeeds (with a max line length of 256k).
 
6402
+    # Instead, let's just punt: use the minimum linelength reported by
 
6403
+    # all of the supported platforms: 8192 (on NT/2K/XP).
 
6404
+    lt_cv_sys_max_cmd_len=8192;
 
6405
+    ;;
 
6406
+
 
6407
+  amigaos*)
 
6408
+    # On AmigaOS with pdksh, this test takes hours, literally.
 
6409
+    # So we just punt and use a minimum line length of 8192.
 
6410
+    lt_cv_sys_max_cmd_len=8192;
 
6411
+    ;;
 
6412
+
 
6413
+ *)
 
6414
+    # If test is not a shell built-in, we'll probably end up computing a
 
6415
+    # maximum length that is only half of the actual maximum length, but
 
6416
+    # we can't tell.
 
6417
+    while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
 
6418
+              = "XX$teststring") >/dev/null 2>&1 &&
 
6419
+           new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
6420
+           lt_cv_sys_max_cmd_len=$new_result &&
 
6421
+           test $i != 17 # 1/2 MB should be enough
 
6422
+    do
 
6423
+      i=`expr $i + 1`
 
6424
+      teststring=$teststring$teststring
 
6425
+    done
 
6426
+    teststring=
 
6427
+    # Add a significant safety factor because C++ compilers can tack on massive
 
6428
+    # amounts of additional arguments before passing them to the linker.
 
6429
+    # It appears as though 1/2 is a usable value.
 
6430
+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6431
+    ;;
 
6432
+  esac
 
6433
+])
 
6434
+if test -n $lt_cv_sys_max_cmd_len ; then
 
6435
+  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
 
6436
+else
 
6437
+  AC_MSG_RESULT(none)
 
6438
+fi
 
6439
+])# AC_LIBTOOL_SYS_MAX_CMD_LEN
 
6440
+
 
6441
+
 
6442
+# _LT_AC_CHECK_DLFCN
 
6443
+# --------------------
 
6444
+AC_DEFUN([_LT_AC_CHECK_DLFCN],
 
6445
+[AC_CHECK_HEADERS(dlfcn.h)dnl
 
6446
+])# _LT_AC_CHECK_DLFCN
 
6447
+
 
6448
+
 
6449
+# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
 
6450
+#                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
 
6451
+# ------------------------------------------------------------------
 
6452
+AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
 
6453
+[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
 
6454
+if test "$cross_compiling" = yes; then :
 
6455
+  [$4]
 
6456
+else
 
6457
+  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
6458
+  lt_status=$lt_dlunknown
 
6459
+  cat > conftest.$ac_ext <<EOF
 
6460
+[#line __oline__ "configure"
 
6461
+#include "confdefs.h"
 
6462
+
 
6463
+#if HAVE_DLFCN_H
 
6464
+#include <dlfcn.h>
 
6465
+#endif
 
6466
+
 
6467
+#include <stdio.h>
 
6468
+
 
6469
+#ifdef RTLD_GLOBAL
 
6470
+#  define LT_DLGLOBAL          RTLD_GLOBAL
 
6471
+#else
 
6472
+#  ifdef DL_GLOBAL
 
6473
+#    define LT_DLGLOBAL                DL_GLOBAL
 
6474
+#  else
 
6475
+#    define LT_DLGLOBAL                0
 
6476
+#  endif
 
6477
+#endif
 
6478
+
 
6479
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
6480
+   find out it does not work in some platform. */
 
6481
+#ifndef LT_DLLAZY_OR_NOW
 
6482
+#  ifdef RTLD_LAZY
 
6483
+#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
 
6484
+#  else
 
6485
+#    ifdef DL_LAZY
 
6486
+#      define LT_DLLAZY_OR_NOW         DL_LAZY
 
6487
+#    else
 
6488
+#      ifdef RTLD_NOW
 
6489
+#        define LT_DLLAZY_OR_NOW       RTLD_NOW
 
6490
+#      else
 
6491
+#        ifdef DL_NOW
 
6492
+#          define LT_DLLAZY_OR_NOW     DL_NOW
 
6493
+#        else
 
6494
+#          define LT_DLLAZY_OR_NOW     0
 
6495
+#        endif
 
6496
+#      endif
 
6497
+#    endif
 
6498
+#  endif
 
6499
+#endif
 
6500
+
 
6501
+#ifdef __cplusplus
 
6502
+extern "C" void exit (int);
 
6503
+#endif
 
6504
+
 
6505
+void fnord() { int i=42;}
 
6506
+int main ()
 
6507
+{
 
6508
+  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
6509
+  int status = $lt_dlunknown;
 
6510
+
 
6511
+  if (self)
 
6512
+    {
 
6513
+      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
6514
+      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
6515
+      /* dlclose (self); */
 
6516
+    }
 
6517
+
 
6518
+    exit (status);
 
6519
+}]
 
6520
+EOF
 
6521
+  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
 
6522
+    (./conftest; exit; ) 2>/dev/null
 
6523
+    lt_status=$?
 
6524
+    case x$lt_status in
 
6525
+      x$lt_dlno_uscore) $1 ;;
 
6526
+      x$lt_dlneed_uscore) $2 ;;
 
6527
+      x$lt_unknown|x*) $3 ;;
 
6528
+    esac
 
6529
+  else :
 
6530
+    # compilation failed
 
6531
+    $3
 
6532
+  fi
 
6533
+fi
 
6534
+rm -fr conftest*
 
6535
+])# _LT_AC_TRY_DLOPEN_SELF
 
6536
+
 
6537
+
 
6538
+# AC_LIBTOOL_DLOPEN_SELF
 
6539
+# -------------------
 
6540
+AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
 
6541
+[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
 
6542
+if test "x$enable_dlopen" != xyes; then
 
6543
+  enable_dlopen=unknown
 
6544
+  enable_dlopen_self=unknown
 
6545
+  enable_dlopen_self_static=unknown
 
6546
+else
 
6547
+  lt_cv_dlopen=no
 
6548
+  lt_cv_dlopen_libs=
 
6549
+
 
6550
+  case $host_os in
 
6551
+  beos*)
 
6552
+    lt_cv_dlopen="load_add_on"
 
6553
+    lt_cv_dlopen_libs=
 
6554
+    lt_cv_dlopen_self=yes
 
6555
+    ;;
 
6556
+
 
6557
+  mingw* | pw32*)
 
6558
+    lt_cv_dlopen="LoadLibrary"
 
6559
+    lt_cv_dlopen_libs=
 
6560
+   ;;
 
6561
+
 
6562
+  cygwin*)
 
6563
+    lt_cv_dlopen="dlopen"
 
6564
+    lt_cv_dlopen_libs=
 
6565
+   ;;
 
6566
+
 
6567
+  darwin*)
 
6568
+  # if libdl is installed we need to link against it
 
6569
+    AC_CHECK_LIB([dl], [dlopen],
 
6570
+               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
 
6571
+    lt_cv_dlopen="dyld"
 
6572
+    lt_cv_dlopen_libs=
 
6573
+    lt_cv_dlopen_self=yes
 
6574
+    ])
 
6575
+   ;;
 
6576
+
 
6577
+  *)
 
6578
+    AC_CHECK_FUNC([shl_load],
 
6579
+         [lt_cv_dlopen="shl_load"],
 
6580
+      [AC_CHECK_LIB([dld], [shl_load],
 
6581
+           [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
 
6582
+       [AC_CHECK_FUNC([dlopen],
 
6583
+             [lt_cv_dlopen="dlopen"],
 
6584
+         [AC_CHECK_LIB([dl], [dlopen],
 
6585
+               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
 
6586
+           [AC_CHECK_LIB([svld], [dlopen],
 
6587
+                 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
 
6588
+             [AC_CHECK_LIB([dld], [dld_link],
 
6589
+                   [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
 
6590
+             ])
 
6591
+           ])
 
6592
+         ])
 
6593
+       ])
 
6594
+      ])
 
6595
+    ;;
 
6596
+  esac
 
6597
+
 
6598
+  if test "x$lt_cv_dlopen" != xno; then
 
6599
+    enable_dlopen=yes
 
6600
+  else
 
6601
+    enable_dlopen=no
 
6602
+  fi
 
6603
+
 
6604
+  case $lt_cv_dlopen in
 
6605
+  dlopen)
 
6606
+    save_CPPFLAGS="$CPPFLAGS"
 
6607
+    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
6608
+
 
6609
+    save_LDFLAGS="$LDFLAGS"
 
6610
+    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
6611
+
 
6612
+    save_LIBS="$LIBS"
 
6613
+    LIBS="$lt_cv_dlopen_libs $LIBS"
 
6614
+
 
6615
+    AC_CACHE_CHECK([whether a program can dlopen itself],
 
6616
+         lt_cv_dlopen_self, [dnl
 
6617
+         _LT_AC_TRY_DLOPEN_SELF(
 
6618
+           lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
 
6619
+           lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
 
6620
+    ])
 
6621
+
 
6622
+    if test "x$lt_cv_dlopen_self" = xyes; then
 
6623
+      LDFLAGS="$LDFLAGS $link_static_flag"
 
6624
+      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
 
6625
+         lt_cv_dlopen_self_static, [dnl
 
6626
+         _LT_AC_TRY_DLOPEN_SELF(
 
6627
+           lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
 
6628
+           lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
 
6629
+      ])
 
6630
+    fi
 
6631
+
 
6632
+    CPPFLAGS="$save_CPPFLAGS"
 
6633
+    LDFLAGS="$save_LDFLAGS"
 
6634
+    LIBS="$save_LIBS"
 
6635
+    ;;
 
6636
+  esac
 
6637
+
 
6638
+  case $lt_cv_dlopen_self in
 
6639
+  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
6640
+  *) enable_dlopen_self=unknown ;;
 
6641
+  esac
 
6642
+
 
6643
+  case $lt_cv_dlopen_self_static in
 
6644
+  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
6645
+  *) enable_dlopen_self_static=unknown ;;
 
6646
+  esac
 
6647
+fi
 
6648
+])# AC_LIBTOOL_DLOPEN_SELF
 
6649
+
 
6650
+
 
6651
+# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
 
6652
+# ---------------------------------
 
6653
+# Check to see if options -c and -o are simultaneously supported by compiler
 
6654
+AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
 
6655
+[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
 
6656
+AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
 
6657
+  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
 
6658
+  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
 
6659
+   $rm -r conftest 2>/dev/null
 
6660
+   mkdir conftest
 
6661
+   cd conftest
 
6662
+   mkdir out
 
6663
+   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
6664
+
 
6665
+   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
6666
+   # Insert the option either (1) after the last *FLAGS variable, or
 
6667
+   # (2) before a word containing "conftest.", or (3) at the end.
 
6668
+   # Note that $ac_compile itself does not contain backslashes and begins
 
6669
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
6670
+   lt_compile=`echo "$ac_compile" | $SED \
 
6671
+   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
6672
+   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
 
6673
+   -e 's:$: $lt_compiler_flag:'`
 
6674
+   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
 
6675
+   (eval "$lt_compile" 2>out/conftest.err)
 
6676
+   ac_status=$?
 
6677
+   cat out/conftest.err >&AS_MESSAGE_LOG_FD
 
6678
+   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 
6679
+   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
6680
+   then
 
6681
+     # The compiler can only warn and ignore the option if not recognized
 
6682
+     # So say no if there are warnings
 
6683
+     if test ! -s out/conftest.err; then
 
6684
+       _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
 
6685
+     fi
 
6686
+   fi
 
6687
+   chmod u+w .
 
6688
+   $rm conftest*
 
6689
+   # SGI C++ compiler will create directory out/ii_files/ for
 
6690
+   # template instantiation
 
6691
+   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 
6692
+   $rm out/* && rmdir out
 
6693
+   cd ..
 
6694
+   rmdir conftest
 
6695
+   $rm conftest*
 
6696
+])
 
6697
+])# AC_LIBTOOL_PROG_CC_C_O
 
6698
+
 
6699
+
 
6700
+# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
 
6701
+# -----------------------------------------
 
6702
+# Check to see if we can do hard links to lock some files if needed
 
6703
+AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
 
6704
+[AC_REQUIRE([_LT_AC_LOCK])dnl
 
6705
+
 
6706
+hard_links="nottested"
 
6707
+if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
 
6708
+  # do not overwrite the value of need_locks provided by the user
 
6709
+  AC_MSG_CHECKING([if we can lock with hard links])
 
6710
+  hard_links=yes
 
6711
+  $rm conftest*
 
6712
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
6713
+  touch conftest.a
 
6714
+  ln conftest.a conftest.b 2>&5 || hard_links=no
 
6715
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
6716
+  AC_MSG_RESULT([$hard_links])
 
6717
+  if test "$hard_links" = no; then
 
6718
+    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
 
6719
+    need_locks=warn
 
6720
+  fi
 
6721
+else
 
6722
+  need_locks=no
 
6723
+fi
 
6724
+])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
 
6725
+
 
6726
+
 
6727
+# AC_LIBTOOL_OBJDIR
 
6728
+# -----------------
 
6729
+AC_DEFUN([AC_LIBTOOL_OBJDIR],
 
6730
+[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
 
6731
+[rm -f .libs 2>/dev/null
 
6732
+mkdir .libs 2>/dev/null
 
6733
+if test -d .libs; then
 
6734
+  lt_cv_objdir=.libs
 
6735
+else
 
6736
+  # MS-DOS does not allow filenames that begin with a dot.
 
6737
+  lt_cv_objdir=_libs
 
6738
+fi
 
6739
+rmdir .libs 2>/dev/null])
 
6740
+objdir=$lt_cv_objdir
 
6741
+])# AC_LIBTOOL_OBJDIR
 
6742
+
 
6743
+
 
6744
+# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
 
6745
+# ----------------------------------------------
 
6746
+# Check hardcoding attributes.
 
6747
+AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
 
6748
+[AC_MSG_CHECKING([how to hardcode library paths into programs])
 
6749
+_LT_AC_TAGVAR(hardcode_action, $1)=
 
6750
+if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
 
6751
+   test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \
 
6752
+   test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then
 
6753
+
 
6754
+  # We can hardcode non-existant directories.
 
6755
+  if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
 
6756
+     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
6757
+     # have to relink, otherwise we might link with an installed library
 
6758
+     # when we should be linking with a yet-to-be-installed one
 
6759
+     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
 
6760
+     test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
 
6761
+    # Linking always hardcodes the temporary library directory.
 
6762
+    _LT_AC_TAGVAR(hardcode_action, $1)=relink
 
6763
+  else
 
6764
+    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
6765
+    _LT_AC_TAGVAR(hardcode_action, $1)=immediate
 
6766
+  fi
 
6767
+else
 
6768
+  # We cannot hardcode anything, or else we can only hardcode existing
 
6769
+  # directories.
 
6770
+  _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
 
6771
+fi
 
6772
+AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
 
6773
+
 
6774
+if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
 
6775
+  # Fast installation is not supported
 
6776
+  enable_fast_install=no
 
6777
+elif test "$shlibpath_overrides_runpath" = yes ||
 
6778
+     test "$enable_shared" = no; then
 
6779
+  # Fast installation is not necessary
 
6780
+  enable_fast_install=needless
 
6781
+fi
 
6782
+])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
 
6783
+
 
6784
+
 
6785
+# AC_LIBTOOL_SYS_LIB_STRIP
 
6786
+# ------------------------
 
6787
+AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
 
6788
+[striplib=
 
6789
+old_striplib=
 
6790
+AC_MSG_CHECKING([whether stripping libraries is possible])
 
6791
+if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
 
6792
+  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
6793
+  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
6794
+  AC_MSG_RESULT([yes])
 
6795
+else
 
6796
+# FIXME - insert some real tests, host_os isn't really good enough
 
6797
+  case $host_os in
 
6798
+   darwin*)
 
6799
+       if test -n "$STRIP" ; then
 
6800
+         striplib="$STRIP -x"
 
6801
+         AC_MSG_RESULT([yes])
 
6802
+       else
 
6803
+  AC_MSG_RESULT([no])
 
6804
+fi
 
6805
+       ;;
 
6806
+   *)
 
6807
+  AC_MSG_RESULT([no])
 
6808
+    ;;
 
6809
+  esac
 
6810
+fi
 
6811
+])# AC_LIBTOOL_SYS_LIB_STRIP
 
6812
+
 
6813
+
 
6814
+# AC_LIBTOOL_SYS_DYNAMIC_LINKER
 
6815
+# -----------------------------
 
6816
+# PORTME Fill in your ld.so characteristics
 
6817
+AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
 
6818
+[AC_MSG_CHECKING([dynamic linker characteristics])
 
6819
+library_names_spec=
 
6820
+libname_spec='lib$name'
 
6821
+soname_spec=
 
6822
+shrext_cmds=".so"
 
6823
+postinstall_cmds=
 
6824
+postuninstall_cmds=
 
6825
+finish_cmds=
 
6826
+finish_eval=
 
6827
+shlibpath_var=
 
6828
+shlibpath_overrides_runpath=unknown
 
6829
+version_type=none
 
6830
+dynamic_linker="$host_os ld.so"
 
6831
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
6832
+if test "$GCC" = yes; then
 
6833
+  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
6834
+  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
6835
+    # if the path contains ";" then we assume it to be the separator
 
6836
+    # otherwise default to the standard path separator (i.e. ":") - it is
 
6837
+    # assumed that no part of a normal pathname contains ";" but that should
 
6838
+    # okay in the real world where ";" in dirpaths is itself problematic.
 
6839
+    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
6840
+  else
 
6841
+    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
6842
+  fi
 
6843
+else
 
6844
+  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
6845
+fi
 
6846
+need_lib_prefix=unknown
 
6847
+hardcode_into_libs=no
 
6848
+
 
6849
+# when you set need_version to no, make sure it does not cause -set_version
 
6850
+# flags to be left without arguments
 
6851
+need_version=unknown
 
6852
+
 
6853
+case $host_os in
 
6854
+aix3*)
 
6855
+  version_type=linux
 
6856
+  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
6857
+  shlibpath_var=LIBPATH
 
6858
+
 
6859
+  # AIX 3 has no versioning support, so we append a major version to the name.
 
6860
+  soname_spec='${libname}${release}${shared_ext}$major'
 
6861
+  ;;
 
6862
+
 
6863
+aix4* | aix5*)
 
6864
+  version_type=linux
 
6865
+  need_lib_prefix=no
 
6866
+  need_version=no
 
6867
+  hardcode_into_libs=yes
 
6868
+  if test "$host_cpu" = ia64; then
 
6869
+    # AIX 5 supports IA64
 
6870
+    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
6871
+    shlibpath_var=LD_LIBRARY_PATH
 
6872
+  else
 
6873
+    # With GCC up to 2.95.x, collect2 would create an import file
 
6874
+    # for dependence libraries.  The import file would start with
 
6875
+    # the line `#! .'.  This would cause the generated library to
 
6876
+    # depend on `.', always an invalid library.  This was fixed in
 
6877
+    # development snapshots of GCC prior to 3.0.
 
6878
+    case $host_os in
 
6879
+      aix4 | aix4.[[01]] | aix4.[[01]].*)
 
6880
+      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
6881
+          echo ' yes '
 
6882
+          echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
6883
+       :
 
6884
+      else
 
6885
+       can_build_shared=no
 
6886
+      fi
 
6887
+      ;;
 
6888
+    esac
 
6889
+    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
6890
+    # soname into executable. Probably we can add versioning support to
 
6891
+    # collect2, so additional links can be useful in future.
 
6892
+    if test "$aix_use_runtimelinking" = yes; then
 
6893
+      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
6894
+      # instead of lib<name>.a to let people know that these are not
 
6895
+      # typical AIX shared libraries.
 
6896
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
6897
+    else
 
6898
+      # We preserve .a as extension for shared libraries through AIX4.2
 
6899
+      # and later when we are not doing run time linking.
 
6900
+      library_names_spec='${libname}${release}.a $libname.a'
 
6901
+      soname_spec='${libname}${release}${shared_ext}$major'
 
6902
+    fi
 
6903
+    shlibpath_var=LIBPATH
 
6904
+  fi
 
6905
+  ;;
 
6906
+
 
6907
+amigaos*)
 
6908
+  library_names_spec='$libname.ixlibrary $libname.a'
 
6909
+  # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
6910
+  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'
 
6911
+  ;;
 
6912
+
 
6913
+beos*)
 
6914
+  library_names_spec='${libname}${shared_ext}'
 
6915
+  dynamic_linker="$host_os ld.so"
 
6916
+  shlibpath_var=LIBRARY_PATH
 
6917
+  ;;
 
6918
+
 
6919
+bsdi4*)
 
6920
+  version_type=linux
 
6921
+  need_version=no
 
6922
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
6923
+  soname_spec='${libname}${release}${shared_ext}$major'
 
6924
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
6925
+  shlibpath_var=LD_LIBRARY_PATH
 
6926
+  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
6927
+  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
6928
+  # the default ld.so.conf also contains /usr/contrib/lib and
 
6929
+  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
6930
+  # libtool to hard-code these into programs
 
6931
+  ;;
 
6932
+
 
6933
+cygwin* | mingw* | pw32*)
 
6934
+  version_type=windows
 
6935
+  shrext_cmds=".dll"
 
6936
+  need_version=no
 
6937
+  need_lib_prefix=no
 
6938
+
 
6939
+  case $GCC,$host_os in
 
6940
+  yes,cygwin* | yes,mingw* | yes,pw32*)
 
6941
+    library_names_spec='$libname.dll.a'
 
6942
+    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
6943
+    postinstall_cmds='base_file=`basename \${file}`~
 
6944
+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
6945
+      dldir=$destdir/`dirname \$dlpath`~
 
6946
+      test -d \$dldir || mkdir -p \$dldir~
 
6947
+      $install_prog $dir/$dlname \$dldir/$dlname'
 
6948
+    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
6949
+      dlpath=$dir/\$dldll~
 
6950
+       $rm \$dlpath'
 
6951
+    shlibpath_overrides_runpath=yes
 
6952
+
 
6953
+    case $host_os in
 
6954
+    cygwin*)
 
6955
+      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
6956
+      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
 
6957
+      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
6958
+      ;;
 
6959
+    mingw*)
 
6960
+      # MinGW DLLs use traditional 'lib' prefix
 
6961
+      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
 
6962
+      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
6963
+      if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
 
6964
+        # It is most probably a Windows format PATH printed by
 
6965
+        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
6966
+        # path with ; separators, and with drive letters. We can handle the
 
6967
+        # drive letters (cygwin fileutils understands them), so leave them,
 
6968
+        # especially as we might pass files found there to a mingw objdump,
 
6969
+        # which wouldn't understand a cygwinified path. Ahh.
 
6970
+        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
6971
+      else
 
6972
+        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
6973
+      fi
 
6974
+      ;;
 
6975
+    pw32*)
 
6976
+      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
6977
+      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
6978
+      ;;
 
6979
+    esac
 
6980
+    ;;
 
6981
+
 
6982
+  *)
 
6983
+    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
6984
+    ;;
 
6985
+  esac
 
6986
+  dynamic_linker='Win32 ld.exe'
 
6987
+  # FIXME: first we should search . and the directory the executable is in
 
6988
+  shlibpath_var=PATH
 
6989
+  ;;
 
6990
+
 
6991
+darwin* | rhapsody*)
 
6992
+  dynamic_linker="$host_os dyld"
 
6993
+  version_type=darwin
 
6994
+  need_lib_prefix=no
 
6995
+  need_version=no
 
6996
+  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
6997
+  soname_spec='${libname}${release}${major}$shared_ext'
 
6998
+  shlibpath_overrides_runpath=yes
 
6999
+  shlibpath_var=DYLD_LIBRARY_PATH
 
7000
+  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
7001
+  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
 
7002
+  if test "$GCC" = yes; then
 
7003
+    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
 
7004
+  else
 
7005
+    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
 
7006
+  fi
 
7007
+  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
7008
+  ;;
 
7009
+
 
7010
+dgux*)
 
7011
+  version_type=linux
 
7012
+  need_lib_prefix=no
 
7013
+  need_version=no
 
7014
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
7015
+  soname_spec='${libname}${release}${shared_ext}$major'
 
7016
+  shlibpath_var=LD_LIBRARY_PATH
 
7017
+  ;;
 
7018
+
 
7019
+freebsd1*)
 
7020
+  dynamic_linker=no
 
7021
+  ;;
 
7022
+
 
7023
+kfreebsd*-gnu)
 
7024
+  version_type=linux
 
7025
+  need_lib_prefix=no
 
7026
+  need_version=no
 
7027
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
7028
+  soname_spec='${libname}${release}${shared_ext}$major'
 
7029
+  shlibpath_var=LD_LIBRARY_PATH
 
7030
+  shlibpath_overrides_runpath=no
 
7031
+  hardcode_into_libs=yes
 
7032
+  dynamic_linker='GNU ld.so'
 
7033
+  ;;
 
7034
+
 
7035
+freebsd*)
 
7036
+  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
7037
+  version_type=freebsd-$objformat
 
7038
+  case $version_type in
 
7039
+    freebsd-elf*)
 
7040
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
7041
+      need_version=no
 
7042
+      need_lib_prefix=no
 
7043
+      ;;
 
7044
+    freebsd-*)
 
7045
+      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
7046
+      need_version=yes
 
7047
+      ;;
 
7048
+  esac
 
7049
+  shlibpath_var=LD_LIBRARY_PATH
 
7050
+  case $host_os in
 
7051
+  freebsd2*)
 
7052
+    shlibpath_overrides_runpath=yes
 
7053
+    ;;
 
7054
+  freebsd3.[01]* | freebsdelf3.[01]*)
 
7055
+    shlibpath_overrides_runpath=yes
 
7056
+    hardcode_into_libs=yes
 
7057
+    ;;
 
7058
+  *) # from 3.2 on
 
7059
+    shlibpath_overrides_runpath=no
 
7060
+    hardcode_into_libs=yes
 
7061
+    ;;
 
7062
+  esac
 
7063
+  ;;
 
7064
+
 
7065
+gnu*)
 
7066
+  version_type=linux
 
7067
+  need_lib_prefix=no
 
7068
+  need_version=no
 
7069
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
7070
+  soname_spec='${libname}${release}${shared_ext}$major'
 
7071
+  shlibpath_var=LD_LIBRARY_PATH
 
7072
+  hardcode_into_libs=yes
 
7073
+  ;;
 
7074
+
 
7075
+hpux9* | hpux10* | hpux11*)
 
7076
+  # Give a soname corresponding to the major version so that dld.sl refuses to
 
7077
+  # link against other versions.
 
7078
+  version_type=sunos
 
7079
+  need_lib_prefix=no
 
7080
+  need_version=no
 
7081
+  case "$host_cpu" in
 
7082
+  ia64*)
 
7083
+    shrext_cmds='.so'
 
7084
+    hardcode_into_libs=yes
 
7085
+    dynamic_linker="$host_os dld.so"
 
7086
+    shlibpath_var=LD_LIBRARY_PATH
 
7087
+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
7088
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
7089
+    soname_spec='${libname}${release}${shared_ext}$major'
 
7090
+    if test "X$HPUX_IA64_MODE" = X32; then
 
7091
+      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
7092
+    else
 
7093
+      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
7094
+    fi
 
7095
+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
7096
+    ;;
 
7097
+   hppa*64*)
 
7098
+     shrext_cmds='.sl'
 
7099
+     hardcode_into_libs=yes
 
7100
+     dynamic_linker="$host_os dld.sl"
 
7101
+     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
7102
+     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
7103
+     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
7104
+     soname_spec='${libname}${release}${shared_ext}$major'
 
7105
+     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
7106
+     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
7107
+     ;;
 
7108
+   *)
 
7109
+    shrext_cmds='.sl'
 
7110
+    dynamic_linker="$host_os dld.sl"
 
7111
+    shlibpath_var=SHLIB_PATH
 
7112
+    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
7113
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
7114
+    soname_spec='${libname}${release}${shared_ext}$major'
 
7115
+    ;;
 
7116
+  esac
 
7117
+  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
7118
+  postinstall_cmds='chmod 555 $lib'
 
7119
+  ;;
 
7120
+
 
7121
+irix5* | irix6* | nonstopux*)
 
7122
+  case $host_os in
 
7123
+    nonstopux*) version_type=nonstopux ;;
 
7124
+    *)
 
7125
+       if test "$lt_cv_prog_gnu_ld" = yes; then
 
7126
+               version_type=linux
 
7127
+       else
 
7128
+               version_type=irix
 
7129
+       fi ;;
 
7130
+  esac
 
7131
+  need_lib_prefix=no
 
7132
+  need_version=no
 
7133
+  soname_spec='${libname}${release}${shared_ext}$major'
 
7134
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
7135
+  case $host_os in
 
7136
+  irix5* | nonstopux*)
 
7137
+    libsuff= shlibsuff=
 
7138
+    ;;
 
7139
+  *)
 
7140
+    case $LD in # libtool.m4 will add one of these switches to LD
 
7141
+    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
7142
+      libsuff= shlibsuff= libmagic=32-bit;;
 
7143
+    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
7144
+      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
7145
+    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
7146
+      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
7147
+    *) libsuff= shlibsuff= libmagic=never-match;;
 
7148
+    esac
 
7149
+    ;;
 
7150
+  esac
 
7151
+  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
7152
+  shlibpath_overrides_runpath=no
 
7153
+  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
7154
+  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
7155
+  hardcode_into_libs=yes
 
7156
+  ;;
 
7157
+
 
7158
+# No shared lib support for Linux oldld, aout, or coff.
 
7159
+linux*oldld* | linux*aout* | linux*coff*)
 
7160
+  dynamic_linker=no
 
7161
+  ;;
 
7162
+
 
7163
+# This must be Linux ELF.
 
7164
+linux*)
 
7165
+  version_type=linux
 
7166
+  need_lib_prefix=no
 
7167
+  need_version=no
 
7168
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
7169
+  soname_spec='${libname}${release}${shared_ext}$major'
 
7170
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
7171
+  shlibpath_var=LD_LIBRARY_PATH
 
7172
+  shlibpath_overrides_runpath=no
 
7173
+  # This implies no fast_install, which is unacceptable.
 
7174
+  # Some rework will be needed to allow for fast_install
 
7175
+  # before this can be enabled.
 
7176
+  hardcode_into_libs=yes
 
7177
+
 
7178
+  # Append ld.so.conf contents to the search path
 
7179
+  if test -f /etc/ld.so.conf; then
 
7180
+    lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '`
 
7181
+    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
7182
+  fi
 
7183
+
 
7184
+  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
7185
+  # powerpc, because MkLinux only supported shared libraries with the
 
7186
+  # GNU dynamic linker.  Since this was broken with cross compilers,
 
7187
+  # most powerpc-linux boxes support dynamic linking these days and
 
7188
+  # people can always --disable-shared, the test was removed, and we
 
7189
+  # assume the GNU/Linux dynamic linker is in use.
 
7190
+  dynamic_linker='GNU/Linux ld.so'
 
7191
+  ;;
 
7192
+
 
7193
+netbsdelf*-gnu)
 
7194
+  version_type=linux
 
7195
+  need_lib_prefix=no
 
7196
+  need_version=no
 
7197
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
7198
+  soname_spec='${libname}${release}${shared_ext}$major'
 
7199
+  shlibpath_var=LD_LIBRARY_PATH
 
7200
+  shlibpath_overrides_runpath=no
 
7201
+  hardcode_into_libs=yes
 
7202
+  dynamic_linker='NetBSD ld.elf_so'
 
7203
+  ;;
 
7204
+
 
7205
+knetbsd*-gnu)
 
7206
+  version_type=linux
 
7207
+  need_lib_prefix=no
 
7208
+  need_version=no
 
7209
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
7210
+  soname_spec='${libname}${release}${shared_ext}$major'
 
7211
+  shlibpath_var=LD_LIBRARY_PATH
 
7212
+  shlibpath_overrides_runpath=no
 
7213
+  hardcode_into_libs=yes
 
7214
+  dynamic_linker='GNU ld.so'
 
7215
+  ;;
 
7216
+
 
7217
+netbsd*)
 
7218
+  version_type=sunos
 
7219
+  need_lib_prefix=no
 
7220
+  need_version=no
 
7221
+  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
7222
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
7223
+    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
7224
+    dynamic_linker='NetBSD (a.out) ld.so'
 
7225
+  else
 
7226
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
7227
+    soname_spec='${libname}${release}${shared_ext}$major'
 
7228
+    dynamic_linker='NetBSD ld.elf_so'
 
7229
+  fi
 
7230
+  shlibpath_var=LD_LIBRARY_PATH
 
7231
+  shlibpath_overrides_runpath=yes
 
7232
+  hardcode_into_libs=yes
 
7233
+  ;;
 
7234
+
 
7235
+newsos6)
 
7236
+  version_type=linux
 
7237
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
7238
+  shlibpath_var=LD_LIBRARY_PATH
 
7239
+  shlibpath_overrides_runpath=yes
 
7240
+  ;;
 
7241
+
 
7242
+nto-qnx*)
 
7243
+  version_type=linux
 
7244
+  need_lib_prefix=no
 
7245
+  need_version=no
 
7246
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
7247
+  soname_spec='${libname}${release}${shared_ext}$major'
 
7248
+  shlibpath_var=LD_LIBRARY_PATH
 
7249
+  shlibpath_overrides_runpath=yes
 
7250
+  ;;
 
7251
+
 
7252
+openbsd*)
 
7253
+  version_type=sunos
 
7254
+  need_lib_prefix=no
 
7255
+  need_version=yes
 
7256
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
7257
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
7258
+  shlibpath_var=LD_LIBRARY_PATH
 
7259
+  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
7260
+    case $host_os in
 
7261
+      openbsd2.[[89]] | openbsd2.[[89]].*)
 
7262
+       shlibpath_overrides_runpath=no
 
7263
+       ;;
 
7264
+      *)
 
7265
+       shlibpath_overrides_runpath=yes
 
7266
+       ;;
 
7267
+      esac
 
7268
+  else
 
7269
+    shlibpath_overrides_runpath=yes
 
7270
+  fi
 
7271
+  ;;
 
7272
+
 
7273
+os2*)
 
7274
+  libname_spec='$name'
 
7275
+  shrext_cmds=".dll"
 
7276
+  need_lib_prefix=no
 
7277
+  library_names_spec='$libname${shared_ext} $libname.a'
 
7278
+  dynamic_linker='OS/2 ld.exe'
 
7279
+  shlibpath_var=LIBPATH
 
7280
+  ;;
 
7281
+
 
7282
+osf3* | osf4* | osf5*)
 
7283
+  version_type=osf
 
7284
+  need_lib_prefix=no
 
7285
+  need_version=no
 
7286
+  soname_spec='${libname}${release}${shared_ext}$major'
 
7287
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
7288
+  shlibpath_var=LD_LIBRARY_PATH
 
7289
+  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
7290
+  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
7291
+  ;;
 
7292
+
 
7293
+sco3.2v5*)
 
7294
+  version_type=osf
 
7295
+  soname_spec='${libname}${release}${shared_ext}$major'
 
7296
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
7297
+  shlibpath_var=LD_LIBRARY_PATH
 
7298
+  ;;
 
7299
+
 
7300
+solaris*)
 
7301
+  version_type=linux
 
7302
+  need_lib_prefix=no
 
7303
+  need_version=no
 
7304
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
7305
+  soname_spec='${libname}${release}${shared_ext}$major'
 
7306
+  shlibpath_var=LD_LIBRARY_PATH
 
7307
+  shlibpath_overrides_runpath=yes
 
7308
+  hardcode_into_libs=yes
 
7309
+  # ldd complains unless libraries are executable
 
7310
+  postinstall_cmds='chmod +x $lib'
 
7311
+  ;;
 
7312
+
 
7313
+sunos4*)
 
7314
+  version_type=sunos
 
7315
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
7316
+  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
7317
+  shlibpath_var=LD_LIBRARY_PATH
 
7318
+  shlibpath_overrides_runpath=yes
 
7319
+  if test "$with_gnu_ld" = yes; then
 
7320
+    need_lib_prefix=no
 
7321
+  fi
 
7322
+  need_version=yes
 
7323
+  ;;
 
7324
+
 
7325
+sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
7326
+  version_type=linux
 
7327
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
7328
+  soname_spec='${libname}${release}${shared_ext}$major'
 
7329
+  shlibpath_var=LD_LIBRARY_PATH
 
7330
+  case $host_vendor in
 
7331
+    sni)
 
7332
+      shlibpath_overrides_runpath=no
 
7333
+      need_lib_prefix=no
 
7334
+      export_dynamic_flag_spec='${wl}-Blargedynsym'
 
7335
+      runpath_var=LD_RUN_PATH
 
7336
+      ;;
 
7337
+    siemens)
 
7338
+      need_lib_prefix=no
 
7339
+      ;;
 
7340
+    motorola)
 
7341
+      need_lib_prefix=no
 
7342
+      need_version=no
 
7343
+      shlibpath_overrides_runpath=no
 
7344
+      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
7345
+      ;;
 
7346
+  esac
 
7347
+  ;;
 
7348
+
 
7349
+sysv4*MP*)
 
7350
+  if test -d /usr/nec ;then
 
7351
+    version_type=linux
 
7352
+    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
7353
+    soname_spec='$libname${shared_ext}.$major'
 
7354
+    shlibpath_var=LD_LIBRARY_PATH
 
7355
+  fi
 
7356
+  ;;
 
7357
+
 
7358
+uts4*)
 
7359
+  version_type=linux
 
7360
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
7361
+  soname_spec='${libname}${release}${shared_ext}$major'
 
7362
+  shlibpath_var=LD_LIBRARY_PATH
 
7363
+  ;;
 
7364
+
 
7365
+*)
 
7366
+  dynamic_linker=no
 
7367
+  ;;
 
7368
+esac
 
7369
+AC_MSG_RESULT([$dynamic_linker])
 
7370
+test "$dynamic_linker" = no && can_build_shared=no
 
7371
+])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
 
7372
+
 
7373
+
 
7374
+# _LT_AC_TAGCONFIG
 
7375
+# ----------------
 
7376
+AC_DEFUN([_LT_AC_TAGCONFIG],
 
7377
+[AC_ARG_WITH([tags],
 
7378
+    [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
 
7379
+        [include additional configurations @<:@automatic@:>@])],
 
7380
+    [tagnames="$withval"])
 
7381
+
 
7382
+if test -f "$ltmain" && test -n "$tagnames"; then
 
7383
+  if test ! -f "${ofile}"; then
 
7384
+    AC_MSG_WARN([output file `$ofile' does not exist])
 
7385
+  fi
 
7386
+
 
7387
+  if test -z "$LTCC"; then
 
7388
+    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
 
7389
+    if test -z "$LTCC"; then
 
7390
+      AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
 
7391
+    else
 
7392
+      AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
 
7393
+    fi
 
7394
+  fi
 
7395
+
 
7396
+  # Extract list of available tagged configurations in $ofile.
 
7397
+  # Note that this assumes the entire list is on one line.
 
7398
+  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
 
7399
+
 
7400
+  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7401
+  for tagname in $tagnames; do
 
7402
+    IFS="$lt_save_ifs"
 
7403
+    # Check whether tagname contains only valid characters
 
7404
+    case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
 
7405
+    "") ;;
 
7406
+    *)  AC_MSG_ERROR([invalid tag name: $tagname])
 
7407
+       ;;
 
7408
+    esac
 
7409
+
 
7410
+    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
 
7411
+    then
 
7412
+      AC_MSG_ERROR([tag name \"$tagname\" already exists])
 
7413
+    fi
 
7414
+
 
7415
+    # Update the list of available tags.
 
7416
+    if test -n "$tagname"; then
 
7417
+      echo appending configuration tag \"$tagname\" to $ofile
 
7418
+
 
7419
+      case $tagname in
 
7420
+      CXX)
 
7421
+       if test -n "$CXX" && test "X$CXX" != "Xno"; then
 
7422
+         AC_LIBTOOL_LANG_CXX_CONFIG
 
7423
+       else
 
7424
+         tagname=""
 
7425
+       fi
 
7426
+       ;;
 
7427
+
 
7428
+      F77)
 
7429
+       if test -n "$F77" && test "X$F77" != "Xno"; then
 
7430
+         AC_LIBTOOL_LANG_F77_CONFIG
 
7431
+       else
 
7432
+         tagname=""
 
7433
+       fi
 
7434
+       ;;
 
7435
+
 
7436
+      GCJ)
 
7437
+       if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
 
7438
+         AC_LIBTOOL_LANG_GCJ_CONFIG
 
7439
+       else
 
7440
+         tagname=""
 
7441
+       fi
 
7442
+       ;;
 
7443
+
 
7444
+      RC)
 
7445
+       AC_LIBTOOL_LANG_RC_CONFIG
 
7446
+       ;;
 
7447
+
 
7448
+      *)
 
7449
+       AC_MSG_ERROR([Unsupported tag name: $tagname])
 
7450
+       ;;
 
7451
+      esac
 
7452
+
 
7453
+      # Append the new tag name to the list of available tags.
 
7454
+      if test -n "$tagname" ; then
 
7455
+      available_tags="$available_tags $tagname"
 
7456
+    fi
 
7457
+    fi
 
7458
+  done
 
7459
+  IFS="$lt_save_ifs"
 
7460
+
 
7461
+  # Now substitute the updated list of available tags.
 
7462
+  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
 
7463
+    mv "${ofile}T" "$ofile"
 
7464
+    chmod +x "$ofile"
 
7465
+  else
 
7466
+    rm -f "${ofile}T"
 
7467
+    AC_MSG_ERROR([unable to update list of available tagged configurations.])
 
7468
+  fi
 
7469
+fi
 
7470
+])# _LT_AC_TAGCONFIG
 
7471
+
 
7472
+
 
7473
+# AC_LIBTOOL_DLOPEN
 
7474
+# -----------------
 
7475
+# enable checks for dlopen support
 
7476
+AC_DEFUN([AC_LIBTOOL_DLOPEN],
 
7477
+ [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
 
7478
+])# AC_LIBTOOL_DLOPEN
 
7479
+
 
7480
+
 
7481
+# AC_LIBTOOL_WIN32_DLL
 
7482
+# --------------------
 
7483
+# declare package support for building win32 dll's
 
7484
+AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
 
7485
+[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
 
7486
+])# AC_LIBTOOL_WIN32_DLL
 
7487
+
 
7488
+
 
7489
+# AC_ENABLE_SHARED([DEFAULT])
 
7490
+# ---------------------------
 
7491
+# implement the --enable-shared flag
 
7492
+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
 
7493
+AC_DEFUN([AC_ENABLE_SHARED],
 
7494
+[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
 
7495
+AC_ARG_ENABLE([shared],
 
7496
+    [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
 
7497
+       [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
 
7498
+    [p=${PACKAGE-default}
 
7499
+    case $enableval in
 
7500
+    yes) enable_shared=yes ;;
 
7501
+    no) enable_shared=no ;;
 
7502
+    *)
 
7503
+      enable_shared=no
 
7504
+      # Look at the argument we got.  We use all the common list separators.
 
7505
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7506
+      for pkg in $enableval; do
 
7507
+       IFS="$lt_save_ifs"
 
7508
+       if test "X$pkg" = "X$p"; then
 
7509
+         enable_shared=yes
 
7510
+       fi
 
7511
+      done
 
7512
+      IFS="$lt_save_ifs"
 
7513
+      ;;
 
7514
+    esac],
 
7515
+    [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
 
7516
+])# AC_ENABLE_SHARED
 
7517
+
 
7518
+
 
7519
+# AC_DISABLE_SHARED
 
7520
+# -----------------
 
7521
+#- set the default shared flag to --disable-shared
 
7522
+AC_DEFUN([AC_DISABLE_SHARED],
 
7523
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
 
7524
+AC_ENABLE_SHARED(no)
 
7525
+])# AC_DISABLE_SHARED
 
7526
+
 
7527
+
 
7528
+# AC_ENABLE_STATIC([DEFAULT])
 
7529
+# ---------------------------
 
7530
+# implement the --enable-static flag
 
7531
+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
 
7532
+AC_DEFUN([AC_ENABLE_STATIC],
 
7533
+[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
 
7534
+AC_ARG_ENABLE([static],
 
7535
+    [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
 
7536
+       [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
 
7537
+    [p=${PACKAGE-default}
 
7538
+    case $enableval in
 
7539
+    yes) enable_static=yes ;;
 
7540
+    no) enable_static=no ;;
 
7541
+    *)
 
7542
+     enable_static=no
 
7543
+      # Look at the argument we got.  We use all the common list separators.
 
7544
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7545
+      for pkg in $enableval; do
 
7546
+       IFS="$lt_save_ifs"
 
7547
+       if test "X$pkg" = "X$p"; then
 
7548
+         enable_static=yes
 
7549
+       fi
 
7550
+      done
 
7551
+      IFS="$lt_save_ifs"
 
7552
+      ;;
 
7553
+    esac],
 
7554
+    [enable_static=]AC_ENABLE_STATIC_DEFAULT)
 
7555
+])# AC_ENABLE_STATIC
 
7556
+
 
7557
+
 
7558
+# AC_DISABLE_STATIC
 
7559
+# -----------------
 
7560
+# set the default static flag to --disable-static
 
7561
+AC_DEFUN([AC_DISABLE_STATIC],
 
7562
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
 
7563
+AC_ENABLE_STATIC(no)
 
7564
+])# AC_DISABLE_STATIC
 
7565
+
 
7566
+
 
7567
+# AC_ENABLE_FAST_INSTALL([DEFAULT])
 
7568
+# ---------------------------------
 
7569
+# implement the --enable-fast-install flag
 
7570
+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
 
7571
+AC_DEFUN([AC_ENABLE_FAST_INSTALL],
 
7572
+[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
 
7573
+AC_ARG_ENABLE([fast-install],
 
7574
+    [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
 
7575
+    [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
 
7576
+    [p=${PACKAGE-default}
 
7577
+    case $enableval in
 
7578
+    yes) enable_fast_install=yes ;;
 
7579
+    no) enable_fast_install=no ;;
 
7580
+    *)
 
7581
+      enable_fast_install=no
 
7582
+      # Look at the argument we got.  We use all the common list separators.
 
7583
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7584
+      for pkg in $enableval; do
 
7585
+       IFS="$lt_save_ifs"
 
7586
+       if test "X$pkg" = "X$p"; then
 
7587
+         enable_fast_install=yes
 
7588
+       fi
 
7589
+      done
 
7590
+      IFS="$lt_save_ifs"
 
7591
+      ;;
 
7592
+    esac],
 
7593
+    [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
 
7594
+])# AC_ENABLE_FAST_INSTALL
 
7595
+
 
7596
+
 
7597
+# AC_DISABLE_FAST_INSTALL
 
7598
+# -----------------------
 
7599
+# set the default to --disable-fast-install
 
7600
+AC_DEFUN([AC_DISABLE_FAST_INSTALL],
 
7601
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
 
7602
+AC_ENABLE_FAST_INSTALL(no)
 
7603
+])# AC_DISABLE_FAST_INSTALL
 
7604
+
 
7605
+
 
7606
+# AC_LIBTOOL_PICMODE([MODE])
 
7607
+# --------------------------
 
7608
+# implement the --with-pic flag
 
7609
+# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
 
7610
+AC_DEFUN([AC_LIBTOOL_PICMODE],
 
7611
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
 
7612
+pic_mode=ifelse($#,1,$1,default)
 
7613
+])# AC_LIBTOOL_PICMODE
 
7614
+
 
7615
+
 
7616
+# AC_PROG_EGREP
 
7617
+# -------------
 
7618
+# This is predefined starting with Autoconf 2.54, so this conditional
 
7619
+# definition can be removed once we require Autoconf 2.54 or later.
 
7620
+m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
 
7621
+[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
 
7622
+   [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 
7623
+    then ac_cv_prog_egrep='grep -E'
 
7624
+    else ac_cv_prog_egrep='egrep'
 
7625
+    fi])
 
7626
+ EGREP=$ac_cv_prog_egrep
 
7627
+ AC_SUBST([EGREP])
 
7628
+])])
 
7629
+
 
7630
+
 
7631
+# AC_PATH_TOOL_PREFIX
 
7632
+# -------------------
 
7633
+# find a file program which can recognise shared library
 
7634
+AC_DEFUN([AC_PATH_TOOL_PREFIX],
 
7635
+[AC_REQUIRE([AC_PROG_EGREP])dnl
 
7636
+AC_MSG_CHECKING([for $1])
 
7637
+AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
 
7638
+[case $MAGIC_CMD in
 
7639
+[[\\/*] |  ?:[\\/]*])
 
7640
+  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7641
+  ;;
 
7642
+*)
 
7643
+  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7644
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7645
+dnl $ac_dummy forces splitting on constant user-supplied paths.
 
7646
+dnl POSIX.2 word splitting is done only on the output of word expansions,
 
7647
+dnl not every word.  This closes a longstanding sh security hole.
 
7648
+  ac_dummy="ifelse([$2], , $PATH, [$2])"
 
7649
+  for ac_dir in $ac_dummy; do
 
7650
+    IFS="$lt_save_ifs"
 
7651
+    test -z "$ac_dir" && ac_dir=.
 
7652
+    if test -f $ac_dir/$1; then
 
7653
+      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
 
7654
+      if test -n "$file_magic_test_file"; then
 
7655
+       case $deplibs_check_method in
 
7656
+       "file_magic "*)
 
7657
+         file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
7658
+         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7659
+         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7660
+           $EGREP "$file_magic_regex" > /dev/null; then
 
7661
+           :
 
7662
+         else
 
7663
+           cat <<EOF 1>&2
 
7664
+
 
7665
+*** Warning: the command libtool uses to detect shared libraries,
 
7666
+*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7667
+*** The result is that libtool may fail to recognize shared libraries
 
7668
+*** as such.  This will affect the creation of libtool libraries that
 
7669
+*** depend on shared libraries, but programs linked with such libtool
 
7670
+*** libraries will work regardless of this problem.  Nevertheless, you
 
7671
+*** may want to report the problem to your system manager and/or to
 
7672
+*** bug-libtool@gnu.org
 
7673
+
 
7674
+EOF
 
7675
+         fi ;;
 
7676
+       esac
 
7677
+      fi
 
7678
+      break
 
7679
+    fi
 
7680
+  done
 
7681
+  IFS="$lt_save_ifs"
 
7682
+  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7683
+  ;;
 
7684
+esac])
 
7685
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7686
+if test -n "$MAGIC_CMD"; then
 
7687
+  AC_MSG_RESULT($MAGIC_CMD)
 
7688
+else
 
7689
+  AC_MSG_RESULT(no)
 
7690
+fi
 
7691
+])# AC_PATH_TOOL_PREFIX
 
7692
+
 
7693
+
 
7694
+# AC_PATH_MAGIC
 
7695
+# -------------
 
7696
+# find a file program which can recognise a shared library
 
7697
+AC_DEFUN([AC_PATH_MAGIC],
 
7698
+[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
 
7699
+if test -z "$lt_cv_path_MAGIC_CMD"; then
 
7700
+  if test -n "$ac_tool_prefix"; then
 
7701
+    AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
 
7702
+  else
 
7703
+    MAGIC_CMD=:
 
7704
+  fi
 
7705
+fi
 
7706
+])# AC_PATH_MAGIC
 
7707
+
 
7708
+
 
7709
+# AC_PROG_LD
 
7710
+# ----------
 
7711
+# find the pathname to the GNU or non-GNU linker
 
7712
+AC_DEFUN([AC_PROG_LD],
 
7713
+[AC_ARG_WITH([gnu-ld],
 
7714
+    [AC_HELP_STRING([--with-gnu-ld],
 
7715
+       [assume the C compiler uses GNU ld @<:@default=no@:>@])],
 
7716
+    [test "$withval" = no || with_gnu_ld=yes],
 
7717
+    [with_gnu_ld=no])
 
7718
+AC_REQUIRE([LT_AC_PROG_SED])dnl
 
7719
+AC_REQUIRE([AC_PROG_CC])dnl
 
7720
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
7721
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 
7722
+ac_prog=ld
 
7723
+if test "$GCC" = yes; then
 
7724
+  # Check if gcc -print-prog-name=ld gives a path.
 
7725
+  AC_MSG_CHECKING([for ld used by $CC])
 
7726
+  case $host in
 
7727
+  *-*-mingw*)
 
7728
+    # gcc leaves a trailing carriage return which upsets mingw
 
7729
+    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
7730
+  *)
 
7731
+    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
7732
+  esac
 
7733
+  case $ac_prog in
 
7734
+    # Accept absolute paths.
 
7735
+    [[\\/]]* | ?:[[\\/]]*)
 
7736
+      re_direlt='/[[^/]][[^/]]*/\.\./'
 
7737
+      # Canonicalize the pathname of ld
 
7738
+      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
 
7739
+      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 
7740
+       ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
7741
+      done
 
7742
+      test -z "$LD" && LD="$ac_prog"
 
7743
+      ;;
 
7744
+  "")
 
7745
+    # If it fails, then pretend we aren't using GCC.
 
7746
+    ac_prog=ld
 
7747
+    ;;
 
7748
+  *)
 
7749
+    # If it is relative, then search for the first ld in PATH.
 
7750
+    with_gnu_ld=unknown
 
7751
+    ;;
 
7752
+  esac
 
7753
+elif test "$with_gnu_ld" = yes; then
 
7754
+  AC_MSG_CHECKING([for GNU ld])
 
7755
+else
 
7756
+  AC_MSG_CHECKING([for non-GNU ld])
 
7757
+fi
 
7758
+AC_CACHE_VAL(lt_cv_path_LD,
 
7759
+[if test -z "$LD"; then
 
7760
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7761
+  for ac_dir in $PATH; do
 
7762
+    IFS="$lt_save_ifs"
 
7763
+    test -z "$ac_dir" && ac_dir=.
 
7764
+    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
7765
+      lt_cv_path_LD="$ac_dir/$ac_prog"
 
7766
+      # Check to see if the program is GNU ld.  I'd rather use --version,
 
7767
+      # but apparently some GNU ld's only accept -v.
 
7768
+      # Break only if it was the GNU/non-GNU ld that we prefer.
 
7769
+      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
7770
+      *GNU* | *'with BFD'*)
 
7771
+       test "$with_gnu_ld" != no && break
 
7772
+       ;;
 
7773
+      *)
 
7774
+       test "$with_gnu_ld" != yes && break
 
7775
+       ;;
 
7776
+      esac
 
7777
+    fi
 
7778
+  done
 
7779
+  IFS="$lt_save_ifs"
 
7780
+else
 
7781
+  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
7782
+fi])
 
7783
+LD="$lt_cv_path_LD"
 
7784
+if test -n "$LD"; then
 
7785
+  AC_MSG_RESULT($LD)
 
7786
+else
 
7787
+  AC_MSG_RESULT(no)
 
7788
+fi
 
7789
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
 
7790
+AC_PROG_LD_GNU
 
7791
+])# AC_PROG_LD
 
7792
+
 
7793
+
 
7794
+# AC_PROG_LD_GNU
 
7795
+# --------------
 
7796
+AC_DEFUN([AC_PROG_LD_GNU],
 
7797
+[AC_REQUIRE([AC_PROG_EGREP])dnl
 
7798
+AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
 
7799
+[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
7800
+case `$LD -v 2>&1 </dev/null` in
 
7801
+*GNU* | *'with BFD'*)
 
7802
+  lt_cv_prog_gnu_ld=yes
 
7803
+  ;;
 
7804
+*)
 
7805
+  lt_cv_prog_gnu_ld=no
 
7806
+  ;;
 
7807
+esac])
 
7808
+with_gnu_ld=$lt_cv_prog_gnu_ld
 
7809
+])# AC_PROG_LD_GNU
 
7810
+
 
7811
+
 
7812
+# AC_PROG_LD_RELOAD_FLAG
 
7813
+# ----------------------
 
7814
+# find reload flag for linker
 
7815
+#   -- PORTME Some linkers may need a different reload flag.
 
7816
+AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
 
7817
+[AC_CACHE_CHECK([for $LD option to reload object files],
 
7818
+  lt_cv_ld_reload_flag,
 
7819
+  [lt_cv_ld_reload_flag='-r'])
 
7820
+reload_flag=$lt_cv_ld_reload_flag
 
7821
+case $reload_flag in
 
7822
+"" | " "*) ;;
 
7823
+*) reload_flag=" $reload_flag" ;;
 
7824
+esac
 
7825
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
7826
+])# AC_PROG_LD_RELOAD_FLAG
 
7827
+
 
7828
+
 
7829
+# AC_DEPLIBS_CHECK_METHOD
 
7830
+# -----------------------
 
7831
+# how to check for library dependencies
 
7832
+#  -- PORTME fill in with the dynamic library characteristics
 
7833
+AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
 
7834
+[AC_CACHE_CHECK([how to recognise dependent libraries],
 
7835
+lt_cv_deplibs_check_method,
 
7836
+[lt_cv_file_magic_cmd='$MAGIC_CMD'
 
7837
+lt_cv_file_magic_test_file=
 
7838
+lt_cv_deplibs_check_method='unknown'
 
7839
+# Need to set the preceding variable on all platforms that support
 
7840
+# interlibrary dependencies.
 
7841
+# 'none' -- dependencies not supported.
 
7842
+# `unknown' -- same as none, but documents that we really don't know.
 
7843
+# 'pass_all' -- all dependencies passed with no checks.
 
7844
+# 'test_compile' -- check by making test program.
 
7845
+# 'file_magic [[regex]]' -- check by looking for files in library path
 
7846
+# which responds to the $file_magic_cmd with a given extended regex.
 
7847
+# If you have `file' or equivalent on your system and you're not sure
 
7848
+# whether `pass_all' will *always* work, you probably want this one.
 
7849
+
 
7850
+case $host_os in
 
7851
+aix4* | aix5*)
 
7852
+  lt_cv_deplibs_check_method=pass_all
 
7853
+  ;;
 
7854
+
 
7855
+beos*)
 
7856
+  lt_cv_deplibs_check_method=pass_all
 
7857
+  ;;
 
7858
+
 
7859
+bsdi4*)
 
7860
+  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
 
7861
+  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
7862
+  lt_cv_file_magic_test_file=/shlib/libc.so
 
7863
+  ;;
 
7864
+
 
7865
+cygwin*)
 
7866
+  # func_win32_libid is a shell function defined in ltmain.sh
 
7867
+  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
7868
+  lt_cv_file_magic_cmd='func_win32_libid'
 
7869
+  ;;
 
7870
+
 
7871
+mingw* | pw32*)
 
7872
+  # Base MSYS/MinGW do not provide the 'file' command needed by
 
7873
+  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
 
7874
+  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
7875
+  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
7876
+  ;;
 
7877
+
 
7878
+darwin* | rhapsody*)
 
7879
+  lt_cv_deplibs_check_method=pass_all
 
7880
+  ;;
 
7881
+
 
7882
+freebsd* | kfreebsd*-gnu)
 
7883
+  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
7884
+    case $host_cpu in
 
7885
+    i*86 )
 
7886
+      # Not sure whether the presence of OpenBSD here was a mistake.
 
7887
+      # Let's accept both of them until this is cleared up.
 
7888
+      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
 
7889
+      lt_cv_file_magic_cmd=/usr/bin/file
 
7890
+      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
7891
+      ;;
 
7892
+    esac
 
7893
+  else
 
7894
+    lt_cv_deplibs_check_method=pass_all
 
7895
+  fi
 
7896
+  ;;
 
7897
+
 
7898
+gnu*)
 
7899
+  lt_cv_deplibs_check_method=pass_all
 
7900
+  ;;
 
7901
+
 
7902
+hpux10.20* | hpux11*)
 
7903
+  lt_cv_file_magic_cmd=/usr/bin/file
 
7904
+  case "$host_cpu" in
 
7905
+  ia64*)
 
7906
+    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
 
7907
+    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
7908
+    ;;
 
7909
+  hppa*64*)
 
7910
+    [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]']
 
7911
+    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
7912
+    ;;
 
7913
+  *)
 
7914
+    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
 
7915
+    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
7916
+    ;;
 
7917
+  esac
 
7918
+  ;;
 
7919
+
 
7920
+irix5* | irix6* | nonstopux*)
 
7921
+  case $LD in
 
7922
+  *-32|*"-32 ") libmagic=32-bit;;
 
7923
+  *-n32|*"-n32 ") libmagic=N32;;
 
7924
+  *-64|*"-64 ") libmagic=64-bit;;
 
7925
+  *) libmagic=never-match;;
 
7926
+  esac
 
7927
+  lt_cv_deplibs_check_method=pass_all
 
7928
+  ;;
 
7929
+
 
7930
+# This must be Linux ELF.
 
7931
+linux*)
 
7932
+  lt_cv_deplibs_check_method=pass_all
 
7933
+  ;;
 
7934
+
 
7935
+netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
7936
+  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
7937
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
 
7938
+  else
 
7939
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
 
7940
+  fi
 
7941
+  ;;
 
7942
+
 
7943
+newos6*)
 
7944
+  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
 
7945
+  lt_cv_file_magic_cmd=/usr/bin/file
 
7946
+  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
7947
+  ;;
 
7948
+
 
7949
+nto-qnx*)
 
7950
+  lt_cv_deplibs_check_method=unknown
 
7951
+  ;;
 
7952
+
 
7953
+openbsd*)
 
7954
+  lt_cv_file_magic_cmd=/usr/bin/file
 
7955
+  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
7956
+  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
7957
+    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
 
7958
+  else
 
7959
+    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
 
7960
+  fi
 
7961
+  ;;
 
7962
+
 
7963
+osf3* | osf4* | osf5*)
 
7964
+  lt_cv_deplibs_check_method=pass_all
 
7965
+  ;;
 
7966
+
 
7967
+sco3.2v5*)
 
7968
+  lt_cv_deplibs_check_method=pass_all
 
7969
+  ;;
 
7970
+
 
7971
+solaris*)
 
7972
+  lt_cv_deplibs_check_method=pass_all
 
7973
+  ;;
 
7974
+
 
7975
+sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
7976
+  case $host_vendor in
 
7977
+  motorola)
 
7978
+    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]]'
 
7979
+    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
7980
+    ;;
 
7981
+  ncr)
 
7982
+    lt_cv_deplibs_check_method=pass_all
 
7983
+    ;;
 
7984
+  sequent)
 
7985
+    lt_cv_file_magic_cmd='/bin/file'
 
7986
+    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
 
7987
+    ;;
 
7988
+  sni)
 
7989
+    lt_cv_file_magic_cmd='/bin/file'
 
7990
+    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
 
7991
+    lt_cv_file_magic_test_file=/lib/libc.so
 
7992
+    ;;
 
7993
+  siemens)
 
7994
+    lt_cv_deplibs_check_method=pass_all
 
7995
+    ;;
 
7996
+  esac
 
7997
+  ;;
 
7998
+
 
7999
+sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
 
8000
+  lt_cv_deplibs_check_method=pass_all
 
8001
+  ;;
 
8002
+esac
 
8003
+])
 
8004
+file_magic_cmd=$lt_cv_file_magic_cmd
 
8005
+deplibs_check_method=$lt_cv_deplibs_check_method
 
8006
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
8007
+])# AC_DEPLIBS_CHECK_METHOD
 
8008
+
 
8009
+
 
8010
+# AC_PROG_NM
 
8011
+# ----------
 
8012
+# find the pathname to a BSD-compatible name lister
 
8013
+AC_DEFUN([AC_PROG_NM],
 
8014
+[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
 
8015
+[if test -n "$NM"; then
 
8016
+  # Let the user override the test.
 
8017
+  lt_cv_path_NM="$NM"
 
8018
+else
 
8019
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8020
+  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
 
8021
+    IFS="$lt_save_ifs"
 
8022
+    test -z "$ac_dir" && ac_dir=.
 
8023
+    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
 
8024
+    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
8025
+      # Check to see if the nm accepts a BSD-compat flag.
 
8026
+      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
8027
+      #   nm: unknown option "B" ignored
 
8028
+      # Tru64's nm complains that /dev/null is an invalid object file
 
8029
+      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
8030
+      */dev/null* | *'Invalid file or object type'*)
 
8031
+       lt_cv_path_NM="$tmp_nm -B"
 
8032
+       break
 
8033
+        ;;
 
8034
+      *)
 
8035
+       case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
8036
+       */dev/null*)
 
8037
+         lt_cv_path_NM="$tmp_nm -p"
 
8038
+         break
 
8039
+         ;;
 
8040
+       *)
 
8041
+         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
8042
+         continue # so that we can try to find one that supports BSD flags
 
8043
+         ;;
 
8044
+       esac
 
8045
+      esac
 
8046
+    fi
 
8047
+  done
 
8048
+  IFS="$lt_save_ifs"
 
8049
+  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 
8050
+fi])
 
8051
+NM="$lt_cv_path_NM"
 
8052
+])# AC_PROG_NM
 
8053
+
 
8054
+
 
8055
+# AC_CHECK_LIBM
 
8056
+# -------------
 
8057
+# check for math library
 
8058
+AC_DEFUN([AC_CHECK_LIBM],
 
8059
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
8060
+LIBM=
 
8061
+case $host in
 
8062
+*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
 
8063
+  # These system don't have libm, or don't need it
 
8064
+  ;;
 
8065
+*-ncr-sysv4.3*)
 
8066
+  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
 
8067
+  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
 
8068
+  ;;
 
8069
+*)
 
8070
+  AC_CHECK_LIB(m, cos, LIBM="-lm")
 
8071
+  ;;
 
8072
+esac
 
8073
+])# AC_CHECK_LIBM
 
8074
+
 
8075
+
 
8076
+# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
 
8077
+# -----------------------------------
 
8078
+# sets LIBLTDL to the link flags for the libltdl convenience library and
 
8079
+# LTDLINCL to the include flags for the libltdl header and adds
 
8080
+# --enable-ltdl-convenience to the configure arguments.  Note that LIBLTDL
 
8081
+# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If
 
8082
+# DIRECTORY is not provided, it is assumed to be `libltdl'.  LIBLTDL will
 
8083
+# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with
 
8084
+# '${top_srcdir}/' (note the single quotes!).  If your package is not
 
8085
+# flat and you're not using automake, define top_builddir and
 
8086
+# top_srcdir appropriately in the Makefiles.
 
8087
+AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
 
8088
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
 
8089
+  case $enable_ltdl_convenience in
 
8090
+  no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
 
8091
+  "") enable_ltdl_convenience=yes
 
8092
+      ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
 
8093
+  esac
 
8094
+  LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
 
8095
+  LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
 
8096
+  # For backwards non-gettext consistent compatibility...
 
8097
+  INCLTDL="$LTDLINCL"
 
8098
+])# AC_LIBLTDL_CONVENIENCE
 
8099
+
 
8100
+
 
8101
+# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
 
8102
+# -----------------------------------
 
8103
+# sets LIBLTDL to the link flags for the libltdl installable library and
 
8104
+# LTDLINCL to the include flags for the libltdl header and adds
 
8105
+# --enable-ltdl-install to the configure arguments.  Note that LIBLTDL
 
8106
+# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If
 
8107
+# DIRECTORY is not provided and an installed libltdl is not found, it is
 
8108
+# assumed to be `libltdl'.  LIBLTDL will be prefixed with '${top_builddir}/'
 
8109
+# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
 
8110
+# quotes!).  If your package is not flat and you're not using automake,
 
8111
+# define top_builddir and top_srcdir appropriately in the Makefiles.
 
8112
+# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
 
8113
+AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
 
8114
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
 
8115
+  AC_CHECK_LIB(ltdl, lt_dlinit,
 
8116
+  [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
 
8117
+  [if test x"$enable_ltdl_install" = xno; then
 
8118
+     AC_MSG_WARN([libltdl not installed, but installation disabled])
 
8119
+   else
 
8120
+     enable_ltdl_install=yes
 
8121
+   fi
 
8122
+  ])
 
8123
+  if test x"$enable_ltdl_install" = x"yes"; then
 
8124
+    ac_configure_args="$ac_configure_args --enable-ltdl-install"
 
8125
+    LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
 
8126
+    LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
 
8127
+  else
 
8128
+    ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
 
8129
+    LIBLTDL="-lltdl"
 
8130
+    LTDLINCL=
 
8131
+  fi
 
8132
+  # For backwards non-gettext consistent compatibility...
 
8133
+  INCLTDL="$LTDLINCL"
 
8134
+])# AC_LIBLTDL_INSTALLABLE
 
8135
+
 
8136
+
 
8137
+# AC_LIBTOOL_CXX
 
8138
+# --------------
 
8139
+# enable support for C++ libraries
 
8140
+AC_DEFUN([AC_LIBTOOL_CXX],
 
8141
+[AC_REQUIRE([_LT_AC_LANG_CXX])
 
8142
+])# AC_LIBTOOL_CXX
 
8143
+
 
8144
+
 
8145
+# _LT_AC_LANG_CXX
 
8146
+# ---------------
 
8147
+AC_DEFUN([_LT_AC_LANG_CXX],
 
8148
+[AC_REQUIRE([AC_PROG_CXX])
 
8149
+AC_REQUIRE([AC_PROG_CXXCPP])
 
8150
+_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
 
8151
+])# _LT_AC_LANG_CXX
 
8152
+
 
8153
+
 
8154
+# AC_LIBTOOL_F77
 
8155
+# --------------
 
8156
+# enable support for Fortran 77 libraries
 
8157
+AC_DEFUN([AC_LIBTOOL_F77],
 
8158
+[AC_REQUIRE([_LT_AC_LANG_F77])
 
8159
+])# AC_LIBTOOL_F77
 
8160
+
 
8161
+
 
8162
+# _LT_AC_LANG_F77
 
8163
+# ---------------
 
8164
+AC_DEFUN([_LT_AC_LANG_F77],
 
8165
+[AC_REQUIRE([AC_PROG_F77])
 
8166
+_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
 
8167
+])# _LT_AC_LANG_F77
 
8168
+
 
8169
+
 
8170
+# AC_LIBTOOL_GCJ
 
8171
+# --------------
 
8172
+# enable support for GCJ libraries
 
8173
+AC_DEFUN([AC_LIBTOOL_GCJ],
 
8174
+[AC_REQUIRE([_LT_AC_LANG_GCJ])
 
8175
+])# AC_LIBTOOL_GCJ
 
8176
+
 
8177
+
 
8178
+# _LT_AC_LANG_GCJ
 
8179
+# ---------------
 
8180
+AC_DEFUN([_LT_AC_LANG_GCJ],
 
8181
+[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
 
8182
+  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
 
8183
+    [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
 
8184
+      [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
 
8185
+        [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
 
8186
+          [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
 
8187
+_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
 
8188
+])# _LT_AC_LANG_GCJ
 
8189
+
 
8190
+
 
8191
+# AC_LIBTOOL_RC
 
8192
+# --------------
 
8193
+# enable support for Windows resource files
 
8194
+AC_DEFUN([AC_LIBTOOL_RC],
 
8195
+[AC_REQUIRE([LT_AC_PROG_RC])
 
8196
+_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
 
8197
+])# AC_LIBTOOL_RC
 
8198
+
 
8199
+
 
8200
+# AC_LIBTOOL_LANG_C_CONFIG
 
8201
+# ------------------------
 
8202
+# Ensure that the configuration vars for the C compiler are
 
8203
+# suitably defined.  Those variables are subsequently used by
 
8204
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
 
8205
+AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
 
8206
+AC_DEFUN([_LT_AC_LANG_C_CONFIG],
 
8207
+[lt_save_CC="$CC"
 
8208
+AC_LANG_PUSH(C)
 
8209
+
 
8210
+# Source file extension for C test sources.
 
8211
+ac_ext=c
 
8212
+
 
8213
+# Object file extension for compiled C test sources.
 
8214
+objext=o
 
8215
+_LT_AC_TAGVAR(objext, $1)=$objext
 
8216
+
 
8217
+# Code to be used in simple compile tests
 
8218
+lt_simple_compile_test_code="int some_variable = 0;\n"
 
8219
+
 
8220
+# Code to be used in simple link tests
 
8221
+lt_simple_link_test_code='int main(){return(0);}\n'
 
8222
+
 
8223
+_LT_AC_SYS_COMPILER
 
8224
+
 
8225
+#
 
8226
+# Check for any special shared library compilation flags.
 
8227
+#
 
8228
+_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
 
8229
+if test "$GCC" = no; then
 
8230
+  case $host_os in
 
8231
+  sco3.2v5*)
 
8232
+    _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
 
8233
+    ;;
 
8234
+  esac
 
8235
+fi
 
8236
+if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
 
8237
+  AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
 
8238
+  if echo "$old_CC $old_CFLAGS " | grep "[[    ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[        ]]" >/dev/null; then :
 
8239
+  else
 
8240
+    AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
 
8241
+    _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
 
8242
+  fi
 
8243
+fi
 
8244
+
 
8245
+
 
8246
+#
 
8247
+# Check to make sure the static flag actually works.
 
8248
+#
 
8249
+AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
 
8250
+  _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
 
8251
+  $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
 
8252
+  [],
 
8253
+  [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
 
8254
+
 
8255
+
 
8256
+AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
 
8257
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
 
8258
+AC_LIBTOOL_PROG_CC_C_O($1)
 
8259
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
 
8260
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
 
8261
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
 
8262
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
 
8263
+AC_LIBTOOL_SYS_LIB_STRIP
 
8264
+AC_LIBTOOL_DLOPEN_SELF($1)
 
8265
+
 
8266
+# Report which librarie types wil actually be built
 
8267
+AC_MSG_CHECKING([if libtool supports shared libraries])
 
8268
+AC_MSG_RESULT([$can_build_shared])
 
8269
+
 
8270
+AC_MSG_CHECKING([whether to build shared libraries])
 
8271
+test "$can_build_shared" = "no" && enable_shared=no
 
8272
+
 
8273
+# On AIX, shared libraries and static libraries use the same namespace, and
 
8274
+# are all built from PIC.
 
8275
+case "$host_os" in
 
8276
+aix3*)
 
8277
+  test "$enable_shared" = yes && enable_static=no
 
8278
+  if test -n "$RANLIB"; then
 
8279
+    archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
8280
+    postinstall_cmds='$RANLIB $lib'
 
8281
+  fi
 
8282
+  ;;
 
8283
+
 
8284
+aix4* | aix5*)
 
8285
+  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
8286
+    test "$enable_shared" = yes && enable_static=no
 
8287
+  fi
 
8288
+  ;;
 
8289
+  darwin* | rhapsody*)
 
8290
+  if test "$GCC" = yes; then
 
8291
+    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
 
8292
+    case "$host_os" in
 
8293
+    rhapsody* | darwin1.[[012]])
 
8294
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
 
8295
+      ;;
 
8296
+    *) # Darwin 1.3 on
 
8297
+      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
8298
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
 
8299
+      else
 
8300
+        case ${MACOSX_DEPLOYMENT_TARGET} in
 
8301
+          10.[[012]])
 
8302
+            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
 
8303
+            ;;
 
8304
+          10.*)
 
8305
+            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
 
8306
+            ;;
 
8307
+        esac
 
8308
+      fi
 
8309
+      ;;
 
8310
+    esac
 
8311
+    output_verbose_link_cmd='echo'
 
8312
+    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
 
8313
+    _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
8314
+    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
 
8315
+    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
8316
+    _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}'
 
8317
+    _LT_AC_TAGVAR(hardcode_direct, $1)=no
 
8318
+    _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
 
8319
+    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
 
8320
+    _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
 
8321
+    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
 
8322
+  else
 
8323
+    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
8324
+  fi
 
8325
+    ;;
 
8326
+esac
 
8327
+AC_MSG_RESULT([$enable_shared])
 
8328
+
 
8329
+AC_MSG_CHECKING([whether to build static libraries])
 
8330
+# Make sure either enable_shared or enable_static is yes.
 
8331
+test "$enable_shared" = yes || enable_static=yes
 
8332
+AC_MSG_RESULT([$enable_static])
 
8333
+
 
8334
+AC_LIBTOOL_CONFIG($1)
 
8335
+
 
8336
+AC_LANG_POP
 
8337
+CC="$lt_save_CC"
 
8338
+])# AC_LIBTOOL_LANG_C_CONFIG
 
8339
+
 
8340
+
 
8341
+# AC_LIBTOOL_LANG_CXX_CONFIG
 
8342
+# --------------------------
 
8343
+# Ensure that the configuration vars for the C compiler are
 
8344
+# suitably defined.  Those variables are subsequently used by
 
8345
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
 
8346
+AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
 
8347
+AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
 
8348
+[AC_LANG_PUSH(C++)
 
8349
+AC_REQUIRE([AC_PROG_CXX])
 
8350
+AC_REQUIRE([AC_PROG_CXXCPP])
 
8351
+
 
8352
+_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
 
8353
+_LT_AC_TAGVAR(allow_undefined_flag, $1)=
 
8354
+_LT_AC_TAGVAR(always_export_symbols, $1)=no
 
8355
+_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
 
8356
+_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
 
8357
+_LT_AC_TAGVAR(hardcode_direct, $1)=no
 
8358
+_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
8359
+_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
 
8360
+_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
 
8361
+_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
 
8362
+_LT_AC_TAGVAR(hardcode_automatic, $1)=no
 
8363
+_LT_AC_TAGVAR(module_cmds, $1)=
 
8364
+_LT_AC_TAGVAR(module_expsym_cmds, $1)=
 
8365
+_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
 
8366
+_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
8367
+_LT_AC_TAGVAR(no_undefined_flag, $1)=
 
8368
+_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
 
8369
+_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
 
8370
+
 
8371
+# Dependencies to place before and after the object being linked:
 
8372
+_LT_AC_TAGVAR(predep_objects, $1)=
 
8373
+_LT_AC_TAGVAR(postdep_objects, $1)=
 
8374
+_LT_AC_TAGVAR(predeps, $1)=
 
8375
+_LT_AC_TAGVAR(postdeps, $1)=
 
8376
+_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
 
8377
+
 
8378
+# Source file extension for C++ test sources.
 
8379
+ac_ext=cc
 
8380
+
 
8381
+# Object file extension for compiled C++ test sources.
 
8382
+objext=o
 
8383
+_LT_AC_TAGVAR(objext, $1)=$objext
 
8384
+
 
8385
+# Code to be used in simple compile tests
 
8386
+lt_simple_compile_test_code="int some_variable = 0;\n"
 
8387
+
 
8388
+# Code to be used in simple link tests
 
8389
+lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
 
8390
+
 
8391
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
8392
+_LT_AC_SYS_COMPILER
 
8393
+
 
8394
+# Allow CC to be a program name with arguments.
 
8395
+lt_save_CC=$CC
 
8396
+lt_save_LD=$LD
 
8397
+lt_save_GCC=$GCC
 
8398
+GCC=$GXX
 
8399
+lt_save_with_gnu_ld=$with_gnu_ld
 
8400
+lt_save_path_LD=$lt_cv_path_LD
 
8401
+if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
 
8402
+  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 
8403
+else
 
8404
+  unset lt_cv_prog_gnu_ld
 
8405
+fi
 
8406
+if test -n "${lt_cv_path_LDCXX+set}"; then
 
8407
+  lt_cv_path_LD=$lt_cv_path_LDCXX
 
8408
+else
 
8409
+  unset lt_cv_path_LD
 
8410
+fi
 
8411
+test -z "${LDCXX+set}" || LD=$LDCXX
 
8412
+CC=${CXX-"c++"}
 
8413
+compiler=$CC
 
8414
+_LT_AC_TAGVAR(compiler, $1)=$CC
 
8415
+cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
 
8416
+
 
8417
+# We don't want -fno-exception wen compiling C++ code, so set the
 
8418
+# no_builtin_flag separately
 
8419
+if test "$GXX" = yes; then
 
8420
+  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
 
8421
+else
 
8422
+  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
 
8423
+fi
 
8424
+
 
8425
+if test "$GXX" = yes; then
 
8426
+  # Set up default GNU C++ configuration
 
8427
+
 
8428
+  AC_PROG_LD
 
8429
+
 
8430
+  # Check if GNU C++ uses GNU ld as the underlying linker, since the
 
8431
+  # archiving commands below assume that GNU ld is being used.
 
8432
+  if test "$with_gnu_ld" = yes; then
 
8433
+    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8434
+    _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'
 
8435
+
 
8436
+    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
 
8437
+    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
 
8438
+
 
8439
+    # If archive_cmds runs LD, not CC, wlarc should be empty
 
8440
+    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 
8441
+    #     investigate it a little bit more. (MM)
 
8442
+    wlarc='${wl}'
 
8443
+
 
8444
+    # ancient GNU ld didn't support --whole-archive et. al.
 
8445
+    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
 
8446
+       grep 'no-whole-archive' > /dev/null; then
 
8447
+      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
8448
+    else
 
8449
+      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
 
8450
+    fi
 
8451
+  else
 
8452
+    with_gnu_ld=no
 
8453
+    wlarc=
 
8454
+
 
8455
+    # A generic and very simple default shared library creation
 
8456
+    # command for GNU C++ for the case where it uses the native
 
8457
+    # linker, instead of GNU ld.  If possible, this setting should
 
8458
+    # overridden to take advantage of the native linker features on
 
8459
+    # the platform it is being used on.
 
8460
+    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
8461
+  fi
 
8462
+
 
8463
+  # Commands to make compiler produce verbose output that lists
 
8464
+  # what "hidden" libraries, object files and flags are used when
 
8465
+  # linking a shared library.
 
8466
+  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 
8467
+
 
8468
+else
 
8469
+  GXX=no
 
8470
+  with_gnu_ld=no
 
8471
+  wlarc=
 
8472
+fi
 
8473
+
 
8474
+# PORTME: fill in a description of your system's C++ link characteristics
 
8475
+AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
 
8476
+_LT_AC_TAGVAR(ld_shlibs, $1)=yes
 
8477
+case $host_os in
 
8478
+  aix3*)
 
8479
+    # FIXME: insert proper C++ library support
 
8480
+    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
8481
+    ;;
 
8482
+  aix4* | aix5*)
 
8483
+    if test "$host_cpu" = ia64; then
 
8484
+      # On IA64, the linker does run time linking by default, so we don't
 
8485
+      # have to do anything special.
 
8486
+      aix_use_runtimelinking=no
 
8487
+      exp_sym_flag='-Bexport'
 
8488
+      no_entry_flag=""
 
8489
+    else
 
8490
+      aix_use_runtimelinking=no
 
8491
+
 
8492
+      # Test if we are trying to use run time linking or normal
 
8493
+      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
8494
+      # need to do runtime linking.
 
8495
+      case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
 
8496
+       for ld_flag in $LDFLAGS; do
 
8497
+         case $ld_flag in
 
8498
+         *-brtl*)
 
8499
+           aix_use_runtimelinking=yes
 
8500
+           break
 
8501
+           ;;
 
8502
+         esac
 
8503
+       done
 
8504
+      esac
 
8505
+
 
8506
+      exp_sym_flag='-bexport'
 
8507
+      no_entry_flag='-bnoentry'
 
8508
+    fi
 
8509
+
 
8510
+    # When large executables or shared objects are built, AIX ld can
 
8511
+    # have problems creating the table of contents.  If linking a library
 
8512
+    # or program results in "error TOC overflow" add -mminimal-toc to
 
8513
+    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
8514
+    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
8515
+
 
8516
+    _LT_AC_TAGVAR(archive_cmds, $1)=''
 
8517
+    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
8518
+    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
 
8519
+    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
 
8520
+
 
8521
+    if test "$GXX" = yes; then
 
8522
+      case $host_os in aix4.[012]|aix4.[012].*)
 
8523
+      # We only want to do this on AIX 4.2 and lower, the check
 
8524
+      # below for broken collect2 doesn't work under 4.3+
 
8525
+       collect2name=`${CC} -print-prog-name=collect2`
 
8526
+       if test -f "$collect2name" && \
 
8527
+          strings "$collect2name" | grep resolve_lib_name >/dev/null
 
8528
+       then
 
8529
+         # We have reworked collect2
 
8530
+         _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
8531
+       else
 
8532
+         # We have old collect2
 
8533
+         _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
 
8534
+         # It fails to find uninstalled libraries when the uninstalled
 
8535
+         # path is not listed in the libpath.  Setting hardcode_minus_L
 
8536
+         # to unsupported forces relinking
 
8537
+         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
 
8538
+         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
8539
+         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
 
8540
+       fi
 
8541
+      esac
 
8542
+      shared_flag='-shared'
 
8543
+    else
 
8544
+      # not using gcc
 
8545
+      if test "$host_cpu" = ia64; then
 
8546
+       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
8547
+       # chokes on -Wl,-G. The following line is correct:
 
8548
+       shared_flag='-G'
 
8549
+      else
 
8550
+       if test "$aix_use_runtimelinking" = yes; then
 
8551
+         shared_flag='${wl}-G'
 
8552
+       else
 
8553
+         shared_flag='${wl}-bM:SRE'
 
8554
+       fi
 
8555
+      fi
 
8556
+    fi
 
8557
+
 
8558
+    # It seems that -bexpall does not export symbols beginning with
 
8559
+    # underscore (_), so it is better to generate a list of symbols to export.
 
8560
+    _LT_AC_TAGVAR(always_export_symbols, $1)=yes
 
8561
+    if test "$aix_use_runtimelinking" = yes; then
 
8562
+      # Warning - without using the other runtime loading flags (-brtl),
 
8563
+      # -berok will link without error, but may produce a broken library.
 
8564
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
 
8565
+      # Determine the default libpath from the value encoded in an empty executable.
 
8566
+      _LT_AC_SYS_LIBPATH_AIX
 
8567
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 
8568
+
 
8569
+      _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
8570
+     else
 
8571
+      if test "$host_cpu" = ia64; then
 
8572
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
 
8573
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
 
8574
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
8575
+      else
 
8576
+       # Determine the default libpath from the value encoded in an empty executable.
 
8577
+       _LT_AC_SYS_LIBPATH_AIX
 
8578
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 
8579
+       # Warning - without using the other run time loading flags,
 
8580
+       # -berok will link without error, but may produce a broken library.
 
8581
+       _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
 
8582
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
 
8583
+       # -bexpall does not export symbols beginning with underscore (_)
 
8584
+       _LT_AC_TAGVAR(always_export_symbols, $1)=yes
 
8585
+       # Exported symbols can be pulled into shared objects from archives
 
8586
+       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
 
8587
+       _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
 
8588
+       # This is similar to how AIX traditionally builds it's shared libraries.
 
8589
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
8590
+      fi
 
8591
+    fi
 
8592
+    ;;
 
8593
+  chorus*)
 
8594
+    case $cc_basename in
 
8595
+      *)
 
8596
+       # FIXME: insert proper C++ library support
 
8597
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
8598
+       ;;
 
8599
+    esac
 
8600
+    ;;
 
8601
+
 
8602
+  cygwin* | mingw* | pw32*)
 
8603
+    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
 
8604
+    # as there is no search path for DLLs.
 
8605
+    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
8606
+    _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
 
8607
+    _LT_AC_TAGVAR(always_export_symbols, $1)=no
 
8608
+    _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
 
8609
+
 
8610
+    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
8611
+      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
8612
+      # If the export-symbols file already is a .def file (1st line
 
8613
+      # is EXPORTS), use it as is; otherwise, prepend...
 
8614
+      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
8615
+       cp $export_symbols $output_objdir/$soname.def;
 
8616
+      else
 
8617
+       echo EXPORTS > $output_objdir/$soname.def;
 
8618
+       cat $export_symbols >> $output_objdir/$soname.def;
 
8619
+      fi~
 
8620
+      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
8621
+    else
 
8622
+      _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
8623
+    fi
 
8624
+  ;;
 
8625
+
 
8626
+  darwin* | rhapsody*)
 
8627
+  if test "$GXX" = yes; then
 
8628
+    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
 
8629
+    case "$host_os" in
 
8630
+    rhapsody* | darwin1.[[012]])
 
8631
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
 
8632
+      ;;
 
8633
+    *) # Darwin 1.3 on
 
8634
+      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
8635
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
 
8636
+      else
 
8637
+        case ${MACOSX_DEPLOYMENT_TARGET} in
 
8638
+          10.[[012]])
 
8639
+            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
 
8640
+            ;;
 
8641
+          10.*)
 
8642
+            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
 
8643
+            ;;
 
8644
+        esac
 
8645
+      fi
 
8646
+      ;;
 
8647
+    esac
 
8648
+    lt_int_apple_cc_single_mod=no
 
8649
+    output_verbose_link_cmd='echo'
 
8650
+    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
 
8651
+      lt_int_apple_cc_single_mod=yes
 
8652
+    fi
 
8653
+    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
8654
+      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
8655
+    else
 
8656
+      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -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'
 
8657
+    fi
 
8658
+    _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
8659
+
 
8660
+    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
 
8661
+    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
8662
+      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
8663
+    else
 
8664
+      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
8665
+    fi
 
8666
+    _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}'
 
8667
+    _LT_AC_TAGVAR(hardcode_direct, $1)=no
 
8668
+    _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
 
8669
+    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
 
8670
+    _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
 
8671
+    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
 
8672
+  else
 
8673
+    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
8674
+  fi
 
8675
+    ;;
 
8676
+
 
8677
+  dgux*)
 
8678
+    case $cc_basename in
 
8679
+      ec++)
 
8680
+       # FIXME: insert proper C++ library support
 
8681
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
8682
+       ;;
 
8683
+      ghcx)
 
8684
+       # Green Hills C++ Compiler
 
8685
+       # FIXME: insert proper C++ library support
 
8686
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
8687
+       ;;
 
8688
+      *)
 
8689
+       # FIXME: insert proper C++ library support
 
8690
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
8691
+       ;;
 
8692
+    esac
 
8693
+    ;;
 
8694
+  freebsd[12]*)
 
8695
+    # C++ shared libraries reported to be fairly broken before switch to ELF
 
8696
+    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
8697
+    ;;
 
8698
+  freebsd-elf*)
 
8699
+    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
 
8700
+    ;;
 
8701
+  freebsd* | kfreebsd*-gnu)
 
8702
+    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 
8703
+    # conventions
 
8704
+    _LT_AC_TAGVAR(ld_shlibs, $1)=yes
 
8705
+    ;;
 
8706
+  gnu*)
 
8707
+    ;;
 
8708
+  hpux9*)
 
8709
+    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
 
8710
+    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
8711
+    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
8712
+    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
8713
+    _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
 
8714
+                               # but as the default
 
8715
+                               # location of the library.
 
8716
+
 
8717
+    case $cc_basename in
 
8718
+    CC)
 
8719
+      # FIXME: insert proper C++ library support
 
8720
+      _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
8721
+      ;;
 
8722
+    aCC)
 
8723
+      _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'
 
8724
+      # Commands to make compiler produce verbose output that lists
 
8725
+      # what "hidden" libraries, object files and flags are used when
 
8726
+      # linking a shared library.
 
8727
+      #
 
8728
+      # There doesn't appear to be a way to prevent this compiler from
 
8729
+      # explicitly linking system object files so we need to strip them
 
8730
+      # from the output so that they don't get included in the library
 
8731
+      # dependencies.
 
8732
+      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'
 
8733
+      ;;
 
8734
+    *)
 
8735
+      if test "$GXX" = yes; then
 
8736
+        _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'
 
8737
+      else
 
8738
+        # FIXME: insert proper C++ library support
 
8739
+        _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
8740
+      fi
 
8741
+      ;;
 
8742
+    esac
 
8743
+    ;;
 
8744
+  hpux10*|hpux11*)
 
8745
+    if test $with_gnu_ld = no; then
 
8746
+      case "$host_cpu" in
 
8747
+      hppa*64*)
 
8748
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
 
8749
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
 
8750
+       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
8751
+        ;;
 
8752
+      ia64*)
 
8753
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
8754
+        ;;
 
8755
+      *)
 
8756
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
 
8757
+       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
8758
+       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
8759
+        ;;
 
8760
+      esac
 
8761
+    fi
 
8762
+    case "$host_cpu" in
 
8763
+    hppa*64*)
 
8764
+      _LT_AC_TAGVAR(hardcode_direct, $1)=no
 
8765
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
8766
+      ;;
 
8767
+    ia64*)
 
8768
+      _LT_AC_TAGVAR(hardcode_direct, $1)=no
 
8769
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
8770
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
 
8771
+                                             # but as the default
 
8772
+                                             # location of the library.
 
8773
+      ;;
 
8774
+    *)
 
8775
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
8776
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
 
8777
+                                             # but as the default
 
8778
+                                             # location of the library.
 
8779
+      ;;
 
8780
+    esac
 
8781
+
 
8782
+    case $cc_basename in
 
8783
+      CC)
 
8784
+       # FIXME: insert proper C++ library support
 
8785
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
8786
+       ;;
 
8787
+      aCC)
 
8788
+       case "$host_cpu" in
 
8789
+       hppa*64*|ia64*)
 
8790
+         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
8791
+         ;;
 
8792
+       *)
 
8793
+         _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'
 
8794
+         ;;
 
8795
+       esac
 
8796
+       # Commands to make compiler produce verbose output that lists
 
8797
+       # what "hidden" libraries, object files and flags are used when
 
8798
+       # linking a shared library.
 
8799
+       #
 
8800
+       # There doesn't appear to be a way to prevent this compiler from
 
8801
+       # explicitly linking system object files so we need to strip them
 
8802
+       # from the output so that they don't get included in the library
 
8803
+       # dependencies.
 
8804
+       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'
 
8805
+       ;;
 
8806
+      *)
 
8807
+       if test "$GXX" = yes; then
 
8808
+         if test $with_gnu_ld = no; then
 
8809
+           case "$host_cpu" in
 
8810
+           ia64*|hppa*64*)
 
8811
+             _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
8812
+             ;;
 
8813
+           *)
 
8814
+             _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'
 
8815
+             ;;
 
8816
+           esac
 
8817
+         fi
 
8818
+       else
 
8819
+         # FIXME: insert proper C++ library support
 
8820
+         _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
8821
+       fi
 
8822
+       ;;
 
8823
+    esac
 
8824
+    ;;
 
8825
+  irix5* | irix6*)
 
8826
+    case $cc_basename in
 
8827
+      CC)
 
8828
+       # SGI C++
 
8829
+       _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 ${objdir}/so_locations -o $lib'
 
8830
+
 
8831
+       # Archives containing C++ object files must be created using
 
8832
+       # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
 
8833
+       # necessary to make sure instantiated templates are included
 
8834
+       # in the archive.
 
8835
+       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
 
8836
+       ;;
 
8837
+      *)
 
8838
+       if test "$GXX" = yes; then
 
8839
+         if test "$with_gnu_ld" = no; then
 
8840
+           _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}${objdir}/so_locations -o $lib'
 
8841
+         else
 
8842
+           _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'
 
8843
+         fi
 
8844
+       fi
 
8845
+       _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
 
8846
+       ;;
 
8847
+    esac
 
8848
+    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
8849
+    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
8850
+    ;;
 
8851
+  linux*)
 
8852
+    case $cc_basename in
 
8853
+      KCC)
 
8854
+       # Kuck and Associates, Inc. (KAI) C++ Compiler
 
8855
+
 
8856
+       # KCC will only create a shared library if the output file
 
8857
+       # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
8858
+       # to its proper name (with version) after linking.
 
8859
+       _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'
 
8860
+       _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'
 
8861
+       # Commands to make compiler produce verbose output that lists
 
8862
+       # what "hidden" libraries, object files and flags are used when
 
8863
+       # linking a shared library.
 
8864
+       #
 
8865
+       # There doesn't appear to be a way to prevent this compiler from
 
8866
+       # explicitly linking system object files so we need to strip them
 
8867
+       # from the output so that they don't get included in the library
 
8868
+       # dependencies.
 
8869
+       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'
 
8870
+
 
8871
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
 
8872
+       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
 
8873
+
 
8874
+       # Archives containing C++ object files must be created using
 
8875
+       # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 
8876
+       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
 
8877
+       ;;
 
8878
+      icpc)
 
8879
+       # Intel C++
 
8880
+       with_gnu_ld=yes
 
8881
+       _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
 
8882
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8883
+       _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'
 
8884
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
8885
+       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
 
8886
+       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
8887
+       ;;
 
8888
+      cxx)
 
8889
+       # Compaq C++
 
8890
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8891
+       _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'
 
8892
+
 
8893
+       runpath_var=LD_RUN_PATH
 
8894
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
 
8895
+       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
8896
+
 
8897
+       # Commands to make compiler produce verbose output that lists
 
8898
+       # what "hidden" libraries, object files and flags are used when
 
8899
+       # linking a shared library.
 
8900
+       #
 
8901
+       # There doesn't appear to be a way to prevent this compiler from
 
8902
+       # explicitly linking system object files so we need to strip them
 
8903
+       # from the output so that they don't get included in the library
 
8904
+       # dependencies.
 
8905
+       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'
 
8906
+       ;;
 
8907
+    esac
 
8908
+    ;;
 
8909
+  lynxos*)
 
8910
+    # FIXME: insert proper C++ library support
 
8911
+    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
8912
+    ;;
 
8913
+  m88k*)
 
8914
+    # FIXME: insert proper C++ library support
 
8915
+    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
8916
+    ;;
 
8917
+  mvs*)
 
8918
+    case $cc_basename in
 
8919
+      cxx)
 
8920
+       # FIXME: insert proper C++ library support
 
8921
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
8922
+       ;;
 
8923
+      *)
 
8924
+       # FIXME: insert proper C++ library support
 
8925
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
8926
+       ;;
 
8927
+    esac
 
8928
+    ;;
 
8929
+  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
8930
+    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
8931
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 
8932
+      wlarc=
 
8933
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
8934
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
8935
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
8936
+    fi
 
8937
+    # Workaround some broken pre-1.5 toolchains
 
8938
+    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 
8939
+    ;;
 
8940
+  osf3*)
 
8941
+    case $cc_basename in
 
8942
+      KCC)
 
8943
+       # Kuck and Associates, Inc. (KAI) C++ Compiler
 
8944
+
 
8945
+       # KCC will only create a shared library if the output file
 
8946
+       # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
8947
+       # to its proper name (with version) after linking.
 
8948
+       _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'
 
8949
+
 
8950
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
8951
+       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
8952
+
 
8953
+       # Archives containing C++ object files must be created using
 
8954
+       # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 
8955
+       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
 
8956
+
 
8957
+       ;;
 
8958
+      RCC)
 
8959
+       # Rational C++ 2.4.1
 
8960
+       # FIXME: insert proper C++ library support
 
8961
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
8962
+       ;;
 
8963
+      cxx)
 
8964
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 
8965
+       _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 ${objdir}/so_locations -o $lib'
 
8966
+
 
8967
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
8968
+       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
8969
+
 
8970
+       # Commands to make compiler produce verbose output that lists
 
8971
+       # what "hidden" libraries, object files and flags are used when
 
8972
+       # linking a shared library.
 
8973
+       #
 
8974
+       # There doesn't appear to be a way to prevent this compiler from
 
8975
+       # explicitly linking system object files so we need to strip them
 
8976
+       # from the output so that they don't get included in the library
 
8977
+       # dependencies.
 
8978
+       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'
 
8979
+       ;;
 
8980
+      *)
 
8981
+       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
8982
+         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 
8983
+         _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}${objdir}/so_locations -o $lib'
 
8984
+
 
8985
+         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
8986
+         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
8987
+
 
8988
+         # Commands to make compiler produce verbose output that lists
 
8989
+         # what "hidden" libraries, object files and flags are used when
 
8990
+         # linking a shared library.
 
8991
+         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 
8992
+
 
8993
+       else
 
8994
+         # FIXME: insert proper C++ library support
 
8995
+         _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
8996
+       fi
 
8997
+       ;;
 
8998
+    esac
 
8999
+    ;;
 
9000
+  osf4* | osf5*)
 
9001
+    case $cc_basename in
 
9002
+      KCC)
 
9003
+       # Kuck and Associates, Inc. (KAI) C++ Compiler
 
9004
+
 
9005
+       # KCC will only create a shared library if the output file
 
9006
+       # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
9007
+       # to its proper name (with version) after linking.
 
9008
+       _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'
 
9009
+
 
9010
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
9011
+       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
9012
+
 
9013
+       # Archives containing C++ object files must be created using
 
9014
+       # the KAI C++ compiler.
 
9015
+       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
 
9016
+       ;;
 
9017
+      RCC)
 
9018
+       # Rational C++ 2.4.1
 
9019
+       # FIXME: insert proper C++ library support
 
9020
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
9021
+       ;;
 
9022
+      cxx)
 
9023
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
 
9024
+       _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 ${objdir}/so_locations -o $lib'
 
9025
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 
9026
+         echo "-hidden">> $lib.exp~
 
9027
+         $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 $objdir/so_locations -o $lib~
 
9028
+         $rm $lib.exp'
 
9029
+
 
9030
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
 
9031
+       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
9032
+
 
9033
+       # Commands to make compiler produce verbose output that lists
 
9034
+       # what "hidden" libraries, object files and flags are used when
 
9035
+       # linking a shared library.
 
9036
+       #
 
9037
+       # There doesn't appear to be a way to prevent this compiler from
 
9038
+       # explicitly linking system object files so we need to strip them
 
9039
+       # from the output so that they don't get included in the library
 
9040
+       # dependencies.
 
9041
+       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'
 
9042
+       ;;
 
9043
+      *)
 
9044
+       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
9045
+         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 
9046
+        _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}${objdir}/so_locations -o $lib'
 
9047
+
 
9048
+         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
9049
+         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
9050
+
 
9051
+         # Commands to make compiler produce verbose output that lists
 
9052
+         # what "hidden" libraries, object files and flags are used when
 
9053
+         # linking a shared library.
 
9054
+         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 
9055
+
 
9056
+       else
 
9057
+         # FIXME: insert proper C++ library support
 
9058
+         _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
9059
+       fi
 
9060
+       ;;
 
9061
+    esac
 
9062
+    ;;
 
9063
+  psos*)
 
9064
+    # FIXME: insert proper C++ library support
 
9065
+    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
9066
+    ;;
 
9067
+  sco*)
 
9068
+    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
 
9069
+    case $cc_basename in
 
9070
+      CC)
 
9071
+       # FIXME: insert proper C++ library support
 
9072
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
9073
+       ;;
 
9074
+      *)
 
9075
+       # FIXME: insert proper C++ library support
 
9076
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
9077
+       ;;
 
9078
+    esac
 
9079
+    ;;
 
9080
+  sunos4*)
 
9081
+    case $cc_basename in
 
9082
+      CC)
 
9083
+       # Sun C++ 4.x
 
9084
+       # FIXME: insert proper C++ library support
 
9085
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
9086
+       ;;
 
9087
+      lcc)
 
9088
+       # Lucid
 
9089
+       # FIXME: insert proper C++ library support
 
9090
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
9091
+       ;;
 
9092
+      *)
 
9093
+       # FIXME: insert proper C++ library support
 
9094
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
9095
+       ;;
 
9096
+    esac
 
9097
+    ;;
 
9098
+  solaris*)
 
9099
+    case $cc_basename in
 
9100
+      CC)
 
9101
+       # Sun C++ 4.2, 5.x and Centerline C++
 
9102
+       _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
 
9103
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
9104
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
9105
+       $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 
9106
+
 
9107
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
9108
+       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
9109
+       case $host_os in
 
9110
+         solaris2.[0-5] | solaris2.[0-5].*) ;;
 
9111
+         *)
 
9112
+           # The C++ compiler is used as linker so we must use $wl
 
9113
+           # flag to pass the commands to the underlying system
 
9114
+           # linker.
 
9115
+           # Supported since Solaris 2.6 (maybe 2.5.1?)
 
9116
+           _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
9117
+           ;;
 
9118
+       esac
 
9119
+       _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
 
9120
+
 
9121
+       # Commands to make compiler produce verbose output that lists
 
9122
+       # what "hidden" libraries, object files and flags are used when
 
9123
+       # linking a shared library.
 
9124
+       #
 
9125
+       # There doesn't appear to be a way to prevent this compiler from
 
9126
+       # explicitly linking system object files so we need to strip them
 
9127
+       # from the output so that they don't get included in the library
 
9128
+       # dependencies.
 
9129
+       output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
 
9130
+
 
9131
+       # Archives containing C++ object files must be created using
 
9132
+       # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
9133
+       # necessary to make sure instantiated templates are included
 
9134
+       # in the archive.
 
9135
+       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
 
9136
+       ;;
 
9137
+      gcx)
 
9138
+       # Green Hills C++ Compiler
 
9139
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
9140
+
 
9141
+       # The C++ compiler must be used to create the archive.
 
9142
+       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 
9143
+       ;;
 
9144
+      *)
 
9145
+       # GNU C++ compiler with Solaris linker
 
9146
+       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
9147
+         _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
 
9148
+         if $CC --version | grep -v '^2\.7' > /dev/null; then
 
9149
+           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
9150
+           _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
9151
+               $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 
9152
+
 
9153
+           # Commands to make compiler produce verbose output that lists
 
9154
+           # what "hidden" libraries, object files and flags are used when
 
9155
+           # linking a shared library.
 
9156
+           output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
 
9157
+         else
 
9158
+           # g++ 2.7 appears to require `-G' NOT `-shared' on this
 
9159
+           # platform.
 
9160
+           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
9161
+           _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
9162
+               $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 
9163
+
 
9164
+           # Commands to make compiler produce verbose output that lists
 
9165
+           # what "hidden" libraries, object files and flags are used when
 
9166
+           # linking a shared library.
 
9167
+           output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
 
9168
+         fi
 
9169
+
 
9170
+         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
 
9171
+       fi
 
9172
+       ;;
 
9173
+    esac
 
9174
+    ;;
 
9175
+  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
 
9176
+    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
 
9177
+    ;;
 
9178
+  tandem*)
 
9179
+    case $cc_basename in
 
9180
+      NCC)
 
9181
+       # NonStop-UX NCC 3.20
 
9182
+       # FIXME: insert proper C++ library support
 
9183
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
9184
+       ;;
 
9185
+      *)
 
9186
+       # FIXME: insert proper C++ library support
 
9187
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
9188
+       ;;
 
9189
+    esac
 
9190
+    ;;
 
9191
+  vxworks*)
 
9192
+    # FIXME: insert proper C++ library support
 
9193
+    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
9194
+    ;;
 
9195
+  *)
 
9196
+    # FIXME: insert proper C++ library support
 
9197
+    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
9198
+    ;;
 
9199
+esac
 
9200
+AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
 
9201
+test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
 
9202
+
 
9203
+_LT_AC_TAGVAR(GCC, $1)="$GXX"
 
9204
+_LT_AC_TAGVAR(LD, $1)="$LD"
 
9205
+
 
9206
+AC_LIBTOOL_POSTDEP_PREDEP($1)
 
9207
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
 
9208
+AC_LIBTOOL_PROG_CC_C_O($1)
 
9209
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
 
9210
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
 
9211
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
 
9212
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
 
9213
+AC_LIBTOOL_SYS_LIB_STRIP
 
9214
+AC_LIBTOOL_DLOPEN_SELF($1)
 
9215
+
 
9216
+AC_LIBTOOL_CONFIG($1)
 
9217
+
 
9218
+AC_LANG_POP
 
9219
+CC=$lt_save_CC
 
9220
+LDCXX=$LD
 
9221
+LD=$lt_save_LD
 
9222
+GCC=$lt_save_GCC
 
9223
+with_gnu_ldcxx=$with_gnu_ld
 
9224
+with_gnu_ld=$lt_save_with_gnu_ld
 
9225
+lt_cv_path_LDCXX=$lt_cv_path_LD
 
9226
+lt_cv_path_LD=$lt_save_path_LD
 
9227
+lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 
9228
+lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 
9229
+])# AC_LIBTOOL_LANG_CXX_CONFIG
 
9230
+
 
9231
+# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
 
9232
+# ------------------------
 
9233
+# Figure out "hidden" library dependencies from verbose
 
9234
+# compiler output when linking a shared library.
 
9235
+# Parse the compiler output and extract the necessary
 
9236
+# objects, libraries and library flags.
 
9237
+AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
 
9238
+dnl we can't use the lt_simple_compile_test_code here,
 
9239
+dnl because it contains code intended for an executable,
 
9240
+dnl not a library.  It's possible we should let each
 
9241
+dnl tag define a new lt_????_link_test_code variable,
 
9242
+dnl but it's only used here...
 
9243
+ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
 
9244
+int a;
 
9245
+void foo (void) { a = 0; }
 
9246
+EOF
 
9247
+],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
 
9248
+class Foo
 
9249
+{
 
9250
+public:
 
9251
+  Foo (void) { a = 0; }
 
9252
+private:
 
9253
+  int a;
 
9254
+};
 
9255
+EOF
 
9256
+],[$1],[F77],[cat > conftest.$ac_ext <<EOF
 
9257
+      subroutine foo
 
9258
+      implicit none
 
9259
+      integer*4 a
 
9260
+      a=0
 
9261
+      return
 
9262
+      end
 
9263
+EOF
 
9264
+],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
 
9265
+public class foo {
 
9266
+  private int a;
 
9267
+  public void bar (void) {
 
9268
+    a = 0;
 
9269
+  }
 
9270
+};
 
9271
+EOF
 
9272
+])
 
9273
+dnl Parse the compiler output and extract the necessary
 
9274
+dnl objects, libraries and library flags.
 
9275
+if AC_TRY_EVAL(ac_compile); then
 
9276
+  # Parse the compiler output and extract the necessary
 
9277
+  # objects, libraries and library flags.
 
9278
+
 
9279
+  # Sentinel used to keep track of whether or not we are before
 
9280
+  # the conftest object file.
 
9281
+  pre_test_object_deps_done=no
 
9282
+
 
9283
+  # The `*' in the case matches for architectures that use `case' in
 
9284
+  # $output_verbose_cmd can trigger glob expansion during the loop
 
9285
+  # eval without this substitution.
 
9286
+  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
 
9287
+
 
9288
+  for p in `eval $output_verbose_link_cmd`; do
 
9289
+    case $p in
 
9290
+
 
9291
+    -L* | -R* | -l*)
 
9292
+       # Some compilers place space between "-{L,R}" and the path.
 
9293
+       # Remove the space.
 
9294
+       if test $p = "-L" \
 
9295
+         || test $p = "-R"; then
 
9296
+        prev=$p
 
9297
+        continue
 
9298
+       else
 
9299
+        prev=
 
9300
+       fi
 
9301
+
 
9302
+       if test "$pre_test_object_deps_done" = no; then
 
9303
+        case $p in
 
9304
+        -L* | -R*)
 
9305
+          # Internal compiler library paths should come after those
 
9306
+          # provided the user.  The postdeps already come after the
 
9307
+          # user supplied libs so there is no need to process them.
 
9308
+          if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
 
9309
+            _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
 
9310
+          else
 
9311
+            _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
 
9312
+          fi
 
9313
+          ;;
 
9314
+        # The "-l" case would never come before the object being
 
9315
+        # linked, so don't bother handling this case.
 
9316
+        esac
 
9317
+       else
 
9318
+        if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
 
9319
+          _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
 
9320
+        else
 
9321
+          _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
 
9322
+        fi
 
9323
+       fi
 
9324
+       ;;
 
9325
+
 
9326
+    *.$objext)
 
9327
+       # This assumes that the test object file only shows up
 
9328
+       # once in the compiler output.
 
9329
+       if test "$p" = "conftest.$objext"; then
 
9330
+        pre_test_object_deps_done=yes
 
9331
+        continue
 
9332
+       fi
 
9333
+
 
9334
+       if test "$pre_test_object_deps_done" = no; then
 
9335
+        if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
 
9336
+          _LT_AC_TAGVAR(predep_objects, $1)="$p"
 
9337
+        else
 
9338
+          _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
 
9339
+        fi
 
9340
+       else
 
9341
+        if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
 
9342
+          _LT_AC_TAGVAR(postdep_objects, $1)="$p"
 
9343
+        else
 
9344
+          _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
 
9345
+        fi
 
9346
+       fi
 
9347
+       ;;
 
9348
+
 
9349
+    *) ;; # Ignore the rest.
 
9350
+
 
9351
+    esac
 
9352
+  done
 
9353
+
 
9354
+  # Clean up.
 
9355
+  rm -f a.out a.exe
 
9356
+else
 
9357
+  echo "libtool.m4: error: problem compiling $1 test program"
 
9358
+fi
 
9359
+
 
9360
+$rm -f confest.$objext
 
9361
+
 
9362
+case " $_LT_AC_TAGVAR(postdeps, $1) " in
 
9363
+*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
 
9364
+esac
 
9365
+])# AC_LIBTOOL_POSTDEP_PREDEP
 
9366
+
 
9367
+# AC_LIBTOOL_LANG_F77_CONFIG
 
9368
+# ------------------------
 
9369
+# Ensure that the configuration vars for the C compiler are
 
9370
+# suitably defined.  Those variables are subsequently used by
 
9371
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
 
9372
+AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
 
9373
+AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
 
9374
+[AC_REQUIRE([AC_PROG_F77])
 
9375
+AC_LANG_PUSH(Fortran 77)
 
9376
+
 
9377
+_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
 
9378
+_LT_AC_TAGVAR(allow_undefined_flag, $1)=
 
9379
+_LT_AC_TAGVAR(always_export_symbols, $1)=no
 
9380
+_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
 
9381
+_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
 
9382
+_LT_AC_TAGVAR(hardcode_direct, $1)=no
 
9383
+_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
9384
+_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
 
9385
+_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
 
9386
+_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
 
9387
+_LT_AC_TAGVAR(hardcode_automatic, $1)=no
 
9388
+_LT_AC_TAGVAR(module_cmds, $1)=
 
9389
+_LT_AC_TAGVAR(module_expsym_cmds, $1)=
 
9390
+_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
 
9391
+_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
9392
+_LT_AC_TAGVAR(no_undefined_flag, $1)=
 
9393
+_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
 
9394
+_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
 
9395
+
 
9396
+# Source file extension for f77 test sources.
 
9397
+ac_ext=f
 
9398
+
 
9399
+# Object file extension for compiled f77 test sources.
 
9400
+objext=o
 
9401
+_LT_AC_TAGVAR(objext, $1)=$objext
 
9402
+
 
9403
+# Code to be used in simple compile tests
 
9404
+lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 
9405
+
 
9406
+# Code to be used in simple link tests
 
9407
+lt_simple_link_test_code="      program t\n      end\n"
 
9408
+
 
9409
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
9410
+_LT_AC_SYS_COMPILER
 
9411
+
 
9412
+# Allow CC to be a program name with arguments.
 
9413
+lt_save_CC="$CC"
 
9414
+CC=${F77-"f77"}
 
9415
+compiler=$CC
 
9416
+_LT_AC_TAGVAR(compiler, $1)=$CC
 
9417
+cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
 
9418
+
 
9419
+AC_MSG_CHECKING([if libtool supports shared libraries])
 
9420
+AC_MSG_RESULT([$can_build_shared])
 
9421
+
 
9422
+AC_MSG_CHECKING([whether to build shared libraries])
 
9423
+test "$can_build_shared" = "no" && enable_shared=no
 
9424
+
 
9425
+# On AIX, shared libraries and static libraries use the same namespace, and
 
9426
+# are all built from PIC.
 
9427
+case "$host_os" in
 
9428
+aix3*)
 
9429
+  test "$enable_shared" = yes && enable_static=no
 
9430
+  if test -n "$RANLIB"; then
 
9431
+    archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
9432
+    postinstall_cmds='$RANLIB $lib'
 
9433
+  fi
 
9434
+  ;;
 
9435
+aix4* | aix5*)
 
9436
+  test "$enable_shared" = yes && enable_static=no
 
9437
+  ;;
 
9438
+esac
 
9439
+AC_MSG_RESULT([$enable_shared])
 
9440
+
 
9441
+AC_MSG_CHECKING([whether to build static libraries])
 
9442
+# Make sure either enable_shared or enable_static is yes.
 
9443
+test "$enable_shared" = yes || enable_static=yes
 
9444
+AC_MSG_RESULT([$enable_static])
 
9445
+
 
9446
+test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
 
9447
+
 
9448
+_LT_AC_TAGVAR(GCC, $1)="$G77"
 
9449
+_LT_AC_TAGVAR(LD, $1)="$LD"
 
9450
+
 
9451
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
 
9452
+AC_LIBTOOL_PROG_CC_C_O($1)
 
9453
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
 
9454
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
 
9455
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
 
9456
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
 
9457
+AC_LIBTOOL_SYS_LIB_STRIP
 
9458
+
 
9459
+
 
9460
+AC_LIBTOOL_CONFIG($1)
 
9461
+
 
9462
+AC_LANG_POP
 
9463
+CC="$lt_save_CC"
 
9464
+])# AC_LIBTOOL_LANG_F77_CONFIG
 
9465
+
 
9466
+
 
9467
+# AC_LIBTOOL_LANG_GCJ_CONFIG
 
9468
+# --------------------------
 
9469
+# Ensure that the configuration vars for the C compiler are
 
9470
+# suitably defined.  Those variables are subsequently used by
 
9471
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
 
9472
+AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
 
9473
+AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
 
9474
+[AC_LANG_SAVE
 
9475
+
 
9476
+# Source file extension for Java test sources.
 
9477
+ac_ext=java
 
9478
+
 
9479
+# Object file extension for compiled Java test sources.
 
9480
+objext=o
 
9481
+_LT_AC_TAGVAR(objext, $1)=$objext
 
9482
+
 
9483
+# Code to be used in simple compile tests
 
9484
+lt_simple_compile_test_code="class foo {}\n"
 
9485
+
 
9486
+# Code to be used in simple link tests
 
9487
+lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
 
9488
+
 
9489
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
9490
+_LT_AC_SYS_COMPILER
 
9491
+
 
9492
+# Allow CC to be a program name with arguments.
 
9493
+lt_save_CC="$CC"
 
9494
+CC=${GCJ-"gcj"}
 
9495
+compiler=$CC
 
9496
+_LT_AC_TAGVAR(compiler, $1)=$CC
 
9497
+
 
9498
+# GCJ did not exist at the time GCC didn't implicitly link libc in.
 
9499
+_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
 
9500
+
 
9501
+AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
 
9502
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
 
9503
+AC_LIBTOOL_PROG_CC_C_O($1)
 
9504
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
 
9505
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
 
9506
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
 
9507
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
 
9508
+AC_LIBTOOL_SYS_LIB_STRIP
 
9509
+AC_LIBTOOL_DLOPEN_SELF($1)
 
9510
+
 
9511
+AC_LIBTOOL_CONFIG($1)
 
9512
+
 
9513
+AC_LANG_RESTORE
 
9514
+CC="$lt_save_CC"
 
9515
+])# AC_LIBTOOL_LANG_GCJ_CONFIG
 
9516
+
 
9517
+
 
9518
+# AC_LIBTOOL_LANG_RC_CONFIG
 
9519
+# --------------------------
 
9520
+# Ensure that the configuration vars for the Windows resource compiler are
 
9521
+# suitably defined.  Those variables are subsequently used by
 
9522
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
 
9523
+AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
 
9524
+AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
 
9525
+[AC_LANG_SAVE
 
9526
+
 
9527
+# Source file extension for RC test sources.
 
9528
+ac_ext=rc
 
9529
+
 
9530
+# Object file extension for compiled RC test sources.
 
9531
+objext=o
 
9532
+_LT_AC_TAGVAR(objext, $1)=$objext
 
9533
+
 
9534
+# Code to be used in simple compile tests
 
9535
+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 
9536
+
 
9537
+# Code to be used in simple link tests
 
9538
+lt_simple_link_test_code="$lt_simple_compile_test_code"
 
9539
+
 
9540
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
9541
+_LT_AC_SYS_COMPILER
 
9542
+
 
9543
+# Allow CC to be a program name with arguments.
 
9544
+lt_save_CC="$CC"
 
9545
+CC=${RC-"windres"}
 
9546
+compiler=$CC
 
9547
+_LT_AC_TAGVAR(compiler, $1)=$CC
 
9548
+_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
 
9549
+
 
9550
+AC_LIBTOOL_CONFIG($1)
 
9551
+
 
9552
+AC_LANG_RESTORE
 
9553
+CC="$lt_save_CC"
 
9554
+])# AC_LIBTOOL_LANG_RC_CONFIG
 
9555
+
 
9556
+
 
9557
+# AC_LIBTOOL_CONFIG([TAGNAME])
 
9558
+# ----------------------------
 
9559
+# If TAGNAME is not passed, then create an initial libtool script
 
9560
+# with a default configuration from the untagged config vars.  Otherwise
 
9561
+# add code to config.status for appending the configuration named by
 
9562
+# TAGNAME from the matching tagged config vars.
 
9563
+AC_DEFUN([AC_LIBTOOL_CONFIG],
 
9564
+[# The else clause should only fire when bootstrapping the
 
9565
+# libtool distribution, otherwise you forgot to ship ltmain.sh
 
9566
+# with your package, and you will get complaints that there are
 
9567
+# no rules to generate ltmain.sh.
 
9568
+if test -f "$ltmain"; then
 
9569
+  # See if we are running on zsh, and set the options which allow our commands through
 
9570
+  # without removal of \ escapes.
 
9571
+  if test -n "${ZSH_VERSION+set}" ; then
 
9572
+    setopt NO_GLOB_SUBST
 
9573
+  fi
 
9574
+  # Now quote all the things that may contain metacharacters while being
 
9575
+  # careful not to overquote the AC_SUBSTed values.  We take copies of the
 
9576
+  # variables and quote the copies for generation of the libtool script.
 
9577
+  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
9578
+    SED SHELL STRIP \
 
9579
+    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 
9580
+    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 
9581
+    deplibs_check_method reload_flag reload_cmds need_locks \
 
9582
+    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 
9583
+    lt_cv_sys_global_symbol_to_c_name_address \
 
9584
+    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 
9585
+    old_postinstall_cmds old_postuninstall_cmds \
 
9586
+    _LT_AC_TAGVAR(compiler, $1) \
 
9587
+    _LT_AC_TAGVAR(CC, $1) \
 
9588
+    _LT_AC_TAGVAR(LD, $1) \
 
9589
+    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
 
9590
+    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
 
9591
+    _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
 
9592
+    _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
 
9593
+    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
 
9594
+    _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
 
9595
+    _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
 
9596
+    _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
 
9597
+    _LT_AC_TAGVAR(old_archive_cmds, $1) \
 
9598
+    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
 
9599
+    _LT_AC_TAGVAR(predep_objects, $1) \
 
9600
+    _LT_AC_TAGVAR(postdep_objects, $1) \
 
9601
+    _LT_AC_TAGVAR(predeps, $1) \
 
9602
+    _LT_AC_TAGVAR(postdeps, $1) \
 
9603
+    _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
 
9604
+    _LT_AC_TAGVAR(archive_cmds, $1) \
 
9605
+    _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
 
9606
+    _LT_AC_TAGVAR(postinstall_cmds, $1) \
 
9607
+    _LT_AC_TAGVAR(postuninstall_cmds, $1) \
 
9608
+    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
 
9609
+    _LT_AC_TAGVAR(allow_undefined_flag, $1) \
 
9610
+    _LT_AC_TAGVAR(no_undefined_flag, $1) \
 
9611
+    _LT_AC_TAGVAR(export_symbols_cmds, $1) \
 
9612
+    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
 
9613
+    _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
 
9614
+    _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
 
9615
+    _LT_AC_TAGVAR(hardcode_automatic, $1) \
 
9616
+    _LT_AC_TAGVAR(module_cmds, $1) \
 
9617
+    _LT_AC_TAGVAR(module_expsym_cmds, $1) \
 
9618
+    _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
 
9619
+    _LT_AC_TAGVAR(exclude_expsyms, $1) \
 
9620
+    _LT_AC_TAGVAR(include_expsyms, $1); do
 
9621
+
 
9622
+    case $var in
 
9623
+    _LT_AC_TAGVAR(old_archive_cmds, $1) | \
 
9624
+    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
 
9625
+    _LT_AC_TAGVAR(archive_cmds, $1) | \
 
9626
+    _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
 
9627
+    _LT_AC_TAGVAR(module_cmds, $1) | \
 
9628
+    _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
 
9629
+    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
 
9630
+    _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
 
9631
+    extract_expsyms_cmds | reload_cmds | finish_cmds | \
 
9632
+    postinstall_cmds | postuninstall_cmds | \
 
9633
+    old_postinstall_cmds | old_postuninstall_cmds | \
 
9634
+    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 
9635
+      # Double-quote double-evaled strings.
 
9636
+      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 
9637
+      ;;
 
9638
+    *)
 
9639
+      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 
9640
+      ;;
 
9641
+    esac
 
9642
+  done
 
9643
+
 
9644
+  case $lt_echo in
 
9645
+  *'\[$]0 --fallback-echo"')
 
9646
+    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
 
9647
+    ;;
 
9648
+  esac
 
9649
+
 
9650
+ifelse([$1], [],
 
9651
+  [cfgfile="${ofile}T"
 
9652
+  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
 
9653
+  $rm -f "$cfgfile"
 
9654
+  AC_MSG_NOTICE([creating $ofile])],
 
9655
+  [cfgfile="$ofile"])
 
9656
+
 
9657
+  cat <<__EOF__ >> "$cfgfile"
 
9658
+ifelse([$1], [],
 
9659
+[#! $SHELL
 
9660
+
 
9661
+# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
9662
+# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
 
9663
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
9664
+#
 
9665
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 
9666
+# Free Software Foundation, Inc.
 
9667
+#
 
9668
+# This file is part of GNU Libtool:
 
9669
+# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 
9670
+#
 
9671
+# This program is free software; you can redistribute it and/or modify
 
9672
+# it under the terms of the GNU General Public License as published by
 
9673
+# the Free Software Foundation; either version 2 of the License, or
 
9674
+# (at your option) any later version.
 
9675
+#
 
9676
+# This program is distributed in the hope that it will be useful, but
 
9677
+# WITHOUT ANY WARRANTY; without even the implied warranty of
 
9678
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
9679
+# General Public License for more details.
 
9680
+#
 
9681
+# You should have received a copy of the GNU General Public License
 
9682
+# along with this program; if not, write to the Free Software
 
9683
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
9684
+#
 
9685
+# As a special exception to the GNU General Public License, if you
 
9686
+# distribute this file as part of a program that contains a
 
9687
+# configuration script generated by Autoconf, you may include it under
 
9688
+# the same distribution terms that you use for the rest of that program.
 
9689
+
 
9690
+# A sed program that does not truncate output.
 
9691
+SED=$lt_SED
 
9692
+
 
9693
+# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
9694
+Xsed="$SED -e s/^X//"
 
9695
+
 
9696
+# The HP-UX ksh and POSIX shell print the target directory to stdout
 
9697
+# if CDPATH is set.
 
9698
+if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
 
9699
+
 
9700
+# The names of the tagged configurations supported by this script.
 
9701
+available_tags=
 
9702
+
 
9703
+# ### BEGIN LIBTOOL CONFIG],
 
9704
+[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
 
9705
+
 
9706
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
9707
+
 
9708
+# Shell to use when invoking shell scripts.
 
9709
+SHELL=$lt_SHELL
 
9710
+
 
9711
+# Whether or not to build shared libraries.
 
9712
+build_libtool_libs=$enable_shared
 
9713
+
 
9714
+# Whether or not to build static libraries.
 
9715
+build_old_libs=$enable_static
 
9716
+
 
9717
+# Whether or not to add -lc for building shared libraries.
 
9718
+build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
 
9719
+
 
9720
+# Whether or not to disallow shared libs when runtime libs are static
 
9721
+allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
 
9722
+
 
9723
+# Whether or not to optimize for fast installation.
 
9724
+fast_install=$enable_fast_install
 
9725
+
 
9726
+# The host system.
 
9727
+host_alias=$host_alias
 
9728
+host=$host
 
9729
+
 
9730
+# An echo program that does not interpret backslashes.
 
9731
+echo=$lt_echo
 
9732
+
 
9733
+# The archiver.
 
9734
+AR=$lt_AR
 
9735
+AR_FLAGS=$lt_AR_FLAGS
 
9736
+
 
9737
+# A C compiler.
 
9738
+LTCC=$lt_LTCC
 
9739
+
 
9740
+# A language-specific compiler.
 
9741
+CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
 
9742
+
 
9743
+# Is the compiler the GNU C compiler?
 
9744
+with_gcc=$_LT_AC_TAGVAR(GCC, $1)
 
9745
+
 
9746
+# An ERE matcher.
 
9747
+EGREP=$lt_EGREP
 
9748
+
 
9749
+# The linker used to build libraries.
 
9750
+LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
 
9751
+
 
9752
+# Whether we need hard or soft links.
 
9753
+LN_S=$lt_LN_S
 
9754
+
 
9755
+# A BSD-compatible nm program.
 
9756
+NM=$lt_NM
 
9757
+
 
9758
+# A symbol stripping program
 
9759
+STRIP=$lt_STRIP
 
9760
+
 
9761
+# Used to examine libraries when file_magic_cmd begins "file"
 
9762
+MAGIC_CMD=$MAGIC_CMD
 
9763
+
 
9764
+# Used on cygwin: DLL creation program.
 
9765
+DLLTOOL="$DLLTOOL"
 
9766
+
 
9767
+# Used on cygwin: object dumper.
 
9768
+OBJDUMP="$OBJDUMP"
 
9769
+
 
9770
+# Used on cygwin: assembler.
 
9771
+AS="$AS"
 
9772
+
 
9773
+# The name of the directory that contains temporary libtool files.
 
9774
+objdir=$objdir
 
9775
+
 
9776
+# How to create reloadable object files.
 
9777
+reload_flag=$lt_reload_flag
 
9778
+reload_cmds=$lt_reload_cmds
 
9779
+
 
9780
+# How to pass a linker flag through the compiler.
 
9781
+wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
 
9782
+
 
9783
+# Object file suffix (normally "o").
 
9784
+objext="$ac_objext"
 
9785
+
 
9786
+# Old archive suffix (normally "a").
 
9787
+libext="$libext"
 
9788
+
 
9789
+# Shared library suffix (normally ".so").
 
9790
+shrext_cmds='$shrext_cmds'
 
9791
+
 
9792
+# Executable file suffix (normally "").
 
9793
+exeext="$exeext"
 
9794
+
 
9795
+# Additional compiler flags for building library objects.
 
9796
+pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
 
9797
+pic_mode=$pic_mode
 
9798
+
 
9799
+# What is the maximum length of a command?
 
9800
+max_cmd_len=$lt_cv_sys_max_cmd_len
 
9801
+
 
9802
+# Does compiler simultaneously support -c and -o options?
 
9803
+compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
 
9804
+
 
9805
+# Must we lock files when doing compilation ?
 
9806
+need_locks=$lt_need_locks
 
9807
+
 
9808
+# Do we need the lib prefix for modules?
 
9809
+need_lib_prefix=$need_lib_prefix
 
9810
+
 
9811
+# Do we need a version for libraries?
 
9812
+need_version=$need_version
 
9813
+
 
9814
+# Whether dlopen is supported.
 
9815
+dlopen_support=$enable_dlopen
 
9816
+
 
9817
+# Whether dlopen of programs is supported.
 
9818
+dlopen_self=$enable_dlopen_self
 
9819
+
 
9820
+# Whether dlopen of statically linked programs is supported.
 
9821
+dlopen_self_static=$enable_dlopen_self_static
 
9822
+
 
9823
+# Compiler flag to prevent dynamic linking.
 
9824
+link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
 
9825
+
 
9826
+# Compiler flag to turn off builtin functions.
 
9827
+no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
 
9828
+
 
9829
+# Compiler flag to allow reflexive dlopens.
 
9830
+export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
 
9831
+
 
9832
+# Compiler flag to generate shared objects directly from archives.
 
9833
+whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
 
9834
+
 
9835
+# Compiler flag to generate thread-safe objects.
 
9836
+thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
 
9837
+
 
9838
+# Library versioning type.
 
9839
+version_type=$version_type
 
9840
+
 
9841
+# Format of library name prefix.
 
9842
+libname_spec=$lt_libname_spec
 
9843
+
 
9844
+# List of archive names.  First name is the real one, the rest are links.
 
9845
+# The last name is the one that the linker finds with -lNAME.
 
9846
+library_names_spec=$lt_library_names_spec
 
9847
+
 
9848
+# The coded name of the library, if different from the real name.
 
9849
+soname_spec=$lt_soname_spec
 
9850
+
 
9851
+# Commands used to build and install an old-style archive.
 
9852
+RANLIB=$lt_RANLIB
 
9853
+old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
 
9854
+old_postinstall_cmds=$lt_old_postinstall_cmds
 
9855
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
9856
+
 
9857
+# Create an old-style archive from a shared archive.
 
9858
+old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
 
9859
+
 
9860
+# Create a temporary old-style archive to link instead of a shared archive.
 
9861
+old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
 
9862
+
 
9863
+# Commands used to build and install a shared archive.
 
9864
+archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
 
9865
+archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
 
9866
+postinstall_cmds=$lt_postinstall_cmds
 
9867
+postuninstall_cmds=$lt_postuninstall_cmds
 
9868
+
 
9869
+# Commands used to build a loadable module (assumed same as above if empty)
 
9870
+module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
 
9871
+module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
 
9872
+
 
9873
+# Commands to strip libraries.
 
9874
+old_striplib=$lt_old_striplib
 
9875
+striplib=$lt_striplib
 
9876
+
 
9877
+# Dependencies to place before the objects being linked to create a
 
9878
+# shared library.
 
9879
+predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
 
9880
+
 
9881
+# Dependencies to place after the objects being linked to create a
 
9882
+# shared library.
 
9883
+postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
 
9884
+
 
9885
+# Dependencies to place before the objects being linked to create a
 
9886
+# shared library.
 
9887
+predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
 
9888
+
 
9889
+# Dependencies to place after the objects being linked to create a
 
9890
+# shared library.
 
9891
+postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
 
9892
+
 
9893
+# The library search path used internally by the compiler when linking
 
9894
+# a shared library.
 
9895
+compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
 
9896
+
 
9897
+# Method to check whether dependent libraries are shared objects.
 
9898
+deplibs_check_method=$lt_deplibs_check_method
 
9899
+
 
9900
+# Command to use when deplibs_check_method == file_magic.
 
9901
+file_magic_cmd=$lt_file_magic_cmd
 
9902
+
 
9903
+# Flag that allows shared libraries with undefined symbols to be built.
 
9904
+allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
 
9905
+
 
9906
+# Flag that forces no undefined symbols.
 
9907
+no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
 
9908
+
 
9909
+# Commands used to finish a libtool library installation in a directory.
 
9910
+finish_cmds=$lt_finish_cmds
 
9911
+
 
9912
+# Same as above, but a single script fragment to be evaled but not shown.
 
9913
+finish_eval=$lt_finish_eval
 
9914
+
 
9915
+# Take the output of nm and produce a listing of raw symbols and C names.
 
9916
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
9917
+
 
9918
+# Transform the output of nm in a proper C declaration
 
9919
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
9920
+
 
9921
+# Transform the output of nm in a C name address pair
 
9922
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
9923
+
 
9924
+# This is the shared library runtime path variable.
 
9925
+runpath_var=$runpath_var
 
9926
+
 
9927
+# This is the shared library path variable.
 
9928
+shlibpath_var=$shlibpath_var
 
9929
+
 
9930
+# Is shlibpath searched before the hard-coded library search path?
 
9931
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
9932
+
 
9933
+# How to hardcode a shared library path into an executable.
 
9934
+hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
 
9935
+
 
9936
+# Whether we should hardcode library paths into libraries.
 
9937
+hardcode_into_libs=$hardcode_into_libs
 
9938
+
 
9939
+# Flag to hardcode \$libdir into a binary during linking.
 
9940
+# This must work even if \$libdir does not exist.
 
9941
+hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
 
9942
+
 
9943
+# If ld is used when linking, flag to hardcode \$libdir into
 
9944
+# a binary during linking. This must work even if \$libdir does
 
9945
+# not exist.
 
9946
+hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
 
9947
+
 
9948
+# Whether we need a single -rpath flag with a separated argument.
 
9949
+hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
 
9950
+
 
9951
+# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 
9952
+# resulting binary.
 
9953
+hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
 
9954
+
 
9955
+# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 
9956
+# resulting binary.
 
9957
+hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
 
9958
+
 
9959
+# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 
9960
+# the resulting binary.
 
9961
+hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
 
9962
+
 
9963
+# Set to yes if building a shared library automatically hardcodes DIR into the library
 
9964
+# and all subsequent libraries and executables linked against it.
 
9965
+hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
 
9966
+
 
9967
+# Variables whose values should be saved in libtool wrapper scripts and
 
9968
+# restored at relink time.
 
9969
+variables_saved_for_relink="$variables_saved_for_relink"
 
9970
+
 
9971
+# Whether libtool must link a program against all its dependency libraries.
 
9972
+link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
 
9973
+
 
9974
+# Compile-time system search path for libraries
 
9975
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
9976
+
 
9977
+# Run-time system search path for libraries
 
9978
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
9979
+
 
9980
+# Fix the shell variable \$srcfile for the compiler.
 
9981
+fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
 
9982
+
 
9983
+# Set to yes if exported symbols are required.
 
9984
+always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
 
9985
+
 
9986
+# The commands to list exported symbols.
 
9987
+export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
 
9988
+
 
9989
+# The commands to extract the exported symbol list from a shared archive.
 
9990
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
9991
+
 
9992
+# Symbols that should not be listed in the preloaded symbols.
 
9993
+exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
 
9994
+
 
9995
+# Symbols that must always be exported.
 
9996
+include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
 
9997
+
 
9998
+ifelse([$1],[],
 
9999
+[# ### END LIBTOOL CONFIG],
 
10000
+[# ### END LIBTOOL TAG CONFIG: $tagname])
 
10001
+
 
10002
+__EOF__
 
10003
+
 
10004
+ifelse([$1],[], [
 
10005
+  case $host_os in
 
10006
+  aix3*)
 
10007
+    cat <<\EOF >> "$cfgfile"
 
10008
+
 
10009
+# AIX sometimes has problems with the GCC collect2 program.  For some
 
10010
+# reason, if we set the COLLECT_NAMES environment variable, the problems
 
10011
+# vanish in a puff of smoke.
 
10012
+if test "X${COLLECT_NAMES+set}" != Xset; then
 
10013
+  COLLECT_NAMES=
 
10014
+  export COLLECT_NAMES
 
10015
+fi
 
10016
+EOF
 
10017
+    ;;
 
10018
+  esac
 
10019
+
 
10020
+  # We use sed instead of cat because bash on DJGPP gets confused if
 
10021
+  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
10022
+  # text mode, it properly converts lines to CR/LF.  This bash problem
 
10023
+  # is reportedly fixed, but why not run on old versions too?
 
10024
+  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
 
10025
+
 
10026
+  mv -f "$cfgfile" "$ofile" || \
 
10027
+    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
10028
+  chmod +x "$ofile"
 
10029
+])
 
10030
+else
 
10031
+  # If there is no Makefile yet, we rely on a make rule to execute
 
10032
+  # `config.status --recheck' to rerun these tests and create the
 
10033
+  # libtool script then.
 
10034
+  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 
10035
+  if test -f "$ltmain_in"; then
 
10036
+    test -f Makefile && make "$ltmain"
 
10037
+  fi
 
10038
+fi
 
10039
+])# AC_LIBTOOL_CONFIG
 
10040
+
 
10041
+
 
10042
+# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
 
10043
+# -------------------------------------------
 
10044
+AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
 
10045
+[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
 
10046
+
 
10047
+_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
 
10048
+
 
10049
+if test "$GCC" = yes; then
 
10050
+  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
 
10051
+
 
10052
+  AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
 
10053
+    lt_cv_prog_compiler_rtti_exceptions,
 
10054
+    [-fno-rtti -fno-exceptions], [],
 
10055
+    [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
 
10056
+fi
 
10057
+])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
 
10058
+
 
10059
+
 
10060
+# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
 
10061
+# ---------------------------------
 
10062
+AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
 
10063
+[AC_REQUIRE([AC_CANONICAL_HOST])
 
10064
+AC_REQUIRE([AC_PROG_NM])
 
10065
+AC_REQUIRE([AC_OBJEXT])
 
10066
+# Check for command to grab the raw symbol name followed by C symbol from nm.
 
10067
+AC_MSG_CHECKING([command to parse $NM output from $compiler object])
 
10068
+AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
 
10069
+[
 
10070
+# These are sane defaults that work on at least a few old systems.
 
10071
+# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
10072
+
 
10073
+# Character class describing NM global symbol codes.
 
10074
+symcode='[[BCDEGRST]]'
 
10075
+
 
10076
+# Regexp to match symbols that can be accessed directly from C.
 
10077
+sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
 
10078
+
 
10079
+# Transform the above into a raw symbol and a C symbol.
 
10080
+symxfrm='\1 \2\3 \3'
 
10081
+
 
10082
+# Transform an extracted symbol line into a proper C declaration
 
10083
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
 
10084
+
 
10085
+# Transform an extracted symbol line into symbol name and symbol address
 
10086
+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'"
 
10087
+
 
10088
+# Define system-specific variables.
 
10089
+case $host_os in
 
10090
+aix*)
 
10091
+  symcode='[[BCDT]]'
 
10092
+  ;;
 
10093
+cygwin* | mingw* | pw32*)
 
10094
+  symcode='[[ABCDGISTW]]'
 
10095
+  ;;
 
10096
+hpux*) # Its linker distinguishes data from code symbols
 
10097
+  if test "$host_cpu" = ia64; then
 
10098
+    symcode='[[ABCDEGRST]]'
 
10099
+  fi
 
10100
+  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
10101
+  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'"
 
10102
+  ;;
 
10103
+irix* | nonstopux*)
 
10104
+  symcode='[[BCDEGRST]]'
 
10105
+  ;;
 
10106
+osf*)
 
10107
+  symcode='[[BCDEGQRST]]'
 
10108
+  ;;
 
10109
+solaris* | sysv5*)
 
10110
+  symcode='[[BDRT]]'
 
10111
+  ;;
 
10112
+sysv4)
 
10113
+  symcode='[[DFNSTU]]'
 
10114
+  ;;
 
10115
+esac
 
10116
+
 
10117
+# Handle CRLF in mingw tool chain
 
10118
+opt_cr=
 
10119
+case $build_os in
 
10120
+mingw*)
 
10121
+  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
10122
+  ;;
 
10123
+esac
 
10124
+
 
10125
+# If we're using GNU nm, then use its standard symbol codes.
 
10126
+case `$NM -V 2>&1` in
 
10127
+*GNU* | *'with BFD'*)
 
10128
+  symcode='[[ABCDGIRSTW]]' ;;
 
10129
+esac
 
10130
+
 
10131
+# Try without a prefix undercore, then with it.
 
10132
+for ac_symprfx in "" "_"; do
 
10133
+
 
10134
+  # Write the raw and C identifiers.
 
10135
+  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[     ]]\($symcode$symcode*\)[[       ]][[    ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
 
10136
+
 
10137
+  # Check to see that the pipe works correctly.
 
10138
+  pipe_works=no
 
10139
+
 
10140
+  rm -f conftest*
 
10141
+  cat > conftest.$ac_ext <<EOF
 
10142
+#ifdef __cplusplus
 
10143
+extern "C" {
 
10144
+#endif
 
10145
+char nm_test_var;
 
10146
+void nm_test_func(){}
 
10147
+#ifdef __cplusplus
 
10148
+}
 
10149
+#endif
 
10150
+int main(){nm_test_var='a';nm_test_func();return(0);}
 
10151
+EOF
 
10152
+
 
10153
+  if AC_TRY_EVAL(ac_compile); then
 
10154
+    # Now try to grab the symbols.
 
10155
+    nlist=conftest.nm
 
10156
+    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
 
10157
+      # Try sorting and uniquifying the output.
 
10158
+      if sort "$nlist" | uniq > "$nlist"T; then
 
10159
+       mv -f "$nlist"T "$nlist"
 
10160
+      else
 
10161
+       rm -f "$nlist"T
 
10162
+      fi
 
10163
+
 
10164
+      # Make sure that we snagged all the symbols we need.
 
10165
+      if grep ' nm_test_var$' "$nlist" >/dev/null; then
 
10166
+       if grep ' nm_test_func$' "$nlist" >/dev/null; then
 
10167
+         cat <<EOF > conftest.$ac_ext
 
10168
+#ifdef __cplusplus
 
10169
+extern "C" {
 
10170
+#endif
 
10171
+
 
10172
+EOF
 
10173
+         # Now generate the symbol file.
 
10174
+         eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
 
10175
+
 
10176
+         cat <<EOF >> conftest.$ac_ext
 
10177
+#if defined (__STDC__) && __STDC__
 
10178
+# define lt_ptr_t void *
 
10179
+#else
 
10180
+# define lt_ptr_t char *
 
10181
+# define const
 
10182
+#endif
 
10183
+
 
10184
+/* The mapping between symbol names and symbols. */
 
10185
+const struct {
 
10186
+  const char *name;
 
10187
+  lt_ptr_t address;
 
10188
+}
 
10189
+lt_preloaded_symbols[[]] =
 
10190
+{
 
10191
+EOF
 
10192
+         $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
 
10193
+         cat <<\EOF >> conftest.$ac_ext
 
10194
+  {0, (lt_ptr_t) 0}
 
10195
+};
 
10196
+
 
10197
+#ifdef __cplusplus
 
10198
+}
 
10199
+#endif
 
10200
+EOF
 
10201
+         # Now try linking the two files.
 
10202
+         mv conftest.$ac_objext conftstm.$ac_objext
 
10203
+         lt_save_LIBS="$LIBS"
 
10204
+         lt_save_CFLAGS="$CFLAGS"
 
10205
+         LIBS="conftstm.$ac_objext"
 
10206
+         CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
 
10207
+         if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
 
10208
+           pipe_works=yes
 
10209
+         fi
 
10210
+         LIBS="$lt_save_LIBS"
 
10211
+         CFLAGS="$lt_save_CFLAGS"
 
10212
+       else
 
10213
+         echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
 
10214
+       fi
 
10215
+      else
 
10216
+       echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
 
10217
+      fi
 
10218
+    else
 
10219
+      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
 
10220
+    fi
 
10221
+  else
 
10222
+    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
 
10223
+    cat conftest.$ac_ext >&5
 
10224
+  fi
 
10225
+  rm -f conftest* conftst*
 
10226
+
 
10227
+  # Do not use the global_symbol_pipe unless it works.
 
10228
+  if test "$pipe_works" = yes; then
 
10229
+    break
 
10230
+  else
 
10231
+    lt_cv_sys_global_symbol_pipe=
 
10232
+  fi
 
10233
+done
 
10234
+])
 
10235
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
10236
+  lt_cv_sys_global_symbol_to_cdecl=
 
10237
+fi
 
10238
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
10239
+  AC_MSG_RESULT(failed)
 
10240
+else
 
10241
+  AC_MSG_RESULT(ok)
 
10242
+fi
 
10243
+]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
 
10244
+
 
10245
+
 
10246
+# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
 
10247
+# ---------------------------------------
 
10248
+AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
 
10249
+[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
 
10250
+_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
 
10251
+_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
 
10252
+
 
10253
+AC_MSG_CHECKING([for $compiler option to produce PIC])
 
10254
+ ifelse([$1],[CXX],[
 
10255
+  # C++ specific cases for pic, static, wl, etc.
 
10256
+  if test "$GXX" = yes; then
 
10257
+    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
10258
+    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
10259
+
 
10260
+    case $host_os in
 
10261
+    aix*)
 
10262
+      # All AIX code is PIC.
 
10263
+      if test "$host_cpu" = ia64; then
 
10264
+       # AIX 5 now supports IA64 processor
 
10265
+       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
10266
+      fi
 
10267
+      ;;
 
10268
+    amigaos*)
 
10269
+      # FIXME: we need at least 68020 code to build shared libraries, but
 
10270
+      # adding the `-m68020' flag to GCC prevents building anything better,
 
10271
+      # like `-m68040'.
 
10272
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
 
10273
+      ;;
 
10274
+    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
10275
+      # PIC is the default for these OSes.
 
10276
+      ;;
 
10277
+    mingw* | os2* | pw32*)
 
10278
+      # This hack is so that the source file can tell whether it is being
 
10279
+      # built for inclusion in a dll (and should export symbols for example).
 
10280
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
 
10281
+      ;;
 
10282
+    darwin* | rhapsody*)
 
10283
+      # PIC is the default on this platform
 
10284
+      # Common symbols not allowed in MH_DYLIB files
 
10285
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
 
10286
+      ;;
 
10287
+    *djgpp*)
 
10288
+      # DJGPP does not support shared libraries at all
 
10289
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
 
10290
+      ;;
 
10291
+    sysv4*MP*)
 
10292
+      if test -d /usr/nec; then
 
10293
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
 
10294
+      fi
 
10295
+      ;;
 
10296
+    hpux*)
 
10297
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
10298
+      # not for PA HP-UX.
 
10299
+      case "$host_cpu" in
 
10300
+      hppa*64*|ia64*)
 
10301
+       ;;
 
10302
+      *)
 
10303
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
10304
+       ;;
 
10305
+      esac
 
10306
+      ;;
 
10307
+    *)
 
10308
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
10309
+      ;;
 
10310
+    esac
 
10311
+  else
 
10312
+    case $host_os in
 
10313
+      aix4* | aix5*)
 
10314
+       # All AIX code is PIC.
 
10315
+       if test "$host_cpu" = ia64; then
 
10316
+         # AIX 5 now supports IA64 processor
 
10317
+         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
10318
+       else
 
10319
+         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
 
10320
+       fi
 
10321
+       ;;
 
10322
+      chorus*)
 
10323
+       case $cc_basename in
 
10324
+       cxch68)
 
10325
+         # Green Hills C++ Compiler
 
10326
+         # _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"
 
10327
+         ;;
 
10328
+       esac
 
10329
+       ;;
 
10330
+      dgux*)
 
10331
+       case $cc_basename in
 
10332
+         ec++)
 
10333
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
10334
+           ;;
 
10335
+         ghcx)
 
10336
+           # Green Hills C++ Compiler
 
10337
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 
10338
+           ;;
 
10339
+         *)
 
10340
+           ;;
 
10341
+       esac
 
10342
+       ;;
 
10343
+      freebsd* | kfreebsd*-gnu)
 
10344
+       # FreeBSD uses GNU C++
 
10345
+       ;;
 
10346
+      hpux9* | hpux10* | hpux11*)
 
10347
+       case $cc_basename in
 
10348
+         CC)
 
10349
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
10350
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
 
10351
+           if test "$host_cpu" != ia64; then
 
10352
+             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
 
10353
+           fi
 
10354
+           ;;
 
10355
+         aCC)
 
10356
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
10357
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
 
10358
+           case "$host_cpu" in
 
10359
+           hppa*64*|ia64*)
 
10360
+             # +Z the default
 
10361
+             ;;
 
10362
+           *)
 
10363
+             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
 
10364
+             ;;
 
10365
+           esac
 
10366
+           ;;
 
10367
+         *)
 
10368
+           ;;
 
10369
+       esac
 
10370
+       ;;
 
10371
+      irix5* | irix6* | nonstopux*)
 
10372
+       case $cc_basename in
 
10373
+         CC)
 
10374
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
10375
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
10376
+           # CC pic flag -KPIC is the default.
 
10377
+           ;;
 
10378
+         *)
 
10379
+           ;;
 
10380
+       esac
 
10381
+       ;;
 
10382
+      linux*)
 
10383
+       case $cc_basename in
 
10384
+         KCC)
 
10385
+           # KAI C++ Compiler
 
10386
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
 
10387
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
10388
+           ;;
 
10389
+         icpc)
 
10390
+           # Intel C++
 
10391
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
10392
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
10393
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
10394
+           ;;
 
10395
+         cxx)
 
10396
+           # Compaq C++
 
10397
+           # Make sure the PIC flag is empty.  It appears that all Alpha
 
10398
+           # Linux and Compaq Tru64 Unix objects are PIC.
 
10399
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
 
10400
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
10401
+           ;;
 
10402
+         *)
 
10403
+           ;;
 
10404
+       esac
 
10405
+       ;;
 
10406
+      lynxos*)
 
10407
+       ;;
 
10408
+      m88k*)
 
10409
+       ;;
 
10410
+      mvs*)
 
10411
+       case $cc_basename in
 
10412
+         cxx)
 
10413
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
 
10414
+           ;;
 
10415
+         *)
 
10416
+           ;;
 
10417
+       esac
 
10418
+       ;;
 
10419
+      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
10420
+       ;;
 
10421
+      osf3* | osf4* | osf5*)
 
10422
+       case $cc_basename in
 
10423
+         KCC)
 
10424
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
 
10425
+           ;;
 
10426
+         RCC)
 
10427
+           # Rational C++ 2.4.1
 
10428
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 
10429
+           ;;
 
10430
+         cxx)
 
10431
+           # Digital/Compaq C++
 
10432
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
10433
+           # Make sure the PIC flag is empty.  It appears that all Alpha
 
10434
+           # Linux and Compaq Tru64 Unix objects are PIC.
 
10435
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
 
10436
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
10437
+           ;;
 
10438
+         *)
 
10439
+           ;;
 
10440
+       esac
 
10441
+       ;;
 
10442
+      psos*)
 
10443
+       ;;
 
10444
+      sco*)
 
10445
+       case $cc_basename in
 
10446
+         CC)
 
10447
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
10448
+           ;;
 
10449
+         *)
 
10450
+           ;;
 
10451
+       esac
 
10452
+       ;;
 
10453
+      solaris*)
 
10454
+       case $cc_basename in
 
10455
+         CC)
 
10456
+           # Sun C++ 4.2, 5.x and Centerline C++
 
10457
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
10458
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
10459
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
 
10460
+           ;;
 
10461
+         gcx)
 
10462
+           # Green Hills C++ Compiler
 
10463
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
 
10464
+           ;;
 
10465
+         *)
 
10466
+           ;;
 
10467
+       esac
 
10468
+       ;;
 
10469
+      sunos4*)
 
10470
+       case $cc_basename in
 
10471
+         CC)
 
10472
+           # Sun C++ 4.x
 
10473
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 
10474
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
10475
+           ;;
 
10476
+         lcc)
 
10477
+           # Lucid
 
10478
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 
10479
+           ;;
 
10480
+         *)
 
10481
+           ;;
 
10482
+       esac
 
10483
+       ;;
 
10484
+      tandem*)
 
10485
+       case $cc_basename in
 
10486
+         NCC)
 
10487
+           # NonStop-UX NCC 3.20
 
10488
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
10489
+           ;;
 
10490
+         *)
 
10491
+           ;;
 
10492
+       esac
 
10493
+       ;;
 
10494
+      unixware*)
 
10495
+       ;;
 
10496
+      vxworks*)
 
10497
+       ;;
 
10498
+      *)
 
10499
+       _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
 
10500
+       ;;
 
10501
+    esac
 
10502
+  fi
 
10503
+],
 
10504
+[
 
10505
+  if test "$GCC" = yes; then
 
10506
+    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
10507
+    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
10508
+
 
10509
+    case $host_os in
 
10510
+      aix*)
 
10511
+      # All AIX code is PIC.
 
10512
+      if test "$host_cpu" = ia64; then
 
10513
+       # AIX 5 now supports IA64 processor
 
10514
+       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
10515
+      fi
 
10516
+      ;;
 
10517
+
 
10518
+    amigaos*)
 
10519
+      # FIXME: we need at least 68020 code to build shared libraries, but
 
10520
+      # adding the `-m68020' flag to GCC prevents building anything better,
 
10521
+      # like `-m68040'.
 
10522
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
 
10523
+      ;;
 
10524
+
 
10525
+    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
10526
+      # PIC is the default for these OSes.
 
10527
+      ;;
 
10528
+
 
10529
+    mingw* | pw32* | os2*)
 
10530
+      # This hack is so that the source file can tell whether it is being
 
10531
+      # built for inclusion in a dll (and should export symbols for example).
 
10532
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
 
10533
+      ;;
 
10534
+
 
10535
+    darwin* | rhapsody*)
 
10536
+      # PIC is the default on this platform
 
10537
+      # Common symbols not allowed in MH_DYLIB files
 
10538
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
 
10539
+      ;;
 
10540
+
 
10541
+    msdosdjgpp*)
 
10542
+      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
10543
+      # on systems that don't support them.
 
10544
+      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
 
10545
+      enable_shared=no
 
10546
+      ;;
 
10547
+
 
10548
+    sysv4*MP*)
 
10549
+      if test -d /usr/nec; then
 
10550
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
 
10551
+      fi
 
10552
+      ;;
 
10553
+
 
10554
+    hpux*)
 
10555
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
10556
+      # not for PA HP-UX.
 
10557
+      case "$host_cpu" in
 
10558
+      hppa*64*|ia64*)
 
10559
+       # +Z the default
 
10560
+       ;;
 
10561
+      *)
 
10562
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
10563
+       ;;
 
10564
+      esac
 
10565
+      ;;
 
10566
+
 
10567
+    *)
 
10568
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
10569
+      ;;
 
10570
+    esac
 
10571
+  else
 
10572
+    # PORTME Check for flag to pass linker flags through the system compiler.
 
10573
+    case $host_os in
 
10574
+    aix*)
 
10575
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
10576
+      if test "$host_cpu" = ia64; then
 
10577
+       # AIX 5 now supports IA64 processor
 
10578
+       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
10579
+      else
 
10580
+       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
 
10581
+      fi
 
10582
+      ;;
 
10583
+
 
10584
+    mingw* | pw32* | os2*)
 
10585
+      # This hack is so that the source file can tell whether it is being
 
10586
+      # built for inclusion in a dll (and should export symbols for example).
 
10587
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
 
10588
+      ;;
 
10589
+
 
10590
+    hpux9* | hpux10* | hpux11*)
 
10591
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
10592
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
10593
+      # not for PA HP-UX.
 
10594
+      case "$host_cpu" in
 
10595
+      hppa*64*|ia64*)
 
10596
+       # +Z the default
 
10597
+       ;;
 
10598
+      *)
 
10599
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
 
10600
+       ;;
 
10601
+      esac
 
10602
+      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
10603
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
 
10604
+      ;;
 
10605
+
 
10606
+    irix5* | irix6* | nonstopux*)
 
10607
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
10608
+      # PIC (with -KPIC) is the default.
 
10609
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
10610
+      ;;
 
10611
+
 
10612
+    newsos6)
 
10613
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
10614
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
10615
+      ;;
 
10616
+
 
10617
+    linux*)
 
10618
+      case $CC in
 
10619
+      icc* | ecc*)
 
10620
+       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
10621
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
10622
+       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
10623
+        ;;
 
10624
+      ccc*)
 
10625
+        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
10626
+        # All Alpha code is PIC.
 
10627
+        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
10628
+        ;;
 
10629
+      esac
 
10630
+      ;;
 
10631
+
 
10632
+    osf3* | osf4* | osf5*)
 
10633
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
10634
+      # All OSF/1 code is PIC.
 
10635
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
10636
+      ;;
 
10637
+
 
10638
+    sco3.2v5*)
 
10639
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
 
10640
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
 
10641
+      ;;
 
10642
+
 
10643
+    solaris*)
 
10644
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
10645
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
10646
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
10647
+      ;;
 
10648
+
 
10649
+    sunos4*)
 
10650
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
 
10651
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
 
10652
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
10653
+      ;;
 
10654
+
 
10655
+    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
10656
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
10657
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
10658
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
10659
+      ;;
 
10660
+
 
10661
+    sysv4*MP*)
 
10662
+      if test -d /usr/nec ;then
 
10663
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
 
10664
+       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
10665
+      fi
 
10666
+      ;;
 
10667
+
 
10668
+    uts4*)
 
10669
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 
10670
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
10671
+      ;;
 
10672
+
 
10673
+    *)
 
10674
+      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
 
10675
+      ;;
 
10676
+    esac
 
10677
+  fi
 
10678
+])
 
10679
+AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
 
10680
+
 
10681
+#
 
10682
+# Check to make sure the PIC flag actually works.
 
10683
+#
 
10684
+if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
 
10685
+  AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
 
10686
+    _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
 
10687
+    [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
 
10688
+    [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
 
10689
+     "" | " "*) ;;
 
10690
+     *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
 
10691
+     esac],
 
10692
+    [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
 
10693
+     _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
 
10694
+fi
 
10695
+case "$host_os" in
 
10696
+  # For platforms which do not support PIC, -DPIC is meaningless:
 
10697
+  *djgpp*)
 
10698
+    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
 
10699
+    ;;
 
10700
+  *)
 
10701
+    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
 
10702
+    ;;
 
10703
+esac
 
10704
+])
 
10705
+
 
10706
+
 
10707
+# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
 
10708
+# ------------------------------------
 
10709
+# See if the linker supports building shared libraries.
 
10710
+AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
 
10711
+[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
 
10712
+ifelse([$1],[CXX],[
 
10713
+  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
10714
+  case $host_os in
 
10715
+  aix4* | aix5*)
 
10716
+    # If we're using GNU nm, then we don't want the "-C" option.
 
10717
+    # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
10718
+    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 
10719
+      _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'
 
10720
+    else
 
10721
+      _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'
 
10722
+    fi
 
10723
+    ;;
 
10724
+  pw32*)
 
10725
+    _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
 
10726
+  ;;
 
10727
+  cygwin* | mingw*)
 
10728
+    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
 
10729
+  ;;
 
10730
+  linux*)
 
10731
+    _LT_AC_TAGVAR(link_all_deplibs, $1)=no
 
10732
+  ;;
 
10733
+  *)
 
10734
+    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
10735
+  ;;
 
10736
+  esac
 
10737
+],[
 
10738
+  runpath_var=
 
10739
+  _LT_AC_TAGVAR(allow_undefined_flag, $1)=
 
10740
+  _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
 
10741
+  _LT_AC_TAGVAR(archive_cmds, $1)=
 
10742
+  _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
 
10743
+  _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
 
10744
+  _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
 
10745
+  _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
 
10746
+  _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
 
10747
+  _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
 
10748
+  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
10749
+  _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
 
10750
+  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
 
10751
+  _LT_AC_TAGVAR(hardcode_direct, $1)=no
 
10752
+  _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
 
10753
+  _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
 
10754
+  _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
 
10755
+  _LT_AC_TAGVAR(hardcode_automatic, $1)=no
 
10756
+  _LT_AC_TAGVAR(module_cmds, $1)=
 
10757
+  _LT_AC_TAGVAR(module_expsym_cmds, $1)=
 
10758
+  _LT_AC_TAGVAR(always_export_symbols, $1)=no
 
10759
+  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
10760
+  # include_expsyms should be a list of space-separated symbols to be *always*
 
10761
+  # included in the symbol list
 
10762
+  _LT_AC_TAGVAR(include_expsyms, $1)=
 
10763
+  # exclude_expsyms can be an extended regexp of symbols to exclude
 
10764
+  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
10765
+  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
10766
+  # as well as any symbol that contains `d'.
 
10767
+  _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
 
10768
+  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
10769
+  # platforms (ab)use it in PIC code, but their linkers get confused if
 
10770
+  # the symbol is explicitly referenced.  Since portable code cannot
 
10771
+  # rely on this symbol name, it's probably fine to never include it in
 
10772
+  # preloaded symbol tables.
 
10773
+  extract_expsyms_cmds=
 
10774
+
 
10775
+  case $host_os in
 
10776
+  cygwin* | mingw* | pw32*)
 
10777
+    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
10778
+    # When not using gcc, we currently assume that we are using
 
10779
+    # Microsoft Visual C++.
 
10780
+    if test "$GCC" != yes; then
 
10781
+      with_gnu_ld=no
 
10782
+    fi
 
10783
+    ;;
 
10784
+  openbsd*)
 
10785
+    with_gnu_ld=no
 
10786
+    ;;
 
10787
+  esac
 
10788
+
 
10789
+  _LT_AC_TAGVAR(ld_shlibs, $1)=yes
 
10790
+  if test "$with_gnu_ld" = yes; then
 
10791
+    # If archive_cmds runs LD, not CC, wlarc should be empty
 
10792
+    wlarc='${wl}'
 
10793
+
 
10794
+    # See if GNU ld supports shared libraries.
 
10795
+    case $host_os in
 
10796
+    aix3* | aix4* | aix5*)
 
10797
+      # On AIX/PPC, the GNU linker is very broken
 
10798
+      if test "$host_cpu" != ia64; then
 
10799
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
10800
+       cat <<EOF 1>&2
 
10801
+
 
10802
+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
10803
+*** to be unable to reliably create shared libraries on AIX.
 
10804
+*** Therefore, libtool is disabling shared libraries support.  If you
 
10805
+*** really care for shared libraries, you may want to modify your PATH
 
10806
+*** so that a non-GNU linker is found, and then restart.
 
10807
+
 
10808
+EOF
 
10809
+      fi
 
10810
+      ;;
 
10811
+
 
10812
+    amigaos*)
 
10813
+      _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)'
 
10814
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
10815
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
 
10816
+
 
10817
+      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
 
10818
+      # that the semantics of dynamic libraries on AmigaOS, at least up
 
10819
+      # to version 4, is to share data among multiple programs linked
 
10820
+      # with the same dynamic library.  Since this doesn't match the
 
10821
+      # behavior of shared libraries on other platforms, we can't use
 
10822
+      # them.
 
10823
+      _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
10824
+      ;;
 
10825
+
 
10826
+    beos*)
 
10827
+      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
10828
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
 
10829
+       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
10830
+       # support --undefined.  This deserves some investigation.  FIXME
 
10831
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10832
+      else
 
10833
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
10834
+      fi
 
10835
+      ;;
 
10836
+
 
10837
+    cygwin* | mingw* | pw32*)
 
10838
+      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
 
10839
+      # as there is no search path for DLLs.
 
10840
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
10841
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
 
10842
+      _LT_AC_TAGVAR(always_export_symbols, $1)=no
 
10843
+      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
 
10844
+      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
 
10845
+
 
10846
+      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
10847
+        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
10848
+       # If the export-symbols file already is a .def file (1st line
 
10849
+       # is EXPORTS), use it as is; otherwise, prepend...
 
10850
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
10851
+         cp $export_symbols $output_objdir/$soname.def;
 
10852
+       else
 
10853
+         echo EXPORTS > $output_objdir/$soname.def;
 
10854
+         cat $export_symbols >> $output_objdir/$soname.def;
 
10855
+       fi~
 
10856
+       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
10857
+      else
 
10858
+       ld_shlibs=no
 
10859
+      fi
 
10860
+      ;;
 
10861
+
 
10862
+    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
10863
+      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
10864
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
10865
+       wlarc=
 
10866
+      else
 
10867
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10868
+       _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'
 
10869
+      fi
 
10870
+      ;;
 
10871
+
 
10872
+    solaris* | sysv5*)
 
10873
+      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
10874
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
10875
+       cat <<EOF 1>&2
 
10876
+
 
10877
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
10878
+*** create shared libraries on Solaris systems.  Therefore, libtool
 
10879
+*** is disabling shared libraries support.  We urge you to upgrade GNU
 
10880
+*** binutils to release 2.9.1 or newer.  Another option is to modify
 
10881
+*** your PATH or compiler configuration so that the native linker is
 
10882
+*** used, and then restart.
 
10883
+
 
10884
+EOF
 
10885
+      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
10886
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10887
+       _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'
 
10888
+      else
 
10889
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
10890
+      fi
 
10891
+      ;;
 
10892
+
 
10893
+    sunos4*)
 
10894
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
10895
+      wlarc=
 
10896
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
10897
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
10898
+      ;;
 
10899
+
 
10900
+  linux*)
 
10901
+    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
10902
+        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10903
+       _LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"
 
10904
+      supports_anon_versioning=no
 
10905
+      case `$LD -v 2>/dev/null` in
 
10906
+        *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
 
10907
+        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
10908
+        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
10909
+        *\ 2.11.*) ;; # other 2.11 versions
 
10910
+        *) supports_anon_versioning=yes ;;
 
10911
+      esac
 
10912
+      if test $supports_anon_versioning = yes; then
 
10913
+        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
 
10914
+cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
10915
+$echo "local: *; };" >> $output_objdir/$libname.ver~
 
10916
+        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
10917
+      else
 
10918
+        _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds"
 
10919
+      fi
 
10920
+      _LT_AC_TAGVAR(link_all_deplibs, $1)=no
 
10921
+    else
 
10922
+      _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
10923
+    fi
 
10924
+    ;;
 
10925
+
 
10926
+    *)
 
10927
+      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
10928
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10929
+       _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'
 
10930
+      else
 
10931
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
10932
+      fi
 
10933
+      ;;
 
10934
+    esac
 
10935
+
 
10936
+    if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then
 
10937
+      runpath_var=LD_RUN_PATH
 
10938
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
 
10939
+      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
 
10940
+      # ancient GNU ld didn't support --whole-archive et. al.
 
10941
+      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
10942
+       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
10943
+      else
 
10944
+       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
 
10945
+      fi
 
10946
+    fi
 
10947
+  else
 
10948
+    # PORTME fill in a description of your system's linker (not GNU ld)
 
10949
+    case $host_os in
 
10950
+    aix3*)
 
10951
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
 
10952
+      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
 
10953
+      _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'
 
10954
+      # Note: this linker hardcodes the directories in LIBPATH if there
 
10955
+      # are no directories specified by -L.
 
10956
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
 
10957
+      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
10958
+       # Neither direct hardcoding nor static linking is supported with a
 
10959
+       # broken collect2.
 
10960
+       _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
 
10961
+      fi
 
10962
+      ;;
 
10963
+
 
10964
+    aix4* | aix5*)
 
10965
+      if test "$host_cpu" = ia64; then
 
10966
+       # On IA64, the linker does run time linking by default, so we don't
 
10967
+       # have to do anything special.
 
10968
+       aix_use_runtimelinking=no
 
10969
+       exp_sym_flag='-Bexport'
 
10970
+       no_entry_flag=""
 
10971
+      else
 
10972
+       # If we're using GNU nm, then we don't want the "-C" option.
 
10973
+       # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
10974
+       if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 
10975
+         _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'
 
10976
+       else
 
10977
+         _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'
 
10978
+       fi
 
10979
+       aix_use_runtimelinking=no
 
10980
+
 
10981
+       # Test if we are trying to use run time linking or normal
 
10982
+       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
10983
+       # need to do runtime linking.
 
10984
+       case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
 
10985
+         for ld_flag in $LDFLAGS; do
 
10986
+         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
10987
+           aix_use_runtimelinking=yes
 
10988
+           break
 
10989
+         fi
 
10990
+         done
 
10991
+       esac
 
10992
+
 
10993
+       exp_sym_flag='-bexport'
 
10994
+       no_entry_flag='-bnoentry'
 
10995
+      fi
 
10996
+
 
10997
+      # When large executables or shared objects are built, AIX ld can
 
10998
+      # have problems creating the table of contents.  If linking a library
 
10999
+      # or program results in "error TOC overflow" add -mminimal-toc to
 
11000
+      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
11001
+      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
11002
+
 
11003
+      _LT_AC_TAGVAR(archive_cmds, $1)=''
 
11004
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
11005
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
 
11006
+      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
 
11007
+
 
11008
+      if test "$GCC" = yes; then
 
11009
+       case $host_os in aix4.[012]|aix4.[012].*)
 
11010
+       # We only want to do this on AIX 4.2 and lower, the check
 
11011
+       # below for broken collect2 doesn't work under 4.3+
 
11012
+         collect2name=`${CC} -print-prog-name=collect2`
 
11013
+         if test -f "$collect2name" && \
 
11014
+          strings "$collect2name" | grep resolve_lib_name >/dev/null
 
11015
+         then
 
11016
+         # We have reworked collect2
 
11017
+         _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
11018
+         else
 
11019
+         # We have old collect2
 
11020
+         _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
 
11021
+         # It fails to find uninstalled libraries when the uninstalled
 
11022
+         # path is not listed in the libpath.  Setting hardcode_minus_L
 
11023
+         # to unsupported forces relinking
 
11024
+         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
 
11025
+         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
11026
+         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
 
11027
+         fi
 
11028
+       esac
 
11029
+       shared_flag='-shared'
 
11030
+      else
 
11031
+       # not using gcc
 
11032
+       if test "$host_cpu" = ia64; then
 
11033
+       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
11034
+       # chokes on -Wl,-G. The following line is correct:
 
11035
+         shared_flag='-G'
 
11036
+       else
 
11037
+       if test "$aix_use_runtimelinking" = yes; then
 
11038
+           shared_flag='${wl}-G'
 
11039
+         else
 
11040
+           shared_flag='${wl}-bM:SRE'
 
11041
+       fi
 
11042
+       fi
 
11043
+      fi
 
11044
+
 
11045
+      # It seems that -bexpall does not export symbols beginning with
 
11046
+      # underscore (_), so it is better to generate a list of symbols to export.
 
11047
+      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
 
11048
+      if test "$aix_use_runtimelinking" = yes; then
 
11049
+       # Warning - without using the other runtime loading flags (-brtl),
 
11050
+       # -berok will link without error, but may produce a broken library.
 
11051
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
 
11052
+       # Determine the default libpath from the value encoded in an empty executable.
 
11053
+       _LT_AC_SYS_LIBPATH_AIX
 
11054
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 
11055
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
11056
+       else
 
11057
+       if test "$host_cpu" = ia64; then
 
11058
+         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
 
11059
+         _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
 
11060
+         _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
11061
+       else
 
11062
+        # Determine the default libpath from the value encoded in an empty executable.
 
11063
+        _LT_AC_SYS_LIBPATH_AIX
 
11064
+        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 
11065
+         # Warning - without using the other run time loading flags,
 
11066
+         # -berok will link without error, but may produce a broken library.
 
11067
+         _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
 
11068
+         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
 
11069
+         # -bexpall does not export symbols beginning with underscore (_)
 
11070
+         _LT_AC_TAGVAR(always_export_symbols, $1)=yes
 
11071
+         # Exported symbols can be pulled into shared objects from archives
 
11072
+         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
 
11073
+         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
 
11074
+         # This is similar to how AIX traditionally builds it's shared libraries.
 
11075
+         _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
11076
+       fi
 
11077
+      fi
 
11078
+      ;;
 
11079
+
 
11080
+    amigaos*)
 
11081
+      _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)'
 
11082
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
11083
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
 
11084
+      # see comment about different semantics on the GNU ld section
 
11085
+      _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
11086
+      ;;
 
11087
+
 
11088
+    bsdi4*)
 
11089
+      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
 
11090
+      ;;
 
11091
+
 
11092
+    cygwin* | mingw* | pw32*)
 
11093
+      # When not using gcc, we currently assume that we are using
 
11094
+      # Microsoft Visual C++.
 
11095
+      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
11096
+      # no search path for DLLs.
 
11097
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
 
11098
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
 
11099
+      # Tell ltmain to make .lib files, not .a files.
 
11100
+      libext=lib
 
11101
+      # Tell ltmain to make .dll files, not .so files.
 
11102
+      shrext_cmds=".dll"
 
11103
+      # FIXME: Setting linknames here is a bad hack.
 
11104
+      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
11105
+      # The linker will automatically build a .lib file if we build a DLL.
 
11106
+      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
 
11107
+      # FIXME: Should let the user specify the lib program.
 
11108
+      _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
11109
+      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
11110
+      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
 
11111
+      ;;
 
11112
+
 
11113
+    darwin* | rhapsody*)
 
11114
+    if test "$GXX" = yes ; then
 
11115
+      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
 
11116
+      case "$host_os" in
 
11117
+      rhapsody* | darwin1.[[012]])
 
11118
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
 
11119
+       ;;
 
11120
+      *) # Darwin 1.3 on
 
11121
+      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
11122
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
 
11123
+      else
 
11124
+        case ${MACOSX_DEPLOYMENT_TARGET} in
 
11125
+          10.[[012]])
 
11126
+            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
 
11127
+            ;;
 
11128
+          10.*)
 
11129
+            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
 
11130
+            ;;
 
11131
+        esac
 
11132
+      fi
 
11133
+       ;;
 
11134
+      esac
 
11135
+       lt_int_apple_cc_single_mod=no
 
11136
+       output_verbose_link_cmd='echo'
 
11137
+       if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
 
11138
+         lt_int_apple_cc_single_mod=yes
 
11139
+       fi
 
11140
+       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
11141
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
11142
+       else
 
11143
+        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -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'
 
11144
+      fi
 
11145
+      _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
11146
+      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
 
11147
+        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
11148
+          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
11149
+        else
 
11150
+          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
11151
+        fi
 
11152
+          _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}'
 
11153
+      _LT_AC_TAGVAR(hardcode_direct, $1)=no
 
11154
+      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
 
11155
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
 
11156
+      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
 
11157
+      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
 
11158
+    else
 
11159
+      _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
11160
+    fi
 
11161
+      ;;
 
11162
+
 
11163
+    dgux*)
 
11164
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11165
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
11166
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
11167
+      ;;
 
11168
+
 
11169
+    freebsd1*)
 
11170
+      _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
11171
+      ;;
 
11172
+
 
11173
+    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
11174
+    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
11175
+    # does not break anything, and helps significantly (at the cost of a little
 
11176
+    # extra space).
 
11177
+    freebsd2.2*)
 
11178
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
11179
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
11180
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
11181
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
11182
+      ;;
 
11183
+
 
11184
+    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
11185
+    freebsd2*)
 
11186
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
11187
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
11188
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
 
11189
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
11190
+      ;;
 
11191
+
 
11192
+    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
11193
+    freebsd* | kfreebsd*-gnu)
 
11194
+      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
11195
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
11196
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
11197
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
11198
+      ;;
 
11199
+
 
11200
+    hpux9*)
 
11201
+      if test "$GCC" = yes; then
 
11202
+       _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'
 
11203
+      else
 
11204
+       _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'
 
11205
+      fi
 
11206
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
 
11207
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
11208
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
11209
+
 
11210
+      # hardcode_minus_L: Not really in the search PATH,
 
11211
+      # but as the default location of the library.
 
11212
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
 
11213
+      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
11214
+      ;;
 
11215
+
 
11216
+    hpux10* | hpux11*)
 
11217
+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
11218
+       case "$host_cpu" in
 
11219
+       hppa*64*|ia64*)
 
11220
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11221
+         ;;
 
11222
+       *)
 
11223
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11224
+         ;;
 
11225
+       esac
 
11226
+      else
 
11227
+       case "$host_cpu" in
 
11228
+       hppa*64*|ia64*)
 
11229
+         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11230
+         ;;
 
11231
+       *)
 
11232
+         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
11233
+         ;;
 
11234
+       esac
 
11235
+      fi
 
11236
+      if test "$with_gnu_ld" = no; then
 
11237
+       case "$host_cpu" in
 
11238
+       hppa*64*)
 
11239
+         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
 
11240
+         _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
 
11241
+         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
11242
+         _LT_AC_TAGVAR(hardcode_direct, $1)=no
 
11243
+         _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
11244
+         ;;
 
11245
+       ia64*)
 
11246
+         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
11247
+         _LT_AC_TAGVAR(hardcode_direct, $1)=no
 
11248
+         _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
11249
+
 
11250
+         # hardcode_minus_L: Not really in the search PATH,
 
11251
+         # but as the default location of the library.
 
11252
+         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
 
11253
+         ;;
 
11254
+       *)
 
11255
+         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
 
11256
+         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
11257
+         _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
11258
+         _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
11259
+
 
11260
+         # hardcode_minus_L: Not really in the search PATH,
 
11261
+         # but as the default location of the library.
 
11262
+         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
 
11263
+         ;;
 
11264
+       esac
 
11265
+      fi
 
11266
+      ;;
 
11267
+
 
11268
+    irix5* | irix6* | nonstopux*)
 
11269
+      if test "$GCC" = yes; then
 
11270
+       _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'
 
11271
+      else
 
11272
+       _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'
 
11273
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
 
11274
+      fi
 
11275
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
11276
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
11277
+      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
 
11278
+      ;;
 
11279
+
 
11280
+    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
11281
+      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
11282
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
11283
+      else
 
11284
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
11285
+      fi
 
11286
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
11287
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
11288
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
11289
+      ;;
 
11290
+
 
11291
+    newsos6)
 
11292
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11293
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
11294
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
11295
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
11296
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
11297
+      ;;
 
11298
+
 
11299
+    openbsd*)
 
11300
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
11301
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
11302
+      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11303
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11304
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
11305
+       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
11306
+      else
 
11307
+       case $host_os in
 
11308
+        openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
 
11309
+          _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
11310
+          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
11311
+          ;;
 
11312
+        *)
 
11313
+          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11314
+          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
11315
+          ;;
 
11316
+       esac
 
11317
+      fi
 
11318
+      ;;
 
11319
+
 
11320
+    os2*)
 
11321
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
11322
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
 
11323
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
 
11324
+      _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'
 
11325
+      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
11326
+      ;;
 
11327
+
 
11328
+    osf3*)
 
11329
+      if test "$GCC" = yes; then
 
11330
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 
11331
+       _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'
 
11332
+      else
 
11333
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
 
11334
+       _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'
 
11335
+      fi
 
11336
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
11337
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
11338
+      ;;
 
11339
+
 
11340
+    osf4* | osf5*)     # as osf3* with the addition of -msym flag
 
11341
+      if test "$GCC" = yes; then
 
11342
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 
11343
+       _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'
 
11344
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
11345
+      else
 
11346
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
 
11347
+       _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'
 
11348
+       _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~
 
11349
+       $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
11350
+
 
11351
+       # Both c and cxx compiler support -rpath directly
 
11352
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
 
11353
+      fi
 
11354
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
11355
+      ;;
 
11356
+
 
11357
+    sco3.2v5*)
 
11358
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11359
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
11360
+      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
 
11361
+      runpath_var=LD_RUN_PATH
 
11362
+      hardcode_runpath_var=yes
 
11363
+      ;;
 
11364
+
 
11365
+    solaris*)
 
11366
+      _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
 
11367
+      if test "$GCC" = yes; then
 
11368
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11369
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
11370
+         $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
11371
+      else
 
11372
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11373
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
11374
+       $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
11375
+      fi
 
11376
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
11377
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
11378
+      case $host_os in
 
11379
+      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
 
11380
+      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
 
11381
+       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
 
11382
+      esac
 
11383
+      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
 
11384
+      ;;
 
11385
+
 
11386
+    sunos4*)
 
11387
+      if test "x$host_vendor" = xsequent; then
 
11388
+       # Use $CC to link under sequent, because it throws in some extra .o
 
11389
+       # files that make .init and .fini sections work.
 
11390
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
11391
+      else
 
11392
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
11393
+      fi
 
11394
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
11395
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
11396
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
 
11397
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
11398
+      ;;
 
11399
+
 
11400
+    sysv4)
 
11401
+      case $host_vendor in
 
11402
+       sni)
 
11403
+         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11404
+         _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
 
11405
+       ;;
 
11406
+       siemens)
 
11407
+         ## LD is ld it makes a PLAMLIB
 
11408
+         ## CC just makes a GrossModule.
 
11409
+         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
11410
+         _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
 
11411
+         _LT_AC_TAGVAR(hardcode_direct, $1)=no
 
11412
+        ;;
 
11413
+       motorola)
 
11414
+         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11415
+         _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
 
11416
+       ;;
 
11417
+      esac
 
11418
+      runpath_var='LD_RUN_PATH'
 
11419
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
11420
+      ;;
 
11421
+
 
11422
+    sysv4.3*)
 
11423
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11424
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
11425
+      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
 
11426
+      ;;
 
11427
+
 
11428
+    sysv4*MP*)
 
11429
+      if test -d /usr/nec; then
 
11430
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11431
+       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
11432
+       runpath_var=LD_RUN_PATH
 
11433
+       hardcode_runpath_var=yes
 
11434
+       _LT_AC_TAGVAR(ld_shlibs, $1)=yes
 
11435
+      fi
 
11436
+      ;;
 
11437
+
 
11438
+    sysv4.2uw2*)
 
11439
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
11440
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
11441
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
 
11442
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
11443
+      hardcode_runpath_var=yes
 
11444
+      runpath_var=LD_RUN_PATH
 
11445
+      ;;
 
11446
+
 
11447
+   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[[78]]* | unixware7*)
 
11448
+      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
 
11449
+      if test "$GCC" = yes; then
 
11450
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11451
+      else
 
11452
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11453
+      fi
 
11454
+      runpath_var='LD_RUN_PATH'
 
11455
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
11456
+      ;;
 
11457
+
 
11458
+    sysv5*)
 
11459
+      _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
 
11460
+      # $CC -shared without GNU ld will not create a library from C++
 
11461
+      # object files and a static libstdc++, better avoid it by now
 
11462
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11463
+      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
11464
+               $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
11465
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
11466
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
11467
+      runpath_var='LD_RUN_PATH'
 
11468
+      ;;
 
11469
+
 
11470
+    uts4*)
 
11471
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11472
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
11473
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
11474
+      ;;
 
11475
+
 
11476
+    *)
 
11477
+      _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
11478
+      ;;
 
11479
+    esac
 
11480
+  fi
 
11481
+])
 
11482
+AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
 
11483
+test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
 
11484
+
 
11485
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
11486
+if test "$GCC" = yes; then
 
11487
+  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
11488
+fi
 
11489
+
 
11490
+#
 
11491
+# Do we need to explicitly link libc?
 
11492
+#
 
11493
+case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
 
11494
+x|xyes)
 
11495
+  # Assume -lc should be added
 
11496
+  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
 
11497
+
 
11498
+  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
11499
+    case $_LT_AC_TAGVAR(archive_cmds, $1) in
 
11500
+    *'~'*)
 
11501
+      # FIXME: we may have to deal with multi-command sequences.
 
11502
+      ;;
 
11503
+    '$CC '*)
 
11504
+      # Test whether the compiler implicitly links with -lc since on some
 
11505
+      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
11506
+      # to ld, don't add -lc before -lgcc.
 
11507
+      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
 
11508
+      $rm conftest*
 
11509
+      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
11510
+
 
11511
+      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
 
11512
+        soname=conftest
 
11513
+        lib=conftest
 
11514
+        libobjs=conftest.$ac_objext
 
11515
+        deplibs=
 
11516
+        wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
 
11517
+        compiler_flags=-v
 
11518
+        linker_flags=-v
 
11519
+        verstring=
 
11520
+        output_objdir=.
 
11521
+        libname=conftest
 
11522
+        lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
 
11523
+        _LT_AC_TAGVAR(allow_undefined_flag, $1)=
 
11524
+        if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
 
11525
+        then
 
11526
+         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
 
11527
+        else
 
11528
+         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
 
11529
+        fi
 
11530
+        _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
 
11531
+      else
 
11532
+        cat conftest.err 1>&5
 
11533
+      fi
 
11534
+      $rm conftest*
 
11535
+      AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
 
11536
+      ;;
 
11537
+    esac
 
11538
+  fi
 
11539
+  ;;
 
11540
+esac
 
11541
+])# AC_LIBTOOL_PROG_LD_SHLIBS
 
11542
+
 
11543
+
 
11544
+# _LT_AC_FILE_LTDLL_C
 
11545
+# -------------------
 
11546
+# Be careful that the start marker always follows a newline.
 
11547
+AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
 
11548
+# /* ltdll.c starts here */
 
11549
+# #define WIN32_LEAN_AND_MEAN
 
11550
+# #include <windows.h>
 
11551
+# #undef WIN32_LEAN_AND_MEAN
 
11552
+# #include <stdio.h>
 
11553
+#
 
11554
+# #ifndef __CYGWIN__
 
11555
+# #  ifdef __CYGWIN32__
 
11556
+# #    define __CYGWIN__ __CYGWIN32__
 
11557
+# #  endif
 
11558
+# #endif
 
11559
+#
 
11560
+# #ifdef __cplusplus
 
11561
+# extern "C" {
 
11562
+# #endif
 
11563
+# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
 
11564
+# #ifdef __cplusplus
 
11565
+# }
 
11566
+# #endif
 
11567
+#
 
11568
+# #ifdef __CYGWIN__
 
11569
+# #include <cygwin/cygwin_dll.h>
 
11570
+# DECLARE_CYGWIN_DLL( DllMain );
 
11571
+# #endif
 
11572
+# HINSTANCE __hDllInstance_base;
 
11573
+#
 
11574
+# BOOL APIENTRY
 
11575
+# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
 
11576
+# {
 
11577
+#   __hDllInstance_base = hInst;
 
11578
+#   return TRUE;
 
11579
+# }
 
11580
+# /* ltdll.c ends here */
 
11581
+])# _LT_AC_FILE_LTDLL_C
 
11582
+
 
11583
+
 
11584
+# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
 
11585
+# ---------------------------------
 
11586
+AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
 
11587
+
 
11588
+
 
11589
+# old names
 
11590
+AC_DEFUN([AM_PROG_LIBTOOL],   [AC_PROG_LIBTOOL])
 
11591
+AC_DEFUN([AM_ENABLE_SHARED],  [AC_ENABLE_SHARED($@)])
 
11592
+AC_DEFUN([AM_ENABLE_STATIC],  [AC_ENABLE_STATIC($@)])
 
11593
+AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
 
11594
+AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
 
11595
+AC_DEFUN([AM_PROG_LD],        [AC_PROG_LD])
 
11596
+AC_DEFUN([AM_PROG_NM],        [AC_PROG_NM])
 
11597
+
 
11598
+# This is just to silence aclocal about the macro not being used
 
11599
+ifelse([AC_DISABLE_FAST_INSTALL])
 
11600
+
 
11601
+AC_DEFUN([LT_AC_PROG_GCJ],
 
11602
+[AC_CHECK_TOOL(GCJ, gcj, no)
 
11603
+  test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
 
11604
+  AC_SUBST(GCJFLAGS)
 
11605
+])
 
11606
+
 
11607
+AC_DEFUN([LT_AC_PROG_RC],
 
11608
+[AC_CHECK_TOOL(RC, windres, no)
 
11609
+])
 
11610
+
 
11611
+# NOTE: This macro has been submitted for inclusion into   #
 
11612
+#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
 
11613
+#  a released version of Autoconf we should remove this    #
 
11614
+#  macro and use it instead.                               #
 
11615
+# LT_AC_PROG_SED
 
11616
+# --------------
 
11617
+# Check for a fully-functional sed program, that truncates
 
11618
+# as few characters as possible.  Prefer GNU sed if found.
 
11619
+AC_DEFUN([LT_AC_PROG_SED],
 
11620
+[AC_MSG_CHECKING([for a sed that does not truncate output])
 
11621
+AC_CACHE_VAL(lt_cv_path_SED,
 
11622
+[# Loop through the user's path and test for sed and gsed.
 
11623
+# Then use that list of sed's as ones to test for truncation.
 
11624
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11625
+for as_dir in $PATH
 
11626
+do
 
11627
+  IFS=$as_save_IFS
 
11628
+  test -z "$as_dir" && as_dir=.
 
11629
+  for lt_ac_prog in sed gsed; do
 
11630
+    for ac_exec_ext in '' $ac_executable_extensions; do
 
11631
+      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
11632
+        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
 
11633
+      fi
 
11634
+    done
 
11635
+  done
 
11636
+done
 
11637
+lt_ac_max=0
 
11638
+lt_ac_count=0
 
11639
+# Add /usr/xpg4/bin/sed as it is typically found on Solaris
 
11640
+# along with /bin/sed that truncates output.
 
11641
+for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
 
11642
+  test ! -f $lt_ac_sed && break
 
11643
+  cat /dev/null > conftest.in
 
11644
+  lt_ac_count=0
 
11645
+  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
 
11646
+  # Check for GNU sed and select it if it is found.
 
11647
+  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
 
11648
+    lt_cv_path_SED=$lt_ac_sed
 
11649
+    break
 
11650
+  fi
 
11651
+  while true; do
 
11652
+    cat conftest.in conftest.in >conftest.tmp
 
11653
+    mv conftest.tmp conftest.in
 
11654
+    cp conftest.in conftest.nl
 
11655
+    echo >>conftest.nl
 
11656
+    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
 
11657
+    cmp -s conftest.out conftest.nl || break
 
11658
+    # 10000 chars as input seems more than enough
 
11659
+    test $lt_ac_count -gt 10 && break
 
11660
+    lt_ac_count=`expr $lt_ac_count + 1`
 
11661
+    if test $lt_ac_count -gt $lt_ac_max; then
 
11662
+      lt_ac_max=$lt_ac_count
 
11663
+      lt_cv_path_SED=$lt_ac_sed
 
11664
+    fi
 
11665
+  done
 
11666
+done
 
11667
+SED=$lt_cv_path_SED
 
11668
+])
 
11669
+AC_MSG_RESULT([$SED])
 
11670
+])
 
11671
+
 
11672
+# Configure paths for libogg
 
11673
+# Jack Moffitt <jack@icecast.org> 10-21-2000
 
11674
+# Shamelessly stolen from Owen Taylor and Manish Singh
 
11675
+
 
11676
+dnl XIPH_PATH_OGG([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
 
11677
+dnl Test for libogg, and define OGG_CFLAGS and OGG_LIBS
 
11678
+dnl
 
11679
+AC_DEFUN([XIPH_PATH_OGG],
 
11680
+[dnl 
 
11681
+dnl Get the cflags and libraries
 
11682
+dnl
 
11683
+AC_ARG_WITH(ogg,[  --with-ogg=PFX   Prefix where libogg is installed (optional)], ogg_prefix="$withval", ogg_prefix="")
 
11684
+AC_ARG_WITH(ogg-libraries,[  --with-ogg-libraries=DIR   Directory where libogg library is installed (optional)], ogg_libraries="$withval", ogg_libraries="")
 
11685
+AC_ARG_WITH(ogg-includes,[  --with-ogg-includes=DIR   Directory where libogg header files are installed (optional)], ogg_includes="$withval", ogg_includes="")
 
11686
+AC_ARG_ENABLE(oggtest, [  --disable-oggtest       Do not try to compile and run a test Ogg program],, enable_oggtest=yes)
 
11687
+
 
11688
+  if test "x$ogg_libraries" != "x" ; then
 
11689
+    OGG_LIBS="-L$ogg_libraries"
 
11690
+  elif test "x$ogg_prefix" != "x" ; then
 
11691
+    OGG_LIBS="-L$ogg_prefix/lib"
 
11692
+  elif test "x$prefix" != "xNONE" ; then
 
11693
+    OGG_LIBS="-L$prefix/lib"
 
11694
+  fi
 
11695
+
 
11696
+  OGG_LIBS="$OGG_LIBS -logg"
 
11697
+
 
11698
+  if test "x$ogg_includes" != "x" ; then
 
11699
+    OGG_CFLAGS="-I$ogg_includes"
 
11700
+  elif test "x$ogg_prefix" != "x" ; then
 
11701
+    OGG_CFLAGS="-I$ogg_prefix/include"
 
11702
+  elif test "x$prefix" != "xNONE"; then
 
11703
+    OGG_CFLAGS="-I$prefix/include"
 
11704
+  fi
 
11705
+
 
11706
+  AC_MSG_CHECKING(for Ogg)
 
11707
+  no_ogg=""
 
11708
+
 
11709
+
 
11710
+  if test "x$enable_oggtest" = "xyes" ; then
 
11711
+    ac_save_CFLAGS="$CFLAGS"
 
11712
+    ac_save_LIBS="$LIBS"
 
11713
+    CFLAGS="$CFLAGS $OGG_CFLAGS"
 
11714
+    LIBS="$LIBS $OGG_LIBS"
 
11715
+dnl
 
11716
+dnl Now check if the installed Ogg is sufficiently new.
 
11717
+dnl
 
11718
+      rm -f conf.oggtest
 
11719
+      AC_TRY_RUN([
 
11720
+#include <stdio.h>
 
11721
+#include <stdlib.h>
 
11722
+#include <string.h>
 
11723
+#include <ogg/ogg.h>
 
11724
+
 
11725
+int main ()
 
11726
+{
 
11727
+  system("touch conf.oggtest");
 
11728
+  return 0;
 
11729
+}
 
11730
+
 
11731
+],, no_ogg=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
 
11732
+       CFLAGS="$ac_save_CFLAGS"
 
11733
+       LIBS="$ac_save_LIBS"
 
11734
+  fi
 
11735
+
 
11736
+  if test "x$no_ogg" = "x" ; then
 
11737
+     AC_MSG_RESULT(yes)
 
11738
+     ifelse([$1], , :, [$1])     
 
11739
+  else
 
11740
+     AC_MSG_RESULT(no)
 
11741
+     if test -f conf.oggtest ; then
 
11742
+       :
 
11743
+     else
 
11744
+       echo "*** Could not run Ogg test program, checking why..."
 
11745
+       CFLAGS="$CFLAGS $OGG_CFLAGS"
 
11746
+       LIBS="$LIBS $OGG_LIBS"
 
11747
+       AC_TRY_LINK([
 
11748
+#include <stdio.h>
 
11749
+#include <ogg/ogg.h>
 
11750
+],     [ return 0; ],
 
11751
+       [ echo "*** The test program compiled, but did not run. This usually means"
 
11752
+       echo "*** that the run-time linker is not finding Ogg or finding the wrong"
 
11753
+       echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your"
 
11754
+       echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
 
11755
+       echo "*** to the installed location  Also, make sure you have run ldconfig if that"
 
11756
+       echo "*** is required on your system"
 
11757
+       echo "***"
 
11758
+       echo "*** If you have an old version installed, it is best to remove it, although"
 
11759
+       echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
 
11760
+       [ echo "*** The test program failed to compile or link. See the file config.log for the"
 
11761
+       echo "*** exact error that occured. This usually means Ogg was incorrectly installed"
 
11762
+       echo "*** or that you have moved Ogg since it was installed." ])
 
11763
+       CFLAGS="$ac_save_CFLAGS"
 
11764
+       LIBS="$ac_save_LIBS"
 
11765
+     fi
 
11766
+     OGG_CFLAGS=""
 
11767
+     OGG_LIBS=""
 
11768
+     ifelse([$2], , :, [$2])
 
11769
+  fi
 
11770
+  AC_SUBST(OGG_CFLAGS)
 
11771
+  AC_SUBST(OGG_LIBS)
 
11772
+  rm -f conf.oggtest
 
11773
+])
 
11774
+
 
11775
+# CFLAGS and library paths for XMMS
 
11776
+# written 15 December 1999 by Ben Gertzfield <che@debian.org>
 
11777
+
 
11778
+dnl Usage:
 
11779
+dnl AM_PATH_XMMS([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
 
11780
+dnl
 
11781
+dnl Example:
 
11782
+dnl AM_PATH_XMMS(0.9.5.1, , AC_MSG_ERROR([*** XMMS >= 0.9.5.1 not installed - please install first ***]))
 
11783
+dnl
 
11784
+dnl Defines XMMS_CFLAGS, XMMS_LIBS, XMMS_DATA_DIR, XMMS_PLUGIN_DIR, 
 
11785
+dnl XMMS_VISUALIZATION_PLUGIN_DIR, XMMS_INPUT_PLUGIN_DIR, 
 
11786
+dnl XMMS_OUTPUT_PLUGIN_DIR, XMMS_GENERAL_PLUGIN_DIR, XMMS_EFFECT_PLUGIN_DIR,
 
11787
+dnl and XMMS_VERSION for your plugin pleasure.
 
11788
+dnl
 
11789
+
 
11790
+dnl XMMS_TEST_VERSION(AVAILABLE-VERSION, NEEDED-VERSION [, ACTION-IF-OKAY [, ACTION-IF-NOT-OKAY]])
 
11791
+AC_DEFUN([XMMS_TEST_VERSION], [
 
11792
+
 
11793
+# Determine which version number is greater. Prints 2 to stdout if     
 
11794
+# the second number is greater, 1 if the first number is greater,      
 
11795
+# 0 if the numbers are equal.                                          
 
11796
+                                                                       
 
11797
+# Written 15 December 1999 by Ben Gertzfield <che@debian.org>          
 
11798
+# Revised 15 December 1999 by Jim Monty <monty@primenet.com>           
 
11799
+                                                                       
 
11800
+    AC_PROG_AWK
 
11801
+    xmms_got_version=[` $AWK '                                         \
 
11802
+BEGIN {                                                                        \
 
11803
+    print vercmp(ARGV[1], ARGV[2]);                                    \
 
11804
+}                                                                      \
 
11805
+                                                                       \
 
11806
+function vercmp(ver1, ver2,    ver1arr, ver2arr,                       \
 
11807
+                               ver1len, ver2len,                       \
 
11808
+                               ver1int, ver2int, len, i, p) {          \
 
11809
+                                                                       \
 
11810
+    ver1len = split(ver1, ver1arr, /\./);                              \
 
11811
+    ver2len = split(ver2, ver2arr, /\./);                              \
 
11812
+                                                                       \
 
11813
+    len = ver1len > ver2len ? ver1len : ver2len;                       \
 
11814
+                                                                       \
 
11815
+    for (i = 1; i <= len; i++) {                                       \
 
11816
+        p = 1000 ^ (len - i);                                          \
 
11817
+        ver1int += ver1arr[i] * p;                                     \
 
11818
+        ver2int += ver2arr[i] * p;                                     \
 
11819
+    }                                                                  \
 
11820
+                                                                       \
 
11821
+    if (ver1int < ver2int)                                             \
 
11822
+        return 2;                                                      \
 
11823
+    else if (ver1int > ver2int)                                                \
 
11824
+        return 1;                                                      \
 
11825
+    else                                                               \
 
11826
+        return 0;                                                      \
 
11827
+}' $1 $2`]                                                             
 
11828
+
 
11829
+    if test $xmms_got_version -eq 2; then      # failure
 
11830
+       ifelse([$4], , :, $4)                   
 
11831
+    else                                       # success!
 
11832
+       ifelse([$3], , :, $3)
 
11833
+    fi
 
11834
+])
 
11835
+
 
11836
+AC_DEFUN([AM_PATH_XMMS],
 
11837
+[
 
11838
+AC_ARG_WITH(xmms-prefix,[  --with-xmms-prefix=PFX  Prefix where XMMS is installed (optional)],
 
11839
+       xmms_config_prefix="$withval", xmms_config_prefix="")
 
11840
+AC_ARG_WITH(xmms-exec-prefix,[  --with-xmms-exec-prefix=PFX Exec prefix where XMMS is installed (optional)],
 
11841
+       xmms_config_exec_prefix="$withval", xmms_config_exec_prefix="")
 
11842
+
 
11843
+if test x$xmms_config_exec_prefix != x; then
 
11844
+    xmms_config_args="$xmms_config_args --exec-prefix=$xmms_config_exec_prefix"
 
11845
+    if test x${XMMS_CONFIG+set} != xset; then
 
11846
+       XMMS_CONFIG=$xmms_config_exec_prefix/bin/xmms-config
 
11847
+    fi
 
11848
+fi
 
11849
+
 
11850
+if test x$xmms_config_prefix != x; then
 
11851
+    xmms_config_args="$xmms_config_args --prefix=$xmms_config_prefix"
 
11852
+    if test x${XMMS_CONFIG+set} != xset; then
 
11853
+       XMMS_CONFIG=$xmms_config_prefix/bin/xmms-config
 
11854
+    fi
 
11855
+fi
 
11856
+
 
11857
+AC_PATH_PROG(XMMS_CONFIG, xmms-config, no)
 
11858
+min_xmms_version=ifelse([$1], ,0.9.5.1, $1)
 
11859
+
 
11860
+if test "$XMMS_CONFIG" = "no"; then
 
11861
+    no_xmms=yes
 
11862
+else
 
11863
+    XMMS_CFLAGS=`$XMMS_CONFIG $xmms_config_args --cflags`
 
11864
+    XMMS_LIBS=`$XMMS_CONFIG $xmms_config_args --libs`
 
11865
+    XMMS_VERSION=`$XMMS_CONFIG $xmms_config_args --version`
 
11866
+    XMMS_DATA_DIR=`$XMMS_CONFIG $xmms_config_args --data-dir`
 
11867
+    XMMS_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --plugin-dir`
 
11868
+    XMMS_VISUALIZATION_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args \
 
11869
+                                       --visualization-plugin-dir`
 
11870
+    XMMS_INPUT_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --input-plugin-dir`
 
11871
+    XMMS_OUTPUT_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --output-plugin-dir`
 
11872
+    XMMS_EFFECT_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --effect-plugin-dir`
 
11873
+    XMMS_GENERAL_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --general-plugin-dir`
 
11874
+
 
11875
+    XMMS_TEST_VERSION($XMMS_VERSION, $min_xmms_version, ,no_xmms=version)
 
11876
+fi
 
11877
+
 
11878
+AC_MSG_CHECKING(for XMMS - version >= $min_xmms_version)
 
11879
+
 
11880
+if test "x$no_xmms" = x; then
 
11881
+    AC_MSG_RESULT(yes)
 
11882
+    ifelse([$2], , :, [$2])
 
11883
+else
 
11884
+    AC_MSG_RESULT(no)
 
11885
+
 
11886
+    if test "$XMMS_CONFIG" = "no" ; then
 
11887
+       echo "*** The xmms-config script installed by XMMS could not be found."
 
11888
+       echo "*** If XMMS was installed in PREFIX, make sure PREFIX/bin is in"
 
11889
+       echo "*** your path, or set the XMMS_CONFIG environment variable to the"
 
11890
+       echo "*** full path to xmms-config."
 
11891
+    else
 
11892
+       if test "$no_xmms" = "version"; then
 
11893
+           echo "*** An old version of XMMS, $XMMS_VERSION, was found."
 
11894
+           echo "*** You need a version of XMMS newer than $min_xmms_version."
 
11895
+           echo "*** The latest version of XMMS is always available from"
 
11896
+           echo "*** http://www.xmms.org/"
 
11897
+           echo "***"
 
11898
+
 
11899
+            echo "*** If you have already installed a sufficiently new version, this error"
 
11900
+            echo "*** probably means that the wrong copy of the xmms-config shell script is"
 
11901
+            echo "*** being found. The easiest way to fix this is to remove the old version"
 
11902
+            echo "*** of XMMS, but you can also set the XMMS_CONFIG environment to point to the"
 
11903
+            echo "*** correct copy of xmms-config. (In this case, you will have to"
 
11904
+            echo "*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf"
 
11905
+            echo "*** so that the correct libraries are found at run-time)"
 
11906
+       fi
 
11907
+    fi
 
11908
+    XMMS_CFLAGS=""
 
11909
+    XMMS_LIBS=""
 
11910
+    ifelse([$3], , :, [$3])
 
11911
+fi
 
11912
+AC_SUBST(XMMS_CFLAGS)
 
11913
+AC_SUBST(XMMS_LIBS)
 
11914
+AC_SUBST(XMMS_VERSION)
 
11915
+AC_SUBST(XMMS_DATA_DIR)
 
11916
+AC_SUBST(XMMS_PLUGIN_DIR)
 
11917
+AC_SUBST(XMMS_VISUALIZATION_PLUGIN_DIR)
 
11918
+AC_SUBST(XMMS_INPUT_PLUGIN_DIR)
 
11919
+AC_SUBST(XMMS_OUTPUT_PLUGIN_DIR)
 
11920
+AC_SUBST(XMMS_GENERAL_PLUGIN_DIR)
 
11921
+AC_SUBST(XMMS_EFFECT_PLUGIN_DIR)
 
11922
+])
 
11923
+
 
11924
+#                                                        -*- Autoconf -*-
 
11925
+# Copyright (C) 2002, 2003  Free Software Foundation, Inc.
 
11926
+# Generated from amversion.in; do not edit by hand.
 
11927
+
 
11928
+# This program is free software; you can redistribute it and/or modify
 
11929
+# it under the terms of the GNU General Public License as published by
 
11930
+# the Free Software Foundation; either version 2, or (at your option)
 
11931
+# any later version.
 
11932
+
 
11933
+# This program is distributed in the hope that it will be useful,
 
11934
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11935
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11936
+# GNU General Public License for more details.
 
11937
+
 
11938
+# You should have received a copy of the GNU General Public License
 
11939
+# along with this program; if not, write to the Free Software
 
11940
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
11941
+
 
11942
+# AM_AUTOMAKE_VERSION(VERSION)
 
11943
+# ----------------------------
 
11944
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
 
11945
+# generated from the m4 files accompanying Automake X.Y.
 
11946
+AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"])
 
11947
+
 
11948
+# AM_SET_CURRENT_AUTOMAKE_VERSION
 
11949
+# -------------------------------
 
11950
+# Call AM_AUTOMAKE_VERSION so it can be traced.
 
11951
+# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
 
11952
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
 
11953
+        [AM_AUTOMAKE_VERSION([1.8.5])])
 
11954
+
 
11955
+# Figure out how to run the assembler.             -*- Autoconf -*-
 
11956
+
 
11957
+# serial 3
 
11958
+
 
11959
+# Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc.
 
11960
+
 
11961
+# This program is free software; you can redistribute it and/or modify
 
11962
+# it under the terms of the GNU General Public License as published by
 
11963
+# the Free Software Foundation; either version 2, or (at your option)
 
11964
+# any later version.
 
11965
+
 
11966
+# This program is distributed in the hope that it will be useful,
 
11967
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11968
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11969
+# GNU General Public License for more details.
 
11970
+
 
11971
+# You should have received a copy of the GNU General Public License
 
11972
+# along with this program; if not, write to the Free Software
 
11973
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
11974
+# 02111-1307, USA.
 
11975
+
 
11976
+# AM_PROG_AS
 
11977
+# ----------
 
11978
+AC_DEFUN([AM_PROG_AS],
 
11979
+[# By default we simply use the C compiler to build assembly code.
 
11980
+AC_REQUIRE([AC_PROG_CC])
 
11981
+test "${CCAS+set}" = set || CCAS=$CC
 
11982
+test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
 
11983
+AC_ARG_VAR([CCAS],      [assembler compiler command (defaults to CC)])
 
11984
+AC_ARG_VAR([CCASFLAGS], [assembler compiler flags (defaults to CFLAGS)])
 
11985
+])
 
11986
+
 
11987
+# AM_AUX_DIR_EXPAND
 
11988
+
 
11989
+# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
 
11990
+
 
11991
+# This program is free software; you can redistribute it and/or modify
 
11992
+# it under the terms of the GNU General Public License as published by
 
11993
+# the Free Software Foundation; either version 2, or (at your option)
 
11994
+# any later version.
 
11995
+
 
11996
+# This program is distributed in the hope that it will be useful,
 
11997
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11998
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11999
+# GNU General Public License for more details.
 
12000
+
 
12001
+# You should have received a copy of the GNU General Public License
 
12002
+# along with this program; if not, write to the Free Software
 
12003
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
12004
+# 02111-1307, USA.
 
12005
+
 
12006
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
 
12007
+# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
 
12008
+# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
 
12009
+#
 
12010
+# Of course, Automake must honor this variable whenever it calls a
 
12011
+# tool from the auxiliary directory.  The problem is that $srcdir (and
 
12012
+# therefore $ac_aux_dir as well) can be either absolute or relative,
 
12013
+# depending on how configure is run.  This is pretty annoying, since
 
12014
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
 
12015
+# source directory, any form will work fine, but in subdirectories a
 
12016
+# relative path needs to be adjusted first.
 
12017
+#
 
12018
+# $ac_aux_dir/missing
 
12019
+#    fails when called from a subdirectory if $ac_aux_dir is relative
 
12020
+# $top_srcdir/$ac_aux_dir/missing
 
12021
+#    fails if $ac_aux_dir is absolute,
 
12022
+#    fails when called from a subdirectory in a VPATH build with
 
12023
+#          a relative $ac_aux_dir
 
12024
+#
 
12025
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
 
12026
+# are both prefixed by $srcdir.  In an in-source build this is usually
 
12027
+# harmless because $srcdir is `.', but things will broke when you
 
12028
+# start a VPATH build or use an absolute $srcdir.
 
12029
+#
 
12030
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
 
12031
+# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
 
12032
+#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
 
12033
+# and then we would define $MISSING as
 
12034
+#   MISSING="\${SHELL} $am_aux_dir/missing"
 
12035
+# This will work as long as MISSING is not called from configure, because
 
12036
+# unfortunately $(top_srcdir) has no meaning in configure.
 
12037
+# However there are other variables, like CC, which are often used in
 
12038
+# configure, and could therefore not use this "fixed" $ac_aux_dir.
 
12039
+#
 
12040
+# Another solution, used here, is to always expand $ac_aux_dir to an
 
12041
+# absolute PATH.  The drawback is that using absolute paths prevent a
 
12042
+# configured tree to be moved without reconfiguration.
 
12043
+
 
12044
+AC_DEFUN([AM_AUX_DIR_EXPAND],
 
12045
+[dnl Rely on autoconf to set up CDPATH properly.
 
12046
+AC_PREREQ([2.50])dnl
 
12047
+# expand $ac_aux_dir to an absolute path
 
12048
+am_aux_dir=`cd $ac_aux_dir && pwd`
 
12049
+])
 
12050
+
 
12051
+# AM_CONDITIONAL                                              -*- Autoconf -*-
 
12052
+
 
12053
+# Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
 
12054
+
 
12055
+# This program is free software; you can redistribute it and/or modify
 
12056
+# it under the terms of the GNU General Public License as published by
 
12057
+# the Free Software Foundation; either version 2, or (at your option)
 
12058
+# any later version.
 
12059
+
 
12060
+# This program is distributed in the hope that it will be useful,
 
12061
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12062
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12063
+# GNU General Public License for more details.
 
12064
+
 
12065
+# You should have received a copy of the GNU General Public License
 
12066
+# along with this program; if not, write to the Free Software
 
12067
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
12068
+# 02111-1307, USA.
 
12069
+
 
12070
+# serial 6
 
12071
+
 
12072
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
 
12073
+# -------------------------------------
 
12074
+# Define a conditional.
 
12075
+AC_DEFUN([AM_CONDITIONAL],
 
12076
+[AC_PREREQ(2.52)dnl
 
12077
+ ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
 
12078
+       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
 
12079
+AC_SUBST([$1_TRUE])
 
12080
+AC_SUBST([$1_FALSE])
 
12081
+if $2; then
 
12082
+  $1_TRUE=
 
12083
+  $1_FALSE='#'
 
12084
+else
 
12085
+  $1_TRUE='#'
 
12086
+  $1_FALSE=
 
12087
+fi
 
12088
+AC_CONFIG_COMMANDS_PRE(
 
12089
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
 
12090
+  AC_MSG_ERROR([conditional "$1" was never defined.
 
12091
+Usually this means the macro was only invoked conditionally.])
 
12092
+fi])])
 
12093
+
 
12094
+# serial 7                                             -*- Autoconf -*-
 
12095
+
 
12096
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
 
12097
+# Free Software Foundation, Inc.
 
12098
+
 
12099
+# This program is free software; you can redistribute it and/or modify
 
12100
+# it under the terms of the GNU General Public License as published by
 
12101
+# the Free Software Foundation; either version 2, or (at your option)
 
12102
+# any later version.
 
12103
+
 
12104
+# This program is distributed in the hope that it will be useful,
 
12105
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12106
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12107
+# GNU General Public License for more details.
 
12108
+
 
12109
+# You should have received a copy of the GNU General Public License
 
12110
+# along with this program; if not, write to the Free Software
 
12111
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
12112
+# 02111-1307, USA.
 
12113
+
 
12114
+
 
12115
+# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
 
12116
+# written in clear, in which case automake, when reading aclocal.m4,
 
12117
+# will think it sees a *use*, and therefore will trigger all it's
 
12118
+# C support machinery.  Also note that it means that autoscan, seeing
 
12119
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
 
12120
+
 
12121
+
 
12122
+
 
12123
+# _AM_DEPENDENCIES(NAME)
 
12124
+# ----------------------
 
12125
+# See how the compiler implements dependency checking.
 
12126
+# NAME is "CC", "CXX", "GCJ", or "OBJC".
 
12127
+# We try a few techniques and use that to set a single cache variable.
 
12128
+#
 
12129
+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
 
12130
+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
 
12131
+# dependency, and given that the user is not expected to run this macro,
 
12132
+# just rely on AC_PROG_CC.
 
12133
+AC_DEFUN([_AM_DEPENDENCIES],
 
12134
+[AC_REQUIRE([AM_SET_DEPDIR])dnl
 
12135
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
 
12136
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
 
12137
+AC_REQUIRE([AM_DEP_TRACK])dnl
 
12138
+
 
12139
+ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
 
12140
+       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
 
12141
+       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
 
12142
+       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
 
12143
+                   [depcc="$$1"   am_compiler_list=])
 
12144
+
 
12145
+AC_CACHE_CHECK([dependency style of $depcc],
 
12146
+               [am_cv_$1_dependencies_compiler_type],
 
12147
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
12148
+  # We make a subdir and do the tests there.  Otherwise we can end up
 
12149
+  # making bogus files that we don't know about and never remove.  For
 
12150
+  # instance it was reported that on HP-UX the gcc test will end up
 
12151
+  # making a dummy file named `D' -- because `-MD' means `put the output
 
12152
+  # in D'.
 
12153
+  mkdir conftest.dir
 
12154
+  # Copy depcomp to subdir because otherwise we won't find it if we're
 
12155
+  # using a relative directory.
 
12156
+  cp "$am_depcomp" conftest.dir
 
12157
+  cd conftest.dir
 
12158
+  # We will build objects and dependencies in a subdirectory because
 
12159
+  # it helps to detect inapplicable dependency modes.  For instance
 
12160
+  # both Tru64's cc and ICC support -MD to output dependencies as a
 
12161
+  # side effect of compilation, but ICC will put the dependencies in
 
12162
+  # the current directory while Tru64 will put them in the object
 
12163
+  # directory.
 
12164
+  mkdir sub
 
12165
+
 
12166
+  am_cv_$1_dependencies_compiler_type=none
 
12167
+  if test "$am_compiler_list" = ""; then
 
12168
+     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
 
12169
+  fi
 
12170
+  for depmode in $am_compiler_list; do
 
12171
+    # Setup a source with many dependencies, because some compilers
 
12172
+    # like to wrap large dependency lists on column 80 (with \), and
 
12173
+    # we should not choose a depcomp mode which is confused by this.
 
12174
+    #
 
12175
+    # We need to recreate these files for each test, as the compiler may
 
12176
+    # overwrite some of them when testing with obscure command lines.
 
12177
+    # This happens at least with the AIX C compiler.
 
12178
+    : > sub/conftest.c
 
12179
+    for i in 1 2 3 4 5 6; do
 
12180
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
12181
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
12182
+      # Solaris 8's {/usr,}/bin/sh.
 
12183
+      touch sub/conftst$i.h
 
12184
+    done
 
12185
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
12186
+
 
12187
+    case $depmode in
 
12188
+    nosideeffect)
 
12189
+      # after this tag, mechanisms are not by side-effect, so they'll
 
12190
+      # only be used when explicitly requested
 
12191
+      if test "x$enable_dependency_tracking" = xyes; then
 
12192
+       continue
 
12193
+      else
 
12194
+       break
 
12195
+      fi
 
12196
+      ;;
 
12197
+    none) break ;;
 
12198
+    esac
 
12199
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
12200
+    # mode.  It turns out that the SunPro C++ compiler does not properly
 
12201
+    # handle `-M -o', and we need to detect this.
 
12202
+    if depmode=$depmode \
 
12203
+       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
12204
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
12205
+       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
12206
+         >/dev/null 2>conftest.err &&
 
12207
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
12208
+       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
12209
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
12210
+      # icc doesn't choke on unknown options, it will just issue warnings
 
12211
+      # or remarks (even with -Werror).  So we grep stderr for any message
 
12212
+      # that says an option was ignored or not supported.
 
12213
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
12214
+      #   icc: Command line warning: ignoring option '-M'; no argument required
 
12215
+      # The diagnosis changed in icc 8.0:
 
12216
+      #   icc: Command line remark: option '-MP' not supported
 
12217
+      if (grep 'ignoring option' conftest.err ||
 
12218
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
12219
+        am_cv_$1_dependencies_compiler_type=$depmode
 
12220
+        break
 
12221
+      fi
 
12222
+    fi
 
12223
+  done
 
12224
+
 
12225
+  cd ..
 
12226
+  rm -rf conftest.dir
 
12227
+else
 
12228
+  am_cv_$1_dependencies_compiler_type=none
 
12229
+fi
 
12230
+])
 
12231
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
 
12232
+AM_CONDITIONAL([am__fastdep$1], [
 
12233
+  test "x$enable_dependency_tracking" != xno \
 
12234
+  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
 
12235
+])
 
12236
+
 
12237
+
 
12238
+# AM_SET_DEPDIR
 
12239
+# -------------
 
12240
+# Choose a directory name for dependency files.
 
12241
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES
 
12242
+AC_DEFUN([AM_SET_DEPDIR],
 
12243
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
 
12244
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
 
12245
+])
 
12246
+
 
12247
+
 
12248
+# AM_DEP_TRACK
 
12249
+# ------------
 
12250
+AC_DEFUN([AM_DEP_TRACK],
 
12251
+[AC_ARG_ENABLE(dependency-tracking,
 
12252
+[  --disable-dependency-tracking  speeds up one-time build
 
12253
+  --enable-dependency-tracking   do not reject slow dependency extractors])
 
12254
+if test "x$enable_dependency_tracking" != xno; then
 
12255
+  am_depcomp="$ac_aux_dir/depcomp"
 
12256
+  AMDEPBACKSLASH='\'
 
12257
+fi
 
12258
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
 
12259
+AC_SUBST([AMDEPBACKSLASH])
 
12260
+])
 
12261
+
 
12262
+# Generate code to set up dependency tracking.   -*- Autoconf -*-
 
12263
+
 
12264
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
 
12265
+
 
12266
+# This program is free software; you can redistribute it and/or modify
 
12267
+# it under the terms of the GNU General Public License as published by
 
12268
+# the Free Software Foundation; either version 2, or (at your option)
 
12269
+# any later version.
 
12270
+
 
12271
+# This program is distributed in the hope that it will be useful,
 
12272
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12273
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12274
+# GNU General Public License for more details.
 
12275
+
 
12276
+# You should have received a copy of the GNU General Public License
 
12277
+# along with this program; if not, write to the Free Software
 
12278
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
12279
+# 02111-1307, USA.
 
12280
+
 
12281
+#serial 2
 
12282
+
 
12283
+# _AM_OUTPUT_DEPENDENCY_COMMANDS
 
12284
+# ------------------------------
 
12285
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
 
12286
+[for mf in $CONFIG_FILES; do
 
12287
+  # Strip MF so we end up with the name of the file.
 
12288
+  mf=`echo "$mf" | sed -e 's/:.*$//'`
 
12289
+  # Check whether this is an Automake generated Makefile or not.
 
12290
+  # We used to match only the files named `Makefile.in', but
 
12291
+  # some people rename them; so instead we look at the file content.
 
12292
+  # Grep'ing the first line is not enough: some people post-process
 
12293
+  # each Makefile.in and add a new line on top of each file to say so.
 
12294
+  # So let's grep whole file.
 
12295
+  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
12296
+    dirpart=`AS_DIRNAME("$mf")`
 
12297
+  else
 
12298
+    continue
 
12299
+  fi
 
12300
+  grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
 
12301
+  # Extract the definition of DEP_FILES from the Makefile without
 
12302
+  # running `make'.
 
12303
+  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
12304
+  test -z "$DEPDIR" && continue
 
12305
+  # When using ansi2knr, U may be empty or an underscore; expand it
 
12306
+  U=`sed -n 's/^U = //p' < "$mf"`
 
12307
+  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
 
12308
+  # We invoke sed twice because it is the simplest approach to
 
12309
+  # changing $(DEPDIR) to its actual value in the expansion.
 
12310
+  for file in `sed -n '
 
12311
+    /^DEP_FILES = .*\\\\$/ {
 
12312
+      s/^DEP_FILES = //
 
12313
+      :loop
 
12314
+       s/\\\\$//
 
12315
+       p
 
12316
+       n
 
12317
+       /\\\\$/ b loop
 
12318
+      p
 
12319
+    }
 
12320
+    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
 
12321
+       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
12322
+    # Make sure the directory exists.
 
12323
+    test -f "$dirpart/$file" && continue
 
12324
+    fdir=`AS_DIRNAME(["$file"])`
 
12325
+    AS_MKDIR_P([$dirpart/$fdir])
 
12326
+    # echo "creating $dirpart/$file"
 
12327
+    echo '# dummy' > "$dirpart/$file"
 
12328
+  done
 
12329
+done
 
12330
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
 
12331
+
 
12332
+
 
12333
+# AM_OUTPUT_DEPENDENCY_COMMANDS
 
12334
+# -----------------------------
 
12335
+# This macro should only be invoked once -- use via AC_REQUIRE.
 
12336
+#
 
12337
+# This code is only required when automatic dependency tracking
 
12338
+# is enabled.  FIXME.  This creates each `.P' file that we will
 
12339
+# need in order to bootstrap the dependency handling code.
 
12340
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
 
12341
+[AC_CONFIG_COMMANDS([depfiles],
 
12342
+     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
 
12343
+     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
 
12344
+])
 
12345
+
 
12346
+# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
 
12347
+
 
12348
+# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
 
12349
+
 
12350
+# This program is free software; you can redistribute it and/or modify
 
12351
+# it under the terms of the GNU General Public License as published by
 
12352
+# the Free Software Foundation; either version 2, or (at your option)
 
12353
+# any later version.
 
12354
+
 
12355
+# This program is distributed in the hope that it will be useful,
 
12356
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12357
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12358
+# GNU General Public License for more details.
 
12359
+
 
12360
+# You should have received a copy of the GNU General Public License
 
12361
+# along with this program; if not, write to the Free Software
 
12362
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
12363
+# 02111-1307, USA.
 
12364
+
 
12365
+# serial 7
 
12366
+
 
12367
+# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
 
12368
+AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
 
12369
+
 
12370
+# Do all the work for Automake.                            -*- Autoconf -*-
 
12371
+
 
12372
+# This macro actually does too much some checks are only needed if
 
12373
+# your package does certain things.  But this isn't really a big deal.
 
12374
+
 
12375
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
 
12376
+# Free Software Foundation, Inc.
 
12377
+
 
12378
+# This program is free software; you can redistribute it and/or modify
 
12379
+# it under the terms of the GNU General Public License as published by
 
12380
+# the Free Software Foundation; either version 2, or (at your option)
 
12381
+# any later version.
 
12382
+
 
12383
+# This program is distributed in the hope that it will be useful,
 
12384
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12385
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12386
+# GNU General Public License for more details.
 
12387
+
 
12388
+# You should have received a copy of the GNU General Public License
 
12389
+# along with this program; if not, write to the Free Software
 
12390
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
12391
+# 02111-1307, USA.
 
12392
+
 
12393
+# serial 11
 
12394
+
 
12395
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
 
12396
+# AM_INIT_AUTOMAKE([OPTIONS])
 
12397
+# -----------------------------------------------
 
12398
+# The call with PACKAGE and VERSION arguments is the old style
 
12399
+# call (pre autoconf-2.50), which is being phased out.  PACKAGE
 
12400
+# and VERSION should now be passed to AC_INIT and removed from
 
12401
+# the call to AM_INIT_AUTOMAKE.
 
12402
+# We support both call styles for the transition.  After
 
12403
+# the next Automake release, Autoconf can make the AC_INIT
 
12404
+# arguments mandatory, and then we can depend on a new Autoconf
 
12405
+# release and drop the old call support.
 
12406
+AC_DEFUN([AM_INIT_AUTOMAKE],
 
12407
+[AC_PREREQ([2.58])dnl
 
12408
+dnl Autoconf wants to disallow AM_ names.  We explicitly allow
 
12409
+dnl the ones we care about.
 
12410
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
 
12411
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
 
12412
+AC_REQUIRE([AC_PROG_INSTALL])dnl
 
12413
+# test to see if srcdir already configured
 
12414
+if test "`cd $srcdir && pwd`" != "`pwd`" &&
 
12415
+   test -f $srcdir/config.status; then
 
12416
+  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 
12417
+fi
 
12418
+
 
12419
+# test whether we have cygpath
 
12420
+if test -z "$CYGPATH_W"; then
 
12421
+  if (cygpath --version) >/dev/null 2>/dev/null; then
 
12422
+    CYGPATH_W='cygpath -w'
 
12423
+  else
 
12424
+    CYGPATH_W=echo
 
12425
+  fi
 
12426
+fi
 
12427
+AC_SUBST([CYGPATH_W])
 
12428
+
 
12429
+# Define the identity of the package.
 
12430
+dnl Distinguish between old-style and new-style calls.
 
12431
+m4_ifval([$2],
 
12432
+[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
 
12433
+ AC_SUBST([PACKAGE], [$1])dnl
 
12434
+ AC_SUBST([VERSION], [$2])],
 
12435
+[_AM_SET_OPTIONS([$1])dnl
 
12436
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
 
12437
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
 
12438
+
 
12439
+_AM_IF_OPTION([no-define],,
 
12440
+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
 
12441
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
 
12442
+
 
12443
+# Some tools Automake needs.
 
12444
+AC_REQUIRE([AM_SANITY_CHECK])dnl
 
12445
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
 
12446
+AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
 
12447
+AM_MISSING_PROG(AUTOCONF, autoconf)
 
12448
+AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
 
12449
+AM_MISSING_PROG(AUTOHEADER, autoheader)
 
12450
+AM_MISSING_PROG(MAKEINFO, makeinfo)
 
12451
+AM_MISSING_PROG(AMTAR, tar)
 
12452
+AM_PROG_INSTALL_SH
 
12453
+AM_PROG_INSTALL_STRIP
 
12454
+AC_REQUIRE([AM_PROG_MKDIR_P])dnl
 
12455
+# We need awk for the "check" target.  The system "awk" is bad on
 
12456
+# some platforms.
 
12457
+AC_REQUIRE([AC_PROG_AWK])dnl
 
12458
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
 
12459
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
 
12460
+
 
12461
+_AM_IF_OPTION([no-dependencies],,
 
12462
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
 
12463
+                  [_AM_DEPENDENCIES(CC)],
 
12464
+                  [define([AC_PROG_CC],
 
12465
+                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
 
12466
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
 
12467
+                  [_AM_DEPENDENCIES(CXX)],
 
12468
+                  [define([AC_PROG_CXX],
 
12469
+                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
12470
+])
 
12471
+])
 
12472
+
 
12473
+
 
12474
+# When config.status generates a header, we must update the stamp-h file.
 
12475
+# This file resides in the same directory as the config header
 
12476
+# that is generated.  The stamp files are numbered to have different names.
 
12477
+
 
12478
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
 
12479
+# loop where config.status creates the headers, so we can generate
 
12480
+# our stamp files there.
 
12481
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
 
12482
+[# Compute $1's index in $config_headers.
 
12483
+_am_stamp_count=1
 
12484
+for _am_header in $config_headers :; do
 
12485
+  case $_am_header in
 
12486
+    $1 | $1:* )
 
12487
+      break ;;
 
12488
+    * )
 
12489
+      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
12490
+  esac
 
12491
+done
 
12492
+echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
 
12493
+
 
12494
+# AM_PROG_INSTALL_SH
 
12495
+# ------------------
 
12496
+# Define $install_sh.
 
12497
+
 
12498
+# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
 
12499
+
 
12500
+# This program is free software; you can redistribute it and/or modify
 
12501
+# it under the terms of the GNU General Public License as published by
 
12502
+# the Free Software Foundation; either version 2, or (at your option)
 
12503
+# any later version.
 
12504
+
 
12505
+# This program is distributed in the hope that it will be useful,
 
12506
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12507
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12508
+# GNU General Public License for more details.
 
12509
+
 
12510
+# You should have received a copy of the GNU General Public License
 
12511
+# along with this program; if not, write to the Free Software
 
12512
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
12513
+# 02111-1307, USA.
 
12514
+
 
12515
+AC_DEFUN([AM_PROG_INSTALL_SH],
 
12516
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 
12517
+install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
12518
+AC_SUBST(install_sh)])
 
12519
+
 
12520
+#                                                          -*- Autoconf -*-
 
12521
+# Copyright (C) 2003  Free Software Foundation, Inc.
 
12522
+
 
12523
+# This program is free software; you can redistribute it and/or modify
 
12524
+# it under the terms of the GNU General Public License as published by
 
12525
+# the Free Software Foundation; either version 2, or (at your option)
 
12526
+# any later version.
 
12527
+
 
12528
+# This program is distributed in the hope that it will be useful,
 
12529
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12530
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12531
+# GNU General Public License for more details.
 
12532
+
 
12533
+# You should have received a copy of the GNU General Public License
 
12534
+# along with this program; if not, write to the Free Software
 
12535
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
12536
+# 02111-1307, USA.
 
12537
+
 
12538
+# serial 1
 
12539
+
 
12540
+# Check whether the underlying file-system supports filenames
 
12541
+# with a leading dot.  For instance MS-DOS doesn't.
 
12542
+AC_DEFUN([AM_SET_LEADING_DOT],
 
12543
+[rm -rf .tst 2>/dev/null
 
12544
+mkdir .tst 2>/dev/null
 
12545
+if test -d .tst; then
 
12546
+  am__leading_dot=.
 
12547
+else
 
12548
+  am__leading_dot=_
 
12549
+fi
 
12550
+rmdir .tst 2>/dev/null
 
12551
+AC_SUBST([am__leading_dot])])
 
12552
+
 
12553
+# Add --enable-maintainer-mode option to configure.
 
12554
+# From Jim Meyering
 
12555
+
 
12556
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004
 
12557
+# Free Software Foundation, Inc.
 
12558
+
 
12559
+# This program is free software; you can redistribute it and/or modify
 
12560
+# it under the terms of the GNU General Public License as published by
 
12561
+# the Free Software Foundation; either version 2, or (at your option)
 
12562
+# any later version.
 
12563
+
 
12564
+# This program is distributed in the hope that it will be useful,
 
12565
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12566
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12567
+# GNU General Public License for more details.
 
12568
+
 
12569
+# You should have received a copy of the GNU General Public License
 
12570
+# along with this program; if not, write to the Free Software
 
12571
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
12572
+# 02111-1307, USA.
 
12573
+
 
12574
+# serial 3
 
12575
+
 
12576
+AC_DEFUN([AM_MAINTAINER_MODE],
 
12577
+[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
 
12578
+  dnl maintainer-mode is disabled by default
 
12579
+  AC_ARG_ENABLE(maintainer-mode,
 
12580
+[  --enable-maintainer-mode  enable make rules and dependencies not useful
 
12581
+                         (and sometimes confusing) to the casual installer],
 
12582
+      USE_MAINTAINER_MODE=$enableval,
 
12583
+      USE_MAINTAINER_MODE=no)
 
12584
+  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
 
12585
+  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
 
12586
+  MAINT=$MAINTAINER_MODE_TRUE
 
12587
+  AC_SUBST(MAINT)dnl
 
12588
+]
 
12589
+)
 
12590
+
 
12591
+AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
 
12592
+
 
12593
+# Check to see how 'make' treats includes.     -*- Autoconf -*-
 
12594
+
 
12595
+# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
 
12596
+
 
12597
+# This program is free software; you can redistribute it and/or modify
 
12598
+# it under the terms of the GNU General Public License as published by
 
12599
+# the Free Software Foundation; either version 2, or (at your option)
 
12600
+# any later version.
 
12601
+
 
12602
+# This program is distributed in the hope that it will be useful,
 
12603
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12604
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12605
+# GNU General Public License for more details.
 
12606
+
 
12607
+# You should have received a copy of the GNU General Public License
 
12608
+# along with this program; if not, write to the Free Software
 
12609
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
12610
+# 02111-1307, USA.
 
12611
+
 
12612
+# serial 2
 
12613
+
 
12614
+# AM_MAKE_INCLUDE()
 
12615
+# -----------------
 
12616
+# Check to see how make treats includes.
 
12617
+AC_DEFUN([AM_MAKE_INCLUDE],
 
12618
+[am_make=${MAKE-make}
 
12619
+cat > confinc << 'END'
 
12620
+am__doit:
 
12621
+       @echo done
 
12622
+.PHONY: am__doit
 
12623
+END
 
12624
+# If we don't find an include directive, just comment out the code.
 
12625
+AC_MSG_CHECKING([for style of include used by $am_make])
 
12626
+am__include="#"
 
12627
+am__quote=
 
12628
+_am_result=none
 
12629
+# First try GNU make style include.
 
12630
+echo "include confinc" > confmf
 
12631
+# We grep out `Entering directory' and `Leaving directory'
 
12632
+# messages which can occur if `w' ends up in MAKEFLAGS.
 
12633
+# In particular we don't look at `^make:' because GNU make might
 
12634
+# be invoked under some other name (usually "gmake"), in which
 
12635
+# case it prints its new name instead of `make'.
 
12636
+if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 
12637
+   am__include=include
 
12638
+   am__quote=
 
12639
+   _am_result=GNU
 
12640
+fi
 
12641
+# Now try BSD make style include.
 
12642
+if test "$am__include" = "#"; then
 
12643
+   echo '.include "confinc"' > confmf
 
12644
+   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 
12645
+      am__include=.include
 
12646
+      am__quote="\""
 
12647
+      _am_result=BSD
 
12648
+   fi
 
12649
+fi
 
12650
+AC_SUBST([am__include])
 
12651
+AC_SUBST([am__quote])
 
12652
+AC_MSG_RESULT([$_am_result])
 
12653
+rm -f confinc confmf
 
12654
+])
 
12655
+
 
12656
+#  -*- Autoconf -*-
 
12657
+
 
12658
+
 
12659
+# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
 
12660
+
 
12661
+# This program is free software; you can redistribute it and/or modify
 
12662
+# it under the terms of the GNU General Public License as published by
 
12663
+# the Free Software Foundation; either version 2, or (at your option)
 
12664
+# any later version.
 
12665
+
 
12666
+# This program is distributed in the hope that it will be useful,
 
12667
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12668
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12669
+# GNU General Public License for more details.
 
12670
+
 
12671
+# You should have received a copy of the GNU General Public License
 
12672
+# along with this program; if not, write to the Free Software
 
12673
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
12674
+# 02111-1307, USA.
 
12675
+
 
12676
+# serial 3
 
12677
+
 
12678
+# AM_MISSING_PROG(NAME, PROGRAM)
 
12679
+# ------------------------------
 
12680
+AC_DEFUN([AM_MISSING_PROG],
 
12681
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
 
12682
+$1=${$1-"${am_missing_run}$2"}
 
12683
+AC_SUBST($1)])
 
12684
+
 
12685
+
 
12686
+# AM_MISSING_HAS_RUN
 
12687
+# ------------------
 
12688
+# Define MISSING if not defined so far and test if it supports --run.
 
12689
+# If it does, set am_missing_run to use it, otherwise, to nothing.
 
12690
+AC_DEFUN([AM_MISSING_HAS_RUN],
 
12691
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 
12692
+test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
12693
+# Use eval to expand $SHELL
 
12694
+if eval "$MISSING --run true"; then
 
12695
+  am_missing_run="$MISSING --run "
 
12696
+else
 
12697
+  am_missing_run=
 
12698
+  AC_MSG_WARN([`missing' script is too old or missing])
 
12699
+fi
 
12700
+])
 
12701
+
 
12702
+# AM_PROG_MKDIR_P
 
12703
+# ---------------
 
12704
+# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
 
12705
+
 
12706
+# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
 
12707
+
 
12708
+# This program is free software; you can redistribute it and/or modify
 
12709
+# it under the terms of the GNU General Public License as published by
 
12710
+# the Free Software Foundation; either version 2, or (at your option)
 
12711
+# any later version.
 
12712
+
 
12713
+# This program is distributed in the hope that it will be useful,
 
12714
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12715
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12716
+# GNU General Public License for more details.
 
12717
+
 
12718
+# You should have received a copy of the GNU General Public License
 
12719
+# along with this program; if not, write to the Free Software
 
12720
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
12721
+# 02111-1307, USA.
 
12722
+
 
12723
+# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
 
12724
+# created by `make install' are always world readable, even if the
 
12725
+# installer happens to have an overly restrictive umask (e.g. 077).
 
12726
+# This was a mistake.  There are at least two reasons why we must not
 
12727
+# use `-m 0755':
 
12728
+#   - it causes special bits like SGID to be ignored,
 
12729
+#   - it may be too restrictive (some setups expect 775 directories).
 
12730
+#
 
12731
+# Do not use -m 0755 and let people choose whatever they expect by
 
12732
+# setting umask.
 
12733
+#
 
12734
+# We cannot accept any implementation of `mkdir' that recognizes `-p'.
 
12735
+# Some implementations (such as Solaris 8's) are not thread-safe: if a
 
12736
+# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
 
12737
+# concurrently, both version can detect that a/ is missing, but only
 
12738
+# one can create it and the other will error out.  Consequently we
 
12739
+# restrict ourselves to GNU make (using the --version option ensures
 
12740
+# this.)
 
12741
+AC_DEFUN([AM_PROG_MKDIR_P],
 
12742
+[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
12743
+  # Keeping the `.' argument allows $(mkdir_p) to be used without
 
12744
+  # argument.  Indeed, we sometimes output rules like
 
12745
+  #   $(mkdir_p) $(somedir)
 
12746
+  # where $(somedir) is conditionally defined.
 
12747
+  # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
 
12748
+  # expensive solution, as it forces Make to start a sub-shell.)
 
12749
+  mkdir_p='mkdir -p -- .'
 
12750
+else
 
12751
+  # On NextStep and OpenStep, the `mkdir' command does not
 
12752
+  # recognize any option.  It will interpret all options as
 
12753
+  # directories to create, and then abort because `.' already
 
12754
+  # exists.
 
12755
+  for d in ./-p ./--version;
 
12756
+  do
 
12757
+    test -d $d && rmdir $d
 
12758
+  done
 
12759
+  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
12760
+  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
12761
+    mkdir_p='$(mkinstalldirs)'
 
12762
+  else
 
12763
+    mkdir_p='$(install_sh) -d'
 
12764
   fi
 
12765
-])
 
12766
+fi
 
12767
+AC_SUBST([mkdir_p])])
 
12768
+
 
12769
+# Helper functions for option handling.                    -*- Autoconf -*-
 
12770
+
 
12771
+# Copyright (C) 2001, 2002, 2003  Free Software Foundation, Inc.
 
12772
+
 
12773
+# This program is free software; you can redistribute it and/or modify
 
12774
+# it under the terms of the GNU General Public License as published by
 
12775
+# the Free Software Foundation; either version 2, or (at your option)
 
12776
+# any later version.
 
12777
+
 
12778
+# This program is distributed in the hope that it will be useful,
 
12779
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12780
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12781
+# GNU General Public License for more details.
 
12782
+
 
12783
+# You should have received a copy of the GNU General Public License
 
12784
+# along with this program; if not, write to the Free Software
 
12785
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
12786
+# 02111-1307, USA.
 
12787
+
 
12788
+# serial 2
 
12789
+
 
12790
+# _AM_MANGLE_OPTION(NAME)
 
12791
+# -----------------------
 
12792
+AC_DEFUN([_AM_MANGLE_OPTION],
 
12793
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
 
12794
+
 
12795
+# _AM_SET_OPTION(NAME)
 
12796
+# ------------------------------
 
12797
+# Set option NAME.  Presently that only means defining a flag for this option.
 
12798
+AC_DEFUN([_AM_SET_OPTION],
 
12799
+[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
 
12800
+
 
12801
+# _AM_SET_OPTIONS(OPTIONS)
 
12802
+# ----------------------------------
 
12803
+# OPTIONS is a space-separated list of Automake options.
 
12804
+AC_DEFUN([_AM_SET_OPTIONS],
 
12805
+[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
 
12806
+
 
12807
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
 
12808
+# -------------------------------------------
 
12809
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
 
12810
+AC_DEFUN([_AM_IF_OPTION],
 
12811
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
 
12812
 
 
12813
-dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
 
12814
-dnl unless already present in VAR.
 
12815
-dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
 
12816
-dnl contains two or three consecutive elements that belong together.
 
12817
-AC_DEFUN([AC_LIB_APPENDTOVAR],
 
12818
-[
 
12819
-  for element in [$2]; do
 
12820
-    haveit=
 
12821
-    for x in $[$1]; do
 
12822
-      AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
 
12823
-      if test "X$x" = "X$element"; then
 
12824
-        haveit=yes
 
12825
-        break
 
12826
-      fi
 
12827
-    done
 
12828
-    if test -z "$haveit"; then
 
12829
-      [$1]="${[$1]}${[$1]:+ }$element"
 
12830
-    fi
 
12831
-  done
 
12832
-])
 
12833
+#
 
12834
+# Check to make sure that the build environment is sane.
 
12835
+#
 
12836
 
 
12837
-# lib-prefix.m4 serial 1 (gettext-0.11)
 
12838
-dnl Copyright (C) 2001-2002 Free Software Foundation, Inc.
 
12839
-dnl This file is free software, distributed under the terms of the GNU
 
12840
-dnl General Public License.  As a special exception to the GNU General
 
12841
-dnl Public License, this file may be distributed as part of a program
 
12842
-dnl that contains a configuration script generated by Autoconf, under
 
12843
-dnl the same distribution terms as the rest of that program.
 
12844
+# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
 
12845
 
 
12846
-dnl From Bruno Haible.
 
12847
+# This program is free software; you can redistribute it and/or modify
 
12848
+# it under the terms of the GNU General Public License as published by
 
12849
+# the Free Software Foundation; either version 2, or (at your option)
 
12850
+# any later version.
 
12851
 
 
12852
-dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
 
12853
-dnl to access previously installed libraries. The basic assumption is that
 
12854
-dnl a user will want packages to use other packages he previously installed
 
12855
-dnl with the same --prefix option.
 
12856
-dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
 
12857
-dnl libraries, but is otherwise very convenient.
 
12858
-AC_DEFUN([AC_LIB_PREFIX],
 
12859
-[
 
12860
-  AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
 
12861
-  AC_REQUIRE([AC_PROG_CC])
 
12862
-  AC_REQUIRE([AC_CANONICAL_HOST])
 
12863
-  AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
 
12864
-  dnl By default, look in $includedir and $libdir.
 
12865
-  use_additional=yes
 
12866
-  AC_LIB_WITH_FINAL_PREFIX([
 
12867
-    eval additional_includedir=\"$includedir\"
 
12868
-    eval additional_libdir=\"$libdir\"
 
12869
-  ])
 
12870
-  AC_ARG_WITH([lib-prefix],
 
12871
-[  --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
 
12872
-  --without-lib-prefix    don't search for libraries in includedir and libdir],
 
12873
-[
 
12874
-    if test "X$withval" = "Xno"; then
 
12875
-      use_additional=no
 
12876
-    else
 
12877
-      if test "X$withval" = "X"; then
 
12878
-        AC_LIB_WITH_FINAL_PREFIX([
 
12879
-          eval additional_includedir=\"$includedir\"
 
12880
-          eval additional_libdir=\"$libdir\"
 
12881
-        ])
 
12882
-      else
 
12883
-        additional_includedir="$withval/include"
 
12884
-        additional_libdir="$withval/lib"
 
12885
-      fi
 
12886
-    fi
 
12887
-])
 
12888
-  if test $use_additional = yes; then
 
12889
-    dnl Potentially add $additional_includedir to $CPPFLAGS.
 
12890
-    dnl But don't add it
 
12891
-    dnl   1. if it's the standard /usr/include,
 
12892
-    dnl   2. if it's already present in $CPPFLAGS,
 
12893
-    dnl   3. if it's /usr/local/include and we are using GCC on Linux,
 
12894
-    dnl   4. if it doesn't exist as a directory.
 
12895
-    if test "X$additional_includedir" != "X/usr/include"; then
 
12896
-      haveit=
 
12897
-      for x in $CPPFLAGS; do
 
12898
-        AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
 
12899
-        if test "X$x" = "X-I$additional_includedir"; then
 
12900
-          haveit=yes
 
12901
-          break
 
12902
-        fi
 
12903
-      done
 
12904
-      if test -z "$haveit"; then
 
12905
-        if test "X$additional_includedir" = "X/usr/local/include"; then
 
12906
-          if test -n "$GCC"; then
 
12907
-            case $host_os in
 
12908
-              linux*) haveit=yes;;
 
12909
-            esac
 
12910
-          fi
 
12911
-        fi
 
12912
-        if test -z "$haveit"; then
 
12913
-          if test -d "$additional_includedir"; then
 
12914
-            dnl Really add $additional_includedir to $CPPFLAGS.
 
12915
-            CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
 
12916
-          fi
 
12917
-        fi
 
12918
-      fi
 
12919
-    fi
 
12920
-    dnl Potentially add $additional_libdir to $LDFLAGS.
 
12921
-    dnl But don't add it
 
12922
-    dnl   1. if it's the standard /usr/lib,
 
12923
-    dnl   2. if it's already present in $LDFLAGS,
 
12924
-    dnl   3. if it's /usr/local/lib and we are using GCC on Linux,
 
12925
-    dnl   4. if it doesn't exist as a directory.
 
12926
-    if test "X$additional_libdir" != "X/usr/lib"; then
 
12927
-      haveit=
 
12928
-      for x in $LDFLAGS; do
 
12929
-        AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
 
12930
-        if test "X$x" = "X-L$additional_libdir"; then
 
12931
-          haveit=yes
 
12932
-          break
 
12933
-        fi
 
12934
-      done
 
12935
-      if test -z "$haveit"; then
 
12936
-        if test "X$additional_libdir" = "X/usr/local/lib"; then
 
12937
-          if test -n "$GCC"; then
 
12938
-            case $host_os in
 
12939
-              linux*) haveit=yes;;
 
12940
-            esac
 
12941
-          fi
 
12942
-        fi
 
12943
-        if test -z "$haveit"; then
 
12944
-          if test -d "$additional_libdir"; then
 
12945
-            dnl Really add $additional_libdir to $LDFLAGS.
 
12946
-            LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
 
12947
-          fi
 
12948
-        fi
 
12949
-      fi
 
12950
-    fi
 
12951
-  fi
 
12952
-])
 
12953
+# This program is distributed in the hope that it will be useful,
 
12954
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12955
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12956
+# GNU General Public License for more details.
 
12957
 
 
12958
-dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
 
12959
-dnl acl_final_exec_prefix, containing the values to which $prefix and
 
12960
-dnl $exec_prefix will expand at the end of the configure script.
 
12961
-AC_DEFUN([AC_LIB_PREPARE_PREFIX],
 
12962
-[
 
12963
-  dnl Unfortunately, prefix and exec_prefix get only finally determined
 
12964
-  dnl at the end of configure.
 
12965
-  if test "X$prefix" = "XNONE"; then
 
12966
-    acl_final_prefix="$ac_default_prefix"
 
12967
-  else
 
12968
-    acl_final_prefix="$prefix"
 
12969
-  fi
 
12970
-  if test "X$exec_prefix" = "XNONE"; then
 
12971
-    acl_final_exec_prefix='${prefix}'
 
12972
-  else
 
12973
-    acl_final_exec_prefix="$exec_prefix"
 
12974
-  fi
 
12975
-  acl_save_prefix="$prefix"
 
12976
-  prefix="$acl_final_prefix"
 
12977
-  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
 
12978
-  prefix="$acl_save_prefix"
 
12979
-])
 
12980
+# You should have received a copy of the GNU General Public License
 
12981
+# along with this program; if not, write to the Free Software
 
12982
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
12983
+# 02111-1307, USA.
 
12984
 
 
12985
-dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
 
12986
-dnl variables prefix and exec_prefix bound to the values they will have
 
12987
-dnl at the end of the configure script.
 
12988
-AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
 
12989
-[
 
12990
-  acl_save_prefix="$prefix"
 
12991
-  prefix="$acl_final_prefix"
 
12992
-  acl_save_exec_prefix="$exec_prefix"
 
12993
-  exec_prefix="$acl_final_exec_prefix"
 
12994
-  $1
 
12995
-  exec_prefix="$acl_save_exec_prefix"
 
12996
-  prefix="$acl_save_prefix"
 
12997
-])
 
12998
+# serial 3
 
12999
+
 
13000
+# AM_SANITY_CHECK
 
13001
+# ---------------
 
13002
+AC_DEFUN([AM_SANITY_CHECK],
 
13003
+[AC_MSG_CHECKING([whether build environment is sane])
 
13004
+# Just in case
 
13005
+sleep 1
 
13006
+echo timestamp > conftest.file
 
13007
+# Do `set' in a subshell so we don't clobber the current shell's
 
13008
+# arguments.  Must try -L first in case configure is actually a
 
13009
+# symlink; some systems play weird games with the mod time of symlinks
 
13010
+# (eg FreeBSD returns the mod time of the symlink's containing
 
13011
+# directory).
 
13012
+if (
 
13013
+   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
13014
+   if test "$[*]" = "X"; then
 
13015
+      # -L didn't work.
 
13016
+      set X `ls -t $srcdir/configure conftest.file`
 
13017
+   fi
 
13018
+   rm -f conftest.file
 
13019
+   if test "$[*]" != "X $srcdir/configure conftest.file" \
 
13020
+      && test "$[*]" != "X conftest.file $srcdir/configure"; then
 
13021
+
 
13022
+      # If neither matched, then we have a broken ls.  This can happen
 
13023
+      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
13024
+      # broken ls alias from the environment.  This has actually
 
13025
+      # happened.  Such a system could not be considered "sane".
 
13026
+      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
 
13027
+alias in your environment])
 
13028
+   fi
 
13029
+
 
13030
+   test "$[2]" = conftest.file
 
13031
+   )
 
13032
+then
 
13033
+   # Ok.
 
13034
+   :
 
13035
+else
 
13036
+   AC_MSG_ERROR([newly created file is older than distributed files!
 
13037
+Check your system clock])
 
13038
+fi
 
13039
+AC_MSG_RESULT(yes)])
 
13040
+
 
13041
+# AM_PROG_INSTALL_STRIP
 
13042
+
 
13043
+# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
 
13044
+
 
13045
+# This program is free software; you can redistribute it and/or modify
 
13046
+# it under the terms of the GNU General Public License as published by
 
13047
+# the Free Software Foundation; either version 2, or (at your option)
 
13048
+# any later version.
 
13049
+
 
13050
+# This program is distributed in the hope that it will be useful,
 
13051
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13052
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13053
+# GNU General Public License for more details.
 
13054
+
 
13055
+# You should have received a copy of the GNU General Public License
 
13056
+# along with this program; if not, write to the Free Software
 
13057
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
13058
+# 02111-1307, USA.
 
13059
+
 
13060
+# One issue with vendor `install' (even GNU) is that you can't
 
13061
+# specify the program used to strip binaries.  This is especially
 
13062
+# annoying in cross-compiling environments, where the build's strip
 
13063
+# is unlikely to handle the host's binaries.
 
13064
+# Fortunately install-sh will honor a STRIPPROG variable, so we
 
13065
+# always use install-sh in `make install-strip', and initialize
 
13066
+# STRIPPROG with the value of the STRIP variable (set by the user).
 
13067
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
 
13068
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 
13069
+# Installed binaries are usually stripped using `strip' when the user
 
13070
+# run `make install-strip'.  However `strip' might not be the right
 
13071
+# tool to use in cross-compilation environments, therefore Automake
 
13072
+# will honor the `STRIP' environment variable to overrule this program.
 
13073
+dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
 
13074
+if test "$cross_compiling" != no; then
 
13075
+  AC_CHECK_TOOL([STRIP], [strip], :)
 
13076
+fi
 
13077
+INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
13078
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
 
13079
 
 
13080
diff --exclude debian -urN orig/flac-1.1.2/build/Makefile.in flac-1.1.2/build/Makefile.in
 
13081
--- orig/flac-1.1.2/build/Makefile.in   2005-02-04 18:23:27.000000000 -0800
 
13082
+++ flac-1.1.2/build/Makefile.in        2005-08-17 19:52:34.000000000 -0700
 
13083
@@ -67,6 +67,7 @@
 
13084
 AMDEP_FALSE = @AMDEP_FALSE@
 
13085
 AMDEP_TRUE = @AMDEP_TRUE@
 
13086
 AMTAR = @AMTAR@
 
13087
+AR = @AR@
 
13088
 AS = @AS@
 
13089
 AUTOCONF = @AUTOCONF@
 
13090
 AUTOHEADER = @AUTOHEADER@
 
13091
@@ -80,6 +81,7 @@
 
13092
 CPP = @CPP@
 
13093
 CPPFLAGS = @CPPFLAGS@
 
13094
 CXX = @CXX@
 
13095
+CXXCPP = @CXXCPP@
 
13096
 CXXDEPMODE = @CXXDEPMODE@
 
13097
 CXXFLAGS = @CXXFLAGS@
 
13098
 CYGPATH_W = @CYGPATH_W@
 
13099
@@ -95,6 +97,8 @@
 
13100
 ECHO_T = @ECHO_T@
 
13101
 EGREP = @EGREP@
 
13102
 EXEEXT = @EXEEXT@
 
13103
+F77 = @F77@
 
13104
+FFLAGS = @FFLAGS@
 
13105
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
13106
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
13107
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
13108
@@ -182,8 +186,10 @@
 
13109
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
13110
 XMMS_VERSION = @XMMS_VERSION@
 
13111
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
13112
+ac_ct_AR = @ac_ct_AR@
 
13113
 ac_ct_CC = @ac_ct_CC@
 
13114
 ac_ct_CXX = @ac_ct_CXX@
 
13115
+ac_ct_F77 = @ac_ct_F77@
 
13116
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
13117
 ac_ct_STRIP = @ac_ct_STRIP@
 
13118
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
13119
@@ -238,9 +244,9 @@
 
13120
              exit 1;; \
 
13121
          esac; \
 
13122
        done; \
 
13123
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  build/Makefile'; \
 
13124
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  build/Makefile'; \
 
13125
        cd $(top_srcdir) && \
 
13126
-         $(AUTOMAKE) --foreign  build/Makefile
 
13127
+         $(AUTOMAKE) --gnu  build/Makefile
 
13128
 .PRECIOUS: Makefile
 
13129
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
13130
        @case '$?' in \
 
13131
diff --exclude debian -urN orig/flac-1.1.2/config.guess flac-1.1.2/config.guess
 
13132
--- orig/flac-1.1.2/config.guess        2005-02-04 18:21:46.000000000 -0800
 
13133
+++ flac-1.1.2/config.guess     2005-08-17 19:53:00.000000000 -0700
 
13134
@@ -1,9 +1,9 @@
 
13135
 #! /bin/sh
 
13136
 # Attempt to guess a canonical system name.
 
13137
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
 
13138
-#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
 
13139
+#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 
13140
 
 
13141
-timestamp='2004-03-12'
 
13142
+timestamp='2005-08-03'
 
13143
 
 
13144
 # This file is free software; you can redistribute it and/or modify it
 
13145
 # under the terms of the GNU General Public License as published by
 
13146
@@ -17,13 +17,15 @@
 
13147
 #
 
13148
 # You should have received a copy of the GNU General Public License
 
13149
 # along with this program; if not, write to the Free Software
 
13150
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
13151
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
 
13152
+# 02110-1301, USA.
 
13153
 #
 
13154
 # As a special exception to the GNU General Public License, if you
 
13155
 # distribute this file as part of a program that contains a
 
13156
 # configuration script generated by Autoconf, you may include it under
 
13157
 # the same distribution terms that you use for the rest of that program.
 
13158
 
 
13159
+
 
13160
 # Originally written by Per Bothner <per@bothner.com>.
 
13161
 # Please send patches to <config-patches@gnu.org>.  Submit a context
 
13162
 # diff and a properly formatted ChangeLog entry.
 
13163
@@ -53,7 +55,7 @@
 
13164
 GNU config.guess ($timestamp)
 
13165
 
 
13166
 Originally written by Per Bothner.
 
13167
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
 
13168
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
13169
 Free Software Foundation, Inc.
 
13170
 
 
13171
 This is free software; see the source for copying conditions.  There is NO
 
13172
@@ -66,11 +68,11 @@
 
13173
 while test $# -gt 0 ; do
 
13174
   case $1 in
 
13175
     --time-stamp | --time* | -t )
 
13176
-       echo "$timestamp" ; exit 0 ;;
 
13177
+       echo "$timestamp" ; exit ;;
 
13178
     --version | -v )
 
13179
-       echo "$version" ; exit 0 ;;
 
13180
+       echo "$version" ; exit ;;
 
13181
     --help | --h* | -h )
 
13182
-       echo "$usage"; exit 0 ;;
 
13183
+       echo "$usage"; exit ;;
 
13184
     -- )     # Stop option processing
 
13185
        shift; break ;;
 
13186
     - )        # Use stdin as input.
 
13187
@@ -123,7 +125,7 @@
 
13188
        ;;
 
13189
  ,,*)   CC_FOR_BUILD=$CC ;;
 
13190
  ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
 
13191
-esac ;'
 
13192
+esac ; set_cc_for_build= ;'
 
13193
 
 
13194
 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
 
13195
 # (ghazi@noc.rutgers.edu 1994-08-24)
 
13196
@@ -196,64 +198,20 @@
 
13197
        # contains redundant information, the shorter form:
 
13198
        # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
 
13199
        echo "${machine}-${os}${release}"
 
13200
-       exit 0 ;;
 
13201
-    amd64:OpenBSD:*:*)
 
13202
-       echo x86_64-unknown-openbsd${UNAME_RELEASE}
 
13203
-       exit 0 ;;
 
13204
-    amiga:OpenBSD:*:*)
 
13205
-       echo m68k-unknown-openbsd${UNAME_RELEASE}
 
13206
-       exit 0 ;;
 
13207
-    arc:OpenBSD:*:*)
 
13208
-       echo mipsel-unknown-openbsd${UNAME_RELEASE}
 
13209
-       exit 0 ;;
 
13210
-    cats:OpenBSD:*:*)
 
13211
-       echo arm-unknown-openbsd${UNAME_RELEASE}
 
13212
-       exit 0 ;;
 
13213
-    hp300:OpenBSD:*:*)
 
13214
-       echo m68k-unknown-openbsd${UNAME_RELEASE}
 
13215
-       exit 0 ;;
 
13216
-    mac68k:OpenBSD:*:*)
 
13217
-       echo m68k-unknown-openbsd${UNAME_RELEASE}
 
13218
-       exit 0 ;;
 
13219
-    macppc:OpenBSD:*:*)
 
13220
-       echo powerpc-unknown-openbsd${UNAME_RELEASE}
 
13221
-       exit 0 ;;
 
13222
-    mvme68k:OpenBSD:*:*)
 
13223
-       echo m68k-unknown-openbsd${UNAME_RELEASE}
 
13224
-       exit 0 ;;
 
13225
-    mvme88k:OpenBSD:*:*)
 
13226
-       echo m88k-unknown-openbsd${UNAME_RELEASE}
 
13227
-       exit 0 ;;
 
13228
-    mvmeppc:OpenBSD:*:*)
 
13229
-       echo powerpc-unknown-openbsd${UNAME_RELEASE}
 
13230
-       exit 0 ;;
 
13231
-    pegasos:OpenBSD:*:*)
 
13232
-       echo powerpc-unknown-openbsd${UNAME_RELEASE}
 
13233
-       exit 0 ;;
 
13234
-    pmax:OpenBSD:*:*)
 
13235
-       echo mipsel-unknown-openbsd${UNAME_RELEASE}
 
13236
-       exit 0 ;;
 
13237
-    sgi:OpenBSD:*:*)
 
13238
-       echo mipseb-unknown-openbsd${UNAME_RELEASE}
 
13239
-       exit 0 ;;
 
13240
-    sun3:OpenBSD:*:*)
 
13241
-       echo m68k-unknown-openbsd${UNAME_RELEASE}
 
13242
-       exit 0 ;;
 
13243
-    wgrisc:OpenBSD:*:*)
 
13244
-       echo mipsel-unknown-openbsd${UNAME_RELEASE}
 
13245
-       exit 0 ;;
 
13246
+       exit ;;
 
13247
     *:OpenBSD:*:*)
 
13248
-       echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
 
13249
-       exit 0 ;;
 
13250
+       UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
 
13251
+       echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
 
13252
+       exit ;;
 
13253
     *:ekkoBSD:*:*)
 
13254
        echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
 
13255
-       exit 0 ;;
 
13256
+       exit ;;
 
13257
     macppc:MirBSD:*:*)
 
13258
        echo powerppc-unknown-mirbsd${UNAME_RELEASE}
 
13259
-       exit 0 ;;
 
13260
+       exit ;;
 
13261
     *:MirBSD:*:*)
 
13262
        echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
 
13263
-       exit 0 ;;
 
13264
+       exit ;;
 
13265
     alpha:OSF1:*:*)
 
13266
        case $UNAME_RELEASE in
 
13267
        *4.0)
 
13268
@@ -306,40 +264,43 @@
 
13269
        # A Xn.n version is an unreleased experimental baselevel.
 
13270
        # 1.2 uses "1.2" for uname -r.
 
13271
        echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
 
13272
-       exit 0 ;;
 
13273
-    Alpha*:OpenVMS:*:*)
 
13274
-       echo alpha-hp-vms
 
13275
-       exit 0 ;;
 
13276
+       exit ;;
 
13277
     Alpha\ *:Windows_NT*:*)
 
13278
        # How do we know it's Interix rather than the generic POSIX subsystem?
 
13279
        # Should we change UNAME_MACHINE based on the output of uname instead
 
13280
        # of the specific Alpha model?
 
13281
        echo alpha-pc-interix
 
13282
-       exit 0 ;;
 
13283
+       exit ;;
 
13284
     21064:Windows_NT:50:3)
 
13285
        echo alpha-dec-winnt3.5
 
13286
-       exit 0 ;;
 
13287
+       exit ;;
 
13288
     Amiga*:UNIX_System_V:4.0:*)
 
13289
        echo m68k-unknown-sysv4
 
13290
-       exit 0;;
 
13291
+       exit ;;
 
13292
     *:[Aa]miga[Oo][Ss]:*:*)
 
13293
        echo ${UNAME_MACHINE}-unknown-amigaos
 
13294
-       exit 0 ;;
 
13295
+       exit ;;
 
13296
     *:[Mm]orph[Oo][Ss]:*:*)
 
13297
        echo ${UNAME_MACHINE}-unknown-morphos
 
13298
-       exit 0 ;;
 
13299
+       exit ;;
 
13300
     *:OS/390:*:*)
 
13301
        echo i370-ibm-openedition
 
13302
-       exit 0 ;;
 
13303
+       exit ;;
 
13304
+    *:z/VM:*:*)
 
13305
+       echo s390-ibm-zvmoe
 
13306
+       exit ;;
 
13307
     *:OS400:*:*)
 
13308
         echo powerpc-ibm-os400
 
13309
-       exit 0 ;;
 
13310
+       exit ;;
 
13311
     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
 
13312
        echo arm-acorn-riscix${UNAME_RELEASE}
 
13313
-       exit 0;;
 
13314
+       exit ;;
 
13315
+    arm:riscos:*:*|arm:RISCOS:*:*)
 
13316
+       echo arm-unknown-riscos
 
13317
+       exit ;;
 
13318
     SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
 
13319
        echo hppa1.1-hitachi-hiuxmpp
 
13320
-       exit 0;;
 
13321
+       exit ;;
 
13322
     Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
 
13323
        # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
 
13324
        if test "`(/bin/universe) 2>/dev/null`" = att ; then
 
13325
@@ -347,32 +308,32 @@
 
13326
        else
 
13327
                echo pyramid-pyramid-bsd
 
13328
        fi
 
13329
-       exit 0 ;;
 
13330
+       exit ;;
 
13331
     NILE*:*:*:dcosx)
 
13332
        echo pyramid-pyramid-svr4
 
13333
-       exit 0 ;;
 
13334
+       exit ;;
 
13335
     DRS?6000:unix:4.0:6*)
 
13336
        echo sparc-icl-nx6
 
13337
-       exit 0 ;;
 
13338
-    DRS?6000:UNIX_SV:4.2*:7*)
 
13339
+       exit ;;
 
13340
+    DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
 
13341
        case `/usr/bin/uname -p` in
 
13342
-           sparc) echo sparc-icl-nx7 && exit 0 ;;
 
13343
+           sparc) echo sparc-icl-nx7; exit ;;
 
13344
        esac ;;
 
13345
     sun4H:SunOS:5.*:*)
 
13346
        echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
 
13347
-       exit 0 ;;
 
13348
+       exit ;;
 
13349
     sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
 
13350
        echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
 
13351
-       exit 0 ;;
 
13352
+       exit ;;
 
13353
     i86pc:SunOS:5.*:*)
 
13354
        echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
 
13355
-       exit 0 ;;
 
13356
+       exit ;;
 
13357
     sun4*:SunOS:6*:*)
 
13358
        # According to config.sub, this is the proper way to canonicalize
 
13359
        # SunOS6.  Hard to guess exactly what SunOS6 will be like, but
 
13360
        # it's likely to be more like Solaris than SunOS4.
 
13361
        echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
 
13362
-       exit 0 ;;
 
13363
+       exit ;;
 
13364
     sun4*:SunOS:*:*)
 
13365
        case "`/usr/bin/arch -k`" in
 
13366
            Series*|S4*)
 
13367
@@ -381,10 +342,10 @@
 
13368
        esac
 
13369
        # Japanese Language versions have a version number like `4.1.3-JL'.
 
13370
        echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
 
13371
-       exit 0 ;;
 
13372
+       exit ;;
 
13373
     sun3*:SunOS:*:*)
 
13374
        echo m68k-sun-sunos${UNAME_RELEASE}
 
13375
-       exit 0 ;;
 
13376
+       exit ;;
 
13377
     sun*:*:4.2BSD:*)
 
13378
        UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
 
13379
        test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
 
13380
@@ -396,10 +357,10 @@
 
13381
                echo sparc-sun-sunos${UNAME_RELEASE}
 
13382
                ;;
 
13383
        esac
 
13384
-       exit 0 ;;
 
13385
+       exit ;;
 
13386
     aushp:SunOS:*:*)
 
13387
        echo sparc-auspex-sunos${UNAME_RELEASE}
 
13388
-       exit 0 ;;
 
13389
+       exit ;;
 
13390
     # The situation for MiNT is a little confusing.  The machine name
 
13391
     # can be virtually everything (everything which is not
 
13392
     # "atarist" or "atariste" at least should have a processor
 
13393
@@ -410,40 +371,40 @@
 
13394
     # be no problem.
 
13395
     atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
 
13396
         echo m68k-atari-mint${UNAME_RELEASE}
 
13397
-       exit 0 ;;
 
13398
+       exit ;;
 
13399
     atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
 
13400
        echo m68k-atari-mint${UNAME_RELEASE}
 
13401
-        exit 0 ;;
 
13402
+        exit ;;
 
13403
     *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
 
13404
         echo m68k-atari-mint${UNAME_RELEASE}
 
13405
-       exit 0 ;;
 
13406
+       exit ;;
 
13407
     milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
 
13408
         echo m68k-milan-mint${UNAME_RELEASE}
 
13409
-        exit 0 ;;
 
13410
+        exit ;;
 
13411
     hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
 
13412
         echo m68k-hades-mint${UNAME_RELEASE}
 
13413
-        exit 0 ;;
 
13414
+        exit ;;
 
13415
     *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
 
13416
         echo m68k-unknown-mint${UNAME_RELEASE}
 
13417
-        exit 0 ;;
 
13418
+        exit ;;
 
13419
     m68k:machten:*:*)
 
13420
        echo m68k-apple-machten${UNAME_RELEASE}
 
13421
-       exit 0 ;;
 
13422
+       exit ;;
 
13423
     powerpc:machten:*:*)
 
13424
        echo powerpc-apple-machten${UNAME_RELEASE}
 
13425
-       exit 0 ;;
 
13426
+       exit ;;
 
13427
     RISC*:Mach:*:*)
 
13428
        echo mips-dec-mach_bsd4.3
 
13429
-       exit 0 ;;
 
13430
+       exit ;;
 
13431
     RISC*:ULTRIX:*:*)
 
13432
        echo mips-dec-ultrix${UNAME_RELEASE}
 
13433
-       exit 0 ;;
 
13434
+       exit ;;
 
13435
     VAX*:ULTRIX*:*:*)
 
13436
        echo vax-dec-ultrix${UNAME_RELEASE}
 
13437
-       exit 0 ;;
 
13438
+       exit ;;
 
13439
     2020:CLIX:*:* | 2430:CLIX:*:*)
 
13440
        echo clipper-intergraph-clix${UNAME_RELEASE}
 
13441
-       exit 0 ;;
 
13442
+       exit ;;
 
13443
     mips:*:*:UMIPS | mips:*:*:RISCos)
 
13444
        eval $set_cc_for_build
 
13445
        sed 's/^        //' << EOF >$dummy.c
 
13446
@@ -467,32 +428,33 @@
 
13447
          exit (-1);
 
13448
        }
 
13449
 EOF
 
13450
-       $CC_FOR_BUILD -o $dummy $dummy.c \
 
13451
-         && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
 
13452
-         && exit 0
 
13453
+       $CC_FOR_BUILD -o $dummy $dummy.c &&
 
13454
+         dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
 
13455
+         SYSTEM_NAME=`$dummy $dummyarg` &&
 
13456
+           { echo "$SYSTEM_NAME"; exit; }
 
13457
        echo mips-mips-riscos${UNAME_RELEASE}
 
13458
-       exit 0 ;;
 
13459
+       exit ;;
 
13460
     Motorola:PowerMAX_OS:*:*)
 
13461
        echo powerpc-motorola-powermax
 
13462
-       exit 0 ;;
 
13463
+       exit ;;
 
13464
     Motorola:*:4.3:PL8-*)
 
13465
        echo powerpc-harris-powermax
 
13466
-       exit 0 ;;
 
13467
+       exit ;;
 
13468
     Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
 
13469
        echo powerpc-harris-powermax
 
13470
-       exit 0 ;;
 
13471
+       exit ;;
 
13472
     Night_Hawk:Power_UNIX:*:*)
 
13473
        echo powerpc-harris-powerunix
 
13474
-       exit 0 ;;
 
13475
+       exit ;;
 
13476
     m88k:CX/UX:7*:*)
 
13477
        echo m88k-harris-cxux7
 
13478
-       exit 0 ;;
 
13479
+       exit ;;
 
13480
     m88k:*:4*:R4*)
 
13481
        echo m88k-motorola-sysv4
 
13482
-       exit 0 ;;
 
13483
+       exit ;;
 
13484
     m88k:*:3*:R3*)
 
13485
        echo m88k-motorola-sysv3
 
13486
-       exit 0 ;;
 
13487
+       exit ;;
 
13488
     AViiON:dgux:*:*)
 
13489
         # DG/UX returns AViiON for all architectures
 
13490
         UNAME_PROCESSOR=`/usr/bin/uname -p`
 
13491
@@ -508,29 +470,29 @@
 
13492
        else
 
13493
            echo i586-dg-dgux${UNAME_RELEASE}
 
13494
        fi
 
13495
-       exit 0 ;;
 
13496
+       exit ;;
 
13497
     M88*:DolphinOS:*:*)        # DolphinOS (SVR3)
 
13498
        echo m88k-dolphin-sysv3
 
13499
-       exit 0 ;;
 
13500
+       exit ;;
 
13501
     M88*:*:R3*:*)
 
13502
        # Delta 88k system running SVR3
 
13503
        echo m88k-motorola-sysv3
 
13504
-       exit 0 ;;
 
13505
+       exit ;;
 
13506
     XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
 
13507
        echo m88k-tektronix-sysv3
 
13508
-       exit 0 ;;
 
13509
+       exit ;;
 
13510
     Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
 
13511
        echo m68k-tektronix-bsd
 
13512
-       exit 0 ;;
 
13513
+       exit ;;
 
13514
     *:IRIX*:*:*)
 
13515
        echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
 
13516
-       exit 0 ;;
 
13517
+       exit ;;
 
13518
     ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
 
13519
-       echo romp-ibm-aix      # uname -m gives an 8 hex-code CPU id
 
13520
-       exit 0 ;;              # Note that: echo "'`uname -s`'" gives 'AIX '
 
13521
+       echo romp-ibm-aix     # uname -m gives an 8 hex-code CPU id
 
13522
+       exit ;;               # Note that: echo "'`uname -s`'" gives 'AIX '
 
13523
     i*86:AIX:*:*)
 
13524
        echo i386-ibm-aix
 
13525
-       exit 0 ;;
 
13526
+       exit ;;
 
13527
     ia64:AIX:*:*)
 
13528
        if [ -x /usr/bin/oslevel ] ; then
 
13529
                IBM_REV=`/usr/bin/oslevel`
 
13530
@@ -538,7 +500,7 @@
 
13531
                IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
 
13532
        fi
 
13533
        echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
 
13534
-       exit 0 ;;
 
13535
+       exit ;;
 
13536
     *:AIX:2:3)
 
13537
        if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
 
13538
                eval $set_cc_for_build
 
13539
@@ -553,14 +515,18 @@
 
13540
                        exit(0);
 
13541
                        }
 
13542
 EOF
 
13543
-               $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
 
13544
-               echo rs6000-ibm-aix3.2.5
 
13545
+               if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
 
13546
+               then
 
13547
+                       echo "$SYSTEM_NAME"
 
13548
+               else
 
13549
+                       echo rs6000-ibm-aix3.2.5
 
13550
+               fi
 
13551
        elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
 
13552
                echo rs6000-ibm-aix3.2.4
 
13553
        else
 
13554
                echo rs6000-ibm-aix3.2
 
13555
        fi
 
13556
-       exit 0 ;;
 
13557
+       exit ;;
 
13558
     *:AIX:*:[45])
 
13559
        IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
 
13560
        if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
 
13561
@@ -574,28 +540,28 @@
 
13562
                IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
 
13563
        fi
 
13564
        echo ${IBM_ARCH}-ibm-aix${IBM_REV}
 
13565
-       exit 0 ;;
 
13566
+       exit ;;
 
13567
     *:AIX:*:*)
 
13568
        echo rs6000-ibm-aix
 
13569
-       exit 0 ;;
 
13570
+       exit ;;
 
13571
     ibmrt:4.4BSD:*|romp-ibm:BSD:*)
 
13572
        echo romp-ibm-bsd4.4
 
13573
-       exit 0 ;;
 
13574
+       exit ;;
 
13575
     ibmrt:*BSD:*|romp-ibm:BSD:*)            # covers RT/PC BSD and
 
13576
        echo romp-ibm-bsd${UNAME_RELEASE}   # 4.3 with uname added to
 
13577
-       exit 0 ;;                           # report: romp-ibm BSD 4.3
 
13578
+       exit ;;                             # report: romp-ibm BSD 4.3
 
13579
     *:BOSX:*:*)
 
13580
        echo rs6000-bull-bosx
 
13581
-       exit 0 ;;
 
13582
+       exit ;;
 
13583
     DPX/2?00:B.O.S.:*:*)
 
13584
        echo m68k-bull-sysv3
 
13585
-       exit 0 ;;
 
13586
+       exit ;;
 
13587
     9000/[34]??:4.3bsd:1.*:*)
 
13588
        echo m68k-hp-bsd
 
13589
-       exit 0 ;;
 
13590
+       exit ;;
 
13591
     hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
 
13592
        echo m68k-hp-bsd4.4
 
13593
-       exit 0 ;;
 
13594
+       exit ;;
 
13595
     9000/[34678]??:HP-UX:*:*)
 
13596
        HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
 
13597
        case "${UNAME_MACHINE}" in
 
13598
@@ -657,9 +623,19 @@
 
13599
        esac
 
13600
        if [ ${HP_ARCH} = "hppa2.0w" ]
 
13601
        then
 
13602
-           # avoid double evaluation of $set_cc_for_build
 
13603
-           test -n "$CC_FOR_BUILD" || eval $set_cc_for_build
 
13604
-           if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null
 
13605
+           eval $set_cc_for_build
 
13606
+
 
13607
+           # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
 
13608
+           # 32-bit code.  hppa64-hp-hpux* has the same kernel and a compiler
 
13609
+           # generating 64-bit code.  GNU and HP use different nomenclature:
 
13610
+           #
 
13611
+           # $ CC_FOR_BUILD=cc ./config.guess
 
13612
+           # => hppa2.0w-hp-hpux11.23
 
13613
+           # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
 
13614
+           # => hppa64-hp-hpux11.23
 
13615
+
 
13616
+           if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
 
13617
+               grep __LP64__ >/dev/null
 
13618
            then
 
13619
                HP_ARCH="hppa2.0w"
 
13620
            else
 
13621
@@ -667,11 +643,11 @@
 
13622
            fi
 
13623
        fi
 
13624
        echo ${HP_ARCH}-hp-hpux${HPUX_REV}
 
13625
-       exit 0 ;;
 
13626
+       exit ;;
 
13627
     ia64:HP-UX:*:*)
 
13628
        HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
 
13629
        echo ia64-hp-hpux${HPUX_REV}
 
13630
-       exit 0 ;;
 
13631
+       exit ;;
 
13632
     3050*:HI-UX:*:*)
 
13633
        eval $set_cc_for_build
 
13634
        sed 's/^        //' << EOF >$dummy.c
 
13635
@@ -699,166 +675,166 @@
 
13636
          exit (0);
 
13637
        }
 
13638
 EOF
 
13639
-       $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
 
13640
+       $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
 
13641
+               { echo "$SYSTEM_NAME"; exit; }
 
13642
        echo unknown-hitachi-hiuxwe2
 
13643
-       exit 0 ;;
 
13644
+       exit ;;
 
13645
     9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
 
13646
        echo hppa1.1-hp-bsd
 
13647
-       exit 0 ;;
 
13648
+       exit ;;
 
13649
     9000/8??:4.3bsd:*:*)
 
13650
        echo hppa1.0-hp-bsd
 
13651
-       exit 0 ;;
 
13652
+       exit ;;
 
13653
     *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
 
13654
        echo hppa1.0-hp-mpeix
 
13655
-       exit 0 ;;
 
13656
+       exit ;;
 
13657
     hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
 
13658
        echo hppa1.1-hp-osf
 
13659
-       exit 0 ;;
 
13660
+       exit ;;
 
13661
     hp8??:OSF1:*:*)
 
13662
        echo hppa1.0-hp-osf
 
13663
-       exit 0 ;;
 
13664
+       exit ;;
 
13665
     i*86:OSF1:*:*)
 
13666
        if [ -x /usr/sbin/sysversion ] ; then
 
13667
            echo ${UNAME_MACHINE}-unknown-osf1mk
 
13668
        else
 
13669
            echo ${UNAME_MACHINE}-unknown-osf1
 
13670
        fi
 
13671
-       exit 0 ;;
 
13672
+       exit ;;
 
13673
     parisc*:Lites*:*:*)
 
13674
        echo hppa1.1-hp-lites
 
13675
-       exit 0 ;;
 
13676
+       exit ;;
 
13677
     C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
 
13678
        echo c1-convex-bsd
 
13679
-        exit 0 ;;
 
13680
+        exit ;;
 
13681
     C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
 
13682
        if getsysinfo -f scalar_acc
 
13683
        then echo c32-convex-bsd
 
13684
        else echo c2-convex-bsd
 
13685
        fi
 
13686
-        exit 0 ;;
 
13687
+        exit ;;
 
13688
     C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
 
13689
        echo c34-convex-bsd
 
13690
-        exit 0 ;;
 
13691
+        exit ;;
 
13692
     C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
 
13693
        echo c38-convex-bsd
 
13694
-        exit 0 ;;
 
13695
+        exit ;;
 
13696
     C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
 
13697
        echo c4-convex-bsd
 
13698
-        exit 0 ;;
 
13699
+        exit ;;
 
13700
     CRAY*Y-MP:*:*:*)
 
13701
        echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 
13702
-       exit 0 ;;
 
13703
+       exit ;;
 
13704
     CRAY*[A-Z]90:*:*:*)
 
13705
        echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
 
13706
        | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
 
13707
              -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
 
13708
              -e 's/\.[^.]*$/.X/'
 
13709
-       exit 0 ;;
 
13710
+       exit ;;
 
13711
     CRAY*TS:*:*:*)
 
13712
        echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 
13713
-       exit 0 ;;
 
13714
+       exit ;;
 
13715
     CRAY*T3E:*:*:*)
 
13716
        echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 
13717
-       exit 0 ;;
 
13718
+       exit ;;
 
13719
     CRAY*SV1:*:*:*)
 
13720
        echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 
13721
-       exit 0 ;;
 
13722
+       exit ;;
 
13723
     *:UNICOS/mp:*:*)
 
13724
-       echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 
13725
-       exit 0 ;;
 
13726
+       echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 
13727
+       exit ;;
 
13728
     F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
 
13729
        FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
 
13730
         FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
 
13731
         FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
 
13732
         echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
 
13733
-        exit 0 ;;
 
13734
+        exit ;;
 
13735
     5000:UNIX_System_V:4.*:*)
 
13736
         FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
 
13737
         FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
 
13738
         echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
 
13739
-       exit 0 ;;
 
13740
+       exit ;;
 
13741
     i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
 
13742
        echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
 
13743
-       exit 0 ;;
 
13744
+       exit ;;
 
13745
     sparc*:BSD/OS:*:*)
 
13746
        echo sparc-unknown-bsdi${UNAME_RELEASE}
 
13747
-       exit 0 ;;
 
13748
+       exit ;;
 
13749
     *:BSD/OS:*:*)
 
13750
        echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
 
13751
-       exit 0 ;;
 
13752
+       exit ;;
 
13753
     *:FreeBSD:*:*)
 
13754
-       # Determine whether the default compiler uses glibc.
 
13755
-       eval $set_cc_for_build
 
13756
-       sed 's/^        //' << EOF >$dummy.c
 
13757
-       #include <features.h>
 
13758
-       #if __GLIBC__ >= 2
 
13759
-       LIBC=gnu
 
13760
-       #else
 
13761
-       LIBC=
 
13762
-       #endif
 
13763
-EOF
 
13764
-       eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
 
13765
-       # GNU/KFreeBSD systems have a "k" prefix to indicate we are using
 
13766
-       # FreeBSD's kernel, but not the complete OS.
 
13767
-       case ${LIBC} in gnu) kernel_only='k' ;; esac
 
13768
-       echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
 
13769
-       exit 0 ;;
 
13770
+       echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
 
13771
+       exit ;;
 
13772
     i*:CYGWIN*:*)
 
13773
        echo ${UNAME_MACHINE}-pc-cygwin
 
13774
-       exit 0 ;;
 
13775
+       exit ;;
 
13776
     i*:MINGW*:*)
 
13777
        echo ${UNAME_MACHINE}-pc-mingw32
 
13778
-       exit 0 ;;
 
13779
+       exit ;;
 
13780
+    i*:windows32*:*)
 
13781
+       # uname -m includes "-pc" on this system.
 
13782
+       echo ${UNAME_MACHINE}-mingw32
 
13783
+       exit ;;
 
13784
     i*:PW*:*)
 
13785
        echo ${UNAME_MACHINE}-pc-pw32
 
13786
-       exit 0 ;;
 
13787
+       exit ;;
 
13788
     x86:Interix*:[34]*)
 
13789
        echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
 
13790
-       exit 0 ;;
 
13791
+       exit ;;
 
13792
     [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
 
13793
        echo i${UNAME_MACHINE}-pc-mks
 
13794
-       exit 0 ;;
 
13795
+       exit ;;
 
13796
     i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
 
13797
        # How do we know it's Interix rather than the generic POSIX subsystem?
 
13798
        # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
 
13799
        # UNAME_MACHINE based on the output of uname instead of i386?
 
13800
        echo i586-pc-interix
 
13801
-       exit 0 ;;
 
13802
+       exit ;;
 
13803
     i*:UWIN*:*)
 
13804
        echo ${UNAME_MACHINE}-pc-uwin
 
13805
-       exit 0 ;;
 
13806
+       exit ;;
 
13807
+    amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
 
13808
+       echo x86_64-unknown-cygwin
 
13809
+       exit ;;
 
13810
     p*:CYGWIN*:*)
 
13811
        echo powerpcle-unknown-cygwin
 
13812
-       exit 0 ;;
 
13813
+       exit ;;
 
13814
     prep*:SunOS:5.*:*)
 
13815
        echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
 
13816
-       exit 0 ;;
 
13817
+       exit ;;
 
13818
     *:GNU:*:*)
 
13819
        # the GNU system
 
13820
        echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
 
13821
-       exit 0 ;;
 
13822
+       exit ;;
 
13823
     *:GNU/*:*:*)
 
13824
        # other systems with GNU libc and userland
 
13825
        echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
 
13826
-       exit 0 ;;
 
13827
+       exit ;;
 
13828
     i*86:Minix:*:*)
 
13829
        echo ${UNAME_MACHINE}-pc-minix
 
13830
-       exit 0 ;;
 
13831
+       exit ;;
 
13832
     arm*:Linux:*:*)
 
13833
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
13834
-       exit 0 ;;
 
13835
+       exit ;;
 
13836
     cris:Linux:*:*)
 
13837
        echo cris-axis-linux-gnu
 
13838
-       exit 0 ;;
 
13839
+       exit ;;
 
13840
+    crisv32:Linux:*:*)
 
13841
+       echo crisv32-axis-linux-gnu
 
13842
+       exit ;;
 
13843
+    frv:Linux:*:*)
 
13844
+       echo frv-unknown-linux-gnu
 
13845
+       exit ;;
 
13846
     ia64:Linux:*:*)
 
13847
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
13848
-       exit 0 ;;
 
13849
+       exit ;;
 
13850
     m32r*:Linux:*:*)
 
13851
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
13852
-       exit 0 ;;
 
13853
+       exit ;;
 
13854
     m68*:Linux:*:*)
 
13855
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
13856
-       exit 0 ;;
 
13857
+       exit ;;
 
13858
     mips:Linux:*:*)
 
13859
        eval $set_cc_for_build
 
13860
        sed 's/^        //' << EOF >$dummy.c
 
13861
@@ -876,7 +852,7 @@
 
13862
        #endif
 
13863
 EOF
 
13864
        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
 
13865
-       test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
 
13866
+       test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
 
13867
        ;;
 
13868
     mips64:Linux:*:*)
 
13869
        eval $set_cc_for_build
 
13870
@@ -895,14 +871,17 @@
 
13871
        #endif
 
13872
 EOF
 
13873
        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
 
13874
-       test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
 
13875
+       test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
 
13876
        ;;
 
13877
+    or32:Linux:*:*)
 
13878
+       echo or32-unknown-linux-gnu
 
13879
+       exit ;;
 
13880
     ppc:Linux:*:*)
 
13881
        echo powerpc-unknown-linux-gnu
 
13882
-       exit 0 ;;
 
13883
+       exit ;;
 
13884
     ppc64:Linux:*:*)
 
13885
        echo powerpc64-unknown-linux-gnu
 
13886
-       exit 0 ;;
 
13887
+       exit ;;
 
13888
     alpha:Linux:*:*)
 
13889
        case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
 
13890
          EV5)   UNAME_MACHINE=alphaev5 ;;
 
13891
@@ -916,7 +895,7 @@
 
13892
        objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
 
13893
        if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
 
13894
        echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
 
13895
-       exit 0 ;;
 
13896
+       exit ;;
 
13897
     parisc:Linux:*:* | hppa:Linux:*:*)
 
13898
        # Look for CPU level
 
13899
        case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
 
13900
@@ -924,25 +903,25 @@
 
13901
          PA8*) echo hppa2.0-unknown-linux-gnu ;;
 
13902
          *)    echo hppa-unknown-linux-gnu ;;
 
13903
        esac
 
13904
-       exit 0 ;;
 
13905
+       exit ;;
 
13906
     parisc64:Linux:*:* | hppa64:Linux:*:*)
 
13907
        echo hppa64-unknown-linux-gnu
 
13908
-       exit 0 ;;
 
13909
+       exit ;;
 
13910
     s390:Linux:*:* | s390x:Linux:*:*)
 
13911
        echo ${UNAME_MACHINE}-ibm-linux
 
13912
-       exit 0 ;;
 
13913
+       exit ;;
 
13914
     sh64*:Linux:*:*)
 
13915
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
13916
-       exit 0 ;;
 
13917
+       exit ;;
 
13918
     sh*:Linux:*:*)
 
13919
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
13920
-       exit 0 ;;
 
13921
+       exit ;;
 
13922
     sparc:Linux:*:* | sparc64:Linux:*:*)
 
13923
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
13924
-       exit 0 ;;
 
13925
+       exit ;;
 
13926
     x86_64:Linux:*:*)
 
13927
        echo x86_64-unknown-linux-gnu
 
13928
-       exit 0 ;;
 
13929
+       exit ;;
 
13930
     i*86:Linux:*:*)
 
13931
        # The BFD linker knows what the default object file format is, so
 
13932
        # first see if it will tell us. cd to the root directory to prevent
 
13933
@@ -960,15 +939,15 @@
 
13934
                ;;
 
13935
          a.out-i386-linux)
 
13936
                echo "${UNAME_MACHINE}-pc-linux-gnuaout"
 
13937
-               exit 0 ;;
 
13938
+               exit ;;
 
13939
          coff-i386)
 
13940
                echo "${UNAME_MACHINE}-pc-linux-gnucoff"
 
13941
-               exit 0 ;;
 
13942
+               exit ;;
 
13943
          "")
 
13944
                # Either a pre-BFD a.out linker (linux-gnuoldld) or
 
13945
                # one that does not give us useful --help.
 
13946
                echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
 
13947
-               exit 0 ;;
 
13948
+               exit ;;
 
13949
        esac
 
13950
        # Determine whether the default compiler is a.out or elf
 
13951
        eval $set_cc_for_build
 
13952
@@ -996,15 +975,18 @@
 
13953
        #endif
 
13954
 EOF
 
13955
        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
 
13956
-       test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
 
13957
-       test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
 
13958
+       test x"${LIBC}" != x && {
 
13959
+               echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
 
13960
+               exit
 
13961
+       }
 
13962
+       test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
 
13963
        ;;
 
13964
     i*86:DYNIX/ptx:4*:*)
 
13965
        # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
 
13966
        # earlier versions are messed up and put the nodename in both
 
13967
        # sysname and nodename.
 
13968
        echo i386-sequent-sysv4
 
13969
-       exit 0 ;;
 
13970
+       exit ;;
 
13971
     i*86:UNIX_SV:4.2MP:2.*)
 
13972
         # Unixware is an offshoot of SVR4, but it has its own version
 
13973
         # number series starting with 2...
 
13974
@@ -1012,27 +994,27 @@
 
13975
        # I just have to hope.  -- rms.
 
13976
         # Use sysv4.2uw... so that sysv4* matches it.
 
13977
        echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
 
13978
-       exit 0 ;;
 
13979
+       exit ;;
 
13980
     i*86:OS/2:*:*)
 
13981
        # If we were able to find `uname', then EMX Unix compatibility
 
13982
        # is probably installed.
 
13983
        echo ${UNAME_MACHINE}-pc-os2-emx
 
13984
-       exit 0 ;;
 
13985
+       exit ;;
 
13986
     i*86:XTS-300:*:STOP)
 
13987
        echo ${UNAME_MACHINE}-unknown-stop
 
13988
-       exit 0 ;;
 
13989
+       exit ;;
 
13990
     i*86:atheos:*:*)
 
13991
        echo ${UNAME_MACHINE}-unknown-atheos
 
13992
-       exit 0 ;;
 
13993
-       i*86:syllable:*:*)
 
13994
+       exit ;;
 
13995
+    i*86:syllable:*:*)
 
13996
        echo ${UNAME_MACHINE}-pc-syllable
 
13997
-       exit 0 ;;
 
13998
+       exit ;;
 
13999
     i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
 
14000
        echo i386-unknown-lynxos${UNAME_RELEASE}
 
14001
-       exit 0 ;;
 
14002
+       exit ;;
 
14003
     i*86:*DOS:*:*)
 
14004
        echo ${UNAME_MACHINE}-pc-msdosdjgpp
 
14005
-       exit 0 ;;
 
14006
+       exit ;;
 
14007
     i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
 
14008
        UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
 
14009
        if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
 
14010
@@ -1040,15 +1022,16 @@
 
14011
        else
 
14012
                echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
 
14013
        fi
 
14014
-       exit 0 ;;
 
14015
-    i*86:*:5:[78]*)
 
14016
+       exit ;;
 
14017
+    i*86:*:5:[678]*)
 
14018
+       # UnixWare 7.x, OpenUNIX and OpenServer 6.
 
14019
        case `/bin/uname -X | grep "^Machine"` in
 
14020
            *486*)           UNAME_MACHINE=i486 ;;
 
14021
            *Pentium)        UNAME_MACHINE=i586 ;;
 
14022
            *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
 
14023
        esac
 
14024
        echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
 
14025
-       exit 0 ;;
 
14026
+       exit ;;
 
14027
     i*86:*:3.2:*)
 
14028
        if test -f /usr/options/cb.name; then
 
14029
                UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
 
14030
@@ -1066,73 +1049,73 @@
 
14031
        else
 
14032
                echo ${UNAME_MACHINE}-pc-sysv32
 
14033
        fi
 
14034
-       exit 0 ;;
 
14035
+       exit ;;
 
14036
     pc:*:*:*)
 
14037
        # Left here for compatibility:
 
14038
         # uname -m prints for DJGPP always 'pc', but it prints nothing about
 
14039
         # the processor, so we play safe by assuming i386.
 
14040
        echo i386-pc-msdosdjgpp
 
14041
-        exit 0 ;;
 
14042
+        exit ;;
 
14043
     Intel:Mach:3*:*)
 
14044
        echo i386-pc-mach3
 
14045
-       exit 0 ;;
 
14046
+       exit ;;
 
14047
     paragon:*:*:*)
 
14048
        echo i860-intel-osf1
 
14049
-       exit 0 ;;
 
14050
+       exit ;;
 
14051
     i860:*:4.*:*) # i860-SVR4
 
14052
        if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
 
14053
          echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
 
14054
        else # Add other i860-SVR4 vendors below as they are discovered.
 
14055
          echo i860-unknown-sysv${UNAME_RELEASE}  # Unknown i860-SVR4
 
14056
        fi
 
14057
-       exit 0 ;;
 
14058
+       exit ;;
 
14059
     mini*:CTIX:SYS*5:*)
 
14060
        # "miniframe"
 
14061
        echo m68010-convergent-sysv
 
14062
-       exit 0 ;;
 
14063
+       exit ;;
 
14064
     mc68k:UNIX:SYSTEM5:3.51m)
 
14065
        echo m68k-convergent-sysv
 
14066
-       exit 0 ;;
 
14067
+       exit ;;
 
14068
     M680?0:D-NIX:5.3:*)
 
14069
        echo m68k-diab-dnix
 
14070
-       exit 0 ;;
 
14071
-    M68*:*:R3V[567]*:*)
 
14072
-       test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
 
14073
-    3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0)
 
14074
+       exit ;;
 
14075
+    M68*:*:R3V[5678]*:*)
 
14076
+       test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
 
14077
+    3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
 
14078
        OS_REL=''
 
14079
        test -r /etc/.relid \
 
14080
        && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
 
14081
        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
 
14082
-         && echo i486-ncr-sysv4.3${OS_REL} && exit 0
 
14083
+         && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
 
14084
        /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
 
14085
-         && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
 
14086
+         && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
 
14087
     3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
 
14088
         /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
 
14089
-          && echo i486-ncr-sysv4 && exit 0 ;;
 
14090
+          && { echo i486-ncr-sysv4; exit; } ;;
 
14091
     m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
 
14092
        echo m68k-unknown-lynxos${UNAME_RELEASE}
 
14093
-       exit 0 ;;
 
14094
+       exit ;;
 
14095
     mc68030:UNIX_System_V:4.*:*)
 
14096
        echo m68k-atari-sysv4
 
14097
-       exit 0 ;;
 
14098
+       exit ;;
 
14099
     TSUNAMI:LynxOS:2.*:*)
 
14100
        echo sparc-unknown-lynxos${UNAME_RELEASE}
 
14101
-       exit 0 ;;
 
14102
+       exit ;;
 
14103
     rs6000:LynxOS:2.*:*)
 
14104
        echo rs6000-unknown-lynxos${UNAME_RELEASE}
 
14105
-       exit 0 ;;
 
14106
+       exit ;;
 
14107
     PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
 
14108
        echo powerpc-unknown-lynxos${UNAME_RELEASE}
 
14109
-       exit 0 ;;
 
14110
+       exit ;;
 
14111
     SM[BE]S:UNIX_SV:*:*)
 
14112
        echo mips-dde-sysv${UNAME_RELEASE}
 
14113
-       exit 0 ;;
 
14114
+       exit ;;
 
14115
     RM*:ReliantUNIX-*:*:*)
 
14116
        echo mips-sni-sysv4
 
14117
-       exit 0 ;;
 
14118
+       exit ;;
 
14119
     RM*:SINIX-*:*:*)
 
14120
        echo mips-sni-sysv4
 
14121
-       exit 0 ;;
 
14122
+       exit ;;
 
14123
     *:SINIX-*:*:*)
 
14124
        if uname -p 2>/dev/null >/dev/null ; then
 
14125
                UNAME_MACHINE=`(uname -p) 2>/dev/null`
 
14126
@@ -1140,68 +1123,73 @@
 
14127
        else
 
14128
                echo ns32k-sni-sysv
 
14129
        fi
 
14130
-       exit 0 ;;
 
14131
+       exit ;;
 
14132
     PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
 
14133
                       # says <Richard.M.Bartel@ccMail.Census.GOV>
 
14134
         echo i586-unisys-sysv4
 
14135
-        exit 0 ;;
 
14136
+        exit ;;
 
14137
     *:UNIX_System_V:4*:FTX*)
 
14138
        # From Gerald Hewes <hewes@openmarket.com>.
 
14139
        # How about differentiating between stratus architectures? -djm
 
14140
        echo hppa1.1-stratus-sysv4
 
14141
-       exit 0 ;;
 
14142
+       exit ;;
 
14143
     *:*:*:FTX*)
 
14144
        # From seanf@swdc.stratus.com.
 
14145
        echo i860-stratus-sysv4
 
14146
-       exit 0 ;;
 
14147
+       exit ;;
 
14148
+    i*86:VOS:*:*)
 
14149
+       # From Paul.Green@stratus.com.
 
14150
+       echo ${UNAME_MACHINE}-stratus-vos
 
14151
+       exit ;;
 
14152
     *:VOS:*:*)
 
14153
        # From Paul.Green@stratus.com.
 
14154
        echo hppa1.1-stratus-vos
 
14155
-       exit 0 ;;
 
14156
+       exit ;;
 
14157
     mc68*:A/UX:*:*)
 
14158
        echo m68k-apple-aux${UNAME_RELEASE}
 
14159
-       exit 0 ;;
 
14160
+       exit ;;
 
14161
     news*:NEWS-OS:6*:*)
 
14162
        echo mips-sony-newsos6
 
14163
-       exit 0 ;;
 
14164
+       exit ;;
 
14165
     R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
 
14166
        if [ -d /usr/nec ]; then
 
14167
                echo mips-nec-sysv${UNAME_RELEASE}
 
14168
        else
 
14169
                echo mips-unknown-sysv${UNAME_RELEASE}
 
14170
        fi
 
14171
-        exit 0 ;;
 
14172
+        exit ;;
 
14173
     BeBox:BeOS:*:*)    # BeOS running on hardware made by Be, PPC only.
 
14174
        echo powerpc-be-beos
 
14175
-       exit 0 ;;
 
14176
+       exit ;;
 
14177
     BeMac:BeOS:*:*)    # BeOS running on Mac or Mac clone, PPC only.
 
14178
        echo powerpc-apple-beos
 
14179
-       exit 0 ;;
 
14180
+       exit ;;
 
14181
     BePC:BeOS:*:*)     # BeOS running on Intel PC compatible.
 
14182
        echo i586-pc-beos
 
14183
-       exit 0 ;;
 
14184
+       exit ;;
 
14185
     SX-4:SUPER-UX:*:*)
 
14186
        echo sx4-nec-superux${UNAME_RELEASE}
 
14187
-       exit 0 ;;
 
14188
+       exit ;;
 
14189
     SX-5:SUPER-UX:*:*)
 
14190
        echo sx5-nec-superux${UNAME_RELEASE}
 
14191
-       exit 0 ;;
 
14192
+       exit ;;
 
14193
     SX-6:SUPER-UX:*:*)
 
14194
        echo sx6-nec-superux${UNAME_RELEASE}
 
14195
-       exit 0 ;;
 
14196
+       exit ;;
 
14197
     Power*:Rhapsody:*:*)
 
14198
        echo powerpc-apple-rhapsody${UNAME_RELEASE}
 
14199
-       exit 0 ;;
 
14200
+       exit ;;
 
14201
     *:Rhapsody:*:*)
 
14202
        echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
 
14203
-       exit 0 ;;
 
14204
+       exit ;;
 
14205
     *:Darwin:*:*)
 
14206
-       case `uname -p` in
 
14207
+       UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
 
14208
+       case $UNAME_PROCESSOR in
 
14209
            *86) UNAME_PROCESSOR=i686 ;;
 
14210
-           powerpc) UNAME_PROCESSOR=powerpc ;;
 
14211
+           unknown) UNAME_PROCESSOR=powerpc ;;
 
14212
        esac
 
14213
        echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
 
14214
-       exit 0 ;;
 
14215
+       exit ;;
 
14216
     *:procnto*:*:* | *:QNX:[0123456789]*:*)
 
14217
        UNAME_PROCESSOR=`uname -p`
 
14218
        if test "$UNAME_PROCESSOR" = "x86"; then
 
14219
@@ -1209,22 +1197,25 @@
 
14220
                UNAME_MACHINE=pc
 
14221
        fi
 
14222
        echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
 
14223
-       exit 0 ;;
 
14224
+       exit ;;
 
14225
     *:QNX:*:4*)
 
14226
        echo i386-pc-qnx
 
14227
-       exit 0 ;;
 
14228
+       exit ;;
 
14229
+    NSE-?:NONSTOP_KERNEL:*:*)
 
14230
+       echo nse-tandem-nsk${UNAME_RELEASE}
 
14231
+       exit ;;
 
14232
     NSR-?:NONSTOP_KERNEL:*:*)
 
14233
        echo nsr-tandem-nsk${UNAME_RELEASE}
 
14234
-       exit 0 ;;
 
14235
+       exit ;;
 
14236
     *:NonStop-UX:*:*)
 
14237
        echo mips-compaq-nonstopux
 
14238
-       exit 0 ;;
 
14239
+       exit ;;
 
14240
     BS2000:POSIX*:*:*)
 
14241
        echo bs2000-siemens-sysv
 
14242
-       exit 0 ;;
 
14243
+       exit ;;
 
14244
     DS/*:UNIX_System_V:*:*)
 
14245
        echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
 
14246
-       exit 0 ;;
 
14247
+       exit ;;
 
14248
     *:Plan9:*:*)
 
14249
        # "uname -m" is not consistent, so use $cputype instead. 386
 
14250
        # is converted to i386 for consistency with other x86
 
14251
@@ -1235,31 +1226,44 @@
 
14252
            UNAME_MACHINE="$cputype"
 
14253
        fi
 
14254
        echo ${UNAME_MACHINE}-unknown-plan9
 
14255
-       exit 0 ;;
 
14256
+       exit ;;
 
14257
     *:TOPS-10:*:*)
 
14258
        echo pdp10-unknown-tops10
 
14259
-       exit 0 ;;
 
14260
+       exit ;;
 
14261
     *:TENEX:*:*)
 
14262
        echo pdp10-unknown-tenex
 
14263
-       exit 0 ;;
 
14264
+       exit ;;
 
14265
     KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
 
14266
        echo pdp10-dec-tops20
 
14267
-       exit 0 ;;
 
14268
+       exit ;;
 
14269
     XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
 
14270
        echo pdp10-xkl-tops20
 
14271
-       exit 0 ;;
 
14272
+       exit ;;
 
14273
     *:TOPS-20:*:*)
 
14274
        echo pdp10-unknown-tops20
 
14275
-       exit 0 ;;
 
14276
+       exit ;;
 
14277
     *:ITS:*:*)
 
14278
        echo pdp10-unknown-its
 
14279
-       exit 0 ;;
 
14280
+       exit ;;
 
14281
     SEI:*:*:SEIUX)
 
14282
         echo mips-sei-seiux${UNAME_RELEASE}
 
14283
-       exit 0 ;;
 
14284
+       exit ;;
 
14285
     *:DragonFly:*:*)
 
14286
        echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
 
14287
-       exit 0 ;;
 
14288
+       exit ;;
 
14289
+    *:*VMS:*:*)
 
14290
+       UNAME_MACHINE=`(uname -p) 2>/dev/null`
 
14291
+       case "${UNAME_MACHINE}" in
 
14292
+           A*) echo alpha-dec-vms ; exit ;;
 
14293
+           I*) echo ia64-dec-vms ; exit ;;
 
14294
+           V*) echo vax-dec-vms ; exit ;;
 
14295
+       esac ;;
 
14296
+    *:XENIX:*:SysV)
 
14297
+       echo i386-pc-xenix
 
14298
+       exit ;;
 
14299
+    i*86:skyos:*:*)
 
14300
+       echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
 
14301
+       exit ;;
 
14302
 esac
 
14303
 
 
14304
 #echo '(No uname command or uname output not recognized.)' 1>&2
 
14305
@@ -1291,7 +1295,7 @@
 
14306
 #endif
 
14307
 
 
14308
 #if defined (__arm) && defined (__acorn) && defined (__unix)
 
14309
-  printf ("arm-acorn-riscix"); exit (0);
 
14310
+  printf ("arm-acorn-riscix\n"); exit (0);
 
14311
 #endif
 
14312
 
 
14313
 #if defined (hp300) && !defined (hpux)
 
14314
@@ -1380,11 +1384,12 @@
 
14315
 }
 
14316
 EOF
 
14317
 
 
14318
-$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0
 
14319
+$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
 
14320
+       { echo "$SYSTEM_NAME"; exit; }
 
14321
 
 
14322
 # Apollos put the system type in the environment.
 
14323
 
 
14324
-test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
 
14325
+test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
 
14326
 
 
14327
 # Convex versions that predate uname can use getsysinfo(1)
 
14328
 
 
14329
@@ -1393,22 +1398,22 @@
 
14330
     case `getsysinfo -f cpu_type` in
 
14331
     c1*)
 
14332
        echo c1-convex-bsd
 
14333
-       exit 0 ;;
 
14334
+       exit ;;
 
14335
     c2*)
 
14336
        if getsysinfo -f scalar_acc
 
14337
        then echo c32-convex-bsd
 
14338
        else echo c2-convex-bsd
 
14339
        fi
 
14340
-       exit 0 ;;
 
14341
+       exit ;;
 
14342
     c34*)
 
14343
        echo c34-convex-bsd
 
14344
-       exit 0 ;;
 
14345
+       exit ;;
 
14346
     c38*)
 
14347
        echo c38-convex-bsd
 
14348
-       exit 0 ;;
 
14349
+       exit ;;
 
14350
     c4*)
 
14351
        echo c4-convex-bsd
 
14352
-       exit 0 ;;
 
14353
+       exit ;;
 
14354
     esac
 
14355
 fi
 
14356
 
 
14357
@@ -1419,7 +1424,9 @@
 
14358
 the operating system you are using. It is advised that you
 
14359
 download the most up to date version of the config scripts from
 
14360
 
 
14361
-    ftp://ftp.gnu.org/pub/gnu/config/
 
14362
+  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
 
14363
+and
 
14364
+  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
 
14365
 
 
14366
 If the version you run ($0) is already up to date, please
 
14367
 send the following data and any information you think might be
 
14368
diff --exclude debian -urN orig/flac-1.1.2/config.sub flac-1.1.2/config.sub
 
14369
--- orig/flac-1.1.2/config.sub  2005-02-04 18:21:46.000000000 -0800
 
14370
+++ flac-1.1.2/config.sub       2005-08-17 19:53:00.000000000 -0700
 
14371
@@ -1,9 +1,9 @@
 
14372
 #! /bin/sh
 
14373
 # Configuration validation subroutine script.
 
14374
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
 
14375
-#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
 
14376
+#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 
14377
 
 
14378
-timestamp='2004-03-12'
 
14379
+timestamp='2005-07-08'
 
14380
 
 
14381
 # This file is (in principle) common to ALL GNU software.
 
14382
 # The presence of a machine in this file suggests that SOME GNU software
 
14383
@@ -21,14 +21,15 @@
 
14384
 #
 
14385
 # You should have received a copy of the GNU General Public License
 
14386
 # along with this program; if not, write to the Free Software
 
14387
-# Foundation, Inc., 59 Temple Place - Suite 330,
 
14388
-# Boston, MA 02111-1307, USA.
 
14389
-
 
14390
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
 
14391
+# 02110-1301, USA.
 
14392
+#
 
14393
 # As a special exception to the GNU General Public License, if you
 
14394
 # distribute this file as part of a program that contains a
 
14395
 # configuration script generated by Autoconf, you may include it under
 
14396
 # the same distribution terms that you use for the rest of that program.
 
14397
 
 
14398
+
 
14399
 # Please send patches to <config-patches@gnu.org>.  Submit a context
 
14400
 # diff and a properly formatted ChangeLog entry.
 
14401
 #
 
14402
@@ -70,7 +71,7 @@
 
14403
 version="\
 
14404
 GNU config.sub ($timestamp)
 
14405
 
 
14406
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
 
14407
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
14408
 Free Software Foundation, Inc.
 
14409
 
 
14410
 This is free software; see the source for copying conditions.  There is NO
 
14411
@@ -83,11 +84,11 @@
 
14412
 while test $# -gt 0 ; do
 
14413
   case $1 in
 
14414
     --time-stamp | --time* | -t )
 
14415
-       echo "$timestamp" ; exit 0 ;;
 
14416
+       echo "$timestamp" ; exit ;;
 
14417
     --version | -v )
 
14418
-       echo "$version" ; exit 0 ;;
 
14419
+       echo "$version" ; exit ;;
 
14420
     --help | --h* | -h )
 
14421
-       echo "$usage"; exit 0 ;;
 
14422
+       echo "$usage"; exit ;;
 
14423
     -- )     # Stop option processing
 
14424
        shift; break ;;
 
14425
     - )        # Use stdin as input.
 
14426
@@ -99,7 +100,7 @@
 
14427
     *local*)
 
14428
        # First pass through any local machine types.
 
14429
        echo $1
 
14430
-       exit 0;;
 
14431
+       exit ;;
 
14432
 
 
14433
     * )
 
14434
        break ;;
 
14435
@@ -145,7 +146,7 @@
 
14436
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
 
14437
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
 
14438
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
 
14439
-       -apple | -axis)
 
14440
+       -apple | -axis | -knuth | -cray)
 
14441
                os=
 
14442
                basic_machine=$1
 
14443
                ;;
 
14444
@@ -231,13 +232,14 @@
 
14445
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
 
14446
        | am33_2.0 \
 
14447
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
 
14448
+       | bfin \
 
14449
        | c4x | clipper \
 
14450
        | d10v | d30v | dlx | dsp16xx \
 
14451
        | fr30 | frv \
 
14452
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
 
14453
        | i370 | i860 | i960 | ia64 \
 
14454
        | ip2k | iq2000 \
 
14455
-       | m32r | m32rle | m68000 | m68k | m88k | mcore \
 
14456
+       | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
 
14457
        | mips | mipsbe | mipseb | mipsel | mipsle \
 
14458
        | mips16 \
 
14459
        | mips64 | mips64el \
 
14460
@@ -246,6 +248,7 @@
 
14461
        | mips64vr4100 | mips64vr4100el \
 
14462
        | mips64vr4300 | mips64vr4300el \
 
14463
        | mips64vr5000 | mips64vr5000el \
 
14464
+       | mips64vr5900 | mips64vr5900el \
 
14465
        | mipsisa32 | mipsisa32el \
 
14466
        | mipsisa32r2 | mipsisa32r2el \
 
14467
        | mipsisa64 | mipsisa64el \
 
14468
@@ -254,23 +257,28 @@
 
14469
        | mipsisa64sr71k | mipsisa64sr71kel \
 
14470
        | mipstx39 | mipstx39el \
 
14471
        | mn10200 | mn10300 \
 
14472
+       | ms1 \
 
14473
        | msp430 \
 
14474
        | ns16k | ns32k \
 
14475
-       | openrisc | or32 \
 
14476
+       | or32 \
 
14477
        | pdp10 | pdp11 | pj | pjl \
 
14478
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
 
14479
        | pyramid \
 
14480
-       | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
 
14481
+       | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
 
14482
        | sh64 | sh64le \
 
14483
-       | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
 
14484
+       | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
 
14485
+       | sparcv8 | sparcv9 | sparcv9b \
 
14486
        | strongarm \
 
14487
        | tahoe | thumb | tic4x | tic80 | tron \
 
14488
        | v850 | v850e \
 
14489
        | we32k \
 
14490
-       | x86 | xscale | xstormy16 | xtensa \
 
14491
+       | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
 
14492
        | z8k)
 
14493
                basic_machine=$basic_machine-unknown
 
14494
                ;;
 
14495
+       m32c)
 
14496
+               basic_machine=$basic_machine-unknown
 
14497
+               ;;
 
14498
        m6811 | m68hc11 | m6812 | m68hc12)
 
14499
                # Motorola 68HC11/12.
 
14500
                basic_machine=$basic_machine-unknown
 
14501
@@ -298,9 +306,9 @@
 
14502
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
 
14503
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
 
14504
        | avr-* \
 
14505
-       | bs2000-* \
 
14506
+       | bfin-* | bs2000-* \
 
14507
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
 
14508
-       | clipper-* | cydra-* \
 
14509
+       | clipper-* | craynv-* | cydra-* \
 
14510
        | d10v-* | d30v-* | dlx-* \
 
14511
        | elxsi-* \
 
14512
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
 
14513
@@ -310,7 +318,7 @@
 
14514
        | ip2k-* | iq2000-* \
 
14515
        | m32r-* | m32rle-* \
 
14516
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
 
14517
-       | m88110-* | m88k-* | mcore-* \
 
14518
+       | m88110-* | m88k-* | maxq-* | mcore-* \
 
14519
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
 
14520
        | mips16-* \
 
14521
        | mips64-* | mips64el-* \
 
14522
@@ -319,6 +327,7 @@
 
14523
        | mips64vr4100-* | mips64vr4100el-* \
 
14524
        | mips64vr4300-* | mips64vr4300el-* \
 
14525
        | mips64vr5000-* | mips64vr5000el-* \
 
14526
+       | mips64vr5900-* | mips64vr5900el-* \
 
14527
        | mipsisa32-* | mipsisa32el-* \
 
14528
        | mipsisa32r2-* | mipsisa32r2el-* \
 
14529
        | mipsisa64-* | mipsisa64el-* \
 
14530
@@ -326,27 +335,32 @@
 
14531
        | mipsisa64sb1-* | mipsisa64sb1el-* \
 
14532
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
 
14533
        | mipstx39-* | mipstx39el-* \
 
14534
+       | mmix-* \
 
14535
+       | ms1-* \
 
14536
        | msp430-* \
 
14537
-       | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
 
14538
+       | none-* | np1-* | ns16k-* | ns32k-* \
 
14539
        | orion-* \
 
14540
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
 
14541
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
 
14542
        | pyramid-* \
 
14543
        | romp-* | rs6000-* \
 
14544
-       | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
 
14545
+       | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
 
14546
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
 
14547
-       | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
 
14548
+       | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
 
14549
+       | sparclite-* \
 
14550
        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
 
14551
        | tahoe-* | thumb-* \
 
14552
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
14553
        | tron-* \
 
14554
        | v850-* | v850e-* | vax-* \
 
14555
        | we32k-* \
 
14556
-       | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
 
14557
-       | xtensa-* \
 
14558
+       | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
 
14559
+       | xstormy16-* | xtensa-* \
 
14560
        | ymp-* \
 
14561
        | z8k-*)
 
14562
                ;;
 
14563
+       m32c-*)
 
14564
+               ;;
 
14565
        # Recognize the various machine names and aliases which stand
 
14566
        # for a CPU type and a company and sometimes even an OS.
 
14567
        386bsd)
 
14568
@@ -445,6 +459,10 @@
 
14569
                basic_machine=j90-cray
 
14570
                os=-unicos
 
14571
                ;;
 
14572
+       craynv)
 
14573
+               basic_machine=craynv-cray
 
14574
+               os=-unicosmp
 
14575
+               ;;
 
14576
        cr16c)
 
14577
                basic_machine=cr16c-unknown
 
14578
                os=-elf
 
14579
@@ -452,6 +470,9 @@
 
14580
        crds | unos)
 
14581
                basic_machine=m68k-crds
 
14582
                ;;
 
14583
+       crisv32 | crisv32-* | etraxfs*)
 
14584
+               basic_machine=crisv32-axis
 
14585
+               ;;
 
14586
        cris | cris-* | etrax*)
 
14587
                basic_machine=cris-axis
 
14588
                ;;
 
14589
@@ -481,6 +502,10 @@
 
14590
                basic_machine=m88k-motorola
 
14591
                os=-sysv3
 
14592
                ;;
 
14593
+       djgpp)
 
14594
+               basic_machine=i586-pc
 
14595
+               os=-msdosdjgpp
 
14596
+               ;;
 
14597
        dpx20 | dpx20-*)
 
14598
                basic_machine=rs6000-bull
 
14599
                os=-bosx
 
14600
@@ -659,10 +684,6 @@
 
14601
        mips3*)
 
14602
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
 
14603
                ;;
 
14604
-       mmix*)
 
14605
-               basic_machine=mmix-knuth
 
14606
-               os=-mmixware
 
14607
-               ;;
 
14608
        monitor)
 
14609
                basic_machine=m68k-rom68k
 
14610
                os=-coff
 
14611
@@ -743,10 +764,6 @@
 
14612
        np1)
 
14613
                basic_machine=np1-gould
 
14614
                ;;
 
14615
-       nv1)
 
14616
-               basic_machine=nv1-cray
 
14617
-               os=-unicosmp
 
14618
-               ;;
 
14619
        nsr-tandem)
 
14620
                basic_machine=nsr-tandem
 
14621
                ;;
 
14622
@@ -754,9 +771,8 @@
 
14623
                basic_machine=hppa1.1-oki
 
14624
                os=-proelf
 
14625
                ;;
 
14626
-       or32 | or32-*)
 
14627
+       openrisc | openrisc-*)
 
14628
                basic_machine=or32-unknown
 
14629
-               os=-coff
 
14630
                ;;
 
14631
        os400)
 
14632
                basic_machine=powerpc-ibm
 
14633
@@ -1029,6 +1045,10 @@
 
14634
                basic_machine=hppa1.1-winbond
 
14635
                os=-proelf
 
14636
                ;;
 
14637
+       xbox)
 
14638
+               basic_machine=i686-pc
 
14639
+               os=-mingw32
 
14640
+               ;;
 
14641
        xps | xps100)
 
14642
                basic_machine=xps100-honeywell
 
14643
                ;;
 
14644
@@ -1059,6 +1079,9 @@
 
14645
        romp)
 
14646
                basic_machine=romp-ibm
 
14647
                ;;
 
14648
+       mmix)
 
14649
+               basic_machine=mmix-knuth
 
14650
+               ;;
 
14651
        rs6000)
 
14652
                basic_machine=rs6000-ibm
 
14653
                ;;
 
14654
@@ -1075,12 +1098,9 @@
 
14655
        we32k)
 
14656
                basic_machine=we32k-att
 
14657
                ;;
 
14658
-       sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
 
14659
+       sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
 
14660
                basic_machine=sh-unknown
 
14661
                ;;
 
14662
-       sh64)
 
14663
-               basic_machine=sh64-unknown
 
14664
-               ;;
 
14665
        sparc | sparcv8 | sparcv9 | sparcv9b)
 
14666
                basic_machine=sparc-sun
 
14667
                ;;
 
14668
@@ -1167,7 +1187,8 @@
 
14669
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
 
14670
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
 
14671
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
 
14672
-             | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
 
14673
+             | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
 
14674
+             | -skyos* | -haiku*)
 
14675
        # Remember, each alternative MUST END IN *, to match a version number.
 
14676
                ;;
 
14677
        -qnx*)
 
14678
@@ -1185,7 +1206,7 @@
 
14679
                os=`echo $os | sed -e 's|nto|nto-qnx|'`
 
14680
                ;;
 
14681
        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
 
14682
-             | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
 
14683
+             | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
 
14684
              | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
 
14685
                ;;
 
14686
        -mac*)
 
14687
@@ -1294,6 +1315,9 @@
 
14688
        -kaos*)
 
14689
                os=-kaos
 
14690
                ;;
 
14691
+       -zvmoe)
 
14692
+               os=-zvmoe
 
14693
+               ;;
 
14694
        -none)
 
14695
                ;;
 
14696
        *)
 
14697
@@ -1371,9 +1395,15 @@
 
14698
        *-be)
 
14699
                os=-beos
 
14700
                ;;
 
14701
+       *-haiku)
 
14702
+               os=-haiku
 
14703
+               ;;
 
14704
        *-ibm)
 
14705
                os=-aix
 
14706
                ;;
 
14707
+       *-knuth)
 
14708
+               os=-mmixware
 
14709
+               ;;
 
14710
        *-wec)
 
14711
                os=-proelf
 
14712
                ;;
 
14713
@@ -1539,7 +1569,7 @@
 
14714
 esac
 
14715
 
 
14716
 echo $basic_machine$os
 
14717
-exit 0
 
14718
+exit
 
14719
 
 
14720
 # Local variables:
 
14721
 # eval: (add-hook 'write-file-hooks 'time-stamp)
 
14722
diff --exclude debian -urN orig/flac-1.1.2/configure flac-1.1.2/configure
 
14723
--- orig/flac-1.1.2/configure   2005-02-04 18:22:32.000000000 -0800
 
14724
+++ flac-1.1.2/configure        2005-08-17 19:52:29.000000000 -0700
 
14725
@@ -241,17 +241,6 @@
 
14726
 $as_unset CDPATH
 
14727
 
 
14728
 
 
14729
-# Find the correct PATH separator.  Usually this is `:', but
 
14730
-# DJGPP uses `;' like DOS.
 
14731
-if test "X${PATH_SEPARATOR+set}" != Xset; then
 
14732
-  UNAME=${UNAME-`uname 2>/dev/null`}
 
14733
-  case X$UNAME in
 
14734
-    *-DOS) lt_cv_sys_path_separator=';' ;;
 
14735
-    *)     lt_cv_sys_path_separator=':' ;;
 
14736
-  esac
 
14737
-  PATH_SEPARATOR=$lt_cv_sys_path_separator
 
14738
-fi
 
14739
-
 
14740
 
 
14741
 # Check that we are running under the correct shell.
 
14742
 SHELL=${CONFIG_SHELL-/bin/sh}
 
14743
@@ -270,7 +259,7 @@
 
14744
 elif test "X$1" = X--fallback-echo; then
 
14745
   # Avoid inline document here, it may be left over
 
14746
   :
 
14747
-elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
 
14748
+elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
 
14749
   # Yippee, $echo works!
 
14750
   :
 
14751
 else
 
14752
@@ -282,7 +271,7 @@
 
14753
   # used as fallback echo
 
14754
   shift
 
14755
   cat <<EOF
 
14756
-
 
14757
+$*
 
14758
 EOF
 
14759
   exit 0
 
14760
 fi
 
14761
@@ -316,8 +305,9 @@
 
14762
   #
 
14763
   # So, first we look for a working echo in the user's PATH.
 
14764
 
 
14765
-  IFS="${IFS=  }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
14766
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
14767
   for dir in $PATH /usr/ucb; do
 
14768
+    IFS="$lt_save_ifs"
 
14769
     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
14770
        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
14771
        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
14772
@@ -326,7 +316,7 @@
 
14773
       break
 
14774
     fi
 
14775
   done
 
14776
-  IFS="$save_ifs"
 
14777
+  IFS="$lt_save_ifs"
 
14778
 
 
14779
   if test "X$echo" = Xecho; then
 
14780
     # We didn't find a better echo, so look for alternatives.
 
14781
@@ -400,6 +390,11 @@
 
14782
 
 
14783
 
 
14784
 
 
14785
+
 
14786
+tagnames=${tagnames+${tagnames},}CXX
 
14787
+
 
14788
+tagnames=${tagnames+${tagnames},}F77
 
14789
+
 
14790
 # Name of the host.
 
14791
 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
14792
 # so uname gets run too.
 
14793
@@ -468,7 +463,7 @@
 
14794
 # include <unistd.h>
 
14795
 #endif"
 
14796
 
 
14797
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S ECHO RANLIB ac_ct_RANLIB CPP EGREP LIBTOOL CCAS CCASFLAGS CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE FLaC__CPU_IA32_TRUE FLaC__CPU_IA32_FALSE FLaC__CPU_PPC_TRUE FLaC__CPU_PPC_FALSE FLaC__CPU_SPARC_TRUE FLaC__CPU_SPARC_FALSE OBJ_FORMAT FLaC__SYS_DARWIN_TRUE FLaC__SYS_DARWIN_FALSE FLaC__SYS_LINUX_TRUE FLaC__SYS_LINUX_FALSE FLaC__NO_ASM_TRUE FLaC__NO_ASM_FALSE DEBUG_TRUE DEBUG_FALSE FLaC__SSE_OS_TRUE FLaC__SSE_OS_FALSE FLaC__USE_3DNOW_TRUE FLaC__USE_3DNOW_FALSE FLaC__USE_ALTIVEC_TRUE FLaC__USE_ALTIVEC_FALSE FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_TRUE FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_FALSE FLaC__EXHAUSTIVE_TESTS_TRUE FLaC__EXHAUSTIVE_TESTS_FALSE FLaC__VALGRIND_TESTING_TRUE FLaC__VALGRIND_TESTING_FALSE OGG_CFLAGS OGG_LIBS FLaC__HAS_OGG_TRUE FLaC__HAS_OGG_FALSE XMMS_CONFIG XMMS_CFLAGS XMMS_LIBS XMMS_VERSION XMMS_DATA_DIR XMMS_PLUGIN_DIR XMMS_VISUALIZATION_PLUGIN_DIR XMMS_INPUT_PLUGIN_DIR XMMS_OUTPUT_PLUGIN_DIR XMMS_GENERAL_PLUGIN_DIR XMMS_EFFECT_PLUGIN_DIR FLaC__HAS_XMMS_TRUE FLaC__HAS_XMMS_FALSE LIBICONV LTLIBICONV DOXYGEN FLaC__HAS_DOXYGEN_TRUE FLaC__HAS_DOXYGEN_FALSE DOCBOOK_TO_MAN FLaC__HAS_DOCBOOK_TO_MAN_TRUE FLaC__HAS_DOCBOOK_TO_MAN_FALSE NASM FLaC__HAS_NASM_TRUE FLaC__HAS_NASM_FALSE AS GAS FLaC__HAS_AS_TRUE FLaC__HAS_AS_FALSE FLaC__HAS_GAS_TRUE FLaC__HAS_GAS_FALSE FLaC__HAS_AS__TEMPORARILY_DISABLED_TRUE FLaC__HAS_AS__TEMPORARILY_DISABLED_FALSE FLaC__HAS_GAS__TEMPORARILY_DISABLED_TRUE FLaC__HAS_GAS__TEMPORARILY_DISABLED_FALSE LIBOBJS LTLIBOBJS'
 
14798
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL CCAS CCASFLAGS FLaC__CPU_IA32_TRUE FLaC__CPU_IA32_FALSE FLaC__CPU_PPC_TRUE FLaC__CPU_PPC_FALSE FLaC__CPU_SPARC_TRUE FLaC__CPU_SPARC_FALSE OBJ_FORMAT FLaC__SYS_DARWIN_TRUE FLaC__SYS_DARWIN_FALSE FLaC__SYS_LINUX_TRUE FLaC__SYS_LINUX_FALSE FLaC__NO_ASM_TRUE FLaC__NO_ASM_FALSE DEBUG_TRUE DEBUG_FALSE FLaC__SSE_OS_TRUE FLaC__SSE_OS_FALSE FLaC__USE_3DNOW_TRUE FLaC__USE_3DNOW_FALSE FLaC__USE_ALTIVEC_TRUE FLaC__USE_ALTIVEC_FALSE FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_TRUE FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_FALSE FLaC__EXHAUSTIVE_TESTS_TRUE FLaC__EXHAUSTIVE_TESTS_FALSE FLaC__VALGRIND_TESTING_TRUE FLaC__VALGRIND_TESTING_FALSE OGG_CFLAGS OGG_LIBS FLaC__HAS_OGG_TRUE FLaC__HAS_OGG_FALSE XMMS_CONFIG XMMS_CFLAGS XMMS_LIBS XMMS_VERSION XMMS_DATA_DIR XMMS_PLUGIN_DIR XMMS_VISUALIZATION_PLUGIN_DIR XMMS_INPUT_PLUGIN_DIR XMMS_OUTPUT_PLUGIN_DIR XMMS_GENERAL_PLUGIN_DIR XMMS_EFFECT_PLUGIN_DIR FLaC__HAS_XMMS_TRUE FLaC__HAS_XMMS_FALSE LIBICONV LTLIBICONV DOXYGEN FLaC__HAS_DOXYGEN_TRUE FLaC__HAS_DOXYGEN_FALSE DOCBOOK_TO_MAN FLaC__HAS_DOCBOOK_TO_MAN_TRUE FLaC__HAS_DOCBOOK_TO_MAN_FALSE NASM FLaC__HAS_NASM_TRUE FLaC__HAS_NASM_FALSE AS GAS FLaC__HAS_AS_TRUE FLaC__HAS_AS_FALSE FLaC__HAS_GAS_TRUE FLaC__HAS_GAS_FALSE FLaC__HAS_AS__TEMPORARILY_DISABLED_TRUE FLaC__HAS_AS__TEMPORARILY_DISABLED_FALSE FLaC__HAS_GAS__TEMPORARILY_DISABLED_TRUE FLaC__HAS_GAS__TEMPORARILY_DISABLED_FALSE LIBOBJS LTLIBOBJS'
 
14799
 ac_subst_files=''
 
14800
 
 
14801
 # Initialize some variables set by options.
 
14802
@@ -929,14 +924,6 @@
 
14803
 ac_env_CPP_value=$CPP
 
14804
 ac_cv_env_CPP_set=${CPP+set}
 
14805
 ac_cv_env_CPP_value=$CPP
 
14806
-ac_env_CCAS_set=${CCAS+set}
 
14807
-ac_env_CCAS_value=$CCAS
 
14808
-ac_cv_env_CCAS_set=${CCAS+set}
 
14809
-ac_cv_env_CCAS_value=$CCAS
 
14810
-ac_env_CCASFLAGS_set=${CCASFLAGS+set}
 
14811
-ac_env_CCASFLAGS_value=$CCASFLAGS
 
14812
-ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
 
14813
-ac_cv_env_CCASFLAGS_value=$CCASFLAGS
 
14814
 ac_env_CXX_set=${CXX+set}
 
14815
 ac_env_CXX_value=$CXX
 
14816
 ac_cv_env_CXX_set=${CXX+set}
 
14817
@@ -945,6 +932,26 @@
 
14818
 ac_env_CXXFLAGS_value=$CXXFLAGS
 
14819
 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
 
14820
 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
 
14821
+ac_env_CXXCPP_set=${CXXCPP+set}
 
14822
+ac_env_CXXCPP_value=$CXXCPP
 
14823
+ac_cv_env_CXXCPP_set=${CXXCPP+set}
 
14824
+ac_cv_env_CXXCPP_value=$CXXCPP
 
14825
+ac_env_F77_set=${F77+set}
 
14826
+ac_env_F77_value=$F77
 
14827
+ac_cv_env_F77_set=${F77+set}
 
14828
+ac_cv_env_F77_value=$F77
 
14829
+ac_env_FFLAGS_set=${FFLAGS+set}
 
14830
+ac_env_FFLAGS_value=$FFLAGS
 
14831
+ac_cv_env_FFLAGS_set=${FFLAGS+set}
 
14832
+ac_cv_env_FFLAGS_value=$FFLAGS
 
14833
+ac_env_CCAS_set=${CCAS+set}
 
14834
+ac_env_CCAS_value=$CCAS
 
14835
+ac_cv_env_CCAS_set=${CCAS+set}
 
14836
+ac_cv_env_CCAS_value=$CCAS
 
14837
+ac_env_CCASFLAGS_set=${CCASFLAGS+set}
 
14838
+ac_env_CCASFLAGS_value=$CCASFLAGS
 
14839
+ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
 
14840
+ac_cv_env_CCASFLAGS_value=$CCASFLAGS
 
14841
 
 
14842
 #
 
14843
 # Report the --help message.
 
14844
@@ -1026,9 +1033,12 @@
 
14845
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
14846
   --enable-maintainer-mode  enable make rules and dependencies not useful
 
14847
                          (and sometimes confusing) to the casual installer
 
14848
-  --enable-shared=PKGS  build shared libraries default=yes
 
14849
-  --enable-static=PKGS  build static libraries default=yes
 
14850
-  --enable-fast-install=PKGS  optimize for fast installation default=yes
 
14851
+  --enable-shared[=PKGS]
 
14852
+                          build shared libraries [default=yes]
 
14853
+  --enable-static[=PKGS]
 
14854
+                          build static libraries [default=yes]
 
14855
+  --enable-fast-install[=PKGS]
 
14856
+                          optimize for fast installation [default=yes]
 
14857
   --disable-dependency-tracking  speeds up one-time build
 
14858
   --enable-dependency-tracking   do not reject slow dependency extractors
 
14859
   --disable-libtool-lock  avoid locking (might break parallel builds)
 
14860
@@ -1046,14 +1056,18 @@
 
14861
 Optional Packages:
 
14862
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
14863
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
14864
-  --with-gnu-ld           assume the C compiler uses GNU ld default=no
 
14865
-  --with-pic              try to use only PIC/non-PIC objects default=use both
 
14866
+  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
14867
+  --with-pic              try to use only PIC/non-PIC objects [default=use
 
14868
+                          both]
 
14869
+  --with-tags[=TAGS]
 
14870
+                          include additional configurations [automatic]
 
14871
   --with-ogg=PFX   Prefix where libogg is installed (optional)
 
14872
   --with-ogg-libraries=DIR   Directory where libogg library is installed (optional)
 
14873
   --with-ogg-includes=DIR   Directory where libogg header files are installed (optional)
 
14874
   --with-xmms-prefix=PFX  Prefix where XMMS is installed (optional)
 
14875
   --with-xmms-exec-prefix=PFX Exec prefix where XMMS is installed (optional)
 
14876
-  --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
 
14877
+  --with-gnu-ld           assume the C compiler uses GNU ld default=no
 
14878
+  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
 
14879
   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
 
14880
 
 
14881
 Some influential environment variables:
 
14882
@@ -1064,10 +1078,13 @@
 
14883
   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
 
14884
               headers in a nonstandard directory <include dir>
 
14885
   CPP         C preprocessor
 
14886
-  CCAS        assembler compiler command (defaults to CC)
 
14887
-  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
 
14888
   CXX         C++ compiler command
 
14889
   CXXFLAGS    C++ compiler flags
 
14890
+  CXXCPP      C++ preprocessor
 
14891
+  F77         Fortran 77 compiler command
 
14892
+  FFLAGS      Fortran 77 compiler flags
 
14893
+  CCAS        assembler compiler command (defaults to CC)
 
14894
+  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
 
14895
 
 
14896
 Use these variables to override the choices made by `configure' or to help
 
14897
 it to find libraries and programs with nonstandard names/locations.
 
14898
@@ -1160,7 +1177,7 @@
 
14899
     else
 
14900
       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
14901
     fi
 
14902
-    cd $ac_popdir
 
14903
+    cd "$ac_popdir"
 
14904
   done
 
14905
 fi
 
14906
 
 
14907
@@ -1967,68 +1984,74 @@
 
14908
 if test "${enable_shared+set}" = set; then
 
14909
   enableval="$enable_shared"
 
14910
   p=${PACKAGE-default}
 
14911
-case $enableval in
 
14912
-yes) enable_shared=yes ;;
 
14913
-no) enable_shared=no ;;
 
14914
-*)
 
14915
-  enable_shared=no
 
14916
-  # Look at the argument we got.  We use all the common list separators.
 
14917
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
 
14918
-  for pkg in $enableval; do
 
14919
-    if test "X$pkg" = "X$p"; then
 
14920
-      enable_shared=yes
 
14921
-    fi
 
14922
-  done
 
14923
-  IFS="$ac_save_ifs"
 
14924
-  ;;
 
14925
-esac
 
14926
+    case $enableval in
 
14927
+    yes) enable_shared=yes ;;
 
14928
+    no) enable_shared=no ;;
 
14929
+    *)
 
14930
+      enable_shared=no
 
14931
+      # Look at the argument we got.  We use all the common list separators.
 
14932
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
14933
+      for pkg in $enableval; do
 
14934
+       IFS="$lt_save_ifs"
 
14935
+       if test "X$pkg" = "X$p"; then
 
14936
+         enable_shared=yes
 
14937
+       fi
 
14938
+      done
 
14939
+      IFS="$lt_save_ifs"
 
14940
+      ;;
 
14941
+    esac
 
14942
 else
 
14943
   enable_shared=yes
 
14944
 fi;
 
14945
+
 
14946
 # Check whether --enable-static or --disable-static was given.
 
14947
 if test "${enable_static+set}" = set; then
 
14948
   enableval="$enable_static"
 
14949
   p=${PACKAGE-default}
 
14950
-case $enableval in
 
14951
-yes) enable_static=yes ;;
 
14952
-no) enable_static=no ;;
 
14953
-*)
 
14954
-  enable_static=no
 
14955
-  # Look at the argument we got.  We use all the common list separators.
 
14956
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
 
14957
-  for pkg in $enableval; do
 
14958
-    if test "X$pkg" = "X$p"; then
 
14959
-      enable_static=yes
 
14960
-    fi
 
14961
-  done
 
14962
-  IFS="$ac_save_ifs"
 
14963
-  ;;
 
14964
-esac
 
14965
+    case $enableval in
 
14966
+    yes) enable_static=yes ;;
 
14967
+    no) enable_static=no ;;
 
14968
+    *)
 
14969
+     enable_static=no
 
14970
+      # Look at the argument we got.  We use all the common list separators.
 
14971
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
14972
+      for pkg in $enableval; do
 
14973
+       IFS="$lt_save_ifs"
 
14974
+       if test "X$pkg" = "X$p"; then
 
14975
+         enable_static=yes
 
14976
+       fi
 
14977
+      done
 
14978
+      IFS="$lt_save_ifs"
 
14979
+      ;;
 
14980
+    esac
 
14981
 else
 
14982
   enable_static=yes
 
14983
 fi;
 
14984
+
 
14985
 # Check whether --enable-fast-install or --disable-fast-install was given.
 
14986
 if test "${enable_fast_install+set}" = set; then
 
14987
   enableval="$enable_fast_install"
 
14988
   p=${PACKAGE-default}
 
14989
-case $enableval in
 
14990
-yes) enable_fast_install=yes ;;
 
14991
-no) enable_fast_install=no ;;
 
14992
-*)
 
14993
-  enable_fast_install=no
 
14994
-  # Look at the argument we got.  We use all the common list separators.
 
14995
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
 
14996
-  for pkg in $enableval; do
 
14997
-    if test "X$pkg" = "X$p"; then
 
14998
-      enable_fast_install=yes
 
14999
-    fi
 
15000
-  done
 
15001
-  IFS="$ac_save_ifs"
 
15002
-  ;;
 
15003
-esac
 
15004
+    case $enableval in
 
15005
+    yes) enable_fast_install=yes ;;
 
15006
+    no) enable_fast_install=no ;;
 
15007
+    *)
 
15008
+      enable_fast_install=no
 
15009
+      # Look at the argument we got.  We use all the common list separators.
 
15010
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
15011
+      for pkg in $enableval; do
 
15012
+       IFS="$lt_save_ifs"
 
15013
+       if test "X$pkg" = "X$p"; then
 
15014
+         enable_fast_install=yes
 
15015
+       fi
 
15016
+      done
 
15017
+      IFS="$lt_save_ifs"
 
15018
+      ;;
 
15019
+    esac
 
15020
 else
 
15021
   enable_fast_install=yes
 
15022
 fi;
 
15023
+
 
15024
 # Make sure we can run config.sub.
 
15025
 $ac_config_sub sun4 >/dev/null 2>&1 ||
 
15026
   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
 
15027
@@ -2716,8 +2739,7 @@
 
15028
   cat conftest.err >&5
 
15029
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15030
   (exit $ac_status); } &&
 
15031
-        { ac_try='test -z "$ac_c_werror_flag"
 
15032
-                        || test ! -s conftest.err'
 
15033
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
15034
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15035
   (eval $ac_try) 2>&5
 
15036
   ac_status=$?
 
15037
@@ -2775,8 +2797,7 @@
 
15038
   cat conftest.err >&5
 
15039
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15040
   (exit $ac_status); } &&
 
15041
-        { ac_try='test -z "$ac_c_werror_flag"
 
15042
-                        || test ! -s conftest.err'
 
15043
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
15044
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15045
   (eval $ac_try) 2>&5
 
15046
   ac_status=$?
 
15047
@@ -2892,8 +2913,7 @@
 
15048
   cat conftest.err >&5
 
15049
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15050
   (exit $ac_status); } &&
 
15051
-        { ac_try='test -z "$ac_c_werror_flag"
 
15052
-                        || test ! -s conftest.err'
 
15053
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
15054
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15055
   (eval $ac_try) 2>&5
 
15056
   ac_status=$?
 
15057
@@ -2947,8 +2967,7 @@
 
15058
   cat conftest.err >&5
 
15059
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15060
   (exit $ac_status); } &&
 
15061
-        { ac_try='test -z "$ac_c_werror_flag"
 
15062
-                        || test ! -s conftest.err'
 
15063
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
15064
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15065
   (eval $ac_try) 2>&5
 
15066
   ac_status=$?
 
15067
@@ -2993,8 +3012,7 @@
 
15068
   cat conftest.err >&5
 
15069
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15070
   (exit $ac_status); } &&
 
15071
-        { ac_try='test -z "$ac_c_werror_flag"
 
15072
-                        || test ! -s conftest.err'
 
15073
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
15074
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15075
   (eval $ac_try) 2>&5
 
15076
   ac_status=$?
 
15077
@@ -3038,8 +3056,7 @@
 
15078
   cat conftest.err >&5
 
15079
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15080
   (exit $ac_status); } &&
 
15081
-        { ac_try='test -z "$ac_c_werror_flag"
 
15082
-                        || test ! -s conftest.err'
 
15083
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
15084
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15085
   (eval $ac_try) 2>&5
 
15086
   ac_status=$?
 
15087
@@ -3187,16 +3204,77 @@
 
15088
 fi
 
15089
 
 
15090
 
 
15091
-# Find the correct PATH separator.  Usually this is `:', but
 
15092
-# DJGPP uses `;' like DOS.
 
15093
-if test "X${PATH_SEPARATOR+set}" != Xset; then
 
15094
-  UNAME=${UNAME-`uname 2>/dev/null`}
 
15095
-  case X$UNAME in
 
15096
-    *-DOS) lt_cv_sys_path_separator=';' ;;
 
15097
-    *)     lt_cv_sys_path_separator=':' ;;
 
15098
-  esac
 
15099
-  PATH_SEPARATOR=$lt_cv_sys_path_separator
 
15100
+echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
15101
+echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
15102
+if test "${lt_cv_path_SED+set}" = set; then
 
15103
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15104
+else
 
15105
+  # Loop through the user's path and test for sed and gsed.
 
15106
+# Then use that list of sed's as ones to test for truncation.
 
15107
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15108
+for as_dir in $PATH
 
15109
+do
 
15110
+  IFS=$as_save_IFS
 
15111
+  test -z "$as_dir" && as_dir=.
 
15112
+  for lt_ac_prog in sed gsed; do
 
15113
+    for ac_exec_ext in '' $ac_executable_extensions; do
 
15114
+      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
15115
+        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
 
15116
+      fi
 
15117
+    done
 
15118
+  done
 
15119
+done
 
15120
+lt_ac_max=0
 
15121
+lt_ac_count=0
 
15122
+# Add /usr/xpg4/bin/sed as it is typically found on Solaris
 
15123
+# along with /bin/sed that truncates output.
 
15124
+for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
 
15125
+  test ! -f $lt_ac_sed && break
 
15126
+  cat /dev/null > conftest.in
 
15127
+  lt_ac_count=0
 
15128
+  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
 
15129
+  # Check for GNU sed and select it if it is found.
 
15130
+  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
 
15131
+    lt_cv_path_SED=$lt_ac_sed
 
15132
+    break
 
15133
+  fi
 
15134
+  while true; do
 
15135
+    cat conftest.in conftest.in >conftest.tmp
 
15136
+    mv conftest.tmp conftest.in
 
15137
+    cp conftest.in conftest.nl
 
15138
+    echo >>conftest.nl
 
15139
+    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
 
15140
+    cmp -s conftest.out conftest.nl || break
 
15141
+    # 10000 chars as input seems more than enough
 
15142
+    test $lt_ac_count -gt 10 && break
 
15143
+    lt_ac_count=`expr $lt_ac_count + 1`
 
15144
+    if test $lt_ac_count -gt $lt_ac_max; then
 
15145
+      lt_ac_max=$lt_ac_count
 
15146
+      lt_cv_path_SED=$lt_ac_sed
 
15147
+    fi
 
15148
+  done
 
15149
+done
 
15150
+SED=$lt_cv_path_SED
 
15151
+
 
15152
+fi
 
15153
+
 
15154
+echo "$as_me:$LINENO: result: $SED" >&5
 
15155
+echo "${ECHO_T}$SED" >&6
 
15156
+
 
15157
+echo "$as_me:$LINENO: checking for egrep" >&5
 
15158
+echo $ECHO_N "checking for egrep... $ECHO_C" >&6
 
15159
+if test "${ac_cv_prog_egrep+set}" = set; then
 
15160
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15161
+else
 
15162
+  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 
15163
+    then ac_cv_prog_egrep='grep -E'
 
15164
+    else ac_cv_prog_egrep='egrep'
 
15165
+    fi
 
15166
 fi
 
15167
+echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
 
15168
+echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 
15169
+ EGREP=$ac_cv_prog_egrep
 
15170
+
 
15171
 
 
15172
 
 
15173
 # Check whether --with-gnu-ld or --without-gnu-ld was given.
 
15174
@@ -3209,8 +3287,8 @@
 
15175
 ac_prog=ld
 
15176
 if test "$GCC" = yes; then
 
15177
   # Check if gcc -print-prog-name=ld gives a path.
 
15178
-  echo "$as_me:$LINENO: checking for ld used by GCC" >&5
 
15179
-echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
 
15180
+  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
15181
+echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
15182
   case $host in
 
15183
   *-*-mingw*)
 
15184
     # gcc leaves a trailing carriage return which upsets mingw
 
15185
@@ -3220,12 +3298,12 @@
 
15186
   esac
 
15187
   case $ac_prog in
 
15188
     # Accept absolute paths.
 
15189
-    [\\/]* | [A-Za-z]:[\\/]*)
 
15190
+    [\\/]* | ?:[\\/]*)
 
15191
       re_direlt='/[^/][^/]*/\.\./'
 
15192
-      # Canonicalize the path of ld
 
15193
-      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
 
15194
+      # Canonicalize the pathname of ld
 
15195
+      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
 
15196
       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 
15197
-       ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
 
15198
+       ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
15199
       done
 
15200
       test -z "$LD" && LD="$ac_prog"
 
15201
       ;;
 
15202
@@ -3249,22 +3327,26 @@
 
15203
   echo $ECHO_N "(cached) $ECHO_C" >&6
 
15204
 else
 
15205
   if test -z "$LD"; then
 
15206
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
15207
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
15208
   for ac_dir in $PATH; do
 
15209
+    IFS="$lt_save_ifs"
 
15210
     test -z "$ac_dir" && ac_dir=.
 
15211
     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
15212
       lt_cv_path_LD="$ac_dir/$ac_prog"
 
15213
       # Check to see if the program is GNU ld.  I'd rather use --version,
 
15214
       # but apparently some GNU ld's only accept -v.
 
15215
       # Break only if it was the GNU/non-GNU ld that we prefer.
 
15216
-      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
 
15217
+      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
15218
+      *GNU* | *'with BFD'*)
 
15219
        test "$with_gnu_ld" != no && break
 
15220
-      else
 
15221
+       ;;
 
15222
+      *)
 
15223
        test "$with_gnu_ld" != yes && break
 
15224
-      fi
 
15225
+       ;;
 
15226
+      esac
 
15227
     fi
 
15228
   done
 
15229
-  IFS="$ac_save_ifs"
 
15230
+  IFS="$lt_save_ifs"
 
15231
 else
 
15232
   lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
15233
 fi
 
15234
@@ -3287,11 +3369,14 @@
 
15235
   echo $ECHO_N "(cached) $ECHO_C" >&6
 
15236
 else
 
15237
   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
15238
-if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
 
15239
+case `$LD -v 2>&1 </dev/null` in
 
15240
+*GNU* | *'with BFD'*)
 
15241
   lt_cv_prog_gnu_ld=yes
 
15242
-else
 
15243
+  ;;
 
15244
+*)
 
15245
   lt_cv_prog_gnu_ld=no
 
15246
-fi
 
15247
+  ;;
 
15248
+esac
 
15249
 fi
 
15250
 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
15251
 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
15252
@@ -3308,7 +3393,11 @@
 
15253
 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
15254
 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
15255
 reload_flag=$lt_cv_ld_reload_flag
 
15256
-test -n "$reload_flag" && reload_flag=" $reload_flag"
 
15257
+case $reload_flag in
 
15258
+"" | " "*) ;;
 
15259
+*) reload_flag=" $reload_flag" ;;
 
15260
+esac
 
15261
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
15262
 
 
15263
 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
15264
 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
15265
@@ -3319,35 +3408,42 @@
 
15266
   # Let the user override the test.
 
15267
   lt_cv_path_NM="$NM"
 
15268
 else
 
15269
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
15270
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
15271
   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
 
15272
+    IFS="$lt_save_ifs"
 
15273
     test -z "$ac_dir" && ac_dir=.
 
15274
-    tmp_nm=$ac_dir/${ac_tool_prefix}nm
 
15275
-    if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
 
15276
+    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
 
15277
+    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
15278
       # Check to see if the nm accepts a BSD-compat flag.
 
15279
       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
15280
       #   nm: unknown option "B" ignored
 
15281
       # Tru64's nm complains that /dev/null is an invalid object file
 
15282
-      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
 
15283
+      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
15284
+      */dev/null* | *'Invalid file or object type'*)
 
15285
        lt_cv_path_NM="$tmp_nm -B"
 
15286
        break
 
15287
-      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
 
15288
-       lt_cv_path_NM="$tmp_nm -p"
 
15289
-       break
 
15290
-      else
 
15291
-       lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
15292
-       continue # so that we can try to find one that supports BSD flags
 
15293
-      fi
 
15294
+        ;;
 
15295
+      *)
 
15296
+       case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
15297
+       */dev/null*)
 
15298
+         lt_cv_path_NM="$tmp_nm -p"
 
15299
+         break
 
15300
+         ;;
 
15301
+       *)
 
15302
+         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
15303
+         continue # so that we can try to find one that supports BSD flags
 
15304
+         ;;
 
15305
+       esac
 
15306
+      esac
 
15307
     fi
 
15308
   done
 
15309
-  IFS="$ac_save_ifs"
 
15310
+  IFS="$lt_save_ifs"
 
15311
   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 
15312
 fi
 
15313
 fi
 
15314
-
 
15315
+echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
15316
+echo "${ECHO_T}$lt_cv_path_NM" >&6
 
15317
 NM="$lt_cv_path_NM"
 
15318
-echo "$as_me:$LINENO: result: $NM" >&5
 
15319
-echo "${ECHO_T}$NM" >&6
 
15320
 
 
15321
 echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
15322
 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
15323
@@ -3360,8 +3456,8 @@
 
15324
 echo "${ECHO_T}no, using $LN_S" >&6
 
15325
 fi
 
15326
 
 
15327
-echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
 
15328
-echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
 
15329
+echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 
15330
+echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
15331
 if test "${lt_cv_deplibs_check_method+set}" = set; then
 
15332
   echo $ECHO_N "(cached) $ECHO_C" >&6
 
15333
 else
 
15334
@@ -3375,7 +3471,7 @@
 
15335
 # 'pass_all' -- all dependencies passed with no checks.
 
15336
 # 'test_compile' -- check by making test program.
 
15337
 # 'file_magic [[regex]]' -- check by looking for files in library path
 
15338
-# which responds to the $file_magic_cmd with a given egrep regex.
 
15339
+# which responds to the $file_magic_cmd with a given extended regex.
 
15340
 # If you have `file' or equivalent on your system and you're not sure
 
15341
 # whether `pass_all' will *always* work, you probably want this one.
 
15342
 
 
15343
@@ -3394,25 +3490,24 @@
 
15344
   lt_cv_file_magic_test_file=/shlib/libc.so
 
15345
   ;;
 
15346
 
 
15347
-cygwin* | mingw* | pw32*)
 
15348
+cygwin*)
 
15349
+  # func_win32_libid is a shell function defined in ltmain.sh
 
15350
+  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
15351
+  lt_cv_file_magic_cmd='func_win32_libid'
 
15352
+  ;;
 
15353
+
 
15354
+mingw* | pw32*)
 
15355
+  # Base MSYS/MinGW do not provide the 'file' command needed by
 
15356
+  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
 
15357
   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
15358
   lt_cv_file_magic_cmd='$OBJDUMP -f'
 
15359
   ;;
 
15360
 
 
15361
 darwin* | rhapsody*)
 
15362
-  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
 
15363
-  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
15364
-  case "$host_os" in
 
15365
-  rhapsody* | darwin1.[012])
 
15366
-    lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
 
15367
-    ;;
 
15368
-  *) # Darwin 1.3 on
 
15369
-    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
 
15370
-    ;;
 
15371
-  esac
 
15372
+  lt_cv_deplibs_check_method=pass_all
 
15373
   ;;
 
15374
 
 
15375
-freebsd*)
 
15376
+freebsd* | kfreebsd*-gnu)
 
15377
   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
15378
     case $host_cpu in
 
15379
     i*86 )
 
15380
@@ -3432,50 +3527,44 @@
 
15381
   lt_cv_deplibs_check_method=pass_all
 
15382
   ;;
 
15383
 
 
15384
-hpux10.20*|hpux11*)
 
15385
-  lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
15386
+hpux10.20* | hpux11*)
 
15387
   lt_cv_file_magic_cmd=/usr/bin/file
 
15388
-  lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
15389
-  ;;
 
15390
-
 
15391
-irix5* | irix6*)
 
15392
-  case $host_os in
 
15393
-  irix5*)
 
15394
-    # this will be overridden with pass_all, but let us keep it just in case
 
15395
-    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
 
15396
+  case "$host_cpu" in
 
15397
+  ia64*)
 
15398
+    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
15399
+    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
15400
+    ;;
 
15401
+  hppa*64*)
 
15402
+    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]'
 
15403
+    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
15404
     ;;
 
15405
   *)
 
15406
-    case $LD in
 
15407
-    *-32|*"-32 ") libmagic=32-bit;;
 
15408
-    *-n32|*"-n32 ") libmagic=N32;;
 
15409
-    *-64|*"-64 ") libmagic=64-bit;;
 
15410
-    *) libmagic=never-match;;
 
15411
-    esac
 
15412
-    # this will be overridden with pass_all, but let us keep it just in case
 
15413
-    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
 
15414
+    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
15415
+    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
15416
     ;;
 
15417
   esac
 
15418
-  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
 
15419
+  ;;
 
15420
+
 
15421
+irix5* | irix6* | nonstopux*)
 
15422
+  case $LD in
 
15423
+  *-32|*"-32 ") libmagic=32-bit;;
 
15424
+  *-n32|*"-n32 ") libmagic=N32;;
 
15425
+  *-64|*"-64 ") libmagic=64-bit;;
 
15426
+  *) libmagic=never-match;;
 
15427
+  esac
 
15428
   lt_cv_deplibs_check_method=pass_all
 
15429
   ;;
 
15430
 
 
15431
 # This must be Linux ELF.
 
15432
-linux-gnu*)
 
15433
-  case $host_cpu in
 
15434
-  alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* )
 
15435
-    lt_cv_deplibs_check_method=pass_all ;;
 
15436
-  *)
 
15437
-    # glibc up to 2.1.1 does not perform some relocations on ARM
 
15438
-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
 
15439
-  esac
 
15440
-  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
 
15441
+linux*)
 
15442
+  lt_cv_deplibs_check_method=pass_all
 
15443
   ;;
 
15444
 
 
15445
-netbsd*)
 
15446
+netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
15447
   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
15448
-    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
 
15449
+    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
15450
   else
 
15451
-    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
 
15452
+    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
15453
   fi
 
15454
   ;;
 
15455
 
 
15456
@@ -3485,6 +3574,10 @@
 
15457
   lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
15458
   ;;
 
15459
 
 
15460
+nto-qnx*)
 
15461
+  lt_cv_deplibs_check_method=unknown
 
15462
+  ;;
 
15463
+
 
15464
 openbsd*)
 
15465
   lt_cv_file_magic_cmd=/usr/bin/file
 
15466
   lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
15467
@@ -3496,9 +3589,6 @@
 
15468
   ;;
 
15469
 
 
15470
 osf3* | osf4* | osf5*)
 
15471
-  # this will be overridden with pass_all, but let us keep it just in case
 
15472
-  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
 
15473
-  lt_cv_file_magic_test_file=/shlib/libc.so
 
15474
   lt_cv_deplibs_check_method=pass_all
 
15475
   ;;
 
15476
 
 
15477
@@ -3508,11 +3598,6 @@
 
15478
 
 
15479
 solaris*)
 
15480
   lt_cv_deplibs_check_method=pass_all
 
15481
-  lt_cv_file_magic_test_file=/lib/libc.so
 
15482
-  ;;
 
15483
-
 
15484
-sysv5uw[78]* | sysv4*uw2*)
 
15485
-  lt_cv_deplibs_check_method=pass_all
 
15486
   ;;
 
15487
 
 
15488
 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
15489
@@ -3533,8 +3618,15 @@
 
15490
     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
15491
     lt_cv_file_magic_test_file=/lib/libc.so
 
15492
     ;;
 
15493
+  siemens)
 
15494
+    lt_cv_deplibs_check_method=pass_all
 
15495
+    ;;
 
15496
   esac
 
15497
   ;;
 
15498
+
 
15499
+sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
 
15500
+  lt_cv_deplibs_check_method=pass_all
 
15501
+  ;;
 
15502
 esac
 
15503
 
 
15504
 fi
 
15505
@@ -3542,208 +3634,209 @@
 
15506
 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
15507
 file_magic_cmd=$lt_cv_file_magic_cmd
 
15508
 deplibs_check_method=$lt_cv_deplibs_check_method
 
15509
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
15510
 
 
15511
 
 
15512
 
 
15513
 
 
15514
+# If no C compiler was specified, use CC.
 
15515
+LTCC=${LTCC-"$CC"}
 
15516
 
 
15517
+# Allow CC to be a program name with arguments.
 
15518
+compiler=$CC
 
15519
 
 
15520
 
 
15521
+# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
15522
+if test "${enable_libtool_lock+set}" = set; then
 
15523
+  enableval="$enable_libtool_lock"
 
15524
 
 
15525
-# Check for command to grab the raw symbol name followed by C symbol from nm.
 
15526
-echo "$as_me:$LINENO: checking command to parse $NM output" >&5
 
15527
-echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
 
15528
-if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
15529
-  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15530
-else
 
15531
-
 
15532
-# These are sane defaults that work on at least a few old systems.
 
15533
-# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
15534
-
 
15535
-# Character class describing NM global symbol codes.
 
15536
-symcode='[BCDEGRST]'
 
15537
-
 
15538
-# Regexp to match symbols that can be accessed directly from C.
 
15539
-sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
15540
-
 
15541
-# Transform the above into a raw symbol and a C symbol.
 
15542
-symxfrm='\1 \2\3 \3'
 
15543
-
 
15544
-# Transform an extracted symbol line into a proper C declaration
 
15545
-lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
 
15546
-
 
15547
-# Transform an extracted symbol line into symbol name and symbol address
 
15548
-lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
 
15549
-
 
15550
-# Define system-specific variables.
 
15551
-case $host_os in
 
15552
-aix*)
 
15553
-  symcode='[BCDT]'
 
15554
-  ;;
 
15555
-cygwin* | mingw* | pw32*)
 
15556
-  symcode='[ABCDGISTW]'
 
15557
-  ;;
 
15558
-hpux*) # Its linker distinguishes data from code symbols
 
15559
-  lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
15560
-  lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
 
15561
-  ;;
 
15562
-irix*)
 
15563
-  symcode='[BCDEGRST]'
 
15564
-  ;;
 
15565
-solaris* | sysv5*)
 
15566
-  symcode='[BDT]'
 
15567
-  ;;
 
15568
-sysv4)
 
15569
-  symcode='[DFNSTU]'
 
15570
-  ;;
 
15571
-esac
 
15572
+fi;
 
15573
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
15574
 
 
15575
-# Handle CRLF in mingw tool chain
 
15576
-opt_cr=
 
15577
-case $host_os in
 
15578
-mingw*)
 
15579
-  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
15580
+# Some flags need to be propagated to the compiler or linker for good
 
15581
+# libtool support.
 
15582
+case $host in
 
15583
+ia64-*-hpux*)
 
15584
+  # Find out which ABI we are using.
 
15585
+  echo 'int i;' > conftest.$ac_ext
 
15586
+  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
15587
+  (eval $ac_compile) 2>&5
 
15588
+  ac_status=$?
 
15589
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15590
+  (exit $ac_status); }; then
 
15591
+    case `/usr/bin/file conftest.$ac_objext` in
 
15592
+    *ELF-32*)
 
15593
+      HPUX_IA64_MODE="32"
 
15594
+      ;;
 
15595
+    *ELF-64*)
 
15596
+      HPUX_IA64_MODE="64"
 
15597
+      ;;
 
15598
+    esac
 
15599
+  fi
 
15600
+  rm -rf conftest*
 
15601
   ;;
 
15602
-esac
 
15603
-
 
15604
-# If we're using GNU nm, then use its standard symbol codes.
 
15605
-if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
 
15606
-  symcode='[ABCDGISTW]'
 
15607
-fi
 
15608
-
 
15609
-# Try without a prefix undercore, then with it.
 
15610
-for ac_symprfx in "" "_"; do
 
15611
-
 
15612
-  # Write the raw and C identifiers.
 
15613
-lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[        ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
 
15614
-
 
15615
-  # Check to see that the pipe works correctly.
 
15616
-  pipe_works=no
 
15617
-  rm -f conftest*
 
15618
-  cat > conftest.$ac_ext <<EOF
 
15619
-#ifdef __cplusplus
 
15620
-extern "C" {
 
15621
-#endif
 
15622
-char nm_test_var;
 
15623
-void nm_test_func(){}
 
15624
-#ifdef __cplusplus
 
15625
-}
 
15626
-#endif
 
15627
-int main(){nm_test_var='a';nm_test_func();return(0);}
 
15628
-EOF
 
15629
-
 
15630
+*-*-irix6*)
 
15631
+  # Find out which ABI we are using.
 
15632
+  echo '#line 3680 "configure"' > conftest.$ac_ext
 
15633
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
15634
   (eval $ac_compile) 2>&5
 
15635
   ac_status=$?
 
15636
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15637
   (exit $ac_status); }; then
 
15638
-    # Now try to grab the symbols.
 
15639
-    nlist=conftest.nm
 
15640
-    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
15641
-  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
15642
+   if test "$lt_cv_prog_gnu_ld" = yes; then
 
15643
+    case `/usr/bin/file conftest.$ac_objext` in
 
15644
+    *32-bit*)
 
15645
+      LD="${LD-ld} -melf32bsmip"
 
15646
+      ;;
 
15647
+    *N32*)
 
15648
+      LD="${LD-ld} -melf32bmipn32"
 
15649
+      ;;
 
15650
+    *64-bit*)
 
15651
+      LD="${LD-ld} -melf64bmip"
 
15652
+      ;;
 
15653
+    esac
 
15654
+   else
 
15655
+    case `/usr/bin/file conftest.$ac_objext` in
 
15656
+    *32-bit*)
 
15657
+      LD="${LD-ld} -32"
 
15658
+      ;;
 
15659
+    *N32*)
 
15660
+      LD="${LD-ld} -n32"
 
15661
+      ;;
 
15662
+    *64-bit*)
 
15663
+      LD="${LD-ld} -64"
 
15664
+      ;;
 
15665
+    esac
 
15666
+   fi
 
15667
+  fi
 
15668
+  rm -rf conftest*
 
15669
+  ;;
 
15670
+
 
15671
+x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 
15672
+  # Find out which ABI we are using.
 
15673
+  echo 'int i;' > conftest.$ac_ext
 
15674
+  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
15675
+  (eval $ac_compile) 2>&5
 
15676
   ac_status=$?
 
15677
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15678
-  (exit $ac_status); } && test -s "$nlist"; then
 
15679
-      # Try sorting and uniquifying the output.
 
15680
-      if sort "$nlist" | uniq > "$nlist"T; then
 
15681
-       mv -f "$nlist"T "$nlist"
 
15682
-      else
 
15683
-       rm -f "$nlist"T
 
15684
-      fi
 
15685
-
 
15686
-      # Make sure that we snagged all the symbols we need.
 
15687
-      if egrep ' nm_test_var$' "$nlist" >/dev/null; then
 
15688
-       if egrep ' nm_test_func$' "$nlist" >/dev/null; then
 
15689
-         cat <<EOF > conftest.$ac_ext
 
15690
-#ifdef __cplusplus
 
15691
-extern "C" {
 
15692
-#endif
 
15693
+  (exit $ac_status); }; then
 
15694
+    case "`/usr/bin/file conftest.o`" in
 
15695
+    *32-bit*)
 
15696
+      case $host in
 
15697
+        x86_64-*linux*)
 
15698
+          LD="${LD-ld} -m elf_i386"
 
15699
+          ;;
 
15700
+        ppc64-*linux*|powerpc64-*linux*)
 
15701
+          LD="${LD-ld} -m elf32ppclinux"
 
15702
+          ;;
 
15703
+        s390x-*linux*)
 
15704
+          LD="${LD-ld} -m elf_s390"
 
15705
+          ;;
 
15706
+        sparc64-*linux*)
 
15707
+          LD="${LD-ld} -m elf32_sparc"
 
15708
+          ;;
 
15709
+      esac
 
15710
+      ;;
 
15711
+    *64-bit*)
 
15712
+      case $host in
 
15713
+        x86_64-*linux*)
 
15714
+          LD="${LD-ld} -m elf_x86_64"
 
15715
+          ;;
 
15716
+        ppc*-*linux*|powerpc*-*linux*)
 
15717
+          LD="${LD-ld} -m elf64ppc"
 
15718
+          ;;
 
15719
+        s390*-*linux*)
 
15720
+          LD="${LD-ld} -m elf64_s390"
 
15721
+          ;;
 
15722
+        sparc*-*linux*)
 
15723
+          LD="${LD-ld} -m elf64_sparc"
 
15724
+          ;;
 
15725
+      esac
 
15726
+      ;;
 
15727
+    esac
 
15728
+  fi
 
15729
+  rm -rf conftest*
 
15730
+  ;;
 
15731
 
 
15732
-EOF
 
15733
-         # Now generate the symbol file.
 
15734
-         eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
 
15735
+*-*-sco3.2v5*)
 
15736
+  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
15737
+  SAVE_CFLAGS="$CFLAGS"
 
15738
+  CFLAGS="$CFLAGS -belf"
 
15739
+  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
15740
+echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
15741
+if test "${lt_cv_cc_needs_belf+set}" = set; then
 
15742
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15743
+else
 
15744
+  ac_ext=c
 
15745
+ac_cpp='$CPP $CPPFLAGS'
 
15746
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15747
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15748
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15749
 
 
15750
-         cat <<EOF >> conftest.$ac_ext
 
15751
-#if defined (__STDC__) && __STDC__
 
15752
-# define lt_ptr void *
 
15753
-#else
 
15754
-# define lt_ptr char *
 
15755
-# define const
 
15756
-#endif
 
15757
+     cat >conftest.$ac_ext <<_ACEOF
 
15758
+/* confdefs.h.  */
 
15759
+_ACEOF
 
15760
+cat confdefs.h >>conftest.$ac_ext
 
15761
+cat >>conftest.$ac_ext <<_ACEOF
 
15762
+/* end confdefs.h.  */
 
15763
 
 
15764
-/* The mapping between symbol names and symbols. */
 
15765
-const struct {
 
15766
-  const char *name;
 
15767
-  lt_ptr address;
 
15768
-}
 
15769
-lt_preloaded_symbols[] =
 
15770
+int
 
15771
+main ()
 
15772
 {
 
15773
-EOF
 
15774
-         sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
 
15775
-         cat <<\EOF >> conftest.$ac_ext
 
15776
-  {0, (lt_ptr) 0}
 
15777
-};
 
15778
 
 
15779
-#ifdef __cplusplus
 
15780
+  ;
 
15781
+  return 0;
 
15782
 }
 
15783
-#endif
 
15784
-EOF
 
15785
-         # Now try linking the two files.
 
15786
-         mv conftest.$ac_objext conftstm.$ac_objext
 
15787
-         save_LIBS="$LIBS"
 
15788
-         save_CFLAGS="$CFLAGS"
 
15789
-         LIBS="conftstm.$ac_objext"
 
15790
-         CFLAGS="$CFLAGS$no_builtin_flag"
 
15791
-         if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
15792
-  (eval $ac_link) 2>&5
 
15793
+_ACEOF
 
15794
+rm -f conftest.$ac_objext conftest$ac_exeext
 
15795
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
15796
+  (eval $ac_link) 2>conftest.er1
 
15797
   ac_status=$?
 
15798
+  grep -v '^ *+' conftest.er1 >conftest.err
 
15799
+  rm -f conftest.er1
 
15800
+  cat conftest.err >&5
 
15801
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15802
-  (exit $ac_status); } && test -s conftest; then
 
15803
-           pipe_works=yes
 
15804
-         fi
 
15805
-         LIBS="$save_LIBS"
 
15806
-         CFLAGS="$save_CFLAGS"
 
15807
-       else
 
15808
-         echo "cannot find nm_test_func in $nlist" >&5
 
15809
-       fi
 
15810
-      else
 
15811
-       echo "cannot find nm_test_var in $nlist" >&5
 
15812
-      fi
 
15813
-    else
 
15814
-      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
15815
-    fi
 
15816
-  else
 
15817
-    echo "$progname: failed program was:" >&5
 
15818
-    cat conftest.$ac_ext >&5
 
15819
-  fi
 
15820
-  rm -f conftest* conftst*
 
15821
-
 
15822
-  # Do not use the global_symbol_pipe unless it works.
 
15823
-  if test "$pipe_works" = yes; then
 
15824
-    break
 
15825
-  else
 
15826
-    lt_cv_sys_global_symbol_pipe=
 
15827
-  fi
 
15828
-done
 
15829
+  (exit $ac_status); } &&
 
15830
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
15831
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15832
+  (eval $ac_try) 2>&5
 
15833
+  ac_status=$?
 
15834
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15835
+  (exit $ac_status); }; } &&
 
15836
+        { ac_try='test -s conftest$ac_exeext'
 
15837
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15838
+  (eval $ac_try) 2>&5
 
15839
+  ac_status=$?
 
15840
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15841
+  (exit $ac_status); }; }; then
 
15842
+  lt_cv_cc_needs_belf=yes
 
15843
+else
 
15844
+  echo "$as_me: failed program was:" >&5
 
15845
+sed 's/^/| /' conftest.$ac_ext >&5
 
15846
 
 
15847
+lt_cv_cc_needs_belf=no
 
15848
 fi
 
15849
+rm -f conftest.err conftest.$ac_objext \
 
15850
+      conftest$ac_exeext conftest.$ac_ext
 
15851
+     ac_ext=c
 
15852
+ac_cpp='$CPP $CPPFLAGS'
 
15853
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15854
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15855
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15856
 
 
15857
-global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
 
15858
-if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
15859
-  global_symbol_to_cdecl=
 
15860
-  global_symbol_to_c_name_address=
 
15861
-else
 
15862
-  global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
 
15863
-  global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
 
15864
-fi
 
15865
-if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
 
15866
-then
 
15867
-  echo "$as_me:$LINENO: result: failed" >&5
 
15868
-echo "${ECHO_T}failed" >&6
 
15869
-else
 
15870
-  echo "$as_me:$LINENO: result: ok" >&5
 
15871
-echo "${ECHO_T}ok" >&6
 
15872
 fi
 
15873
+echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
15874
+echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
15875
+  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
15876
+    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
15877
+    CFLAGS="$SAVE_CFLAGS"
 
15878
+  fi
 
15879
+  ;;
 
15880
+
 
15881
+esac
 
15882
+
 
15883
+need_locks="$enable_libtool_lock"
 
15884
+
 
15885
 
 
15886
 ac_ext=c
 
15887
 ac_cpp='$CPP $CPPFLAGS'
 
15888
@@ -3980,21 +4073,6 @@
 
15889
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15890
 
 
15891
 
 
15892
-echo "$as_me:$LINENO: checking for egrep" >&5
 
15893
-echo $ECHO_N "checking for egrep... $ECHO_C" >&6
 
15894
-if test "${ac_cv_prog_egrep+set}" = set; then
 
15895
-  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15896
-else
 
15897
-  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 
15898
-    then ac_cv_prog_egrep='grep -E'
 
15899
-    else ac_cv_prog_egrep='egrep'
 
15900
-    fi
 
15901
-fi
 
15902
-echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
 
15903
-echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 
15904
- EGREP=$ac_cv_prog_egrep
 
15905
-
 
15906
-
 
15907
 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
15908
 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
15909
 if test "${ac_cv_header_stdc+set}" = set; then
 
15910
@@ -4028,8 +4106,7 @@
 
15911
   cat conftest.err >&5
 
15912
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15913
   (exit $ac_status); } &&
 
15914
-        { ac_try='test -z "$ac_c_werror_flag"
 
15915
-                        || test ! -s conftest.err'
 
15916
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
15917
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15918
   (eval $ac_try) 2>&5
 
15919
   ac_status=$?
 
15920
@@ -4199,8 +4276,7 @@
 
15921
   cat conftest.err >&5
 
15922
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15923
   (exit $ac_status); } &&
 
15924
-        { ac_try='test -z "$ac_c_werror_flag"
 
15925
-                        || test ! -s conftest.err'
 
15926
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
15927
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15928
   (eval $ac_try) 2>&5
 
15929
   ac_status=$?
 
15930
@@ -4267,8 +4343,7 @@
 
15931
   cat conftest.err >&5
 
15932
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15933
   (exit $ac_status); } &&
 
15934
-        { ac_try='test -z "$ac_c_werror_flag"
 
15935
-                        || test ! -s conftest.err'
 
15936
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
15937
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15938
   (eval $ac_try) 2>&5
 
15939
   ac_status=$?
 
15940
@@ -4383,159 +4458,65 @@
 
15941
 
 
15942
 done
 
15943
 
 
15944
+ac_ext=cc
 
15945
+ac_cpp='$CXXCPP $CPPFLAGS'
 
15946
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15947
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15948
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
15949
+if test -n "$ac_tool_prefix"; then
 
15950
+  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
15951
+  do
 
15952
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
15953
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
15954
+echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15955
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
15956
+if test "${ac_cv_prog_CXX+set}" = set; then
 
15957
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15958
+else
 
15959
+  if test -n "$CXX"; then
 
15960
+  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
15961
+else
 
15962
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15963
+for as_dir in $PATH
 
15964
+do
 
15965
+  IFS=$as_save_IFS
 
15966
+  test -z "$as_dir" && as_dir=.
 
15967
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
15968
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
15969
+    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
15970
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15971
+    break 2
 
15972
+  fi
 
15973
+done
 
15974
+done
 
15975
 
 
15976
+fi
 
15977
+fi
 
15978
+CXX=$ac_cv_prog_CXX
 
15979
+if test -n "$CXX"; then
 
15980
+  echo "$as_me:$LINENO: result: $CXX" >&5
 
15981
+echo "${ECHO_T}$CXX" >&6
 
15982
+else
 
15983
+  echo "$as_me:$LINENO: result: no" >&5
 
15984
+echo "${ECHO_T}no" >&6
 
15985
+fi
 
15986
 
 
15987
-
 
15988
-
 
15989
-# Only perform the check for file, if the check method requires it
 
15990
-case $deplibs_check_method in
 
15991
-file_magic*)
 
15992
-  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
15993
-    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
15994
-echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
15995
-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
15996
+    test -n "$CXX" && break
 
15997
+  done
 
15998
+fi
 
15999
+if test -z "$CXX"; then
 
16000
+  ac_ct_CXX=$CXX
 
16001
+  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
16002
+do
 
16003
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
16004
+set dummy $ac_prog; ac_word=$2
 
16005
+echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16006
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
16007
+if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 
16008
   echo $ECHO_N "(cached) $ECHO_C" >&6
 
16009
 else
 
16010
-  case $MAGIC_CMD in
 
16011
-  /*)
 
16012
-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
16013
-  ;;
 
16014
-  ?:/*)
 
16015
-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
 
16016
-  ;;
 
16017
-  *)
 
16018
-  ac_save_MAGIC_CMD="$MAGIC_CMD"
 
16019
-  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
16020
-  ac_dummy="/usr/bin:$PATH"
 
16021
-  for ac_dir in $ac_dummy; do
 
16022
-    test -z "$ac_dir" && ac_dir=.
 
16023
-    if test -f $ac_dir/${ac_tool_prefix}file; then
 
16024
-      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
16025
-      if test -n "$file_magic_test_file"; then
 
16026
-       case $deplibs_check_method in
 
16027
-       "file_magic "*)
 
16028
-         file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
16029
-         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
16030
-         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
16031
-           egrep "$file_magic_regex" > /dev/null; then
 
16032
-           :
 
16033
-         else
 
16034
-           cat <<EOF 1>&2
 
16035
-
 
16036
-*** Warning: the command libtool uses to detect shared libraries,
 
16037
-*** $file_magic_cmd, produces output that libtool cannot recognize.
 
16038
-*** The result is that libtool may fail to recognize shared libraries
 
16039
-*** as such.  This will affect the creation of libtool libraries that
 
16040
-*** depend on shared libraries, but programs linked with such libtool
 
16041
-*** libraries will work regardless of this problem.  Nevertheless, you
 
16042
-*** may want to report the problem to your system manager and/or to
 
16043
-*** bug-libtool@gnu.org
 
16044
-
 
16045
-EOF
 
16046
-         fi ;;
 
16047
-       esac
 
16048
-      fi
 
16049
-      break
 
16050
-    fi
 
16051
-  done
 
16052
-  IFS="$ac_save_ifs"
 
16053
-  MAGIC_CMD="$ac_save_MAGIC_CMD"
 
16054
-  ;;
 
16055
-esac
 
16056
-fi
 
16057
-
 
16058
-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
16059
-if test -n "$MAGIC_CMD"; then
 
16060
-  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
16061
-echo "${ECHO_T}$MAGIC_CMD" >&6
 
16062
-else
 
16063
-  echo "$as_me:$LINENO: result: no" >&5
 
16064
-echo "${ECHO_T}no" >&6
 
16065
-fi
 
16066
-
 
16067
-if test -z "$lt_cv_path_MAGIC_CMD"; then
 
16068
-  if test -n "$ac_tool_prefix"; then
 
16069
-    echo "$as_me:$LINENO: checking for file" >&5
 
16070
-echo $ECHO_N "checking for file... $ECHO_C" >&6
 
16071
-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
16072
-  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16073
-else
 
16074
-  case $MAGIC_CMD in
 
16075
-  /*)
 
16076
-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
16077
-  ;;
 
16078
-  ?:/*)
 
16079
-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
 
16080
-  ;;
 
16081
-  *)
 
16082
-  ac_save_MAGIC_CMD="$MAGIC_CMD"
 
16083
-  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
16084
-  ac_dummy="/usr/bin:$PATH"
 
16085
-  for ac_dir in $ac_dummy; do
 
16086
-    test -z "$ac_dir" && ac_dir=.
 
16087
-    if test -f $ac_dir/file; then
 
16088
-      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
16089
-      if test -n "$file_magic_test_file"; then
 
16090
-       case $deplibs_check_method in
 
16091
-       "file_magic "*)
 
16092
-         file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
16093
-         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
16094
-         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
16095
-           egrep "$file_magic_regex" > /dev/null; then
 
16096
-           :
 
16097
-         else
 
16098
-           cat <<EOF 1>&2
 
16099
-
 
16100
-*** Warning: the command libtool uses to detect shared libraries,
 
16101
-*** $file_magic_cmd, produces output that libtool cannot recognize.
 
16102
-*** The result is that libtool may fail to recognize shared libraries
 
16103
-*** as such.  This will affect the creation of libtool libraries that
 
16104
-*** depend on shared libraries, but programs linked with such libtool
 
16105
-*** libraries will work regardless of this problem.  Nevertheless, you
 
16106
-*** may want to report the problem to your system manager and/or to
 
16107
-*** bug-libtool@gnu.org
 
16108
-
 
16109
-EOF
 
16110
-         fi ;;
 
16111
-       esac
 
16112
-      fi
 
16113
-      break
 
16114
-    fi
 
16115
-  done
 
16116
-  IFS="$ac_save_ifs"
 
16117
-  MAGIC_CMD="$ac_save_MAGIC_CMD"
 
16118
-  ;;
 
16119
-esac
 
16120
-fi
 
16121
-
 
16122
-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
16123
-if test -n "$MAGIC_CMD"; then
 
16124
-  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
16125
-echo "${ECHO_T}$MAGIC_CMD" >&6
 
16126
-else
 
16127
-  echo "$as_me:$LINENO: result: no" >&5
 
16128
-echo "${ECHO_T}no" >&6
 
16129
-fi
 
16130
-
 
16131
-  else
 
16132
-    MAGIC_CMD=:
 
16133
-  fi
 
16134
-fi
 
16135
-
 
16136
-  fi
 
16137
-  ;;
 
16138
-esac
 
16139
-
 
16140
-if test -n "$ac_tool_prefix"; then
 
16141
-  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
16142
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
16143
-echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16144
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
16145
-if test "${ac_cv_prog_RANLIB+set}" = set; then
 
16146
-  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16147
-else
 
16148
-  if test -n "$RANLIB"; then
 
16149
-  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
16150
+  if test -n "$ac_ct_CXX"; then
 
16151
+  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
16152
 else
 
16153
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16154
 for as_dir in $PATH
 
16155
@@ -4544,7 +4525,7 @@
 
16156
   test -z "$as_dir" && as_dir=.
 
16157
   for ac_exec_ext in '' $ac_executable_extensions; do
 
16158
   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
16159
-    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
16160
+    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
16161
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16162
     break 2
 
16163
   fi
 
16164
@@ -4553,194 +4534,110 @@
 
16165
 
 
16166
 fi
 
16167
 fi
 
16168
-RANLIB=$ac_cv_prog_RANLIB
 
16169
-if test -n "$RANLIB"; then
 
16170
-  echo "$as_me:$LINENO: result: $RANLIB" >&5
 
16171
-echo "${ECHO_T}$RANLIB" >&6
 
16172
+ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
16173
+if test -n "$ac_ct_CXX"; then
 
16174
+  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
16175
+echo "${ECHO_T}$ac_ct_CXX" >&6
 
16176
 else
 
16177
   echo "$as_me:$LINENO: result: no" >&5
 
16178
 echo "${ECHO_T}no" >&6
 
16179
 fi
 
16180
 
 
16181
-fi
 
16182
-if test -z "$ac_cv_prog_RANLIB"; then
 
16183
-  ac_ct_RANLIB=$RANLIB
 
16184
-  # Extract the first word of "ranlib", so it can be a program name with args.
 
16185
-set dummy ranlib; ac_word=$2
 
16186
-echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16187
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
16188
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
16189
-  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16190
-else
 
16191
-  if test -n "$ac_ct_RANLIB"; then
 
16192
-  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
16193
-else
 
16194
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16195
-for as_dir in $PATH
 
16196
-do
 
16197
-  IFS=$as_save_IFS
 
16198
-  test -z "$as_dir" && as_dir=.
 
16199
-  for ac_exec_ext in '' $ac_executable_extensions; do
 
16200
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
16201
-    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
16202
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16203
-    break 2
 
16204
-  fi
 
16205
-done
 
16206
+  test -n "$ac_ct_CXX" && break
 
16207
 done
 
16208
+test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
 
16209
 
 
16210
-  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
 
16211
-fi
 
16212
-fi
 
16213
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
16214
-if test -n "$ac_ct_RANLIB"; then
 
16215
-  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
16216
-echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
16217
-else
 
16218
-  echo "$as_me:$LINENO: result: no" >&5
 
16219
-echo "${ECHO_T}no" >&6
 
16220
+  CXX=$ac_ct_CXX
 
16221
 fi
 
16222
 
 
16223
-  RANLIB=$ac_ct_RANLIB
 
16224
-else
 
16225
-  RANLIB="$ac_cv_prog_RANLIB"
 
16226
-fi
 
16227
 
 
16228
-if test -n "$ac_tool_prefix"; then
 
16229
-  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
16230
-set dummy ${ac_tool_prefix}strip; ac_word=$2
 
16231
-echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16232
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
16233
-if test "${ac_cv_prog_STRIP+set}" = set; then
 
16234
+# Provide some information about the compiler.
 
16235
+echo "$as_me:$LINENO:" \
 
16236
+     "checking for C++ compiler version" >&5
 
16237
+ac_compiler=`set X $ac_compile; echo $2`
 
16238
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 
16239
+  (eval $ac_compiler --version </dev/null >&5) 2>&5
 
16240
+  ac_status=$?
 
16241
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16242
+  (exit $ac_status); }
 
16243
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 
16244
+  (eval $ac_compiler -v </dev/null >&5) 2>&5
 
16245
+  ac_status=$?
 
16246
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16247
+  (exit $ac_status); }
 
16248
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 
16249
+  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
16250
+  ac_status=$?
 
16251
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16252
+  (exit $ac_status); }
 
16253
+
 
16254
+echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
16255
+echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
16256
+if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 
16257
   echo $ECHO_N "(cached) $ECHO_C" >&6
 
16258
 else
 
16259
-  if test -n "$STRIP"; then
 
16260
-  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
16261
-else
 
16262
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16263
-for as_dir in $PATH
 
16264
-do
 
16265
-  IFS=$as_save_IFS
 
16266
-  test -z "$as_dir" && as_dir=.
 
16267
-  for ac_exec_ext in '' $ac_executable_extensions; do
 
16268
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
16269
-    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
16270
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16271
-    break 2
 
16272
-  fi
 
16273
-done
 
16274
-done
 
16275
+  cat >conftest.$ac_ext <<_ACEOF
 
16276
+/* confdefs.h.  */
 
16277
+_ACEOF
 
16278
+cat confdefs.h >>conftest.$ac_ext
 
16279
+cat >>conftest.$ac_ext <<_ACEOF
 
16280
+/* end confdefs.h.  */
 
16281
 
 
16282
-fi
 
16283
-fi
 
16284
-STRIP=$ac_cv_prog_STRIP
 
16285
-if test -n "$STRIP"; then
 
16286
-  echo "$as_me:$LINENO: result: $STRIP" >&5
 
16287
-echo "${ECHO_T}$STRIP" >&6
 
16288
-else
 
16289
-  echo "$as_me:$LINENO: result: no" >&5
 
16290
-echo "${ECHO_T}no" >&6
 
16291
-fi
 
16292
+int
 
16293
+main ()
 
16294
+{
 
16295
+#ifndef __GNUC__
 
16296
+       choke me
 
16297
+#endif
 
16298
 
 
16299
-fi
 
16300
-if test -z "$ac_cv_prog_STRIP"; then
 
16301
-  ac_ct_STRIP=$STRIP
 
16302
-  # Extract the first word of "strip", so it can be a program name with args.
 
16303
-set dummy strip; ac_word=$2
 
16304
-echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16305
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
16306
-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
16307
-  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16308
-else
 
16309
-  if test -n "$ac_ct_STRIP"; then
 
16310
-  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
16311
-else
 
16312
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16313
-for as_dir in $PATH
 
16314
-do
 
16315
-  IFS=$as_save_IFS
 
16316
-  test -z "$as_dir" && as_dir=.
 
16317
-  for ac_exec_ext in '' $ac_executable_extensions; do
 
16318
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
16319
-    ac_cv_prog_ac_ct_STRIP="strip"
 
16320
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16321
-    break 2
 
16322
-  fi
 
16323
-done
 
16324
-done
 
16325
-
 
16326
-  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 
16327
-fi
 
16328
-fi
 
16329
-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
16330
-if test -n "$ac_ct_STRIP"; then
 
16331
-  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
16332
-echo "${ECHO_T}$ac_ct_STRIP" >&6
 
16333
+  ;
 
16334
+  return 0;
 
16335
+}
 
16336
+_ACEOF
 
16337
+rm -f conftest.$ac_objext
 
16338
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
16339
+  (eval $ac_compile) 2>conftest.er1
 
16340
+  ac_status=$?
 
16341
+  grep -v '^ *+' conftest.er1 >conftest.err
 
16342
+  rm -f conftest.er1
 
16343
+  cat conftest.err >&5
 
16344
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16345
+  (exit $ac_status); } &&
 
16346
+        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
16347
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
16348
+  (eval $ac_try) 2>&5
 
16349
+  ac_status=$?
 
16350
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16351
+  (exit $ac_status); }; } &&
 
16352
+        { ac_try='test -s conftest.$ac_objext'
 
16353
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
16354
+  (eval $ac_try) 2>&5
 
16355
+  ac_status=$?
 
16356
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16357
+  (exit $ac_status); }; }; then
 
16358
+  ac_compiler_gnu=yes
 
16359
 else
 
16360
-  echo "$as_me:$LINENO: result: no" >&5
 
16361
-echo "${ECHO_T}no" >&6
 
16362
-fi
 
16363
+  echo "$as_me: failed program was:" >&5
 
16364
+sed 's/^/| /' conftest.$ac_ext >&5
 
16365
 
 
16366
-  STRIP=$ac_ct_STRIP
 
16367
-else
 
16368
-  STRIP="$ac_cv_prog_STRIP"
 
16369
+ac_compiler_gnu=no
 
16370
 fi
 
16371
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
16372
+ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
16373
 
 
16374
-
 
16375
-enable_dlopen=no
 
16376
-enable_win32_dll=no
 
16377
-
 
16378
-# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
16379
-if test "${enable_libtool_lock+set}" = set; then
 
16380
-  enableval="$enable_libtool_lock"
 
16381
-
 
16382
-fi;
 
16383
-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
16384
-
 
16385
-# Some flags need to be propagated to the compiler or linker for good
 
16386
-# libtool support.
 
16387
-case $host in
 
16388
-*-*-irix6*)
 
16389
-  # Find out which ABI we are using.
 
16390
-  echo '#line 4705 "configure"' > conftest.$ac_ext
 
16391
-  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
16392
-  (eval $ac_compile) 2>&5
 
16393
-  ac_status=$?
 
16394
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16395
-  (exit $ac_status); }; then
 
16396
-    case `/usr/bin/file conftest.$ac_objext` in
 
16397
-    *32-bit*)
 
16398
-      LD="${LD-ld} -32"
 
16399
-      ;;
 
16400
-    *N32*)
 
16401
-      LD="${LD-ld} -n32"
 
16402
-      ;;
 
16403
-    *64-bit*)
 
16404
-      LD="${LD-ld} -64"
 
16405
-      ;;
 
16406
-    esac
 
16407
-  fi
 
16408
-  rm -rf conftest*
 
16409
-  ;;
 
16410
-
 
16411
-*-*-sco3.2v5*)
 
16412
-  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
16413
-  SAVE_CFLAGS="$CFLAGS"
 
16414
-  CFLAGS="$CFLAGS -belf"
 
16415
-  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
16416
-echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
16417
-if test "${lt_cv_cc_needs_belf+set}" = set; then
 
16418
+fi
 
16419
+echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
16420
+echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
16421
+GXX=`test $ac_compiler_gnu = yes && echo yes`
 
16422
+ac_test_CXXFLAGS=${CXXFLAGS+set}
 
16423
+ac_save_CXXFLAGS=$CXXFLAGS
 
16424
+CXXFLAGS="-g"
 
16425
+echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
16426
+echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
16427
+if test "${ac_cv_prog_cxx_g+set}" = set; then
 
16428
   echo $ECHO_N "(cached) $ECHO_C" >&6
 
16429
 else
 
16430
-
 
16431
-
 
16432
-     ac_ext=c
 
16433
-ac_cpp='$CPP $CPPFLAGS'
 
16434
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
16435
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
16436
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
16437
-
 
16438
-     cat >conftest.$ac_ext <<_ACEOF
 
16439
+  cat >conftest.$ac_ext <<_ACEOF
 
16440
 /* confdefs.h.  */
 
16441
 _ACEOF
 
16442
 cat confdefs.h >>conftest.$ac_ext
 
16443
@@ -4755,345 +4652,73 @@
 
16444
   return 0;
 
16445
 }
 
16446
 _ACEOF
 
16447
-rm -f conftest.$ac_objext conftest$ac_exeext
 
16448
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
16449
-  (eval $ac_link) 2>conftest.er1
 
16450
+rm -f conftest.$ac_objext
 
16451
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
16452
+  (eval $ac_compile) 2>conftest.er1
 
16453
   ac_status=$?
 
16454
   grep -v '^ *+' conftest.er1 >conftest.err
 
16455
   rm -f conftest.er1
 
16456
   cat conftest.err >&5
 
16457
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16458
   (exit $ac_status); } &&
 
16459
-        { ac_try='test -z "$ac_c_werror_flag"
 
16460
-                        || test ! -s conftest.err'
 
16461
+        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
16462
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
16463
   (eval $ac_try) 2>&5
 
16464
   ac_status=$?
 
16465
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16466
   (exit $ac_status); }; } &&
 
16467
-        { ac_try='test -s conftest$ac_exeext'
 
16468
+        { ac_try='test -s conftest.$ac_objext'
 
16469
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
16470
   (eval $ac_try) 2>&5
 
16471
   ac_status=$?
 
16472
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16473
   (exit $ac_status); }; }; then
 
16474
-  lt_cv_cc_needs_belf=yes
 
16475
+  ac_cv_prog_cxx_g=yes
 
16476
 else
 
16477
   echo "$as_me: failed program was:" >&5
 
16478
 sed 's/^/| /' conftest.$ac_ext >&5
 
16479
 
 
16480
-lt_cv_cc_needs_belf=no
 
16481
+ac_cv_prog_cxx_g=no
 
16482
 fi
 
16483
-rm -f conftest.err conftest.$ac_objext \
 
16484
-      conftest$ac_exeext conftest.$ac_ext
 
16485
-     ac_ext=c
 
16486
-ac_cpp='$CPP $CPPFLAGS'
 
16487
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
16488
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
16489
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
16490
-
 
16491
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
16492
 fi
 
16493
-echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
16494
-echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
16495
-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
16496
-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
16497
-    CFLAGS="$SAVE_CFLAGS"
 
16498
+echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
16499
+echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
16500
+if test "$ac_test_CXXFLAGS" = set; then
 
16501
+  CXXFLAGS=$ac_save_CXXFLAGS
 
16502
+elif test $ac_cv_prog_cxx_g = yes; then
 
16503
+  if test "$GXX" = yes; then
 
16504
+    CXXFLAGS="-g -O2"
 
16505
+  else
 
16506
+    CXXFLAGS="-g"
 
16507
   fi
 
16508
-  ;;
 
16509
-
 
16510
-
 
16511
-esac
 
16512
-
 
16513
-# Sed substitution that helps us do robust quoting.  It backslashifies
 
16514
-# metacharacters that are still active within double-quoted strings.
 
16515
-Xsed='sed -e s/^X//'
 
16516
-sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
 
16517
-
 
16518
-# Same as above, but do not quote variable references.
 
16519
-double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
 
16520
-
 
16521
-# Sed substitution to delay expansion of an escaped shell variable in a
 
16522
-# double_quote_subst'ed string.
 
16523
-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
16524
-
 
16525
-# Constants:
 
16526
-rm="rm -f"
 
16527
-
 
16528
-# Global variables:
 
16529
-default_ofile=libtool
 
16530
-can_build_shared=yes
 
16531
-
 
16532
-# All known linkers require a `.a' archive for static linking (except M$VC,
 
16533
-# which needs '.lib').
 
16534
-libext=a
 
16535
-ltmain="$ac_aux_dir/ltmain.sh"
 
16536
-ofile="$default_ofile"
 
16537
-with_gnu_ld="$lt_cv_prog_gnu_ld"
 
16538
-need_locks="$enable_libtool_lock"
 
16539
-
 
16540
-old_CC="$CC"
 
16541
-old_CFLAGS="$CFLAGS"
 
16542
-
 
16543
-# Set sane defaults for various variables
 
16544
-test -z "$AR" && AR=ar
 
16545
-test -z "$AR_FLAGS" && AR_FLAGS=cru
 
16546
-test -z "$AS" && AS=as
 
16547
-test -z "$CC" && CC=cc
 
16548
-test -z "$DLLTOOL" && DLLTOOL=dlltool
 
16549
-test -z "$LD" && LD=ld
 
16550
-test -z "$LN_S" && LN_S="ln -s"
 
16551
-test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
16552
-test -z "$NM" && NM=nm
 
16553
-test -z "$OBJDUMP" && OBJDUMP=objdump
 
16554
-test -z "$RANLIB" && RANLIB=:
 
16555
-test -z "$STRIP" && STRIP=:
 
16556
-test -z "$ac_objext" && ac_objext=o
 
16557
-
 
16558
-if test x"$host" != x"$build"; then
 
16559
-  ac_tool_prefix=${host_alias}-
 
16560
 else
 
16561
-  ac_tool_prefix=
 
16562
-fi
 
16563
-
 
16564
-# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
 
16565
-case $host_os in
 
16566
-linux-gnu*) ;;
 
16567
-linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
 
16568
-esac
 
16569
-
 
16570
-case $host_os in
 
16571
-aix3*)
 
16572
-  # AIX sometimes has problems with the GCC collect2 program.  For some
 
16573
-  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
16574
-  # vanish in a puff of smoke.
 
16575
-  if test "X${COLLECT_NAMES+set}" != Xset; then
 
16576
-    COLLECT_NAMES=
 
16577
-    export COLLECT_NAMES
 
16578
+  if test "$GXX" = yes; then
 
16579
+    CXXFLAGS="-O2"
 
16580
+  else
 
16581
+    CXXFLAGS=
 
16582
   fi
 
16583
-  ;;
 
16584
-esac
 
16585
-
 
16586
-# Determine commands to create old-style static archives.
 
16587
-old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
16588
-old_postinstall_cmds='chmod 644 $oldlib'
 
16589
-old_postuninstall_cmds=
 
16590
-
 
16591
-if test -n "$RANLIB"; then
 
16592
-  case $host_os in
 
16593
-  openbsd*)
 
16594
-    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
 
16595
-    ;;
 
16596
-  *)
 
16597
-    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
 
16598
-    ;;
 
16599
-  esac
 
16600
-  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
16601
 fi
 
16602
-
 
16603
-# Allow CC to be a program name with arguments.
 
16604
-set dummy $CC
 
16605
-compiler="$2"
 
16606
-
 
16607
-echo "$as_me:$LINENO: checking for objdir" >&5
 
16608
-echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
16609
-rm -f .libs 2>/dev/null
 
16610
-mkdir .libs 2>/dev/null
 
16611
-if test -d .libs; then
 
16612
-  objdir=.libs
 
16613
-else
 
16614
-  # MS-DOS does not allow filenames that begin with a dot.
 
16615
-  objdir=_libs
 
16616
-fi
 
16617
-rmdir .libs 2>/dev/null
 
16618
-echo "$as_me:$LINENO: result: $objdir" >&5
 
16619
-echo "${ECHO_T}$objdir" >&6
 
16620
-
 
16621
-
 
16622
-
 
16623
-# Check whether --with-pic or --without-pic was given.
 
16624
-if test "${with_pic+set}" = set; then
 
16625
-  withval="$with_pic"
 
16626
-  pic_mode="$withval"
 
16627
-else
 
16628
-  pic_mode=default
 
16629
-fi;
 
16630
-test -z "$pic_mode" && pic_mode=default
 
16631
-
 
16632
-# We assume here that the value for lt_cv_prog_cc_pic will not be cached
 
16633
-# in isolation, and that seeing it set (from the cache) indicates that
 
16634
-# the associated values are set (in the cache) correctly too.
 
16635
-echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
16636
-echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
16637
-if test "${lt_cv_prog_cc_pic+set}" = set; then
 
16638
-  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16639
-else
 
16640
-   lt_cv_prog_cc_pic=
 
16641
-  lt_cv_prog_cc_shlib=
 
16642
-  lt_cv_prog_cc_wl=
 
16643
-  lt_cv_prog_cc_static=
 
16644
-  lt_cv_prog_cc_no_builtin=
 
16645
-  lt_cv_prog_cc_can_build_shared=$can_build_shared
 
16646
-
 
16647
-  if test "$GCC" = yes; then
 
16648
-    lt_cv_prog_cc_wl='-Wl,'
 
16649
-    lt_cv_prog_cc_static='-static'
 
16650
-
 
16651
-    case $host_os in
 
16652
-    aix*)
 
16653
-      # Below there is a dirty hack to force normal static linking with -ldl
 
16654
-      # The problem is because libdl dynamically linked with both libc and
 
16655
-      # libC (AIX C++ library), which obviously doesn't included in libraries
 
16656
-      # list by gcc. This cause undefined symbols with -static flags.
 
16657
-      # This hack allows C programs to be linked with "-static -ldl", but
 
16658
-      # not sure about C++ programs.
 
16659
-      lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
 
16660
-      ;;
 
16661
-    amigaos*)
 
16662
-      # FIXME: we need at least 68020 code to build shared libraries, but
 
16663
-      # adding the `-m68020' flag to GCC prevents building anything better,
 
16664
-      # like `-m68040'.
 
16665
-      lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
 
16666
-      ;;
 
16667
-    beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
 
16668
-      # PIC is the default for these OSes.
 
16669
-      ;;
 
16670
-    darwin* | rhapsody*)
 
16671
-      # PIC is the default on this platform
 
16672
-      # Common symbols not allowed in MH_DYLIB files
 
16673
-      lt_cv_prog_cc_pic='-fno-common'
 
16674
-      ;;
 
16675
-    cygwin* | mingw* | pw32* | os2*)
 
16676
-      # This hack is so that the source file can tell whether it is being
 
16677
-      # built for inclusion in a dll (and should export symbols for example).
 
16678
-      lt_cv_prog_cc_pic='-DDLL_EXPORT'
 
16679
-      ;;
 
16680
-    sysv4*MP*)
 
16681
-      if test -d /usr/nec; then
 
16682
-        lt_cv_prog_cc_pic=-Kconform_pic
 
16683
-      fi
 
16684
-      ;;
 
16685
-    *)
 
16686
-      lt_cv_prog_cc_pic='-fPIC'
 
16687
-      ;;
 
16688
-    esac
 
16689
-  else
 
16690
-    # PORTME Check for PIC flags for the system compiler.
 
16691
-    case $host_os in
 
16692
-    aix3* | aix4* | aix5*)
 
16693
-      lt_cv_prog_cc_wl='-Wl,'
 
16694
-      # All AIX code is PIC.
 
16695
-      if test "$host_cpu" = ia64; then
 
16696
-       # AIX 5 now supports IA64 processor
 
16697
-       lt_cv_prog_cc_static='-Bstatic'
 
16698
-      else
 
16699
-       lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
 
16700
-      fi
 
16701
-      ;;
 
16702
-
 
16703
-    hpux9* | hpux10* | hpux11*)
 
16704
-      # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
 
16705
-      lt_cv_prog_cc_wl='-Wl,'
 
16706
-      lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
 
16707
-      lt_cv_prog_cc_pic='+Z'
 
16708
-      ;;
 
16709
-
 
16710
-    irix5* | irix6*)
 
16711
-      lt_cv_prog_cc_wl='-Wl,'
 
16712
-      lt_cv_prog_cc_static='-non_shared'
 
16713
-      # PIC (with -KPIC) is the default.
 
16714
-      ;;
 
16715
-
 
16716
-    cygwin* | mingw* | pw32* | os2*)
 
16717
-      # This hack is so that the source file can tell whether it is being
 
16718
-      # built for inclusion in a dll (and should export symbols for example).
 
16719
-      lt_cv_prog_cc_pic='-DDLL_EXPORT'
 
16720
-      ;;
 
16721
-
 
16722
-    newsos6)
 
16723
-      lt_cv_prog_cc_pic='-KPIC'
 
16724
-      lt_cv_prog_cc_static='-Bstatic'
 
16725
-      ;;
 
16726
-
 
16727
-    osf3* | osf4* | osf5*)
 
16728
-      # All OSF/1 code is PIC.
 
16729
-      lt_cv_prog_cc_wl='-Wl,'
 
16730
-      lt_cv_prog_cc_static='-non_shared'
 
16731
-      ;;
 
16732
-
 
16733
-    sco3.2v5*)
 
16734
-      lt_cv_prog_cc_pic='-Kpic'
 
16735
-      lt_cv_prog_cc_static='-dn'
 
16736
-      lt_cv_prog_cc_shlib='-belf'
 
16737
-      ;;
 
16738
-
 
16739
-    solaris*)
 
16740
-      lt_cv_prog_cc_pic='-KPIC'
 
16741
-      lt_cv_prog_cc_static='-Bstatic'
 
16742
-      lt_cv_prog_cc_wl='-Wl,'
 
16743
-      ;;
 
16744
-
 
16745
-    sunos4*)
 
16746
-      lt_cv_prog_cc_pic='-PIC'
 
16747
-      lt_cv_prog_cc_static='-Bstatic'
 
16748
-      lt_cv_prog_cc_wl='-Qoption ld '
 
16749
-      ;;
 
16750
-
 
16751
-    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
16752
-      lt_cv_prog_cc_pic='-KPIC'
 
16753
-      lt_cv_prog_cc_static='-Bstatic'
 
16754
-      if test "x$host_vendor" = xsni; then
 
16755
-       lt_cv_prog_cc_wl='-LD'
 
16756
-      else
 
16757
-       lt_cv_prog_cc_wl='-Wl,'
 
16758
-      fi
 
16759
-      ;;
 
16760
-
 
16761
-    uts4*)
 
16762
-      lt_cv_prog_cc_pic='-pic'
 
16763
-      lt_cv_prog_cc_static='-Bstatic'
 
16764
-      ;;
 
16765
-
 
16766
-    sysv4*MP*)
 
16767
-      if test -d /usr/nec ;then
 
16768
-       lt_cv_prog_cc_pic='-Kconform_pic'
 
16769
-       lt_cv_prog_cc_static='-Bstatic'
 
16770
-      fi
 
16771
-      ;;
 
16772
-
 
16773
-    *)
 
16774
-      lt_cv_prog_cc_can_build_shared=no
 
16775
-      ;;
 
16776
-    esac
 
16777
-  fi
 
16778
-
 
16779
-fi
 
16780
-
 
16781
-if test -z "$lt_cv_prog_cc_pic"; then
 
16782
-  echo "$as_me:$LINENO: result: none" >&5
 
16783
-echo "${ECHO_T}none" >&6
 
16784
-else
 
16785
-  echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
 
16786
-echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
 
16787
-
 
16788
-  # Check to make sure the pic_flag actually works.
 
16789
-  echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
 
16790
-echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
 
16791
-  if test "${lt_cv_prog_cc_pic_works+set}" = set; then
 
16792
-  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16793
-else
 
16794
-      save_CFLAGS="$CFLAGS"
 
16795
-    CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
 
16796
-    cat >conftest.$ac_ext <<_ACEOF
 
16797
+for ac_declaration in \
 
16798
+   '' \
 
16799
+   'extern "C" void std::exit (int) throw (); using std::exit;' \
 
16800
+   'extern "C" void std::exit (int); using std::exit;' \
 
16801
+   'extern "C" void exit (int) throw ();' \
 
16802
+   'extern "C" void exit (int);' \
 
16803
+   'void exit (int);'
 
16804
+do
 
16805
+  cat >conftest.$ac_ext <<_ACEOF
 
16806
 /* confdefs.h.  */
 
16807
 _ACEOF
 
16808
 cat confdefs.h >>conftest.$ac_ext
 
16809
 cat >>conftest.$ac_ext <<_ACEOF
 
16810
 /* end confdefs.h.  */
 
16811
-
 
16812
+$ac_declaration
 
16813
+#include <stdlib.h>
 
16814
 int
 
16815
 main ()
 
16816
 {
 
16817
-
 
16818
+exit (42);
 
16819
   ;
 
16820
   return 0;
 
16821
 }
 
16822
@@ -5107,8 +4732,7 @@
 
16823
   cat conftest.err >&5
 
16824
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16825
   (exit $ac_status); } &&
 
16826
-        { ac_try='test -z "$ac_c_werror_flag"
 
16827
-                        || test ! -s conftest.err'
 
16828
+        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
16829
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
16830
   (eval $ac_try) 2>&5
 
16831
   ac_status=$?
 
16832
@@ -5120,201 +4744,25 @@
 
16833
   ac_status=$?
 
16834
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16835
   (exit $ac_status); }; }; then
 
16836
-        case $host_os in
 
16837
-      hpux9* | hpux10* | hpux11*)
 
16838
-       # On HP-UX, both CC and GCC only warn that PIC is supported... then
 
16839
-       # they create non-PIC objects.  So, if there were any warnings, we
 
16840
-       # assume that PIC is not supported.
 
16841
-       if test -s conftest.err; then
 
16842
-         lt_cv_prog_cc_pic_works=no
 
16843
-       else
 
16844
-         lt_cv_prog_cc_pic_works=yes
 
16845
-       fi
 
16846
-       ;;
 
16847
-      *)
 
16848
-       lt_cv_prog_cc_pic_works=yes
 
16849
-       ;;
 
16850
-      esac
 
16851
-
 
16852
+  :
 
16853
 else
 
16854
   echo "$as_me: failed program was:" >&5
 
16855
 sed 's/^/| /' conftest.$ac_ext >&5
 
16856
 
 
16857
-      lt_cv_prog_cc_pic_works=no
 
16858
-
 
16859
+continue
 
16860
 fi
 
16861
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
16862
-    CFLAGS="$save_CFLAGS"
 
16863
-
 
16864
-fi
 
16865
-
 
16866
-
 
16867
-  if test "X$lt_cv_prog_cc_pic_works" = Xno; then
 
16868
-    lt_cv_prog_cc_pic=
 
16869
-    lt_cv_prog_cc_can_build_shared=no
 
16870
-  else
 
16871
-    lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
 
16872
-  fi
 
16873
-
 
16874
-  echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
 
16875
-echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
 
16876
-fi
 
16877
-
 
16878
-# Check for any special shared library compilation flags.
 
16879
-if test -n "$lt_cv_prog_cc_shlib"; then
 
16880
-  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
 
16881
-echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
 
16882
-  if echo "$old_CC $old_CFLAGS " | egrep -e "[         ]$lt_cv_prog_cc_shlib[  ]" >/dev/null; then :
 
16883
-  else
 
16884
-   { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
 
16885
-echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
 
16886
-    lt_cv_prog_cc_can_build_shared=no
 
16887
-  fi
 
16888
-fi
 
16889
-
 
16890
-echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
 
16891
-echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
 
16892
-if test "${lt_cv_prog_cc_static_works+set}" = set; then
 
16893
-  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16894
-else
 
16895
-    lt_cv_prog_cc_static_works=no
 
16896
-  save_LDFLAGS="$LDFLAGS"
 
16897
-  LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
 
16898
-  cat >conftest.$ac_ext <<_ACEOF
 
16899
-/* confdefs.h.  */
 
16900
-_ACEOF
 
16901
-cat confdefs.h >>conftest.$ac_ext
 
16902
-cat >>conftest.$ac_ext <<_ACEOF
 
16903
-/* end confdefs.h.  */
 
16904
-
 
16905
-int
 
16906
-main ()
 
16907
-{
 
16908
-
 
16909
-  ;
 
16910
-  return 0;
 
16911
-}
 
16912
-_ACEOF
 
16913
-rm -f conftest.$ac_objext conftest$ac_exeext
 
16914
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
16915
-  (eval $ac_link) 2>conftest.er1
 
16916
-  ac_status=$?
 
16917
-  grep -v '^ *+' conftest.er1 >conftest.err
 
16918
-  rm -f conftest.er1
 
16919
-  cat conftest.err >&5
 
16920
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16921
-  (exit $ac_status); } &&
 
16922
-        { ac_try='test -z "$ac_c_werror_flag"
 
16923
-                        || test ! -s conftest.err'
 
16924
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
16925
-  (eval $ac_try) 2>&5
 
16926
-  ac_status=$?
 
16927
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16928
-  (exit $ac_status); }; } &&
 
16929
-        { ac_try='test -s conftest$ac_exeext'
 
16930
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
16931
-  (eval $ac_try) 2>&5
 
16932
-  ac_status=$?
 
16933
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16934
-  (exit $ac_status); }; }; then
 
16935
-  lt_cv_prog_cc_static_works=yes
 
16936
-else
 
16937
-  echo "$as_me: failed program was:" >&5
 
16938
-sed 's/^/| /' conftest.$ac_ext >&5
 
16939
-
 
16940
-fi
 
16941
-rm -f conftest.err conftest.$ac_objext \
 
16942
-      conftest$ac_exeext conftest.$ac_ext
 
16943
-  LDFLAGS="$save_LDFLAGS"
 
16944
-
 
16945
-fi
 
16946
-
 
16947
-
 
16948
-# Belt *and* braces to stop my trousers falling down:
 
16949
-test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
 
16950
-echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
 
16951
-echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
 
16952
-
 
16953
-pic_flag="$lt_cv_prog_cc_pic"
 
16954
-special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
 
16955
-wl="$lt_cv_prog_cc_wl"
 
16956
-link_static_flag="$lt_cv_prog_cc_static"
 
16957
-no_builtin_flag="$lt_cv_prog_cc_no_builtin"
 
16958
-can_build_shared="$lt_cv_prog_cc_can_build_shared"
 
16959
-
 
16960
-
 
16961
-# Check to see if options -o and -c are simultaneously supported by compiler
 
16962
-echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
16963
-echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
16964
-if test "${lt_cv_compiler_c_o+set}" = set; then
 
16965
-  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16966
-else
 
16967
-
 
16968
-$rm -r conftest 2>/dev/null
 
16969
-mkdir conftest
 
16970
-cd conftest
 
16971
-echo "int some_variable = 0;" > conftest.$ac_ext
 
16972
-mkdir out
 
16973
-# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
 
16974
-# that will create temporary files in the current directory regardless of
 
16975
-# the output directory.  Thus, making CWD read-only will cause this test
 
16976
-# to fail, enabling locking or at least warning the user not to do parallel
 
16977
-# builds.
 
16978
-chmod -w .
 
16979
-save_CFLAGS="$CFLAGS"
 
16980
-CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
 
16981
-compiler_c_o=no
 
16982
-if { (eval echo configure:5267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
 
16983
-  # The compiler can only warn and ignore the option if not recognized
 
16984
-  # So say no if there are warnings
 
16985
-  if test -s out/conftest.err; then
 
16986
-    lt_cv_compiler_c_o=no
 
16987
-  else
 
16988
-    lt_cv_compiler_c_o=yes
 
16989
-  fi
 
16990
-else
 
16991
-  # Append any errors to the config.log.
 
16992
-  cat out/conftest.err 1>&5
 
16993
-  lt_cv_compiler_c_o=no
 
16994
-fi
 
16995
-CFLAGS="$save_CFLAGS"
 
16996
-chmod u+w .
 
16997
-$rm conftest* out/*
 
16998
-rmdir out
 
16999
-cd ..
 
17000
-rmdir conftest
 
17001
-$rm -r conftest 2>/dev/null
 
17002
-
 
17003
-fi
 
17004
-
 
17005
-compiler_c_o=$lt_cv_compiler_c_o
 
17006
-echo "$as_me:$LINENO: result: $compiler_c_o" >&5
 
17007
-echo "${ECHO_T}$compiler_c_o" >&6
 
17008
-
 
17009
-if test x"$compiler_c_o" = x"yes"; then
 
17010
-  # Check to see if we can write to a .lo
 
17011
-  echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
 
17012
-echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
 
17013
-  if test "${lt_cv_compiler_o_lo+set}" = set; then
 
17014
-  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17015
-else
 
17016
-
 
17017
-  lt_cv_compiler_o_lo=no
 
17018
-  save_CFLAGS="$CFLAGS"
 
17019
-  CFLAGS="$CFLAGS -c -o conftest.lo"
 
17020
-  save_objext="$ac_objext"
 
17021
-  ac_objext=lo
 
17022
   cat >conftest.$ac_ext <<_ACEOF
 
17023
 /* confdefs.h.  */
 
17024
 _ACEOF
 
17025
 cat confdefs.h >>conftest.$ac_ext
 
17026
 cat >>conftest.$ac_ext <<_ACEOF
 
17027
 /* end confdefs.h.  */
 
17028
-
 
17029
+$ac_declaration
 
17030
 int
 
17031
 main ()
 
17032
 {
 
17033
-int some_variable = 0;
 
17034
+exit (42);
 
17035
   ;
 
17036
   return 0;
 
17037
 }
 
17038
@@ -5328,8 +4776,7 @@
 
17039
   cat conftest.err >&5
 
17040
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17041
   (exit $ac_status); } &&
 
17042
-        { ac_try='test -z "$ac_c_werror_flag"
 
17043
-                        || test ! -s conftest.err'
 
17044
+        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
17045
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17046
   (eval $ac_try) 2>&5
 
17047
   ac_status=$?
 
17048
@@ -5341,1752 +4788,13113 @@
 
17049
   ac_status=$?
 
17050
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17051
   (exit $ac_status); }; }; then
 
17052
-      # The compiler can only warn and ignore the option if not recognized
 
17053
-    # So say no if there are warnings
 
17054
-    if test -s conftest.err; then
 
17055
-      lt_cv_compiler_o_lo=no
 
17056
-    else
 
17057
-      lt_cv_compiler_o_lo=yes
 
17058
-    fi
 
17059
-
 
17060
+  break
 
17061
 else
 
17062
   echo "$as_me: failed program was:" >&5
 
17063
 sed 's/^/| /' conftest.$ac_ext >&5
 
17064
 
 
17065
 fi
 
17066
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
17067
-  ac_objext="$save_objext"
 
17068
-  CFLAGS="$save_CFLAGS"
 
17069
-
 
17070
-fi
 
17071
-
 
17072
-  compiler_o_lo=$lt_cv_compiler_o_lo
 
17073
-  echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
 
17074
-echo "${ECHO_T}$compiler_o_lo" >&6
 
17075
-else
 
17076
-  compiler_o_lo=no
 
17077
+done
 
17078
+rm -f conftest*
 
17079
+if test -n "$ac_declaration"; then
 
17080
+  echo '#ifdef __cplusplus' >>confdefs.h
 
17081
+  echo $ac_declaration      >>confdefs.h
 
17082
+  echo '#endif'             >>confdefs.h
 
17083
 fi
 
17084
 
 
17085
-# Check to see if we can do hard links to lock some files if needed
 
17086
-hard_links="nottested"
 
17087
-if test "$compiler_c_o" = no && test "$need_locks" != no; then
 
17088
-  # do not overwrite the value of need_locks provided by the user
 
17089
-  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
17090
-echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
17091
-  hard_links=yes
 
17092
-  $rm conftest*
 
17093
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
17094
-  touch conftest.a
 
17095
-  ln conftest.a conftest.b 2>&5 || hard_links=no
 
17096
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
17097
-  echo "$as_me:$LINENO: result: $hard_links" >&5
 
17098
-echo "${ECHO_T}$hard_links" >&6
 
17099
-  if test "$hard_links" = no; then
 
17100
-    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
17101
-echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
17102
-    need_locks=warn
 
17103
-  fi
 
17104
-else
 
17105
-  need_locks=no
 
17106
-fi
 
17107
+ac_ext=cc
 
17108
+ac_cpp='$CXXCPP $CPPFLAGS'
 
17109
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
17110
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
17111
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
17112
 
 
17113
-if test "$GCC" = yes; then
 
17114
-  # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
 
17115
-  echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
17116
-echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
17117
-  echo "int some_variable = 0;" > conftest.$ac_ext
 
17118
-  save_CFLAGS="$CFLAGS"
 
17119
-  CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
 
17120
-  compiler_rtti_exceptions=no
 
17121
-  cat >conftest.$ac_ext <<_ACEOF
 
17122
-/* confdefs.h.  */
 
17123
-_ACEOF
 
17124
-cat confdefs.h >>conftest.$ac_ext
 
17125
-cat >>conftest.$ac_ext <<_ACEOF
 
17126
-/* end confdefs.h.  */
 
17127
+depcc="$CXX"  am_compiler_list=
 
17128
 
 
17129
-int
 
17130
-main ()
 
17131
-{
 
17132
-int some_variable = 0;
 
17133
-  ;
 
17134
-  return 0;
 
17135
-}
 
17136
+echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
17137
+echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
17138
+if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 
17139
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17140
+else
 
17141
+  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
17142
+  # We make a subdir and do the tests there.  Otherwise we can end up
 
17143
+  # making bogus files that we don't know about and never remove.  For
 
17144
+  # instance it was reported that on HP-UX the gcc test will end up
 
17145
+  # making a dummy file named `D' -- because `-MD' means `put the output
 
17146
+  # in D'.
 
17147
+  mkdir conftest.dir
 
17148
+  # Copy depcomp to subdir because otherwise we won't find it if we're
 
17149
+  # using a relative directory.
 
17150
+  cp "$am_depcomp" conftest.dir
 
17151
+  cd conftest.dir
 
17152
+  # We will build objects and dependencies in a subdirectory because
 
17153
+  # it helps to detect inapplicable dependency modes.  For instance
 
17154
+  # both Tru64's cc and ICC support -MD to output dependencies as a
 
17155
+  # side effect of compilation, but ICC will put the dependencies in
 
17156
+  # the current directory while Tru64 will put them in the object
 
17157
+  # directory.
 
17158
+  mkdir sub
 
17159
+
 
17160
+  am_cv_CXX_dependencies_compiler_type=none
 
17161
+  if test "$am_compiler_list" = ""; then
 
17162
+     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
17163
+  fi
 
17164
+  for depmode in $am_compiler_list; do
 
17165
+    # Setup a source with many dependencies, because some compilers
 
17166
+    # like to wrap large dependency lists on column 80 (with \), and
 
17167
+    # we should not choose a depcomp mode which is confused by this.
 
17168
+    #
 
17169
+    # We need to recreate these files for each test, as the compiler may
 
17170
+    # overwrite some of them when testing with obscure command lines.
 
17171
+    # This happens at least with the AIX C compiler.
 
17172
+    : > sub/conftest.c
 
17173
+    for i in 1 2 3 4 5 6; do
 
17174
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
17175
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
17176
+      # Solaris 8's {/usr,}/bin/sh.
 
17177
+      touch sub/conftst$i.h
 
17178
+    done
 
17179
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
17180
+
 
17181
+    case $depmode in
 
17182
+    nosideeffect)
 
17183
+      # after this tag, mechanisms are not by side-effect, so they'll
 
17184
+      # only be used when explicitly requested
 
17185
+      if test "x$enable_dependency_tracking" = xyes; then
 
17186
+       continue
 
17187
+      else
 
17188
+       break
 
17189
+      fi
 
17190
+      ;;
 
17191
+    none) break ;;
 
17192
+    esac
 
17193
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
17194
+    # mode.  It turns out that the SunPro C++ compiler does not properly
 
17195
+    # handle `-M -o', and we need to detect this.
 
17196
+    if depmode=$depmode \
 
17197
+       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
17198
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
17199
+       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
17200
+         >/dev/null 2>conftest.err &&
 
17201
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
17202
+       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
17203
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
17204
+      # icc doesn't choke on unknown options, it will just issue warnings
 
17205
+      # or remarks (even with -Werror).  So we grep stderr for any message
 
17206
+      # that says an option was ignored or not supported.
 
17207
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
17208
+      #   icc: Command line warning: ignoring option '-M'; no argument required
 
17209
+      # The diagnosis changed in icc 8.0:
 
17210
+      #   icc: Command line remark: option '-MP' not supported
 
17211
+      if (grep 'ignoring option' conftest.err ||
 
17212
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
17213
+        am_cv_CXX_dependencies_compiler_type=$depmode
 
17214
+        break
 
17215
+      fi
 
17216
+    fi
 
17217
+  done
 
17218
+
 
17219
+  cd ..
 
17220
+  rm -rf conftest.dir
 
17221
+else
 
17222
+  am_cv_CXX_dependencies_compiler_type=none
 
17223
+fi
 
17224
+
 
17225
+fi
 
17226
+echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
17227
+echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
17228
+CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
17229
+
 
17230
+
 
17231
+
 
17232
+if
 
17233
+  test "x$enable_dependency_tracking" != xno \
 
17234
+  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
17235
+  am__fastdepCXX_TRUE=
 
17236
+  am__fastdepCXX_FALSE='#'
 
17237
+else
 
17238
+  am__fastdepCXX_TRUE='#'
 
17239
+  am__fastdepCXX_FALSE=
 
17240
+fi
 
17241
+
 
17242
+
 
17243
+ac_ext=cc
 
17244
+ac_cpp='$CXXCPP $CPPFLAGS'
 
17245
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
17246
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
17247
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
17248
+echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
17249
+echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
17250
+if test -z "$CXXCPP"; then
 
17251
+  if test "${ac_cv_prog_CXXCPP+set}" = set; then
 
17252
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17253
+else
 
17254
+      # Double quotes because CXXCPP needs to be expanded
 
17255
+    for CXXCPP in "$CXX -E" "/lib/cpp"
 
17256
+    do
 
17257
+      ac_preproc_ok=false
 
17258
+for ac_cxx_preproc_warn_flag in '' yes
 
17259
+do
 
17260
+  # Use a header file that comes with gcc, so configuring glibc
 
17261
+  # with a fresh cross-compiler works.
 
17262
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
17263
+  # <limits.h> exists even on freestanding compilers.
 
17264
+  # On the NeXT, cc -E runs the code through the compiler's parser,
 
17265
+  # not just through cpp. "Syntax error" is here to catch this case.
 
17266
+  cat >conftest.$ac_ext <<_ACEOF
 
17267
+/* confdefs.h.  */
 
17268
 _ACEOF
 
17269
-rm -f conftest.$ac_objext
 
17270
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
17271
-  (eval $ac_compile) 2>conftest.er1
 
17272
+cat confdefs.h >>conftest.$ac_ext
 
17273
+cat >>conftest.$ac_ext <<_ACEOF
 
17274
+/* end confdefs.h.  */
 
17275
+#ifdef __STDC__
 
17276
+# include <limits.h>
 
17277
+#else
 
17278
+# include <assert.h>
 
17279
+#endif
 
17280
+                    Syntax error
 
17281
+_ACEOF
 
17282
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
17283
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
17284
   ac_status=$?
 
17285
   grep -v '^ *+' conftest.er1 >conftest.err
 
17286
   rm -f conftest.er1
 
17287
   cat conftest.err >&5
 
17288
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17289
-  (exit $ac_status); } &&
 
17290
-        { ac_try='test -z "$ac_c_werror_flag"
 
17291
-                        || test ! -s conftest.err'
 
17292
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17293
-  (eval $ac_try) 2>&5
 
17294
-  ac_status=$?
 
17295
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17296
-  (exit $ac_status); }; } &&
 
17297
-        { ac_try='test -s conftest.$ac_objext'
 
17298
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17299
-  (eval $ac_try) 2>&5
 
17300
-  ac_status=$?
 
17301
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17302
-  (exit $ac_status); }; }; then
 
17303
-      # The compiler can only warn and ignore the option if not recognized
 
17304
-    # So say no if there are warnings
 
17305
-    if test -s conftest.err; then
 
17306
-      compiler_rtti_exceptions=no
 
17307
-    else
 
17308
-      compiler_rtti_exceptions=yes
 
17309
-    fi
 
17310
-
 
17311
+  (exit $ac_status); } >/dev/null; then
 
17312
+  if test -s conftest.err; then
 
17313
+    ac_cpp_err=$ac_cxx_preproc_warn_flag
 
17314
+    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 
17315
+  else
 
17316
+    ac_cpp_err=
 
17317
+  fi
 
17318
+else
 
17319
+  ac_cpp_err=yes
 
17320
+fi
 
17321
+if test -z "$ac_cpp_err"; then
 
17322
+  :
 
17323
 else
 
17324
   echo "$as_me: failed program was:" >&5
 
17325
 sed 's/^/| /' conftest.$ac_ext >&5
 
17326
 
 
17327
+  # Broken: fails on valid input.
 
17328
+continue
 
17329
 fi
 
17330
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
17331
-  CFLAGS="$save_CFLAGS"
 
17332
-  echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
 
17333
-echo "${ECHO_T}$compiler_rtti_exceptions" >&6
 
17334
+rm -f conftest.err conftest.$ac_ext
 
17335
 
 
17336
-  if test "$compiler_rtti_exceptions" = "yes"; then
 
17337
-    no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
 
17338
+  # OK, works on sane cases.  Now check whether non-existent headers
 
17339
+  # can be detected and how.
 
17340
+  cat >conftest.$ac_ext <<_ACEOF
 
17341
+/* confdefs.h.  */
 
17342
+_ACEOF
 
17343
+cat confdefs.h >>conftest.$ac_ext
 
17344
+cat >>conftest.$ac_ext <<_ACEOF
 
17345
+/* end confdefs.h.  */
 
17346
+#include <ac_nonexistent.h>
 
17347
+_ACEOF
 
17348
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
17349
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
17350
+  ac_status=$?
 
17351
+  grep -v '^ *+' conftest.er1 >conftest.err
 
17352
+  rm -f conftest.er1
 
17353
+  cat conftest.err >&5
 
17354
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17355
+  (exit $ac_status); } >/dev/null; then
 
17356
+  if test -s conftest.err; then
 
17357
+    ac_cpp_err=$ac_cxx_preproc_warn_flag
 
17358
+    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 
17359
   else
 
17360
-    no_builtin_flag=' -fno-builtin'
 
17361
+    ac_cpp_err=
 
17362
   fi
 
17363
+else
 
17364
+  ac_cpp_err=yes
 
17365
 fi
 
17366
+if test -z "$ac_cpp_err"; then
 
17367
+  # Broken: success on invalid input.
 
17368
+continue
 
17369
+else
 
17370
+  echo "$as_me: failed program was:" >&5
 
17371
+sed 's/^/| /' conftest.$ac_ext >&5
 
17372
 
 
17373
-# See if the linker supports building shared libraries.
 
17374
-echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
 
17375
-echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
 
17376
-
 
17377
-allow_undefined_flag=
 
17378
-no_undefined_flag=
 
17379
-need_lib_prefix=unknown
 
17380
-need_version=unknown
 
17381
-# when you set need_version to no, make sure it does not cause -set_version
 
17382
-# flags to be left without arguments
 
17383
-archive_cmds=
 
17384
-archive_expsym_cmds=
 
17385
-old_archive_from_new_cmds=
 
17386
-old_archive_from_expsyms_cmds=
 
17387
-export_dynamic_flag_spec=
 
17388
-whole_archive_flag_spec=
 
17389
-thread_safe_flag_spec=
 
17390
-hardcode_into_libs=no
 
17391
-hardcode_libdir_flag_spec=
 
17392
-hardcode_libdir_separator=
 
17393
-hardcode_direct=no
 
17394
-hardcode_minus_L=no
 
17395
-hardcode_shlibpath_var=unsupported
 
17396
-runpath_var=
 
17397
-link_all_deplibs=unknown
 
17398
-always_export_symbols=no
 
17399
-export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
17400
-# include_expsyms should be a list of space-separated symbols to be *always*
 
17401
-# included in the symbol list
 
17402
-include_expsyms=
 
17403
-# exclude_expsyms can be an egrep regular expression of symbols to exclude
 
17404
-# it will be wrapped by ` (' and `)$', so one must not match beginning or
 
17405
-# end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
17406
-# as well as any symbol that contains `d'.
 
17407
-exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
17408
-# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
17409
-# platforms (ab)use it in PIC code, but their linkers get confused if
 
17410
-# the symbol is explicitly referenced.  Since portable code cannot
 
17411
-# rely on this symbol name, it's probably fine to never include it in
 
17412
-# preloaded symbol tables.
 
17413
-extract_expsyms_cmds=
 
17414
-
 
17415
-case $host_os in
 
17416
-cygwin* | mingw* | pw32*)
 
17417
-  # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
17418
-  # When not using gcc, we currently assume that we are using
 
17419
-  # Microsoft Visual C++.
 
17420
-  if test "$GCC" != yes; then
 
17421
-    with_gnu_ld=no
 
17422
-  fi
 
17423
-  ;;
 
17424
-openbsd*)
 
17425
-  with_gnu_ld=no
 
17426
-  ;;
 
17427
-esac
 
17428
-
 
17429
-ld_shlibs=yes
 
17430
-if test "$with_gnu_ld" = yes; then
 
17431
-  # If archive_cmds runs LD, not CC, wlarc should be empty
 
17432
-  wlarc='${wl}'
 
17433
-
 
17434
-  # See if GNU ld supports shared libraries.
 
17435
-  case $host_os in
 
17436
-  aix3* | aix4* | aix5*)
 
17437
-    # On AIX, the GNU linker is very broken
 
17438
-    # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
 
17439
-    ld_shlibs=no
 
17440
-    cat <<EOF 1>&2
 
17441
-
 
17442
-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
17443
-*** to be unable to reliably create shared libraries on AIX.
 
17444
-*** Therefore, libtool is disabling shared libraries support.  If you
 
17445
-*** really care for shared libraries, you may want to modify your PATH
 
17446
-*** so that a non-GNU linker is found, and then restart.
 
17447
-
 
17448
-EOF
 
17449
-    ;;
 
17450
+  # Passes both tests.
 
17451
+ac_preproc_ok=:
 
17452
+break
 
17453
+fi
 
17454
+rm -f conftest.err conftest.$ac_ext
 
17455
 
 
17456
-  amigaos*)
 
17457
-    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)'
 
17458
-    hardcode_libdir_flag_spec='-L$libdir'
 
17459
-    hardcode_minus_L=yes
 
17460
-
 
17461
-    # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
 
17462
-    # that the semantics of dynamic libraries on AmigaOS, at least up
 
17463
-    # to version 4, is to share data among multiple programs linked
 
17464
-    # with the same dynamic library.  Since this doesn't match the
 
17465
-    # behavior of shared libraries on other platforms, we can use
 
17466
-    # them.
 
17467
-    ld_shlibs=no
 
17468
-    ;;
 
17469
+done
 
17470
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
17471
+rm -f conftest.err conftest.$ac_ext
 
17472
+if $ac_preproc_ok; then
 
17473
+  break
 
17474
+fi
 
17475
 
 
17476
-  beos*)
 
17477
-    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
 
17478
-      allow_undefined_flag=unsupported
 
17479
-      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
17480
-      # support --undefined.  This deserves some investigation.  FIXME
 
17481
-      archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17482
-    else
 
17483
-      ld_shlibs=no
 
17484
-    fi
 
17485
-    ;;
 
17486
+    done
 
17487
+    ac_cv_prog_CXXCPP=$CXXCPP
 
17488
 
 
17489
-  cygwin* | mingw* | pw32*)
 
17490
-    # hardcode_libdir_flag_spec is actually meaningless, as there is
 
17491
-    # no search path for DLLs.
 
17492
-    hardcode_libdir_flag_spec='-L$libdir'
 
17493
-    allow_undefined_flag=unsupported
 
17494
-    always_export_symbols=yes
 
17495
-
 
17496
-    extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
 
17497
-      sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
 
17498
-      test -f $output_objdir/impgen.exe || (cd $output_objdir && \
 
17499
-      if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
 
17500
-      else $CC -o impgen impgen.c ; fi)~
 
17501
-      $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
 
17502
-
 
17503
-    old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
 
17504
-
 
17505
-    # cygwin and mingw dlls have different entry points and sets of symbols
 
17506
-    # to exclude.
 
17507
-    # FIXME: what about values for MSVC?
 
17508
-    dll_entry=__cygwin_dll_entry@12
 
17509
-    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
 
17510
-    case $host_os in
 
17511
-    mingw*)
 
17512
-      # mingw values
 
17513
-      dll_entry=_DllMainCRTStartup@12
 
17514
-      dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
 
17515
-      ;;
 
17516
-    esac
 
17517
+fi
 
17518
+  CXXCPP=$ac_cv_prog_CXXCPP
 
17519
+else
 
17520
+  ac_cv_prog_CXXCPP=$CXXCPP
 
17521
+fi
 
17522
+echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
17523
+echo "${ECHO_T}$CXXCPP" >&6
 
17524
+ac_preproc_ok=false
 
17525
+for ac_cxx_preproc_warn_flag in '' yes
 
17526
+do
 
17527
+  # Use a header file that comes with gcc, so configuring glibc
 
17528
+  # with a fresh cross-compiler works.
 
17529
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
17530
+  # <limits.h> exists even on freestanding compilers.
 
17531
+  # On the NeXT, cc -E runs the code through the compiler's parser,
 
17532
+  # not just through cpp. "Syntax error" is here to catch this case.
 
17533
+  cat >conftest.$ac_ext <<_ACEOF
 
17534
+/* confdefs.h.  */
 
17535
+_ACEOF
 
17536
+cat confdefs.h >>conftest.$ac_ext
 
17537
+cat >>conftest.$ac_ext <<_ACEOF
 
17538
+/* end confdefs.h.  */
 
17539
+#ifdef __STDC__
 
17540
+# include <limits.h>
 
17541
+#else
 
17542
+# include <assert.h>
 
17543
+#endif
 
17544
+                    Syntax error
 
17545
+_ACEOF
 
17546
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
17547
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
17548
+  ac_status=$?
 
17549
+  grep -v '^ *+' conftest.er1 >conftest.err
 
17550
+  rm -f conftest.er1
 
17551
+  cat conftest.err >&5
 
17552
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17553
+  (exit $ac_status); } >/dev/null; then
 
17554
+  if test -s conftest.err; then
 
17555
+    ac_cpp_err=$ac_cxx_preproc_warn_flag
 
17556
+    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 
17557
+  else
 
17558
+    ac_cpp_err=
 
17559
+  fi
 
17560
+else
 
17561
+  ac_cpp_err=yes
 
17562
+fi
 
17563
+if test -z "$ac_cpp_err"; then
 
17564
+  :
 
17565
+else
 
17566
+  echo "$as_me: failed program was:" >&5
 
17567
+sed 's/^/| /' conftest.$ac_ext >&5
 
17568
 
 
17569
-    # mingw and cygwin differ, and it's simplest to just exclude the union
 
17570
-    # of the two symbol sets.
 
17571
-    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
 
17572
-
 
17573
-    # recent cygwin and mingw systems supply a stub DllMain which the user
 
17574
-    # can override, but on older systems we have to supply one (in ltdll.c)
 
17575
-    if test "x$lt_cv_need_dllmain" = "xyes"; then
 
17576
-      ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
 
17577
-      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
 
17578
-       test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
 
17579
-    else
 
17580
-      ltdll_obj=
 
17581
-      ltdll_cmds=
 
17582
-    fi
 
17583
+  # Broken: fails on valid input.
 
17584
+continue
 
17585
+fi
 
17586
+rm -f conftest.err conftest.$ac_ext
 
17587
 
 
17588
-    # Extract the symbol export list from an `--export-all' def file,
 
17589
-    # then regenerate the def file from the symbol export list, so that
 
17590
-    # the compiled dll only exports the symbol export list.
 
17591
-    # Be careful not to strip the DATA tag left be newer dlltools.
 
17592
-    export_symbols_cmds="$ltdll_cmds"'
 
17593
-      $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
 
17594
-      sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
 
17595
-
 
17596
-    # If the export-symbols file already is a .def file (1st line
 
17597
-    # is EXPORTS), use it as is.
 
17598
-    # If DATA tags from a recent dlltool are present, honour them!
 
17599
-    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
 
17600
-       cp $export_symbols $output_objdir/$soname-def;
 
17601
-      else
 
17602
-       echo EXPORTS > $output_objdir/$soname-def;
 
17603
-       _lt_hint=1;
 
17604
-       cat $export_symbols | while read symbol; do
 
17605
-        set dummy \$symbol;
 
17606
-        case \$# in
 
17607
-          2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
 
17608
-          *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
 
17609
-        esac;
 
17610
-        _lt_hint=`expr 1 + \$_lt_hint`;
 
17611
-       done;
 
17612
-      fi~
 
17613
-      '"$ltdll_cmds"'
 
17614
-      $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
 
17615
-      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
 
17616
-      $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
 
17617
-      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
 
17618
-      $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
 
17619
-    ;;
 
17620
+  # OK, works on sane cases.  Now check whether non-existent headers
 
17621
+  # can be detected and how.
 
17622
+  cat >conftest.$ac_ext <<_ACEOF
 
17623
+/* confdefs.h.  */
 
17624
+_ACEOF
 
17625
+cat confdefs.h >>conftest.$ac_ext
 
17626
+cat >>conftest.$ac_ext <<_ACEOF
 
17627
+/* end confdefs.h.  */
 
17628
+#include <ac_nonexistent.h>
 
17629
+_ACEOF
 
17630
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
17631
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
17632
+  ac_status=$?
 
17633
+  grep -v '^ *+' conftest.er1 >conftest.err
 
17634
+  rm -f conftest.er1
 
17635
+  cat conftest.err >&5
 
17636
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17637
+  (exit $ac_status); } >/dev/null; then
 
17638
+  if test -s conftest.err; then
 
17639
+    ac_cpp_err=$ac_cxx_preproc_warn_flag
 
17640
+    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 
17641
+  else
 
17642
+    ac_cpp_err=
 
17643
+  fi
 
17644
+else
 
17645
+  ac_cpp_err=yes
 
17646
+fi
 
17647
+if test -z "$ac_cpp_err"; then
 
17648
+  # Broken: success on invalid input.
 
17649
+continue
 
17650
+else
 
17651
+  echo "$as_me: failed program was:" >&5
 
17652
+sed 's/^/| /' conftest.$ac_ext >&5
 
17653
 
 
17654
-  netbsd*)
 
17655
-    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
17656
-      archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
17657
-      wlarc=
 
17658
-    else
 
17659
-      archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17660
-      archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
17661
-    fi
 
17662
-    ;;
 
17663
+  # Passes both tests.
 
17664
+ac_preproc_ok=:
 
17665
+break
 
17666
+fi
 
17667
+rm -f conftest.err conftest.$ac_ext
 
17668
 
 
17669
-  solaris* | sysv5*)
 
17670
-    if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
 
17671
-      ld_shlibs=no
 
17672
-      cat <<EOF 1>&2
 
17673
+done
 
17674
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
17675
+rm -f conftest.err conftest.$ac_ext
 
17676
+if $ac_preproc_ok; then
 
17677
+  :
 
17678
+else
 
17679
+  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
17680
+See \`config.log' for more details." >&5
 
17681
+echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
17682
+See \`config.log' for more details." >&2;}
 
17683
+   { (exit 1); exit 1; }; }
 
17684
+fi
 
17685
 
 
17686
-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
17687
-*** create shared libraries on Solaris systems.  Therefore, libtool
 
17688
-*** is disabling shared libraries support.  We urge you to upgrade GNU
 
17689
-*** binutils to release 2.9.1 or newer.  Another option is to modify
 
17690
-*** your PATH or compiler configuration so that the native linker is
 
17691
-*** used, and then restart.
 
17692
+ac_ext=cc
 
17693
+ac_cpp='$CXXCPP $CPPFLAGS'
 
17694
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
17695
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
17696
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
17697
 
 
17698
-EOF
 
17699
-    elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
 
17700
-      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17701
-      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
17702
-    else
 
17703
-      ld_shlibs=no
 
17704
-    fi
 
17705
-    ;;
 
17706
 
 
17707
-  sunos4*)
 
17708
-    archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
17709
-    wlarc=
 
17710
-    hardcode_direct=yes
 
17711
-    hardcode_shlibpath_var=no
 
17712
-    ;;
 
17713
+ac_ext=f
 
17714
+ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 
17715
+ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
17716
+ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 
17717
+if test -n "$ac_tool_prefix"; then
 
17718
+  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
17719
+  do
 
17720
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
17721
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
17722
+echo "$as_me:$LINENO: checking for $ac_word" >&5
 
17723
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
17724
+if test "${ac_cv_prog_F77+set}" = set; then
 
17725
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17726
+else
 
17727
+  if test -n "$F77"; then
 
17728
+  ac_cv_prog_F77="$F77" # Let the user override the test.
 
17729
+else
 
17730
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
17731
+for as_dir in $PATH
 
17732
+do
 
17733
+  IFS=$as_save_IFS
 
17734
+  test -z "$as_dir" && as_dir=.
 
17735
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
17736
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
17737
+    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
 
17738
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17739
+    break 2
 
17740
+  fi
 
17741
+done
 
17742
+done
 
17743
 
 
17744
-  *)
 
17745
-    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
 
17746
-      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17747
-      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
17748
-    else
 
17749
-      ld_shlibs=no
 
17750
-    fi
 
17751
-    ;;
 
17752
-  esac
 
17753
+fi
 
17754
+fi
 
17755
+F77=$ac_cv_prog_F77
 
17756
+if test -n "$F77"; then
 
17757
+  echo "$as_me:$LINENO: result: $F77" >&5
 
17758
+echo "${ECHO_T}$F77" >&6
 
17759
+else
 
17760
+  echo "$as_me:$LINENO: result: no" >&5
 
17761
+echo "${ECHO_T}no" >&6
 
17762
+fi
 
17763
 
 
17764
-  if test "$ld_shlibs" = yes; then
 
17765
-    runpath_var=LD_RUN_PATH
 
17766
-    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
17767
-    export_dynamic_flag_spec='${wl}--export-dynamic'
 
17768
-    case $host_os in
 
17769
-    cygwin* | mingw* | pw32*)
 
17770
-      # dlltool doesn't understand --whole-archive et. al.
 
17771
-      whole_archive_flag_spec=
 
17772
-      ;;
 
17773
-    *)
 
17774
-      # ancient GNU ld didn't support --whole-archive et. al.
 
17775
-      if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
 
17776
-       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
17777
-      else
 
17778
-       whole_archive_flag_spec=
 
17779
-      fi
 
17780
-      ;;
 
17781
-    esac
 
17782
+    test -n "$F77" && break
 
17783
+  done
 
17784
+fi
 
17785
+if test -z "$F77"; then
 
17786
+  ac_ct_F77=$F77
 
17787
+  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
17788
+do
 
17789
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
17790
+set dummy $ac_prog; ac_word=$2
 
17791
+echo "$as_me:$LINENO: checking for $ac_word" >&5
 
17792
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
17793
+if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
 
17794
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17795
+else
 
17796
+  if test -n "$ac_ct_F77"; then
 
17797
+  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
 
17798
+else
 
17799
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
17800
+for as_dir in $PATH
 
17801
+do
 
17802
+  IFS=$as_save_IFS
 
17803
+  test -z "$as_dir" && as_dir=.
 
17804
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
17805
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
17806
+    ac_cv_prog_ac_ct_F77="$ac_prog"
 
17807
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17808
+    break 2
 
17809
   fi
 
17810
+done
 
17811
+done
 
17812
+
 
17813
+fi
 
17814
+fi
 
17815
+ac_ct_F77=$ac_cv_prog_ac_ct_F77
 
17816
+if test -n "$ac_ct_F77"; then
 
17817
+  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
17818
+echo "${ECHO_T}$ac_ct_F77" >&6
 
17819
 else
 
17820
-  # PORTME fill in a description of your system's linker (not GNU ld)
 
17821
-  case $host_os in
 
17822
-  aix3*)
 
17823
-    allow_undefined_flag=unsupported
 
17824
-    always_export_symbols=yes
 
17825
-    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'
 
17826
-    # Note: this linker hardcodes the directories in LIBPATH if there
 
17827
-    # are no directories specified by -L.
 
17828
-    hardcode_minus_L=yes
 
17829
-    if test "$GCC" = yes && test -z "$link_static_flag"; then
 
17830
-      # Neither direct hardcoding nor static linking is supported with a
 
17831
-      # broken collect2.
 
17832
-      hardcode_direct=unsupported
 
17833
-    fi
 
17834
-    ;;
 
17835
+  echo "$as_me:$LINENO: result: no" >&5
 
17836
+echo "${ECHO_T}no" >&6
 
17837
+fi
 
17838
 
 
17839
-  aix4* | aix5*)
 
17840
-    if test "$host_cpu" = ia64; then
 
17841
-      # On IA64, the linker does run time linking by default, so we don't
 
17842
-      # have to do anything special.
 
17843
-      aix_use_runtimelinking=no
 
17844
-      exp_sym_flag='-Bexport'
 
17845
-      no_entry_flag=""
 
17846
-    else
 
17847
-      aix_use_runtimelinking=no
 
17848
+  test -n "$ac_ct_F77" && break
 
17849
+done
 
17850
 
 
17851
-      # Test if we are trying to use run time linking or normal
 
17852
-      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
17853
-      # need to do runtime linking.
 
17854
-      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
17855
-       for ld_flag in $LDFLAGS; do
 
17856
-         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
17857
-           aix_use_runtimelinking=yes
 
17858
-           break
 
17859
-         fi
 
17860
-       done
 
17861
-      esac
 
17862
+  F77=$ac_ct_F77
 
17863
+fi
 
17864
 
 
17865
-      exp_sym_flag='-bexport'
 
17866
-      no_entry_flag='-bnoentry'
 
17867
-    fi
 
17868
 
 
17869
-    # When large executables or shared objects are built, AIX ld can
 
17870
-    # have problems creating the table of contents.  If linking a library
 
17871
-    # or program results in "error TOC overflow" add -mminimal-toc to
 
17872
-    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
17873
-    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
17874
+# Provide some information about the compiler.
 
17875
+echo "$as_me:5244:" \
 
17876
+     "checking for Fortran 77 compiler version" >&5
 
17877
+ac_compiler=`set X $ac_compile; echo $2`
 
17878
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 
17879
+  (eval $ac_compiler --version </dev/null >&5) 2>&5
 
17880
+  ac_status=$?
 
17881
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17882
+  (exit $ac_status); }
 
17883
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 
17884
+  (eval $ac_compiler -v </dev/null >&5) 2>&5
 
17885
+  ac_status=$?
 
17886
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17887
+  (exit $ac_status); }
 
17888
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 
17889
+  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
17890
+  ac_status=$?
 
17891
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17892
+  (exit $ac_status); }
 
17893
+rm -f a.out
 
17894
 
 
17895
-    hardcode_direct=yes
 
17896
-    archive_cmds=''
 
17897
-    hardcode_libdir_separator=':'
 
17898
-    if test "$GCC" = yes; then
 
17899
-      case $host_os in aix4.[012]|aix4.[012].*)
 
17900
-       collect2name=`${CC} -print-prog-name=collect2`
 
17901
-       if test -f "$collect2name" && \
 
17902
-         strings "$collect2name" | grep resolve_lib_name >/dev/null
 
17903
-       then
 
17904
-         # We have reworked collect2
 
17905
-         hardcode_direct=yes
 
17906
-       else
 
17907
-         # We have old collect2
 
17908
-         hardcode_direct=unsupported
 
17909
-         # It fails to find uninstalled libraries when the uninstalled
 
17910
-         # path is not listed in the libpath.  Setting hardcode_minus_L
 
17911
-         # to unsupported forces relinking
 
17912
-         hardcode_minus_L=yes
 
17913
-         hardcode_libdir_flag_spec='-L$libdir'
 
17914
-         hardcode_libdir_separator=
 
17915
-       fi
 
17916
-      esac
 
17917
+# If we don't use `.F' as extension, the preprocessor is not run on the
 
17918
+# input file.  (Note that this only needs to work for GNU compilers.)
 
17919
+ac_save_ext=$ac_ext
 
17920
+ac_ext=F
 
17921
+echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
17922
+echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
17923
+if test "${ac_cv_f77_compiler_gnu+set}" = set; then
 
17924
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17925
+else
 
17926
+  cat >conftest.$ac_ext <<_ACEOF
 
17927
+      program main
 
17928
+#ifndef __GNUC__
 
17929
+       choke me
 
17930
+#endif
 
17931
 
 
17932
-      shared_flag='-shared'
 
17933
-    else
 
17934
-      # not using gcc
 
17935
-      if test "$host_cpu" = ia64; then
 
17936
-       shared_flag='${wl}-G'
 
17937
-      else
 
17938
-       if test "$aix_use_runtimelinking" = yes; then
 
17939
-         shared_flag='${wl}-G'
 
17940
-       else
 
17941
-         shared_flag='${wl}-bM:SRE'
 
17942
-       fi
 
17943
-      fi
 
17944
-    fi
 
17945
+      end
 
17946
+_ACEOF
 
17947
+rm -f conftest.$ac_objext
 
17948
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
17949
+  (eval $ac_compile) 2>conftest.er1
 
17950
+  ac_status=$?
 
17951
+  grep -v '^ *+' conftest.er1 >conftest.err
 
17952
+  rm -f conftest.er1
 
17953
+  cat conftest.err >&5
 
17954
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17955
+  (exit $ac_status); } &&
 
17956
+        { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
 
17957
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17958
+  (eval $ac_try) 2>&5
 
17959
+  ac_status=$?
 
17960
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17961
+  (exit $ac_status); }; } &&
 
17962
+        { ac_try='test -s conftest.$ac_objext'
 
17963
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17964
+  (eval $ac_try) 2>&5
 
17965
+  ac_status=$?
 
17966
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17967
+  (exit $ac_status); }; }; then
 
17968
+  ac_compiler_gnu=yes
 
17969
+else
 
17970
+  echo "$as_me: failed program was:" >&5
 
17971
+sed 's/^/| /' conftest.$ac_ext >&5
 
17972
 
 
17973
-    # It seems that -bexpall can do strange things, so it is better to
 
17974
-    # generate a list of symbols to export.
 
17975
-    always_export_symbols=yes
 
17976
-    if test "$aix_use_runtimelinking" = yes; then
 
17977
-      # Warning - without using the other runtime loading flags (-brtl),
 
17978
-      # -berok will link without error, but may produce a broken library.
 
17979
-      allow_undefined_flag='-berok'
 
17980
-      hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
 
17981
-      archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
17982
-    else
 
17983
-      if test "$host_cpu" = ia64; then
 
17984
-       hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
17985
-       allow_undefined_flag="-z nodefs"
 
17986
-       archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
17987
-      else
 
17988
-       hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
 
17989
-       # Warning - without using the other run time loading flags,
 
17990
-       # -berok will link without error, but may produce a broken library.
 
17991
-       allow_undefined_flag='${wl}-berok'
 
17992
-       # This is a bit strange, but is similar to how AIX traditionally builds
 
17993
-       # it's shared libraries.
 
17994
-       archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
 
17995
-      fi
 
17996
-    fi
 
17997
-    ;;
 
17998
+ac_compiler_gnu=no
 
17999
+fi
 
18000
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
18001
+ac_cv_f77_compiler_gnu=$ac_compiler_gnu
 
18002
 
 
18003
-  amigaos*)
 
18004
-    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)'
 
18005
-    hardcode_libdir_flag_spec='-L$libdir'
 
18006
-    hardcode_minus_L=yes
 
18007
-    # see comment about different semantics on the GNU ld section
 
18008
-    ld_shlibs=no
 
18009
-    ;;
 
18010
+fi
 
18011
+echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
18012
+echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
18013
+ac_ext=$ac_save_ext
 
18014
+ac_test_FFLAGS=${FFLAGS+set}
 
18015
+ac_save_FFLAGS=$FFLAGS
 
18016
+FFLAGS=
 
18017
+echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
18018
+echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
18019
+if test "${ac_cv_prog_f77_g+set}" = set; then
 
18020
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18021
+else
 
18022
+  FFLAGS=-g
 
18023
+cat >conftest.$ac_ext <<_ACEOF
 
18024
+      program main
 
18025
 
 
18026
-  cygwin* | mingw* | pw32*)
 
18027
-    # When not using gcc, we currently assume that we are using
 
18028
-    # Microsoft Visual C++.
 
18029
-    # hardcode_libdir_flag_spec is actually meaningless, as there is
 
18030
-    # no search path for DLLs.
 
18031
-    hardcode_libdir_flag_spec=' '
 
18032
-    allow_undefined_flag=unsupported
 
18033
-    # Tell ltmain to make .lib files, not .a files.
 
18034
-    libext=lib
 
18035
-    # FIXME: Setting linknames here is a bad hack.
 
18036
-    archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
18037
-    # The linker will automatically build a .lib file if we build a DLL.
 
18038
-    old_archive_from_new_cmds='true'
 
18039
-    # FIXME: Should let the user specify the lib program.
 
18040
-    old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
18041
-    fix_srcfile_path='`cygpath -w "$srcfile"`'
 
18042
-    ;;
 
18043
+      end
 
18044
+_ACEOF
 
18045
+rm -f conftest.$ac_objext
 
18046
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
18047
+  (eval $ac_compile) 2>conftest.er1
 
18048
+  ac_status=$?
 
18049
+  grep -v '^ *+' conftest.er1 >conftest.err
 
18050
+  rm -f conftest.er1
 
18051
+  cat conftest.err >&5
 
18052
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18053
+  (exit $ac_status); } &&
 
18054
+        { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
 
18055
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18056
+  (eval $ac_try) 2>&5
 
18057
+  ac_status=$?
 
18058
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18059
+  (exit $ac_status); }; } &&
 
18060
+        { ac_try='test -s conftest.$ac_objext'
 
18061
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18062
+  (eval $ac_try) 2>&5
 
18063
+  ac_status=$?
 
18064
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18065
+  (exit $ac_status); }; }; then
 
18066
+  ac_cv_prog_f77_g=yes
 
18067
+else
 
18068
+  echo "$as_me: failed program was:" >&5
 
18069
+sed 's/^/| /' conftest.$ac_ext >&5
 
18070
 
 
18071
-  darwin* | rhapsody*)
 
18072
-    case "$host_os" in
 
18073
-    rhapsody* | darwin1.[012])
 
18074
-      allow_undefined_flag='-undefined suppress'
 
18075
-      ;;
 
18076
-    *) # Darwin 1.3 on
 
18077
-      allow_undefined_flag='-flat_namespace -undefined suppress'
 
18078
-      ;;
 
18079
-    esac
 
18080
-    # FIXME: Relying on posixy $() will cause problems for
 
18081
-    #        cross-compilation, but unfortunately the echo tests do not
 
18082
-    #        yet detect zsh echo's removal of \ escapes.
 
18083
-    archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
 
18084
-    # We need to add '_' to the symbols in $export_symbols first
 
18085
-    #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
 
18086
-    hardcode_direct=yes
 
18087
-    hardcode_shlibpath_var=no
 
18088
-    whole_archive_flag_spec='-all_load $convenience'
 
18089
-    ;;
 
18090
+ac_cv_prog_f77_g=no
 
18091
+fi
 
18092
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
18093
 
 
18094
-  freebsd1*)
 
18095
-    ld_shlibs=no
 
18096
-    ;;
 
18097
+fi
 
18098
+echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
18099
+echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
18100
+if test "$ac_test_FFLAGS" = set; then
 
18101
+  FFLAGS=$ac_save_FFLAGS
 
18102
+elif test $ac_cv_prog_f77_g = yes; then
 
18103
+  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 
18104
+    FFLAGS="-g -O2"
 
18105
+  else
 
18106
+    FFLAGS="-g"
 
18107
+  fi
 
18108
+else
 
18109
+  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 
18110
+    FFLAGS="-O2"
 
18111
+  else
 
18112
+    FFLAGS=
 
18113
+  fi
 
18114
+fi
 
18115
 
 
18116
-  # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
18117
-  # support.  Future versions do this automatically, but an explicit c++rt0.o
 
18118
-  # does not break anything, and helps significantly (at the cost of a little
 
18119
-  # extra space).
 
18120
-  freebsd2.2*)
 
18121
-    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
18122
-    hardcode_libdir_flag_spec='-R$libdir'
 
18123
-    hardcode_direct=yes
 
18124
-    hardcode_shlibpath_var=no
 
18125
-    ;;
 
18126
+G77=`test $ac_compiler_gnu = yes && echo yes`
 
18127
+ac_ext=c
 
18128
+ac_cpp='$CPP $CPPFLAGS'
 
18129
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
18130
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
18131
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
18132
 
 
18133
-  # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
18134
-  freebsd2*)
 
18135
-    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
18136
-    hardcode_direct=yes
 
18137
-    hardcode_minus_L=yes
 
18138
-    hardcode_shlibpath_var=no
 
18139
-    ;;
 
18140
 
 
18141
-  # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
18142
-  freebsd*)
 
18143
-    archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
18144
-    hardcode_libdir_flag_spec='-R$libdir'
 
18145
-    hardcode_direct=yes
 
18146
-    hardcode_shlibpath_var=no
 
18147
-    ;;
 
18148
 
 
18149
-  hpux9* | hpux10* | hpux11*)
 
18150
-    case $host_os in
 
18151
-    hpux9*) 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' ;;
 
18152
-    *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
 
18153
-    esac
 
18154
-    hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
18155
-    hardcode_libdir_separator=:
 
18156
-    hardcode_direct=yes
 
18157
-    hardcode_minus_L=yes # Not in the search PATH, but as the default
 
18158
-                        # location of the library.
 
18159
-    export_dynamic_flag_spec='${wl}-E'
 
18160
-    ;;
 
18161
+# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
 
18162
 
 
18163
-  irix5* | irix6*)
 
18164
-    if test "$GCC" = yes; then
 
18165
-      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'
 
18166
-    else
 
18167
-      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'
 
18168
-    fi
 
18169
-    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
18170
-    hardcode_libdir_separator=:
 
18171
-    link_all_deplibs=yes
 
18172
-    ;;
 
18173
+# find the maximum length of command line arguments
 
18174
+echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
18175
+echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
18176
+if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
18177
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18178
+else
 
18179
+    i=0
 
18180
+  teststring="ABCD"
 
18181
 
 
18182
-  netbsd*)
 
18183
-    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
18184
-      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
18185
-    else
 
18186
-      archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
18187
-    fi
 
18188
-    hardcode_libdir_flag_spec='-R$libdir'
 
18189
-    hardcode_direct=yes
 
18190
-    hardcode_shlibpath_var=no
 
18191
+  case $build_os in
 
18192
+  msdosdjgpp*)
 
18193
+    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
18194
+    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
18195
+    # during glob expansion).  Even if it were fixed, the result of this
 
18196
+    # check would be larger than it should be.
 
18197
+    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
18198
     ;;
 
18199
 
 
18200
-  newsos6)
 
18201
-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
18202
-    hardcode_direct=yes
 
18203
-    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
18204
-    hardcode_libdir_separator=:
 
18205
-    hardcode_shlibpath_var=no
 
18206
+  gnu*)
 
18207
+    # Under GNU Hurd, this test is not required because there is
 
18208
+    # no limit to the length of command line arguments.
 
18209
+    # Libtool will interpret -1 as no limit whatsoever
 
18210
+    lt_cv_sys_max_cmd_len=-1;
 
18211
     ;;
 
18212
 
 
18213
-  openbsd*)
 
18214
-    hardcode_direct=yes
 
18215
-    hardcode_shlibpath_var=no
 
18216
-    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
18217
-      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
 
18218
-      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
18219
-      export_dynamic_flag_spec='${wl}-E'
 
18220
-    else
 
18221
-      case "$host_os" in
 
18222
-      openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
18223
-       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
18224
-       hardcode_libdir_flag_spec='-R$libdir'
 
18225
-        ;;
 
18226
-      *)
 
18227
-        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
 
18228
-        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
18229
-        ;;
 
18230
-      esac
 
18231
-    fi
 
18232
+  cygwin* | mingw*)
 
18233
+    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
18234
+    # about 5 minutes as the teststring grows exponentially.
 
18235
+    # Worse, since 9x/ME are not pre-emptively multitasking,
 
18236
+    # you end up with a "frozen" computer, even though with patience
 
18237
+    # the test eventually succeeds (with a max line length of 256k).
 
18238
+    # Instead, let's just punt: use the minimum linelength reported by
 
18239
+    # all of the supported platforms: 8192 (on NT/2K/XP).
 
18240
+    lt_cv_sys_max_cmd_len=8192;
 
18241
     ;;
 
18242
 
 
18243
-  os2*)
 
18244
-    hardcode_libdir_flag_spec='-L$libdir'
 
18245
-    hardcode_minus_L=yes
 
18246
-    allow_undefined_flag=unsupported
 
18247
-    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'
 
18248
-    old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
18249
+  amigaos*)
 
18250
+    # On AmigaOS with pdksh, this test takes hours, literally.
 
18251
+    # So we just punt and use a minimum line length of 8192.
 
18252
+    lt_cv_sys_max_cmd_len=8192;
 
18253
     ;;
 
18254
 
 
18255
-  osf3*)
 
18256
-    if test "$GCC" = yes; then
 
18257
-      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
18258
-      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'
 
18259
-    else
 
18260
-      allow_undefined_flag=' -expect_unresolved \*'
 
18261
-      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'
 
18262
-    fi
 
18263
-    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
18264
-    hardcode_libdir_separator=:
 
18265
+ *)
 
18266
+    # If test is not a shell built-in, we'll probably end up computing a
 
18267
+    # maximum length that is only half of the actual maximum length, but
 
18268
+    # we can't tell.
 
18269
+    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
18270
+              = "XX$teststring") >/dev/null 2>&1 &&
 
18271
+           new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
18272
+           lt_cv_sys_max_cmd_len=$new_result &&
 
18273
+           test $i != 17 # 1/2 MB should be enough
 
18274
+    do
 
18275
+      i=`expr $i + 1`
 
18276
+      teststring=$teststring$teststring
 
18277
+    done
 
18278
+    teststring=
 
18279
+    # Add a significant safety factor because C++ compilers can tack on massive
 
18280
+    # amounts of additional arguments before passing them to the linker.
 
18281
+    # It appears as though 1/2 is a usable value.
 
18282
+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
18283
     ;;
 
18284
+  esac
 
18285
 
 
18286
-  osf4* | osf5*)       # as osf3* with the addition of -msym flag
 
18287
-    if test "$GCC" = yes; then
 
18288
-      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
18289
-      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'
 
18290
-      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
18291
-    else
 
18292
-      allow_undefined_flag=' -expect_unresolved \*'
 
18293
-      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'
 
18294
-      archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
 
18295
-      $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
18296
+fi
 
18297
 
 
18298
-      #Both c and cxx compiler support -rpath directly
 
18299
-      hardcode_libdir_flag_spec='-rpath $libdir'
 
18300
-    fi
 
18301
-    hardcode_libdir_separator=:
 
18302
-    ;;
 
18303
+if test -n $lt_cv_sys_max_cmd_len ; then
 
18304
+  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
18305
+echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
18306
+else
 
18307
+  echo "$as_me:$LINENO: result: none" >&5
 
18308
+echo "${ECHO_T}none" >&6
 
18309
+fi
 
18310
 
 
18311
-  sco3.2v5*)
 
18312
-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
18313
-    hardcode_shlibpath_var=no
 
18314
-    runpath_var=LD_RUN_PATH
 
18315
-    hardcode_runpath_var=yes
 
18316
-    export_dynamic_flag_spec='${wl}-Bexport'
 
18317
-    ;;
 
18318
 
 
18319
-  solaris*)
 
18320
-    # gcc --version < 3.0 without binutils cannot create self contained
 
18321
-    # shared libraries reliably, requiring libgcc.a to resolve some of
 
18322
-    # the object symbols generated in some cases.  Libraries that use
 
18323
-    # assert need libgcc.a to resolve __eprintf, for example.  Linking
 
18324
-    # a copy of libgcc.a into every shared library to guarantee resolving
 
18325
-    # such symbols causes other problems:  According to Tim Van Holder
 
18326
-    # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
 
18327
-    # (to the application) exception stack for one thing.
 
18328
-    no_undefined_flag=' -z defs'
 
18329
-    if test "$GCC" = yes; then
 
18330
-      case `$CC --version 2>/dev/null` in
 
18331
-      [12].*)
 
18332
-       cat <<EOF 1>&2
 
18333
 
 
18334
-*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
 
18335
-*** create self contained shared libraries on Solaris systems, without
 
18336
-*** introducing a dependency on libgcc.a.  Therefore, libtool is disabling
 
18337
-*** -no-undefined support, which will at least allow you to build shared
 
18338
-*** libraries.  However, you may find that when you link such libraries
 
18339
-*** into an application without using GCC, you have to manually add
 
18340
-*** \`gcc --print-libgcc-file-name\` to the link command.  We urge you to
 
18341
-*** upgrade to a newer version of GCC.  Another option is to rebuild your
 
18342
-*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
 
18343
 
 
18344
-EOF
 
18345
-        no_undefined_flag=
 
18346
-       ;;
 
18347
-      esac
 
18348
-    fi
 
18349
-    # $CC -shared without GNU ld will not create a library from C++
 
18350
-    # object files and a static libstdc++, better avoid it by now
 
18351
-    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
18352
-    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
18353
-               $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
18354
-    hardcode_libdir_flag_spec='-R$libdir'
 
18355
-    hardcode_shlibpath_var=no
 
18356
-    case $host_os in
 
18357
-    solaris2.[0-5] | solaris2.[0-5].*) ;;
 
18358
-    *) # Supported since Solaris 2.6 (maybe 2.5.1?)
 
18359
-      whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
 
18360
-    esac
 
18361
-    link_all_deplibs=yes
 
18362
-    ;;
 
18363
+# Check for command to grab the raw symbol name followed by C symbol from nm.
 
18364
+echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
18365
+echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
18366
+if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
18367
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18368
+else
 
18369
 
 
18370
-  sunos4*)
 
18371
-    if test "x$host_vendor" = xsequent; then
 
18372
-      # Use $CC to link under sequent, because it throws in some extra .o
 
18373
-      # files that make .init and .fini sections work.
 
18374
-      archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
18375
-    else
 
18376
-      archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
18377
-    fi
 
18378
-    hardcode_libdir_flag_spec='-L$libdir'
 
18379
-    hardcode_direct=yes
 
18380
-    hardcode_minus_L=yes
 
18381
-    hardcode_shlibpath_var=no
 
18382
-    ;;
 
18383
+# These are sane defaults that work on at least a few old systems.
 
18384
+# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
18385
 
 
18386
-  sysv4)
 
18387
-    if test "x$host_vendor" = xsno; then
 
18388
-      archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
18389
-      hardcode_direct=yes # is this really true???
 
18390
-    else
 
18391
-      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
18392
-      hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
18393
-    fi
 
18394
-    runpath_var='LD_RUN_PATH'
 
18395
-    hardcode_shlibpath_var=no
 
18396
-    ;;
 
18397
+# Character class describing NM global symbol codes.
 
18398
+symcode='[BCDEGRST]'
 
18399
 
 
18400
-  sysv4.3*)
 
18401
-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
18402
-    hardcode_shlibpath_var=no
 
18403
-    export_dynamic_flag_spec='-Bexport'
 
18404
-    ;;
 
18405
-
 
18406
-  sysv5*)
 
18407
-    no_undefined_flag=' -z text'
 
18408
-    # $CC -shared without GNU ld will not create a library from C++
 
18409
-    # object files and a static libstdc++, better avoid it by now
 
18410
-    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
18411
-    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
18412
-               $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
18413
-    hardcode_libdir_flag_spec=
 
18414
-    hardcode_shlibpath_var=no
 
18415
-    runpath_var='LD_RUN_PATH'
 
18416
-    ;;
 
18417
-
 
18418
-  uts4*)
 
18419
-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
18420
-    hardcode_libdir_flag_spec='-L$libdir'
 
18421
-    hardcode_shlibpath_var=no
 
18422
-    ;;
 
18423
+# Regexp to match symbols that can be accessed directly from C.
 
18424
+sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
18425
 
 
18426
-  dgux*)
 
18427
-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
18428
-    hardcode_libdir_flag_spec='-L$libdir'
 
18429
-    hardcode_shlibpath_var=no
 
18430
-    ;;
 
18431
+# Transform the above into a raw symbol and a C symbol.
 
18432
+symxfrm='\1 \2\3 \3'
 
18433
 
 
18434
-  sysv4*MP*)
 
18435
-    if test -d /usr/nec; then
 
18436
-      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
18437
-      hardcode_shlibpath_var=no
 
18438
-      runpath_var=LD_RUN_PATH
 
18439
-      hardcode_runpath_var=yes
 
18440
-      ld_shlibs=yes
 
18441
-    fi
 
18442
-    ;;
 
18443
+# Transform an extracted symbol line into a proper C declaration
 
18444
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
 
18445
 
 
18446
-  sysv4.2uw2*)
 
18447
-    archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
18448
-    hardcode_direct=yes
 
18449
-    hardcode_minus_L=no
 
18450
-    hardcode_shlibpath_var=no
 
18451
-    hardcode_runpath_var=yes
 
18452
-    runpath_var=LD_RUN_PATH
 
18453
-    ;;
 
18454
+# Transform an extracted symbol line into symbol name and symbol address
 
18455
+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'"
 
18456
 
 
18457
-  sysv5uw7* | unixware7*)
 
18458
-    no_undefined_flag='${wl}-z ${wl}text'
 
18459
-    if test "$GCC" = yes; then
 
18460
-      archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18461
-    else
 
18462
-      archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18463
-    fi
 
18464
-    runpath_var='LD_RUN_PATH'
 
18465
-    hardcode_shlibpath_var=no
 
18466
-    ;;
 
18467
+# Define system-specific variables.
 
18468
+case $host_os in
 
18469
+aix*)
 
18470
+  symcode='[BCDT]'
 
18471
+  ;;
 
18472
+cygwin* | mingw* | pw32*)
 
18473
+  symcode='[ABCDGISTW]'
 
18474
+  ;;
 
18475
+hpux*) # Its linker distinguishes data from code symbols
 
18476
+  if test "$host_cpu" = ia64; then
 
18477
+    symcode='[ABCDEGRST]'
 
18478
+  fi
 
18479
+  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
18480
+  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'"
 
18481
+  ;;
 
18482
+irix* | nonstopux*)
 
18483
+  symcode='[BCDEGRST]'
 
18484
+  ;;
 
18485
+osf*)
 
18486
+  symcode='[BCDEGQRST]'
 
18487
+  ;;
 
18488
+solaris* | sysv5*)
 
18489
+  symcode='[BDRT]'
 
18490
+  ;;
 
18491
+sysv4)
 
18492
+  symcode='[DFNSTU]'
 
18493
+  ;;
 
18494
+esac
 
18495
 
 
18496
-  *)
 
18497
-    ld_shlibs=no
 
18498
-    ;;
 
18499
-  esac
 
18500
-fi
 
18501
-echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
18502
-echo "${ECHO_T}$ld_shlibs" >&6
 
18503
-test "$ld_shlibs" = no && can_build_shared=no
 
18504
+# Handle CRLF in mingw tool chain
 
18505
+opt_cr=
 
18506
+case $build_os in
 
18507
+mingw*)
 
18508
+  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
18509
+  ;;
 
18510
+esac
 
18511
 
 
18512
-# Check hardcoding attributes.
 
18513
-echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
18514
-echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
18515
-hardcode_action=
 
18516
-if test -n "$hardcode_libdir_flag_spec" || \
 
18517
-   test -n "$runpath_var"; then
 
18518
+# If we're using GNU nm, then use its standard symbol codes.
 
18519
+case `$NM -V 2>&1` in
 
18520
+*GNU* | *'with BFD'*)
 
18521
+  symcode='[ABCDGIRSTW]' ;;
 
18522
+esac
 
18523
 
 
18524
-  # We can hardcode non-existant directories.
 
18525
-  if test "$hardcode_direct" != no &&
 
18526
-     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
18527
-     # have to relink, otherwise we might link with an installed library
 
18528
-     # when we should be linking with a yet-to-be-installed one
 
18529
-     ## test "$hardcode_shlibpath_var" != no &&
 
18530
-     test "$hardcode_minus_L" != no; then
 
18531
-    # Linking always hardcodes the temporary library directory.
 
18532
-    hardcode_action=relink
 
18533
+# Try without a prefix undercore, then with it.
 
18534
+for ac_symprfx in "" "_"; do
 
18535
+
 
18536
+  # Write the raw and C identifiers.
 
18537
+  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
 
18538
+
 
18539
+  # Check to see that the pipe works correctly.
 
18540
+  pipe_works=no
 
18541
+
 
18542
+  rm -f conftest*
 
18543
+  cat > conftest.$ac_ext <<EOF
 
18544
+#ifdef __cplusplus
 
18545
+extern "C" {
 
18546
+#endif
 
18547
+char nm_test_var;
 
18548
+void nm_test_func(){}
 
18549
+#ifdef __cplusplus
 
18550
+}
 
18551
+#endif
 
18552
+int main(){nm_test_var='a';nm_test_func();return(0);}
 
18553
+EOF
 
18554
+
 
18555
+  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
18556
+  (eval $ac_compile) 2>&5
 
18557
+  ac_status=$?
 
18558
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18559
+  (exit $ac_status); }; then
 
18560
+    # Now try to grab the symbols.
 
18561
+    nlist=conftest.nm
 
18562
+    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
18563
+  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
18564
+  ac_status=$?
 
18565
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18566
+  (exit $ac_status); } && test -s "$nlist"; then
 
18567
+      # Try sorting and uniquifying the output.
 
18568
+      if sort "$nlist" | uniq > "$nlist"T; then
 
18569
+       mv -f "$nlist"T "$nlist"
 
18570
+      else
 
18571
+       rm -f "$nlist"T
 
18572
+      fi
 
18573
+
 
18574
+      # Make sure that we snagged all the symbols we need.
 
18575
+      if grep ' nm_test_var$' "$nlist" >/dev/null; then
 
18576
+       if grep ' nm_test_func$' "$nlist" >/dev/null; then
 
18577
+         cat <<EOF > conftest.$ac_ext
 
18578
+#ifdef __cplusplus
 
18579
+extern "C" {
 
18580
+#endif
 
18581
+
 
18582
+EOF
 
18583
+         # Now generate the symbol file.
 
18584
+         eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
 
18585
+
 
18586
+         cat <<EOF >> conftest.$ac_ext
 
18587
+#if defined (__STDC__) && __STDC__
 
18588
+# define lt_ptr_t void *
 
18589
+#else
 
18590
+# define lt_ptr_t char *
 
18591
+# define const
 
18592
+#endif
 
18593
+
 
18594
+/* The mapping between symbol names and symbols. */
 
18595
+const struct {
 
18596
+  const char *name;
 
18597
+  lt_ptr_t address;
 
18598
+}
 
18599
+lt_preloaded_symbols[] =
 
18600
+{
 
18601
+EOF
 
18602
+         $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
 
18603
+         cat <<\EOF >> conftest.$ac_ext
 
18604
+  {0, (lt_ptr_t) 0}
 
18605
+};
 
18606
+
 
18607
+#ifdef __cplusplus
 
18608
+}
 
18609
+#endif
 
18610
+EOF
 
18611
+         # Now try linking the two files.
 
18612
+         mv conftest.$ac_objext conftstm.$ac_objext
 
18613
+         lt_save_LIBS="$LIBS"
 
18614
+         lt_save_CFLAGS="$CFLAGS"
 
18615
+         LIBS="conftstm.$ac_objext"
 
18616
+         CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
18617
+         if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
18618
+  (eval $ac_link) 2>&5
 
18619
+  ac_status=$?
 
18620
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18621
+  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
18622
+           pipe_works=yes
 
18623
+         fi
 
18624
+         LIBS="$lt_save_LIBS"
 
18625
+         CFLAGS="$lt_save_CFLAGS"
 
18626
+       else
 
18627
+         echo "cannot find nm_test_func in $nlist" >&5
 
18628
+       fi
 
18629
+      else
 
18630
+       echo "cannot find nm_test_var in $nlist" >&5
 
18631
+      fi
 
18632
+    else
 
18633
+      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
18634
+    fi
 
18635
   else
 
18636
-    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
18637
-    hardcode_action=immediate
 
18638
+    echo "$progname: failed program was:" >&5
 
18639
+    cat conftest.$ac_ext >&5
 
18640
+  fi
 
18641
+  rm -f conftest* conftst*
 
18642
+
 
18643
+  # Do not use the global_symbol_pipe unless it works.
 
18644
+  if test "$pipe_works" = yes; then
 
18645
+    break
 
18646
+  else
 
18647
+    lt_cv_sys_global_symbol_pipe=
 
18648
   fi
 
18649
+done
 
18650
+
 
18651
+fi
 
18652
+
 
18653
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
18654
+  lt_cv_sys_global_symbol_to_cdecl=
 
18655
+fi
 
18656
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
18657
+  echo "$as_me:$LINENO: result: failed" >&5
 
18658
+echo "${ECHO_T}failed" >&6
 
18659
 else
 
18660
-  # We cannot hardcode anything, or else we can only hardcode existing
 
18661
-  # directories.
 
18662
-  hardcode_action=unsupported
 
18663
+  echo "$as_me:$LINENO: result: ok" >&5
 
18664
+echo "${ECHO_T}ok" >&6
 
18665
 fi
 
18666
-echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
18667
-echo "${ECHO_T}$hardcode_action" >&6
 
18668
 
 
18669
-striplib=
 
18670
-old_striplib=
 
18671
-echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
18672
-echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
18673
-if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
 
18674
-  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
18675
-  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
18676
-  echo "$as_me:$LINENO: result: yes" >&5
 
18677
-echo "${ECHO_T}yes" >&6
 
18678
+echo "$as_me:$LINENO: checking for objdir" >&5
 
18679
+echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
18680
+if test "${lt_cv_objdir+set}" = set; then
 
18681
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18682
 else
 
18683
-  echo "$as_me:$LINENO: result: no" >&5
 
18684
-echo "${ECHO_T}no" >&6
 
18685
+  rm -f .libs 2>/dev/null
 
18686
+mkdir .libs 2>/dev/null
 
18687
+if test -d .libs; then
 
18688
+  lt_cv_objdir=.libs
 
18689
+else
 
18690
+  # MS-DOS does not allow filenames that begin with a dot.
 
18691
+  lt_cv_objdir=_libs
 
18692
+fi
 
18693
+rmdir .libs 2>/dev/null
 
18694
 fi
 
18695
+echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
18696
+echo "${ECHO_T}$lt_cv_objdir" >&6
 
18697
+objdir=$lt_cv_objdir
 
18698
 
 
18699
-reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
18700
-test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
18701
 
 
18702
-# PORTME Fill in your ld.so characteristics
 
18703
-echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
18704
-echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
18705
-library_names_spec=
 
18706
-libname_spec='lib$name'
 
18707
-soname_spec=
 
18708
-postinstall_cmds=
 
18709
-postuninstall_cmds=
 
18710
-finish_cmds=
 
18711
-finish_eval=
 
18712
-shlibpath_var=
 
18713
-shlibpath_overrides_runpath=unknown
 
18714
-version_type=none
 
18715
-dynamic_linker="$host_os ld.so"
 
18716
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
18717
-sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
18718
 
 
18719
-case $host_os in
 
18720
-aix3*)
 
18721
-  version_type=linux
 
18722
-  library_names_spec='${libname}${release}.so$versuffix $libname.a'
 
18723
-  shlibpath_var=LIBPATH
 
18724
 
 
18725
-  # AIX has no versioning support, so we append a major version to the name.
 
18726
-  soname_spec='${libname}${release}.so$major'
 
18727
-  ;;
 
18728
 
 
18729
-aix4* | aix5*)
 
18730
-  version_type=linux
 
18731
-  if test "$host_cpu" = ia64; then
 
18732
-    # AIX 5 supports IA64
 
18733
-    library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
 
18734
-    shlibpath_var=LD_LIBRARY_PATH
 
18735
-  else
 
18736
-    # With GCC up to 2.95.x, collect2 would create an import file
 
18737
-    # for dependence libraries.  The import file would start with
 
18738
-    # the line `#! .'.  This would cause the generated library to
 
18739
-    # depend on `.', always an invalid library.  This was fixed in
 
18740
-    # development snapshots of GCC prior to 3.0.
 
18741
-    case $host_os in
 
18742
-      aix4 | aix4.[01] | aix4.[01].*)
 
18743
-       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
18744
-            echo ' yes '
 
18745
-            echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
18746
-         :
 
18747
-       else
 
18748
-         can_build_shared=no
 
18749
-       fi
 
18750
-       ;;
 
18751
-    esac
 
18752
-    # AIX (on Power*) has no versioning support, so currently we can
 
18753
-    # not hardcode correct soname into executable. Probably we can
 
18754
-    # add versioning support to collect2, so additional links can
 
18755
-    # be useful in future.
 
18756
-    if test "$aix_use_runtimelinking" = yes; then
 
18757
-      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
18758
-      # instead of lib<name>.a to let people know that these are not
 
18759
-      # typical AIX shared libraries.
 
18760
-      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
 
18761
-    else
 
18762
-      # We preserve .a as extension for shared libraries through AIX4.2
 
18763
-      # and later when we are not doing run time linking.
 
18764
-      library_names_spec='${libname}${release}.a $libname.a'
 
18765
-      soname_spec='${libname}${release}.so$major'
 
18766
-    fi
 
18767
-    shlibpath_var=LIBPATH
 
18768
+case $host_os in
 
18769
+aix3*)
 
18770
+  # AIX sometimes has problems with the GCC collect2 program.  For some
 
18771
+  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
18772
+  # vanish in a puff of smoke.
 
18773
+  if test "X${COLLECT_NAMES+set}" != Xset; then
 
18774
+    COLLECT_NAMES=
 
18775
+    export COLLECT_NAMES
 
18776
   fi
 
18777
   ;;
 
18778
+esac
 
18779
 
 
18780
-amigaos*)
 
18781
-  library_names_spec='$libname.ixlibrary $libname.a'
 
18782
-  # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
18783
-  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'
 
18784
-  ;;
 
18785
+# Sed substitution that helps us do robust quoting.  It backslashifies
 
18786
+# metacharacters that are still active within double-quoted strings.
 
18787
+Xsed='sed -e s/^X//'
 
18788
+sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
 
18789
 
 
18790
-beos*)
 
18791
-  library_names_spec='${libname}.so'
 
18792
-  dynamic_linker="$host_os ld.so"
 
18793
-  shlibpath_var=LIBRARY_PATH
 
18794
-  ;;
 
18795
+# Same as above, but do not quote variable references.
 
18796
+double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
 
18797
 
 
18798
-bsdi4*)
 
18799
-  version_type=linux
 
18800
-  need_version=no
 
18801
-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
 
18802
-  soname_spec='${libname}${release}.so$major'
 
18803
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
18804
-  shlibpath_var=LD_LIBRARY_PATH
 
18805
-  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
18806
-  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
18807
-  export_dynamic_flag_spec=-rdynamic
 
18808
-  # the default ld.so.conf also contains /usr/contrib/lib and
 
18809
-  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
18810
-  # libtool to hard-code these into programs
 
18811
-  ;;
 
18812
+# Sed substitution to delay expansion of an escaped shell variable in a
 
18813
+# double_quote_subst'ed string.
 
18814
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
18815
 
 
18816
-cygwin* | mingw* | pw32*)
 
18817
-  version_type=windows
 
18818
-  need_version=no
 
18819
-  need_lib_prefix=no
 
18820
-  case $GCC,$host_os in
 
18821
-  yes,cygwin*)
 
18822
-    library_names_spec='$libname.dll.a'
 
18823
-    soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
 
18824
-    postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
 
18825
-      dldir=$destdir/`dirname \$dlpath`~
 
18826
-      test -d \$dldir || mkdir -p \$dldir~
 
18827
-      $install_prog .libs/$dlname \$dldir/$dlname'
 
18828
-    postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
18829
-      dlpath=$dir/\$dldll~
 
18830
-       $rm \$dlpath'
 
18831
-    ;;
 
18832
-  yes,mingw*)
 
18833
-    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
 
18834
-    sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
 
18835
-    ;;
 
18836
-  yes,pw32*)
 
18837
-    library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
 
18838
-    ;;
 
18839
-  *)
 
18840
-    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
 
18841
-    ;;
 
18842
-  esac
 
18843
-  dynamic_linker='Win32 ld.exe'
 
18844
-  # FIXME: first we should search . and the directory the executable is in
 
18845
-  shlibpath_var=PATH
 
18846
-  ;;
 
18847
+# Sed substitution to avoid accidental globbing in evaled expressions
 
18848
+no_glob_subst='s/\*/\\\*/g'
 
18849
 
 
18850
-darwin* | rhapsody*)
 
18851
-  dynamic_linker="$host_os dyld"
 
18852
-  version_type=darwin
 
18853
-  need_lib_prefix=no
 
18854
-  need_version=no
 
18855
-  # FIXME: Relying on posixy $() will cause problems for
 
18856
-  #        cross-compilation, but unfortunately the echo tests do not
 
18857
-  #        yet detect zsh echo's removal of \ escapes.
 
18858
-  library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
 
18859
-  soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
 
18860
-  shlibpath_overrides_runpath=yes
 
18861
-  shlibpath_var=DYLD_LIBRARY_PATH
 
18862
-  ;;
 
18863
+# Constants:
 
18864
+rm="rm -f"
 
18865
 
 
18866
-freebsd1*)
 
18867
-  dynamic_linker=no
 
18868
-  ;;
 
18869
+# Global variables:
 
18870
+default_ofile=libtool
 
18871
+can_build_shared=yes
 
18872
 
 
18873
-freebsd*)
 
18874
-  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
18875
-  version_type=freebsd-$objformat
 
18876
-  case $version_type in
 
18877
-    freebsd-elf*)
 
18878
-      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
 
18879
-      need_version=no
 
18880
-      need_lib_prefix=no
 
18881
-      ;;
 
18882
-    freebsd-*)
 
18883
-      library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
 
18884
-      need_version=yes
 
18885
-      ;;
 
18886
-  esac
 
18887
-  shlibpath_var=LD_LIBRARY_PATH
 
18888
-  case $host_os in
 
18889
-  freebsd2*)
 
18890
-    shlibpath_overrides_runpath=yes
 
18891
-    ;;
 
18892
-  *)
 
18893
-    shlibpath_overrides_runpath=no
 
18894
-    hardcode_into_libs=yes
 
18895
-    ;;
 
18896
-  esac
 
18897
-  ;;
 
18898
-
 
18899
-gnu*)
 
18900
-  version_type=linux
 
18901
-  need_lib_prefix=no
 
18902
-  need_version=no
 
18903
-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
 
18904
-  soname_spec='${libname}${release}.so$major'
 
18905
-  shlibpath_var=LD_LIBRARY_PATH
 
18906
-  hardcode_into_libs=yes
 
18907
-  ;;
 
18908
+# All known linkers require a `.a' archive for static linking (except M$VC,
 
18909
+# which needs '.lib').
 
18910
+libext=a
 
18911
+ltmain="$ac_aux_dir/ltmain.sh"
 
18912
+ofile="$default_ofile"
 
18913
+with_gnu_ld="$lt_cv_prog_gnu_ld"
 
18914
 
 
18915
-hpux9* | hpux10* | hpux11*)
 
18916
-  # Give a soname corresponding to the major version so that dld.sl refuses to
 
18917
-  # link against other versions.
 
18918
-  dynamic_linker="$host_os dld.sl"
 
18919
-  version_type=sunos
 
18920
-  need_lib_prefix=no
 
18921
-  need_version=no
 
18922
-  shlibpath_var=SHLIB_PATH
 
18923
-  shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
18924
-  library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
 
18925
-  soname_spec='${libname}${release}.sl$major'
 
18926
-  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
18927
-  postinstall_cmds='chmod 555 $lib'
 
18928
-  ;;
 
18929
+if test -n "$ac_tool_prefix"; then
 
18930
+  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
18931
+set dummy ${ac_tool_prefix}ar; ac_word=$2
 
18932
+echo "$as_me:$LINENO: checking for $ac_word" >&5
 
18933
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
18934
+if test "${ac_cv_prog_AR+set}" = set; then
 
18935
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18936
+else
 
18937
+  if test -n "$AR"; then
 
18938
+  ac_cv_prog_AR="$AR" # Let the user override the test.
 
18939
+else
 
18940
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
18941
+for as_dir in $PATH
 
18942
+do
 
18943
+  IFS=$as_save_IFS
 
18944
+  test -z "$as_dir" && as_dir=.
 
18945
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
18946
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
18947
+    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
18948
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
18949
+    break 2
 
18950
+  fi
 
18951
+done
 
18952
+done
 
18953
 
 
18954
-irix5* | irix6*)
 
18955
-  version_type=irix
 
18956
-  need_lib_prefix=no
 
18957
-  need_version=no
 
18958
-  soname_spec='${libname}${release}.so$major'
 
18959
-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
 
18960
-  case $host_os in
 
18961
-  irix5*)
 
18962
-    libsuff= shlibsuff=
 
18963
-    ;;
 
18964
-  *)
 
18965
-    case $LD in # libtool.m4 will add one of these switches to LD
 
18966
-    *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
 
18967
-    *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
 
18968
-    *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
18969
-    *) libsuff= shlibsuff= libmagic=never-match;;
 
18970
-    esac
 
18971
-    ;;
 
18972
-  esac
 
18973
-  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
18974
-  shlibpath_overrides_runpath=no
 
18975
-  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
18976
-  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
18977
-  ;;
 
18978
+fi
 
18979
+fi
 
18980
+AR=$ac_cv_prog_AR
 
18981
+if test -n "$AR"; then
 
18982
+  echo "$as_me:$LINENO: result: $AR" >&5
 
18983
+echo "${ECHO_T}$AR" >&6
 
18984
+else
 
18985
+  echo "$as_me:$LINENO: result: no" >&5
 
18986
+echo "${ECHO_T}no" >&6
 
18987
+fi
 
18988
 
 
18989
-# No shared lib support for Linux oldld, aout, or coff.
 
18990
-linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
 
18991
-  dynamic_linker=no
 
18992
-  ;;
 
18993
+fi
 
18994
+if test -z "$ac_cv_prog_AR"; then
 
18995
+  ac_ct_AR=$AR
 
18996
+  # Extract the first word of "ar", so it can be a program name with args.
 
18997
+set dummy ar; ac_word=$2
 
18998
+echo "$as_me:$LINENO: checking for $ac_word" >&5
 
18999
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19000
+if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
19001
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19002
+else
 
19003
+  if test -n "$ac_ct_AR"; then
 
19004
+  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
19005
+else
 
19006
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
19007
+for as_dir in $PATH
 
19008
+do
 
19009
+  IFS=$as_save_IFS
 
19010
+  test -z "$as_dir" && as_dir=.
 
19011
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
19012
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19013
+    ac_cv_prog_ac_ct_AR="ar"
 
19014
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
19015
+    break 2
 
19016
+  fi
 
19017
+done
 
19018
+done
 
19019
 
 
19020
-# This must be Linux ELF.
 
19021
-linux-gnu*)
 
19022
-  version_type=linux
 
19023
-  need_lib_prefix=no
 
19024
-  need_version=no
 
19025
-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
 
19026
-  soname_spec='${libname}${release}.so$major'
 
19027
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
19028
-  shlibpath_var=LD_LIBRARY_PATH
 
19029
-  shlibpath_overrides_runpath=no
 
19030
-  # This implies no fast_install, which is unacceptable.
 
19031
-  # Some rework will be needed to allow for fast_install
 
19032
-  # before this can be enabled.
 
19033
-  hardcode_into_libs=yes
 
19034
+  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
 
19035
+fi
 
19036
+fi
 
19037
+ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
19038
+if test -n "$ac_ct_AR"; then
 
19039
+  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
19040
+echo "${ECHO_T}$ac_ct_AR" >&6
 
19041
+else
 
19042
+  echo "$as_me:$LINENO: result: no" >&5
 
19043
+echo "${ECHO_T}no" >&6
 
19044
+fi
 
19045
 
 
19046
-  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
19047
-  # powerpc, because MkLinux only supported shared libraries with the
 
19048
-  # GNU dynamic linker.  Since this was broken with cross compilers,
 
19049
-  # most powerpc-linux boxes support dynamic linking these days and
 
19050
-  # people can always --disable-shared, the test was removed, and we
 
19051
-  # assume the GNU/Linux dynamic linker is in use.
 
19052
-  dynamic_linker='GNU/Linux ld.so'
 
19053
-  ;;
 
19054
+  AR=$ac_ct_AR
 
19055
+else
 
19056
+  AR="$ac_cv_prog_AR"
 
19057
+fi
 
19058
 
 
19059
-netbsd*)
 
19060
-  version_type=sunos
 
19061
-  need_lib_prefix=no
 
19062
-  need_version=no
 
19063
-  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
19064
-    library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
 
19065
-    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
19066
-    dynamic_linker='NetBSD (a.out) ld.so'
 
19067
-  else
 
19068
-    library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
 
19069
-    soname_spec='${libname}${release}.so$major'
 
19070
-    dynamic_linker='NetBSD ld.elf_so'
 
19071
+if test -n "$ac_tool_prefix"; then
 
19072
+  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
19073
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
19074
+echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19075
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19076
+if test "${ac_cv_prog_RANLIB+set}" = set; then
 
19077
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19078
+else
 
19079
+  if test -n "$RANLIB"; then
 
19080
+  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
19081
+else
 
19082
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
19083
+for as_dir in $PATH
 
19084
+do
 
19085
+  IFS=$as_save_IFS
 
19086
+  test -z "$as_dir" && as_dir=.
 
19087
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
19088
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19089
+    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
19090
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
19091
+    break 2
 
19092
   fi
 
19093
-  shlibpath_var=LD_LIBRARY_PATH
 
19094
-  shlibpath_overrides_runpath=yes
 
19095
-  hardcode_into_libs=yes
 
19096
-  ;;
 
19097
+done
 
19098
+done
 
19099
 
 
19100
-newsos6)
 
19101
-  version_type=linux
 
19102
-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
 
19103
-  shlibpath_var=LD_LIBRARY_PATH
 
19104
-  shlibpath_overrides_runpath=yes
 
19105
-  ;;
 
19106
+fi
 
19107
+fi
 
19108
+RANLIB=$ac_cv_prog_RANLIB
 
19109
+if test -n "$RANLIB"; then
 
19110
+  echo "$as_me:$LINENO: result: $RANLIB" >&5
 
19111
+echo "${ECHO_T}$RANLIB" >&6
 
19112
+else
 
19113
+  echo "$as_me:$LINENO: result: no" >&5
 
19114
+echo "${ECHO_T}no" >&6
 
19115
+fi
 
19116
 
 
19117
-openbsd*)
 
19118
-  version_type=sunos
 
19119
-  need_lib_prefix=no
 
19120
-  need_version=no
 
19121
-  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
19122
-    case "$host_os" in
 
19123
-    openbsd2.[89] | openbsd2.[89].*)
 
19124
-      shlibpath_overrides_runpath=no
 
19125
-      ;;
 
19126
-    *)
 
19127
-      shlibpath_overrides_runpath=yes
 
19128
-      ;;
 
19129
-    esac
 
19130
-  else
 
19131
-    shlibpath_overrides_runpath=yes
 
19132
+fi
 
19133
+if test -z "$ac_cv_prog_RANLIB"; then
 
19134
+  ac_ct_RANLIB=$RANLIB
 
19135
+  # Extract the first word of "ranlib", so it can be a program name with args.
 
19136
+set dummy ranlib; ac_word=$2
 
19137
+echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19138
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19139
+if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
19140
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19141
+else
 
19142
+  if test -n "$ac_ct_RANLIB"; then
 
19143
+  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
19144
+else
 
19145
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
19146
+for as_dir in $PATH
 
19147
+do
 
19148
+  IFS=$as_save_IFS
 
19149
+  test -z "$as_dir" && as_dir=.
 
19150
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
19151
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19152
+    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
19153
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
19154
+    break 2
 
19155
   fi
 
19156
-  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
 
19157
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
19158
-  shlibpath_var=LD_LIBRARY_PATH
 
19159
-  ;;
 
19160
+done
 
19161
+done
 
19162
 
 
19163
-os2*)
 
19164
-  libname_spec='$name'
 
19165
-  need_lib_prefix=no
 
19166
-  library_names_spec='$libname.dll $libname.a'
 
19167
-  dynamic_linker='OS/2 ld.exe'
 
19168
-  shlibpath_var=LIBPATH
 
19169
-  ;;
 
19170
+  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
 
19171
+fi
 
19172
+fi
 
19173
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
19174
+if test -n "$ac_ct_RANLIB"; then
 
19175
+  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
19176
+echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
19177
+else
 
19178
+  echo "$as_me:$LINENO: result: no" >&5
 
19179
+echo "${ECHO_T}no" >&6
 
19180
+fi
 
19181
 
 
19182
-osf3* | osf4* | osf5*)
 
19183
-  version_type=osf
 
19184
-  need_version=no
 
19185
-  soname_spec='${libname}${release}.so'
 
19186
-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
 
19187
-  shlibpath_var=LD_LIBRARY_PATH
 
19188
-  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
19189
-  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
19190
-  ;;
 
19191
+  RANLIB=$ac_ct_RANLIB
 
19192
+else
 
19193
+  RANLIB="$ac_cv_prog_RANLIB"
 
19194
+fi
 
19195
 
 
19196
-sco3.2v5*)
 
19197
-  version_type=osf
 
19198
-  soname_spec='${libname}${release}.so$major'
 
19199
-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
 
19200
-  shlibpath_var=LD_LIBRARY_PATH
 
19201
-  ;;
 
19202
+if test -n "$ac_tool_prefix"; then
 
19203
+  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
19204
+set dummy ${ac_tool_prefix}strip; ac_word=$2
 
19205
+echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19206
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19207
+if test "${ac_cv_prog_STRIP+set}" = set; then
 
19208
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19209
+else
 
19210
+  if test -n "$STRIP"; then
 
19211
+  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
19212
+else
 
19213
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
19214
+for as_dir in $PATH
 
19215
+do
 
19216
+  IFS=$as_save_IFS
 
19217
+  test -z "$as_dir" && as_dir=.
 
19218
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
19219
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19220
+    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
19221
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
19222
+    break 2
 
19223
+  fi
 
19224
+done
 
19225
+done
 
19226
 
 
19227
-solaris*)
 
19228
-  version_type=linux
 
19229
-  need_lib_prefix=no
 
19230
-  need_version=no
 
19231
-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
 
19232
-  soname_spec='${libname}${release}.so$major'
 
19233
-  shlibpath_var=LD_LIBRARY_PATH
 
19234
-  shlibpath_overrides_runpath=yes
 
19235
-  hardcode_into_libs=yes
 
19236
-  # ldd complains unless libraries are executable
 
19237
-  postinstall_cmds='chmod +x $lib'
 
19238
-  ;;
 
19239
+fi
 
19240
+fi
 
19241
+STRIP=$ac_cv_prog_STRIP
 
19242
+if test -n "$STRIP"; then
 
19243
+  echo "$as_me:$LINENO: result: $STRIP" >&5
 
19244
+echo "${ECHO_T}$STRIP" >&6
 
19245
+else
 
19246
+  echo "$as_me:$LINENO: result: no" >&5
 
19247
+echo "${ECHO_T}no" >&6
 
19248
+fi
 
19249
 
 
19250
-sunos4*)
 
19251
-  version_type=sunos
 
19252
-  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
 
19253
-  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
19254
-  shlibpath_var=LD_LIBRARY_PATH
 
19255
-  shlibpath_overrides_runpath=yes
 
19256
-  if test "$with_gnu_ld" = yes; then
 
19257
-    need_lib_prefix=no
 
19258
+fi
 
19259
+if test -z "$ac_cv_prog_STRIP"; then
 
19260
+  ac_ct_STRIP=$STRIP
 
19261
+  # Extract the first word of "strip", so it can be a program name with args.
 
19262
+set dummy strip; ac_word=$2
 
19263
+echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19264
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19265
+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
19266
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19267
+else
 
19268
+  if test -n "$ac_ct_STRIP"; then
 
19269
+  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
19270
+else
 
19271
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
19272
+for as_dir in $PATH
 
19273
+do
 
19274
+  IFS=$as_save_IFS
 
19275
+  test -z "$as_dir" && as_dir=.
 
19276
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
19277
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19278
+    ac_cv_prog_ac_ct_STRIP="strip"
 
19279
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
19280
+    break 2
 
19281
   fi
 
19282
-  need_version=yes
 
19283
-  ;;
 
19284
+done
 
19285
+done
 
19286
 
 
19287
-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
19288
-  version_type=linux
 
19289
-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
 
19290
-  soname_spec='${libname}${release}.so$major'
 
19291
-  shlibpath_var=LD_LIBRARY_PATH
 
19292
-  case $host_vendor in
 
19293
-    sni)
 
19294
-      shlibpath_overrides_runpath=no
 
19295
-      ;;
 
19296
-    motorola)
 
19297
-      need_lib_prefix=no
 
19298
-      need_version=no
 
19299
-      shlibpath_overrides_runpath=no
 
19300
-      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
19301
-      ;;
 
19302
-  esac
 
19303
-  ;;
 
19304
+  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 
19305
+fi
 
19306
+fi
 
19307
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
19308
+if test -n "$ac_ct_STRIP"; then
 
19309
+  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
19310
+echo "${ECHO_T}$ac_ct_STRIP" >&6
 
19311
+else
 
19312
+  echo "$as_me:$LINENO: result: no" >&5
 
19313
+echo "${ECHO_T}no" >&6
 
19314
+fi
 
19315
 
 
19316
-uts4*)
 
19317
-  version_type=linux
 
19318
-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
 
19319
-  soname_spec='${libname}${release}.so$major'
 
19320
-  shlibpath_var=LD_LIBRARY_PATH
 
19321
-  ;;
 
19322
+  STRIP=$ac_ct_STRIP
 
19323
+else
 
19324
+  STRIP="$ac_cv_prog_STRIP"
 
19325
+fi
 
19326
 
 
19327
-dgux*)
 
19328
-  version_type=linux
 
19329
-  need_lib_prefix=no
 
19330
-  need_version=no
 
19331
-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
 
19332
-  soname_spec='${libname}${release}.so$major'
 
19333
-  shlibpath_var=LD_LIBRARY_PATH
 
19334
-  ;;
 
19335
 
 
19336
-sysv4*MP*)
 
19337
-  if test -d /usr/nec ;then
 
19338
-    version_type=linux
 
19339
-    library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
 
19340
-    soname_spec='$libname.so.$major'
 
19341
-    shlibpath_var=LD_LIBRARY_PATH
 
19342
-  fi
 
19343
-  ;;
 
19344
+old_CC="$CC"
 
19345
+old_CFLAGS="$CFLAGS"
 
19346
 
 
19347
-*)
 
19348
-  dynamic_linker=no
 
19349
-  ;;
 
19350
-esac
 
19351
-echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
19352
-echo "${ECHO_T}$dynamic_linker" >&6
 
19353
-test "$dynamic_linker" = no && can_build_shared=no
 
19354
+# Set sane defaults for various variables
 
19355
+test -z "$AR" && AR=ar
 
19356
+test -z "$AR_FLAGS" && AR_FLAGS=cru
 
19357
+test -z "$AS" && AS=as
 
19358
+test -z "$CC" && CC=cc
 
19359
+test -z "$LTCC" && LTCC=$CC
 
19360
+test -z "$DLLTOOL" && DLLTOOL=dlltool
 
19361
+test -z "$LD" && LD=ld
 
19362
+test -z "$LN_S" && LN_S="ln -s"
 
19363
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
19364
+test -z "$NM" && NM=nm
 
19365
+test -z "$SED" && SED=sed
 
19366
+test -z "$OBJDUMP" && OBJDUMP=objdump
 
19367
+test -z "$RANLIB" && RANLIB=:
 
19368
+test -z "$STRIP" && STRIP=:
 
19369
+test -z "$ac_objext" && ac_objext=o
 
19370
 
 
19371
-# Report the final consequences.
 
19372
-echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
19373
-echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
 
19374
-echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
19375
-echo "${ECHO_T}$can_build_shared" >&6
 
19376
+# Determine commands to create old-style static archives.
 
19377
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
19378
+old_postinstall_cmds='chmod 644 $oldlib'
 
19379
+old_postuninstall_cmds=
 
19380
 
 
19381
-echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
19382
-echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
19383
-test "$can_build_shared" = "no" && enable_shared=no
 
19384
+if test -n "$RANLIB"; then
 
19385
+  case $host_os in
 
19386
+  openbsd*)
 
19387
+    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
 
19388
+    ;;
 
19389
+  *)
 
19390
+    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
 
19391
+    ;;
 
19392
+  esac
 
19393
+  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
19394
+fi
 
19395
 
 
19396
-# On AIX, shared libraries and static libraries use the same namespace, and
 
19397
-# are all built from PIC.
 
19398
-case "$host_os" in
 
19399
-aix3*)
 
19400
-  test "$enable_shared" = yes && enable_static=no
 
19401
-  if test -n "$RANLIB"; then
 
19402
-    archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
19403
-    postinstall_cmds='$RANLIB $lib'
 
19404
-  fi
 
19405
+# Only perform the check for file, if the check method requires it
 
19406
+case $deplibs_check_method in
 
19407
+file_magic*)
 
19408
+  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
19409
+    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
19410
+echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
19411
+if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
19412
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19413
+else
 
19414
+  case $MAGIC_CMD in
 
19415
+[\\/*] |  ?:[\\/]*)
 
19416
+  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
19417
   ;;
 
19418
+*)
 
19419
+  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
19420
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
19421
+  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
19422
+  for ac_dir in $ac_dummy; do
 
19423
+    IFS="$lt_save_ifs"
 
19424
+    test -z "$ac_dir" && ac_dir=.
 
19425
+    if test -f $ac_dir/${ac_tool_prefix}file; then
 
19426
+      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
19427
+      if test -n "$file_magic_test_file"; then
 
19428
+       case $deplibs_check_method in
 
19429
+       "file_magic "*)
 
19430
+         file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
19431
+         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
19432
+         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
19433
+           $EGREP "$file_magic_regex" > /dev/null; then
 
19434
+           :
 
19435
+         else
 
19436
+           cat <<EOF 1>&2
 
19437
 
 
19438
-aix4*)
 
19439
-  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
19440
-    test "$enable_shared" = yes && enable_static=no
 
19441
-  fi
 
19442
+*** Warning: the command libtool uses to detect shared libraries,
 
19443
+*** $file_magic_cmd, produces output that libtool cannot recognize.
 
19444
+*** The result is that libtool may fail to recognize shared libraries
 
19445
+*** as such.  This will affect the creation of libtool libraries that
 
19446
+*** depend on shared libraries, but programs linked with such libtool
 
19447
+*** libraries will work regardless of this problem.  Nevertheless, you
 
19448
+*** may want to report the problem to your system manager and/or to
 
19449
+*** bug-libtool@gnu.org
 
19450
+
 
19451
+EOF
 
19452
+         fi ;;
 
19453
+       esac
 
19454
+      fi
 
19455
+      break
 
19456
+    fi
 
19457
+  done
 
19458
+  IFS="$lt_save_ifs"
 
19459
+  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
19460
   ;;
 
19461
 esac
 
19462
-echo "$as_me:$LINENO: result: $enable_shared" >&5
 
19463
-echo "${ECHO_T}$enable_shared" >&6
 
19464
-
 
19465
-echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
19466
-echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
19467
-# Make sure either enable_shared or enable_static is yes.
 
19468
-test "$enable_shared" = yes || enable_static=yes
 
19469
-echo "$as_me:$LINENO: result: $enable_static" >&5
 
19470
-echo "${ECHO_T}$enable_static" >&6
 
19471
-
 
19472
-if test "$hardcode_action" = relink; then
 
19473
-  # Fast installation is not supported
 
19474
-  enable_fast_install=no
 
19475
-elif test "$shlibpath_overrides_runpath" = yes ||
 
19476
-     test "$enable_shared" = no; then
 
19477
-  # Fast installation is not necessary
 
19478
-  enable_fast_install=needless
 
19479
 fi
 
19480
 
 
19481
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
19482
-if test "$GCC" = yes; then
 
19483
-  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
19484
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
19485
+if test -n "$MAGIC_CMD"; then
 
19486
+  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
19487
+echo "${ECHO_T}$MAGIC_CMD" >&6
 
19488
+else
 
19489
+  echo "$as_me:$LINENO: result: no" >&5
 
19490
+echo "${ECHO_T}no" >&6
 
19491
 fi
 
19492
 
 
19493
-if test "x$enable_dlopen" != xyes; then
 
19494
-  enable_dlopen=unknown
 
19495
-  enable_dlopen_self=unknown
 
19496
-  enable_dlopen_self_static=unknown
 
19497
-else
 
19498
-  lt_cv_dlopen=no
 
19499
-  lt_cv_dlopen_libs=
 
19500
+if test -z "$lt_cv_path_MAGIC_CMD"; then
 
19501
+  if test -n "$ac_tool_prefix"; then
 
19502
+    echo "$as_me:$LINENO: checking for file" >&5
 
19503
+echo $ECHO_N "checking for file... $ECHO_C" >&6
 
19504
+if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
19505
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19506
+else
 
19507
+  case $MAGIC_CMD in
 
19508
+[\\/*] |  ?:[\\/]*)
 
19509
+  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
19510
+  ;;
 
19511
+*)
 
19512
+  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
19513
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
19514
+  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
19515
+  for ac_dir in $ac_dummy; do
 
19516
+    IFS="$lt_save_ifs"
 
19517
+    test -z "$ac_dir" && ac_dir=.
 
19518
+    if test -f $ac_dir/file; then
 
19519
+      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
19520
+      if test -n "$file_magic_test_file"; then
 
19521
+       case $deplibs_check_method in
 
19522
+       "file_magic "*)
 
19523
+         file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
19524
+         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
19525
+         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
19526
+           $EGREP "$file_magic_regex" > /dev/null; then
 
19527
+           :
 
19528
+         else
 
19529
+           cat <<EOF 1>&2
 
19530
 
 
19531
-  case $host_os in
 
19532
-  beos*)
 
19533
-    lt_cv_dlopen="load_add_on"
 
19534
-    lt_cv_dlopen_libs=
 
19535
-    lt_cv_dlopen_self=yes
 
19536
-    ;;
 
19537
+*** Warning: the command libtool uses to detect shared libraries,
 
19538
+*** $file_magic_cmd, produces output that libtool cannot recognize.
 
19539
+*** The result is that libtool may fail to recognize shared libraries
 
19540
+*** as such.  This will affect the creation of libtool libraries that
 
19541
+*** depend on shared libraries, but programs linked with such libtool
 
19542
+*** libraries will work regardless of this problem.  Nevertheless, you
 
19543
+*** may want to report the problem to your system manager and/or to
 
19544
+*** bug-libtool@gnu.org
 
19545
 
 
19546
-  cygwin* | mingw* | pw32*)
 
19547
-    lt_cv_dlopen="LoadLibrary"
 
19548
-    lt_cv_dlopen_libs=
 
19549
-   ;;
 
19550
+EOF
 
19551
+         fi ;;
 
19552
+       esac
 
19553
+      fi
 
19554
+      break
 
19555
+    fi
 
19556
+  done
 
19557
+  IFS="$lt_save_ifs"
 
19558
+  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
19559
+  ;;
 
19560
+esac
 
19561
+fi
 
19562
 
 
19563
-  *)
 
19564
-    echo "$as_me:$LINENO: checking for shl_load" >&5
 
19565
-echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
19566
-if test "${ac_cv_func_shl_load+set}" = set; then
 
19567
-  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19568
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
19569
+if test -n "$MAGIC_CMD"; then
 
19570
+  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
19571
+echo "${ECHO_T}$MAGIC_CMD" >&6
 
19572
 else
 
19573
-  cat >conftest.$ac_ext <<_ACEOF
 
19574
-/* confdefs.h.  */
 
19575
-_ACEOF
 
19576
-cat confdefs.h >>conftest.$ac_ext
 
19577
-cat >>conftest.$ac_ext <<_ACEOF
 
19578
-/* end confdefs.h.  */
 
19579
-/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
 
19580
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
19581
-#define shl_load innocuous_shl_load
 
19582
+  echo "$as_me:$LINENO: result: no" >&5
 
19583
+echo "${ECHO_T}no" >&6
 
19584
+fi
 
19585
 
 
19586
-/* System header to define __stub macros and hopefully few prototypes,
 
19587
-    which can conflict with char shl_load (); below.
 
19588
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
19589
-    <limits.h> exists even on freestanding compilers.  */
 
19590
+  else
 
19591
+    MAGIC_CMD=:
 
19592
+  fi
 
19593
+fi
 
19594
 
 
19595
-#ifdef __STDC__
 
19596
-# include <limits.h>
 
19597
-#else
 
19598
-# include <assert.h>
 
19599
-#endif
 
19600
+  fi
 
19601
+  ;;
 
19602
+esac
 
19603
 
 
19604
-#undef shl_load
 
19605
+enable_dlopen=no
 
19606
+enable_win32_dll=no
 
19607
 
 
19608
-/* Override any gcc2 internal prototype to avoid an error.  */
 
19609
-#ifdef __cplusplus
 
19610
-extern "C"
 
19611
-{
 
19612
-#endif
 
19613
-/* We use char because int might match the return type of a gcc2
 
19614
-   builtin and then its argument prototype would still apply.  */
 
19615
-char shl_load ();
 
19616
-/* The GNU C library defines this for functions which it implements
 
19617
-    to always fail with ENOSYS.  Some functions are actually named
 
19618
-    something starting with __ and the normal name is an alias.  */
 
19619
-#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
19620
-choke me
 
19621
-#else
 
19622
-char (*f) () = shl_load;
 
19623
-#endif
 
19624
-#ifdef __cplusplus
 
19625
-}
 
19626
-#endif
 
19627
+# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
19628
+if test "${enable_libtool_lock+set}" = set; then
 
19629
+  enableval="$enable_libtool_lock"
 
19630
 
 
19631
-int
 
19632
-main ()
 
19633
-{
 
19634
-return f != shl_load;
 
19635
-  ;
 
19636
-  return 0;
 
19637
-}
 
19638
-_ACEOF
 
19639
-rm -f conftest.$ac_objext conftest$ac_exeext
 
19640
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
19641
-  (eval $ac_link) 2>conftest.er1
 
19642
-  ac_status=$?
 
19643
-  grep -v '^ *+' conftest.er1 >conftest.err
 
19644
-  rm -f conftest.er1
 
19645
-  cat conftest.err >&5
 
19646
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19647
-  (exit $ac_status); } &&
 
19648
-        { ac_try='test -z "$ac_c_werror_flag"
 
19649
-                        || test ! -s conftest.err'
 
19650
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19651
-  (eval $ac_try) 2>&5
 
19652
-  ac_status=$?
 
19653
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19654
-  (exit $ac_status); }; } &&
 
19655
-        { ac_try='test -s conftest$ac_exeext'
 
19656
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19657
-  (eval $ac_try) 2>&5
 
19658
-  ac_status=$?
 
19659
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19660
-  (exit $ac_status); }; }; then
 
19661
-  ac_cv_func_shl_load=yes
 
19662
+fi;
 
19663
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
19664
+
 
19665
+
 
19666
+# Check whether --with-pic or --without-pic was given.
 
19667
+if test "${with_pic+set}" = set; then
 
19668
+  withval="$with_pic"
 
19669
+  pic_mode="$withval"
 
19670
 else
 
19671
-  echo "$as_me: failed program was:" >&5
 
19672
-sed 's/^/| /' conftest.$ac_ext >&5
 
19673
+  pic_mode=default
 
19674
+fi;
 
19675
+test -z "$pic_mode" && pic_mode=default
 
19676
 
 
19677
-ac_cv_func_shl_load=no
 
19678
+# Use C for the default configuration in the libtool script
 
19679
+tagname=
 
19680
+lt_save_CC="$CC"
 
19681
+ac_ext=c
 
19682
+ac_cpp='$CPP $CPPFLAGS'
 
19683
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
19684
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
19685
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
19686
+
 
19687
+
 
19688
+# Source file extension for C test sources.
 
19689
+ac_ext=c
 
19690
+
 
19691
+# Object file extension for compiled C test sources.
 
19692
+objext=o
 
19693
+objext=$objext
 
19694
+
 
19695
+# Code to be used in simple compile tests
 
19696
+lt_simple_compile_test_code="int some_variable = 0;\n"
 
19697
+
 
19698
+# Code to be used in simple link tests
 
19699
+lt_simple_link_test_code='int main(){return(0);}\n'
 
19700
+
 
19701
+
 
19702
+# If no C compiler was specified, use CC.
 
19703
+LTCC=${LTCC-"$CC"}
 
19704
+
 
19705
+# Allow CC to be a program name with arguments.
 
19706
+compiler=$CC
 
19707
+
 
19708
+
 
19709
+#
 
19710
+# Check for any special shared library compilation flags.
 
19711
+#
 
19712
+lt_prog_cc_shlib=
 
19713
+if test "$GCC" = no; then
 
19714
+  case $host_os in
 
19715
+  sco3.2v5*)
 
19716
+    lt_prog_cc_shlib='-belf'
 
19717
+    ;;
 
19718
+  esac
 
19719
 fi
 
19720
-rm -f conftest.err conftest.$ac_objext \
 
19721
-      conftest$ac_exeext conftest.$ac_ext
 
19722
+if test -n "$lt_prog_cc_shlib"; then
 
19723
+  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
 
19724
+echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
 
19725
+  if echo "$old_CC $old_CFLAGS " | grep "[     ]$lt_prog_cc_shlib[     ]" >/dev/null; then :
 
19726
+  else
 
19727
+    { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
 
19728
+echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
 
19729
+    lt_cv_prog_cc_can_build_shared=no
 
19730
+  fi
 
19731
 fi
 
19732
-echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
19733
-echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
19734
-if test $ac_cv_func_shl_load = yes; then
 
19735
-  lt_cv_dlopen="shl_load"
 
19736
-else
 
19737
-  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
19738
-echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
19739
-if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
19740
+
 
19741
+
 
19742
+#
 
19743
+# Check to make sure the static flag actually works.
 
19744
+#
 
19745
+echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
 
19746
+echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
 
19747
+if test "${lt_prog_compiler_static_works+set}" = set; then
 
19748
   echo $ECHO_N "(cached) $ECHO_C" >&6
 
19749
 else
 
19750
-  ac_check_lib_save_LIBS=$LIBS
 
19751
-LIBS="-ldld  $LIBS"
 
19752
-cat >conftest.$ac_ext <<_ACEOF
 
19753
-/* confdefs.h.  */
 
19754
-_ACEOF
 
19755
-cat confdefs.h >>conftest.$ac_ext
 
19756
-cat >>conftest.$ac_ext <<_ACEOF
 
19757
-/* end confdefs.h.  */
 
19758
+  lt_prog_compiler_static_works=no
 
19759
+   save_LDFLAGS="$LDFLAGS"
 
19760
+   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
 
19761
+   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
19762
+   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
19763
+     # The compiler can only warn and ignore the option if not recognized
 
19764
+     # So say no if there are warnings
 
19765
+     if test -s conftest.err; then
 
19766
+       # Append any errors to the config.log.
 
19767
+       cat conftest.err 1>&5
 
19768
+     else
 
19769
+       lt_prog_compiler_static_works=yes
 
19770
+     fi
 
19771
+   fi
 
19772
+   $rm conftest*
 
19773
+   LDFLAGS="$save_LDFLAGS"
 
19774
 
 
19775
-/* Override any gcc2 internal prototype to avoid an error.  */
 
19776
-#ifdef __cplusplus
 
19777
-extern "C"
 
19778
-#endif
 
19779
-/* We use char because int might match the return type of a gcc2
 
19780
-   builtin and then its argument prototype would still apply.  */
 
19781
-char shl_load ();
 
19782
-int
 
19783
-main ()
 
19784
-{
 
19785
-shl_load ();
 
19786
-  ;
 
19787
-  return 0;
 
19788
-}
 
19789
-_ACEOF
 
19790
-rm -f conftest.$ac_objext conftest$ac_exeext
 
19791
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
19792
-  (eval $ac_link) 2>conftest.er1
 
19793
-  ac_status=$?
 
19794
-  grep -v '^ *+' conftest.er1 >conftest.err
 
19795
-  rm -f conftest.er1
 
19796
-  cat conftest.err >&5
 
19797
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19798
-  (exit $ac_status); } &&
 
19799
-        { ac_try='test -z "$ac_c_werror_flag"
 
19800
-                        || test ! -s conftest.err'
 
19801
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19802
-  (eval $ac_try) 2>&5
 
19803
-  ac_status=$?
 
19804
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19805
-  (exit $ac_status); }; } &&
 
19806
-        { ac_try='test -s conftest$ac_exeext'
 
19807
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19808
-  (eval $ac_try) 2>&5
 
19809
-  ac_status=$?
 
19810
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19811
-  (exit $ac_status); }; }; then
 
19812
-  ac_cv_lib_dld_shl_load=yes
 
19813
-else
 
19814
-  echo "$as_me: failed program was:" >&5
 
19815
-sed 's/^/| /' conftest.$ac_ext >&5
 
19816
+fi
 
19817
+echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
19818
+echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 
19819
 
 
19820
-ac_cv_lib_dld_shl_load=no
 
19821
+if test x"$lt_prog_compiler_static_works" = xyes; then
 
19822
+    :
 
19823
+else
 
19824
+    lt_prog_compiler_static=
 
19825
 fi
 
19826
-rm -f conftest.err conftest.$ac_objext \
 
19827
-      conftest$ac_exeext conftest.$ac_ext
 
19828
-LIBS=$ac_check_lib_save_LIBS
 
19829
-fi
 
19830
-echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
19831
-echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
19832
-if test $ac_cv_lib_dld_shl_load = yes; then
 
19833
-  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 
19834
-else
 
19835
-  echo "$as_me:$LINENO: checking for dlopen" >&5
 
19836
-echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
19837
-if test "${ac_cv_func_dlopen+set}" = set; then
 
19838
-  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19839
-else
 
19840
-  cat >conftest.$ac_ext <<_ACEOF
 
19841
-/* confdefs.h.  */
 
19842
-_ACEOF
 
19843
-cat confdefs.h >>conftest.$ac_ext
 
19844
-cat >>conftest.$ac_ext <<_ACEOF
 
19845
-/* end confdefs.h.  */
 
19846
-/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 
19847
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
19848
-#define dlopen innocuous_dlopen
 
19849
 
 
19850
-/* System header to define __stub macros and hopefully few prototypes,
 
19851
-    which can conflict with char dlopen (); below.
 
19852
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
19853
-    <limits.h> exists even on freestanding compilers.  */
 
19854
 
 
19855
-#ifdef __STDC__
 
19856
-# include <limits.h>
 
19857
-#else
 
19858
-# include <assert.h>
 
19859
-#endif
 
19860
 
 
19861
-#undef dlopen
 
19862
 
 
19863
-/* Override any gcc2 internal prototype to avoid an error.  */
 
19864
-#ifdef __cplusplus
 
19865
-extern "C"
 
19866
-{
 
19867
-#endif
 
19868
-/* We use char because int might match the return type of a gcc2
 
19869
-   builtin and then its argument prototype would still apply.  */
 
19870
-char dlopen ();
 
19871
-/* The GNU C library defines this for functions which it implements
 
19872
-    to always fail with ENOSYS.  Some functions are actually named
 
19873
-    something starting with __ and the normal name is an alias.  */
 
19874
-#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
19875
-choke me
 
19876
-#else
 
19877
-char (*f) () = dlopen;
 
19878
-#endif
 
19879
-#ifdef __cplusplus
 
19880
-}
 
19881
-#endif
 
19882
+lt_prog_compiler_no_builtin_flag=
 
19883
 
 
19884
-int
 
19885
-main ()
 
19886
-{
 
19887
-return f != dlopen;
 
19888
-  ;
 
19889
-  return 0;
 
19890
-}
 
19891
-_ACEOF
 
19892
-rm -f conftest.$ac_objext conftest$ac_exeext
 
19893
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
19894
-  (eval $ac_link) 2>conftest.er1
 
19895
-  ac_status=$?
 
19896
-  grep -v '^ *+' conftest.er1 >conftest.err
 
19897
-  rm -f conftest.er1
 
19898
-  cat conftest.err >&5
 
19899
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19900
-  (exit $ac_status); } &&
 
19901
-        { ac_try='test -z "$ac_c_werror_flag"
 
19902
-                        || test ! -s conftest.err'
 
19903
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19904
-  (eval $ac_try) 2>&5
 
19905
-  ac_status=$?
 
19906
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19907
-  (exit $ac_status); }; } &&
 
19908
-        { ac_try='test -s conftest$ac_exeext'
 
19909
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19910
-  (eval $ac_try) 2>&5
 
19911
-  ac_status=$?
 
19912
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19913
-  (exit $ac_status); }; }; then
 
19914
-  ac_cv_func_dlopen=yes
 
19915
-else
 
19916
-  echo "$as_me: failed program was:" >&5
 
19917
-sed 's/^/| /' conftest.$ac_ext >&5
 
19918
+if test "$GCC" = yes; then
 
19919
+  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
19920
 
 
19921
-ac_cv_func_dlopen=no
 
19922
-fi
 
19923
-rm -f conftest.err conftest.$ac_objext \
 
19924
-      conftest$ac_exeext conftest.$ac_ext
 
19925
-fi
 
19926
-echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
19927
-echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
19928
-if test $ac_cv_func_dlopen = yes; then
 
19929
-  lt_cv_dlopen="dlopen"
 
19930
-else
 
19931
-  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
19932
-echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
19933
-if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
19934
-  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19935
-else
 
19936
-  ac_check_lib_save_LIBS=$LIBS
 
19937
-LIBS="-ldl  $LIBS"
 
19938
-cat >conftest.$ac_ext <<_ACEOF
 
19939
-/* confdefs.h.  */
 
19940
-_ACEOF
 
19941
-cat confdefs.h >>conftest.$ac_ext
 
19942
-cat >>conftest.$ac_ext <<_ACEOF
 
19943
-/* end confdefs.h.  */
 
19944
 
 
19945
-/* Override any gcc2 internal prototype to avoid an error.  */
 
19946
-#ifdef __cplusplus
 
19947
-extern "C"
 
19948
-#endif
 
19949
-/* We use char because int might match the return type of a gcc2
 
19950
-   builtin and then its argument prototype would still apply.  */
 
19951
-char dlopen ();
 
19952
-int
 
19953
-main ()
 
19954
-{
 
19955
-dlopen ();
 
19956
-  ;
 
19957
-  return 0;
 
19958
-}
 
19959
-_ACEOF
 
19960
-rm -f conftest.$ac_objext conftest$ac_exeext
 
19961
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
19962
-  (eval $ac_link) 2>conftest.er1
 
19963
-  ac_status=$?
 
19964
-  grep -v '^ *+' conftest.er1 >conftest.err
 
19965
-  rm -f conftest.er1
 
19966
-  cat conftest.err >&5
 
19967
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19968
-  (exit $ac_status); } &&
 
19969
-        { ac_try='test -z "$ac_c_werror_flag"
 
19970
-                        || test ! -s conftest.err'
 
19971
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19972
-  (eval $ac_try) 2>&5
 
19973
-  ac_status=$?
 
19974
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19975
-  (exit $ac_status); }; } &&
 
19976
-        { ac_try='test -s conftest$ac_exeext'
 
19977
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19978
-  (eval $ac_try) 2>&5
 
19979
-  ac_status=$?
 
19980
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19981
-  (exit $ac_status); }; }; then
 
19982
-  ac_cv_lib_dl_dlopen=yes
 
19983
+echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
19984
+echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
19985
+if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
19986
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19987
 else
 
19988
-  echo "$as_me: failed program was:" >&5
 
19989
-sed 's/^/| /' conftest.$ac_ext >&5
 
19990
+  lt_cv_prog_compiler_rtti_exceptions=no
 
19991
+  ac_outfile=conftest.$ac_objext
 
19992
+   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
19993
+   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
19994
+   # Insert the option either (1) after the last *FLAGS variable, or
 
19995
+   # (2) before a word containing "conftest.", or (3) at the end.
 
19996
+   # Note that $ac_compile itself does not contain backslashes and begins
 
19997
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
19998
+   # The option is referenced via a variable to avoid confusing sed.
 
19999
+   lt_compile=`echo "$ac_compile" | $SED \
 
20000
+   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
20001
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
20002
+   -e 's:$: $lt_compiler_flag:'`
 
20003
+   (eval echo "\"\$as_me:6276: $lt_compile\"" >&5)
 
20004
+   (eval "$lt_compile" 2>conftest.err)
 
20005
+   ac_status=$?
 
20006
+   cat conftest.err >&5
 
20007
+   echo "$as_me:6280: \$? = $ac_status" >&5
 
20008
+   if (exit $ac_status) && test -s "$ac_outfile"; then
 
20009
+     # The compiler can only warn and ignore the option if not recognized
 
20010
+     # So say no if there are warnings
 
20011
+     if test ! -s conftest.err; then
 
20012
+       lt_cv_prog_compiler_rtti_exceptions=yes
 
20013
+     fi
 
20014
+   fi
 
20015
+   $rm conftest*
 
20016
 
 
20017
-ac_cv_lib_dl_dlopen=no
 
20018
-fi
 
20019
-rm -f conftest.err conftest.$ac_objext \
 
20020
-      conftest$ac_exeext conftest.$ac_ext
 
20021
-LIBS=$ac_check_lib_save_LIBS
 
20022
 fi
 
20023
-echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
20024
-echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
20025
-if test $ac_cv_lib_dl_dlopen = yes; then
 
20026
-  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
20027
-else
 
20028
-  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
20029
-echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
20030
-if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
20031
-  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20032
-else
 
20033
-  ac_check_lib_save_LIBS=$LIBS
 
20034
-LIBS="-lsvld  $LIBS"
 
20035
-cat >conftest.$ac_ext <<_ACEOF
 
20036
-/* confdefs.h.  */
 
20037
-_ACEOF
 
20038
-cat confdefs.h >>conftest.$ac_ext
 
20039
-cat >>conftest.$ac_ext <<_ACEOF
 
20040
-/* end confdefs.h.  */
 
20041
+echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
20042
+echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
20043
 
 
20044
-/* Override any gcc2 internal prototype to avoid an error.  */
 
20045
-#ifdef __cplusplus
 
20046
-extern "C"
 
20047
-#endif
 
20048
-/* We use char because int might match the return type of a gcc2
 
20049
-   builtin and then its argument prototype would still apply.  */
 
20050
-char dlopen ();
 
20051
-int
 
20052
-main ()
 
20053
-{
 
20054
-dlopen ();
 
20055
-  ;
 
20056
-  return 0;
 
20057
-}
 
20058
-_ACEOF
 
20059
-rm -f conftest.$ac_objext conftest$ac_exeext
 
20060
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
20061
-  (eval $ac_link) 2>conftest.er1
 
20062
-  ac_status=$?
 
20063
-  grep -v '^ *+' conftest.er1 >conftest.err
 
20064
-  rm -f conftest.er1
 
20065
-  cat conftest.err >&5
 
20066
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20067
-  (exit $ac_status); } &&
 
20068
-        { ac_try='test -z "$ac_c_werror_flag"
 
20069
-                        || test ! -s conftest.err'
 
20070
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20071
-  (eval $ac_try) 2>&5
 
20072
-  ac_status=$?
 
20073
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20074
-  (exit $ac_status); }; } &&
 
20075
-        { ac_try='test -s conftest$ac_exeext'
 
20076
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20077
-  (eval $ac_try) 2>&5
 
20078
-  ac_status=$?
 
20079
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20080
-  (exit $ac_status); }; }; then
 
20081
-  ac_cv_lib_svld_dlopen=yes
 
20082
+if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
20083
+    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
20084
 else
 
20085
-  echo "$as_me: failed program was:" >&5
 
20086
-sed 's/^/| /' conftest.$ac_ext >&5
 
20087
-
 
20088
-ac_cv_lib_svld_dlopen=no
 
20089
+    :
 
20090
 fi
 
20091
-rm -f conftest.err conftest.$ac_objext \
 
20092
-      conftest$ac_exeext conftest.$ac_ext
 
20093
-LIBS=$ac_check_lib_save_LIBS
 
20094
+
 
20095
 fi
 
20096
-echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
20097
-echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
20098
-if test $ac_cv_lib_svld_dlopen = yes; then
 
20099
-  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
20100
-else
 
20101
-  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
20102
-echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
20103
-if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
20104
-  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20105
-else
 
20106
-  ac_check_lib_save_LIBS=$LIBS
 
20107
-LIBS="-ldld  $LIBS"
 
20108
-cat >conftest.$ac_ext <<_ACEOF
 
20109
-/* confdefs.h.  */
 
20110
-_ACEOF
 
20111
-cat confdefs.h >>conftest.$ac_ext
 
20112
-cat >>conftest.$ac_ext <<_ACEOF
 
20113
-/* end confdefs.h.  */
 
20114
 
 
20115
-/* Override any gcc2 internal prototype to avoid an error.  */
 
20116
-#ifdef __cplusplus
 
20117
-extern "C"
 
20118
-#endif
 
20119
-/* We use char because int might match the return type of a gcc2
 
20120
-   builtin and then its argument prototype would still apply.  */
 
20121
-char dld_link ();
 
20122
-int
 
20123
-main ()
 
20124
-{
 
20125
-dld_link ();
 
20126
-  ;
 
20127
-  return 0;
 
20128
-}
 
20129
-_ACEOF
 
20130
-rm -f conftest.$ac_objext conftest$ac_exeext
 
20131
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
20132
-  (eval $ac_link) 2>conftest.er1
 
20133
-  ac_status=$?
 
20134
-  grep -v '^ *+' conftest.er1 >conftest.err
 
20135
-  rm -f conftest.er1
 
20136
-  cat conftest.err >&5
 
20137
+lt_prog_compiler_wl=
 
20138
+lt_prog_compiler_pic=
 
20139
+lt_prog_compiler_static=
 
20140
+
 
20141
+echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
20142
+echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
20143
+
 
20144
+  if test "$GCC" = yes; then
 
20145
+    lt_prog_compiler_wl='-Wl,'
 
20146
+    lt_prog_compiler_static='-static'
 
20147
+
 
20148
+    case $host_os in
 
20149
+      aix*)
 
20150
+      # All AIX code is PIC.
 
20151
+      if test "$host_cpu" = ia64; then
 
20152
+       # AIX 5 now supports IA64 processor
 
20153
+       lt_prog_compiler_static='-Bstatic'
 
20154
+      fi
 
20155
+      ;;
 
20156
+
 
20157
+    amigaos*)
 
20158
+      # FIXME: we need at least 68020 code to build shared libraries, but
 
20159
+      # adding the `-m68020' flag to GCC prevents building anything better,
 
20160
+      # like `-m68040'.
 
20161
+      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
20162
+      ;;
 
20163
+
 
20164
+    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
20165
+      # PIC is the default for these OSes.
 
20166
+      ;;
 
20167
+
 
20168
+    mingw* | pw32* | os2*)
 
20169
+      # This hack is so that the source file can tell whether it is being
 
20170
+      # built for inclusion in a dll (and should export symbols for example).
 
20171
+      lt_prog_compiler_pic='-DDLL_EXPORT'
 
20172
+      ;;
 
20173
+
 
20174
+    darwin* | rhapsody*)
 
20175
+      # PIC is the default on this platform
 
20176
+      # Common symbols not allowed in MH_DYLIB files
 
20177
+      lt_prog_compiler_pic='-fno-common'
 
20178
+      ;;
 
20179
+
 
20180
+    msdosdjgpp*)
 
20181
+      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
20182
+      # on systems that don't support them.
 
20183
+      lt_prog_compiler_can_build_shared=no
 
20184
+      enable_shared=no
 
20185
+      ;;
 
20186
+
 
20187
+    sysv4*MP*)
 
20188
+      if test -d /usr/nec; then
 
20189
+       lt_prog_compiler_pic=-Kconform_pic
 
20190
+      fi
 
20191
+      ;;
 
20192
+
 
20193
+    hpux*)
 
20194
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
20195
+      # not for PA HP-UX.
 
20196
+      case "$host_cpu" in
 
20197
+      hppa*64*|ia64*)
 
20198
+       # +Z the default
 
20199
+       ;;
 
20200
+      *)
 
20201
+       lt_prog_compiler_pic='-fPIC'
 
20202
+       ;;
 
20203
+      esac
 
20204
+      ;;
 
20205
+
 
20206
+    *)
 
20207
+      lt_prog_compiler_pic='-fPIC'
 
20208
+      ;;
 
20209
+    esac
 
20210
+  else
 
20211
+    # PORTME Check for flag to pass linker flags through the system compiler.
 
20212
+    case $host_os in
 
20213
+    aix*)
 
20214
+      lt_prog_compiler_wl='-Wl,'
 
20215
+      if test "$host_cpu" = ia64; then
 
20216
+       # AIX 5 now supports IA64 processor
 
20217
+       lt_prog_compiler_static='-Bstatic'
 
20218
+      else
 
20219
+       lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
20220
+      fi
 
20221
+      ;;
 
20222
+
 
20223
+    mingw* | pw32* | os2*)
 
20224
+      # This hack is so that the source file can tell whether it is being
 
20225
+      # built for inclusion in a dll (and should export symbols for example).
 
20226
+      lt_prog_compiler_pic='-DDLL_EXPORT'
 
20227
+      ;;
 
20228
+
 
20229
+    hpux9* | hpux10* | hpux11*)
 
20230
+      lt_prog_compiler_wl='-Wl,'
 
20231
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
20232
+      # not for PA HP-UX.
 
20233
+      case "$host_cpu" in
 
20234
+      hppa*64*|ia64*)
 
20235
+       # +Z the default
 
20236
+       ;;
 
20237
+      *)
 
20238
+       lt_prog_compiler_pic='+Z'
 
20239
+       ;;
 
20240
+      esac
 
20241
+      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
20242
+      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
20243
+      ;;
 
20244
+
 
20245
+    irix5* | irix6* | nonstopux*)
 
20246
+      lt_prog_compiler_wl='-Wl,'
 
20247
+      # PIC (with -KPIC) is the default.
 
20248
+      lt_prog_compiler_static='-non_shared'
 
20249
+      ;;
 
20250
+
 
20251
+    newsos6)
 
20252
+      lt_prog_compiler_pic='-KPIC'
 
20253
+      lt_prog_compiler_static='-Bstatic'
 
20254
+      ;;
 
20255
+
 
20256
+    linux*)
 
20257
+      case $CC in
 
20258
+      icc* | ecc*)
 
20259
+       lt_prog_compiler_wl='-Wl,'
 
20260
+       lt_prog_compiler_pic='-KPIC'
 
20261
+       lt_prog_compiler_static='-static'
 
20262
+        ;;
 
20263
+      ccc*)
 
20264
+        lt_prog_compiler_wl='-Wl,'
 
20265
+        # All Alpha code is PIC.
 
20266
+        lt_prog_compiler_static='-non_shared'
 
20267
+        ;;
 
20268
+      esac
 
20269
+      ;;
 
20270
+
 
20271
+    osf3* | osf4* | osf5*)
 
20272
+      lt_prog_compiler_wl='-Wl,'
 
20273
+      # All OSF/1 code is PIC.
 
20274
+      lt_prog_compiler_static='-non_shared'
 
20275
+      ;;
 
20276
+
 
20277
+    sco3.2v5*)
 
20278
+      lt_prog_compiler_pic='-Kpic'
 
20279
+      lt_prog_compiler_static='-dn'
 
20280
+      ;;
 
20281
+
 
20282
+    solaris*)
 
20283
+      lt_prog_compiler_wl='-Wl,'
 
20284
+      lt_prog_compiler_pic='-KPIC'
 
20285
+      lt_prog_compiler_static='-Bstatic'
 
20286
+      ;;
 
20287
+
 
20288
+    sunos4*)
 
20289
+      lt_prog_compiler_wl='-Qoption ld '
 
20290
+      lt_prog_compiler_pic='-PIC'
 
20291
+      lt_prog_compiler_static='-Bstatic'
 
20292
+      ;;
 
20293
+
 
20294
+    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
20295
+      lt_prog_compiler_wl='-Wl,'
 
20296
+      lt_prog_compiler_pic='-KPIC'
 
20297
+      lt_prog_compiler_static='-Bstatic'
 
20298
+      ;;
 
20299
+
 
20300
+    sysv4*MP*)
 
20301
+      if test -d /usr/nec ;then
 
20302
+       lt_prog_compiler_pic='-Kconform_pic'
 
20303
+       lt_prog_compiler_static='-Bstatic'
 
20304
+      fi
 
20305
+      ;;
 
20306
+
 
20307
+    uts4*)
 
20308
+      lt_prog_compiler_pic='-pic'
 
20309
+      lt_prog_compiler_static='-Bstatic'
 
20310
+      ;;
 
20311
+
 
20312
+    *)
 
20313
+      lt_prog_compiler_can_build_shared=no
 
20314
+      ;;
 
20315
+    esac
 
20316
+  fi
 
20317
+
 
20318
+echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
20319
+echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
20320
+
 
20321
+#
 
20322
+# Check to make sure the PIC flag actually works.
 
20323
+#
 
20324
+if test -n "$lt_prog_compiler_pic"; then
 
20325
+
 
20326
+echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
20327
+echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 
20328
+if test "${lt_prog_compiler_pic_works+set}" = set; then
 
20329
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20330
+else
 
20331
+  lt_prog_compiler_pic_works=no
 
20332
+  ac_outfile=conftest.$ac_objext
 
20333
+   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
20334
+   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 
20335
+   # Insert the option either (1) after the last *FLAGS variable, or
 
20336
+   # (2) before a word containing "conftest.", or (3) at the end.
 
20337
+   # Note that $ac_compile itself does not contain backslashes and begins
 
20338
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
20339
+   # The option is referenced via a variable to avoid confusing sed.
 
20340
+   lt_compile=`echo "$ac_compile" | $SED \
 
20341
+   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
20342
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
20343
+   -e 's:$: $lt_compiler_flag:'`
 
20344
+   (eval echo "\"\$as_me:6509: $lt_compile\"" >&5)
 
20345
+   (eval "$lt_compile" 2>conftest.err)
 
20346
+   ac_status=$?
 
20347
+   cat conftest.err >&5
 
20348
+   echo "$as_me:6513: \$? = $ac_status" >&5
 
20349
+   if (exit $ac_status) && test -s "$ac_outfile"; then
 
20350
+     # The compiler can only warn and ignore the option if not recognized
 
20351
+     # So say no if there are warnings
 
20352
+     if test ! -s conftest.err; then
 
20353
+       lt_prog_compiler_pic_works=yes
 
20354
+     fi
 
20355
+   fi
 
20356
+   $rm conftest*
 
20357
+
 
20358
+fi
 
20359
+echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
20360
+echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
20361
+
 
20362
+if test x"$lt_prog_compiler_pic_works" = xyes; then
 
20363
+    case $lt_prog_compiler_pic in
 
20364
+     "" | " "*) ;;
 
20365
+     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
20366
+     esac
 
20367
+else
 
20368
+    lt_prog_compiler_pic=
 
20369
+     lt_prog_compiler_can_build_shared=no
 
20370
+fi
 
20371
+
 
20372
+fi
 
20373
+case "$host_os" in
 
20374
+  # For platforms which do not support PIC, -DPIC is meaningless:
 
20375
+  *djgpp*)
 
20376
+    lt_prog_compiler_pic=
 
20377
+    ;;
 
20378
+  *)
 
20379
+    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
20380
+    ;;
 
20381
+esac
 
20382
+
 
20383
+echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
20384
+echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
20385
+if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
20386
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20387
+else
 
20388
+  lt_cv_prog_compiler_c_o=no
 
20389
+   $rm -r conftest 2>/dev/null
 
20390
+   mkdir conftest
 
20391
+   cd conftest
 
20392
+   mkdir out
 
20393
+   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
20394
+
 
20395
+   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
20396
+   # Insert the option either (1) after the last *FLAGS variable, or
 
20397
+   # (2) before a word containing "conftest.", or (3) at the end.
 
20398
+   # Note that $ac_compile itself does not contain backslashes and begins
 
20399
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
20400
+   lt_compile=`echo "$ac_compile" | $SED \
 
20401
+   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
20402
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
20403
+   -e 's:$: $lt_compiler_flag:'`
 
20404
+   (eval echo "\"\$as_me:6569: $lt_compile\"" >&5)
 
20405
+   (eval "$lt_compile" 2>out/conftest.err)
 
20406
+   ac_status=$?
 
20407
+   cat out/conftest.err >&5
 
20408
+   echo "$as_me:6573: \$? = $ac_status" >&5
 
20409
+   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
20410
+   then
 
20411
+     # The compiler can only warn and ignore the option if not recognized
 
20412
+     # So say no if there are warnings
 
20413
+     if test ! -s out/conftest.err; then
 
20414
+       lt_cv_prog_compiler_c_o=yes
 
20415
+     fi
 
20416
+   fi
 
20417
+   chmod u+w .
 
20418
+   $rm conftest*
 
20419
+   # SGI C++ compiler will create directory out/ii_files/ for
 
20420
+   # template instantiation
 
20421
+   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 
20422
+   $rm out/* && rmdir out
 
20423
+   cd ..
 
20424
+   rmdir conftest
 
20425
+   $rm conftest*
 
20426
+
 
20427
+fi
 
20428
+echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
20429
+echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
20430
+
 
20431
+
 
20432
+hard_links="nottested"
 
20433
+if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
20434
+  # do not overwrite the value of need_locks provided by the user
 
20435
+  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
20436
+echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
20437
+  hard_links=yes
 
20438
+  $rm conftest*
 
20439
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
20440
+  touch conftest.a
 
20441
+  ln conftest.a conftest.b 2>&5 || hard_links=no
 
20442
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
20443
+  echo "$as_me:$LINENO: result: $hard_links" >&5
 
20444
+echo "${ECHO_T}$hard_links" >&6
 
20445
+  if test "$hard_links" = no; then
 
20446
+    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
20447
+echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
20448
+    need_locks=warn
 
20449
+  fi
 
20450
+else
 
20451
+  need_locks=no
 
20452
+fi
 
20453
+
 
20454
+echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
20455
+echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
20456
+
 
20457
+  runpath_var=
 
20458
+  allow_undefined_flag=
 
20459
+  enable_shared_with_static_runtimes=no
 
20460
+  archive_cmds=
 
20461
+  archive_expsym_cmds=
 
20462
+  old_archive_From_new_cmds=
 
20463
+  old_archive_from_expsyms_cmds=
 
20464
+  export_dynamic_flag_spec=
 
20465
+  whole_archive_flag_spec=
 
20466
+  thread_safe_flag_spec=
 
20467
+  hardcode_libdir_flag_spec=
 
20468
+  hardcode_libdir_flag_spec_ld=
 
20469
+  hardcode_libdir_separator=
 
20470
+  hardcode_direct=no
 
20471
+  hardcode_minus_L=no
 
20472
+  hardcode_shlibpath_var=unsupported
 
20473
+  link_all_deplibs=unknown
 
20474
+  hardcode_automatic=no
 
20475
+  module_cmds=
 
20476
+  module_expsym_cmds=
 
20477
+  always_export_symbols=no
 
20478
+  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
20479
+  # include_expsyms should be a list of space-separated symbols to be *always*
 
20480
+  # included in the symbol list
 
20481
+  include_expsyms=
 
20482
+  # exclude_expsyms can be an extended regexp of symbols to exclude
 
20483
+  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
20484
+  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
20485
+  # as well as any symbol that contains `d'.
 
20486
+  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
20487
+  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
20488
+  # platforms (ab)use it in PIC code, but their linkers get confused if
 
20489
+  # the symbol is explicitly referenced.  Since portable code cannot
 
20490
+  # rely on this symbol name, it's probably fine to never include it in
 
20491
+  # preloaded symbol tables.
 
20492
+  extract_expsyms_cmds=
 
20493
+
 
20494
+  case $host_os in
 
20495
+  cygwin* | mingw* | pw32*)
 
20496
+    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
20497
+    # When not using gcc, we currently assume that we are using
 
20498
+    # Microsoft Visual C++.
 
20499
+    if test "$GCC" != yes; then
 
20500
+      with_gnu_ld=no
 
20501
+    fi
 
20502
+    ;;
 
20503
+  openbsd*)
 
20504
+    with_gnu_ld=no
 
20505
+    ;;
 
20506
+  esac
 
20507
+
 
20508
+  ld_shlibs=yes
 
20509
+  if test "$with_gnu_ld" = yes; then
 
20510
+    # If archive_cmds runs LD, not CC, wlarc should be empty
 
20511
+    wlarc='${wl}'
 
20512
+
 
20513
+    # See if GNU ld supports shared libraries.
 
20514
+    case $host_os in
 
20515
+    aix3* | aix4* | aix5*)
 
20516
+      # On AIX/PPC, the GNU linker is very broken
 
20517
+      if test "$host_cpu" != ia64; then
 
20518
+       ld_shlibs=no
 
20519
+       cat <<EOF 1>&2
 
20520
+
 
20521
+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
20522
+*** to be unable to reliably create shared libraries on AIX.
 
20523
+*** Therefore, libtool is disabling shared libraries support.  If you
 
20524
+*** really care for shared libraries, you may want to modify your PATH
 
20525
+*** so that a non-GNU linker is found, and then restart.
 
20526
+
 
20527
+EOF
 
20528
+      fi
 
20529
+      ;;
 
20530
+
 
20531
+    amigaos*)
 
20532
+      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)'
 
20533
+      hardcode_libdir_flag_spec='-L$libdir'
 
20534
+      hardcode_minus_L=yes
 
20535
+
 
20536
+      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
 
20537
+      # that the semantics of dynamic libraries on AmigaOS, at least up
 
20538
+      # to version 4, is to share data among multiple programs linked
 
20539
+      # with the same dynamic library.  Since this doesn't match the
 
20540
+      # behavior of shared libraries on other platforms, we can't use
 
20541
+      # them.
 
20542
+      ld_shlibs=no
 
20543
+      ;;
 
20544
+
 
20545
+    beos*)
 
20546
+      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
20547
+       allow_undefined_flag=unsupported
 
20548
+       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
20549
+       # support --undefined.  This deserves some investigation.  FIXME
 
20550
+       archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
20551
+      else
 
20552
+       ld_shlibs=no
 
20553
+      fi
 
20554
+      ;;
 
20555
+
 
20556
+    cygwin* | mingw* | pw32*)
 
20557
+      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
20558
+      # as there is no search path for DLLs.
 
20559
+      hardcode_libdir_flag_spec='-L$libdir'
 
20560
+      allow_undefined_flag=unsupported
 
20561
+      always_export_symbols=no
 
20562
+      enable_shared_with_static_runtimes=yes
 
20563
+      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
20564
+
 
20565
+      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
20566
+        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
20567
+       # If the export-symbols file already is a .def file (1st line
 
20568
+       # is EXPORTS), use it as is; otherwise, prepend...
 
20569
+       archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
20570
+         cp $export_symbols $output_objdir/$soname.def;
 
20571
+       else
 
20572
+         echo EXPORTS > $output_objdir/$soname.def;
 
20573
+         cat $export_symbols >> $output_objdir/$soname.def;
 
20574
+       fi~
 
20575
+       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
20576
+      else
 
20577
+       ld_shlibs=no
 
20578
+      fi
 
20579
+      ;;
 
20580
+
 
20581
+    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
20582
+      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
20583
+       archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
20584
+       wlarc=
 
20585
+      else
 
20586
+       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
20587
+       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
20588
+      fi
 
20589
+      ;;
 
20590
+
 
20591
+    solaris* | sysv5*)
 
20592
+      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
20593
+       ld_shlibs=no
 
20594
+       cat <<EOF 1>&2
 
20595
+
 
20596
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
20597
+*** create shared libraries on Solaris systems.  Therefore, libtool
 
20598
+*** is disabling shared libraries support.  We urge you to upgrade GNU
 
20599
+*** binutils to release 2.9.1 or newer.  Another option is to modify
 
20600
+*** your PATH or compiler configuration so that the native linker is
 
20601
+*** used, and then restart.
 
20602
+
 
20603
+EOF
 
20604
+      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
20605
+       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
20606
+       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
20607
+      else
 
20608
+       ld_shlibs=no
 
20609
+      fi
 
20610
+      ;;
 
20611
+
 
20612
+    sunos4*)
 
20613
+      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
20614
+      wlarc=
 
20615
+      hardcode_direct=yes
 
20616
+      hardcode_shlibpath_var=no
 
20617
+      ;;
 
20618
+
 
20619
+  linux*)
 
20620
+    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
20621
+        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
20622
+       archive_cmds="$tmp_archive_cmds"
 
20623
+      supports_anon_versioning=no
 
20624
+      case `$LD -v 2>/dev/null` in
 
20625
+        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
20626
+        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
20627
+        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
20628
+        *\ 2.11.*) ;; # other 2.11 versions
 
20629
+        *) supports_anon_versioning=yes ;;
 
20630
+      esac
 
20631
+      if test $supports_anon_versioning = yes; then
 
20632
+        archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
 
20633
+cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
20634
+$echo "local: *; };" >> $output_objdir/$libname.ver~
 
20635
+        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
20636
+      else
 
20637
+        archive_expsym_cmds="$tmp_archive_cmds"
 
20638
+      fi
 
20639
+      link_all_deplibs=no
 
20640
+    else
 
20641
+      ld_shlibs=no
 
20642
+    fi
 
20643
+    ;;
 
20644
+
 
20645
+    *)
 
20646
+      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
20647
+       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
20648
+       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
20649
+      else
 
20650
+       ld_shlibs=no
 
20651
+      fi
 
20652
+      ;;
 
20653
+    esac
 
20654
+
 
20655
+    if test "$ld_shlibs" = yes; then
 
20656
+      runpath_var=LD_RUN_PATH
 
20657
+      hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
20658
+      export_dynamic_flag_spec='${wl}--export-dynamic'
 
20659
+      # ancient GNU ld didn't support --whole-archive et. al.
 
20660
+      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
20661
+       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
20662
+      else
 
20663
+       whole_archive_flag_spec=
 
20664
+      fi
 
20665
+    fi
 
20666
+  else
 
20667
+    # PORTME fill in a description of your system's linker (not GNU ld)
 
20668
+    case $host_os in
 
20669
+    aix3*)
 
20670
+      allow_undefined_flag=unsupported
 
20671
+      always_export_symbols=yes
 
20672
+      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'
 
20673
+      # Note: this linker hardcodes the directories in LIBPATH if there
 
20674
+      # are no directories specified by -L.
 
20675
+      hardcode_minus_L=yes
 
20676
+      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
20677
+       # Neither direct hardcoding nor static linking is supported with a
 
20678
+       # broken collect2.
 
20679
+       hardcode_direct=unsupported
 
20680
+      fi
 
20681
+      ;;
 
20682
+
 
20683
+    aix4* | aix5*)
 
20684
+      if test "$host_cpu" = ia64; then
 
20685
+       # On IA64, the linker does run time linking by default, so we don't
 
20686
+       # have to do anything special.
 
20687
+       aix_use_runtimelinking=no
 
20688
+       exp_sym_flag='-Bexport'
 
20689
+       no_entry_flag=""
 
20690
+      else
 
20691
+       # If we're using GNU nm, then we don't want the "-C" option.
 
20692
+       # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
20693
+       if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 
20694
+         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'
 
20695
+       else
 
20696
+         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'
 
20697
+       fi
 
20698
+       aix_use_runtimelinking=no
 
20699
+
 
20700
+       # Test if we are trying to use run time linking or normal
 
20701
+       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
20702
+       # need to do runtime linking.
 
20703
+       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
20704
+         for ld_flag in $LDFLAGS; do
 
20705
+         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
20706
+           aix_use_runtimelinking=yes
 
20707
+           break
 
20708
+         fi
 
20709
+         done
 
20710
+       esac
 
20711
+
 
20712
+       exp_sym_flag='-bexport'
 
20713
+       no_entry_flag='-bnoentry'
 
20714
+      fi
 
20715
+
 
20716
+      # When large executables or shared objects are built, AIX ld can
 
20717
+      # have problems creating the table of contents.  If linking a library
 
20718
+      # or program results in "error TOC overflow" add -mminimal-toc to
 
20719
+      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
20720
+      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
20721
+
 
20722
+      archive_cmds=''
 
20723
+      hardcode_direct=yes
 
20724
+      hardcode_libdir_separator=':'
 
20725
+      link_all_deplibs=yes
 
20726
+
 
20727
+      if test "$GCC" = yes; then
 
20728
+       case $host_os in aix4.012|aix4.012.*)
 
20729
+       # We only want to do this on AIX 4.2 and lower, the check
 
20730
+       # below for broken collect2 doesn't work under 4.3+
 
20731
+         collect2name=`${CC} -print-prog-name=collect2`
 
20732
+         if test -f "$collect2name" && \
 
20733
+          strings "$collect2name" | grep resolve_lib_name >/dev/null
 
20734
+         then
 
20735
+         # We have reworked collect2
 
20736
+         hardcode_direct=yes
 
20737
+         else
 
20738
+         # We have old collect2
 
20739
+         hardcode_direct=unsupported
 
20740
+         # It fails to find uninstalled libraries when the uninstalled
 
20741
+         # path is not listed in the libpath.  Setting hardcode_minus_L
 
20742
+         # to unsupported forces relinking
 
20743
+         hardcode_minus_L=yes
 
20744
+         hardcode_libdir_flag_spec='-L$libdir'
 
20745
+         hardcode_libdir_separator=
 
20746
+         fi
 
20747
+       esac
 
20748
+       shared_flag='-shared'
 
20749
+      else
 
20750
+       # not using gcc
 
20751
+       if test "$host_cpu" = ia64; then
 
20752
+       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
20753
+       # chokes on -Wl,-G. The following line is correct:
 
20754
+         shared_flag='-G'
 
20755
+       else
 
20756
+       if test "$aix_use_runtimelinking" = yes; then
 
20757
+           shared_flag='${wl}-G'
 
20758
+         else
 
20759
+           shared_flag='${wl}-bM:SRE'
 
20760
+       fi
 
20761
+       fi
 
20762
+      fi
 
20763
+
 
20764
+      # It seems that -bexpall does not export symbols beginning with
 
20765
+      # underscore (_), so it is better to generate a list of symbols to export.
 
20766
+      always_export_symbols=yes
 
20767
+      if test "$aix_use_runtimelinking" = yes; then
 
20768
+       # Warning - without using the other runtime loading flags (-brtl),
 
20769
+       # -berok will link without error, but may produce a broken library.
 
20770
+       allow_undefined_flag='-berok'
 
20771
+       # Determine the default libpath from the value encoded in an empty executable.
 
20772
+       cat >conftest.$ac_ext <<_ACEOF
 
20773
+/* confdefs.h.  */
 
20774
+_ACEOF
 
20775
+cat confdefs.h >>conftest.$ac_ext
 
20776
+cat >>conftest.$ac_ext <<_ACEOF
 
20777
+/* end confdefs.h.  */
 
20778
+
 
20779
+int
 
20780
+main ()
 
20781
+{
 
20782
+
 
20783
+  ;
 
20784
+  return 0;
 
20785
+}
 
20786
+_ACEOF
 
20787
+rm -f conftest.$ac_objext conftest$ac_exeext
 
20788
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
20789
+  (eval $ac_link) 2>conftest.er1
 
20790
+  ac_status=$?
 
20791
+  grep -v '^ *+' conftest.er1 >conftest.err
 
20792
+  rm -f conftest.er1
 
20793
+  cat conftest.err >&5
 
20794
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20795
+  (exit $ac_status); } &&
 
20796
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20797
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20798
+  (eval $ac_try) 2>&5
 
20799
+  ac_status=$?
 
20800
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20801
+  (exit $ac_status); }; } &&
 
20802
+        { ac_try='test -s conftest$ac_exeext'
 
20803
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20804
+  (eval $ac_try) 2>&5
 
20805
+  ac_status=$?
 
20806
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20807
+  (exit $ac_status); }; }; then
 
20808
+
 
20809
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
20810
+}'`
 
20811
+# Check for a 64-bit object if we didn't find anything.
 
20812
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
20813
+}'`; fi
 
20814
+else
 
20815
+  echo "$as_me: failed program was:" >&5
 
20816
+sed 's/^/| /' conftest.$ac_ext >&5
 
20817
+
 
20818
+fi
 
20819
+rm -f conftest.err conftest.$ac_objext \
 
20820
+      conftest$ac_exeext conftest.$ac_ext
 
20821
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
20822
+
 
20823
+       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
20824
+       archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
20825
+       else
 
20826
+       if test "$host_cpu" = ia64; then
 
20827
+         hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
20828
+         allow_undefined_flag="-z nodefs"
 
20829
+         archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
20830
+       else
 
20831
+        # Determine the default libpath from the value encoded in an empty executable.
 
20832
+        cat >conftest.$ac_ext <<_ACEOF
 
20833
+/* confdefs.h.  */
 
20834
+_ACEOF
 
20835
+cat confdefs.h >>conftest.$ac_ext
 
20836
+cat >>conftest.$ac_ext <<_ACEOF
 
20837
+/* end confdefs.h.  */
 
20838
+
 
20839
+int
 
20840
+main ()
 
20841
+{
 
20842
+
 
20843
+  ;
 
20844
+  return 0;
 
20845
+}
 
20846
+_ACEOF
 
20847
+rm -f conftest.$ac_objext conftest$ac_exeext
 
20848
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
20849
+  (eval $ac_link) 2>conftest.er1
 
20850
+  ac_status=$?
 
20851
+  grep -v '^ *+' conftest.er1 >conftest.err
 
20852
+  rm -f conftest.er1
 
20853
+  cat conftest.err >&5
 
20854
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20855
+  (exit $ac_status); } &&
 
20856
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20857
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20858
+  (eval $ac_try) 2>&5
 
20859
+  ac_status=$?
 
20860
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20861
+  (exit $ac_status); }; } &&
 
20862
+        { ac_try='test -s conftest$ac_exeext'
 
20863
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20864
+  (eval $ac_try) 2>&5
 
20865
+  ac_status=$?
 
20866
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20867
+  (exit $ac_status); }; }; then
 
20868
+
 
20869
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
20870
+}'`
 
20871
+# Check for a 64-bit object if we didn't find anything.
 
20872
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
20873
+}'`; fi
 
20874
+else
 
20875
+  echo "$as_me: failed program was:" >&5
 
20876
+sed 's/^/| /' conftest.$ac_ext >&5
 
20877
+
 
20878
+fi
 
20879
+rm -f conftest.err conftest.$ac_objext \
 
20880
+      conftest$ac_exeext conftest.$ac_ext
 
20881
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
20882
+
 
20883
+        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
20884
+         # Warning - without using the other run time loading flags,
 
20885
+         # -berok will link without error, but may produce a broken library.
 
20886
+         no_undefined_flag=' ${wl}-bernotok'
 
20887
+         allow_undefined_flag=' ${wl}-berok'
 
20888
+         # -bexpall does not export symbols beginning with underscore (_)
 
20889
+         always_export_symbols=yes
 
20890
+         # Exported symbols can be pulled into shared objects from archives
 
20891
+         whole_archive_flag_spec=' '
 
20892
+         archive_cmds_need_lc=yes
 
20893
+         # This is similar to how AIX traditionally builds it's shared libraries.
 
20894
+         archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
20895
+       fi
 
20896
+      fi
 
20897
+      ;;
 
20898
+
 
20899
+    amigaos*)
 
20900
+      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)'
 
20901
+      hardcode_libdir_flag_spec='-L$libdir'
 
20902
+      hardcode_minus_L=yes
 
20903
+      # see comment about different semantics on the GNU ld section
 
20904
+      ld_shlibs=no
 
20905
+      ;;
 
20906
+
 
20907
+    bsdi4*)
 
20908
+      export_dynamic_flag_spec=-rdynamic
 
20909
+      ;;
 
20910
+
 
20911
+    cygwin* | mingw* | pw32*)
 
20912
+      # When not using gcc, we currently assume that we are using
 
20913
+      # Microsoft Visual C++.
 
20914
+      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
20915
+      # no search path for DLLs.
 
20916
+      hardcode_libdir_flag_spec=' '
 
20917
+      allow_undefined_flag=unsupported
 
20918
+      # Tell ltmain to make .lib files, not .a files.
 
20919
+      libext=lib
 
20920
+      # Tell ltmain to make .dll files, not .so files.
 
20921
+      shrext_cmds=".dll"
 
20922
+      # FIXME: Setting linknames here is a bad hack.
 
20923
+      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
20924
+      # The linker will automatically build a .lib file if we build a DLL.
 
20925
+      old_archive_From_new_cmds='true'
 
20926
+      # FIXME: Should let the user specify the lib program.
 
20927
+      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
20928
+      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
20929
+      enable_shared_with_static_runtimes=yes
 
20930
+      ;;
 
20931
+
 
20932
+    darwin* | rhapsody*)
 
20933
+    if test "$GXX" = yes ; then
 
20934
+      archive_cmds_need_lc=no
 
20935
+      case "$host_os" in
 
20936
+      rhapsody* | darwin1.[012])
 
20937
+       allow_undefined_flag='-undefined suppress'
 
20938
+       ;;
 
20939
+      *) # Darwin 1.3 on
 
20940
+      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
20941
+       allow_undefined_flag='-flat_namespace -undefined suppress'
 
20942
+      else
 
20943
+        case ${MACOSX_DEPLOYMENT_TARGET} in
 
20944
+          10.[012])
 
20945
+            allow_undefined_flag='-flat_namespace -undefined suppress'
 
20946
+            ;;
 
20947
+          10.*)
 
20948
+            allow_undefined_flag='-undefined dynamic_lookup'
 
20949
+            ;;
 
20950
+        esac
 
20951
+      fi
 
20952
+       ;;
 
20953
+      esac
 
20954
+       lt_int_apple_cc_single_mod=no
 
20955
+       output_verbose_link_cmd='echo'
 
20956
+       if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
 
20957
+         lt_int_apple_cc_single_mod=yes
 
20958
+       fi
 
20959
+       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
20960
+         archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
20961
+       else
 
20962
+        archive_cmds='$CC -r ${wl}-bind_at_load -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'
 
20963
+      fi
 
20964
+      module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
20965
+      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
 
20966
+        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
20967
+          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
20968
+        else
 
20969
+          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
20970
+        fi
 
20971
+          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}'
 
20972
+      hardcode_direct=no
 
20973
+      hardcode_automatic=yes
 
20974
+      hardcode_shlibpath_var=unsupported
 
20975
+      whole_archive_flag_spec='-all_load $convenience'
 
20976
+      link_all_deplibs=yes
 
20977
+    else
 
20978
+      ld_shlibs=no
 
20979
+    fi
 
20980
+      ;;
 
20981
+
 
20982
+    dgux*)
 
20983
+      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
20984
+      hardcode_libdir_flag_spec='-L$libdir'
 
20985
+      hardcode_shlibpath_var=no
 
20986
+      ;;
 
20987
+
 
20988
+    freebsd1*)
 
20989
+      ld_shlibs=no
 
20990
+      ;;
 
20991
+
 
20992
+    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
20993
+    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
20994
+    # does not break anything, and helps significantly (at the cost of a little
 
20995
+    # extra space).
 
20996
+    freebsd2.2*)
 
20997
+      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
20998
+      hardcode_libdir_flag_spec='-R$libdir'
 
20999
+      hardcode_direct=yes
 
21000
+      hardcode_shlibpath_var=no
 
21001
+      ;;
 
21002
+
 
21003
+    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
21004
+    freebsd2*)
 
21005
+      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
21006
+      hardcode_direct=yes
 
21007
+      hardcode_minus_L=yes
 
21008
+      hardcode_shlibpath_var=no
 
21009
+      ;;
 
21010
+
 
21011
+    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
21012
+    freebsd* | kfreebsd*-gnu)
 
21013
+      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
21014
+      hardcode_libdir_flag_spec='-R$libdir'
 
21015
+      hardcode_direct=yes
 
21016
+      hardcode_shlibpath_var=no
 
21017
+      ;;
 
21018
+
 
21019
+    hpux9*)
 
21020
+      if test "$GCC" = yes; then
 
21021
+       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'
 
21022
+      else
 
21023
+       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'
 
21024
+      fi
 
21025
+      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
21026
+      hardcode_libdir_separator=:
 
21027
+      hardcode_direct=yes
 
21028
+
 
21029
+      # hardcode_minus_L: Not really in the search PATH,
 
21030
+      # but as the default location of the library.
 
21031
+      hardcode_minus_L=yes
 
21032
+      export_dynamic_flag_spec='${wl}-E'
 
21033
+      ;;
 
21034
+
 
21035
+    hpux10* | hpux11*)
 
21036
+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
21037
+       case "$host_cpu" in
 
21038
+       hppa*64*|ia64*)
 
21039
+         archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
21040
+         ;;
 
21041
+       *)
 
21042
+         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
21043
+         ;;
 
21044
+       esac
 
21045
+      else
 
21046
+       case "$host_cpu" in
 
21047
+       hppa*64*|ia64*)
 
21048
+         archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
21049
+         ;;
 
21050
+       *)
 
21051
+         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
21052
+         ;;
 
21053
+       esac
 
21054
+      fi
 
21055
+      if test "$with_gnu_ld" = no; then
 
21056
+       case "$host_cpu" in
 
21057
+       hppa*64*)
 
21058
+         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
21059
+         hardcode_libdir_flag_spec_ld='+b $libdir'
 
21060
+         hardcode_libdir_separator=:
 
21061
+         hardcode_direct=no
 
21062
+         hardcode_shlibpath_var=no
 
21063
+         ;;
 
21064
+       ia64*)
 
21065
+         hardcode_libdir_flag_spec='-L$libdir'
 
21066
+         hardcode_direct=no
 
21067
+         hardcode_shlibpath_var=no
 
21068
+
 
21069
+         # hardcode_minus_L: Not really in the search PATH,
 
21070
+         # but as the default location of the library.
 
21071
+         hardcode_minus_L=yes
 
21072
+         ;;
 
21073
+       *)
 
21074
+         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
21075
+         hardcode_libdir_separator=:
 
21076
+         hardcode_direct=yes
 
21077
+         export_dynamic_flag_spec='${wl}-E'
 
21078
+
 
21079
+         # hardcode_minus_L: Not really in the search PATH,
 
21080
+         # but as the default location of the library.
 
21081
+         hardcode_minus_L=yes
 
21082
+         ;;
 
21083
+       esac
 
21084
+      fi
 
21085
+      ;;
 
21086
+
 
21087
+    irix5* | irix6* | nonstopux*)
 
21088
+      if test "$GCC" = yes; then
 
21089
+       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'
 
21090
+      else
 
21091
+       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'
 
21092
+       hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
21093
+      fi
 
21094
+      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
21095
+      hardcode_libdir_separator=:
 
21096
+      link_all_deplibs=yes
 
21097
+      ;;
 
21098
+
 
21099
+    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
21100
+      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
21101
+       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
21102
+      else
 
21103
+       archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
21104
+      fi
 
21105
+      hardcode_libdir_flag_spec='-R$libdir'
 
21106
+      hardcode_direct=yes
 
21107
+      hardcode_shlibpath_var=no
 
21108
+      ;;
 
21109
+
 
21110
+    newsos6)
 
21111
+      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
21112
+      hardcode_direct=yes
 
21113
+      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
21114
+      hardcode_libdir_separator=:
 
21115
+      hardcode_shlibpath_var=no
 
21116
+      ;;
 
21117
+
 
21118
+    openbsd*)
 
21119
+      hardcode_direct=yes
 
21120
+      hardcode_shlibpath_var=no
 
21121
+      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
21122
+       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
21123
+       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
21124
+       export_dynamic_flag_spec='${wl}-E'
 
21125
+      else
 
21126
+       case $host_os in
 
21127
+        openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
21128
+          archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
21129
+          hardcode_libdir_flag_spec='-R$libdir'
 
21130
+          ;;
 
21131
+        *)
 
21132
+          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
21133
+          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
21134
+          ;;
 
21135
+       esac
 
21136
+      fi
 
21137
+      ;;
 
21138
+
 
21139
+    os2*)
 
21140
+      hardcode_libdir_flag_spec='-L$libdir'
 
21141
+      hardcode_minus_L=yes
 
21142
+      allow_undefined_flag=unsupported
 
21143
+      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'
 
21144
+      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
21145
+      ;;
 
21146
+
 
21147
+    osf3*)
 
21148
+      if test "$GCC" = yes; then
 
21149
+       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
21150
+       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'
 
21151
+      else
 
21152
+       allow_undefined_flag=' -expect_unresolved \*'
 
21153
+       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'
 
21154
+      fi
 
21155
+      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
21156
+      hardcode_libdir_separator=:
 
21157
+      ;;
 
21158
+
 
21159
+    osf4* | osf5*)     # as osf3* with the addition of -msym flag
 
21160
+      if test "$GCC" = yes; then
 
21161
+       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
21162
+       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'
 
21163
+       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
21164
+      else
 
21165
+       allow_undefined_flag=' -expect_unresolved \*'
 
21166
+       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'
 
21167
+       archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
 
21168
+       $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
21169
+
 
21170
+       # Both c and cxx compiler support -rpath directly
 
21171
+       hardcode_libdir_flag_spec='-rpath $libdir'
 
21172
+      fi
 
21173
+      hardcode_libdir_separator=:
 
21174
+      ;;
 
21175
+
 
21176
+    sco3.2v5*)
 
21177
+      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
21178
+      hardcode_shlibpath_var=no
 
21179
+      export_dynamic_flag_spec='${wl}-Bexport'
 
21180
+      runpath_var=LD_RUN_PATH
 
21181
+      hardcode_runpath_var=yes
 
21182
+      ;;
 
21183
+
 
21184
+    solaris*)
 
21185
+      no_undefined_flag=' -z text'
 
21186
+      if test "$GCC" = yes; then
 
21187
+       archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
21188
+       archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
21189
+         $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
21190
+      else
 
21191
+       archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
21192
+       archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
21193
+       $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
21194
+      fi
 
21195
+      hardcode_libdir_flag_spec='-R$libdir'
 
21196
+      hardcode_shlibpath_var=no
 
21197
+      case $host_os in
 
21198
+      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
21199
+      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
 
21200
+       whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
 
21201
+      esac
 
21202
+      link_all_deplibs=yes
 
21203
+      ;;
 
21204
+
 
21205
+    sunos4*)
 
21206
+      if test "x$host_vendor" = xsequent; then
 
21207
+       # Use $CC to link under sequent, because it throws in some extra .o
 
21208
+       # files that make .init and .fini sections work.
 
21209
+       archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
21210
+      else
 
21211
+       archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
21212
+      fi
 
21213
+      hardcode_libdir_flag_spec='-L$libdir'
 
21214
+      hardcode_direct=yes
 
21215
+      hardcode_minus_L=yes
 
21216
+      hardcode_shlibpath_var=no
 
21217
+      ;;
 
21218
+
 
21219
+    sysv4)
 
21220
+      case $host_vendor in
 
21221
+       sni)
 
21222
+         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
21223
+         hardcode_direct=yes # is this really true???
 
21224
+       ;;
 
21225
+       siemens)
 
21226
+         ## LD is ld it makes a PLAMLIB
 
21227
+         ## CC just makes a GrossModule.
 
21228
+         archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
21229
+         reload_cmds='$CC -r -o $output$reload_objs'
 
21230
+         hardcode_direct=no
 
21231
+        ;;
 
21232
+       motorola)
 
21233
+         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
21234
+         hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
21235
+       ;;
 
21236
+      esac
 
21237
+      runpath_var='LD_RUN_PATH'
 
21238
+      hardcode_shlibpath_var=no
 
21239
+      ;;
 
21240
+
 
21241
+    sysv4.3*)
 
21242
+      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
21243
+      hardcode_shlibpath_var=no
 
21244
+      export_dynamic_flag_spec='-Bexport'
 
21245
+      ;;
 
21246
+
 
21247
+    sysv4*MP*)
 
21248
+      if test -d /usr/nec; then
 
21249
+       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
21250
+       hardcode_shlibpath_var=no
 
21251
+       runpath_var=LD_RUN_PATH
 
21252
+       hardcode_runpath_var=yes
 
21253
+       ld_shlibs=yes
 
21254
+      fi
 
21255
+      ;;
 
21256
+
 
21257
+    sysv4.2uw2*)
 
21258
+      archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
21259
+      hardcode_direct=yes
 
21260
+      hardcode_minus_L=no
 
21261
+      hardcode_shlibpath_var=no
 
21262
+      hardcode_runpath_var=yes
 
21263
+      runpath_var=LD_RUN_PATH
 
21264
+      ;;
 
21265
+
 
21266
+   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
 
21267
+      no_undefined_flag='${wl}-z ${wl}text'
 
21268
+      if test "$GCC" = yes; then
 
21269
+       archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
21270
+      else
 
21271
+       archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
21272
+      fi
 
21273
+      runpath_var='LD_RUN_PATH'
 
21274
+      hardcode_shlibpath_var=no
 
21275
+      ;;
 
21276
+
 
21277
+    sysv5*)
 
21278
+      no_undefined_flag=' -z text'
 
21279
+      # $CC -shared without GNU ld will not create a library from C++
 
21280
+      # object files and a static libstdc++, better avoid it by now
 
21281
+      archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
21282
+      archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
21283
+               $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
21284
+      hardcode_libdir_flag_spec=
 
21285
+      hardcode_shlibpath_var=no
 
21286
+      runpath_var='LD_RUN_PATH'
 
21287
+      ;;
 
21288
+
 
21289
+    uts4*)
 
21290
+      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
21291
+      hardcode_libdir_flag_spec='-L$libdir'
 
21292
+      hardcode_shlibpath_var=no
 
21293
+      ;;
 
21294
+
 
21295
+    *)
 
21296
+      ld_shlibs=no
 
21297
+      ;;
 
21298
+    esac
 
21299
+  fi
 
21300
+
 
21301
+echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
21302
+echo "${ECHO_T}$ld_shlibs" >&6
 
21303
+test "$ld_shlibs" = no && can_build_shared=no
 
21304
+
 
21305
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
21306
+if test "$GCC" = yes; then
 
21307
+  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
21308
+fi
 
21309
+
 
21310
+#
 
21311
+# Do we need to explicitly link libc?
 
21312
+#
 
21313
+case "x$archive_cmds_need_lc" in
 
21314
+x|xyes)
 
21315
+  # Assume -lc should be added
 
21316
+  archive_cmds_need_lc=yes
 
21317
+
 
21318
+  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
21319
+    case $archive_cmds in
 
21320
+    *'~'*)
 
21321
+      # FIXME: we may have to deal with multi-command sequences.
 
21322
+      ;;
 
21323
+    '$CC '*)
 
21324
+      # Test whether the compiler implicitly links with -lc since on some
 
21325
+      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
21326
+      # to ld, don't add -lc before -lgcc.
 
21327
+      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
21328
+echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
21329
+      $rm conftest*
 
21330
+      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
21331
+
 
21332
+      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
21333
+  (eval $ac_compile) 2>&5
 
21334
+  ac_status=$?
 
21335
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21336
+  (exit $ac_status); } 2>conftest.err; then
 
21337
+        soname=conftest
 
21338
+        lib=conftest
 
21339
+        libobjs=conftest.$ac_objext
 
21340
+        deplibs=
 
21341
+        wl=$lt_prog_compiler_wl
 
21342
+        compiler_flags=-v
 
21343
+        linker_flags=-v
 
21344
+        verstring=
 
21345
+        output_objdir=.
 
21346
+        libname=conftest
 
21347
+        lt_save_allow_undefined_flag=$allow_undefined_flag
 
21348
+        allow_undefined_flag=
 
21349
+        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
21350
+  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
21351
+  ac_status=$?
 
21352
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21353
+  (exit $ac_status); }
 
21354
+        then
 
21355
+         archive_cmds_need_lc=no
 
21356
+        else
 
21357
+         archive_cmds_need_lc=yes
 
21358
+        fi
 
21359
+        allow_undefined_flag=$lt_save_allow_undefined_flag
 
21360
+      else
 
21361
+        cat conftest.err 1>&5
 
21362
+      fi
 
21363
+      $rm conftest*
 
21364
+      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
21365
+echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
21366
+      ;;
 
21367
+    esac
 
21368
+  fi
 
21369
+  ;;
 
21370
+esac
 
21371
+
 
21372
+echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
21373
+echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
21374
+library_names_spec=
 
21375
+libname_spec='lib$name'
 
21376
+soname_spec=
 
21377
+shrext_cmds=".so"
 
21378
+postinstall_cmds=
 
21379
+postuninstall_cmds=
 
21380
+finish_cmds=
 
21381
+finish_eval=
 
21382
+shlibpath_var=
 
21383
+shlibpath_overrides_runpath=unknown
 
21384
+version_type=none
 
21385
+dynamic_linker="$host_os ld.so"
 
21386
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
21387
+if test "$GCC" = yes; then
 
21388
+  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
21389
+  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
21390
+    # if the path contains ";" then we assume it to be the separator
 
21391
+    # otherwise default to the standard path separator (i.e. ":") - it is
 
21392
+    # assumed that no part of a normal pathname contains ";" but that should
 
21393
+    # okay in the real world where ";" in dirpaths is itself problematic.
 
21394
+    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
21395
+  else
 
21396
+    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
21397
+  fi
 
21398
+else
 
21399
+  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
21400
+fi
 
21401
+need_lib_prefix=unknown
 
21402
+hardcode_into_libs=no
 
21403
+
 
21404
+# when you set need_version to no, make sure it does not cause -set_version
 
21405
+# flags to be left without arguments
 
21406
+need_version=unknown
 
21407
+
 
21408
+case $host_os in
 
21409
+aix3*)
 
21410
+  version_type=linux
 
21411
+  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
21412
+  shlibpath_var=LIBPATH
 
21413
+
 
21414
+  # AIX 3 has no versioning support, so we append a major version to the name.
 
21415
+  soname_spec='${libname}${release}${shared_ext}$major'
 
21416
+  ;;
 
21417
+
 
21418
+aix4* | aix5*)
 
21419
+  version_type=linux
 
21420
+  need_lib_prefix=no
 
21421
+  need_version=no
 
21422
+  hardcode_into_libs=yes
 
21423
+  if test "$host_cpu" = ia64; then
 
21424
+    # AIX 5 supports IA64
 
21425
+    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
21426
+    shlibpath_var=LD_LIBRARY_PATH
 
21427
+  else
 
21428
+    # With GCC up to 2.95.x, collect2 would create an import file
 
21429
+    # for dependence libraries.  The import file would start with
 
21430
+    # the line `#! .'.  This would cause the generated library to
 
21431
+    # depend on `.', always an invalid library.  This was fixed in
 
21432
+    # development snapshots of GCC prior to 3.0.
 
21433
+    case $host_os in
 
21434
+      aix4 | aix4.[01] | aix4.[01].*)
 
21435
+      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
21436
+          echo ' yes '
 
21437
+          echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
21438
+       :
 
21439
+      else
 
21440
+       can_build_shared=no
 
21441
+      fi
 
21442
+      ;;
 
21443
+    esac
 
21444
+    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
21445
+    # soname into executable. Probably we can add versioning support to
 
21446
+    # collect2, so additional links can be useful in future.
 
21447
+    if test "$aix_use_runtimelinking" = yes; then
 
21448
+      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
21449
+      # instead of lib<name>.a to let people know that these are not
 
21450
+      # typical AIX shared libraries.
 
21451
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
21452
+    else
 
21453
+      # We preserve .a as extension for shared libraries through AIX4.2
 
21454
+      # and later when we are not doing run time linking.
 
21455
+      library_names_spec='${libname}${release}.a $libname.a'
 
21456
+      soname_spec='${libname}${release}${shared_ext}$major'
 
21457
+    fi
 
21458
+    shlibpath_var=LIBPATH
 
21459
+  fi
 
21460
+  ;;
 
21461
+
 
21462
+amigaos*)
 
21463
+  library_names_spec='$libname.ixlibrary $libname.a'
 
21464
+  # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
21465
+  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'
 
21466
+  ;;
 
21467
+
 
21468
+beos*)
 
21469
+  library_names_spec='${libname}${shared_ext}'
 
21470
+  dynamic_linker="$host_os ld.so"
 
21471
+  shlibpath_var=LIBRARY_PATH
 
21472
+  ;;
 
21473
+
 
21474
+bsdi4*)
 
21475
+  version_type=linux
 
21476
+  need_version=no
 
21477
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
21478
+  soname_spec='${libname}${release}${shared_ext}$major'
 
21479
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
21480
+  shlibpath_var=LD_LIBRARY_PATH
 
21481
+  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
21482
+  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
21483
+  # the default ld.so.conf also contains /usr/contrib/lib and
 
21484
+  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
21485
+  # libtool to hard-code these into programs
 
21486
+  ;;
 
21487
+
 
21488
+cygwin* | mingw* | pw32*)
 
21489
+  version_type=windows
 
21490
+  shrext_cmds=".dll"
 
21491
+  need_version=no
 
21492
+  need_lib_prefix=no
 
21493
+
 
21494
+  case $GCC,$host_os in
 
21495
+  yes,cygwin* | yes,mingw* | yes,pw32*)
 
21496
+    library_names_spec='$libname.dll.a'
 
21497
+    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
21498
+    postinstall_cmds='base_file=`basename \${file}`~
 
21499
+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
21500
+      dldir=$destdir/`dirname \$dlpath`~
 
21501
+      test -d \$dldir || mkdir -p \$dldir~
 
21502
+      $install_prog $dir/$dlname \$dldir/$dlname'
 
21503
+    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
21504
+      dlpath=$dir/\$dldll~
 
21505
+       $rm \$dlpath'
 
21506
+    shlibpath_overrides_runpath=yes
 
21507
+
 
21508
+    case $host_os in
 
21509
+    cygwin*)
 
21510
+      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
21511
+      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
21512
+      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
21513
+      ;;
 
21514
+    mingw*)
 
21515
+      # MinGW DLLs use traditional 'lib' prefix
 
21516
+      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
21517
+      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
21518
+      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
21519
+        # It is most probably a Windows format PATH printed by
 
21520
+        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
21521
+        # path with ; separators, and with drive letters. We can handle the
 
21522
+        # drive letters (cygwin fileutils understands them), so leave them,
 
21523
+        # especially as we might pass files found there to a mingw objdump,
 
21524
+        # which wouldn't understand a cygwinified path. Ahh.
 
21525
+        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
21526
+      else
 
21527
+        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
21528
+      fi
 
21529
+      ;;
 
21530
+    pw32*)
 
21531
+      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
21532
+      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
21533
+      ;;
 
21534
+    esac
 
21535
+    ;;
 
21536
+
 
21537
+  *)
 
21538
+    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
21539
+    ;;
 
21540
+  esac
 
21541
+  dynamic_linker='Win32 ld.exe'
 
21542
+  # FIXME: first we should search . and the directory the executable is in
 
21543
+  shlibpath_var=PATH
 
21544
+  ;;
 
21545
+
 
21546
+darwin* | rhapsody*)
 
21547
+  dynamic_linker="$host_os dyld"
 
21548
+  version_type=darwin
 
21549
+  need_lib_prefix=no
 
21550
+  need_version=no
 
21551
+  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
21552
+  soname_spec='${libname}${release}${major}$shared_ext'
 
21553
+  shlibpath_overrides_runpath=yes
 
21554
+  shlibpath_var=DYLD_LIBRARY_PATH
 
21555
+  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
21556
+  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
 
21557
+  if test "$GCC" = yes; then
 
21558
+    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
 
21559
+  else
 
21560
+    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
 
21561
+  fi
 
21562
+  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
21563
+  ;;
 
21564
+
 
21565
+dgux*)
 
21566
+  version_type=linux
 
21567
+  need_lib_prefix=no
 
21568
+  need_version=no
 
21569
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
21570
+  soname_spec='${libname}${release}${shared_ext}$major'
 
21571
+  shlibpath_var=LD_LIBRARY_PATH
 
21572
+  ;;
 
21573
+
 
21574
+freebsd1*)
 
21575
+  dynamic_linker=no
 
21576
+  ;;
 
21577
+
 
21578
+kfreebsd*-gnu)
 
21579
+  version_type=linux
 
21580
+  need_lib_prefix=no
 
21581
+  need_version=no
 
21582
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
21583
+  soname_spec='${libname}${release}${shared_ext}$major'
 
21584
+  shlibpath_var=LD_LIBRARY_PATH
 
21585
+  shlibpath_overrides_runpath=no
 
21586
+  hardcode_into_libs=yes
 
21587
+  dynamic_linker='GNU ld.so'
 
21588
+  ;;
 
21589
+
 
21590
+freebsd*)
 
21591
+  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
21592
+  version_type=freebsd-$objformat
 
21593
+  case $version_type in
 
21594
+    freebsd-elf*)
 
21595
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
21596
+      need_version=no
 
21597
+      need_lib_prefix=no
 
21598
+      ;;
 
21599
+    freebsd-*)
 
21600
+      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
21601
+      need_version=yes
 
21602
+      ;;
 
21603
+  esac
 
21604
+  shlibpath_var=LD_LIBRARY_PATH
 
21605
+  case $host_os in
 
21606
+  freebsd2*)
 
21607
+    shlibpath_overrides_runpath=yes
 
21608
+    ;;
 
21609
+  freebsd3.01* | freebsdelf3.01*)
 
21610
+    shlibpath_overrides_runpath=yes
 
21611
+    hardcode_into_libs=yes
 
21612
+    ;;
 
21613
+  *) # from 3.2 on
 
21614
+    shlibpath_overrides_runpath=no
 
21615
+    hardcode_into_libs=yes
 
21616
+    ;;
 
21617
+  esac
 
21618
+  ;;
 
21619
+
 
21620
+gnu*)
 
21621
+  version_type=linux
 
21622
+  need_lib_prefix=no
 
21623
+  need_version=no
 
21624
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
21625
+  soname_spec='${libname}${release}${shared_ext}$major'
 
21626
+  shlibpath_var=LD_LIBRARY_PATH
 
21627
+  hardcode_into_libs=yes
 
21628
+  ;;
 
21629
+
 
21630
+hpux9* | hpux10* | hpux11*)
 
21631
+  # Give a soname corresponding to the major version so that dld.sl refuses to
 
21632
+  # link against other versions.
 
21633
+  version_type=sunos
 
21634
+  need_lib_prefix=no
 
21635
+  need_version=no
 
21636
+  case "$host_cpu" in
 
21637
+  ia64*)
 
21638
+    shrext_cmds='.so'
 
21639
+    hardcode_into_libs=yes
 
21640
+    dynamic_linker="$host_os dld.so"
 
21641
+    shlibpath_var=LD_LIBRARY_PATH
 
21642
+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
21643
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
21644
+    soname_spec='${libname}${release}${shared_ext}$major'
 
21645
+    if test "X$HPUX_IA64_MODE" = X32; then
 
21646
+      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
21647
+    else
 
21648
+      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
21649
+    fi
 
21650
+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
21651
+    ;;
 
21652
+   hppa*64*)
 
21653
+     shrext_cmds='.sl'
 
21654
+     hardcode_into_libs=yes
 
21655
+     dynamic_linker="$host_os dld.sl"
 
21656
+     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
21657
+     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
21658
+     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
21659
+     soname_spec='${libname}${release}${shared_ext}$major'
 
21660
+     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
21661
+     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
21662
+     ;;
 
21663
+   *)
 
21664
+    shrext_cmds='.sl'
 
21665
+    dynamic_linker="$host_os dld.sl"
 
21666
+    shlibpath_var=SHLIB_PATH
 
21667
+    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
21668
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
21669
+    soname_spec='${libname}${release}${shared_ext}$major'
 
21670
+    ;;
 
21671
+  esac
 
21672
+  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
21673
+  postinstall_cmds='chmod 555 $lib'
 
21674
+  ;;
 
21675
+
 
21676
+irix5* | irix6* | nonstopux*)
 
21677
+  case $host_os in
 
21678
+    nonstopux*) version_type=nonstopux ;;
 
21679
+    *)
 
21680
+       if test "$lt_cv_prog_gnu_ld" = yes; then
 
21681
+               version_type=linux
 
21682
+       else
 
21683
+               version_type=irix
 
21684
+       fi ;;
 
21685
+  esac
 
21686
+  need_lib_prefix=no
 
21687
+  need_version=no
 
21688
+  soname_spec='${libname}${release}${shared_ext}$major'
 
21689
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
21690
+  case $host_os in
 
21691
+  irix5* | nonstopux*)
 
21692
+    libsuff= shlibsuff=
 
21693
+    ;;
 
21694
+  *)
 
21695
+    case $LD in # libtool.m4 will add one of these switches to LD
 
21696
+    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
21697
+      libsuff= shlibsuff= libmagic=32-bit;;
 
21698
+    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
21699
+      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
21700
+    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
21701
+      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
21702
+    *) libsuff= shlibsuff= libmagic=never-match;;
 
21703
+    esac
 
21704
+    ;;
 
21705
+  esac
 
21706
+  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
21707
+  shlibpath_overrides_runpath=no
 
21708
+  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
21709
+  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
21710
+  hardcode_into_libs=yes
 
21711
+  ;;
 
21712
+
 
21713
+# No shared lib support for Linux oldld, aout, or coff.
 
21714
+linux*oldld* | linux*aout* | linux*coff*)
 
21715
+  dynamic_linker=no
 
21716
+  ;;
 
21717
+
 
21718
+# This must be Linux ELF.
 
21719
+linux*)
 
21720
+  version_type=linux
 
21721
+  need_lib_prefix=no
 
21722
+  need_version=no
 
21723
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
21724
+  soname_spec='${libname}${release}${shared_ext}$major'
 
21725
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
21726
+  shlibpath_var=LD_LIBRARY_PATH
 
21727
+  shlibpath_overrides_runpath=no
 
21728
+  # This implies no fast_install, which is unacceptable.
 
21729
+  # Some rework will be needed to allow for fast_install
 
21730
+  # before this can be enabled.
 
21731
+  hardcode_into_libs=yes
 
21732
+
 
21733
+  # Append ld.so.conf contents to the search path
 
21734
+  if test -f /etc/ld.so.conf; then
 
21735
+    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
 
21736
+    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
21737
+  fi
 
21738
+
 
21739
+  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
21740
+  # powerpc, because MkLinux only supported shared libraries with the
 
21741
+  # GNU dynamic linker.  Since this was broken with cross compilers,
 
21742
+  # most powerpc-linux boxes support dynamic linking these days and
 
21743
+  # people can always --disable-shared, the test was removed, and we
 
21744
+  # assume the GNU/Linux dynamic linker is in use.
 
21745
+  dynamic_linker='GNU/Linux ld.so'
 
21746
+  ;;
 
21747
+
 
21748
+netbsdelf*-gnu)
 
21749
+  version_type=linux
 
21750
+  need_lib_prefix=no
 
21751
+  need_version=no
 
21752
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
21753
+  soname_spec='${libname}${release}${shared_ext}$major'
 
21754
+  shlibpath_var=LD_LIBRARY_PATH
 
21755
+  shlibpath_overrides_runpath=no
 
21756
+  hardcode_into_libs=yes
 
21757
+  dynamic_linker='NetBSD ld.elf_so'
 
21758
+  ;;
 
21759
+
 
21760
+knetbsd*-gnu)
 
21761
+  version_type=linux
 
21762
+  need_lib_prefix=no
 
21763
+  need_version=no
 
21764
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
21765
+  soname_spec='${libname}${release}${shared_ext}$major'
 
21766
+  shlibpath_var=LD_LIBRARY_PATH
 
21767
+  shlibpath_overrides_runpath=no
 
21768
+  hardcode_into_libs=yes
 
21769
+  dynamic_linker='GNU ld.so'
 
21770
+  ;;
 
21771
+
 
21772
+netbsd*)
 
21773
+  version_type=sunos
 
21774
+  need_lib_prefix=no
 
21775
+  need_version=no
 
21776
+  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
21777
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
21778
+    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
21779
+    dynamic_linker='NetBSD (a.out) ld.so'
 
21780
+  else
 
21781
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
21782
+    soname_spec='${libname}${release}${shared_ext}$major'
 
21783
+    dynamic_linker='NetBSD ld.elf_so'
 
21784
+  fi
 
21785
+  shlibpath_var=LD_LIBRARY_PATH
 
21786
+  shlibpath_overrides_runpath=yes
 
21787
+  hardcode_into_libs=yes
 
21788
+  ;;
 
21789
+
 
21790
+newsos6)
 
21791
+  version_type=linux
 
21792
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
21793
+  shlibpath_var=LD_LIBRARY_PATH
 
21794
+  shlibpath_overrides_runpath=yes
 
21795
+  ;;
 
21796
+
 
21797
+nto-qnx*)
 
21798
+  version_type=linux
 
21799
+  need_lib_prefix=no
 
21800
+  need_version=no
 
21801
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
21802
+  soname_spec='${libname}${release}${shared_ext}$major'
 
21803
+  shlibpath_var=LD_LIBRARY_PATH
 
21804
+  shlibpath_overrides_runpath=yes
 
21805
+  ;;
 
21806
+
 
21807
+openbsd*)
 
21808
+  version_type=sunos
 
21809
+  need_lib_prefix=no
 
21810
+  need_version=yes
 
21811
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
21812
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
21813
+  shlibpath_var=LD_LIBRARY_PATH
 
21814
+  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
21815
+    case $host_os in
 
21816
+      openbsd2.[89] | openbsd2.[89].*)
 
21817
+       shlibpath_overrides_runpath=no
 
21818
+       ;;
 
21819
+      *)
 
21820
+       shlibpath_overrides_runpath=yes
 
21821
+       ;;
 
21822
+      esac
 
21823
+  else
 
21824
+    shlibpath_overrides_runpath=yes
 
21825
+  fi
 
21826
+  ;;
 
21827
+
 
21828
+os2*)
 
21829
+  libname_spec='$name'
 
21830
+  shrext_cmds=".dll"
 
21831
+  need_lib_prefix=no
 
21832
+  library_names_spec='$libname${shared_ext} $libname.a'
 
21833
+  dynamic_linker='OS/2 ld.exe'
 
21834
+  shlibpath_var=LIBPATH
 
21835
+  ;;
 
21836
+
 
21837
+osf3* | osf4* | osf5*)
 
21838
+  version_type=osf
 
21839
+  need_lib_prefix=no
 
21840
+  need_version=no
 
21841
+  soname_spec='${libname}${release}${shared_ext}$major'
 
21842
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
21843
+  shlibpath_var=LD_LIBRARY_PATH
 
21844
+  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
21845
+  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
21846
+  ;;
 
21847
+
 
21848
+sco3.2v5*)
 
21849
+  version_type=osf
 
21850
+  soname_spec='${libname}${release}${shared_ext}$major'
 
21851
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
21852
+  shlibpath_var=LD_LIBRARY_PATH
 
21853
+  ;;
 
21854
+
 
21855
+solaris*)
 
21856
+  version_type=linux
 
21857
+  need_lib_prefix=no
 
21858
+  need_version=no
 
21859
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
21860
+  soname_spec='${libname}${release}${shared_ext}$major'
 
21861
+  shlibpath_var=LD_LIBRARY_PATH
 
21862
+  shlibpath_overrides_runpath=yes
 
21863
+  hardcode_into_libs=yes
 
21864
+  # ldd complains unless libraries are executable
 
21865
+  postinstall_cmds='chmod +x $lib'
 
21866
+  ;;
 
21867
+
 
21868
+sunos4*)
 
21869
+  version_type=sunos
 
21870
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
21871
+  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
21872
+  shlibpath_var=LD_LIBRARY_PATH
 
21873
+  shlibpath_overrides_runpath=yes
 
21874
+  if test "$with_gnu_ld" = yes; then
 
21875
+    need_lib_prefix=no
 
21876
+  fi
 
21877
+  need_version=yes
 
21878
+  ;;
 
21879
+
 
21880
+sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
21881
+  version_type=linux
 
21882
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
21883
+  soname_spec='${libname}${release}${shared_ext}$major'
 
21884
+  shlibpath_var=LD_LIBRARY_PATH
 
21885
+  case $host_vendor in
 
21886
+    sni)
 
21887
+      shlibpath_overrides_runpath=no
 
21888
+      need_lib_prefix=no
 
21889
+      export_dynamic_flag_spec='${wl}-Blargedynsym'
 
21890
+      runpath_var=LD_RUN_PATH
 
21891
+      ;;
 
21892
+    siemens)
 
21893
+      need_lib_prefix=no
 
21894
+      ;;
 
21895
+    motorola)
 
21896
+      need_lib_prefix=no
 
21897
+      need_version=no
 
21898
+      shlibpath_overrides_runpath=no
 
21899
+      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
21900
+      ;;
 
21901
+  esac
 
21902
+  ;;
 
21903
+
 
21904
+sysv4*MP*)
 
21905
+  if test -d /usr/nec ;then
 
21906
+    version_type=linux
 
21907
+    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
21908
+    soname_spec='$libname${shared_ext}.$major'
 
21909
+    shlibpath_var=LD_LIBRARY_PATH
 
21910
+  fi
 
21911
+  ;;
 
21912
+
 
21913
+uts4*)
 
21914
+  version_type=linux
 
21915
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
21916
+  soname_spec='${libname}${release}${shared_ext}$major'
 
21917
+  shlibpath_var=LD_LIBRARY_PATH
 
21918
+  ;;
 
21919
+
 
21920
+*)
 
21921
+  dynamic_linker=no
 
21922
+  ;;
 
21923
+esac
 
21924
+echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
21925
+echo "${ECHO_T}$dynamic_linker" >&6
 
21926
+test "$dynamic_linker" = no && can_build_shared=no
 
21927
+
 
21928
+echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
21929
+echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
21930
+hardcode_action=
 
21931
+if test -n "$hardcode_libdir_flag_spec" || \
 
21932
+   test -n "$runpath_var " || \
 
21933
+   test "X$hardcode_automatic"="Xyes" ; then
 
21934
+
 
21935
+  # We can hardcode non-existant directories.
 
21936
+  if test "$hardcode_direct" != no &&
 
21937
+     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
21938
+     # have to relink, otherwise we might link with an installed library
 
21939
+     # when we should be linking with a yet-to-be-installed one
 
21940
+     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
21941
+     test "$hardcode_minus_L" != no; then
 
21942
+    # Linking always hardcodes the temporary library directory.
 
21943
+    hardcode_action=relink
 
21944
+  else
 
21945
+    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
21946
+    hardcode_action=immediate
 
21947
+  fi
 
21948
+else
 
21949
+  # We cannot hardcode anything, or else we can only hardcode existing
 
21950
+  # directories.
 
21951
+  hardcode_action=unsupported
 
21952
+fi
 
21953
+echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
21954
+echo "${ECHO_T}$hardcode_action" >&6
 
21955
+
 
21956
+if test "$hardcode_action" = relink; then
 
21957
+  # Fast installation is not supported
 
21958
+  enable_fast_install=no
 
21959
+elif test "$shlibpath_overrides_runpath" = yes ||
 
21960
+     test "$enable_shared" = no; then
 
21961
+  # Fast installation is not necessary
 
21962
+  enable_fast_install=needless
 
21963
+fi
 
21964
+
 
21965
+striplib=
 
21966
+old_striplib=
 
21967
+echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
21968
+echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
21969
+if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
 
21970
+  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
21971
+  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
21972
+  echo "$as_me:$LINENO: result: yes" >&5
 
21973
+echo "${ECHO_T}yes" >&6
 
21974
+else
 
21975
+# FIXME - insert some real tests, host_os isn't really good enough
 
21976
+  case $host_os in
 
21977
+   darwin*)
 
21978
+       if test -n "$STRIP" ; then
 
21979
+         striplib="$STRIP -x"
 
21980
+         echo "$as_me:$LINENO: result: yes" >&5
 
21981
+echo "${ECHO_T}yes" >&6
 
21982
+       else
 
21983
+  echo "$as_me:$LINENO: result: no" >&5
 
21984
+echo "${ECHO_T}no" >&6
 
21985
+fi
 
21986
+       ;;
 
21987
+   *)
 
21988
+  echo "$as_me:$LINENO: result: no" >&5
 
21989
+echo "${ECHO_T}no" >&6
 
21990
+    ;;
 
21991
+  esac
 
21992
+fi
 
21993
+
 
21994
+if test "x$enable_dlopen" != xyes; then
 
21995
+  enable_dlopen=unknown
 
21996
+  enable_dlopen_self=unknown
 
21997
+  enable_dlopen_self_static=unknown
 
21998
+else
 
21999
+  lt_cv_dlopen=no
 
22000
+  lt_cv_dlopen_libs=
 
22001
+
 
22002
+  case $host_os in
 
22003
+  beos*)
 
22004
+    lt_cv_dlopen="load_add_on"
 
22005
+    lt_cv_dlopen_libs=
 
22006
+    lt_cv_dlopen_self=yes
 
22007
+    ;;
 
22008
+
 
22009
+  mingw* | pw32*)
 
22010
+    lt_cv_dlopen="LoadLibrary"
 
22011
+    lt_cv_dlopen_libs=
 
22012
+   ;;
 
22013
+
 
22014
+  cygwin*)
 
22015
+    lt_cv_dlopen="dlopen"
 
22016
+    lt_cv_dlopen_libs=
 
22017
+   ;;
 
22018
+
 
22019
+  darwin*)
 
22020
+  # if libdl is installed we need to link against it
 
22021
+    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
22022
+echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
22023
+if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
22024
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22025
+else
 
22026
+  ac_check_lib_save_LIBS=$LIBS
 
22027
+LIBS="-ldl  $LIBS"
 
22028
+cat >conftest.$ac_ext <<_ACEOF
 
22029
+/* confdefs.h.  */
 
22030
+_ACEOF
 
22031
+cat confdefs.h >>conftest.$ac_ext
 
22032
+cat >>conftest.$ac_ext <<_ACEOF
 
22033
+/* end confdefs.h.  */
 
22034
+
 
22035
+/* Override any gcc2 internal prototype to avoid an error.  */
 
22036
+#ifdef __cplusplus
 
22037
+extern "C"
 
22038
+#endif
 
22039
+/* We use char because int might match the return type of a gcc2
 
22040
+   builtin and then its argument prototype would still apply.  */
 
22041
+char dlopen ();
 
22042
+int
 
22043
+main ()
 
22044
+{
 
22045
+dlopen ();
 
22046
+  ;
 
22047
+  return 0;
 
22048
+}
 
22049
+_ACEOF
 
22050
+rm -f conftest.$ac_objext conftest$ac_exeext
 
22051
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
22052
+  (eval $ac_link) 2>conftest.er1
 
22053
+  ac_status=$?
 
22054
+  grep -v '^ *+' conftest.er1 >conftest.err
 
22055
+  rm -f conftest.er1
 
22056
+  cat conftest.err >&5
 
22057
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22058
+  (exit $ac_status); } &&
 
22059
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
22060
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22061
+  (eval $ac_try) 2>&5
 
22062
+  ac_status=$?
 
22063
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22064
+  (exit $ac_status); }; } &&
 
22065
+        { ac_try='test -s conftest$ac_exeext'
 
22066
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22067
+  (eval $ac_try) 2>&5
 
22068
+  ac_status=$?
 
22069
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22070
+  (exit $ac_status); }; }; then
 
22071
+  ac_cv_lib_dl_dlopen=yes
 
22072
+else
 
22073
+  echo "$as_me: failed program was:" >&5
 
22074
+sed 's/^/| /' conftest.$ac_ext >&5
 
22075
+
 
22076
+ac_cv_lib_dl_dlopen=no
 
22077
+fi
 
22078
+rm -f conftest.err conftest.$ac_objext \
 
22079
+      conftest$ac_exeext conftest.$ac_ext
 
22080
+LIBS=$ac_check_lib_save_LIBS
 
22081
+fi
 
22082
+echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
22083
+echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
22084
+if test $ac_cv_lib_dl_dlopen = yes; then
 
22085
+  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
22086
+else
 
22087
+
 
22088
+    lt_cv_dlopen="dyld"
 
22089
+    lt_cv_dlopen_libs=
 
22090
+    lt_cv_dlopen_self=yes
 
22091
+
 
22092
+fi
 
22093
+
 
22094
+   ;;
 
22095
+
 
22096
+  *)
 
22097
+    echo "$as_me:$LINENO: checking for shl_load" >&5
 
22098
+echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
22099
+if test "${ac_cv_func_shl_load+set}" = set; then
 
22100
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22101
+else
 
22102
+  cat >conftest.$ac_ext <<_ACEOF
 
22103
+/* confdefs.h.  */
 
22104
+_ACEOF
 
22105
+cat confdefs.h >>conftest.$ac_ext
 
22106
+cat >>conftest.$ac_ext <<_ACEOF
 
22107
+/* end confdefs.h.  */
 
22108
+/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
 
22109
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
22110
+#define shl_load innocuous_shl_load
 
22111
+
 
22112
+/* System header to define __stub macros and hopefully few prototypes,
 
22113
+    which can conflict with char shl_load (); below.
 
22114
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
22115
+    <limits.h> exists even on freestanding compilers.  */
 
22116
+
 
22117
+#ifdef __STDC__
 
22118
+# include <limits.h>
 
22119
+#else
 
22120
+# include <assert.h>
 
22121
+#endif
 
22122
+
 
22123
+#undef shl_load
 
22124
+
 
22125
+/* Override any gcc2 internal prototype to avoid an error.  */
 
22126
+#ifdef __cplusplus
 
22127
+extern "C"
 
22128
+{
 
22129
+#endif
 
22130
+/* We use char because int might match the return type of a gcc2
 
22131
+   builtin and then its argument prototype would still apply.  */
 
22132
+char shl_load ();
 
22133
+/* The GNU C library defines this for functions which it implements
 
22134
+    to always fail with ENOSYS.  Some functions are actually named
 
22135
+    something starting with __ and the normal name is an alias.  */
 
22136
+#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
22137
+choke me
 
22138
+#else
 
22139
+char (*f) () = shl_load;
 
22140
+#endif
 
22141
+#ifdef __cplusplus
 
22142
+}
 
22143
+#endif
 
22144
+
 
22145
+int
 
22146
+main ()
 
22147
+{
 
22148
+return f != shl_load;
 
22149
+  ;
 
22150
+  return 0;
 
22151
+}
 
22152
+_ACEOF
 
22153
+rm -f conftest.$ac_objext conftest$ac_exeext
 
22154
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
22155
+  (eval $ac_link) 2>conftest.er1
 
22156
+  ac_status=$?
 
22157
+  grep -v '^ *+' conftest.er1 >conftest.err
 
22158
+  rm -f conftest.er1
 
22159
+  cat conftest.err >&5
 
22160
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22161
+  (exit $ac_status); } &&
 
22162
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
22163
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22164
+  (eval $ac_try) 2>&5
 
22165
+  ac_status=$?
 
22166
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22167
+  (exit $ac_status); }; } &&
 
22168
+        { ac_try='test -s conftest$ac_exeext'
 
22169
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22170
+  (eval $ac_try) 2>&5
 
22171
+  ac_status=$?
 
22172
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22173
+  (exit $ac_status); }; }; then
 
22174
+  ac_cv_func_shl_load=yes
 
22175
+else
 
22176
+  echo "$as_me: failed program was:" >&5
 
22177
+sed 's/^/| /' conftest.$ac_ext >&5
 
22178
+
 
22179
+ac_cv_func_shl_load=no
 
22180
+fi
 
22181
+rm -f conftest.err conftest.$ac_objext \
 
22182
+      conftest$ac_exeext conftest.$ac_ext
 
22183
+fi
 
22184
+echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
22185
+echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
22186
+if test $ac_cv_func_shl_load = yes; then
 
22187
+  lt_cv_dlopen="shl_load"
 
22188
+else
 
22189
+  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
22190
+echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
22191
+if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
22192
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22193
+else
 
22194
+  ac_check_lib_save_LIBS=$LIBS
 
22195
+LIBS="-ldld  $LIBS"
 
22196
+cat >conftest.$ac_ext <<_ACEOF
 
22197
+/* confdefs.h.  */
 
22198
+_ACEOF
 
22199
+cat confdefs.h >>conftest.$ac_ext
 
22200
+cat >>conftest.$ac_ext <<_ACEOF
 
22201
+/* end confdefs.h.  */
 
22202
+
 
22203
+/* Override any gcc2 internal prototype to avoid an error.  */
 
22204
+#ifdef __cplusplus
 
22205
+extern "C"
 
22206
+#endif
 
22207
+/* We use char because int might match the return type of a gcc2
 
22208
+   builtin and then its argument prototype would still apply.  */
 
22209
+char shl_load ();
 
22210
+int
 
22211
+main ()
 
22212
+{
 
22213
+shl_load ();
 
22214
+  ;
 
22215
+  return 0;
 
22216
+}
 
22217
+_ACEOF
 
22218
+rm -f conftest.$ac_objext conftest$ac_exeext
 
22219
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
22220
+  (eval $ac_link) 2>conftest.er1
 
22221
+  ac_status=$?
 
22222
+  grep -v '^ *+' conftest.er1 >conftest.err
 
22223
+  rm -f conftest.er1
 
22224
+  cat conftest.err >&5
 
22225
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22226
+  (exit $ac_status); } &&
 
22227
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
22228
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22229
+  (eval $ac_try) 2>&5
 
22230
+  ac_status=$?
 
22231
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22232
+  (exit $ac_status); }; } &&
 
22233
+        { ac_try='test -s conftest$ac_exeext'
 
22234
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22235
+  (eval $ac_try) 2>&5
 
22236
+  ac_status=$?
 
22237
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22238
+  (exit $ac_status); }; }; then
 
22239
+  ac_cv_lib_dld_shl_load=yes
 
22240
+else
 
22241
+  echo "$as_me: failed program was:" >&5
 
22242
+sed 's/^/| /' conftest.$ac_ext >&5
 
22243
+
 
22244
+ac_cv_lib_dld_shl_load=no
 
22245
+fi
 
22246
+rm -f conftest.err conftest.$ac_objext \
 
22247
+      conftest$ac_exeext conftest.$ac_ext
 
22248
+LIBS=$ac_check_lib_save_LIBS
 
22249
+fi
 
22250
+echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
22251
+echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
22252
+if test $ac_cv_lib_dld_shl_load = yes; then
 
22253
+  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 
22254
+else
 
22255
+  echo "$as_me:$LINENO: checking for dlopen" >&5
 
22256
+echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
22257
+if test "${ac_cv_func_dlopen+set}" = set; then
 
22258
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22259
+else
 
22260
+  cat >conftest.$ac_ext <<_ACEOF
 
22261
+/* confdefs.h.  */
 
22262
+_ACEOF
 
22263
+cat confdefs.h >>conftest.$ac_ext
 
22264
+cat >>conftest.$ac_ext <<_ACEOF
 
22265
+/* end confdefs.h.  */
 
22266
+/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 
22267
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
22268
+#define dlopen innocuous_dlopen
 
22269
+
 
22270
+/* System header to define __stub macros and hopefully few prototypes,
 
22271
+    which can conflict with char dlopen (); below.
 
22272
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
22273
+    <limits.h> exists even on freestanding compilers.  */
 
22274
+
 
22275
+#ifdef __STDC__
 
22276
+# include <limits.h>
 
22277
+#else
 
22278
+# include <assert.h>
 
22279
+#endif
 
22280
+
 
22281
+#undef dlopen
 
22282
+
 
22283
+/* Override any gcc2 internal prototype to avoid an error.  */
 
22284
+#ifdef __cplusplus
 
22285
+extern "C"
 
22286
+{
 
22287
+#endif
 
22288
+/* We use char because int might match the return type of a gcc2
 
22289
+   builtin and then its argument prototype would still apply.  */
 
22290
+char dlopen ();
 
22291
+/* The GNU C library defines this for functions which it implements
 
22292
+    to always fail with ENOSYS.  Some functions are actually named
 
22293
+    something starting with __ and the normal name is an alias.  */
 
22294
+#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
22295
+choke me
 
22296
+#else
 
22297
+char (*f) () = dlopen;
 
22298
+#endif
 
22299
+#ifdef __cplusplus
 
22300
+}
 
22301
+#endif
 
22302
+
 
22303
+int
 
22304
+main ()
 
22305
+{
 
22306
+return f != dlopen;
 
22307
+  ;
 
22308
+  return 0;
 
22309
+}
 
22310
+_ACEOF
 
22311
+rm -f conftest.$ac_objext conftest$ac_exeext
 
22312
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
22313
+  (eval $ac_link) 2>conftest.er1
 
22314
+  ac_status=$?
 
22315
+  grep -v '^ *+' conftest.er1 >conftest.err
 
22316
+  rm -f conftest.er1
 
22317
+  cat conftest.err >&5
 
22318
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22319
+  (exit $ac_status); } &&
 
22320
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
22321
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22322
+  (eval $ac_try) 2>&5
 
22323
+  ac_status=$?
 
22324
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22325
+  (exit $ac_status); }; } &&
 
22326
+        { ac_try='test -s conftest$ac_exeext'
 
22327
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22328
+  (eval $ac_try) 2>&5
 
22329
+  ac_status=$?
 
22330
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22331
+  (exit $ac_status); }; }; then
 
22332
+  ac_cv_func_dlopen=yes
 
22333
+else
 
22334
+  echo "$as_me: failed program was:" >&5
 
22335
+sed 's/^/| /' conftest.$ac_ext >&5
 
22336
+
 
22337
+ac_cv_func_dlopen=no
 
22338
+fi
 
22339
+rm -f conftest.err conftest.$ac_objext \
 
22340
+      conftest$ac_exeext conftest.$ac_ext
 
22341
+fi
 
22342
+echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
22343
+echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
22344
+if test $ac_cv_func_dlopen = yes; then
 
22345
+  lt_cv_dlopen="dlopen"
 
22346
+else
 
22347
+  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
22348
+echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
22349
+if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
22350
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22351
+else
 
22352
+  ac_check_lib_save_LIBS=$LIBS
 
22353
+LIBS="-ldl  $LIBS"
 
22354
+cat >conftest.$ac_ext <<_ACEOF
 
22355
+/* confdefs.h.  */
 
22356
+_ACEOF
 
22357
+cat confdefs.h >>conftest.$ac_ext
 
22358
+cat >>conftest.$ac_ext <<_ACEOF
 
22359
+/* end confdefs.h.  */
 
22360
+
 
22361
+/* Override any gcc2 internal prototype to avoid an error.  */
 
22362
+#ifdef __cplusplus
 
22363
+extern "C"
 
22364
+#endif
 
22365
+/* We use char because int might match the return type of a gcc2
 
22366
+   builtin and then its argument prototype would still apply.  */
 
22367
+char dlopen ();
 
22368
+int
 
22369
+main ()
 
22370
+{
 
22371
+dlopen ();
 
22372
+  ;
 
22373
+  return 0;
 
22374
+}
 
22375
+_ACEOF
 
22376
+rm -f conftest.$ac_objext conftest$ac_exeext
 
22377
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
22378
+  (eval $ac_link) 2>conftest.er1
 
22379
+  ac_status=$?
 
22380
+  grep -v '^ *+' conftest.er1 >conftest.err
 
22381
+  rm -f conftest.er1
 
22382
+  cat conftest.err >&5
 
22383
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22384
+  (exit $ac_status); } &&
 
22385
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
22386
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22387
+  (eval $ac_try) 2>&5
 
22388
+  ac_status=$?
 
22389
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22390
+  (exit $ac_status); }; } &&
 
22391
+        { ac_try='test -s conftest$ac_exeext'
 
22392
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22393
+  (eval $ac_try) 2>&5
 
22394
+  ac_status=$?
 
22395
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22396
+  (exit $ac_status); }; }; then
 
22397
+  ac_cv_lib_dl_dlopen=yes
 
22398
+else
 
22399
+  echo "$as_me: failed program was:" >&5
 
22400
+sed 's/^/| /' conftest.$ac_ext >&5
 
22401
+
 
22402
+ac_cv_lib_dl_dlopen=no
 
22403
+fi
 
22404
+rm -f conftest.err conftest.$ac_objext \
 
22405
+      conftest$ac_exeext conftest.$ac_ext
 
22406
+LIBS=$ac_check_lib_save_LIBS
 
22407
+fi
 
22408
+echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
22409
+echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
22410
+if test $ac_cv_lib_dl_dlopen = yes; then
 
22411
+  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
22412
+else
 
22413
+  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
22414
+echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
22415
+if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
22416
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22417
+else
 
22418
+  ac_check_lib_save_LIBS=$LIBS
 
22419
+LIBS="-lsvld  $LIBS"
 
22420
+cat >conftest.$ac_ext <<_ACEOF
 
22421
+/* confdefs.h.  */
 
22422
+_ACEOF
 
22423
+cat confdefs.h >>conftest.$ac_ext
 
22424
+cat >>conftest.$ac_ext <<_ACEOF
 
22425
+/* end confdefs.h.  */
 
22426
+
 
22427
+/* Override any gcc2 internal prototype to avoid an error.  */
 
22428
+#ifdef __cplusplus
 
22429
+extern "C"
 
22430
+#endif
 
22431
+/* We use char because int might match the return type of a gcc2
 
22432
+   builtin and then its argument prototype would still apply.  */
 
22433
+char dlopen ();
 
22434
+int
 
22435
+main ()
 
22436
+{
 
22437
+dlopen ();
 
22438
+  ;
 
22439
+  return 0;
 
22440
+}
 
22441
+_ACEOF
 
22442
+rm -f conftest.$ac_objext conftest$ac_exeext
 
22443
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
22444
+  (eval $ac_link) 2>conftest.er1
 
22445
+  ac_status=$?
 
22446
+  grep -v '^ *+' conftest.er1 >conftest.err
 
22447
+  rm -f conftest.er1
 
22448
+  cat conftest.err >&5
 
22449
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22450
+  (exit $ac_status); } &&
 
22451
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
22452
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22453
+  (eval $ac_try) 2>&5
 
22454
+  ac_status=$?
 
22455
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22456
+  (exit $ac_status); }; } &&
 
22457
+        { ac_try='test -s conftest$ac_exeext'
 
22458
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22459
+  (eval $ac_try) 2>&5
 
22460
+  ac_status=$?
 
22461
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22462
+  (exit $ac_status); }; }; then
 
22463
+  ac_cv_lib_svld_dlopen=yes
 
22464
+else
 
22465
+  echo "$as_me: failed program was:" >&5
 
22466
+sed 's/^/| /' conftest.$ac_ext >&5
 
22467
+
 
22468
+ac_cv_lib_svld_dlopen=no
 
22469
+fi
 
22470
+rm -f conftest.err conftest.$ac_objext \
 
22471
+      conftest$ac_exeext conftest.$ac_ext
 
22472
+LIBS=$ac_check_lib_save_LIBS
 
22473
+fi
 
22474
+echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
22475
+echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
22476
+if test $ac_cv_lib_svld_dlopen = yes; then
 
22477
+  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
22478
+else
 
22479
+  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
22480
+echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
22481
+if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
22482
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22483
+else
 
22484
+  ac_check_lib_save_LIBS=$LIBS
 
22485
+LIBS="-ldld  $LIBS"
 
22486
+cat >conftest.$ac_ext <<_ACEOF
 
22487
+/* confdefs.h.  */
 
22488
+_ACEOF
 
22489
+cat confdefs.h >>conftest.$ac_ext
 
22490
+cat >>conftest.$ac_ext <<_ACEOF
 
22491
+/* end confdefs.h.  */
 
22492
+
 
22493
+/* Override any gcc2 internal prototype to avoid an error.  */
 
22494
+#ifdef __cplusplus
 
22495
+extern "C"
 
22496
+#endif
 
22497
+/* We use char because int might match the return type of a gcc2
 
22498
+   builtin and then its argument prototype would still apply.  */
 
22499
+char dld_link ();
 
22500
+int
 
22501
+main ()
 
22502
+{
 
22503
+dld_link ();
 
22504
+  ;
 
22505
+  return 0;
 
22506
+}
 
22507
+_ACEOF
 
22508
+rm -f conftest.$ac_objext conftest$ac_exeext
 
22509
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
22510
+  (eval $ac_link) 2>conftest.er1
 
22511
+  ac_status=$?
 
22512
+  grep -v '^ *+' conftest.er1 >conftest.err
 
22513
+  rm -f conftest.er1
 
22514
+  cat conftest.err >&5
 
22515
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22516
+  (exit $ac_status); } &&
 
22517
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
22518
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22519
+  (eval $ac_try) 2>&5
 
22520
+  ac_status=$?
 
22521
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22522
+  (exit $ac_status); }; } &&
 
22523
+        { ac_try='test -s conftest$ac_exeext'
 
22524
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22525
+  (eval $ac_try) 2>&5
 
22526
+  ac_status=$?
 
22527
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22528
+  (exit $ac_status); }; }; then
 
22529
+  ac_cv_lib_dld_dld_link=yes
 
22530
+else
 
22531
+  echo "$as_me: failed program was:" >&5
 
22532
+sed 's/^/| /' conftest.$ac_ext >&5
 
22533
+
 
22534
+ac_cv_lib_dld_dld_link=no
 
22535
+fi
 
22536
+rm -f conftest.err conftest.$ac_objext \
 
22537
+      conftest$ac_exeext conftest.$ac_ext
 
22538
+LIBS=$ac_check_lib_save_LIBS
 
22539
+fi
 
22540
+echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
22541
+echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
22542
+if test $ac_cv_lib_dld_dld_link = yes; then
 
22543
+  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
22544
+fi
 
22545
+
 
22546
+
 
22547
+fi
 
22548
+
 
22549
+
 
22550
+fi
 
22551
+
 
22552
+
 
22553
+fi
 
22554
+
 
22555
+
 
22556
+fi
 
22557
+
 
22558
+
 
22559
+fi
 
22560
+
 
22561
+    ;;
 
22562
+  esac
 
22563
+
 
22564
+  if test "x$lt_cv_dlopen" != xno; then
 
22565
+    enable_dlopen=yes
 
22566
+  else
 
22567
+    enable_dlopen=no
 
22568
+  fi
 
22569
+
 
22570
+  case $lt_cv_dlopen in
 
22571
+  dlopen)
 
22572
+    save_CPPFLAGS="$CPPFLAGS"
 
22573
+    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
22574
+
 
22575
+    save_LDFLAGS="$LDFLAGS"
 
22576
+    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
22577
+
 
22578
+    save_LIBS="$LIBS"
 
22579
+    LIBS="$lt_cv_dlopen_libs $LIBS"
 
22580
+
 
22581
+    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
22582
+echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
22583
+if test "${lt_cv_dlopen_self+set}" = set; then
 
22584
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22585
+else
 
22586
+         if test "$cross_compiling" = yes; then :
 
22587
+  lt_cv_dlopen_self=cross
 
22588
+else
 
22589
+  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
22590
+  lt_status=$lt_dlunknown
 
22591
+  cat > conftest.$ac_ext <<EOF
 
22592
+#line 8757 "configure"
 
22593
+#include "confdefs.h"
 
22594
+
 
22595
+#if HAVE_DLFCN_H
 
22596
+#include <dlfcn.h>
 
22597
+#endif
 
22598
+
 
22599
+#include <stdio.h>
 
22600
+
 
22601
+#ifdef RTLD_GLOBAL
 
22602
+#  define LT_DLGLOBAL          RTLD_GLOBAL
 
22603
+#else
 
22604
+#  ifdef DL_GLOBAL
 
22605
+#    define LT_DLGLOBAL                DL_GLOBAL
 
22606
+#  else
 
22607
+#    define LT_DLGLOBAL                0
 
22608
+#  endif
 
22609
+#endif
 
22610
+
 
22611
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
22612
+   find out it does not work in some platform. */
 
22613
+#ifndef LT_DLLAZY_OR_NOW
 
22614
+#  ifdef RTLD_LAZY
 
22615
+#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
 
22616
+#  else
 
22617
+#    ifdef DL_LAZY
 
22618
+#      define LT_DLLAZY_OR_NOW         DL_LAZY
 
22619
+#    else
 
22620
+#      ifdef RTLD_NOW
 
22621
+#        define LT_DLLAZY_OR_NOW       RTLD_NOW
 
22622
+#      else
 
22623
+#        ifdef DL_NOW
 
22624
+#          define LT_DLLAZY_OR_NOW     DL_NOW
 
22625
+#        else
 
22626
+#          define LT_DLLAZY_OR_NOW     0
 
22627
+#        endif
 
22628
+#      endif
 
22629
+#    endif
 
22630
+#  endif
 
22631
+#endif
 
22632
+
 
22633
+#ifdef __cplusplus
 
22634
+extern "C" void exit (int);
 
22635
+#endif
 
22636
+
 
22637
+void fnord() { int i=42;}
 
22638
+int main ()
 
22639
+{
 
22640
+  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
22641
+  int status = $lt_dlunknown;
 
22642
+
 
22643
+  if (self)
 
22644
+    {
 
22645
+      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
22646
+      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
22647
+      /* dlclose (self); */
 
22648
+    }
 
22649
+
 
22650
+    exit (status);
 
22651
+}
 
22652
+EOF
 
22653
+  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
22654
+  (eval $ac_link) 2>&5
 
22655
+  ac_status=$?
 
22656
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22657
+  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
22658
+    (./conftest; exit; ) 2>/dev/null
 
22659
+    lt_status=$?
 
22660
+    case x$lt_status in
 
22661
+      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
22662
+      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
22663
+      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
 
22664
+    esac
 
22665
+  else :
 
22666
+    # compilation failed
 
22667
+    lt_cv_dlopen_self=no
 
22668
+  fi
 
22669
+fi
 
22670
+rm -fr conftest*
 
22671
+
 
22672
+
 
22673
+fi
 
22674
+echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
22675
+echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
22676
+
 
22677
+    if test "x$lt_cv_dlopen_self" = xyes; then
 
22678
+      LDFLAGS="$LDFLAGS $link_static_flag"
 
22679
+      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
22680
+echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
22681
+if test "${lt_cv_dlopen_self_static+set}" = set; then
 
22682
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22683
+else
 
22684
+         if test "$cross_compiling" = yes; then :
 
22685
+  lt_cv_dlopen_self_static=cross
 
22686
+else
 
22687
+  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
22688
+  lt_status=$lt_dlunknown
 
22689
+  cat > conftest.$ac_ext <<EOF
 
22690
+#line 8855 "configure"
 
22691
+#include "confdefs.h"
 
22692
+
 
22693
+#if HAVE_DLFCN_H
 
22694
+#include <dlfcn.h>
 
22695
+#endif
 
22696
+
 
22697
+#include <stdio.h>
 
22698
+
 
22699
+#ifdef RTLD_GLOBAL
 
22700
+#  define LT_DLGLOBAL          RTLD_GLOBAL
 
22701
+#else
 
22702
+#  ifdef DL_GLOBAL
 
22703
+#    define LT_DLGLOBAL                DL_GLOBAL
 
22704
+#  else
 
22705
+#    define LT_DLGLOBAL                0
 
22706
+#  endif
 
22707
+#endif
 
22708
+
 
22709
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
22710
+   find out it does not work in some platform. */
 
22711
+#ifndef LT_DLLAZY_OR_NOW
 
22712
+#  ifdef RTLD_LAZY
 
22713
+#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
 
22714
+#  else
 
22715
+#    ifdef DL_LAZY
 
22716
+#      define LT_DLLAZY_OR_NOW         DL_LAZY
 
22717
+#    else
 
22718
+#      ifdef RTLD_NOW
 
22719
+#        define LT_DLLAZY_OR_NOW       RTLD_NOW
 
22720
+#      else
 
22721
+#        ifdef DL_NOW
 
22722
+#          define LT_DLLAZY_OR_NOW     DL_NOW
 
22723
+#        else
 
22724
+#          define LT_DLLAZY_OR_NOW     0
 
22725
+#        endif
 
22726
+#      endif
 
22727
+#    endif
 
22728
+#  endif
 
22729
+#endif
 
22730
+
 
22731
+#ifdef __cplusplus
 
22732
+extern "C" void exit (int);
 
22733
+#endif
 
22734
+
 
22735
+void fnord() { int i=42;}
 
22736
+int main ()
 
22737
+{
 
22738
+  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
22739
+  int status = $lt_dlunknown;
 
22740
+
 
22741
+  if (self)
 
22742
+    {
 
22743
+      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
22744
+      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
22745
+      /* dlclose (self); */
 
22746
+    }
 
22747
+
 
22748
+    exit (status);
 
22749
+}
 
22750
+EOF
 
22751
+  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
22752
+  (eval $ac_link) 2>&5
 
22753
+  ac_status=$?
 
22754
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22755
+  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
22756
+    (./conftest; exit; ) 2>/dev/null
 
22757
+    lt_status=$?
 
22758
+    case x$lt_status in
 
22759
+      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
22760
+      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
22761
+      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
 
22762
+    esac
 
22763
+  else :
 
22764
+    # compilation failed
 
22765
+    lt_cv_dlopen_self_static=no
 
22766
+  fi
 
22767
+fi
 
22768
+rm -fr conftest*
 
22769
+
 
22770
+
 
22771
+fi
 
22772
+echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
22773
+echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
22774
+    fi
 
22775
+
 
22776
+    CPPFLAGS="$save_CPPFLAGS"
 
22777
+    LDFLAGS="$save_LDFLAGS"
 
22778
+    LIBS="$save_LIBS"
 
22779
+    ;;
 
22780
+  esac
 
22781
+
 
22782
+  case $lt_cv_dlopen_self in
 
22783
+  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
22784
+  *) enable_dlopen_self=unknown ;;
 
22785
+  esac
 
22786
+
 
22787
+  case $lt_cv_dlopen_self_static in
 
22788
+  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
22789
+  *) enable_dlopen_self_static=unknown ;;
 
22790
+  esac
 
22791
+fi
 
22792
+
 
22793
+
 
22794
+# Report which librarie types wil actually be built
 
22795
+echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
22796
+echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
 
22797
+echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
22798
+echo "${ECHO_T}$can_build_shared" >&6
 
22799
+
 
22800
+echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
22801
+echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
22802
+test "$can_build_shared" = "no" && enable_shared=no
 
22803
+
 
22804
+# On AIX, shared libraries and static libraries use the same namespace, and
 
22805
+# are all built from PIC.
 
22806
+case "$host_os" in
 
22807
+aix3*)
 
22808
+  test "$enable_shared" = yes && enable_static=no
 
22809
+  if test -n "$RANLIB"; then
 
22810
+    archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
22811
+    postinstall_cmds='$RANLIB $lib'
 
22812
+  fi
 
22813
+  ;;
 
22814
+
 
22815
+aix4* | aix5*)
 
22816
+  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
22817
+    test "$enable_shared" = yes && enable_static=no
 
22818
+  fi
 
22819
+  ;;
 
22820
+  darwin* | rhapsody*)
 
22821
+  if test "$GCC" = yes; then
 
22822
+    archive_cmds_need_lc=no
 
22823
+    case "$host_os" in
 
22824
+    rhapsody* | darwin1.[012])
 
22825
+      allow_undefined_flag='-undefined suppress'
 
22826
+      ;;
 
22827
+    *) # Darwin 1.3 on
 
22828
+      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
22829
+       allow_undefined_flag='-flat_namespace -undefined suppress'
 
22830
+      else
 
22831
+        case ${MACOSX_DEPLOYMENT_TARGET} in
 
22832
+          10.[012])
 
22833
+            allow_undefined_flag='-flat_namespace -undefined suppress'
 
22834
+            ;;
 
22835
+          10.*)
 
22836
+            allow_undefined_flag='-undefined dynamic_lookup'
 
22837
+            ;;
 
22838
+        esac
 
22839
+      fi
 
22840
+      ;;
 
22841
+    esac
 
22842
+    output_verbose_link_cmd='echo'
 
22843
+    archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
 
22844
+    module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
22845
+    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
 
22846
+    archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
22847
+    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}'
 
22848
+    hardcode_direct=no
 
22849
+    hardcode_automatic=yes
 
22850
+    hardcode_shlibpath_var=unsupported
 
22851
+    whole_archive_flag_spec='-all_load $convenience'
 
22852
+    link_all_deplibs=yes
 
22853
+  else
 
22854
+    ld_shlibs=no
 
22855
+  fi
 
22856
+    ;;
 
22857
+esac
 
22858
+echo "$as_me:$LINENO: result: $enable_shared" >&5
 
22859
+echo "${ECHO_T}$enable_shared" >&6
 
22860
+
 
22861
+echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
22862
+echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
22863
+# Make sure either enable_shared or enable_static is yes.
 
22864
+test "$enable_shared" = yes || enable_static=yes
 
22865
+echo "$as_me:$LINENO: result: $enable_static" >&5
 
22866
+echo "${ECHO_T}$enable_static" >&6
 
22867
+
 
22868
+# The else clause should only fire when bootstrapping the
 
22869
+# libtool distribution, otherwise you forgot to ship ltmain.sh
 
22870
+# with your package, and you will get complaints that there are
 
22871
+# no rules to generate ltmain.sh.
 
22872
+if test -f "$ltmain"; then
 
22873
+  # See if we are running on zsh, and set the options which allow our commands through
 
22874
+  # without removal of \ escapes.
 
22875
+  if test -n "${ZSH_VERSION+set}" ; then
 
22876
+    setopt NO_GLOB_SUBST
 
22877
+  fi
 
22878
+  # Now quote all the things that may contain metacharacters while being
 
22879
+  # careful not to overquote the AC_SUBSTed values.  We take copies of the
 
22880
+  # variables and quote the copies for generation of the libtool script.
 
22881
+  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
22882
+    SED SHELL STRIP \
 
22883
+    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 
22884
+    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 
22885
+    deplibs_check_method reload_flag reload_cmds need_locks \
 
22886
+    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 
22887
+    lt_cv_sys_global_symbol_to_c_name_address \
 
22888
+    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 
22889
+    old_postinstall_cmds old_postuninstall_cmds \
 
22890
+    compiler \
 
22891
+    CC \
 
22892
+    LD \
 
22893
+    lt_prog_compiler_wl \
 
22894
+    lt_prog_compiler_pic \
 
22895
+    lt_prog_compiler_static \
 
22896
+    lt_prog_compiler_no_builtin_flag \
 
22897
+    export_dynamic_flag_spec \
 
22898
+    thread_safe_flag_spec \
 
22899
+    whole_archive_flag_spec \
 
22900
+    enable_shared_with_static_runtimes \
 
22901
+    old_archive_cmds \
 
22902
+    old_archive_from_new_cmds \
 
22903
+    predep_objects \
 
22904
+    postdep_objects \
 
22905
+    predeps \
 
22906
+    postdeps \
 
22907
+    compiler_lib_search_path \
 
22908
+    archive_cmds \
 
22909
+    archive_expsym_cmds \
 
22910
+    postinstall_cmds \
 
22911
+    postuninstall_cmds \
 
22912
+    old_archive_from_expsyms_cmds \
 
22913
+    allow_undefined_flag \
 
22914
+    no_undefined_flag \
 
22915
+    export_symbols_cmds \
 
22916
+    hardcode_libdir_flag_spec \
 
22917
+    hardcode_libdir_flag_spec_ld \
 
22918
+    hardcode_libdir_separator \
 
22919
+    hardcode_automatic \
 
22920
+    module_cmds \
 
22921
+    module_expsym_cmds \
 
22922
+    lt_cv_prog_compiler_c_o \
 
22923
+    exclude_expsyms \
 
22924
+    include_expsyms; do
 
22925
+
 
22926
+    case $var in
 
22927
+    old_archive_cmds | \
 
22928
+    old_archive_from_new_cmds | \
 
22929
+    archive_cmds | \
 
22930
+    archive_expsym_cmds | \
 
22931
+    module_cmds | \
 
22932
+    module_expsym_cmds | \
 
22933
+    old_archive_from_expsyms_cmds | \
 
22934
+    export_symbols_cmds | \
 
22935
+    extract_expsyms_cmds | reload_cmds | finish_cmds | \
 
22936
+    postinstall_cmds | postuninstall_cmds | \
 
22937
+    old_postinstall_cmds | old_postuninstall_cmds | \
 
22938
+    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 
22939
+      # Double-quote double-evaled strings.
 
22940
+      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 
22941
+      ;;
 
22942
+    *)
 
22943
+      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 
22944
+      ;;
 
22945
+    esac
 
22946
+  done
 
22947
+
 
22948
+  case $lt_echo in
 
22949
+  *'\$0 --fallback-echo"')
 
22950
+    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 
22951
+    ;;
 
22952
+  esac
 
22953
+
 
22954
+cfgfile="${ofile}T"
 
22955
+  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
 
22956
+  $rm -f "$cfgfile"
 
22957
+  { echo "$as_me:$LINENO: creating $ofile" >&5
 
22958
+echo "$as_me: creating $ofile" >&6;}
 
22959
+
 
22960
+  cat <<__EOF__ >> "$cfgfile"
 
22961
+#! $SHELL
 
22962
+
 
22963
+# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
22964
+# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
 
22965
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
22966
+#
 
22967
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 
22968
+# Free Software Foundation, Inc.
 
22969
+#
 
22970
+# This file is part of GNU Libtool:
 
22971
+# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 
22972
+#
 
22973
+# This program is free software; you can redistribute it and/or modify
 
22974
+# it under the terms of the GNU General Public License as published by
 
22975
+# the Free Software Foundation; either version 2 of the License, or
 
22976
+# (at your option) any later version.
 
22977
+#
 
22978
+# This program is distributed in the hope that it will be useful, but
 
22979
+# WITHOUT ANY WARRANTY; without even the implied warranty of
 
22980
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
22981
+# General Public License for more details.
 
22982
+#
 
22983
+# You should have received a copy of the GNU General Public License
 
22984
+# along with this program; if not, write to the Free Software
 
22985
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
22986
+#
 
22987
+# As a special exception to the GNU General Public License, if you
 
22988
+# distribute this file as part of a program that contains a
 
22989
+# configuration script generated by Autoconf, you may include it under
 
22990
+# the same distribution terms that you use for the rest of that program.
 
22991
+
 
22992
+# A sed program that does not truncate output.
 
22993
+SED=$lt_SED
 
22994
+
 
22995
+# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
22996
+Xsed="$SED -e s/^X//"
 
22997
+
 
22998
+# The HP-UX ksh and POSIX shell print the target directory to stdout
 
22999
+# if CDPATH is set.
 
23000
+if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
 
23001
+
 
23002
+# The names of the tagged configurations supported by this script.
 
23003
+available_tags=
 
23004
+
 
23005
+# ### BEGIN LIBTOOL CONFIG
 
23006
+
 
23007
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
23008
+
 
23009
+# Shell to use when invoking shell scripts.
 
23010
+SHELL=$lt_SHELL
 
23011
+
 
23012
+# Whether or not to build shared libraries.
 
23013
+build_libtool_libs=$enable_shared
 
23014
+
 
23015
+# Whether or not to build static libraries.
 
23016
+build_old_libs=$enable_static
 
23017
+
 
23018
+# Whether or not to add -lc for building shared libraries.
 
23019
+build_libtool_need_lc=$archive_cmds_need_lc
 
23020
+
 
23021
+# Whether or not to disallow shared libs when runtime libs are static
 
23022
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
23023
+
 
23024
+# Whether or not to optimize for fast installation.
 
23025
+fast_install=$enable_fast_install
 
23026
+
 
23027
+# The host system.
 
23028
+host_alias=$host_alias
 
23029
+host=$host
 
23030
+
 
23031
+# An echo program that does not interpret backslashes.
 
23032
+echo=$lt_echo
 
23033
+
 
23034
+# The archiver.
 
23035
+AR=$lt_AR
 
23036
+AR_FLAGS=$lt_AR_FLAGS
 
23037
+
 
23038
+# A C compiler.
 
23039
+LTCC=$lt_LTCC
 
23040
+
 
23041
+# A language-specific compiler.
 
23042
+CC=$lt_compiler
 
23043
+
 
23044
+# Is the compiler the GNU C compiler?
 
23045
+with_gcc=$GCC
 
23046
+
 
23047
+# An ERE matcher.
 
23048
+EGREP=$lt_EGREP
 
23049
+
 
23050
+# The linker used to build libraries.
 
23051
+LD=$lt_LD
 
23052
+
 
23053
+# Whether we need hard or soft links.
 
23054
+LN_S=$lt_LN_S
 
23055
+
 
23056
+# A BSD-compatible nm program.
 
23057
+NM=$lt_NM
 
23058
+
 
23059
+# A symbol stripping program
 
23060
+STRIP=$lt_STRIP
 
23061
+
 
23062
+# Used to examine libraries when file_magic_cmd begins "file"
 
23063
+MAGIC_CMD=$MAGIC_CMD
 
23064
+
 
23065
+# Used on cygwin: DLL creation program.
 
23066
+DLLTOOL="$DLLTOOL"
 
23067
+
 
23068
+# Used on cygwin: object dumper.
 
23069
+OBJDUMP="$OBJDUMP"
 
23070
+
 
23071
+# Used on cygwin: assembler.
 
23072
+AS="$AS"
 
23073
+
 
23074
+# The name of the directory that contains temporary libtool files.
 
23075
+objdir=$objdir
 
23076
+
 
23077
+# How to create reloadable object files.
 
23078
+reload_flag=$lt_reload_flag
 
23079
+reload_cmds=$lt_reload_cmds
 
23080
+
 
23081
+# How to pass a linker flag through the compiler.
 
23082
+wl=$lt_lt_prog_compiler_wl
 
23083
+
 
23084
+# Object file suffix (normally "o").
 
23085
+objext="$ac_objext"
 
23086
+
 
23087
+# Old archive suffix (normally "a").
 
23088
+libext="$libext"
 
23089
+
 
23090
+# Shared library suffix (normally ".so").
 
23091
+shrext_cmds='$shrext_cmds'
 
23092
+
 
23093
+# Executable file suffix (normally "").
 
23094
+exeext="$exeext"
 
23095
+
 
23096
+# Additional compiler flags for building library objects.
 
23097
+pic_flag=$lt_lt_prog_compiler_pic
 
23098
+pic_mode=$pic_mode
 
23099
+
 
23100
+# What is the maximum length of a command?
 
23101
+max_cmd_len=$lt_cv_sys_max_cmd_len
 
23102
+
 
23103
+# Does compiler simultaneously support -c and -o options?
 
23104
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
23105
+
 
23106
+# Must we lock files when doing compilation ?
 
23107
+need_locks=$lt_need_locks
 
23108
+
 
23109
+# Do we need the lib prefix for modules?
 
23110
+need_lib_prefix=$need_lib_prefix
 
23111
+
 
23112
+# Do we need a version for libraries?
 
23113
+need_version=$need_version
 
23114
+
 
23115
+# Whether dlopen is supported.
 
23116
+dlopen_support=$enable_dlopen
 
23117
+
 
23118
+# Whether dlopen of programs is supported.
 
23119
+dlopen_self=$enable_dlopen_self
 
23120
+
 
23121
+# Whether dlopen of statically linked programs is supported.
 
23122
+dlopen_self_static=$enable_dlopen_self_static
 
23123
+
 
23124
+# Compiler flag to prevent dynamic linking.
 
23125
+link_static_flag=$lt_lt_prog_compiler_static
 
23126
+
 
23127
+# Compiler flag to turn off builtin functions.
 
23128
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
23129
+
 
23130
+# Compiler flag to allow reflexive dlopens.
 
23131
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
23132
+
 
23133
+# Compiler flag to generate shared objects directly from archives.
 
23134
+whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
23135
+
 
23136
+# Compiler flag to generate thread-safe objects.
 
23137
+thread_safe_flag_spec=$lt_thread_safe_flag_spec
 
23138
+
 
23139
+# Library versioning type.
 
23140
+version_type=$version_type
 
23141
+
 
23142
+# Format of library name prefix.
 
23143
+libname_spec=$lt_libname_spec
 
23144
+
 
23145
+# List of archive names.  First name is the real one, the rest are links.
 
23146
+# The last name is the one that the linker finds with -lNAME.
 
23147
+library_names_spec=$lt_library_names_spec
 
23148
+
 
23149
+# The coded name of the library, if different from the real name.
 
23150
+soname_spec=$lt_soname_spec
 
23151
+
 
23152
+# Commands used to build and install an old-style archive.
 
23153
+RANLIB=$lt_RANLIB
 
23154
+old_archive_cmds=$lt_old_archive_cmds
 
23155
+old_postinstall_cmds=$lt_old_postinstall_cmds
 
23156
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
23157
+
 
23158
+# Create an old-style archive from a shared archive.
 
23159
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
23160
+
 
23161
+# Create a temporary old-style archive to link instead of a shared archive.
 
23162
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
23163
+
 
23164
+# Commands used to build and install a shared archive.
 
23165
+archive_cmds=$lt_archive_cmds
 
23166
+archive_expsym_cmds=$lt_archive_expsym_cmds
 
23167
+postinstall_cmds=$lt_postinstall_cmds
 
23168
+postuninstall_cmds=$lt_postuninstall_cmds
 
23169
+
 
23170
+# Commands used to build a loadable module (assumed same as above if empty)
 
23171
+module_cmds=$lt_module_cmds
 
23172
+module_expsym_cmds=$lt_module_expsym_cmds
 
23173
+
 
23174
+# Commands to strip libraries.
 
23175
+old_striplib=$lt_old_striplib
 
23176
+striplib=$lt_striplib
 
23177
+
 
23178
+# Dependencies to place before the objects being linked to create a
 
23179
+# shared library.
 
23180
+predep_objects=$lt_predep_objects
 
23181
+
 
23182
+# Dependencies to place after the objects being linked to create a
 
23183
+# shared library.
 
23184
+postdep_objects=$lt_postdep_objects
 
23185
+
 
23186
+# Dependencies to place before the objects being linked to create a
 
23187
+# shared library.
 
23188
+predeps=$lt_predeps
 
23189
+
 
23190
+# Dependencies to place after the objects being linked to create a
 
23191
+# shared library.
 
23192
+postdeps=$lt_postdeps
 
23193
+
 
23194
+# The library search path used internally by the compiler when linking
 
23195
+# a shared library.
 
23196
+compiler_lib_search_path=$lt_compiler_lib_search_path
 
23197
+
 
23198
+# Method to check whether dependent libraries are shared objects.
 
23199
+deplibs_check_method=$lt_deplibs_check_method
 
23200
+
 
23201
+# Command to use when deplibs_check_method == file_magic.
 
23202
+file_magic_cmd=$lt_file_magic_cmd
 
23203
+
 
23204
+# Flag that allows shared libraries with undefined symbols to be built.
 
23205
+allow_undefined_flag=$lt_allow_undefined_flag
 
23206
+
 
23207
+# Flag that forces no undefined symbols.
 
23208
+no_undefined_flag=$lt_no_undefined_flag
 
23209
+
 
23210
+# Commands used to finish a libtool library installation in a directory.
 
23211
+finish_cmds=$lt_finish_cmds
 
23212
+
 
23213
+# Same as above, but a single script fragment to be evaled but not shown.
 
23214
+finish_eval=$lt_finish_eval
 
23215
+
 
23216
+# Take the output of nm and produce a listing of raw symbols and C names.
 
23217
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
23218
+
 
23219
+# Transform the output of nm in a proper C declaration
 
23220
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
23221
+
 
23222
+# Transform the output of nm in a C name address pair
 
23223
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
23224
+
 
23225
+# This is the shared library runtime path variable.
 
23226
+runpath_var=$runpath_var
 
23227
+
 
23228
+# This is the shared library path variable.
 
23229
+shlibpath_var=$shlibpath_var
 
23230
+
 
23231
+# Is shlibpath searched before the hard-coded library search path?
 
23232
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
23233
+
 
23234
+# How to hardcode a shared library path into an executable.
 
23235
+hardcode_action=$hardcode_action
 
23236
+
 
23237
+# Whether we should hardcode library paths into libraries.
 
23238
+hardcode_into_libs=$hardcode_into_libs
 
23239
+
 
23240
+# Flag to hardcode \$libdir into a binary during linking.
 
23241
+# This must work even if \$libdir does not exist.
 
23242
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
23243
+
 
23244
+# If ld is used when linking, flag to hardcode \$libdir into
 
23245
+# a binary during linking. This must work even if \$libdir does
 
23246
+# not exist.
 
23247
+hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
23248
+
 
23249
+# Whether we need a single -rpath flag with a separated argument.
 
23250
+hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
23251
+
 
23252
+# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 
23253
+# resulting binary.
 
23254
+hardcode_direct=$hardcode_direct
 
23255
+
 
23256
+# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 
23257
+# resulting binary.
 
23258
+hardcode_minus_L=$hardcode_minus_L
 
23259
+
 
23260
+# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 
23261
+# the resulting binary.
 
23262
+hardcode_shlibpath_var=$hardcode_shlibpath_var
 
23263
+
 
23264
+# Set to yes if building a shared library automatically hardcodes DIR into the library
 
23265
+# and all subsequent libraries and executables linked against it.
 
23266
+hardcode_automatic=$hardcode_automatic
 
23267
+
 
23268
+# Variables whose values should be saved in libtool wrapper scripts and
 
23269
+# restored at relink time.
 
23270
+variables_saved_for_relink="$variables_saved_for_relink"
 
23271
+
 
23272
+# Whether libtool must link a program against all its dependency libraries.
 
23273
+link_all_deplibs=$link_all_deplibs
 
23274
+
 
23275
+# Compile-time system search path for libraries
 
23276
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
23277
+
 
23278
+# Run-time system search path for libraries
 
23279
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
23280
+
 
23281
+# Fix the shell variable \$srcfile for the compiler.
 
23282
+fix_srcfile_path="$fix_srcfile_path"
 
23283
+
 
23284
+# Set to yes if exported symbols are required.
 
23285
+always_export_symbols=$always_export_symbols
 
23286
+
 
23287
+# The commands to list exported symbols.
 
23288
+export_symbols_cmds=$lt_export_symbols_cmds
 
23289
+
 
23290
+# The commands to extract the exported symbol list from a shared archive.
 
23291
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
23292
+
 
23293
+# Symbols that should not be listed in the preloaded symbols.
 
23294
+exclude_expsyms=$lt_exclude_expsyms
 
23295
+
 
23296
+# Symbols that must always be exported.
 
23297
+include_expsyms=$lt_include_expsyms
 
23298
+
 
23299
+# ### END LIBTOOL CONFIG
 
23300
+
 
23301
+__EOF__
 
23302
+
 
23303
+
 
23304
+  case $host_os in
 
23305
+  aix3*)
 
23306
+    cat <<\EOF >> "$cfgfile"
 
23307
+
 
23308
+# AIX sometimes has problems with the GCC collect2 program.  For some
 
23309
+# reason, if we set the COLLECT_NAMES environment variable, the problems
 
23310
+# vanish in a puff of smoke.
 
23311
+if test "X${COLLECT_NAMES+set}" != Xset; then
 
23312
+  COLLECT_NAMES=
 
23313
+  export COLLECT_NAMES
 
23314
+fi
 
23315
+EOF
 
23316
+    ;;
 
23317
+  esac
 
23318
+
 
23319
+  # We use sed instead of cat because bash on DJGPP gets confused if
 
23320
+  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
23321
+  # text mode, it properly converts lines to CR/LF.  This bash problem
 
23322
+  # is reportedly fixed, but why not run on old versions too?
 
23323
+  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
 
23324
+
 
23325
+  mv -f "$cfgfile" "$ofile" || \
 
23326
+    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
23327
+  chmod +x "$ofile"
 
23328
+
 
23329
+else
 
23330
+  # If there is no Makefile yet, we rely on a make rule to execute
 
23331
+  # `config.status --recheck' to rerun these tests and create the
 
23332
+  # libtool script then.
 
23333
+  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 
23334
+  if test -f "$ltmain_in"; then
 
23335
+    test -f Makefile && make "$ltmain"
 
23336
+  fi
 
23337
+fi
 
23338
+
 
23339
+
 
23340
+ac_ext=c
 
23341
+ac_cpp='$CPP $CPPFLAGS'
 
23342
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
23343
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
23344
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
23345
+
 
23346
+CC="$lt_save_CC"
 
23347
+
 
23348
+
 
23349
+# Check whether --with-tags or --without-tags was given.
 
23350
+if test "${with_tags+set}" = set; then
 
23351
+  withval="$with_tags"
 
23352
+  tagnames="$withval"
 
23353
+fi;
 
23354
+
 
23355
+if test -f "$ltmain" && test -n "$tagnames"; then
 
23356
+  if test ! -f "${ofile}"; then
 
23357
+    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
 
23358
+echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
 
23359
+  fi
 
23360
+
 
23361
+  if test -z "$LTCC"; then
 
23362
+    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
 
23363
+    if test -z "$LTCC"; then
 
23364
+      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
 
23365
+echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
 
23366
+    else
 
23367
+      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
 
23368
+echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
 
23369
+    fi
 
23370
+  fi
 
23371
+
 
23372
+  # Extract list of available tagged configurations in $ofile.
 
23373
+  # Note that this assumes the entire list is on one line.
 
23374
+  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
 
23375
+
 
23376
+  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
23377
+  for tagname in $tagnames; do
 
23378
+    IFS="$lt_save_ifs"
 
23379
+    # Check whether tagname contains only valid characters
 
23380
+    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
 
23381
+    "") ;;
 
23382
+    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
 
23383
+echo "$as_me: error: invalid tag name: $tagname" >&2;}
 
23384
+   { (exit 1); exit 1; }; }
 
23385
+       ;;
 
23386
+    esac
 
23387
+
 
23388
+    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
 
23389
+    then
 
23390
+      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
 
23391
+echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
 
23392
+   { (exit 1); exit 1; }; }
 
23393
+    fi
 
23394
+
 
23395
+    # Update the list of available tags.
 
23396
+    if test -n "$tagname"; then
 
23397
+      echo appending configuration tag \"$tagname\" to $ofile
 
23398
+
 
23399
+      case $tagname in
 
23400
+      CXX)
 
23401
+       if test -n "$CXX" && test "X$CXX" != "Xno"; then
 
23402
+         ac_ext=cc
 
23403
+ac_cpp='$CXXCPP $CPPFLAGS'
 
23404
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
23405
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
23406
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
23407
+
 
23408
+
 
23409
+
 
23410
+
 
23411
+archive_cmds_need_lc_CXX=no
 
23412
+allow_undefined_flag_CXX=
 
23413
+always_export_symbols_CXX=no
 
23414
+archive_expsym_cmds_CXX=
 
23415
+export_dynamic_flag_spec_CXX=
 
23416
+hardcode_direct_CXX=no
 
23417
+hardcode_libdir_flag_spec_CXX=
 
23418
+hardcode_libdir_flag_spec_ld_CXX=
 
23419
+hardcode_libdir_separator_CXX=
 
23420
+hardcode_minus_L_CXX=no
 
23421
+hardcode_automatic_CXX=no
 
23422
+module_cmds_CXX=
 
23423
+module_expsym_cmds_CXX=
 
23424
+link_all_deplibs_CXX=unknown
 
23425
+old_archive_cmds_CXX=$old_archive_cmds
 
23426
+no_undefined_flag_CXX=
 
23427
+whole_archive_flag_spec_CXX=
 
23428
+enable_shared_with_static_runtimes_CXX=no
 
23429
+
 
23430
+# Dependencies to place before and after the object being linked:
 
23431
+predep_objects_CXX=
 
23432
+postdep_objects_CXX=
 
23433
+predeps_CXX=
 
23434
+postdeps_CXX=
 
23435
+compiler_lib_search_path_CXX=
 
23436
+
 
23437
+# Source file extension for C++ test sources.
 
23438
+ac_ext=cc
 
23439
+
 
23440
+# Object file extension for compiled C++ test sources.
 
23441
+objext=o
 
23442
+objext_CXX=$objext
 
23443
+
 
23444
+# Code to be used in simple compile tests
 
23445
+lt_simple_compile_test_code="int some_variable = 0;\n"
 
23446
+
 
23447
+# Code to be used in simple link tests
 
23448
+lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
 
23449
+
 
23450
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
23451
+
 
23452
+# If no C compiler was specified, use CC.
 
23453
+LTCC=${LTCC-"$CC"}
 
23454
+
 
23455
+# Allow CC to be a program name with arguments.
 
23456
+compiler=$CC
 
23457
+
 
23458
+
 
23459
+# Allow CC to be a program name with arguments.
 
23460
+lt_save_CC=$CC
 
23461
+lt_save_LD=$LD
 
23462
+lt_save_GCC=$GCC
 
23463
+GCC=$GXX
 
23464
+lt_save_with_gnu_ld=$with_gnu_ld
 
23465
+lt_save_path_LD=$lt_cv_path_LD
 
23466
+if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
 
23467
+  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 
23468
+else
 
23469
+  unset lt_cv_prog_gnu_ld
 
23470
+fi
 
23471
+if test -n "${lt_cv_path_LDCXX+set}"; then
 
23472
+  lt_cv_path_LD=$lt_cv_path_LDCXX
 
23473
+else
 
23474
+  unset lt_cv_path_LD
 
23475
+fi
 
23476
+test -z "${LDCXX+set}" || LD=$LDCXX
 
23477
+CC=${CXX-"c++"}
 
23478
+compiler=$CC
 
23479
+compiler_CXX=$CC
 
23480
+cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
 
23481
+
 
23482
+# We don't want -fno-exception wen compiling C++ code, so set the
 
23483
+# no_builtin_flag separately
 
23484
+if test "$GXX" = yes; then
 
23485
+  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
 
23486
+else
 
23487
+  lt_prog_compiler_no_builtin_flag_CXX=
 
23488
+fi
 
23489
+
 
23490
+if test "$GXX" = yes; then
 
23491
+  # Set up default GNU C++ configuration
 
23492
+
 
23493
+
 
23494
+# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
23495
+if test "${with_gnu_ld+set}" = set; then
 
23496
+  withval="$with_gnu_ld"
 
23497
+  test "$withval" = no || with_gnu_ld=yes
 
23498
+else
 
23499
+  with_gnu_ld=no
 
23500
+fi;
 
23501
+ac_prog=ld
 
23502
+if test "$GCC" = yes; then
 
23503
+  # Check if gcc -print-prog-name=ld gives a path.
 
23504
+  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
23505
+echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
23506
+  case $host in
 
23507
+  *-*-mingw*)
 
23508
+    # gcc leaves a trailing carriage return which upsets mingw
 
23509
+    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
23510
+  *)
 
23511
+    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
23512
+  esac
 
23513
+  case $ac_prog in
 
23514
+    # Accept absolute paths.
 
23515
+    [\\/]* | ?:[\\/]*)
 
23516
+      re_direlt='/[^/][^/]*/\.\./'
 
23517
+      # Canonicalize the pathname of ld
 
23518
+      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
 
23519
+      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 
23520
+       ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
23521
+      done
 
23522
+      test -z "$LD" && LD="$ac_prog"
 
23523
+      ;;
 
23524
+  "")
 
23525
+    # If it fails, then pretend we aren't using GCC.
 
23526
+    ac_prog=ld
 
23527
+    ;;
 
23528
+  *)
 
23529
+    # If it is relative, then search for the first ld in PATH.
 
23530
+    with_gnu_ld=unknown
 
23531
+    ;;
 
23532
+  esac
 
23533
+elif test "$with_gnu_ld" = yes; then
 
23534
+  echo "$as_me:$LINENO: checking for GNU ld" >&5
 
23535
+echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
23536
+else
 
23537
+  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
23538
+echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
23539
+fi
 
23540
+if test "${lt_cv_path_LD+set}" = set; then
 
23541
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23542
+else
 
23543
+  if test -z "$LD"; then
 
23544
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
23545
+  for ac_dir in $PATH; do
 
23546
+    IFS="$lt_save_ifs"
 
23547
+    test -z "$ac_dir" && ac_dir=.
 
23548
+    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
23549
+      lt_cv_path_LD="$ac_dir/$ac_prog"
 
23550
+      # Check to see if the program is GNU ld.  I'd rather use --version,
 
23551
+      # but apparently some GNU ld's only accept -v.
 
23552
+      # Break only if it was the GNU/non-GNU ld that we prefer.
 
23553
+      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
23554
+      *GNU* | *'with BFD'*)
 
23555
+       test "$with_gnu_ld" != no && break
 
23556
+       ;;
 
23557
+      *)
 
23558
+       test "$with_gnu_ld" != yes && break
 
23559
+       ;;
 
23560
+      esac
 
23561
+    fi
 
23562
+  done
 
23563
+  IFS="$lt_save_ifs"
 
23564
+else
 
23565
+  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
23566
+fi
 
23567
+fi
 
23568
+
 
23569
+LD="$lt_cv_path_LD"
 
23570
+if test -n "$LD"; then
 
23571
+  echo "$as_me:$LINENO: result: $LD" >&5
 
23572
+echo "${ECHO_T}$LD" >&6
 
23573
+else
 
23574
+  echo "$as_me:$LINENO: result: no" >&5
 
23575
+echo "${ECHO_T}no" >&6
 
23576
+fi
 
23577
+test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
23578
+echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
23579
+   { (exit 1); exit 1; }; }
 
23580
+echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
23581
+echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
23582
+if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
23583
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23584
+else
 
23585
+  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
23586
+case `$LD -v 2>&1 </dev/null` in
 
23587
+*GNU* | *'with BFD'*)
 
23588
+  lt_cv_prog_gnu_ld=yes
 
23589
+  ;;
 
23590
+*)
 
23591
+  lt_cv_prog_gnu_ld=no
 
23592
+  ;;
 
23593
+esac
 
23594
+fi
 
23595
+echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
23596
+echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
23597
+with_gnu_ld=$lt_cv_prog_gnu_ld
 
23598
+
 
23599
+
 
23600
+
 
23601
+  # Check if GNU C++ uses GNU ld as the underlying linker, since the
 
23602
+  # archiving commands below assume that GNU ld is being used.
 
23603
+  if test "$with_gnu_ld" = yes; then
 
23604
+    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
23605
+    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'
 
23606
+
 
23607
+    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
23608
+    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
23609
+
 
23610
+    # If archive_cmds runs LD, not CC, wlarc should be empty
 
23611
+    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 
23612
+    #     investigate it a little bit more. (MM)
 
23613
+    wlarc='${wl}'
 
23614
+
 
23615
+    # ancient GNU ld didn't support --whole-archive et. al.
 
23616
+    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
 
23617
+       grep 'no-whole-archive' > /dev/null; then
 
23618
+      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
23619
+    else
 
23620
+      whole_archive_flag_spec_CXX=
 
23621
+    fi
 
23622
+  else
 
23623
+    with_gnu_ld=no
 
23624
+    wlarc=
 
23625
+
 
23626
+    # A generic and very simple default shared library creation
 
23627
+    # command for GNU C++ for the case where it uses the native
 
23628
+    # linker, instead of GNU ld.  If possible, this setting should
 
23629
+    # overridden to take advantage of the native linker features on
 
23630
+    # the platform it is being used on.
 
23631
+    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
23632
+  fi
 
23633
+
 
23634
+  # Commands to make compiler produce verbose output that lists
 
23635
+  # what "hidden" libraries, object files and flags are used when
 
23636
+  # linking a shared library.
 
23637
+  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 
23638
+
 
23639
+else
 
23640
+  GXX=no
 
23641
+  with_gnu_ld=no
 
23642
+  wlarc=
 
23643
+fi
 
23644
+
 
23645
+# PORTME: fill in a description of your system's C++ link characteristics
 
23646
+echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
23647
+echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
23648
+ld_shlibs_CXX=yes
 
23649
+case $host_os in
 
23650
+  aix3*)
 
23651
+    # FIXME: insert proper C++ library support
 
23652
+    ld_shlibs_CXX=no
 
23653
+    ;;
 
23654
+  aix4* | aix5*)
 
23655
+    if test "$host_cpu" = ia64; then
 
23656
+      # On IA64, the linker does run time linking by default, so we don't
 
23657
+      # have to do anything special.
 
23658
+      aix_use_runtimelinking=no
 
23659
+      exp_sym_flag='-Bexport'
 
23660
+      no_entry_flag=""
 
23661
+    else
 
23662
+      aix_use_runtimelinking=no
 
23663
+
 
23664
+      # Test if we are trying to use run time linking or normal
 
23665
+      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
23666
+      # need to do runtime linking.
 
23667
+      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
23668
+       for ld_flag in $LDFLAGS; do
 
23669
+         case $ld_flag in
 
23670
+         *-brtl*)
 
23671
+           aix_use_runtimelinking=yes
 
23672
+           break
 
23673
+           ;;
 
23674
+         esac
 
23675
+       done
 
23676
+      esac
 
23677
+
 
23678
+      exp_sym_flag='-bexport'
 
23679
+      no_entry_flag='-bnoentry'
 
23680
+    fi
 
23681
+
 
23682
+    # When large executables or shared objects are built, AIX ld can
 
23683
+    # have problems creating the table of contents.  If linking a library
 
23684
+    # or program results in "error TOC overflow" add -mminimal-toc to
 
23685
+    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
23686
+    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
23687
+
 
23688
+    archive_cmds_CXX=''
 
23689
+    hardcode_direct_CXX=yes
 
23690
+    hardcode_libdir_separator_CXX=':'
 
23691
+    link_all_deplibs_CXX=yes
 
23692
+
 
23693
+    if test "$GXX" = yes; then
 
23694
+      case $host_os in aix4.012|aix4.012.*)
 
23695
+      # We only want to do this on AIX 4.2 and lower, the check
 
23696
+      # below for broken collect2 doesn't work under 4.3+
 
23697
+       collect2name=`${CC} -print-prog-name=collect2`
 
23698
+       if test -f "$collect2name" && \
 
23699
+          strings "$collect2name" | grep resolve_lib_name >/dev/null
 
23700
+       then
 
23701
+         # We have reworked collect2
 
23702
+         hardcode_direct_CXX=yes
 
23703
+       else
 
23704
+         # We have old collect2
 
23705
+         hardcode_direct_CXX=unsupported
 
23706
+         # It fails to find uninstalled libraries when the uninstalled
 
23707
+         # path is not listed in the libpath.  Setting hardcode_minus_L
 
23708
+         # to unsupported forces relinking
 
23709
+         hardcode_minus_L_CXX=yes
 
23710
+         hardcode_libdir_flag_spec_CXX='-L$libdir'
 
23711
+         hardcode_libdir_separator_CXX=
 
23712
+       fi
 
23713
+      esac
 
23714
+      shared_flag='-shared'
 
23715
+    else
 
23716
+      # not using gcc
 
23717
+      if test "$host_cpu" = ia64; then
 
23718
+       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
23719
+       # chokes on -Wl,-G. The following line is correct:
 
23720
+       shared_flag='-G'
 
23721
+      else
 
23722
+       if test "$aix_use_runtimelinking" = yes; then
 
23723
+         shared_flag='${wl}-G'
 
23724
+       else
 
23725
+         shared_flag='${wl}-bM:SRE'
 
23726
+       fi
 
23727
+      fi
 
23728
+    fi
 
23729
+
 
23730
+    # It seems that -bexpall does not export symbols beginning with
 
23731
+    # underscore (_), so it is better to generate a list of symbols to export.
 
23732
+    always_export_symbols_CXX=yes
 
23733
+    if test "$aix_use_runtimelinking" = yes; then
 
23734
+      # Warning - without using the other runtime loading flags (-brtl),
 
23735
+      # -berok will link without error, but may produce a broken library.
 
23736
+      allow_undefined_flag_CXX='-berok'
 
23737
+      # Determine the default libpath from the value encoded in an empty executable.
 
23738
+      cat >conftest.$ac_ext <<_ACEOF
 
23739
+/* confdefs.h.  */
 
23740
+_ACEOF
 
23741
+cat confdefs.h >>conftest.$ac_ext
 
23742
+cat >>conftest.$ac_ext <<_ACEOF
 
23743
+/* end confdefs.h.  */
 
23744
+
 
23745
+int
 
23746
+main ()
 
23747
+{
 
23748
+
 
23749
+  ;
 
23750
+  return 0;
 
23751
+}
 
23752
+_ACEOF
 
23753
+rm -f conftest.$ac_objext conftest$ac_exeext
 
23754
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
23755
+  (eval $ac_link) 2>conftest.er1
 
23756
+  ac_status=$?
 
23757
+  grep -v '^ *+' conftest.er1 >conftest.err
 
23758
+  rm -f conftest.er1
 
23759
+  cat conftest.err >&5
 
23760
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23761
+  (exit $ac_status); } &&
 
23762
+        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
23763
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23764
+  (eval $ac_try) 2>&5
 
23765
+  ac_status=$?
 
23766
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23767
+  (exit $ac_status); }; } &&
 
23768
+        { ac_try='test -s conftest$ac_exeext'
 
23769
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23770
+  (eval $ac_try) 2>&5
 
23771
+  ac_status=$?
 
23772
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23773
+  (exit $ac_status); }; }; then
 
23774
+
 
23775
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
23776
+}'`
 
23777
+# Check for a 64-bit object if we didn't find anything.
 
23778
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
23779
+}'`; fi
 
23780
+else
 
23781
+  echo "$as_me: failed program was:" >&5
 
23782
+sed 's/^/| /' conftest.$ac_ext >&5
 
23783
+
 
23784
+fi
 
23785
+rm -f conftest.err conftest.$ac_objext \
 
23786
+      conftest$ac_exeext conftest.$ac_ext
 
23787
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
23788
+
 
23789
+      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
23790
+
 
23791
+      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
23792
+     else
 
23793
+      if test "$host_cpu" = ia64; then
 
23794
+       hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
 
23795
+       allow_undefined_flag_CXX="-z nodefs"
 
23796
+       archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
23797
+      else
 
23798
+       # Determine the default libpath from the value encoded in an empty executable.
 
23799
+       cat >conftest.$ac_ext <<_ACEOF
 
23800
+/* confdefs.h.  */
 
23801
+_ACEOF
 
23802
+cat confdefs.h >>conftest.$ac_ext
 
23803
+cat >>conftest.$ac_ext <<_ACEOF
 
23804
+/* end confdefs.h.  */
 
23805
+
 
23806
+int
 
23807
+main ()
 
23808
+{
 
23809
+
 
23810
+  ;
 
23811
+  return 0;
 
23812
+}
 
23813
+_ACEOF
 
23814
+rm -f conftest.$ac_objext conftest$ac_exeext
 
23815
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
23816
+  (eval $ac_link) 2>conftest.er1
 
23817
+  ac_status=$?
 
23818
+  grep -v '^ *+' conftest.er1 >conftest.err
 
23819
+  rm -f conftest.er1
 
23820
+  cat conftest.err >&5
 
23821
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23822
+  (exit $ac_status); } &&
 
23823
+        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
23824
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23825
+  (eval $ac_try) 2>&5
 
23826
+  ac_status=$?
 
23827
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23828
+  (exit $ac_status); }; } &&
 
23829
+        { ac_try='test -s conftest$ac_exeext'
 
23830
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23831
+  (eval $ac_try) 2>&5
 
23832
+  ac_status=$?
 
23833
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23834
+  (exit $ac_status); }; }; then
 
23835
+
 
23836
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
23837
+}'`
 
23838
+# Check for a 64-bit object if we didn't find anything.
 
23839
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
23840
+}'`; fi
 
23841
+else
 
23842
+  echo "$as_me: failed program was:" >&5
 
23843
+sed 's/^/| /' conftest.$ac_ext >&5
 
23844
+
 
23845
+fi
 
23846
+rm -f conftest.err conftest.$ac_objext \
 
23847
+      conftest$ac_exeext conftest.$ac_ext
 
23848
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
23849
+
 
23850
+       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
23851
+       # Warning - without using the other run time loading flags,
 
23852
+       # -berok will link without error, but may produce a broken library.
 
23853
+       no_undefined_flag_CXX=' ${wl}-bernotok'
 
23854
+       allow_undefined_flag_CXX=' ${wl}-berok'
 
23855
+       # -bexpall does not export symbols beginning with underscore (_)
 
23856
+       always_export_symbols_CXX=yes
 
23857
+       # Exported symbols can be pulled into shared objects from archives
 
23858
+       whole_archive_flag_spec_CXX=' '
 
23859
+       archive_cmds_need_lc_CXX=yes
 
23860
+       # This is similar to how AIX traditionally builds it's shared libraries.
 
23861
+       archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
23862
+      fi
 
23863
+    fi
 
23864
+    ;;
 
23865
+  chorus*)
 
23866
+    case $cc_basename in
 
23867
+      *)
 
23868
+       # FIXME: insert proper C++ library support
 
23869
+       ld_shlibs_CXX=no
 
23870
+       ;;
 
23871
+    esac
 
23872
+    ;;
 
23873
+
 
23874
+  cygwin* | mingw* | pw32*)
 
23875
+    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
23876
+    # as there is no search path for DLLs.
 
23877
+    hardcode_libdir_flag_spec_CXX='-L$libdir'
 
23878
+    allow_undefined_flag_CXX=unsupported
 
23879
+    always_export_symbols_CXX=no
 
23880
+    enable_shared_with_static_runtimes_CXX=yes
 
23881
+
 
23882
+    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
23883
+      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
23884
+      # If the export-symbols file already is a .def file (1st line
 
23885
+      # is EXPORTS), use it as is; otherwise, prepend...
 
23886
+      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
23887
+       cp $export_symbols $output_objdir/$soname.def;
 
23888
+      else
 
23889
+       echo EXPORTS > $output_objdir/$soname.def;
 
23890
+       cat $export_symbols >> $output_objdir/$soname.def;
 
23891
+      fi~
 
23892
+      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
23893
+    else
 
23894
+      ld_shlibs_CXX=no
 
23895
+    fi
 
23896
+  ;;
 
23897
+
 
23898
+  darwin* | rhapsody*)
 
23899
+  if test "$GXX" = yes; then
 
23900
+    archive_cmds_need_lc_CXX=no
 
23901
+    case "$host_os" in
 
23902
+    rhapsody* | darwin1.[012])
 
23903
+      allow_undefined_flag_CXX='-undefined suppress'
 
23904
+      ;;
 
23905
+    *) # Darwin 1.3 on
 
23906
+      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
23907
+       allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
 
23908
+      else
 
23909
+        case ${MACOSX_DEPLOYMENT_TARGET} in
 
23910
+          10.[012])
 
23911
+            allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
 
23912
+            ;;
 
23913
+          10.*)
 
23914
+            allow_undefined_flag_CXX='-undefined dynamic_lookup'
 
23915
+            ;;
 
23916
+        esac
 
23917
+      fi
 
23918
+      ;;
 
23919
+    esac
 
23920
+    lt_int_apple_cc_single_mod=no
 
23921
+    output_verbose_link_cmd='echo'
 
23922
+    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
 
23923
+      lt_int_apple_cc_single_mod=yes
 
23924
+    fi
 
23925
+    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
23926
+      archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
23927
+    else
 
23928
+      archive_cmds_CXX='$CC -r ${wl}-bind_at_load -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'
 
23929
+    fi
 
23930
+    module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
23931
+
 
23932
+    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
 
23933
+    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
23934
+      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
23935
+    else
 
23936
+      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
23937
+    fi
 
23938
+    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}'
 
23939
+    hardcode_direct_CXX=no
 
23940
+    hardcode_automatic_CXX=yes
 
23941
+    hardcode_shlibpath_var_CXX=unsupported
 
23942
+    whole_archive_flag_spec_CXX='-all_load $convenience'
 
23943
+    link_all_deplibs_CXX=yes
 
23944
+  else
 
23945
+    ld_shlibs_CXX=no
 
23946
+  fi
 
23947
+    ;;
 
23948
+
 
23949
+  dgux*)
 
23950
+    case $cc_basename in
 
23951
+      ec++)
 
23952
+       # FIXME: insert proper C++ library support
 
23953
+       ld_shlibs_CXX=no
 
23954
+       ;;
 
23955
+      ghcx)
 
23956
+       # Green Hills C++ Compiler
 
23957
+       # FIXME: insert proper C++ library support
 
23958
+       ld_shlibs_CXX=no
 
23959
+       ;;
 
23960
+      *)
 
23961
+       # FIXME: insert proper C++ library support
 
23962
+       ld_shlibs_CXX=no
 
23963
+       ;;
 
23964
+    esac
 
23965
+    ;;
 
23966
+  freebsd12*)
 
23967
+    # C++ shared libraries reported to be fairly broken before switch to ELF
 
23968
+    ld_shlibs_CXX=no
 
23969
+    ;;
 
23970
+  freebsd-elf*)
 
23971
+    archive_cmds_need_lc_CXX=no
 
23972
+    ;;
 
23973
+  freebsd* | kfreebsd*-gnu)
 
23974
+    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 
23975
+    # conventions
 
23976
+    ld_shlibs_CXX=yes
 
23977
+    ;;
 
23978
+  gnu*)
 
23979
+    ;;
 
23980
+  hpux9*)
 
23981
+    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
23982
+    hardcode_libdir_separator_CXX=:
 
23983
+    export_dynamic_flag_spec_CXX='${wl}-E'
 
23984
+    hardcode_direct_CXX=yes
 
23985
+    hardcode_minus_L_CXX=yes # Not in the search PATH,
 
23986
+                               # but as the default
 
23987
+                               # location of the library.
 
23988
+
 
23989
+    case $cc_basename in
 
23990
+    CC)
 
23991
+      # FIXME: insert proper C++ library support
 
23992
+      ld_shlibs_CXX=no
 
23993
+      ;;
 
23994
+    aCC)
 
23995
+      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'
 
23996
+      # Commands to make compiler produce verbose output that lists
 
23997
+      # what "hidden" libraries, object files and flags are used when
 
23998
+      # linking a shared library.
 
23999
+      #
 
24000
+      # There doesn't appear to be a way to prevent this compiler from
 
24001
+      # explicitly linking system object files so we need to strip them
 
24002
+      # from the output so that they don't get included in the library
 
24003
+      # dependencies.
 
24004
+      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'
 
24005
+      ;;
 
24006
+    *)
 
24007
+      if test "$GXX" = yes; then
 
24008
+        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'
 
24009
+      else
 
24010
+        # FIXME: insert proper C++ library support
 
24011
+        ld_shlibs_CXX=no
 
24012
+      fi
 
24013
+      ;;
 
24014
+    esac
 
24015
+    ;;
 
24016
+  hpux10*|hpux11*)
 
24017
+    if test $with_gnu_ld = no; then
 
24018
+      case "$host_cpu" in
 
24019
+      hppa*64*)
 
24020
+       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
24021
+       hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
 
24022
+       hardcode_libdir_separator_CXX=:
 
24023
+        ;;
 
24024
+      ia64*)
 
24025
+       hardcode_libdir_flag_spec_CXX='-L$libdir'
 
24026
+        ;;
 
24027
+      *)
 
24028
+       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
24029
+       hardcode_libdir_separator_CXX=:
 
24030
+       export_dynamic_flag_spec_CXX='${wl}-E'
 
24031
+        ;;
 
24032
+      esac
 
24033
+    fi
 
24034
+    case "$host_cpu" in
 
24035
+    hppa*64*)
 
24036
+      hardcode_direct_CXX=no
 
24037
+      hardcode_shlibpath_var_CXX=no
 
24038
+      ;;
 
24039
+    ia64*)
 
24040
+      hardcode_direct_CXX=no
 
24041
+      hardcode_shlibpath_var_CXX=no
 
24042
+      hardcode_minus_L_CXX=yes # Not in the search PATH,
 
24043
+                                             # but as the default
 
24044
+                                             # location of the library.
 
24045
+      ;;
 
24046
+    *)
 
24047
+      hardcode_direct_CXX=yes
 
24048
+      hardcode_minus_L_CXX=yes # Not in the search PATH,
 
24049
+                                             # but as the default
 
24050
+                                             # location of the library.
 
24051
+      ;;
 
24052
+    esac
 
24053
+
 
24054
+    case $cc_basename in
 
24055
+      CC)
 
24056
+       # FIXME: insert proper C++ library support
 
24057
+       ld_shlibs_CXX=no
 
24058
+       ;;
 
24059
+      aCC)
 
24060
+       case "$host_cpu" in
 
24061
+       hppa*64*|ia64*)
 
24062
+         archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
24063
+         ;;
 
24064
+       *)
 
24065
+         archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
24066
+         ;;
 
24067
+       esac
 
24068
+       # Commands to make compiler produce verbose output that lists
 
24069
+       # what "hidden" libraries, object files and flags are used when
 
24070
+       # linking a shared library.
 
24071
+       #
 
24072
+       # There doesn't appear to be a way to prevent this compiler from
 
24073
+       # explicitly linking system object files so we need to strip them
 
24074
+       # from the output so that they don't get included in the library
 
24075
+       # dependencies.
 
24076
+       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'
 
24077
+       ;;
 
24078
+      *)
 
24079
+       if test "$GXX" = yes; then
 
24080
+         if test $with_gnu_ld = no; then
 
24081
+           case "$host_cpu" in
 
24082
+           ia64*|hppa*64*)
 
24083
+             archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
24084
+             ;;
 
24085
+           *)
 
24086
+             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'
 
24087
+             ;;
 
24088
+           esac
 
24089
+         fi
 
24090
+       else
 
24091
+         # FIXME: insert proper C++ library support
 
24092
+         ld_shlibs_CXX=no
 
24093
+       fi
 
24094
+       ;;
 
24095
+    esac
 
24096
+    ;;
 
24097
+  irix5* | irix6*)
 
24098
+    case $cc_basename in
 
24099
+      CC)
 
24100
+       # SGI C++
 
24101
+       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 ${objdir}/so_locations -o $lib'
 
24102
+
 
24103
+       # Archives containing C++ object files must be created using
 
24104
+       # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
 
24105
+       # necessary to make sure instantiated templates are included
 
24106
+       # in the archive.
 
24107
+       old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
 
24108
+       ;;
 
24109
+      *)
 
24110
+       if test "$GXX" = yes; then
 
24111
+         if test "$with_gnu_ld" = no; then
 
24112
+           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}${objdir}/so_locations -o $lib'
 
24113
+         else
 
24114
+           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'
 
24115
+         fi
 
24116
+       fi
 
24117
+       link_all_deplibs_CXX=yes
 
24118
+       ;;
 
24119
+    esac
 
24120
+    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
24121
+    hardcode_libdir_separator_CXX=:
 
24122
+    ;;
 
24123
+  linux*)
 
24124
+    case $cc_basename in
 
24125
+      KCC)
 
24126
+       # Kuck and Associates, Inc. (KAI) C++ Compiler
 
24127
+
 
24128
+       # KCC will only create a shared library if the output file
 
24129
+       # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
24130
+       # to its proper name (with version) after linking.
 
24131
+       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'
 
24132
+       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'
 
24133
+       # Commands to make compiler produce verbose output that lists
 
24134
+       # what "hidden" libraries, object files and flags are used when
 
24135
+       # linking a shared library.
 
24136
+       #
 
24137
+       # There doesn't appear to be a way to prevent this compiler from
 
24138
+       # explicitly linking system object files so we need to strip them
 
24139
+       # from the output so that they don't get included in the library
 
24140
+       # dependencies.
 
24141
+       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'
 
24142
+
 
24143
+       hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
 
24144
+       export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
24145
+
 
24146
+       # Archives containing C++ object files must be created using
 
24147
+       # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 
24148
+       old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 
24149
+       ;;
 
24150
+      icpc)
 
24151
+       # Intel C++
 
24152
+       with_gnu_ld=yes
 
24153
+       archive_cmds_need_lc_CXX=no
 
24154
+       archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
24155
+       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'
 
24156
+       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
24157
+       export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
24158
+       whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
24159
+       ;;
 
24160
+      cxx)
 
24161
+       # Compaq C++
 
24162
+       archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
24163
+       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'
 
24164
+
 
24165
+       runpath_var=LD_RUN_PATH
 
24166
+       hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
24167
+       hardcode_libdir_separator_CXX=:
 
24168
+
 
24169
+       # Commands to make compiler produce verbose output that lists
 
24170
+       # what "hidden" libraries, object files and flags are used when
 
24171
+       # linking a shared library.
 
24172
+       #
 
24173
+       # There doesn't appear to be a way to prevent this compiler from
 
24174
+       # explicitly linking system object files so we need to strip them
 
24175
+       # from the output so that they don't get included in the library
 
24176
+       # dependencies.
 
24177
+       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'
 
24178
+       ;;
 
24179
+    esac
 
24180
+    ;;
 
24181
+  lynxos*)
 
24182
+    # FIXME: insert proper C++ library support
 
24183
+    ld_shlibs_CXX=no
 
24184
+    ;;
 
24185
+  m88k*)
 
24186
+    # FIXME: insert proper C++ library support
 
24187
+    ld_shlibs_CXX=no
 
24188
+    ;;
 
24189
+  mvs*)
 
24190
+    case $cc_basename in
 
24191
+      cxx)
 
24192
+       # FIXME: insert proper C++ library support
 
24193
+       ld_shlibs_CXX=no
 
24194
+       ;;
 
24195
+      *)
 
24196
+       # FIXME: insert proper C++ library support
 
24197
+       ld_shlibs_CXX=no
 
24198
+       ;;
 
24199
+    esac
 
24200
+    ;;
 
24201
+  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
24202
+    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
24203
+      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 
24204
+      wlarc=
 
24205
+      hardcode_libdir_flag_spec_CXX='-R$libdir'
 
24206
+      hardcode_direct_CXX=yes
 
24207
+      hardcode_shlibpath_var_CXX=no
 
24208
+    fi
 
24209
+    # Workaround some broken pre-1.5 toolchains
 
24210
+    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 
24211
+    ;;
 
24212
+  osf3*)
 
24213
+    case $cc_basename in
 
24214
+      KCC)
 
24215
+       # Kuck and Associates, Inc. (KAI) C++ Compiler
 
24216
+
 
24217
+       # KCC will only create a shared library if the output file
 
24218
+       # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
24219
+       # to its proper name (with version) after linking.
 
24220
+       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'
 
24221
+
 
24222
+       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
24223
+       hardcode_libdir_separator_CXX=:
 
24224
+
 
24225
+       # Archives containing C++ object files must be created using
 
24226
+       # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 
24227
+       old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 
24228
+
 
24229
+       ;;
 
24230
+      RCC)
 
24231
+       # Rational C++ 2.4.1
 
24232
+       # FIXME: insert proper C++ library support
 
24233
+       ld_shlibs_CXX=no
 
24234
+       ;;
 
24235
+      cxx)
 
24236
+       allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
24237
+       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 ${objdir}/so_locations -o $lib'
 
24238
+
 
24239
+       hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
24240
+       hardcode_libdir_separator_CXX=:
 
24241
+
 
24242
+       # Commands to make compiler produce verbose output that lists
 
24243
+       # what "hidden" libraries, object files and flags are used when
 
24244
+       # linking a shared library.
 
24245
+       #
 
24246
+       # There doesn't appear to be a way to prevent this compiler from
 
24247
+       # explicitly linking system object files so we need to strip them
 
24248
+       # from the output so that they don't get included in the library
 
24249
+       # dependencies.
 
24250
+       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'
 
24251
+       ;;
 
24252
+      *)
 
24253
+       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
24254
+         allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
24255
+         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}${objdir}/so_locations -o $lib'
 
24256
+
 
24257
+         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
24258
+         hardcode_libdir_separator_CXX=:
 
24259
+
 
24260
+         # Commands to make compiler produce verbose output that lists
 
24261
+         # what "hidden" libraries, object files and flags are used when
 
24262
+         # linking a shared library.
 
24263
+         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 
24264
+
 
24265
+       else
 
24266
+         # FIXME: insert proper C++ library support
 
24267
+         ld_shlibs_CXX=no
 
24268
+       fi
 
24269
+       ;;
 
24270
+    esac
 
24271
+    ;;
 
24272
+  osf4* | osf5*)
 
24273
+    case $cc_basename in
 
24274
+      KCC)
 
24275
+       # Kuck and Associates, Inc. (KAI) C++ Compiler
 
24276
+
 
24277
+       # KCC will only create a shared library if the output file
 
24278
+       # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
24279
+       # to its proper name (with version) after linking.
 
24280
+       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'
 
24281
+
 
24282
+       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
24283
+       hardcode_libdir_separator_CXX=:
 
24284
+
 
24285
+       # Archives containing C++ object files must be created using
 
24286
+       # the KAI C++ compiler.
 
24287
+       old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
 
24288
+       ;;
 
24289
+      RCC)
 
24290
+       # Rational C++ 2.4.1
 
24291
+       # FIXME: insert proper C++ library support
 
24292
+       ld_shlibs_CXX=no
 
24293
+       ;;
 
24294
+      cxx)
 
24295
+       allow_undefined_flag_CXX=' -expect_unresolved \*'
 
24296
+       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 ${objdir}/so_locations -o $lib'
 
24297
+       archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 
24298
+         echo "-hidden">> $lib.exp~
 
24299
+         $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 $objdir/so_locations -o $lib~
 
24300
+         $rm $lib.exp'
 
24301
+
 
24302
+       hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
24303
+       hardcode_libdir_separator_CXX=:
 
24304
+
 
24305
+       # Commands to make compiler produce verbose output that lists
 
24306
+       # what "hidden" libraries, object files and flags are used when
 
24307
+       # linking a shared library.
 
24308
+       #
 
24309
+       # There doesn't appear to be a way to prevent this compiler from
 
24310
+       # explicitly linking system object files so we need to strip them
 
24311
+       # from the output so that they don't get included in the library
 
24312
+       # dependencies.
 
24313
+       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'
 
24314
+       ;;
 
24315
+      *)
 
24316
+       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
24317
+         allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
24318
+        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}${objdir}/so_locations -o $lib'
 
24319
+
 
24320
+         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
24321
+         hardcode_libdir_separator_CXX=:
 
24322
+
 
24323
+         # Commands to make compiler produce verbose output that lists
 
24324
+         # what "hidden" libraries, object files and flags are used when
 
24325
+         # linking a shared library.
 
24326
+         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 
24327
+
 
24328
+       else
 
24329
+         # FIXME: insert proper C++ library support
 
24330
+         ld_shlibs_CXX=no
 
24331
+       fi
 
24332
+       ;;
 
24333
+    esac
 
24334
+    ;;
 
24335
+  psos*)
 
24336
+    # FIXME: insert proper C++ library support
 
24337
+    ld_shlibs_CXX=no
 
24338
+    ;;
 
24339
+  sco*)
 
24340
+    archive_cmds_need_lc_CXX=no
 
24341
+    case $cc_basename in
 
24342
+      CC)
 
24343
+       # FIXME: insert proper C++ library support
 
24344
+       ld_shlibs_CXX=no
 
24345
+       ;;
 
24346
+      *)
 
24347
+       # FIXME: insert proper C++ library support
 
24348
+       ld_shlibs_CXX=no
 
24349
+       ;;
 
24350
+    esac
 
24351
+    ;;
 
24352
+  sunos4*)
 
24353
+    case $cc_basename in
 
24354
+      CC)
 
24355
+       # Sun C++ 4.x
 
24356
+       # FIXME: insert proper C++ library support
 
24357
+       ld_shlibs_CXX=no
 
24358
+       ;;
 
24359
+      lcc)
 
24360
+       # Lucid
 
24361
+       # FIXME: insert proper C++ library support
 
24362
+       ld_shlibs_CXX=no
 
24363
+       ;;
 
24364
+      *)
 
24365
+       # FIXME: insert proper C++ library support
 
24366
+       ld_shlibs_CXX=no
 
24367
+       ;;
 
24368
+    esac
 
24369
+    ;;
 
24370
+  solaris*)
 
24371
+    case $cc_basename in
 
24372
+      CC)
 
24373
+       # Sun C++ 4.2, 5.x and Centerline C++
 
24374
+       no_undefined_flag_CXX=' -zdefs'
 
24375
+       archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
24376
+       archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
24377
+       $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 
24378
+
 
24379
+       hardcode_libdir_flag_spec_CXX='-R$libdir'
 
24380
+       hardcode_shlibpath_var_CXX=no
 
24381
+       case $host_os in
 
24382
+         solaris2.0-5 | solaris2.0-5.*) ;;
 
24383
+         *)
 
24384
+           # The C++ compiler is used as linker so we must use $wl
 
24385
+           # flag to pass the commands to the underlying system
 
24386
+           # linker.
 
24387
+           # Supported since Solaris 2.6 (maybe 2.5.1?)
 
24388
+           whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
24389
+           ;;
 
24390
+       esac
 
24391
+       link_all_deplibs_CXX=yes
 
24392
+
 
24393
+       # Commands to make compiler produce verbose output that lists
 
24394
+       # what "hidden" libraries, object files and flags are used when
 
24395
+       # linking a shared library.
 
24396
+       #
 
24397
+       # There doesn't appear to be a way to prevent this compiler from
 
24398
+       # explicitly linking system object files so we need to strip them
 
24399
+       # from the output so that they don't get included in the library
 
24400
+       # dependencies.
 
24401
+       output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
 
24402
+
 
24403
+       # Archives containing C++ object files must be created using
 
24404
+       # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
24405
+       # necessary to make sure instantiated templates are included
 
24406
+       # in the archive.
 
24407
+       old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
24408
+       ;;
 
24409
+      gcx)
 
24410
+       # Green Hills C++ Compiler
 
24411
+       archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
24412
+
 
24413
+       # The C++ compiler must be used to create the archive.
 
24414
+       old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 
24415
+       ;;
 
24416
+      *)
 
24417
+       # GNU C++ compiler with Solaris linker
 
24418
+       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
24419
+         no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
 
24420
+         if $CC --version | grep -v '^2\.7' > /dev/null; then
 
24421
+           archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
24422
+           archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
24423
+               $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 
24424
+
 
24425
+           # Commands to make compiler produce verbose output that lists
 
24426
+           # what "hidden" libraries, object files and flags are used when
 
24427
+           # linking a shared library.
 
24428
+           output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
 
24429
+         else
 
24430
+           # g++ 2.7 appears to require `-G' NOT `-shared' on this
 
24431
+           # platform.
 
24432
+           archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
24433
+           archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
24434
+               $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 
24435
+
 
24436
+           # Commands to make compiler produce verbose output that lists
 
24437
+           # what "hidden" libraries, object files and flags are used when
 
24438
+           # linking a shared library.
 
24439
+           output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
 
24440
+         fi
 
24441
+
 
24442
+         hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
24443
+       fi
 
24444
+       ;;
 
24445
+    esac
 
24446
+    ;;
 
24447
+  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
 
24448
+    archive_cmds_need_lc_CXX=no
 
24449
+    ;;
 
24450
+  tandem*)
 
24451
+    case $cc_basename in
 
24452
+      NCC)
 
24453
+       # NonStop-UX NCC 3.20
 
24454
+       # FIXME: insert proper C++ library support
 
24455
+       ld_shlibs_CXX=no
 
24456
+       ;;
 
24457
+      *)
 
24458
+       # FIXME: insert proper C++ library support
 
24459
+       ld_shlibs_CXX=no
 
24460
+       ;;
 
24461
+    esac
 
24462
+    ;;
 
24463
+  vxworks*)
 
24464
+    # FIXME: insert proper C++ library support
 
24465
+    ld_shlibs_CXX=no
 
24466
+    ;;
 
24467
+  *)
 
24468
+    # FIXME: insert proper C++ library support
 
24469
+    ld_shlibs_CXX=no
 
24470
+    ;;
 
24471
+esac
 
24472
+echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
24473
+echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
24474
+test "$ld_shlibs_CXX" = no && can_build_shared=no
 
24475
+
 
24476
+GCC_CXX="$GXX"
 
24477
+LD_CXX="$LD"
 
24478
+
 
24479
+
 
24480
+cat > conftest.$ac_ext <<EOF
 
24481
+class Foo
 
24482
+{
 
24483
+public:
 
24484
+  Foo (void) { a = 0; }
 
24485
+private:
 
24486
+  int a;
 
24487
+};
 
24488
+EOF
 
24489
+
 
24490
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
24491
+  (eval $ac_compile) 2>&5
 
24492
+  ac_status=$?
 
24493
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24494
+  (exit $ac_status); }; then
 
24495
+  # Parse the compiler output and extract the necessary
 
24496
+  # objects, libraries and library flags.
 
24497
+
 
24498
+  # Sentinel used to keep track of whether or not we are before
 
24499
+  # the conftest object file.
 
24500
+  pre_test_object_deps_done=no
 
24501
+
 
24502
+  # The `*' in the case matches for architectures that use `case' in
 
24503
+  # $output_verbose_cmd can trigger glob expansion during the loop
 
24504
+  # eval without this substitution.
 
24505
+  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
 
24506
+
 
24507
+  for p in `eval $output_verbose_link_cmd`; do
 
24508
+    case $p in
 
24509
+
 
24510
+    -L* | -R* | -l*)
 
24511
+       # Some compilers place space between "-{L,R}" and the path.
 
24512
+       # Remove the space.
 
24513
+       if test $p = "-L" \
 
24514
+         || test $p = "-R"; then
 
24515
+        prev=$p
 
24516
+        continue
 
24517
+       else
 
24518
+        prev=
 
24519
+       fi
 
24520
+
 
24521
+       if test "$pre_test_object_deps_done" = no; then
 
24522
+        case $p in
 
24523
+        -L* | -R*)
 
24524
+          # Internal compiler library paths should come after those
 
24525
+          # provided the user.  The postdeps already come after the
 
24526
+          # user supplied libs so there is no need to process them.
 
24527
+          if test -z "$compiler_lib_search_path_CXX"; then
 
24528
+            compiler_lib_search_path_CXX="${prev}${p}"
 
24529
+          else
 
24530
+            compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
 
24531
+          fi
 
24532
+          ;;
 
24533
+        # The "-l" case would never come before the object being
 
24534
+        # linked, so don't bother handling this case.
 
24535
+        esac
 
24536
+       else
 
24537
+        if test -z "$postdeps_CXX"; then
 
24538
+          postdeps_CXX="${prev}${p}"
 
24539
+        else
 
24540
+          postdeps_CXX="${postdeps_CXX} ${prev}${p}"
 
24541
+        fi
 
24542
+       fi
 
24543
+       ;;
 
24544
+
 
24545
+    *.$objext)
 
24546
+       # This assumes that the test object file only shows up
 
24547
+       # once in the compiler output.
 
24548
+       if test "$p" = "conftest.$objext"; then
 
24549
+        pre_test_object_deps_done=yes
 
24550
+        continue
 
24551
+       fi
 
24552
+
 
24553
+       if test "$pre_test_object_deps_done" = no; then
 
24554
+        if test -z "$predep_objects_CXX"; then
 
24555
+          predep_objects_CXX="$p"
 
24556
+        else
 
24557
+          predep_objects_CXX="$predep_objects_CXX $p"
 
24558
+        fi
 
24559
+       else
 
24560
+        if test -z "$postdep_objects_CXX"; then
 
24561
+          postdep_objects_CXX="$p"
 
24562
+        else
 
24563
+          postdep_objects_CXX="$postdep_objects_CXX $p"
 
24564
+        fi
 
24565
+       fi
 
24566
+       ;;
 
24567
+
 
24568
+    *) ;; # Ignore the rest.
 
24569
+
 
24570
+    esac
 
24571
+  done
 
24572
+
 
24573
+  # Clean up.
 
24574
+  rm -f a.out a.exe
 
24575
+else
 
24576
+  echo "libtool.m4: error: problem compiling CXX test program"
 
24577
+fi
 
24578
+
 
24579
+$rm -f confest.$objext
 
24580
+
 
24581
+case " $postdeps_CXX " in
 
24582
+*" -lc "*) archive_cmds_need_lc_CXX=no ;;
 
24583
+esac
 
24584
+
 
24585
+lt_prog_compiler_wl_CXX=
 
24586
+lt_prog_compiler_pic_CXX=
 
24587
+lt_prog_compiler_static_CXX=
 
24588
+
 
24589
+echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
24590
+echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
24591
+
 
24592
+  # C++ specific cases for pic, static, wl, etc.
 
24593
+  if test "$GXX" = yes; then
 
24594
+    lt_prog_compiler_wl_CXX='-Wl,'
 
24595
+    lt_prog_compiler_static_CXX='-static'
 
24596
+
 
24597
+    case $host_os in
 
24598
+    aix*)
 
24599
+      # All AIX code is PIC.
 
24600
+      if test "$host_cpu" = ia64; then
 
24601
+       # AIX 5 now supports IA64 processor
 
24602
+       lt_prog_compiler_static_CXX='-Bstatic'
 
24603
+      fi
 
24604
+      ;;
 
24605
+    amigaos*)
 
24606
+      # FIXME: we need at least 68020 code to build shared libraries, but
 
24607
+      # adding the `-m68020' flag to GCC prevents building anything better,
 
24608
+      # like `-m68040'.
 
24609
+      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 
24610
+      ;;
 
24611
+    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
24612
+      # PIC is the default for these OSes.
 
24613
+      ;;
 
24614
+    mingw* | os2* | pw32*)
 
24615
+      # This hack is so that the source file can tell whether it is being
 
24616
+      # built for inclusion in a dll (and should export symbols for example).
 
24617
+      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 
24618
+      ;;
 
24619
+    darwin* | rhapsody*)
 
24620
+      # PIC is the default on this platform
 
24621
+      # Common symbols not allowed in MH_DYLIB files
 
24622
+      lt_prog_compiler_pic_CXX='-fno-common'
 
24623
+      ;;
 
24624
+    *djgpp*)
 
24625
+      # DJGPP does not support shared libraries at all
 
24626
+      lt_prog_compiler_pic_CXX=
 
24627
+      ;;
 
24628
+    sysv4*MP*)
 
24629
+      if test -d /usr/nec; then
 
24630
+       lt_prog_compiler_pic_CXX=-Kconform_pic
 
24631
+      fi
 
24632
+      ;;
 
24633
+    hpux*)
 
24634
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
24635
+      # not for PA HP-UX.
 
24636
+      case "$host_cpu" in
 
24637
+      hppa*64*|ia64*)
 
24638
+       ;;
 
24639
+      *)
 
24640
+       lt_prog_compiler_pic_CXX='-fPIC'
 
24641
+       ;;
 
24642
+      esac
 
24643
+      ;;
 
24644
+    *)
 
24645
+      lt_prog_compiler_pic_CXX='-fPIC'
 
24646
+      ;;
 
24647
+    esac
 
24648
+  else
 
24649
+    case $host_os in
 
24650
+      aix4* | aix5*)
 
24651
+       # All AIX code is PIC.
 
24652
+       if test "$host_cpu" = ia64; then
 
24653
+         # AIX 5 now supports IA64 processor
 
24654
+         lt_prog_compiler_static_CXX='-Bstatic'
 
24655
+       else
 
24656
+         lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
 
24657
+       fi
 
24658
+       ;;
 
24659
+      chorus*)
 
24660
+       case $cc_basename in
 
24661
+       cxch68)
 
24662
+         # Green Hills C++ Compiler
 
24663
+         # _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"
 
24664
+         ;;
 
24665
+       esac
 
24666
+       ;;
 
24667
+      dgux*)
 
24668
+       case $cc_basename in
 
24669
+         ec++)
 
24670
+           lt_prog_compiler_pic_CXX='-KPIC'
 
24671
+           ;;
 
24672
+         ghcx)
 
24673
+           # Green Hills C++ Compiler
 
24674
+           lt_prog_compiler_pic_CXX='-pic'
 
24675
+           ;;
 
24676
+         *)
 
24677
+           ;;
 
24678
+       esac
 
24679
+       ;;
 
24680
+      freebsd* | kfreebsd*-gnu)
 
24681
+       # FreeBSD uses GNU C++
 
24682
+       ;;
 
24683
+      hpux9* | hpux10* | hpux11*)
 
24684
+       case $cc_basename in
 
24685
+         CC)
 
24686
+           lt_prog_compiler_wl_CXX='-Wl,'
 
24687
+           lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
 
24688
+           if test "$host_cpu" != ia64; then
 
24689
+             lt_prog_compiler_pic_CXX='+Z'
 
24690
+           fi
 
24691
+           ;;
 
24692
+         aCC)
 
24693
+           lt_prog_compiler_wl_CXX='-Wl,'
 
24694
+           lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
 
24695
+           case "$host_cpu" in
 
24696
+           hppa*64*|ia64*)
 
24697
+             # +Z the default
 
24698
+             ;;
 
24699
+           *)
 
24700
+             lt_prog_compiler_pic_CXX='+Z'
 
24701
+             ;;
 
24702
+           esac
 
24703
+           ;;
 
24704
+         *)
 
24705
+           ;;
 
24706
+       esac
 
24707
+       ;;
 
24708
+      irix5* | irix6* | nonstopux*)
 
24709
+       case $cc_basename in
 
24710
+         CC)
 
24711
+           lt_prog_compiler_wl_CXX='-Wl,'
 
24712
+           lt_prog_compiler_static_CXX='-non_shared'
 
24713
+           # CC pic flag -KPIC is the default.
 
24714
+           ;;
 
24715
+         *)
 
24716
+           ;;
 
24717
+       esac
 
24718
+       ;;
 
24719
+      linux*)
 
24720
+       case $cc_basename in
 
24721
+         KCC)
 
24722
+           # KAI C++ Compiler
 
24723
+           lt_prog_compiler_wl_CXX='--backend -Wl,'
 
24724
+           lt_prog_compiler_pic_CXX='-fPIC'
 
24725
+           ;;
 
24726
+         icpc)
 
24727
+           # Intel C++
 
24728
+           lt_prog_compiler_wl_CXX='-Wl,'
 
24729
+           lt_prog_compiler_pic_CXX='-KPIC'
 
24730
+           lt_prog_compiler_static_CXX='-static'
 
24731
+           ;;
 
24732
+         cxx)
 
24733
+           # Compaq C++
 
24734
+           # Make sure the PIC flag is empty.  It appears that all Alpha
 
24735
+           # Linux and Compaq Tru64 Unix objects are PIC.
 
24736
+           lt_prog_compiler_pic_CXX=
 
24737
+           lt_prog_compiler_static_CXX='-non_shared'
 
24738
+           ;;
 
24739
+         *)
 
24740
+           ;;
 
24741
+       esac
 
24742
+       ;;
 
24743
+      lynxos*)
 
24744
+       ;;
 
24745
+      m88k*)
 
24746
+       ;;
 
24747
+      mvs*)
 
24748
+       case $cc_basename in
 
24749
+         cxx)
 
24750
+           lt_prog_compiler_pic_CXX='-W c,exportall'
 
24751
+           ;;
 
24752
+         *)
 
24753
+           ;;
 
24754
+       esac
 
24755
+       ;;
 
24756
+      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
24757
+       ;;
 
24758
+      osf3* | osf4* | osf5*)
 
24759
+       case $cc_basename in
 
24760
+         KCC)
 
24761
+           lt_prog_compiler_wl_CXX='--backend -Wl,'
 
24762
+           ;;
 
24763
+         RCC)
 
24764
+           # Rational C++ 2.4.1
 
24765
+           lt_prog_compiler_pic_CXX='-pic'
 
24766
+           ;;
 
24767
+         cxx)
 
24768
+           # Digital/Compaq C++
 
24769
+           lt_prog_compiler_wl_CXX='-Wl,'
 
24770
+           # Make sure the PIC flag is empty.  It appears that all Alpha
 
24771
+           # Linux and Compaq Tru64 Unix objects are PIC.
 
24772
+           lt_prog_compiler_pic_CXX=
 
24773
+           lt_prog_compiler_static_CXX='-non_shared'
 
24774
+           ;;
 
24775
+         *)
 
24776
+           ;;
 
24777
+       esac
 
24778
+       ;;
 
24779
+      psos*)
 
24780
+       ;;
 
24781
+      sco*)
 
24782
+       case $cc_basename in
 
24783
+         CC)
 
24784
+           lt_prog_compiler_pic_CXX='-fPIC'
 
24785
+           ;;
 
24786
+         *)
 
24787
+           ;;
 
24788
+       esac
 
24789
+       ;;
 
24790
+      solaris*)
 
24791
+       case $cc_basename in
 
24792
+         CC)
 
24793
+           # Sun C++ 4.2, 5.x and Centerline C++
 
24794
+           lt_prog_compiler_pic_CXX='-KPIC'
 
24795
+           lt_prog_compiler_static_CXX='-Bstatic'
 
24796
+           lt_prog_compiler_wl_CXX='-Qoption ld '
 
24797
+           ;;
 
24798
+         gcx)
 
24799
+           # Green Hills C++ Compiler
 
24800
+           lt_prog_compiler_pic_CXX='-PIC'
 
24801
+           ;;
 
24802
+         *)
 
24803
+           ;;
 
24804
+       esac
 
24805
+       ;;
 
24806
+      sunos4*)
 
24807
+       case $cc_basename in
 
24808
+         CC)
 
24809
+           # Sun C++ 4.x
 
24810
+           lt_prog_compiler_pic_CXX='-pic'
 
24811
+           lt_prog_compiler_static_CXX='-Bstatic'
 
24812
+           ;;
 
24813
+         lcc)
 
24814
+           # Lucid
 
24815
+           lt_prog_compiler_pic_CXX='-pic'
 
24816
+           ;;
 
24817
+         *)
 
24818
+           ;;
 
24819
+       esac
 
24820
+       ;;
 
24821
+      tandem*)
 
24822
+       case $cc_basename in
 
24823
+         NCC)
 
24824
+           # NonStop-UX NCC 3.20
 
24825
+           lt_prog_compiler_pic_CXX='-KPIC'
 
24826
+           ;;
 
24827
+         *)
 
24828
+           ;;
 
24829
+       esac
 
24830
+       ;;
 
24831
+      unixware*)
 
24832
+       ;;
 
24833
+      vxworks*)
 
24834
+       ;;
 
24835
+      *)
 
24836
+       lt_prog_compiler_can_build_shared_CXX=no
 
24837
+       ;;
 
24838
+    esac
 
24839
+  fi
 
24840
+
 
24841
+echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
24842
+echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
24843
+
 
24844
+#
 
24845
+# Check to make sure the PIC flag actually works.
 
24846
+#
 
24847
+if test -n "$lt_prog_compiler_pic_CXX"; then
 
24848
+
 
24849
+echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
24850
+echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
 
24851
+if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
 
24852
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24853
+else
 
24854
+  lt_prog_compiler_pic_works_CXX=no
 
24855
+  ac_outfile=conftest.$ac_objext
 
24856
+   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
24857
+   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
 
24858
+   # Insert the option either (1) after the last *FLAGS variable, or
 
24859
+   # (2) before a word containing "conftest.", or (3) at the end.
 
24860
+   # Note that $ac_compile itself does not contain backslashes and begins
 
24861
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
24862
+   # The option is referenced via a variable to avoid confusing sed.
 
24863
+   lt_compile=`echo "$ac_compile" | $SED \
 
24864
+   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
24865
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
24866
+   -e 's:$: $lt_compiler_flag:'`
 
24867
+   (eval echo "\"\$as_me:11032: $lt_compile\"" >&5)
 
24868
+   (eval "$lt_compile" 2>conftest.err)
 
24869
+   ac_status=$?
 
24870
+   cat conftest.err >&5
 
24871
+   echo "$as_me:11036: \$? = $ac_status" >&5
 
24872
+   if (exit $ac_status) && test -s "$ac_outfile"; then
 
24873
+     # The compiler can only warn and ignore the option if not recognized
 
24874
+     # So say no if there are warnings
 
24875
+     if test ! -s conftest.err; then
 
24876
+       lt_prog_compiler_pic_works_CXX=yes
 
24877
+     fi
 
24878
+   fi
 
24879
+   $rm conftest*
 
24880
+
 
24881
+fi
 
24882
+echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 
24883
+echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
24884
+
 
24885
+if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
 
24886
+    case $lt_prog_compiler_pic_CXX in
 
24887
+     "" | " "*) ;;
 
24888
+     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
 
24889
+     esac
 
24890
+else
 
24891
+    lt_prog_compiler_pic_CXX=
 
24892
+     lt_prog_compiler_can_build_shared_CXX=no
 
24893
+fi
 
24894
+
 
24895
+fi
 
24896
+case "$host_os" in
 
24897
+  # For platforms which do not support PIC, -DPIC is meaningless:
 
24898
+  *djgpp*)
 
24899
+    lt_prog_compiler_pic_CXX=
 
24900
+    ;;
 
24901
+  *)
 
24902
+    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
 
24903
+    ;;
 
24904
+esac
 
24905
+
 
24906
+echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
24907
+echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
24908
+if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
 
24909
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24910
+else
 
24911
+  lt_cv_prog_compiler_c_o_CXX=no
 
24912
+   $rm -r conftest 2>/dev/null
 
24913
+   mkdir conftest
 
24914
+   cd conftest
 
24915
+   mkdir out
 
24916
+   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
24917
+
 
24918
+   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
24919
+   # Insert the option either (1) after the last *FLAGS variable, or
 
24920
+   # (2) before a word containing "conftest.", or (3) at the end.
 
24921
+   # Note that $ac_compile itself does not contain backslashes and begins
 
24922
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
24923
+   lt_compile=`echo "$ac_compile" | $SED \
 
24924
+   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
24925
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
24926
+   -e 's:$: $lt_compiler_flag:'`
 
24927
+   (eval echo "\"\$as_me:11092: $lt_compile\"" >&5)
 
24928
+   (eval "$lt_compile" 2>out/conftest.err)
 
24929
+   ac_status=$?
 
24930
+   cat out/conftest.err >&5
 
24931
+   echo "$as_me:11096: \$? = $ac_status" >&5
 
24932
+   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
24933
+   then
 
24934
+     # The compiler can only warn and ignore the option if not recognized
 
24935
+     # So say no if there are warnings
 
24936
+     if test ! -s out/conftest.err; then
 
24937
+       lt_cv_prog_compiler_c_o_CXX=yes
 
24938
+     fi
 
24939
+   fi
 
24940
+   chmod u+w .
 
24941
+   $rm conftest*
 
24942
+   # SGI C++ compiler will create directory out/ii_files/ for
 
24943
+   # template instantiation
 
24944
+   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 
24945
+   $rm out/* && rmdir out
 
24946
+   cd ..
 
24947
+   rmdir conftest
 
24948
+   $rm conftest*
 
24949
+
 
24950
+fi
 
24951
+echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
24952
+echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
24953
+
 
24954
+
 
24955
+hard_links="nottested"
 
24956
+if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
 
24957
+  # do not overwrite the value of need_locks provided by the user
 
24958
+  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
24959
+echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
24960
+  hard_links=yes
 
24961
+  $rm conftest*
 
24962
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
24963
+  touch conftest.a
 
24964
+  ln conftest.a conftest.b 2>&5 || hard_links=no
 
24965
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
24966
+  echo "$as_me:$LINENO: result: $hard_links" >&5
 
24967
+echo "${ECHO_T}$hard_links" >&6
 
24968
+  if test "$hard_links" = no; then
 
24969
+    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
24970
+echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
24971
+    need_locks=warn
 
24972
+  fi
 
24973
+else
 
24974
+  need_locks=no
 
24975
+fi
 
24976
+
 
24977
+echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
24978
+echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
24979
+
 
24980
+  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
24981
+  case $host_os in
 
24982
+  aix4* | aix5*)
 
24983
+    # If we're using GNU nm, then we don't want the "-C" option.
 
24984
+    # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
24985
+    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 
24986
+      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'
 
24987
+    else
 
24988
+      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'
 
24989
+    fi
 
24990
+    ;;
 
24991
+  pw32*)
 
24992
+    export_symbols_cmds_CXX="$ltdll_cmds"
 
24993
+  ;;
 
24994
+  cygwin* | mingw*)
 
24995
+    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
24996
+  ;;
 
24997
+  linux*)
 
24998
+    link_all_deplibs_CXX=no
 
24999
+  ;;
 
25000
+  *)
 
25001
+    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
25002
+  ;;
 
25003
+  esac
 
25004
+
 
25005
+echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
25006
+echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
25007
+test "$ld_shlibs_CXX" = no && can_build_shared=no
 
25008
+
 
25009
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
25010
+if test "$GCC" = yes; then
 
25011
+  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
25012
+fi
 
25013
+
 
25014
+#
 
25015
+# Do we need to explicitly link libc?
 
25016
+#
 
25017
+case "x$archive_cmds_need_lc_CXX" in
 
25018
+x|xyes)
 
25019
+  # Assume -lc should be added
 
25020
+  archive_cmds_need_lc_CXX=yes
 
25021
+
 
25022
+  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
25023
+    case $archive_cmds_CXX in
 
25024
+    *'~'*)
 
25025
+      # FIXME: we may have to deal with multi-command sequences.
 
25026
+      ;;
 
25027
+    '$CC '*)
 
25028
+      # Test whether the compiler implicitly links with -lc since on some
 
25029
+      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
25030
+      # to ld, don't add -lc before -lgcc.
 
25031
+      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
25032
+echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
25033
+      $rm conftest*
 
25034
+      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
25035
+
 
25036
+      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
25037
+  (eval $ac_compile) 2>&5
 
25038
+  ac_status=$?
 
25039
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25040
+  (exit $ac_status); } 2>conftest.err; then
 
25041
+        soname=conftest
 
25042
+        lib=conftest
 
25043
+        libobjs=conftest.$ac_objext
 
25044
+        deplibs=
 
25045
+        wl=$lt_prog_compiler_wl_CXX
 
25046
+        compiler_flags=-v
 
25047
+        linker_flags=-v
 
25048
+        verstring=
 
25049
+        output_objdir=.
 
25050
+        libname=conftest
 
25051
+        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
 
25052
+        allow_undefined_flag_CXX=
 
25053
+        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
25054
+  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
25055
+  ac_status=$?
 
25056
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25057
+  (exit $ac_status); }
 
25058
+        then
 
25059
+         archive_cmds_need_lc_CXX=no
 
25060
+        else
 
25061
+         archive_cmds_need_lc_CXX=yes
 
25062
+        fi
 
25063
+        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
 
25064
+      else
 
25065
+        cat conftest.err 1>&5
 
25066
+      fi
 
25067
+      $rm conftest*
 
25068
+      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
25069
+echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
25070
+      ;;
 
25071
+    esac
 
25072
+  fi
 
25073
+  ;;
 
25074
+esac
 
25075
+
 
25076
+echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
25077
+echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
25078
+library_names_spec=
 
25079
+libname_spec='lib$name'
 
25080
+soname_spec=
 
25081
+shrext_cmds=".so"
 
25082
+postinstall_cmds=
 
25083
+postuninstall_cmds=
 
25084
+finish_cmds=
 
25085
+finish_eval=
 
25086
+shlibpath_var=
 
25087
+shlibpath_overrides_runpath=unknown
 
25088
+version_type=none
 
25089
+dynamic_linker="$host_os ld.so"
 
25090
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
25091
+if test "$GCC" = yes; then
 
25092
+  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
25093
+  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
25094
+    # if the path contains ";" then we assume it to be the separator
 
25095
+    # otherwise default to the standard path separator (i.e. ":") - it is
 
25096
+    # assumed that no part of a normal pathname contains ";" but that should
 
25097
+    # okay in the real world where ";" in dirpaths is itself problematic.
 
25098
+    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
25099
+  else
 
25100
+    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
25101
+  fi
 
25102
+else
 
25103
+  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
25104
+fi
 
25105
+need_lib_prefix=unknown
 
25106
+hardcode_into_libs=no
 
25107
+
 
25108
+# when you set need_version to no, make sure it does not cause -set_version
 
25109
+# flags to be left without arguments
 
25110
+need_version=unknown
 
25111
+
 
25112
+case $host_os in
 
25113
+aix3*)
 
25114
+  version_type=linux
 
25115
+  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
25116
+  shlibpath_var=LIBPATH
 
25117
+
 
25118
+  # AIX 3 has no versioning support, so we append a major version to the name.
 
25119
+  soname_spec='${libname}${release}${shared_ext}$major'
 
25120
+  ;;
 
25121
+
 
25122
+aix4* | aix5*)
 
25123
+  version_type=linux
 
25124
+  need_lib_prefix=no
 
25125
+  need_version=no
 
25126
+  hardcode_into_libs=yes
 
25127
+  if test "$host_cpu" = ia64; then
 
25128
+    # AIX 5 supports IA64
 
25129
+    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
25130
+    shlibpath_var=LD_LIBRARY_PATH
 
25131
+  else
 
25132
+    # With GCC up to 2.95.x, collect2 would create an import file
 
25133
+    # for dependence libraries.  The import file would start with
 
25134
+    # the line `#! .'.  This would cause the generated library to
 
25135
+    # depend on `.', always an invalid library.  This was fixed in
 
25136
+    # development snapshots of GCC prior to 3.0.
 
25137
+    case $host_os in
 
25138
+      aix4 | aix4.[01] | aix4.[01].*)
 
25139
+      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
25140
+          echo ' yes '
 
25141
+          echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
25142
+       :
 
25143
+      else
 
25144
+       can_build_shared=no
 
25145
+      fi
 
25146
+      ;;
 
25147
+    esac
 
25148
+    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
25149
+    # soname into executable. Probably we can add versioning support to
 
25150
+    # collect2, so additional links can be useful in future.
 
25151
+    if test "$aix_use_runtimelinking" = yes; then
 
25152
+      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
25153
+      # instead of lib<name>.a to let people know that these are not
 
25154
+      # typical AIX shared libraries.
 
25155
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
25156
+    else
 
25157
+      # We preserve .a as extension for shared libraries through AIX4.2
 
25158
+      # and later when we are not doing run time linking.
 
25159
+      library_names_spec='${libname}${release}.a $libname.a'
 
25160
+      soname_spec='${libname}${release}${shared_ext}$major'
 
25161
+    fi
 
25162
+    shlibpath_var=LIBPATH
 
25163
+  fi
 
25164
+  ;;
 
25165
+
 
25166
+amigaos*)
 
25167
+  library_names_spec='$libname.ixlibrary $libname.a'
 
25168
+  # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
25169
+  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'
 
25170
+  ;;
 
25171
+
 
25172
+beos*)
 
25173
+  library_names_spec='${libname}${shared_ext}'
 
25174
+  dynamic_linker="$host_os ld.so"
 
25175
+  shlibpath_var=LIBRARY_PATH
 
25176
+  ;;
 
25177
+
 
25178
+bsdi4*)
 
25179
+  version_type=linux
 
25180
+  need_version=no
 
25181
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
25182
+  soname_spec='${libname}${release}${shared_ext}$major'
 
25183
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
25184
+  shlibpath_var=LD_LIBRARY_PATH
 
25185
+  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
25186
+  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
25187
+  # the default ld.so.conf also contains /usr/contrib/lib and
 
25188
+  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
25189
+  # libtool to hard-code these into programs
 
25190
+  ;;
 
25191
+
 
25192
+cygwin* | mingw* | pw32*)
 
25193
+  version_type=windows
 
25194
+  shrext_cmds=".dll"
 
25195
+  need_version=no
 
25196
+  need_lib_prefix=no
 
25197
+
 
25198
+  case $GCC,$host_os in
 
25199
+  yes,cygwin* | yes,mingw* | yes,pw32*)
 
25200
+    library_names_spec='$libname.dll.a'
 
25201
+    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
25202
+    postinstall_cmds='base_file=`basename \${file}`~
 
25203
+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
25204
+      dldir=$destdir/`dirname \$dlpath`~
 
25205
+      test -d \$dldir || mkdir -p \$dldir~
 
25206
+      $install_prog $dir/$dlname \$dldir/$dlname'
 
25207
+    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
25208
+      dlpath=$dir/\$dldll~
 
25209
+       $rm \$dlpath'
 
25210
+    shlibpath_overrides_runpath=yes
 
25211
+
 
25212
+    case $host_os in
 
25213
+    cygwin*)
 
25214
+      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
25215
+      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
25216
+      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
25217
+      ;;
 
25218
+    mingw*)
 
25219
+      # MinGW DLLs use traditional 'lib' prefix
 
25220
+      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
25221
+      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
25222
+      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
25223
+        # It is most probably a Windows format PATH printed by
 
25224
+        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
25225
+        # path with ; separators, and with drive letters. We can handle the
 
25226
+        # drive letters (cygwin fileutils understands them), so leave them,
 
25227
+        # especially as we might pass files found there to a mingw objdump,
 
25228
+        # which wouldn't understand a cygwinified path. Ahh.
 
25229
+        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
25230
+      else
 
25231
+        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
25232
+      fi
 
25233
+      ;;
 
25234
+    pw32*)
 
25235
+      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
25236
+      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
25237
+      ;;
 
25238
+    esac
 
25239
+    ;;
 
25240
+
 
25241
+  *)
 
25242
+    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
25243
+    ;;
 
25244
+  esac
 
25245
+  dynamic_linker='Win32 ld.exe'
 
25246
+  # FIXME: first we should search . and the directory the executable is in
 
25247
+  shlibpath_var=PATH
 
25248
+  ;;
 
25249
+
 
25250
+darwin* | rhapsody*)
 
25251
+  dynamic_linker="$host_os dyld"
 
25252
+  version_type=darwin
 
25253
+  need_lib_prefix=no
 
25254
+  need_version=no
 
25255
+  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
25256
+  soname_spec='${libname}${release}${major}$shared_ext'
 
25257
+  shlibpath_overrides_runpath=yes
 
25258
+  shlibpath_var=DYLD_LIBRARY_PATH
 
25259
+  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
25260
+  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
 
25261
+  if test "$GCC" = yes; then
 
25262
+    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
 
25263
+  else
 
25264
+    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
 
25265
+  fi
 
25266
+  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
25267
+  ;;
 
25268
+
 
25269
+dgux*)
 
25270
+  version_type=linux
 
25271
+  need_lib_prefix=no
 
25272
+  need_version=no
 
25273
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
25274
+  soname_spec='${libname}${release}${shared_ext}$major'
 
25275
+  shlibpath_var=LD_LIBRARY_PATH
 
25276
+  ;;
 
25277
+
 
25278
+freebsd1*)
 
25279
+  dynamic_linker=no
 
25280
+  ;;
 
25281
+
 
25282
+kfreebsd*-gnu)
 
25283
+  version_type=linux
 
25284
+  need_lib_prefix=no
 
25285
+  need_version=no
 
25286
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
25287
+  soname_spec='${libname}${release}${shared_ext}$major'
 
25288
+  shlibpath_var=LD_LIBRARY_PATH
 
25289
+  shlibpath_overrides_runpath=no
 
25290
+  hardcode_into_libs=yes
 
25291
+  dynamic_linker='GNU ld.so'
 
25292
+  ;;
 
25293
+
 
25294
+freebsd*)
 
25295
+  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
25296
+  version_type=freebsd-$objformat
 
25297
+  case $version_type in
 
25298
+    freebsd-elf*)
 
25299
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
25300
+      need_version=no
 
25301
+      need_lib_prefix=no
 
25302
+      ;;
 
25303
+    freebsd-*)
 
25304
+      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
25305
+      need_version=yes
 
25306
+      ;;
 
25307
+  esac
 
25308
+  shlibpath_var=LD_LIBRARY_PATH
 
25309
+  case $host_os in
 
25310
+  freebsd2*)
 
25311
+    shlibpath_overrides_runpath=yes
 
25312
+    ;;
 
25313
+  freebsd3.01* | freebsdelf3.01*)
 
25314
+    shlibpath_overrides_runpath=yes
 
25315
+    hardcode_into_libs=yes
 
25316
+    ;;
 
25317
+  *) # from 3.2 on
 
25318
+    shlibpath_overrides_runpath=no
 
25319
+    hardcode_into_libs=yes
 
25320
+    ;;
 
25321
+  esac
 
25322
+  ;;
 
25323
+
 
25324
+gnu*)
 
25325
+  version_type=linux
 
25326
+  need_lib_prefix=no
 
25327
+  need_version=no
 
25328
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
25329
+  soname_spec='${libname}${release}${shared_ext}$major'
 
25330
+  shlibpath_var=LD_LIBRARY_PATH
 
25331
+  hardcode_into_libs=yes
 
25332
+  ;;
 
25333
+
 
25334
+hpux9* | hpux10* | hpux11*)
 
25335
+  # Give a soname corresponding to the major version so that dld.sl refuses to
 
25336
+  # link against other versions.
 
25337
+  version_type=sunos
 
25338
+  need_lib_prefix=no
 
25339
+  need_version=no
 
25340
+  case "$host_cpu" in
 
25341
+  ia64*)
 
25342
+    shrext_cmds='.so'
 
25343
+    hardcode_into_libs=yes
 
25344
+    dynamic_linker="$host_os dld.so"
 
25345
+    shlibpath_var=LD_LIBRARY_PATH
 
25346
+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
25347
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
25348
+    soname_spec='${libname}${release}${shared_ext}$major'
 
25349
+    if test "X$HPUX_IA64_MODE" = X32; then
 
25350
+      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
25351
+    else
 
25352
+      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
25353
+    fi
 
25354
+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
25355
+    ;;
 
25356
+   hppa*64*)
 
25357
+     shrext_cmds='.sl'
 
25358
+     hardcode_into_libs=yes
 
25359
+     dynamic_linker="$host_os dld.sl"
 
25360
+     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
25361
+     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
25362
+     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
25363
+     soname_spec='${libname}${release}${shared_ext}$major'
 
25364
+     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
25365
+     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
25366
+     ;;
 
25367
+   *)
 
25368
+    shrext_cmds='.sl'
 
25369
+    dynamic_linker="$host_os dld.sl"
 
25370
+    shlibpath_var=SHLIB_PATH
 
25371
+    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
25372
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
25373
+    soname_spec='${libname}${release}${shared_ext}$major'
 
25374
+    ;;
 
25375
+  esac
 
25376
+  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
25377
+  postinstall_cmds='chmod 555 $lib'
 
25378
+  ;;
 
25379
+
 
25380
+irix5* | irix6* | nonstopux*)
 
25381
+  case $host_os in
 
25382
+    nonstopux*) version_type=nonstopux ;;
 
25383
+    *)
 
25384
+       if test "$lt_cv_prog_gnu_ld" = yes; then
 
25385
+               version_type=linux
 
25386
+       else
 
25387
+               version_type=irix
 
25388
+       fi ;;
 
25389
+  esac
 
25390
+  need_lib_prefix=no
 
25391
+  need_version=no
 
25392
+  soname_spec='${libname}${release}${shared_ext}$major'
 
25393
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
25394
+  case $host_os in
 
25395
+  irix5* | nonstopux*)
 
25396
+    libsuff= shlibsuff=
 
25397
+    ;;
 
25398
+  *)
 
25399
+    case $LD in # libtool.m4 will add one of these switches to LD
 
25400
+    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
25401
+      libsuff= shlibsuff= libmagic=32-bit;;
 
25402
+    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
25403
+      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
25404
+    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
25405
+      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
25406
+    *) libsuff= shlibsuff= libmagic=never-match;;
 
25407
+    esac
 
25408
+    ;;
 
25409
+  esac
 
25410
+  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
25411
+  shlibpath_overrides_runpath=no
 
25412
+  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
25413
+  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
25414
+  hardcode_into_libs=yes
 
25415
+  ;;
 
25416
+
 
25417
+# No shared lib support for Linux oldld, aout, or coff.
 
25418
+linux*oldld* | linux*aout* | linux*coff*)
 
25419
+  dynamic_linker=no
 
25420
+  ;;
 
25421
+
 
25422
+# This must be Linux ELF.
 
25423
+linux*)
 
25424
+  version_type=linux
 
25425
+  need_lib_prefix=no
 
25426
+  need_version=no
 
25427
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
25428
+  soname_spec='${libname}${release}${shared_ext}$major'
 
25429
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
25430
+  shlibpath_var=LD_LIBRARY_PATH
 
25431
+  shlibpath_overrides_runpath=no
 
25432
+  # This implies no fast_install, which is unacceptable.
 
25433
+  # Some rework will be needed to allow for fast_install
 
25434
+  # before this can be enabled.
 
25435
+  hardcode_into_libs=yes
 
25436
+
 
25437
+  # Append ld.so.conf contents to the search path
 
25438
+  if test -f /etc/ld.so.conf; then
 
25439
+    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
 
25440
+    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
25441
+  fi
 
25442
+
 
25443
+  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
25444
+  # powerpc, because MkLinux only supported shared libraries with the
 
25445
+  # GNU dynamic linker.  Since this was broken with cross compilers,
 
25446
+  # most powerpc-linux boxes support dynamic linking these days and
 
25447
+  # people can always --disable-shared, the test was removed, and we
 
25448
+  # assume the GNU/Linux dynamic linker is in use.
 
25449
+  dynamic_linker='GNU/Linux ld.so'
 
25450
+  ;;
 
25451
+
 
25452
+netbsdelf*-gnu)
 
25453
+  version_type=linux
 
25454
+  need_lib_prefix=no
 
25455
+  need_version=no
 
25456
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
25457
+  soname_spec='${libname}${release}${shared_ext}$major'
 
25458
+  shlibpath_var=LD_LIBRARY_PATH
 
25459
+  shlibpath_overrides_runpath=no
 
25460
+  hardcode_into_libs=yes
 
25461
+  dynamic_linker='NetBSD ld.elf_so'
 
25462
+  ;;
 
25463
+
 
25464
+knetbsd*-gnu)
 
25465
+  version_type=linux
 
25466
+  need_lib_prefix=no
 
25467
+  need_version=no
 
25468
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
25469
+  soname_spec='${libname}${release}${shared_ext}$major'
 
25470
+  shlibpath_var=LD_LIBRARY_PATH
 
25471
+  shlibpath_overrides_runpath=no
 
25472
+  hardcode_into_libs=yes
 
25473
+  dynamic_linker='GNU ld.so'
 
25474
+  ;;
 
25475
+
 
25476
+netbsd*)
 
25477
+  version_type=sunos
 
25478
+  need_lib_prefix=no
 
25479
+  need_version=no
 
25480
+  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
25481
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
25482
+    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
25483
+    dynamic_linker='NetBSD (a.out) ld.so'
 
25484
+  else
 
25485
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
25486
+    soname_spec='${libname}${release}${shared_ext}$major'
 
25487
+    dynamic_linker='NetBSD ld.elf_so'
 
25488
+  fi
 
25489
+  shlibpath_var=LD_LIBRARY_PATH
 
25490
+  shlibpath_overrides_runpath=yes
 
25491
+  hardcode_into_libs=yes
 
25492
+  ;;
 
25493
+
 
25494
+newsos6)
 
25495
+  version_type=linux
 
25496
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
25497
+  shlibpath_var=LD_LIBRARY_PATH
 
25498
+  shlibpath_overrides_runpath=yes
 
25499
+  ;;
 
25500
+
 
25501
+nto-qnx*)
 
25502
+  version_type=linux
 
25503
+  need_lib_prefix=no
 
25504
+  need_version=no
 
25505
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
25506
+  soname_spec='${libname}${release}${shared_ext}$major'
 
25507
+  shlibpath_var=LD_LIBRARY_PATH
 
25508
+  shlibpath_overrides_runpath=yes
 
25509
+  ;;
 
25510
+
 
25511
+openbsd*)
 
25512
+  version_type=sunos
 
25513
+  need_lib_prefix=no
 
25514
+  need_version=yes
 
25515
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
25516
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
25517
+  shlibpath_var=LD_LIBRARY_PATH
 
25518
+  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
25519
+    case $host_os in
 
25520
+      openbsd2.[89] | openbsd2.[89].*)
 
25521
+       shlibpath_overrides_runpath=no
 
25522
+       ;;
 
25523
+      *)
 
25524
+       shlibpath_overrides_runpath=yes
 
25525
+       ;;
 
25526
+      esac
 
25527
+  else
 
25528
+    shlibpath_overrides_runpath=yes
 
25529
+  fi
 
25530
+  ;;
 
25531
+
 
25532
+os2*)
 
25533
+  libname_spec='$name'
 
25534
+  shrext_cmds=".dll"
 
25535
+  need_lib_prefix=no
 
25536
+  library_names_spec='$libname${shared_ext} $libname.a'
 
25537
+  dynamic_linker='OS/2 ld.exe'
 
25538
+  shlibpath_var=LIBPATH
 
25539
+  ;;
 
25540
+
 
25541
+osf3* | osf4* | osf5*)
 
25542
+  version_type=osf
 
25543
+  need_lib_prefix=no
 
25544
+  need_version=no
 
25545
+  soname_spec='${libname}${release}${shared_ext}$major'
 
25546
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
25547
+  shlibpath_var=LD_LIBRARY_PATH
 
25548
+  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
25549
+  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
25550
+  ;;
 
25551
+
 
25552
+sco3.2v5*)
 
25553
+  version_type=osf
 
25554
+  soname_spec='${libname}${release}${shared_ext}$major'
 
25555
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
25556
+  shlibpath_var=LD_LIBRARY_PATH
 
25557
+  ;;
 
25558
+
 
25559
+solaris*)
 
25560
+  version_type=linux
 
25561
+  need_lib_prefix=no
 
25562
+  need_version=no
 
25563
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
25564
+  soname_spec='${libname}${release}${shared_ext}$major'
 
25565
+  shlibpath_var=LD_LIBRARY_PATH
 
25566
+  shlibpath_overrides_runpath=yes
 
25567
+  hardcode_into_libs=yes
 
25568
+  # ldd complains unless libraries are executable
 
25569
+  postinstall_cmds='chmod +x $lib'
 
25570
+  ;;
 
25571
+
 
25572
+sunos4*)
 
25573
+  version_type=sunos
 
25574
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
25575
+  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
25576
+  shlibpath_var=LD_LIBRARY_PATH
 
25577
+  shlibpath_overrides_runpath=yes
 
25578
+  if test "$with_gnu_ld" = yes; then
 
25579
+    need_lib_prefix=no
 
25580
+  fi
 
25581
+  need_version=yes
 
25582
+  ;;
 
25583
+
 
25584
+sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
25585
+  version_type=linux
 
25586
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
25587
+  soname_spec='${libname}${release}${shared_ext}$major'
 
25588
+  shlibpath_var=LD_LIBRARY_PATH
 
25589
+  case $host_vendor in
 
25590
+    sni)
 
25591
+      shlibpath_overrides_runpath=no
 
25592
+      need_lib_prefix=no
 
25593
+      export_dynamic_flag_spec='${wl}-Blargedynsym'
 
25594
+      runpath_var=LD_RUN_PATH
 
25595
+      ;;
 
25596
+    siemens)
 
25597
+      need_lib_prefix=no
 
25598
+      ;;
 
25599
+    motorola)
 
25600
+      need_lib_prefix=no
 
25601
+      need_version=no
 
25602
+      shlibpath_overrides_runpath=no
 
25603
+      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
25604
+      ;;
 
25605
+  esac
 
25606
+  ;;
 
25607
+
 
25608
+sysv4*MP*)
 
25609
+  if test -d /usr/nec ;then
 
25610
+    version_type=linux
 
25611
+    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
25612
+    soname_spec='$libname${shared_ext}.$major'
 
25613
+    shlibpath_var=LD_LIBRARY_PATH
 
25614
+  fi
 
25615
+  ;;
 
25616
+
 
25617
+uts4*)
 
25618
+  version_type=linux
 
25619
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
25620
+  soname_spec='${libname}${release}${shared_ext}$major'
 
25621
+  shlibpath_var=LD_LIBRARY_PATH
 
25622
+  ;;
 
25623
+
 
25624
+*)
 
25625
+  dynamic_linker=no
 
25626
+  ;;
 
25627
+esac
 
25628
+echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
25629
+echo "${ECHO_T}$dynamic_linker" >&6
 
25630
+test "$dynamic_linker" = no && can_build_shared=no
 
25631
+
 
25632
+echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
25633
+echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
25634
+hardcode_action_CXX=
 
25635
+if test -n "$hardcode_libdir_flag_spec_CXX" || \
 
25636
+   test -n "$runpath_var CXX" || \
 
25637
+   test "X$hardcode_automatic_CXX"="Xyes" ; then
 
25638
+
 
25639
+  # We can hardcode non-existant directories.
 
25640
+  if test "$hardcode_direct_CXX" != no &&
 
25641
+     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
25642
+     # have to relink, otherwise we might link with an installed library
 
25643
+     # when we should be linking with a yet-to-be-installed one
 
25644
+     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
 
25645
+     test "$hardcode_minus_L_CXX" != no; then
 
25646
+    # Linking always hardcodes the temporary library directory.
 
25647
+    hardcode_action_CXX=relink
 
25648
+  else
 
25649
+    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
25650
+    hardcode_action_CXX=immediate
 
25651
+  fi
 
25652
+else
 
25653
+  # We cannot hardcode anything, or else we can only hardcode existing
 
25654
+  # directories.
 
25655
+  hardcode_action_CXX=unsupported
 
25656
+fi
 
25657
+echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
25658
+echo "${ECHO_T}$hardcode_action_CXX" >&6
 
25659
+
 
25660
+if test "$hardcode_action_CXX" = relink; then
 
25661
+  # Fast installation is not supported
 
25662
+  enable_fast_install=no
 
25663
+elif test "$shlibpath_overrides_runpath" = yes ||
 
25664
+     test "$enable_shared" = no; then
 
25665
+  # Fast installation is not necessary
 
25666
+  enable_fast_install=needless
 
25667
+fi
 
25668
+
 
25669
+striplib=
 
25670
+old_striplib=
 
25671
+echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
25672
+echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
25673
+if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
 
25674
+  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
25675
+  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
25676
+  echo "$as_me:$LINENO: result: yes" >&5
 
25677
+echo "${ECHO_T}yes" >&6
 
25678
+else
 
25679
+# FIXME - insert some real tests, host_os isn't really good enough
 
25680
+  case $host_os in
 
25681
+   darwin*)
 
25682
+       if test -n "$STRIP" ; then
 
25683
+         striplib="$STRIP -x"
 
25684
+         echo "$as_me:$LINENO: result: yes" >&5
 
25685
+echo "${ECHO_T}yes" >&6
 
25686
+       else
 
25687
+  echo "$as_me:$LINENO: result: no" >&5
 
25688
+echo "${ECHO_T}no" >&6
 
25689
+fi
 
25690
+       ;;
 
25691
+   *)
 
25692
+  echo "$as_me:$LINENO: result: no" >&5
 
25693
+echo "${ECHO_T}no" >&6
 
25694
+    ;;
 
25695
+  esac
 
25696
+fi
 
25697
+
 
25698
+if test "x$enable_dlopen" != xyes; then
 
25699
+  enable_dlopen=unknown
 
25700
+  enable_dlopen_self=unknown
 
25701
+  enable_dlopen_self_static=unknown
 
25702
+else
 
25703
+  lt_cv_dlopen=no
 
25704
+  lt_cv_dlopen_libs=
 
25705
+
 
25706
+  case $host_os in
 
25707
+  beos*)
 
25708
+    lt_cv_dlopen="load_add_on"
 
25709
+    lt_cv_dlopen_libs=
 
25710
+    lt_cv_dlopen_self=yes
 
25711
+    ;;
 
25712
+
 
25713
+  mingw* | pw32*)
 
25714
+    lt_cv_dlopen="LoadLibrary"
 
25715
+    lt_cv_dlopen_libs=
 
25716
+   ;;
 
25717
+
 
25718
+  cygwin*)
 
25719
+    lt_cv_dlopen="dlopen"
 
25720
+    lt_cv_dlopen_libs=
 
25721
+   ;;
 
25722
+
 
25723
+  darwin*)
 
25724
+  # if libdl is installed we need to link against it
 
25725
+    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
25726
+echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
25727
+if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
25728
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25729
+else
 
25730
+  ac_check_lib_save_LIBS=$LIBS
 
25731
+LIBS="-ldl  $LIBS"
 
25732
+cat >conftest.$ac_ext <<_ACEOF
 
25733
+/* confdefs.h.  */
 
25734
+_ACEOF
 
25735
+cat confdefs.h >>conftest.$ac_ext
 
25736
+cat >>conftest.$ac_ext <<_ACEOF
 
25737
+/* end confdefs.h.  */
 
25738
+
 
25739
+/* Override any gcc2 internal prototype to avoid an error.  */
 
25740
+#ifdef __cplusplus
 
25741
+extern "C"
 
25742
+#endif
 
25743
+/* We use char because int might match the return type of a gcc2
 
25744
+   builtin and then its argument prototype would still apply.  */
 
25745
+char dlopen ();
 
25746
+int
 
25747
+main ()
 
25748
+{
 
25749
+dlopen ();
 
25750
+  ;
 
25751
+  return 0;
 
25752
+}
 
25753
+_ACEOF
 
25754
+rm -f conftest.$ac_objext conftest$ac_exeext
 
25755
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
25756
+  (eval $ac_link) 2>conftest.er1
 
25757
+  ac_status=$?
 
25758
+  grep -v '^ *+' conftest.er1 >conftest.err
 
25759
+  rm -f conftest.er1
 
25760
+  cat conftest.err >&5
 
25761
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25762
+  (exit $ac_status); } &&
 
25763
+        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
25764
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25765
+  (eval $ac_try) 2>&5
 
25766
+  ac_status=$?
 
25767
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25768
+  (exit $ac_status); }; } &&
 
25769
+        { ac_try='test -s conftest$ac_exeext'
 
25770
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25771
+  (eval $ac_try) 2>&5
 
25772
+  ac_status=$?
 
25773
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25774
+  (exit $ac_status); }; }; then
 
25775
+  ac_cv_lib_dl_dlopen=yes
 
25776
+else
 
25777
+  echo "$as_me: failed program was:" >&5
 
25778
+sed 's/^/| /' conftest.$ac_ext >&5
 
25779
+
 
25780
+ac_cv_lib_dl_dlopen=no
 
25781
+fi
 
25782
+rm -f conftest.err conftest.$ac_objext \
 
25783
+      conftest$ac_exeext conftest.$ac_ext
 
25784
+LIBS=$ac_check_lib_save_LIBS
 
25785
+fi
 
25786
+echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
25787
+echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
25788
+if test $ac_cv_lib_dl_dlopen = yes; then
 
25789
+  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
25790
+else
 
25791
+
 
25792
+    lt_cv_dlopen="dyld"
 
25793
+    lt_cv_dlopen_libs=
 
25794
+    lt_cv_dlopen_self=yes
 
25795
+
 
25796
+fi
 
25797
+
 
25798
+   ;;
 
25799
+
 
25800
+  *)
 
25801
+    echo "$as_me:$LINENO: checking for shl_load" >&5
 
25802
+echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
25803
+if test "${ac_cv_func_shl_load+set}" = set; then
 
25804
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25805
+else
 
25806
+  cat >conftest.$ac_ext <<_ACEOF
 
25807
+/* confdefs.h.  */
 
25808
+_ACEOF
 
25809
+cat confdefs.h >>conftest.$ac_ext
 
25810
+cat >>conftest.$ac_ext <<_ACEOF
 
25811
+/* end confdefs.h.  */
 
25812
+/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
 
25813
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
25814
+#define shl_load innocuous_shl_load
 
25815
+
 
25816
+/* System header to define __stub macros and hopefully few prototypes,
 
25817
+    which can conflict with char shl_load (); below.
 
25818
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
25819
+    <limits.h> exists even on freestanding compilers.  */
 
25820
+
 
25821
+#ifdef __STDC__
 
25822
+# include <limits.h>
 
25823
+#else
 
25824
+# include <assert.h>
 
25825
+#endif
 
25826
+
 
25827
+#undef shl_load
 
25828
+
 
25829
+/* Override any gcc2 internal prototype to avoid an error.  */
 
25830
+#ifdef __cplusplus
 
25831
+extern "C"
 
25832
+{
 
25833
+#endif
 
25834
+/* We use char because int might match the return type of a gcc2
 
25835
+   builtin and then its argument prototype would still apply.  */
 
25836
+char shl_load ();
 
25837
+/* The GNU C library defines this for functions which it implements
 
25838
+    to always fail with ENOSYS.  Some functions are actually named
 
25839
+    something starting with __ and the normal name is an alias.  */
 
25840
+#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
25841
+choke me
 
25842
+#else
 
25843
+char (*f) () = shl_load;
 
25844
+#endif
 
25845
+#ifdef __cplusplus
 
25846
+}
 
25847
+#endif
 
25848
+
 
25849
+int
 
25850
+main ()
 
25851
+{
 
25852
+return f != shl_load;
 
25853
+  ;
 
25854
+  return 0;
 
25855
+}
 
25856
+_ACEOF
 
25857
+rm -f conftest.$ac_objext conftest$ac_exeext
 
25858
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
25859
+  (eval $ac_link) 2>conftest.er1
 
25860
+  ac_status=$?
 
25861
+  grep -v '^ *+' conftest.er1 >conftest.err
 
25862
+  rm -f conftest.er1
 
25863
+  cat conftest.err >&5
 
25864
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25865
+  (exit $ac_status); } &&
 
25866
+        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
25867
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25868
+  (eval $ac_try) 2>&5
 
25869
+  ac_status=$?
 
25870
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25871
+  (exit $ac_status); }; } &&
 
25872
+        { ac_try='test -s conftest$ac_exeext'
 
25873
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25874
+  (eval $ac_try) 2>&5
 
25875
+  ac_status=$?
 
25876
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25877
+  (exit $ac_status); }; }; then
 
25878
+  ac_cv_func_shl_load=yes
 
25879
+else
 
25880
+  echo "$as_me: failed program was:" >&5
 
25881
+sed 's/^/| /' conftest.$ac_ext >&5
 
25882
+
 
25883
+ac_cv_func_shl_load=no
 
25884
+fi
 
25885
+rm -f conftest.err conftest.$ac_objext \
 
25886
+      conftest$ac_exeext conftest.$ac_ext
 
25887
+fi
 
25888
+echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
25889
+echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
25890
+if test $ac_cv_func_shl_load = yes; then
 
25891
+  lt_cv_dlopen="shl_load"
 
25892
+else
 
25893
+  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
25894
+echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
25895
+if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
25896
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25897
+else
 
25898
+  ac_check_lib_save_LIBS=$LIBS
 
25899
+LIBS="-ldld  $LIBS"
 
25900
+cat >conftest.$ac_ext <<_ACEOF
 
25901
+/* confdefs.h.  */
 
25902
+_ACEOF
 
25903
+cat confdefs.h >>conftest.$ac_ext
 
25904
+cat >>conftest.$ac_ext <<_ACEOF
 
25905
+/* end confdefs.h.  */
 
25906
+
 
25907
+/* Override any gcc2 internal prototype to avoid an error.  */
 
25908
+#ifdef __cplusplus
 
25909
+extern "C"
 
25910
+#endif
 
25911
+/* We use char because int might match the return type of a gcc2
 
25912
+   builtin and then its argument prototype would still apply.  */
 
25913
+char shl_load ();
 
25914
+int
 
25915
+main ()
 
25916
+{
 
25917
+shl_load ();
 
25918
+  ;
 
25919
+  return 0;
 
25920
+}
 
25921
+_ACEOF
 
25922
+rm -f conftest.$ac_objext conftest$ac_exeext
 
25923
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
25924
+  (eval $ac_link) 2>conftest.er1
 
25925
+  ac_status=$?
 
25926
+  grep -v '^ *+' conftest.er1 >conftest.err
 
25927
+  rm -f conftest.er1
 
25928
+  cat conftest.err >&5
 
25929
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25930
+  (exit $ac_status); } &&
 
25931
+        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
25932
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25933
+  (eval $ac_try) 2>&5
 
25934
+  ac_status=$?
 
25935
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25936
+  (exit $ac_status); }; } &&
 
25937
+        { ac_try='test -s conftest$ac_exeext'
 
25938
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25939
+  (eval $ac_try) 2>&5
 
25940
+  ac_status=$?
 
25941
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25942
+  (exit $ac_status); }; }; then
 
25943
+  ac_cv_lib_dld_shl_load=yes
 
25944
+else
 
25945
+  echo "$as_me: failed program was:" >&5
 
25946
+sed 's/^/| /' conftest.$ac_ext >&5
 
25947
+
 
25948
+ac_cv_lib_dld_shl_load=no
 
25949
+fi
 
25950
+rm -f conftest.err conftest.$ac_objext \
 
25951
+      conftest$ac_exeext conftest.$ac_ext
 
25952
+LIBS=$ac_check_lib_save_LIBS
 
25953
+fi
 
25954
+echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
25955
+echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
25956
+if test $ac_cv_lib_dld_shl_load = yes; then
 
25957
+  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 
25958
+else
 
25959
+  echo "$as_me:$LINENO: checking for dlopen" >&5
 
25960
+echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
25961
+if test "${ac_cv_func_dlopen+set}" = set; then
 
25962
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25963
+else
 
25964
+  cat >conftest.$ac_ext <<_ACEOF
 
25965
+/* confdefs.h.  */
 
25966
+_ACEOF
 
25967
+cat confdefs.h >>conftest.$ac_ext
 
25968
+cat >>conftest.$ac_ext <<_ACEOF
 
25969
+/* end confdefs.h.  */
 
25970
+/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 
25971
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
25972
+#define dlopen innocuous_dlopen
 
25973
+
 
25974
+/* System header to define __stub macros and hopefully few prototypes,
 
25975
+    which can conflict with char dlopen (); below.
 
25976
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
25977
+    <limits.h> exists even on freestanding compilers.  */
 
25978
+
 
25979
+#ifdef __STDC__
 
25980
+# include <limits.h>
 
25981
+#else
 
25982
+# include <assert.h>
 
25983
+#endif
 
25984
+
 
25985
+#undef dlopen
 
25986
+
 
25987
+/* Override any gcc2 internal prototype to avoid an error.  */
 
25988
+#ifdef __cplusplus
 
25989
+extern "C"
 
25990
+{
 
25991
+#endif
 
25992
+/* We use char because int might match the return type of a gcc2
 
25993
+   builtin and then its argument prototype would still apply.  */
 
25994
+char dlopen ();
 
25995
+/* The GNU C library defines this for functions which it implements
 
25996
+    to always fail with ENOSYS.  Some functions are actually named
 
25997
+    something starting with __ and the normal name is an alias.  */
 
25998
+#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
25999
+choke me
 
26000
+#else
 
26001
+char (*f) () = dlopen;
 
26002
+#endif
 
26003
+#ifdef __cplusplus
 
26004
+}
 
26005
+#endif
 
26006
+
 
26007
+int
 
26008
+main ()
 
26009
+{
 
26010
+return f != dlopen;
 
26011
+  ;
 
26012
+  return 0;
 
26013
+}
 
26014
+_ACEOF
 
26015
+rm -f conftest.$ac_objext conftest$ac_exeext
 
26016
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
26017
+  (eval $ac_link) 2>conftest.er1
 
26018
+  ac_status=$?
 
26019
+  grep -v '^ *+' conftest.er1 >conftest.err
 
26020
+  rm -f conftest.er1
 
26021
+  cat conftest.err >&5
 
26022
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26023
+  (exit $ac_status); } &&
 
26024
+        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
26025
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26026
+  (eval $ac_try) 2>&5
 
26027
+  ac_status=$?
 
26028
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26029
+  (exit $ac_status); }; } &&
 
26030
+        { ac_try='test -s conftest$ac_exeext'
 
26031
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26032
+  (eval $ac_try) 2>&5
 
26033
+  ac_status=$?
 
26034
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26035
+  (exit $ac_status); }; }; then
 
26036
+  ac_cv_func_dlopen=yes
 
26037
+else
 
26038
+  echo "$as_me: failed program was:" >&5
 
26039
+sed 's/^/| /' conftest.$ac_ext >&5
 
26040
+
 
26041
+ac_cv_func_dlopen=no
 
26042
+fi
 
26043
+rm -f conftest.err conftest.$ac_objext \
 
26044
+      conftest$ac_exeext conftest.$ac_ext
 
26045
+fi
 
26046
+echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
26047
+echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
26048
+if test $ac_cv_func_dlopen = yes; then
 
26049
+  lt_cv_dlopen="dlopen"
 
26050
+else
 
26051
+  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
26052
+echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
26053
+if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
26054
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
26055
+else
 
26056
+  ac_check_lib_save_LIBS=$LIBS
 
26057
+LIBS="-ldl  $LIBS"
 
26058
+cat >conftest.$ac_ext <<_ACEOF
 
26059
+/* confdefs.h.  */
 
26060
+_ACEOF
 
26061
+cat confdefs.h >>conftest.$ac_ext
 
26062
+cat >>conftest.$ac_ext <<_ACEOF
 
26063
+/* end confdefs.h.  */
 
26064
+
 
26065
+/* Override any gcc2 internal prototype to avoid an error.  */
 
26066
+#ifdef __cplusplus
 
26067
+extern "C"
 
26068
+#endif
 
26069
+/* We use char because int might match the return type of a gcc2
 
26070
+   builtin and then its argument prototype would still apply.  */
 
26071
+char dlopen ();
 
26072
+int
 
26073
+main ()
 
26074
+{
 
26075
+dlopen ();
 
26076
+  ;
 
26077
+  return 0;
 
26078
+}
 
26079
+_ACEOF
 
26080
+rm -f conftest.$ac_objext conftest$ac_exeext
 
26081
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
26082
+  (eval $ac_link) 2>conftest.er1
 
26083
+  ac_status=$?
 
26084
+  grep -v '^ *+' conftest.er1 >conftest.err
 
26085
+  rm -f conftest.er1
 
26086
+  cat conftest.err >&5
 
26087
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26088
+  (exit $ac_status); } &&
 
26089
+        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
26090
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26091
+  (eval $ac_try) 2>&5
 
26092
+  ac_status=$?
 
26093
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26094
+  (exit $ac_status); }; } &&
 
26095
+        { ac_try='test -s conftest$ac_exeext'
 
26096
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26097
+  (eval $ac_try) 2>&5
 
26098
+  ac_status=$?
 
26099
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26100
+  (exit $ac_status); }; }; then
 
26101
+  ac_cv_lib_dl_dlopen=yes
 
26102
+else
 
26103
+  echo "$as_me: failed program was:" >&5
 
26104
+sed 's/^/| /' conftest.$ac_ext >&5
 
26105
+
 
26106
+ac_cv_lib_dl_dlopen=no
 
26107
+fi
 
26108
+rm -f conftest.err conftest.$ac_objext \
 
26109
+      conftest$ac_exeext conftest.$ac_ext
 
26110
+LIBS=$ac_check_lib_save_LIBS
 
26111
+fi
 
26112
+echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
26113
+echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
26114
+if test $ac_cv_lib_dl_dlopen = yes; then
 
26115
+  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
26116
+else
 
26117
+  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
26118
+echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
26119
+if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
26120
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
26121
+else
 
26122
+  ac_check_lib_save_LIBS=$LIBS
 
26123
+LIBS="-lsvld  $LIBS"
 
26124
+cat >conftest.$ac_ext <<_ACEOF
 
26125
+/* confdefs.h.  */
 
26126
+_ACEOF
 
26127
+cat confdefs.h >>conftest.$ac_ext
 
26128
+cat >>conftest.$ac_ext <<_ACEOF
 
26129
+/* end confdefs.h.  */
 
26130
+
 
26131
+/* Override any gcc2 internal prototype to avoid an error.  */
 
26132
+#ifdef __cplusplus
 
26133
+extern "C"
 
26134
+#endif
 
26135
+/* We use char because int might match the return type of a gcc2
 
26136
+   builtin and then its argument prototype would still apply.  */
 
26137
+char dlopen ();
 
26138
+int
 
26139
+main ()
 
26140
+{
 
26141
+dlopen ();
 
26142
+  ;
 
26143
+  return 0;
 
26144
+}
 
26145
+_ACEOF
 
26146
+rm -f conftest.$ac_objext conftest$ac_exeext
 
26147
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
26148
+  (eval $ac_link) 2>conftest.er1
 
26149
+  ac_status=$?
 
26150
+  grep -v '^ *+' conftest.er1 >conftest.err
 
26151
+  rm -f conftest.er1
 
26152
+  cat conftest.err >&5
 
26153
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26154
+  (exit $ac_status); } &&
 
26155
+        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
26156
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26157
+  (eval $ac_try) 2>&5
 
26158
+  ac_status=$?
 
26159
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26160
+  (exit $ac_status); }; } &&
 
26161
+        { ac_try='test -s conftest$ac_exeext'
 
26162
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26163
+  (eval $ac_try) 2>&5
 
26164
+  ac_status=$?
 
26165
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26166
+  (exit $ac_status); }; }; then
 
26167
+  ac_cv_lib_svld_dlopen=yes
 
26168
+else
 
26169
+  echo "$as_me: failed program was:" >&5
 
26170
+sed 's/^/| /' conftest.$ac_ext >&5
 
26171
+
 
26172
+ac_cv_lib_svld_dlopen=no
 
26173
+fi
 
26174
+rm -f conftest.err conftest.$ac_objext \
 
26175
+      conftest$ac_exeext conftest.$ac_ext
 
26176
+LIBS=$ac_check_lib_save_LIBS
 
26177
+fi
 
26178
+echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
26179
+echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
26180
+if test $ac_cv_lib_svld_dlopen = yes; then
 
26181
+  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
26182
+else
 
26183
+  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
26184
+echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
26185
+if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
26186
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
26187
+else
 
26188
+  ac_check_lib_save_LIBS=$LIBS
 
26189
+LIBS="-ldld  $LIBS"
 
26190
+cat >conftest.$ac_ext <<_ACEOF
 
26191
+/* confdefs.h.  */
 
26192
+_ACEOF
 
26193
+cat confdefs.h >>conftest.$ac_ext
 
26194
+cat >>conftest.$ac_ext <<_ACEOF
 
26195
+/* end confdefs.h.  */
 
26196
+
 
26197
+/* Override any gcc2 internal prototype to avoid an error.  */
 
26198
+#ifdef __cplusplus
 
26199
+extern "C"
 
26200
+#endif
 
26201
+/* We use char because int might match the return type of a gcc2
 
26202
+   builtin and then its argument prototype would still apply.  */
 
26203
+char dld_link ();
 
26204
+int
 
26205
+main ()
 
26206
+{
 
26207
+dld_link ();
 
26208
+  ;
 
26209
+  return 0;
 
26210
+}
 
26211
+_ACEOF
 
26212
+rm -f conftest.$ac_objext conftest$ac_exeext
 
26213
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
26214
+  (eval $ac_link) 2>conftest.er1
 
26215
+  ac_status=$?
 
26216
+  grep -v '^ *+' conftest.er1 >conftest.err
 
26217
+  rm -f conftest.er1
 
26218
+  cat conftest.err >&5
 
26219
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26220
+  (exit $ac_status); } &&
 
26221
+        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
26222
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26223
+  (eval $ac_try) 2>&5
 
26224
+  ac_status=$?
 
26225
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26226
+  (exit $ac_status); }; } &&
 
26227
+        { ac_try='test -s conftest$ac_exeext'
 
26228
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26229
+  (eval $ac_try) 2>&5
 
26230
+  ac_status=$?
 
26231
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26232
+  (exit $ac_status); }; }; then
 
26233
+  ac_cv_lib_dld_dld_link=yes
 
26234
+else
 
26235
+  echo "$as_me: failed program was:" >&5
 
26236
+sed 's/^/| /' conftest.$ac_ext >&5
 
26237
+
 
26238
+ac_cv_lib_dld_dld_link=no
 
26239
+fi
 
26240
+rm -f conftest.err conftest.$ac_objext \
 
26241
+      conftest$ac_exeext conftest.$ac_ext
 
26242
+LIBS=$ac_check_lib_save_LIBS
 
26243
+fi
 
26244
+echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
26245
+echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
26246
+if test $ac_cv_lib_dld_dld_link = yes; then
 
26247
+  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
26248
+fi
 
26249
+
 
26250
+
 
26251
+fi
 
26252
+
 
26253
+
 
26254
+fi
 
26255
+
 
26256
+
 
26257
+fi
 
26258
+
 
26259
+
 
26260
+fi
 
26261
+
 
26262
+
 
26263
+fi
 
26264
+
 
26265
+    ;;
 
26266
+  esac
 
26267
+
 
26268
+  if test "x$lt_cv_dlopen" != xno; then
 
26269
+    enable_dlopen=yes
 
26270
+  else
 
26271
+    enable_dlopen=no
 
26272
+  fi
 
26273
+
 
26274
+  case $lt_cv_dlopen in
 
26275
+  dlopen)
 
26276
+    save_CPPFLAGS="$CPPFLAGS"
 
26277
+    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
26278
+
 
26279
+    save_LDFLAGS="$LDFLAGS"
 
26280
+    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
26281
+
 
26282
+    save_LIBS="$LIBS"
 
26283
+    LIBS="$lt_cv_dlopen_libs $LIBS"
 
26284
+
 
26285
+    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
26286
+echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
26287
+if test "${lt_cv_dlopen_self+set}" = set; then
 
26288
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
26289
+else
 
26290
+         if test "$cross_compiling" = yes; then :
 
26291
+  lt_cv_dlopen_self=cross
 
26292
+else
 
26293
+  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
26294
+  lt_status=$lt_dlunknown
 
26295
+  cat > conftest.$ac_ext <<EOF
 
26296
+#line 12461 "configure"
 
26297
+#include "confdefs.h"
 
26298
+
 
26299
+#if HAVE_DLFCN_H
 
26300
+#include <dlfcn.h>
 
26301
+#endif
 
26302
+
 
26303
+#include <stdio.h>
 
26304
+
 
26305
+#ifdef RTLD_GLOBAL
 
26306
+#  define LT_DLGLOBAL          RTLD_GLOBAL
 
26307
+#else
 
26308
+#  ifdef DL_GLOBAL
 
26309
+#    define LT_DLGLOBAL                DL_GLOBAL
 
26310
+#  else
 
26311
+#    define LT_DLGLOBAL                0
 
26312
+#  endif
 
26313
+#endif
 
26314
+
 
26315
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
26316
+   find out it does not work in some platform. */
 
26317
+#ifndef LT_DLLAZY_OR_NOW
 
26318
+#  ifdef RTLD_LAZY
 
26319
+#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
 
26320
+#  else
 
26321
+#    ifdef DL_LAZY
 
26322
+#      define LT_DLLAZY_OR_NOW         DL_LAZY
 
26323
+#    else
 
26324
+#      ifdef RTLD_NOW
 
26325
+#        define LT_DLLAZY_OR_NOW       RTLD_NOW
 
26326
+#      else
 
26327
+#        ifdef DL_NOW
 
26328
+#          define LT_DLLAZY_OR_NOW     DL_NOW
 
26329
+#        else
 
26330
+#          define LT_DLLAZY_OR_NOW     0
 
26331
+#        endif
 
26332
+#      endif
 
26333
+#    endif
 
26334
+#  endif
 
26335
+#endif
 
26336
+
 
26337
+#ifdef __cplusplus
 
26338
+extern "C" void exit (int);
 
26339
+#endif
 
26340
+
 
26341
+void fnord() { int i=42;}
 
26342
+int main ()
 
26343
+{
 
26344
+  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
26345
+  int status = $lt_dlunknown;
 
26346
+
 
26347
+  if (self)
 
26348
+    {
 
26349
+      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
26350
+      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
26351
+      /* dlclose (self); */
 
26352
+    }
 
26353
+
 
26354
+    exit (status);
 
26355
+}
 
26356
+EOF
 
26357
+  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
26358
+  (eval $ac_link) 2>&5
 
26359
+  ac_status=$?
 
26360
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26361
+  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
26362
+    (./conftest; exit; ) 2>/dev/null
 
26363
+    lt_status=$?
 
26364
+    case x$lt_status in
 
26365
+      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
26366
+      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
26367
+      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
 
26368
+    esac
 
26369
+  else :
 
26370
+    # compilation failed
 
26371
+    lt_cv_dlopen_self=no
 
26372
+  fi
 
26373
+fi
 
26374
+rm -fr conftest*
 
26375
+
 
26376
+
 
26377
+fi
 
26378
+echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
26379
+echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
26380
+
 
26381
+    if test "x$lt_cv_dlopen_self" = xyes; then
 
26382
+      LDFLAGS="$LDFLAGS $link_static_flag"
 
26383
+      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
26384
+echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
26385
+if test "${lt_cv_dlopen_self_static+set}" = set; then
 
26386
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
26387
+else
 
26388
+         if test "$cross_compiling" = yes; then :
 
26389
+  lt_cv_dlopen_self_static=cross
 
26390
+else
 
26391
+  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
26392
+  lt_status=$lt_dlunknown
 
26393
+  cat > conftest.$ac_ext <<EOF
 
26394
+#line 12559 "configure"
 
26395
+#include "confdefs.h"
 
26396
+
 
26397
+#if HAVE_DLFCN_H
 
26398
+#include <dlfcn.h>
 
26399
+#endif
 
26400
+
 
26401
+#include <stdio.h>
 
26402
+
 
26403
+#ifdef RTLD_GLOBAL
 
26404
+#  define LT_DLGLOBAL          RTLD_GLOBAL
 
26405
+#else
 
26406
+#  ifdef DL_GLOBAL
 
26407
+#    define LT_DLGLOBAL                DL_GLOBAL
 
26408
+#  else
 
26409
+#    define LT_DLGLOBAL                0
 
26410
+#  endif
 
26411
+#endif
 
26412
+
 
26413
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
26414
+   find out it does not work in some platform. */
 
26415
+#ifndef LT_DLLAZY_OR_NOW
 
26416
+#  ifdef RTLD_LAZY
 
26417
+#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
 
26418
+#  else
 
26419
+#    ifdef DL_LAZY
 
26420
+#      define LT_DLLAZY_OR_NOW         DL_LAZY
 
26421
+#    else
 
26422
+#      ifdef RTLD_NOW
 
26423
+#        define LT_DLLAZY_OR_NOW       RTLD_NOW
 
26424
+#      else
 
26425
+#        ifdef DL_NOW
 
26426
+#          define LT_DLLAZY_OR_NOW     DL_NOW
 
26427
+#        else
 
26428
+#          define LT_DLLAZY_OR_NOW     0
 
26429
+#        endif
 
26430
+#      endif
 
26431
+#    endif
 
26432
+#  endif
 
26433
+#endif
 
26434
+
 
26435
+#ifdef __cplusplus
 
26436
+extern "C" void exit (int);
 
26437
+#endif
 
26438
+
 
26439
+void fnord() { int i=42;}
 
26440
+int main ()
 
26441
+{
 
26442
+  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
26443
+  int status = $lt_dlunknown;
 
26444
+
 
26445
+  if (self)
 
26446
+    {
 
26447
+      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
26448
+      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
26449
+      /* dlclose (self); */
 
26450
+    }
 
26451
+
 
26452
+    exit (status);
 
26453
+}
 
26454
+EOF
 
26455
+  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
26456
+  (eval $ac_link) 2>&5
 
26457
+  ac_status=$?
 
26458
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26459
+  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
26460
+    (./conftest; exit; ) 2>/dev/null
 
26461
+    lt_status=$?
 
26462
+    case x$lt_status in
 
26463
+      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
26464
+      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
26465
+      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
 
26466
+    esac
 
26467
+  else :
 
26468
+    # compilation failed
 
26469
+    lt_cv_dlopen_self_static=no
 
26470
+  fi
 
26471
+fi
 
26472
+rm -fr conftest*
 
26473
+
 
26474
+
 
26475
+fi
 
26476
+echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
26477
+echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
26478
+    fi
 
26479
+
 
26480
+    CPPFLAGS="$save_CPPFLAGS"
 
26481
+    LDFLAGS="$save_LDFLAGS"
 
26482
+    LIBS="$save_LIBS"
 
26483
+    ;;
 
26484
+  esac
 
26485
+
 
26486
+  case $lt_cv_dlopen_self in
 
26487
+  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
26488
+  *) enable_dlopen_self=unknown ;;
 
26489
+  esac
 
26490
+
 
26491
+  case $lt_cv_dlopen_self_static in
 
26492
+  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
26493
+  *) enable_dlopen_self_static=unknown ;;
 
26494
+  esac
 
26495
+fi
 
26496
+
 
26497
+
 
26498
+# The else clause should only fire when bootstrapping the
 
26499
+# libtool distribution, otherwise you forgot to ship ltmain.sh
 
26500
+# with your package, and you will get complaints that there are
 
26501
+# no rules to generate ltmain.sh.
 
26502
+if test -f "$ltmain"; then
 
26503
+  # See if we are running on zsh, and set the options which allow our commands through
 
26504
+  # without removal of \ escapes.
 
26505
+  if test -n "${ZSH_VERSION+set}" ; then
 
26506
+    setopt NO_GLOB_SUBST
 
26507
+  fi
 
26508
+  # Now quote all the things that may contain metacharacters while being
 
26509
+  # careful not to overquote the AC_SUBSTed values.  We take copies of the
 
26510
+  # variables and quote the copies for generation of the libtool script.
 
26511
+  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
26512
+    SED SHELL STRIP \
 
26513
+    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 
26514
+    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 
26515
+    deplibs_check_method reload_flag reload_cmds need_locks \
 
26516
+    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 
26517
+    lt_cv_sys_global_symbol_to_c_name_address \
 
26518
+    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 
26519
+    old_postinstall_cmds old_postuninstall_cmds \
 
26520
+    compiler_CXX \
 
26521
+    CC_CXX \
 
26522
+    LD_CXX \
 
26523
+    lt_prog_compiler_wl_CXX \
 
26524
+    lt_prog_compiler_pic_CXX \
 
26525
+    lt_prog_compiler_static_CXX \
 
26526
+    lt_prog_compiler_no_builtin_flag_CXX \
 
26527
+    export_dynamic_flag_spec_CXX \
 
26528
+    thread_safe_flag_spec_CXX \
 
26529
+    whole_archive_flag_spec_CXX \
 
26530
+    enable_shared_with_static_runtimes_CXX \
 
26531
+    old_archive_cmds_CXX \
 
26532
+    old_archive_from_new_cmds_CXX \
 
26533
+    predep_objects_CXX \
 
26534
+    postdep_objects_CXX \
 
26535
+    predeps_CXX \
 
26536
+    postdeps_CXX \
 
26537
+    compiler_lib_search_path_CXX \
 
26538
+    archive_cmds_CXX \
 
26539
+    archive_expsym_cmds_CXX \
 
26540
+    postinstall_cmds_CXX \
 
26541
+    postuninstall_cmds_CXX \
 
26542
+    old_archive_from_expsyms_cmds_CXX \
 
26543
+    allow_undefined_flag_CXX \
 
26544
+    no_undefined_flag_CXX \
 
26545
+    export_symbols_cmds_CXX \
 
26546
+    hardcode_libdir_flag_spec_CXX \
 
26547
+    hardcode_libdir_flag_spec_ld_CXX \
 
26548
+    hardcode_libdir_separator_CXX \
 
26549
+    hardcode_automatic_CXX \
 
26550
+    module_cmds_CXX \
 
26551
+    module_expsym_cmds_CXX \
 
26552
+    lt_cv_prog_compiler_c_o_CXX \
 
26553
+    exclude_expsyms_CXX \
 
26554
+    include_expsyms_CXX; do
 
26555
+
 
26556
+    case $var in
 
26557
+    old_archive_cmds_CXX | \
 
26558
+    old_archive_from_new_cmds_CXX | \
 
26559
+    archive_cmds_CXX | \
 
26560
+    archive_expsym_cmds_CXX | \
 
26561
+    module_cmds_CXX | \
 
26562
+    module_expsym_cmds_CXX | \
 
26563
+    old_archive_from_expsyms_cmds_CXX | \
 
26564
+    export_symbols_cmds_CXX | \
 
26565
+    extract_expsyms_cmds | reload_cmds | finish_cmds | \
 
26566
+    postinstall_cmds | postuninstall_cmds | \
 
26567
+    old_postinstall_cmds | old_postuninstall_cmds | \
 
26568
+    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 
26569
+      # Double-quote double-evaled strings.
 
26570
+      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 
26571
+      ;;
 
26572
+    *)
 
26573
+      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 
26574
+      ;;
 
26575
+    esac
 
26576
+  done
 
26577
+
 
26578
+  case $lt_echo in
 
26579
+  *'\$0 --fallback-echo"')
 
26580
+    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 
26581
+    ;;
 
26582
+  esac
 
26583
+
 
26584
+cfgfile="$ofile"
 
26585
+
 
26586
+  cat <<__EOF__ >> "$cfgfile"
 
26587
+# ### BEGIN LIBTOOL TAG CONFIG: $tagname
 
26588
+
 
26589
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
26590
+
 
26591
+# Shell to use when invoking shell scripts.
 
26592
+SHELL=$lt_SHELL
 
26593
+
 
26594
+# Whether or not to build shared libraries.
 
26595
+build_libtool_libs=$enable_shared
 
26596
+
 
26597
+# Whether or not to build static libraries.
 
26598
+build_old_libs=$enable_static
 
26599
+
 
26600
+# Whether or not to add -lc for building shared libraries.
 
26601
+build_libtool_need_lc=$archive_cmds_need_lc_CXX
 
26602
+
 
26603
+# Whether or not to disallow shared libs when runtime libs are static
 
26604
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
 
26605
+
 
26606
+# Whether or not to optimize for fast installation.
 
26607
+fast_install=$enable_fast_install
 
26608
+
 
26609
+# The host system.
 
26610
+host_alias=$host_alias
 
26611
+host=$host
 
26612
+
 
26613
+# An echo program that does not interpret backslashes.
 
26614
+echo=$lt_echo
 
26615
+
 
26616
+# The archiver.
 
26617
+AR=$lt_AR
 
26618
+AR_FLAGS=$lt_AR_FLAGS
 
26619
+
 
26620
+# A C compiler.
 
26621
+LTCC=$lt_LTCC
 
26622
+
 
26623
+# A language-specific compiler.
 
26624
+CC=$lt_compiler_CXX
 
26625
+
 
26626
+# Is the compiler the GNU C compiler?
 
26627
+with_gcc=$GCC_CXX
 
26628
+
 
26629
+# An ERE matcher.
 
26630
+EGREP=$lt_EGREP
 
26631
+
 
26632
+# The linker used to build libraries.
 
26633
+LD=$lt_LD_CXX
 
26634
+
 
26635
+# Whether we need hard or soft links.
 
26636
+LN_S=$lt_LN_S
 
26637
+
 
26638
+# A BSD-compatible nm program.
 
26639
+NM=$lt_NM
 
26640
+
 
26641
+# A symbol stripping program
 
26642
+STRIP=$lt_STRIP
 
26643
+
 
26644
+# Used to examine libraries when file_magic_cmd begins "file"
 
26645
+MAGIC_CMD=$MAGIC_CMD
 
26646
+
 
26647
+# Used on cygwin: DLL creation program.
 
26648
+DLLTOOL="$DLLTOOL"
 
26649
+
 
26650
+# Used on cygwin: object dumper.
 
26651
+OBJDUMP="$OBJDUMP"
 
26652
+
 
26653
+# Used on cygwin: assembler.
 
26654
+AS="$AS"
 
26655
+
 
26656
+# The name of the directory that contains temporary libtool files.
 
26657
+objdir=$objdir
 
26658
+
 
26659
+# How to create reloadable object files.
 
26660
+reload_flag=$lt_reload_flag
 
26661
+reload_cmds=$lt_reload_cmds
 
26662
+
 
26663
+# How to pass a linker flag through the compiler.
 
26664
+wl=$lt_lt_prog_compiler_wl_CXX
 
26665
+
 
26666
+# Object file suffix (normally "o").
 
26667
+objext="$ac_objext"
 
26668
+
 
26669
+# Old archive suffix (normally "a").
 
26670
+libext="$libext"
 
26671
+
 
26672
+# Shared library suffix (normally ".so").
 
26673
+shrext_cmds='$shrext_cmds'
 
26674
+
 
26675
+# Executable file suffix (normally "").
 
26676
+exeext="$exeext"
 
26677
+
 
26678
+# Additional compiler flags for building library objects.
 
26679
+pic_flag=$lt_lt_prog_compiler_pic_CXX
 
26680
+pic_mode=$pic_mode
 
26681
+
 
26682
+# What is the maximum length of a command?
 
26683
+max_cmd_len=$lt_cv_sys_max_cmd_len
 
26684
+
 
26685
+# Does compiler simultaneously support -c and -o options?
 
26686
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
 
26687
+
 
26688
+# Must we lock files when doing compilation ?
 
26689
+need_locks=$lt_need_locks
 
26690
+
 
26691
+# Do we need the lib prefix for modules?
 
26692
+need_lib_prefix=$need_lib_prefix
 
26693
+
 
26694
+# Do we need a version for libraries?
 
26695
+need_version=$need_version
 
26696
+
 
26697
+# Whether dlopen is supported.
 
26698
+dlopen_support=$enable_dlopen
 
26699
+
 
26700
+# Whether dlopen of programs is supported.
 
26701
+dlopen_self=$enable_dlopen_self
 
26702
+
 
26703
+# Whether dlopen of statically linked programs is supported.
 
26704
+dlopen_self_static=$enable_dlopen_self_static
 
26705
+
 
26706
+# Compiler flag to prevent dynamic linking.
 
26707
+link_static_flag=$lt_lt_prog_compiler_static_CXX
 
26708
+
 
26709
+# Compiler flag to turn off builtin functions.
 
26710
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
 
26711
+
 
26712
+# Compiler flag to allow reflexive dlopens.
 
26713
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
 
26714
+
 
26715
+# Compiler flag to generate shared objects directly from archives.
 
26716
+whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
 
26717
+
 
26718
+# Compiler flag to generate thread-safe objects.
 
26719
+thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
 
26720
+
 
26721
+# Library versioning type.
 
26722
+version_type=$version_type
 
26723
+
 
26724
+# Format of library name prefix.
 
26725
+libname_spec=$lt_libname_spec
 
26726
+
 
26727
+# List of archive names.  First name is the real one, the rest are links.
 
26728
+# The last name is the one that the linker finds with -lNAME.
 
26729
+library_names_spec=$lt_library_names_spec
 
26730
+
 
26731
+# The coded name of the library, if different from the real name.
 
26732
+soname_spec=$lt_soname_spec
 
26733
+
 
26734
+# Commands used to build and install an old-style archive.
 
26735
+RANLIB=$lt_RANLIB
 
26736
+old_archive_cmds=$lt_old_archive_cmds_CXX
 
26737
+old_postinstall_cmds=$lt_old_postinstall_cmds
 
26738
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
26739
+
 
26740
+# Create an old-style archive from a shared archive.
 
26741
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
 
26742
+
 
26743
+# Create a temporary old-style archive to link instead of a shared archive.
 
26744
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
 
26745
+
 
26746
+# Commands used to build and install a shared archive.
 
26747
+archive_cmds=$lt_archive_cmds_CXX
 
26748
+archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
 
26749
+postinstall_cmds=$lt_postinstall_cmds
 
26750
+postuninstall_cmds=$lt_postuninstall_cmds
 
26751
+
 
26752
+# Commands used to build a loadable module (assumed same as above if empty)
 
26753
+module_cmds=$lt_module_cmds_CXX
 
26754
+module_expsym_cmds=$lt_module_expsym_cmds_CXX
 
26755
+
 
26756
+# Commands to strip libraries.
 
26757
+old_striplib=$lt_old_striplib
 
26758
+striplib=$lt_striplib
 
26759
+
 
26760
+# Dependencies to place before the objects being linked to create a
 
26761
+# shared library.
 
26762
+predep_objects=$lt_predep_objects_CXX
 
26763
+
 
26764
+# Dependencies to place after the objects being linked to create a
 
26765
+# shared library.
 
26766
+postdep_objects=$lt_postdep_objects_CXX
 
26767
+
 
26768
+# Dependencies to place before the objects being linked to create a
 
26769
+# shared library.
 
26770
+predeps=$lt_predeps_CXX
 
26771
+
 
26772
+# Dependencies to place after the objects being linked to create a
 
26773
+# shared library.
 
26774
+postdeps=$lt_postdeps_CXX
 
26775
+
 
26776
+# The library search path used internally by the compiler when linking
 
26777
+# a shared library.
 
26778
+compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
 
26779
+
 
26780
+# Method to check whether dependent libraries are shared objects.
 
26781
+deplibs_check_method=$lt_deplibs_check_method
 
26782
+
 
26783
+# Command to use when deplibs_check_method == file_magic.
 
26784
+file_magic_cmd=$lt_file_magic_cmd
 
26785
+
 
26786
+# Flag that allows shared libraries with undefined symbols to be built.
 
26787
+allow_undefined_flag=$lt_allow_undefined_flag_CXX
 
26788
+
 
26789
+# Flag that forces no undefined symbols.
 
26790
+no_undefined_flag=$lt_no_undefined_flag_CXX
 
26791
+
 
26792
+# Commands used to finish a libtool library installation in a directory.
 
26793
+finish_cmds=$lt_finish_cmds
 
26794
+
 
26795
+# Same as above, but a single script fragment to be evaled but not shown.
 
26796
+finish_eval=$lt_finish_eval
 
26797
+
 
26798
+# Take the output of nm and produce a listing of raw symbols and C names.
 
26799
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
26800
+
 
26801
+# Transform the output of nm in a proper C declaration
 
26802
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
26803
+
 
26804
+# Transform the output of nm in a C name address pair
 
26805
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
26806
+
 
26807
+# This is the shared library runtime path variable.
 
26808
+runpath_var=$runpath_var
 
26809
+
 
26810
+# This is the shared library path variable.
 
26811
+shlibpath_var=$shlibpath_var
 
26812
+
 
26813
+# Is shlibpath searched before the hard-coded library search path?
 
26814
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
26815
+
 
26816
+# How to hardcode a shared library path into an executable.
 
26817
+hardcode_action=$hardcode_action_CXX
 
26818
+
 
26819
+# Whether we should hardcode library paths into libraries.
 
26820
+hardcode_into_libs=$hardcode_into_libs
 
26821
+
 
26822
+# Flag to hardcode \$libdir into a binary during linking.
 
26823
+# This must work even if \$libdir does not exist.
 
26824
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
 
26825
+
 
26826
+# If ld is used when linking, flag to hardcode \$libdir into
 
26827
+# a binary during linking. This must work even if \$libdir does
 
26828
+# not exist.
 
26829
+hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
 
26830
+
 
26831
+# Whether we need a single -rpath flag with a separated argument.
 
26832
+hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
 
26833
+
 
26834
+# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 
26835
+# resulting binary.
 
26836
+hardcode_direct=$hardcode_direct_CXX
 
26837
+
 
26838
+# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 
26839
+# resulting binary.
 
26840
+hardcode_minus_L=$hardcode_minus_L_CXX
 
26841
+
 
26842
+# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 
26843
+# the resulting binary.
 
26844
+hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
 
26845
+
 
26846
+# Set to yes if building a shared library automatically hardcodes DIR into the library
 
26847
+# and all subsequent libraries and executables linked against it.
 
26848
+hardcode_automatic=$hardcode_automatic_CXX
 
26849
+
 
26850
+# Variables whose values should be saved in libtool wrapper scripts and
 
26851
+# restored at relink time.
 
26852
+variables_saved_for_relink="$variables_saved_for_relink"
 
26853
+
 
26854
+# Whether libtool must link a program against all its dependency libraries.
 
26855
+link_all_deplibs=$link_all_deplibs_CXX
 
26856
+
 
26857
+# Compile-time system search path for libraries
 
26858
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
26859
+
 
26860
+# Run-time system search path for libraries
 
26861
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
26862
+
 
26863
+# Fix the shell variable \$srcfile for the compiler.
 
26864
+fix_srcfile_path="$fix_srcfile_path_CXX"
 
26865
+
 
26866
+# Set to yes if exported symbols are required.
 
26867
+always_export_symbols=$always_export_symbols_CXX
 
26868
+
 
26869
+# The commands to list exported symbols.
 
26870
+export_symbols_cmds=$lt_export_symbols_cmds_CXX
 
26871
+
 
26872
+# The commands to extract the exported symbol list from a shared archive.
 
26873
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
26874
+
 
26875
+# Symbols that should not be listed in the preloaded symbols.
 
26876
+exclude_expsyms=$lt_exclude_expsyms_CXX
 
26877
+
 
26878
+# Symbols that must always be exported.
 
26879
+include_expsyms=$lt_include_expsyms_CXX
 
26880
+
 
26881
+# ### END LIBTOOL TAG CONFIG: $tagname
 
26882
+
 
26883
+__EOF__
 
26884
+
 
26885
+
 
26886
+else
 
26887
+  # If there is no Makefile yet, we rely on a make rule to execute
 
26888
+  # `config.status --recheck' to rerun these tests and create the
 
26889
+  # libtool script then.
 
26890
+  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 
26891
+  if test -f "$ltmain_in"; then
 
26892
+    test -f Makefile && make "$ltmain"
 
26893
+  fi
 
26894
+fi
 
26895
+
 
26896
+
 
26897
+ac_ext=c
 
26898
+ac_cpp='$CPP $CPPFLAGS'
 
26899
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
26900
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
26901
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
26902
+
 
26903
+CC=$lt_save_CC
 
26904
+LDCXX=$LD
 
26905
+LD=$lt_save_LD
 
26906
+GCC=$lt_save_GCC
 
26907
+with_gnu_ldcxx=$with_gnu_ld
 
26908
+with_gnu_ld=$lt_save_with_gnu_ld
 
26909
+lt_cv_path_LDCXX=$lt_cv_path_LD
 
26910
+lt_cv_path_LD=$lt_save_path_LD
 
26911
+lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 
26912
+lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 
26913
+
 
26914
+       else
 
26915
+         tagname=""
 
26916
+       fi
 
26917
+       ;;
 
26918
+
 
26919
+      F77)
 
26920
+       if test -n "$F77" && test "X$F77" != "Xno"; then
 
26921
+
 
26922
+ac_ext=f
 
26923
+ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 
26924
+ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
26925
+ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 
26926
+
 
26927
+
 
26928
+archive_cmds_need_lc_F77=no
 
26929
+allow_undefined_flag_F77=
 
26930
+always_export_symbols_F77=no
 
26931
+archive_expsym_cmds_F77=
 
26932
+export_dynamic_flag_spec_F77=
 
26933
+hardcode_direct_F77=no
 
26934
+hardcode_libdir_flag_spec_F77=
 
26935
+hardcode_libdir_flag_spec_ld_F77=
 
26936
+hardcode_libdir_separator_F77=
 
26937
+hardcode_minus_L_F77=no
 
26938
+hardcode_automatic_F77=no
 
26939
+module_cmds_F77=
 
26940
+module_expsym_cmds_F77=
 
26941
+link_all_deplibs_F77=unknown
 
26942
+old_archive_cmds_F77=$old_archive_cmds
 
26943
+no_undefined_flag_F77=
 
26944
+whole_archive_flag_spec_F77=
 
26945
+enable_shared_with_static_runtimes_F77=no
 
26946
+
 
26947
+# Source file extension for f77 test sources.
 
26948
+ac_ext=f
 
26949
+
 
26950
+# Object file extension for compiled f77 test sources.
 
26951
+objext=o
 
26952
+objext_F77=$objext
 
26953
+
 
26954
+# Code to be used in simple compile tests
 
26955
+lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 
26956
+
 
26957
+# Code to be used in simple link tests
 
26958
+lt_simple_link_test_code="      program t\n      end\n"
 
26959
+
 
26960
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
26961
+
 
26962
+# If no C compiler was specified, use CC.
 
26963
+LTCC=${LTCC-"$CC"}
 
26964
+
 
26965
+# Allow CC to be a program name with arguments.
 
26966
+compiler=$CC
 
26967
+
 
26968
+
 
26969
+# Allow CC to be a program name with arguments.
 
26970
+lt_save_CC="$CC"
 
26971
+CC=${F77-"f77"}
 
26972
+compiler=$CC
 
26973
+compiler_F77=$CC
 
26974
+cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
 
26975
+
 
26976
+echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
26977
+echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
 
26978
+echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
26979
+echo "${ECHO_T}$can_build_shared" >&6
 
26980
+
 
26981
+echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
26982
+echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
26983
+test "$can_build_shared" = "no" && enable_shared=no
 
26984
+
 
26985
+# On AIX, shared libraries and static libraries use the same namespace, and
 
26986
+# are all built from PIC.
 
26987
+case "$host_os" in
 
26988
+aix3*)
 
26989
+  test "$enable_shared" = yes && enable_static=no
 
26990
+  if test -n "$RANLIB"; then
 
26991
+    archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
26992
+    postinstall_cmds='$RANLIB $lib'
 
26993
+  fi
 
26994
+  ;;
 
26995
+aix4* | aix5*)
 
26996
+  test "$enable_shared" = yes && enable_static=no
 
26997
+  ;;
 
26998
+esac
 
26999
+echo "$as_me:$LINENO: result: $enable_shared" >&5
 
27000
+echo "${ECHO_T}$enable_shared" >&6
 
27001
+
 
27002
+echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
27003
+echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
27004
+# Make sure either enable_shared or enable_static is yes.
 
27005
+test "$enable_shared" = yes || enable_static=yes
 
27006
+echo "$as_me:$LINENO: result: $enable_static" >&5
 
27007
+echo "${ECHO_T}$enable_static" >&6
 
27008
+
 
27009
+test "$ld_shlibs_F77" = no && can_build_shared=no
 
27010
+
 
27011
+GCC_F77="$G77"
 
27012
+LD_F77="$LD"
 
27013
+
 
27014
+lt_prog_compiler_wl_F77=
 
27015
+lt_prog_compiler_pic_F77=
 
27016
+lt_prog_compiler_static_F77=
 
27017
+
 
27018
+echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
27019
+echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
27020
+
 
27021
+  if test "$GCC" = yes; then
 
27022
+    lt_prog_compiler_wl_F77='-Wl,'
 
27023
+    lt_prog_compiler_static_F77='-static'
 
27024
+
 
27025
+    case $host_os in
 
27026
+      aix*)
 
27027
+      # All AIX code is PIC.
 
27028
+      if test "$host_cpu" = ia64; then
 
27029
+       # AIX 5 now supports IA64 processor
 
27030
+       lt_prog_compiler_static_F77='-Bstatic'
 
27031
+      fi
 
27032
+      ;;
 
27033
+
 
27034
+    amigaos*)
 
27035
+      # FIXME: we need at least 68020 code to build shared libraries, but
 
27036
+      # adding the `-m68020' flag to GCC prevents building anything better,
 
27037
+      # like `-m68040'.
 
27038
+      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
 
27039
+      ;;
 
27040
+
 
27041
+    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
27042
+      # PIC is the default for these OSes.
 
27043
+      ;;
 
27044
+
 
27045
+    mingw* | pw32* | os2*)
 
27046
+      # This hack is so that the source file can tell whether it is being
 
27047
+      # built for inclusion in a dll (and should export symbols for example).
 
27048
+      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
 
27049
+      ;;
 
27050
+
 
27051
+    darwin* | rhapsody*)
 
27052
+      # PIC is the default on this platform
 
27053
+      # Common symbols not allowed in MH_DYLIB files
 
27054
+      lt_prog_compiler_pic_F77='-fno-common'
 
27055
+      ;;
 
27056
+
 
27057
+    msdosdjgpp*)
 
27058
+      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
27059
+      # on systems that don't support them.
 
27060
+      lt_prog_compiler_can_build_shared_F77=no
 
27061
+      enable_shared=no
 
27062
+      ;;
 
27063
+
 
27064
+    sysv4*MP*)
 
27065
+      if test -d /usr/nec; then
 
27066
+       lt_prog_compiler_pic_F77=-Kconform_pic
 
27067
+      fi
 
27068
+      ;;
 
27069
+
 
27070
+    hpux*)
 
27071
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
27072
+      # not for PA HP-UX.
 
27073
+      case "$host_cpu" in
 
27074
+      hppa*64*|ia64*)
 
27075
+       # +Z the default
 
27076
+       ;;
 
27077
+      *)
 
27078
+       lt_prog_compiler_pic_F77='-fPIC'
 
27079
+       ;;
 
27080
+      esac
 
27081
+      ;;
 
27082
+
 
27083
+    *)
 
27084
+      lt_prog_compiler_pic_F77='-fPIC'
 
27085
+      ;;
 
27086
+    esac
 
27087
+  else
 
27088
+    # PORTME Check for flag to pass linker flags through the system compiler.
 
27089
+    case $host_os in
 
27090
+    aix*)
 
27091
+      lt_prog_compiler_wl_F77='-Wl,'
 
27092
+      if test "$host_cpu" = ia64; then
 
27093
+       # AIX 5 now supports IA64 processor
 
27094
+       lt_prog_compiler_static_F77='-Bstatic'
 
27095
+      else
 
27096
+       lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
 
27097
+      fi
 
27098
+      ;;
 
27099
+
 
27100
+    mingw* | pw32* | os2*)
 
27101
+      # This hack is so that the source file can tell whether it is being
 
27102
+      # built for inclusion in a dll (and should export symbols for example).
 
27103
+      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
 
27104
+      ;;
 
27105
+
 
27106
+    hpux9* | hpux10* | hpux11*)
 
27107
+      lt_prog_compiler_wl_F77='-Wl,'
 
27108
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
27109
+      # not for PA HP-UX.
 
27110
+      case "$host_cpu" in
 
27111
+      hppa*64*|ia64*)
 
27112
+       # +Z the default
 
27113
+       ;;
 
27114
+      *)
 
27115
+       lt_prog_compiler_pic_F77='+Z'
 
27116
+       ;;
 
27117
+      esac
 
27118
+      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
27119
+      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
 
27120
+      ;;
 
27121
+
 
27122
+    irix5* | irix6* | nonstopux*)
 
27123
+      lt_prog_compiler_wl_F77='-Wl,'
 
27124
+      # PIC (with -KPIC) is the default.
 
27125
+      lt_prog_compiler_static_F77='-non_shared'
 
27126
+      ;;
 
27127
+
 
27128
+    newsos6)
 
27129
+      lt_prog_compiler_pic_F77='-KPIC'
 
27130
+      lt_prog_compiler_static_F77='-Bstatic'
 
27131
+      ;;
 
27132
+
 
27133
+    linux*)
 
27134
+      case $CC in
 
27135
+      icc* | ecc*)
 
27136
+       lt_prog_compiler_wl_F77='-Wl,'
 
27137
+       lt_prog_compiler_pic_F77='-KPIC'
 
27138
+       lt_prog_compiler_static_F77='-static'
 
27139
+        ;;
 
27140
+      ccc*)
 
27141
+        lt_prog_compiler_wl_F77='-Wl,'
 
27142
+        # All Alpha code is PIC.
 
27143
+        lt_prog_compiler_static_F77='-non_shared'
 
27144
+        ;;
 
27145
+      esac
 
27146
+      ;;
 
27147
+
 
27148
+    osf3* | osf4* | osf5*)
 
27149
+      lt_prog_compiler_wl_F77='-Wl,'
 
27150
+      # All OSF/1 code is PIC.
 
27151
+      lt_prog_compiler_static_F77='-non_shared'
 
27152
+      ;;
 
27153
+
 
27154
+    sco3.2v5*)
 
27155
+      lt_prog_compiler_pic_F77='-Kpic'
 
27156
+      lt_prog_compiler_static_F77='-dn'
 
27157
+      ;;
 
27158
+
 
27159
+    solaris*)
 
27160
+      lt_prog_compiler_wl_F77='-Wl,'
 
27161
+      lt_prog_compiler_pic_F77='-KPIC'
 
27162
+      lt_prog_compiler_static_F77='-Bstatic'
 
27163
+      ;;
 
27164
+
 
27165
+    sunos4*)
 
27166
+      lt_prog_compiler_wl_F77='-Qoption ld '
 
27167
+      lt_prog_compiler_pic_F77='-PIC'
 
27168
+      lt_prog_compiler_static_F77='-Bstatic'
 
27169
+      ;;
 
27170
+
 
27171
+    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
27172
+      lt_prog_compiler_wl_F77='-Wl,'
 
27173
+      lt_prog_compiler_pic_F77='-KPIC'
 
27174
+      lt_prog_compiler_static_F77='-Bstatic'
 
27175
+      ;;
 
27176
+
 
27177
+    sysv4*MP*)
 
27178
+      if test -d /usr/nec ;then
 
27179
+       lt_prog_compiler_pic_F77='-Kconform_pic'
 
27180
+       lt_prog_compiler_static_F77='-Bstatic'
 
27181
+      fi
 
27182
+      ;;
 
27183
+
 
27184
+    uts4*)
 
27185
+      lt_prog_compiler_pic_F77='-pic'
 
27186
+      lt_prog_compiler_static_F77='-Bstatic'
 
27187
+      ;;
 
27188
+
 
27189
+    *)
 
27190
+      lt_prog_compiler_can_build_shared_F77=no
 
27191
+      ;;
 
27192
+    esac
 
27193
+  fi
 
27194
+
 
27195
+echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
27196
+echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
27197
+
 
27198
+#
 
27199
+# Check to make sure the PIC flag actually works.
 
27200
+#
 
27201
+if test -n "$lt_prog_compiler_pic_F77"; then
 
27202
+
 
27203
+echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
27204
+echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
 
27205
+if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
 
27206
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
27207
+else
 
27208
+  lt_prog_compiler_pic_works_F77=no
 
27209
+  ac_outfile=conftest.$ac_objext
 
27210
+   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
27211
+   lt_compiler_flag="$lt_prog_compiler_pic_F77"
 
27212
+   # Insert the option either (1) after the last *FLAGS variable, or
 
27213
+   # (2) before a word containing "conftest.", or (3) at the end.
 
27214
+   # Note that $ac_compile itself does not contain backslashes and begins
 
27215
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
27216
+   # The option is referenced via a variable to avoid confusing sed.
 
27217
+   lt_compile=`echo "$ac_compile" | $SED \
 
27218
+   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
27219
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
27220
+   -e 's:$: $lt_compiler_flag:'`
 
27221
+   (eval echo "\"\$as_me:13386: $lt_compile\"" >&5)
 
27222
+   (eval "$lt_compile" 2>conftest.err)
 
27223
+   ac_status=$?
 
27224
+   cat conftest.err >&5
 
27225
+   echo "$as_me:13390: \$? = $ac_status" >&5
 
27226
+   if (exit $ac_status) && test -s "$ac_outfile"; then
 
27227
+     # The compiler can only warn and ignore the option if not recognized
 
27228
+     # So say no if there are warnings
 
27229
+     if test ! -s conftest.err; then
 
27230
+       lt_prog_compiler_pic_works_F77=yes
 
27231
+     fi
 
27232
+   fi
 
27233
+   $rm conftest*
 
27234
+
 
27235
+fi
 
27236
+echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 
27237
+echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
27238
+
 
27239
+if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
 
27240
+    case $lt_prog_compiler_pic_F77 in
 
27241
+     "" | " "*) ;;
 
27242
+     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
 
27243
+     esac
 
27244
+else
 
27245
+    lt_prog_compiler_pic_F77=
 
27246
+     lt_prog_compiler_can_build_shared_F77=no
 
27247
+fi
 
27248
+
 
27249
+fi
 
27250
+case "$host_os" in
 
27251
+  # For platforms which do not support PIC, -DPIC is meaningless:
 
27252
+  *djgpp*)
 
27253
+    lt_prog_compiler_pic_F77=
 
27254
+    ;;
 
27255
+  *)
 
27256
+    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
 
27257
+    ;;
 
27258
+esac
 
27259
+
 
27260
+echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
27261
+echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
27262
+if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
 
27263
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
27264
+else
 
27265
+  lt_cv_prog_compiler_c_o_F77=no
 
27266
+   $rm -r conftest 2>/dev/null
 
27267
+   mkdir conftest
 
27268
+   cd conftest
 
27269
+   mkdir out
 
27270
+   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
27271
+
 
27272
+   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
27273
+   # Insert the option either (1) after the last *FLAGS variable, or
 
27274
+   # (2) before a word containing "conftest.", or (3) at the end.
 
27275
+   # Note that $ac_compile itself does not contain backslashes and begins
 
27276
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
27277
+   lt_compile=`echo "$ac_compile" | $SED \
 
27278
+   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
27279
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
27280
+   -e 's:$: $lt_compiler_flag:'`
 
27281
+   (eval echo "\"\$as_me:13446: $lt_compile\"" >&5)
 
27282
+   (eval "$lt_compile" 2>out/conftest.err)
 
27283
+   ac_status=$?
 
27284
+   cat out/conftest.err >&5
 
27285
+   echo "$as_me:13450: \$? = $ac_status" >&5
 
27286
+   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
27287
+   then
 
27288
+     # The compiler can only warn and ignore the option if not recognized
 
27289
+     # So say no if there are warnings
 
27290
+     if test ! -s out/conftest.err; then
 
27291
+       lt_cv_prog_compiler_c_o_F77=yes
 
27292
+     fi
 
27293
+   fi
 
27294
+   chmod u+w .
 
27295
+   $rm conftest*
 
27296
+   # SGI C++ compiler will create directory out/ii_files/ for
 
27297
+   # template instantiation
 
27298
+   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 
27299
+   $rm out/* && rmdir out
 
27300
+   cd ..
 
27301
+   rmdir conftest
 
27302
+   $rm conftest*
 
27303
+
 
27304
+fi
 
27305
+echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
27306
+echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
27307
+
 
27308
+
 
27309
+hard_links="nottested"
 
27310
+if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
 
27311
+  # do not overwrite the value of need_locks provided by the user
 
27312
+  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
27313
+echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
27314
+  hard_links=yes
 
27315
+  $rm conftest*
 
27316
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
27317
+  touch conftest.a
 
27318
+  ln conftest.a conftest.b 2>&5 || hard_links=no
 
27319
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
27320
+  echo "$as_me:$LINENO: result: $hard_links" >&5
 
27321
+echo "${ECHO_T}$hard_links" >&6
 
27322
+  if test "$hard_links" = no; then
 
27323
+    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
27324
+echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
27325
+    need_locks=warn
 
27326
+  fi
 
27327
+else
 
27328
+  need_locks=no
 
27329
+fi
 
27330
+
 
27331
+echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
27332
+echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
27333
+
 
27334
+  runpath_var=
 
27335
+  allow_undefined_flag_F77=
 
27336
+  enable_shared_with_static_runtimes_F77=no
 
27337
+  archive_cmds_F77=
 
27338
+  archive_expsym_cmds_F77=
 
27339
+  old_archive_From_new_cmds_F77=
 
27340
+  old_archive_from_expsyms_cmds_F77=
 
27341
+  export_dynamic_flag_spec_F77=
 
27342
+  whole_archive_flag_spec_F77=
 
27343
+  thread_safe_flag_spec_F77=
 
27344
+  hardcode_libdir_flag_spec_F77=
 
27345
+  hardcode_libdir_flag_spec_ld_F77=
 
27346
+  hardcode_libdir_separator_F77=
 
27347
+  hardcode_direct_F77=no
 
27348
+  hardcode_minus_L_F77=no
 
27349
+  hardcode_shlibpath_var_F77=unsupported
 
27350
+  link_all_deplibs_F77=unknown
 
27351
+  hardcode_automatic_F77=no
 
27352
+  module_cmds_F77=
 
27353
+  module_expsym_cmds_F77=
 
27354
+  always_export_symbols_F77=no
 
27355
+  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
27356
+  # include_expsyms should be a list of space-separated symbols to be *always*
 
27357
+  # included in the symbol list
 
27358
+  include_expsyms_F77=
 
27359
+  # exclude_expsyms can be an extended regexp of symbols to exclude
 
27360
+  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
27361
+  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
27362
+  # as well as any symbol that contains `d'.
 
27363
+  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
 
27364
+  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
27365
+  # platforms (ab)use it in PIC code, but their linkers get confused if
 
27366
+  # the symbol is explicitly referenced.  Since portable code cannot
 
27367
+  # rely on this symbol name, it's probably fine to never include it in
 
27368
+  # preloaded symbol tables.
 
27369
+  extract_expsyms_cmds=
 
27370
+
 
27371
+  case $host_os in
 
27372
+  cygwin* | mingw* | pw32*)
 
27373
+    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
27374
+    # When not using gcc, we currently assume that we are using
 
27375
+    # Microsoft Visual C++.
 
27376
+    if test "$GCC" != yes; then
 
27377
+      with_gnu_ld=no
 
27378
+    fi
 
27379
+    ;;
 
27380
+  openbsd*)
 
27381
+    with_gnu_ld=no
 
27382
+    ;;
 
27383
+  esac
 
27384
+
 
27385
+  ld_shlibs_F77=yes
 
27386
+  if test "$with_gnu_ld" = yes; then
 
27387
+    # If archive_cmds runs LD, not CC, wlarc should be empty
 
27388
+    wlarc='${wl}'
 
27389
+
 
27390
+    # See if GNU ld supports shared libraries.
 
27391
+    case $host_os in
 
27392
+    aix3* | aix4* | aix5*)
 
27393
+      # On AIX/PPC, the GNU linker is very broken
 
27394
+      if test "$host_cpu" != ia64; then
 
27395
+       ld_shlibs_F77=no
 
27396
+       cat <<EOF 1>&2
 
27397
+
 
27398
+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
27399
+*** to be unable to reliably create shared libraries on AIX.
 
27400
+*** Therefore, libtool is disabling shared libraries support.  If you
 
27401
+*** really care for shared libraries, you may want to modify your PATH
 
27402
+*** so that a non-GNU linker is found, and then restart.
 
27403
+
 
27404
+EOF
 
27405
+      fi
 
27406
+      ;;
 
27407
+
 
27408
+    amigaos*)
 
27409
+      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)'
 
27410
+      hardcode_libdir_flag_spec_F77='-L$libdir'
 
27411
+      hardcode_minus_L_F77=yes
 
27412
+
 
27413
+      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
 
27414
+      # that the semantics of dynamic libraries on AmigaOS, at least up
 
27415
+      # to version 4, is to share data among multiple programs linked
 
27416
+      # with the same dynamic library.  Since this doesn't match the
 
27417
+      # behavior of shared libraries on other platforms, we can't use
 
27418
+      # them.
 
27419
+      ld_shlibs_F77=no
 
27420
+      ;;
 
27421
+
 
27422
+    beos*)
 
27423
+      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
27424
+       allow_undefined_flag_F77=unsupported
 
27425
+       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
27426
+       # support --undefined.  This deserves some investigation.  FIXME
 
27427
+       archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
27428
+      else
 
27429
+       ld_shlibs_F77=no
 
27430
+      fi
 
27431
+      ;;
 
27432
+
 
27433
+    cygwin* | mingw* | pw32*)
 
27434
+      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
 
27435
+      # as there is no search path for DLLs.
 
27436
+      hardcode_libdir_flag_spec_F77='-L$libdir'
 
27437
+      allow_undefined_flag_F77=unsupported
 
27438
+      always_export_symbols_F77=no
 
27439
+      enable_shared_with_static_runtimes_F77=yes
 
27440
+      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
27441
+
 
27442
+      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
27443
+        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
27444
+       # If the export-symbols file already is a .def file (1st line
 
27445
+       # is EXPORTS), use it as is; otherwise, prepend...
 
27446
+       archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
27447
+         cp $export_symbols $output_objdir/$soname.def;
 
27448
+       else
 
27449
+         echo EXPORTS > $output_objdir/$soname.def;
 
27450
+         cat $export_symbols >> $output_objdir/$soname.def;
 
27451
+       fi~
 
27452
+       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
27453
+      else
 
27454
+       ld_shlibs=no
 
27455
+      fi
 
27456
+      ;;
 
27457
+
 
27458
+    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
27459
+      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
27460
+       archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
27461
+       wlarc=
 
27462
+      else
 
27463
+       archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
27464
+       archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
27465
+      fi
 
27466
+      ;;
 
27467
+
 
27468
+    solaris* | sysv5*)
 
27469
+      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
27470
+       ld_shlibs_F77=no
 
27471
+       cat <<EOF 1>&2
 
27472
+
 
27473
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
27474
+*** create shared libraries on Solaris systems.  Therefore, libtool
 
27475
+*** is disabling shared libraries support.  We urge you to upgrade GNU
 
27476
+*** binutils to release 2.9.1 or newer.  Another option is to modify
 
27477
+*** your PATH or compiler configuration so that the native linker is
 
27478
+*** used, and then restart.
 
27479
+
 
27480
+EOF
 
27481
+      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
27482
+       archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
27483
+       archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
27484
+      else
 
27485
+       ld_shlibs_F77=no
 
27486
+      fi
 
27487
+      ;;
 
27488
+
 
27489
+    sunos4*)
 
27490
+      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
27491
+      wlarc=
 
27492
+      hardcode_direct_F77=yes
 
27493
+      hardcode_shlibpath_var_F77=no
 
27494
+      ;;
 
27495
+
 
27496
+  linux*)
 
27497
+    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
27498
+        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
27499
+       archive_cmds_F77="$tmp_archive_cmds"
 
27500
+      supports_anon_versioning=no
 
27501
+      case `$LD -v 2>/dev/null` in
 
27502
+        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
27503
+        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
27504
+        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
27505
+        *\ 2.11.*) ;; # other 2.11 versions
 
27506
+        *) supports_anon_versioning=yes ;;
 
27507
+      esac
 
27508
+      if test $supports_anon_versioning = yes; then
 
27509
+        archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
 
27510
+cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
27511
+$echo "local: *; };" >> $output_objdir/$libname.ver~
 
27512
+        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
27513
+      else
 
27514
+        archive_expsym_cmds_F77="$tmp_archive_cmds"
 
27515
+      fi
 
27516
+      link_all_deplibs_F77=no
 
27517
+    else
 
27518
+      ld_shlibs_F77=no
 
27519
+    fi
 
27520
+    ;;
 
27521
+
 
27522
+    *)
 
27523
+      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
27524
+       archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
27525
+       archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
27526
+      else
 
27527
+       ld_shlibs_F77=no
 
27528
+      fi
 
27529
+      ;;
 
27530
+    esac
 
27531
+
 
27532
+    if test "$ld_shlibs_F77" = yes; then
 
27533
+      runpath_var=LD_RUN_PATH
 
27534
+      hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
 
27535
+      export_dynamic_flag_spec_F77='${wl}--export-dynamic'
 
27536
+      # ancient GNU ld didn't support --whole-archive et. al.
 
27537
+      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
27538
+       whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
27539
+      else
 
27540
+       whole_archive_flag_spec_F77=
 
27541
+      fi
 
27542
+    fi
 
27543
+  else
 
27544
+    # PORTME fill in a description of your system's linker (not GNU ld)
 
27545
+    case $host_os in
 
27546
+    aix3*)
 
27547
+      allow_undefined_flag_F77=unsupported
 
27548
+      always_export_symbols_F77=yes
 
27549
+      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'
 
27550
+      # Note: this linker hardcodes the directories in LIBPATH if there
 
27551
+      # are no directories specified by -L.
 
27552
+      hardcode_minus_L_F77=yes
 
27553
+      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
27554
+       # Neither direct hardcoding nor static linking is supported with a
 
27555
+       # broken collect2.
 
27556
+       hardcode_direct_F77=unsupported
 
27557
+      fi
 
27558
+      ;;
 
27559
+
 
27560
+    aix4* | aix5*)
 
27561
+      if test "$host_cpu" = ia64; then
 
27562
+       # On IA64, the linker does run time linking by default, so we don't
 
27563
+       # have to do anything special.
 
27564
+       aix_use_runtimelinking=no
 
27565
+       exp_sym_flag='-Bexport'
 
27566
+       no_entry_flag=""
 
27567
+      else
 
27568
+       # If we're using GNU nm, then we don't want the "-C" option.
 
27569
+       # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
27570
+       if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 
27571
+         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'
 
27572
+       else
 
27573
+         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'
 
27574
+       fi
 
27575
+       aix_use_runtimelinking=no
 
27576
+
 
27577
+       # Test if we are trying to use run time linking or normal
 
27578
+       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
27579
+       # need to do runtime linking.
 
27580
+       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
27581
+         for ld_flag in $LDFLAGS; do
 
27582
+         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
27583
+           aix_use_runtimelinking=yes
 
27584
+           break
 
27585
+         fi
 
27586
+         done
 
27587
+       esac
 
27588
+
 
27589
+       exp_sym_flag='-bexport'
 
27590
+       no_entry_flag='-bnoentry'
 
27591
+      fi
 
27592
+
 
27593
+      # When large executables or shared objects are built, AIX ld can
 
27594
+      # have problems creating the table of contents.  If linking a library
 
27595
+      # or program results in "error TOC overflow" add -mminimal-toc to
 
27596
+      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
27597
+      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
27598
+
 
27599
+      archive_cmds_F77=''
 
27600
+      hardcode_direct_F77=yes
 
27601
+      hardcode_libdir_separator_F77=':'
 
27602
+      link_all_deplibs_F77=yes
 
27603
+
 
27604
+      if test "$GCC" = yes; then
 
27605
+       case $host_os in aix4.012|aix4.012.*)
 
27606
+       # We only want to do this on AIX 4.2 and lower, the check
 
27607
+       # below for broken collect2 doesn't work under 4.3+
 
27608
+         collect2name=`${CC} -print-prog-name=collect2`
 
27609
+         if test -f "$collect2name" && \
 
27610
+          strings "$collect2name" | grep resolve_lib_name >/dev/null
 
27611
+         then
 
27612
+         # We have reworked collect2
 
27613
+         hardcode_direct_F77=yes
 
27614
+         else
 
27615
+         # We have old collect2
 
27616
+         hardcode_direct_F77=unsupported
 
27617
+         # It fails to find uninstalled libraries when the uninstalled
 
27618
+         # path is not listed in the libpath.  Setting hardcode_minus_L
 
27619
+         # to unsupported forces relinking
 
27620
+         hardcode_minus_L_F77=yes
 
27621
+         hardcode_libdir_flag_spec_F77='-L$libdir'
 
27622
+         hardcode_libdir_separator_F77=
 
27623
+         fi
 
27624
+       esac
 
27625
+       shared_flag='-shared'
 
27626
+      else
 
27627
+       # not using gcc
 
27628
+       if test "$host_cpu" = ia64; then
 
27629
+       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
27630
+       # chokes on -Wl,-G. The following line is correct:
 
27631
+         shared_flag='-G'
 
27632
+       else
 
27633
+       if test "$aix_use_runtimelinking" = yes; then
 
27634
+           shared_flag='${wl}-G'
 
27635
+         else
 
27636
+           shared_flag='${wl}-bM:SRE'
 
27637
+       fi
 
27638
+       fi
 
27639
+      fi
 
27640
+
 
27641
+      # It seems that -bexpall does not export symbols beginning with
 
27642
+      # underscore (_), so it is better to generate a list of symbols to export.
 
27643
+      always_export_symbols_F77=yes
 
27644
+      if test "$aix_use_runtimelinking" = yes; then
 
27645
+       # Warning - without using the other runtime loading flags (-brtl),
 
27646
+       # -berok will link without error, but may produce a broken library.
 
27647
+       allow_undefined_flag_F77='-berok'
 
27648
+       # Determine the default libpath from the value encoded in an empty executable.
 
27649
+       cat >conftest.$ac_ext <<_ACEOF
 
27650
+      program main
 
27651
+
 
27652
+      end
 
27653
+_ACEOF
 
27654
+rm -f conftest.$ac_objext conftest$ac_exeext
 
27655
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
27656
+  (eval $ac_link) 2>conftest.er1
 
27657
+  ac_status=$?
 
27658
+  grep -v '^ *+' conftest.er1 >conftest.err
 
27659
+  rm -f conftest.er1
 
27660
+  cat conftest.err >&5
 
27661
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27662
+  (exit $ac_status); } &&
 
27663
+        { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
 
27664
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27665
+  (eval $ac_try) 2>&5
 
27666
+  ac_status=$?
 
27667
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27668
+  (exit $ac_status); }; } &&
 
27669
+        { ac_try='test -s conftest$ac_exeext'
 
27670
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27671
+  (eval $ac_try) 2>&5
 
27672
+  ac_status=$?
 
27673
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27674
+  (exit $ac_status); }; }; then
 
27675
+
 
27676
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
27677
+}'`
 
27678
+# Check for a 64-bit object if we didn't find anything.
 
27679
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
27680
+}'`; fi
 
27681
+else
 
27682
+  echo "$as_me: failed program was:" >&5
 
27683
+sed 's/^/| /' conftest.$ac_ext >&5
 
27684
+
 
27685
+fi
 
27686
+rm -f conftest.err conftest.$ac_objext \
 
27687
+      conftest$ac_exeext conftest.$ac_ext
 
27688
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
27689
+
 
27690
+       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
 
27691
+       archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
27692
+       else
 
27693
+       if test "$host_cpu" = ia64; then
 
27694
+         hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
 
27695
+         allow_undefined_flag_F77="-z nodefs"
 
27696
+         archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
27697
+       else
 
27698
+        # Determine the default libpath from the value encoded in an empty executable.
 
27699
+        cat >conftest.$ac_ext <<_ACEOF
 
27700
+      program main
 
27701
+
 
27702
+      end
 
27703
+_ACEOF
 
27704
+rm -f conftest.$ac_objext conftest$ac_exeext
 
27705
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
27706
+  (eval $ac_link) 2>conftest.er1
 
27707
+  ac_status=$?
 
27708
+  grep -v '^ *+' conftest.er1 >conftest.err
 
27709
+  rm -f conftest.er1
 
27710
+  cat conftest.err >&5
 
27711
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27712
+  (exit $ac_status); } &&
 
27713
+        { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
 
27714
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27715
+  (eval $ac_try) 2>&5
 
27716
+  ac_status=$?
 
27717
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27718
+  (exit $ac_status); }; } &&
 
27719
+        { ac_try='test -s conftest$ac_exeext'
 
27720
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27721
+  (eval $ac_try) 2>&5
 
27722
+  ac_status=$?
 
27723
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27724
+  (exit $ac_status); }; }; then
 
27725
+
 
27726
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
27727
+}'`
 
27728
+# Check for a 64-bit object if we didn't find anything.
 
27729
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
27730
+}'`; fi
 
27731
+else
 
27732
+  echo "$as_me: failed program was:" >&5
 
27733
+sed 's/^/| /' conftest.$ac_ext >&5
 
27734
+
 
27735
+fi
 
27736
+rm -f conftest.err conftest.$ac_objext \
 
27737
+      conftest$ac_exeext conftest.$ac_ext
 
27738
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
27739
+
 
27740
+        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
 
27741
+         # Warning - without using the other run time loading flags,
 
27742
+         # -berok will link without error, but may produce a broken library.
 
27743
+         no_undefined_flag_F77=' ${wl}-bernotok'
 
27744
+         allow_undefined_flag_F77=' ${wl}-berok'
 
27745
+         # -bexpall does not export symbols beginning with underscore (_)
 
27746
+         always_export_symbols_F77=yes
 
27747
+         # Exported symbols can be pulled into shared objects from archives
 
27748
+         whole_archive_flag_spec_F77=' '
 
27749
+         archive_cmds_need_lc_F77=yes
 
27750
+         # This is similar to how AIX traditionally builds it's shared libraries.
 
27751
+         archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
27752
+       fi
 
27753
+      fi
 
27754
+      ;;
 
27755
+
 
27756
+    amigaos*)
 
27757
+      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)'
 
27758
+      hardcode_libdir_flag_spec_F77='-L$libdir'
 
27759
+      hardcode_minus_L_F77=yes
 
27760
+      # see comment about different semantics on the GNU ld section
 
27761
+      ld_shlibs_F77=no
 
27762
+      ;;
 
27763
+
 
27764
+    bsdi4*)
 
27765
+      export_dynamic_flag_spec_F77=-rdynamic
 
27766
+      ;;
 
27767
+
 
27768
+    cygwin* | mingw* | pw32*)
 
27769
+      # When not using gcc, we currently assume that we are using
 
27770
+      # Microsoft Visual C++.
 
27771
+      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
27772
+      # no search path for DLLs.
 
27773
+      hardcode_libdir_flag_spec_F77=' '
 
27774
+      allow_undefined_flag_F77=unsupported
 
27775
+      # Tell ltmain to make .lib files, not .a files.
 
27776
+      libext=lib
 
27777
+      # Tell ltmain to make .dll files, not .so files.
 
27778
+      shrext_cmds=".dll"
 
27779
+      # FIXME: Setting linknames here is a bad hack.
 
27780
+      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
27781
+      # The linker will automatically build a .lib file if we build a DLL.
 
27782
+      old_archive_From_new_cmds_F77='true'
 
27783
+      # FIXME: Should let the user specify the lib program.
 
27784
+      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
27785
+      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
27786
+      enable_shared_with_static_runtimes_F77=yes
 
27787
+      ;;
 
27788
+
 
27789
+    darwin* | rhapsody*)
 
27790
+    if test "$GXX" = yes ; then
 
27791
+      archive_cmds_need_lc_F77=no
 
27792
+      case "$host_os" in
 
27793
+      rhapsody* | darwin1.[012])
 
27794
+       allow_undefined_flag_F77='-undefined suppress'
 
27795
+       ;;
 
27796
+      *) # Darwin 1.3 on
 
27797
+      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
27798
+       allow_undefined_flag_F77='-flat_namespace -undefined suppress'
 
27799
+      else
 
27800
+        case ${MACOSX_DEPLOYMENT_TARGET} in
 
27801
+          10.[012])
 
27802
+            allow_undefined_flag_F77='-flat_namespace -undefined suppress'
 
27803
+            ;;
 
27804
+          10.*)
 
27805
+            allow_undefined_flag_F77='-undefined dynamic_lookup'
 
27806
+            ;;
 
27807
+        esac
 
27808
+      fi
 
27809
+       ;;
 
27810
+      esac
 
27811
+       lt_int_apple_cc_single_mod=no
 
27812
+       output_verbose_link_cmd='echo'
 
27813
+       if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
 
27814
+         lt_int_apple_cc_single_mod=yes
 
27815
+       fi
 
27816
+       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
27817
+         archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
27818
+       else
 
27819
+        archive_cmds_F77='$CC -r ${wl}-bind_at_load -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'
 
27820
+      fi
 
27821
+      module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
27822
+      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
 
27823
+        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
27824
+          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
27825
+        else
 
27826
+          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
27827
+        fi
 
27828
+          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}'
 
27829
+      hardcode_direct_F77=no
 
27830
+      hardcode_automatic_F77=yes
 
27831
+      hardcode_shlibpath_var_F77=unsupported
 
27832
+      whole_archive_flag_spec_F77='-all_load $convenience'
 
27833
+      link_all_deplibs_F77=yes
 
27834
+    else
 
27835
+      ld_shlibs_F77=no
 
27836
+    fi
 
27837
+      ;;
 
27838
+
 
27839
+    dgux*)
 
27840
+      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
27841
+      hardcode_libdir_flag_spec_F77='-L$libdir'
 
27842
+      hardcode_shlibpath_var_F77=no
 
27843
+      ;;
 
27844
+
 
27845
+    freebsd1*)
 
27846
+      ld_shlibs_F77=no
 
27847
+      ;;
 
27848
+
 
27849
+    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
27850
+    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
27851
+    # does not break anything, and helps significantly (at the cost of a little
 
27852
+    # extra space).
 
27853
+    freebsd2.2*)
 
27854
+      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
27855
+      hardcode_libdir_flag_spec_F77='-R$libdir'
 
27856
+      hardcode_direct_F77=yes
 
27857
+      hardcode_shlibpath_var_F77=no
 
27858
+      ;;
 
27859
+
 
27860
+    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
27861
+    freebsd2*)
 
27862
+      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
27863
+      hardcode_direct_F77=yes
 
27864
+      hardcode_minus_L_F77=yes
 
27865
+      hardcode_shlibpath_var_F77=no
 
27866
+      ;;
 
27867
+
 
27868
+    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
27869
+    freebsd* | kfreebsd*-gnu)
 
27870
+      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
27871
+      hardcode_libdir_flag_spec_F77='-R$libdir'
 
27872
+      hardcode_direct_F77=yes
 
27873
+      hardcode_shlibpath_var_F77=no
 
27874
+      ;;
 
27875
+
 
27876
+    hpux9*)
 
27877
+      if test "$GCC" = yes; then
 
27878
+       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'
 
27879
+      else
 
27880
+       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'
 
27881
+      fi
 
27882
+      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
27883
+      hardcode_libdir_separator_F77=:
 
27884
+      hardcode_direct_F77=yes
 
27885
+
 
27886
+      # hardcode_minus_L: Not really in the search PATH,
 
27887
+      # but as the default location of the library.
 
27888
+      hardcode_minus_L_F77=yes
 
27889
+      export_dynamic_flag_spec_F77='${wl}-E'
 
27890
+      ;;
 
27891
+
 
27892
+    hpux10* | hpux11*)
 
27893
+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
27894
+       case "$host_cpu" in
 
27895
+       hppa*64*|ia64*)
 
27896
+         archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
27897
+         ;;
 
27898
+       *)
 
27899
+         archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
27900
+         ;;
 
27901
+       esac
 
27902
+      else
 
27903
+       case "$host_cpu" in
 
27904
+       hppa*64*|ia64*)
 
27905
+         archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
27906
+         ;;
 
27907
+       *)
 
27908
+         archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
27909
+         ;;
 
27910
+       esac
 
27911
+      fi
 
27912
+      if test "$with_gnu_ld" = no; then
 
27913
+       case "$host_cpu" in
 
27914
+       hppa*64*)
 
27915
+         hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
27916
+         hardcode_libdir_flag_spec_ld_F77='+b $libdir'
 
27917
+         hardcode_libdir_separator_F77=:
 
27918
+         hardcode_direct_F77=no
 
27919
+         hardcode_shlibpath_var_F77=no
 
27920
+         ;;
 
27921
+       ia64*)
 
27922
+         hardcode_libdir_flag_spec_F77='-L$libdir'
 
27923
+         hardcode_direct_F77=no
 
27924
+         hardcode_shlibpath_var_F77=no
 
27925
+
 
27926
+         # hardcode_minus_L: Not really in the search PATH,
 
27927
+         # but as the default location of the library.
 
27928
+         hardcode_minus_L_F77=yes
 
27929
+         ;;
 
27930
+       *)
 
27931
+         hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
27932
+         hardcode_libdir_separator_F77=:
 
27933
+         hardcode_direct_F77=yes
 
27934
+         export_dynamic_flag_spec_F77='${wl}-E'
 
27935
+
 
27936
+         # hardcode_minus_L: Not really in the search PATH,
 
27937
+         # but as the default location of the library.
 
27938
+         hardcode_minus_L_F77=yes
 
27939
+         ;;
 
27940
+       esac
 
27941
+      fi
 
27942
+      ;;
 
27943
+
 
27944
+    irix5* | irix6* | nonstopux*)
 
27945
+      if test "$GCC" = yes; then
 
27946
+       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'
 
27947
+      else
 
27948
+       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'
 
27949
+       hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
 
27950
+      fi
 
27951
+      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 
27952
+      hardcode_libdir_separator_F77=:
 
27953
+      link_all_deplibs_F77=yes
 
27954
+      ;;
 
27955
+
 
27956
+    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
27957
+      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
27958
+       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
27959
+      else
 
27960
+       archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
27961
+      fi
 
27962
+      hardcode_libdir_flag_spec_F77='-R$libdir'
 
27963
+      hardcode_direct_F77=yes
 
27964
+      hardcode_shlibpath_var_F77=no
 
27965
+      ;;
 
27966
+
 
27967
+    newsos6)
 
27968
+      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
27969
+      hardcode_direct_F77=yes
 
27970
+      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 
27971
+      hardcode_libdir_separator_F77=:
 
27972
+      hardcode_shlibpath_var_F77=no
 
27973
+      ;;
 
27974
+
 
27975
+    openbsd*)
 
27976
+      hardcode_direct_F77=yes
 
27977
+      hardcode_shlibpath_var_F77=no
 
27978
+      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
27979
+       archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
27980
+       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
27981
+       export_dynamic_flag_spec_F77='${wl}-E'
 
27982
+      else
 
27983
+       case $host_os in
 
27984
+        openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
27985
+          archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
27986
+          hardcode_libdir_flag_spec_F77='-R$libdir'
 
27987
+          ;;
 
27988
+        *)
 
27989
+          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
27990
+          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
27991
+          ;;
 
27992
+       esac
 
27993
+      fi
 
27994
+      ;;
 
27995
+
 
27996
+    os2*)
 
27997
+      hardcode_libdir_flag_spec_F77='-L$libdir'
 
27998
+      hardcode_minus_L_F77=yes
 
27999
+      allow_undefined_flag_F77=unsupported
 
28000
+      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'
 
28001
+      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
28002
+      ;;
 
28003
+
 
28004
+    osf3*)
 
28005
+      if test "$GCC" = yes; then
 
28006
+       allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
 
28007
+       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'
 
28008
+      else
 
28009
+       allow_undefined_flag_F77=' -expect_unresolved \*'
 
28010
+       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'
 
28011
+      fi
 
28012
+      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 
28013
+      hardcode_libdir_separator_F77=:
 
28014
+      ;;
 
28015
+
 
28016
+    osf4* | osf5*)     # as osf3* with the addition of -msym flag
 
28017
+      if test "$GCC" = yes; then
 
28018
+       allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
 
28019
+       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'
 
28020
+       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 
28021
+      else
 
28022
+       allow_undefined_flag_F77=' -expect_unresolved \*'
 
28023
+       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'
 
28024
+       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~
 
28025
+       $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
28026
+
 
28027
+       # Both c and cxx compiler support -rpath directly
 
28028
+       hardcode_libdir_flag_spec_F77='-rpath $libdir'
 
28029
+      fi
 
28030
+      hardcode_libdir_separator_F77=:
 
28031
+      ;;
 
28032
+
 
28033
+    sco3.2v5*)
 
28034
+      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
28035
+      hardcode_shlibpath_var_F77=no
 
28036
+      export_dynamic_flag_spec_F77='${wl}-Bexport'
 
28037
+      runpath_var=LD_RUN_PATH
 
28038
+      hardcode_runpath_var=yes
 
28039
+      ;;
 
28040
+
 
28041
+    solaris*)
 
28042
+      no_undefined_flag_F77=' -z text'
 
28043
+      if test "$GCC" = yes; then
 
28044
+       archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
28045
+       archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
28046
+         $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
28047
+      else
 
28048
+       archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
28049
+       archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
28050
+       $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
28051
+      fi
 
28052
+      hardcode_libdir_flag_spec_F77='-R$libdir'
 
28053
+      hardcode_shlibpath_var_F77=no
 
28054
+      case $host_os in
 
28055
+      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
28056
+      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
 
28057
+       whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
 
28058
+      esac
 
28059
+      link_all_deplibs_F77=yes
 
28060
+      ;;
 
28061
+
 
28062
+    sunos4*)
 
28063
+      if test "x$host_vendor" = xsequent; then
 
28064
+       # Use $CC to link under sequent, because it throws in some extra .o
 
28065
+       # files that make .init and .fini sections work.
 
28066
+       archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
28067
+      else
 
28068
+       archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
28069
+      fi
 
28070
+      hardcode_libdir_flag_spec_F77='-L$libdir'
 
28071
+      hardcode_direct_F77=yes
 
28072
+      hardcode_minus_L_F77=yes
 
28073
+      hardcode_shlibpath_var_F77=no
 
28074
+      ;;
 
28075
+
 
28076
+    sysv4)
 
28077
+      case $host_vendor in
 
28078
+       sni)
 
28079
+         archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
28080
+         hardcode_direct_F77=yes # is this really true???
 
28081
+       ;;
 
28082
+       siemens)
 
28083
+         ## LD is ld it makes a PLAMLIB
 
28084
+         ## CC just makes a GrossModule.
 
28085
+         archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
28086
+         reload_cmds_F77='$CC -r -o $output$reload_objs'
 
28087
+         hardcode_direct_F77=no
 
28088
+        ;;
 
28089
+       motorola)
 
28090
+         archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
28091
+         hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
 
28092
+       ;;
 
28093
+      esac
 
28094
+      runpath_var='LD_RUN_PATH'
 
28095
+      hardcode_shlibpath_var_F77=no
 
28096
+      ;;
 
28097
+
 
28098
+    sysv4.3*)
 
28099
+      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
28100
+      hardcode_shlibpath_var_F77=no
 
28101
+      export_dynamic_flag_spec_F77='-Bexport'
 
28102
+      ;;
 
28103
+
 
28104
+    sysv4*MP*)
 
28105
+      if test -d /usr/nec; then
 
28106
+       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
28107
+       hardcode_shlibpath_var_F77=no
 
28108
+       runpath_var=LD_RUN_PATH
 
28109
+       hardcode_runpath_var=yes
 
28110
+       ld_shlibs_F77=yes
 
28111
+      fi
 
28112
+      ;;
 
28113
+
 
28114
+    sysv4.2uw2*)
 
28115
+      archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
28116
+      hardcode_direct_F77=yes
 
28117
+      hardcode_minus_L_F77=no
 
28118
+      hardcode_shlibpath_var_F77=no
 
28119
+      hardcode_runpath_var=yes
 
28120
+      runpath_var=LD_RUN_PATH
 
28121
+      ;;
 
28122
+
 
28123
+   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
 
28124
+      no_undefined_flag_F77='${wl}-z ${wl}text'
 
28125
+      if test "$GCC" = yes; then
 
28126
+       archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
28127
+      else
 
28128
+       archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
28129
+      fi
 
28130
+      runpath_var='LD_RUN_PATH'
 
28131
+      hardcode_shlibpath_var_F77=no
 
28132
+      ;;
 
28133
+
 
28134
+    sysv5*)
 
28135
+      no_undefined_flag_F77=' -z text'
 
28136
+      # $CC -shared without GNU ld will not create a library from C++
 
28137
+      # object files and a static libstdc++, better avoid it by now
 
28138
+      archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
28139
+      archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
28140
+               $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
28141
+      hardcode_libdir_flag_spec_F77=
 
28142
+      hardcode_shlibpath_var_F77=no
 
28143
+      runpath_var='LD_RUN_PATH'
 
28144
+      ;;
 
28145
+
 
28146
+    uts4*)
 
28147
+      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
28148
+      hardcode_libdir_flag_spec_F77='-L$libdir'
 
28149
+      hardcode_shlibpath_var_F77=no
 
28150
+      ;;
 
28151
+
 
28152
+    *)
 
28153
+      ld_shlibs_F77=no
 
28154
+      ;;
 
28155
+    esac
 
28156
+  fi
 
28157
+
 
28158
+echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
28159
+echo "${ECHO_T}$ld_shlibs_F77" >&6
 
28160
+test "$ld_shlibs_F77" = no && can_build_shared=no
 
28161
+
 
28162
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
28163
+if test "$GCC" = yes; then
 
28164
+  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
28165
+fi
 
28166
+
 
28167
+#
 
28168
+# Do we need to explicitly link libc?
 
28169
+#
 
28170
+case "x$archive_cmds_need_lc_F77" in
 
28171
+x|xyes)
 
28172
+  # Assume -lc should be added
 
28173
+  archive_cmds_need_lc_F77=yes
 
28174
+
 
28175
+  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
28176
+    case $archive_cmds_F77 in
 
28177
+    *'~'*)
 
28178
+      # FIXME: we may have to deal with multi-command sequences.
 
28179
+      ;;
 
28180
+    '$CC '*)
 
28181
+      # Test whether the compiler implicitly links with -lc since on some
 
28182
+      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
28183
+      # to ld, don't add -lc before -lgcc.
 
28184
+      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
28185
+echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
28186
+      $rm conftest*
 
28187
+      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
28188
+
 
28189
+      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
28190
+  (eval $ac_compile) 2>&5
 
28191
+  ac_status=$?
 
28192
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28193
+  (exit $ac_status); } 2>conftest.err; then
 
28194
+        soname=conftest
 
28195
+        lib=conftest
 
28196
+        libobjs=conftest.$ac_objext
 
28197
+        deplibs=
 
28198
+        wl=$lt_prog_compiler_wl_F77
 
28199
+        compiler_flags=-v
 
28200
+        linker_flags=-v
 
28201
+        verstring=
 
28202
+        output_objdir=.
 
28203
+        libname=conftest
 
28204
+        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
 
28205
+        allow_undefined_flag_F77=
 
28206
+        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
28207
+  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
28208
+  ac_status=$?
 
28209
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28210
+  (exit $ac_status); }
 
28211
+        then
 
28212
+         archive_cmds_need_lc_F77=no
 
28213
+        else
 
28214
+         archive_cmds_need_lc_F77=yes
 
28215
+        fi
 
28216
+        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
 
28217
+      else
 
28218
+        cat conftest.err 1>&5
 
28219
+      fi
 
28220
+      $rm conftest*
 
28221
+      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
28222
+echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
28223
+      ;;
 
28224
+    esac
 
28225
+  fi
 
28226
+  ;;
 
28227
+esac
 
28228
+
 
28229
+echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
28230
+echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
28231
+library_names_spec=
 
28232
+libname_spec='lib$name'
 
28233
+soname_spec=
 
28234
+shrext_cmds=".so"
 
28235
+postinstall_cmds=
 
28236
+postuninstall_cmds=
 
28237
+finish_cmds=
 
28238
+finish_eval=
 
28239
+shlibpath_var=
 
28240
+shlibpath_overrides_runpath=unknown
 
28241
+version_type=none
 
28242
+dynamic_linker="$host_os ld.so"
 
28243
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
28244
+if test "$GCC" = yes; then
 
28245
+  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
28246
+  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
28247
+    # if the path contains ";" then we assume it to be the separator
 
28248
+    # otherwise default to the standard path separator (i.e. ":") - it is
 
28249
+    # assumed that no part of a normal pathname contains ";" but that should
 
28250
+    # okay in the real world where ";" in dirpaths is itself problematic.
 
28251
+    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
28252
+  else
 
28253
+    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
28254
+  fi
 
28255
+else
 
28256
+  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
28257
+fi
 
28258
+need_lib_prefix=unknown
 
28259
+hardcode_into_libs=no
 
28260
+
 
28261
+# when you set need_version to no, make sure it does not cause -set_version
 
28262
+# flags to be left without arguments
 
28263
+need_version=unknown
 
28264
+
 
28265
+case $host_os in
 
28266
+aix3*)
 
28267
+  version_type=linux
 
28268
+  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
28269
+  shlibpath_var=LIBPATH
 
28270
+
 
28271
+  # AIX 3 has no versioning support, so we append a major version to the name.
 
28272
+  soname_spec='${libname}${release}${shared_ext}$major'
 
28273
+  ;;
 
28274
+
 
28275
+aix4* | aix5*)
 
28276
+  version_type=linux
 
28277
+  need_lib_prefix=no
 
28278
+  need_version=no
 
28279
+  hardcode_into_libs=yes
 
28280
+  if test "$host_cpu" = ia64; then
 
28281
+    # AIX 5 supports IA64
 
28282
+    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
28283
+    shlibpath_var=LD_LIBRARY_PATH
 
28284
+  else
 
28285
+    # With GCC up to 2.95.x, collect2 would create an import file
 
28286
+    # for dependence libraries.  The import file would start with
 
28287
+    # the line `#! .'.  This would cause the generated library to
 
28288
+    # depend on `.', always an invalid library.  This was fixed in
 
28289
+    # development snapshots of GCC prior to 3.0.
 
28290
+    case $host_os in
 
28291
+      aix4 | aix4.[01] | aix4.[01].*)
 
28292
+      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
28293
+          echo ' yes '
 
28294
+          echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
28295
+       :
 
28296
+      else
 
28297
+       can_build_shared=no
 
28298
+      fi
 
28299
+      ;;
 
28300
+    esac
 
28301
+    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
28302
+    # soname into executable. Probably we can add versioning support to
 
28303
+    # collect2, so additional links can be useful in future.
 
28304
+    if test "$aix_use_runtimelinking" = yes; then
 
28305
+      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
28306
+      # instead of lib<name>.a to let people know that these are not
 
28307
+      # typical AIX shared libraries.
 
28308
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
28309
+    else
 
28310
+      # We preserve .a as extension for shared libraries through AIX4.2
 
28311
+      # and later when we are not doing run time linking.
 
28312
+      library_names_spec='${libname}${release}.a $libname.a'
 
28313
+      soname_spec='${libname}${release}${shared_ext}$major'
 
28314
+    fi
 
28315
+    shlibpath_var=LIBPATH
 
28316
+  fi
 
28317
+  ;;
 
28318
+
 
28319
+amigaos*)
 
28320
+  library_names_spec='$libname.ixlibrary $libname.a'
 
28321
+  # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
28322
+  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'
 
28323
+  ;;
 
28324
+
 
28325
+beos*)
 
28326
+  library_names_spec='${libname}${shared_ext}'
 
28327
+  dynamic_linker="$host_os ld.so"
 
28328
+  shlibpath_var=LIBRARY_PATH
 
28329
+  ;;
 
28330
+
 
28331
+bsdi4*)
 
28332
+  version_type=linux
 
28333
+  need_version=no
 
28334
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
28335
+  soname_spec='${libname}${release}${shared_ext}$major'
 
28336
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
28337
+  shlibpath_var=LD_LIBRARY_PATH
 
28338
+  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
28339
+  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
28340
+  # the default ld.so.conf also contains /usr/contrib/lib and
 
28341
+  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
28342
+  # libtool to hard-code these into programs
 
28343
+  ;;
 
28344
+
 
28345
+cygwin* | mingw* | pw32*)
 
28346
+  version_type=windows
 
28347
+  shrext_cmds=".dll"
 
28348
+  need_version=no
 
28349
+  need_lib_prefix=no
 
28350
+
 
28351
+  case $GCC,$host_os in
 
28352
+  yes,cygwin* | yes,mingw* | yes,pw32*)
 
28353
+    library_names_spec='$libname.dll.a'
 
28354
+    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
28355
+    postinstall_cmds='base_file=`basename \${file}`~
 
28356
+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
28357
+      dldir=$destdir/`dirname \$dlpath`~
 
28358
+      test -d \$dldir || mkdir -p \$dldir~
 
28359
+      $install_prog $dir/$dlname \$dldir/$dlname'
 
28360
+    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
28361
+      dlpath=$dir/\$dldll~
 
28362
+       $rm \$dlpath'
 
28363
+    shlibpath_overrides_runpath=yes
 
28364
+
 
28365
+    case $host_os in
 
28366
+    cygwin*)
 
28367
+      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
28368
+      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
28369
+      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
28370
+      ;;
 
28371
+    mingw*)
 
28372
+      # MinGW DLLs use traditional 'lib' prefix
 
28373
+      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
28374
+      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
28375
+      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
28376
+        # It is most probably a Windows format PATH printed by
 
28377
+        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
28378
+        # path with ; separators, and with drive letters. We can handle the
 
28379
+        # drive letters (cygwin fileutils understands them), so leave them,
 
28380
+        # especially as we might pass files found there to a mingw objdump,
 
28381
+        # which wouldn't understand a cygwinified path. Ahh.
 
28382
+        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
28383
+      else
 
28384
+        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
28385
+      fi
 
28386
+      ;;
 
28387
+    pw32*)
 
28388
+      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
28389
+      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
28390
+      ;;
 
28391
+    esac
 
28392
+    ;;
 
28393
+
 
28394
+  *)
 
28395
+    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
28396
+    ;;
 
28397
+  esac
 
28398
+  dynamic_linker='Win32 ld.exe'
 
28399
+  # FIXME: first we should search . and the directory the executable is in
 
28400
+  shlibpath_var=PATH
 
28401
+  ;;
 
28402
+
 
28403
+darwin* | rhapsody*)
 
28404
+  dynamic_linker="$host_os dyld"
 
28405
+  version_type=darwin
 
28406
+  need_lib_prefix=no
 
28407
+  need_version=no
 
28408
+  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
28409
+  soname_spec='${libname}${release}${major}$shared_ext'
 
28410
+  shlibpath_overrides_runpath=yes
 
28411
+  shlibpath_var=DYLD_LIBRARY_PATH
 
28412
+  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
28413
+  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
 
28414
+  if test "$GCC" = yes; then
 
28415
+    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
 
28416
+  else
 
28417
+    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
 
28418
+  fi
 
28419
+  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
28420
+  ;;
 
28421
+
 
28422
+dgux*)
 
28423
+  version_type=linux
 
28424
+  need_lib_prefix=no
 
28425
+  need_version=no
 
28426
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
28427
+  soname_spec='${libname}${release}${shared_ext}$major'
 
28428
+  shlibpath_var=LD_LIBRARY_PATH
 
28429
+  ;;
 
28430
+
 
28431
+freebsd1*)
 
28432
+  dynamic_linker=no
 
28433
+  ;;
 
28434
+
 
28435
+kfreebsd*-gnu)
 
28436
+  version_type=linux
 
28437
+  need_lib_prefix=no
 
28438
+  need_version=no
 
28439
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
28440
+  soname_spec='${libname}${release}${shared_ext}$major'
 
28441
+  shlibpath_var=LD_LIBRARY_PATH
 
28442
+  shlibpath_overrides_runpath=no
 
28443
+  hardcode_into_libs=yes
 
28444
+  dynamic_linker='GNU ld.so'
 
28445
+  ;;
 
28446
+
 
28447
+freebsd*)
 
28448
+  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
28449
+  version_type=freebsd-$objformat
 
28450
+  case $version_type in
 
28451
+    freebsd-elf*)
 
28452
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
28453
+      need_version=no
 
28454
+      need_lib_prefix=no
 
28455
+      ;;
 
28456
+    freebsd-*)
 
28457
+      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
28458
+      need_version=yes
 
28459
+      ;;
 
28460
+  esac
 
28461
+  shlibpath_var=LD_LIBRARY_PATH
 
28462
+  case $host_os in
 
28463
+  freebsd2*)
 
28464
+    shlibpath_overrides_runpath=yes
 
28465
+    ;;
 
28466
+  freebsd3.01* | freebsdelf3.01*)
 
28467
+    shlibpath_overrides_runpath=yes
 
28468
+    hardcode_into_libs=yes
 
28469
+    ;;
 
28470
+  *) # from 3.2 on
 
28471
+    shlibpath_overrides_runpath=no
 
28472
+    hardcode_into_libs=yes
 
28473
+    ;;
 
28474
+  esac
 
28475
+  ;;
 
28476
+
 
28477
+gnu*)
 
28478
+  version_type=linux
 
28479
+  need_lib_prefix=no
 
28480
+  need_version=no
 
28481
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
28482
+  soname_spec='${libname}${release}${shared_ext}$major'
 
28483
+  shlibpath_var=LD_LIBRARY_PATH
 
28484
+  hardcode_into_libs=yes
 
28485
+  ;;
 
28486
+
 
28487
+hpux9* | hpux10* | hpux11*)
 
28488
+  # Give a soname corresponding to the major version so that dld.sl refuses to
 
28489
+  # link against other versions.
 
28490
+  version_type=sunos
 
28491
+  need_lib_prefix=no
 
28492
+  need_version=no
 
28493
+  case "$host_cpu" in
 
28494
+  ia64*)
 
28495
+    shrext_cmds='.so'
 
28496
+    hardcode_into_libs=yes
 
28497
+    dynamic_linker="$host_os dld.so"
 
28498
+    shlibpath_var=LD_LIBRARY_PATH
 
28499
+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
28500
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
28501
+    soname_spec='${libname}${release}${shared_ext}$major'
 
28502
+    if test "X$HPUX_IA64_MODE" = X32; then
 
28503
+      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
28504
+    else
 
28505
+      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
28506
+    fi
 
28507
+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
28508
+    ;;
 
28509
+   hppa*64*)
 
28510
+     shrext_cmds='.sl'
 
28511
+     hardcode_into_libs=yes
 
28512
+     dynamic_linker="$host_os dld.sl"
 
28513
+     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
28514
+     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
28515
+     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
28516
+     soname_spec='${libname}${release}${shared_ext}$major'
 
28517
+     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
28518
+     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
28519
+     ;;
 
28520
+   *)
 
28521
+    shrext_cmds='.sl'
 
28522
+    dynamic_linker="$host_os dld.sl"
 
28523
+    shlibpath_var=SHLIB_PATH
 
28524
+    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
28525
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
28526
+    soname_spec='${libname}${release}${shared_ext}$major'
 
28527
+    ;;
 
28528
+  esac
 
28529
+  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
28530
+  postinstall_cmds='chmod 555 $lib'
 
28531
+  ;;
 
28532
+
 
28533
+irix5* | irix6* | nonstopux*)
 
28534
+  case $host_os in
 
28535
+    nonstopux*) version_type=nonstopux ;;
 
28536
+    *)
 
28537
+       if test "$lt_cv_prog_gnu_ld" = yes; then
 
28538
+               version_type=linux
 
28539
+       else
 
28540
+               version_type=irix
 
28541
+       fi ;;
 
28542
+  esac
 
28543
+  need_lib_prefix=no
 
28544
+  need_version=no
 
28545
+  soname_spec='${libname}${release}${shared_ext}$major'
 
28546
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
28547
+  case $host_os in
 
28548
+  irix5* | nonstopux*)
 
28549
+    libsuff= shlibsuff=
 
28550
+    ;;
 
28551
+  *)
 
28552
+    case $LD in # libtool.m4 will add one of these switches to LD
 
28553
+    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
28554
+      libsuff= shlibsuff= libmagic=32-bit;;
 
28555
+    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
28556
+      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
28557
+    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
28558
+      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
28559
+    *) libsuff= shlibsuff= libmagic=never-match;;
 
28560
+    esac
 
28561
+    ;;
 
28562
+  esac
 
28563
+  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
28564
+  shlibpath_overrides_runpath=no
 
28565
+  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
28566
+  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
28567
+  hardcode_into_libs=yes
 
28568
+  ;;
 
28569
+
 
28570
+# No shared lib support for Linux oldld, aout, or coff.
 
28571
+linux*oldld* | linux*aout* | linux*coff*)
 
28572
+  dynamic_linker=no
 
28573
+  ;;
 
28574
+
 
28575
+# This must be Linux ELF.
 
28576
+linux*)
 
28577
+  version_type=linux
 
28578
+  need_lib_prefix=no
 
28579
+  need_version=no
 
28580
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
28581
+  soname_spec='${libname}${release}${shared_ext}$major'
 
28582
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
28583
+  shlibpath_var=LD_LIBRARY_PATH
 
28584
+  shlibpath_overrides_runpath=no
 
28585
+  # This implies no fast_install, which is unacceptable.
 
28586
+  # Some rework will be needed to allow for fast_install
 
28587
+  # before this can be enabled.
 
28588
+  hardcode_into_libs=yes
 
28589
+
 
28590
+  # Append ld.so.conf contents to the search path
 
28591
+  if test -f /etc/ld.so.conf; then
 
28592
+    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
 
28593
+    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
28594
+  fi
 
28595
+
 
28596
+  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
28597
+  # powerpc, because MkLinux only supported shared libraries with the
 
28598
+  # GNU dynamic linker.  Since this was broken with cross compilers,
 
28599
+  # most powerpc-linux boxes support dynamic linking these days and
 
28600
+  # people can always --disable-shared, the test was removed, and we
 
28601
+  # assume the GNU/Linux dynamic linker is in use.
 
28602
+  dynamic_linker='GNU/Linux ld.so'
 
28603
+  ;;
 
28604
+
 
28605
+netbsdelf*-gnu)
 
28606
+  version_type=linux
 
28607
+  need_lib_prefix=no
 
28608
+  need_version=no
 
28609
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
28610
+  soname_spec='${libname}${release}${shared_ext}$major'
 
28611
+  shlibpath_var=LD_LIBRARY_PATH
 
28612
+  shlibpath_overrides_runpath=no
 
28613
+  hardcode_into_libs=yes
 
28614
+  dynamic_linker='NetBSD ld.elf_so'
 
28615
+  ;;
 
28616
+
 
28617
+knetbsd*-gnu)
 
28618
+  version_type=linux
 
28619
+  need_lib_prefix=no
 
28620
+  need_version=no
 
28621
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
28622
+  soname_spec='${libname}${release}${shared_ext}$major'
 
28623
+  shlibpath_var=LD_LIBRARY_PATH
 
28624
+  shlibpath_overrides_runpath=no
 
28625
+  hardcode_into_libs=yes
 
28626
+  dynamic_linker='GNU ld.so'
 
28627
+  ;;
 
28628
+
 
28629
+netbsd*)
 
28630
+  version_type=sunos
 
28631
+  need_lib_prefix=no
 
28632
+  need_version=no
 
28633
+  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
28634
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
28635
+    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
28636
+    dynamic_linker='NetBSD (a.out) ld.so'
 
28637
+  else
 
28638
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
28639
+    soname_spec='${libname}${release}${shared_ext}$major'
 
28640
+    dynamic_linker='NetBSD ld.elf_so'
 
28641
+  fi
 
28642
+  shlibpath_var=LD_LIBRARY_PATH
 
28643
+  shlibpath_overrides_runpath=yes
 
28644
+  hardcode_into_libs=yes
 
28645
+  ;;
 
28646
+
 
28647
+newsos6)
 
28648
+  version_type=linux
 
28649
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
28650
+  shlibpath_var=LD_LIBRARY_PATH
 
28651
+  shlibpath_overrides_runpath=yes
 
28652
+  ;;
 
28653
+
 
28654
+nto-qnx*)
 
28655
+  version_type=linux
 
28656
+  need_lib_prefix=no
 
28657
+  need_version=no
 
28658
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
28659
+  soname_spec='${libname}${release}${shared_ext}$major'
 
28660
+  shlibpath_var=LD_LIBRARY_PATH
 
28661
+  shlibpath_overrides_runpath=yes
 
28662
+  ;;
 
28663
+
 
28664
+openbsd*)
 
28665
+  version_type=sunos
 
28666
+  need_lib_prefix=no
 
28667
+  need_version=yes
 
28668
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
28669
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
28670
+  shlibpath_var=LD_LIBRARY_PATH
 
28671
+  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
28672
+    case $host_os in
 
28673
+      openbsd2.[89] | openbsd2.[89].*)
 
28674
+       shlibpath_overrides_runpath=no
 
28675
+       ;;
 
28676
+      *)
 
28677
+       shlibpath_overrides_runpath=yes
 
28678
+       ;;
 
28679
+      esac
 
28680
+  else
 
28681
+    shlibpath_overrides_runpath=yes
 
28682
+  fi
 
28683
+  ;;
 
28684
+
 
28685
+os2*)
 
28686
+  libname_spec='$name'
 
28687
+  shrext_cmds=".dll"
 
28688
+  need_lib_prefix=no
 
28689
+  library_names_spec='$libname${shared_ext} $libname.a'
 
28690
+  dynamic_linker='OS/2 ld.exe'
 
28691
+  shlibpath_var=LIBPATH
 
28692
+  ;;
 
28693
+
 
28694
+osf3* | osf4* | osf5*)
 
28695
+  version_type=osf
 
28696
+  need_lib_prefix=no
 
28697
+  need_version=no
 
28698
+  soname_spec='${libname}${release}${shared_ext}$major'
 
28699
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
28700
+  shlibpath_var=LD_LIBRARY_PATH
 
28701
+  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
28702
+  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
28703
+  ;;
 
28704
+
 
28705
+sco3.2v5*)
 
28706
+  version_type=osf
 
28707
+  soname_spec='${libname}${release}${shared_ext}$major'
 
28708
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
28709
+  shlibpath_var=LD_LIBRARY_PATH
 
28710
+  ;;
 
28711
+
 
28712
+solaris*)
 
28713
+  version_type=linux
 
28714
+  need_lib_prefix=no
 
28715
+  need_version=no
 
28716
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
28717
+  soname_spec='${libname}${release}${shared_ext}$major'
 
28718
+  shlibpath_var=LD_LIBRARY_PATH
 
28719
+  shlibpath_overrides_runpath=yes
 
28720
+  hardcode_into_libs=yes
 
28721
+  # ldd complains unless libraries are executable
 
28722
+  postinstall_cmds='chmod +x $lib'
 
28723
+  ;;
 
28724
+
 
28725
+sunos4*)
 
28726
+  version_type=sunos
 
28727
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
28728
+  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
28729
+  shlibpath_var=LD_LIBRARY_PATH
 
28730
+  shlibpath_overrides_runpath=yes
 
28731
+  if test "$with_gnu_ld" = yes; then
 
28732
+    need_lib_prefix=no
 
28733
+  fi
 
28734
+  need_version=yes
 
28735
+  ;;
 
28736
+
 
28737
+sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
28738
+  version_type=linux
 
28739
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
28740
+  soname_spec='${libname}${release}${shared_ext}$major'
 
28741
+  shlibpath_var=LD_LIBRARY_PATH
 
28742
+  case $host_vendor in
 
28743
+    sni)
 
28744
+      shlibpath_overrides_runpath=no
 
28745
+      need_lib_prefix=no
 
28746
+      export_dynamic_flag_spec='${wl}-Blargedynsym'
 
28747
+      runpath_var=LD_RUN_PATH
 
28748
+      ;;
 
28749
+    siemens)
 
28750
+      need_lib_prefix=no
 
28751
+      ;;
 
28752
+    motorola)
 
28753
+      need_lib_prefix=no
 
28754
+      need_version=no
 
28755
+      shlibpath_overrides_runpath=no
 
28756
+      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
28757
+      ;;
 
28758
+  esac
 
28759
+  ;;
 
28760
+
 
28761
+sysv4*MP*)
 
28762
+  if test -d /usr/nec ;then
 
28763
+    version_type=linux
 
28764
+    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
28765
+    soname_spec='$libname${shared_ext}.$major'
 
28766
+    shlibpath_var=LD_LIBRARY_PATH
 
28767
+  fi
 
28768
+  ;;
 
28769
+
 
28770
+uts4*)
 
28771
+  version_type=linux
 
28772
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
28773
+  soname_spec='${libname}${release}${shared_ext}$major'
 
28774
+  shlibpath_var=LD_LIBRARY_PATH
 
28775
+  ;;
 
28776
+
 
28777
+*)
 
28778
+  dynamic_linker=no
 
28779
+  ;;
 
28780
+esac
 
28781
+echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
28782
+echo "${ECHO_T}$dynamic_linker" >&6
 
28783
+test "$dynamic_linker" = no && can_build_shared=no
 
28784
+
 
28785
+echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
28786
+echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
28787
+hardcode_action_F77=
 
28788
+if test -n "$hardcode_libdir_flag_spec_F77" || \
 
28789
+   test -n "$runpath_var F77" || \
 
28790
+   test "X$hardcode_automatic_F77"="Xyes" ; then
 
28791
+
 
28792
+  # We can hardcode non-existant directories.
 
28793
+  if test "$hardcode_direct_F77" != no &&
 
28794
+     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
28795
+     # have to relink, otherwise we might link with an installed library
 
28796
+     # when we should be linking with a yet-to-be-installed one
 
28797
+     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
 
28798
+     test "$hardcode_minus_L_F77" != no; then
 
28799
+    # Linking always hardcodes the temporary library directory.
 
28800
+    hardcode_action_F77=relink
 
28801
+  else
 
28802
+    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
28803
+    hardcode_action_F77=immediate
 
28804
+  fi
 
28805
+else
 
28806
+  # We cannot hardcode anything, or else we can only hardcode existing
 
28807
+  # directories.
 
28808
+  hardcode_action_F77=unsupported
 
28809
+fi
 
28810
+echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
28811
+echo "${ECHO_T}$hardcode_action_F77" >&6
 
28812
+
 
28813
+if test "$hardcode_action_F77" = relink; then
 
28814
+  # Fast installation is not supported
 
28815
+  enable_fast_install=no
 
28816
+elif test "$shlibpath_overrides_runpath" = yes ||
 
28817
+     test "$enable_shared" = no; then
 
28818
+  # Fast installation is not necessary
 
28819
+  enable_fast_install=needless
 
28820
+fi
 
28821
+
 
28822
+striplib=
 
28823
+old_striplib=
 
28824
+echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
28825
+echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
28826
+if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
 
28827
+  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
28828
+  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
28829
+  echo "$as_me:$LINENO: result: yes" >&5
 
28830
+echo "${ECHO_T}yes" >&6
 
28831
+else
 
28832
+# FIXME - insert some real tests, host_os isn't really good enough
 
28833
+  case $host_os in
 
28834
+   darwin*)
 
28835
+       if test -n "$STRIP" ; then
 
28836
+         striplib="$STRIP -x"
 
28837
+         echo "$as_me:$LINENO: result: yes" >&5
 
28838
+echo "${ECHO_T}yes" >&6
 
28839
+       else
 
28840
+  echo "$as_me:$LINENO: result: no" >&5
 
28841
+echo "${ECHO_T}no" >&6
 
28842
+fi
 
28843
+       ;;
 
28844
+   *)
 
28845
+  echo "$as_me:$LINENO: result: no" >&5
 
28846
+echo "${ECHO_T}no" >&6
 
28847
+    ;;
 
28848
+  esac
 
28849
+fi
 
28850
+
 
28851
+
 
28852
+
 
28853
+# The else clause should only fire when bootstrapping the
 
28854
+# libtool distribution, otherwise you forgot to ship ltmain.sh
 
28855
+# with your package, and you will get complaints that there are
 
28856
+# no rules to generate ltmain.sh.
 
28857
+if test -f "$ltmain"; then
 
28858
+  # See if we are running on zsh, and set the options which allow our commands through
 
28859
+  # without removal of \ escapes.
 
28860
+  if test -n "${ZSH_VERSION+set}" ; then
 
28861
+    setopt NO_GLOB_SUBST
 
28862
+  fi
 
28863
+  # Now quote all the things that may contain metacharacters while being
 
28864
+  # careful not to overquote the AC_SUBSTed values.  We take copies of the
 
28865
+  # variables and quote the copies for generation of the libtool script.
 
28866
+  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
28867
+    SED SHELL STRIP \
 
28868
+    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 
28869
+    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 
28870
+    deplibs_check_method reload_flag reload_cmds need_locks \
 
28871
+    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 
28872
+    lt_cv_sys_global_symbol_to_c_name_address \
 
28873
+    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 
28874
+    old_postinstall_cmds old_postuninstall_cmds \
 
28875
+    compiler_F77 \
 
28876
+    CC_F77 \
 
28877
+    LD_F77 \
 
28878
+    lt_prog_compiler_wl_F77 \
 
28879
+    lt_prog_compiler_pic_F77 \
 
28880
+    lt_prog_compiler_static_F77 \
 
28881
+    lt_prog_compiler_no_builtin_flag_F77 \
 
28882
+    export_dynamic_flag_spec_F77 \
 
28883
+    thread_safe_flag_spec_F77 \
 
28884
+    whole_archive_flag_spec_F77 \
 
28885
+    enable_shared_with_static_runtimes_F77 \
 
28886
+    old_archive_cmds_F77 \
 
28887
+    old_archive_from_new_cmds_F77 \
 
28888
+    predep_objects_F77 \
 
28889
+    postdep_objects_F77 \
 
28890
+    predeps_F77 \
 
28891
+    postdeps_F77 \
 
28892
+    compiler_lib_search_path_F77 \
 
28893
+    archive_cmds_F77 \
 
28894
+    archive_expsym_cmds_F77 \
 
28895
+    postinstall_cmds_F77 \
 
28896
+    postuninstall_cmds_F77 \
 
28897
+    old_archive_from_expsyms_cmds_F77 \
 
28898
+    allow_undefined_flag_F77 \
 
28899
+    no_undefined_flag_F77 \
 
28900
+    export_symbols_cmds_F77 \
 
28901
+    hardcode_libdir_flag_spec_F77 \
 
28902
+    hardcode_libdir_flag_spec_ld_F77 \
 
28903
+    hardcode_libdir_separator_F77 \
 
28904
+    hardcode_automatic_F77 \
 
28905
+    module_cmds_F77 \
 
28906
+    module_expsym_cmds_F77 \
 
28907
+    lt_cv_prog_compiler_c_o_F77 \
 
28908
+    exclude_expsyms_F77 \
 
28909
+    include_expsyms_F77; do
 
28910
+
 
28911
+    case $var in
 
28912
+    old_archive_cmds_F77 | \
 
28913
+    old_archive_from_new_cmds_F77 | \
 
28914
+    archive_cmds_F77 | \
 
28915
+    archive_expsym_cmds_F77 | \
 
28916
+    module_cmds_F77 | \
 
28917
+    module_expsym_cmds_F77 | \
 
28918
+    old_archive_from_expsyms_cmds_F77 | \
 
28919
+    export_symbols_cmds_F77 | \
 
28920
+    extract_expsyms_cmds | reload_cmds | finish_cmds | \
 
28921
+    postinstall_cmds | postuninstall_cmds | \
 
28922
+    old_postinstall_cmds | old_postuninstall_cmds | \
 
28923
+    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 
28924
+      # Double-quote double-evaled strings.
 
28925
+      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 
28926
+      ;;
 
28927
+    *)
 
28928
+      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 
28929
+      ;;
 
28930
+    esac
 
28931
+  done
 
28932
+
 
28933
+  case $lt_echo in
 
28934
+  *'\$0 --fallback-echo"')
 
28935
+    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 
28936
+    ;;
 
28937
+  esac
 
28938
+
 
28939
+cfgfile="$ofile"
 
28940
+
 
28941
+  cat <<__EOF__ >> "$cfgfile"
 
28942
+# ### BEGIN LIBTOOL TAG CONFIG: $tagname
 
28943
+
 
28944
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
28945
+
 
28946
+# Shell to use when invoking shell scripts.
 
28947
+SHELL=$lt_SHELL
 
28948
+
 
28949
+# Whether or not to build shared libraries.
 
28950
+build_libtool_libs=$enable_shared
 
28951
+
 
28952
+# Whether or not to build static libraries.
 
28953
+build_old_libs=$enable_static
 
28954
+
 
28955
+# Whether or not to add -lc for building shared libraries.
 
28956
+build_libtool_need_lc=$archive_cmds_need_lc_F77
 
28957
+
 
28958
+# Whether or not to disallow shared libs when runtime libs are static
 
28959
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
 
28960
+
 
28961
+# Whether or not to optimize for fast installation.
 
28962
+fast_install=$enable_fast_install
 
28963
+
 
28964
+# The host system.
 
28965
+host_alias=$host_alias
 
28966
+host=$host
 
28967
+
 
28968
+# An echo program that does not interpret backslashes.
 
28969
+echo=$lt_echo
 
28970
+
 
28971
+# The archiver.
 
28972
+AR=$lt_AR
 
28973
+AR_FLAGS=$lt_AR_FLAGS
 
28974
+
 
28975
+# A C compiler.
 
28976
+LTCC=$lt_LTCC
 
28977
+
 
28978
+# A language-specific compiler.
 
28979
+CC=$lt_compiler_F77
 
28980
+
 
28981
+# Is the compiler the GNU C compiler?
 
28982
+with_gcc=$GCC_F77
 
28983
+
 
28984
+# An ERE matcher.
 
28985
+EGREP=$lt_EGREP
 
28986
+
 
28987
+# The linker used to build libraries.
 
28988
+LD=$lt_LD_F77
 
28989
+
 
28990
+# Whether we need hard or soft links.
 
28991
+LN_S=$lt_LN_S
 
28992
+
 
28993
+# A BSD-compatible nm program.
 
28994
+NM=$lt_NM
 
28995
+
 
28996
+# A symbol stripping program
 
28997
+STRIP=$lt_STRIP
 
28998
+
 
28999
+# Used to examine libraries when file_magic_cmd begins "file"
 
29000
+MAGIC_CMD=$MAGIC_CMD
 
29001
+
 
29002
+# Used on cygwin: DLL creation program.
 
29003
+DLLTOOL="$DLLTOOL"
 
29004
+
 
29005
+# Used on cygwin: object dumper.
 
29006
+OBJDUMP="$OBJDUMP"
 
29007
+
 
29008
+# Used on cygwin: assembler.
 
29009
+AS="$AS"
 
29010
+
 
29011
+# The name of the directory that contains temporary libtool files.
 
29012
+objdir=$objdir
 
29013
+
 
29014
+# How to create reloadable object files.
 
29015
+reload_flag=$lt_reload_flag
 
29016
+reload_cmds=$lt_reload_cmds
 
29017
+
 
29018
+# How to pass a linker flag through the compiler.
 
29019
+wl=$lt_lt_prog_compiler_wl_F77
 
29020
+
 
29021
+# Object file suffix (normally "o").
 
29022
+objext="$ac_objext"
 
29023
+
 
29024
+# Old archive suffix (normally "a").
 
29025
+libext="$libext"
 
29026
+
 
29027
+# Shared library suffix (normally ".so").
 
29028
+shrext_cmds='$shrext_cmds'
 
29029
+
 
29030
+# Executable file suffix (normally "").
 
29031
+exeext="$exeext"
 
29032
+
 
29033
+# Additional compiler flags for building library objects.
 
29034
+pic_flag=$lt_lt_prog_compiler_pic_F77
 
29035
+pic_mode=$pic_mode
 
29036
+
 
29037
+# What is the maximum length of a command?
 
29038
+max_cmd_len=$lt_cv_sys_max_cmd_len
 
29039
+
 
29040
+# Does compiler simultaneously support -c and -o options?
 
29041
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
 
29042
+
 
29043
+# Must we lock files when doing compilation ?
 
29044
+need_locks=$lt_need_locks
 
29045
+
 
29046
+# Do we need the lib prefix for modules?
 
29047
+need_lib_prefix=$need_lib_prefix
 
29048
+
 
29049
+# Do we need a version for libraries?
 
29050
+need_version=$need_version
 
29051
+
 
29052
+# Whether dlopen is supported.
 
29053
+dlopen_support=$enable_dlopen
 
29054
+
 
29055
+# Whether dlopen of programs is supported.
 
29056
+dlopen_self=$enable_dlopen_self
 
29057
+
 
29058
+# Whether dlopen of statically linked programs is supported.
 
29059
+dlopen_self_static=$enable_dlopen_self_static
 
29060
+
 
29061
+# Compiler flag to prevent dynamic linking.
 
29062
+link_static_flag=$lt_lt_prog_compiler_static_F77
 
29063
+
 
29064
+# Compiler flag to turn off builtin functions.
 
29065
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
 
29066
+
 
29067
+# Compiler flag to allow reflexive dlopens.
 
29068
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
 
29069
+
 
29070
+# Compiler flag to generate shared objects directly from archives.
 
29071
+whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
 
29072
+
 
29073
+# Compiler flag to generate thread-safe objects.
 
29074
+thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
 
29075
+
 
29076
+# Library versioning type.
 
29077
+version_type=$version_type
 
29078
+
 
29079
+# Format of library name prefix.
 
29080
+libname_spec=$lt_libname_spec
 
29081
+
 
29082
+# List of archive names.  First name is the real one, the rest are links.
 
29083
+# The last name is the one that the linker finds with -lNAME.
 
29084
+library_names_spec=$lt_library_names_spec
 
29085
+
 
29086
+# The coded name of the library, if different from the real name.
 
29087
+soname_spec=$lt_soname_spec
 
29088
+
 
29089
+# Commands used to build and install an old-style archive.
 
29090
+RANLIB=$lt_RANLIB
 
29091
+old_archive_cmds=$lt_old_archive_cmds_F77
 
29092
+old_postinstall_cmds=$lt_old_postinstall_cmds
 
29093
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
29094
+
 
29095
+# Create an old-style archive from a shared archive.
 
29096
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
 
29097
+
 
29098
+# Create a temporary old-style archive to link instead of a shared archive.
 
29099
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
 
29100
+
 
29101
+# Commands used to build and install a shared archive.
 
29102
+archive_cmds=$lt_archive_cmds_F77
 
29103
+archive_expsym_cmds=$lt_archive_expsym_cmds_F77
 
29104
+postinstall_cmds=$lt_postinstall_cmds
 
29105
+postuninstall_cmds=$lt_postuninstall_cmds
 
29106
+
 
29107
+# Commands used to build a loadable module (assumed same as above if empty)
 
29108
+module_cmds=$lt_module_cmds_F77
 
29109
+module_expsym_cmds=$lt_module_expsym_cmds_F77
 
29110
+
 
29111
+# Commands to strip libraries.
 
29112
+old_striplib=$lt_old_striplib
 
29113
+striplib=$lt_striplib
 
29114
+
 
29115
+# Dependencies to place before the objects being linked to create a
 
29116
+# shared library.
 
29117
+predep_objects=$lt_predep_objects_F77
 
29118
+
 
29119
+# Dependencies to place after the objects being linked to create a
 
29120
+# shared library.
 
29121
+postdep_objects=$lt_postdep_objects_F77
 
29122
+
 
29123
+# Dependencies to place before the objects being linked to create a
 
29124
+# shared library.
 
29125
+predeps=$lt_predeps_F77
 
29126
+
 
29127
+# Dependencies to place after the objects being linked to create a
 
29128
+# shared library.
 
29129
+postdeps=$lt_postdeps_F77
 
29130
+
 
29131
+# The library search path used internally by the compiler when linking
 
29132
+# a shared library.
 
29133
+compiler_lib_search_path=$lt_compiler_lib_search_path_F77
 
29134
+
 
29135
+# Method to check whether dependent libraries are shared objects.
 
29136
+deplibs_check_method=$lt_deplibs_check_method
 
29137
+
 
29138
+# Command to use when deplibs_check_method == file_magic.
 
29139
+file_magic_cmd=$lt_file_magic_cmd
 
29140
+
 
29141
+# Flag that allows shared libraries with undefined symbols to be built.
 
29142
+allow_undefined_flag=$lt_allow_undefined_flag_F77
 
29143
+
 
29144
+# Flag that forces no undefined symbols.
 
29145
+no_undefined_flag=$lt_no_undefined_flag_F77
 
29146
+
 
29147
+# Commands used to finish a libtool library installation in a directory.
 
29148
+finish_cmds=$lt_finish_cmds
 
29149
+
 
29150
+# Same as above, but a single script fragment to be evaled but not shown.
 
29151
+finish_eval=$lt_finish_eval
 
29152
+
 
29153
+# Take the output of nm and produce a listing of raw symbols and C names.
 
29154
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
29155
+
 
29156
+# Transform the output of nm in a proper C declaration
 
29157
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
29158
+
 
29159
+# Transform the output of nm in a C name address pair
 
29160
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
29161
+
 
29162
+# This is the shared library runtime path variable.
 
29163
+runpath_var=$runpath_var
 
29164
+
 
29165
+# This is the shared library path variable.
 
29166
+shlibpath_var=$shlibpath_var
 
29167
+
 
29168
+# Is shlibpath searched before the hard-coded library search path?
 
29169
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
29170
+
 
29171
+# How to hardcode a shared library path into an executable.
 
29172
+hardcode_action=$hardcode_action_F77
 
29173
+
 
29174
+# Whether we should hardcode library paths into libraries.
 
29175
+hardcode_into_libs=$hardcode_into_libs
 
29176
+
 
29177
+# Flag to hardcode \$libdir into a binary during linking.
 
29178
+# This must work even if \$libdir does not exist.
 
29179
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
 
29180
+
 
29181
+# If ld is used when linking, flag to hardcode \$libdir into
 
29182
+# a binary during linking. This must work even if \$libdir does
 
29183
+# not exist.
 
29184
+hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
 
29185
+
 
29186
+# Whether we need a single -rpath flag with a separated argument.
 
29187
+hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
 
29188
+
 
29189
+# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 
29190
+# resulting binary.
 
29191
+hardcode_direct=$hardcode_direct_F77
 
29192
+
 
29193
+# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 
29194
+# resulting binary.
 
29195
+hardcode_minus_L=$hardcode_minus_L_F77
 
29196
+
 
29197
+# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 
29198
+# the resulting binary.
 
29199
+hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
 
29200
+
 
29201
+# Set to yes if building a shared library automatically hardcodes DIR into the library
 
29202
+# and all subsequent libraries and executables linked against it.
 
29203
+hardcode_automatic=$hardcode_automatic_F77
 
29204
+
 
29205
+# Variables whose values should be saved in libtool wrapper scripts and
 
29206
+# restored at relink time.
 
29207
+variables_saved_for_relink="$variables_saved_for_relink"
 
29208
+
 
29209
+# Whether libtool must link a program against all its dependency libraries.
 
29210
+link_all_deplibs=$link_all_deplibs_F77
 
29211
+
 
29212
+# Compile-time system search path for libraries
 
29213
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
29214
+
 
29215
+# Run-time system search path for libraries
 
29216
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
29217
+
 
29218
+# Fix the shell variable \$srcfile for the compiler.
 
29219
+fix_srcfile_path="$fix_srcfile_path_F77"
 
29220
+
 
29221
+# Set to yes if exported symbols are required.
 
29222
+always_export_symbols=$always_export_symbols_F77
 
29223
+
 
29224
+# The commands to list exported symbols.
 
29225
+export_symbols_cmds=$lt_export_symbols_cmds_F77
 
29226
+
 
29227
+# The commands to extract the exported symbol list from a shared archive.
 
29228
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
29229
+
 
29230
+# Symbols that should not be listed in the preloaded symbols.
 
29231
+exclude_expsyms=$lt_exclude_expsyms_F77
 
29232
+
 
29233
+# Symbols that must always be exported.
 
29234
+include_expsyms=$lt_include_expsyms_F77
 
29235
+
 
29236
+# ### END LIBTOOL TAG CONFIG: $tagname
 
29237
+
 
29238
+__EOF__
 
29239
+
 
29240
+
 
29241
+else
 
29242
+  # If there is no Makefile yet, we rely on a make rule to execute
 
29243
+  # `config.status --recheck' to rerun these tests and create the
 
29244
+  # libtool script then.
 
29245
+  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 
29246
+  if test -f "$ltmain_in"; then
 
29247
+    test -f Makefile && make "$ltmain"
 
29248
+  fi
 
29249
+fi
 
29250
+
 
29251
+
 
29252
+ac_ext=c
 
29253
+ac_cpp='$CPP $CPPFLAGS'
 
29254
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
29255
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
29256
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
29257
+
 
29258
+CC="$lt_save_CC"
 
29259
+
 
29260
+       else
 
29261
+         tagname=""
 
29262
+       fi
 
29263
+       ;;
 
29264
+
 
29265
+      GCJ)
 
29266
+       if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
 
29267
+
 
29268
+
 
29269
+
 
29270
+# Source file extension for Java test sources.
 
29271
+ac_ext=java
 
29272
+
 
29273
+# Object file extension for compiled Java test sources.
 
29274
+objext=o
 
29275
+objext_GCJ=$objext
 
29276
+
 
29277
+# Code to be used in simple compile tests
 
29278
+lt_simple_compile_test_code="class foo {}\n"
 
29279
+
 
29280
+# Code to be used in simple link tests
 
29281
+lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
 
29282
+
 
29283
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
29284
+
 
29285
+# If no C compiler was specified, use CC.
 
29286
+LTCC=${LTCC-"$CC"}
 
29287
+
 
29288
+# Allow CC to be a program name with arguments.
 
29289
+compiler=$CC
 
29290
+
 
29291
+
 
29292
+# Allow CC to be a program name with arguments.
 
29293
+lt_save_CC="$CC"
 
29294
+CC=${GCJ-"gcj"}
 
29295
+compiler=$CC
 
29296
+compiler_GCJ=$CC
 
29297
+
 
29298
+# GCJ did not exist at the time GCC didn't implicitly link libc in.
 
29299
+archive_cmds_need_lc_GCJ=no
 
29300
+
 
29301
+
 
29302
+lt_prog_compiler_no_builtin_flag_GCJ=
 
29303
+
 
29304
+if test "$GCC" = yes; then
 
29305
+  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
 
29306
+
 
29307
+
 
29308
+echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
29309
+echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
29310
+if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
29311
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
29312
+else
 
29313
+  lt_cv_prog_compiler_rtti_exceptions=no
 
29314
+  ac_outfile=conftest.$ac_objext
 
29315
+   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
29316
+   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
29317
+   # Insert the option either (1) after the last *FLAGS variable, or
 
29318
+   # (2) before a word containing "conftest.", or (3) at the end.
 
29319
+   # Note that $ac_compile itself does not contain backslashes and begins
 
29320
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
29321
+   # The option is referenced via a variable to avoid confusing sed.
 
29322
+   lt_compile=`echo "$ac_compile" | $SED \
 
29323
+   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
29324
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
29325
+   -e 's:$: $lt_compiler_flag:'`
 
29326
+   (eval echo "\"\$as_me:15491: $lt_compile\"" >&5)
 
29327
+   (eval "$lt_compile" 2>conftest.err)
 
29328
+   ac_status=$?
 
29329
+   cat conftest.err >&5
 
29330
+   echo "$as_me:15495: \$? = $ac_status" >&5
 
29331
+   if (exit $ac_status) && test -s "$ac_outfile"; then
 
29332
+     # The compiler can only warn and ignore the option if not recognized
 
29333
+     # So say no if there are warnings
 
29334
+     if test ! -s conftest.err; then
 
29335
+       lt_cv_prog_compiler_rtti_exceptions=yes
 
29336
+     fi
 
29337
+   fi
 
29338
+   $rm conftest*
 
29339
+
 
29340
+fi
 
29341
+echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
29342
+echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
29343
+
 
29344
+if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
29345
+    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
 
29346
+else
 
29347
+    :
 
29348
+fi
 
29349
+
 
29350
+fi
 
29351
+
 
29352
+lt_prog_compiler_wl_GCJ=
 
29353
+lt_prog_compiler_pic_GCJ=
 
29354
+lt_prog_compiler_static_GCJ=
 
29355
+
 
29356
+echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
29357
+echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
29358
+
 
29359
+  if test "$GCC" = yes; then
 
29360
+    lt_prog_compiler_wl_GCJ='-Wl,'
 
29361
+    lt_prog_compiler_static_GCJ='-static'
 
29362
+
 
29363
+    case $host_os in
 
29364
+      aix*)
 
29365
+      # All AIX code is PIC.
 
29366
+      if test "$host_cpu" = ia64; then
 
29367
+       # AIX 5 now supports IA64 processor
 
29368
+       lt_prog_compiler_static_GCJ='-Bstatic'
 
29369
+      fi
 
29370
+      ;;
 
29371
+
 
29372
+    amigaos*)
 
29373
+      # FIXME: we need at least 68020 code to build shared libraries, but
 
29374
+      # adding the `-m68020' flag to GCC prevents building anything better,
 
29375
+      # like `-m68040'.
 
29376
+      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
 
29377
+      ;;
 
29378
+
 
29379
+    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
29380
+      # PIC is the default for these OSes.
 
29381
+      ;;
 
29382
+
 
29383
+    mingw* | pw32* | os2*)
 
29384
+      # This hack is so that the source file can tell whether it is being
 
29385
+      # built for inclusion in a dll (and should export symbols for example).
 
29386
+      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
29387
+      ;;
 
29388
+
 
29389
+    darwin* | rhapsody*)
 
29390
+      # PIC is the default on this platform
 
29391
+      # Common symbols not allowed in MH_DYLIB files
 
29392
+      lt_prog_compiler_pic_GCJ='-fno-common'
 
29393
+      ;;
 
29394
+
 
29395
+    msdosdjgpp*)
 
29396
+      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
29397
+      # on systems that don't support them.
 
29398
+      lt_prog_compiler_can_build_shared_GCJ=no
 
29399
+      enable_shared=no
 
29400
+      ;;
 
29401
+
 
29402
+    sysv4*MP*)
 
29403
+      if test -d /usr/nec; then
 
29404
+       lt_prog_compiler_pic_GCJ=-Kconform_pic
 
29405
+      fi
 
29406
+      ;;
 
29407
+
 
29408
+    hpux*)
 
29409
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
29410
+      # not for PA HP-UX.
 
29411
+      case "$host_cpu" in
 
29412
+      hppa*64*|ia64*)
 
29413
+       # +Z the default
 
29414
+       ;;
 
29415
+      *)
 
29416
+       lt_prog_compiler_pic_GCJ='-fPIC'
 
29417
+       ;;
 
29418
+      esac
 
29419
+      ;;
 
29420
+
 
29421
+    *)
 
29422
+      lt_prog_compiler_pic_GCJ='-fPIC'
 
29423
+      ;;
 
29424
+    esac
 
29425
+  else
 
29426
+    # PORTME Check for flag to pass linker flags through the system compiler.
 
29427
+    case $host_os in
 
29428
+    aix*)
 
29429
+      lt_prog_compiler_wl_GCJ='-Wl,'
 
29430
+      if test "$host_cpu" = ia64; then
 
29431
+       # AIX 5 now supports IA64 processor
 
29432
+       lt_prog_compiler_static_GCJ='-Bstatic'
 
29433
+      else
 
29434
+       lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
 
29435
+      fi
 
29436
+      ;;
 
29437
+
 
29438
+    mingw* | pw32* | os2*)
 
29439
+      # This hack is so that the source file can tell whether it is being
 
29440
+      # built for inclusion in a dll (and should export symbols for example).
 
29441
+      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
29442
+      ;;
 
29443
+
 
29444
+    hpux9* | hpux10* | hpux11*)
 
29445
+      lt_prog_compiler_wl_GCJ='-Wl,'
 
29446
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
29447
+      # not for PA HP-UX.
 
29448
+      case "$host_cpu" in
 
29449
+      hppa*64*|ia64*)
 
29450
+       # +Z the default
 
29451
+       ;;
 
29452
+      *)
 
29453
+       lt_prog_compiler_pic_GCJ='+Z'
 
29454
+       ;;
 
29455
+      esac
 
29456
+      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
29457
+      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
 
29458
+      ;;
 
29459
+
 
29460
+    irix5* | irix6* | nonstopux*)
 
29461
+      lt_prog_compiler_wl_GCJ='-Wl,'
 
29462
+      # PIC (with -KPIC) is the default.
 
29463
+      lt_prog_compiler_static_GCJ='-non_shared'
 
29464
+      ;;
 
29465
+
 
29466
+    newsos6)
 
29467
+      lt_prog_compiler_pic_GCJ='-KPIC'
 
29468
+      lt_prog_compiler_static_GCJ='-Bstatic'
 
29469
+      ;;
 
29470
+
 
29471
+    linux*)
 
29472
+      case $CC in
 
29473
+      icc* | ecc*)
 
29474
+       lt_prog_compiler_wl_GCJ='-Wl,'
 
29475
+       lt_prog_compiler_pic_GCJ='-KPIC'
 
29476
+       lt_prog_compiler_static_GCJ='-static'
 
29477
+        ;;
 
29478
+      ccc*)
 
29479
+        lt_prog_compiler_wl_GCJ='-Wl,'
 
29480
+        # All Alpha code is PIC.
 
29481
+        lt_prog_compiler_static_GCJ='-non_shared'
 
29482
+        ;;
 
29483
+      esac
 
29484
+      ;;
 
29485
+
 
29486
+    osf3* | osf4* | osf5*)
 
29487
+      lt_prog_compiler_wl_GCJ='-Wl,'
 
29488
+      # All OSF/1 code is PIC.
 
29489
+      lt_prog_compiler_static_GCJ='-non_shared'
 
29490
+      ;;
 
29491
+
 
29492
+    sco3.2v5*)
 
29493
+      lt_prog_compiler_pic_GCJ='-Kpic'
 
29494
+      lt_prog_compiler_static_GCJ='-dn'
 
29495
+      ;;
 
29496
+
 
29497
+    solaris*)
 
29498
+      lt_prog_compiler_wl_GCJ='-Wl,'
 
29499
+      lt_prog_compiler_pic_GCJ='-KPIC'
 
29500
+      lt_prog_compiler_static_GCJ='-Bstatic'
 
29501
+      ;;
 
29502
+
 
29503
+    sunos4*)
 
29504
+      lt_prog_compiler_wl_GCJ='-Qoption ld '
 
29505
+      lt_prog_compiler_pic_GCJ='-PIC'
 
29506
+      lt_prog_compiler_static_GCJ='-Bstatic'
 
29507
+      ;;
 
29508
+
 
29509
+    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
29510
+      lt_prog_compiler_wl_GCJ='-Wl,'
 
29511
+      lt_prog_compiler_pic_GCJ='-KPIC'
 
29512
+      lt_prog_compiler_static_GCJ='-Bstatic'
 
29513
+      ;;
 
29514
+
 
29515
+    sysv4*MP*)
 
29516
+      if test -d /usr/nec ;then
 
29517
+       lt_prog_compiler_pic_GCJ='-Kconform_pic'
 
29518
+       lt_prog_compiler_static_GCJ='-Bstatic'
 
29519
+      fi
 
29520
+      ;;
 
29521
+
 
29522
+    uts4*)
 
29523
+      lt_prog_compiler_pic_GCJ='-pic'
 
29524
+      lt_prog_compiler_static_GCJ='-Bstatic'
 
29525
+      ;;
 
29526
+
 
29527
+    *)
 
29528
+      lt_prog_compiler_can_build_shared_GCJ=no
 
29529
+      ;;
 
29530
+    esac
 
29531
+  fi
 
29532
+
 
29533
+echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
29534
+echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
29535
+
 
29536
+#
 
29537
+# Check to make sure the PIC flag actually works.
 
29538
+#
 
29539
+if test -n "$lt_prog_compiler_pic_GCJ"; then
 
29540
+
 
29541
+echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
29542
+echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 
29543
+if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
 
29544
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
29545
+else
 
29546
+  lt_prog_compiler_pic_works_GCJ=no
 
29547
+  ac_outfile=conftest.$ac_objext
 
29548
+   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
29549
+   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
 
29550
+   # Insert the option either (1) after the last *FLAGS variable, or
 
29551
+   # (2) before a word containing "conftest.", or (3) at the end.
 
29552
+   # Note that $ac_compile itself does not contain backslashes and begins
 
29553
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
29554
+   # The option is referenced via a variable to avoid confusing sed.
 
29555
+   lt_compile=`echo "$ac_compile" | $SED \
 
29556
+   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
29557
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
29558
+   -e 's:$: $lt_compiler_flag:'`
 
29559
+   (eval echo "\"\$as_me:15724: $lt_compile\"" >&5)
 
29560
+   (eval "$lt_compile" 2>conftest.err)
 
29561
+   ac_status=$?
 
29562
+   cat conftest.err >&5
 
29563
+   echo "$as_me:15728: \$? = $ac_status" >&5
 
29564
+   if (exit $ac_status) && test -s "$ac_outfile"; then
 
29565
+     # The compiler can only warn and ignore the option if not recognized
 
29566
+     # So say no if there are warnings
 
29567
+     if test ! -s conftest.err; then
 
29568
+       lt_prog_compiler_pic_works_GCJ=yes
 
29569
+     fi
 
29570
+   fi
 
29571
+   $rm conftest*
 
29572
+
 
29573
+fi
 
29574
+echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 
29575
+echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
29576
+
 
29577
+if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
 
29578
+    case $lt_prog_compiler_pic_GCJ in
 
29579
+     "" | " "*) ;;
 
29580
+     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
 
29581
+     esac
 
29582
+else
 
29583
+    lt_prog_compiler_pic_GCJ=
 
29584
+     lt_prog_compiler_can_build_shared_GCJ=no
 
29585
+fi
 
29586
+
 
29587
+fi
 
29588
+case "$host_os" in
 
29589
+  # For platforms which do not support PIC, -DPIC is meaningless:
 
29590
+  *djgpp*)
 
29591
+    lt_prog_compiler_pic_GCJ=
 
29592
+    ;;
 
29593
+  *)
 
29594
+    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
 
29595
+    ;;
 
29596
+esac
 
29597
+
 
29598
+echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
29599
+echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
29600
+if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
 
29601
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
29602
+else
 
29603
+  lt_cv_prog_compiler_c_o_GCJ=no
 
29604
+   $rm -r conftest 2>/dev/null
 
29605
+   mkdir conftest
 
29606
+   cd conftest
 
29607
+   mkdir out
 
29608
+   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
29609
+
 
29610
+   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
29611
+   # Insert the option either (1) after the last *FLAGS variable, or
 
29612
+   # (2) before a word containing "conftest.", or (3) at the end.
 
29613
+   # Note that $ac_compile itself does not contain backslashes and begins
 
29614
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
29615
+   lt_compile=`echo "$ac_compile" | $SED \
 
29616
+   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
29617
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
29618
+   -e 's:$: $lt_compiler_flag:'`
 
29619
+   (eval echo "\"\$as_me:15784: $lt_compile\"" >&5)
 
29620
+   (eval "$lt_compile" 2>out/conftest.err)
 
29621
+   ac_status=$?
 
29622
+   cat out/conftest.err >&5
 
29623
+   echo "$as_me:15788: \$? = $ac_status" >&5
 
29624
+   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
29625
+   then
 
29626
+     # The compiler can only warn and ignore the option if not recognized
 
29627
+     # So say no if there are warnings
 
29628
+     if test ! -s out/conftest.err; then
 
29629
+       lt_cv_prog_compiler_c_o_GCJ=yes
 
29630
+     fi
 
29631
+   fi
 
29632
+   chmod u+w .
 
29633
+   $rm conftest*
 
29634
+   # SGI C++ compiler will create directory out/ii_files/ for
 
29635
+   # template instantiation
 
29636
+   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 
29637
+   $rm out/* && rmdir out
 
29638
+   cd ..
 
29639
+   rmdir conftest
 
29640
+   $rm conftest*
 
29641
+
 
29642
+fi
 
29643
+echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
29644
+echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
29645
+
 
29646
+
 
29647
+hard_links="nottested"
 
29648
+if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
 
29649
+  # do not overwrite the value of need_locks provided by the user
 
29650
+  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
29651
+echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
29652
+  hard_links=yes
 
29653
+  $rm conftest*
 
29654
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
29655
+  touch conftest.a
 
29656
+  ln conftest.a conftest.b 2>&5 || hard_links=no
 
29657
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
29658
+  echo "$as_me:$LINENO: result: $hard_links" >&5
 
29659
+echo "${ECHO_T}$hard_links" >&6
 
29660
+  if test "$hard_links" = no; then
 
29661
+    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
29662
+echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
29663
+    need_locks=warn
 
29664
+  fi
 
29665
+else
 
29666
+  need_locks=no
 
29667
+fi
 
29668
+
 
29669
+echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
29670
+echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
29671
+
 
29672
+  runpath_var=
 
29673
+  allow_undefined_flag_GCJ=
 
29674
+  enable_shared_with_static_runtimes_GCJ=no
 
29675
+  archive_cmds_GCJ=
 
29676
+  archive_expsym_cmds_GCJ=
 
29677
+  old_archive_From_new_cmds_GCJ=
 
29678
+  old_archive_from_expsyms_cmds_GCJ=
 
29679
+  export_dynamic_flag_spec_GCJ=
 
29680
+  whole_archive_flag_spec_GCJ=
 
29681
+  thread_safe_flag_spec_GCJ=
 
29682
+  hardcode_libdir_flag_spec_GCJ=
 
29683
+  hardcode_libdir_flag_spec_ld_GCJ=
 
29684
+  hardcode_libdir_separator_GCJ=
 
29685
+  hardcode_direct_GCJ=no
 
29686
+  hardcode_minus_L_GCJ=no
 
29687
+  hardcode_shlibpath_var_GCJ=unsupported
 
29688
+  link_all_deplibs_GCJ=unknown
 
29689
+  hardcode_automatic_GCJ=no
 
29690
+  module_cmds_GCJ=
 
29691
+  module_expsym_cmds_GCJ=
 
29692
+  always_export_symbols_GCJ=no
 
29693
+  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
29694
+  # include_expsyms should be a list of space-separated symbols to be *always*
 
29695
+  # included in the symbol list
 
29696
+  include_expsyms_GCJ=
 
29697
+  # exclude_expsyms can be an extended regexp of symbols to exclude
 
29698
+  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
29699
+  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
29700
+  # as well as any symbol that contains `d'.
 
29701
+  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
 
29702
+  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
29703
+  # platforms (ab)use it in PIC code, but their linkers get confused if
 
29704
+  # the symbol is explicitly referenced.  Since portable code cannot
 
29705
+  # rely on this symbol name, it's probably fine to never include it in
 
29706
+  # preloaded symbol tables.
 
29707
+  extract_expsyms_cmds=
 
29708
+
 
29709
+  case $host_os in
 
29710
+  cygwin* | mingw* | pw32*)
 
29711
+    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
29712
+    # When not using gcc, we currently assume that we are using
 
29713
+    # Microsoft Visual C++.
 
29714
+    if test "$GCC" != yes; then
 
29715
+      with_gnu_ld=no
 
29716
+    fi
 
29717
+    ;;
 
29718
+  openbsd*)
 
29719
+    with_gnu_ld=no
 
29720
+    ;;
 
29721
+  esac
 
29722
+
 
29723
+  ld_shlibs_GCJ=yes
 
29724
+  if test "$with_gnu_ld" = yes; then
 
29725
+    # If archive_cmds runs LD, not CC, wlarc should be empty
 
29726
+    wlarc='${wl}'
 
29727
+
 
29728
+    # See if GNU ld supports shared libraries.
 
29729
+    case $host_os in
 
29730
+    aix3* | aix4* | aix5*)
 
29731
+      # On AIX/PPC, the GNU linker is very broken
 
29732
+      if test "$host_cpu" != ia64; then
 
29733
+       ld_shlibs_GCJ=no
 
29734
+       cat <<EOF 1>&2
 
29735
+
 
29736
+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
29737
+*** to be unable to reliably create shared libraries on AIX.
 
29738
+*** Therefore, libtool is disabling shared libraries support.  If you
 
29739
+*** really care for shared libraries, you may want to modify your PATH
 
29740
+*** so that a non-GNU linker is found, and then restart.
 
29741
+
 
29742
+EOF
 
29743
+      fi
 
29744
+      ;;
 
29745
+
 
29746
+    amigaos*)
 
29747
+      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)'
 
29748
+      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 
29749
+      hardcode_minus_L_GCJ=yes
 
29750
+
 
29751
+      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
 
29752
+      # that the semantics of dynamic libraries on AmigaOS, at least up
 
29753
+      # to version 4, is to share data among multiple programs linked
 
29754
+      # with the same dynamic library.  Since this doesn't match the
 
29755
+      # behavior of shared libraries on other platforms, we can't use
 
29756
+      # them.
 
29757
+      ld_shlibs_GCJ=no
 
29758
+      ;;
 
29759
+
 
29760
+    beos*)
 
29761
+      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
29762
+       allow_undefined_flag_GCJ=unsupported
 
29763
+       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
29764
+       # support --undefined.  This deserves some investigation.  FIXME
 
29765
+       archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
29766
+      else
 
29767
+       ld_shlibs_GCJ=no
 
29768
+      fi
 
29769
+      ;;
 
29770
+
 
29771
+    cygwin* | mingw* | pw32*)
 
29772
+      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
 
29773
+      # as there is no search path for DLLs.
 
29774
+      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 
29775
+      allow_undefined_flag_GCJ=unsupported
 
29776
+      always_export_symbols_GCJ=no
 
29777
+      enable_shared_with_static_runtimes_GCJ=yes
 
29778
+      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
29779
+
 
29780
+      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
29781
+        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
29782
+       # If the export-symbols file already is a .def file (1st line
 
29783
+       # is EXPORTS), use it as is; otherwise, prepend...
 
29784
+       archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
29785
+         cp $export_symbols $output_objdir/$soname.def;
 
29786
+       else
 
29787
+         echo EXPORTS > $output_objdir/$soname.def;
 
29788
+         cat $export_symbols >> $output_objdir/$soname.def;
 
29789
+       fi~
 
29790
+       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
29791
+      else
 
29792
+       ld_shlibs=no
 
29793
+      fi
 
29794
+      ;;
 
29795
+
 
29796
+    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
29797
+      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
29798
+       archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
29799
+       wlarc=
 
29800
+      else
 
29801
+       archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
29802
+       archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
29803
+      fi
 
29804
+      ;;
 
29805
+
 
29806
+    solaris* | sysv5*)
 
29807
+      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
29808
+       ld_shlibs_GCJ=no
 
29809
+       cat <<EOF 1>&2
 
29810
+
 
29811
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
29812
+*** create shared libraries on Solaris systems.  Therefore, libtool
 
29813
+*** is disabling shared libraries support.  We urge you to upgrade GNU
 
29814
+*** binutils to release 2.9.1 or newer.  Another option is to modify
 
29815
+*** your PATH or compiler configuration so that the native linker is
 
29816
+*** used, and then restart.
 
29817
+
 
29818
+EOF
 
29819
+      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
29820
+       archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
29821
+       archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
29822
+      else
 
29823
+       ld_shlibs_GCJ=no
 
29824
+      fi
 
29825
+      ;;
 
29826
+
 
29827
+    sunos4*)
 
29828
+      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
29829
+      wlarc=
 
29830
+      hardcode_direct_GCJ=yes
 
29831
+      hardcode_shlibpath_var_GCJ=no
 
29832
+      ;;
 
29833
+
 
29834
+  linux*)
 
29835
+    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
29836
+        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
29837
+       archive_cmds_GCJ="$tmp_archive_cmds"
 
29838
+      supports_anon_versioning=no
 
29839
+      case `$LD -v 2>/dev/null` in
 
29840
+        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
29841
+        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
29842
+        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
29843
+        *\ 2.11.*) ;; # other 2.11 versions
 
29844
+        *) supports_anon_versioning=yes ;;
 
29845
+      esac
 
29846
+      if test $supports_anon_versioning = yes; then
 
29847
+        archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
 
29848
+cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
29849
+$echo "local: *; };" >> $output_objdir/$libname.ver~
 
29850
+        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
29851
+      else
 
29852
+        archive_expsym_cmds_GCJ="$tmp_archive_cmds"
 
29853
+      fi
 
29854
+      link_all_deplibs_GCJ=no
 
29855
+    else
 
29856
+      ld_shlibs_GCJ=no
 
29857
+    fi
 
29858
+    ;;
 
29859
+
 
29860
+    *)
 
29861
+      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
29862
+       archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
29863
+       archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
29864
+      else
 
29865
+       ld_shlibs_GCJ=no
 
29866
+      fi
 
29867
+      ;;
 
29868
+    esac
 
29869
+
 
29870
+    if test "$ld_shlibs_GCJ" = yes; then
 
29871
+      runpath_var=LD_RUN_PATH
 
29872
+      hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
 
29873
+      export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
 
29874
+      # ancient GNU ld didn't support --whole-archive et. al.
 
29875
+      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
29876
+       whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
29877
+      else
 
29878
+       whole_archive_flag_spec_GCJ=
 
29879
+      fi
 
29880
+    fi
 
29881
+  else
 
29882
+    # PORTME fill in a description of your system's linker (not GNU ld)
 
29883
+    case $host_os in
 
29884
+    aix3*)
 
29885
+      allow_undefined_flag_GCJ=unsupported
 
29886
+      always_export_symbols_GCJ=yes
 
29887
+      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'
 
29888
+      # Note: this linker hardcodes the directories in LIBPATH if there
 
29889
+      # are no directories specified by -L.
 
29890
+      hardcode_minus_L_GCJ=yes
 
29891
+      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
29892
+       # Neither direct hardcoding nor static linking is supported with a
 
29893
+       # broken collect2.
 
29894
+       hardcode_direct_GCJ=unsupported
 
29895
+      fi
 
29896
+      ;;
 
29897
+
 
29898
+    aix4* | aix5*)
 
29899
+      if test "$host_cpu" = ia64; then
 
29900
+       # On IA64, the linker does run time linking by default, so we don't
 
29901
+       # have to do anything special.
 
29902
+       aix_use_runtimelinking=no
 
29903
+       exp_sym_flag='-Bexport'
 
29904
+       no_entry_flag=""
 
29905
+      else
 
29906
+       # If we're using GNU nm, then we don't want the "-C" option.
 
29907
+       # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
29908
+       if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 
29909
+         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'
 
29910
+       else
 
29911
+         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'
 
29912
+       fi
 
29913
+       aix_use_runtimelinking=no
 
29914
+
 
29915
+       # Test if we are trying to use run time linking or normal
 
29916
+       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
29917
+       # need to do runtime linking.
 
29918
+       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
29919
+         for ld_flag in $LDFLAGS; do
 
29920
+         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
29921
+           aix_use_runtimelinking=yes
 
29922
+           break
 
29923
+         fi
 
29924
+         done
 
29925
+       esac
 
29926
+
 
29927
+       exp_sym_flag='-bexport'
 
29928
+       no_entry_flag='-bnoentry'
 
29929
+      fi
 
29930
+
 
29931
+      # When large executables or shared objects are built, AIX ld can
 
29932
+      # have problems creating the table of contents.  If linking a library
 
29933
+      # or program results in "error TOC overflow" add -mminimal-toc to
 
29934
+      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
29935
+      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
29936
+
 
29937
+      archive_cmds_GCJ=''
 
29938
+      hardcode_direct_GCJ=yes
 
29939
+      hardcode_libdir_separator_GCJ=':'
 
29940
+      link_all_deplibs_GCJ=yes
 
29941
+
 
29942
+      if test "$GCC" = yes; then
 
29943
+       case $host_os in aix4.012|aix4.012.*)
 
29944
+       # We only want to do this on AIX 4.2 and lower, the check
 
29945
+       # below for broken collect2 doesn't work under 4.3+
 
29946
+         collect2name=`${CC} -print-prog-name=collect2`
 
29947
+         if test -f "$collect2name" && \
 
29948
+          strings "$collect2name" | grep resolve_lib_name >/dev/null
 
29949
+         then
 
29950
+         # We have reworked collect2
 
29951
+         hardcode_direct_GCJ=yes
 
29952
+         else
 
29953
+         # We have old collect2
 
29954
+         hardcode_direct_GCJ=unsupported
 
29955
+         # It fails to find uninstalled libraries when the uninstalled
 
29956
+         # path is not listed in the libpath.  Setting hardcode_minus_L
 
29957
+         # to unsupported forces relinking
 
29958
+         hardcode_minus_L_GCJ=yes
 
29959
+         hardcode_libdir_flag_spec_GCJ='-L$libdir'
 
29960
+         hardcode_libdir_separator_GCJ=
 
29961
+         fi
 
29962
+       esac
 
29963
+       shared_flag='-shared'
 
29964
+      else
 
29965
+       # not using gcc
 
29966
+       if test "$host_cpu" = ia64; then
 
29967
+       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
29968
+       # chokes on -Wl,-G. The following line is correct:
 
29969
+         shared_flag='-G'
 
29970
+       else
 
29971
+       if test "$aix_use_runtimelinking" = yes; then
 
29972
+           shared_flag='${wl}-G'
 
29973
+         else
 
29974
+           shared_flag='${wl}-bM:SRE'
 
29975
+       fi
 
29976
+       fi
 
29977
+      fi
 
29978
+
 
29979
+      # It seems that -bexpall does not export symbols beginning with
 
29980
+      # underscore (_), so it is better to generate a list of symbols to export.
 
29981
+      always_export_symbols_GCJ=yes
 
29982
+      if test "$aix_use_runtimelinking" = yes; then
 
29983
+       # Warning - without using the other runtime loading flags (-brtl),
 
29984
+       # -berok will link without error, but may produce a broken library.
 
29985
+       allow_undefined_flag_GCJ='-berok'
 
29986
+       # Determine the default libpath from the value encoded in an empty executable.
 
29987
+       cat >conftest.$ac_ext <<_ACEOF
 
29988
+/* confdefs.h.  */
 
29989
+_ACEOF
 
29990
+cat confdefs.h >>conftest.$ac_ext
 
29991
+cat >>conftest.$ac_ext <<_ACEOF
 
29992
+/* end confdefs.h.  */
 
29993
+
 
29994
+int
 
29995
+main ()
 
29996
+{
 
29997
+
 
29998
+  ;
 
29999
+  return 0;
 
30000
+}
 
30001
+_ACEOF
 
30002
+rm -f conftest.$ac_objext conftest$ac_exeext
 
30003
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
30004
+  (eval $ac_link) 2>conftest.er1
 
30005
+  ac_status=$?
 
30006
+  grep -v '^ *+' conftest.er1 >conftest.err
 
30007
+  rm -f conftest.er1
 
30008
+  cat conftest.err >&5
 
30009
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30010
+  (exit $ac_status); } &&
 
30011
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
30012
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30013
+  (eval $ac_try) 2>&5
 
30014
+  ac_status=$?
 
30015
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30016
+  (exit $ac_status); }; } &&
 
30017
+        { ac_try='test -s conftest$ac_exeext'
 
30018
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30019
+  (eval $ac_try) 2>&5
 
30020
+  ac_status=$?
 
30021
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30022
+  (exit $ac_status); }; }; then
 
30023
+
 
30024
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
30025
+}'`
 
30026
+# Check for a 64-bit object if we didn't find anything.
 
30027
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
30028
+}'`; fi
 
30029
+else
 
30030
+  echo "$as_me: failed program was:" >&5
 
30031
+sed 's/^/| /' conftest.$ac_ext >&5
 
30032
+
 
30033
+fi
 
30034
+rm -f conftest.err conftest.$ac_objext \
 
30035
+      conftest$ac_exeext conftest.$ac_ext
 
30036
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
30037
+
 
30038
+       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
 
30039
+       archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
30040
+       else
 
30041
+       if test "$host_cpu" = ia64; then
 
30042
+         hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
 
30043
+         allow_undefined_flag_GCJ="-z nodefs"
 
30044
+         archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
30045
+       else
 
30046
+        # Determine the default libpath from the value encoded in an empty executable.
 
30047
+        cat >conftest.$ac_ext <<_ACEOF
 
30048
+/* confdefs.h.  */
 
30049
+_ACEOF
 
30050
+cat confdefs.h >>conftest.$ac_ext
 
30051
+cat >>conftest.$ac_ext <<_ACEOF
 
30052
+/* end confdefs.h.  */
 
30053
+
 
30054
+int
 
30055
+main ()
 
30056
+{
 
30057
+
 
30058
+  ;
 
30059
+  return 0;
 
30060
+}
 
30061
+_ACEOF
 
30062
+rm -f conftest.$ac_objext conftest$ac_exeext
 
30063
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
30064
+  (eval $ac_link) 2>conftest.er1
 
30065
+  ac_status=$?
 
30066
+  grep -v '^ *+' conftest.er1 >conftest.err
 
30067
+  rm -f conftest.er1
 
30068
+  cat conftest.err >&5
 
30069
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30070
+  (exit $ac_status); } &&
 
30071
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
30072
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30073
+  (eval $ac_try) 2>&5
 
30074
+  ac_status=$?
 
30075
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30076
+  (exit $ac_status); }; } &&
 
30077
+        { ac_try='test -s conftest$ac_exeext'
 
30078
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30079
+  (eval $ac_try) 2>&5
 
30080
+  ac_status=$?
 
30081
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30082
+  (exit $ac_status); }; }; then
 
30083
+
 
30084
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
30085
+}'`
 
30086
+# Check for a 64-bit object if we didn't find anything.
 
30087
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
30088
+}'`; fi
 
30089
+else
 
30090
+  echo "$as_me: failed program was:" >&5
 
30091
+sed 's/^/| /' conftest.$ac_ext >&5
 
30092
+
 
30093
+fi
 
30094
+rm -f conftest.err conftest.$ac_objext \
 
30095
+      conftest$ac_exeext conftest.$ac_ext
 
30096
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
30097
+
 
30098
+        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
 
30099
+         # Warning - without using the other run time loading flags,
 
30100
+         # -berok will link without error, but may produce a broken library.
 
30101
+         no_undefined_flag_GCJ=' ${wl}-bernotok'
 
30102
+         allow_undefined_flag_GCJ=' ${wl}-berok'
 
30103
+         # -bexpall does not export symbols beginning with underscore (_)
 
30104
+         always_export_symbols_GCJ=yes
 
30105
+         # Exported symbols can be pulled into shared objects from archives
 
30106
+         whole_archive_flag_spec_GCJ=' '
 
30107
+         archive_cmds_need_lc_GCJ=yes
 
30108
+         # This is similar to how AIX traditionally builds it's shared libraries.
 
30109
+         archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
30110
+       fi
 
30111
+      fi
 
30112
+      ;;
 
30113
+
 
30114
+    amigaos*)
 
30115
+      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)'
 
30116
+      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 
30117
+      hardcode_minus_L_GCJ=yes
 
30118
+      # see comment about different semantics on the GNU ld section
 
30119
+      ld_shlibs_GCJ=no
 
30120
+      ;;
 
30121
+
 
30122
+    bsdi4*)
 
30123
+      export_dynamic_flag_spec_GCJ=-rdynamic
 
30124
+      ;;
 
30125
+
 
30126
+    cygwin* | mingw* | pw32*)
 
30127
+      # When not using gcc, we currently assume that we are using
 
30128
+      # Microsoft Visual C++.
 
30129
+      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
30130
+      # no search path for DLLs.
 
30131
+      hardcode_libdir_flag_spec_GCJ=' '
 
30132
+      allow_undefined_flag_GCJ=unsupported
 
30133
+      # Tell ltmain to make .lib files, not .a files.
 
30134
+      libext=lib
 
30135
+      # Tell ltmain to make .dll files, not .so files.
 
30136
+      shrext_cmds=".dll"
 
30137
+      # FIXME: Setting linknames here is a bad hack.
 
30138
+      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
30139
+      # The linker will automatically build a .lib file if we build a DLL.
 
30140
+      old_archive_From_new_cmds_GCJ='true'
 
30141
+      # FIXME: Should let the user specify the lib program.
 
30142
+      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
30143
+      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
30144
+      enable_shared_with_static_runtimes_GCJ=yes
 
30145
+      ;;
 
30146
+
 
30147
+    darwin* | rhapsody*)
 
30148
+    if test "$GXX" = yes ; then
 
30149
+      archive_cmds_need_lc_GCJ=no
 
30150
+      case "$host_os" in
 
30151
+      rhapsody* | darwin1.[012])
 
30152
+       allow_undefined_flag_GCJ='-undefined suppress'
 
30153
+       ;;
 
30154
+      *) # Darwin 1.3 on
 
30155
+      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
30156
+       allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
 
30157
+      else
 
30158
+        case ${MACOSX_DEPLOYMENT_TARGET} in
 
30159
+          10.[012])
 
30160
+            allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
 
30161
+            ;;
 
30162
+          10.*)
 
30163
+            allow_undefined_flag_GCJ='-undefined dynamic_lookup'
 
30164
+            ;;
 
30165
+        esac
 
30166
+      fi
 
30167
+       ;;
 
30168
+      esac
 
30169
+       lt_int_apple_cc_single_mod=no
 
30170
+       output_verbose_link_cmd='echo'
 
30171
+       if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
 
30172
+         lt_int_apple_cc_single_mod=yes
 
30173
+       fi
 
30174
+       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
30175
+         archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
30176
+       else
 
30177
+        archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -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'
 
30178
+      fi
 
30179
+      module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
30180
+      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
 
30181
+        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
30182
+          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
30183
+        else
 
30184
+          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
30185
+        fi
 
30186
+          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}'
 
30187
+      hardcode_direct_GCJ=no
 
30188
+      hardcode_automatic_GCJ=yes
 
30189
+      hardcode_shlibpath_var_GCJ=unsupported
 
30190
+      whole_archive_flag_spec_GCJ='-all_load $convenience'
 
30191
+      link_all_deplibs_GCJ=yes
 
30192
+    else
 
30193
+      ld_shlibs_GCJ=no
 
30194
+    fi
 
30195
+      ;;
 
30196
+
 
30197
+    dgux*)
 
30198
+      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
30199
+      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 
30200
+      hardcode_shlibpath_var_GCJ=no
 
30201
+      ;;
 
30202
+
 
30203
+    freebsd1*)
 
30204
+      ld_shlibs_GCJ=no
 
30205
+      ;;
 
30206
+
 
30207
+    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
30208
+    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
30209
+    # does not break anything, and helps significantly (at the cost of a little
 
30210
+    # extra space).
 
30211
+    freebsd2.2*)
 
30212
+      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
30213
+      hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
30214
+      hardcode_direct_GCJ=yes
 
30215
+      hardcode_shlibpath_var_GCJ=no
 
30216
+      ;;
 
30217
+
 
30218
+    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
30219
+    freebsd2*)
 
30220
+      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
30221
+      hardcode_direct_GCJ=yes
 
30222
+      hardcode_minus_L_GCJ=yes
 
30223
+      hardcode_shlibpath_var_GCJ=no
 
30224
+      ;;
 
30225
+
 
30226
+    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
30227
+    freebsd* | kfreebsd*-gnu)
 
30228
+      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
30229
+      hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
30230
+      hardcode_direct_GCJ=yes
 
30231
+      hardcode_shlibpath_var_GCJ=no
 
30232
+      ;;
 
30233
+
 
30234
+    hpux9*)
 
30235
+      if test "$GCC" = yes; then
 
30236
+       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'
 
30237
+      else
 
30238
+       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'
 
30239
+      fi
 
30240
+      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
30241
+      hardcode_libdir_separator_GCJ=:
 
30242
+      hardcode_direct_GCJ=yes
 
30243
+
 
30244
+      # hardcode_minus_L: Not really in the search PATH,
 
30245
+      # but as the default location of the library.
 
30246
+      hardcode_minus_L_GCJ=yes
 
30247
+      export_dynamic_flag_spec_GCJ='${wl}-E'
 
30248
+      ;;
 
30249
+
 
30250
+    hpux10* | hpux11*)
 
30251
+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
30252
+       case "$host_cpu" in
 
30253
+       hppa*64*|ia64*)
 
30254
+         archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
30255
+         ;;
 
30256
+       *)
 
30257
+         archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
30258
+         ;;
 
30259
+       esac
 
30260
+      else
 
30261
+       case "$host_cpu" in
 
30262
+       hppa*64*|ia64*)
 
30263
+         archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
30264
+         ;;
 
30265
+       *)
 
30266
+         archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
30267
+         ;;
 
30268
+       esac
 
30269
+      fi
 
30270
+      if test "$with_gnu_ld" = no; then
 
30271
+       case "$host_cpu" in
 
30272
+       hppa*64*)
 
30273
+         hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
30274
+         hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
 
30275
+         hardcode_libdir_separator_GCJ=:
 
30276
+         hardcode_direct_GCJ=no
 
30277
+         hardcode_shlibpath_var_GCJ=no
 
30278
+         ;;
 
30279
+       ia64*)
 
30280
+         hardcode_libdir_flag_spec_GCJ='-L$libdir'
 
30281
+         hardcode_direct_GCJ=no
 
30282
+         hardcode_shlibpath_var_GCJ=no
 
30283
+
 
30284
+         # hardcode_minus_L: Not really in the search PATH,
 
30285
+         # but as the default location of the library.
 
30286
+         hardcode_minus_L_GCJ=yes
 
30287
+         ;;
 
30288
+       *)
 
30289
+         hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
30290
+         hardcode_libdir_separator_GCJ=:
 
30291
+         hardcode_direct_GCJ=yes
 
30292
+         export_dynamic_flag_spec_GCJ='${wl}-E'
 
30293
+
 
30294
+         # hardcode_minus_L: Not really in the search PATH,
 
30295
+         # but as the default location of the library.
 
30296
+         hardcode_minus_L_GCJ=yes
 
30297
+         ;;
 
30298
+       esac
 
30299
+      fi
 
30300
+      ;;
 
30301
+
 
30302
+    irix5* | irix6* | nonstopux*)
 
30303
+      if test "$GCC" = yes; then
 
30304
+       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'
 
30305
+      else
 
30306
+       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'
 
30307
+       hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
 
30308
+      fi
 
30309
+      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 
30310
+      hardcode_libdir_separator_GCJ=:
 
30311
+      link_all_deplibs_GCJ=yes
 
30312
+      ;;
 
30313
+
 
30314
+    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
30315
+      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
30316
+       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
30317
+      else
 
30318
+       archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
30319
+      fi
 
30320
+      hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
30321
+      hardcode_direct_GCJ=yes
 
30322
+      hardcode_shlibpath_var_GCJ=no
 
30323
+      ;;
 
30324
+
 
30325
+    newsos6)
 
30326
+      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
30327
+      hardcode_direct_GCJ=yes
 
30328
+      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 
30329
+      hardcode_libdir_separator_GCJ=:
 
30330
+      hardcode_shlibpath_var_GCJ=no
 
30331
+      ;;
 
30332
+
 
30333
+    openbsd*)
 
30334
+      hardcode_direct_GCJ=yes
 
30335
+      hardcode_shlibpath_var_GCJ=no
 
30336
+      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
30337
+       archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
30338
+       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
30339
+       export_dynamic_flag_spec_GCJ='${wl}-E'
 
30340
+      else
 
30341
+       case $host_os in
 
30342
+        openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
30343
+          archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
30344
+          hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
30345
+          ;;
 
30346
+        *)
 
30347
+          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
30348
+          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
30349
+          ;;
 
30350
+       esac
 
30351
+      fi
 
30352
+      ;;
 
30353
+
 
30354
+    os2*)
 
30355
+      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 
30356
+      hardcode_minus_L_GCJ=yes
 
30357
+      allow_undefined_flag_GCJ=unsupported
 
30358
+      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'
 
30359
+      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
30360
+      ;;
 
30361
+
 
30362
+    osf3*)
 
30363
+      if test "$GCC" = yes; then
 
30364
+       allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
 
30365
+       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'
 
30366
+      else
 
30367
+       allow_undefined_flag_GCJ=' -expect_unresolved \*'
 
30368
+       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'
 
30369
+      fi
 
30370
+      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 
30371
+      hardcode_libdir_separator_GCJ=:
 
30372
+      ;;
 
30373
+
 
30374
+    osf4* | osf5*)     # as osf3* with the addition of -msym flag
 
30375
+      if test "$GCC" = yes; then
 
30376
+       allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
 
30377
+       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'
 
30378
+       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 
30379
+      else
 
30380
+       allow_undefined_flag_GCJ=' -expect_unresolved \*'
 
30381
+       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'
 
30382
+       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~
 
30383
+       $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
30384
+
 
30385
+       # Both c and cxx compiler support -rpath directly
 
30386
+       hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
 
30387
+      fi
 
30388
+      hardcode_libdir_separator_GCJ=:
 
30389
+      ;;
 
30390
+
 
30391
+    sco3.2v5*)
 
30392
+      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
30393
+      hardcode_shlibpath_var_GCJ=no
 
30394
+      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
 
30395
+      runpath_var=LD_RUN_PATH
 
30396
+      hardcode_runpath_var=yes
 
30397
+      ;;
 
30398
+
 
30399
+    solaris*)
 
30400
+      no_undefined_flag_GCJ=' -z text'
 
30401
+      if test "$GCC" = yes; then
 
30402
+       archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
30403
+       archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
30404
+         $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
30405
+      else
 
30406
+       archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
30407
+       archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
30408
+       $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
30409
+      fi
 
30410
+      hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
30411
+      hardcode_shlibpath_var_GCJ=no
 
30412
+      case $host_os in
 
30413
+      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
30414
+      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
 
30415
+       whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
 
30416
+      esac
 
30417
+      link_all_deplibs_GCJ=yes
 
30418
+      ;;
 
30419
+
 
30420
+    sunos4*)
 
30421
+      if test "x$host_vendor" = xsequent; then
 
30422
+       # Use $CC to link under sequent, because it throws in some extra .o
 
30423
+       # files that make .init and .fini sections work.
 
30424
+       archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
30425
+      else
 
30426
+       archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
30427
+      fi
 
30428
+      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 
30429
+      hardcode_direct_GCJ=yes
 
30430
+      hardcode_minus_L_GCJ=yes
 
30431
+      hardcode_shlibpath_var_GCJ=no
 
30432
+      ;;
 
30433
+
 
30434
+    sysv4)
 
30435
+      case $host_vendor in
 
30436
+       sni)
 
30437
+         archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
30438
+         hardcode_direct_GCJ=yes # is this really true???
 
30439
+       ;;
 
30440
+       siemens)
 
30441
+         ## LD is ld it makes a PLAMLIB
 
30442
+         ## CC just makes a GrossModule.
 
30443
+         archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
30444
+         reload_cmds_GCJ='$CC -r -o $output$reload_objs'
 
30445
+         hardcode_direct_GCJ=no
 
30446
+        ;;
 
30447
+       motorola)
 
30448
+         archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
30449
+         hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
 
30450
+       ;;
 
30451
+      esac
 
30452
+      runpath_var='LD_RUN_PATH'
 
30453
+      hardcode_shlibpath_var_GCJ=no
 
30454
+      ;;
 
30455
+
 
30456
+    sysv4.3*)
 
30457
+      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
30458
+      hardcode_shlibpath_var_GCJ=no
 
30459
+      export_dynamic_flag_spec_GCJ='-Bexport'
 
30460
+      ;;
 
30461
+
 
30462
+    sysv4*MP*)
 
30463
+      if test -d /usr/nec; then
 
30464
+       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
30465
+       hardcode_shlibpath_var_GCJ=no
 
30466
+       runpath_var=LD_RUN_PATH
 
30467
+       hardcode_runpath_var=yes
 
30468
+       ld_shlibs_GCJ=yes
 
30469
+      fi
 
30470
+      ;;
 
30471
+
 
30472
+    sysv4.2uw2*)
 
30473
+      archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
30474
+      hardcode_direct_GCJ=yes
 
30475
+      hardcode_minus_L_GCJ=no
 
30476
+      hardcode_shlibpath_var_GCJ=no
 
30477
+      hardcode_runpath_var=yes
 
30478
+      runpath_var=LD_RUN_PATH
 
30479
+      ;;
 
30480
+
 
30481
+   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
 
30482
+      no_undefined_flag_GCJ='${wl}-z ${wl}text'
 
30483
+      if test "$GCC" = yes; then
 
30484
+       archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
30485
+      else
 
30486
+       archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
30487
+      fi
 
30488
+      runpath_var='LD_RUN_PATH'
 
30489
+      hardcode_shlibpath_var_GCJ=no
 
30490
+      ;;
 
30491
+
 
30492
+    sysv5*)
 
30493
+      no_undefined_flag_GCJ=' -z text'
 
30494
+      # $CC -shared without GNU ld will not create a library from C++
 
30495
+      # object files and a static libstdc++, better avoid it by now
 
30496
+      archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
30497
+      archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
30498
+               $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
30499
+      hardcode_libdir_flag_spec_GCJ=
 
30500
+      hardcode_shlibpath_var_GCJ=no
 
30501
+      runpath_var='LD_RUN_PATH'
 
30502
+      ;;
 
30503
+
 
30504
+    uts4*)
 
30505
+      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
30506
+      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 
30507
+      hardcode_shlibpath_var_GCJ=no
 
30508
+      ;;
 
30509
+
 
30510
+    *)
 
30511
+      ld_shlibs_GCJ=no
 
30512
+      ;;
 
30513
+    esac
 
30514
+  fi
 
30515
+
 
30516
+echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
30517
+echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
30518
+test "$ld_shlibs_GCJ" = no && can_build_shared=no
 
30519
+
 
30520
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
30521
+if test "$GCC" = yes; then
 
30522
+  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
30523
+fi
 
30524
+
 
30525
+#
 
30526
+# Do we need to explicitly link libc?
 
30527
+#
 
30528
+case "x$archive_cmds_need_lc_GCJ" in
 
30529
+x|xyes)
 
30530
+  # Assume -lc should be added
 
30531
+  archive_cmds_need_lc_GCJ=yes
 
30532
+
 
30533
+  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
30534
+    case $archive_cmds_GCJ in
 
30535
+    *'~'*)
 
30536
+      # FIXME: we may have to deal with multi-command sequences.
 
30537
+      ;;
 
30538
+    '$CC '*)
 
30539
+      # Test whether the compiler implicitly links with -lc since on some
 
30540
+      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
30541
+      # to ld, don't add -lc before -lgcc.
 
30542
+      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
30543
+echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
30544
+      $rm conftest*
 
30545
+      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
30546
+
 
30547
+      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
30548
+  (eval $ac_compile) 2>&5
 
30549
+  ac_status=$?
 
30550
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30551
+  (exit $ac_status); } 2>conftest.err; then
 
30552
+        soname=conftest
 
30553
+        lib=conftest
 
30554
+        libobjs=conftest.$ac_objext
 
30555
+        deplibs=
 
30556
+        wl=$lt_prog_compiler_wl_GCJ
 
30557
+        compiler_flags=-v
 
30558
+        linker_flags=-v
 
30559
+        verstring=
 
30560
+        output_objdir=.
 
30561
+        libname=conftest
 
30562
+        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
 
30563
+        allow_undefined_flag_GCJ=
 
30564
+        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
30565
+  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
30566
+  ac_status=$?
 
30567
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30568
+  (exit $ac_status); }
 
30569
+        then
 
30570
+         archive_cmds_need_lc_GCJ=no
 
30571
+        else
 
30572
+         archive_cmds_need_lc_GCJ=yes
 
30573
+        fi
 
30574
+        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
 
30575
+      else
 
30576
+        cat conftest.err 1>&5
 
30577
+      fi
 
30578
+      $rm conftest*
 
30579
+      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
30580
+echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
30581
+      ;;
 
30582
+    esac
 
30583
+  fi
 
30584
+  ;;
 
30585
+esac
 
30586
+
 
30587
+echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
30588
+echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
30589
+library_names_spec=
 
30590
+libname_spec='lib$name'
 
30591
+soname_spec=
 
30592
+shrext_cmds=".so"
 
30593
+postinstall_cmds=
 
30594
+postuninstall_cmds=
 
30595
+finish_cmds=
 
30596
+finish_eval=
 
30597
+shlibpath_var=
 
30598
+shlibpath_overrides_runpath=unknown
 
30599
+version_type=none
 
30600
+dynamic_linker="$host_os ld.so"
 
30601
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
30602
+if test "$GCC" = yes; then
 
30603
+  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
30604
+  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
30605
+    # if the path contains ";" then we assume it to be the separator
 
30606
+    # otherwise default to the standard path separator (i.e. ":") - it is
 
30607
+    # assumed that no part of a normal pathname contains ";" but that should
 
30608
+    # okay in the real world where ";" in dirpaths is itself problematic.
 
30609
+    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
30610
+  else
 
30611
+    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
30612
+  fi
 
30613
+else
 
30614
+  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
30615
+fi
 
30616
+need_lib_prefix=unknown
 
30617
+hardcode_into_libs=no
 
30618
+
 
30619
+# when you set need_version to no, make sure it does not cause -set_version
 
30620
+# flags to be left without arguments
 
30621
+need_version=unknown
 
30622
+
 
30623
+case $host_os in
 
30624
+aix3*)
 
30625
+  version_type=linux
 
30626
+  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
30627
+  shlibpath_var=LIBPATH
 
30628
+
 
30629
+  # AIX 3 has no versioning support, so we append a major version to the name.
 
30630
+  soname_spec='${libname}${release}${shared_ext}$major'
 
30631
+  ;;
 
30632
+
 
30633
+aix4* | aix5*)
 
30634
+  version_type=linux
 
30635
+  need_lib_prefix=no
 
30636
+  need_version=no
 
30637
+  hardcode_into_libs=yes
 
30638
+  if test "$host_cpu" = ia64; then
 
30639
+    # AIX 5 supports IA64
 
30640
+    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
30641
+    shlibpath_var=LD_LIBRARY_PATH
 
30642
+  else
 
30643
+    # With GCC up to 2.95.x, collect2 would create an import file
 
30644
+    # for dependence libraries.  The import file would start with
 
30645
+    # the line `#! .'.  This would cause the generated library to
 
30646
+    # depend on `.', always an invalid library.  This was fixed in
 
30647
+    # development snapshots of GCC prior to 3.0.
 
30648
+    case $host_os in
 
30649
+      aix4 | aix4.[01] | aix4.[01].*)
 
30650
+      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
30651
+          echo ' yes '
 
30652
+          echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
30653
+       :
 
30654
+      else
 
30655
+       can_build_shared=no
 
30656
+      fi
 
30657
+      ;;
 
30658
+    esac
 
30659
+    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
30660
+    # soname into executable. Probably we can add versioning support to
 
30661
+    # collect2, so additional links can be useful in future.
 
30662
+    if test "$aix_use_runtimelinking" = yes; then
 
30663
+      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
30664
+      # instead of lib<name>.a to let people know that these are not
 
30665
+      # typical AIX shared libraries.
 
30666
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
30667
+    else
 
30668
+      # We preserve .a as extension for shared libraries through AIX4.2
 
30669
+      # and later when we are not doing run time linking.
 
30670
+      library_names_spec='${libname}${release}.a $libname.a'
 
30671
+      soname_spec='${libname}${release}${shared_ext}$major'
 
30672
+    fi
 
30673
+    shlibpath_var=LIBPATH
 
30674
+  fi
 
30675
+  ;;
 
30676
+
 
30677
+amigaos*)
 
30678
+  library_names_spec='$libname.ixlibrary $libname.a'
 
30679
+  # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
30680
+  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'
 
30681
+  ;;
 
30682
+
 
30683
+beos*)
 
30684
+  library_names_spec='${libname}${shared_ext}'
 
30685
+  dynamic_linker="$host_os ld.so"
 
30686
+  shlibpath_var=LIBRARY_PATH
 
30687
+  ;;
 
30688
+
 
30689
+bsdi4*)
 
30690
+  version_type=linux
 
30691
+  need_version=no
 
30692
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
30693
+  soname_spec='${libname}${release}${shared_ext}$major'
 
30694
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
30695
+  shlibpath_var=LD_LIBRARY_PATH
 
30696
+  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
30697
+  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
30698
+  # the default ld.so.conf also contains /usr/contrib/lib and
 
30699
+  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
30700
+  # libtool to hard-code these into programs
 
30701
+  ;;
 
30702
+
 
30703
+cygwin* | mingw* | pw32*)
 
30704
+  version_type=windows
 
30705
+  shrext_cmds=".dll"
 
30706
+  need_version=no
 
30707
+  need_lib_prefix=no
 
30708
+
 
30709
+  case $GCC,$host_os in
 
30710
+  yes,cygwin* | yes,mingw* | yes,pw32*)
 
30711
+    library_names_spec='$libname.dll.a'
 
30712
+    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
30713
+    postinstall_cmds='base_file=`basename \${file}`~
 
30714
+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
30715
+      dldir=$destdir/`dirname \$dlpath`~
 
30716
+      test -d \$dldir || mkdir -p \$dldir~
 
30717
+      $install_prog $dir/$dlname \$dldir/$dlname'
 
30718
+    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
30719
+      dlpath=$dir/\$dldll~
 
30720
+       $rm \$dlpath'
 
30721
+    shlibpath_overrides_runpath=yes
 
30722
+
 
30723
+    case $host_os in
 
30724
+    cygwin*)
 
30725
+      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
30726
+      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
30727
+      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
30728
+      ;;
 
30729
+    mingw*)
 
30730
+      # MinGW DLLs use traditional 'lib' prefix
 
30731
+      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
30732
+      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
30733
+      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
30734
+        # It is most probably a Windows format PATH printed by
 
30735
+        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
30736
+        # path with ; separators, and with drive letters. We can handle the
 
30737
+        # drive letters (cygwin fileutils understands them), so leave them,
 
30738
+        # especially as we might pass files found there to a mingw objdump,
 
30739
+        # which wouldn't understand a cygwinified path. Ahh.
 
30740
+        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
30741
+      else
 
30742
+        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
30743
+      fi
 
30744
+      ;;
 
30745
+    pw32*)
 
30746
+      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
30747
+      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
30748
+      ;;
 
30749
+    esac
 
30750
+    ;;
 
30751
+
 
30752
+  *)
 
30753
+    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
30754
+    ;;
 
30755
+  esac
 
30756
+  dynamic_linker='Win32 ld.exe'
 
30757
+  # FIXME: first we should search . and the directory the executable is in
 
30758
+  shlibpath_var=PATH
 
30759
+  ;;
 
30760
+
 
30761
+darwin* | rhapsody*)
 
30762
+  dynamic_linker="$host_os dyld"
 
30763
+  version_type=darwin
 
30764
+  need_lib_prefix=no
 
30765
+  need_version=no
 
30766
+  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
30767
+  soname_spec='${libname}${release}${major}$shared_ext'
 
30768
+  shlibpath_overrides_runpath=yes
 
30769
+  shlibpath_var=DYLD_LIBRARY_PATH
 
30770
+  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
30771
+  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
 
30772
+  if test "$GCC" = yes; then
 
30773
+    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
 
30774
+  else
 
30775
+    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
 
30776
+  fi
 
30777
+  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
30778
+  ;;
 
30779
+
 
30780
+dgux*)
 
30781
+  version_type=linux
 
30782
+  need_lib_prefix=no
 
30783
+  need_version=no
 
30784
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
30785
+  soname_spec='${libname}${release}${shared_ext}$major'
 
30786
+  shlibpath_var=LD_LIBRARY_PATH
 
30787
+  ;;
 
30788
+
 
30789
+freebsd1*)
 
30790
+  dynamic_linker=no
 
30791
+  ;;
 
30792
+
 
30793
+kfreebsd*-gnu)
 
30794
+  version_type=linux
 
30795
+  need_lib_prefix=no
 
30796
+  need_version=no
 
30797
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
30798
+  soname_spec='${libname}${release}${shared_ext}$major'
 
30799
+  shlibpath_var=LD_LIBRARY_PATH
 
30800
+  shlibpath_overrides_runpath=no
 
30801
+  hardcode_into_libs=yes
 
30802
+  dynamic_linker='GNU ld.so'
 
30803
+  ;;
 
30804
+
 
30805
+freebsd*)
 
30806
+  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
30807
+  version_type=freebsd-$objformat
 
30808
+  case $version_type in
 
30809
+    freebsd-elf*)
 
30810
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
30811
+      need_version=no
 
30812
+      need_lib_prefix=no
 
30813
+      ;;
 
30814
+    freebsd-*)
 
30815
+      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
30816
+      need_version=yes
 
30817
+      ;;
 
30818
+  esac
 
30819
+  shlibpath_var=LD_LIBRARY_PATH
 
30820
+  case $host_os in
 
30821
+  freebsd2*)
 
30822
+    shlibpath_overrides_runpath=yes
 
30823
+    ;;
 
30824
+  freebsd3.01* | freebsdelf3.01*)
 
30825
+    shlibpath_overrides_runpath=yes
 
30826
+    hardcode_into_libs=yes
 
30827
+    ;;
 
30828
+  *) # from 3.2 on
 
30829
+    shlibpath_overrides_runpath=no
 
30830
+    hardcode_into_libs=yes
 
30831
+    ;;
 
30832
+  esac
 
30833
+  ;;
 
30834
+
 
30835
+gnu*)
 
30836
+  version_type=linux
 
30837
+  need_lib_prefix=no
 
30838
+  need_version=no
 
30839
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
30840
+  soname_spec='${libname}${release}${shared_ext}$major'
 
30841
+  shlibpath_var=LD_LIBRARY_PATH
 
30842
+  hardcode_into_libs=yes
 
30843
+  ;;
 
30844
+
 
30845
+hpux9* | hpux10* | hpux11*)
 
30846
+  # Give a soname corresponding to the major version so that dld.sl refuses to
 
30847
+  # link against other versions.
 
30848
+  version_type=sunos
 
30849
+  need_lib_prefix=no
 
30850
+  need_version=no
 
30851
+  case "$host_cpu" in
 
30852
+  ia64*)
 
30853
+    shrext_cmds='.so'
 
30854
+    hardcode_into_libs=yes
 
30855
+    dynamic_linker="$host_os dld.so"
 
30856
+    shlibpath_var=LD_LIBRARY_PATH
 
30857
+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
30858
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
30859
+    soname_spec='${libname}${release}${shared_ext}$major'
 
30860
+    if test "X$HPUX_IA64_MODE" = X32; then
 
30861
+      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
30862
+    else
 
30863
+      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
30864
+    fi
 
30865
+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
30866
+    ;;
 
30867
+   hppa*64*)
 
30868
+     shrext_cmds='.sl'
 
30869
+     hardcode_into_libs=yes
 
30870
+     dynamic_linker="$host_os dld.sl"
 
30871
+     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
30872
+     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
30873
+     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
30874
+     soname_spec='${libname}${release}${shared_ext}$major'
 
30875
+     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
30876
+     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
30877
+     ;;
 
30878
+   *)
 
30879
+    shrext_cmds='.sl'
 
30880
+    dynamic_linker="$host_os dld.sl"
 
30881
+    shlibpath_var=SHLIB_PATH
 
30882
+    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
30883
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
30884
+    soname_spec='${libname}${release}${shared_ext}$major'
 
30885
+    ;;
 
30886
+  esac
 
30887
+  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
30888
+  postinstall_cmds='chmod 555 $lib'
 
30889
+  ;;
 
30890
+
 
30891
+irix5* | irix6* | nonstopux*)
 
30892
+  case $host_os in
 
30893
+    nonstopux*) version_type=nonstopux ;;
 
30894
+    *)
 
30895
+       if test "$lt_cv_prog_gnu_ld" = yes; then
 
30896
+               version_type=linux
 
30897
+       else
 
30898
+               version_type=irix
 
30899
+       fi ;;
 
30900
+  esac
 
30901
+  need_lib_prefix=no
 
30902
+  need_version=no
 
30903
+  soname_spec='${libname}${release}${shared_ext}$major'
 
30904
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
30905
+  case $host_os in
 
30906
+  irix5* | nonstopux*)
 
30907
+    libsuff= shlibsuff=
 
30908
+    ;;
 
30909
+  *)
 
30910
+    case $LD in # libtool.m4 will add one of these switches to LD
 
30911
+    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
30912
+      libsuff= shlibsuff= libmagic=32-bit;;
 
30913
+    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
30914
+      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
30915
+    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
30916
+      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
30917
+    *) libsuff= shlibsuff= libmagic=never-match;;
 
30918
+    esac
 
30919
+    ;;
 
30920
+  esac
 
30921
+  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
30922
+  shlibpath_overrides_runpath=no
 
30923
+  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
30924
+  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
30925
+  hardcode_into_libs=yes
 
30926
+  ;;
 
30927
+
 
30928
+# No shared lib support for Linux oldld, aout, or coff.
 
30929
+linux*oldld* | linux*aout* | linux*coff*)
 
30930
+  dynamic_linker=no
 
30931
+  ;;
 
30932
+
 
30933
+# This must be Linux ELF.
 
30934
+linux*)
 
30935
+  version_type=linux
 
30936
+  need_lib_prefix=no
 
30937
+  need_version=no
 
30938
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
30939
+  soname_spec='${libname}${release}${shared_ext}$major'
 
30940
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
30941
+  shlibpath_var=LD_LIBRARY_PATH
 
30942
+  shlibpath_overrides_runpath=no
 
30943
+  # This implies no fast_install, which is unacceptable.
 
30944
+  # Some rework will be needed to allow for fast_install
 
30945
+  # before this can be enabled.
 
30946
+  hardcode_into_libs=yes
 
30947
+
 
30948
+  # Append ld.so.conf contents to the search path
 
30949
+  if test -f /etc/ld.so.conf; then
 
30950
+    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
 
30951
+    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
30952
+  fi
 
30953
+
 
30954
+  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
30955
+  # powerpc, because MkLinux only supported shared libraries with the
 
30956
+  # GNU dynamic linker.  Since this was broken with cross compilers,
 
30957
+  # most powerpc-linux boxes support dynamic linking these days and
 
30958
+  # people can always --disable-shared, the test was removed, and we
 
30959
+  # assume the GNU/Linux dynamic linker is in use.
 
30960
+  dynamic_linker='GNU/Linux ld.so'
 
30961
+  ;;
 
30962
+
 
30963
+netbsdelf*-gnu)
 
30964
+  version_type=linux
 
30965
+  need_lib_prefix=no
 
30966
+  need_version=no
 
30967
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
30968
+  soname_spec='${libname}${release}${shared_ext}$major'
 
30969
+  shlibpath_var=LD_LIBRARY_PATH
 
30970
+  shlibpath_overrides_runpath=no
 
30971
+  hardcode_into_libs=yes
 
30972
+  dynamic_linker='NetBSD ld.elf_so'
 
30973
+  ;;
 
30974
+
 
30975
+knetbsd*-gnu)
 
30976
+  version_type=linux
 
30977
+  need_lib_prefix=no
 
30978
+  need_version=no
 
30979
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
30980
+  soname_spec='${libname}${release}${shared_ext}$major'
 
30981
+  shlibpath_var=LD_LIBRARY_PATH
 
30982
+  shlibpath_overrides_runpath=no
 
30983
+  hardcode_into_libs=yes
 
30984
+  dynamic_linker='GNU ld.so'
 
30985
+  ;;
 
30986
+
 
30987
+netbsd*)
 
30988
+  version_type=sunos
 
30989
+  need_lib_prefix=no
 
30990
+  need_version=no
 
30991
+  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
30992
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
30993
+    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
30994
+    dynamic_linker='NetBSD (a.out) ld.so'
 
30995
+  else
 
30996
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
30997
+    soname_spec='${libname}${release}${shared_ext}$major'
 
30998
+    dynamic_linker='NetBSD ld.elf_so'
 
30999
+  fi
 
31000
+  shlibpath_var=LD_LIBRARY_PATH
 
31001
+  shlibpath_overrides_runpath=yes
 
31002
+  hardcode_into_libs=yes
 
31003
+  ;;
 
31004
+
 
31005
+newsos6)
 
31006
+  version_type=linux
 
31007
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
31008
+  shlibpath_var=LD_LIBRARY_PATH
 
31009
+  shlibpath_overrides_runpath=yes
 
31010
+  ;;
 
31011
+
 
31012
+nto-qnx*)
 
31013
+  version_type=linux
 
31014
+  need_lib_prefix=no
 
31015
+  need_version=no
 
31016
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
31017
+  soname_spec='${libname}${release}${shared_ext}$major'
 
31018
+  shlibpath_var=LD_LIBRARY_PATH
 
31019
+  shlibpath_overrides_runpath=yes
 
31020
+  ;;
 
31021
+
 
31022
+openbsd*)
 
31023
+  version_type=sunos
 
31024
+  need_lib_prefix=no
 
31025
+  need_version=yes
 
31026
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
31027
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
31028
+  shlibpath_var=LD_LIBRARY_PATH
 
31029
+  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
31030
+    case $host_os in
 
31031
+      openbsd2.[89] | openbsd2.[89].*)
 
31032
+       shlibpath_overrides_runpath=no
 
31033
+       ;;
 
31034
+      *)
 
31035
+       shlibpath_overrides_runpath=yes
 
31036
+       ;;
 
31037
+      esac
 
31038
+  else
 
31039
+    shlibpath_overrides_runpath=yes
 
31040
+  fi
 
31041
+  ;;
 
31042
+
 
31043
+os2*)
 
31044
+  libname_spec='$name'
 
31045
+  shrext_cmds=".dll"
 
31046
+  need_lib_prefix=no
 
31047
+  library_names_spec='$libname${shared_ext} $libname.a'
 
31048
+  dynamic_linker='OS/2 ld.exe'
 
31049
+  shlibpath_var=LIBPATH
 
31050
+  ;;
 
31051
+
 
31052
+osf3* | osf4* | osf5*)
 
31053
+  version_type=osf
 
31054
+  need_lib_prefix=no
 
31055
+  need_version=no
 
31056
+  soname_spec='${libname}${release}${shared_ext}$major'
 
31057
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
31058
+  shlibpath_var=LD_LIBRARY_PATH
 
31059
+  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
31060
+  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
31061
+  ;;
 
31062
+
 
31063
+sco3.2v5*)
 
31064
+  version_type=osf
 
31065
+  soname_spec='${libname}${release}${shared_ext}$major'
 
31066
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
31067
+  shlibpath_var=LD_LIBRARY_PATH
 
31068
+  ;;
 
31069
+
 
31070
+solaris*)
 
31071
+  version_type=linux
 
31072
+  need_lib_prefix=no
 
31073
+  need_version=no
 
31074
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
31075
+  soname_spec='${libname}${release}${shared_ext}$major'
 
31076
+  shlibpath_var=LD_LIBRARY_PATH
 
31077
+  shlibpath_overrides_runpath=yes
 
31078
+  hardcode_into_libs=yes
 
31079
+  # ldd complains unless libraries are executable
 
31080
+  postinstall_cmds='chmod +x $lib'
 
31081
+  ;;
 
31082
+
 
31083
+sunos4*)
 
31084
+  version_type=sunos
 
31085
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
31086
+  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
31087
+  shlibpath_var=LD_LIBRARY_PATH
 
31088
+  shlibpath_overrides_runpath=yes
 
31089
+  if test "$with_gnu_ld" = yes; then
 
31090
+    need_lib_prefix=no
 
31091
+  fi
 
31092
+  need_version=yes
 
31093
+  ;;
 
31094
+
 
31095
+sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
31096
+  version_type=linux
 
31097
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
31098
+  soname_spec='${libname}${release}${shared_ext}$major'
 
31099
+  shlibpath_var=LD_LIBRARY_PATH
 
31100
+  case $host_vendor in
 
31101
+    sni)
 
31102
+      shlibpath_overrides_runpath=no
 
31103
+      need_lib_prefix=no
 
31104
+      export_dynamic_flag_spec='${wl}-Blargedynsym'
 
31105
+      runpath_var=LD_RUN_PATH
 
31106
+      ;;
 
31107
+    siemens)
 
31108
+      need_lib_prefix=no
 
31109
+      ;;
 
31110
+    motorola)
 
31111
+      need_lib_prefix=no
 
31112
+      need_version=no
 
31113
+      shlibpath_overrides_runpath=no
 
31114
+      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
31115
+      ;;
 
31116
+  esac
 
31117
+  ;;
 
31118
+
 
31119
+sysv4*MP*)
 
31120
+  if test -d /usr/nec ;then
 
31121
+    version_type=linux
 
31122
+    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
31123
+    soname_spec='$libname${shared_ext}.$major'
 
31124
+    shlibpath_var=LD_LIBRARY_PATH
 
31125
+  fi
 
31126
+  ;;
 
31127
+
 
31128
+uts4*)
 
31129
+  version_type=linux
 
31130
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
31131
+  soname_spec='${libname}${release}${shared_ext}$major'
 
31132
+  shlibpath_var=LD_LIBRARY_PATH
 
31133
+  ;;
 
31134
+
 
31135
+*)
 
31136
+  dynamic_linker=no
 
31137
+  ;;
 
31138
+esac
 
31139
+echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
31140
+echo "${ECHO_T}$dynamic_linker" >&6
 
31141
+test "$dynamic_linker" = no && can_build_shared=no
 
31142
+
 
31143
+echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
31144
+echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
31145
+hardcode_action_GCJ=
 
31146
+if test -n "$hardcode_libdir_flag_spec_GCJ" || \
 
31147
+   test -n "$runpath_var GCJ" || \
 
31148
+   test "X$hardcode_automatic_GCJ"="Xyes" ; then
 
31149
+
 
31150
+  # We can hardcode non-existant directories.
 
31151
+  if test "$hardcode_direct_GCJ" != no &&
 
31152
+     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
31153
+     # have to relink, otherwise we might link with an installed library
 
31154
+     # when we should be linking with a yet-to-be-installed one
 
31155
+     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
 
31156
+     test "$hardcode_minus_L_GCJ" != no; then
 
31157
+    # Linking always hardcodes the temporary library directory.
 
31158
+    hardcode_action_GCJ=relink
 
31159
+  else
 
31160
+    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
31161
+    hardcode_action_GCJ=immediate
 
31162
+  fi
 
31163
+else
 
31164
+  # We cannot hardcode anything, or else we can only hardcode existing
 
31165
+  # directories.
 
31166
+  hardcode_action_GCJ=unsupported
 
31167
+fi
 
31168
+echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
31169
+echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
31170
+
 
31171
+if test "$hardcode_action_GCJ" = relink; then
 
31172
+  # Fast installation is not supported
 
31173
+  enable_fast_install=no
 
31174
+elif test "$shlibpath_overrides_runpath" = yes ||
 
31175
+     test "$enable_shared" = no; then
 
31176
+  # Fast installation is not necessary
 
31177
+  enable_fast_install=needless
 
31178
+fi
 
31179
+
 
31180
+striplib=
 
31181
+old_striplib=
 
31182
+echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
31183
+echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
31184
+if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
 
31185
+  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
31186
+  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
31187
+  echo "$as_me:$LINENO: result: yes" >&5
 
31188
+echo "${ECHO_T}yes" >&6
 
31189
+else
 
31190
+# FIXME - insert some real tests, host_os isn't really good enough
 
31191
+  case $host_os in
 
31192
+   darwin*)
 
31193
+       if test -n "$STRIP" ; then
 
31194
+         striplib="$STRIP -x"
 
31195
+         echo "$as_me:$LINENO: result: yes" >&5
 
31196
+echo "${ECHO_T}yes" >&6
 
31197
+       else
 
31198
+  echo "$as_me:$LINENO: result: no" >&5
 
31199
+echo "${ECHO_T}no" >&6
 
31200
+fi
 
31201
+       ;;
 
31202
+   *)
 
31203
+  echo "$as_me:$LINENO: result: no" >&5
 
31204
+echo "${ECHO_T}no" >&6
 
31205
+    ;;
 
31206
+  esac
 
31207
+fi
 
31208
+
 
31209
+if test "x$enable_dlopen" != xyes; then
 
31210
+  enable_dlopen=unknown
 
31211
+  enable_dlopen_self=unknown
 
31212
+  enable_dlopen_self_static=unknown
 
31213
+else
 
31214
+  lt_cv_dlopen=no
 
31215
+  lt_cv_dlopen_libs=
 
31216
+
 
31217
+  case $host_os in
 
31218
+  beos*)
 
31219
+    lt_cv_dlopen="load_add_on"
 
31220
+    lt_cv_dlopen_libs=
 
31221
+    lt_cv_dlopen_self=yes
 
31222
+    ;;
 
31223
+
 
31224
+  mingw* | pw32*)
 
31225
+    lt_cv_dlopen="LoadLibrary"
 
31226
+    lt_cv_dlopen_libs=
 
31227
+   ;;
 
31228
+
 
31229
+  cygwin*)
 
31230
+    lt_cv_dlopen="dlopen"
 
31231
+    lt_cv_dlopen_libs=
 
31232
+   ;;
 
31233
+
 
31234
+  darwin*)
 
31235
+  # if libdl is installed we need to link against it
 
31236
+    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
31237
+echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
31238
+if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
31239
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
31240
+else
 
31241
+  ac_check_lib_save_LIBS=$LIBS
 
31242
+LIBS="-ldl  $LIBS"
 
31243
+cat >conftest.$ac_ext <<_ACEOF
 
31244
+/* confdefs.h.  */
 
31245
+_ACEOF
 
31246
+cat confdefs.h >>conftest.$ac_ext
 
31247
+cat >>conftest.$ac_ext <<_ACEOF
 
31248
+/* end confdefs.h.  */
 
31249
+
 
31250
+/* Override any gcc2 internal prototype to avoid an error.  */
 
31251
+#ifdef __cplusplus
 
31252
+extern "C"
 
31253
+#endif
 
31254
+/* We use char because int might match the return type of a gcc2
 
31255
+   builtin and then its argument prototype would still apply.  */
 
31256
+char dlopen ();
 
31257
+int
 
31258
+main ()
 
31259
+{
 
31260
+dlopen ();
 
31261
+  ;
 
31262
+  return 0;
 
31263
+}
 
31264
+_ACEOF
 
31265
+rm -f conftest.$ac_objext conftest$ac_exeext
 
31266
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
31267
+  (eval $ac_link) 2>conftest.er1
 
31268
+  ac_status=$?
 
31269
+  grep -v '^ *+' conftest.er1 >conftest.err
 
31270
+  rm -f conftest.er1
 
31271
+  cat conftest.err >&5
 
31272
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31273
+  (exit $ac_status); } &&
 
31274
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
31275
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
31276
+  (eval $ac_try) 2>&5
 
31277
+  ac_status=$?
 
31278
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31279
+  (exit $ac_status); }; } &&
 
31280
+        { ac_try='test -s conftest$ac_exeext'
 
31281
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
31282
+  (eval $ac_try) 2>&5
 
31283
+  ac_status=$?
 
31284
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31285
+  (exit $ac_status); }; }; then
 
31286
+  ac_cv_lib_dl_dlopen=yes
 
31287
+else
 
31288
+  echo "$as_me: failed program was:" >&5
 
31289
+sed 's/^/| /' conftest.$ac_ext >&5
 
31290
+
 
31291
+ac_cv_lib_dl_dlopen=no
 
31292
+fi
 
31293
+rm -f conftest.err conftest.$ac_objext \
 
31294
+      conftest$ac_exeext conftest.$ac_ext
 
31295
+LIBS=$ac_check_lib_save_LIBS
 
31296
+fi
 
31297
+echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
31298
+echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
31299
+if test $ac_cv_lib_dl_dlopen = yes; then
 
31300
+  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
31301
+else
 
31302
+
 
31303
+    lt_cv_dlopen="dyld"
 
31304
+    lt_cv_dlopen_libs=
 
31305
+    lt_cv_dlopen_self=yes
 
31306
+
 
31307
+fi
 
31308
+
 
31309
+   ;;
 
31310
+
 
31311
+  *)
 
31312
+    echo "$as_me:$LINENO: checking for shl_load" >&5
 
31313
+echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
31314
+if test "${ac_cv_func_shl_load+set}" = set; then
 
31315
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
31316
+else
 
31317
+  cat >conftest.$ac_ext <<_ACEOF
 
31318
+/* confdefs.h.  */
 
31319
+_ACEOF
 
31320
+cat confdefs.h >>conftest.$ac_ext
 
31321
+cat >>conftest.$ac_ext <<_ACEOF
 
31322
+/* end confdefs.h.  */
 
31323
+/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
 
31324
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
31325
+#define shl_load innocuous_shl_load
 
31326
+
 
31327
+/* System header to define __stub macros and hopefully few prototypes,
 
31328
+    which can conflict with char shl_load (); below.
 
31329
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
31330
+    <limits.h> exists even on freestanding compilers.  */
 
31331
+
 
31332
+#ifdef __STDC__
 
31333
+# include <limits.h>
 
31334
+#else
 
31335
+# include <assert.h>
 
31336
+#endif
 
31337
+
 
31338
+#undef shl_load
 
31339
+
 
31340
+/* Override any gcc2 internal prototype to avoid an error.  */
 
31341
+#ifdef __cplusplus
 
31342
+extern "C"
 
31343
+{
 
31344
+#endif
 
31345
+/* We use char because int might match the return type of a gcc2
 
31346
+   builtin and then its argument prototype would still apply.  */
 
31347
+char shl_load ();
 
31348
+/* The GNU C library defines this for functions which it implements
 
31349
+    to always fail with ENOSYS.  Some functions are actually named
 
31350
+    something starting with __ and the normal name is an alias.  */
 
31351
+#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
31352
+choke me
 
31353
+#else
 
31354
+char (*f) () = shl_load;
 
31355
+#endif
 
31356
+#ifdef __cplusplus
 
31357
+}
 
31358
+#endif
 
31359
+
 
31360
+int
 
31361
+main ()
 
31362
+{
 
31363
+return f != shl_load;
 
31364
+  ;
 
31365
+  return 0;
 
31366
+}
 
31367
+_ACEOF
 
31368
+rm -f conftest.$ac_objext conftest$ac_exeext
 
31369
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
31370
+  (eval $ac_link) 2>conftest.er1
 
31371
+  ac_status=$?
 
31372
+  grep -v '^ *+' conftest.er1 >conftest.err
 
31373
+  rm -f conftest.er1
 
31374
+  cat conftest.err >&5
 
31375
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31376
+  (exit $ac_status); } &&
 
31377
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
31378
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
31379
+  (eval $ac_try) 2>&5
 
31380
+  ac_status=$?
 
31381
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31382
+  (exit $ac_status); }; } &&
 
31383
+        { ac_try='test -s conftest$ac_exeext'
 
31384
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
31385
+  (eval $ac_try) 2>&5
 
31386
+  ac_status=$?
 
31387
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31388
+  (exit $ac_status); }; }; then
 
31389
+  ac_cv_func_shl_load=yes
 
31390
+else
 
31391
+  echo "$as_me: failed program was:" >&5
 
31392
+sed 's/^/| /' conftest.$ac_ext >&5
 
31393
+
 
31394
+ac_cv_func_shl_load=no
 
31395
+fi
 
31396
+rm -f conftest.err conftest.$ac_objext \
 
31397
+      conftest$ac_exeext conftest.$ac_ext
 
31398
+fi
 
31399
+echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
31400
+echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
31401
+if test $ac_cv_func_shl_load = yes; then
 
31402
+  lt_cv_dlopen="shl_load"
 
31403
+else
 
31404
+  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
31405
+echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
31406
+if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
31407
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
31408
+else
 
31409
+  ac_check_lib_save_LIBS=$LIBS
 
31410
+LIBS="-ldld  $LIBS"
 
31411
+cat >conftest.$ac_ext <<_ACEOF
 
31412
+/* confdefs.h.  */
 
31413
+_ACEOF
 
31414
+cat confdefs.h >>conftest.$ac_ext
 
31415
+cat >>conftest.$ac_ext <<_ACEOF
 
31416
+/* end confdefs.h.  */
 
31417
+
 
31418
+/* Override any gcc2 internal prototype to avoid an error.  */
 
31419
+#ifdef __cplusplus
 
31420
+extern "C"
 
31421
+#endif
 
31422
+/* We use char because int might match the return type of a gcc2
 
31423
+   builtin and then its argument prototype would still apply.  */
 
31424
+char shl_load ();
 
31425
+int
 
31426
+main ()
 
31427
+{
 
31428
+shl_load ();
 
31429
+  ;
 
31430
+  return 0;
 
31431
+}
 
31432
+_ACEOF
 
31433
+rm -f conftest.$ac_objext conftest$ac_exeext
 
31434
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
31435
+  (eval $ac_link) 2>conftest.er1
 
31436
+  ac_status=$?
 
31437
+  grep -v '^ *+' conftest.er1 >conftest.err
 
31438
+  rm -f conftest.er1
 
31439
+  cat conftest.err >&5
 
31440
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31441
+  (exit $ac_status); } &&
 
31442
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
31443
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
31444
+  (eval $ac_try) 2>&5
 
31445
+  ac_status=$?
 
31446
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31447
+  (exit $ac_status); }; } &&
 
31448
+        { ac_try='test -s conftest$ac_exeext'
 
31449
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
31450
+  (eval $ac_try) 2>&5
 
31451
+  ac_status=$?
 
31452
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31453
+  (exit $ac_status); }; }; then
 
31454
+  ac_cv_lib_dld_shl_load=yes
 
31455
+else
 
31456
+  echo "$as_me: failed program was:" >&5
 
31457
+sed 's/^/| /' conftest.$ac_ext >&5
 
31458
+
 
31459
+ac_cv_lib_dld_shl_load=no
 
31460
+fi
 
31461
+rm -f conftest.err conftest.$ac_objext \
 
31462
+      conftest$ac_exeext conftest.$ac_ext
 
31463
+LIBS=$ac_check_lib_save_LIBS
 
31464
+fi
 
31465
+echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
31466
+echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
31467
+if test $ac_cv_lib_dld_shl_load = yes; then
 
31468
+  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 
31469
+else
 
31470
+  echo "$as_me:$LINENO: checking for dlopen" >&5
 
31471
+echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
31472
+if test "${ac_cv_func_dlopen+set}" = set; then
 
31473
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
31474
+else
 
31475
+  cat >conftest.$ac_ext <<_ACEOF
 
31476
+/* confdefs.h.  */
 
31477
+_ACEOF
 
31478
+cat confdefs.h >>conftest.$ac_ext
 
31479
+cat >>conftest.$ac_ext <<_ACEOF
 
31480
+/* end confdefs.h.  */
 
31481
+/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 
31482
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
31483
+#define dlopen innocuous_dlopen
 
31484
+
 
31485
+/* System header to define __stub macros and hopefully few prototypes,
 
31486
+    which can conflict with char dlopen (); below.
 
31487
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
31488
+    <limits.h> exists even on freestanding compilers.  */
 
31489
+
 
31490
+#ifdef __STDC__
 
31491
+# include <limits.h>
 
31492
+#else
 
31493
+# include <assert.h>
 
31494
+#endif
 
31495
+
 
31496
+#undef dlopen
 
31497
+
 
31498
+/* Override any gcc2 internal prototype to avoid an error.  */
 
31499
+#ifdef __cplusplus
 
31500
+extern "C"
 
31501
+{
 
31502
+#endif
 
31503
+/* We use char because int might match the return type of a gcc2
 
31504
+   builtin and then its argument prototype would still apply.  */
 
31505
+char dlopen ();
 
31506
+/* The GNU C library defines this for functions which it implements
 
31507
+    to always fail with ENOSYS.  Some functions are actually named
 
31508
+    something starting with __ and the normal name is an alias.  */
 
31509
+#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
31510
+choke me
 
31511
+#else
 
31512
+char (*f) () = dlopen;
 
31513
+#endif
 
31514
+#ifdef __cplusplus
 
31515
+}
 
31516
+#endif
 
31517
+
 
31518
+int
 
31519
+main ()
 
31520
+{
 
31521
+return f != dlopen;
 
31522
+  ;
 
31523
+  return 0;
 
31524
+}
 
31525
+_ACEOF
 
31526
+rm -f conftest.$ac_objext conftest$ac_exeext
 
31527
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
31528
+  (eval $ac_link) 2>conftest.er1
 
31529
+  ac_status=$?
 
31530
+  grep -v '^ *+' conftest.er1 >conftest.err
 
31531
+  rm -f conftest.er1
 
31532
+  cat conftest.err >&5
 
31533
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31534
+  (exit $ac_status); } &&
 
31535
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
31536
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
31537
+  (eval $ac_try) 2>&5
 
31538
+  ac_status=$?
 
31539
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31540
+  (exit $ac_status); }; } &&
 
31541
+        { ac_try='test -s conftest$ac_exeext'
 
31542
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
31543
+  (eval $ac_try) 2>&5
 
31544
+  ac_status=$?
 
31545
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31546
+  (exit $ac_status); }; }; then
 
31547
+  ac_cv_func_dlopen=yes
 
31548
+else
 
31549
+  echo "$as_me: failed program was:" >&5
 
31550
+sed 's/^/| /' conftest.$ac_ext >&5
 
31551
+
 
31552
+ac_cv_func_dlopen=no
 
31553
+fi
 
31554
+rm -f conftest.err conftest.$ac_objext \
 
31555
+      conftest$ac_exeext conftest.$ac_ext
 
31556
+fi
 
31557
+echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
31558
+echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
31559
+if test $ac_cv_func_dlopen = yes; then
 
31560
+  lt_cv_dlopen="dlopen"
 
31561
+else
 
31562
+  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
31563
+echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
31564
+if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
31565
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
31566
+else
 
31567
+  ac_check_lib_save_LIBS=$LIBS
 
31568
+LIBS="-ldl  $LIBS"
 
31569
+cat >conftest.$ac_ext <<_ACEOF
 
31570
+/* confdefs.h.  */
 
31571
+_ACEOF
 
31572
+cat confdefs.h >>conftest.$ac_ext
 
31573
+cat >>conftest.$ac_ext <<_ACEOF
 
31574
+/* end confdefs.h.  */
 
31575
+
 
31576
+/* Override any gcc2 internal prototype to avoid an error.  */
 
31577
+#ifdef __cplusplus
 
31578
+extern "C"
 
31579
+#endif
 
31580
+/* We use char because int might match the return type of a gcc2
 
31581
+   builtin and then its argument prototype would still apply.  */
 
31582
+char dlopen ();
 
31583
+int
 
31584
+main ()
 
31585
+{
 
31586
+dlopen ();
 
31587
+  ;
 
31588
+  return 0;
 
31589
+}
 
31590
+_ACEOF
 
31591
+rm -f conftest.$ac_objext conftest$ac_exeext
 
31592
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
31593
+  (eval $ac_link) 2>conftest.er1
 
31594
+  ac_status=$?
 
31595
+  grep -v '^ *+' conftest.er1 >conftest.err
 
31596
+  rm -f conftest.er1
 
31597
+  cat conftest.err >&5
 
31598
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31599
+  (exit $ac_status); } &&
 
31600
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
31601
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
31602
+  (eval $ac_try) 2>&5
 
31603
+  ac_status=$?
 
31604
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31605
+  (exit $ac_status); }; } &&
 
31606
+        { ac_try='test -s conftest$ac_exeext'
 
31607
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
31608
+  (eval $ac_try) 2>&5
 
31609
+  ac_status=$?
 
31610
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31611
+  (exit $ac_status); }; }; then
 
31612
+  ac_cv_lib_dl_dlopen=yes
 
31613
+else
 
31614
+  echo "$as_me: failed program was:" >&5
 
31615
+sed 's/^/| /' conftest.$ac_ext >&5
 
31616
+
 
31617
+ac_cv_lib_dl_dlopen=no
 
31618
+fi
 
31619
+rm -f conftest.err conftest.$ac_objext \
 
31620
+      conftest$ac_exeext conftest.$ac_ext
 
31621
+LIBS=$ac_check_lib_save_LIBS
 
31622
+fi
 
31623
+echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
31624
+echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
31625
+if test $ac_cv_lib_dl_dlopen = yes; then
 
31626
+  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
31627
+else
 
31628
+  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
31629
+echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
31630
+if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
31631
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
31632
+else
 
31633
+  ac_check_lib_save_LIBS=$LIBS
 
31634
+LIBS="-lsvld  $LIBS"
 
31635
+cat >conftest.$ac_ext <<_ACEOF
 
31636
+/* confdefs.h.  */
 
31637
+_ACEOF
 
31638
+cat confdefs.h >>conftest.$ac_ext
 
31639
+cat >>conftest.$ac_ext <<_ACEOF
 
31640
+/* end confdefs.h.  */
 
31641
+
 
31642
+/* Override any gcc2 internal prototype to avoid an error.  */
 
31643
+#ifdef __cplusplus
 
31644
+extern "C"
 
31645
+#endif
 
31646
+/* We use char because int might match the return type of a gcc2
 
31647
+   builtin and then its argument prototype would still apply.  */
 
31648
+char dlopen ();
 
31649
+int
 
31650
+main ()
 
31651
+{
 
31652
+dlopen ();
 
31653
+  ;
 
31654
+  return 0;
 
31655
+}
 
31656
+_ACEOF
 
31657
+rm -f conftest.$ac_objext conftest$ac_exeext
 
31658
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
31659
+  (eval $ac_link) 2>conftest.er1
 
31660
+  ac_status=$?
 
31661
+  grep -v '^ *+' conftest.er1 >conftest.err
 
31662
+  rm -f conftest.er1
 
31663
+  cat conftest.err >&5
 
31664
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31665
+  (exit $ac_status); } &&
 
31666
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
31667
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
31668
+  (eval $ac_try) 2>&5
 
31669
+  ac_status=$?
 
31670
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31671
+  (exit $ac_status); }; } &&
 
31672
+        { ac_try='test -s conftest$ac_exeext'
 
31673
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
31674
+  (eval $ac_try) 2>&5
 
31675
+  ac_status=$?
 
31676
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31677
+  (exit $ac_status); }; }; then
 
31678
+  ac_cv_lib_svld_dlopen=yes
 
31679
+else
 
31680
+  echo "$as_me: failed program was:" >&5
 
31681
+sed 's/^/| /' conftest.$ac_ext >&5
 
31682
+
 
31683
+ac_cv_lib_svld_dlopen=no
 
31684
+fi
 
31685
+rm -f conftest.err conftest.$ac_objext \
 
31686
+      conftest$ac_exeext conftest.$ac_ext
 
31687
+LIBS=$ac_check_lib_save_LIBS
 
31688
+fi
 
31689
+echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
31690
+echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
31691
+if test $ac_cv_lib_svld_dlopen = yes; then
 
31692
+  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
31693
+else
 
31694
+  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
31695
+echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
31696
+if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
31697
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
31698
+else
 
31699
+  ac_check_lib_save_LIBS=$LIBS
 
31700
+LIBS="-ldld  $LIBS"
 
31701
+cat >conftest.$ac_ext <<_ACEOF
 
31702
+/* confdefs.h.  */
 
31703
+_ACEOF
 
31704
+cat confdefs.h >>conftest.$ac_ext
 
31705
+cat >>conftest.$ac_ext <<_ACEOF
 
31706
+/* end confdefs.h.  */
 
31707
+
 
31708
+/* Override any gcc2 internal prototype to avoid an error.  */
 
31709
+#ifdef __cplusplus
 
31710
+extern "C"
 
31711
+#endif
 
31712
+/* We use char because int might match the return type of a gcc2
 
31713
+   builtin and then its argument prototype would still apply.  */
 
31714
+char dld_link ();
 
31715
+int
 
31716
+main ()
 
31717
+{
 
31718
+dld_link ();
 
31719
+  ;
 
31720
+  return 0;
 
31721
+}
 
31722
+_ACEOF
 
31723
+rm -f conftest.$ac_objext conftest$ac_exeext
 
31724
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
31725
+  (eval $ac_link) 2>conftest.er1
 
31726
+  ac_status=$?
 
31727
+  grep -v '^ *+' conftest.er1 >conftest.err
 
31728
+  rm -f conftest.er1
 
31729
+  cat conftest.err >&5
 
31730
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31731
   (exit $ac_status); } &&
 
31732
-        { ac_try='test -z "$ac_c_werror_flag"
 
31733
-                        || test ! -s conftest.err'
 
31734
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
31735
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
31736
   (eval $ac_try) 2>&5
 
31737
   ac_status=$?
 
31738
@@ -7097,375 +17905,788 @@
 
31739
   (eval $ac_try) 2>&5
 
31740
   ac_status=$?
 
31741
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31742
-  (exit $ac_status); }; }; then
 
31743
-  ac_cv_lib_dld_dld_link=yes
 
31744
-else
 
31745
-  echo "$as_me: failed program was:" >&5
 
31746
-sed 's/^/| /' conftest.$ac_ext >&5
 
31747
+  (exit $ac_status); }; }; then
 
31748
+  ac_cv_lib_dld_dld_link=yes
 
31749
+else
 
31750
+  echo "$as_me: failed program was:" >&5
 
31751
+sed 's/^/| /' conftest.$ac_ext >&5
 
31752
+
 
31753
+ac_cv_lib_dld_dld_link=no
 
31754
+fi
 
31755
+rm -f conftest.err conftest.$ac_objext \
 
31756
+      conftest$ac_exeext conftest.$ac_ext
 
31757
+LIBS=$ac_check_lib_save_LIBS
 
31758
+fi
 
31759
+echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
31760
+echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
31761
+if test $ac_cv_lib_dld_dld_link = yes; then
 
31762
+  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
31763
+fi
 
31764
+
 
31765
+
 
31766
+fi
 
31767
+
 
31768
+
 
31769
+fi
 
31770
+
 
31771
+
 
31772
+fi
 
31773
+
 
31774
+
 
31775
+fi
 
31776
+
 
31777
+
 
31778
+fi
 
31779
+
 
31780
+    ;;
 
31781
+  esac
 
31782
+
 
31783
+  if test "x$lt_cv_dlopen" != xno; then
 
31784
+    enable_dlopen=yes
 
31785
+  else
 
31786
+    enable_dlopen=no
 
31787
+  fi
 
31788
+
 
31789
+  case $lt_cv_dlopen in
 
31790
+  dlopen)
 
31791
+    save_CPPFLAGS="$CPPFLAGS"
 
31792
+    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
31793
+
 
31794
+    save_LDFLAGS="$LDFLAGS"
 
31795
+    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
31796
+
 
31797
+    save_LIBS="$LIBS"
 
31798
+    LIBS="$lt_cv_dlopen_libs $LIBS"
 
31799
+
 
31800
+    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
31801
+echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
31802
+if test "${lt_cv_dlopen_self+set}" = set; then
 
31803
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
31804
+else
 
31805
+         if test "$cross_compiling" = yes; then :
 
31806
+  lt_cv_dlopen_self=cross
 
31807
+else
 
31808
+  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
31809
+  lt_status=$lt_dlunknown
 
31810
+  cat > conftest.$ac_ext <<EOF
 
31811
+#line 17972 "configure"
 
31812
+#include "confdefs.h"
 
31813
+
 
31814
+#if HAVE_DLFCN_H
 
31815
+#include <dlfcn.h>
 
31816
+#endif
 
31817
+
 
31818
+#include <stdio.h>
 
31819
+
 
31820
+#ifdef RTLD_GLOBAL
 
31821
+#  define LT_DLGLOBAL          RTLD_GLOBAL
 
31822
+#else
 
31823
+#  ifdef DL_GLOBAL
 
31824
+#    define LT_DLGLOBAL                DL_GLOBAL
 
31825
+#  else
 
31826
+#    define LT_DLGLOBAL                0
 
31827
+#  endif
 
31828
+#endif
 
31829
+
 
31830
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
31831
+   find out it does not work in some platform. */
 
31832
+#ifndef LT_DLLAZY_OR_NOW
 
31833
+#  ifdef RTLD_LAZY
 
31834
+#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
 
31835
+#  else
 
31836
+#    ifdef DL_LAZY
 
31837
+#      define LT_DLLAZY_OR_NOW         DL_LAZY
 
31838
+#    else
 
31839
+#      ifdef RTLD_NOW
 
31840
+#        define LT_DLLAZY_OR_NOW       RTLD_NOW
 
31841
+#      else
 
31842
+#        ifdef DL_NOW
 
31843
+#          define LT_DLLAZY_OR_NOW     DL_NOW
 
31844
+#        else
 
31845
+#          define LT_DLLAZY_OR_NOW     0
 
31846
+#        endif
 
31847
+#      endif
 
31848
+#    endif
 
31849
+#  endif
 
31850
+#endif
 
31851
+
 
31852
+#ifdef __cplusplus
 
31853
+extern "C" void exit (int);
 
31854
+#endif
 
31855
+
 
31856
+void fnord() { int i=42;}
 
31857
+int main ()
 
31858
+{
 
31859
+  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
31860
+  int status = $lt_dlunknown;
 
31861
+
 
31862
+  if (self)
 
31863
+    {
 
31864
+      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
31865
+      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
31866
+      /* dlclose (self); */
 
31867
+    }
 
31868
+
 
31869
+    exit (status);
 
31870
+}
 
31871
+EOF
 
31872
+  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
31873
+  (eval $ac_link) 2>&5
 
31874
+  ac_status=$?
 
31875
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31876
+  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
31877
+    (./conftest; exit; ) 2>/dev/null
 
31878
+    lt_status=$?
 
31879
+    case x$lt_status in
 
31880
+      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
31881
+      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
31882
+      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
 
31883
+    esac
 
31884
+  else :
 
31885
+    # compilation failed
 
31886
+    lt_cv_dlopen_self=no
 
31887
+  fi
 
31888
+fi
 
31889
+rm -fr conftest*
 
31890
+
 
31891
+
 
31892
+fi
 
31893
+echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
31894
+echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
31895
+
 
31896
+    if test "x$lt_cv_dlopen_self" = xyes; then
 
31897
+      LDFLAGS="$LDFLAGS $link_static_flag"
 
31898
+      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
31899
+echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
31900
+if test "${lt_cv_dlopen_self_static+set}" = set; then
 
31901
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
31902
+else
 
31903
+         if test "$cross_compiling" = yes; then :
 
31904
+  lt_cv_dlopen_self_static=cross
 
31905
+else
 
31906
+  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
31907
+  lt_status=$lt_dlunknown
 
31908
+  cat > conftest.$ac_ext <<EOF
 
31909
+#line 18070 "configure"
 
31910
+#include "confdefs.h"
 
31911
+
 
31912
+#if HAVE_DLFCN_H
 
31913
+#include <dlfcn.h>
 
31914
+#endif
 
31915
+
 
31916
+#include <stdio.h>
 
31917
+
 
31918
+#ifdef RTLD_GLOBAL
 
31919
+#  define LT_DLGLOBAL          RTLD_GLOBAL
 
31920
+#else
 
31921
+#  ifdef DL_GLOBAL
 
31922
+#    define LT_DLGLOBAL                DL_GLOBAL
 
31923
+#  else
 
31924
+#    define LT_DLGLOBAL                0
 
31925
+#  endif
 
31926
+#endif
 
31927
+
 
31928
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
31929
+   find out it does not work in some platform. */
 
31930
+#ifndef LT_DLLAZY_OR_NOW
 
31931
+#  ifdef RTLD_LAZY
 
31932
+#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
 
31933
+#  else
 
31934
+#    ifdef DL_LAZY
 
31935
+#      define LT_DLLAZY_OR_NOW         DL_LAZY
 
31936
+#    else
 
31937
+#      ifdef RTLD_NOW
 
31938
+#        define LT_DLLAZY_OR_NOW       RTLD_NOW
 
31939
+#      else
 
31940
+#        ifdef DL_NOW
 
31941
+#          define LT_DLLAZY_OR_NOW     DL_NOW
 
31942
+#        else
 
31943
+#          define LT_DLLAZY_OR_NOW     0
 
31944
+#        endif
 
31945
+#      endif
 
31946
+#    endif
 
31947
+#  endif
 
31948
+#endif
 
31949
+
 
31950
+#ifdef __cplusplus
 
31951
+extern "C" void exit (int);
 
31952
+#endif
 
31953
+
 
31954
+void fnord() { int i=42;}
 
31955
+int main ()
 
31956
+{
 
31957
+  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
31958
+  int status = $lt_dlunknown;
 
31959
+
 
31960
+  if (self)
 
31961
+    {
 
31962
+      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
31963
+      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
31964
+      /* dlclose (self); */
 
31965
+    }
 
31966
+
 
31967
+    exit (status);
 
31968
+}
 
31969
+EOF
 
31970
+  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
31971
+  (eval $ac_link) 2>&5
 
31972
+  ac_status=$?
 
31973
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31974
+  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
31975
+    (./conftest; exit; ) 2>/dev/null
 
31976
+    lt_status=$?
 
31977
+    case x$lt_status in
 
31978
+      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
31979
+      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
31980
+      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
 
31981
+    esac
 
31982
+  else :
 
31983
+    # compilation failed
 
31984
+    lt_cv_dlopen_self_static=no
 
31985
+  fi
 
31986
+fi
 
31987
+rm -fr conftest*
 
31988
+
 
31989
+
 
31990
+fi
 
31991
+echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
31992
+echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
31993
+    fi
 
31994
+
 
31995
+    CPPFLAGS="$save_CPPFLAGS"
 
31996
+    LDFLAGS="$save_LDFLAGS"
 
31997
+    LIBS="$save_LIBS"
 
31998
+    ;;
 
31999
+  esac
 
32000
+
 
32001
+  case $lt_cv_dlopen_self in
 
32002
+  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
32003
+  *) enable_dlopen_self=unknown ;;
 
32004
+  esac
 
32005
+
 
32006
+  case $lt_cv_dlopen_self_static in
 
32007
+  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
32008
+  *) enable_dlopen_self_static=unknown ;;
 
32009
+  esac
 
32010
+fi
 
32011
+
 
32012
+
 
32013
+# The else clause should only fire when bootstrapping the
 
32014
+# libtool distribution, otherwise you forgot to ship ltmain.sh
 
32015
+# with your package, and you will get complaints that there are
 
32016
+# no rules to generate ltmain.sh.
 
32017
+if test -f "$ltmain"; then
 
32018
+  # See if we are running on zsh, and set the options which allow our commands through
 
32019
+  # without removal of \ escapes.
 
32020
+  if test -n "${ZSH_VERSION+set}" ; then
 
32021
+    setopt NO_GLOB_SUBST
 
32022
+  fi
 
32023
+  # Now quote all the things that may contain metacharacters while being
 
32024
+  # careful not to overquote the AC_SUBSTed values.  We take copies of the
 
32025
+  # variables and quote the copies for generation of the libtool script.
 
32026
+  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
32027
+    SED SHELL STRIP \
 
32028
+    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 
32029
+    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 
32030
+    deplibs_check_method reload_flag reload_cmds need_locks \
 
32031
+    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 
32032
+    lt_cv_sys_global_symbol_to_c_name_address \
 
32033
+    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 
32034
+    old_postinstall_cmds old_postuninstall_cmds \
 
32035
+    compiler_GCJ \
 
32036
+    CC_GCJ \
 
32037
+    LD_GCJ \
 
32038
+    lt_prog_compiler_wl_GCJ \
 
32039
+    lt_prog_compiler_pic_GCJ \
 
32040
+    lt_prog_compiler_static_GCJ \
 
32041
+    lt_prog_compiler_no_builtin_flag_GCJ \
 
32042
+    export_dynamic_flag_spec_GCJ \
 
32043
+    thread_safe_flag_spec_GCJ \
 
32044
+    whole_archive_flag_spec_GCJ \
 
32045
+    enable_shared_with_static_runtimes_GCJ \
 
32046
+    old_archive_cmds_GCJ \
 
32047
+    old_archive_from_new_cmds_GCJ \
 
32048
+    predep_objects_GCJ \
 
32049
+    postdep_objects_GCJ \
 
32050
+    predeps_GCJ \
 
32051
+    postdeps_GCJ \
 
32052
+    compiler_lib_search_path_GCJ \
 
32053
+    archive_cmds_GCJ \
 
32054
+    archive_expsym_cmds_GCJ \
 
32055
+    postinstall_cmds_GCJ \
 
32056
+    postuninstall_cmds_GCJ \
 
32057
+    old_archive_from_expsyms_cmds_GCJ \
 
32058
+    allow_undefined_flag_GCJ \
 
32059
+    no_undefined_flag_GCJ \
 
32060
+    export_symbols_cmds_GCJ \
 
32061
+    hardcode_libdir_flag_spec_GCJ \
 
32062
+    hardcode_libdir_flag_spec_ld_GCJ \
 
32063
+    hardcode_libdir_separator_GCJ \
 
32064
+    hardcode_automatic_GCJ \
 
32065
+    module_cmds_GCJ \
 
32066
+    module_expsym_cmds_GCJ \
 
32067
+    lt_cv_prog_compiler_c_o_GCJ \
 
32068
+    exclude_expsyms_GCJ \
 
32069
+    include_expsyms_GCJ; do
 
32070
+
 
32071
+    case $var in
 
32072
+    old_archive_cmds_GCJ | \
 
32073
+    old_archive_from_new_cmds_GCJ | \
 
32074
+    archive_cmds_GCJ | \
 
32075
+    archive_expsym_cmds_GCJ | \
 
32076
+    module_cmds_GCJ | \
 
32077
+    module_expsym_cmds_GCJ | \
 
32078
+    old_archive_from_expsyms_cmds_GCJ | \
 
32079
+    export_symbols_cmds_GCJ | \
 
32080
+    extract_expsyms_cmds | reload_cmds | finish_cmds | \
 
32081
+    postinstall_cmds | postuninstall_cmds | \
 
32082
+    old_postinstall_cmds | old_postuninstall_cmds | \
 
32083
+    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 
32084
+      # Double-quote double-evaled strings.
 
32085
+      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 
32086
+      ;;
 
32087
+    *)
 
32088
+      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 
32089
+      ;;
 
32090
+    esac
 
32091
+  done
 
32092
+
 
32093
+  case $lt_echo in
 
32094
+  *'\$0 --fallback-echo"')
 
32095
+    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 
32096
+    ;;
 
32097
+  esac
 
32098
+
 
32099
+cfgfile="$ofile"
 
32100
+
 
32101
+  cat <<__EOF__ >> "$cfgfile"
 
32102
+# ### BEGIN LIBTOOL TAG CONFIG: $tagname
 
32103
+
 
32104
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
32105
+
 
32106
+# Shell to use when invoking shell scripts.
 
32107
+SHELL=$lt_SHELL
 
32108
+
 
32109
+# Whether or not to build shared libraries.
 
32110
+build_libtool_libs=$enable_shared
 
32111
+
 
32112
+# Whether or not to build static libraries.
 
32113
+build_old_libs=$enable_static
 
32114
+
 
32115
+# Whether or not to add -lc for building shared libraries.
 
32116
+build_libtool_need_lc=$archive_cmds_need_lc_GCJ
 
32117
+
 
32118
+# Whether or not to disallow shared libs when runtime libs are static
 
32119
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
 
32120
+
 
32121
+# Whether or not to optimize for fast installation.
 
32122
+fast_install=$enable_fast_install
 
32123
+
 
32124
+# The host system.
 
32125
+host_alias=$host_alias
 
32126
+host=$host
 
32127
+
 
32128
+# An echo program that does not interpret backslashes.
 
32129
+echo=$lt_echo
 
32130
+
 
32131
+# The archiver.
 
32132
+AR=$lt_AR
 
32133
+AR_FLAGS=$lt_AR_FLAGS
 
32134
+
 
32135
+# A C compiler.
 
32136
+LTCC=$lt_LTCC
 
32137
+
 
32138
+# A language-specific compiler.
 
32139
+CC=$lt_compiler_GCJ
 
32140
+
 
32141
+# Is the compiler the GNU C compiler?
 
32142
+with_gcc=$GCC_GCJ
 
32143
+
 
32144
+# An ERE matcher.
 
32145
+EGREP=$lt_EGREP
 
32146
+
 
32147
+# The linker used to build libraries.
 
32148
+LD=$lt_LD_GCJ
 
32149
+
 
32150
+# Whether we need hard or soft links.
 
32151
+LN_S=$lt_LN_S
 
32152
+
 
32153
+# A BSD-compatible nm program.
 
32154
+NM=$lt_NM
 
32155
+
 
32156
+# A symbol stripping program
 
32157
+STRIP=$lt_STRIP
 
32158
+
 
32159
+# Used to examine libraries when file_magic_cmd begins "file"
 
32160
+MAGIC_CMD=$MAGIC_CMD
 
32161
+
 
32162
+# Used on cygwin: DLL creation program.
 
32163
+DLLTOOL="$DLLTOOL"
 
32164
+
 
32165
+# Used on cygwin: object dumper.
 
32166
+OBJDUMP="$OBJDUMP"
 
32167
+
 
32168
+# Used on cygwin: assembler.
 
32169
+AS="$AS"
 
32170
+
 
32171
+# The name of the directory that contains temporary libtool files.
 
32172
+objdir=$objdir
 
32173
+
 
32174
+# How to create reloadable object files.
 
32175
+reload_flag=$lt_reload_flag
 
32176
+reload_cmds=$lt_reload_cmds
 
32177
+
 
32178
+# How to pass a linker flag through the compiler.
 
32179
+wl=$lt_lt_prog_compiler_wl_GCJ
 
32180
+
 
32181
+# Object file suffix (normally "o").
 
32182
+objext="$ac_objext"
 
32183
+
 
32184
+# Old archive suffix (normally "a").
 
32185
+libext="$libext"
 
32186
+
 
32187
+# Shared library suffix (normally ".so").
 
32188
+shrext_cmds='$shrext_cmds'
 
32189
+
 
32190
+# Executable file suffix (normally "").
 
32191
+exeext="$exeext"
 
32192
+
 
32193
+# Additional compiler flags for building library objects.
 
32194
+pic_flag=$lt_lt_prog_compiler_pic_GCJ
 
32195
+pic_mode=$pic_mode
 
32196
+
 
32197
+# What is the maximum length of a command?
 
32198
+max_cmd_len=$lt_cv_sys_max_cmd_len
 
32199
+
 
32200
+# Does compiler simultaneously support -c and -o options?
 
32201
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
 
32202
+
 
32203
+# Must we lock files when doing compilation ?
 
32204
+need_locks=$lt_need_locks
 
32205
+
 
32206
+# Do we need the lib prefix for modules?
 
32207
+need_lib_prefix=$need_lib_prefix
 
32208
+
 
32209
+# Do we need a version for libraries?
 
32210
+need_version=$need_version
 
32211
+
 
32212
+# Whether dlopen is supported.
 
32213
+dlopen_support=$enable_dlopen
 
32214
+
 
32215
+# Whether dlopen of programs is supported.
 
32216
+dlopen_self=$enable_dlopen_self
 
32217
+
 
32218
+# Whether dlopen of statically linked programs is supported.
 
32219
+dlopen_self_static=$enable_dlopen_self_static
 
32220
+
 
32221
+# Compiler flag to prevent dynamic linking.
 
32222
+link_static_flag=$lt_lt_prog_compiler_static_GCJ
 
32223
+
 
32224
+# Compiler flag to turn off builtin functions.
 
32225
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
 
32226
+
 
32227
+# Compiler flag to allow reflexive dlopens.
 
32228
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
 
32229
+
 
32230
+# Compiler flag to generate shared objects directly from archives.
 
32231
+whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
 
32232
+
 
32233
+# Compiler flag to generate thread-safe objects.
 
32234
+thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
 
32235
+
 
32236
+# Library versioning type.
 
32237
+version_type=$version_type
 
32238
+
 
32239
+# Format of library name prefix.
 
32240
+libname_spec=$lt_libname_spec
 
32241
+
 
32242
+# List of archive names.  First name is the real one, the rest are links.
 
32243
+# The last name is the one that the linker finds with -lNAME.
 
32244
+library_names_spec=$lt_library_names_spec
 
32245
 
 
32246
-ac_cv_lib_dld_dld_link=no
 
32247
-fi
 
32248
-rm -f conftest.err conftest.$ac_objext \
 
32249
-      conftest$ac_exeext conftest.$ac_ext
 
32250
-LIBS=$ac_check_lib_save_LIBS
 
32251
-fi
 
32252
-echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
32253
-echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
32254
-if test $ac_cv_lib_dld_dld_link = yes; then
 
32255
-  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
32256
-fi
 
32257
+# The coded name of the library, if different from the real name.
 
32258
+soname_spec=$lt_soname_spec
 
32259
 
 
32260
+# Commands used to build and install an old-style archive.
 
32261
+RANLIB=$lt_RANLIB
 
32262
+old_archive_cmds=$lt_old_archive_cmds_GCJ
 
32263
+old_postinstall_cmds=$lt_old_postinstall_cmds
 
32264
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
32265
 
 
32266
-fi
 
32267
+# Create an old-style archive from a shared archive.
 
32268
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
 
32269
 
 
32270
+# Create a temporary old-style archive to link instead of a shared archive.
 
32271
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
 
32272
 
 
32273
-fi
 
32274
+# Commands used to build and install a shared archive.
 
32275
+archive_cmds=$lt_archive_cmds_GCJ
 
32276
+archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
 
32277
+postinstall_cmds=$lt_postinstall_cmds
 
32278
+postuninstall_cmds=$lt_postuninstall_cmds
 
32279
 
 
32280
+# Commands used to build a loadable module (assumed same as above if empty)
 
32281
+module_cmds=$lt_module_cmds_GCJ
 
32282
+module_expsym_cmds=$lt_module_expsym_cmds_GCJ
 
32283
 
 
32284
-fi
 
32285
+# Commands to strip libraries.
 
32286
+old_striplib=$lt_old_striplib
 
32287
+striplib=$lt_striplib
 
32288
 
 
32289
+# Dependencies to place before the objects being linked to create a
 
32290
+# shared library.
 
32291
+predep_objects=$lt_predep_objects_GCJ
 
32292
+
 
32293
+# Dependencies to place after the objects being linked to create a
 
32294
+# shared library.
 
32295
+postdep_objects=$lt_postdep_objects_GCJ
 
32296
+
 
32297
+# Dependencies to place before the objects being linked to create a
 
32298
+# shared library.
 
32299
+predeps=$lt_predeps_GCJ
 
32300
+
 
32301
+# Dependencies to place after the objects being linked to create a
 
32302
+# shared library.
 
32303
+postdeps=$lt_postdeps_GCJ
 
32304
+
 
32305
+# The library search path used internally by the compiler when linking
 
32306
+# a shared library.
 
32307
+compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
 
32308
 
 
32309
-fi
 
32310
+# Method to check whether dependent libraries are shared objects.
 
32311
+deplibs_check_method=$lt_deplibs_check_method
 
32312
 
 
32313
+# Command to use when deplibs_check_method == file_magic.
 
32314
+file_magic_cmd=$lt_file_magic_cmd
 
32315
 
 
32316
-fi
 
32317
+# Flag that allows shared libraries with undefined symbols to be built.
 
32318
+allow_undefined_flag=$lt_allow_undefined_flag_GCJ
 
32319
 
 
32320
-    ;;
 
32321
-  esac
 
32322
+# Flag that forces no undefined symbols.
 
32323
+no_undefined_flag=$lt_no_undefined_flag_GCJ
 
32324
 
 
32325
-  if test "x$lt_cv_dlopen" != xno; then
 
32326
-    enable_dlopen=yes
 
32327
-  else
 
32328
-    enable_dlopen=no
 
32329
-  fi
 
32330
+# Commands used to finish a libtool library installation in a directory.
 
32331
+finish_cmds=$lt_finish_cmds
 
32332
 
 
32333
-  case $lt_cv_dlopen in
 
32334
-  dlopen)
 
32335
-    save_CPPFLAGS="$CPPFLAGS"
 
32336
-        test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
32337
+# Same as above, but a single script fragment to be evaled but not shown.
 
32338
+finish_eval=$lt_finish_eval
 
32339
 
 
32340
-    save_LDFLAGS="$LDFLAGS"
 
32341
-    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
32342
+# Take the output of nm and produce a listing of raw symbols and C names.
 
32343
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
32344
 
 
32345
-    save_LIBS="$LIBS"
 
32346
-    LIBS="$lt_cv_dlopen_libs $LIBS"
 
32347
+# Transform the output of nm in a proper C declaration
 
32348
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
32349
 
 
32350
-    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
32351
-echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
32352
-if test "${lt_cv_dlopen_self+set}" = set; then
 
32353
-  echo $ECHO_N "(cached) $ECHO_C" >&6
 
32354
-else
 
32355
-         if test "$cross_compiling" = yes; then :
 
32356
-  lt_cv_dlopen_self=cross
 
32357
-else
 
32358
-    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
32359
-  lt_status=$lt_dlunknown
 
32360
-  cat > conftest.$ac_ext <<EOF
 
32361
-#line 7164 "configure"
 
32362
-#include "confdefs.h"
 
32363
+# Transform the output of nm in a C name address pair
 
32364
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
32365
 
 
32366
-#if HAVE_DLFCN_H
 
32367
-#include <dlfcn.h>
 
32368
-#endif
 
32369
+# This is the shared library runtime path variable.
 
32370
+runpath_var=$runpath_var
 
32371
 
 
32372
-#include <stdio.h>
 
32373
+# This is the shared library path variable.
 
32374
+shlibpath_var=$shlibpath_var
 
32375
 
 
32376
-#ifdef RTLD_GLOBAL
 
32377
-#  define LT_DLGLOBAL          RTLD_GLOBAL
 
32378
-#else
 
32379
-#  ifdef DL_GLOBAL
 
32380
-#    define LT_DLGLOBAL                DL_GLOBAL
 
32381
-#  else
 
32382
-#    define LT_DLGLOBAL                0
 
32383
-#  endif
 
32384
-#endif
 
32385
+# Is shlibpath searched before the hard-coded library search path?
 
32386
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
32387
 
 
32388
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
32389
-   find out it does not work in some platform. */
 
32390
-#ifndef LT_DLLAZY_OR_NOW
 
32391
-#  ifdef RTLD_LAZY
 
32392
-#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
 
32393
-#  else
 
32394
-#    ifdef DL_LAZY
 
32395
-#      define LT_DLLAZY_OR_NOW         DL_LAZY
 
32396
-#    else
 
32397
-#      ifdef RTLD_NOW
 
32398
-#        define LT_DLLAZY_OR_NOW       RTLD_NOW
 
32399
-#      else
 
32400
-#        ifdef DL_NOW
 
32401
-#          define LT_DLLAZY_OR_NOW     DL_NOW
 
32402
-#        else
 
32403
-#          define LT_DLLAZY_OR_NOW     0
 
32404
-#        endif
 
32405
-#      endif
 
32406
-#    endif
 
32407
-#  endif
 
32408
-#endif
 
32409
+# How to hardcode a shared library path into an executable.
 
32410
+hardcode_action=$hardcode_action_GCJ
 
32411
 
 
32412
-#ifdef __cplusplus
 
32413
-extern "C" void exit (int);
 
32414
-#endif
 
32415
+# Whether we should hardcode library paths into libraries.
 
32416
+hardcode_into_libs=$hardcode_into_libs
 
32417
 
 
32418
-void fnord() { int i=42;}
 
32419
-int main ()
 
32420
-{
 
32421
-  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
32422
-  int status = $lt_dlunknown;
 
32423
+# Flag to hardcode \$libdir into a binary during linking.
 
32424
+# This must work even if \$libdir does not exist.
 
32425
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
 
32426
 
 
32427
-  if (self)
 
32428
-    {
 
32429
-      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
32430
-      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
32431
-      /* dlclose (self); */
 
32432
-    }
 
32433
+# If ld is used when linking, flag to hardcode \$libdir into
 
32434
+# a binary during linking. This must work even if \$libdir does
 
32435
+# not exist.
 
32436
+hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
 
32437
 
 
32438
-    exit (status);
 
32439
-}
 
32440
-EOF
 
32441
-  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
32442
-  (eval $ac_link) 2>&5
 
32443
-  ac_status=$?
 
32444
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32445
-  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
32446
-    (./conftest; exit; ) 2>/dev/null
 
32447
-    lt_status=$?
 
32448
-    case x$lt_status in
 
32449
-      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
32450
-      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
32451
-      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
 
32452
-    esac
 
32453
-  else :
 
32454
-    # compilation failed
 
32455
-    lt_cv_dlopen_self=no
 
32456
-  fi
 
32457
-fi
 
32458
-rm -fr conftest*
 
32459
+# Whether we need a single -rpath flag with a separated argument.
 
32460
+hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
 
32461
 
 
32462
+# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 
32463
+# resulting binary.
 
32464
+hardcode_direct=$hardcode_direct_GCJ
 
32465
 
 
32466
-fi
 
32467
-echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
32468
-echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
32469
+# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 
32470
+# resulting binary.
 
32471
+hardcode_minus_L=$hardcode_minus_L_GCJ
 
32472
 
 
32473
-    if test "x$lt_cv_dlopen_self" = xyes; then
 
32474
-      LDFLAGS="$LDFLAGS $link_static_flag"
 
32475
-      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
32476
-echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
32477
-if test "${lt_cv_dlopen_self_static+set}" = set; then
 
32478
-  echo $ECHO_N "(cached) $ECHO_C" >&6
 
32479
-else
 
32480
-         if test "$cross_compiling" = yes; then :
 
32481
-  lt_cv_dlopen_self_static=cross
 
32482
-else
 
32483
-    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
32484
-  lt_status=$lt_dlunknown
 
32485
-  cat > conftest.$ac_ext <<EOF
 
32486
-#line 7262 "configure"
 
32487
-#include "confdefs.h"
 
32488
+# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 
32489
+# the resulting binary.
 
32490
+hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
 
32491
 
 
32492
-#if HAVE_DLFCN_H
 
32493
-#include <dlfcn.h>
 
32494
-#endif
 
32495
+# Set to yes if building a shared library automatically hardcodes DIR into the library
 
32496
+# and all subsequent libraries and executables linked against it.
 
32497
+hardcode_automatic=$hardcode_automatic_GCJ
 
32498
 
 
32499
-#include <stdio.h>
 
32500
+# Variables whose values should be saved in libtool wrapper scripts and
 
32501
+# restored at relink time.
 
32502
+variables_saved_for_relink="$variables_saved_for_relink"
 
32503
 
 
32504
-#ifdef RTLD_GLOBAL
 
32505
-#  define LT_DLGLOBAL          RTLD_GLOBAL
 
32506
-#else
 
32507
-#  ifdef DL_GLOBAL
 
32508
-#    define LT_DLGLOBAL                DL_GLOBAL
 
32509
-#  else
 
32510
-#    define LT_DLGLOBAL                0
 
32511
-#  endif
 
32512
-#endif
 
32513
+# Whether libtool must link a program against all its dependency libraries.
 
32514
+link_all_deplibs=$link_all_deplibs_GCJ
 
32515
 
 
32516
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
32517
-   find out it does not work in some platform. */
 
32518
-#ifndef LT_DLLAZY_OR_NOW
 
32519
-#  ifdef RTLD_LAZY
 
32520
-#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
 
32521
-#  else
 
32522
-#    ifdef DL_LAZY
 
32523
-#      define LT_DLLAZY_OR_NOW         DL_LAZY
 
32524
-#    else
 
32525
-#      ifdef RTLD_NOW
 
32526
-#        define LT_DLLAZY_OR_NOW       RTLD_NOW
 
32527
-#      else
 
32528
-#        ifdef DL_NOW
 
32529
-#          define LT_DLLAZY_OR_NOW     DL_NOW
 
32530
-#        else
 
32531
-#          define LT_DLLAZY_OR_NOW     0
 
32532
-#        endif
 
32533
-#      endif
 
32534
-#    endif
 
32535
-#  endif
 
32536
-#endif
 
32537
+# Compile-time system search path for libraries
 
32538
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
32539
 
 
32540
-#ifdef __cplusplus
 
32541
-extern "C" void exit (int);
 
32542
-#endif
 
32543
+# Run-time system search path for libraries
 
32544
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
32545
 
 
32546
-void fnord() { int i=42;}
 
32547
-int main ()
 
32548
-{
 
32549
-  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
32550
-  int status = $lt_dlunknown;
 
32551
+# Fix the shell variable \$srcfile for the compiler.
 
32552
+fix_srcfile_path="$fix_srcfile_path_GCJ"
 
32553
 
 
32554
-  if (self)
 
32555
-    {
 
32556
-      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
32557
-      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
32558
-      /* dlclose (self); */
 
32559
-    }
 
32560
+# Set to yes if exported symbols are required.
 
32561
+always_export_symbols=$always_export_symbols_GCJ
 
32562
 
 
32563
-    exit (status);
 
32564
-}
 
32565
-EOF
 
32566
-  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
32567
-  (eval $ac_link) 2>&5
 
32568
-  ac_status=$?
 
32569
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32570
-  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
32571
-    (./conftest; exit; ) 2>/dev/null
 
32572
-    lt_status=$?
 
32573
-    case x$lt_status in
 
32574
-      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
32575
-      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
32576
-      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
 
32577
-    esac
 
32578
-  else :
 
32579
-    # compilation failed
 
32580
-    lt_cv_dlopen_self_static=no
 
32581
+# The commands to list exported symbols.
 
32582
+export_symbols_cmds=$lt_export_symbols_cmds_GCJ
 
32583
+
 
32584
+# The commands to extract the exported symbol list from a shared archive.
 
32585
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
32586
+
 
32587
+# Symbols that should not be listed in the preloaded symbols.
 
32588
+exclude_expsyms=$lt_exclude_expsyms_GCJ
 
32589
+
 
32590
+# Symbols that must always be exported.
 
32591
+include_expsyms=$lt_include_expsyms_GCJ
 
32592
+
 
32593
+# ### END LIBTOOL TAG CONFIG: $tagname
 
32594
+
 
32595
+__EOF__
 
32596
+
 
32597
+
 
32598
+else
 
32599
+  # If there is no Makefile yet, we rely on a make rule to execute
 
32600
+  # `config.status --recheck' to rerun these tests and create the
 
32601
+  # libtool script then.
 
32602
+  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 
32603
+  if test -f "$ltmain_in"; then
 
32604
+    test -f Makefile && make "$ltmain"
 
32605
   fi
 
32606
 fi
 
32607
-rm -fr conftest*
 
32608
 
 
32609
 
 
32610
-fi
 
32611
-echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
32612
-echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
32613
-    fi
 
32614
+ac_ext=c
 
32615
+ac_cpp='$CPP $CPPFLAGS'
 
32616
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
32617
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
32618
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
32619
 
 
32620
-    CPPFLAGS="$save_CPPFLAGS"
 
32621
-    LDFLAGS="$save_LDFLAGS"
 
32622
-    LIBS="$save_LIBS"
 
32623
-    ;;
 
32624
-  esac
 
32625
+CC="$lt_save_CC"
 
32626
 
 
32627
-  case $lt_cv_dlopen_self in
 
32628
-  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
32629
-  *) enable_dlopen_self=unknown ;;
 
32630
-  esac
 
32631
+       else
 
32632
+         tagname=""
 
32633
+       fi
 
32634
+       ;;
 
32635
 
 
32636
-  case $lt_cv_dlopen_self_static in
 
32637
-  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
32638
-  *) enable_dlopen_self_static=unknown ;;
 
32639
-  esac
 
32640
-fi
 
32641
+      RC)
 
32642
 
 
32643
 
 
32644
-if test "$enable_shared" = yes && test "$GCC" = yes; then
 
32645
-  case $archive_cmds in
 
32646
-  *'~'*)
 
32647
-    # FIXME: we may have to deal with multi-command sequences.
 
32648
-    ;;
 
32649
-  '$CC '*)
 
32650
-    # Test whether the compiler implicitly links with -lc since on some
 
32651
-    # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
32652
-    # to ld, don't add -lc before -lgcc.
 
32653
-    echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
32654
-echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
32655
-    if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
 
32656
-  echo $ECHO_N "(cached) $ECHO_C" >&6
 
32657
-else
 
32658
-  $rm conftest*
 
32659
-    echo 'static int dummy;' > conftest.$ac_ext
 
32660
 
 
32661
-    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
32662
-  (eval $ac_compile) 2>&5
 
32663
-  ac_status=$?
 
32664
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32665
-  (exit $ac_status); }; then
 
32666
-      soname=conftest
 
32667
-      lib=conftest
 
32668
-      libobjs=conftest.$ac_objext
 
32669
-      deplibs=
 
32670
-      wl=$lt_cv_prog_cc_wl
 
32671
-      compiler_flags=-v
 
32672
-      linker_flags=-v
 
32673
-      verstring=
 
32674
-      output_objdir=.
 
32675
-      libname=conftest
 
32676
-      save_allow_undefined_flag=$allow_undefined_flag
 
32677
-      allow_undefined_flag=
 
32678
-      if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
32679
-  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
32680
-  ac_status=$?
 
32681
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32682
-  (exit $ac_status); }
 
32683
-      then
 
32684
-       lt_cv_archive_cmds_need_lc=no
 
32685
-      else
 
32686
-       lt_cv_archive_cmds_need_lc=yes
 
32687
-      fi
 
32688
-      allow_undefined_flag=$save_allow_undefined_flag
 
32689
-    else
 
32690
-      cat conftest.err 1>&5
 
32691
-    fi
 
32692
-fi
 
32693
+# Source file extension for RC test sources.
 
32694
+ac_ext=rc
 
32695
 
 
32696
-    echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
 
32697
-echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
 
32698
-    ;;
 
32699
-  esac
 
32700
-fi
 
32701
-need_lc=${lt_cv_archive_cmds_need_lc-yes}
 
32702
+# Object file extension for compiled RC test sources.
 
32703
+objext=o
 
32704
+objext_RC=$objext
 
32705
+
 
32706
+# Code to be used in simple compile tests
 
32707
+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 
32708
+
 
32709
+# Code to be used in simple link tests
 
32710
+lt_simple_link_test_code="$lt_simple_compile_test_code"
 
32711
+
 
32712
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
32713
+
 
32714
+# If no C compiler was specified, use CC.
 
32715
+LTCC=${LTCC-"$CC"}
 
32716
+
 
32717
+# Allow CC to be a program name with arguments.
 
32718
+compiler=$CC
 
32719
+
 
32720
+
 
32721
+# Allow CC to be a program name with arguments.
 
32722
+lt_save_CC="$CC"
 
32723
+CC=${RC-"windres"}
 
32724
+compiler=$CC
 
32725
+compiler_RC=$CC
 
32726
+lt_cv_prog_compiler_c_o_RC=yes
 
32727
 
 
32728
-# The second clause should only fire when bootstrapping the
 
32729
+# The else clause should only fire when bootstrapping the
 
32730
 # libtool distribution, otherwise you forgot to ship ltmain.sh
 
32731
 # with your package, and you will get complaints that there are
 
32732
 # no rules to generate ltmain.sh.
 
32733
 if test -f "$ltmain"; then
 
32734
-  :
 
32735
-else
 
32736
-  # If there is no Makefile yet, we rely on a make rule to execute
 
32737
-  # `config.status --recheck' to rerun these tests and create the
 
32738
-  # libtool script then.
 
32739
-  test -f Makefile && make "$ltmain"
 
32740
-fi
 
32741
-
 
32742
-if test -f "$ltmain"; then
 
32743
-  trap "$rm \"${ofile}T\"; exit 1" 1 2 15
 
32744
-  $rm -f "${ofile}T"
 
32745
-
 
32746
-  echo creating $ofile
 
32747
-
 
32748
+  # See if we are running on zsh, and set the options which allow our commands through
 
32749
+  # without removal of \ escapes.
 
32750
+  if test -n "${ZSH_VERSION+set}" ; then
 
32751
+    setopt NO_GLOB_SUBST
 
32752
+  fi
 
32753
   # Now quote all the things that may contain metacharacters while being
 
32754
   # careful not to overquote the AC_SUBSTed values.  We take copies of the
 
32755
   # variables and quote the copies for generation of the libtool script.
 
32756
-  for var in echo old_CC old_CFLAGS \
 
32757
-    AR AR_FLAGS CC LD LN_S NM SHELL \
 
32758
-    reload_flag reload_cmds wl \
 
32759
-    pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
 
32760
-    thread_safe_flag_spec whole_archive_flag_spec libname_spec \
 
32761
-    library_names_spec soname_spec \
 
32762
-    RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
 
32763
-    old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
 
32764
-    postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
 
32765
-    old_striplib striplib file_magic_cmd export_symbols_cmds \
 
32766
-    deplibs_check_method allow_undefined_flag no_undefined_flag \
 
32767
-    finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
 
32768
-    global_symbol_to_c_name_address \
 
32769
-    hardcode_libdir_flag_spec hardcode_libdir_separator  \
 
32770
+  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
32771
+    SED SHELL STRIP \
 
32772
+    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 
32773
+    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 
32774
+    deplibs_check_method reload_flag reload_cmds need_locks \
 
32775
+    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 
32776
+    lt_cv_sys_global_symbol_to_c_name_address \
 
32777
     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 
32778
-    compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
 
32779
+    old_postinstall_cmds old_postuninstall_cmds \
 
32780
+    compiler_RC \
 
32781
+    CC_RC \
 
32782
+    LD_RC \
 
32783
+    lt_prog_compiler_wl_RC \
 
32784
+    lt_prog_compiler_pic_RC \
 
32785
+    lt_prog_compiler_static_RC \
 
32786
+    lt_prog_compiler_no_builtin_flag_RC \
 
32787
+    export_dynamic_flag_spec_RC \
 
32788
+    thread_safe_flag_spec_RC \
 
32789
+    whole_archive_flag_spec_RC \
 
32790
+    enable_shared_with_static_runtimes_RC \
 
32791
+    old_archive_cmds_RC \
 
32792
+    old_archive_from_new_cmds_RC \
 
32793
+    predep_objects_RC \
 
32794
+    postdep_objects_RC \
 
32795
+    predeps_RC \
 
32796
+    postdeps_RC \
 
32797
+    compiler_lib_search_path_RC \
 
32798
+    archive_cmds_RC \
 
32799
+    archive_expsym_cmds_RC \
 
32800
+    postinstall_cmds_RC \
 
32801
+    postuninstall_cmds_RC \
 
32802
+    old_archive_from_expsyms_cmds_RC \
 
32803
+    allow_undefined_flag_RC \
 
32804
+    no_undefined_flag_RC \
 
32805
+    export_symbols_cmds_RC \
 
32806
+    hardcode_libdir_flag_spec_RC \
 
32807
+    hardcode_libdir_flag_spec_ld_RC \
 
32808
+    hardcode_libdir_separator_RC \
 
32809
+    hardcode_automatic_RC \
 
32810
+    module_cmds_RC \
 
32811
+    module_expsym_cmds_RC \
 
32812
+    lt_cv_prog_compiler_c_o_RC \
 
32813
+    exclude_expsyms_RC \
 
32814
+    include_expsyms_RC; do
 
32815
 
 
32816
     case $var in
 
32817
-    reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
 
32818
-    old_postinstall_cmds | old_postuninstall_cmds | \
 
32819
-    export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
 
32820
-    extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
 
32821
+    old_archive_cmds_RC | \
 
32822
+    old_archive_from_new_cmds_RC | \
 
32823
+    archive_cmds_RC | \
 
32824
+    archive_expsym_cmds_RC | \
 
32825
+    module_cmds_RC | \
 
32826
+    module_expsym_cmds_RC | \
 
32827
+    old_archive_from_expsyms_cmds_RC | \
 
32828
+    export_symbols_cmds_RC | \
 
32829
+    extract_expsyms_cmds | reload_cmds | finish_cmds | \
 
32830
     postinstall_cmds | postuninstall_cmds | \
 
32831
-    finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 
32832
+    old_postinstall_cmds | old_postuninstall_cmds | \
 
32833
+    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 
32834
       # Double-quote double-evaled strings.
 
32835
       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 
32836
       ;;
 
32837
@@ -7475,43 +18696,16 @@
 
32838
     esac
 
32839
   done
 
32840
 
 
32841
-  cat <<__EOF__ > "${ofile}T"
 
32842
-#! $SHELL
 
32843
-
 
32844
-# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
32845
-# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
 
32846
-# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
32847
-#
 
32848
-# Copyright (C) 1996-2000 Free Software Foundation, Inc.
 
32849
-# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 
32850
-#
 
32851
-# This program is free software; you can redistribute it and/or modify
 
32852
-# it under the terms of the GNU General Public License as published by
 
32853
-# the Free Software Foundation; either version 2 of the License, or
 
32854
-# (at your option) any later version.
 
32855
-#
 
32856
-# This program is distributed in the hope that it will be useful, but
 
32857
-# WITHOUT ANY WARRANTY; without even the implied warranty of
 
32858
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
32859
-# General Public License for more details.
 
32860
-#
 
32861
-# You should have received a copy of the GNU General Public License
 
32862
-# along with this program; if not, write to the Free Software
 
32863
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
32864
-#
 
32865
-# As a special exception to the GNU General Public License, if you
 
32866
-# distribute this file as part of a program that contains a
 
32867
-# configuration script generated by Autoconf, you may include it under
 
32868
-# the same distribution terms that you use for the rest of that program.
 
32869
-
 
32870
-# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
32871
-Xsed="sed -e s/^X//"
 
32872
+  case $lt_echo in
 
32873
+  *'\$0 --fallback-echo"')
 
32874
+    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 
32875
+    ;;
 
32876
+  esac
 
32877
 
 
32878
-# The HP-UX ksh and POSIX shell print the target directory to stdout
 
32879
-# if CDPATH is set.
 
32880
-if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
 
32881
+cfgfile="$ofile"
 
32882
 
 
32883
-# ### BEGIN LIBTOOL CONFIG
 
32884
+  cat <<__EOF__ >> "$cfgfile"
 
32885
+# ### BEGIN LIBTOOL TAG CONFIG: $tagname
 
32886
 
 
32887
 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
32888
 
 
32889
@@ -7525,7 +18719,10 @@
 
32890
 build_old_libs=$enable_static
 
32891
 
 
32892
 # Whether or not to add -lc for building shared libraries.
 
32893
-build_libtool_need_lc=$need_lc
 
32894
+build_libtool_need_lc=$archive_cmds_need_lc_RC
 
32895
+
 
32896
+# Whether or not to disallow shared libs when runtime libs are static
 
32897
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
 
32898
 
 
32899
 # Whether or not to optimize for fast installation.
 
32900
 fast_install=$enable_fast_install
 
32901
@@ -7541,14 +18738,20 @@
 
32902
 AR=$lt_AR
 
32903
 AR_FLAGS=$lt_AR_FLAGS
 
32904
 
 
32905
-# The default C compiler.
 
32906
-CC=$lt_CC
 
32907
+# A C compiler.
 
32908
+LTCC=$lt_LTCC
 
32909
+
 
32910
+# A language-specific compiler.
 
32911
+CC=$lt_compiler_RC
 
32912
 
 
32913
 # Is the compiler the GNU C compiler?
 
32914
-with_gcc=$GCC
 
32915
+with_gcc=$GCC_RC
 
32916
+
 
32917
+# An ERE matcher.
 
32918
+EGREP=$lt_EGREP
 
32919
 
 
32920
 # The linker used to build libraries.
 
32921
-LD=$lt_LD
 
32922
+LD=$lt_LD_RC
 
32923
 
 
32924
 # Whether we need hard or soft links.
 
32925
 LN_S=$lt_LN_S
 
32926
@@ -7557,7 +18760,7 @@
 
32927
 NM=$lt_NM
 
32928
 
 
32929
 # A symbol stripping program
 
32930
-STRIP=$STRIP
 
32931
+STRIP=$lt_STRIP
 
32932
 
 
32933
 # Used to examine libraries when file_magic_cmd begins "file"
 
32934
 MAGIC_CMD=$MAGIC_CMD
 
32935
@@ -7579,7 +18782,7 @@
 
32936
 reload_cmds=$lt_reload_cmds
 
32937
 
 
32938
 # How to pass a linker flag through the compiler.
 
32939
-wl=$lt_wl
 
32940
+wl=$lt_lt_prog_compiler_wl_RC
 
32941
 
 
32942
 # Object file suffix (normally "o").
 
32943
 objext="$ac_objext"
 
32944
@@ -7587,18 +18790,21 @@
 
32945
 # Old archive suffix (normally "a").
 
32946
 libext="$libext"
 
32947
 
 
32948
+# Shared library suffix (normally ".so").
 
32949
+shrext_cmds='$shrext_cmds'
 
32950
+
 
32951
 # Executable file suffix (normally "").
 
32952
 exeext="$exeext"
 
32953
 
 
32954
 # Additional compiler flags for building library objects.
 
32955
-pic_flag=$lt_pic_flag
 
32956
+pic_flag=$lt_lt_prog_compiler_pic_RC
 
32957
 pic_mode=$pic_mode
 
32958
 
 
32959
-# Does compiler simultaneously support -c and -o options?
 
32960
-compiler_c_o=$lt_compiler_c_o
 
32961
+# What is the maximum length of a command?
 
32962
+max_cmd_len=$lt_cv_sys_max_cmd_len
 
32963
 
 
32964
-# Can we write directly to a .lo ?
 
32965
-compiler_o_lo=$lt_compiler_o_lo
 
32966
+# Does compiler simultaneously support -c and -o options?
 
32967
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
 
32968
 
 
32969
 # Must we lock files when doing compilation ?
 
32970
 need_locks=$lt_need_locks
 
32971
@@ -7619,19 +18825,19 @@
 
32972
 dlopen_self_static=$enable_dlopen_self_static
 
32973
 
 
32974
 # Compiler flag to prevent dynamic linking.
 
32975
-link_static_flag=$lt_link_static_flag
 
32976
+link_static_flag=$lt_lt_prog_compiler_static_RC
 
32977
 
 
32978
 # Compiler flag to turn off builtin functions.
 
32979
-no_builtin_flag=$lt_no_builtin_flag
 
32980
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
 
32981
 
 
32982
 # Compiler flag to allow reflexive dlopens.
 
32983
-export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
32984
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
 
32985
 
 
32986
 # Compiler flag to generate shared objects directly from archives.
 
32987
-whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
32988
+whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
 
32989
 
 
32990
 # Compiler flag to generate thread-safe objects.
 
32991
-thread_safe_flag_spec=$lt_thread_safe_flag_spec
 
32992
+thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
 
32993
 
 
32994
 # Library versioning type.
 
32995
 version_type=$version_type
 
32996
@@ -7648,26 +18854,50 @@
 
32997
 
 
32998
 # Commands used to build and install an old-style archive.
 
32999
 RANLIB=$lt_RANLIB
 
33000
-old_archive_cmds=$lt_old_archive_cmds
 
33001
+old_archive_cmds=$lt_old_archive_cmds_RC
 
33002
 old_postinstall_cmds=$lt_old_postinstall_cmds
 
33003
 old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
33004
 
 
33005
 # Create an old-style archive from a shared archive.
 
33006
-old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
33007
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
 
33008
 
 
33009
 # Create a temporary old-style archive to link instead of a shared archive.
 
33010
-old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
33011
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
 
33012
 
 
33013
 # Commands used to build and install a shared archive.
 
33014
-archive_cmds=$lt_archive_cmds
 
33015
-archive_expsym_cmds=$lt_archive_expsym_cmds
 
33016
+archive_cmds=$lt_archive_cmds_RC
 
33017
+archive_expsym_cmds=$lt_archive_expsym_cmds_RC
 
33018
 postinstall_cmds=$lt_postinstall_cmds
 
33019
 postuninstall_cmds=$lt_postuninstall_cmds
 
33020
 
 
33021
+# Commands used to build a loadable module (assumed same as above if empty)
 
33022
+module_cmds=$lt_module_cmds_RC
 
33023
+module_expsym_cmds=$lt_module_expsym_cmds_RC
 
33024
+
 
33025
 # Commands to strip libraries.
 
33026
 old_striplib=$lt_old_striplib
 
33027
 striplib=$lt_striplib
 
33028
 
 
33029
+# Dependencies to place before the objects being linked to create a
 
33030
+# shared library.
 
33031
+predep_objects=$lt_predep_objects_RC
 
33032
+
 
33033
+# Dependencies to place after the objects being linked to create a
 
33034
+# shared library.
 
33035
+postdep_objects=$lt_postdep_objects_RC
 
33036
+
 
33037
+# Dependencies to place before the objects being linked to create a
 
33038
+# shared library.
 
33039
+predeps=$lt_predeps_RC
 
33040
+
 
33041
+# Dependencies to place after the objects being linked to create a
 
33042
+# shared library.
 
33043
+postdeps=$lt_postdeps_RC
 
33044
+
 
33045
+# The library search path used internally by the compiler when linking
 
33046
+# a shared library.
 
33047
+compiler_lib_search_path=$lt_compiler_lib_search_path_RC
 
33048
+
 
33049
 # Method to check whether dependent libraries are shared objects.
 
33050
 deplibs_check_method=$lt_deplibs_check_method
 
33051
 
 
33052
@@ -7675,10 +18905,10 @@
 
33053
 file_magic_cmd=$lt_file_magic_cmd
 
33054
 
 
33055
 # Flag that allows shared libraries with undefined symbols to be built.
 
33056
-allow_undefined_flag=$lt_allow_undefined_flag
 
33057
+allow_undefined_flag=$lt_allow_undefined_flag_RC
 
33058
 
 
33059
 # Flag that forces no undefined symbols.
 
33060
-no_undefined_flag=$lt_no_undefined_flag
 
33061
+no_undefined_flag=$lt_no_undefined_flag_RC
 
33062
 
 
33063
 # Commands used to finish a libtool library installation in a directory.
 
33064
 finish_cmds=$lt_finish_cmds
 
33065
@@ -7687,13 +18917,13 @@
 
33066
 finish_eval=$lt_finish_eval
 
33067
 
 
33068
 # Take the output of nm and produce a listing of raw symbols and C names.
 
33069
-global_symbol_pipe=$lt_global_symbol_pipe
 
33070
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
33071
 
 
33072
 # Transform the output of nm in a proper C declaration
 
33073
-global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
 
33074
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
33075
 
 
33076
 # Transform the output of nm in a C name address pair
 
33077
-global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
 
33078
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
33079
 
 
33080
 # This is the shared library runtime path variable.
 
33081
 runpath_var=$runpath_var
 
33082
@@ -7705,36 +18935,45 @@
 
33083
 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
33084
 
 
33085
 # How to hardcode a shared library path into an executable.
 
33086
-hardcode_action=$hardcode_action
 
33087
+hardcode_action=$hardcode_action_RC
 
33088
 
 
33089
 # Whether we should hardcode library paths into libraries.
 
33090
 hardcode_into_libs=$hardcode_into_libs
 
33091
 
 
33092
 # Flag to hardcode \$libdir into a binary during linking.
 
33093
 # This must work even if \$libdir does not exist.
 
33094
-hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
33095
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
 
33096
+
 
33097
+# If ld is used when linking, flag to hardcode \$libdir into
 
33098
+# a binary during linking. This must work even if \$libdir does
 
33099
+# not exist.
 
33100
+hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
 
33101
 
 
33102
 # Whether we need a single -rpath flag with a separated argument.
 
33103
-hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
33104
+hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
 
33105
 
 
33106
-# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
 
33107
+# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 
33108
 # resulting binary.
 
33109
-hardcode_direct=$hardcode_direct
 
33110
+hardcode_direct=$hardcode_direct_RC
 
33111
 
 
33112
 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 
33113
 # resulting binary.
 
33114
-hardcode_minus_L=$hardcode_minus_L
 
33115
+hardcode_minus_L=$hardcode_minus_L_RC
 
33116
 
 
33117
 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 
33118
 # the resulting binary.
 
33119
-hardcode_shlibpath_var=$hardcode_shlibpath_var
 
33120
+hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
 
33121
+
 
33122
+# Set to yes if building a shared library automatically hardcodes DIR into the library
 
33123
+# and all subsequent libraries and executables linked against it.
 
33124
+hardcode_automatic=$hardcode_automatic_RC
 
33125
 
 
33126
 # Variables whose values should be saved in libtool wrapper scripts and
 
33127
 # restored at relink time.
 
33128
 variables_saved_for_relink="$variables_saved_for_relink"
 
33129
 
 
33130
 # Whether libtool must link a program against all its dependency libraries.
 
33131
-link_all_deplibs=$link_all_deplibs
 
33132
+link_all_deplibs=$link_all_deplibs_RC
 
33133
 
 
33134
 # Compile-time system search path for libraries
 
33135
 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
33136
@@ -7743,234 +18982,75 @@
 
33137
 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
33138
 
 
33139
 # Fix the shell variable \$srcfile for the compiler.
 
33140
-fix_srcfile_path="$fix_srcfile_path"
 
33141
+fix_srcfile_path="$fix_srcfile_path_RC"
 
33142
 
 
33143
 # Set to yes if exported symbols are required.
 
33144
-always_export_symbols=$always_export_symbols
 
33145
+always_export_symbols=$always_export_symbols_RC
 
33146
 
 
33147
 # The commands to list exported symbols.
 
33148
-export_symbols_cmds=$lt_export_symbols_cmds
 
33149
+export_symbols_cmds=$lt_export_symbols_cmds_RC
 
33150
 
 
33151
 # The commands to extract the exported symbol list from a shared archive.
 
33152
 extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
33153
 
 
33154
 # Symbols that should not be listed in the preloaded symbols.
 
33155
-exclude_expsyms=$lt_exclude_expsyms
 
33156
+exclude_expsyms=$lt_exclude_expsyms_RC
 
33157
 
 
33158
 # Symbols that must always be exported.
 
33159
-include_expsyms=$lt_include_expsyms
 
33160
+include_expsyms=$lt_include_expsyms_RC
 
33161
 
 
33162
-# ### END LIBTOOL CONFIG
 
33163
+# ### END LIBTOOL TAG CONFIG: $tagname
 
33164
 
 
33165
 __EOF__
 
33166
 
 
33167
-  case $host_os in
 
33168
-  aix3*)
 
33169
-    cat <<\EOF >> "${ofile}T"
 
33170
 
 
33171
-# AIX sometimes has problems with the GCC collect2 program.  For some
 
33172
-# reason, if we set the COLLECT_NAMES environment variable, the problems
 
33173
-# vanish in a puff of smoke.
 
33174
-if test "X${COLLECT_NAMES+set}" != Xset; then
 
33175
-  COLLECT_NAMES=
 
33176
-  export COLLECT_NAMES
 
33177
+else
 
33178
+  # If there is no Makefile yet, we rely on a make rule to execute
 
33179
+  # `config.status --recheck' to rerun these tests and create the
 
33180
+  # libtool script then.
 
33181
+  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 
33182
+  if test -f "$ltmain_in"; then
 
33183
+    test -f Makefile && make "$ltmain"
 
33184
+  fi
 
33185
 fi
 
33186
-EOF
 
33187
-    ;;
 
33188
-  esac
 
33189
 
 
33190
-  case $host_os in
 
33191
-  cygwin* | mingw* | pw32* | os2*)
 
33192
-    cat <<'EOF' >> "${ofile}T"
 
33193
-      # This is a source program that is used to create dlls on Windows
 
33194
-      # Don't remove nor modify the starting and closing comments
 
33195
-# /* ltdll.c starts here */
 
33196
-# #define WIN32_LEAN_AND_MEAN
 
33197
-# #include <windows.h>
 
33198
-# #undef WIN32_LEAN_AND_MEAN
 
33199
-# #include <stdio.h>
 
33200
-#
 
33201
-# #ifndef __CYGWIN__
 
33202
-# #  ifdef __CYGWIN32__
 
33203
-# #    define __CYGWIN__ __CYGWIN32__
 
33204
-# #  endif
 
33205
-# #endif
 
33206
-#
 
33207
-# #ifdef __cplusplus
 
33208
-# extern "C" {
 
33209
-# #endif
 
33210
-# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
 
33211
-# #ifdef __cplusplus
 
33212
-# }
 
33213
-# #endif
 
33214
-#
 
33215
-# #ifdef __CYGWIN__
 
33216
-# #include <cygwin/cygwin_dll.h>
 
33217
-# DECLARE_CYGWIN_DLL( DllMain );
 
33218
-# #endif
 
33219
-# HINSTANCE __hDllInstance_base;
 
33220
-#
 
33221
-# BOOL APIENTRY
 
33222
-# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
 
33223
-# {
 
33224
-#   __hDllInstance_base = hInst;
 
33225
-#   return TRUE;
 
33226
-# }
 
33227
-# /* ltdll.c ends here */
 
33228
-       # This is a source program that is used to create import libraries
 
33229
-       # on Windows for dlls which lack them. Don't remove nor modify the
 
33230
-       # starting and closing comments
 
33231
-# /* impgen.c starts here */
 
33232
-# /*   Copyright (C) 1999-2000 Free Software Foundation, Inc.
 
33233
-#
 
33234
-#  This file is part of GNU libtool.
 
33235
-#
 
33236
-#  This program is free software; you can redistribute it and/or modify
 
33237
-#  it under the terms of the GNU General Public License as published by
 
33238
-#  the Free Software Foundation; either version 2 of the License, or
 
33239
-#  (at your option) any later version.
 
33240
-#
 
33241
-#  This program is distributed in the hope that it will be useful,
 
33242
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
33243
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
33244
-#  GNU General Public License for more details.
 
33245
-#
 
33246
-#  You should have received a copy of the GNU General Public License
 
33247
-#  along with this program; if not, write to the Free Software
 
33248
-#  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
33249
-#  */
 
33250
-#
 
33251
-# #include <stdio.h>           /* for printf() */
 
33252
-# #include <unistd.h>          /* for open(), lseek(), read() */
 
33253
-# #include <fcntl.h>           /* for O_RDONLY, O_BINARY */
 
33254
-# #include <string.h>          /* for strdup() */
 
33255
-#
 
33256
-# /* O_BINARY isn't required (or even defined sometimes) under Unix */
 
33257
-# #ifndef O_BINARY
 
33258
-# #define O_BINARY 0
 
33259
-# #endif
 
33260
-#
 
33261
-# static unsigned int
 
33262
-# pe_get16 (fd, offset)
 
33263
-#      int fd;
 
33264
-#      int offset;
 
33265
-# {
 
33266
-#   unsigned char b[2];
 
33267
-#   lseek (fd, offset, SEEK_SET);
 
33268
-#   read (fd, b, 2);
 
33269
-#   return b[0] + (b[1]<<8);
 
33270
-# }
 
33271
-#
 
33272
-# static unsigned int
 
33273
-# pe_get32 (fd, offset)
 
33274
-#     int fd;
 
33275
-#     int offset;
 
33276
-# {
 
33277
-#   unsigned char b[4];
 
33278
-#   lseek (fd, offset, SEEK_SET);
 
33279
-#   read (fd, b, 4);
 
33280
-#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
 
33281
-# }
 
33282
-#
 
33283
-# static unsigned int
 
33284
-# pe_as32 (ptr)
 
33285
-#      void *ptr;
 
33286
-# {
 
33287
-#   unsigned char *b = ptr;
 
33288
-#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
 
33289
-# }
 
33290
-#
 
33291
-# int
 
33292
-# main (argc, argv)
 
33293
-#     int argc;
 
33294
-#     char *argv[];
 
33295
-# {
 
33296
-#     int dll;
 
33297
-#     unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
 
33298
-#     unsigned long export_rva, export_size, nsections, secptr, expptr;
 
33299
-#     unsigned long name_rvas, nexp;
 
33300
-#     unsigned char *expdata, *erva;
 
33301
-#     char *filename, *dll_name;
 
33302
-#
 
33303
-#     filename = argv[1];
 
33304
-#
 
33305
-#     dll = open(filename, O_RDONLY|O_BINARY);
 
33306
-#     if (dll < 1)
 
33307
-#      return 1;
 
33308
-#
 
33309
-#     dll_name = filename;
 
33310
-#
 
33311
-#     for (i=0; filename[i]; i++)
 
33312
-#      if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':')
 
33313
-#          dll_name = filename + i +1;
 
33314
-#
 
33315
-#     pe_header_offset = pe_get32 (dll, 0x3c);
 
33316
-#     opthdr_ofs = pe_header_offset + 4 + 20;
 
33317
-#     num_entries = pe_get32 (dll, opthdr_ofs + 92);
 
33318
-#
 
33319
-#     if (num_entries < 1) /* no exports */
 
33320
-#      return 1;
 
33321
-#
 
33322
-#     export_rva = pe_get32 (dll, opthdr_ofs + 96);
 
33323
-#     export_size = pe_get32 (dll, opthdr_ofs + 100);
 
33324
-#     nsections = pe_get16 (dll, pe_header_offset + 4 +2);
 
33325
-#     secptr = (pe_header_offset + 4 + 20 +
 
33326
-#            pe_get16 (dll, pe_header_offset + 4 + 16));
 
33327
-#
 
33328
-#     expptr = 0;
 
33329
-#     for (i = 0; i < nsections; i++)
 
33330
-#     {
 
33331
-#      char sname[8];
 
33332
-#      unsigned long secptr1 = secptr + 40 * i;
 
33333
-#      unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
 
33334
-#      unsigned long vsize = pe_get32 (dll, secptr1 + 16);
 
33335
-#      unsigned long fptr = pe_get32 (dll, secptr1 + 20);
 
33336
-#      lseek(dll, secptr1, SEEK_SET);
 
33337
-#      read(dll, sname, 8);
 
33338
-#      if (vaddr <= export_rva && vaddr+vsize > export_rva)
 
33339
-#      {
 
33340
-#          expptr = fptr + (export_rva - vaddr);
 
33341
-#          if (export_rva + export_size > vaddr + vsize)
 
33342
-#              export_size = vsize - (export_rva - vaddr);
 
33343
-#          break;
 
33344
-#      }
 
33345
-#     }
 
33346
-#
 
33347
-#     expdata = (unsigned char*)malloc(export_size);
 
33348
-#     lseek (dll, expptr, SEEK_SET);
 
33349
-#     read (dll, expdata, export_size);
 
33350
-#     erva = expdata - export_rva;
 
33351
-#
 
33352
-#     nexp = pe_as32 (expdata+24);
 
33353
-#     name_rvas = pe_as32 (expdata+32);
 
33354
-#
 
33355
-#     printf ("EXPORTS\n");
 
33356
-#     for (i = 0; i<nexp; i++)
 
33357
-#     {
 
33358
-#      unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
 
33359
-#      printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
 
33360
-#     }
 
33361
-#
 
33362
-#     return 0;
 
33363
-# }
 
33364
-# /* impgen.c ends here */
 
33365
 
 
33366
-EOF
 
33367
-    ;;
 
33368
-  esac
 
33369
+ac_ext=c
 
33370
+ac_cpp='$CPP $CPPFLAGS'
 
33371
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
33372
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
33373
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
33374
 
 
33375
-  # We use sed instead of cat because bash on DJGPP gets confused if
 
33376
-  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
33377
-  # text mode, it properly converts lines to CR/LF.  This bash problem
 
33378
-  # is reportedly fixed, but why not run on old versions too?
 
33379
-  sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
 
33380
+CC="$lt_save_CC"
 
33381
 
 
33382
-  mv -f "${ofile}T" "$ofile" || \
 
33383
-    (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
 
33384
-  chmod +x "$ofile"
 
33385
-fi
 
33386
+       ;;
 
33387
+
 
33388
+      *)
 
33389
+       { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
 
33390
+echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
 
33391
+   { (exit 1); exit 1; }; }
 
33392
+       ;;
 
33393
+      esac
 
33394
 
 
33395
+      # Append the new tag name to the list of available tags.
 
33396
+      if test -n "$tagname" ; then
 
33397
+      available_tags="$available_tags $tagname"
 
33398
+    fi
 
33399
+    fi
 
33400
+  done
 
33401
+  IFS="$lt_save_ifs"
 
33402
 
 
33403
+  # Now substitute the updated list of available tags.
 
33404
+  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
 
33405
+    mv "${ofile}T" "$ofile"
 
33406
+    chmod +x "$ofile"
 
33407
+  else
 
33408
+    rm -f "${ofile}T"
 
33409
+    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
 
33410
+echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
 
33411
+   { (exit 1); exit 1; }; }
 
33412
+  fi
 
33413
+fi
 
33414
 
 
33415
 
 
33416
 
 
33417
@@ -7983,6 +19063,24 @@
 
33418
 # Prevent multiple expansion
 
33419
 
 
33420
 
 
33421
+
 
33422
+
 
33423
+
 
33424
+
 
33425
+
 
33426
+
 
33427
+
 
33428
+
 
33429
+
 
33430
+
 
33431
+
 
33432
+
 
33433
+
 
33434
+
 
33435
+
 
33436
+
 
33437
+
 
33438
+
 
33439
 sed -e 's/^build_old_libs=yes/build_old_libs=no/' libtool > libtool-disable-static
 
33440
 chmod +x libtool-disable-static
 
33441
 
 
33442
@@ -8138,8 +19236,7 @@
 
33443
   cat conftest.err >&5
 
33444
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33445
   (exit $ac_status); } &&
 
33446
-        { ac_try='test -z "$ac_cxx_werror_flag"
 
33447
-                        || test ! -s conftest.err'
 
33448
+        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
33449
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33450
   (eval $ac_try) 2>&5
 
33451
   ac_status=$?
 
33452
@@ -8197,8 +19294,7 @@
 
33453
   cat conftest.err >&5
 
33454
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33455
   (exit $ac_status); } &&
 
33456
-        { ac_try='test -z "$ac_cxx_werror_flag"
 
33457
-                        || test ! -s conftest.err'
 
33458
+        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
33459
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33460
   (eval $ac_try) 2>&5
 
33461
   ac_status=$?
 
33462
@@ -8269,8 +19365,7 @@
 
33463
   cat conftest.err >&5
 
33464
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33465
   (exit $ac_status); } &&
 
33466
-        { ac_try='test -z "$ac_cxx_werror_flag"
 
33467
-                        || test ! -s conftest.err'
 
33468
+        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
33469
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33470
   (eval $ac_try) 2>&5
 
33471
   ac_status=$?
 
33472
@@ -8314,8 +19409,7 @@
 
33473
   cat conftest.err >&5
 
33474
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33475
   (exit $ac_status); } &&
 
33476
-        { ac_try='test -z "$ac_cxx_werror_flag"
 
33477
-                        || test ! -s conftest.err'
 
33478
+        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
33479
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33480
   (eval $ac_try) 2>&5
 
33481
   ac_status=$?
 
33482
@@ -8519,8 +19613,7 @@
 
33483
   cat conftest.err >&5
 
33484
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33485
   (exit $ac_status); } &&
 
33486
-        { ac_try='test -z "$ac_c_werror_flag"
 
33487
-                        || test ! -s conftest.err'
 
33488
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
33489
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33490
   (eval $ac_try) 2>&5
 
33491
   ac_status=$?
 
33492
@@ -8622,8 +19715,7 @@
 
33493
   cat conftest.err >&5
 
33494
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33495
   (exit $ac_status); } &&
 
33496
-        { ac_try='test -z "$ac_c_werror_flag"
 
33497
-                        || test ! -s conftest.err'
 
33498
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
33499
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33500
   (eval $ac_try) 2>&5
 
33501
   ac_status=$?
 
33502
@@ -9115,8 +20207,7 @@
 
33503
   cat conftest.err >&5
 
33504
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33505
   (exit $ac_status); } &&
 
33506
-        { ac_try='test -z "$ac_c_werror_flag"
 
33507
-                        || test ! -s conftest.err'
 
33508
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
33509
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33510
   (eval $ac_try) 2>&5
 
33511
   ac_status=$?
 
33512
@@ -9434,6 +20525,19 @@
 
33513
 else
 
33514
   with_gnu_ld=no
 
33515
 fi;
 
33516
+# Prepare PATH_SEPARATOR.
 
33517
+# The user is always right.
 
33518
+if test "${PATH_SEPARATOR+set}" != set; then
 
33519
+  echo "#! /bin/sh" >conf$$.sh
 
33520
+  echo  "exit 0"   >>conf$$.sh
 
33521
+  chmod +x conf$$.sh
 
33522
+  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
33523
+    PATH_SEPARATOR=';'
 
33524
+  else
 
33525
+    PATH_SEPARATOR=:
 
33526
+  fi
 
33527
+  rm -f conf$$.sh
 
33528
+fi
 
33529
 ac_prog=ld
 
33530
 if test "$GCC" = yes; then
 
33531
   # Check if gcc -print-prog-name=ld gives a path.
 
33532
@@ -9485,11 +20589,12 @@
 
33533
       # Check to see if the program is GNU ld.  I'd rather use --version,
 
33534
       # but apparently some GNU ld's only accept -v.
 
33535
       # Break only if it was the GNU/non-GNU ld that we prefer.
 
33536
-      if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
 
33537
-       test "$with_gnu_ld" != no && break
 
33538
-      else
 
33539
-       test "$with_gnu_ld" != yes && break
 
33540
-      fi
 
33541
+      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
 
33542
+      *GNU* | *'with BFD'*)
 
33543
+       test "$with_gnu_ld" != no && break ;;
 
33544
+      *)
 
33545
+       test "$with_gnu_ld" != yes && break ;;
 
33546
+      esac
 
33547
     fi
 
33548
   done
 
33549
   IFS="$ac_save_ifs"
 
33550
@@ -9515,11 +20620,12 @@
 
33551
   echo $ECHO_N "(cached) $ECHO_C" >&6
 
33552
 else
 
33553
   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
33554
-if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
 
33555
-  acl_cv_prog_gnu_ld=yes
 
33556
-else
 
33557
-  acl_cv_prog_gnu_ld=no
 
33558
-fi
 
33559
+case `$LD -v 2>&1 </dev/null` in
 
33560
+*GNU* | *'with BFD'*)
 
33561
+  acl_cv_prog_gnu_ld=yes ;;
 
33562
+*)
 
33563
+  acl_cv_prog_gnu_ld=no ;;
 
33564
+esac
 
33565
 fi
 
33566
 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
 
33567
 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
 
33568
@@ -9527,6 +20633,7 @@
 
33569
 
 
33570
 
 
33571
 
 
33572
+
 
33573
                                                 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
 
33574
 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
 
33575
 if test "${acl_cv_rpath+set}" = set; then
 
33576
@@ -9549,8 +20656,6 @@
 
33577
   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
 
33578
   hardcode_direct="$acl_cv_hardcode_direct"
 
33579
   hardcode_minus_L="$acl_cv_hardcode_minus_L"
 
33580
-  sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec"
 
33581
-  sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec"
 
33582
     # Check whether --enable-rpath or --disable-rpath was given.
 
33583
 if test "${enable_rpath+set}" = set; then
 
33584
   enableval="$enable_rpath"
 
33585
@@ -9774,7 +20879,7 @@
 
33586
                 if test "X$additional_includedir" = "X/usr/local/include"; then
 
33587
                   if test -n "$GCC"; then
 
33588
                     case $host_os in
 
33589
-                      linux*) haveit=yes;;
 
33590
+                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
33591
                     esac
 
33592
                   fi
 
33593
                 fi
 
33594
@@ -9818,7 +20923,7 @@
 
33595
                       if test "X$additional_libdir" = "X/usr/local/lib"; then
 
33596
                         if test -n "$GCC"; then
 
33597
                           case $host_os in
 
33598
-                            linux*) haveit=yes;;
 
33599
+                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
33600
                           esac
 
33601
                         fi
 
33602
                       fi
 
33603
@@ -10007,8 +21112,7 @@
 
33604
   cat conftest.err >&5
 
33605
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33606
   (exit $ac_status); } &&
 
33607
-        { ac_try='test -z "$ac_c_werror_flag"
 
33608
-                        || test ! -s conftest.err'
 
33609
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
33610
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33611
   (eval $ac_try) 2>&5
 
33612
   ac_status=$?
 
33613
@@ -10058,8 +21162,7 @@
 
33614
   cat conftest.err >&5
 
33615
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33616
   (exit $ac_status); } &&
 
33617
-        { ac_try='test -z "$ac_c_werror_flag"
 
33618
-                        || test ! -s conftest.err'
 
33619
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
33620
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33621
   (eval $ac_try) 2>&5
 
33622
   ac_status=$?
 
33623
@@ -10149,8 +21252,7 @@
 
33624
   cat conftest.err >&5
 
33625
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33626
   (exit $ac_status); } &&
 
33627
-        { ac_try='test -z "$ac_c_werror_flag"
 
33628
-                        || test ! -s conftest.err'
 
33629
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
33630
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33631
   (eval $ac_try) 2>&5
 
33632
   ac_status=$?
 
33633
@@ -10215,8 +21317,7 @@
 
33634
   cat conftest.err >&5
 
33635
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33636
   (exit $ac_status); } &&
 
33637
-        { ac_try='test -z "$ac_c_werror_flag"
 
33638
-                        || test ! -s conftest.err'
 
33639
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
33640
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33641
   (eval $ac_try) 2>&5
 
33642
   ac_status=$?
 
33643
@@ -10730,6 +21831,13 @@
 
33644
 Usually this means the macro was only invoked conditionally." >&2;}
 
33645
    { (exit 1); exit 1; }; }
 
33646
 fi
 
33647
+if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
33648
+  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 
33649
+Usually this means the macro was only invoked conditionally." >&5
 
33650
+echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
33651
+Usually this means the macro was only invoked conditionally." >&2;}
 
33652
+   { (exit 1); exit 1; }; }
 
33653
+fi
 
33654
 if test -z "${FLaC__CPU_IA32_TRUE}" && test -z "${FLaC__CPU_IA32_FALSE}"; then
 
33655
   { { echo "$as_me:$LINENO: error: conditional \"FLaC__CPU_IA32\" was never defined.
 
33656
 Usually this means the macro was only invoked conditionally." >&5
 
33657
@@ -11527,21 +22635,27 @@
 
33658
 s,@CCDEPMODE@,$CCDEPMODE,;t t
 
33659
 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
 
33660
 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
 
33661
+s,@EGREP@,$EGREP,;t t
 
33662
 s,@LN_S@,$LN_S,;t t
 
33663
 s,@ECHO@,$ECHO,;t t
 
33664
+s,@AR@,$AR,;t t
 
33665
+s,@ac_ct_AR@,$ac_ct_AR,;t t
 
33666
 s,@RANLIB@,$RANLIB,;t t
 
33667
 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
 
33668
 s,@CPP@,$CPP,;t t
 
33669
-s,@EGREP@,$EGREP,;t t
 
33670
-s,@LIBTOOL@,$LIBTOOL,;t t
 
33671
-s,@CCAS@,$CCAS,;t t
 
33672
-s,@CCASFLAGS@,$CCASFLAGS,;t t
 
33673
 s,@CXX@,$CXX,;t t
 
33674
 s,@CXXFLAGS@,$CXXFLAGS,;t t
 
33675
 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
 
33676
 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
 
33677
 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
 
33678
 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
 
33679
+s,@CXXCPP@,$CXXCPP,;t t
 
33680
+s,@F77@,$F77,;t t
 
33681
+s,@FFLAGS@,$FFLAGS,;t t
 
33682
+s,@ac_ct_F77@,$ac_ct_F77,;t t
 
33683
+s,@LIBTOOL@,$LIBTOOL,;t t
 
33684
+s,@CCAS@,$CCAS,;t t
 
33685
+s,@CCASFLAGS@,$CCASFLAGS,;t t
 
33686
 s,@FLaC__CPU_IA32_TRUE@,$FLaC__CPU_IA32_TRUE,;t t
 
33687
 s,@FLaC__CPU_IA32_FALSE@,$FLaC__CPU_IA32_FALSE,;t t
 
33688
 s,@FLaC__CPU_PPC_TRUE@,$FLaC__CPU_PPC_TRUE,;t t
 
33689
@@ -11775,11 +22889,6 @@
 
33690
   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
33691
   esac
 
33692
 
 
33693
-  if test x"$ac_file" != x-; then
 
33694
-    { echo "$as_me:$LINENO: creating $ac_file" >&5
 
33695
-echo "$as_me: creating $ac_file" >&6;}
 
33696
-    rm -f "$ac_file"
 
33697
-  fi
 
33698
   # Let's still pretend it is `configure' which instantiates (i.e., don't
 
33699
   # use $as_me), people would be surprised to read:
 
33700
   #    /* config.h.  Generated by config.status.  */
 
33701
@@ -11818,6 +22927,12 @@
 
33702
         fi;;
 
33703
       esac
 
33704
     done` || { (exit 1); exit 1; }
 
33705
+
 
33706
+  if test x"$ac_file" != x-; then
 
33707
+    { echo "$as_me:$LINENO: creating $ac_file" >&5
 
33708
+echo "$as_me: creating $ac_file" >&6;}
 
33709
+    rm -f "$ac_file"
 
33710
+  fi
 
33711
 _ACEOF
 
33712
 cat >>$CONFIG_STATUS <<_ACEOF
 
33713
   sed "$ac_vpsub
 
33714
diff --exclude debian -urN orig/flac-1.1.2/doc/html/images/Makefile.in flac-1.1.2/doc/html/images/Makefile.in
 
33715
--- orig/flac-1.1.2/doc/html/images/Makefile.in 2005-02-04 18:23:28.000000000 -0800
 
33716
+++ flac-1.1.2/doc/html/images/Makefile.in      2005-08-17 19:52:35.000000000 -0700
 
33717
@@ -71,6 +71,7 @@
 
33718
 AMDEP_FALSE = @AMDEP_FALSE@
 
33719
 AMDEP_TRUE = @AMDEP_TRUE@
 
33720
 AMTAR = @AMTAR@
 
33721
+AR = @AR@
 
33722
 AS = @AS@
 
33723
 AUTOCONF = @AUTOCONF@
 
33724
 AUTOHEADER = @AUTOHEADER@
 
33725
@@ -84,6 +85,7 @@
 
33726
 CPP = @CPP@
 
33727
 CPPFLAGS = @CPPFLAGS@
 
33728
 CXX = @CXX@
 
33729
+CXXCPP = @CXXCPP@
 
33730
 CXXDEPMODE = @CXXDEPMODE@
 
33731
 CXXFLAGS = @CXXFLAGS@
 
33732
 CYGPATH_W = @CYGPATH_W@
 
33733
@@ -99,6 +101,8 @@
 
33734
 ECHO_T = @ECHO_T@
 
33735
 EGREP = @EGREP@
 
33736
 EXEEXT = @EXEEXT@
 
33737
+F77 = @F77@
 
33738
+FFLAGS = @FFLAGS@
 
33739
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
33740
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
33741
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
33742
@@ -186,8 +190,10 @@
 
33743
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
33744
 XMMS_VERSION = @XMMS_VERSION@
 
33745
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
33746
+ac_ct_AR = @ac_ct_AR@
 
33747
 ac_ct_CC = @ac_ct_CC@
 
33748
 ac_ct_CXX = @ac_ct_CXX@
 
33749
+ac_ct_F77 = @ac_ct_F77@
 
33750
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
33751
 ac_ct_STRIP = @ac_ct_STRIP@
 
33752
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
33753
diff --exclude debian -urN orig/flac-1.1.2/doc/html/Makefile.in flac-1.1.2/doc/html/Makefile.in
 
33754
--- orig/flac-1.1.2/doc/html/Makefile.in        2005-02-04 18:23:28.000000000 -0800
 
33755
+++ flac-1.1.2/doc/html/Makefile.in     2005-08-17 19:52:35.000000000 -0700
 
33756
@@ -80,6 +80,7 @@
 
33757
 AMDEP_FALSE = @AMDEP_FALSE@
 
33758
 AMDEP_TRUE = @AMDEP_TRUE@
 
33759
 AMTAR = @AMTAR@
 
33760
+AR = @AR@
 
33761
 AS = @AS@
 
33762
 AUTOCONF = @AUTOCONF@
 
33763
 AUTOHEADER = @AUTOHEADER@
 
33764
@@ -93,6 +94,7 @@
 
33765
 CPP = @CPP@
 
33766
 CPPFLAGS = @CPPFLAGS@
 
33767
 CXX = @CXX@
 
33768
+CXXCPP = @CXXCPP@
 
33769
 CXXDEPMODE = @CXXDEPMODE@
 
33770
 CXXFLAGS = @CXXFLAGS@
 
33771
 CYGPATH_W = @CYGPATH_W@
 
33772
@@ -108,6 +110,8 @@
 
33773
 ECHO_T = @ECHO_T@
 
33774
 EGREP = @EGREP@
 
33775
 EXEEXT = @EXEEXT@
 
33776
+F77 = @F77@
 
33777
+FFLAGS = @FFLAGS@
 
33778
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
33779
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
33780
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
33781
@@ -195,8 +199,10 @@
 
33782
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
33783
 XMMS_VERSION = @XMMS_VERSION@
 
33784
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
33785
+ac_ct_AR = @ac_ct_AR@
 
33786
 ac_ct_CC = @ac_ct_CC@
 
33787
 ac_ct_CXX = @ac_ct_CXX@
 
33788
+ac_ct_F77 = @ac_ct_F77@
 
33789
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
33790
 ac_ct_STRIP = @ac_ct_STRIP@
 
33791
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
33792
diff --exclude debian -urN orig/flac-1.1.2/doc/html/ru/Makefile.in flac-1.1.2/doc/html/ru/Makefile.in
 
33793
--- orig/flac-1.1.2/doc/html/ru/Makefile.in     2005-02-04 18:23:29.000000000 -0800
 
33794
+++ flac-1.1.2/doc/html/ru/Makefile.in  2005-08-17 19:52:35.000000000 -0700
 
33795
@@ -71,6 +71,7 @@
 
33796
 AMDEP_FALSE = @AMDEP_FALSE@
 
33797
 AMDEP_TRUE = @AMDEP_TRUE@
 
33798
 AMTAR = @AMTAR@
 
33799
+AR = @AR@
 
33800
 AS = @AS@
 
33801
 AUTOCONF = @AUTOCONF@
 
33802
 AUTOHEADER = @AUTOHEADER@
 
33803
@@ -84,6 +85,7 @@
 
33804
 CPP = @CPP@
 
33805
 CPPFLAGS = @CPPFLAGS@
 
33806
 CXX = @CXX@
 
33807
+CXXCPP = @CXXCPP@
 
33808
 CXXDEPMODE = @CXXDEPMODE@
 
33809
 CXXFLAGS = @CXXFLAGS@
 
33810
 CYGPATH_W = @CYGPATH_W@
 
33811
@@ -99,6 +101,8 @@
 
33812
 ECHO_T = @ECHO_T@
 
33813
 EGREP = @EGREP@
 
33814
 EXEEXT = @EXEEXT@
 
33815
+F77 = @F77@
 
33816
+FFLAGS = @FFLAGS@
 
33817
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
33818
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
33819
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
33820
@@ -186,8 +190,10 @@
 
33821
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
33822
 XMMS_VERSION = @XMMS_VERSION@
 
33823
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
33824
+ac_ct_AR = @ac_ct_AR@
 
33825
 ac_ct_CC = @ac_ct_CC@
 
33826
 ac_ct_CXX = @ac_ct_CXX@
 
33827
+ac_ct_F77 = @ac_ct_F77@
 
33828
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
33829
 ac_ct_STRIP = @ac_ct_STRIP@
 
33830
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
33831
diff --exclude debian -urN orig/flac-1.1.2/doc/Makefile.in flac-1.1.2/doc/Makefile.in
 
33832
--- orig/flac-1.1.2/doc/Makefile.in     2005-02-04 18:23:27.000000000 -0800
 
33833
+++ flac-1.1.2/doc/Makefile.in  2005-08-17 19:52:35.000000000 -0700
 
33834
@@ -80,6 +80,7 @@
 
33835
 AMDEP_FALSE = @AMDEP_FALSE@
 
33836
 AMDEP_TRUE = @AMDEP_TRUE@
 
33837
 AMTAR = @AMTAR@
 
33838
+AR = @AR@
 
33839
 AS = @AS@
 
33840
 AUTOCONF = @AUTOCONF@
 
33841
 AUTOHEADER = @AUTOHEADER@
 
33842
@@ -93,6 +94,7 @@
 
33843
 CPP = @CPP@
 
33844
 CPPFLAGS = @CPPFLAGS@
 
33845
 CXX = @CXX@
 
33846
+CXXCPP = @CXXCPP@
 
33847
 CXXDEPMODE = @CXXDEPMODE@
 
33848
 CXXFLAGS = @CXXFLAGS@
 
33849
 CYGPATH_W = @CYGPATH_W@
 
33850
@@ -108,6 +110,8 @@
 
33851
 ECHO_T = @ECHO_T@
 
33852
 EGREP = @EGREP@
 
33853
 EXEEXT = @EXEEXT@
 
33854
+F77 = @F77@
 
33855
+FFLAGS = @FFLAGS@
 
33856
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
33857
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
33858
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
33859
@@ -195,8 +199,10 @@
 
33860
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
33861
 XMMS_VERSION = @XMMS_VERSION@
 
33862
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
33863
+ac_ct_AR = @ac_ct_AR@
 
33864
 ac_ct_CC = @ac_ct_CC@
 
33865
 ac_ct_CXX = @ac_ct_CXX@
 
33866
+ac_ct_F77 = @ac_ct_F77@
 
33867
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
33868
 ac_ct_STRIP = @ac_ct_STRIP@
 
33869
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
33870
diff --exclude debian -urN orig/flac-1.1.2/flac.pbproj/Makefile.in flac-1.1.2/flac.pbproj/Makefile.in
 
33871
--- orig/flac-1.1.2/flac.pbproj/Makefile.in     2005-02-04 18:23:29.000000000 -0800
 
33872
+++ flac-1.1.2/flac.pbproj/Makefile.in  2005-08-17 19:52:35.000000000 -0700
 
33873
@@ -67,6 +67,7 @@
 
33874
 AMDEP_FALSE = @AMDEP_FALSE@
 
33875
 AMDEP_TRUE = @AMDEP_TRUE@
 
33876
 AMTAR = @AMTAR@
 
33877
+AR = @AR@
 
33878
 AS = @AS@
 
33879
 AUTOCONF = @AUTOCONF@
 
33880
 AUTOHEADER = @AUTOHEADER@
 
33881
@@ -80,6 +81,7 @@
 
33882
 CPP = @CPP@
 
33883
 CPPFLAGS = @CPPFLAGS@
 
33884
 CXX = @CXX@
 
33885
+CXXCPP = @CXXCPP@
 
33886
 CXXDEPMODE = @CXXDEPMODE@
 
33887
 CXXFLAGS = @CXXFLAGS@
 
33888
 CYGPATH_W = @CYGPATH_W@
 
33889
@@ -95,6 +97,8 @@
 
33890
 ECHO_T = @ECHO_T@
 
33891
 EGREP = @EGREP@
 
33892
 EXEEXT = @EXEEXT@
 
33893
+F77 = @F77@
 
33894
+FFLAGS = @FFLAGS@
 
33895
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
33896
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
33897
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
33898
@@ -182,8 +186,10 @@
 
33899
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
33900
 XMMS_VERSION = @XMMS_VERSION@
 
33901
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
33902
+ac_ct_AR = @ac_ct_AR@
 
33903
 ac_ct_CC = @ac_ct_CC@
 
33904
 ac_ct_CXX = @ac_ct_CXX@
 
33905
+ac_ct_F77 = @ac_ct_F77@
 
33906
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
33907
 ac_ct_STRIP = @ac_ct_STRIP@
 
33908
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
33909
@@ -236,9 +242,9 @@
 
33910
              exit 1;; \
 
33911
          esac; \
 
33912
        done; \
 
33913
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  flac.pbproj/Makefile'; \
 
33914
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  flac.pbproj/Makefile'; \
 
33915
        cd $(top_srcdir) && \
 
33916
-         $(AUTOMAKE) --foreign  flac.pbproj/Makefile
 
33917
+         $(AUTOMAKE) --gnu  flac.pbproj/Makefile
 
33918
 .PRECIOUS: Makefile
 
33919
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
33920
        @case '$?' in \
 
33921
diff --exclude debian -urN orig/flac-1.1.2/include/FLAC/Makefile.in flac-1.1.2/include/FLAC/Makefile.in
 
33922
--- orig/flac-1.1.2/include/FLAC/Makefile.in    2005-02-04 18:23:30.000000000 -0800
 
33923
+++ flac-1.1.2/include/FLAC/Makefile.in 2005-08-17 19:52:36.000000000 -0700
 
33924
@@ -87,6 +87,7 @@
 
33925
 AMDEP_FALSE = @AMDEP_FALSE@
 
33926
 AMDEP_TRUE = @AMDEP_TRUE@
 
33927
 AMTAR = @AMTAR@
 
33928
+AR = @AR@
 
33929
 AS = @AS@
 
33930
 AUTOCONF = @AUTOCONF@
 
33931
 AUTOHEADER = @AUTOHEADER@
 
33932
@@ -100,6 +101,7 @@
 
33933
 CPP = @CPP@
 
33934
 CPPFLAGS = @CPPFLAGS@
 
33935
 CXX = @CXX@
 
33936
+CXXCPP = @CXXCPP@
 
33937
 CXXDEPMODE = @CXXDEPMODE@
 
33938
 CXXFLAGS = @CXXFLAGS@
 
33939
 CYGPATH_W = @CYGPATH_W@
 
33940
@@ -115,6 +117,8 @@
 
33941
 ECHO_T = @ECHO_T@
 
33942
 EGREP = @EGREP@
 
33943
 EXEEXT = @EXEEXT@
 
33944
+F77 = @F77@
 
33945
+FFLAGS = @FFLAGS@
 
33946
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
33947
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
33948
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
33949
@@ -202,8 +206,10 @@
 
33950
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
33951
 XMMS_VERSION = @XMMS_VERSION@
 
33952
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
33953
+ac_ct_AR = @ac_ct_AR@
 
33954
 ac_ct_CC = @ac_ct_CC@
 
33955
 ac_ct_CXX = @ac_ct_CXX@
 
33956
+ac_ct_F77 = @ac_ct_F77@
 
33957
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
33958
 ac_ct_STRIP = @ac_ct_STRIP@
 
33959
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
33960
@@ -269,9 +275,9 @@
 
33961
              exit 1;; \
 
33962
          esac; \
 
33963
        done; \
 
33964
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  include/FLAC/Makefile'; \
 
33965
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  include/FLAC/Makefile'; \
 
33966
        cd $(top_srcdir) && \
 
33967
-         $(AUTOMAKE) --foreign  include/FLAC/Makefile
 
33968
+         $(AUTOMAKE) --gnu  include/FLAC/Makefile
 
33969
 .PRECIOUS: Makefile
 
33970
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
33971
        @case '$?' in \
 
33972
diff --exclude debian -urN orig/flac-1.1.2/include/FLAC++/Makefile.in flac-1.1.2/include/FLAC++/Makefile.in
 
33973
--- orig/flac-1.1.2/include/FLAC++/Makefile.in  2005-02-04 18:23:29.000000000 -0800
 
33974
+++ flac-1.1.2/include/FLAC++/Makefile.in       2005-08-17 19:52:35.000000000 -0700
 
33975
@@ -87,6 +87,7 @@
 
33976
 AMDEP_FALSE = @AMDEP_FALSE@
 
33977
 AMDEP_TRUE = @AMDEP_TRUE@
 
33978
 AMTAR = @AMTAR@
 
33979
+AR = @AR@
 
33980
 AS = @AS@
 
33981
 AUTOCONF = @AUTOCONF@
 
33982
 AUTOHEADER = @AUTOHEADER@
 
33983
@@ -100,6 +101,7 @@
 
33984
 CPP = @CPP@
 
33985
 CPPFLAGS = @CPPFLAGS@
 
33986
 CXX = @CXX@
 
33987
+CXXCPP = @CXXCPP@
 
33988
 CXXDEPMODE = @CXXDEPMODE@
 
33989
 CXXFLAGS = @CXXFLAGS@
 
33990
 CYGPATH_W = @CYGPATH_W@
 
33991
@@ -115,6 +117,8 @@
 
33992
 ECHO_T = @ECHO_T@
 
33993
 EGREP = @EGREP@
 
33994
 EXEEXT = @EXEEXT@
 
33995
+F77 = @F77@
 
33996
+FFLAGS = @FFLAGS@
 
33997
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
33998
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
33999
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
34000
@@ -202,8 +206,10 @@
 
34001
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
34002
 XMMS_VERSION = @XMMS_VERSION@
 
34003
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
34004
+ac_ct_AR = @ac_ct_AR@
 
34005
 ac_ct_CC = @ac_ct_CC@
 
34006
 ac_ct_CXX = @ac_ct_CXX@
 
34007
+ac_ct_F77 = @ac_ct_F77@
 
34008
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
34009
 ac_ct_STRIP = @ac_ct_STRIP@
 
34010
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
34011
@@ -261,9 +267,9 @@
 
34012
              exit 1;; \
 
34013
          esac; \
 
34014
        done; \
 
34015
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  include/FLAC++/Makefile'; \
 
34016
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  include/FLAC++/Makefile'; \
 
34017
        cd $(top_srcdir) && \
 
34018
-         $(AUTOMAKE) --foreign  include/FLAC++/Makefile
 
34019
+         $(AUTOMAKE) --gnu  include/FLAC++/Makefile
 
34020
 .PRECIOUS: Makefile
 
34021
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
34022
        @case '$?' in \
 
34023
diff --exclude debian -urN orig/flac-1.1.2/include/Makefile.in flac-1.1.2/include/Makefile.in
 
34024
--- orig/flac-1.1.2/include/Makefile.in 2005-02-04 18:23:30.000000000 -0800
 
34025
+++ flac-1.1.2/include/Makefile.in      2005-08-17 19:52:36.000000000 -0700
 
34026
@@ -76,6 +76,7 @@
 
34027
 AMDEP_FALSE = @AMDEP_FALSE@
 
34028
 AMDEP_TRUE = @AMDEP_TRUE@
 
34029
 AMTAR = @AMTAR@
 
34030
+AR = @AR@
 
34031
 AS = @AS@
 
34032
 AUTOCONF = @AUTOCONF@
 
34033
 AUTOHEADER = @AUTOHEADER@
 
34034
@@ -89,6 +90,7 @@
 
34035
 CPP = @CPP@
 
34036
 CPPFLAGS = @CPPFLAGS@
 
34037
 CXX = @CXX@
 
34038
+CXXCPP = @CXXCPP@
 
34039
 CXXDEPMODE = @CXXDEPMODE@
 
34040
 CXXFLAGS = @CXXFLAGS@
 
34041
 CYGPATH_W = @CYGPATH_W@
 
34042
@@ -104,6 +106,8 @@
 
34043
 ECHO_T = @ECHO_T@
 
34044
 EGREP = @EGREP@
 
34045
 EXEEXT = @EXEEXT@
 
34046
+F77 = @F77@
 
34047
+FFLAGS = @FFLAGS@
 
34048
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
34049
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
34050
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
34051
@@ -191,8 +195,10 @@
 
34052
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
34053
 XMMS_VERSION = @XMMS_VERSION@
 
34054
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
34055
+ac_ct_AR = @ac_ct_AR@
 
34056
 ac_ct_CC = @ac_ct_CC@
 
34057
 ac_ct_CXX = @ac_ct_CXX@
 
34058
+ac_ct_F77 = @ac_ct_F77@
 
34059
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
34060
 ac_ct_STRIP = @ac_ct_STRIP@
 
34061
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
34062
@@ -244,9 +250,9 @@
 
34063
              exit 1;; \
 
34064
          esac; \
 
34065
        done; \
 
34066
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  include/Makefile'; \
 
34067
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  include/Makefile'; \
 
34068
        cd $(top_srcdir) && \
 
34069
-         $(AUTOMAKE) --foreign  include/Makefile
 
34070
+         $(AUTOMAKE) --gnu  include/Makefile
 
34071
 .PRECIOUS: Makefile
 
34072
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
34073
        @case '$?' in \
 
34074
diff --exclude debian -urN orig/flac-1.1.2/include/OggFLAC/Makefile.in flac-1.1.2/include/OggFLAC/Makefile.in
 
34075
--- orig/flac-1.1.2/include/OggFLAC/Makefile.in 2005-02-04 18:23:31.000000000 -0800
 
34076
+++ flac-1.1.2/include/OggFLAC/Makefile.in      2005-08-17 19:52:36.000000000 -0700
 
34077
@@ -87,6 +87,7 @@
 
34078
 AMDEP_FALSE = @AMDEP_FALSE@
 
34079
 AMDEP_TRUE = @AMDEP_TRUE@
 
34080
 AMTAR = @AMTAR@
 
34081
+AR = @AR@
 
34082
 AS = @AS@
 
34083
 AUTOCONF = @AUTOCONF@
 
34084
 AUTOHEADER = @AUTOHEADER@
 
34085
@@ -100,6 +101,7 @@
 
34086
 CPP = @CPP@
 
34087
 CPPFLAGS = @CPPFLAGS@
 
34088
 CXX = @CXX@
 
34089
+CXXCPP = @CXXCPP@
 
34090
 CXXDEPMODE = @CXXDEPMODE@
 
34091
 CXXFLAGS = @CXXFLAGS@
 
34092
 CYGPATH_W = @CYGPATH_W@
 
34093
@@ -115,6 +117,8 @@
 
34094
 ECHO_T = @ECHO_T@
 
34095
 EGREP = @EGREP@
 
34096
 EXEEXT = @EXEEXT@
 
34097
+F77 = @F77@
 
34098
+FFLAGS = @FFLAGS@
 
34099
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
34100
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
34101
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
34102
@@ -202,8 +206,10 @@
 
34103
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
34104
 XMMS_VERSION = @XMMS_VERSION@
 
34105
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
34106
+ac_ct_AR = @ac_ct_AR@
 
34107
 ac_ct_CC = @ac_ct_CC@
 
34108
 ac_ct_CXX = @ac_ct_CXX@
 
34109
+ac_ct_F77 = @ac_ct_F77@
 
34110
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
34111
 ac_ct_STRIP = @ac_ct_STRIP@
 
34112
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
34113
@@ -267,9 +273,9 @@
 
34114
              exit 1;; \
 
34115
          esac; \
 
34116
        done; \
 
34117
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  include/OggFLAC/Makefile'; \
 
34118
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  include/OggFLAC/Makefile'; \
 
34119
        cd $(top_srcdir) && \
 
34120
-         $(AUTOMAKE) --foreign  include/OggFLAC/Makefile
 
34121
+         $(AUTOMAKE) --gnu  include/OggFLAC/Makefile
 
34122
 .PRECIOUS: Makefile
 
34123
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
34124
        @case '$?' in \
 
34125
diff --exclude debian -urN orig/flac-1.1.2/include/OggFLAC++/Makefile.in flac-1.1.2/include/OggFLAC++/Makefile.in
 
34126
--- orig/flac-1.1.2/include/OggFLAC++/Makefile.in       2005-02-04 18:23:31.000000000 -0800
 
34127
+++ flac-1.1.2/include/OggFLAC++/Makefile.in    2005-08-17 19:52:36.000000000 -0700
 
34128
@@ -87,6 +87,7 @@
 
34129
 AMDEP_FALSE = @AMDEP_FALSE@
 
34130
 AMDEP_TRUE = @AMDEP_TRUE@
 
34131
 AMTAR = @AMTAR@
 
34132
+AR = @AR@
 
34133
 AS = @AS@
 
34134
 AUTOCONF = @AUTOCONF@
 
34135
 AUTOHEADER = @AUTOHEADER@
 
34136
@@ -100,6 +101,7 @@
 
34137
 CPP = @CPP@
 
34138
 CPPFLAGS = @CPPFLAGS@
 
34139
 CXX = @CXX@
 
34140
+CXXCPP = @CXXCPP@
 
34141
 CXXDEPMODE = @CXXDEPMODE@
 
34142
 CXXFLAGS = @CXXFLAGS@
 
34143
 CYGPATH_W = @CYGPATH_W@
 
34144
@@ -115,6 +117,8 @@
 
34145
 ECHO_T = @ECHO_T@
 
34146
 EGREP = @EGREP@
 
34147
 EXEEXT = @EXEEXT@
 
34148
+F77 = @F77@
 
34149
+FFLAGS = @FFLAGS@
 
34150
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
34151
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
34152
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
34153
@@ -202,8 +206,10 @@
 
34154
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
34155
 XMMS_VERSION = @XMMS_VERSION@
 
34156
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
34157
+ac_ct_AR = @ac_ct_AR@
 
34158
 ac_ct_CC = @ac_ct_CC@
 
34159
 ac_ct_CXX = @ac_ct_CXX@
 
34160
+ac_ct_F77 = @ac_ct_F77@
 
34161
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
34162
 ac_ct_STRIP = @ac_ct_STRIP@
 
34163
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
34164
@@ -260,9 +266,9 @@
 
34165
              exit 1;; \
 
34166
          esac; \
 
34167
        done; \
 
34168
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  include/OggFLAC++/Makefile'; \
 
34169
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  include/OggFLAC++/Makefile'; \
 
34170
        cd $(top_srcdir) && \
 
34171
-         $(AUTOMAKE) --foreign  include/OggFLAC++/Makefile
 
34172
+         $(AUTOMAKE) --gnu  include/OggFLAC++/Makefile
 
34173
 .PRECIOUS: Makefile
 
34174
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
34175
        @case '$?' in \
 
34176
diff --exclude debian -urN orig/flac-1.1.2/include/share/grabbag/Makefile.in flac-1.1.2/include/share/grabbag/Makefile.in
 
34177
--- orig/flac-1.1.2/include/share/grabbag/Makefile.in   2005-02-04 18:23:32.000000000 -0800
 
34178
+++ flac-1.1.2/include/share/grabbag/Makefile.in        2005-08-17 19:52:37.000000000 -0700
 
34179
@@ -50,6 +50,7 @@
 
34180
 AMDEP_FALSE = @AMDEP_FALSE@
 
34181
 AMDEP_TRUE = @AMDEP_TRUE@
 
34182
 AMTAR = @AMTAR@
 
34183
+AR = @AR@
 
34184
 AS = @AS@
 
34185
 AUTOCONF = @AUTOCONF@
 
34186
 AUTOHEADER = @AUTOHEADER@
 
34187
@@ -63,6 +64,7 @@
 
34188
 CPP = @CPP@
 
34189
 CPPFLAGS = @CPPFLAGS@
 
34190
 CXX = @CXX@
 
34191
+CXXCPP = @CXXCPP@
 
34192
 CXXDEPMODE = @CXXDEPMODE@
 
34193
 CXXFLAGS = @CXXFLAGS@
 
34194
 CYGPATH_W = @CYGPATH_W@
 
34195
@@ -78,6 +80,8 @@
 
34196
 ECHO_T = @ECHO_T@
 
34197
 EGREP = @EGREP@
 
34198
 EXEEXT = @EXEEXT@
 
34199
+F77 = @F77@
 
34200
+FFLAGS = @FFLAGS@
 
34201
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
34202
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
34203
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
34204
@@ -165,8 +169,10 @@
 
34205
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
34206
 XMMS_VERSION = @XMMS_VERSION@
 
34207
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
34208
+ac_ct_AR = @ac_ct_AR@
 
34209
 ac_ct_CC = @ac_ct_CC@
 
34210
 ac_ct_CXX = @ac_ct_CXX@
 
34211
+ac_ct_F77 = @ac_ct_F77@
 
34212
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
34213
 ac_ct_STRIP = @ac_ct_STRIP@
 
34214
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
34215
diff --exclude debian -urN orig/flac-1.1.2/include/share/Makefile.in flac-1.1.2/include/share/Makefile.in
 
34216
--- orig/flac-1.1.2/include/share/Makefile.in   2005-02-04 18:23:32.000000000 -0800
 
34217
+++ flac-1.1.2/include/share/Makefile.in        2005-08-17 19:52:36.000000000 -0700
 
34218
@@ -59,6 +59,7 @@
 
34219
 AMDEP_FALSE = @AMDEP_FALSE@
 
34220
 AMDEP_TRUE = @AMDEP_TRUE@
 
34221
 AMTAR = @AMTAR@
 
34222
+AR = @AR@
 
34223
 AS = @AS@
 
34224
 AUTOCONF = @AUTOCONF@
 
34225
 AUTOHEADER = @AUTOHEADER@
 
34226
@@ -72,6 +73,7 @@
 
34227
 CPP = @CPP@
 
34228
 CPPFLAGS = @CPPFLAGS@
 
34229
 CXX = @CXX@
 
34230
+CXXCPP = @CXXCPP@
 
34231
 CXXDEPMODE = @CXXDEPMODE@
 
34232
 CXXFLAGS = @CXXFLAGS@
 
34233
 CYGPATH_W = @CYGPATH_W@
 
34234
@@ -87,6 +89,8 @@
 
34235
 ECHO_T = @ECHO_T@
 
34236
 EGREP = @EGREP@
 
34237
 EXEEXT = @EXEEXT@
 
34238
+F77 = @F77@
 
34239
+FFLAGS = @FFLAGS@
 
34240
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
34241
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
34242
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
34243
@@ -174,8 +178,10 @@
 
34244
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
34245
 XMMS_VERSION = @XMMS_VERSION@
 
34246
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
34247
+ac_ct_AR = @ac_ct_AR@
 
34248
 ac_ct_CC = @ac_ct_CC@
 
34249
 ac_ct_CXX = @ac_ct_CXX@
 
34250
+ac_ct_F77 = @ac_ct_F77@
 
34251
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
34252
 ac_ct_STRIP = @ac_ct_STRIP@
 
34253
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
34254
diff --exclude debian -urN orig/flac-1.1.2/ltmain.sh flac-1.1.2/ltmain.sh
 
34255
--- orig/flac-1.1.2/ltmain.sh   2005-02-04 18:22:19.000000000 -0800
 
34256
+++ flac-1.1.2/ltmain.sh        2005-08-17 19:53:00.000000000 -0700
 
34257
@@ -33,13 +33,6 @@
 
34258
 # function.
 
34259
 progpath="$0"
 
34260
 
 
34261
-#@@@[JEC] There is a bug somewhere in libtool/autoconf where the libtool
 
34262
-#@@@[JEC] generated after `configure' does not set $SED, so to catch that
 
34263
-#@@@[JEC] case, we let `sed' come from the path:
 
34264
-if [ "x$SED" = x ] ; then
 
34265
-    SED=sed
 
34266
-fi
 
34267
-
 
34268
 # The name of this program:
 
34269
 progname=`echo "$progpath" | $SED $basename`
 
34270
 modename="$progname"
 
34271
@@ -51,7 +44,7 @@
 
34272
 PROGRAM=ltmain.sh
 
34273
 PACKAGE=libtool
 
34274
 VERSION=1.5.6
 
34275
-TIMESTAMP=" (1.1220.2.94 2004/04/10 16:27:27)"
 
34276
+TIMESTAMP=" (1.1220.2.95 2004/04/11 05:50:42) Debian$Rev: 224 $"
 
34277
 
 
34278
 
 
34279
 # Check that we have a working $echo.
 
34280
@@ -1845,7 +1838,10 @@
 
34281
        case $pass in
 
34282
        dlopen) libs="$dlfiles" ;;
 
34283
        dlpreopen) libs="$dlprefiles" ;;
 
34284
-       link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
 
34285
+       link)
 
34286
+         libs="$deplibs %DEPLIBS%"
 
34287
+         test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
 
34288
+         ;;
 
34289
        esac
 
34290
       fi
 
34291
       if test "$pass" = dlopen; then
 
34292
@@ -1871,10 +1867,6 @@
 
34293
            $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
 
34294
            continue
 
34295
          fi
 
34296
-         if test "$pass" = conv; then
 
34297
-           deplibs="$deplib $deplibs"
 
34298
-           continue
 
34299
-         fi
 
34300
          name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
 
34301
          for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
 
34302
            for search_ext in .la $std_shrext .so .a; do
 
34303
@@ -2937,6 +2929,11 @@
 
34304
            age="$number_minor"
 
34305
            revision="$number_minor"
 
34306
            ;;
 
34307
+         *)
 
34308
+           $echo "$modename: unknown library version type \`$version_type'" 1>&2
 
34309
+           $echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
 
34310
+           exit $EXIT_FAILURE
 
34311
+           ;;
 
34312
          esac
 
34313
          ;;
 
34314
        no)
 
34315
@@ -2948,7 +2945,7 @@
 
34316
 
 
34317
        # Check that each of the things are valid numbers.
 
34318
        case $current in
 
34319
-       0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
 
34320
+       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]) ;;
 
34321
        *)
 
34322
          $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
 
34323
          $echo "$modename: \`$vinfo' is not valid version information" 1>&2
 
34324
@@ -2957,7 +2954,7 @@
 
34325
        esac
 
34326
 
 
34327
        case $revision in
 
34328
-       0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
 
34329
+       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]) ;;
 
34330
        *)
 
34331
          $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
 
34332
          $echo "$modename: \`$vinfo' is not valid version information" 1>&2
 
34333
@@ -2966,7 +2963,7 @@
 
34334
        esac
 
34335
 
 
34336
        case $age in
 
34337
-       0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
 
34338
+       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]) ;;
 
34339
        *)
 
34340
          $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
 
34341
          $echo "$modename: \`$vinfo' is not valid version information" 1>&2
 
34342
diff --exclude debian -urN orig/flac-1.1.2/Makefile.in flac-1.1.2/Makefile.in
 
34343
--- orig/flac-1.1.2/Makefile.in 2005-02-04 18:23:27.000000000 -0800
 
34344
+++ flac-1.1.2/Makefile.in      2005-08-17 19:52:34.000000000 -0700
 
34345
@@ -104,6 +104,7 @@
 
34346
 AMDEP_FALSE = @AMDEP_FALSE@
 
34347
 AMDEP_TRUE = @AMDEP_TRUE@
 
34348
 AMTAR = @AMTAR@
 
34349
+AR = @AR@
 
34350
 AS = @AS@
 
34351
 AUTOCONF = @AUTOCONF@
 
34352
 AUTOHEADER = @AUTOHEADER@
 
34353
@@ -117,6 +118,7 @@
 
34354
 CPP = @CPP@
 
34355
 CPPFLAGS = @CPPFLAGS@
 
34356
 CXX = @CXX@
 
34357
+CXXCPP = @CXXCPP@
 
34358
 CXXDEPMODE = @CXXDEPMODE@
 
34359
 CXXFLAGS = @CXXFLAGS@
 
34360
 CYGPATH_W = @CYGPATH_W@
 
34361
@@ -132,6 +134,8 @@
 
34362
 ECHO_T = @ECHO_T@
 
34363
 EGREP = @EGREP@
 
34364
 EXEEXT = @EXEEXT@
 
34365
+F77 = @F77@
 
34366
+FFLAGS = @FFLAGS@
 
34367
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
34368
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
34369
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
34370
@@ -219,8 +223,10 @@
 
34371
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
34372
 XMMS_VERSION = @XMMS_VERSION@
 
34373
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
34374
+ac_ct_AR = @ac_ct_AR@
 
34375
 ac_ct_CC = @ac_ct_CC@
 
34376
 ac_ct_CXX = @ac_ct_CXX@
 
34377
+ac_ct_F77 = @ac_ct_F77@
 
34378
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
34379
 ac_ct_STRIP = @ac_ct_STRIP@
 
34380
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
34381
diff --exclude debian -urN orig/flac-1.1.2/man/Makefile.in flac-1.1.2/man/Makefile.in
 
34382
--- orig/flac-1.1.2/man/Makefile.in     2005-02-04 18:23:32.000000000 -0800
 
34383
+++ flac-1.1.2/man/Makefile.in  2005-08-17 19:52:37.000000000 -0700
 
34384
@@ -71,6 +71,7 @@
 
34385
 AMDEP_FALSE = @AMDEP_FALSE@
 
34386
 AMDEP_TRUE = @AMDEP_TRUE@
 
34387
 AMTAR = @AMTAR@
 
34388
+AR = @AR@
 
34389
 AS = @AS@
 
34390
 AUTOCONF = @AUTOCONF@
 
34391
 AUTOHEADER = @AUTOHEADER@
 
34392
@@ -84,6 +85,7 @@
 
34393
 CPP = @CPP@
 
34394
 CPPFLAGS = @CPPFLAGS@
 
34395
 CXX = @CXX@
 
34396
+CXXCPP = @CXXCPP@
 
34397
 CXXDEPMODE = @CXXDEPMODE@
 
34398
 CXXFLAGS = @CXXFLAGS@
 
34399
 CYGPATH_W = @CYGPATH_W@
 
34400
@@ -99,6 +101,8 @@
 
34401
 ECHO_T = @ECHO_T@
 
34402
 EGREP = @EGREP@
 
34403
 EXEEXT = @EXEEXT@
 
34404
+F77 = @F77@
 
34405
+FFLAGS = @FFLAGS@
 
34406
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
34407
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
34408
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
34409
@@ -186,8 +190,10 @@
 
34410
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
34411
 XMMS_VERSION = @XMMS_VERSION@
 
34412
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
34413
+ac_ct_AR = @ac_ct_AR@
 
34414
 ac_ct_CC = @ac_ct_CC@
 
34415
 ac_ct_CXX = @ac_ct_CXX@
 
34416
+ac_ct_F77 = @ac_ct_F77@
 
34417
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
34418
 ac_ct_STRIP = @ac_ct_STRIP@
 
34419
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
34420
@@ -239,9 +245,9 @@
 
34421
              exit 1;; \
 
34422
          esac; \
 
34423
        done; \
 
34424
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  man/Makefile'; \
 
34425
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  man/Makefile'; \
 
34426
        cd $(top_srcdir) && \
 
34427
-         $(AUTOMAKE) --foreign  man/Makefile
 
34428
+         $(AUTOMAKE) --gnu  man/Makefile
 
34429
 .PRECIOUS: Makefile
 
34430
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
34431
        @case '$?' in \
 
34432
diff --exclude debian -urN orig/flac-1.1.2/obj/debug/bin/Makefile.in flac-1.1.2/obj/debug/bin/Makefile.in
 
34433
--- orig/flac-1.1.2/obj/debug/bin/Makefile.in   2005-02-04 18:23:34.000000000 -0800
 
34434
+++ flac-1.1.2/obj/debug/bin/Makefile.in        2005-08-17 19:52:37.000000000 -0700
 
34435
@@ -50,6 +50,7 @@
 
34436
 AMDEP_FALSE = @AMDEP_FALSE@
 
34437
 AMDEP_TRUE = @AMDEP_TRUE@
 
34438
 AMTAR = @AMTAR@
 
34439
+AR = @AR@
 
34440
 AS = @AS@
 
34441
 AUTOCONF = @AUTOCONF@
 
34442
 AUTOHEADER = @AUTOHEADER@
 
34443
@@ -63,6 +64,7 @@
 
34444
 CPP = @CPP@
 
34445
 CPPFLAGS = @CPPFLAGS@
 
34446
 CXX = @CXX@
 
34447
+CXXCPP = @CXXCPP@
 
34448
 CXXDEPMODE = @CXXDEPMODE@
 
34449
 CXXFLAGS = @CXXFLAGS@
 
34450
 CYGPATH_W = @CYGPATH_W@
 
34451
@@ -78,6 +80,8 @@
 
34452
 ECHO_T = @ECHO_T@
 
34453
 EGREP = @EGREP@
 
34454
 EXEEXT = @EXEEXT@
 
34455
+F77 = @F77@
 
34456
+FFLAGS = @FFLAGS@
 
34457
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
34458
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
34459
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
34460
@@ -165,8 +169,10 @@
 
34461
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
34462
 XMMS_VERSION = @XMMS_VERSION@
 
34463
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
34464
+ac_ct_AR = @ac_ct_AR@
 
34465
 ac_ct_CC = @ac_ct_CC@
 
34466
 ac_ct_CXX = @ac_ct_CXX@
 
34467
+ac_ct_F77 = @ac_ct_F77@
 
34468
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
34469
 ac_ct_STRIP = @ac_ct_STRIP@
 
34470
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
34471
@@ -216,9 +222,9 @@
 
34472
              exit 1;; \
 
34473
          esac; \
 
34474
        done; \
 
34475
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  obj/debug/bin/Makefile'; \
 
34476
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  obj/debug/bin/Makefile'; \
 
34477
        cd $(top_srcdir) && \
 
34478
-         $(AUTOMAKE) --foreign  obj/debug/bin/Makefile
 
34479
+         $(AUTOMAKE) --gnu  obj/debug/bin/Makefile
 
34480
 .PRECIOUS: Makefile
 
34481
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
34482
        @case '$?' in \
 
34483
diff --exclude debian -urN orig/flac-1.1.2/obj/debug/lib/Makefile.in flac-1.1.2/obj/debug/lib/Makefile.in
 
34484
--- orig/flac-1.1.2/obj/debug/lib/Makefile.in   2005-02-04 18:23:34.000000000 -0800
 
34485
+++ flac-1.1.2/obj/debug/lib/Makefile.in        2005-08-17 19:52:38.000000000 -0700
 
34486
@@ -50,6 +50,7 @@
 
34487
 AMDEP_FALSE = @AMDEP_FALSE@
 
34488
 AMDEP_TRUE = @AMDEP_TRUE@
 
34489
 AMTAR = @AMTAR@
 
34490
+AR = @AR@
 
34491
 AS = @AS@
 
34492
 AUTOCONF = @AUTOCONF@
 
34493
 AUTOHEADER = @AUTOHEADER@
 
34494
@@ -63,6 +64,7 @@
 
34495
 CPP = @CPP@
 
34496
 CPPFLAGS = @CPPFLAGS@
 
34497
 CXX = @CXX@
 
34498
+CXXCPP = @CXXCPP@
 
34499
 CXXDEPMODE = @CXXDEPMODE@
 
34500
 CXXFLAGS = @CXXFLAGS@
 
34501
 CYGPATH_W = @CYGPATH_W@
 
34502
@@ -78,6 +80,8 @@
 
34503
 ECHO_T = @ECHO_T@
 
34504
 EGREP = @EGREP@
 
34505
 EXEEXT = @EXEEXT@
 
34506
+F77 = @F77@
 
34507
+FFLAGS = @FFLAGS@
 
34508
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
34509
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
34510
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
34511
@@ -165,8 +169,10 @@
 
34512
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
34513
 XMMS_VERSION = @XMMS_VERSION@
 
34514
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
34515
+ac_ct_AR = @ac_ct_AR@
 
34516
 ac_ct_CC = @ac_ct_CC@
 
34517
 ac_ct_CXX = @ac_ct_CXX@
 
34518
+ac_ct_F77 = @ac_ct_F77@
 
34519
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
34520
 ac_ct_STRIP = @ac_ct_STRIP@
 
34521
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
34522
@@ -216,9 +222,9 @@
 
34523
              exit 1;; \
 
34524
          esac; \
 
34525
        done; \
 
34526
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  obj/debug/lib/Makefile'; \
 
34527
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  obj/debug/lib/Makefile'; \
 
34528
        cd $(top_srcdir) && \
 
34529
-         $(AUTOMAKE) --foreign  obj/debug/lib/Makefile
 
34530
+         $(AUTOMAKE) --gnu  obj/debug/lib/Makefile
 
34531
 .PRECIOUS: Makefile
 
34532
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
34533
        @case '$?' in \
 
34534
diff --exclude debian -urN orig/flac-1.1.2/obj/debug/Makefile.in flac-1.1.2/obj/debug/Makefile.in
 
34535
--- orig/flac-1.1.2/obj/debug/Makefile.in       2005-02-04 18:23:33.000000000 -0800
 
34536
+++ flac-1.1.2/obj/debug/Makefile.in    2005-08-17 19:52:37.000000000 -0700
 
34537
@@ -76,6 +76,7 @@
 
34538
 AMDEP_FALSE = @AMDEP_FALSE@
 
34539
 AMDEP_TRUE = @AMDEP_TRUE@
 
34540
 AMTAR = @AMTAR@
 
34541
+AR = @AR@
 
34542
 AS = @AS@
 
34543
 AUTOCONF = @AUTOCONF@
 
34544
 AUTOHEADER = @AUTOHEADER@
 
34545
@@ -89,6 +90,7 @@
 
34546
 CPP = @CPP@
 
34547
 CPPFLAGS = @CPPFLAGS@
 
34548
 CXX = @CXX@
 
34549
+CXXCPP = @CXXCPP@
 
34550
 CXXDEPMODE = @CXXDEPMODE@
 
34551
 CXXFLAGS = @CXXFLAGS@
 
34552
 CYGPATH_W = @CYGPATH_W@
 
34553
@@ -104,6 +106,8 @@
 
34554
 ECHO_T = @ECHO_T@
 
34555
 EGREP = @EGREP@
 
34556
 EXEEXT = @EXEEXT@
 
34557
+F77 = @F77@
 
34558
+FFLAGS = @FFLAGS@
 
34559
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
34560
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
34561
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
34562
@@ -191,8 +195,10 @@
 
34563
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
34564
 XMMS_VERSION = @XMMS_VERSION@
 
34565
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
34566
+ac_ct_AR = @ac_ct_AR@
 
34567
 ac_ct_CC = @ac_ct_CC@
 
34568
 ac_ct_CXX = @ac_ct_CXX@
 
34569
+ac_ct_F77 = @ac_ct_F77@
 
34570
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
34571
 ac_ct_STRIP = @ac_ct_STRIP@
 
34572
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
34573
@@ -246,9 +252,9 @@
 
34574
              exit 1;; \
 
34575
          esac; \
 
34576
        done; \
 
34577
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  obj/debug/Makefile'; \
 
34578
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  obj/debug/Makefile'; \
 
34579
        cd $(top_srcdir) && \
 
34580
-         $(AUTOMAKE) --foreign  obj/debug/Makefile
 
34581
+         $(AUTOMAKE) --gnu  obj/debug/Makefile
 
34582
 .PRECIOUS: Makefile
 
34583
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
34584
        @case '$?' in \
 
34585
diff --exclude debian -urN orig/flac-1.1.2/obj/Makefile.in flac-1.1.2/obj/Makefile.in
 
34586
--- orig/flac-1.1.2/obj/Makefile.in     2005-02-04 18:23:33.000000000 -0800
 
34587
+++ flac-1.1.2/obj/Makefile.in  2005-08-17 19:52:37.000000000 -0700
 
34588
@@ -76,6 +76,7 @@
 
34589
 AMDEP_FALSE = @AMDEP_FALSE@
 
34590
 AMDEP_TRUE = @AMDEP_TRUE@
 
34591
 AMTAR = @AMTAR@
 
34592
+AR = @AR@
 
34593
 AS = @AS@
 
34594
 AUTOCONF = @AUTOCONF@
 
34595
 AUTOHEADER = @AUTOHEADER@
 
34596
@@ -89,6 +90,7 @@
 
34597
 CPP = @CPP@
 
34598
 CPPFLAGS = @CPPFLAGS@
 
34599
 CXX = @CXX@
 
34600
+CXXCPP = @CXXCPP@
 
34601
 CXXDEPMODE = @CXXDEPMODE@
 
34602
 CXXFLAGS = @CXXFLAGS@
 
34603
 CYGPATH_W = @CYGPATH_W@
 
34604
@@ -104,6 +106,8 @@
 
34605
 ECHO_T = @ECHO_T@
 
34606
 EGREP = @EGREP@
 
34607
 EXEEXT = @EXEEXT@
 
34608
+F77 = @F77@
 
34609
+FFLAGS = @FFLAGS@
 
34610
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
34611
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
34612
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
34613
@@ -191,8 +195,10 @@
 
34614
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
34615
 XMMS_VERSION = @XMMS_VERSION@
 
34616
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
34617
+ac_ct_AR = @ac_ct_AR@
 
34618
 ac_ct_CC = @ac_ct_CC@
 
34619
 ac_ct_CXX = @ac_ct_CXX@
 
34620
+ac_ct_F77 = @ac_ct_F77@
 
34621
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
34622
 ac_ct_STRIP = @ac_ct_STRIP@
 
34623
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
34624
@@ -246,9 +252,9 @@
 
34625
              exit 1;; \
 
34626
          esac; \
 
34627
        done; \
 
34628
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  obj/Makefile'; \
 
34629
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  obj/Makefile'; \
 
34630
        cd $(top_srcdir) && \
 
34631
-         $(AUTOMAKE) --foreign  obj/Makefile
 
34632
+         $(AUTOMAKE) --gnu  obj/Makefile
 
34633
 .PRECIOUS: Makefile
 
34634
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
34635
        @case '$?' in \
 
34636
diff --exclude debian -urN orig/flac-1.1.2/obj/release/bin/Makefile.in flac-1.1.2/obj/release/bin/Makefile.in
 
34637
--- orig/flac-1.1.2/obj/release/bin/Makefile.in 2005-02-04 18:23:35.000000000 -0800
 
34638
+++ flac-1.1.2/obj/release/bin/Makefile.in      2005-08-17 19:52:38.000000000 -0700
 
34639
@@ -50,6 +50,7 @@
 
34640
 AMDEP_FALSE = @AMDEP_FALSE@
 
34641
 AMDEP_TRUE = @AMDEP_TRUE@
 
34642
 AMTAR = @AMTAR@
 
34643
+AR = @AR@
 
34644
 AS = @AS@
 
34645
 AUTOCONF = @AUTOCONF@
 
34646
 AUTOHEADER = @AUTOHEADER@
 
34647
@@ -63,6 +64,7 @@
 
34648
 CPP = @CPP@
 
34649
 CPPFLAGS = @CPPFLAGS@
 
34650
 CXX = @CXX@
 
34651
+CXXCPP = @CXXCPP@
 
34652
 CXXDEPMODE = @CXXDEPMODE@
 
34653
 CXXFLAGS = @CXXFLAGS@
 
34654
 CYGPATH_W = @CYGPATH_W@
 
34655
@@ -78,6 +80,8 @@
 
34656
 ECHO_T = @ECHO_T@
 
34657
 EGREP = @EGREP@
 
34658
 EXEEXT = @EXEEXT@
 
34659
+F77 = @F77@
 
34660
+FFLAGS = @FFLAGS@
 
34661
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
34662
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
34663
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
34664
@@ -165,8 +169,10 @@
 
34665
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
34666
 XMMS_VERSION = @XMMS_VERSION@
 
34667
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
34668
+ac_ct_AR = @ac_ct_AR@
 
34669
 ac_ct_CC = @ac_ct_CC@
 
34670
 ac_ct_CXX = @ac_ct_CXX@
 
34671
+ac_ct_F77 = @ac_ct_F77@
 
34672
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
34673
 ac_ct_STRIP = @ac_ct_STRIP@
 
34674
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
34675
@@ -216,9 +222,9 @@
 
34676
              exit 1;; \
 
34677
          esac; \
 
34678
        done; \
 
34679
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  obj/release/bin/Makefile'; \
 
34680
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  obj/release/bin/Makefile'; \
 
34681
        cd $(top_srcdir) && \
 
34682
-         $(AUTOMAKE) --foreign  obj/release/bin/Makefile
 
34683
+         $(AUTOMAKE) --gnu  obj/release/bin/Makefile
 
34684
 .PRECIOUS: Makefile
 
34685
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
34686
        @case '$?' in \
 
34687
diff --exclude debian -urN orig/flac-1.1.2/obj/release/lib/Makefile.in flac-1.1.2/obj/release/lib/Makefile.in
 
34688
--- orig/flac-1.1.2/obj/release/lib/Makefile.in 2005-02-04 18:23:35.000000000 -0800
 
34689
+++ flac-1.1.2/obj/release/lib/Makefile.in      2005-08-17 19:52:38.000000000 -0700
 
34690
@@ -50,6 +50,7 @@
 
34691
 AMDEP_FALSE = @AMDEP_FALSE@
 
34692
 AMDEP_TRUE = @AMDEP_TRUE@
 
34693
 AMTAR = @AMTAR@
 
34694
+AR = @AR@
 
34695
 AS = @AS@
 
34696
 AUTOCONF = @AUTOCONF@
 
34697
 AUTOHEADER = @AUTOHEADER@
 
34698
@@ -63,6 +64,7 @@
 
34699
 CPP = @CPP@
 
34700
 CPPFLAGS = @CPPFLAGS@
 
34701
 CXX = @CXX@
 
34702
+CXXCPP = @CXXCPP@
 
34703
 CXXDEPMODE = @CXXDEPMODE@
 
34704
 CXXFLAGS = @CXXFLAGS@
 
34705
 CYGPATH_W = @CYGPATH_W@
 
34706
@@ -78,6 +80,8 @@
 
34707
 ECHO_T = @ECHO_T@
 
34708
 EGREP = @EGREP@
 
34709
 EXEEXT = @EXEEXT@
 
34710
+F77 = @F77@
 
34711
+FFLAGS = @FFLAGS@
 
34712
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
34713
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
34714
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
34715
@@ -165,8 +169,10 @@
 
34716
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
34717
 XMMS_VERSION = @XMMS_VERSION@
 
34718
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
34719
+ac_ct_AR = @ac_ct_AR@
 
34720
 ac_ct_CC = @ac_ct_CC@
 
34721
 ac_ct_CXX = @ac_ct_CXX@
 
34722
+ac_ct_F77 = @ac_ct_F77@
 
34723
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
34724
 ac_ct_STRIP = @ac_ct_STRIP@
 
34725
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
34726
@@ -216,9 +222,9 @@
 
34727
              exit 1;; \
 
34728
          esac; \
 
34729
        done; \
 
34730
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  obj/release/lib/Makefile'; \
 
34731
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  obj/release/lib/Makefile'; \
 
34732
        cd $(top_srcdir) && \
 
34733
-         $(AUTOMAKE) --foreign  obj/release/lib/Makefile
 
34734
+         $(AUTOMAKE) --gnu  obj/release/lib/Makefile
 
34735
 .PRECIOUS: Makefile
 
34736
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
34737
        @case '$?' in \
 
34738
diff --exclude debian -urN orig/flac-1.1.2/obj/release/Makefile.in flac-1.1.2/obj/release/Makefile.in
 
34739
--- orig/flac-1.1.2/obj/release/Makefile.in     2005-02-04 18:23:34.000000000 -0800
 
34740
+++ flac-1.1.2/obj/release/Makefile.in  2005-08-17 19:52:38.000000000 -0700
 
34741
@@ -76,6 +76,7 @@
 
34742
 AMDEP_FALSE = @AMDEP_FALSE@
 
34743
 AMDEP_TRUE = @AMDEP_TRUE@
 
34744
 AMTAR = @AMTAR@
 
34745
+AR = @AR@
 
34746
 AS = @AS@
 
34747
 AUTOCONF = @AUTOCONF@
 
34748
 AUTOHEADER = @AUTOHEADER@
 
34749
@@ -89,6 +90,7 @@
 
34750
 CPP = @CPP@
 
34751
 CPPFLAGS = @CPPFLAGS@
 
34752
 CXX = @CXX@
 
34753
+CXXCPP = @CXXCPP@
 
34754
 CXXDEPMODE = @CXXDEPMODE@
 
34755
 CXXFLAGS = @CXXFLAGS@
 
34756
 CYGPATH_W = @CYGPATH_W@
 
34757
@@ -104,6 +106,8 @@
 
34758
 ECHO_T = @ECHO_T@
 
34759
 EGREP = @EGREP@
 
34760
 EXEEXT = @EXEEXT@
 
34761
+F77 = @F77@
 
34762
+FFLAGS = @FFLAGS@
 
34763
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
34764
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
34765
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
34766
@@ -191,8 +195,10 @@
 
34767
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
34768
 XMMS_VERSION = @XMMS_VERSION@
 
34769
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
34770
+ac_ct_AR = @ac_ct_AR@
 
34771
 ac_ct_CC = @ac_ct_CC@
 
34772
 ac_ct_CXX = @ac_ct_CXX@
 
34773
+ac_ct_F77 = @ac_ct_F77@
 
34774
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
34775
 ac_ct_STRIP = @ac_ct_STRIP@
 
34776
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
34777
@@ -246,9 +252,9 @@
 
34778
              exit 1;; \
 
34779
          esac; \
 
34780
        done; \
 
34781
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  obj/release/Makefile'; \
 
34782
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  obj/release/Makefile'; \
 
34783
        cd $(top_srcdir) && \
 
34784
-         $(AUTOMAKE) --foreign  obj/release/Makefile
 
34785
+         $(AUTOMAKE) --gnu  obj/release/Makefile
 
34786
 .PRECIOUS: Makefile
 
34787
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
34788
        @case '$?' in \
 
34789
diff --exclude debian -urN orig/flac-1.1.2/src/flac/Makefile.in flac-1.1.2/src/flac/Makefile.in
 
34790
--- orig/flac-1.1.2/src/flac/Makefile.in        2005-02-04 18:23:36.000000000 -0800
 
34791
+++ flac-1.1.2/src/flac/Makefile.in     2005-08-17 19:52:39.000000000 -0700
 
34792
@@ -104,6 +104,7 @@
 
34793
 AMDEP_FALSE = @AMDEP_FALSE@
 
34794
 AMDEP_TRUE = @AMDEP_TRUE@
 
34795
 AMTAR = @AMTAR@
 
34796
+AR = @AR@
 
34797
 AS = @AS@
 
34798
 AUTOCONF = @AUTOCONF@
 
34799
 AUTOHEADER = @AUTOHEADER@
 
34800
@@ -117,6 +118,7 @@
 
34801
 CPP = @CPP@
 
34802
 CPPFLAGS = @CPPFLAGS@
 
34803
 CXX = @CXX@
 
34804
+CXXCPP = @CXXCPP@
 
34805
 CXXDEPMODE = @CXXDEPMODE@
 
34806
 CXXFLAGS = @CXXFLAGS@
 
34807
 CYGPATH_W = @CYGPATH_W@
 
34808
@@ -132,6 +134,8 @@
 
34809
 ECHO_T = @ECHO_T@
 
34810
 EGREP = @EGREP@
 
34811
 EXEEXT = @EXEEXT@
 
34812
+F77 = @F77@
 
34813
+FFLAGS = @FFLAGS@
 
34814
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
34815
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
34816
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
34817
@@ -219,8 +223,10 @@
 
34818
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
34819
 XMMS_VERSION = @XMMS_VERSION@
 
34820
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
34821
+ac_ct_AR = @ac_ct_AR@
 
34822
 ac_ct_CC = @ac_ct_CC@
 
34823
 ac_ct_CXX = @ac_ct_CXX@
 
34824
+ac_ct_F77 = @ac_ct_F77@
 
34825
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
34826
 ac_ct_STRIP = @ac_ct_STRIP@
 
34827
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
34828
@@ -304,9 +310,9 @@
 
34829
              exit 1;; \
 
34830
          esac; \
 
34831
        done; \
 
34832
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/flac/Makefile'; \
 
34833
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/flac/Makefile'; \
 
34834
        cd $(top_srcdir) && \
 
34835
-         $(AUTOMAKE) --foreign  src/flac/Makefile
 
34836
+         $(AUTOMAKE) --gnu  src/flac/Makefile
 
34837
 .PRECIOUS: Makefile
 
34838
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
34839
        @case '$?' in \
 
34840
diff --exclude debian -urN orig/flac-1.1.2/src/libFLAC/ia32/Makefile.in flac-1.1.2/src/libFLAC/ia32/Makefile.in
 
34841
--- orig/flac-1.1.2/src/libFLAC/ia32/Makefile.in        2005-02-04 18:23:38.000000000 -0800
 
34842
+++ flac-1.1.2/src/libFLAC/ia32/Makefile.in     2005-08-17 19:52:39.000000000 -0700
 
34843
@@ -98,6 +98,7 @@
 
34844
 AMDEP_FALSE = @AMDEP_FALSE@
 
34845
 AMDEP_TRUE = @AMDEP_TRUE@
 
34846
 AMTAR = @AMTAR@
 
34847
+AR = @AR@
 
34848
 AS = @AS@
 
34849
 AUTOCONF = @AUTOCONF@
 
34850
 AUTOHEADER = @AUTOHEADER@
 
34851
@@ -111,6 +112,7 @@
 
34852
 CPP = @CPP@
 
34853
 CPPFLAGS = @CPPFLAGS@
 
34854
 CXX = @CXX@
 
34855
+CXXCPP = @CXXCPP@
 
34856
 CXXDEPMODE = @CXXDEPMODE@
 
34857
 CXXFLAGS = @CXXFLAGS@
 
34858
 CYGPATH_W = @CYGPATH_W@
 
34859
@@ -126,6 +128,8 @@
 
34860
 ECHO_T = @ECHO_T@
 
34861
 EGREP = @EGREP@
 
34862
 EXEEXT = @EXEEXT@
 
34863
+F77 = @F77@
 
34864
+FFLAGS = @FFLAGS@
 
34865
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
34866
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
34867
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
34868
@@ -213,8 +217,10 @@
 
34869
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
34870
 XMMS_VERSION = @XMMS_VERSION@
 
34871
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
34872
+ac_ct_AR = @ac_ct_AR@
 
34873
 ac_ct_CC = @ac_ct_CC@
 
34874
 ac_ct_CXX = @ac_ct_CXX@
 
34875
+ac_ct_F77 = @ac_ct_F77@
 
34876
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
34877
 ac_ct_STRIP = @ac_ct_STRIP@
 
34878
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
34879
@@ -274,9 +280,9 @@
 
34880
              exit 1;; \
 
34881
          esac; \
 
34882
        done; \
 
34883
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/libFLAC/ia32/Makefile'; \
 
34884
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/libFLAC/ia32/Makefile'; \
 
34885
        cd $(top_srcdir) && \
 
34886
-         $(AUTOMAKE) --foreign  src/libFLAC/ia32/Makefile
 
34887
+         $(AUTOMAKE) --gnu  src/libFLAC/ia32/Makefile
 
34888
 .PRECIOUS: Makefile
 
34889
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
34890
        @case '$?' in \
 
34891
diff --exclude debian -urN orig/flac-1.1.2/src/libFLAC/include/Makefile.in flac-1.1.2/src/libFLAC/include/Makefile.in
 
34892
--- orig/flac-1.1.2/src/libFLAC/include/Makefile.in     2005-02-04 18:23:38.000000000 -0800
 
34893
+++ flac-1.1.2/src/libFLAC/include/Makefile.in  2005-08-17 19:52:40.000000000 -0700
 
34894
@@ -89,6 +89,7 @@
 
34895
 AMDEP_FALSE = @AMDEP_FALSE@
 
34896
 AMDEP_TRUE = @AMDEP_TRUE@
 
34897
 AMTAR = @AMTAR@
 
34898
+AR = @AR@
 
34899
 AS = @AS@
 
34900
 AUTOCONF = @AUTOCONF@
 
34901
 AUTOHEADER = @AUTOHEADER@
 
34902
@@ -102,6 +103,7 @@
 
34903
 CPP = @CPP@
 
34904
 CPPFLAGS = @CPPFLAGS@
 
34905
 CXX = @CXX@
 
34906
+CXXCPP = @CXXCPP@
 
34907
 CXXDEPMODE = @CXXDEPMODE@
 
34908
 CXXFLAGS = @CXXFLAGS@
 
34909
 CYGPATH_W = @CYGPATH_W@
 
34910
@@ -117,6 +119,8 @@
 
34911
 ECHO_T = @ECHO_T@
 
34912
 EGREP = @EGREP@
 
34913
 EXEEXT = @EXEEXT@
 
34914
+F77 = @F77@
 
34915
+FFLAGS = @FFLAGS@
 
34916
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
34917
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
34918
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
34919
@@ -204,8 +208,10 @@
 
34920
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
34921
 XMMS_VERSION = @XMMS_VERSION@
 
34922
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
34923
+ac_ct_AR = @ac_ct_AR@
 
34924
 ac_ct_CC = @ac_ct_CC@
 
34925
 ac_ct_CXX = @ac_ct_CXX@
 
34926
+ac_ct_F77 = @ac_ct_F77@
 
34927
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
34928
 ac_ct_STRIP = @ac_ct_STRIP@
 
34929
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
34930
@@ -256,9 +262,9 @@
 
34931
              exit 1;; \
 
34932
          esac; \
 
34933
        done; \
 
34934
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/libFLAC/include/Makefile'; \
 
34935
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/libFLAC/include/Makefile'; \
 
34936
        cd $(top_srcdir) && \
 
34937
-         $(AUTOMAKE) --foreign  src/libFLAC/include/Makefile
 
34938
+         $(AUTOMAKE) --gnu  src/libFLAC/include/Makefile
 
34939
 .PRECIOUS: Makefile
 
34940
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
34941
        @case '$?' in \
 
34942
diff --exclude debian -urN orig/flac-1.1.2/src/libFLAC/include/private/Makefile.in flac-1.1.2/src/libFLAC/include/private/Makefile.in
 
34943
--- orig/flac-1.1.2/src/libFLAC/include/private/Makefile.in     2005-02-04 18:23:38.000000000 -0800
 
34944
+++ flac-1.1.2/src/libFLAC/include/private/Makefile.in  2005-08-17 19:52:40.000000000 -0700
 
34945
@@ -85,6 +85,7 @@
 
34946
 AMDEP_FALSE = @AMDEP_FALSE@
 
34947
 AMDEP_TRUE = @AMDEP_TRUE@
 
34948
 AMTAR = @AMTAR@
 
34949
+AR = @AR@
 
34950
 AS = @AS@
 
34951
 AUTOCONF = @AUTOCONF@
 
34952
 AUTOHEADER = @AUTOHEADER@
 
34953
@@ -98,6 +99,7 @@
 
34954
 CPP = @CPP@
 
34955
 CPPFLAGS = @CPPFLAGS@
 
34956
 CXX = @CXX@
 
34957
+CXXCPP = @CXXCPP@
 
34958
 CXXDEPMODE = @CXXDEPMODE@
 
34959
 CXXFLAGS = @CXXFLAGS@
 
34960
 CYGPATH_W = @CYGPATH_W@
 
34961
@@ -113,6 +115,8 @@
 
34962
 ECHO_T = @ECHO_T@
 
34963
 EGREP = @EGREP@
 
34964
 EXEEXT = @EXEEXT@
 
34965
+F77 = @F77@
 
34966
+FFLAGS = @FFLAGS@
 
34967
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
34968
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
34969
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
34970
@@ -200,8 +204,10 @@
 
34971
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
34972
 XMMS_VERSION = @XMMS_VERSION@
 
34973
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
34974
+ac_ct_AR = @ac_ct_AR@
 
34975
 ac_ct_CC = @ac_ct_CC@
 
34976
 ac_ct_CXX = @ac_ct_CXX@
 
34977
+ac_ct_F77 = @ac_ct_F77@
 
34978
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
34979
 ac_ct_STRIP = @ac_ct_STRIP@
 
34980
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
34981
@@ -266,9 +272,9 @@
 
34982
              exit 1;; \
 
34983
          esac; \
 
34984
        done; \
 
34985
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/libFLAC/include/private/Makefile'; \
 
34986
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/libFLAC/include/private/Makefile'; \
 
34987
        cd $(top_srcdir) && \
 
34988
-         $(AUTOMAKE) --foreign  src/libFLAC/include/private/Makefile
 
34989
+         $(AUTOMAKE) --gnu  src/libFLAC/include/private/Makefile
 
34990
 .PRECIOUS: Makefile
 
34991
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
34992
        @case '$?' in \
 
34993
diff --exclude debian -urN orig/flac-1.1.2/src/libFLAC/include/protected/Makefile.in flac-1.1.2/src/libFLAC/include/protected/Makefile.in
 
34994
--- orig/flac-1.1.2/src/libFLAC/include/protected/Makefile.in   2005-02-04 18:23:39.000000000 -0800
 
34995
+++ flac-1.1.2/src/libFLAC/include/protected/Makefile.in        2005-08-17 19:52:40.000000000 -0700
 
34996
@@ -85,6 +85,7 @@
 
34997
 AMDEP_FALSE = @AMDEP_FALSE@
 
34998
 AMDEP_TRUE = @AMDEP_TRUE@
 
34999
 AMTAR = @AMTAR@
 
35000
+AR = @AR@
 
35001
 AS = @AS@
 
35002
 AUTOCONF = @AUTOCONF@
 
35003
 AUTOHEADER = @AUTOHEADER@
 
35004
@@ -98,6 +99,7 @@
 
35005
 CPP = @CPP@
 
35006
 CPPFLAGS = @CPPFLAGS@
 
35007
 CXX = @CXX@
 
35008
+CXXCPP = @CXXCPP@
 
35009
 CXXDEPMODE = @CXXDEPMODE@
 
35010
 CXXFLAGS = @CXXFLAGS@
 
35011
 CYGPATH_W = @CYGPATH_W@
 
35012
@@ -113,6 +115,8 @@
 
35013
 ECHO_T = @ECHO_T@
 
35014
 EGREP = @EGREP@
 
35015
 EXEEXT = @EXEEXT@
 
35016
+F77 = @F77@
 
35017
+FFLAGS = @FFLAGS@
 
35018
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
35019
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
35020
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
35021
@@ -200,8 +204,10 @@
 
35022
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
35023
 XMMS_VERSION = @XMMS_VERSION@
 
35024
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
35025
+ac_ct_AR = @ac_ct_AR@
 
35026
 ac_ct_CC = @ac_ct_CC@
 
35027
 ac_ct_CXX = @ac_ct_CXX@
 
35028
+ac_ct_F77 = @ac_ct_F77@
 
35029
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
35030
 ac_ct_STRIP = @ac_ct_STRIP@
 
35031
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
35032
@@ -260,9 +266,9 @@
 
35033
              exit 1;; \
 
35034
          esac; \
 
35035
        done; \
 
35036
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/libFLAC/include/protected/Makefile'; \
 
35037
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/libFLAC/include/protected/Makefile'; \
 
35038
        cd $(top_srcdir) && \
 
35039
-         $(AUTOMAKE) --foreign  src/libFLAC/include/protected/Makefile
 
35040
+         $(AUTOMAKE) --gnu  src/libFLAC/include/protected/Makefile
 
35041
 .PRECIOUS: Makefile
 
35042
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
35043
        @case '$?' in \
 
35044
diff --exclude debian -urN orig/flac-1.1.2/src/libFLAC/Makefile.in flac-1.1.2/src/libFLAC/Makefile.in
 
35045
--- orig/flac-1.1.2/src/libFLAC/Makefile.in     2005-02-04 18:23:37.000000000 -0800
 
35046
+++ flac-1.1.2/src/libFLAC/Makefile.in  2005-08-17 19:52:39.000000000 -0700
 
35047
@@ -135,6 +135,7 @@
 
35048
 AMDEP_FALSE = @AMDEP_FALSE@
 
35049
 AMDEP_TRUE = @AMDEP_TRUE@
 
35050
 AMTAR = @AMTAR@
 
35051
+AR = @AR@
 
35052
 AS = @AS@
 
35053
 AUTOCONF = @AUTOCONF@
 
35054
 AUTOHEADER = @AUTOHEADER@
 
35055
@@ -148,6 +149,7 @@
 
35056
 CPP = @CPP@
 
35057
 CPPFLAGS = @CPPFLAGS@
 
35058
 CXX = @CXX@
 
35059
+CXXCPP = @CXXCPP@
 
35060
 CXXDEPMODE = @CXXDEPMODE@
 
35061
 CXXFLAGS = @CXXFLAGS@
 
35062
 CYGPATH_W = @CYGPATH_W@
 
35063
@@ -163,6 +165,8 @@
 
35064
 ECHO_T = @ECHO_T@
 
35065
 EGREP = @EGREP@
 
35066
 EXEEXT = @EXEEXT@
 
35067
+F77 = @F77@
 
35068
+FFLAGS = @FFLAGS@
 
35069
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
35070
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
35071
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
35072
@@ -250,8 +254,10 @@
 
35073
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
35074
 XMMS_VERSION = @XMMS_VERSION@
 
35075
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
35076
+ac_ct_AR = @ac_ct_AR@
 
35077
 ac_ct_CC = @ac_ct_CC@
 
35078
 ac_ct_CXX = @ac_ct_CXX@
 
35079
+ac_ct_F77 = @ac_ct_F77@
 
35080
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
35081
 ac_ct_STRIP = @ac_ct_STRIP@
 
35082
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
35083
@@ -351,9 +357,9 @@
 
35084
              exit 1;; \
 
35085
          esac; \
 
35086
        done; \
 
35087
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/libFLAC/Makefile'; \
 
35088
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/libFLAC/Makefile'; \
 
35089
        cd $(top_srcdir) && \
 
35090
-         $(AUTOMAKE) --foreign  src/libFLAC/Makefile
 
35091
+         $(AUTOMAKE) --gnu  src/libFLAC/Makefile
 
35092
 .PRECIOUS: Makefile
 
35093
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
35094
        @case '$?' in \
 
35095
diff --exclude debian -urN orig/flac-1.1.2/src/libFLAC/ppc/as/Makefile.in flac-1.1.2/src/libFLAC/ppc/as/Makefile.in
 
35096
--- orig/flac-1.1.2/src/libFLAC/ppc/as/Makefile.in      2005-02-04 18:23:40.000000000 -0800
 
35097
+++ flac-1.1.2/src/libFLAC/ppc/as/Makefile.in   2005-08-17 19:52:40.000000000 -0700
 
35098
@@ -103,6 +103,7 @@
 
35099
 AMDEP_FALSE = @AMDEP_FALSE@
 
35100
 AMDEP_TRUE = @AMDEP_TRUE@
 
35101
 AMTAR = @AMTAR@
 
35102
+AR = @AR@
 
35103
 AS = @AS@
 
35104
 AUTOCONF = @AUTOCONF@
 
35105
 AUTOHEADER = @AUTOHEADER@
 
35106
@@ -116,6 +117,7 @@
 
35107
 CPP = @CPP@
 
35108
 CPPFLAGS = @CPPFLAGS@
 
35109
 CXX = @CXX@
 
35110
+CXXCPP = @CXXCPP@
 
35111
 CXXDEPMODE = @CXXDEPMODE@
 
35112
 CXXFLAGS = @CXXFLAGS@
 
35113
 CYGPATH_W = @CYGPATH_W@
 
35114
@@ -131,6 +133,8 @@
 
35115
 ECHO_T = @ECHO_T@
 
35116
 EGREP = @EGREP@
 
35117
 EXEEXT = @EXEEXT@
 
35118
+F77 = @F77@
 
35119
+FFLAGS = @FFLAGS@
 
35120
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
35121
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
35122
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
35123
@@ -218,8 +222,10 @@
 
35124
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
35125
 XMMS_VERSION = @XMMS_VERSION@
 
35126
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
35127
+ac_ct_AR = @ac_ct_AR@
 
35128
 ac_ct_CC = @ac_ct_CC@
 
35129
 ac_ct_CXX = @ac_ct_CXX@
 
35130
+ac_ct_F77 = @ac_ct_F77@
 
35131
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
35132
 ac_ct_STRIP = @ac_ct_STRIP@
 
35133
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
35134
@@ -281,9 +287,9 @@
 
35135
              exit 1;; \
 
35136
          esac; \
 
35137
        done; \
 
35138
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/libFLAC/ppc/as/Makefile'; \
 
35139
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/libFLAC/ppc/as/Makefile'; \
 
35140
        cd $(top_srcdir) && \
 
35141
-         $(AUTOMAKE) --foreign  src/libFLAC/ppc/as/Makefile
 
35142
+         $(AUTOMAKE) --gnu  src/libFLAC/ppc/as/Makefile
 
35143
 .PRECIOUS: Makefile
 
35144
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
35145
        @case '$?' in \
 
35146
diff --exclude debian -urN orig/flac-1.1.2/src/libFLAC/ppc/gas/Makefile.in flac-1.1.2/src/libFLAC/ppc/gas/Makefile.in
 
35147
--- orig/flac-1.1.2/src/libFLAC/ppc/gas/Makefile.in     2005-02-04 18:23:40.000000000 -0800
 
35148
+++ flac-1.1.2/src/libFLAC/ppc/gas/Makefile.in  2005-08-17 19:52:41.000000000 -0700
 
35149
@@ -103,6 +103,7 @@
 
35150
 AMDEP_FALSE = @AMDEP_FALSE@
 
35151
 AMDEP_TRUE = @AMDEP_TRUE@
 
35152
 AMTAR = @AMTAR@
 
35153
+AR = @AR@
 
35154
 AS = @AS@
 
35155
 AUTOCONF = @AUTOCONF@
 
35156
 AUTOHEADER = @AUTOHEADER@
 
35157
@@ -116,6 +117,7 @@
 
35158
 CPP = @CPP@
 
35159
 CPPFLAGS = @CPPFLAGS@
 
35160
 CXX = @CXX@
 
35161
+CXXCPP = @CXXCPP@
 
35162
 CXXDEPMODE = @CXXDEPMODE@
 
35163
 CXXFLAGS = @CXXFLAGS@
 
35164
 CYGPATH_W = @CYGPATH_W@
 
35165
@@ -131,6 +133,8 @@
 
35166
 ECHO_T = @ECHO_T@
 
35167
 EGREP = @EGREP@
 
35168
 EXEEXT = @EXEEXT@
 
35169
+F77 = @F77@
 
35170
+FFLAGS = @FFLAGS@
 
35171
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
35172
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
35173
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
35174
@@ -218,8 +222,10 @@
 
35175
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
35176
 XMMS_VERSION = @XMMS_VERSION@
 
35177
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
35178
+ac_ct_AR = @ac_ct_AR@
 
35179
 ac_ct_CC = @ac_ct_CC@
 
35180
 ac_ct_CXX = @ac_ct_CXX@
 
35181
+ac_ct_F77 = @ac_ct_F77@
 
35182
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
35183
 ac_ct_STRIP = @ac_ct_STRIP@
 
35184
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
35185
@@ -281,9 +287,9 @@
 
35186
              exit 1;; \
 
35187
          esac; \
 
35188
        done; \
 
35189
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/libFLAC/ppc/gas/Makefile'; \
 
35190
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/libFLAC/ppc/gas/Makefile'; \
 
35191
        cd $(top_srcdir) && \
 
35192
-         $(AUTOMAKE) --foreign  src/libFLAC/ppc/gas/Makefile
 
35193
+         $(AUTOMAKE) --gnu  src/libFLAC/ppc/gas/Makefile
 
35194
 .PRECIOUS: Makefile
 
35195
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
35196
        @case '$?' in \
 
35197
diff --exclude debian -urN orig/flac-1.1.2/src/libFLAC/ppc/Makefile.in flac-1.1.2/src/libFLAC/ppc/Makefile.in
 
35198
--- orig/flac-1.1.2/src/libFLAC/ppc/Makefile.in 2005-02-04 18:23:39.000000000 -0800
 
35199
+++ flac-1.1.2/src/libFLAC/ppc/Makefile.in      2005-08-17 19:52:40.000000000 -0700
 
35200
@@ -89,6 +89,7 @@
 
35201
 AMDEP_FALSE = @AMDEP_FALSE@
 
35202
 AMDEP_TRUE = @AMDEP_TRUE@
 
35203
 AMTAR = @AMTAR@
 
35204
+AR = @AR@
 
35205
 AS = @AS@
 
35206
 AUTOCONF = @AUTOCONF@
 
35207
 AUTOHEADER = @AUTOHEADER@
 
35208
@@ -102,6 +103,7 @@
 
35209
 CPP = @CPP@
 
35210
 CPPFLAGS = @CPPFLAGS@
 
35211
 CXX = @CXX@
 
35212
+CXXCPP = @CXXCPP@
 
35213
 CXXDEPMODE = @CXXDEPMODE@
 
35214
 CXXFLAGS = @CXXFLAGS@
 
35215
 CYGPATH_W = @CYGPATH_W@
 
35216
@@ -117,6 +119,8 @@
 
35217
 ECHO_T = @ECHO_T@
 
35218
 EGREP = @EGREP@
 
35219
 EXEEXT = @EXEEXT@
 
35220
+F77 = @F77@
 
35221
+FFLAGS = @FFLAGS@
 
35222
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
35223
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
35224
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
35225
@@ -204,8 +208,10 @@
 
35226
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
35227
 XMMS_VERSION = @XMMS_VERSION@
 
35228
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
35229
+ac_ct_AR = @ac_ct_AR@
 
35230
 ac_ct_CC = @ac_ct_CC@
 
35231
 ac_ct_CXX = @ac_ct_CXX@
 
35232
+ac_ct_F77 = @ac_ct_F77@
 
35233
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
35234
 ac_ct_STRIP = @ac_ct_STRIP@
 
35235
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
35236
@@ -256,9 +262,9 @@
 
35237
              exit 1;; \
 
35238
          esac; \
 
35239
        done; \
 
35240
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/libFLAC/ppc/Makefile'; \
 
35241
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/libFLAC/ppc/Makefile'; \
 
35242
        cd $(top_srcdir) && \
 
35243
-         $(AUTOMAKE) --foreign  src/libFLAC/ppc/Makefile
 
35244
+         $(AUTOMAKE) --gnu  src/libFLAC/ppc/Makefile
 
35245
 .PRECIOUS: Makefile
 
35246
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
35247
        @case '$?' in \
 
35248
diff --exclude debian -urN orig/flac-1.1.2/src/libFLAC++/Makefile.in flac-1.1.2/src/libFLAC++/Makefile.in
 
35249
--- orig/flac-1.1.2/src/libFLAC++/Makefile.in   2005-02-04 18:23:37.000000000 -0800
 
35250
+++ flac-1.1.2/src/libFLAC++/Makefile.in        2005-08-17 19:52:39.000000000 -0700
 
35251
@@ -114,6 +114,7 @@
 
35252
 AMDEP_FALSE = @AMDEP_FALSE@
 
35253
 AMDEP_TRUE = @AMDEP_TRUE@
 
35254
 AMTAR = @AMTAR@
 
35255
+AR = @AR@
 
35256
 AS = @AS@
 
35257
 AUTOCONF = @AUTOCONF@
 
35258
 AUTOHEADER = @AUTOHEADER@
 
35259
@@ -127,6 +128,7 @@
 
35260
 CPP = @CPP@
 
35261
 CPPFLAGS = @CPPFLAGS@
 
35262
 CXX = @CXX@
 
35263
+CXXCPP = @CXXCPP@
 
35264
 CXXDEPMODE = @CXXDEPMODE@
 
35265
 CXXFLAGS = @CXXFLAGS@
 
35266
 CYGPATH_W = @CYGPATH_W@
 
35267
@@ -142,6 +144,8 @@
 
35268
 ECHO_T = @ECHO_T@
 
35269
 EGREP = @EGREP@
 
35270
 EXEEXT = @EXEEXT@
 
35271
+F77 = @F77@
 
35272
+FFLAGS = @FFLAGS@
 
35273
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
35274
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
35275
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
35276
@@ -229,8 +233,10 @@
 
35277
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
35278
 XMMS_VERSION = @XMMS_VERSION@
 
35279
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
35280
+ac_ct_AR = @ac_ct_AR@
 
35281
 ac_ct_CC = @ac_ct_CC@
 
35282
 ac_ct_CXX = @ac_ct_CXX@
 
35283
+ac_ct_F77 = @ac_ct_F77@
 
35284
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
35285
 ac_ct_STRIP = @ac_ct_STRIP@
 
35286
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
35287
@@ -303,9 +309,9 @@
 
35288
              exit 1;; \
 
35289
          esac; \
 
35290
        done; \
 
35291
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/libFLAC++/Makefile'; \
 
35292
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/libFLAC++/Makefile'; \
 
35293
        cd $(top_srcdir) && \
 
35294
-         $(AUTOMAKE) --foreign  src/libFLAC++/Makefile
 
35295
+         $(AUTOMAKE) --gnu  src/libFLAC++/Makefile
 
35296
 .PRECIOUS: Makefile
 
35297
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
35298
        @case '$?' in \
 
35299
diff --exclude debian -urN orig/flac-1.1.2/src/libOggFLAC/include/Makefile.in flac-1.1.2/src/libOggFLAC/include/Makefile.in
 
35300
--- orig/flac-1.1.2/src/libOggFLAC/include/Makefile.in  2005-02-04 18:23:42.000000000 -0800
 
35301
+++ flac-1.1.2/src/libOggFLAC/include/Makefile.in       2005-08-17 19:52:41.000000000 -0700
 
35302
@@ -89,6 +89,7 @@
 
35303
 AMDEP_FALSE = @AMDEP_FALSE@
 
35304
 AMDEP_TRUE = @AMDEP_TRUE@
 
35305
 AMTAR = @AMTAR@
 
35306
+AR = @AR@
 
35307
 AS = @AS@
 
35308
 AUTOCONF = @AUTOCONF@
 
35309
 AUTOHEADER = @AUTOHEADER@
 
35310
@@ -102,6 +103,7 @@
 
35311
 CPP = @CPP@
 
35312
 CPPFLAGS = @CPPFLAGS@
 
35313
 CXX = @CXX@
 
35314
+CXXCPP = @CXXCPP@
 
35315
 CXXDEPMODE = @CXXDEPMODE@
 
35316
 CXXFLAGS = @CXXFLAGS@
 
35317
 CYGPATH_W = @CYGPATH_W@
 
35318
@@ -117,6 +119,8 @@
 
35319
 ECHO_T = @ECHO_T@
 
35320
 EGREP = @EGREP@
 
35321
 EXEEXT = @EXEEXT@
 
35322
+F77 = @F77@
 
35323
+FFLAGS = @FFLAGS@
 
35324
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
35325
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
35326
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
35327
@@ -204,8 +208,10 @@
 
35328
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
35329
 XMMS_VERSION = @XMMS_VERSION@
 
35330
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
35331
+ac_ct_AR = @ac_ct_AR@
 
35332
 ac_ct_CC = @ac_ct_CC@
 
35333
 ac_ct_CXX = @ac_ct_CXX@
 
35334
+ac_ct_F77 = @ac_ct_F77@
 
35335
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
35336
 ac_ct_STRIP = @ac_ct_STRIP@
 
35337
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
35338
@@ -256,9 +262,9 @@
 
35339
              exit 1;; \
 
35340
          esac; \
 
35341
        done; \
 
35342
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/libOggFLAC/include/Makefile'; \
 
35343
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/libOggFLAC/include/Makefile'; \
 
35344
        cd $(top_srcdir) && \
 
35345
-         $(AUTOMAKE) --foreign  src/libOggFLAC/include/Makefile
 
35346
+         $(AUTOMAKE) --gnu  src/libOggFLAC/include/Makefile
 
35347
 .PRECIOUS: Makefile
 
35348
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
35349
        @case '$?' in \
 
35350
diff --exclude debian -urN orig/flac-1.1.2/src/libOggFLAC/include/private/Makefile.in flac-1.1.2/src/libOggFLAC/include/private/Makefile.in
 
35351
--- orig/flac-1.1.2/src/libOggFLAC/include/private/Makefile.in  2005-02-04 18:23:42.000000000 -0800
 
35352
+++ flac-1.1.2/src/libOggFLAC/include/private/Makefile.in       2005-08-17 19:52:42.000000000 -0700
 
35353
@@ -85,6 +85,7 @@
 
35354
 AMDEP_FALSE = @AMDEP_FALSE@
 
35355
 AMDEP_TRUE = @AMDEP_TRUE@
 
35356
 AMTAR = @AMTAR@
 
35357
+AR = @AR@
 
35358
 AS = @AS@
 
35359
 AUTOCONF = @AUTOCONF@
 
35360
 AUTOHEADER = @AUTOHEADER@
 
35361
@@ -98,6 +99,7 @@
 
35362
 CPP = @CPP@
 
35363
 CPPFLAGS = @CPPFLAGS@
 
35364
 CXX = @CXX@
 
35365
+CXXCPP = @CXXCPP@
 
35366
 CXXDEPMODE = @CXXDEPMODE@
 
35367
 CXXFLAGS = @CXXFLAGS@
 
35368
 CYGPATH_W = @CYGPATH_W@
 
35369
@@ -113,6 +115,8 @@
 
35370
 ECHO_T = @ECHO_T@
 
35371
 EGREP = @EGREP@
 
35372
 EXEEXT = @EXEEXT@
 
35373
+F77 = @F77@
 
35374
+FFLAGS = @FFLAGS@
 
35375
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
35376
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
35377
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
35378
@@ -200,8 +204,10 @@
 
35379
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
35380
 XMMS_VERSION = @XMMS_VERSION@
 
35381
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
35382
+ac_ct_AR = @ac_ct_AR@
 
35383
 ac_ct_CC = @ac_ct_CC@
 
35384
 ac_ct_CXX = @ac_ct_CXX@
 
35385
+ac_ct_F77 = @ac_ct_F77@
 
35386
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
35387
 ac_ct_STRIP = @ac_ct_STRIP@
 
35388
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
35389
@@ -258,9 +264,9 @@
 
35390
              exit 1;; \
 
35391
          esac; \
 
35392
        done; \
 
35393
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/libOggFLAC/include/private/Makefile'; \
 
35394
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/libOggFLAC/include/private/Makefile'; \
 
35395
        cd $(top_srcdir) && \
 
35396
-         $(AUTOMAKE) --foreign  src/libOggFLAC/include/private/Makefile
 
35397
+         $(AUTOMAKE) --gnu  src/libOggFLAC/include/private/Makefile
 
35398
 .PRECIOUS: Makefile
 
35399
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
35400
        @case '$?' in \
 
35401
diff --exclude debian -urN orig/flac-1.1.2/src/libOggFLAC/include/protected/Makefile.in flac-1.1.2/src/libOggFLAC/include/protected/Makefile.in
 
35402
--- orig/flac-1.1.2/src/libOggFLAC/include/protected/Makefile.in        2005-02-04 18:23:43.000000000 -0800
 
35403
+++ flac-1.1.2/src/libOggFLAC/include/protected/Makefile.in     2005-08-17 19:52:42.000000000 -0700
 
35404
@@ -85,6 +85,7 @@
 
35405
 AMDEP_FALSE = @AMDEP_FALSE@
 
35406
 AMDEP_TRUE = @AMDEP_TRUE@
 
35407
 AMTAR = @AMTAR@
 
35408
+AR = @AR@
 
35409
 AS = @AS@
 
35410
 AUTOCONF = @AUTOCONF@
 
35411
 AUTOHEADER = @AUTOHEADER@
 
35412
@@ -98,6 +99,7 @@
 
35413
 CPP = @CPP@
 
35414
 CPPFLAGS = @CPPFLAGS@
 
35415
 CXX = @CXX@
 
35416
+CXXCPP = @CXXCPP@
 
35417
 CXXDEPMODE = @CXXDEPMODE@
 
35418
 CXXFLAGS = @CXXFLAGS@
 
35419
 CYGPATH_W = @CYGPATH_W@
 
35420
@@ -113,6 +115,8 @@
 
35421
 ECHO_T = @ECHO_T@
 
35422
 EGREP = @EGREP@
 
35423
 EXEEXT = @EXEEXT@
 
35424
+F77 = @F77@
 
35425
+FFLAGS = @FFLAGS@
 
35426
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
35427
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
35428
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
35429
@@ -200,8 +204,10 @@
 
35430
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
35431
 XMMS_VERSION = @XMMS_VERSION@
 
35432
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
35433
+ac_ct_AR = @ac_ct_AR@
 
35434
 ac_ct_CC = @ac_ct_CC@
 
35435
 ac_ct_CXX = @ac_ct_CXX@
 
35436
+ac_ct_F77 = @ac_ct_F77@
 
35437
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
35438
 ac_ct_STRIP = @ac_ct_STRIP@
 
35439
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
35440
@@ -260,9 +266,9 @@
 
35441
              exit 1;; \
 
35442
          esac; \
 
35443
        done; \
 
35444
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/libOggFLAC/include/protected/Makefile'; \
 
35445
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/libOggFLAC/include/protected/Makefile'; \
 
35446
        cd $(top_srcdir) && \
 
35447
-         $(AUTOMAKE) --foreign  src/libOggFLAC/include/protected/Makefile
 
35448
+         $(AUTOMAKE) --gnu  src/libOggFLAC/include/protected/Makefile
 
35449
 .PRECIOUS: Makefile
 
35450
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
35451
        @case '$?' in \
 
35452
diff --exclude debian -urN orig/flac-1.1.2/src/libOggFLAC/Makefile.in flac-1.1.2/src/libOggFLAC/Makefile.in
 
35453
--- orig/flac-1.1.2/src/libOggFLAC/Makefile.in  2005-02-04 18:23:41.000000000 -0800
 
35454
+++ flac-1.1.2/src/libOggFLAC/Makefile.in       2005-08-17 19:52:41.000000000 -0700
 
35455
@@ -125,6 +125,7 @@
 
35456
 AMDEP_FALSE = @AMDEP_FALSE@
 
35457
 AMDEP_TRUE = @AMDEP_TRUE@
 
35458
 AMTAR = @AMTAR@
 
35459
+AR = @AR@
 
35460
 AS = @AS@
 
35461
 AUTOCONF = @AUTOCONF@
 
35462
 AUTOHEADER = @AUTOHEADER@
 
35463
@@ -138,6 +139,7 @@
 
35464
 CPP = @CPP@
 
35465
 CPPFLAGS = @CPPFLAGS@
 
35466
 CXX = @CXX@
 
35467
+CXXCPP = @CXXCPP@
 
35468
 CXXDEPMODE = @CXXDEPMODE@
 
35469
 CXXFLAGS = @CXXFLAGS@
 
35470
 CYGPATH_W = @CYGPATH_W@
 
35471
@@ -153,6 +155,8 @@
 
35472
 ECHO_T = @ECHO_T@
 
35473
 EGREP = @EGREP@
 
35474
 EXEEXT = @EXEEXT@
 
35475
+F77 = @F77@
 
35476
+FFLAGS = @FFLAGS@
 
35477
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
35478
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
35479
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
35480
@@ -240,8 +244,10 @@
 
35481
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
35482
 XMMS_VERSION = @XMMS_VERSION@
 
35483
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
35484
+ac_ct_AR = @ac_ct_AR@
 
35485
 ac_ct_CC = @ac_ct_CC@
 
35486
 ac_ct_CXX = @ac_ct_CXX@
 
35487
+ac_ct_F77 = @ac_ct_F77@
 
35488
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
35489
 ac_ct_STRIP = @ac_ct_STRIP@
 
35490
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
35491
@@ -319,9 +325,9 @@
 
35492
              exit 1;; \
 
35493
          esac; \
 
35494
        done; \
 
35495
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/libOggFLAC/Makefile'; \
 
35496
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/libOggFLAC/Makefile'; \
 
35497
        cd $(top_srcdir) && \
 
35498
-         $(AUTOMAKE) --foreign  src/libOggFLAC/Makefile
 
35499
+         $(AUTOMAKE) --gnu  src/libOggFLAC/Makefile
 
35500
 .PRECIOUS: Makefile
 
35501
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
35502
        @case '$?' in \
 
35503
diff --exclude debian -urN orig/flac-1.1.2/src/libOggFLAC++/Makefile.in flac-1.1.2/src/libOggFLAC++/Makefile.in
 
35504
--- orig/flac-1.1.2/src/libOggFLAC++/Makefile.in        2005-02-04 18:23:41.000000000 -0800
 
35505
+++ flac-1.1.2/src/libOggFLAC++/Makefile.in     2005-08-17 19:52:41.000000000 -0700
 
35506
@@ -113,6 +113,7 @@
 
35507
 AMDEP_FALSE = @AMDEP_FALSE@
 
35508
 AMDEP_TRUE = @AMDEP_TRUE@
 
35509
 AMTAR = @AMTAR@
 
35510
+AR = @AR@
 
35511
 AS = @AS@
 
35512
 AUTOCONF = @AUTOCONF@
 
35513
 AUTOHEADER = @AUTOHEADER@
 
35514
@@ -126,6 +127,7 @@
 
35515
 CPP = @CPP@
 
35516
 CPPFLAGS = @CPPFLAGS@
 
35517
 CXX = @CXX@
 
35518
+CXXCPP = @CXXCPP@
 
35519
 CXXDEPMODE = @CXXDEPMODE@
 
35520
 CXXFLAGS = @CXXFLAGS@
 
35521
 CYGPATH_W = @CYGPATH_W@
 
35522
@@ -141,6 +143,8 @@
 
35523
 ECHO_T = @ECHO_T@
 
35524
 EGREP = @EGREP@
 
35525
 EXEEXT = @EXEEXT@
 
35526
+F77 = @F77@
 
35527
+FFLAGS = @FFLAGS@
 
35528
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
35529
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
35530
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
35531
@@ -228,8 +232,10 @@
 
35532
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
35533
 XMMS_VERSION = @XMMS_VERSION@
 
35534
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
35535
+ac_ct_AR = @ac_ct_AR@
 
35536
 ac_ct_CC = @ac_ct_CC@
 
35537
 ac_ct_CXX = @ac_ct_CXX@
 
35538
+ac_ct_F77 = @ac_ct_F77@
 
35539
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
35540
 ac_ct_STRIP = @ac_ct_STRIP@
 
35541
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
35542
@@ -301,9 +307,9 @@
 
35543
              exit 1;; \
 
35544
          esac; \
 
35545
        done; \
 
35546
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/libOggFLAC++/Makefile'; \
 
35547
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/libOggFLAC++/Makefile'; \
 
35548
        cd $(top_srcdir) && \
 
35549
-         $(AUTOMAKE) --foreign  src/libOggFLAC++/Makefile
 
35550
+         $(AUTOMAKE) --gnu  src/libOggFLAC++/Makefile
 
35551
 .PRECIOUS: Makefile
 
35552
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
35553
        @case '$?' in \
 
35554
diff --exclude debian -urN orig/flac-1.1.2/src/Makefile.in flac-1.1.2/src/Makefile.in
 
35555
--- orig/flac-1.1.2/src/Makefile.in     2005-02-04 18:23:35.000000000 -0800
 
35556
+++ flac-1.1.2/src/Makefile.in  2005-08-17 19:52:38.000000000 -0700
 
35557
@@ -79,6 +79,7 @@
 
35558
 AMDEP_FALSE = @AMDEP_FALSE@
 
35559
 AMDEP_TRUE = @AMDEP_TRUE@
 
35560
 AMTAR = @AMTAR@
 
35561
+AR = @AR@
 
35562
 AS = @AS@
 
35563
 AUTOCONF = @AUTOCONF@
 
35564
 AUTOHEADER = @AUTOHEADER@
 
35565
@@ -92,6 +93,7 @@
 
35566
 CPP = @CPP@
 
35567
 CPPFLAGS = @CPPFLAGS@
 
35568
 CXX = @CXX@
 
35569
+CXXCPP = @CXXCPP@
 
35570
 CXXDEPMODE = @CXXDEPMODE@
 
35571
 CXXFLAGS = @CXXFLAGS@
 
35572
 CYGPATH_W = @CYGPATH_W@
 
35573
@@ -107,6 +109,8 @@
 
35574
 ECHO_T = @ECHO_T@
 
35575
 EGREP = @EGREP@
 
35576
 EXEEXT = @EXEEXT@
 
35577
+F77 = @F77@
 
35578
+FFLAGS = @FFLAGS@
 
35579
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
35580
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
35581
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
35582
@@ -194,8 +198,10 @@
 
35583
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
35584
 XMMS_VERSION = @XMMS_VERSION@
 
35585
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
35586
+ac_ct_AR = @ac_ct_AR@
 
35587
 ac_ct_CC = @ac_ct_CC@
 
35588
 ac_ct_CXX = @ac_ct_CXX@
 
35589
+ac_ct_F77 = @ac_ct_F77@
 
35590
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
35591
 ac_ct_STRIP = @ac_ct_STRIP@
 
35592
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
35593
@@ -269,9 +275,9 @@
 
35594
              exit 1;; \
 
35595
          esac; \
 
35596
        done; \
 
35597
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/Makefile'; \
 
35598
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/Makefile'; \
 
35599
        cd $(top_srcdir) && \
 
35600
-         $(AUTOMAKE) --foreign  src/Makefile
 
35601
+         $(AUTOMAKE) --gnu  src/Makefile
 
35602
 .PRECIOUS: Makefile
 
35603
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
35604
        @case '$?' in \
 
35605
diff --exclude debian -urN orig/flac-1.1.2/src/metaflac/Makefile.in flac-1.1.2/src/metaflac/Makefile.in
 
35606
--- orig/flac-1.1.2/src/metaflac/Makefile.in    2005-02-04 18:23:43.000000000 -0800
 
35607
+++ flac-1.1.2/src/metaflac/Makefile.in 2005-08-17 19:52:42.000000000 -0700
 
35608
@@ -107,6 +107,7 @@
 
35609
 AMDEP_FALSE = @AMDEP_FALSE@
 
35610
 AMDEP_TRUE = @AMDEP_TRUE@
 
35611
 AMTAR = @AMTAR@
 
35612
+AR = @AR@
 
35613
 AS = @AS@
 
35614
 AUTOCONF = @AUTOCONF@
 
35615
 AUTOHEADER = @AUTOHEADER@
 
35616
@@ -120,6 +121,7 @@
 
35617
 CPP = @CPP@
 
35618
 CPPFLAGS = @CPPFLAGS@
 
35619
 CXX = @CXX@
 
35620
+CXXCPP = @CXXCPP@
 
35621
 CXXDEPMODE = @CXXDEPMODE@
 
35622
 CXXFLAGS = @CXXFLAGS@
 
35623
 CYGPATH_W = @CYGPATH_W@
 
35624
@@ -135,6 +137,8 @@
 
35625
 ECHO_T = @ECHO_T@
 
35626
 EGREP = @EGREP@
 
35627
 EXEEXT = @EXEEXT@
 
35628
+F77 = @F77@
 
35629
+FFLAGS = @FFLAGS@
 
35630
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
35631
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
35632
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
35633
@@ -222,8 +226,10 @@
 
35634
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
35635
 XMMS_VERSION = @XMMS_VERSION@
 
35636
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
35637
+ac_ct_AR = @ac_ct_AR@
 
35638
 ac_ct_CC = @ac_ct_CC@
 
35639
 ac_ct_CXX = @ac_ct_CXX@
 
35640
+ac_ct_F77 = @ac_ct_F77@
 
35641
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
35642
 ac_ct_STRIP = @ac_ct_STRIP@
 
35643
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
35644
@@ -303,9 +309,9 @@
 
35645
              exit 1;; \
 
35646
          esac; \
 
35647
        done; \
 
35648
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/metaflac/Makefile'; \
 
35649
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/metaflac/Makefile'; \
 
35650
        cd $(top_srcdir) && \
 
35651
-         $(AUTOMAKE) --foreign  src/metaflac/Makefile
 
35652
+         $(AUTOMAKE) --gnu  src/metaflac/Makefile
 
35653
 .PRECIOUS: Makefile
 
35654
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
35655
        @case '$?' in \
 
35656
diff --exclude debian -urN orig/flac-1.1.2/src/monkeys_audio_utilities/flac_mac/Makefile.in flac-1.1.2/src/monkeys_audio_utilities/flac_mac/Makefile.in
 
35657
--- orig/flac-1.1.2/src/monkeys_audio_utilities/flac_mac/Makefile.in    2005-02-04 18:23:44.000000000 -0800
 
35658
+++ flac-1.1.2/src/monkeys_audio_utilities/flac_mac/Makefile.in 2005-08-17 19:52:42.000000000 -0700
 
35659
@@ -67,6 +67,7 @@
 
35660
 AMDEP_FALSE = @AMDEP_FALSE@
 
35661
 AMDEP_TRUE = @AMDEP_TRUE@
 
35662
 AMTAR = @AMTAR@
 
35663
+AR = @AR@
 
35664
 AS = @AS@
 
35665
 AUTOCONF = @AUTOCONF@
 
35666
 AUTOHEADER = @AUTOHEADER@
 
35667
@@ -80,6 +81,7 @@
 
35668
 CPP = @CPP@
 
35669
 CPPFLAGS = @CPPFLAGS@
 
35670
 CXX = @CXX@
 
35671
+CXXCPP = @CXXCPP@
 
35672
 CXXDEPMODE = @CXXDEPMODE@
 
35673
 CXXFLAGS = @CXXFLAGS@
 
35674
 CYGPATH_W = @CYGPATH_W@
 
35675
@@ -95,6 +97,8 @@
 
35676
 ECHO_T = @ECHO_T@
 
35677
 EGREP = @EGREP@
 
35678
 EXEEXT = @EXEEXT@
 
35679
+F77 = @F77@
 
35680
+FFLAGS = @FFLAGS@
 
35681
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
35682
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
35683
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
35684
@@ -182,8 +186,10 @@
 
35685
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
35686
 XMMS_VERSION = @XMMS_VERSION@
 
35687
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
35688
+ac_ct_AR = @ac_ct_AR@
 
35689
 ac_ct_CC = @ac_ct_CC@
 
35690
 ac_ct_CXX = @ac_ct_CXX@
 
35691
+ac_ct_F77 = @ac_ct_F77@
 
35692
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
35693
 ac_ct_STRIP = @ac_ct_STRIP@
 
35694
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
35695
@@ -237,9 +243,9 @@
 
35696
              exit 1;; \
 
35697
          esac; \
 
35698
        done; \
 
35699
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/monkeys_audio_utilities/flac_mac/Makefile'; \
 
35700
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/monkeys_audio_utilities/flac_mac/Makefile'; \
 
35701
        cd $(top_srcdir) && \
 
35702
-         $(AUTOMAKE) --foreign  src/monkeys_audio_utilities/flac_mac/Makefile
 
35703
+         $(AUTOMAKE) --gnu  src/monkeys_audio_utilities/flac_mac/Makefile
 
35704
 .PRECIOUS: Makefile
 
35705
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
35706
        @case '$?' in \
 
35707
diff --exclude debian -urN orig/flac-1.1.2/src/monkeys_audio_utilities/flac_ren/Makefile.in flac-1.1.2/src/monkeys_audio_utilities/flac_ren/Makefile.in
 
35708
--- orig/flac-1.1.2/src/monkeys_audio_utilities/flac_ren/Makefile.in    2005-02-04 18:23:44.000000000 -0800
 
35709
+++ flac-1.1.2/src/monkeys_audio_utilities/flac_ren/Makefile.in 2005-08-17 19:52:43.000000000 -0700
 
35710
@@ -67,6 +67,7 @@
 
35711
 AMDEP_FALSE = @AMDEP_FALSE@
 
35712
 AMDEP_TRUE = @AMDEP_TRUE@
 
35713
 AMTAR = @AMTAR@
 
35714
+AR = @AR@
 
35715
 AS = @AS@
 
35716
 AUTOCONF = @AUTOCONF@
 
35717
 AUTOHEADER = @AUTOHEADER@
 
35718
@@ -80,6 +81,7 @@
 
35719
 CPP = @CPP@
 
35720
 CPPFLAGS = @CPPFLAGS@
 
35721
 CXX = @CXX@
 
35722
+CXXCPP = @CXXCPP@
 
35723
 CXXDEPMODE = @CXXDEPMODE@
 
35724
 CXXFLAGS = @CXXFLAGS@
 
35725
 CYGPATH_W = @CYGPATH_W@
 
35726
@@ -95,6 +97,8 @@
 
35727
 ECHO_T = @ECHO_T@
 
35728
 EGREP = @EGREP@
 
35729
 EXEEXT = @EXEEXT@
 
35730
+F77 = @F77@
 
35731
+FFLAGS = @FFLAGS@
 
35732
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
35733
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
35734
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
35735
@@ -182,8 +186,10 @@
 
35736
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
35737
 XMMS_VERSION = @XMMS_VERSION@
 
35738
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
35739
+ac_ct_AR = @ac_ct_AR@
 
35740
 ac_ct_CC = @ac_ct_CC@
 
35741
 ac_ct_CXX = @ac_ct_CXX@
 
35742
+ac_ct_F77 = @ac_ct_F77@
 
35743
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
35744
 ac_ct_STRIP = @ac_ct_STRIP@
 
35745
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
35746
@@ -237,9 +243,9 @@
 
35747
              exit 1;; \
 
35748
          esac; \
 
35749
        done; \
 
35750
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/monkeys_audio_utilities/flac_ren/Makefile'; \
 
35751
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/monkeys_audio_utilities/flac_ren/Makefile'; \
 
35752
        cd $(top_srcdir) && \
 
35753
-         $(AUTOMAKE) --foreign  src/monkeys_audio_utilities/flac_ren/Makefile
 
35754
+         $(AUTOMAKE) --gnu  src/monkeys_audio_utilities/flac_ren/Makefile
 
35755
 .PRECIOUS: Makefile
 
35756
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
35757
        @case '$?' in \
 
35758
diff --exclude debian -urN orig/flac-1.1.2/src/monkeys_audio_utilities/Makefile.in flac-1.1.2/src/monkeys_audio_utilities/Makefile.in
 
35759
--- orig/flac-1.1.2/src/monkeys_audio_utilities/Makefile.in     2005-02-04 18:23:44.000000000 -0800
 
35760
+++ flac-1.1.2/src/monkeys_audio_utilities/Makefile.in  2005-08-17 19:52:42.000000000 -0700
 
35761
@@ -76,6 +76,7 @@
 
35762
 AMDEP_FALSE = @AMDEP_FALSE@
 
35763
 AMDEP_TRUE = @AMDEP_TRUE@
 
35764
 AMTAR = @AMTAR@
 
35765
+AR = @AR@
 
35766
 AS = @AS@
 
35767
 AUTOCONF = @AUTOCONF@
 
35768
 AUTOHEADER = @AUTOHEADER@
 
35769
@@ -89,6 +90,7 @@
 
35770
 CPP = @CPP@
 
35771
 CPPFLAGS = @CPPFLAGS@
 
35772
 CXX = @CXX@
 
35773
+CXXCPP = @CXXCPP@
 
35774
 CXXDEPMODE = @CXXDEPMODE@
 
35775
 CXXFLAGS = @CXXFLAGS@
 
35776
 CYGPATH_W = @CYGPATH_W@
 
35777
@@ -104,6 +106,8 @@
 
35778
 ECHO_T = @ECHO_T@
 
35779
 EGREP = @EGREP@
 
35780
 EXEEXT = @EXEEXT@
 
35781
+F77 = @F77@
 
35782
+FFLAGS = @FFLAGS@
 
35783
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
35784
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
35785
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
35786
@@ -191,8 +195,10 @@
 
35787
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
35788
 XMMS_VERSION = @XMMS_VERSION@
 
35789
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
35790
+ac_ct_AR = @ac_ct_AR@
 
35791
 ac_ct_CC = @ac_ct_CC@
 
35792
 ac_ct_CXX = @ac_ct_CXX@
 
35793
+ac_ct_F77 = @ac_ct_F77@
 
35794
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
35795
 ac_ct_STRIP = @ac_ct_STRIP@
 
35796
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
35797
@@ -243,9 +249,9 @@
 
35798
              exit 1;; \
 
35799
          esac; \
 
35800
        done; \
 
35801
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/monkeys_audio_utilities/Makefile'; \
 
35802
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/monkeys_audio_utilities/Makefile'; \
 
35803
        cd $(top_srcdir) && \
 
35804
-         $(AUTOMAKE) --foreign  src/monkeys_audio_utilities/Makefile
 
35805
+         $(AUTOMAKE) --gnu  src/monkeys_audio_utilities/Makefile
 
35806
 .PRECIOUS: Makefile
 
35807
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
35808
        @case '$?' in \
 
35809
diff --exclude debian -urN orig/flac-1.1.2/src/plugin_common/Makefile.in flac-1.1.2/src/plugin_common/Makefile.in
 
35810
--- orig/flac-1.1.2/src/plugin_common/Makefile.in       2005-02-04 18:23:45.000000000 -0800
 
35811
+++ flac-1.1.2/src/plugin_common/Makefile.in    2005-08-17 19:52:43.000000000 -0700
 
35812
@@ -92,6 +92,7 @@
 
35813
 AMDEP_FALSE = @AMDEP_FALSE@
 
35814
 AMDEP_TRUE = @AMDEP_TRUE@
 
35815
 AMTAR = @AMTAR@
 
35816
+AR = @AR@
 
35817
 AS = @AS@
 
35818
 AUTOCONF = @AUTOCONF@
 
35819
 AUTOHEADER = @AUTOHEADER@
 
35820
@@ -105,6 +106,7 @@
 
35821
 CPP = @CPP@
 
35822
 CPPFLAGS = @CPPFLAGS@
 
35823
 CXX = @CXX@
 
35824
+CXXCPP = @CXXCPP@
 
35825
 CXXDEPMODE = @CXXDEPMODE@
 
35826
 CXXFLAGS = @CXXFLAGS@
 
35827
 CYGPATH_W = @CYGPATH_W@
 
35828
@@ -120,6 +122,8 @@
 
35829
 ECHO_T = @ECHO_T@
 
35830
 EGREP = @EGREP@
 
35831
 EXEEXT = @EXEEXT@
 
35832
+F77 = @F77@
 
35833
+FFLAGS = @FFLAGS@
 
35834
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
35835
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
35836
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
35837
@@ -207,8 +211,10 @@
 
35838
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
35839
 XMMS_VERSION = @XMMS_VERSION@
 
35840
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
35841
+ac_ct_AR = @ac_ct_AR@
 
35842
 ac_ct_CC = @ac_ct_CC@
 
35843
 ac_ct_CXX = @ac_ct_CXX@
 
35844
+ac_ct_F77 = @ac_ct_F77@
 
35845
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
35846
 ac_ct_STRIP = @ac_ct_STRIP@
 
35847
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
35848
diff --exclude debian -urN orig/flac-1.1.2/src/plugin_winamp2/include/Makefile.in flac-1.1.2/src/plugin_winamp2/include/Makefile.in
 
35849
--- orig/flac-1.1.2/src/plugin_winamp2/include/Makefile.in      2005-02-04 18:23:46.000000000 -0800
 
35850
+++ flac-1.1.2/src/plugin_winamp2/include/Makefile.in   2005-08-17 19:52:43.000000000 -0700
 
35851
@@ -76,6 +76,7 @@
 
35852
 AMDEP_FALSE = @AMDEP_FALSE@
 
35853
 AMDEP_TRUE = @AMDEP_TRUE@
 
35854
 AMTAR = @AMTAR@
 
35855
+AR = @AR@
 
35856
 AS = @AS@
 
35857
 AUTOCONF = @AUTOCONF@
 
35858
 AUTOHEADER = @AUTOHEADER@
 
35859
@@ -89,6 +90,7 @@
 
35860
 CPP = @CPP@
 
35861
 CPPFLAGS = @CPPFLAGS@
 
35862
 CXX = @CXX@
 
35863
+CXXCPP = @CXXCPP@
 
35864
 CXXDEPMODE = @CXXDEPMODE@
 
35865
 CXXFLAGS = @CXXFLAGS@
 
35866
 CYGPATH_W = @CYGPATH_W@
 
35867
@@ -104,6 +106,8 @@
 
35868
 ECHO_T = @ECHO_T@
 
35869
 EGREP = @EGREP@
 
35870
 EXEEXT = @EXEEXT@
 
35871
+F77 = @F77@
 
35872
+FFLAGS = @FFLAGS@
 
35873
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
35874
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
35875
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
35876
@@ -191,8 +195,10 @@
 
35877
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
35878
 XMMS_VERSION = @XMMS_VERSION@
 
35879
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
35880
+ac_ct_AR = @ac_ct_AR@
 
35881
 ac_ct_CC = @ac_ct_CC@
 
35882
 ac_ct_CXX = @ac_ct_CXX@
 
35883
+ac_ct_F77 = @ac_ct_F77@
 
35884
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
35885
 ac_ct_STRIP = @ac_ct_STRIP@
 
35886
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
35887
@@ -243,9 +249,9 @@
 
35888
              exit 1;; \
 
35889
          esac; \
 
35890
        done; \
 
35891
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/plugin_winamp2/include/Makefile'; \
 
35892
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/plugin_winamp2/include/Makefile'; \
 
35893
        cd $(top_srcdir) && \
 
35894
-         $(AUTOMAKE) --foreign  src/plugin_winamp2/include/Makefile
 
35895
+         $(AUTOMAKE) --gnu  src/plugin_winamp2/include/Makefile
 
35896
 .PRECIOUS: Makefile
 
35897
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
35898
        @case '$?' in \
 
35899
diff --exclude debian -urN orig/flac-1.1.2/src/plugin_winamp2/include/winamp2/Makefile.in flac-1.1.2/src/plugin_winamp2/include/winamp2/Makefile.in
 
35900
--- orig/flac-1.1.2/src/plugin_winamp2/include/winamp2/Makefile.in      2005-02-04 18:23:46.000000000 -0800
 
35901
+++ flac-1.1.2/src/plugin_winamp2/include/winamp2/Makefile.in   2005-08-17 19:52:43.000000000 -0700
 
35902
@@ -67,6 +67,7 @@
 
35903
 AMDEP_FALSE = @AMDEP_FALSE@
 
35904
 AMDEP_TRUE = @AMDEP_TRUE@
 
35905
 AMTAR = @AMTAR@
 
35906
+AR = @AR@
 
35907
 AS = @AS@
 
35908
 AUTOCONF = @AUTOCONF@
 
35909
 AUTOHEADER = @AUTOHEADER@
 
35910
@@ -80,6 +81,7 @@
 
35911
 CPP = @CPP@
 
35912
 CPPFLAGS = @CPPFLAGS@
 
35913
 CXX = @CXX@
 
35914
+CXXCPP = @CXXCPP@
 
35915
 CXXDEPMODE = @CXXDEPMODE@
 
35916
 CXXFLAGS = @CXXFLAGS@
 
35917
 CYGPATH_W = @CYGPATH_W@
 
35918
@@ -95,6 +97,8 @@
 
35919
 ECHO_T = @ECHO_T@
 
35920
 EGREP = @EGREP@
 
35921
 EXEEXT = @EXEEXT@
 
35922
+F77 = @F77@
 
35923
+FFLAGS = @FFLAGS@
 
35924
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
35925
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
35926
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
35927
@@ -182,8 +186,10 @@
 
35928
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
35929
 XMMS_VERSION = @XMMS_VERSION@
 
35930
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
35931
+ac_ct_AR = @ac_ct_AR@
 
35932
 ac_ct_CC = @ac_ct_CC@
 
35933
 ac_ct_CXX = @ac_ct_CXX@
 
35934
+ac_ct_F77 = @ac_ct_F77@
 
35935
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
35936
 ac_ct_STRIP = @ac_ct_STRIP@
 
35937
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
35938
@@ -237,9 +243,9 @@
 
35939
              exit 1;; \
 
35940
          esac; \
 
35941
        done; \
 
35942
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/plugin_winamp2/include/winamp2/Makefile'; \
 
35943
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/plugin_winamp2/include/winamp2/Makefile'; \
 
35944
        cd $(top_srcdir) && \
 
35945
-         $(AUTOMAKE) --foreign  src/plugin_winamp2/include/winamp2/Makefile
 
35946
+         $(AUTOMAKE) --gnu  src/plugin_winamp2/include/winamp2/Makefile
 
35947
 .PRECIOUS: Makefile
 
35948
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
35949
        @case '$?' in \
 
35950
diff --exclude debian -urN orig/flac-1.1.2/src/plugin_winamp2/Makefile.in flac-1.1.2/src/plugin_winamp2/Makefile.in
 
35951
--- orig/flac-1.1.2/src/plugin_winamp2/Makefile.in      2005-02-04 18:23:45.000000000 -0800
 
35952
+++ flac-1.1.2/src/plugin_winamp2/Makefile.in   2005-08-17 19:52:43.000000000 -0700
 
35953
@@ -76,6 +76,7 @@
 
35954
 AMDEP_FALSE = @AMDEP_FALSE@
 
35955
 AMDEP_TRUE = @AMDEP_TRUE@
 
35956
 AMTAR = @AMTAR@
 
35957
+AR = @AR@
 
35958
 AS = @AS@
 
35959
 AUTOCONF = @AUTOCONF@
 
35960
 AUTOHEADER = @AUTOHEADER@
 
35961
@@ -89,6 +90,7 @@
 
35962
 CPP = @CPP@
 
35963
 CPPFLAGS = @CPPFLAGS@
 
35964
 CXX = @CXX@
 
35965
+CXXCPP = @CXXCPP@
 
35966
 CXXDEPMODE = @CXXDEPMODE@
 
35967
 CXXFLAGS = @CXXFLAGS@
 
35968
 CYGPATH_W = @CYGPATH_W@
 
35969
@@ -104,6 +106,8 @@
 
35970
 ECHO_T = @ECHO_T@
 
35971
 EGREP = @EGREP@
 
35972
 EXEEXT = @EXEEXT@
 
35973
+F77 = @F77@
 
35974
+FFLAGS = @FFLAGS@
 
35975
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
35976
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
35977
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
35978
@@ -191,8 +195,10 @@
 
35979
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
35980
 XMMS_VERSION = @XMMS_VERSION@
 
35981
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
35982
+ac_ct_AR = @ac_ct_AR@
 
35983
 ac_ct_CC = @ac_ct_CC@
 
35984
 ac_ct_CXX = @ac_ct_CXX@
 
35985
+ac_ct_F77 = @ac_ct_F77@
 
35986
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
35987
 ac_ct_STRIP = @ac_ct_STRIP@
 
35988
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
35989
@@ -257,9 +263,9 @@
 
35990
              exit 1;; \
 
35991
          esac; \
 
35992
        done; \
 
35993
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/plugin_winamp2/Makefile'; \
 
35994
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/plugin_winamp2/Makefile'; \
 
35995
        cd $(top_srcdir) && \
 
35996
-         $(AUTOMAKE) --foreign  src/plugin_winamp2/Makefile
 
35997
+         $(AUTOMAKE) --gnu  src/plugin_winamp2/Makefile
 
35998
 .PRECIOUS: Makefile
 
35999
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
36000
        @case '$?' in \
 
36001
diff --exclude debian -urN orig/flac-1.1.2/src/plugin_xmms/Makefile.in flac-1.1.2/src/plugin_xmms/Makefile.in
 
36002
--- orig/flac-1.1.2/src/plugin_xmms/Makefile.in 2005-02-04 18:23:47.000000000 -0800
 
36003
+++ flac-1.1.2/src/plugin_xmms/Makefile.in      2005-08-17 19:52:44.000000000 -0700
 
36004
@@ -108,6 +108,7 @@
 
36005
 AMDEP_FALSE = @AMDEP_FALSE@
 
36006
 AMDEP_TRUE = @AMDEP_TRUE@
 
36007
 AMTAR = @AMTAR@
 
36008
+AR = @AR@
 
36009
 AS = @AS@
 
36010
 AUTOCONF = @AUTOCONF@
 
36011
 AUTOHEADER = @AUTOHEADER@
 
36012
@@ -121,6 +122,7 @@
 
36013
 CPP = @CPP@
 
36014
 CPPFLAGS = @CPPFLAGS@
 
36015
 CXX = @CXX@
 
36016
+CXXCPP = @CXXCPP@
 
36017
 CXXDEPMODE = @CXXDEPMODE@
 
36018
 CXXFLAGS = @CXXFLAGS@
 
36019
 CYGPATH_W = @CYGPATH_W@
 
36020
@@ -136,6 +138,8 @@
 
36021
 ECHO_T = @ECHO_T@
 
36022
 EGREP = @EGREP@
 
36023
 EXEEXT = @EXEEXT@
 
36024
+F77 = @F77@
 
36025
+FFLAGS = @FFLAGS@
 
36026
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
36027
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
36028
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
36029
@@ -225,8 +229,10 @@
 
36030
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
36031
 XMMS_VERSION = @XMMS_VERSION@
 
36032
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
36033
+ac_ct_AR = @ac_ct_AR@
 
36034
 ac_ct_CC = @ac_ct_CC@
 
36035
 ac_ct_CXX = @ac_ct_CXX@
 
36036
+ac_ct_F77 = @ac_ct_F77@
 
36037
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
36038
 ac_ct_STRIP = @ac_ct_STRIP@
 
36039
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
36040
@@ -315,9 +321,9 @@
 
36041
              exit 1;; \
 
36042
          esac; \
 
36043
        done; \
 
36044
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/plugin_xmms/Makefile'; \
 
36045
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/plugin_xmms/Makefile'; \
 
36046
        cd $(top_srcdir) && \
 
36047
-         $(AUTOMAKE) --foreign  src/plugin_xmms/Makefile
 
36048
+         $(AUTOMAKE) --gnu  src/plugin_xmms/Makefile
 
36049
 .PRECIOUS: Makefile
 
36050
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
36051
        @case '$?' in \
 
36052
diff --exclude debian -urN orig/flac-1.1.2/src/share/getopt/Makefile.in flac-1.1.2/src/share/getopt/Makefile.in
 
36053
--- orig/flac-1.1.2/src/share/getopt/Makefile.in        2005-02-04 18:23:48.000000000 -0800
 
36054
+++ flac-1.1.2/src/share/getopt/Makefile.in     2005-08-17 19:52:44.000000000 -0700
 
36055
@@ -47,7 +47,6 @@
 
36056
 CONFIG_HEADER = $(top_builddir)/config.h
 
36057
 CONFIG_CLEAN_FILES =
 
36058
 LIBRARIES = $(noinst_LIBRARIES)
 
36059
-AR = ar
 
36060
 ARFLAGS = cru
 
36061
 libgetopt_a_AR = $(AR) $(ARFLAGS)
 
36062
 libgetopt_a_LIBADD =
 
36063
@@ -74,6 +73,7 @@
 
36064
 AMDEP_FALSE = @AMDEP_FALSE@
 
36065
 AMDEP_TRUE = @AMDEP_TRUE@
 
36066
 AMTAR = @AMTAR@
 
36067
+AR = @AR@
 
36068
 AS = @AS@
 
36069
 AUTOCONF = @AUTOCONF@
 
36070
 AUTOHEADER = @AUTOHEADER@
 
36071
@@ -87,6 +87,7 @@
 
36072
 CPP = @CPP@
 
36073
 CPPFLAGS = @CPPFLAGS@
 
36074
 CXX = @CXX@
 
36075
+CXXCPP = @CXXCPP@
 
36076
 CXXDEPMODE = @CXXDEPMODE@
 
36077
 CXXFLAGS = @CXXFLAGS@
 
36078
 CYGPATH_W = @CYGPATH_W@
 
36079
@@ -102,6 +103,8 @@
 
36080
 ECHO_T = @ECHO_T@
 
36081
 EGREP = @EGREP@
 
36082
 EXEEXT = @EXEEXT@
 
36083
+F77 = @F77@
 
36084
+FFLAGS = @FFLAGS@
 
36085
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
36086
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
36087
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
36088
@@ -189,8 +192,10 @@
 
36089
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
36090
 XMMS_VERSION = @XMMS_VERSION@
 
36091
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
36092
+ac_ct_AR = @ac_ct_AR@
 
36093
 ac_ct_CC = @ac_ct_CC@
 
36094
 ac_ct_CXX = @ac_ct_CXX@
 
36095
+ac_ct_F77 = @ac_ct_F77@
 
36096
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
36097
 ac_ct_STRIP = @ac_ct_STRIP@
 
36098
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
36099
diff --exclude debian -urN orig/flac-1.1.2/src/share/grabbag/Makefile.in flac-1.1.2/src/share/grabbag/Makefile.in
 
36100
--- orig/flac-1.1.2/src/share/grabbag/Makefile.in       2005-02-04 18:23:48.000000000 -0800
 
36101
+++ flac-1.1.2/src/share/grabbag/Makefile.in    2005-08-17 19:52:44.000000000 -0700
 
36102
@@ -74,6 +74,7 @@
 
36103
 AMDEP_FALSE = @AMDEP_FALSE@
 
36104
 AMDEP_TRUE = @AMDEP_TRUE@
 
36105
 AMTAR = @AMTAR@
 
36106
+AR = @AR@
 
36107
 AS = @AS@
 
36108
 AUTOCONF = @AUTOCONF@
 
36109
 AUTOHEADER = @AUTOHEADER@
 
36110
@@ -87,6 +88,7 @@
 
36111
 CPP = @CPP@
 
36112
 CPPFLAGS = @CPPFLAGS@
 
36113
 CXX = @CXX@
 
36114
+CXXCPP = @CXXCPP@
 
36115
 CXXDEPMODE = @CXXDEPMODE@
 
36116
 CXXFLAGS = @CXXFLAGS@
 
36117
 CYGPATH_W = @CYGPATH_W@
 
36118
@@ -102,6 +104,8 @@
 
36119
 ECHO_T = @ECHO_T@
 
36120
 EGREP = @EGREP@
 
36121
 EXEEXT = @EXEEXT@
 
36122
+F77 = @F77@
 
36123
+FFLAGS = @FFLAGS@
 
36124
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
36125
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
36126
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
36127
@@ -189,8 +193,10 @@
 
36128
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
36129
 XMMS_VERSION = @XMMS_VERSION@
 
36130
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
36131
+ac_ct_AR = @ac_ct_AR@
 
36132
 ac_ct_CC = @ac_ct_CC@
 
36133
 ac_ct_CXX = @ac_ct_CXX@
 
36134
+ac_ct_F77 = @ac_ct_F77@
 
36135
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
36136
 ac_ct_STRIP = @ac_ct_STRIP@
 
36137
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
36138
diff --exclude debian -urN orig/flac-1.1.2/src/share/Makefile.in flac-1.1.2/src/share/Makefile.in
 
36139
--- orig/flac-1.1.2/src/share/Makefile.in       2005-02-04 18:23:47.000000000 -0800
 
36140
+++ flac-1.1.2/src/share/Makefile.in    2005-08-17 19:52:44.000000000 -0700
 
36141
@@ -76,6 +76,7 @@
 
36142
 AMDEP_FALSE = @AMDEP_FALSE@
 
36143
 AMDEP_TRUE = @AMDEP_TRUE@
 
36144
 AMTAR = @AMTAR@
 
36145
+AR = @AR@
 
36146
 AS = @AS@
 
36147
 AUTOCONF = @AUTOCONF@
 
36148
 AUTOHEADER = @AUTOHEADER@
 
36149
@@ -89,6 +90,7 @@
 
36150
 CPP = @CPP@
 
36151
 CPPFLAGS = @CPPFLAGS@
 
36152
 CXX = @CXX@
 
36153
+CXXCPP = @CXXCPP@
 
36154
 CXXDEPMODE = @CXXDEPMODE@
 
36155
 CXXFLAGS = @CXXFLAGS@
 
36156
 CYGPATH_W = @CYGPATH_W@
 
36157
@@ -104,6 +106,8 @@
 
36158
 ECHO_T = @ECHO_T@
 
36159
 EGREP = @EGREP@
 
36160
 EXEEXT = @EXEEXT@
 
36161
+F77 = @F77@
 
36162
+FFLAGS = @FFLAGS@
 
36163
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
36164
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
36165
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
36166
@@ -191,8 +195,10 @@
 
36167
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
36168
 XMMS_VERSION = @XMMS_VERSION@
 
36169
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
36170
+ac_ct_AR = @ac_ct_AR@
 
36171
 ac_ct_CC = @ac_ct_CC@
 
36172
 ac_ct_CXX = @ac_ct_CXX@
 
36173
+ac_ct_F77 = @ac_ct_F77@
 
36174
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
36175
 ac_ct_STRIP = @ac_ct_STRIP@
 
36176
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
36177
@@ -247,9 +253,9 @@
 
36178
              exit 1;; \
 
36179
          esac; \
 
36180
        done; \
 
36181
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/share/Makefile'; \
 
36182
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/share/Makefile'; \
 
36183
        cd $(top_srcdir) && \
 
36184
-         $(AUTOMAKE) --foreign  src/share/Makefile
 
36185
+         $(AUTOMAKE) --gnu  src/share/Makefile
 
36186
 .PRECIOUS: Makefile
 
36187
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
36188
        @case '$?' in \
 
36189
diff --exclude debian -urN orig/flac-1.1.2/src/share/replaygain_analysis/Makefile.in flac-1.1.2/src/share/replaygain_analysis/Makefile.in
 
36190
--- orig/flac-1.1.2/src/share/replaygain_analysis/Makefile.in   2005-02-04 18:23:49.000000000 -0800
 
36191
+++ flac-1.1.2/src/share/replaygain_analysis/Makefile.in        2005-08-17 19:52:44.000000000 -0700
 
36192
@@ -72,6 +72,7 @@
 
36193
 AMDEP_FALSE = @AMDEP_FALSE@
 
36194
 AMDEP_TRUE = @AMDEP_TRUE@
 
36195
 AMTAR = @AMTAR@
 
36196
+AR = @AR@
 
36197
 AS = @AS@
 
36198
 AUTOCONF = @AUTOCONF@
 
36199
 AUTOHEADER = @AUTOHEADER@
 
36200
@@ -85,6 +86,7 @@
 
36201
 CPP = @CPP@
 
36202
 CPPFLAGS = @CPPFLAGS@
 
36203
 CXX = @CXX@
 
36204
+CXXCPP = @CXXCPP@
 
36205
 CXXDEPMODE = @CXXDEPMODE@
 
36206
 CXXFLAGS = @CXXFLAGS@
 
36207
 CYGPATH_W = @CYGPATH_W@
 
36208
@@ -100,6 +102,8 @@
 
36209
 ECHO_T = @ECHO_T@
 
36210
 EGREP = @EGREP@
 
36211
 EXEEXT = @EXEEXT@
 
36212
+F77 = @F77@
 
36213
+FFLAGS = @FFLAGS@
 
36214
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
36215
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
36216
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
36217
@@ -187,8 +191,10 @@
 
36218
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
36219
 XMMS_VERSION = @XMMS_VERSION@
 
36220
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
36221
+ac_ct_AR = @ac_ct_AR@
 
36222
 ac_ct_CC = @ac_ct_CC@
 
36223
 ac_ct_CXX = @ac_ct_CXX@
 
36224
+ac_ct_F77 = @ac_ct_F77@
 
36225
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
36226
 ac_ct_STRIP = @ac_ct_STRIP@
 
36227
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
36228
diff --exclude debian -urN orig/flac-1.1.2/src/share/replaygain_synthesis/include/Makefile.in flac-1.1.2/src/share/replaygain_synthesis/include/Makefile.in
 
36229
--- orig/flac-1.1.2/src/share/replaygain_synthesis/include/Makefile.in  2005-02-04 18:23:50.000000000 -0800
 
36230
+++ flac-1.1.2/src/share/replaygain_synthesis/include/Makefile.in       2005-08-17 19:52:45.000000000 -0700
 
36231
@@ -76,6 +76,7 @@
 
36232
 AMDEP_FALSE = @AMDEP_FALSE@
 
36233
 AMDEP_TRUE = @AMDEP_TRUE@
 
36234
 AMTAR = @AMTAR@
 
36235
+AR = @AR@
 
36236
 AS = @AS@
 
36237
 AUTOCONF = @AUTOCONF@
 
36238
 AUTOHEADER = @AUTOHEADER@
 
36239
@@ -89,6 +90,7 @@
 
36240
 CPP = @CPP@
 
36241
 CPPFLAGS = @CPPFLAGS@
 
36242
 CXX = @CXX@
 
36243
+CXXCPP = @CXXCPP@
 
36244
 CXXDEPMODE = @CXXDEPMODE@
 
36245
 CXXFLAGS = @CXXFLAGS@
 
36246
 CYGPATH_W = @CYGPATH_W@
 
36247
@@ -104,6 +106,8 @@
 
36248
 ECHO_T = @ECHO_T@
 
36249
 EGREP = @EGREP@
 
36250
 EXEEXT = @EXEEXT@
 
36251
+F77 = @F77@
 
36252
+FFLAGS = @FFLAGS@
 
36253
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
36254
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
36255
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
36256
@@ -191,8 +195,10 @@
 
36257
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
36258
 XMMS_VERSION = @XMMS_VERSION@
 
36259
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
36260
+ac_ct_AR = @ac_ct_AR@
 
36261
 ac_ct_CC = @ac_ct_CC@
 
36262
 ac_ct_CXX = @ac_ct_CXX@
 
36263
+ac_ct_F77 = @ac_ct_F77@
 
36264
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
36265
 ac_ct_STRIP = @ac_ct_STRIP@
 
36266
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
36267
@@ -243,9 +249,9 @@
 
36268
              exit 1;; \
 
36269
          esac; \
 
36270
        done; \
 
36271
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/share/replaygain_synthesis/include/Makefile'; \
 
36272
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/share/replaygain_synthesis/include/Makefile'; \
 
36273
        cd $(top_srcdir) && \
 
36274
-         $(AUTOMAKE) --foreign  src/share/replaygain_synthesis/include/Makefile
 
36275
+         $(AUTOMAKE) --gnu  src/share/replaygain_synthesis/include/Makefile
 
36276
 .PRECIOUS: Makefile
 
36277
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
36278
        @case '$?' in \
 
36279
diff --exclude debian -urN orig/flac-1.1.2/src/share/replaygain_synthesis/include/private/Makefile.in flac-1.1.2/src/share/replaygain_synthesis/include/private/Makefile.in
 
36280
--- orig/flac-1.1.2/src/share/replaygain_synthesis/include/private/Makefile.in  2005-02-04 18:23:50.000000000 -0800
 
36281
+++ flac-1.1.2/src/share/replaygain_synthesis/include/private/Makefile.in       2005-08-17 19:52:45.000000000 -0700
 
36282
@@ -72,6 +72,7 @@
 
36283
 AMDEP_FALSE = @AMDEP_FALSE@
 
36284
 AMDEP_TRUE = @AMDEP_TRUE@
 
36285
 AMTAR = @AMTAR@
 
36286
+AR = @AR@
 
36287
 AS = @AS@
 
36288
 AUTOCONF = @AUTOCONF@
 
36289
 AUTOHEADER = @AUTOHEADER@
 
36290
@@ -85,6 +86,7 @@
 
36291
 CPP = @CPP@
 
36292
 CPPFLAGS = @CPPFLAGS@
 
36293
 CXX = @CXX@
 
36294
+CXXCPP = @CXXCPP@
 
36295
 CXXDEPMODE = @CXXDEPMODE@
 
36296
 CXXFLAGS = @CXXFLAGS@
 
36297
 CYGPATH_W = @CYGPATH_W@
 
36298
@@ -100,6 +102,8 @@
 
36299
 ECHO_T = @ECHO_T@
 
36300
 EGREP = @EGREP@
 
36301
 EXEEXT = @EXEEXT@
 
36302
+F77 = @F77@
 
36303
+FFLAGS = @FFLAGS@
 
36304
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
36305
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
36306
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
36307
@@ -187,8 +191,10 @@
 
36308
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
36309
 XMMS_VERSION = @XMMS_VERSION@
 
36310
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
36311
+ac_ct_AR = @ac_ct_AR@
 
36312
 ac_ct_CC = @ac_ct_CC@
 
36313
 ac_ct_CXX = @ac_ct_CXX@
 
36314
+ac_ct_F77 = @ac_ct_F77@
 
36315
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
36316
 ac_ct_STRIP = @ac_ct_STRIP@
 
36317
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
36318
@@ -241,9 +247,9 @@
 
36319
              exit 1;; \
 
36320
          esac; \
 
36321
        done; \
 
36322
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/share/replaygain_synthesis/include/private/Makefile'; \
 
36323
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/share/replaygain_synthesis/include/private/Makefile'; \
 
36324
        cd $(top_srcdir) && \
 
36325
-         $(AUTOMAKE) --foreign  src/share/replaygain_synthesis/include/private/Makefile
 
36326
+         $(AUTOMAKE) --gnu  src/share/replaygain_synthesis/include/private/Makefile
 
36327
 .PRECIOUS: Makefile
 
36328
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
36329
        @case '$?' in \
 
36330
diff --exclude debian -urN orig/flac-1.1.2/src/share/replaygain_synthesis/Makefile.in flac-1.1.2/src/share/replaygain_synthesis/Makefile.in
 
36331
--- orig/flac-1.1.2/src/share/replaygain_synthesis/Makefile.in  2005-02-04 18:23:49.000000000 -0800
 
36332
+++ flac-1.1.2/src/share/replaygain_synthesis/Makefile.in       2005-08-17 19:52:45.000000000 -0700
 
36333
@@ -79,6 +79,7 @@
 
36334
 AMDEP_FALSE = @AMDEP_FALSE@
 
36335
 AMDEP_TRUE = @AMDEP_TRUE@
 
36336
 AMTAR = @AMTAR@
 
36337
+AR = @AR@
 
36338
 AS = @AS@
 
36339
 AUTOCONF = @AUTOCONF@
 
36340
 AUTOHEADER = @AUTOHEADER@
 
36341
@@ -92,6 +93,7 @@
 
36342
 CPP = @CPP@
 
36343
 CPPFLAGS = @CPPFLAGS@
 
36344
 CXX = @CXX@
 
36345
+CXXCPP = @CXXCPP@
 
36346
 CXXDEPMODE = @CXXDEPMODE@
 
36347
 CXXFLAGS = @CXXFLAGS@
 
36348
 CYGPATH_W = @CYGPATH_W@
 
36349
@@ -107,6 +109,8 @@
 
36350
 ECHO_T = @ECHO_T@
 
36351
 EGREP = @EGREP@
 
36352
 EXEEXT = @EXEEXT@
 
36353
+F77 = @F77@
 
36354
+FFLAGS = @FFLAGS@
 
36355
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
36356
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
36357
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
36358
@@ -194,8 +198,10 @@
 
36359
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
36360
 XMMS_VERSION = @XMMS_VERSION@
 
36361
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
36362
+ac_ct_AR = @ac_ct_AR@
 
36363
 ac_ct_CC = @ac_ct_CC@
 
36364
 ac_ct_CXX = @ac_ct_CXX@
 
36365
+ac_ct_F77 = @ac_ct_F77@
 
36366
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
36367
 ac_ct_STRIP = @ac_ct_STRIP@
 
36368
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
36369
diff --exclude debian -urN orig/flac-1.1.2/src/share/utf8/Makefile.in flac-1.1.2/src/share/utf8/Makefile.in
 
36370
--- orig/flac-1.1.2/src/share/utf8/Makefile.in  2005-02-04 18:23:51.000000000 -0800
 
36371
+++ flac-1.1.2/src/share/utf8/Makefile.in       2005-08-17 19:52:45.000000000 -0700
 
36372
@@ -72,6 +72,7 @@
 
36373
 AMDEP_FALSE = @AMDEP_FALSE@
 
36374
 AMDEP_TRUE = @AMDEP_TRUE@
 
36375
 AMTAR = @AMTAR@
 
36376
+AR = @AR@
 
36377
 AS = @AS@
 
36378
 AUTOCONF = @AUTOCONF@
 
36379
 AUTOHEADER = @AUTOHEADER@
 
36380
@@ -85,6 +86,7 @@
 
36381
 CPP = @CPP@
 
36382
 CPPFLAGS = @CPPFLAGS@
 
36383
 CXX = @CXX@
 
36384
+CXXCPP = @CXXCPP@
 
36385
 CXXDEPMODE = @CXXDEPMODE@
 
36386
 CXXFLAGS = @CXXFLAGS@
 
36387
 CYGPATH_W = @CYGPATH_W@
 
36388
@@ -100,6 +102,8 @@
 
36389
 ECHO_T = @ECHO_T@
 
36390
 EGREP = @EGREP@
 
36391
 EXEEXT = @EXEEXT@
 
36392
+F77 = @F77@
 
36393
+FFLAGS = @FFLAGS@
 
36394
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
36395
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
36396
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
36397
@@ -187,8 +191,10 @@
 
36398
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
36399
 XMMS_VERSION = @XMMS_VERSION@
 
36400
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
36401
+ac_ct_AR = @ac_ct_AR@
 
36402
 ac_ct_CC = @ac_ct_CC@
 
36403
 ac_ct_CXX = @ac_ct_CXX@
 
36404
+ac_ct_F77 = @ac_ct_F77@
 
36405
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
36406
 ac_ct_STRIP = @ac_ct_STRIP@
 
36407
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
36408
diff --exclude debian -urN orig/flac-1.1.2/src/test_grabbag/cuesheet/Makefile.in flac-1.1.2/src/test_grabbag/cuesheet/Makefile.in
 
36409
--- orig/flac-1.1.2/src/test_grabbag/cuesheet/Makefile.in       2005-02-04 18:23:52.000000000 -0800
 
36410
+++ flac-1.1.2/src/test_grabbag/cuesheet/Makefile.in    2005-08-17 19:52:46.000000000 -0700
 
36411
@@ -92,6 +92,7 @@
 
36412
 AMDEP_FALSE = @AMDEP_FALSE@
 
36413
 AMDEP_TRUE = @AMDEP_TRUE@
 
36414
 AMTAR = @AMTAR@
 
36415
+AR = @AR@
 
36416
 AS = @AS@
 
36417
 AUTOCONF = @AUTOCONF@
 
36418
 AUTOHEADER = @AUTOHEADER@
 
36419
@@ -105,6 +106,7 @@
 
36420
 CPP = @CPP@
 
36421
 CPPFLAGS = @CPPFLAGS@
 
36422
 CXX = @CXX@
 
36423
+CXXCPP = @CXXCPP@
 
36424
 CXXDEPMODE = @CXXDEPMODE@
 
36425
 CXXFLAGS = @CXXFLAGS@
 
36426
 CYGPATH_W = @CYGPATH_W@
 
36427
@@ -120,6 +122,8 @@
 
36428
 ECHO_T = @ECHO_T@
 
36429
 EGREP = @EGREP@
 
36430
 EXEEXT = @EXEEXT@
 
36431
+F77 = @F77@
 
36432
+FFLAGS = @FFLAGS@
 
36433
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
36434
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
36435
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
36436
@@ -207,8 +211,10 @@
 
36437
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
36438
 XMMS_VERSION = @XMMS_VERSION@
 
36439
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
36440
+ac_ct_AR = @ac_ct_AR@
 
36441
 ac_ct_CC = @ac_ct_CC@
 
36442
 ac_ct_CXX = @ac_ct_CXX@
 
36443
+ac_ct_F77 = @ac_ct_F77@
 
36444
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
36445
 ac_ct_STRIP = @ac_ct_STRIP@
 
36446
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
36447
@@ -273,9 +279,9 @@
 
36448
              exit 1;; \
 
36449
          esac; \
 
36450
        done; \
 
36451
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/test_grabbag/cuesheet/Makefile'; \
 
36452
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/test_grabbag/cuesheet/Makefile'; \
 
36453
        cd $(top_srcdir) && \
 
36454
-         $(AUTOMAKE) --foreign  src/test_grabbag/cuesheet/Makefile
 
36455
+         $(AUTOMAKE) --gnu  src/test_grabbag/cuesheet/Makefile
 
36456
 .PRECIOUS: Makefile
 
36457
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
36458
        @case '$?' in \
 
36459
diff --exclude debian -urN orig/flac-1.1.2/src/test_grabbag/Makefile.in flac-1.1.2/src/test_grabbag/Makefile.in
 
36460
--- orig/flac-1.1.2/src/test_grabbag/Makefile.in        2005-02-04 18:23:51.000000000 -0800
 
36461
+++ flac-1.1.2/src/test_grabbag/Makefile.in     2005-08-17 19:52:46.000000000 -0700
 
36462
@@ -76,6 +76,7 @@
 
36463
 AMDEP_FALSE = @AMDEP_FALSE@
 
36464
 AMDEP_TRUE = @AMDEP_TRUE@
 
36465
 AMTAR = @AMTAR@
 
36466
+AR = @AR@
 
36467
 AS = @AS@
 
36468
 AUTOCONF = @AUTOCONF@
 
36469
 AUTOHEADER = @AUTOHEADER@
 
36470
@@ -89,6 +90,7 @@
 
36471
 CPP = @CPP@
 
36472
 CPPFLAGS = @CPPFLAGS@
 
36473
 CXX = @CXX@
 
36474
+CXXCPP = @CXXCPP@
 
36475
 CXXDEPMODE = @CXXDEPMODE@
 
36476
 CXXFLAGS = @CXXFLAGS@
 
36477
 CYGPATH_W = @CYGPATH_W@
 
36478
@@ -104,6 +106,8 @@
 
36479
 ECHO_T = @ECHO_T@
 
36480
 EGREP = @EGREP@
 
36481
 EXEEXT = @EXEEXT@
 
36482
+F77 = @F77@
 
36483
+FFLAGS = @FFLAGS@
 
36484
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
36485
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
36486
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
36487
@@ -191,8 +195,10 @@
 
36488
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
36489
 XMMS_VERSION = @XMMS_VERSION@
 
36490
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
36491
+ac_ct_AR = @ac_ct_AR@
 
36492
 ac_ct_CC = @ac_ct_CC@
 
36493
 ac_ct_CXX = @ac_ct_CXX@
 
36494
+ac_ct_F77 = @ac_ct_F77@
 
36495
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
36496
 ac_ct_STRIP = @ac_ct_STRIP@
 
36497
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
36498
@@ -246,9 +252,9 @@
 
36499
              exit 1;; \
 
36500
          esac; \
 
36501
        done; \
 
36502
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/test_grabbag/Makefile'; \
 
36503
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/test_grabbag/Makefile'; \
 
36504
        cd $(top_srcdir) && \
 
36505
-         $(AUTOMAKE) --foreign  src/test_grabbag/Makefile
 
36506
+         $(AUTOMAKE) --gnu  src/test_grabbag/Makefile
 
36507
 .PRECIOUS: Makefile
 
36508
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
36509
        @case '$?' in \
 
36510
diff --exclude debian -urN orig/flac-1.1.2/src/test_libFLAC/Makefile.in flac-1.1.2/src/test_libFLAC/Makefile.in
 
36511
--- orig/flac-1.1.2/src/test_libFLAC/Makefile.in        2005-02-04 18:23:53.000000000 -0800
 
36512
+++ flac-1.1.2/src/test_libFLAC/Makefile.in     2005-08-17 19:52:46.000000000 -0700
 
36513
@@ -101,6 +101,7 @@
 
36514
 AMDEP_FALSE = @AMDEP_FALSE@
 
36515
 AMDEP_TRUE = @AMDEP_TRUE@
 
36516
 AMTAR = @AMTAR@
 
36517
+AR = @AR@
 
36518
 AS = @AS@
 
36519
 AUTOCONF = @AUTOCONF@
 
36520
 AUTOHEADER = @AUTOHEADER@
 
36521
@@ -114,6 +115,7 @@
 
36522
 CPP = @CPP@
 
36523
 CPPFLAGS = @CPPFLAGS@
 
36524
 CXX = @CXX@
 
36525
+CXXCPP = @CXXCPP@
 
36526
 CXXDEPMODE = @CXXDEPMODE@
 
36527
 CXXFLAGS = @CXXFLAGS@
 
36528
 CYGPATH_W = @CYGPATH_W@
 
36529
@@ -129,6 +131,8 @@
 
36530
 ECHO_T = @ECHO_T@
 
36531
 EGREP = @EGREP@
 
36532
 EXEEXT = @EXEEXT@
 
36533
+F77 = @F77@
 
36534
+FFLAGS = @FFLAGS@
 
36535
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
36536
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
36537
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
36538
@@ -216,8 +220,10 @@
 
36539
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
36540
 XMMS_VERSION = @XMMS_VERSION@
 
36541
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
36542
+ac_ct_AR = @ac_ct_AR@
 
36543
 ac_ct_CC = @ac_ct_CC@
 
36544
 ac_ct_CXX = @ac_ct_CXX@
 
36545
+ac_ct_F77 = @ac_ct_F77@
 
36546
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
36547
 ac_ct_STRIP = @ac_ct_STRIP@
 
36548
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
36549
@@ -298,9 +304,9 @@
 
36550
              exit 1;; \
 
36551
          esac; \
 
36552
        done; \
 
36553
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/test_libFLAC/Makefile'; \
 
36554
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/test_libFLAC/Makefile'; \
 
36555
        cd $(top_srcdir) && \
 
36556
-         $(AUTOMAKE) --foreign  src/test_libFLAC/Makefile
 
36557
+         $(AUTOMAKE) --gnu  src/test_libFLAC/Makefile
 
36558
 .PRECIOUS: Makefile
 
36559
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
36560
        @case '$?' in \
 
36561
diff --exclude debian -urN orig/flac-1.1.2/src/test_libFLAC++/Makefile.in flac-1.1.2/src/test_libFLAC++/Makefile.in
 
36562
--- orig/flac-1.1.2/src/test_libFLAC++/Makefile.in      2005-02-04 18:23:53.000000000 -0800
 
36563
+++ flac-1.1.2/src/test_libFLAC++/Makefile.in   2005-08-17 19:52:46.000000000 -0700
 
36564
@@ -109,6 +109,7 @@
 
36565
 AMDEP_FALSE = @AMDEP_FALSE@
 
36566
 AMDEP_TRUE = @AMDEP_TRUE@
 
36567
 AMTAR = @AMTAR@
 
36568
+AR = @AR@
 
36569
 AS = @AS@
 
36570
 AUTOCONF = @AUTOCONF@
 
36571
 AUTOHEADER = @AUTOHEADER@
 
36572
@@ -122,6 +123,7 @@
 
36573
 CPP = @CPP@
 
36574
 CPPFLAGS = @CPPFLAGS@
 
36575
 CXX = @CXX@
 
36576
+CXXCPP = @CXXCPP@
 
36577
 CXXDEPMODE = @CXXDEPMODE@
 
36578
 CXXFLAGS = @CXXFLAGS@
 
36579
 CYGPATH_W = @CYGPATH_W@
 
36580
@@ -137,6 +139,8 @@
 
36581
 ECHO_T = @ECHO_T@
 
36582
 EGREP = @EGREP@
 
36583
 EXEEXT = @EXEEXT@
 
36584
+F77 = @F77@
 
36585
+FFLAGS = @FFLAGS@
 
36586
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
36587
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
36588
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
36589
@@ -224,8 +228,10 @@
 
36590
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
36591
 XMMS_VERSION = @XMMS_VERSION@
 
36592
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
36593
+ac_ct_AR = @ac_ct_AR@
 
36594
 ac_ct_CC = @ac_ct_CC@
 
36595
 ac_ct_CXX = @ac_ct_CXX@
 
36596
+ac_ct_F77 = @ac_ct_F77@
 
36597
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
36598
 ac_ct_STRIP = @ac_ct_STRIP@
 
36599
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
36600
@@ -303,9 +309,9 @@
 
36601
              exit 1;; \
 
36602
          esac; \
 
36603
        done; \
 
36604
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/test_libFLAC++/Makefile'; \
 
36605
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/test_libFLAC++/Makefile'; \
 
36606
        cd $(top_srcdir) && \
 
36607
-         $(AUTOMAKE) --foreign  src/test_libFLAC++/Makefile
 
36608
+         $(AUTOMAKE) --gnu  src/test_libFLAC++/Makefile
 
36609
 .PRECIOUS: Makefile
 
36610
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
36611
        @case '$?' in \
 
36612
diff --exclude debian -urN orig/flac-1.1.2/src/test_libOggFLAC/Makefile.in flac-1.1.2/src/test_libOggFLAC/Makefile.in
 
36613
--- orig/flac-1.1.2/src/test_libOggFLAC/Makefile.in     2005-02-04 18:23:54.000000000 -0800
 
36614
+++ flac-1.1.2/src/test_libOggFLAC/Makefile.in  2005-08-17 19:52:47.000000000 -0700
 
36615
@@ -96,6 +96,7 @@
 
36616
 AMDEP_FALSE = @AMDEP_FALSE@
 
36617
 AMDEP_TRUE = @AMDEP_TRUE@
 
36618
 AMTAR = @AMTAR@
 
36619
+AR = @AR@
 
36620
 AS = @AS@
 
36621
 AUTOCONF = @AUTOCONF@
 
36622
 AUTOHEADER = @AUTOHEADER@
 
36623
@@ -109,6 +110,7 @@
 
36624
 CPP = @CPP@
 
36625
 CPPFLAGS = @CPPFLAGS@
 
36626
 CXX = @CXX@
 
36627
+CXXCPP = @CXXCPP@
 
36628
 CXXDEPMODE = @CXXDEPMODE@
 
36629
 CXXFLAGS = @CXXFLAGS@
 
36630
 CYGPATH_W = @CYGPATH_W@
 
36631
@@ -124,6 +126,8 @@
 
36632
 ECHO_T = @ECHO_T@
 
36633
 EGREP = @EGREP@
 
36634
 EXEEXT = @EXEEXT@
 
36635
+F77 = @F77@
 
36636
+FFLAGS = @FFLAGS@
 
36637
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
36638
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
36639
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
36640
@@ -211,8 +215,10 @@
 
36641
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
36642
 XMMS_VERSION = @XMMS_VERSION@
 
36643
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
36644
+ac_ct_AR = @ac_ct_AR@
 
36645
 ac_ct_CC = @ac_ct_CC@
 
36646
 ac_ct_CXX = @ac_ct_CXX@
 
36647
+ac_ct_F77 = @ac_ct_F77@
 
36648
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
36649
 ac_ct_STRIP = @ac_ct_STRIP@
 
36650
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
36651
@@ -288,9 +294,9 @@
 
36652
              exit 1;; \
 
36653
          esac; \
 
36654
        done; \
 
36655
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/test_libOggFLAC/Makefile'; \
 
36656
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/test_libOggFLAC/Makefile'; \
 
36657
        cd $(top_srcdir) && \
 
36658
-         $(AUTOMAKE) --foreign  src/test_libOggFLAC/Makefile
 
36659
+         $(AUTOMAKE) --gnu  src/test_libOggFLAC/Makefile
 
36660
 .PRECIOUS: Makefile
 
36661
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
36662
        @case '$?' in \
 
36663
diff --exclude debian -urN orig/flac-1.1.2/src/test_libOggFLAC++/Makefile.in flac-1.1.2/src/test_libOggFLAC++/Makefile.in
 
36664
--- orig/flac-1.1.2/src/test_libOggFLAC++/Makefile.in   2005-02-04 18:23:54.000000000 -0800
 
36665
+++ flac-1.1.2/src/test_libOggFLAC++/Makefile.in        2005-08-17 19:52:47.000000000 -0700
 
36666
@@ -105,6 +105,7 @@
 
36667
 AMDEP_FALSE = @AMDEP_FALSE@
 
36668
 AMDEP_TRUE = @AMDEP_TRUE@
 
36669
 AMTAR = @AMTAR@
 
36670
+AR = @AR@
 
36671
 AS = @AS@
 
36672
 AUTOCONF = @AUTOCONF@
 
36673
 AUTOHEADER = @AUTOHEADER@
 
36674
@@ -118,6 +119,7 @@
 
36675
 CPP = @CPP@
 
36676
 CPPFLAGS = @CPPFLAGS@
 
36677
 CXX = @CXX@
 
36678
+CXXCPP = @CXXCPP@
 
36679
 CXXDEPMODE = @CXXDEPMODE@
 
36680
 CXXFLAGS = @CXXFLAGS@
 
36681
 CYGPATH_W = @CYGPATH_W@
 
36682
@@ -133,6 +135,8 @@
 
36683
 ECHO_T = @ECHO_T@
 
36684
 EGREP = @EGREP@
 
36685
 EXEEXT = @EXEEXT@
 
36686
+F77 = @F77@
 
36687
+FFLAGS = @FFLAGS@
 
36688
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
36689
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
36690
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
36691
@@ -220,8 +224,10 @@
 
36692
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
36693
 XMMS_VERSION = @XMMS_VERSION@
 
36694
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
36695
+ac_ct_AR = @ac_ct_AR@
 
36696
 ac_ct_CC = @ac_ct_CC@
 
36697
 ac_ct_CXX = @ac_ct_CXX@
 
36698
+ac_ct_F77 = @ac_ct_F77@
 
36699
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
36700
 ac_ct_STRIP = @ac_ct_STRIP@
 
36701
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
36702
@@ -298,9 +304,9 @@
 
36703
              exit 1;; \
 
36704
          esac; \
 
36705
        done; \
 
36706
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/test_libOggFLAC++/Makefile'; \
 
36707
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/test_libOggFLAC++/Makefile'; \
 
36708
        cd $(top_srcdir) && \
 
36709
-         $(AUTOMAKE) --foreign  src/test_libOggFLAC++/Makefile
 
36710
+         $(AUTOMAKE) --gnu  src/test_libOggFLAC++/Makefile
 
36711
 .PRECIOUS: Makefile
 
36712
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
36713
        @case '$?' in \
 
36714
diff --exclude debian -urN orig/flac-1.1.2/src/test_seeking/Makefile.in flac-1.1.2/src/test_seeking/Makefile.in
 
36715
--- orig/flac-1.1.2/src/test_seeking/Makefile.in        2005-02-04 18:23:55.000000000 -0800
 
36716
+++ flac-1.1.2/src/test_seeking/Makefile.in     2005-08-17 19:52:47.000000000 -0700
 
36717
@@ -91,6 +91,7 @@
 
36718
 AMDEP_FALSE = @AMDEP_FALSE@
 
36719
 AMDEP_TRUE = @AMDEP_TRUE@
 
36720
 AMTAR = @AMTAR@
 
36721
+AR = @AR@
 
36722
 AS = @AS@
 
36723
 AUTOCONF = @AUTOCONF@
 
36724
 AUTOHEADER = @AUTOHEADER@
 
36725
@@ -104,6 +105,7 @@
 
36726
 CPP = @CPP@
 
36727
 CPPFLAGS = @CPPFLAGS@
 
36728
 CXX = @CXX@
 
36729
+CXXCPP = @CXXCPP@
 
36730
 CXXDEPMODE = @CXXDEPMODE@
 
36731
 CXXFLAGS = @CXXFLAGS@
 
36732
 CYGPATH_W = @CYGPATH_W@
 
36733
@@ -119,6 +121,8 @@
 
36734
 ECHO_T = @ECHO_T@
 
36735
 EGREP = @EGREP@
 
36736
 EXEEXT = @EXEEXT@
 
36737
+F77 = @F77@
 
36738
+FFLAGS = @FFLAGS@
 
36739
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
36740
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
36741
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
36742
@@ -206,8 +210,10 @@
 
36743
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
36744
 XMMS_VERSION = @XMMS_VERSION@
 
36745
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
36746
+ac_ct_AR = @ac_ct_AR@
 
36747
 ac_ct_CC = @ac_ct_CC@
 
36748
 ac_ct_CXX = @ac_ct_CXX@
 
36749
+ac_ct_F77 = @ac_ct_F77@
 
36750
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
36751
 ac_ct_STRIP = @ac_ct_STRIP@
 
36752
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
36753
@@ -274,9 +280,9 @@
 
36754
              exit 1;; \
 
36755
          esac; \
 
36756
        done; \
 
36757
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/test_seeking/Makefile'; \
 
36758
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/test_seeking/Makefile'; \
 
36759
        cd $(top_srcdir) && \
 
36760
-         $(AUTOMAKE) --foreign  src/test_seeking/Makefile
 
36761
+         $(AUTOMAKE) --gnu  src/test_seeking/Makefile
 
36762
 .PRECIOUS: Makefile
 
36763
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
36764
        @case '$?' in \
 
36765
diff --exclude debian -urN orig/flac-1.1.2/src/test_streams/Makefile.in flac-1.1.2/src/test_streams/Makefile.in
 
36766
--- orig/flac-1.1.2/src/test_streams/Makefile.in        2005-02-04 18:23:56.000000000 -0800
 
36767
+++ flac-1.1.2/src/test_streams/Makefile.in     2005-08-17 19:52:47.000000000 -0700
 
36768
@@ -89,6 +89,7 @@
 
36769
 AMDEP_FALSE = @AMDEP_FALSE@
 
36770
 AMDEP_TRUE = @AMDEP_TRUE@
 
36771
 AMTAR = @AMTAR@
 
36772
+AR = @AR@
 
36773
 AS = @AS@
 
36774
 AUTOCONF = @AUTOCONF@
 
36775
 AUTOHEADER = @AUTOHEADER@
 
36776
@@ -102,6 +103,7 @@
 
36777
 CPP = @CPP@
 
36778
 CPPFLAGS = @CPPFLAGS@
 
36779
 CXX = @CXX@
 
36780
+CXXCPP = @CXXCPP@
 
36781
 CXXDEPMODE = @CXXDEPMODE@
 
36782
 CXXFLAGS = @CXXFLAGS@
 
36783
 CYGPATH_W = @CYGPATH_W@
 
36784
@@ -117,6 +119,8 @@
 
36785
 ECHO_T = @ECHO_T@
 
36786
 EGREP = @EGREP@
 
36787
 EXEEXT = @EXEEXT@
 
36788
+F77 = @F77@
 
36789
+FFLAGS = @FFLAGS@
 
36790
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
36791
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
36792
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
36793
@@ -204,8 +208,10 @@
 
36794
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
36795
 XMMS_VERSION = @XMMS_VERSION@
 
36796
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
36797
+ac_ct_AR = @ac_ct_AR@
 
36798
 ac_ct_CC = @ac_ct_CC@
 
36799
 ac_ct_CXX = @ac_ct_CXX@
 
36800
+ac_ct_F77 = @ac_ct_F77@
 
36801
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
36802
 ac_ct_STRIP = @ac_ct_STRIP@
 
36803
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
36804
@@ -265,9 +271,9 @@
 
36805
              exit 1;; \
 
36806
          esac; \
 
36807
        done; \
 
36808
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/test_streams/Makefile'; \
 
36809
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/test_streams/Makefile'; \
 
36810
        cd $(top_srcdir) && \
 
36811
-         $(AUTOMAKE) --foreign  src/test_streams/Makefile
 
36812
+         $(AUTOMAKE) --gnu  src/test_streams/Makefile
 
36813
 .PRECIOUS: Makefile
 
36814
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
36815
        @case '$?' in \
 
36816
diff --exclude debian -urN orig/flac-1.1.2/test/cuesheets/Makefile.in flac-1.1.2/test/cuesheets/Makefile.in
 
36817
--- orig/flac-1.1.2/test/cuesheets/Makefile.in  2005-02-04 18:23:57.000000000 -0800
 
36818
+++ flac-1.1.2/test/cuesheets/Makefile.in       2005-08-17 19:52:48.000000000 -0700
 
36819
@@ -67,6 +67,7 @@
 
36820
 AMDEP_FALSE = @AMDEP_FALSE@
 
36821
 AMDEP_TRUE = @AMDEP_TRUE@
 
36822
 AMTAR = @AMTAR@
 
36823
+AR = @AR@
 
36824
 AS = @AS@
 
36825
 AUTOCONF = @AUTOCONF@
 
36826
 AUTOHEADER = @AUTOHEADER@
 
36827
@@ -80,6 +81,7 @@
 
36828
 CPP = @CPP@
 
36829
 CPPFLAGS = @CPPFLAGS@
 
36830
 CXX = @CXX@
 
36831
+CXXCPP = @CXXCPP@
 
36832
 CXXDEPMODE = @CXXDEPMODE@
 
36833
 CXXFLAGS = @CXXFLAGS@
 
36834
 CYGPATH_W = @CYGPATH_W@
 
36835
@@ -95,6 +97,8 @@
 
36836
 ECHO_T = @ECHO_T@
 
36837
 EGREP = @EGREP@
 
36838
 EXEEXT = @EXEEXT@
 
36839
+F77 = @F77@
 
36840
+FFLAGS = @FFLAGS@
 
36841
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
36842
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
36843
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
36844
@@ -182,8 +186,10 @@
 
36845
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
36846
 XMMS_VERSION = @XMMS_VERSION@
 
36847
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
36848
+ac_ct_AR = @ac_ct_AR@
 
36849
 ac_ct_CC = @ac_ct_CC@
 
36850
 ac_ct_CXX = @ac_ct_CXX@
 
36851
+ac_ct_F77 = @ac_ct_F77@
 
36852
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
36853
 ac_ct_STRIP = @ac_ct_STRIP@
 
36854
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
36855
@@ -281,9 +287,9 @@
 
36856
              exit 1;; \
 
36857
          esac; \
 
36858
        done; \
 
36859
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  test/cuesheets/Makefile'; \
 
36860
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  test/cuesheets/Makefile'; \
 
36861
        cd $(top_srcdir) && \
 
36862
-         $(AUTOMAKE) --foreign  test/cuesheets/Makefile
 
36863
+         $(AUTOMAKE) --gnu  test/cuesheets/Makefile
 
36864
 .PRECIOUS: Makefile
 
36865
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
36866
        @case '$?' in \
 
36867
diff --exclude debian -urN orig/flac-1.1.2/test/Makefile.in flac-1.1.2/test/Makefile.in
 
36868
--- orig/flac-1.1.2/test/Makefile.in    2005-02-04 18:23:56.000000000 -0800
 
36869
+++ flac-1.1.2/test/Makefile.in 2005-08-17 19:52:47.000000000 -0700
 
36870
@@ -76,6 +76,7 @@
 
36871
 AMDEP_FALSE = @AMDEP_FALSE@
 
36872
 AMDEP_TRUE = @AMDEP_TRUE@
 
36873
 AMTAR = @AMTAR@
 
36874
+AR = @AR@
 
36875
 AS = @AS@
 
36876
 AUTOCONF = @AUTOCONF@
 
36877
 AUTOHEADER = @AUTOHEADER@
 
36878
@@ -89,6 +90,7 @@
 
36879
 CPP = @CPP@
 
36880
 CPPFLAGS = @CPPFLAGS@
 
36881
 CXX = @CXX@
 
36882
+CXXCPP = @CXXCPP@
 
36883
 CXXDEPMODE = @CXXDEPMODE@
 
36884
 CXXFLAGS = @CXXFLAGS@
 
36885
 CYGPATH_W = @CYGPATH_W@
 
36886
@@ -104,6 +106,8 @@
 
36887
 ECHO_T = @ECHO_T@
 
36888
 EGREP = @EGREP@
 
36889
 EXEEXT = @EXEEXT@
 
36890
+F77 = @F77@
 
36891
+FFLAGS = @FFLAGS@
 
36892
 FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
 
36893
 FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
 
36894
 FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
 
36895
@@ -191,8 +195,10 @@
 
36896
 XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
 
36897
 XMMS_VERSION = @XMMS_VERSION@
 
36898
 XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
 
36899
+ac_ct_AR = @ac_ct_AR@
 
36900
 ac_ct_CC = @ac_ct_CC@
 
36901
 ac_ct_CXX = @ac_ct_CXX@
 
36902
+ac_ct_F77 = @ac_ct_F77@
 
36903
 ac_ct_RANLIB = @ac_ct_RANLIB@
 
36904
 ac_ct_STRIP = @ac_ct_STRIP@
 
36905
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
36906
@@ -291,9 +297,9 @@
 
36907
              exit 1;; \
 
36908
          esac; \
 
36909
        done; \
 
36910
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  test/Makefile'; \
 
36911
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  test/Makefile'; \
 
36912
        cd $(top_srcdir) && \
 
36913
-         $(AUTOMAKE) --foreign  test/Makefile
 
36914
+         $(AUTOMAKE) --gnu  test/Makefile
 
36915
 .PRECIOUS: Makefile
 
36916
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
36917
        @case '$?' in \