1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 01_relibtoolize.dpatch by Joshua Kwan <joshk@triplehelix.org>
4
## All lines beginning with `## DP:' are a description of the patch.
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
15
-# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
16
-# Generated from amversion.in; do not edit by hand.
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)
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.
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.
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],
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)
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).])
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.
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.
70
-# Figure out how to run the assembler. -*- Autoconf -*-
71
+AC_DEFUN([AM_ICONV_LINKFLAGS_BODY],
73
+ dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
74
+ AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
75
+ AC_REQUIRE([AC_LIB_RPATH])
78
+ dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
80
+ AC_LIB_LINKFLAGS_BODY([iconv])
83
-# Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc.
84
+AC_DEFUN([AM_ICONV_LINK],
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).
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)
93
+ dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
95
+ AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
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])
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
112
+ AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
113
+ am_cv_func_iconv="no, consider installing GNU libiconv"
115
+ AC_TRY_LINK([#include <stdlib.h>
116
+#include <iconv.h>],
117
+ [iconv_t cd = iconv_open("","");
118
+ iconv(cd,NULL,NULL,NULL,NULL);
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);
129
+ am_cv_lib_iconv=yes
130
+ am_cv_func_iconv=yes)
131
+ LIBS="$am_save_LIBS"
134
+ if test "$am_cv_func_iconv" = yes; then
135
+ AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
137
+ if test "$am_cv_lib_iconv" = yes; then
138
+ AC_MSG_CHECKING([how to link with libiconv])
139
+ AC_MSG_RESULT([$LIBICONV])
141
+ dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
143
+ CPPFLAGS="$am_save_CPPFLAGS"
148
+ AC_SUBST(LTLIBICONV)
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],
163
+ if test "$am_cv_func_iconv" = yes; then
164
+ AC_MSG_CHECKING([for iconv declaration])
165
+ AC_CACHE_VAL(am_cv_proto_iconv, [
173
+#if defined(__STDC__) || defined(__cplusplus)
174
+size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
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.])
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.
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.
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 ;;
212
+ acl_cv_prog_gnu_ld=no ;;
214
+with_gnu_ld=$acl_cv_prog_gnu_ld
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
234
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
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])
247
+ # gcc leaves a trailing carriage return which upsets mingw
248
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
250
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
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%/%"`
261
+ test -z "$LD" && LD="$ac_prog"
264
+ # If it fails, then pretend we aren't using GCC.
268
+ # If it is relative, then search for the first ld in PATH.
269
+ with_gnu_ld=unknown
272
+elif test "$with_gnu_ld" = yes; then
273
+ AC_MSG_CHECKING([for GNU ld])
275
+ AC_MSG_CHECKING([for non-GNU ld])
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 ;;
291
+ test "$with_gnu_ld" != yes && break ;;
297
+ acl_cv_path_LD="$LD" # Let the user override the test with a path.
299
+LD="$acl_cv_path_LD"
300
+if test -n "$LD"; then
305
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
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
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.
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/../..'.
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.
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
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.
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.
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.
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`
364
-# AM_CONDITIONAL -*- Autoconf -*-
366
-# Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
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.
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.
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
385
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
386
-# -------------------------------------
387
-# Define a conditional.
388
-AC_DEFUN([AM_CONDITIONAL],
390
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
391
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
393
-AC_SUBST([$1_FALSE])
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.])
407
-# serial 7 -*- Autoconf -*-
409
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
410
-# Free Software Foundation, Inc.
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.
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.
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
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.
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],
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"
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.
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.
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],
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___])])
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
505
+ AC_LIB_LINKFLAGS_BODY([$1], [$2])
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
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
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
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)
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"
542
+ if test "$ac_cv_lib[]Name" = yes; then
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])
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"
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.
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.
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
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)
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
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
617
- rm -rf conftest.dir
619
- am_cv_$1_dependencies_compiler_type=none
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])
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
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"
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],
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
666
+ rm -f ./conftest.sh
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)
682
-# Generate code to set up dependency tracking. -*- Autoconf -*-
684
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
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.
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.
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
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")`
720
- grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
721
- # Extract the definition of DEP_FILES from the Makefile without
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 = .*\\\\$/ {
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"
750
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
753
-# AM_OUTPUT_DEPENDENCY_COMMANDS
754
-# -----------------------------
755
-# This macro should only be invoked once -- use via AC_REQUIRE.
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"])
766
-# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
768
-# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
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.
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.
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
787
-# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
788
-AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
790
-# Do all the work for Automake. -*- Autoconf -*-
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.
795
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
796
-# Free Software Foundation, Inc.
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.
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.
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
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])
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'
847
-AC_SUBST([CYGPATH_W])
849
-# Define the identity of the package.
850
-dnl Distinguish between old-style and new-style calls.
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
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
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)
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
877
-AC_REQUIRE([AC_PROG_AWK])dnl
878
-AC_REQUIRE([AC_PROG_MAKE_SET])dnl
879
-AC_REQUIRE([AM_SET_LEADING_DOT])dnl
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
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.
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.
904
-for _am_header in $config_headers :; do
905
- case $_am_header in
909
- _am_stamp_count=`expr $_am_stamp_count + 1` ;;
912
-echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
914
-# AM_PROG_INSTALL_SH
915
-# ------------------
916
-# Define $install_sh.
918
-# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
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.
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.
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
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)])
941
-# Copyright (C) 2003 Free Software Foundation, Inc.
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.
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.
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
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
970
-rmdir .tst 2>/dev/null
971
-AC_SUBST([am__leading_dot])])
973
-# Add --enable-maintainer-mode option to configure.
976
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004
977
-# Free Software Foundation, Inc.
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.
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.
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
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
1011
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
1013
-# Check to see how 'make' treats includes. -*- Autoconf -*-
1015
-# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
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.
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.
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
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'
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])
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
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
1070
-AC_SUBST([am__include])
1071
-AC_SUBST([am__quote])
1072
-AC_MSG_RESULT([$_am_result])
1073
-rm -f confinc confmf
1079
-# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
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.
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.
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
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"}
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 "
1118
- AC_MSG_WARN([`missing' script is too old or missing])
1124
-# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
1126
-# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
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.
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.
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
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
1148
-# - it causes special bits like SGID to be ignored,
1149
-# - it may be too restrictive (some setups expect 775 directories).
1151
-# Do not use -m 0755 and let people choose whatever they expect by
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
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 -- .'
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
1175
- for d in ./-p ./--version;
1177
- test -d $d && rmdir $d
1179
- # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1180
- if test -f "$ac_aux_dir/mkinstalldirs"; then
1181
- mkdir_p='$(mkinstalldirs)'
1183
- mkdir_p='$(install_sh) -d'
1186
-AC_SUBST([mkdir_p])])
1188
-# Helper functions for option handling. -*- Autoconf -*-
1190
-# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
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.
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.
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
1209
-# _AM_MANGLE_OPTION(NAME)
1210
-# -----------------------
1211
-AC_DEFUN([_AM_MANGLE_OPTION],
1212
-[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
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)])
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)])])
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])])
1233
-# Check to make sure that the build environment is sane.
1236
-# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
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.
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.
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
1257
-AC_DEFUN([AM_SANITY_CHECK],
1258
-[AC_MSG_CHECKING([whether build environment is sane])
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
1268
- set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1269
- if test "$[*]" = "X"; then
1271
- set X `ls -t $srcdir/configure conftest.file`
1273
- rm -f conftest.file
1274
- if test "$[*]" != "X $srcdir/configure conftest.file" \
1275
- && test "$[*]" != "X conftest.file $srcdir/configure"; then
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])
1285
- test "$[2]" = conftest.file
1291
- AC_MSG_ERROR([newly created file is older than distributed files!
1292
-Check your system clock])
1294
-AC_MSG_RESULT(yes)])
1296
-# AM_PROG_INSTALL_STRIP
1298
-# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
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.
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.
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
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], :)
1332
-INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1333
-AC_SUBST([INSTALL_STRIP_PROGRAM])])
1335
-# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
1337
-# serial 46 AC_PROG_LIBTOOL
1339
-AC_DEFUN([AC_PROG_LIBTOOL],
1340
-[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
1342
-# This can be used to rebuild libtool when needed
1343
-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
1345
-# Always use our own libtool.
1346
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1347
-AC_SUBST(LIBTOOL)dnl
1349
-# Prevent multiple expansion
1350
-define([AC_PROG_LIBTOOL], [])
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
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
1374
- if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1380
-AC_CHECK_TOOL(RANLIB, ranlib, :)
1381
-AC_CHECK_TOOL(STRIP, strip, :)
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)
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
1391
-# Some flags need to be propagated to the compiler or linker for good
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
1403
- LD="${LD-ld} -n32"
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,
1420
- AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
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"
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)
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,
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])])
1443
- *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
1444
- # old mingw systems require "-dll" to link a DLL, while more recent ones
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" ;;
1460
-_LT_AC_LTCONFIG_HACK
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],
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 ;;
1480
-if test "x$lt_cv_func_assert_works" = xyes; then
1481
- AC_CHECK_HEADERS(assert.h)
1483
-])# AC_LIBTOOL_HEADER_ASSERT
1485
-# _LT_AC_CHECK_DLFCN
1486
-# --------------------
1487
-AC_DEFUN([_LT_AC_CHECK_DLFCN],
1488
-[AC_CHECK_HEADERS(dlfcn.h)
1489
-])# _LT_AC_CHECK_DLFCN
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
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?!! ;)]
1504
-# Character class describing NM global symbol codes.
1505
-symcode='[[BCDEGRST]]'
1507
-# Regexp to match symbols that can be accessed directly from C.
1508
-sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
1510
-# Transform the above into a raw symbol and a C symbol.
1511
-symxfrm='\1 \2\3 \3'
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'"
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'"
1519
-# Define system-specific variables.
1522
- symcode='[[BCDT]]'
1524
-cygwin* | mingw* | pw32*)
1525
- symcode='[[ABCDGISTW]]'
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'"
1532
- symcode='[[BCDEGRST]]'
1538
- symcode='[[DFNSTU]]'
1542
-# Handle CRLF in mingw tool chain
1546
- opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
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]]'
1555
-# Try without a prefix undercore, then with it.
1556
-for ac_symprfx in "" "_"; do
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'"
1561
- # Check to see that the pipe works correctly.
1564
- cat > conftest.$ac_ext <<EOF
1569
-void nm_test_func(){}
1573
-int main(){nm_test_var='a';nm_test_func();return(0);}
1576
- if AC_TRY_EVAL(ac_compile); then
1577
- # Now try to grab the symbols.
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"
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
1596
- # Now generate the symbol file.
1597
- eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
1599
- cat <<EOF >> conftest.$ac_ext
1600
-#if defined (__STDC__) && __STDC__
1601
-# define lt_ptr void *
1603
-# define lt_ptr char *
1607
-/* The mapping between symbol names and symbols. */
1612
-lt_preloaded_symbols[[]] =
1615
- sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
1616
- cat <<\EOF >> conftest.$ac_ext
1624
- # Now try linking the two files.
1625
- mv conftest.$ac_objext conftstm.$ac_objext
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
1634
- CFLAGS="$save_CFLAGS"
1636
- echo "cannot find nm_test_func in $nlist" >&AC_FD_CC
1639
- echo "cannot find nm_test_var in $nlist" >&AC_FD_CC
1642
- echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC
1645
- echo "$progname: failed program was:" >&AC_FD_CC
1646
- cat conftest.$ac_ext >&5
1648
- rm -f conftest* conftst*
1650
- # Do not use the global_symbol_pipe unless it works.
1651
- if test "$pipe_works" = yes; then
1654
- lt_cv_sys_global_symbol_pipe=
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=
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"
1666
-if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
1668
- AC_MSG_RESULT(failed)
1672
-]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
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`}
1682
- *-DOS) lt_cv_sys_path_separator=';' ;;
1683
- *) lt_cv_sys_path_separator=':' ;;
1685
- PATH_SEPARATOR=$lt_cv_sys_path_separator
1687
-])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
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
1698
-# Check that we are running under the correct shell.
1699
-SHELL=${CONFIG_SHELL-/bin/sh}
1703
- # Remove one level of quotation (which was required for Make).
1704
- ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
1709
-if test "X[$]1" = X--no-reexec; then
1710
- # Discard the --no-reexec flag, and continue.
1712
-elif test "X[$]1" = X--fallback-echo; then
1713
- # Avoid inline document here, it may be left over
1715
-elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
1716
- # Yippee, $echo works!
1719
- # Restart under the correct shell.
1720
- exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
1723
-if test "X[$]1" = X--fallback-echo; then
1724
- # used as fallback echo
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
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
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
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'
1759
- # So, first we look for a working echo in the user's PATH.
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
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.
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+"[$]@"}
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
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"
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"
1811
- # maybe with a smaller string...
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
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+"[$]@"}
1827
- # Oops. We lost completely, so just stick with echo.
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.
1839
-if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
1840
- ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
1845
-])# _LT_AC_PROG_ECHO_BACKSLASH
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 :
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"
1868
-# define LT_DLGLOBAL RTLD_GLOBAL
1871
-# define LT_DLGLOBAL DL_GLOBAL
1873
-# define LT_DLGLOBAL 0
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
1881
-# define LT_DLLAZY_OR_NOW RTLD_LAZY
1884
-# define LT_DLLAZY_OR_NOW DL_LAZY
1887
-# define LT_DLLAZY_OR_NOW RTLD_NOW
1890
-# define LT_DLLAZY_OR_NOW DL_NOW
1892
-# define LT_DLLAZY_OR_NOW 0
1900
-extern "C" void exit (int);
1903
-void fnord() { int i=42;}
1906
- void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1907
- int status = $lt_dlunknown;
1911
- if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1912
- else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1913
- /* dlclose (self); */
1919
- if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
1920
- (./conftest; exit; ) 2>/dev/null
1922
- case x$lt_status in
1923
- x$lt_dlno_uscore) $1 ;;
1924
- x$lt_dlneed_uscore) $2 ;;
1925
- x$lt_unknown|x*) $3 ;;
1928
- # compilation failed
1933
-])# _LT_AC_TRY_DLOPEN_SELF
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
1944
- lt_cv_dlopen_libs=
1948
- lt_cv_dlopen="load_add_on"
1949
- lt_cv_dlopen_libs=
1950
- lt_cv_dlopen_self=yes
1953
- cygwin* | mingw* | pw32*)
1954
- lt_cv_dlopen="LoadLibrary"
1955
- lt_cv_dlopen_libs=
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"])
1979
- if test "x$lt_cv_dlopen" != xno; then
1985
- case $lt_cv_dlopen in
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"
1991
- save_LDFLAGS="$LDFLAGS"
1992
- eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1995
- LIBS="$lt_cv_dlopen_libs $LIBS"
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)
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)
2014
- CPPFLAGS="$save_CPPFLAGS"
2015
- LDFLAGS="$save_LDFLAGS"
2020
- case $lt_cv_dlopen_self in
2021
- yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
2022
- *) enable_dlopen_self=unknown ;;
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 ;;
2030
-])# AC_LIBTOOL_DLOPEN_SELF
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'
2039
-# Same as above, but do not quote variable references.
2040
-double_quote_subst='s/\([[\\"\\`\\\\]]\)/\\\1/g'
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'
2049
-# Global variables:
2050
-default_ofile=libtool
2051
-can_build_shared=yes
2053
-# All known linkers require a `.a' archive for static linking (except M$VC,
2054
-# which needs '.lib').
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"
2062
-old_CFLAGS="$CFLAGS"
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
2079
-if test x"$host" != x"$build"; then
2080
- ac_tool_prefix=${host_alias}-
2085
-# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
2088
-linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
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
2098
- export COLLECT_NAMES
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=
2108
-if test -n "$RANLIB"; then
2111
- old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
2114
- old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
2117
- old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
2120
-# Allow CC to be a program name with arguments.
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
2130
- # MS-DOS does not allow filenames that begin with a dot.
2133
-rmdir .libs 2>/dev/null
2134
-AC_MSG_RESULT($objdir)
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
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=
2150
- lt_cv_prog_cc_static=
2151
- lt_cv_prog_cc_no_builtin=
2152
- lt_cv_prog_cc_can_build_shared=$can_build_shared
2154
- if test "$GCC" = yes; then
2155
- lt_cv_prog_cc_wl='-Wl,'
2156
- lt_cv_prog_cc_static='-static'
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"
2169
- # FIXME: we need at least 68020 code to build shared libraries, but
2170
- # adding the `-m68020' flag to GCC prevents building anything better,
2172
- lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
2174
- beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
2175
- # PIC is the default for these OSes.
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'
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'
2188
- if test -d /usr/nec; then
2189
- lt_cv_prog_cc_pic=-Kconform_pic
2193
- lt_cv_prog_cc_pic='-fPIC'
2197
- # PORTME Check for PIC flags for the system compiler.
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'
2206
- lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
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'
2218
- lt_cv_prog_cc_wl='-Wl,'
2219
- lt_cv_prog_cc_static='-non_shared'
2220
- # PIC (with -KPIC) is the default.
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'
2230
- lt_cv_prog_cc_pic='-KPIC'
2231
- lt_cv_prog_cc_static='-Bstatic'
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'
2241
- lt_cv_prog_cc_pic='-Kpic'
2242
- lt_cv_prog_cc_static='-dn'
2243
- lt_cv_prog_cc_shlib='-belf'
2247
- lt_cv_prog_cc_pic='-KPIC'
2248
- lt_cv_prog_cc_static='-Bstatic'
2249
- lt_cv_prog_cc_wl='-Wl,'
2253
- lt_cv_prog_cc_pic='-PIC'
2254
- lt_cv_prog_cc_static='-Bstatic'
2255
- lt_cv_prog_cc_wl='-Qoption ld '
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'
2264
- lt_cv_prog_cc_wl='-Wl,'
2269
- lt_cv_prog_cc_pic='-pic'
2270
- lt_cv_prog_cc_static='-Bstatic'
2274
- if test -d /usr/nec ;then
2275
- lt_cv_prog_cc_pic='-Kconform_pic'
2276
- lt_cv_prog_cc_static='-Bstatic'
2281
- lt_cv_prog_cc_can_build_shared=no
2286
-if test -z "$lt_cv_prog_cc_pic"; then
2287
- AC_MSG_RESULT([none])
2289
- AC_MSG_RESULT([$lt_cv_prog_cc_pic])
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
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
2305
- lt_cv_prog_cc_pic_works=yes
2309
- lt_cv_prog_cc_pic_works=yes
2313
- lt_cv_prog_cc_pic_works=no
2315
- CFLAGS="$save_CFLAGS"
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
2322
- lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
2325
- AC_MSG_RESULT([$lt_cv_prog_cc_pic_works])
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 :
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
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"
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])
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"
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
2365
-echo "int some_variable = 0;" > conftest.$ac_ext
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
2373
-save_CFLAGS="$CFLAGS"
2374
-CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
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
2382
- lt_cv_compiler_c_o=yes
2385
- # Append any errors to the config.log.
2386
- cat out/conftest.err 1>&AC_FD_CC
2387
- lt_cv_compiler_c_o=no
2389
-CFLAGS="$save_CFLAGS"
2391
-$rm conftest* out/*
2395
-$rm -r conftest 2>/dev/null
2397
-compiler_c_o=$lt_cv_compiler_c_o
2398
-AC_MSG_RESULT([$compiler_c_o])
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"
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
2415
- lt_cv_compiler_o_lo=yes
2418
- ac_objext="$save_objext"
2419
- CFLAGS="$save_CFLAGS"
2421
- compiler_o_lo=$lt_cv_compiler_o_lo
2422
- AC_MSG_RESULT([$compiler_o_lo])
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])
2434
- ln conftest.a conftest.b 2>/dev/null && hard_links=no
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])
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
2460
- compiler_rtti_exceptions=yes
2463
- CFLAGS="$save_CFLAGS"
2464
- AC_MSG_RESULT([$compiler_rtti_exceptions])
2466
- if test "$compiler_rtti_exceptions" = "yes"; then
2467
- no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
2469
- no_builtin_flag=' -fno-builtin'
2473
-# See if the linker supports building shared libraries.
2474
-AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries])
2476
-allow_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
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=
2493
-hardcode_minus_L=no
2494
-hardcode_shlibpath_var=unsupported
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
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=
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
2529
-if test "$with_gnu_ld" = yes; then
2530
- # If archive_cmds runs LD, not CC, wlarc should be empty
2533
- # See if GNU ld supports shared libraries.
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.
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.
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
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
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'
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
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'
2589
- old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
2591
- # cygwin and mingw dlls have different entry points and sets of symbols
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~
2599
- dll_entry=_DllMainCRTStartup@12
2600
- dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
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
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)~'
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'
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;
2633
- echo EXPORTS > $output_objdir/$soname-def;
2635
- cat $export_symbols | while read symbol; do
2636
- set dummy \$symbol;
2638
- 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
2639
- *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
2641
- _lt_hint=`expr 1 + \$_lt_hint`;
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'
2653
- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
2654
- archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
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'
2662
- solaris* | sysv5*)
2663
- if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
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.
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'
2684
- archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
2686
- hardcode_direct=yes
2687
- hardcode_shlibpath_var=no
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'
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'
2705
- cygwin* | mingw* | pw32*)
2706
- # dlltool doesn't understand --whole-archive et. al.
2707
- whole_archive_flag_spec=
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'
2714
- whole_archive_flag_spec=
2720
- # PORTME fill in a description of your system's linker (not GNU ld)
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
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'
2744
- aix_use_runtimelinking=no
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
2758
- exp_sym_flag='-bexport'
2759
- no_entry_flag='-bnoentry'
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.
2768
- hardcode_direct=yes
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
2777
- # We have reworked collect2
2778
- hardcode_direct=yes
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=
2791
- shared_flag='-shared'
2794
- if test "$host_cpu" = ia64; then
2795
- shared_flag='${wl}-G'
2797
- if test "$aix_use_runtimelinking" = yes; then
2798
- shared_flag='${wl}-G'
2800
- shared_flag='${wl}-bM:SRE'
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"
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"
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'
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
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.
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"`'
2857
- darwin* | rhapsody*)
2858
- case "$host_os" in
2859
- rhapsody* | darwin1.[[012]])
2860
- allow_undefined_flag='-undefined suppress'
2862
- *) # Darwin 1.3 on
2863
- allow_undefined_flag='-flat_namespace -undefined suppress'
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'
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
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
2892
- # Unfortunately, older versions of FreeBSD 2 do not have this feature.
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
2900
- # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
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
2908
- hpux9* | hpux10* | hpux11*)
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' ;;
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'
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'
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'
2927
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
2928
- hardcode_libdir_separator=:
2929
- link_all_deplibs=yes
2933
- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
2934
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
2936
- archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
2938
- hardcode_libdir_flag_spec='-R$libdir'
2939
- hardcode_direct=yes
2940
- hardcode_shlibpath_var=no
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
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'
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'
2965
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
2966
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
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'
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'
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'
2988
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
2989
- hardcode_libdir_separator=:
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'
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'
3003
- #Both c and cxx compiler support -rpath directly
3004
- hardcode_libdir_flag_spec='-rpath $libdir'
3006
- hardcode_libdir_separator=:
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'
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
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.
3043
- no_undefined_flag=
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
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' ;;
3059
- link_all_deplibs=yes
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'
3068
- archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
3070
- hardcode_libdir_flag_spec='-L$libdir'
3071
- hardcode_direct=yes
3072
- hardcode_minus_L=yes
3073
- hardcode_shlibpath_var=no
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???
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
3084
- runpath_var='LD_RUN_PATH'
3085
- hardcode_shlibpath_var=no
3089
- archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
3090
- hardcode_shlibpath_var=no
3091
- export_dynamic_flag_spec='-Bexport'
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'
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
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
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
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
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'
3142
- archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3144
- runpath_var='LD_RUN_PATH'
3145
- hardcode_shlibpath_var=no
3153
-AC_MSG_RESULT([$ld_shlibs])
3154
-test "$ld_shlibs" = no && can_build_shared=no
3156
-# Check hardcoding attributes.
3157
-AC_MSG_CHECKING([how to hardcode library paths into programs])
3159
-if test -n "$hardcode_libdir_flag_spec" || \
3160
- test -n "$runpath_var"; then
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
3172
- # We can link without hardcoding, and we can hardcode nonexisting dirs.
3173
- hardcode_action=immediate
3176
- # We cannot hardcode anything, or else we can only hardcode existing
3178
- hardcode_action=unsupported
3180
-AC_MSG_RESULT([$hardcode_action])
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])
3190
- AC_MSG_RESULT([no])
3193
-reload_cmds='$LD$reload_flag -o $output$reload_objs'
3194
-test -z "$deplibs_check_method" && deplibs_check_method=unknown
3196
-# PORTME Fill in your ld.so characteristics
3197
-AC_MSG_CHECKING([dynamic linker characteristics])
3198
-library_names_spec=
3199
-libname_spec='lib$name'
3202
-postuninstall_cmds=
3206
-shlibpath_overrides_runpath=unknown
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"
3214
- version_type=linux
3215
- library_names_spec='${libname}${release}.so$versuffix $libname.a'
3216
- shlibpath_var=LIBPATH
3218
- # AIX has no versioning support, so we append a major version to the name.
3219
- soname_spec='${libname}${release}.so$major'
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
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.
3235
- aix4 | aix4.[[01]] | aix4.[[01]].*)
3236
- if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
3238
- echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
3241
- can_build_shared=no
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'
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'
3260
- shlibpath_var=LIBPATH
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'
3271
- library_names_spec='${libname}.so'
3272
- dynamic_linker="$host_os ld.so"
3273
- shlibpath_var=LIBRARY_PATH
3277
- version_type=linux
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
3291
-cygwin* | mingw* | pw32*)
3292
- version_type=windows
3294
- need_lib_prefix=no
3295
- case $GCC,$host_os in
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~
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"`
3312
- library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
3315
- library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib'
3318
- dynamic_linker='Win32 ld.exe'
3319
- # FIXME: first we should search . and the directory the executable is in
3320
- shlibpath_var=PATH
3323
-darwin* | rhapsody*)
3324
- dynamic_linker="$host_os dyld"
3325
- version_type=darwin
3326
- need_lib_prefix=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
3342
- objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
3343
- version_type=freebsd-$objformat
3344
- case $version_type in
3346
- library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
3348
- need_lib_prefix=no
3351
- library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
3355
- shlibpath_var=LD_LIBRARY_PATH
3358
- shlibpath_overrides_runpath=yes
3361
- shlibpath_overrides_runpath=no
3362
- hardcode_into_libs=yes
3368
- version_type=linux
3369
- need_lib_prefix=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
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
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'
3394
- need_lib_prefix=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'
3400
- libsuff= shlibsuff=
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;;
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}"
3417
-# No shared lib support for Linux oldld, aout, or coff.
3418
-linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
3422
-# This must be Linux ELF.
3424
- version_type=linux
3425
- need_lib_prefix=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
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'
3447
- version_type=sunos
3448
- need_lib_prefix=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'
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'
3459
- shlibpath_var=LD_LIBRARY_PATH
3460
- shlibpath_overrides_runpath=yes
3461
- hardcode_into_libs=yes
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
3472
- version_type=sunos
3473
- need_lib_prefix=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
3481
- shlibpath_overrides_runpath=yes
3485
- shlibpath_overrides_runpath=yes
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
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
3500
-osf3* | osf4* | osf5*)
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"
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
3518
- version_type=linux
3519
- need_lib_prefix=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'
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
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
3549
- shlibpath_overrides_runpath=no
3552
- need_lib_prefix=no
3554
- shlibpath_overrides_runpath=no
3555
- sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
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
3568
- version_type=linux
3569
- need_lib_prefix=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
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
3589
-AC_MSG_RESULT([$dynamic_linker])
3590
-test "$dynamic_linker" = no && can_build_shared=no
3592
-# Report the final consequences.
3593
-AC_MSG_CHECKING([if libtool supports shared libraries])
3594
-AC_MSG_RESULT([$can_build_shared])
3596
-AC_MSG_CHECKING([whether to build shared libraries])
3597
-test "$can_build_shared" = "no" && enable_shared=no
3599
-# On AIX, shared libraries and static libraries use the same namespace, and
3600
-# are all built from PIC.
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'
3611
- if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
3612
- test "$enable_shared" = yes && enable_static=no
3616
-AC_MSG_RESULT([$enable_shared])
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])
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
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"
3637
-AC_LIBTOOL_DLOPEN_SELF
3639
-if test "$enable_shared" = yes && test "$GCC" = yes; then
3640
- case $archive_cmds in
3642
- # FIXME: we may have to deal with multi-command sequences.
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],
3651
- echo 'static int dummy;' > conftest.$ac_ext
3653
- if AC_TRY_EVAL(ac_compile); then
3656
- libobjs=conftest.$ac_objext
3658
- wl=$lt_cv_prog_cc_wl
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)
3668
- lt_cv_archive_cmds_need_lc=no
3670
- lt_cv_archive_cmds_need_lc=yes
3672
- allow_undefined_flag=$save_allow_undefined_flag
3674
- cat conftest.err 1>&5
3676
- AC_MSG_RESULT([$lt_cv_archive_cmds_need_lc])
3680
-need_lc=${lt_cv_archive_cmds_need_lc-yes}
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
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"
3695
-if test -f "$ltmain"; then
3696
- trap "$rm \"${ofile}T\"; exit 1" 1 2 15
3697
- $rm -f "${ofile}T"
3699
- echo creating $ofile
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
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\"\`\\\""
3732
- eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
3737
- cat <<__EOF__ > "${ofile}T"
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.
3744
-# Copyright (C) 1996-2000 Free Software Foundation, Inc.
3745
-# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
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.
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.
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.
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.
3766
-# Sed that helps us avoid accidentally triggering echo(1) options like -n.
3767
-Xsed="sed -e s/^X//"
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
3773
-# ### BEGIN LIBTOOL CONFIG
3775
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
3777
-# Shell to use when invoking shell scripts.
3780
-# Whether or not to build shared libraries.
3781
-build_libtool_libs=$enable_shared
3783
-# Whether or not to build static libraries.
3784
-build_old_libs=$enable_static
3786
-# Whether or not to add -lc for building shared libraries.
3787
-build_libtool_need_lc=$need_lc
3789
-# Whether or not to optimize for fast installation.
3790
-fast_install=$enable_fast_install
3793
-host_alias=$host_alias
3796
-# An echo program that does not interpret backslashes.
3801
-AR_FLAGS=$lt_AR_FLAGS
3803
-# The default C compiler.
3806
-# Is the compiler the GNU C compiler?
3809
-# The linker used to build libraries.
3812
-# Whether we need hard or soft links.
3815
-# A BSD-compatible nm program.
3818
-# A symbol stripping program
3821
-# Used to examine libraries when file_magic_cmd begins "file"
3822
-MAGIC_CMD=$MAGIC_CMD
3824
-# Used on cygwin: DLL creation program.
3827
-# Used on cygwin: object dumper.
3830
-# Used on cygwin: assembler.
3833
-# The name of the directory that contains temporary libtool files.
3836
-# How to create reloadable object files.
3837
-reload_flag=$lt_reload_flag
3838
-reload_cmds=$lt_reload_cmds
3840
-# How to pass a linker flag through the compiler.
3843
-# Object file suffix (normally "o").
3844
-objext="$ac_objext"
3846
-# Old archive suffix (normally "a").
3849
-# Executable file suffix (normally "").
3852
-# Additional compiler flags for building library objects.
3853
-pic_flag=$lt_pic_flag
3856
-# Does compiler simultaneously support -c and -o options?
3857
-compiler_c_o=$lt_compiler_c_o
3859
-# Can we write directly to a .lo ?
3860
-compiler_o_lo=$lt_compiler_o_lo
3862
-# Must we lock files when doing compilation ?
3863
-need_locks=$lt_need_locks
3865
-# Do we need the lib prefix for modules?
3866
-need_lib_prefix=$need_lib_prefix
3868
-# Do we need a version for libraries?
3869
-need_version=$need_version
3871
-# Whether dlopen is supported.
3872
-dlopen_support=$enable_dlopen
3874
-# Whether dlopen of programs is supported.
3875
-dlopen_self=$enable_dlopen_self
3877
-# Whether dlopen of statically linked programs is supported.
3878
-dlopen_self_static=$enable_dlopen_self_static
3880
-# Compiler flag to prevent dynamic linking.
3881
-link_static_flag=$lt_link_static_flag
3883
-# Compiler flag to turn off builtin functions.
3884
-no_builtin_flag=$lt_no_builtin_flag
3886
-# Compiler flag to allow reflexive dlopens.
3887
-export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
3889
-# Compiler flag to generate shared objects directly from archives.
3890
-whole_archive_flag_spec=$lt_whole_archive_flag_spec
3892
-# Compiler flag to generate thread-safe objects.
3893
-thread_safe_flag_spec=$lt_thread_safe_flag_spec
3895
-# Library versioning type.
3896
-version_type=$version_type
3898
-# Format of library name prefix.
3899
-libname_spec=$lt_libname_spec
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
3905
-# The coded name of the library, if different from the real name.
3906
-soname_spec=$lt_soname_spec
3908
-# Commands used to build and install an old-style archive.
3910
-old_archive_cmds=$lt_old_archive_cmds
3911
-old_postinstall_cmds=$lt_old_postinstall_cmds
3912
-old_postuninstall_cmds=$lt_old_postuninstall_cmds
3914
-# Create an old-style archive from a shared archive.
3915
-old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
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
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
3926
-# Commands to strip libraries.
3927
-old_striplib=$lt_old_striplib
3928
-striplib=$lt_striplib
3930
-# Method to check whether dependent libraries are shared objects.
3931
-deplibs_check_method=$lt_deplibs_check_method
3933
-# Command to use when deplibs_check_method == file_magic.
3934
-file_magic_cmd=$lt_file_magic_cmd
3936
-# Flag that allows shared libraries with undefined symbols to be built.
3937
-allow_undefined_flag=$lt_allow_undefined_flag
3939
-# Flag that forces no undefined symbols.
3940
-no_undefined_flag=$lt_no_undefined_flag
3942
-# Commands used to finish a libtool library installation in a directory.
3943
-finish_cmds=$lt_finish_cmds
3945
-# Same as above, but a single script fragment to be evaled but not shown.
3946
-finish_eval=$lt_finish_eval
3948
-# Take the output of nm and produce a listing of raw symbols and C names.
3949
-global_symbol_pipe=$lt_global_symbol_pipe
3951
-# Transform the output of nm in a proper C declaration
3952
-global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
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
3957
-# This is the shared library runtime path variable.
3958
-runpath_var=$runpath_var
3960
-# This is the shared library path variable.
3961
-shlibpath_var=$shlibpath_var
3963
-# Is shlibpath searched before the hard-coded library search path?
3964
-shlibpath_overrides_runpath=$shlibpath_overrides_runpath
3966
-# How to hardcode a shared library path into an executable.
3967
-hardcode_action=$hardcode_action
3969
-# Whether we should hardcode library paths into libraries.
3970
-hardcode_into_libs=$hardcode_into_libs
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
3976
-# Whether we need a single -rpath flag with a separated argument.
3977
-hardcode_libdir_separator=$lt_hardcode_libdir_separator
3979
-# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
3980
-# resulting binary.
3981
-hardcode_direct=$hardcode_direct
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
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
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"
3995
-# Whether libtool must link a program against all its dependency libraries.
3996
-link_all_deplibs=$link_all_deplibs
3998
-# Compile-time system search path for libraries
3999
-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
4001
-# Run-time system search path for libraries
4002
-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
4004
-# Fix the shell variable \$srcfile for the compiler.
4005
-fix_srcfile_path="$fix_srcfile_path"
4007
-# Set to yes if exported symbols are required.
4008
-always_export_symbols=$always_export_symbols
4010
-# The commands to list exported symbols.
4011
-export_symbols_cmds=$lt_export_symbols_cmds
4013
-# The commands to extract the exported symbol list from a shared archive.
4014
-extract_expsyms_cmds=$lt_extract_expsyms_cmds
4016
-# Symbols that should not be listed in the preloaded symbols.
4017
-exclude_expsyms=$lt_exclude_expsyms
4019
-# Symbols that must always be exported.
4020
-include_expsyms=$lt_include_expsyms
4022
-# ### END LIBTOOL CONFIG
4028
- cat <<\EOF >> "${ofile}T"
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
4035
- export COLLECT_NAMES
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>
4052
-# #ifndef __CYGWIN__
4053
-# # ifdef __CYGWIN32__
4054
-# # define __CYGWIN__ __CYGWIN32__
4058
-# #ifdef __cplusplus
4061
-# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
4062
-# #ifdef __cplusplus
4066
-# #ifdef __CYGWIN__
4067
-# #include <cygwin/cygwin_dll.h>
4068
-# DECLARE_CYGWIN_DLL( DllMain );
4070
-# HINSTANCE __hDllInstance_base;
4073
-# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
4075
-# __hDllInstance_base = hInst;
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.
4085
-# This file is part of GNU libtool.
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.
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.
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.
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() */
4107
-# /* O_BINARY isn't required (or even defined sometimes) under Unix */
4109
-# #define O_BINARY 0
4112
-# static unsigned int
4113
-# pe_get16 (fd, offset)
4117
-# unsigned char b[2];
4118
-# lseek (fd, offset, SEEK_SET);
4120
-# return b[0] + (b[1]<<8);
4123
-# static unsigned int
4124
-# pe_get32 (fd, offset)
4128
-# unsigned char b[4];
4129
-# lseek (fd, offset, SEEK_SET);
4131
-# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
4134
-# static unsigned int
4138
-# unsigned char *b = ptr;
4139
-# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
4143
-# main (argc, argv)
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;
4154
-# filename = argv[1];
4156
-# dll = open(filename, O_RDONLY|O_BINARY);
4160
-# dll_name = filename;
4162
-# for (i=0; filename[i]; i++)
4163
-# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
4164
-# dll_name = filename + i +1;
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);
4170
-# if (num_entries < 1) /* no exports */
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));
4180
-# for (i = 0; i < nsections; i++)
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)
4191
-# expptr = fptr + (export_rva - vaddr);
4192
-# if (export_rva + export_size > vaddr + vsize)
4193
-# export_size = vsize - (export_rva - vaddr);
4198
-# expdata = (unsigned char*)malloc(export_size);
4199
-# lseek (dll, expptr, SEEK_SET);
4200
-# read (dll, expdata, export_size);
4201
-# erva = expdata - export_rva;
4203
-# nexp = pe_as32 (expdata+24);
4204
-# name_rvas = pe_as32 (expdata+32);
4206
-# printf ("EXPORTS\n");
4207
-# for (i = 0; i<nexp; i++)
4209
-# unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
4210
-# printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
4215
-# /* impgen.c ends here */
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)
4227
- mv -f "${ofile}T" "$ofile" || \
4228
- (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
4232
-])# _LT_AC_LTCONFIG_HACK
4234
-# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
4235
-AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
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])])
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
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}
4252
-yes) enable_shared=yes ;;
4253
-no) 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
4263
- IFS="$ac_save_ifs"
4266
-enable_shared=AC_ENABLE_SHARED_DEFAULT)dnl
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)])
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
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}
4286
-yes) enable_static=yes ;;
4287
-no) 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
4297
- IFS="$ac_save_ifs"
4300
-enable_static=AC_ENABLE_STATIC_DEFAULT)dnl
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)])
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
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}
4321
-yes) enable_fast_install=yes ;;
4322
-no) enable_fast_install=no ;;
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
4332
- IFS="$ac_save_ifs"
4335
-enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl
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)])
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
4347
-AC_DEFUN([AC_LIBTOOL_PICMODE],
4348
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
4349
-pic_mode=ifelse($#,1,$1,default)])
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
4358
- lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4361
- lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
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
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
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
4401
- IFS="$ac_save_ifs"
4402
- MAGIC_CMD="$ac_save_MAGIC_CMD"
4405
-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4406
-if test -n "$MAGIC_CMD"; then
4407
- AC_MSG_RESULT($MAGIC_CMD)
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)
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
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])
4443
- # gcc leaves a trailing carriage return which upsets mingw
4444
- ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4446
- ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
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%/%"`
4457
- test -z "$LD" && LD="$ac_prog"
4460
- # If it fails, then pretend we aren't using GCC.
4464
- # If it is relative, then search for the first ld in PATH.
4465
- with_gnu_ld=unknown
4468
-elif test "$with_gnu_ld" = yes; then
4469
- AC_MSG_CHECKING([for GNU ld])
4471
- AC_MSG_CHECKING([for non-GNU ld])
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
4486
- test "$with_gnu_ld" != yes && break
4490
- IFS="$ac_save_ifs"
4492
- lt_cv_path_LD="$LD" # Let the user override the test with a path.
4494
-LD="$lt_cv_path_LD"
4495
-if test -n "$LD"; then
4496
- AC_MSG_RESULT($LD)
4500
-test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
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
4511
- lt_cv_prog_gnu_ld=no
4513
-with_gnu_ld=$lt_cv_prog_gnu_ld
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"
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.
4546
- lt_cv_deplibs_check_method=pass_all
4550
- lt_cv_deplibs_check_method=pass_all
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
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'
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`
4571
- *) # Darwin 1.3 on
4572
- lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4578
- if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
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.*`
4589
- lt_cv_deplibs_check_method=pass_all
4594
- lt_cv_deplibs_check_method=pass_all
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
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"
4611
- *-32|*"-32 ") libmagic=32-bit;;
4612
- *-n32|*"-n32 ") libmagic=N32;;
4613
- *-64|*"-64 ") libmagic=64-bit;;
4614
- *) libmagic=never-match;;
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"
4620
- lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4621
- lt_cv_deplibs_check_method=pass_all
4624
-# This must be Linux ELF.
4627
- alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* )
4628
- lt_cv_deplibs_check_method=pass_all ;;
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 )' ;;
4633
- lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
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]]+$'
4640
- lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$'
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
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'
4656
- lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
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
4668
- lt_cv_deplibs_check_method=pass_all
4672
- lt_cv_deplibs_check_method=pass_all
4673
- lt_cv_file_magic_test_file=/lib/libc.so
4676
-sysv5uw[[78]]* | sysv4*uw2*)
4677
- lt_cv_deplibs_check_method=pass_all
4680
-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4681
- case $host_vendor in
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*`
4687
- lt_cv_deplibs_check_method=pass_all
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 )'
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
4702
-file_magic_cmd=$lt_cv_file_magic_cmd
4703
-deplibs_check_method=$lt_cv_deplibs_check_method
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"
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"
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"
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
4737
- IFS="$ac_save_ifs"
4738
- test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4740
-NM="$lt_cv_path_NM"
4741
-AC_MSG_RESULT([$NM])
4744
-# AC_CHECK_LIBM - check for math library
4745
-AC_DEFUN([AC_CHECK_LIBM],
4746
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
4749
-*-*-beos* | *-*-cygwin* | *-*-pw32*)
4750
- # These system don't have libm
4753
- AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
4754
- AC_CHECK_LIB(m, main, LIBM="$LIBM -lm")
4757
- AC_CHECK_LIB(m, main, LIBM="-lm")
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" ;;
4779
- LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
4780
- INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
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])
4801
- enable_ltdl_install=yes
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'])
4809
- ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
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])
4824
-# This is just to silence aclocal about the macro not being used
4825
-ifelse([AC_DISABLE_FAST_INSTALL])
4827
-# CFLAGS and library paths for XMMS
4828
-# written 15 December 1999 by Ben Gertzfield <che@debian.org>
4831
-dnl AM_PATH_XMMS([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
4834
-dnl AM_PATH_XMMS(0.9.5.1, , AC_MSG_ERROR([*** XMMS >= 0.9.5.1 not installed - please install first ***]))
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.
4842
-dnl XMMS_TEST_VERSION(AVAILABLE-VERSION, NEEDED-VERSION [, ACTION-IF-OKAY [, ACTION-IF-NOT-OKAY]])
4843
-AC_DEFUN(XMMS_TEST_VERSION, [
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.
4849
-# Written 15 December 1999 by Ben Gertzfield <che@debian.org>
4850
-# Revised 15 December 1999 by Jim Monty <monty@primenet.com>
4853
- xmms_got_version=[` $AWK ' \
4855
- print vercmp(ARGV[1], ARGV[2]); \
4858
-function vercmp(ver1, ver2, ver1arr, ver2arr, \
4859
- ver1len, ver2len, \
4860
- ver1int, ver2int, len, i, p) { \
4862
- ver1len = split(ver1, ver1arr, /\./); \
4863
- ver2len = split(ver2, ver2arr, /\./); \
4865
- len = ver1len > ver2len ? ver1len : ver2len; \
4867
- for (i = 1; i <= len; i++) { \
4868
- p = 1000 ^ (len - i); \
4869
- ver1int += ver1arr[i] * p; \
4870
- ver2int += ver2arr[i] * p; \
4873
- if (ver1int < ver2int) \
4875
- else if (ver1int > ver2int) \
4881
- if test $xmms_got_version -eq 2; then # failure
4882
- ifelse([$4], , :, $4)
4884
- ifelse([$3], , :, $3)
4888
-AC_DEFUN(AM_PATH_XMMS,
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="")
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
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
4909
-AC_PATH_PROG(XMMS_CONFIG, xmms-config, no)
4910
-min_xmms_version=ifelse([$1], ,0.9.5.1, $1)
4912
-if test "$XMMS_CONFIG" = "no"; then
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`
4927
- XMMS_TEST_VERSION($XMMS_VERSION, $min_xmms_version, ,no_xmms=version)
4930
-AC_MSG_CHECKING(for XMMS - version >= $min_xmms_version)
4932
-if test "x$no_xmms" = x; then
4933
- AC_MSG_RESULT(yes)
4934
- ifelse([$2], , :, [$2])
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."
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/"
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)"
4962
- ifelse([$3], , :, [$3])
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)
4976
-# Configure paths for libogg
4977
-# Jack Moffitt <jack@icecast.org> 10-21-2000
4978
-# Shamelessly stolen from Owen Taylor and Manish Singh
4980
-dnl XIPH_PATH_OGG([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
4981
-dnl Test for libogg, and define OGG_CFLAGS and OGG_LIBS
4983
-AC_DEFUN([XIPH_PATH_OGG],
4985
-dnl Get the cflags and libraries
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)
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"
5000
- OGG_LIBS="$OGG_LIBS -logg"
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"
5010
- AC_MSG_CHECKING(for Ogg)
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"
5020
-dnl Now check if the installed Ogg is sufficiently new.
5022
- rm -f conf.oggtest
5025
-#include <stdlib.h>
5026
-#include <string.h>
5027
-#include <ogg/ogg.h>
5031
- system("touch conf.oggtest");
5035
-],, no_ogg=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
5036
- CFLAGS="$ac_save_CFLAGS"
5037
- LIBS="$ac_save_LIBS"
5040
- if test "x$no_ogg" = "x" ; then
5041
- AC_MSG_RESULT(yes)
5042
- ifelse([$1], , :, [$1])
5045
- if test -f conf.oggtest ; then
5048
- echo "*** Could not run Ogg test program, checking why..."
5049
- CFLAGS="$CFLAGS $OGG_CFLAGS"
5050
- LIBS="$LIBS $OGG_LIBS"
5053
-#include <ogg/ogg.h>
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"
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"
5072
- ifelse([$2], , :, [$2])
5074
- AC_SUBST(OGG_CFLAGS)
5075
- AC_SUBST(OGG_LIBS)
5076
- rm -f conf.oggtest
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.
5087
-dnl From Bruno Haible.
5089
-AC_DEFUN([AM_LANGINFO_CODESET],
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)
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).])
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.
5111
-dnl From Bruno Haible.
5113
-AC_DEFUN([AM_ICONV_LINKFLAGS_BODY],
5115
- dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
5116
- AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
5117
- AC_REQUIRE([AC_LIB_RPATH])
5119
- dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
5121
- AC_LIB_LINKFLAGS_BODY([iconv])
5124
-AC_DEFUN([AM_ICONV_LINK],
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).
5129
- dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
5131
- AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
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])
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"
5162
- if test "$am_cv_func_iconv" = yes; then
5163
- AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
5165
- if test "$am_cv_lib_iconv" = yes; then
5166
- AC_MSG_CHECKING([how to link with libiconv])
5167
- AC_MSG_RESULT([$LIBICONV])
5169
- dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
5171
- CPPFLAGS="$am_save_CPPFLAGS"
5175
- AC_SUBST(LIBICONV)
5176
- AC_SUBST(LTLIBICONV)
5179
-AC_DEFUN([AM_ICONV],
5182
- if test "$am_cv_func_iconv" = yes; then
5183
- AC_MSG_CHECKING([for iconv declaration])
5184
- AC_CACHE_VAL(am_cv_proto_iconv, [
5186
-#include <stdlib.h>
5192
-#if defined(__STDC__) || defined(__cplusplus)
5193
-size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
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.])
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.
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.
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
5226
- acl_cv_prog_gnu_ld=no
5228
-with_gnu_ld=$acl_cv_prog_gnu_ld
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
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])
5244
- # gcc leaves a trailing carriage return which upsets mingw
5245
- ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5247
- ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
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%/%"`
5258
- test -z "$LD" && LD="$ac_prog"
5261
- # If it fails, then pretend we aren't using GCC.
5265
- # If it is relative, then search for the first ld in PATH.
5266
- with_gnu_ld=unknown
5269
-elif test "$with_gnu_ld" = yes; then
5270
- AC_MSG_CHECKING([for GNU ld])
5272
- AC_MSG_CHECKING([for non-GNU ld])
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
5287
- test "$with_gnu_ld" != yes && break
5291
- IFS="$ac_save_ifs"
5293
- acl_cv_path_LD="$LD" # Let the user override the test with a path.
5295
-LD="$acl_cv_path_LD"
5296
-if test -n "$LD"; then
5297
- AC_MSG_RESULT($LD)
5301
-test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
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.
5313
-dnl From Bruno Haible.
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],
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"
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
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],
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___])])
5361
- dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
5363
- AC_LIB_LINKFLAGS_BODY([$1], [$2])
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)
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"
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])
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"
5390
- AC_SUBST([HAVE_LIB]NAME)
5391
- AC_SUBST([LIB]NAME)
5392
- AC_SUBST([LTLIB]NAME)
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],
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
5411
- rm -f ./conftest.sh
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)
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],
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\"
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],
5446
- if test "X$withval" = "Xno"; then
5449
- if test "X$withval" = "X"; then
5450
- AC_LIB_WITH_FINAL_PREFIX([
5451
- eval additional_includedir=\"$includedir\"
5452
- eval additional_libdir=\"$libdir\"
5455
- additional_includedir="$withval/include"
5456
- additional_libdir="$withval/lib"
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],
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\"
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],
5476
+ if test "X$withval" = "Xno"; then
5479
+ if test "X$withval" = "X"; then
5480
+ AC_LIB_WITH_FINAL_PREFIX([
5481
+ eval additional_includedir=\"$includedir\"
5482
+ eval additional_libdir=\"$libdir\"
5485
+ additional_includedir="$withval/include"
5486
+ additional_libdir="$withval/lib"
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
5496
- linux*) haveit=yes;;
5497
+ linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5501
@@ -5376,7 +649,7 @@
5502
if test "X$additional_libdir" = "X/usr/local/lib"; then
5503
if test -n "$GCC"; then
5505
- linux*) haveit=yes;;
5506
+ linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5510
@@ -5471,208 +744,7372 @@
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.
5520
- for found_dir in $rpathdirs; do
5521
- alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5523
- dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
5524
- acl_save_libdir="$libdir"
5526
- eval flag=\"$hardcode_libdir_flag_spec\"
5527
- libdir="$acl_save_libdir"
5528
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
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"
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"
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.
5552
+ for found_dir in $rpathdirs; do
5553
+ alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5555
+ dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
5556
+ acl_save_libdir="$libdir"
5558
+ eval flag=\"$hardcode_libdir_flag_spec\"
5559
+ libdir="$acl_save_libdir"
5560
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
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"
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"
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],
5587
+ for element in [$2]; do
5589
+ for x in $[$1]; do
5590
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5591
+ if test "X$x" = "X$element"; then
5596
+ if test -z "$haveit"; then
5597
+ [$1]="${[$1]}${[$1]:+ }$element"
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.
5608
+dnl From Bruno Haible.
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])])])
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],
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\"
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],
5639
+ if test "X$withval" = "Xno"; then
5642
+ if test "X$withval" = "X"; then
5643
+ AC_LIB_WITH_FINAL_PREFIX([
5644
+ eval additional_includedir=\"$includedir\"
5645
+ eval additional_libdir=\"$libdir\"
5648
+ additional_includedir="$withval/include"
5649
+ additional_libdir="$withval/lib"
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
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
5669
+ if test -z "$haveit"; then
5670
+ if test "X$additional_includedir" = "X/usr/local/include"; then
5671
+ if test -n "$GCC"; then
5673
+ linux* | gnu* | k*bsd*-gnu) haveit=yes;;
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"
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
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
5700
+ if test -z "$haveit"; then
5701
+ if test "X$additional_libdir" = "X/usr/local/lib"; then
5702
+ if test -n "$GCC"; then
5704
+ linux*) haveit=yes;;
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"
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],
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"
5729
+ acl_final_prefix="$prefix"
5731
+ if test "X$exec_prefix" = "XNONE"; then
5732
+ acl_final_exec_prefix='${prefix}'
5734
+ acl_final_exec_prefix="$exec_prefix"
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"
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],
5747
+ acl_save_prefix="$prefix"
5748
+ prefix="$acl_final_prefix"
5749
+ acl_save_exec_prefix="$exec_prefix"
5750
+ exec_prefix="$acl_final_exec_prefix"
5752
+ exec_prefix="$acl_save_exec_prefix"
5753
+ prefix="$acl_save_prefix"
5756
+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
5758
+# serial 47 AC_PROG_LIBTOOL
5759
+# Debian $Rev: 214 $
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],
5767
+ [m4_define([AC_PROVIDE_IFELSE],
5768
+ [m4_ifdef([AC_PROVIDE_$1],
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],
5780
+ [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
5782
+dnl And a similar setup for Fortran 77 support
5783
+ AC_PROVIDE_IFELSE([AC_PROG_F77],
5785
+ [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
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],
5793
+ [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
5795
+ [AC_PROVIDE_IFELSE([LT_AC_PROG_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
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
5815
+# This can be used to rebuild libtool when needed
5816
+LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
5818
+# Always use our own libtool.
5819
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5820
+AC_SUBST(LIBTOOL)dnl
5822
+# Prevent multiple expansion
5823
+define([AC_PROG_LIBTOOL], [])
5824
+])# _AC_PROG_LIBTOOL
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
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
5848
+AC_LIBTOOL_SYS_MAX_CMD_LEN
5849
+AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
5852
+AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
5853
+_LT_AC_PROG_ECHO_BACKSLASH
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
5862
+ export COLLECT_NAMES
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']
5872
+# Same as above, but do not quote variable references.
5873
+[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
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'
5879
+# Sed substitution to avoid accidental globbing in evaled expressions
5880
+no_glob_subst='s/\*/\\\*/g'
5885
+# Global variables:
5886
+default_ofile=libtool
5887
+can_build_shared=yes
5889
+# All known linkers require a `.a' archive for static linking (except M$VC,
5890
+# which needs '.lib').
5892
+ltmain="$ac_aux_dir/ltmain.sh"
5893
+ofile="$default_ofile"
5894
+with_gnu_ld="$lt_cv_prog_gnu_ld"
5896
+AC_CHECK_TOOL(AR, ar, false)
5897
+AC_CHECK_TOOL(RANLIB, ranlib, :)
5898
+AC_CHECK_TOOL(STRIP, strip, :)
5901
+old_CFLAGS="$CFLAGS"
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
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=
5925
+if test -n "$RANLIB"; then
5928
+ old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5931
+ old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5934
+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5937
+# Only perform the check for file, if the check method requires it
5938
+case $deplibs_check_method in
5940
+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then
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)
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
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
5962
+# Use C for the default configuration in the libtool script
5964
+AC_LIBTOOL_LANG_C_CONFIG
5966
+])# AC_LIBTOOL_SETUP
5969
+# _LT_AC_SYS_COMPILER
5970
+# -------------------
5971
+AC_DEFUN([_LT_AC_SYS_COMPILER],
5972
+[AC_REQUIRE([AC_PROG_CC])dnl
5974
+# If no C compiler was specified, use CC.
5977
+# Allow CC to be a program name with arguments.
5979
+])# _LT_AC_SYS_COMPILER
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; }
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; }
5997
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
5998
+])# _LT_AC_SYS_LIBPATH_AIX
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)])
6009
+])# _LT_AC_SHELL_INIT
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}
6023
+ # Remove one level of quotation (which was required for Make).
6024
+ ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
6029
+if test "X[$]1" = X--no-reexec; then
6030
+ # Discard the --no-reexec flag, and continue.
6032
+elif test "X[$]1" = X--fallback-echo; then
6033
+ # Avoid inline document here, it may be left over
6035
+elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
6036
+ # Yippee, $echo works!
6039
+ # Restart under the correct shell.
6040
+ exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
6043
+if test "X[$]1" = X--fallback-echo; then
6044
+ # used as fallback echo
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
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
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
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'
6079
+ # So, first we look for a working echo in the user's PATH.
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
6092
+ IFS="$lt_save_ifs"
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.
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+"[$]@"}
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
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"
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"
6132
+ # maybe with a smaller string...
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
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+"[$]@"}
6148
+ # Oops. We lost completely, so just stick with echo.
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.
6160
+if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
6161
+ ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
6165
+])])# _LT_AC_PROG_ECHO_BACKSLASH
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
6176
+# Some flags need to be propagated to the compiler or linker for good
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
6185
+ HPUX_IA64_MODE="32"
6188
+ HPUX_IA64_MODE="64"
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
6201
+ LD="${LD-ld} -melf32bsmip"
6204
+ LD="${LD-ld} -melf32bmipn32"
6207
+ LD="${LD-ld} -melf64bmip"
6211
+ case `/usr/bin/file conftest.$ac_objext` in
6216
+ LD="${LD-ld} -n32"
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
6235
+ LD="${LD-ld} -m elf_i386"
6237
+ ppc64-*linux*|powerpc64-*linux*)
6238
+ LD="${LD-ld} -m elf32ppclinux"
6241
+ LD="${LD-ld} -m elf_s390"
6244
+ LD="${LD-ld} -m elf32_sparc"
6251
+ LD="${LD-ld} -m elf_x86_64"
6253
+ ppc*-*linux*|powerpc*-*linux*)
6254
+ LD="${LD-ld} -m elf64ppc"
6257
+ LD="${LD-ld} -m elf64_s390"
6260
+ LD="${LD-ld} -m elf64_sparc"
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,
6275
+ AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
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"
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)
6291
+need_locks="$enable_libtool_lock"
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],
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)
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
6331
+if test x"[$]$2" = xyes; then
6332
+ ifelse([$5], , :, [$5])
6334
+ ifelse([$6], , :, [$6])
6336
+])# AC_LIBTOOL_COMPILER_OPTION
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],
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
6360
+ LDFLAGS="$save_LDFLAGS"
6363
+if test x"[$]$2" = xyes; then
6364
+ ifelse([$4], , :, [$4])
6366
+ ifelse([$5], , :, [$5])
6368
+])# AC_LIBTOOL_LINKER_OPTION
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
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
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;
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;
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;
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
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
6424
+ teststring=$teststring$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`
6434
+if test -n $lt_cv_sys_max_cmd_len ; then
6435
+ AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
6437
+ AC_MSG_RESULT(none)
6439
+])# AC_LIBTOOL_SYS_MAX_CMD_LEN
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
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 :
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"
6470
+# define LT_DLGLOBAL RTLD_GLOBAL
6473
+# define LT_DLGLOBAL DL_GLOBAL
6475
+# define LT_DLGLOBAL 0
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
6483
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
6486
+# define LT_DLLAZY_OR_NOW DL_LAZY
6489
+# define LT_DLLAZY_OR_NOW RTLD_NOW
6492
+# define LT_DLLAZY_OR_NOW DL_NOW
6494
+# define LT_DLLAZY_OR_NOW 0
6502
+extern "C" void exit (int);
6505
+void fnord() { int i=42;}
6508
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
6509
+ int status = $lt_dlunknown;
6513
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
6514
+ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
6515
+ /* dlclose (self); */
6521
+ if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
6522
+ (./conftest; exit; ) 2>/dev/null
6524
+ case x$lt_status in
6525
+ x$lt_dlno_uscore) $1 ;;
6526
+ x$lt_dlneed_uscore) $2 ;;
6527
+ x$lt_unknown|x*) $3 ;;
6530
+ # compilation failed
6535
+])# _LT_AC_TRY_DLOPEN_SELF
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
6548
+ lt_cv_dlopen_libs=
6552
+ lt_cv_dlopen="load_add_on"
6553
+ lt_cv_dlopen_libs=
6554
+ lt_cv_dlopen_self=yes
6558
+ lt_cv_dlopen="LoadLibrary"
6559
+ lt_cv_dlopen_libs=
6563
+ lt_cv_dlopen="dlopen"
6564
+ lt_cv_dlopen_libs=
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
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"])
6598
+ if test "x$lt_cv_dlopen" != xno; then
6604
+ case $lt_cv_dlopen in
6606
+ save_CPPFLAGS="$CPPFLAGS"
6607
+ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
6609
+ save_LDFLAGS="$LDFLAGS"
6610
+ eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
6613
+ LIBS="$lt_cv_dlopen_libs $LIBS"
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)
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)
6632
+ CPPFLAGS="$save_CPPFLAGS"
6633
+ LDFLAGS="$save_LDFLAGS"
6638
+ case $lt_cv_dlopen_self in
6639
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
6640
+ *) enable_dlopen_self=unknown ;;
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 ;;
6648
+])# AC_LIBTOOL_DLOPEN_SELF
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
6663
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
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)
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
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
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
6697
+])# AC_LIBTOOL_PROG_CC_C_O
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
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])
6712
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
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])
6724
+])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
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
6736
+ # MS-DOS does not allow filenames that begin with a dot.
6737
+ lt_cv_objdir=_libs
6739
+rmdir .libs 2>/dev/null])
6740
+objdir=$lt_cv_objdir
6741
+])# AC_LIBTOOL_OBJDIR
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
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
6764
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
6765
+ _LT_AC_TAGVAR(hardcode_action, $1)=immediate
6768
+ # We cannot hardcode anything, or else we can only hardcode existing
6770
+ _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
6772
+AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
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
6782
+])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
6785
+# AC_LIBTOOL_SYS_LIB_STRIP
6786
+# ------------------------
6787
+AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
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])
6796
+# FIXME - insert some real tests, host_os isn't really good enough
6799
+ if test -n "$STRIP" ; then
6800
+ striplib="$STRIP -x"
6801
+ AC_MSG_RESULT([yes])
6803
+ AC_MSG_RESULT([no])
6807
+ AC_MSG_RESULT([no])
6811
+])# AC_LIBTOOL_SYS_LIB_STRIP
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'
6824
+postuninstall_cmds=
6828
+shlibpath_overrides_runpath=unknown
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'`
6841
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
6844
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
6846
+need_lib_prefix=unknown
6847
+hardcode_into_libs=no
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
6855
+ version_type=linux
6856
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
6857
+ shlibpath_var=LIBPATH
6859
+ # AIX 3 has no versioning support, so we append a major version to the name.
6860
+ soname_spec='${libname}${release}${shared_ext}$major'
6864
+ version_type=linux
6865
+ need_lib_prefix=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
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.
6879
+ aix4 | aix4.[[01]] | aix4.[[01]].*)
6880
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
6882
+ echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
6885
+ can_build_shared=no
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}'
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'
6903
+ shlibpath_var=LIBPATH
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'
6914
+ library_names_spec='${libname}${shared_ext}'
6915
+ dynamic_linker="$host_os ld.so"
6916
+ shlibpath_var=LIBRARY_PATH
6920
+ version_type=linux
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
6933
+cygwin* | mingw* | pw32*)
6934
+ version_type=windows
6935
+ shrext_cmds=".dll"
6937
+ need_lib_prefix=no
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~
6951
+ shlibpath_overrides_runpath=yes
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"
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'`
6972
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
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}'
6983
+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
6986
+ dynamic_linker='Win32 ld.exe'
6987
+ # FIXME: first we should search . and the directory the executable is in
6988
+ shlibpath_var=PATH
6991
+darwin* | rhapsody*)
6992
+ dynamic_linker="$host_os dyld"
6993
+ version_type=darwin
6994
+ need_lib_prefix=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"`
7005
+ sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
7007
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7011
+ version_type=linux
7012
+ need_lib_prefix=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
7024
+ version_type=linux
7025
+ need_lib_prefix=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'
7036
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7037
+ version_type=freebsd-$objformat
7038
+ case $version_type in
7040
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7042
+ need_lib_prefix=no
7045
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7049
+ shlibpath_var=LD_LIBRARY_PATH
7052
+ shlibpath_overrides_runpath=yes
7054
+ freebsd3.[01]* | freebsdelf3.[01]*)
7055
+ shlibpath_overrides_runpath=yes
7056
+ hardcode_into_libs=yes
7059
+ shlibpath_overrides_runpath=no
7060
+ hardcode_into_libs=yes
7066
+ version_type=linux
7067
+ need_lib_prefix=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
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
7081
+ case "$host_cpu" in
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"
7093
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7095
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
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
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'
7117
+ # HP-UX runs *really* slowly unless shared libraries are mode 555.
7118
+ postinstall_cmds='chmod 555 $lib'
7121
+irix5* | irix6* | nonstopux*)
7123
+ nonstopux*) version_type=nonstopux ;;
7125
+ if test "$lt_cv_prog_gnu_ld" = yes; then
7126
+ version_type=linux
7131
+ need_lib_prefix=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}'
7136
+ irix5* | nonstopux*)
7137
+ libsuff= shlibsuff=
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;;
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
7158
+# No shared lib support for Linux oldld, aout, or coff.
7159
+linux*oldld* | linux*aout* | linux*coff*)
7163
+# This must be Linux ELF.
7165
+ version_type=linux
7166
+ need_lib_prefix=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
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"
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'
7194
+ version_type=linux
7195
+ need_lib_prefix=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'
7206
+ version_type=linux
7207
+ need_lib_prefix=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'
7218
+ version_type=sunos
7219
+ need_lib_prefix=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'
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'
7230
+ shlibpath_var=LD_LIBRARY_PATH
7231
+ shlibpath_overrides_runpath=yes
7232
+ hardcode_into_libs=yes
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
7243
+ version_type=linux
7244
+ need_lib_prefix=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
7253
+ version_type=sunos
7254
+ need_lib_prefix=no
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
7261
+ openbsd2.[[89]] | openbsd2.[[89]].*)
7262
+ shlibpath_overrides_runpath=no
7265
+ shlibpath_overrides_runpath=yes
7269
+ shlibpath_overrides_runpath=yes
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
7282
+osf3* | osf4* | osf5*)
7284
+ need_lib_prefix=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"
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
7301
+ version_type=linux
7302
+ need_lib_prefix=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'
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
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
7332
+ shlibpath_overrides_runpath=no
7333
+ need_lib_prefix=no
7334
+ export_dynamic_flag_spec='${wl}-Blargedynsym'
7335
+ runpath_var=LD_RUN_PATH
7338
+ need_lib_prefix=no
7341
+ need_lib_prefix=no
7343
+ shlibpath_overrides_runpath=no
7344
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
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
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
7369
+AC_MSG_RESULT([$dynamic_linker])
7370
+test "$dynamic_linker" = no && can_build_shared=no
7371
+])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
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"])
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])
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])
7392
+ AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
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'`
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
7406
+ *) AC_MSG_ERROR([invalid tag name: $tagname])
7410
+ if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
7412
+ AC_MSG_ERROR([tag name \"$tagname\" already exists])
7415
+ # Update the list of available tags.
7416
+ if test -n "$tagname"; then
7417
+ echo appending configuration tag \"$tagname\" to $ofile
7421
+ if test -n "$CXX" && test "X$CXX" != "Xno"; then
7422
+ AC_LIBTOOL_LANG_CXX_CONFIG
7429
+ if test -n "$F77" && test "X$F77" != "Xno"; then
7430
+ AC_LIBTOOL_LANG_F77_CONFIG
7437
+ if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
7438
+ AC_LIBTOOL_LANG_GCJ_CONFIG
7445
+ AC_LIBTOOL_LANG_RC_CONFIG
7449
+ AC_MSG_ERROR([Unsupported tag name: $tagname])
7453
+ # Append the new tag name to the list of available tags.
7454
+ if test -n "$tagname" ; then
7455
+ available_tags="$available_tags $tagname"
7459
+ IFS="$lt_save_ifs"
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"
7467
+ AC_MSG_ERROR([unable to update list of available tagged configurations.])
7470
+])# _LT_AC_TAGCONFIG
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
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
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 ;;
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
7512
+ IFS="$lt_save_ifs"
7515
+ [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
7516
+])# AC_ENABLE_SHARED
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
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 ;;
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
7551
+ IFS="$lt_save_ifs"
7554
+ [enable_static=]AC_ENABLE_STATIC_DEFAULT)
7555
+])# AC_ENABLE_STATIC
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
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 ;;
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
7590
+ IFS="$lt_save_ifs"
7593
+ [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
7594
+])# AC_ENABLE_FAST_INSTALL
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
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
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'
7626
+ EGREP=$ac_cv_prog_egrep
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.
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
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
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
7681
+ IFS="$lt_save_ifs"
7682
+ MAGIC_CMD="$lt_save_MAGIC_CMD"
7685
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7686
+if test -n "$MAGIC_CMD"; then
7687
+ AC_MSG_RESULT($MAGIC_CMD)
7691
+])# AC_PATH_TOOL_PREFIX
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)
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],
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
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])
7728
+ # gcc leaves a trailing carriage return which upsets mingw
7729
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7731
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
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%/%"`
7742
+ test -z "$LD" && LD="$ac_prog"
7745
+ # If it fails, then pretend we aren't using GCC.
7749
+ # If it is relative, then search for the first ld in PATH.
7750
+ with_gnu_ld=unknown
7753
+elif test "$with_gnu_ld" = yes; then
7754
+ AC_MSG_CHECKING([for GNU ld])
7756
+ AC_MSG_CHECKING([for non-GNU ld])
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
7774
+ test "$with_gnu_ld" != yes && break
7779
+ IFS="$lt_save_ifs"
7781
+ lt_cv_path_LD="$LD" # Let the user override the test with a path.
7783
+LD="$lt_cv_path_LD"
7784
+if test -n "$LD"; then
7785
+ AC_MSG_RESULT($LD)
7789
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
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
7805
+ lt_cv_prog_gnu_ld=no
7808
+with_gnu_ld=$lt_cv_prog_gnu_ld
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
7823
+*) reload_flag=" $reload_flag" ;;
7825
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
7826
+])# AC_PROG_LD_RELOAD_FLAG
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.
7852
+ lt_cv_deplibs_check_method=pass_all
7856
+ lt_cv_deplibs_check_method=pass_all
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
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'
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'
7878
+darwin* | rhapsody*)
7879
+ lt_cv_deplibs_check_method=pass_all
7882
+freebsd* | kfreebsd*-gnu)
7883
+ if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
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.*`
7894
+ lt_cv_deplibs_check_method=pass_all
7899
+ lt_cv_deplibs_check_method=pass_all
7902
+hpux10.20* | hpux11*)
7903
+ lt_cv_file_magic_cmd=/usr/bin/file
7904
+ case "$host_cpu" in
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
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
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
7920
+irix5* | irix6* | nonstopux*)
7922
+ *-32|*"-32 ") libmagic=32-bit;;
7923
+ *-n32|*"-n32 ") libmagic=N32;;
7924
+ *-64|*"-64 ") libmagic=64-bit;;
7925
+ *) libmagic=never-match;;
7927
+ lt_cv_deplibs_check_method=pass_all
7930
+# This must be Linux ELF.
7932
+ lt_cv_deplibs_check_method=pass_all
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)$'
7939
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
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
7950
+ lt_cv_deplibs_check_method=unknown
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'
7959
+ lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
7963
+osf3* | osf4* | osf5*)
7964
+ lt_cv_deplibs_check_method=pass_all
7968
+ lt_cv_deplibs_check_method=pass_all
7972
+ lt_cv_deplibs_check_method=pass_all
7975
+sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7976
+ case $host_vendor in
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*`
7982
+ lt_cv_deplibs_check_method=pass_all
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 )'
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
7994
+ lt_cv_deplibs_check_method=pass_all
7999
+sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
8000
+ lt_cv_deplibs_check_method=pass_all
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
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"
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"
8035
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
8037
+ lt_cv_path_NM="$tmp_nm -p"
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
8048
+ IFS="$lt_save_ifs"
8049
+ test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
8051
+NM="$lt_cv_path_NM"
8057
+# check for math library
8058
+AC_DEFUN([AC_CHECK_LIBM],
8059
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
8062
+*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
8063
+ # These system don't have libm, or don't need it
8066
+ AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
8067
+ AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
8070
+ AC_CHECK_LIB(m, cos, LIBM="-lm")
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" ;;
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
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])
8120
+ enable_ltdl_install=yes
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'])
8128
+ ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
8132
+ # For backwards non-gettext consistent compatibility...
8133
+ INCLTDL="$LTDLINCL"
8134
+])# AC_LIBLTDL_INSTALLABLE
8139
+# enable support for C++ libraries
8140
+AC_DEFUN([AC_LIBTOOL_CXX],
8141
+[AC_REQUIRE([_LT_AC_LANG_CXX])
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
8156
+# enable support for Fortran 77 libraries
8157
+AC_DEFUN([AC_LIBTOOL_F77],
8158
+[AC_REQUIRE([_LT_AC_LANG_F77])
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
8172
+# enable support for GCJ libraries
8173
+AC_DEFUN([AC_LIBTOOL_GCJ],
8174
+[AC_REQUIRE([_LT_AC_LANG_GCJ])
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
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])
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],
8210
+# Source file extension for C test sources.
8213
+# Object file extension for compiled C test sources.
8215
+_LT_AC_TAGVAR(objext, $1)=$objext
8217
+# Code to be used in simple compile tests
8218
+lt_simple_compile_test_code="int some_variable = 0;\n"
8220
+# Code to be used in simple link tests
8221
+lt_simple_link_test_code='int main(){return(0);}\n'
8223
+_LT_AC_SYS_COMPILER
8226
+# Check for any special shared library compilation flags.
8228
+_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
8229
+if test "$GCC" = no; then
8232
+ _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
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 :
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
8247
+# Check to make sure the static flag actually works.
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),
8253
+ [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
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)
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])
8270
+AC_MSG_CHECKING([whether to build shared libraries])
8271
+test "$can_build_shared" = "no" && enable_shared=no
8273
+# On AIX, shared libraries and static libraries use the same namespace, and
8274
+# are all built from PIC.
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'
8285
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8286
+ test "$enable_shared" = yes && enable_static=no
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'
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'
8300
+ case ${MACOSX_DEPLOYMENT_TARGET} in
8302
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
8305
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
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
8323
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
8327
+AC_MSG_RESULT([$enable_shared])
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])
8334
+AC_LIBTOOL_CONFIG($1)
8338
+])# AC_LIBTOOL_LANG_C_CONFIG
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],
8349
+AC_REQUIRE([AC_PROG_CXX])
8350
+AC_REQUIRE([AC_PROG_CXXCPP])
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
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)=
8378
+# Source file extension for C++ test sources.
8381
+# Object file extension for compiled C++ test sources.
8383
+_LT_AC_TAGVAR(objext, $1)=$objext
8385
+# Code to be used in simple compile tests
8386
+lt_simple_compile_test_code="int some_variable = 0;\n"
8388
+# Code to be used in simple link tests
8389
+lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
8391
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
8392
+_LT_AC_SYS_COMPILER
8394
+# Allow CC to be a program name with arguments.
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
8404
+ unset lt_cv_prog_gnu_ld
8406
+if test -n "${lt_cv_path_LDCXX+set}"; then
8407
+ lt_cv_path_LD=$lt_cv_path_LDCXX
8409
+ unset lt_cv_path_LD
8411
+test -z "${LDCXX+set}" || LD=$LDCXX
8414
+_LT_AC_TAGVAR(compiler, $1)=$CC
8415
+cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
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'
8422
+ _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
8425
+if test "$GXX" = yes; then
8426
+ # Set up default GNU C++ configuration
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'
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'
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)
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'
8449
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
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'
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"'
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
8479
+ # FIXME: insert proper C++ library support
8480
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
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'
8490
+ aix_use_runtimelinking=no
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
8499
+ aix_use_runtimelinking=yes
8506
+ exp_sym_flag='-bexport'
8507
+ no_entry_flag='-bnoentry'
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.
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
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
8529
+ # We have reworked collect2
8530
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
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)=
8542
+ shared_flag='-shared'
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:
8550
+ if test "$aix_use_runtimelinking" = yes; then
8551
+ shared_flag='${wl}-G'
8553
+ shared_flag='${wl}-bM:SRE'
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"
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"
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"
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'
8594
+ case $cc_basename in
8596
+ # FIXME: insert proper C++ library support
8597
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
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
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;
8617
+ echo EXPORTS > $output_objdir/$soname.def;
8618
+ cat $export_symbols >> $output_objdir/$soname.def;
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'
8622
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
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'
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'
8637
+ case ${MACOSX_DEPLOYMENT_TARGET} in
8639
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
8642
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
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
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'
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'
8658
+ _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
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}'
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}'
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
8673
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
8678
+ case $cc_basename in
8680
+ # FIXME: insert proper C++ library support
8681
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
8684
+ # Green Hills C++ Compiler
8685
+ # FIXME: insert proper C++ library support
8686
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
8689
+ # FIXME: insert proper C++ library support
8690
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
8695
+ # C++ shared libraries reported to be fairly broken before switch to ELF
8696
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
8699
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
8701
+ freebsd* | kfreebsd*-gnu)
8702
+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
8704
+ _LT_AC_TAGVAR(ld_shlibs, $1)=yes
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.
8717
+ case $cc_basename in
8719
+ # FIXME: insert proper C++ library support
8720
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
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.
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
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'
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'
8738
+ # FIXME: insert proper C++ library support
8739
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
8745
+ if test $with_gnu_ld = no; then
8746
+ case "$host_cpu" in
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)=:
8753
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
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'
8762
+ case "$host_cpu" in
8764
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
8765
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
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.
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.
8782
+ case $cc_basename in
8784
+ # FIXME: insert proper C++ library support
8785
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
8788
+ case "$host_cpu" in
8790
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
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'
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.
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
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'
8807
+ if test "$GXX" = yes; then
8808
+ if test $with_gnu_ld = no; then
8809
+ case "$host_cpu" in
8811
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
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'
8819
+ # FIXME: insert proper C++ library support
8820
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
8826
+ case $cc_basename in
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'
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
8835
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
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'
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'
8845
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
8848
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8849
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8852
+ case $cc_basename in
8854
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
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.
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
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'
8871
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
8872
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
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'
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'
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'
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)=:
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.
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
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'
8910
+ # FIXME: insert proper C++ library support
8911
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
8914
+ # FIXME: insert proper C++ library support
8915
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
8918
+ case $cc_basename in
8920
+ # FIXME: insert proper C++ library support
8921
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
8924
+ # FIXME: insert proper C++ library support
8925
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
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'
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
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::"'
8941
+ case $cc_basename in
8943
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
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'
8950
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
8951
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
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'
8959
+ # Rational C++ 2.4.1
8960
+ # FIXME: insert proper C++ library support
8961
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
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'
8967
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8968
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
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.
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
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'
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'
8985
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8986
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
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"'
8994
+ # FIXME: insert proper C++ library support
8995
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
9001
+ case $cc_basename in
9003
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
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'
9010
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
9011
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
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'
9018
+ # Rational C++ 2.4.1
9019
+ # FIXME: insert proper C++ library support
9020
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
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~
9030
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
9031
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
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.
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
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'
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'
9048
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
9049
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
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"'
9057
+ # FIXME: insert proper C++ library support
9058
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
9064
+ # FIXME: insert proper C++ library support
9065
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
9068
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
9069
+ case $cc_basename in
9071
+ # FIXME: insert proper C++ library support
9072
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
9075
+ # FIXME: insert proper C++ library support
9076
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
9081
+ case $cc_basename in
9084
+ # FIXME: insert proper C++ library support
9085
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
9089
+ # FIXME: insert proper C++ library support
9090
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
9093
+ # FIXME: insert proper C++ library support
9094
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
9099
+ case $cc_basename in
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'
9107
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
9108
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
9110
+ solaris2.[0-5] | solaris2.[0-5].*) ;;
9112
+ # The C++ compiler is used as linker so we must use $wl
9113
+ # flag to pass the commands to the underlying system
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'
9119
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
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.
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
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'
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
9135
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
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'
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'
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'
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\""
9158
+ # g++ 2.7 appears to require `-G' NOT `-shared' on this
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'
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\""
9170
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
9175
+ sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
9176
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
9179
+ case $cc_basename in
9181
+ # NonStop-UX NCC 3.20
9182
+ # FIXME: insert proper C++ library support
9183
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
9186
+ # FIXME: insert proper C++ library support
9187
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
9192
+ # FIXME: insert proper C++ library support
9193
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
9196
+ # FIXME: insert proper C++ library support
9197
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
9200
+AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
9201
+test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
9203
+_LT_AC_TAGVAR(GCC, $1)="$GXX"
9204
+_LT_AC_TAGVAR(LD, $1)="$LD"
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)
9216
+AC_LIBTOOL_CONFIG($1)
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
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
9245
+void foo (void) { a = 0; }
9247
+],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
9251
+ Foo (void) { a = 0; }
9256
+],[$1],[F77],[cat > conftest.$ac_ext <<EOF
9264
+],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
9267
+ public void bar (void) {
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.
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
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\"`"
9288
+ for p in `eval $output_verbose_link_cmd`; do
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
9302
+ if test "$pre_test_object_deps_done" = no; then
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}"
9311
+ _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
9314
+ # The "-l" case would never come before the object being
9315
+ # linked, so don't bother handling this case.
9318
+ if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
9319
+ _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
9321
+ _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
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
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"
9338
+ _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
9341
+ if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
9342
+ _LT_AC_TAGVAR(postdep_objects, $1)="$p"
9344
+ _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
9349
+ *) ;; # Ignore the rest.
9357
+ echo "libtool.m4: error: problem compiling $1 test program"
9360
+$rm -f confest.$objext
9362
+case " $_LT_AC_TAGVAR(postdeps, $1) " in
9363
+*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
9365
+])# AC_LIBTOOL_POSTDEP_PREDEP
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)
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
9396
+# Source file extension for f77 test sources.
9399
+# Object file extension for compiled f77 test sources.
9401
+_LT_AC_TAGVAR(objext, $1)=$objext
9403
+# Code to be used in simple compile tests
9404
+lt_simple_compile_test_code=" subroutine t\n return\n end\n"
9406
+# Code to be used in simple link tests
9407
+lt_simple_link_test_code=" program t\n end\n"
9409
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
9410
+_LT_AC_SYS_COMPILER
9412
+# Allow CC to be a program name with arguments.
9416
+_LT_AC_TAGVAR(compiler, $1)=$CC
9417
+cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9419
+AC_MSG_CHECKING([if libtool supports shared libraries])
9420
+AC_MSG_RESULT([$can_build_shared])
9422
+AC_MSG_CHECKING([whether to build shared libraries])
9423
+test "$can_build_shared" = "no" && enable_shared=no
9425
+# On AIX, shared libraries and static libraries use the same namespace, and
9426
+# are all built from PIC.
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'
9436
+ test "$enable_shared" = yes && enable_static=no
9439
+AC_MSG_RESULT([$enable_shared])
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])
9446
+test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
9448
+_LT_AC_TAGVAR(GCC, $1)="$G77"
9449
+_LT_AC_TAGVAR(LD, $1)="$LD"
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
9460
+AC_LIBTOOL_CONFIG($1)
9464
+])# AC_LIBTOOL_LANG_F77_CONFIG
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],
9476
+# Source file extension for Java test sources.
9479
+# Object file extension for compiled Java test sources.
9481
+_LT_AC_TAGVAR(objext, $1)=$objext
9483
+# Code to be used in simple compile tests
9484
+lt_simple_compile_test_code="class foo {}\n"
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'
9489
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
9490
+_LT_AC_SYS_COMPILER
9492
+# Allow CC to be a program name with arguments.
9496
+_LT_AC_TAGVAR(compiler, $1)=$CC
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
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)
9511
+AC_LIBTOOL_CONFIG($1)
9515
+])# AC_LIBTOOL_LANG_GCJ_CONFIG
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],
9527
+# Source file extension for RC test sources.
9530
+# Object file extension for compiled RC test sources.
9532
+_LT_AC_TAGVAR(objext, $1)=$objext
9534
+# Code to be used in simple compile tests
9535
+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
9537
+# Code to be used in simple link tests
9538
+lt_simple_link_test_code="$lt_simple_compile_test_code"
9540
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
9541
+_LT_AC_SYS_COMPILER
9543
+# Allow CC to be a program name with arguments.
9547
+_LT_AC_TAGVAR(compiler, $1)=$CC
9548
+_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
9550
+AC_LIBTOOL_CONFIG($1)
9554
+])# AC_LIBTOOL_LANG_RC_CONFIG
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
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 \
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
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\"\`\\\""
9639
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9645
+ *'\[$]0 --fallback-echo"')
9646
+ lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
9651
+ [cfgfile="${ofile}T"
9652
+ trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9654
+ AC_MSG_NOTICE([creating $ofile])],
9655
+ [cfgfile="$ofile"])
9657
+ cat <<__EOF__ >> "$cfgfile"
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.
9665
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9666
+# Free Software Foundation, Inc.
9668
+# This file is part of GNU Libtool:
9669
+# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
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.
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.
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.
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.
9690
+# A sed program that does not truncate output.
9693
+# Sed that helps us avoid accidentally triggering echo(1) options like -n.
9694
+Xsed="$SED -e s/^X//"
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
9700
+# The names of the tagged configurations supported by this script.
9703
+# ### BEGIN LIBTOOL CONFIG],
9704
+[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
9706
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9708
+# Shell to use when invoking shell scripts.
9711
+# Whether or not to build shared libraries.
9712
+build_libtool_libs=$enable_shared
9714
+# Whether or not to build static libraries.
9715
+build_old_libs=$enable_static
9717
+# Whether or not to add -lc for building shared libraries.
9718
+build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
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)
9723
+# Whether or not to optimize for fast installation.
9724
+fast_install=$enable_fast_install
9727
+host_alias=$host_alias
9730
+# An echo program that does not interpret backslashes.
9735
+AR_FLAGS=$lt_AR_FLAGS
9740
+# A language-specific compiler.
9741
+CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
9743
+# Is the compiler the GNU C compiler?
9744
+with_gcc=$_LT_AC_TAGVAR(GCC, $1)
9749
+# The linker used to build libraries.
9750
+LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
9752
+# Whether we need hard or soft links.
9755
+# A BSD-compatible nm program.
9758
+# A symbol stripping program
9761
+# Used to examine libraries when file_magic_cmd begins "file"
9762
+MAGIC_CMD=$MAGIC_CMD
9764
+# Used on cygwin: DLL creation program.
9767
+# Used on cygwin: object dumper.
9770
+# Used on cygwin: assembler.
9773
+# The name of the directory that contains temporary libtool files.
9776
+# How to create reloadable object files.
9777
+reload_flag=$lt_reload_flag
9778
+reload_cmds=$lt_reload_cmds
9780
+# How to pass a linker flag through the compiler.
9781
+wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
9783
+# Object file suffix (normally "o").
9784
+objext="$ac_objext"
9786
+# Old archive suffix (normally "a").
9789
+# Shared library suffix (normally ".so").
9790
+shrext_cmds='$shrext_cmds'
9792
+# Executable file suffix (normally "").
9795
+# Additional compiler flags for building library objects.
9796
+pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
9799
+# What is the maximum length of a command?
9800
+max_cmd_len=$lt_cv_sys_max_cmd_len
9802
+# Does compiler simultaneously support -c and -o options?
9803
+compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
9805
+# Must we lock files when doing compilation ?
9806
+need_locks=$lt_need_locks
9808
+# Do we need the lib prefix for modules?
9809
+need_lib_prefix=$need_lib_prefix
9811
+# Do we need a version for libraries?
9812
+need_version=$need_version
9814
+# Whether dlopen is supported.
9815
+dlopen_support=$enable_dlopen
9817
+# Whether dlopen of programs is supported.
9818
+dlopen_self=$enable_dlopen_self
9820
+# Whether dlopen of statically linked programs is supported.
9821
+dlopen_self_static=$enable_dlopen_self_static
9823
+# Compiler flag to prevent dynamic linking.
9824
+link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
9826
+# Compiler flag to turn off builtin functions.
9827
+no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
9829
+# Compiler flag to allow reflexive dlopens.
9830
+export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
9832
+# Compiler flag to generate shared objects directly from archives.
9833
+whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
9835
+# Compiler flag to generate thread-safe objects.
9836
+thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
9838
+# Library versioning type.
9839
+version_type=$version_type
9841
+# Format of library name prefix.
9842
+libname_spec=$lt_libname_spec
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
9848
+# The coded name of the library, if different from the real name.
9849
+soname_spec=$lt_soname_spec
9851
+# Commands used to build and install an old-style archive.
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
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)
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)
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
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)
9873
+# Commands to strip libraries.
9874
+old_striplib=$lt_old_striplib
9875
+striplib=$lt_striplib
9877
+# Dependencies to place before the objects being linked to create a
9879
+predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
9881
+# Dependencies to place after the objects being linked to create a
9883
+postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
9885
+# Dependencies to place before the objects being linked to create a
9887
+predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
9889
+# Dependencies to place after the objects being linked to create a
9891
+postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
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)
9897
+# Method to check whether dependent libraries are shared objects.
9898
+deplibs_check_method=$lt_deplibs_check_method
9900
+# Command to use when deplibs_check_method == file_magic.
9901
+file_magic_cmd=$lt_file_magic_cmd
9903
+# Flag that allows shared libraries with undefined symbols to be built.
9904
+allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
9906
+# Flag that forces no undefined symbols.
9907
+no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
9909
+# Commands used to finish a libtool library installation in a directory.
9910
+finish_cmds=$lt_finish_cmds
9912
+# Same as above, but a single script fragment to be evaled but not shown.
9913
+finish_eval=$lt_finish_eval
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
9918
+# Transform the output of nm in a proper C declaration
9919
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
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
9924
+# This is the shared library runtime path variable.
9925
+runpath_var=$runpath_var
9927
+# This is the shared library path variable.
9928
+shlibpath_var=$shlibpath_var
9930
+# Is shlibpath searched before the hard-coded library search path?
9931
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9933
+# How to hardcode a shared library path into an executable.
9934
+hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
9936
+# Whether we should hardcode library paths into libraries.
9937
+hardcode_into_libs=$hardcode_into_libs
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)
9943
+# If ld is used when linking, flag to hardcode \$libdir into
9944
+# a binary during linking. This must work even if \$libdir does
9946
+hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
9948
+# Whether we need a single -rpath flag with a separated argument.
9949
+hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
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)
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)
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)
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)
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"
9971
+# Whether libtool must link a program against all its dependency libraries.
9972
+link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
9974
+# Compile-time system search path for libraries
9975
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9977
+# Run-time system search path for libraries
9978
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9980
+# Fix the shell variable \$srcfile for the compiler.
9981
+fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
9983
+# Set to yes if exported symbols are required.
9984
+always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
9986
+# The commands to list exported symbols.
9987
+export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
9989
+# The commands to extract the exported symbol list from a shared archive.
9990
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
9992
+# Symbols that should not be listed in the preloaded symbols.
9993
+exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
9995
+# Symbols that must always be exported.
9996
+include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
9999
+[# ### END LIBTOOL CONFIG],
10000
+[# ### END LIBTOOL TAG CONFIG: $tagname])
10007
+ cat <<\EOF >> "$cfgfile"
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
10014
+ export COLLECT_NAMES
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)
10026
+ mv -f "$cfgfile" "$ofile" || \
10027
+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10028
+ chmod +x "$ofile"
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"
10039
+])# AC_LIBTOOL_CONFIG
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
10047
+_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
10049
+if test "$GCC" = yes; then
10050
+ _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
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"])
10057
+])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
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],
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?!! ;)]
10073
+# Character class describing NM global symbol codes.
10074
+symcode='[[BCDEGRST]]'
10076
+# Regexp to match symbols that can be accessed directly from C.
10077
+sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
10079
+# Transform the above into a raw symbol and a C symbol.
10080
+symxfrm='\1 \2\3 \3'
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'"
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'"
10088
+# Define system-specific variables.
10091
+ symcode='[[BCDT]]'
10093
+cygwin* | mingw* | pw32*)
10094
+ symcode='[[ABCDGISTW]]'
10096
+hpux*) # Its linker distinguishes data from code symbols
10097
+ if test "$host_cpu" = ia64; then
10098
+ symcode='[[ABCDEGRST]]'
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'"
10103
+irix* | nonstopux*)
10104
+ symcode='[[BCDEGRST]]'
10107
+ symcode='[[BCDEGQRST]]'
10109
+solaris* | sysv5*)
10110
+ symcode='[[BDRT]]'
10113
+ symcode='[[DFNSTU]]'
10117
+# Handle CRLF in mingw tool chain
10121
+ opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
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]]' ;;
10131
+# Try without a prefix undercore, then with it.
10132
+for ac_symprfx in "" "_"; do
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'"
10137
+ # Check to see that the pipe works correctly.
10141
+ cat > conftest.$ac_ext <<EOF
10142
+#ifdef __cplusplus
10146
+void nm_test_func(){}
10147
+#ifdef __cplusplus
10150
+int main(){nm_test_var='a';nm_test_func();return(0);}
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"
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
10173
+ # Now generate the symbol file.
10174
+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
10176
+ cat <<EOF >> conftest.$ac_ext
10177
+#if defined (__STDC__) && __STDC__
10178
+# define lt_ptr_t void *
10180
+# define lt_ptr_t char *
10184
+/* The mapping between symbol names and symbols. */
10186
+ const char *name;
10187
+ lt_ptr_t address;
10189
+lt_preloaded_symbols[[]] =
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}
10197
+#ifdef __cplusplus
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
10210
+ LIBS="$lt_save_LIBS"
10211
+ CFLAGS="$lt_save_CFLAGS"
10213
+ echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
10216
+ echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
10219
+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
10222
+ echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
10223
+ cat conftest.$ac_ext >&5
10225
+ rm -f conftest* conftst*
10227
+ # Do not use the global_symbol_pipe unless it works.
10228
+ if test "$pipe_works" = yes; then
10231
+ lt_cv_sys_global_symbol_pipe=
10235
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
10236
+ lt_cv_sys_global_symbol_to_cdecl=
10238
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
10239
+ AC_MSG_RESULT(failed)
10241
+ AC_MSG_RESULT(ok)
10243
+]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
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)=
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'
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'
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'
10274
+ beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10275
+ # PIC is the default for these OSes.
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'
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'
10288
+ # DJGPP does not support shared libraries at all
10289
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
10292
+ if test -d /usr/nec; then
10293
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
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
10303
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
10308
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
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'
10319
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
10323
+ case $cc_basename in
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"
10331
+ case $cc_basename in
10333
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
10336
+ # Green Hills C++ Compiler
10337
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
10343
+ freebsd* | kfreebsd*-gnu)
10344
+ # FreeBSD uses GNU C++
10346
+ hpux9* | hpux10* | hpux11*)
10347
+ case $cc_basename in
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'
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
10363
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
10371
+ irix5* | irix6* | nonstopux*)
10372
+ case $cc_basename in
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.
10383
+ case $cc_basename in
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'
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'
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'
10411
+ case $cc_basename in
10413
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
10419
+ netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
10421
+ osf3* | osf4* | osf5*)
10422
+ case $cc_basename in
10424
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
10427
+ # Rational C++ 2.4.1
10428
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
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'
10445
+ case $cc_basename in
10447
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
10454
+ case $cc_basename in
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 '
10462
+ # Green Hills C++ Compiler
10463
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
10470
+ case $cc_basename in
10473
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
10474
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
10478
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
10485
+ case $cc_basename in
10487
+ # NonStop-UX NCC 3.20
10488
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
10499
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
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'
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'
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'
10525
+ beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10526
+ # PIC is the default for these OSes.
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'
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'
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
10549
+ if test -d /usr/nec; then
10550
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
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
10562
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
10568
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
10572
+ # PORTME Check for flag to pass linker flags through the system compiler.
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'
10580
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
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'
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
10599
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
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'
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'
10613
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
10614
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
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'
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'
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'
10639
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
10640
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
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'
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'
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'
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'
10669
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
10670
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
10674
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
10679
+AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
10682
+# Check to make sure the PIC flag actually works.
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
10690
+ *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
10692
+ [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
10693
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
10695
+case "$host_os" in
10696
+ # For platforms which do not support PIC, -DPIC is meaningless:
10698
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
10701
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
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'
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'
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'
10725
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
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'
10731
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=no
10734
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
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=
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
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
10794
+ # See if GNU ld supports shared libraries.
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
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.
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
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
10823
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
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'
10833
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
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'
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;
10853
+ echo EXPORTS > $output_objdir/$soname.def;
10854
+ cat $export_symbols >> $output_objdir/$soname.def;
10856
+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
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'
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'
10872
+ solaris* | sysv5*)
10873
+ if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
10874
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
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.
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'
10889
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
10894
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10896
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
10897
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
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 ;;
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'
10918
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds"
10920
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=no
10922
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
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'
10931
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
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'
10944
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
10948
+ # PORTME fill in a description of your system's linker (not GNU ld)
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
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'
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'
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'
10979
+ aix_use_runtimelinking=no
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
10993
+ exp_sym_flag='-bexport'
10994
+ no_entry_flag='-bnoentry'
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.
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
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
11016
+ # We have reworked collect2
11017
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
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)=
11029
+ shared_flag='-shared'
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:
11037
+ if test "$aix_use_runtimelinking" = yes; then
11038
+ shared_flag='${wl}-G'
11040
+ shared_flag='${wl}-bM:SRE'
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"
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"
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'
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
11089
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
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.
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
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'
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'
11124
+ case ${MACOSX_DEPLOYMENT_TARGET} in
11126
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
11129
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
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
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'
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'
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}'
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}'
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
11159
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
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
11170
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
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
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
11184
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
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
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
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'
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'
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
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'
11216
+ hpux10* | hpux11*)
11217
+ if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11218
+ case "$host_cpu" in
11220
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
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'
11227
+ case "$host_cpu" in
11229
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
11232
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11236
+ if test "$with_gnu_ld" = no; then
11237
+ case "$host_cpu" in
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
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
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
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'
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
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'
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'
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
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
11284
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
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
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
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'
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'
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'
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'
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'
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'
11336
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
11337
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
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'
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'
11351
+ # Both c and cxx compiler support -rpath directly
11352
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
11354
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
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
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'
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'
11376
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
11377
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
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' ;;
11383
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
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'
11392
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
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
11401
+ case $host_vendor in
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???
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
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
11418
+ runpath_var='LD_RUN_PATH'
11419
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
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'
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
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
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'
11452
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11454
+ runpath_var='LD_RUN_PATH'
11455
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
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'
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
11477
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
11482
+AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
11483
+test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
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"
11491
+# Do we need to explicitly link libc?
11493
+case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
11495
+ # Assume -lc should be added
11496
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
11498
+ if test "$enable_shared" = yes && test "$GCC" = yes; then
11499
+ case $_LT_AC_TAGVAR(archive_cmds, $1) in
11501
+ # FIXME: we may have to deal with multi-command sequences.
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])
11509
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11511
+ if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
11514
+ libobjs=conftest.$ac_objext
11516
+ wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
11517
+ compiler_flags=-v
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)
11526
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
11528
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
11530
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
11532
+ cat conftest.err 1>&5
11535
+ AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
11541
+])# AC_LIBTOOL_PROG_LD_SHLIBS
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>
11554
+# #ifndef __CYGWIN__
11555
+# # ifdef __CYGWIN32__
11556
+# # define __CYGWIN__ __CYGWIN32__
11560
+# #ifdef __cplusplus
11563
+# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
11564
+# #ifdef __cplusplus
11568
+# #ifdef __CYGWIN__
11569
+# #include <cygwin/cygwin_dll.h>
11570
+# DECLARE_CYGWIN_DLL( DllMain );
11572
+# HINSTANCE __hDllInstance_base;
11575
+# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
11577
+# __hDllInstance_base = hInst;
11580
+# /* ltdll.c ends here */
11581
+])# _LT_AC_FILE_LTDLL_C
11584
+# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
11585
+# ---------------------------------
11586
+AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
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])
11598
+# This is just to silence aclocal about the macro not being used
11599
+ifelse([AC_DISABLE_FAST_INSTALL])
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)
11607
+AC_DEFUN([LT_AC_PROG_RC],
11608
+[AC_CHECK_TOOL(RC, windres, no)
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. #
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
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"
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
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
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
11667
+SED=$lt_cv_path_SED
11669
+AC_MSG_RESULT([$SED])
11672
+# Configure paths for libogg
11673
+# Jack Moffitt <jack@icecast.org> 10-21-2000
11674
+# Shamelessly stolen from Owen Taylor and Manish Singh
11676
+dnl XIPH_PATH_OGG([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
11677
+dnl Test for libogg, and define OGG_CFLAGS and OGG_LIBS
11679
+AC_DEFUN([XIPH_PATH_OGG],
11681
+dnl Get the cflags and libraries
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)
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"
11696
+ OGG_LIBS="$OGG_LIBS -logg"
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"
11706
+ AC_MSG_CHECKING(for Ogg)
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"
11716
+dnl Now check if the installed Ogg is sufficiently new.
11718
+ rm -f conf.oggtest
11720
+#include <stdio.h>
11721
+#include <stdlib.h>
11722
+#include <string.h>
11723
+#include <ogg/ogg.h>
11727
+ system("touch conf.oggtest");
11731
+],, no_ogg=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
11732
+ CFLAGS="$ac_save_CFLAGS"
11733
+ LIBS="$ac_save_LIBS"
11736
+ if test "x$no_ogg" = "x" ; then
11737
+ AC_MSG_RESULT(yes)
11738
+ ifelse([$1], , :, [$1])
11740
+ AC_MSG_RESULT(no)
11741
+ if test -f conf.oggtest ; then
11744
+ echo "*** Could not run Ogg test program, checking why..."
11745
+ CFLAGS="$CFLAGS $OGG_CFLAGS"
11746
+ LIBS="$LIBS $OGG_LIBS"
11748
+#include <stdio.h>
11749
+#include <ogg/ogg.h>
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"
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"
11768
+ ifelse([$2], , :, [$2])
11770
+ AC_SUBST(OGG_CFLAGS)
11771
+ AC_SUBST(OGG_LIBS)
11772
+ rm -f conf.oggtest
11775
+# CFLAGS and library paths for XMMS
11776
+# written 15 December 1999 by Ben Gertzfield <che@debian.org>
11779
+dnl AM_PATH_XMMS([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
11782
+dnl AM_PATH_XMMS(0.9.5.1, , AC_MSG_ERROR([*** XMMS >= 0.9.5.1 not installed - please install first ***]))
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.
11790
+dnl XMMS_TEST_VERSION(AVAILABLE-VERSION, NEEDED-VERSION [, ACTION-IF-OKAY [, ACTION-IF-NOT-OKAY]])
11791
+AC_DEFUN([XMMS_TEST_VERSION], [
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.
11797
+# Written 15 December 1999 by Ben Gertzfield <che@debian.org>
11798
+# Revised 15 December 1999 by Jim Monty <monty@primenet.com>
11801
+ xmms_got_version=[` $AWK ' \
11803
+ print vercmp(ARGV[1], ARGV[2]); \
11806
+function vercmp(ver1, ver2, ver1arr, ver2arr, \
11807
+ ver1len, ver2len, \
11808
+ ver1int, ver2int, len, i, p) { \
11810
+ ver1len = split(ver1, ver1arr, /\./); \
11811
+ ver2len = split(ver2, ver2arr, /\./); \
11813
+ len = ver1len > ver2len ? ver1len : ver2len; \
11815
+ for (i = 1; i <= len; i++) { \
11816
+ p = 1000 ^ (len - i); \
11817
+ ver1int += ver1arr[i] * p; \
11818
+ ver2int += ver2arr[i] * p; \
11821
+ if (ver1int < ver2int) \
11823
+ else if (ver1int > ver2int) \
11829
+ if test $xmms_got_version -eq 2; then # failure
11830
+ ifelse([$4], , :, $4)
11832
+ ifelse([$3], , :, $3)
11836
+AC_DEFUN([AM_PATH_XMMS],
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="")
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
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
11857
+AC_PATH_PROG(XMMS_CONFIG, xmms-config, no)
11858
+min_xmms_version=ifelse([$1], ,0.9.5.1, $1)
11860
+if test "$XMMS_CONFIG" = "no"; then
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`
11875
+ XMMS_TEST_VERSION($XMMS_VERSION, $min_xmms_version, ,no_xmms=version)
11878
+AC_MSG_CHECKING(for XMMS - version >= $min_xmms_version)
11880
+if test "x$no_xmms" = x; then
11881
+ AC_MSG_RESULT(yes)
11882
+ ifelse([$2], , :, [$2])
11884
+ AC_MSG_RESULT(no)
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."
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/"
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)"
11910
+ ifelse([$3], , :, [$3])
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)
11924
+# -*- Autoconf -*-
11925
+# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
11926
+# Generated from amversion.in; do not edit by hand.
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.
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.
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
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"])
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])])
11955
+# Figure out how to run the assembler. -*- Autoconf -*-
11959
+# Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc.
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.
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.
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.
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)])
11987
+# AM_AUX_DIR_EXPAND
11989
+# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
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.
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.
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.
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/../..'.
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.
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
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.
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.
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.
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`
12051
+# AM_CONDITIONAL -*- Autoconf -*-
12053
+# Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
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.
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.
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.
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])
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.])
12094
+# serial 7 -*- Autoconf -*-
12096
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
12097
+# Free Software Foundation, Inc.
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.
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.
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.
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...
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.
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
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=])
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
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
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
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`
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.
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
12185
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
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
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
12226
+ rm -rf conftest.dir
12228
+ am_cv_$1_dependencies_compiler_type=none
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])
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
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='\'
12258
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
12259
+AC_SUBST([AMDEPBACKSLASH])
12262
+# Generate code to set up dependency tracking. -*- Autoconf -*-
12264
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
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.
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.
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.
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")`
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 = //
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"
12330
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
12333
+# AM_OUTPUT_DEPENDENCY_COMMANDS
12334
+# -----------------------------
12335
+# This macro should only be invoked once -- use via AC_REQUIRE.
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"])
12346
+# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
12348
+# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
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.
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.
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.
12367
+# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
12368
+AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
12370
+# Do all the work for Automake. -*- Autoconf -*-
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.
12375
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
12376
+# Free Software Foundation, Inc.
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.
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.
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.
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])
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'
12427
+AC_SUBST([CYGPATH_W])
12429
+# Define the identity of the package.
12430
+dnl Distinguish between old-style and new-style calls.
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
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
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
12457
+AC_REQUIRE([AC_PROG_AWK])dnl
12458
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
12459
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
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
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.
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.
12484
+for _am_header in $config_headers :; do
12485
+ case $_am_header in
12489
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12492
+echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
12494
+# AM_PROG_INSTALL_SH
12495
+# ------------------
12496
+# Define $install_sh.
12498
+# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
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.
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.
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.
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)])
12520
+# -*- Autoconf -*-
12521
+# Copyright (C) 2003 Free Software Foundation, Inc.
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.
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.
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.
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=.
12548
+ am__leading_dot=_
12550
+rmdir .tst 2>/dev/null
12551
+AC_SUBST([am__leading_dot])])
12553
+# Add --enable-maintainer-mode option to configure.
12554
+# From Jim Meyering
12556
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004
12557
+# Free Software Foundation, Inc.
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.
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.
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.
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
12591
+AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
12593
+# Check to see how 'make' treats includes. -*- Autoconf -*-
12595
+# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
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.
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.
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.
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'
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])
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
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
12650
+AC_SUBST([am__include])
12651
+AC_SUBST([am__quote])
12652
+AC_MSG_RESULT([$_am_result])
12653
+rm -f confinc confmf
12656
+# -*- Autoconf -*-
12659
+# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
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.
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.
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.
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"}
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 "
12698
+ AC_MSG_WARN([`missing' script is too old or missing])
12704
+# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
12706
+# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
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.
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.
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.
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
12728
+# - it causes special bits like SGID to be ignored,
12729
+# - it may be too restrictive (some setups expect 775 directories).
12731
+# Do not use -m 0755 and let people choose whatever they expect by
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
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 -- .'
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
12755
+ for d in ./-p ./--version;
12757
+ test -d $d && rmdir $d
12759
+ # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
12760
+ if test -f "$ac_aux_dir/mkinstalldirs"; then
12761
+ mkdir_p='$(mkinstalldirs)'
12763
+ mkdir_p='$(install_sh) -d'
12767
+AC_SUBST([mkdir_p])])
12769
+# Helper functions for option handling. -*- Autoconf -*-
12771
+# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
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.
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.
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.
12790
+# _AM_MANGLE_OPTION(NAME)
12791
+# -----------------------
12792
+AC_DEFUN([_AM_MANGLE_OPTION],
12793
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
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)])
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)])])
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])])
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],
12819
- for element in [$2]; do
12821
- for x in $[$1]; do
12822
- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
12823
- if test "X$x" = "X$element"; then
12828
- if test -z "$haveit"; then
12829
- [$1]="${[$1]}${[$1]:+ }$element"
12834
+# Check to make sure that the build environment is sane.
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.
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.
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],
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\"
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],
12874
- if test "X$withval" = "Xno"; then
12875
- use_additional=no
12877
- if test "X$withval" = "X"; then
12878
- AC_LIB_WITH_FINAL_PREFIX([
12879
- eval additional_includedir=\"$includedir\"
12880
- eval additional_libdir=\"$libdir\"
12883
- additional_includedir="$withval/include"
12884
- additional_libdir="$withval/lib"
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
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
12904
- if test -z "$haveit"; then
12905
- if test "X$additional_includedir" = "X/usr/local/include"; then
12906
- if test -n "$GCC"; then
12908
- linux*) haveit=yes;;
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"
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
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
12935
- if test -z "$haveit"; then
12936
- if test "X$additional_libdir" = "X/usr/local/lib"; then
12937
- if test -n "$GCC"; then
12939
- linux*) haveit=yes;;
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"
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.
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],
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"
12968
- acl_final_prefix="$prefix"
12970
- if test "X$exec_prefix" = "XNONE"; then
12971
- acl_final_exec_prefix='${prefix}'
12973
- acl_final_exec_prefix="$exec_prefix"
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"
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.
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],
12990
- acl_save_prefix="$prefix"
12991
- prefix="$acl_final_prefix"
12992
- acl_save_exec_prefix="$exec_prefix"
12993
- exec_prefix="$acl_final_exec_prefix"
12995
- exec_prefix="$acl_save_exec_prefix"
12996
- prefix="$acl_save_prefix"
13002
+AC_DEFUN([AM_SANITY_CHECK],
13003
+[AC_MSG_CHECKING([whether build environment is sane])
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
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`
13018
+ rm -f conftest.file
13019
+ if test "$[*]" != "X $srcdir/configure conftest.file" \
13020
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then
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])
13030
+ test "$[2]" = conftest.file
13036
+ AC_MSG_ERROR([newly created file is older than distributed files!
13037
+Check your system clock])
13039
+AC_MSG_RESULT(yes)])
13041
+# AM_PROG_INSTALL_STRIP
13043
+# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
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.
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.
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.
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], :)
13077
+INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
13078
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
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
13084
AMDEP_FALSE = @AMDEP_FALSE@
13085
AMDEP_TRUE = @AMDEP_TRUE@
13089
AUTOCONF = @AUTOCONF@
13090
AUTOHEADER = @AUTOHEADER@
13093
CPPFLAGS = @CPPFLAGS@
13096
CXXDEPMODE = @CXXDEPMODE@
13097
CXXFLAGS = @CXXFLAGS@
13098
CYGPATH_W = @CYGPATH_W@
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 @@
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
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
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.
13141
-timestamp='2004-03-12'
13142
+timestamp='2005-08-03'
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 @@
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.
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.
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.
13164
GNU config.guess ($timestamp)
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.
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
13175
--time-stamp | --time* | -t )
13176
- echo "$timestamp" ; exit 0 ;;
13177
+ echo "$timestamp" ; exit ;;
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
13186
- ) # Use stdin as input.
13187
@@ -123,7 +125,7 @@
13189
,,*) CC_FOR_BUILD=$CC ;;
13190
,*,*) CC_FOR_BUILD=$HOST_CC ;;
13192
+esac ; set_cc_for_build= ;'
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}"
13201
- amd64:OpenBSD:*:*)
13202
- echo x86_64-unknown-openbsd${UNAME_RELEASE}
13204
- amiga:OpenBSD:*:*)
13205
- echo m68k-unknown-openbsd${UNAME_RELEASE}
13208
- echo mipsel-unknown-openbsd${UNAME_RELEASE}
13210
- cats:OpenBSD:*:*)
13211
- echo arm-unknown-openbsd${UNAME_RELEASE}
13213
- hp300:OpenBSD:*:*)
13214
- echo m68k-unknown-openbsd${UNAME_RELEASE}
13216
- mac68k:OpenBSD:*:*)
13217
- echo m68k-unknown-openbsd${UNAME_RELEASE}
13219
- macppc:OpenBSD:*:*)
13220
- echo powerpc-unknown-openbsd${UNAME_RELEASE}
13222
- mvme68k:OpenBSD:*:*)
13223
- echo m68k-unknown-openbsd${UNAME_RELEASE}
13225
- mvme88k:OpenBSD:*:*)
13226
- echo m88k-unknown-openbsd${UNAME_RELEASE}
13228
- mvmeppc:OpenBSD:*:*)
13229
- echo powerpc-unknown-openbsd${UNAME_RELEASE}
13231
- pegasos:OpenBSD:*:*)
13232
- echo powerpc-unknown-openbsd${UNAME_RELEASE}
13234
- pmax:OpenBSD:*:*)
13235
- echo mipsel-unknown-openbsd${UNAME_RELEASE}
13238
- echo mipseb-unknown-openbsd${UNAME_RELEASE}
13240
- sun3:OpenBSD:*:*)
13241
- echo m68k-unknown-openbsd${UNAME_RELEASE}
13243
- wgrisc:OpenBSD:*:*)
13244
- echo mipsel-unknown-openbsd${UNAME_RELEASE}
13248
- echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
13250
+ UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
13251
+ echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
13254
echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
13258
echo powerppc-unknown-mirbsd${UNAME_RELEASE}
13262
echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
13266
case $UNAME_RELEASE in
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'`
13273
- Alpha*:OpenVMS:*:*)
13274
- echo alpha-hp-vms
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
13284
21064:Windows_NT:50:3)
13285
echo alpha-dec-winnt3.5
13288
Amiga*:UNIX_System_V:4.0:*)
13289
echo m68k-unknown-sysv4
13292
*:[Aa]miga[Oo][Ss]:*:*)
13293
echo ${UNAME_MACHINE}-unknown-amigaos
13296
*:[Mm]orph[Oo][Ss]:*:*)
13297
echo ${UNAME_MACHINE}-unknown-morphos
13301
echo i370-ibm-openedition
13305
+ echo s390-ibm-zvmoe
13308
echo powerpc-ibm-os400
13311
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
13312
echo arm-acorn-riscix${UNAME_RELEASE}
13315
+ arm:riscos:*:*|arm:RISCOS:*:*)
13316
+ echo arm-unknown-riscos
13318
SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
13319
echo hppa1.1-hitachi-hiuxmpp
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 @@
13327
echo pyramid-pyramid-bsd
13332
echo pyramid-pyramid-svr4
13335
DRS?6000:unix:4.0:6*)
13338
- DRS?6000:UNIX_SV:4.2*:7*)
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 ;;
13346
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
13349
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
13350
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
13354
echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
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/[^.]*//'`
13365
case "`/usr/bin/arch -k`" in
13367
@@ -381,10 +342,10 @@
13369
# Japanese Language versions have a version number like `4.1.3-JL'.
13370
echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
13374
echo m68k-sun-sunos${UNAME_RELEASE}
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}
13387
echo sparc-auspex-sunos${UNAME_RELEASE}
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 @@
13395
atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
13396
echo m68k-atari-mint${UNAME_RELEASE}
13399
atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
13400
echo m68k-atari-mint${UNAME_RELEASE}
13403
*falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
13404
echo m68k-atari-mint${UNAME_RELEASE}
13407
milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
13408
echo m68k-milan-mint${UNAME_RELEASE}
13411
hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
13412
echo m68k-hades-mint${UNAME_RELEASE}
13415
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
13416
echo m68k-unknown-mint${UNAME_RELEASE}
13420
echo m68k-apple-machten${UNAME_RELEASE}
13423
powerpc:machten:*:*)
13424
echo powerpc-apple-machten${UNAME_RELEASE}
13428
echo mips-dec-mach_bsd4.3
13432
echo mips-dec-ultrix${UNAME_RELEASE}
13436
echo vax-dec-ultrix${UNAME_RELEASE}
13439
2020:CLIX:*:* | 2430:CLIX:*:*)
13440
echo clipper-intergraph-clix${UNAME_RELEASE}
13443
mips:*:*:UMIPS | mips:*:*:RISCos)
13444
eval $set_cc_for_build
13445
sed 's/^ //' << EOF >$dummy.c
13446
@@ -467,32 +428,33 @@
13450
- $CC_FOR_BUILD -o $dummy $dummy.c \
13451
- && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
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}
13460
Motorola:PowerMAX_OS:*:*)
13461
echo powerpc-motorola-powermax
13464
Motorola:*:4.3:PL8-*)
13465
echo powerpc-harris-powermax
13468
Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
13469
echo powerpc-harris-powermax
13472
Night_Hawk:Power_UNIX:*:*)
13473
echo powerpc-harris-powerunix
13477
echo m88k-harris-cxux7
13481
echo m88k-motorola-sysv4
13485
echo m88k-motorola-sysv3
13489
# DG/UX returns AViiON for all architectures
13490
UNAME_PROCESSOR=`/usr/bin/uname -p`
13491
@@ -508,29 +470,29 @@
13493
echo i586-dg-dgux${UNAME_RELEASE}
13497
M88*:DolphinOS:*:*) # DolphinOS (SVR3)
13498
echo m88k-dolphin-sysv3
13502
# Delta 88k system running SVR3
13503
echo m88k-motorola-sysv3
13506
XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
13507
echo m88k-tektronix-sysv3
13510
Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
13511
echo m68k-tektronix-bsd
13515
echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
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 '
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}
13533
echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
13537
if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
13538
eval $set_cc_for_build
13539
@@ -553,14 +515,18 @@
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`
13547
+ echo "$SYSTEM_NAME"
13549
+ echo rs6000-ibm-aix3.2.5
13551
elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
13552
echo rs6000-ibm-aix3.2.4
13554
echo rs6000-ibm-aix3.2
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}
13564
echo ${IBM_ARCH}-ibm-aix${IBM_REV}
13568
echo rs6000-ibm-aix
13571
ibmrt:4.4BSD:*|romp-ibm:BSD:*)
13572
echo romp-ibm-bsd4.4
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
13580
echo rs6000-bull-bosx
13583
DPX/2?00:B.O.S.:*:*)
13584
echo m68k-bull-sysv3
13587
9000/[34]??:4.3bsd:1.*:*)
13591
hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
13592
echo m68k-hp-bsd4.4
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 @@
13600
if [ ${HP_ARCH} = "hppa2.0w" ]
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
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:
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
13616
+ if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
13617
+ grep __LP64__ >/dev/null
13621
@@ -667,11 +643,11 @@
13624
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
13628
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
13629
echo ia64-hp-hpux${HPUX_REV}
13633
eval $set_cc_for_build
13634
sed 's/^ //' << EOF >$dummy.c
13635
@@ -699,166 +675,166 @@
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
13645
9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
13646
echo hppa1.1-hp-bsd
13649
9000/8??:4.3bsd:*:*)
13650
echo hppa1.0-hp-bsd
13653
*9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
13654
echo hppa1.0-hp-mpeix
13657
hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
13658
echo hppa1.1-hp-osf
13662
echo hppa1.0-hp-osf
13666
if [ -x /usr/sbin/sysversion ] ; then
13667
echo ${UNAME_MACHINE}-unknown-osf1mk
13669
echo ${UNAME_MACHINE}-unknown-osf1
13673
parisc*:Lites*:*:*)
13674
echo hppa1.1-hp-lites
13677
C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
13681
C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
13682
if getsysinfo -f scalar_acc
13683
then echo c32-convex-bsd
13684
else echo c2-convex-bsd
13688
C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
13689
echo c34-convex-bsd
13692
C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
13693
echo c38-convex-bsd
13696
C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
13701
echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
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/'
13712
echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
13716
echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
13720
echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
13724
- echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
13726
+ echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
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}"
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}"
13741
i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
13742
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
13746
echo sparc-unknown-bsdi${UNAME_RELEASE}
13750
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
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
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}
13770
+ echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
13773
echo ${UNAME_MACHINE}-pc-cygwin
13777
echo ${UNAME_MACHINE}-pc-mingw32
13781
+ # uname -m includes "-pc" on this system.
13782
+ echo ${UNAME_MACHINE}-mingw32
13785
echo ${UNAME_MACHINE}-pc-pw32
13788
x86:Interix*:[34]*)
13789
echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
13792
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
13793
echo i${UNAME_MACHINE}-pc-mks
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
13804
echo ${UNAME_MACHINE}-pc-uwin
13807
+ amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
13808
+ echo x86_64-unknown-cygwin
13811
echo powerpcle-unknown-cygwin
13815
echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
13820
echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
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
13829
echo ${UNAME_MACHINE}-pc-minix
13833
echo ${UNAME_MACHINE}-unknown-linux-gnu
13837
echo cris-axis-linux-gnu
13840
+ crisv32:Linux:*:*)
13841
+ echo crisv32-axis-linux-gnu
13844
+ echo frv-unknown-linux-gnu
13847
echo ${UNAME_MACHINE}-unknown-linux-gnu
13851
echo ${UNAME_MACHINE}-unknown-linux-gnu
13855
echo ${UNAME_MACHINE}-unknown-linux-gnu
13859
eval $set_cc_for_build
13860
sed 's/^ //' << EOF >$dummy.c
13861
@@ -876,7 +852,7 @@
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; }
13869
eval $set_cc_for_build
13870
@@ -895,14 +871,17 @@
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; }
13878
+ echo or32-unknown-linux-gnu
13881
echo powerpc-unknown-linux-gnu
13885
echo powerpc64-unknown-linux-gnu
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}
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 ;;
13906
parisc64:Linux:*:* | hppa64:Linux:*:*)
13907
echo hppa64-unknown-linux-gnu
13910
s390:Linux:*:* | s390x:Linux:*:*)
13911
echo ${UNAME_MACHINE}-ibm-linux
13915
echo ${UNAME_MACHINE}-unknown-linux-gnu
13919
echo ${UNAME_MACHINE}-unknown-linux-gnu
13922
sparc:Linux:*:* | sparc64:Linux:*:*)
13923
echo ${UNAME_MACHINE}-unknown-linux-gnu
13927
echo x86_64-unknown-linux-gnu
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 @@
13936
echo "${UNAME_MACHINE}-pc-linux-gnuaout"
13940
echo "${UNAME_MACHINE}-pc-linux-gnucoff"
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"
13950
# Determine whether the default compiler is a.out or elf
13951
eval $set_cc_for_build
13952
@@ -996,15 +975,18 @@
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}"
13962
+ test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
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
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}
13981
# If we were able to find `uname', then EMX Unix compatibility
13982
# is probably installed.
13983
echo ${UNAME_MACHINE}-pc-os2-emx
13986
i*86:XTS-300:*:STOP)
13987
echo ${UNAME_MACHINE}-unknown-stop
13991
echo ${UNAME_MACHINE}-unknown-atheos
13993
- i*86:syllable:*:*)
13995
+ i*86:syllable:*:*)
13996
echo ${UNAME_MACHINE}-pc-syllable
13999
i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
14000
echo i386-unknown-lynxos${UNAME_RELEASE}
14004
echo ${UNAME_MACHINE}-pc-msdosdjgpp
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 @@
14012
echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
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 ;;
14024
echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
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 @@
14032
echo ${UNAME_MACHINE}-pc-sysv32
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
14048
echo i860-intel-osf1
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
14059
mini*:CTIX:SYS*5:*)
14061
echo m68010-convergent-sysv
14064
mc68k:UNIX:SYSTEM5:3.51m)
14065
echo m68k-convergent-sysv
14068
M680?0:D-NIX:5.3:*)
14069
echo m68k-diab-dnix
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)
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)
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}
14095
mc68030:UNIX_System_V:4.*:*)
14096
echo m68k-atari-sysv4
14099
TSUNAMI:LynxOS:2.*:*)
14100
echo sparc-unknown-lynxos${UNAME_RELEASE}
14103
rs6000:LynxOS:2.*:*)
14104
echo rs6000-unknown-lynxos${UNAME_RELEASE}
14107
PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
14108
echo powerpc-unknown-lynxos${UNAME_RELEASE}
14111
SM[BE]S:UNIX_SV:*:*)
14112
echo mips-dde-sysv${UNAME_RELEASE}
14115
RM*:ReliantUNIX-*:*:*)
14116
echo mips-sni-sysv4
14120
echo mips-sni-sysv4
14124
if uname -p 2>/dev/null >/dev/null ; then
14125
UNAME_MACHINE=`(uname -p) 2>/dev/null`
14126
@@ -1140,68 +1123,73 @@
14128
echo ns32k-sni-sysv
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
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
14144
# From seanf@swdc.stratus.com.
14145
echo i860-stratus-sysv4
14149
+ # From Paul.Green@stratus.com.
14150
+ echo ${UNAME_MACHINE}-stratus-vos
14153
# From Paul.Green@stratus.com.
14154
echo hppa1.1-stratus-vos
14158
echo m68k-apple-aux${UNAME_RELEASE}
14161
news*:NEWS-OS:6*:*)
14162
echo mips-sony-newsos6
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}
14169
echo mips-unknown-sysv${UNAME_RELEASE}
14173
BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
14174
echo powerpc-be-beos
14177
BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
14178
echo powerpc-apple-beos
14181
BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
14186
echo sx4-nec-superux${UNAME_RELEASE}
14190
echo sx5-nec-superux${UNAME_RELEASE}
14194
echo sx6-nec-superux${UNAME_RELEASE}
14197
Power*:Rhapsody:*:*)
14198
echo powerpc-apple-rhapsody${UNAME_RELEASE}
14202
echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
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 ;;
14213
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
14216
*:procnto*:*:* | *:QNX:[0123456789]*:*)
14217
UNAME_PROCESSOR=`uname -p`
14218
if test "$UNAME_PROCESSOR" = "x86"; then
14219
@@ -1209,22 +1197,25 @@
14222
echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
14229
+ NSE-?:NONSTOP_KERNEL:*:*)
14230
+ echo nse-tandem-nsk${UNAME_RELEASE}
14232
NSR-?:NONSTOP_KERNEL:*:*)
14233
echo nsr-tandem-nsk${UNAME_RELEASE}
14237
echo mips-compaq-nonstopux
14241
echo bs2000-siemens-sysv
14244
DS/*:UNIX_System_V:*:*)
14245
echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
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"
14254
echo ${UNAME_MACHINE}-unknown-plan9
14258
echo pdp10-unknown-tops10
14262
echo pdp10-unknown-tenex
14265
KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
14266
echo pdp10-dec-tops20
14269
XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
14270
echo pdp10-xkl-tops20
14274
echo pdp10-unknown-tops20
14278
echo pdp10-unknown-its
14282
echo mips-sei-seiux${UNAME_RELEASE}
14286
echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
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 ;;
14297
+ echo i386-pc-xenix
14300
+ echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
14304
#echo '(No uname command or uname output not recognized.)' 1>&2
14305
@@ -1291,7 +1295,7 @@
14308
#if defined (__arm) && defined (__acorn) && defined (__unix)
14309
- printf ("arm-acorn-riscix"); exit (0);
14310
+ printf ("arm-acorn-riscix\n"); exit (0);
14313
#if defined (hp300) && !defined (hpux)
14314
@@ -1380,11 +1384,12 @@
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; }
14322
# Apollos put the system type in the environment.
14324
-test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
14325
+test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
14327
# Convex versions that predate uname can use getsysinfo(1)
14329
@@ -1393,22 +1398,22 @@
14330
case `getsysinfo -f cpu_type` in
14336
if getsysinfo -f scalar_acc
14337
then echo c32-convex-bsd
14338
else echo c2-convex-bsd
14343
echo c34-convex-bsd
14347
echo c38-convex-bsd
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
14361
- ftp://ftp.gnu.org/pub/gnu/config/
14362
+ http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
14364
+ http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
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
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.
14378
-timestamp='2004-03-12'
14379
+timestamp='2005-07-08'
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 @@
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.
14390
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
14391
+# 02110-1301, USA.
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.
14399
# Please send patches to <config-patches@gnu.org>. Submit a context
14400
# diff and a properly formatted ChangeLog entry.
14404
GNU config.sub ($timestamp)
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.
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
14414
--time-stamp | --time* | -t )
14415
- echo "$timestamp" ; exit 0 ;;
14416
+ echo "$timestamp" ; exit ;;
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
14425
- ) # Use stdin as input.
14428
# First pass through any local machine types.
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 | \
14440
+ -apple | -axis | -knuth | -cray)
14444
@@ -231,13 +232,14 @@
14445
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
14447
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
14450
| d10v | d30v | dlx | dsp16xx \
14452
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
14453
| i370 | i860 | i960 | ia64 \
14455
- | m32r | m32rle | m68000 | m68k | m88k | mcore \
14456
+ | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
14457
| mips | mipsbe | mipseb | mipsel | mipsle \
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 \
14475
- | openrisc | or32 \
14477
| pdp10 | pdp11 | pj | pjl \
14478
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
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 \
14483
- | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
14484
+ | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
14485
+ | sparcv8 | sparcv9 | sparcv9b \
14487
| tahoe | thumb | tic4x | tic80 | tron \
14490
- | x86 | xscale | xstormy16 | xtensa \
14491
+ | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
14493
basic_machine=$basic_machine-unknown
14496
+ basic_machine=$basic_machine-unknown
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*-* \
14506
+ | bfin-* | bs2000-* \
14507
| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
14508
- | clipper-* | cydra-* \
14509
+ | clipper-* | craynv-* | cydra-* \
14510
| d10v-* | d30v-* | dlx-* \
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-* \
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-* \
14537
- | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
14538
+ | none-* | np1-* | ns16k-* | ns32k-* \
14540
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
14541
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
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-* \
14550
| sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
14551
| tahoe-* | thumb-* \
14552
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
14554
| v850-* | v850e-* | vax-* \
14556
- | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
14558
+ | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
14559
+ | xstormy16-* | xtensa-* \
14565
# Recognize the various machine names and aliases which stand
14566
# for a CPU type and a company and sometimes even an OS.
14568
@@ -445,6 +459,10 @@
14569
basic_machine=j90-cray
14573
+ basic_machine=craynv-cray
14577
basic_machine=cr16c-unknown
14579
@@ -452,6 +470,9 @@
14581
basic_machine=m68k-crds
14583
+ crisv32 | crisv32-* | etraxfs*)
14584
+ basic_machine=crisv32-axis
14586
cris | cris-* | etrax*)
14587
basic_machine=cris-axis
14589
@@ -481,6 +502,10 @@
14590
basic_machine=m88k-motorola
14594
+ basic_machine=i586-pc
14598
basic_machine=rs6000-bull
14600
@@ -659,10 +684,6 @@
14602
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
14605
- basic_machine=mmix-knuth
14609
basic_machine=m68k-rom68k
14611
@@ -743,10 +764,6 @@
14613
basic_machine=np1-gould
14616
- basic_machine=nv1-cray
14620
basic_machine=nsr-tandem
14622
@@ -754,9 +771,8 @@
14623
basic_machine=hppa1.1-oki
14627
+ openrisc | openrisc-*)
14628
basic_machine=or32-unknown
14632
basic_machine=powerpc-ibm
14633
@@ -1029,6 +1045,10 @@
14634
basic_machine=hppa1.1-winbond
14638
+ basic_machine=i686-pc
14642
basic_machine=xps100-honeywell
14644
@@ -1059,6 +1079,9 @@
14646
basic_machine=romp-ibm
14649
+ basic_machine=mmix-knuth
14652
basic_machine=rs6000-ibm
14654
@@ -1075,12 +1098,9 @@
14656
basic_machine=we32k-att
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
14663
- basic_machine=sh64-unknown
14665
sparc | sparcv8 | sparcv9 | sparcv9b)
14666
basic_machine=sparc-sun
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.
14678
@@ -1185,7 +1206,7 @@
14679
os=`echo $os | sed -e 's|nto|nto-qnx|'`
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*)
14687
@@ -1294,6 +1315,9 @@
14697
@@ -1371,9 +1395,15 @@
14713
@@ -1539,7 +1569,7 @@
14716
echo $basic_machine$os
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 @@
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`}
14734
- *-DOS) lt_cv_sys_path_separator=';' ;;
14735
- *) lt_cv_sys_path_separator=':' ;;
14737
- PATH_SEPARATOR=$lt_cv_sys_path_separator
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
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!
14752
@@ -282,7 +271,7 @@
14753
# used as fallback echo
14761
@@ -316,8 +305,9 @@
14763
# So, first we look for a working echo in the user's PATH.
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 @@
14777
+ IFS="$lt_save_ifs"
14779
if test "X$echo" = Xecho; then
14780
# We didn't find a better echo, so look for alternatives.
14781
@@ -400,6 +390,11 @@
14786
+tagnames=${tagnames+${tagnames},}CXX
14788
+tagnames=${tagnames+${tagnames},}F77
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>
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'
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
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 @@
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
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
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>
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)
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 @@
14900
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
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 ;;
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
14923
- IFS="$ac_save_ifs"
14926
+ case $enableval in
14927
+ yes) enable_shared=yes ;;
14928
+ no) 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
14939
+ IFS="$lt_save_ifs"
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 ;;
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
14962
- IFS="$ac_save_ifs"
14965
+ case $enableval in
14966
+ yes) enable_static=yes ;;
14967
+ no) 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
14978
+ IFS="$lt_save_ifs"
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 ;;
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
15001
- IFS="$ac_save_ifs"
15004
+ case $enableval in
15005
+ yes) enable_fast_install=yes ;;
15006
+ no) enable_fast_install=no ;;
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
15017
+ IFS="$lt_save_ifs"
15021
enable_fast_install=yes
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
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
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
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
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
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
15087
@@ -3187,16 +3204,77 @@
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`}
15096
- *-DOS) lt_cv_sys_path_separator=';' ;;
15097
- *) lt_cv_sys_path_separator=':' ;;
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
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
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"
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
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
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
15150
+SED=$lt_cv_path_SED
15154
+echo "$as_me:$LINENO: result: $SED" >&5
15155
+echo "${ECHO_T}$SED" >&6
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
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'
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
15173
# Check whether --with-gnu-ld or --without-gnu-ld was given.
15174
@@ -3209,8 +3287,8 @@
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
15184
# gcc leaves a trailing carriage return which upsets mingw
15185
@@ -3220,12 +3298,12 @@
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%/%"`
15200
test -z "$LD" && LD="$ac_prog"
15202
@@ -3249,22 +3327,26 @@
15203
echo $ECHO_N "(cached) $ECHO_C" >&6
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
15223
test "$with_gnu_ld" != yes && break
15229
- IFS="$ac_save_ifs"
15230
+ IFS="$lt_save_ifs"
15232
lt_cv_path_LD="$LD" # Let the user override the test with a path.
15234
@@ -3287,11 +3369,14 @@
15235
echo $ECHO_N "(cached) $ECHO_C" >&6
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
15245
lt_cv_prog_gnu_ld=no
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
15259
+*) reload_flag=" $reload_flag" ;;
15261
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
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"
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"
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"
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
15296
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
15298
+ lt_cv_path_NM="$tmp_nm -p"
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
15309
- IFS="$ac_save_ifs"
15310
+ IFS="$lt_save_ifs"
15311
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
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
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
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
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.
15343
@@ -3394,25 +3490,24 @@
15344
lt_cv_file_magic_test_file=/shlib/libc.so
15347
-cygwin* | mingw* | pw32*)
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'
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'
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`
15368
- *) # Darwin 1.3 on
15369
- lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
15372
+ lt_cv_deplibs_check_method=pass_all
15376
+freebsd* | kfreebsd*-gnu)
15377
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
15380
@@ -3432,50 +3527,44 @@
15381
lt_cv_deplibs_check_method=pass_all
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
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
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
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
15407
- *-32|*"-32 ") libmagic=32-bit;;
15408
- *-n32|*"-n32 ") libmagic=N32;;
15409
- *-64|*"-64 ") libmagic=64-bit;;
15410
- *) libmagic=never-match;;
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
15418
- lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
15421
+irix5* | irix6* | nonstopux*)
15423
+ *-32|*"-32 ") libmagic=32-bit;;
15424
+ *-n32|*"-n32 ") libmagic=N32;;
15425
+ *-64|*"-64 ") libmagic=64-bit;;
15426
+ *) libmagic=never-match;;
15428
lt_cv_deplibs_check_method=pass_all
15431
# This must be Linux ELF.
15433
- case $host_cpu in
15434
- alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* )
15435
- lt_cv_deplibs_check_method=pass_all ;;
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 )' ;;
15440
- lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
15442
+ lt_cv_deplibs_check_method=pass_all
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)$'
15451
- lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
15452
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
15456
@@ -3485,6 +3574,10 @@
15457
lt_cv_file_magic_test_file=/usr/lib/libnls.so
15461
+ lt_cv_deplibs_check_method=unknown
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 @@
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
15477
@@ -3508,11 +3598,6 @@
15480
lt_cv_deplibs_check_method=pass_all
15481
- lt_cv_file_magic_test_file=/lib/libc.so
15484
-sysv5uw[78]* | sysv4*uw2*)
15485
- lt_cv_deplibs_check_method=pass_all
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
15494
+ lt_cv_deplibs_check_method=pass_all
15499
+sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
15500
+ lt_cv_deplibs_check_method=pass_all
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
15514
+# If no C compiler was specified, use CC.
15515
+LTCC=${LTCC-"$CC"}
15517
+# Allow CC to be a program name with arguments.
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"
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
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?!! ;)]
15535
-# Character class describing NM global symbol codes.
15536
-symcode='[BCDEGRST]'
15538
-# Regexp to match symbols that can be accessed directly from C.
15539
-sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
15541
-# Transform the above into a raw symbol and a C symbol.
15542
-symxfrm='\1 \2\3 \3'
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'"
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'"
15550
-# Define system-specific variables.
15555
-cygwin* | mingw* | pw32*)
15556
- symcode='[ABCDGISTW]'
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'"
15563
- symcode='[BCDEGRST]'
15565
-solaris* | sysv5*)
15569
- symcode='[DFNSTU]'
15573
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
15575
-# Handle CRLF in mingw tool chain
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.
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
15589
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590
+ (exit $ac_status); }; then
15591
+ case `/usr/bin/file conftest.$ac_objext` in
15593
+ HPUX_IA64_MODE="32"
15596
+ HPUX_IA64_MODE="64"
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]'
15609
-# Try without a prefix undercore, then with it.
15610
-for ac_symprfx in "" "_"; do
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'"
15615
- # Check to see that the pipe works correctly.
15618
- cat > conftest.$ac_ext <<EOF
15619
-#ifdef __cplusplus
15623
-void nm_test_func(){}
15624
-#ifdef __cplusplus
15627
-int main(){nm_test_var='a';nm_test_func();return(0);}
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
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
15645
+ LD="${LD-ld} -melf32bsmip"
15648
+ LD="${LD-ld} -melf32bmipn32"
15651
+ LD="${LD-ld} -melf64bmip"
15655
+ case `/usr/bin/file conftest.$ac_objext` in
15657
+ LD="${LD-ld} -32"
15660
+ LD="${LD-ld} -n32"
15663
+ LD="${LD-ld} -64"
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
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"
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
15693
+ (exit $ac_status); }; then
15694
+ case "`/usr/bin/file conftest.o`" in
15698
+ LD="${LD-ld} -m elf_i386"
15700
+ ppc64-*linux*|powerpc64-*linux*)
15701
+ LD="${LD-ld} -m elf32ppclinux"
15704
+ LD="${LD-ld} -m elf_s390"
15707
+ LD="${LD-ld} -m elf32_sparc"
15714
+ LD="${LD-ld} -m elf_x86_64"
15716
+ ppc*-*linux*|powerpc*-*linux*)
15717
+ LD="${LD-ld} -m elf64ppc"
15720
+ LD="${LD-ld} -m elf64_s390"
15723
+ LD="${LD-ld} -m elf64_sparc"
15733
- # Now generate the symbol file.
15734
- eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
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
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
15750
- cat <<EOF >> conftest.$ac_ext
15751
-#if defined (__STDC__) && __STDC__
15752
-# define lt_ptr void *
15754
-# define lt_ptr char *
15757
+ cat >conftest.$ac_ext <<_ACEOF
15760
+cat confdefs.h >>conftest.$ac_ext
15761
+cat >>conftest.$ac_ext <<_ACEOF
15762
+/* end confdefs.h. */
15764
-/* The mapping between symbol names and symbols. */
15766
- const char *name;
15769
-lt_preloaded_symbols[] =
15774
- sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
15775
- cat <<\EOF >> conftest.$ac_ext
15779
-#ifdef __cplusplus
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
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
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
15805
- LIBS="$save_LIBS"
15806
- CFLAGS="$save_CFLAGS"
15808
- echo "cannot find nm_test_func in $nlist" >&5
15811
- echo "cannot find nm_test_var in $nlist" >&5
15814
- echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
15817
- echo "$progname: failed program was:" >&5
15818
- cat conftest.$ac_ext >&5
15820
- rm -f conftest* conftst*
15822
- # Do not use the global_symbol_pipe unless it works.
15823
- if test "$pipe_works" = yes; then
15826
- lt_cv_sys_global_symbol_pipe=
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
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
15840
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841
+ (exit $ac_status); }; }; then
15842
+ lt_cv_cc_needs_belf=yes
15844
+ echo "$as_me: failed program was:" >&5
15845
+sed 's/^/| /' conftest.$ac_ext >&5
15847
+lt_cv_cc_needs_belf=no
15849
+rm -f conftest.err conftest.$ac_objext \
15850
+ conftest$ac_exeext conftest.$ac_ext
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
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=
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"
15865
-if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
15867
- echo "$as_me:$LINENO: result: failed" >&5
15868
-echo "${ECHO_T}failed" >&6
15870
- echo "$as_me:$LINENO: result: ok" >&5
15871
-echo "${ECHO_T}ok" >&6
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"
15883
+need_locks="$enable_libtool_lock"
15887
ac_cpp='$CPP $CPPFLAGS'
15888
@@ -3980,21 +4073,6 @@
15889
ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
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'
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
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
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
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
15940
@@ -4383,159 +4458,65 @@
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
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
15959
+ if test -n "$CXX"; then
15960
+ ac_cv_prog_CXX="$CXX" # Let the user override the test.
15962
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15963
+for as_dir in $PATH
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
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
15983
+ echo "$as_me:$LINENO: result: no" >&5
15984
+echo "${ECHO_T}no" >&6
15989
-# Only perform the check for file, if the check method requires it
15990
-case $deplibs_check_method in
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
15999
+if test -z "$CXX"; then
16001
+ for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
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
16010
- case $MAGIC_CMD in
16012
- lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
16015
- lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
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
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
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
16052
- IFS="$ac_save_ifs"
16053
- MAGIC_CMD="$ac_save_MAGIC_CMD"
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
16063
- echo "$as_me:$LINENO: result: no" >&5
16064
-echo "${ECHO_T}no" >&6
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
16074
- case $MAGIC_CMD in
16076
- lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
16079
- lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
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
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
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
16116
- IFS="$ac_save_ifs"
16117
- MAGIC_CMD="$ac_save_MAGIC_CMD"
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
16127
- echo "$as_me:$LINENO: result: no" >&5
16128
-echo "${ECHO_T}no" >&6
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
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.
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
16164
@@ -4553,194 +4534,110 @@
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
16177
echo "$as_me:$LINENO: result: no" >&5
16178
echo "${ECHO_T}no" >&6
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
16191
- if test -n "$ac_ct_RANLIB"; then
16192
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16194
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16195
-for as_dir in $PATH
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
16206
+ test -n "$ac_ct_CXX" && break
16208
+test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
16210
- test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
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
16218
- echo "$as_me:$LINENO: result: no" >&5
16219
-echo "${ECHO_T}no" >&6
16223
- RANLIB=$ac_ct_RANLIB
16225
- RANLIB="$ac_cv_prog_RANLIB"
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
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
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
16251
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252
+ (exit $ac_status); }
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
16259
- if test -n "$STRIP"; then
16260
- ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16262
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16263
-for as_dir in $PATH
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
16275
+ cat >conftest.$ac_ext <<_ACEOF
16278
+cat confdefs.h >>conftest.$ac_ext
16279
+cat >>conftest.$ac_ext <<_ACEOF
16280
+/* end confdefs.h. */
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
16289
- echo "$as_me:$LINENO: result: no" >&5
16290
-echo "${ECHO_T}no" >&6
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
16309
- if test -n "$ac_ct_STRIP"; then
16310
- ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16312
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16313
-for as_dir in $PATH
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
16326
- test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
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
16337
+rm -f conftest.$ac_objext
16338
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16339
+ (eval $ac_compile) 2>conftest.er1
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
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
16356
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357
+ (exit $ac_status); }; }; then
16358
+ ac_compiler_gnu=yes
16360
- echo "$as_me:$LINENO: result: no" >&5
16361
-echo "${ECHO_T}no" >&6
16363
+ echo "$as_me: failed program was:" >&5
16364
+sed 's/^/| /' conftest.$ac_ext >&5
16366
- STRIP=$ac_ct_STRIP
16368
- STRIP="$ac_cv_prog_STRIP"
16369
+ac_compiler_gnu=no
16371
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16372
+ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16376
-enable_win32_dll=no
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"
16383
-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
16385
-# Some flags need to be propagated to the compiler or linker for good
16386
-# libtool support.
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
16394
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16395
- (exit $ac_status); }; then
16396
- case `/usr/bin/file conftest.$ac_objext` in
16398
- LD="${LD-ld} -32"
16401
- LD="${LD-ld} -n32"
16404
- LD="${LD-ld} -64"
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
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
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
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
16438
- cat >conftest.$ac_ext <<_ACEOF
16439
+ cat >conftest.$ac_ext <<_ACEOF
16442
cat confdefs.h >>conftest.$ac_ext
16443
@@ -4755,345 +4652,73 @@
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
16454
grep -v '^ *+' conftest.er1 >conftest.err
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
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
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
16477
echo "$as_me: failed program was:" >&5
16478
sed 's/^/| /' conftest.$ac_ext >&5
16480
-lt_cv_cc_needs_belf=no
16481
+ac_cv_prog_cxx_g=no
16483
-rm -f conftest.err conftest.$ac_objext \
16484
- conftest$ac_exeext conftest.$ac_ext
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
16491
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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"
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'
16518
-# Same as above, but do not quote variable references.
16519
-double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
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'
16528
-# Global variables:
16529
-default_ofile=libtool
16530
-can_build_shared=yes
16532
-# All known linkers require a `.a' archive for static linking (except M$VC,
16533
-# which needs '.lib').
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"
16541
-old_CFLAGS="$CFLAGS"
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
16558
-if test x"$host" != x"$build"; then
16559
- ac_tool_prefix=${host_alias}-
16564
-# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
16567
-linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
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
16577
- export COLLECT_NAMES
16578
+ if test "$GXX" = yes; then
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=
16591
-if test -n "$RANLIB"; then
16594
- old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
16597
- old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
16600
- old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
16603
-# Allow CC to be a program name with arguments.
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
16614
- # MS-DOS does not allow filenames that begin with a dot.
16617
-rmdir .libs 2>/dev/null
16618
-echo "$as_me:$LINENO: result: $objdir" >&5
16619
-echo "${ECHO_T}$objdir" >&6
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"
16630
-test -z "$pic_mode" && pic_mode=default
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
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
16647
- if test "$GCC" = yes; then
16648
- lt_cv_prog_cc_wl='-Wl,'
16649
- lt_cv_prog_cc_static='-static'
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"
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'
16667
- beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
16668
- # PIC is the default for these OSes.
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'
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'
16681
- if test -d /usr/nec; then
16682
- lt_cv_prog_cc_pic=-Kconform_pic
16686
- lt_cv_prog_cc_pic='-fPIC'
16690
- # PORTME Check for PIC flags for the system compiler.
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'
16699
- lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
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'
16711
- lt_cv_prog_cc_wl='-Wl,'
16712
- lt_cv_prog_cc_static='-non_shared'
16713
- # PIC (with -KPIC) is the default.
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'
16723
- lt_cv_prog_cc_pic='-KPIC'
16724
- lt_cv_prog_cc_static='-Bstatic'
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'
16734
- lt_cv_prog_cc_pic='-Kpic'
16735
- lt_cv_prog_cc_static='-dn'
16736
- lt_cv_prog_cc_shlib='-belf'
16740
- lt_cv_prog_cc_pic='-KPIC'
16741
- lt_cv_prog_cc_static='-Bstatic'
16742
- lt_cv_prog_cc_wl='-Wl,'
16746
- lt_cv_prog_cc_pic='-PIC'
16747
- lt_cv_prog_cc_static='-Bstatic'
16748
- lt_cv_prog_cc_wl='-Qoption ld '
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'
16757
- lt_cv_prog_cc_wl='-Wl,'
16762
- lt_cv_prog_cc_pic='-pic'
16763
- lt_cv_prog_cc_static='-Bstatic'
16767
- if test -d /usr/nec ;then
16768
- lt_cv_prog_cc_pic='-Kconform_pic'
16769
- lt_cv_prog_cc_static='-Bstatic'
16774
- lt_cv_prog_cc_can_build_shared=no
16781
-if test -z "$lt_cv_prog_cc_pic"; then
16782
- echo "$as_me:$LINENO: result: none" >&5
16783
-echo "${ECHO_T}none" >&6
16785
- echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
16786
-echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
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
16794
- save_CFLAGS="$CFLAGS"
16795
- CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
16796
- cat >conftest.$ac_ext <<_ACEOF
16797
+for ac_declaration in \
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);'
16805
+ cat >conftest.$ac_ext <<_ACEOF
16808
cat confdefs.h >>conftest.$ac_ext
16809
cat >>conftest.$ac_ext <<_ACEOF
16810
/* end confdefs.h. */
16813
+#include <stdlib.h>
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
16832
@@ -5120,201 +4744,25 @@
16834
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16835
(exit $ac_status); }; }; then
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
16844
- lt_cv_prog_cc_pic_works=yes
16848
- lt_cv_prog_cc_pic_works=yes
16854
echo "$as_me: failed program was:" >&5
16855
sed 's/^/| /' conftest.$ac_ext >&5
16857
- lt_cv_prog_cc_pic_works=no
16861
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16862
- CFLAGS="$save_CFLAGS"
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
16871
- lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
16874
- echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
16875
-echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
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 :
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
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
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
16901
-cat confdefs.h >>conftest.$ac_ext
16902
-cat >>conftest.$ac_ext <<_ACEOF
16903
-/* end confdefs.h. */
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
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
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
16933
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934
- (exit $ac_status); }; }; then
16935
- lt_cv_prog_cc_static_works=yes
16937
- echo "$as_me: failed program was:" >&5
16938
-sed 's/^/| /' conftest.$ac_ext >&5
16941
-rm -f conftest.err conftest.$ac_objext \
16942
- conftest$ac_exeext conftest.$ac_ext
16943
- LDFLAGS="$save_LDFLAGS"
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
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"
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
16968
-$rm -r conftest 2>/dev/null
16971
-echo "int some_variable = 0;" > conftest.$ac_ext
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
16979
-save_CFLAGS="$CFLAGS"
16980
-CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
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
16988
- lt_cv_compiler_c_o=yes
16991
- # Append any errors to the config.log.
16992
- cat out/conftest.err 1>&5
16993
- lt_cv_compiler_c_o=no
16995
-CFLAGS="$save_CFLAGS"
16997
-$rm conftest* out/*
17001
-$rm -r conftest 2>/dev/null
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
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
17017
- lt_cv_compiler_o_lo=no
17018
- save_CFLAGS="$CFLAGS"
17019
- CFLAGS="$CFLAGS -c -o conftest.lo"
17020
- save_objext="$ac_objext"
17022
cat >conftest.$ac_ext <<_ACEOF
17025
cat confdefs.h >>conftest.$ac_ext
17026
cat >>conftest.$ac_ext <<_ACEOF
17027
/* end confdefs.h. */
17033
-int some_variable = 0;
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
17048
@@ -5341,1752 +4788,13113 @@
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
17057
- lt_cv_compiler_o_lo=yes
17062
echo "$as_me: failed program was:" >&5
17063
sed 's/^/| /' conftest.$ac_ext >&5
17066
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17067
- ac_objext="$save_objext"
17068
- CFLAGS="$save_CFLAGS"
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
17079
+if test -n "$ac_declaration"; then
17080
+ echo '#ifdef __cplusplus' >>confdefs.h
17081
+ echo $ac_declaration >>confdefs.h
17082
+ echo '#endif' >>confdefs.h
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
17093
- ln conftest.a conftest.b 2>/dev/null && hard_links=no
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;}
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
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
17124
-cat confdefs.h >>conftest.$ac_ext
17125
-cat >>conftest.$ac_ext <<_ACEOF
17126
-/* end confdefs.h. */
17127
+depcc="$CXX" am_compiler_list=
17132
-int some_variable = 0;
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
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
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
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
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`
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.
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
17179
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
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
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
17220
+ rm -rf conftest.dir
17222
+ am_cv_CXX_dependencies_compiler_type=none
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
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='#'
17238
+ am__fastdepCXX_TRUE='#'
17239
+ am__fastdepCXX_FALSE=
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
17254
+ # Double quotes because CXXCPP needs to be expanded
17255
+ for CXXCPP in "$CXX -E" "/lib/cpp"
17257
+ ac_preproc_ok=false
17258
+for ac_cxx_preproc_warn_flag in '' yes
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
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. */
17276
+# include <limits.h>
17278
+# include <assert.h>
17282
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17283
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17285
grep -v '^ *+' conftest.er1 >conftest.err
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
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
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
17308
- compiler_rtti_exceptions=yes
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
17321
+if test -z "$ac_cpp_err"; then
17324
echo "$as_me: failed program was:" >&5
17325
sed 's/^/| /' conftest.$ac_ext >&5
17327
+ # Broken: fails on valid input.
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
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
17343
+cat confdefs.h >>conftest.$ac_ext
17344
+cat >>conftest.$ac_ext <<_ACEOF
17345
+/* end confdefs.h. */
17346
+#include <ac_nonexistent.h>
17348
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17349
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
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
17360
- no_builtin_flag=' -fno-builtin'
17366
+if test -z "$ac_cpp_err"; then
17367
+ # Broken: success on invalid input.
17370
+ echo "$as_me: failed program was:" >&5
17371
+sed 's/^/| /' conftest.$ac_ext >&5
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
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
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
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
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=
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
17430
-if test "$with_gnu_ld" = yes; then
17431
- # If archive_cmds runs LD, not CC, wlarc should be empty
17434
- # See if GNU ld supports shared libraries.
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.
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.
17450
+ # Passes both tests.
17454
+rm -f conftest.err conftest.$ac_ext
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
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
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
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'
17487
+ ac_cv_prog_CXXCPP=$CXXCPP
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
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'
17503
- old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
17505
- # cygwin and mingw dlls have different entry points and sets of symbols
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~
17513
- dll_entry=_DllMainCRTStartup@12
17514
- dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
17518
+ CXXCPP=$ac_cv_prog_CXXCPP
17520
+ ac_cv_prog_CXXCPP=$CXXCPP
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
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
17536
+cat confdefs.h >>conftest.$ac_ext
17537
+cat >>conftest.$ac_ext <<_ACEOF
17538
+/* end confdefs.h. */
17540
+# include <limits.h>
17542
+# include <assert.h>
17546
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17547
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
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
17563
+if test -z "$ac_cpp_err"; then
17566
+ echo "$as_me: failed program was:" >&5
17567
+sed 's/^/| /' conftest.$ac_ext >&5
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
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)~'
17583
+ # Broken: fails on valid input.
17586
+rm -f conftest.err conftest.$ac_ext
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'
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;
17602
- echo EXPORTS > $output_objdir/$soname-def;
17604
- cat $export_symbols | while read symbol; do
17605
- set dummy \$symbol;
17607
- 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
17608
- *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
17610
- _lt_hint=`expr 1 + \$_lt_hint`;
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'
17620
+ # OK, works on sane cases. Now check whether non-existent headers
17621
+ # can be detected and how.
17622
+ cat >conftest.$ac_ext <<_ACEOF
17625
+cat confdefs.h >>conftest.$ac_ext
17626
+cat >>conftest.$ac_ext <<_ACEOF
17627
+/* end confdefs.h. */
17628
+#include <ac_nonexistent.h>
17630
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17631
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
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
17647
+if test -z "$ac_cpp_err"; then
17648
+ # Broken: success on invalid input.
17651
+ echo "$as_me: failed program was:" >&5
17652
+sed 's/^/| /' conftest.$ac_ext >&5
17655
- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17656
- archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
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'
17663
+ # Passes both tests.
17667
+rm -f conftest.err conftest.$ac_ext
17669
- solaris* | sysv5*)
17670
- if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
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
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; }; }
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.
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
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'
17708
- archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17710
- hardcode_direct=yes
17711
- hardcode_shlibpath_var=no
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
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
17727
+ if test -n "$F77"; then
17728
+ ac_cv_prog_F77="$F77" # Let the user override the test.
17730
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17731
+for as_dir in $PATH
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
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'
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
17760
+ echo "$as_me:$LINENO: result: no" >&5
17761
+echo "${ECHO_T}no" >&6
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'
17769
- cygwin* | mingw* | pw32*)
17770
- # dlltool doesn't understand --whole-archive et. al.
17771
- whole_archive_flag_spec=
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'
17778
- whole_archive_flag_spec=
17782
+ test -n "$F77" && break
17785
+if test -z "$F77"; then
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
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
17796
+ if test -n "$ac_ct_F77"; then
17797
+ ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
17799
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17800
+for as_dir in $PATH
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
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
17820
- # PORTME fill in a description of your system's linker (not GNU ld)
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
17835
+ echo "$as_me:$LINENO: result: no" >&5
17836
+echo "${ECHO_T}no" >&6
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'
17847
- aix_use_runtimelinking=no
17848
+ test -n "$ac_ct_F77" && break
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
17865
- exp_sym_flag='-bexport'
17866
- no_entry_flag='-bnoentry'
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
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
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
17891
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17892
+ (exit $ac_status); }
17895
- hardcode_direct=yes
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
17904
- # We have reworked collect2
17905
- hardcode_direct=yes
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=
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
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
17926
+ cat >conftest.$ac_ext <<_ACEOF
17932
- shared_flag='-shared'
17935
- if test "$host_cpu" = ia64; then
17936
- shared_flag='${wl}-G'
17938
- if test "$aix_use_runtimelinking" = yes; then
17939
- shared_flag='${wl}-G'
17941
- shared_flag='${wl}-bM:SRE'
17947
+rm -f conftest.$ac_objext
17948
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17949
+ (eval $ac_compile) 2>conftest.er1
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
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
17966
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17967
+ (exit $ac_status); }; }; then
17968
+ ac_compiler_gnu=yes
17970
+ echo "$as_me: failed program was:" >&5
17971
+sed 's/^/| /' conftest.$ac_ext >&5
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"
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"
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'
17998
+ac_compiler_gnu=no
18000
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18001
+ac_cv_f77_compiler_gnu=$ac_compiler_gnu
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
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
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
18023
+cat >conftest.$ac_ext <<_ACEOF
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.
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"`'
18045
+rm -f conftest.$ac_objext
18046
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18047
+ (eval $ac_compile) 2>conftest.er1
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
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
18064
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065
+ (exit $ac_status); }; }; then
18066
+ ac_cv_prog_f77_g=yes
18068
+ echo "$as_me: failed program was:" >&5
18069
+sed 's/^/| /' conftest.$ac_ext >&5
18071
- darwin* | rhapsody*)
18072
- case "$host_os" in
18073
- rhapsody* | darwin1.[012])
18074
- allow_undefined_flag='-undefined suppress'
18076
- *) # Darwin 1.3 on
18077
- allow_undefined_flag='-flat_namespace -undefined suppress'
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'
18090
+ac_cv_prog_f77_g=no
18092
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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
18109
+ if test "x$ac_cv_f77_compiler_gnu" = xyes; then
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
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
18126
+G77=`test $ac_compiler_gnu = yes && echo yes`
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
18133
- # Unfortunately, older versions of FreeBSD 2 do not have this feature.
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
18141
- # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
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
18149
- hpux9* | hpux10* | hpux11*)
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' ;;
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'
18161
+# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
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'
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'
18169
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
18170
- hardcode_libdir_separator=:
18171
- link_all_deplibs=yes
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
18180
+ teststring="ABCD"
18183
- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18184
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18186
- archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18188
- hardcode_libdir_flag_spec='-R$libdir'
18189
- hardcode_direct=yes
18190
- hardcode_shlibpath_var=no
18191
+ case $build_os in
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
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
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;
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'
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'
18227
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
18228
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
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;
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'
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;
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'
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'
18263
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
18264
- hardcode_libdir_separator=:
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
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
18276
+ teststring=$teststring$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`
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'
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'
18298
- #Both c and cxx compiler support -rpath directly
18299
- hardcode_libdir_flag_spec='-rpath $libdir'
18301
- hardcode_libdir_separator=:
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
18307
+ echo "$as_me:$LINENO: result: none" >&5
18308
+echo "${ECHO_T}none" >&6
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'
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
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.
18345
- no_undefined_flag=
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
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' ;;
18361
- link_all_deplibs=yes
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
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'
18376
- archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18378
- hardcode_libdir_flag_spec='-L$libdir'
18379
- hardcode_direct=yes
18380
- hardcode_minus_L=yes
18381
- hardcode_shlibpath_var=no
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?!! ;)]
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???
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
18394
- runpath_var='LD_RUN_PATH'
18395
- hardcode_shlibpath_var=no
18397
+# Character class describing NM global symbol codes.
18398
+symcode='[BCDEGRST]'
18401
- archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18402
- hardcode_shlibpath_var=no
18403
- export_dynamic_flag_spec='-Bexport'
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'
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
18423
+# Regexp to match symbols that can be accessed directly from C.
18424
+sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
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
18431
+# Transform the above into a raw symbol and a C symbol.
18432
+symxfrm='\1 \2\3 \3'
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
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'"
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
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'"
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'
18462
- archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18464
- runpath_var='LD_RUN_PATH'
18465
- hardcode_shlibpath_var=no
18467
+# Define system-specific variables.
18472
+cygwin* | mingw* | pw32*)
18473
+ symcode='[ABCDGISTW]'
18475
+hpux*) # Its linker distinguishes data from code symbols
18476
+ if test "$host_cpu" = ia64; then
18477
+ symcode='[ABCDEGRST]'
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'"
18482
+irix* | nonstopux*)
18483
+ symcode='[BCDEGRST]'
18486
+ symcode='[BCDEGQRST]'
18488
+solaris* | sysv5*)
18492
+ symcode='[DFNSTU]'
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
18508
+ opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
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
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]' ;;
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
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'"
18539
+ # Check to see that the pipe works correctly.
18543
+ cat > conftest.$ac_ext <<EOF
18544
+#ifdef __cplusplus
18548
+void nm_test_func(){}
18549
+#ifdef __cplusplus
18552
+int main(){nm_test_var='a';nm_test_func();return(0);}
18555
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18556
+ (eval $ac_compile) 2>&5
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
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"
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
18583
+ # Now generate the symbol file.
18584
+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
18586
+ cat <<EOF >> conftest.$ac_ext
18587
+#if defined (__STDC__) && __STDC__
18588
+# define lt_ptr_t void *
18590
+# define lt_ptr_t char *
18594
+/* The mapping between symbol names and symbols. */
18596
+ const char *name;
18597
+ lt_ptr_t address;
18599
+lt_preloaded_symbols[] =
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}
18607
+#ifdef __cplusplus
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
18620
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621
+ (exit $ac_status); } && test -s conftest${ac_exeext}; then
18624
+ LIBS="$lt_save_LIBS"
18625
+ CFLAGS="$lt_save_CFLAGS"
18627
+ echo "cannot find nm_test_func in $nlist" >&5
18630
+ echo "cannot find nm_test_var in $nlist" >&5
18633
+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
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
18641
+ rm -f conftest* conftst*
18643
+ # Do not use the global_symbol_pipe unless it works.
18644
+ if test "$pipe_works" = yes; then
18647
+ lt_cv_sys_global_symbol_pipe=
18653
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
18654
+ lt_cv_sys_global_symbol_to_cdecl=
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
18660
- # We cannot hardcode anything, or else we can only hardcode existing
18662
- hardcode_action=unsupported
18663
+ echo "$as_me:$LINENO: result: ok" >&5
18664
+echo "${ECHO_T}ok" >&6
18666
-echo "$as_me:$LINENO: result: $hardcode_action" >&5
18667
-echo "${ECHO_T}$hardcode_action" >&6
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
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
18690
+ # MS-DOS does not allow filenames that begin with a dot.
18691
+ lt_cv_objdir=_libs
18693
+rmdir .libs 2>/dev/null
18695
+echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
18696
+echo "${ECHO_T}$lt_cv_objdir" >&6
18697
+objdir=$lt_cv_objdir
18699
-reload_cmds='$LD$reload_flag -o $output$reload_objs'
18700
-test -z "$deplibs_check_method" && deplibs_check_method=unknown
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'
18709
-postuninstall_cmds=
18713
-shlibpath_overrides_runpath=unknown
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"
18721
- version_type=linux
18722
- library_names_spec='${libname}${release}.so$versuffix $libname.a'
18723
- shlibpath_var=LIBPATH
18725
- # AIX has no versioning support, so we append a major version to the name.
18726
- soname_spec='${libname}${release}.so$major'
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
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.
18742
- aix4 | aix4.[01] | aix4.[01].*)
18743
- if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18745
- echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18748
- can_build_shared=no
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'
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'
18767
- shlibpath_var=LIBPATH
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
18775
+ export COLLECT_NAMES
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'
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'
18791
- library_names_spec='${libname}.so'
18792
- dynamic_linker="$host_os ld.so"
18793
- shlibpath_var=LIBRARY_PATH
18795
+# Same as above, but do not quote variable references.
18796
+double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
18799
- version_type=linux
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
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'
18816
-cygwin* | mingw* | pw32*)
18817
- version_type=windows
18819
- need_lib_prefix=no
18820
- case $GCC,$host_os in
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~
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"`
18837
- library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
18840
- library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
18843
- dynamic_linker='Win32 ld.exe'
18844
- # FIXME: first we should search . and the directory the executable is in
18845
- shlibpath_var=PATH
18847
+# Sed substitution to avoid accidental globbing in evaled expressions
18848
+no_glob_subst='s/\*/\\\*/g'
18850
-darwin* | rhapsody*)
18851
- dynamic_linker="$host_os dyld"
18852
- version_type=darwin
18853
- need_lib_prefix=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
18867
- dynamic_linker=no
18869
+# Global variables:
18870
+default_ofile=libtool
18871
+can_build_shared=yes
18874
- objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
18875
- version_type=freebsd-$objformat
18876
- case $version_type in
18878
- library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
18880
- need_lib_prefix=no
18883
- library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
18887
- shlibpath_var=LD_LIBRARY_PATH
18890
- shlibpath_overrides_runpath=yes
18893
- shlibpath_overrides_runpath=no
18894
- hardcode_into_libs=yes
18900
- version_type=linux
18901
- need_lib_prefix=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
18908
+# All known linkers require a `.a' archive for static linking (except M$VC,
18909
+# which needs '.lib').
18911
+ltmain="$ac_aux_dir/ltmain.sh"
18912
+ofile="$default_ofile"
18913
+with_gnu_ld="$lt_cv_prog_gnu_ld"
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
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'
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
18937
+ if test -n "$AR"; then
18938
+ ac_cv_prog_AR="$AR" # Let the user override the test.
18940
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18941
+for as_dir in $PATH
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
18955
- version_type=irix
18956
- need_lib_prefix=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'
18962
- libsuff= shlibsuff=
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;;
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}"
18981
+if test -n "$AR"; then
18982
+ echo "$as_me:$LINENO: result: $AR" >&5
18983
+echo "${ECHO_T}$AR" >&6
18985
+ echo "$as_me:$LINENO: result: no" >&5
18986
+echo "${ECHO_T}no" >&6
18989
-# No shared lib support for Linux oldld, aout, or coff.
18990
-linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
18991
- dynamic_linker=no
18994
+if test -z "$ac_cv_prog_AR"; then
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
19003
+ if test -n "$ac_ct_AR"; then
19004
+ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19006
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19007
+for as_dir in $PATH
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
19020
-# This must be Linux ELF.
19022
- version_type=linux
19023
- need_lib_prefix=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"
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
19042
+ echo "$as_me:$LINENO: result: no" >&5
19043
+echo "${ECHO_T}no" >&6
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'
19056
+ AR="$ac_cv_prog_AR"
19060
- version_type=sunos
19061
- need_lib_prefix=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'
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
19079
+ if test -n "$RANLIB"; then
19080
+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19082
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19083
+for as_dir in $PATH
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
19093
- shlibpath_var=LD_LIBRARY_PATH
19094
- shlibpath_overrides_runpath=yes
19095
- hardcode_into_libs=yes
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
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
19113
+ echo "$as_me:$LINENO: result: no" >&5
19114
+echo "${ECHO_T}no" >&6
19118
- version_type=sunos
19119
- need_lib_prefix=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
19127
- shlibpath_overrides_runpath=yes
19131
- shlibpath_overrides_runpath=yes
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
19142
+ if test -n "$ac_ct_RANLIB"; then
19143
+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19145
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19146
+for as_dir in $PATH
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
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
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
19170
+ test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
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
19178
+ echo "$as_me:$LINENO: result: no" >&5
19179
+echo "${ECHO_T}no" >&6
19182
-osf3* | osf4* | osf5*)
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"
19191
+ RANLIB=$ac_ct_RANLIB
19193
+ RANLIB="$ac_cv_prog_RANLIB"
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
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
19210
+ if test -n "$STRIP"; then
19211
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19213
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19214
+for as_dir in $PATH
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
19228
- version_type=linux
19229
- need_lib_prefix=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'
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
19246
+ echo "$as_me:$LINENO: result: no" >&5
19247
+echo "${ECHO_T}no" >&6
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
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
19268
+ if test -n "$ac_ct_STRIP"; then
19269
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19271
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19272
+for as_dir in $PATH
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
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
19294
- shlibpath_overrides_runpath=no
19297
- need_lib_prefix=no
19299
- shlibpath_overrides_runpath=no
19300
- sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19304
+ test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
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
19312
+ echo "$as_me:$LINENO: result: no" >&5
19313
+echo "${ECHO_T}no" >&6
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
19322
+ STRIP=$ac_ct_STRIP
19324
+ STRIP="$ac_cv_prog_STRIP"
19328
- version_type=linux
19329
- need_lib_prefix=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
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
19345
+old_CFLAGS="$CFLAGS"
19348
- dynamic_linker=no
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
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=
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
19387
+ old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
19390
+ old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
19393
+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
19396
-# On AIX, shared libraries and static libraries use the same namespace, and
19397
-# are all built from PIC.
19398
-case "$host_os" in
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'
19405
+# Only perform the check for file, if the check method requires it
19406
+case $deplibs_check_method in
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
19414
+ case $MAGIC_CMD in
19415
+[\\/*] | ?:[\\/]*)
19416
+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
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
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
19439
- if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
19440
- test "$enable_shared" = yes && enable_static=no
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
19458
+ IFS="$lt_save_ifs"
19459
+ MAGIC_CMD="$lt_save_MAGIC_CMD"
19462
-echo "$as_me:$LINENO: result: $enable_shared" >&5
19463
-echo "${ECHO_T}$enable_shared" >&6
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
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
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
19489
+ echo "$as_me:$LINENO: result: no" >&5
19490
+echo "${ECHO_T}no" >&6
19493
-if test "x$enable_dlopen" != xyes; then
19494
- enable_dlopen=unknown
19495
- enable_dlopen_self=unknown
19496
- enable_dlopen_self_static=unknown
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
19507
+ case $MAGIC_CMD in
19508
+[\\/*] | ?:[\\/]*)
19509
+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
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
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
19533
- lt_cv_dlopen="load_add_on"
19534
- lt_cv_dlopen_libs=
19535
- lt_cv_dlopen_self=yes
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
19546
- cygwin* | mingw* | pw32*)
19547
- lt_cv_dlopen="LoadLibrary"
19548
- lt_cv_dlopen_libs=
19557
+ IFS="$lt_save_ifs"
19558
+ MAGIC_CMD="$lt_save_MAGIC_CMD"
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
19573
- cat >conftest.$ac_ext <<_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
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. */
19596
-# include <limits.h>
19598
-# include <assert.h>
19606
+enable_win32_dll=no
19608
-/* Override any gcc2 internal prototype to avoid an error. */
19609
-#ifdef __cplusplus
19613
-/* We use char because int might match the return type of a gcc2
19614
- builtin and then its argument prototype would still apply. */
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)
19622
-char (*f) () = shl_load;
19624
-#ifdef __cplusplus
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"
19634
-return f != shl_load;
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
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
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
19659
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660
- (exit $ac_status); }; }; then
19661
- ac_cv_func_shl_load=yes
19663
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
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"
19671
- echo "$as_me: failed program was:" >&5
19672
-sed 's/^/| /' conftest.$ac_ext >&5
19675
+test -z "$pic_mode" && pic_mode=default
19677
-ac_cv_func_shl_load=no
19678
+# Use C for the default configuration in the libtool script
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
19688
+# Source file extension for C test sources.
19691
+# Object file extension for compiled C test sources.
19695
+# Code to be used in simple compile tests
19696
+lt_simple_compile_test_code="int some_variable = 0;\n"
19698
+# Code to be used in simple link tests
19699
+lt_simple_link_test_code='int main(){return(0);}\n'
19702
+# If no C compiler was specified, use CC.
19703
+LTCC=${LTCC-"$CC"}
19705
+# Allow CC to be a program name with arguments.
19710
+# Check for any special shared library compilation flags.
19713
+if test "$GCC" = no; then
19716
+ lt_prog_cc_shlib='-belf'
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 :
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
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"
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
19743
+# Check to make sure the static flag actually works.
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
19750
- ac_check_lib_save_LIBS=$LIBS
19751
-LIBS="-ldld $LIBS"
19752
-cat >conftest.$ac_ext <<_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
19769
+ lt_prog_compiler_static_works=yes
19773
+ LDFLAGS="$save_LDFLAGS"
19775
-/* Override any gcc2 internal prototype to avoid an error. */
19776
-#ifdef __cplusplus
19779
-/* We use char because int might match the return type of a gcc2
19780
- builtin and then its argument prototype would still apply. */
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
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
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
19810
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19811
- (exit $ac_status); }; }; then
19812
- ac_cv_lib_dld_shl_load=yes
19814
- echo "$as_me: failed program was:" >&5
19815
-sed 's/^/| /' conftest.$ac_ext >&5
19817
+echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
19818
+echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
19820
-ac_cv_lib_dld_shl_load=no
19821
+if test x"$lt_prog_compiler_static_works" = xyes; then
19824
+ lt_prog_compiler_static=
19826
-rm -f conftest.err conftest.$ac_objext \
19827
- conftest$ac_exeext conftest.$ac_ext
19828
-LIBS=$ac_check_lib_save_LIBS
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"
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
19840
- cat >conftest.$ac_ext <<_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
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. */
19856
-# include <limits.h>
19858
-# include <assert.h>
19863
-/* Override any gcc2 internal prototype to avoid an error. */
19864
-#ifdef __cplusplus
19868
-/* We use char because int might match the return type of a gcc2
19869
- builtin and then its argument prototype would still apply. */
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)
19877
-char (*f) () = dlopen;
19879
-#ifdef __cplusplus
19882
+lt_prog_compiler_no_builtin_flag=
19887
-return f != dlopen;
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
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
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
19912
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913
- (exit $ac_status); }; }; then
19914
- ac_cv_func_dlopen=yes
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'
19921
-ac_cv_func_dlopen=no
19923
-rm -f conftest.err conftest.$ac_objext \
19924
- conftest$ac_exeext conftest.$ac_ext
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"
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
19936
- ac_check_lib_save_LIBS=$LIBS
19938
-cat >conftest.$ac_ext <<_ACEOF
19941
-cat confdefs.h >>conftest.$ac_ext
19942
-cat >>conftest.$ac_ext <<_ACEOF
19943
-/* end confdefs.h. */
19945
-/* Override any gcc2 internal prototype to avoid an error. */
19946
-#ifdef __cplusplus
19949
-/* We use char because int might match the return type of a gcc2
19950
- builtin and then its argument prototype would still apply. */
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
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
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
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
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)
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
20017
-ac_cv_lib_dl_dlopen=no
20019
-rm -f conftest.err conftest.$ac_objext \
20020
- conftest$ac_exeext conftest.$ac_ext
20021
-LIBS=$ac_check_lib_save_LIBS
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"
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
20033
- ac_check_lib_save_LIBS=$LIBS
20034
-LIBS="-lsvld $LIBS"
20035
-cat >conftest.$ac_ext <<_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
20044
-/* Override any gcc2 internal prototype to avoid an error. */
20045
-#ifdef __cplusplus
20048
-/* We use char because int might match the return type of a gcc2
20049
- builtin and then its argument prototype would still apply. */
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
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
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
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"
20085
- echo "$as_me: failed program was:" >&5
20086
-sed 's/^/| /' conftest.$ac_ext >&5
20088
-ac_cv_lib_svld_dlopen=no
20091
-rm -f conftest.err conftest.$ac_objext \
20092
- conftest$ac_exeext conftest.$ac_ext
20093
-LIBS=$ac_check_lib_save_LIBS
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"
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
20106
- ac_check_lib_save_LIBS=$LIBS
20107
-LIBS="-ldld $LIBS"
20108
-cat >conftest.$ac_ext <<_ACEOF
20111
-cat confdefs.h >>conftest.$ac_ext
20112
-cat >>conftest.$ac_ext <<_ACEOF
20113
-/* end confdefs.h. */
20115
-/* Override any gcc2 internal prototype to avoid an error. */
20116
-#ifdef __cplusplus
20119
-/* We use char because int might match the return type of a gcc2
20120
- builtin and then its argument prototype would still apply. */
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
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=
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
20144
+ if test "$GCC" = yes; then
20145
+ lt_prog_compiler_wl='-Wl,'
20146
+ lt_prog_compiler_static='-static'
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'
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'
20164
+ beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
20165
+ # PIC is the default for these OSes.
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'
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'
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
20188
+ if test -d /usr/nec; then
20189
+ lt_prog_compiler_pic=-Kconform_pic
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
20201
+ lt_prog_compiler_pic='-fPIC'
20207
+ lt_prog_compiler_pic='-fPIC'
20211
+ # PORTME Check for flag to pass linker flags through the system compiler.
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'
20219
+ lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
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'
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
20238
+ lt_prog_compiler_pic='+Z'
20241
+ # Is there a better lt_prog_compiler_static that works with the bundled CC?
20242
+ lt_prog_compiler_static='${wl}-a ${wl}archive'
20245
+ irix5* | irix6* | nonstopux*)
20246
+ lt_prog_compiler_wl='-Wl,'
20247
+ # PIC (with -KPIC) is the default.
20248
+ lt_prog_compiler_static='-non_shared'
20252
+ lt_prog_compiler_pic='-KPIC'
20253
+ lt_prog_compiler_static='-Bstatic'
20259
+ lt_prog_compiler_wl='-Wl,'
20260
+ lt_prog_compiler_pic='-KPIC'
20261
+ lt_prog_compiler_static='-static'
20264
+ lt_prog_compiler_wl='-Wl,'
20265
+ # All Alpha code is PIC.
20266
+ lt_prog_compiler_static='-non_shared'
20271
+ osf3* | osf4* | osf5*)
20272
+ lt_prog_compiler_wl='-Wl,'
20273
+ # All OSF/1 code is PIC.
20274
+ lt_prog_compiler_static='-non_shared'
20278
+ lt_prog_compiler_pic='-Kpic'
20279
+ lt_prog_compiler_static='-dn'
20283
+ lt_prog_compiler_wl='-Wl,'
20284
+ lt_prog_compiler_pic='-KPIC'
20285
+ lt_prog_compiler_static='-Bstatic'
20289
+ lt_prog_compiler_wl='-Qoption ld '
20290
+ lt_prog_compiler_pic='-PIC'
20291
+ lt_prog_compiler_static='-Bstatic'
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'
20301
+ if test -d /usr/nec ;then
20302
+ lt_prog_compiler_pic='-Kconform_pic'
20303
+ lt_prog_compiler_static='-Bstatic'
20308
+ lt_prog_compiler_pic='-pic'
20309
+ lt_prog_compiler_static='-Bstatic'
20313
+ lt_prog_compiler_can_build_shared=no
20318
+echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
20319
+echo "${ECHO_T}$lt_prog_compiler_pic" >&6
20322
+# Check to make sure the PIC flag actually works.
20324
+if test -n "$lt_prog_compiler_pic"; then
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
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)
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
20359
+echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
20360
+echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
20362
+if test x"$lt_prog_compiler_pic_works" = xyes; then
20363
+ case $lt_prog_compiler_pic in
20365
+ *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
20368
+ lt_prog_compiler_pic=
20369
+ lt_prog_compiler_can_build_shared=no
20373
+case "$host_os" in
20374
+ # For platforms which do not support PIC, -DPIC is meaningless:
20376
+ lt_prog_compiler_pic=
20379
+ lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
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
20388
+ lt_cv_prog_compiler_c_o=no
20389
+ $rm -r conftest 2>/dev/null
20393
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
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)
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
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
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
20428
+echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
20429
+echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
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
20439
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
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;}
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
20458
+ allow_undefined_flag=
20459
+ enable_shared_with_static_runtimes=no
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
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
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=
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
20509
+ if test "$with_gnu_ld" = yes; then
20510
+ # If archive_cmds runs LD, not CC, wlarc should be empty
20513
+ # See if GNU ld supports shared libraries.
20515
+ aix3* | aix4* | aix5*)
20516
+ # On AIX/PPC, the GNU linker is very broken
20517
+ if test "$host_cpu" != ia64; then
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.
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
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
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'
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'
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;
20572
+ echo EXPORTS > $output_objdir/$soname.def;
20573
+ cat $export_symbols >> $output_objdir/$soname.def;
20575
+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
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'
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'
20591
+ solaris* | sysv5*)
20592
+ if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
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.
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'
20613
+ archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20615
+ hardcode_direct=yes
20616
+ hardcode_shlibpath_var=no
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 ;;
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'
20637
+ archive_expsym_cmds="$tmp_archive_cmds"
20639
+ link_all_deplibs=no
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'
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'
20663
+ whole_archive_flag_spec=
20667
+ # PORTME fill in a description of your system's linker (not GNU ld)
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
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'
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'
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'
20698
+ aix_use_runtimelinking=no
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
20712
+ exp_sym_flag='-bexport'
20713
+ no_entry_flag='-bnoentry'
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.
20723
+ hardcode_direct=yes
20724
+ hardcode_libdir_separator=':'
20725
+ link_all_deplibs=yes
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
20735
+ # We have reworked collect2
20736
+ hardcode_direct=yes
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=
20748
+ shared_flag='-shared'
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:
20756
+ if test "$aix_use_runtimelinking" = yes; then
20757
+ shared_flag='${wl}-G'
20759
+ shared_flag='${wl}-bM:SRE'
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
20775
+cat confdefs.h >>conftest.$ac_ext
20776
+cat >>conftest.$ac_ext <<_ACEOF
20777
+/* end confdefs.h. */
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
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
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
20806
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
20807
+ (exit $ac_status); }; }; then
20809
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
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; }
20815
+ echo "$as_me: failed program was:" >&5
20816
+sed 's/^/| /' conftest.$ac_ext >&5
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
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"
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"
20831
+ # Determine the default libpath from the value encoded in an empty executable.
20832
+ cat >conftest.$ac_ext <<_ACEOF
20835
+cat confdefs.h >>conftest.$ac_ext
20836
+cat >>conftest.$ac_ext <<_ACEOF
20837
+/* end confdefs.h. */
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
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
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
20866
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867
+ (exit $ac_status); }; }; then
20869
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
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; }
20875
+ echo "$as_me: failed program was:" >&5
20876
+sed 's/^/| /' conftest.$ac_ext >&5
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
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'
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
20908
+ export_dynamic_flag_spec=-rdynamic
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.
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
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'
20939
+ *) # Darwin 1.3 on
20940
+ if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
20941
+ allow_undefined_flag='-flat_namespace -undefined suppress'
20943
+ case ${MACOSX_DEPLOYMENT_TARGET} in
20945
+ allow_undefined_flag='-flat_namespace -undefined suppress'
20948
+ allow_undefined_flag='-undefined dynamic_lookup'
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
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'
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'
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}'
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}'
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
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
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
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
21003
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
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
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
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'
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'
21025
+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
21026
+ hardcode_libdir_separator=:
21027
+ hardcode_direct=yes
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'
21035
+ hpux10* | hpux11*)
21036
+ if test "$GCC" = yes -a "$with_gnu_ld" = no; then
21037
+ case "$host_cpu" in
21039
+ archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21042
+ archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21046
+ case "$host_cpu" in
21048
+ archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
21051
+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
21055
+ if test "$with_gnu_ld" = no; then
21056
+ case "$host_cpu" in
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
21065
+ hardcode_libdir_flag_spec='-L$libdir'
21066
+ hardcode_direct=no
21067
+ hardcode_shlibpath_var=no
21069
+ # hardcode_minus_L: Not really in the search PATH,
21070
+ # but as the default location of the library.
21071
+ hardcode_minus_L=yes
21074
+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
21075
+ hardcode_libdir_separator=:
21076
+ hardcode_direct=yes
21077
+ export_dynamic_flag_spec='${wl}-E'
21079
+ # hardcode_minus_L: Not really in the search PATH,
21080
+ # but as the default location of the library.
21081
+ hardcode_minus_L=yes
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'
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'
21094
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
21095
+ hardcode_libdir_separator=:
21096
+ link_all_deplibs=yes
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
21103
+ archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
21105
+ hardcode_libdir_flag_spec='-R$libdir'
21106
+ hardcode_direct=yes
21107
+ hardcode_shlibpath_var=no
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
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'
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'
21132
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
21133
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
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'
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'
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'
21155
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
21156
+ hardcode_libdir_separator=:
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'
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'
21170
+ # Both c and cxx compiler support -rpath directly
21171
+ hardcode_libdir_flag_spec='-rpath $libdir'
21173
+ hardcode_libdir_separator=:
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
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'
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'
21195
+ hardcode_libdir_flag_spec='-R$libdir'
21196
+ hardcode_shlibpath_var=no
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' ;;
21202
+ link_all_deplibs=yes
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'
21211
+ archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
21213
+ hardcode_libdir_flag_spec='-L$libdir'
21214
+ hardcode_direct=yes
21215
+ hardcode_minus_L=yes
21216
+ hardcode_shlibpath_var=no
21220
+ case $host_vendor in
21222
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21223
+ hardcode_direct=yes # is this really true???
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
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
21237
+ runpath_var='LD_RUN_PATH'
21238
+ hardcode_shlibpath_var=no
21242
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21243
+ hardcode_shlibpath_var=no
21244
+ export_dynamic_flag_spec='-Bexport'
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
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
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'
21271
+ archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21273
+ runpath_var='LD_RUN_PATH'
21274
+ hardcode_shlibpath_var=no
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'
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
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
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"
21311
+# Do we need to explicitly link libc?
21313
+case "x$archive_cmds_need_lc" in
21315
+ # Assume -lc should be added
21316
+ archive_cmds_need_lc=yes
21318
+ if test "$enable_shared" = yes && test "$GCC" = yes; then
21319
+ case $archive_cmds in
21321
+ # FIXME: we may have to deal with multi-command sequences.
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
21330
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21332
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21333
+ (eval $ac_compile) 2>&5
21335
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
21336
+ (exit $ac_status); } 2>conftest.err; then
21339
+ libobjs=conftest.$ac_objext
21341
+ wl=$lt_prog_compiler_wl
21342
+ compiler_flags=-v
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
21352
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353
+ (exit $ac_status); }
21355
+ archive_cmds_need_lc=no
21357
+ archive_cmds_need_lc=yes
21359
+ allow_undefined_flag=$lt_save_allow_undefined_flag
21361
+ cat conftest.err 1>&5
21364
+ echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
21365
+echo "${ECHO_T}$archive_cmds_need_lc" >&6
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'
21379
+postuninstall_cmds=
21383
+shlibpath_overrides_runpath=unknown
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'`
21396
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
21399
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
21401
+need_lib_prefix=unknown
21402
+hardcode_into_libs=no
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
21410
+ version_type=linux
21411
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
21412
+ shlibpath_var=LIBPATH
21414
+ # AIX 3 has no versioning support, so we append a major version to the name.
21415
+ soname_spec='${libname}${release}${shared_ext}$major'
21419
+ version_type=linux
21420
+ need_lib_prefix=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
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.
21434
+ aix4 | aix4.[01] | aix4.[01].*)
21435
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
21437
+ echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
21440
+ can_build_shared=no
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}'
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'
21458
+ shlibpath_var=LIBPATH
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'
21469
+ library_names_spec='${libname}${shared_ext}'
21470
+ dynamic_linker="$host_os ld.so"
21471
+ shlibpath_var=LIBRARY_PATH
21475
+ version_type=linux
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
21488
+cygwin* | mingw* | pw32*)
21489
+ version_type=windows
21490
+ shrext_cmds=".dll"
21492
+ need_lib_prefix=no
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~
21506
+ shlibpath_overrides_runpath=yes
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"
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'`
21527
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
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}'
21538
+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
21541
+ dynamic_linker='Win32 ld.exe'
21542
+ # FIXME: first we should search . and the directory the executable is in
21543
+ shlibpath_var=PATH
21546
+darwin* | rhapsody*)
21547
+ dynamic_linker="$host_os dyld"
21548
+ version_type=darwin
21549
+ need_lib_prefix=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"`
21560
+ sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
21562
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
21566
+ version_type=linux
21567
+ need_lib_prefix=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
21575
+ dynamic_linker=no
21579
+ version_type=linux
21580
+ need_lib_prefix=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'
21591
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
21592
+ version_type=freebsd-$objformat
21593
+ case $version_type in
21595
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
21597
+ need_lib_prefix=no
21600
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
21604
+ shlibpath_var=LD_LIBRARY_PATH
21607
+ shlibpath_overrides_runpath=yes
21609
+ freebsd3.01* | freebsdelf3.01*)
21610
+ shlibpath_overrides_runpath=yes
21611
+ hardcode_into_libs=yes
21614
+ shlibpath_overrides_runpath=no
21615
+ hardcode_into_libs=yes
21621
+ version_type=linux
21622
+ need_lib_prefix=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
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
21636
+ case "$host_cpu" in
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"
21648
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
21650
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
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
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'
21672
+ # HP-UX runs *really* slowly unless shared libraries are mode 555.
21673
+ postinstall_cmds='chmod 555 $lib'
21676
+irix5* | irix6* | nonstopux*)
21678
+ nonstopux*) version_type=nonstopux ;;
21680
+ if test "$lt_cv_prog_gnu_ld" = yes; then
21681
+ version_type=linux
21683
+ version_type=irix
21686
+ need_lib_prefix=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}'
21691
+ irix5* | nonstopux*)
21692
+ libsuff= shlibsuff=
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;;
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
21713
+# No shared lib support for Linux oldld, aout, or coff.
21714
+linux*oldld* | linux*aout* | linux*coff*)
21715
+ dynamic_linker=no
21718
+# This must be Linux ELF.
21720
+ version_type=linux
21721
+ need_lib_prefix=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
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"
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'
21749
+ version_type=linux
21750
+ need_lib_prefix=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'
21761
+ version_type=linux
21762
+ need_lib_prefix=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'
21773
+ version_type=sunos
21774
+ need_lib_prefix=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'
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'
21785
+ shlibpath_var=LD_LIBRARY_PATH
21786
+ shlibpath_overrides_runpath=yes
21787
+ hardcode_into_libs=yes
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
21798
+ version_type=linux
21799
+ need_lib_prefix=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
21808
+ version_type=sunos
21809
+ need_lib_prefix=no
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
21816
+ openbsd2.[89] | openbsd2.[89].*)
21817
+ shlibpath_overrides_runpath=no
21820
+ shlibpath_overrides_runpath=yes
21824
+ shlibpath_overrides_runpath=yes
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
21837
+osf3* | osf4* | osf5*)
21839
+ need_lib_prefix=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"
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
21856
+ version_type=linux
21857
+ need_lib_prefix=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'
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
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
21887
+ shlibpath_overrides_runpath=no
21888
+ need_lib_prefix=no
21889
+ export_dynamic_flag_spec='${wl}-Blargedynsym'
21890
+ runpath_var=LD_RUN_PATH
21893
+ need_lib_prefix=no
21896
+ need_lib_prefix=no
21898
+ shlibpath_overrides_runpath=no
21899
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
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
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
21921
+ dynamic_linker=no
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
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
21931
+if test -n "$hardcode_libdir_flag_spec" || \
21932
+ test -n "$runpath_var " || \
21933
+ test "X$hardcode_automatic"="Xyes" ; then
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
21945
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
21946
+ hardcode_action=immediate
21949
+ # We cannot hardcode anything, or else we can only hardcode existing
21951
+ hardcode_action=unsupported
21953
+echo "$as_me:$LINENO: result: $hardcode_action" >&5
21954
+echo "${ECHO_T}$hardcode_action" >&6
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
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
21975
+# FIXME - insert some real tests, host_os isn't really good enough
21978
+ if test -n "$STRIP" ; then
21979
+ striplib="$STRIP -x"
21980
+ echo "$as_me:$LINENO: result: yes" >&5
21981
+echo "${ECHO_T}yes" >&6
21983
+ echo "$as_me:$LINENO: result: no" >&5
21984
+echo "${ECHO_T}no" >&6
21988
+ echo "$as_me:$LINENO: result: no" >&5
21989
+echo "${ECHO_T}no" >&6
21994
+if test "x$enable_dlopen" != xyes; then
21995
+ enable_dlopen=unknown
21996
+ enable_dlopen_self=unknown
21997
+ enable_dlopen_self_static=unknown
22000
+ lt_cv_dlopen_libs=
22004
+ lt_cv_dlopen="load_add_on"
22005
+ lt_cv_dlopen_libs=
22006
+ lt_cv_dlopen_self=yes
22010
+ lt_cv_dlopen="LoadLibrary"
22011
+ lt_cv_dlopen_libs=
22015
+ lt_cv_dlopen="dlopen"
22016
+ lt_cv_dlopen_libs=
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
22026
+ ac_check_lib_save_LIBS=$LIBS
22028
+cat >conftest.$ac_ext <<_ACEOF
22031
+cat confdefs.h >>conftest.$ac_ext
22032
+cat >>conftest.$ac_ext <<_ACEOF
22033
+/* end confdefs.h. */
22035
+/* Override any gcc2 internal prototype to avoid an error. */
22036
+#ifdef __cplusplus
22039
+/* We use char because int might match the return type of a gcc2
22040
+ builtin and then its argument prototype would still apply. */
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
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
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
22069
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
22070
+ (exit $ac_status); }; }; then
22071
+ ac_cv_lib_dl_dlopen=yes
22073
+ echo "$as_me: failed program was:" >&5
22074
+sed 's/^/| /' conftest.$ac_ext >&5
22076
+ac_cv_lib_dl_dlopen=no
22078
+rm -f conftest.err conftest.$ac_objext \
22079
+ conftest$ac_exeext conftest.$ac_ext
22080
+LIBS=$ac_check_lib_save_LIBS
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"
22088
+ lt_cv_dlopen="dyld"
22089
+ lt_cv_dlopen_libs=
22090
+ lt_cv_dlopen_self=yes
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
22102
+ cat >conftest.$ac_ext <<_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
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. */
22118
+# include <limits.h>
22120
+# include <assert.h>
22125
+/* Override any gcc2 internal prototype to avoid an error. */
22126
+#ifdef __cplusplus
22130
+/* We use char because int might match the return type of a gcc2
22131
+ builtin and then its argument prototype would still apply. */
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)
22139
+char (*f) () = shl_load;
22141
+#ifdef __cplusplus
22148
+return f != shl_load;
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
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
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
22172
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
22173
+ (exit $ac_status); }; }; then
22174
+ ac_cv_func_shl_load=yes
22176
+ echo "$as_me: failed program was:" >&5
22177
+sed 's/^/| /' conftest.$ac_ext >&5
22179
+ac_cv_func_shl_load=no
22181
+rm -f conftest.err conftest.$ac_objext \
22182
+ conftest$ac_exeext conftest.$ac_ext
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"
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
22194
+ ac_check_lib_save_LIBS=$LIBS
22195
+LIBS="-ldld $LIBS"
22196
+cat >conftest.$ac_ext <<_ACEOF
22199
+cat confdefs.h >>conftest.$ac_ext
22200
+cat >>conftest.$ac_ext <<_ACEOF
22201
+/* end confdefs.h. */
22203
+/* Override any gcc2 internal prototype to avoid an error. */
22204
+#ifdef __cplusplus
22207
+/* We use char because int might match the return type of a gcc2
22208
+ builtin and then its argument prototype would still apply. */
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
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
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
22237
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
22238
+ (exit $ac_status); }; }; then
22239
+ ac_cv_lib_dld_shl_load=yes
22241
+ echo "$as_me: failed program was:" >&5
22242
+sed 's/^/| /' conftest.$ac_ext >&5
22244
+ac_cv_lib_dld_shl_load=no
22246
+rm -f conftest.err conftest.$ac_objext \
22247
+ conftest$ac_exeext conftest.$ac_ext
22248
+LIBS=$ac_check_lib_save_LIBS
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"
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
22260
+ cat >conftest.$ac_ext <<_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
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. */
22276
+# include <limits.h>
22278
+# include <assert.h>
22283
+/* Override any gcc2 internal prototype to avoid an error. */
22284
+#ifdef __cplusplus
22288
+/* We use char because int might match the return type of a gcc2
22289
+ builtin and then its argument prototype would still apply. */
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)
22297
+char (*f) () = dlopen;
22299
+#ifdef __cplusplus
22306
+return f != dlopen;
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
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
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
22330
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
22331
+ (exit $ac_status); }; }; then
22332
+ ac_cv_func_dlopen=yes
22334
+ echo "$as_me: failed program was:" >&5
22335
+sed 's/^/| /' conftest.$ac_ext >&5
22337
+ac_cv_func_dlopen=no
22339
+rm -f conftest.err conftest.$ac_objext \
22340
+ conftest$ac_exeext conftest.$ac_ext
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"
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
22352
+ ac_check_lib_save_LIBS=$LIBS
22354
+cat >conftest.$ac_ext <<_ACEOF
22357
+cat confdefs.h >>conftest.$ac_ext
22358
+cat >>conftest.$ac_ext <<_ACEOF
22359
+/* end confdefs.h. */
22361
+/* Override any gcc2 internal prototype to avoid an error. */
22362
+#ifdef __cplusplus
22365
+/* We use char because int might match the return type of a gcc2
22366
+ builtin and then its argument prototype would still apply. */
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
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
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
22395
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396
+ (exit $ac_status); }; }; then
22397
+ ac_cv_lib_dl_dlopen=yes
22399
+ echo "$as_me: failed program was:" >&5
22400
+sed 's/^/| /' conftest.$ac_ext >&5
22402
+ac_cv_lib_dl_dlopen=no
22404
+rm -f conftest.err conftest.$ac_objext \
22405
+ conftest$ac_exeext conftest.$ac_ext
22406
+LIBS=$ac_check_lib_save_LIBS
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"
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
22418
+ ac_check_lib_save_LIBS=$LIBS
22419
+LIBS="-lsvld $LIBS"
22420
+cat >conftest.$ac_ext <<_ACEOF
22423
+cat confdefs.h >>conftest.$ac_ext
22424
+cat >>conftest.$ac_ext <<_ACEOF
22425
+/* end confdefs.h. */
22427
+/* Override any gcc2 internal prototype to avoid an error. */
22428
+#ifdef __cplusplus
22431
+/* We use char because int might match the return type of a gcc2
22432
+ builtin and then its argument prototype would still apply. */
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
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
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
22461
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462
+ (exit $ac_status); }; }; then
22463
+ ac_cv_lib_svld_dlopen=yes
22465
+ echo "$as_me: failed program was:" >&5
22466
+sed 's/^/| /' conftest.$ac_ext >&5
22468
+ac_cv_lib_svld_dlopen=no
22470
+rm -f conftest.err conftest.$ac_objext \
22471
+ conftest$ac_exeext conftest.$ac_ext
22472
+LIBS=$ac_check_lib_save_LIBS
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"
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
22484
+ ac_check_lib_save_LIBS=$LIBS
22485
+LIBS="-ldld $LIBS"
22486
+cat >conftest.$ac_ext <<_ACEOF
22489
+cat confdefs.h >>conftest.$ac_ext
22490
+cat >>conftest.$ac_ext <<_ACEOF
22491
+/* end confdefs.h. */
22493
+/* Override any gcc2 internal prototype to avoid an error. */
22494
+#ifdef __cplusplus
22497
+/* We use char because int might match the return type of a gcc2
22498
+ builtin and then its argument prototype would still apply. */
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
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
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
22527
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
22528
+ (exit $ac_status); }; }; then
22529
+ ac_cv_lib_dld_dld_link=yes
22531
+ echo "$as_me: failed program was:" >&5
22532
+sed 's/^/| /' conftest.$ac_ext >&5
22534
+ac_cv_lib_dld_dld_link=no
22536
+rm -f conftest.err conftest.$ac_objext \
22537
+ conftest$ac_exeext conftest.$ac_ext
22538
+LIBS=$ac_check_lib_save_LIBS
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"
22564
+ if test "x$lt_cv_dlopen" != xno; then
22565
+ enable_dlopen=yes
22570
+ case $lt_cv_dlopen in
22572
+ save_CPPFLAGS="$CPPFLAGS"
22573
+ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
22575
+ save_LDFLAGS="$LDFLAGS"
22576
+ eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
22578
+ save_LIBS="$LIBS"
22579
+ LIBS="$lt_cv_dlopen_libs $LIBS"
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
22586
+ if test "$cross_compiling" = yes; then :
22587
+ lt_cv_dlopen_self=cross
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"
22596
+#include <dlfcn.h>
22599
+#include <stdio.h>
22601
+#ifdef RTLD_GLOBAL
22602
+# define LT_DLGLOBAL RTLD_GLOBAL
22605
+# define LT_DLGLOBAL DL_GLOBAL
22607
+# define LT_DLGLOBAL 0
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
22615
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
22618
+# define LT_DLLAZY_OR_NOW DL_LAZY
22621
+# define LT_DLLAZY_OR_NOW RTLD_NOW
22624
+# define LT_DLLAZY_OR_NOW DL_NOW
22626
+# define LT_DLLAZY_OR_NOW 0
22633
+#ifdef __cplusplus
22634
+extern "C" void exit (int);
22637
+void fnord() { int i=42;}
22640
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
22641
+ int status = $lt_dlunknown;
22645
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
22646
+ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
22647
+ /* dlclose (self); */
22653
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22654
+ (eval $ac_link) 2>&5
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
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 ;;
22666
+ # compilation failed
22667
+ lt_cv_dlopen_self=no
22674
+echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
22675
+echo "${ECHO_T}$lt_cv_dlopen_self" >&6
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
22684
+ if test "$cross_compiling" = yes; then :
22685
+ lt_cv_dlopen_self_static=cross
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"
22694
+#include <dlfcn.h>
22697
+#include <stdio.h>
22699
+#ifdef RTLD_GLOBAL
22700
+# define LT_DLGLOBAL RTLD_GLOBAL
22703
+# define LT_DLGLOBAL DL_GLOBAL
22705
+# define LT_DLGLOBAL 0
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
22713
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
22716
+# define LT_DLLAZY_OR_NOW DL_LAZY
22719
+# define LT_DLLAZY_OR_NOW RTLD_NOW
22722
+# define LT_DLLAZY_OR_NOW DL_NOW
22724
+# define LT_DLLAZY_OR_NOW 0
22731
+#ifdef __cplusplus
22732
+extern "C" void exit (int);
22735
+void fnord() { int i=42;}
22738
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
22739
+ int status = $lt_dlunknown;
22743
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
22744
+ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
22745
+ /* dlclose (self); */
22751
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22752
+ (eval $ac_link) 2>&5
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
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 ;;
22764
+ # compilation failed
22765
+ lt_cv_dlopen_self_static=no
22772
+echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
22773
+echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
22776
+ CPPFLAGS="$save_CPPFLAGS"
22777
+ LDFLAGS="$save_LDFLAGS"
22778
+ LIBS="$save_LIBS"
22782
+ case $lt_cv_dlopen_self in
22783
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
22784
+ *) enable_dlopen_self=unknown ;;
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 ;;
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
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
22804
+# On AIX, shared libraries and static libraries use the same namespace, and
22805
+# are all built from PIC.
22806
+case "$host_os" in
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'
22816
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
22817
+ test "$enable_shared" = yes && enable_static=no
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'
22827
+ *) # Darwin 1.3 on
22828
+ if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
22829
+ allow_undefined_flag='-flat_namespace -undefined suppress'
22831
+ case ${MACOSX_DEPLOYMENT_TARGET} in
22833
+ allow_undefined_flag='-flat_namespace -undefined suppress'
22836
+ allow_undefined_flag='-undefined dynamic_lookup'
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
22858
+echo "$as_me:$LINENO: result: $enable_shared" >&5
22859
+echo "${ECHO_T}$enable_shared" >&6
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
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
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 \
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 \
22904
+ postdep_objects \
22907
+ compiler_lib_search_path \
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 \
22921
+ module_expsym_cmds \
22922
+ lt_cv_prog_compiler_c_o \
22923
+ exclude_expsyms \
22924
+ include_expsyms; do
22927
+ old_archive_cmds | \
22928
+ old_archive_from_new_cmds | \
22930
+ archive_expsym_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\"\`\\\""
22943
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
22949
+ *'\$0 --fallback-echo"')
22950
+ lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
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;}
22960
+ cat <<__EOF__ >> "$cfgfile"
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.
22967
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
22968
+# Free Software Foundation, Inc.
22970
+# This file is part of GNU Libtool:
22971
+# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
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.
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.
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.
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.
22992
+# A sed program that does not truncate output.
22995
+# Sed that helps us avoid accidentally triggering echo(1) options like -n.
22996
+Xsed="$SED -e s/^X//"
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
23002
+# The names of the tagged configurations supported by this script.
23005
+# ### BEGIN LIBTOOL CONFIG
23007
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23009
+# Shell to use when invoking shell scripts.
23012
+# Whether or not to build shared libraries.
23013
+build_libtool_libs=$enable_shared
23015
+# Whether or not to build static libraries.
23016
+build_old_libs=$enable_static
23018
+# Whether or not to add -lc for building shared libraries.
23019
+build_libtool_need_lc=$archive_cmds_need_lc
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
23024
+# Whether or not to optimize for fast installation.
23025
+fast_install=$enable_fast_install
23027
+# The host system.
23028
+host_alias=$host_alias
23031
+# An echo program that does not interpret backslashes.
23036
+AR_FLAGS=$lt_AR_FLAGS
23041
+# A language-specific compiler.
23044
+# Is the compiler the GNU C compiler?
23050
+# The linker used to build libraries.
23053
+# Whether we need hard or soft links.
23056
+# A BSD-compatible nm program.
23059
+# A symbol stripping program
23062
+# Used to examine libraries when file_magic_cmd begins "file"
23063
+MAGIC_CMD=$MAGIC_CMD
23065
+# Used on cygwin: DLL creation program.
23066
+DLLTOOL="$DLLTOOL"
23068
+# Used on cygwin: object dumper.
23069
+OBJDUMP="$OBJDUMP"
23071
+# Used on cygwin: assembler.
23074
+# The name of the directory that contains temporary libtool files.
23077
+# How to create reloadable object files.
23078
+reload_flag=$lt_reload_flag
23079
+reload_cmds=$lt_reload_cmds
23081
+# How to pass a linker flag through the compiler.
23082
+wl=$lt_lt_prog_compiler_wl
23084
+# Object file suffix (normally "o").
23085
+objext="$ac_objext"
23087
+# Old archive suffix (normally "a").
23090
+# Shared library suffix (normally ".so").
23091
+shrext_cmds='$shrext_cmds'
23093
+# Executable file suffix (normally "").
23096
+# Additional compiler flags for building library objects.
23097
+pic_flag=$lt_lt_prog_compiler_pic
23098
+pic_mode=$pic_mode
23100
+# What is the maximum length of a command?
23101
+max_cmd_len=$lt_cv_sys_max_cmd_len
23103
+# Does compiler simultaneously support -c and -o options?
23104
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23106
+# Must we lock files when doing compilation ?
23107
+need_locks=$lt_need_locks
23109
+# Do we need the lib prefix for modules?
23110
+need_lib_prefix=$need_lib_prefix
23112
+# Do we need a version for libraries?
23113
+need_version=$need_version
23115
+# Whether dlopen is supported.
23116
+dlopen_support=$enable_dlopen
23118
+# Whether dlopen of programs is supported.
23119
+dlopen_self=$enable_dlopen_self
23121
+# Whether dlopen of statically linked programs is supported.
23122
+dlopen_self_static=$enable_dlopen_self_static
23124
+# Compiler flag to prevent dynamic linking.
23125
+link_static_flag=$lt_lt_prog_compiler_static
23127
+# Compiler flag to turn off builtin functions.
23128
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23130
+# Compiler flag to allow reflexive dlopens.
23131
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23133
+# Compiler flag to generate shared objects directly from archives.
23134
+whole_archive_flag_spec=$lt_whole_archive_flag_spec
23136
+# Compiler flag to generate thread-safe objects.
23137
+thread_safe_flag_spec=$lt_thread_safe_flag_spec
23139
+# Library versioning type.
23140
+version_type=$version_type
23142
+# Format of library name prefix.
23143
+libname_spec=$lt_libname_spec
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
23149
+# The coded name of the library, if different from the real name.
23150
+soname_spec=$lt_soname_spec
23152
+# Commands used to build and install an old-style archive.
23154
+old_archive_cmds=$lt_old_archive_cmds
23155
+old_postinstall_cmds=$lt_old_postinstall_cmds
23156
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
23158
+# Create an old-style archive from a shared archive.
23159
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
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
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
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
23174
+# Commands to strip libraries.
23175
+old_striplib=$lt_old_striplib
23176
+striplib=$lt_striplib
23178
+# Dependencies to place before the objects being linked to create a
23180
+predep_objects=$lt_predep_objects
23182
+# Dependencies to place after the objects being linked to create a
23184
+postdep_objects=$lt_postdep_objects
23186
+# Dependencies to place before the objects being linked to create a
23188
+predeps=$lt_predeps
23190
+# Dependencies to place after the objects being linked to create a
23192
+postdeps=$lt_postdeps
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
23198
+# Method to check whether dependent libraries are shared objects.
23199
+deplibs_check_method=$lt_deplibs_check_method
23201
+# Command to use when deplibs_check_method == file_magic.
23202
+file_magic_cmd=$lt_file_magic_cmd
23204
+# Flag that allows shared libraries with undefined symbols to be built.
23205
+allow_undefined_flag=$lt_allow_undefined_flag
23207
+# Flag that forces no undefined symbols.
23208
+no_undefined_flag=$lt_no_undefined_flag
23210
+# Commands used to finish a libtool library installation in a directory.
23211
+finish_cmds=$lt_finish_cmds
23213
+# Same as above, but a single script fragment to be evaled but not shown.
23214
+finish_eval=$lt_finish_eval
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
23219
+# Transform the output of nm in a proper C declaration
23220
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
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
23225
+# This is the shared library runtime path variable.
23226
+runpath_var=$runpath_var
23228
+# This is the shared library path variable.
23229
+shlibpath_var=$shlibpath_var
23231
+# Is shlibpath searched before the hard-coded library search path?
23232
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23234
+# How to hardcode a shared library path into an executable.
23235
+hardcode_action=$hardcode_action
23237
+# Whether we should hardcode library paths into libraries.
23238
+hardcode_into_libs=$hardcode_into_libs
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
23244
+# If ld is used when linking, flag to hardcode \$libdir into
23245
+# a binary during linking. This must work even if \$libdir does
23247
+hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
23249
+# Whether we need a single -rpath flag with a separated argument.
23250
+hardcode_libdir_separator=$lt_hardcode_libdir_separator
23252
+# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
23253
+# resulting binary.
23254
+hardcode_direct=$hardcode_direct
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
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
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
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"
23272
+# Whether libtool must link a program against all its dependency libraries.
23273
+link_all_deplibs=$link_all_deplibs
23275
+# Compile-time system search path for libraries
23276
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23278
+# Run-time system search path for libraries
23279
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23281
+# Fix the shell variable \$srcfile for the compiler.
23282
+fix_srcfile_path="$fix_srcfile_path"
23284
+# Set to yes if exported symbols are required.
23285
+always_export_symbols=$always_export_symbols
23287
+# The commands to list exported symbols.
23288
+export_symbols_cmds=$lt_export_symbols_cmds
23290
+# The commands to extract the exported symbol list from a shared archive.
23291
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
23293
+# Symbols that should not be listed in the preloaded symbols.
23294
+exclude_expsyms=$lt_exclude_expsyms
23296
+# Symbols that must always be exported.
23297
+include_expsyms=$lt_include_expsyms
23299
+# ### END LIBTOOL CONFIG
23306
+ cat <<\EOF >> "$cfgfile"
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
23313
+ export COLLECT_NAMES
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)
23325
+ mv -f "$cfgfile" "$ofile" || \
23326
+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23327
+ chmod +x "$ofile"
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"
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
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"
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;}
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;}
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;}
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'`
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
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; }; }
23388
+ if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
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; }; }
23395
+ # Update the list of available tags.
23396
+ if test -n "$tagname"; then
23397
+ echo appending configuration tag \"$tagname\" to $ofile
23401
+ if test -n "$CXX" && test "X$CXX" != "Xno"; then
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
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
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
23430
+# Dependencies to place before and after the object being linked:
23431
+predep_objects_CXX=
23432
+postdep_objects_CXX=
23435
+compiler_lib_search_path_CXX=
23437
+# Source file extension for C++ test sources.
23440
+# Object file extension for compiled C++ test sources.
23442
+objext_CXX=$objext
23444
+# Code to be used in simple compile tests
23445
+lt_simple_compile_test_code="int some_variable = 0;\n"
23447
+# Code to be used in simple link tests
23448
+lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
23450
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
23452
+# If no C compiler was specified, use CC.
23453
+LTCC=${LTCC-"$CC"}
23455
+# Allow CC to be a program name with arguments.
23459
+# Allow CC to be a program name with arguments.
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
23469
+ unset lt_cv_prog_gnu_ld
23471
+if test -n "${lt_cv_path_LDCXX+set}"; then
23472
+ lt_cv_path_LD=$lt_cv_path_LDCXX
23474
+ unset lt_cv_path_LD
23476
+test -z "${LDCXX+set}" || LD=$LDCXX
23480
+cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
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'
23487
+ lt_prog_compiler_no_builtin_flag_CXX=
23490
+if test "$GXX" = yes; then
23491
+ # Set up default GNU C++ configuration
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
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
23508
+ # gcc leaves a trailing carriage return which upsets mingw
23509
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
23511
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
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%/%"`
23522
+ test -z "$LD" && LD="$ac_prog"
23525
+ # If it fails, then pretend we aren't using GCC.
23529
+ # If it is relative, then search for the first ld in PATH.
23530
+ with_gnu_ld=unknown
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
23537
+ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
23538
+echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
23540
+if test "${lt_cv_path_LD+set}" = set; then
23541
+ echo $ECHO_N "(cached) $ECHO_C" >&6
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
23558
+ test "$with_gnu_ld" != yes && break
23563
+ IFS="$lt_save_ifs"
23565
+ lt_cv_path_LD="$LD" # Let the user override the test with a path.
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
23574
+ echo "$as_me:$LINENO: result: no" >&5
23575
+echo "${ECHO_T}no" >&6
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
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
23591
+ lt_cv_prog_gnu_ld=no
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
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'
23607
+ hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
23608
+ export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
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)
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'
23620
+ whole_archive_flag_spec_CXX=
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'
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"'
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
23651
+ # FIXME: insert proper C++ library support
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'
23662
+ aix_use_runtimelinking=no
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
23671
+ aix_use_runtimelinking=yes
23678
+ exp_sym_flag='-bexport'
23679
+ no_entry_flag='-bnoentry'
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.
23688
+ archive_cmds_CXX=''
23689
+ hardcode_direct_CXX=yes
23690
+ hardcode_libdir_separator_CXX=':'
23691
+ link_all_deplibs_CXX=yes
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
23701
+ # We have reworked collect2
23702
+ hardcode_direct_CXX=yes
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=
23714
+ shared_flag='-shared'
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:
23722
+ if test "$aix_use_runtimelinking" = yes; then
23723
+ shared_flag='${wl}-G'
23725
+ shared_flag='${wl}-bM:SRE'
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
23741
+cat confdefs.h >>conftest.$ac_ext
23742
+cat >>conftest.$ac_ext <<_ACEOF
23743
+/* end confdefs.h. */
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
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
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
23772
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
23773
+ (exit $ac_status); }; }; then
23775
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
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; }
23781
+ echo "$as_me: failed program was:" >&5
23782
+sed 's/^/| /' conftest.$ac_ext >&5
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
23789
+ hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
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"
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"
23798
+ # Determine the default libpath from the value encoded in an empty executable.
23799
+ cat >conftest.$ac_ext <<_ACEOF
23802
+cat confdefs.h >>conftest.$ac_ext
23803
+cat >>conftest.$ac_ext <<_ACEOF
23804
+/* end confdefs.h. */
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
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
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
23833
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
23834
+ (exit $ac_status); }; }; then
23836
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
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; }
23842
+ echo "$as_me: failed program was:" >&5
23843
+sed 's/^/| /' conftest.$ac_ext >&5
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
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'
23866
+ case $cc_basename in
23868
+ # FIXME: insert proper C++ library support
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
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;
23889
+ echo EXPORTS > $output_objdir/$soname.def;
23890
+ cat $export_symbols >> $output_objdir/$soname.def;
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'
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'
23905
+ *) # Darwin 1.3 on
23906
+ if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
23907
+ allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
23909
+ case ${MACOSX_DEPLOYMENT_TARGET} in
23911
+ allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
23914
+ allow_undefined_flag_CXX='-undefined dynamic_lookup'
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
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'
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'
23930
+ module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
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}'
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}'
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
23950
+ case $cc_basename in
23952
+ # FIXME: insert proper C++ library support
23956
+ # Green Hills C++ Compiler
23957
+ # FIXME: insert proper C++ library support
23961
+ # FIXME: insert proper C++ library support
23967
+ # C++ shared libraries reported to be fairly broken before switch to ELF
23971
+ archive_cmds_need_lc_CXX=no
23973
+ freebsd* | kfreebsd*-gnu)
23974
+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
23976
+ ld_shlibs_CXX=yes
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.
23989
+ case $cc_basename in
23991
+ # FIXME: insert proper C++ library support
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.
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
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'
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'
24010
+ # FIXME: insert proper C++ library support
24017
+ if test $with_gnu_ld = no; then
24018
+ case "$host_cpu" in
24020
+ hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
24021
+ hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
24022
+ hardcode_libdir_separator_CXX=:
24025
+ hardcode_libdir_flag_spec_CXX='-L$libdir'
24028
+ hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
24029
+ hardcode_libdir_separator_CXX=:
24030
+ export_dynamic_flag_spec_CXX='${wl}-E'
24034
+ case "$host_cpu" in
24036
+ hardcode_direct_CXX=no
24037
+ hardcode_shlibpath_var_CXX=no
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.
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.
24054
+ case $cc_basename in
24056
+ # FIXME: insert proper C++ library support
24060
+ case "$host_cpu" in
24062
+ archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
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'
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.
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
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'
24079
+ if test "$GXX" = yes; then
24080
+ if test $with_gnu_ld = no; then
24081
+ case "$host_cpu" in
24083
+ archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
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'
24091
+ # FIXME: insert proper C++ library support
24098
+ case $cc_basename in
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'
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'
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'
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'
24117
+ link_all_deplibs_CXX=yes
24120
+ hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
24121
+ hardcode_libdir_separator_CXX=:
24124
+ case $cc_basename in
24126
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
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.
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
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'
24143
+ hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
24144
+ export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
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'
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'
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'
24165
+ runpath_var=LD_RUN_PATH
24166
+ hardcode_libdir_flag_spec_CXX='-rpath $libdir'
24167
+ hardcode_libdir_separator_CXX=:
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.
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
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'
24182
+ # FIXME: insert proper C++ library support
24186
+ # FIXME: insert proper C++ library support
24190
+ case $cc_basename in
24192
+ # FIXME: insert proper C++ library support
24196
+ # FIXME: insert proper C++ library support
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'
24205
+ hardcode_libdir_flag_spec_CXX='-R$libdir'
24206
+ hardcode_direct_CXX=yes
24207
+ hardcode_shlibpath_var_CXX=no
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::"'
24213
+ case $cc_basename in
24215
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
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'
24222
+ hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
24223
+ hardcode_libdir_separator_CXX=:
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'
24231
+ # Rational C++ 2.4.1
24232
+ # FIXME: insert proper C++ library support
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'
24239
+ hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
24240
+ hardcode_libdir_separator_CXX=:
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.
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
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'
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'
24257
+ hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
24258
+ hardcode_libdir_separator_CXX=:
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"'
24266
+ # FIXME: insert proper C++ library support
24273
+ case $cc_basename in
24275
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
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'
24282
+ hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
24283
+ hardcode_libdir_separator_CXX=:
24285
+ # Archives containing C++ object files must be created using
24286
+ # the KAI C++ compiler.
24287
+ old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
24290
+ # Rational C++ 2.4.1
24291
+ # FIXME: insert proper C++ library support
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~
24302
+ hardcode_libdir_flag_spec_CXX='-rpath $libdir'
24303
+ hardcode_libdir_separator_CXX=:
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.
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
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'
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'
24320
+ hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
24321
+ hardcode_libdir_separator_CXX=:
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"'
24329
+ # FIXME: insert proper C++ library support
24336
+ # FIXME: insert proper C++ library support
24340
+ archive_cmds_need_lc_CXX=no
24341
+ case $cc_basename in
24343
+ # FIXME: insert proper C++ library support
24347
+ # FIXME: insert proper C++ library support
24353
+ case $cc_basename in
24356
+ # FIXME: insert proper C++ library support
24361
+ # FIXME: insert proper C++ library support
24365
+ # FIXME: insert proper C++ library support
24371
+ case $cc_basename in
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'
24379
+ hardcode_libdir_flag_spec_CXX='-R$libdir'
24380
+ hardcode_shlibpath_var_CXX=no
24382
+ solaris2.0-5 | solaris2.0-5.*) ;;
24384
+ # The C++ compiler is used as linker so we must use $wl
24385
+ # flag to pass the commands to the underlying system
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'
24391
+ link_all_deplibs_CXX=yes
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.
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
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'
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'
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'
24413
+ # The C++ compiler must be used to create the archive.
24414
+ old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
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'
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\""
24430
+ # g++ 2.7 appears to require `-G' NOT `-shared' on this
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'
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\""
24442
+ hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
24447
+ sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
24448
+ archive_cmds_need_lc_CXX=no
24451
+ case $cc_basename in
24453
+ # NonStop-UX NCC 3.20
24454
+ # FIXME: insert proper C++ library support
24458
+ # FIXME: insert proper C++ library support
24464
+ # FIXME: insert proper C++ library support
24468
+ # FIXME: insert proper C++ library support
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
24480
+cat > conftest.$ac_ext <<EOF
24484
+ Foo (void) { a = 0; }
24490
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24491
+ (eval $ac_compile) 2>&5
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.
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
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\"`"
24507
+ for p in `eval $output_verbose_link_cmd`; do
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
24521
+ if test "$pre_test_object_deps_done" = no; then
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}"
24530
+ compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
24533
+ # The "-l" case would never come before the object being
24534
+ # linked, so don't bother handling this case.
24537
+ if test -z "$postdeps_CXX"; then
24538
+ postdeps_CXX="${prev}${p}"
24540
+ postdeps_CXX="${postdeps_CXX} ${prev}${p}"
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
24553
+ if test "$pre_test_object_deps_done" = no; then
24554
+ if test -z "$predep_objects_CXX"; then
24555
+ predep_objects_CXX="$p"
24557
+ predep_objects_CXX="$predep_objects_CXX $p"
24560
+ if test -z "$postdep_objects_CXX"; then
24561
+ postdep_objects_CXX="$p"
24563
+ postdep_objects_CXX="$postdep_objects_CXX $p"
24568
+ *) ;; # Ignore the rest.
24574
+ rm -f a.out a.exe
24576
+ echo "libtool.m4: error: problem compiling CXX test program"
24579
+$rm -f confest.$objext
24581
+case " $postdeps_CXX " in
24582
+*" -lc "*) archive_cmds_need_lc_CXX=no ;;
24585
+lt_prog_compiler_wl_CXX=
24586
+lt_prog_compiler_pic_CXX=
24587
+lt_prog_compiler_static_CXX=
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
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'
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'
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'
24611
+ beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
24612
+ # PIC is the default for these OSes.
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'
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'
24625
+ # DJGPP does not support shared libraries at all
24626
+ lt_prog_compiler_pic_CXX=
24629
+ if test -d /usr/nec; then
24630
+ lt_prog_compiler_pic_CXX=-Kconform_pic
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
24640
+ lt_prog_compiler_pic_CXX='-fPIC'
24645
+ lt_prog_compiler_pic_CXX='-fPIC'
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'
24656
+ lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
24660
+ case $cc_basename in
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"
24668
+ case $cc_basename in
24670
+ lt_prog_compiler_pic_CXX='-KPIC'
24673
+ # Green Hills C++ Compiler
24674
+ lt_prog_compiler_pic_CXX='-pic'
24680
+ freebsd* | kfreebsd*-gnu)
24681
+ # FreeBSD uses GNU C++
24683
+ hpux9* | hpux10* | hpux11*)
24684
+ case $cc_basename in
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'
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
24700
+ lt_prog_compiler_pic_CXX='+Z'
24708
+ irix5* | irix6* | nonstopux*)
24709
+ case $cc_basename in
24711
+ lt_prog_compiler_wl_CXX='-Wl,'
24712
+ lt_prog_compiler_static_CXX='-non_shared'
24713
+ # CC pic flag -KPIC is the default.
24720
+ case $cc_basename in
24722
+ # KAI C++ Compiler
24723
+ lt_prog_compiler_wl_CXX='--backend -Wl,'
24724
+ lt_prog_compiler_pic_CXX='-fPIC'
24728
+ lt_prog_compiler_wl_CXX='-Wl,'
24729
+ lt_prog_compiler_pic_CXX='-KPIC'
24730
+ lt_prog_compiler_static_CXX='-static'
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'
24748
+ case $cc_basename in
24750
+ lt_prog_compiler_pic_CXX='-W c,exportall'
24756
+ netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
24758
+ osf3* | osf4* | osf5*)
24759
+ case $cc_basename in
24761
+ lt_prog_compiler_wl_CXX='--backend -Wl,'
24764
+ # Rational C++ 2.4.1
24765
+ lt_prog_compiler_pic_CXX='-pic'
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'
24782
+ case $cc_basename in
24784
+ lt_prog_compiler_pic_CXX='-fPIC'
24791
+ case $cc_basename in
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 '
24799
+ # Green Hills C++ Compiler
24800
+ lt_prog_compiler_pic_CXX='-PIC'
24807
+ case $cc_basename in
24810
+ lt_prog_compiler_pic_CXX='-pic'
24811
+ lt_prog_compiler_static_CXX='-Bstatic'
24815
+ lt_prog_compiler_pic_CXX='-pic'
24822
+ case $cc_basename in
24824
+ # NonStop-UX NCC 3.20
24825
+ lt_prog_compiler_pic_CXX='-KPIC'
24836
+ lt_prog_compiler_can_build_shared_CXX=no
24841
+echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
24842
+echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
24845
+# Check to make sure the PIC flag actually works.
24847
+if test -n "$lt_prog_compiler_pic_CXX"; then
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
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)
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
24882
+echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
24883
+echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
24885
+if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
24886
+ case $lt_prog_compiler_pic_CXX in
24888
+ *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
24891
+ lt_prog_compiler_pic_CXX=
24892
+ lt_prog_compiler_can_build_shared_CXX=no
24896
+case "$host_os" in
24897
+ # For platforms which do not support PIC, -DPIC is meaningless:
24899
+ lt_prog_compiler_pic_CXX=
24902
+ lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
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
24911
+ lt_cv_prog_compiler_c_o_CXX=no
24912
+ $rm -r conftest 2>/dev/null
24916
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
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)
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
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
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
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
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
24962
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
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;}
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
24980
+ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
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'
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'
24992
+ export_symbols_cmds_CXX="$ltdll_cmds"
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'
24998
+ link_all_deplibs_CXX=no
25001
+ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
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
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"
25015
+# Do we need to explicitly link libc?
25017
+case "x$archive_cmds_need_lc_CXX" in
25019
+ # Assume -lc should be added
25020
+ archive_cmds_need_lc_CXX=yes
25022
+ if test "$enable_shared" = yes && test "$GCC" = yes; then
25023
+ case $archive_cmds_CXX in
25025
+ # FIXME: we may have to deal with multi-command sequences.
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
25034
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
25036
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25037
+ (eval $ac_compile) 2>&5
25039
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
25040
+ (exit $ac_status); } 2>conftest.err; then
25043
+ libobjs=conftest.$ac_objext
25045
+ wl=$lt_prog_compiler_wl_CXX
25046
+ compiler_flags=-v
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
25056
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
25057
+ (exit $ac_status); }
25059
+ archive_cmds_need_lc_CXX=no
25061
+ archive_cmds_need_lc_CXX=yes
25063
+ allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
25065
+ cat conftest.err 1>&5
25068
+ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
25069
+echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
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'
25083
+postuninstall_cmds=
25087
+shlibpath_overrides_runpath=unknown
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'`
25100
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25103
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
25105
+need_lib_prefix=unknown
25106
+hardcode_into_libs=no
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
25114
+ version_type=linux
25115
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
25116
+ shlibpath_var=LIBPATH
25118
+ # AIX 3 has no versioning support, so we append a major version to the name.
25119
+ soname_spec='${libname}${release}${shared_ext}$major'
25123
+ version_type=linux
25124
+ need_lib_prefix=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
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.
25138
+ aix4 | aix4.[01] | aix4.[01].*)
25139
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
25141
+ echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
25144
+ can_build_shared=no
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}'
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'
25162
+ shlibpath_var=LIBPATH
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'
25173
+ library_names_spec='${libname}${shared_ext}'
25174
+ dynamic_linker="$host_os ld.so"
25175
+ shlibpath_var=LIBRARY_PATH
25179
+ version_type=linux
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
25192
+cygwin* | mingw* | pw32*)
25193
+ version_type=windows
25194
+ shrext_cmds=".dll"
25196
+ need_lib_prefix=no
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~
25210
+ shlibpath_overrides_runpath=yes
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"
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'`
25231
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
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}'
25242
+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
25245
+ dynamic_linker='Win32 ld.exe'
25246
+ # FIXME: first we should search . and the directory the executable is in
25247
+ shlibpath_var=PATH
25250
+darwin* | rhapsody*)
25251
+ dynamic_linker="$host_os dyld"
25252
+ version_type=darwin
25253
+ need_lib_prefix=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"`
25264
+ sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
25266
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
25270
+ version_type=linux
25271
+ need_lib_prefix=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
25279
+ dynamic_linker=no
25283
+ version_type=linux
25284
+ need_lib_prefix=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'
25295
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
25296
+ version_type=freebsd-$objformat
25297
+ case $version_type in
25299
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25301
+ need_lib_prefix=no
25304
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
25308
+ shlibpath_var=LD_LIBRARY_PATH
25311
+ shlibpath_overrides_runpath=yes
25313
+ freebsd3.01* | freebsdelf3.01*)
25314
+ shlibpath_overrides_runpath=yes
25315
+ hardcode_into_libs=yes
25318
+ shlibpath_overrides_runpath=no
25319
+ hardcode_into_libs=yes
25325
+ version_type=linux
25326
+ need_lib_prefix=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
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
25340
+ case "$host_cpu" in
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"
25352
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
25354
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
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
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'
25376
+ # HP-UX runs *really* slowly unless shared libraries are mode 555.
25377
+ postinstall_cmds='chmod 555 $lib'
25380
+irix5* | irix6* | nonstopux*)
25382
+ nonstopux*) version_type=nonstopux ;;
25384
+ if test "$lt_cv_prog_gnu_ld" = yes; then
25385
+ version_type=linux
25387
+ version_type=irix
25390
+ need_lib_prefix=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}'
25395
+ irix5* | nonstopux*)
25396
+ libsuff= shlibsuff=
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;;
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
25417
+# No shared lib support for Linux oldld, aout, or coff.
25418
+linux*oldld* | linux*aout* | linux*coff*)
25419
+ dynamic_linker=no
25422
+# This must be Linux ELF.
25424
+ version_type=linux
25425
+ need_lib_prefix=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
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"
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'
25453
+ version_type=linux
25454
+ need_lib_prefix=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'
25465
+ version_type=linux
25466
+ need_lib_prefix=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'
25477
+ version_type=sunos
25478
+ need_lib_prefix=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'
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'
25489
+ shlibpath_var=LD_LIBRARY_PATH
25490
+ shlibpath_overrides_runpath=yes
25491
+ hardcode_into_libs=yes
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
25502
+ version_type=linux
25503
+ need_lib_prefix=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
25512
+ version_type=sunos
25513
+ need_lib_prefix=no
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
25520
+ openbsd2.[89] | openbsd2.[89].*)
25521
+ shlibpath_overrides_runpath=no
25524
+ shlibpath_overrides_runpath=yes
25528
+ shlibpath_overrides_runpath=yes
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
25541
+osf3* | osf4* | osf5*)
25543
+ need_lib_prefix=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"
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
25560
+ version_type=linux
25561
+ need_lib_prefix=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'
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
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
25591
+ shlibpath_overrides_runpath=no
25592
+ need_lib_prefix=no
25593
+ export_dynamic_flag_spec='${wl}-Blargedynsym'
25594
+ runpath_var=LD_RUN_PATH
25597
+ need_lib_prefix=no
25600
+ need_lib_prefix=no
25602
+ shlibpath_overrides_runpath=no
25603
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
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
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
25625
+ dynamic_linker=no
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
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
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
25649
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
25650
+ hardcode_action_CXX=immediate
25653
+ # We cannot hardcode anything, or else we can only hardcode existing
25655
+ hardcode_action_CXX=unsupported
25657
+echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
25658
+echo "${ECHO_T}$hardcode_action_CXX" >&6
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
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
25679
+# FIXME - insert some real tests, host_os isn't really good enough
25682
+ if test -n "$STRIP" ; then
25683
+ striplib="$STRIP -x"
25684
+ echo "$as_me:$LINENO: result: yes" >&5
25685
+echo "${ECHO_T}yes" >&6
25687
+ echo "$as_me:$LINENO: result: no" >&5
25688
+echo "${ECHO_T}no" >&6
25692
+ echo "$as_me:$LINENO: result: no" >&5
25693
+echo "${ECHO_T}no" >&6
25698
+if test "x$enable_dlopen" != xyes; then
25699
+ enable_dlopen=unknown
25700
+ enable_dlopen_self=unknown
25701
+ enable_dlopen_self_static=unknown
25704
+ lt_cv_dlopen_libs=
25708
+ lt_cv_dlopen="load_add_on"
25709
+ lt_cv_dlopen_libs=
25710
+ lt_cv_dlopen_self=yes
25714
+ lt_cv_dlopen="LoadLibrary"
25715
+ lt_cv_dlopen_libs=
25719
+ lt_cv_dlopen="dlopen"
25720
+ lt_cv_dlopen_libs=
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
25730
+ ac_check_lib_save_LIBS=$LIBS
25732
+cat >conftest.$ac_ext <<_ACEOF
25735
+cat confdefs.h >>conftest.$ac_ext
25736
+cat >>conftest.$ac_ext <<_ACEOF
25737
+/* end confdefs.h. */
25739
+/* Override any gcc2 internal prototype to avoid an error. */
25740
+#ifdef __cplusplus
25743
+/* We use char because int might match the return type of a gcc2
25744
+ builtin and then its argument prototype would still apply. */
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
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
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
25773
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
25774
+ (exit $ac_status); }; }; then
25775
+ ac_cv_lib_dl_dlopen=yes
25777
+ echo "$as_me: failed program was:" >&5
25778
+sed 's/^/| /' conftest.$ac_ext >&5
25780
+ac_cv_lib_dl_dlopen=no
25782
+rm -f conftest.err conftest.$ac_objext \
25783
+ conftest$ac_exeext conftest.$ac_ext
25784
+LIBS=$ac_check_lib_save_LIBS
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"
25792
+ lt_cv_dlopen="dyld"
25793
+ lt_cv_dlopen_libs=
25794
+ lt_cv_dlopen_self=yes
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
25806
+ cat >conftest.$ac_ext <<_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
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. */
25822
+# include <limits.h>
25824
+# include <assert.h>
25829
+/* Override any gcc2 internal prototype to avoid an error. */
25830
+#ifdef __cplusplus
25834
+/* We use char because int might match the return type of a gcc2
25835
+ builtin and then its argument prototype would still apply. */
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)
25843
+char (*f) () = shl_load;
25845
+#ifdef __cplusplus
25852
+return f != shl_load;
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
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
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
25876
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
25877
+ (exit $ac_status); }; }; then
25878
+ ac_cv_func_shl_load=yes
25880
+ echo "$as_me: failed program was:" >&5
25881
+sed 's/^/| /' conftest.$ac_ext >&5
25883
+ac_cv_func_shl_load=no
25885
+rm -f conftest.err conftest.$ac_objext \
25886
+ conftest$ac_exeext conftest.$ac_ext
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"
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
25898
+ ac_check_lib_save_LIBS=$LIBS
25899
+LIBS="-ldld $LIBS"
25900
+cat >conftest.$ac_ext <<_ACEOF
25903
+cat confdefs.h >>conftest.$ac_ext
25904
+cat >>conftest.$ac_ext <<_ACEOF
25905
+/* end confdefs.h. */
25907
+/* Override any gcc2 internal prototype to avoid an error. */
25908
+#ifdef __cplusplus
25911
+/* We use char because int might match the return type of a gcc2
25912
+ builtin and then its argument prototype would still apply. */
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
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
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
25941
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
25942
+ (exit $ac_status); }; }; then
25943
+ ac_cv_lib_dld_shl_load=yes
25945
+ echo "$as_me: failed program was:" >&5
25946
+sed 's/^/| /' conftest.$ac_ext >&5
25948
+ac_cv_lib_dld_shl_load=no
25950
+rm -f conftest.err conftest.$ac_objext \
25951
+ conftest$ac_exeext conftest.$ac_ext
25952
+LIBS=$ac_check_lib_save_LIBS
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"
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
25964
+ cat >conftest.$ac_ext <<_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
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. */
25980
+# include <limits.h>
25982
+# include <assert.h>
25987
+/* Override any gcc2 internal prototype to avoid an error. */
25988
+#ifdef __cplusplus
25992
+/* We use char because int might match the return type of a gcc2
25993
+ builtin and then its argument prototype would still apply. */
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)
26001
+char (*f) () = dlopen;
26003
+#ifdef __cplusplus
26010
+return f != dlopen;
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
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
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
26034
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
26035
+ (exit $ac_status); }; }; then
26036
+ ac_cv_func_dlopen=yes
26038
+ echo "$as_me: failed program was:" >&5
26039
+sed 's/^/| /' conftest.$ac_ext >&5
26041
+ac_cv_func_dlopen=no
26043
+rm -f conftest.err conftest.$ac_objext \
26044
+ conftest$ac_exeext conftest.$ac_ext
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"
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
26056
+ ac_check_lib_save_LIBS=$LIBS
26058
+cat >conftest.$ac_ext <<_ACEOF
26061
+cat confdefs.h >>conftest.$ac_ext
26062
+cat >>conftest.$ac_ext <<_ACEOF
26063
+/* end confdefs.h. */
26065
+/* Override any gcc2 internal prototype to avoid an error. */
26066
+#ifdef __cplusplus
26069
+/* We use char because int might match the return type of a gcc2
26070
+ builtin and then its argument prototype would still apply. */
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
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
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
26099
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
26100
+ (exit $ac_status); }; }; then
26101
+ ac_cv_lib_dl_dlopen=yes
26103
+ echo "$as_me: failed program was:" >&5
26104
+sed 's/^/| /' conftest.$ac_ext >&5
26106
+ac_cv_lib_dl_dlopen=no
26108
+rm -f conftest.err conftest.$ac_objext \
26109
+ conftest$ac_exeext conftest.$ac_ext
26110
+LIBS=$ac_check_lib_save_LIBS
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"
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
26122
+ ac_check_lib_save_LIBS=$LIBS
26123
+LIBS="-lsvld $LIBS"
26124
+cat >conftest.$ac_ext <<_ACEOF
26127
+cat confdefs.h >>conftest.$ac_ext
26128
+cat >>conftest.$ac_ext <<_ACEOF
26129
+/* end confdefs.h. */
26131
+/* Override any gcc2 internal prototype to avoid an error. */
26132
+#ifdef __cplusplus
26135
+/* We use char because int might match the return type of a gcc2
26136
+ builtin and then its argument prototype would still apply. */
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
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
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
26165
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
26166
+ (exit $ac_status); }; }; then
26167
+ ac_cv_lib_svld_dlopen=yes
26169
+ echo "$as_me: failed program was:" >&5
26170
+sed 's/^/| /' conftest.$ac_ext >&5
26172
+ac_cv_lib_svld_dlopen=no
26174
+rm -f conftest.err conftest.$ac_objext \
26175
+ conftest$ac_exeext conftest.$ac_ext
26176
+LIBS=$ac_check_lib_save_LIBS
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"
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
26188
+ ac_check_lib_save_LIBS=$LIBS
26189
+LIBS="-ldld $LIBS"
26190
+cat >conftest.$ac_ext <<_ACEOF
26193
+cat confdefs.h >>conftest.$ac_ext
26194
+cat >>conftest.$ac_ext <<_ACEOF
26195
+/* end confdefs.h. */
26197
+/* Override any gcc2 internal prototype to avoid an error. */
26198
+#ifdef __cplusplus
26201
+/* We use char because int might match the return type of a gcc2
26202
+ builtin and then its argument prototype would still apply. */
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
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
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
26231
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
26232
+ (exit $ac_status); }; }; then
26233
+ ac_cv_lib_dld_dld_link=yes
26235
+ echo "$as_me: failed program was:" >&5
26236
+sed 's/^/| /' conftest.$ac_ext >&5
26238
+ac_cv_lib_dld_dld_link=no
26240
+rm -f conftest.err conftest.$ac_objext \
26241
+ conftest$ac_exeext conftest.$ac_ext
26242
+LIBS=$ac_check_lib_save_LIBS
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"
26268
+ if test "x$lt_cv_dlopen" != xno; then
26269
+ enable_dlopen=yes
26274
+ case $lt_cv_dlopen in
26276
+ save_CPPFLAGS="$CPPFLAGS"
26277
+ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
26279
+ save_LDFLAGS="$LDFLAGS"
26280
+ eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
26282
+ save_LIBS="$LIBS"
26283
+ LIBS="$lt_cv_dlopen_libs $LIBS"
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
26290
+ if test "$cross_compiling" = yes; then :
26291
+ lt_cv_dlopen_self=cross
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"
26300
+#include <dlfcn.h>
26303
+#include <stdio.h>
26305
+#ifdef RTLD_GLOBAL
26306
+# define LT_DLGLOBAL RTLD_GLOBAL
26309
+# define LT_DLGLOBAL DL_GLOBAL
26311
+# define LT_DLGLOBAL 0
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
26319
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
26322
+# define LT_DLLAZY_OR_NOW DL_LAZY
26325
+# define LT_DLLAZY_OR_NOW RTLD_NOW
26328
+# define LT_DLLAZY_OR_NOW DL_NOW
26330
+# define LT_DLLAZY_OR_NOW 0
26337
+#ifdef __cplusplus
26338
+extern "C" void exit (int);
26341
+void fnord() { int i=42;}
26344
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
26345
+ int status = $lt_dlunknown;
26349
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
26350
+ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
26351
+ /* dlclose (self); */
26357
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26358
+ (eval $ac_link) 2>&5
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
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 ;;
26370
+ # compilation failed
26371
+ lt_cv_dlopen_self=no
26378
+echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
26379
+echo "${ECHO_T}$lt_cv_dlopen_self" >&6
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
26388
+ if test "$cross_compiling" = yes; then :
26389
+ lt_cv_dlopen_self_static=cross
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"
26398
+#include <dlfcn.h>
26401
+#include <stdio.h>
26403
+#ifdef RTLD_GLOBAL
26404
+# define LT_DLGLOBAL RTLD_GLOBAL
26407
+# define LT_DLGLOBAL DL_GLOBAL
26409
+# define LT_DLGLOBAL 0
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
26417
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
26420
+# define LT_DLLAZY_OR_NOW DL_LAZY
26423
+# define LT_DLLAZY_OR_NOW RTLD_NOW
26426
+# define LT_DLLAZY_OR_NOW DL_NOW
26428
+# define LT_DLLAZY_OR_NOW 0
26435
+#ifdef __cplusplus
26436
+extern "C" void exit (int);
26439
+void fnord() { int i=42;}
26442
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
26443
+ int status = $lt_dlunknown;
26447
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
26448
+ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
26449
+ /* dlclose (self); */
26455
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26456
+ (eval $ac_link) 2>&5
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
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 ;;
26468
+ # compilation failed
26469
+ lt_cv_dlopen_self_static=no
26476
+echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
26477
+echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
26480
+ CPPFLAGS="$save_CPPFLAGS"
26481
+ LDFLAGS="$save_LDFLAGS"
26482
+ LIBS="$save_LIBS"
26486
+ case $lt_cv_dlopen_self in
26487
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
26488
+ *) enable_dlopen_self=unknown ;;
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 ;;
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
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 \
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 \
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
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\"\`\\\""
26573
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26579
+ *'\$0 --fallback-echo"')
26580
+ lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26586
+ cat <<__EOF__ >> "$cfgfile"
26587
+# ### BEGIN LIBTOOL TAG CONFIG: $tagname
26589
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26591
+# Shell to use when invoking shell scripts.
26594
+# Whether or not to build shared libraries.
26595
+build_libtool_libs=$enable_shared
26597
+# Whether or not to build static libraries.
26598
+build_old_libs=$enable_static
26600
+# Whether or not to add -lc for building shared libraries.
26601
+build_libtool_need_lc=$archive_cmds_need_lc_CXX
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
26606
+# Whether or not to optimize for fast installation.
26607
+fast_install=$enable_fast_install
26609
+# The host system.
26610
+host_alias=$host_alias
26613
+# An echo program that does not interpret backslashes.
26618
+AR_FLAGS=$lt_AR_FLAGS
26623
+# A language-specific compiler.
26624
+CC=$lt_compiler_CXX
26626
+# Is the compiler the GNU C compiler?
26632
+# The linker used to build libraries.
26635
+# Whether we need hard or soft links.
26638
+# A BSD-compatible nm program.
26641
+# A symbol stripping program
26644
+# Used to examine libraries when file_magic_cmd begins "file"
26645
+MAGIC_CMD=$MAGIC_CMD
26647
+# Used on cygwin: DLL creation program.
26648
+DLLTOOL="$DLLTOOL"
26650
+# Used on cygwin: object dumper.
26651
+OBJDUMP="$OBJDUMP"
26653
+# Used on cygwin: assembler.
26656
+# The name of the directory that contains temporary libtool files.
26659
+# How to create reloadable object files.
26660
+reload_flag=$lt_reload_flag
26661
+reload_cmds=$lt_reload_cmds
26663
+# How to pass a linker flag through the compiler.
26664
+wl=$lt_lt_prog_compiler_wl_CXX
26666
+# Object file suffix (normally "o").
26667
+objext="$ac_objext"
26669
+# Old archive suffix (normally "a").
26672
+# Shared library suffix (normally ".so").
26673
+shrext_cmds='$shrext_cmds'
26675
+# Executable file suffix (normally "").
26678
+# Additional compiler flags for building library objects.
26679
+pic_flag=$lt_lt_prog_compiler_pic_CXX
26680
+pic_mode=$pic_mode
26682
+# What is the maximum length of a command?
26683
+max_cmd_len=$lt_cv_sys_max_cmd_len
26685
+# Does compiler simultaneously support -c and -o options?
26686
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
26688
+# Must we lock files when doing compilation ?
26689
+need_locks=$lt_need_locks
26691
+# Do we need the lib prefix for modules?
26692
+need_lib_prefix=$need_lib_prefix
26694
+# Do we need a version for libraries?
26695
+need_version=$need_version
26697
+# Whether dlopen is supported.
26698
+dlopen_support=$enable_dlopen
26700
+# Whether dlopen of programs is supported.
26701
+dlopen_self=$enable_dlopen_self
26703
+# Whether dlopen of statically linked programs is supported.
26704
+dlopen_self_static=$enable_dlopen_self_static
26706
+# Compiler flag to prevent dynamic linking.
26707
+link_static_flag=$lt_lt_prog_compiler_static_CXX
26709
+# Compiler flag to turn off builtin functions.
26710
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
26712
+# Compiler flag to allow reflexive dlopens.
26713
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
26715
+# Compiler flag to generate shared objects directly from archives.
26716
+whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
26718
+# Compiler flag to generate thread-safe objects.
26719
+thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
26721
+# Library versioning type.
26722
+version_type=$version_type
26724
+# Format of library name prefix.
26725
+libname_spec=$lt_libname_spec
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
26731
+# The coded name of the library, if different from the real name.
26732
+soname_spec=$lt_soname_spec
26734
+# Commands used to build and install an old-style archive.
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
26740
+# Create an old-style archive from a shared archive.
26741
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
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
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
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
26756
+# Commands to strip libraries.
26757
+old_striplib=$lt_old_striplib
26758
+striplib=$lt_striplib
26760
+# Dependencies to place before the objects being linked to create a
26762
+predep_objects=$lt_predep_objects_CXX
26764
+# Dependencies to place after the objects being linked to create a
26766
+postdep_objects=$lt_postdep_objects_CXX
26768
+# Dependencies to place before the objects being linked to create a
26770
+predeps=$lt_predeps_CXX
26772
+# Dependencies to place after the objects being linked to create a
26774
+postdeps=$lt_postdeps_CXX
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
26780
+# Method to check whether dependent libraries are shared objects.
26781
+deplibs_check_method=$lt_deplibs_check_method
26783
+# Command to use when deplibs_check_method == file_magic.
26784
+file_magic_cmd=$lt_file_magic_cmd
26786
+# Flag that allows shared libraries with undefined symbols to be built.
26787
+allow_undefined_flag=$lt_allow_undefined_flag_CXX
26789
+# Flag that forces no undefined symbols.
26790
+no_undefined_flag=$lt_no_undefined_flag_CXX
26792
+# Commands used to finish a libtool library installation in a directory.
26793
+finish_cmds=$lt_finish_cmds
26795
+# Same as above, but a single script fragment to be evaled but not shown.
26796
+finish_eval=$lt_finish_eval
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
26801
+# Transform the output of nm in a proper C declaration
26802
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
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
26807
+# This is the shared library runtime path variable.
26808
+runpath_var=$runpath_var
26810
+# This is the shared library path variable.
26811
+shlibpath_var=$shlibpath_var
26813
+# Is shlibpath searched before the hard-coded library search path?
26814
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26816
+# How to hardcode a shared library path into an executable.
26817
+hardcode_action=$hardcode_action_CXX
26819
+# Whether we should hardcode library paths into libraries.
26820
+hardcode_into_libs=$hardcode_into_libs
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
26826
+# If ld is used when linking, flag to hardcode \$libdir into
26827
+# a binary during linking. This must work even if \$libdir does
26829
+hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
26831
+# Whether we need a single -rpath flag with a separated argument.
26832
+hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
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
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
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
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
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"
26854
+# Whether libtool must link a program against all its dependency libraries.
26855
+link_all_deplibs=$link_all_deplibs_CXX
26857
+# Compile-time system search path for libraries
26858
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26860
+# Run-time system search path for libraries
26861
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26863
+# Fix the shell variable \$srcfile for the compiler.
26864
+fix_srcfile_path="$fix_srcfile_path_CXX"
26866
+# Set to yes if exported symbols are required.
26867
+always_export_symbols=$always_export_symbols_CXX
26869
+# The commands to list exported symbols.
26870
+export_symbols_cmds=$lt_export_symbols_cmds_CXX
26872
+# The commands to extract the exported symbol list from a shared archive.
26873
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
26875
+# Symbols that should not be listed in the preloaded symbols.
26876
+exclude_expsyms=$lt_exclude_expsyms_CXX
26878
+# Symbols that must always be exported.
26879
+include_expsyms=$lt_include_expsyms_CXX
26881
+# ### END LIBTOOL TAG CONFIG: $tagname
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"
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
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
26920
+ if test -n "$F77" && test "X$F77" != "Xno"; then
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
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
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
26947
+# Source file extension for f77 test sources.
26950
+# Object file extension for compiled f77 test sources.
26952
+objext_F77=$objext
26954
+# Code to be used in simple compile tests
26955
+lt_simple_compile_test_code=" subroutine t\n return\n end\n"
26957
+# Code to be used in simple link tests
26958
+lt_simple_link_test_code=" program t\n end\n"
26960
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
26962
+# If no C compiler was specified, use CC.
26963
+LTCC=${LTCC-"$CC"}
26965
+# Allow CC to be a program name with arguments.
26969
+# Allow CC to be a program name with arguments.
26974
+cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
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
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
26985
+# On AIX, shared libraries and static libraries use the same namespace, and
26986
+# are all built from PIC.
26987
+case "$host_os" in
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'
26996
+ test "$enable_shared" = yes && enable_static=no
26999
+echo "$as_me:$LINENO: result: $enable_shared" >&5
27000
+echo "${ECHO_T}$enable_shared" >&6
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
27009
+test "$ld_shlibs_F77" = no && can_build_shared=no
27014
+lt_prog_compiler_wl_F77=
27015
+lt_prog_compiler_pic_F77=
27016
+lt_prog_compiler_static_F77=
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
27021
+ if test "$GCC" = yes; then
27022
+ lt_prog_compiler_wl_F77='-Wl,'
27023
+ lt_prog_compiler_static_F77='-static'
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'
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'
27041
+ beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
27042
+ # PIC is the default for these OSes.
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'
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'
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
27065
+ if test -d /usr/nec; then
27066
+ lt_prog_compiler_pic_F77=-Kconform_pic
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
27078
+ lt_prog_compiler_pic_F77='-fPIC'
27084
+ lt_prog_compiler_pic_F77='-fPIC'
27088
+ # PORTME Check for flag to pass linker flags through the system compiler.
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'
27096
+ lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
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'
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
27115
+ lt_prog_compiler_pic_F77='+Z'
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'
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'
27129
+ lt_prog_compiler_pic_F77='-KPIC'
27130
+ lt_prog_compiler_static_F77='-Bstatic'
27136
+ lt_prog_compiler_wl_F77='-Wl,'
27137
+ lt_prog_compiler_pic_F77='-KPIC'
27138
+ lt_prog_compiler_static_F77='-static'
27141
+ lt_prog_compiler_wl_F77='-Wl,'
27142
+ # All Alpha code is PIC.
27143
+ lt_prog_compiler_static_F77='-non_shared'
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'
27155
+ lt_prog_compiler_pic_F77='-Kpic'
27156
+ lt_prog_compiler_static_F77='-dn'
27160
+ lt_prog_compiler_wl_F77='-Wl,'
27161
+ lt_prog_compiler_pic_F77='-KPIC'
27162
+ lt_prog_compiler_static_F77='-Bstatic'
27166
+ lt_prog_compiler_wl_F77='-Qoption ld '
27167
+ lt_prog_compiler_pic_F77='-PIC'
27168
+ lt_prog_compiler_static_F77='-Bstatic'
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'
27178
+ if test -d /usr/nec ;then
27179
+ lt_prog_compiler_pic_F77='-Kconform_pic'
27180
+ lt_prog_compiler_static_F77='-Bstatic'
27185
+ lt_prog_compiler_pic_F77='-pic'
27186
+ lt_prog_compiler_static_F77='-Bstatic'
27190
+ lt_prog_compiler_can_build_shared_F77=no
27195
+echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
27196
+echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
27199
+# Check to make sure the PIC flag actually works.
27201
+if test -n "$lt_prog_compiler_pic_F77"; then
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
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)
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
27236
+echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
27237
+echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
27239
+if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
27240
+ case $lt_prog_compiler_pic_F77 in
27242
+ *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
27245
+ lt_prog_compiler_pic_F77=
27246
+ lt_prog_compiler_can_build_shared_F77=no
27250
+case "$host_os" in
27251
+ # For platforms which do not support PIC, -DPIC is meaningless:
27253
+ lt_prog_compiler_pic_F77=
27256
+ lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
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
27265
+ lt_cv_prog_compiler_c_o_F77=no
27266
+ $rm -r conftest 2>/dev/null
27270
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
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)
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
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
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
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
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
27316
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
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;}
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
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
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=
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
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
27390
+ # See if GNU ld supports shared libraries.
27392
+ aix3* | aix4* | aix5*)
27393
+ # On AIX/PPC, the GNU linker is very broken
27394
+ if test "$host_cpu" != ia64; then
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.
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
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
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'
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'
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;
27449
+ echo EXPORTS > $output_objdir/$soname.def;
27450
+ cat $export_symbols >> $output_objdir/$soname.def;
27452
+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
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'
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'
27468
+ solaris* | sysv5*)
27469
+ if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
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.
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'
27490
+ archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
27492
+ hardcode_direct_F77=yes
27493
+ hardcode_shlibpath_var_F77=no
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 ;;
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'
27514
+ archive_expsym_cmds_F77="$tmp_archive_cmds"
27516
+ link_all_deplibs_F77=no
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'
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'
27540
+ whole_archive_flag_spec_F77=
27544
+ # PORTME fill in a description of your system's linker (not GNU ld)
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
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'
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'
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'
27575
+ aix_use_runtimelinking=no
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
27589
+ exp_sym_flag='-bexport'
27590
+ no_entry_flag='-bnoentry'
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.
27599
+ archive_cmds_F77=''
27600
+ hardcode_direct_F77=yes
27601
+ hardcode_libdir_separator_F77=':'
27602
+ link_all_deplibs_F77=yes
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
27612
+ # We have reworked collect2
27613
+ hardcode_direct_F77=yes
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=
27625
+ shared_flag='-shared'
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:
27633
+ if test "$aix_use_runtimelinking" = yes; then
27634
+ shared_flag='${wl}-G'
27636
+ shared_flag='${wl}-bM:SRE'
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
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
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
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
27673
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
27674
+ (exit $ac_status); }; }; then
27676
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
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; }
27682
+ echo "$as_me: failed program was:" >&5
27683
+sed 's/^/| /' conftest.$ac_ext >&5
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
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"
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"
27698
+ # Determine the default libpath from the value encoded in an empty executable.
27699
+ cat >conftest.$ac_ext <<_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
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
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
27723
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724
+ (exit $ac_status); }; }; then
27726
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
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; }
27732
+ echo "$as_me: failed program was:" >&5
27733
+sed 's/^/| /' conftest.$ac_ext >&5
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
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'
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
27765
+ export_dynamic_flag_spec_F77=-rdynamic
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.
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
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'
27796
+ *) # Darwin 1.3 on
27797
+ if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
27798
+ allow_undefined_flag_F77='-flat_namespace -undefined suppress'
27800
+ case ${MACOSX_DEPLOYMENT_TARGET} in
27802
+ allow_undefined_flag_F77='-flat_namespace -undefined suppress'
27805
+ allow_undefined_flag_F77='-undefined dynamic_lookup'
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
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'
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'
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}'
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}'
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
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
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
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
27860
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
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
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
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'
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'
27882
+ hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
27883
+ hardcode_libdir_separator_F77=:
27884
+ hardcode_direct_F77=yes
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'
27892
+ hpux10* | hpux11*)
27893
+ if test "$GCC" = yes -a "$with_gnu_ld" = no; then
27894
+ case "$host_cpu" in
27896
+ archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
27899
+ archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
27903
+ case "$host_cpu" in
27905
+ archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
27908
+ archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
27912
+ if test "$with_gnu_ld" = no; then
27913
+ case "$host_cpu" in
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
27922
+ hardcode_libdir_flag_spec_F77='-L$libdir'
27923
+ hardcode_direct_F77=no
27924
+ hardcode_shlibpath_var_F77=no
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
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'
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
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'
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'
27951
+ hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
27952
+ hardcode_libdir_separator_F77=:
27953
+ link_all_deplibs_F77=yes
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
27960
+ archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
27962
+ hardcode_libdir_flag_spec_F77='-R$libdir'
27963
+ hardcode_direct_F77=yes
27964
+ hardcode_shlibpath_var_F77=no
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
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'
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'
27989
+ archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
27990
+ hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
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'
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'
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'
28012
+ hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
28013
+ hardcode_libdir_separator_F77=:
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'
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'
28027
+ # Both c and cxx compiler support -rpath directly
28028
+ hardcode_libdir_flag_spec_F77='-rpath $libdir'
28030
+ hardcode_libdir_separator_F77=:
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
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'
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'
28052
+ hardcode_libdir_flag_spec_F77='-R$libdir'
28053
+ hardcode_shlibpath_var_F77=no
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' ;;
28059
+ link_all_deplibs_F77=yes
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'
28068
+ archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
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
28077
+ case $host_vendor in
28079
+ archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28080
+ hardcode_direct_F77=yes # is this really true???
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
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
28094
+ runpath_var='LD_RUN_PATH'
28095
+ hardcode_shlibpath_var_F77=no
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'
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
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
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'
28128
+ archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
28130
+ runpath_var='LD_RUN_PATH'
28131
+ hardcode_shlibpath_var_F77=no
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'
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
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
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"
28168
+# Do we need to explicitly link libc?
28170
+case "x$archive_cmds_need_lc_F77" in
28172
+ # Assume -lc should be added
28173
+ archive_cmds_need_lc_F77=yes
28175
+ if test "$enable_shared" = yes && test "$GCC" = yes; then
28176
+ case $archive_cmds_F77 in
28178
+ # FIXME: we may have to deal with multi-command sequences.
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
28187
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
28189
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28190
+ (eval $ac_compile) 2>&5
28192
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
28193
+ (exit $ac_status); } 2>conftest.err; then
28196
+ libobjs=conftest.$ac_objext
28198
+ wl=$lt_prog_compiler_wl_F77
28199
+ compiler_flags=-v
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
28209
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
28210
+ (exit $ac_status); }
28212
+ archive_cmds_need_lc_F77=no
28214
+ archive_cmds_need_lc_F77=yes
28216
+ allow_undefined_flag_F77=$lt_save_allow_undefined_flag
28218
+ cat conftest.err 1>&5
28221
+ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
28222
+echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
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'
28236
+postuninstall_cmds=
28240
+shlibpath_overrides_runpath=unknown
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'`
28253
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
28256
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
28258
+need_lib_prefix=unknown
28259
+hardcode_into_libs=no
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
28267
+ version_type=linux
28268
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
28269
+ shlibpath_var=LIBPATH
28271
+ # AIX 3 has no versioning support, so we append a major version to the name.
28272
+ soname_spec='${libname}${release}${shared_ext}$major'
28276
+ version_type=linux
28277
+ need_lib_prefix=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
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.
28291
+ aix4 | aix4.[01] | aix4.[01].*)
28292
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
28294
+ echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
28297
+ can_build_shared=no
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}'
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'
28315
+ shlibpath_var=LIBPATH
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'
28326
+ library_names_spec='${libname}${shared_ext}'
28327
+ dynamic_linker="$host_os ld.so"
28328
+ shlibpath_var=LIBRARY_PATH
28332
+ version_type=linux
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
28345
+cygwin* | mingw* | pw32*)
28346
+ version_type=windows
28347
+ shrext_cmds=".dll"
28349
+ need_lib_prefix=no
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~
28363
+ shlibpath_overrides_runpath=yes
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"
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'`
28384
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
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}'
28395
+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
28398
+ dynamic_linker='Win32 ld.exe'
28399
+ # FIXME: first we should search . and the directory the executable is in
28400
+ shlibpath_var=PATH
28403
+darwin* | rhapsody*)
28404
+ dynamic_linker="$host_os dyld"
28405
+ version_type=darwin
28406
+ need_lib_prefix=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"`
28417
+ sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
28419
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
28423
+ version_type=linux
28424
+ need_lib_prefix=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
28432
+ dynamic_linker=no
28436
+ version_type=linux
28437
+ need_lib_prefix=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'
28448
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
28449
+ version_type=freebsd-$objformat
28450
+ case $version_type in
28452
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
28454
+ need_lib_prefix=no
28457
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
28461
+ shlibpath_var=LD_LIBRARY_PATH
28464
+ shlibpath_overrides_runpath=yes
28466
+ freebsd3.01* | freebsdelf3.01*)
28467
+ shlibpath_overrides_runpath=yes
28468
+ hardcode_into_libs=yes
28471
+ shlibpath_overrides_runpath=no
28472
+ hardcode_into_libs=yes
28478
+ version_type=linux
28479
+ need_lib_prefix=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
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
28493
+ case "$host_cpu" in
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"
28505
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
28507
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
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
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'
28529
+ # HP-UX runs *really* slowly unless shared libraries are mode 555.
28530
+ postinstall_cmds='chmod 555 $lib'
28533
+irix5* | irix6* | nonstopux*)
28535
+ nonstopux*) version_type=nonstopux ;;
28537
+ if test "$lt_cv_prog_gnu_ld" = yes; then
28538
+ version_type=linux
28540
+ version_type=irix
28543
+ need_lib_prefix=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}'
28548
+ irix5* | nonstopux*)
28549
+ libsuff= shlibsuff=
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;;
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
28570
+# No shared lib support for Linux oldld, aout, or coff.
28571
+linux*oldld* | linux*aout* | linux*coff*)
28572
+ dynamic_linker=no
28575
+# This must be Linux ELF.
28577
+ version_type=linux
28578
+ need_lib_prefix=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
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"
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'
28606
+ version_type=linux
28607
+ need_lib_prefix=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'
28618
+ version_type=linux
28619
+ need_lib_prefix=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'
28630
+ version_type=sunos
28631
+ need_lib_prefix=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'
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'
28642
+ shlibpath_var=LD_LIBRARY_PATH
28643
+ shlibpath_overrides_runpath=yes
28644
+ hardcode_into_libs=yes
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
28655
+ version_type=linux
28656
+ need_lib_prefix=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
28665
+ version_type=sunos
28666
+ need_lib_prefix=no
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
28673
+ openbsd2.[89] | openbsd2.[89].*)
28674
+ shlibpath_overrides_runpath=no
28677
+ shlibpath_overrides_runpath=yes
28681
+ shlibpath_overrides_runpath=yes
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
28694
+osf3* | osf4* | osf5*)
28696
+ need_lib_prefix=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"
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
28713
+ version_type=linux
28714
+ need_lib_prefix=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'
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
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
28744
+ shlibpath_overrides_runpath=no
28745
+ need_lib_prefix=no
28746
+ export_dynamic_flag_spec='${wl}-Blargedynsym'
28747
+ runpath_var=LD_RUN_PATH
28750
+ need_lib_prefix=no
28753
+ need_lib_prefix=no
28755
+ shlibpath_overrides_runpath=no
28756
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
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
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
28778
+ dynamic_linker=no
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
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
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
28802
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
28803
+ hardcode_action_F77=immediate
28806
+ # We cannot hardcode anything, or else we can only hardcode existing
28808
+ hardcode_action_F77=unsupported
28810
+echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
28811
+echo "${ECHO_T}$hardcode_action_F77" >&6
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
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
28832
+# FIXME - insert some real tests, host_os isn't really good enough
28835
+ if test -n "$STRIP" ; then
28836
+ striplib="$STRIP -x"
28837
+ echo "$as_me:$LINENO: result: yes" >&5
28838
+echo "${ECHO_T}yes" >&6
28840
+ echo "$as_me:$LINENO: result: no" >&5
28841
+echo "${ECHO_T}no" >&6
28845
+ echo "$as_me:$LINENO: result: no" >&5
28846
+echo "${ECHO_T}no" >&6
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
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 \
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 \
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
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\"\`\\\""
28928
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
28934
+ *'\$0 --fallback-echo"')
28935
+ lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
28941
+ cat <<__EOF__ >> "$cfgfile"
28942
+# ### BEGIN LIBTOOL TAG CONFIG: $tagname
28944
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28946
+# Shell to use when invoking shell scripts.
28949
+# Whether or not to build shared libraries.
28950
+build_libtool_libs=$enable_shared
28952
+# Whether or not to build static libraries.
28953
+build_old_libs=$enable_static
28955
+# Whether or not to add -lc for building shared libraries.
28956
+build_libtool_need_lc=$archive_cmds_need_lc_F77
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
28961
+# Whether or not to optimize for fast installation.
28962
+fast_install=$enable_fast_install
28964
+# The host system.
28965
+host_alias=$host_alias
28968
+# An echo program that does not interpret backslashes.
28973
+AR_FLAGS=$lt_AR_FLAGS
28978
+# A language-specific compiler.
28979
+CC=$lt_compiler_F77
28981
+# Is the compiler the GNU C compiler?
28987
+# The linker used to build libraries.
28990
+# Whether we need hard or soft links.
28993
+# A BSD-compatible nm program.
28996
+# A symbol stripping program
28999
+# Used to examine libraries when file_magic_cmd begins "file"
29000
+MAGIC_CMD=$MAGIC_CMD
29002
+# Used on cygwin: DLL creation program.
29003
+DLLTOOL="$DLLTOOL"
29005
+# Used on cygwin: object dumper.
29006
+OBJDUMP="$OBJDUMP"
29008
+# Used on cygwin: assembler.
29011
+# The name of the directory that contains temporary libtool files.
29014
+# How to create reloadable object files.
29015
+reload_flag=$lt_reload_flag
29016
+reload_cmds=$lt_reload_cmds
29018
+# How to pass a linker flag through the compiler.
29019
+wl=$lt_lt_prog_compiler_wl_F77
29021
+# Object file suffix (normally "o").
29022
+objext="$ac_objext"
29024
+# Old archive suffix (normally "a").
29027
+# Shared library suffix (normally ".so").
29028
+shrext_cmds='$shrext_cmds'
29030
+# Executable file suffix (normally "").
29033
+# Additional compiler flags for building library objects.
29034
+pic_flag=$lt_lt_prog_compiler_pic_F77
29035
+pic_mode=$pic_mode
29037
+# What is the maximum length of a command?
29038
+max_cmd_len=$lt_cv_sys_max_cmd_len
29040
+# Does compiler simultaneously support -c and -o options?
29041
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
29043
+# Must we lock files when doing compilation ?
29044
+need_locks=$lt_need_locks
29046
+# Do we need the lib prefix for modules?
29047
+need_lib_prefix=$need_lib_prefix
29049
+# Do we need a version for libraries?
29050
+need_version=$need_version
29052
+# Whether dlopen is supported.
29053
+dlopen_support=$enable_dlopen
29055
+# Whether dlopen of programs is supported.
29056
+dlopen_self=$enable_dlopen_self
29058
+# Whether dlopen of statically linked programs is supported.
29059
+dlopen_self_static=$enable_dlopen_self_static
29061
+# Compiler flag to prevent dynamic linking.
29062
+link_static_flag=$lt_lt_prog_compiler_static_F77
29064
+# Compiler flag to turn off builtin functions.
29065
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
29067
+# Compiler flag to allow reflexive dlopens.
29068
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
29070
+# Compiler flag to generate shared objects directly from archives.
29071
+whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
29073
+# Compiler flag to generate thread-safe objects.
29074
+thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
29076
+# Library versioning type.
29077
+version_type=$version_type
29079
+# Format of library name prefix.
29080
+libname_spec=$lt_libname_spec
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
29086
+# The coded name of the library, if different from the real name.
29087
+soname_spec=$lt_soname_spec
29089
+# Commands used to build and install an old-style archive.
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
29095
+# Create an old-style archive from a shared archive.
29096
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
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
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
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
29111
+# Commands to strip libraries.
29112
+old_striplib=$lt_old_striplib
29113
+striplib=$lt_striplib
29115
+# Dependencies to place before the objects being linked to create a
29117
+predep_objects=$lt_predep_objects_F77
29119
+# Dependencies to place after the objects being linked to create a
29121
+postdep_objects=$lt_postdep_objects_F77
29123
+# Dependencies to place before the objects being linked to create a
29125
+predeps=$lt_predeps_F77
29127
+# Dependencies to place after the objects being linked to create a
29129
+postdeps=$lt_postdeps_F77
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
29135
+# Method to check whether dependent libraries are shared objects.
29136
+deplibs_check_method=$lt_deplibs_check_method
29138
+# Command to use when deplibs_check_method == file_magic.
29139
+file_magic_cmd=$lt_file_magic_cmd
29141
+# Flag that allows shared libraries with undefined symbols to be built.
29142
+allow_undefined_flag=$lt_allow_undefined_flag_F77
29144
+# Flag that forces no undefined symbols.
29145
+no_undefined_flag=$lt_no_undefined_flag_F77
29147
+# Commands used to finish a libtool library installation in a directory.
29148
+finish_cmds=$lt_finish_cmds
29150
+# Same as above, but a single script fragment to be evaled but not shown.
29151
+finish_eval=$lt_finish_eval
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
29156
+# Transform the output of nm in a proper C declaration
29157
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
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
29162
+# This is the shared library runtime path variable.
29163
+runpath_var=$runpath_var
29165
+# This is the shared library path variable.
29166
+shlibpath_var=$shlibpath_var
29168
+# Is shlibpath searched before the hard-coded library search path?
29169
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
29171
+# How to hardcode a shared library path into an executable.
29172
+hardcode_action=$hardcode_action_F77
29174
+# Whether we should hardcode library paths into libraries.
29175
+hardcode_into_libs=$hardcode_into_libs
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
29181
+# If ld is used when linking, flag to hardcode \$libdir into
29182
+# a binary during linking. This must work even if \$libdir does
29184
+hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
29186
+# Whether we need a single -rpath flag with a separated argument.
29187
+hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
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
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
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
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
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"
29209
+# Whether libtool must link a program against all its dependency libraries.
29210
+link_all_deplibs=$link_all_deplibs_F77
29212
+# Compile-time system search path for libraries
29213
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
29215
+# Run-time system search path for libraries
29216
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
29218
+# Fix the shell variable \$srcfile for the compiler.
29219
+fix_srcfile_path="$fix_srcfile_path_F77"
29221
+# Set to yes if exported symbols are required.
29222
+always_export_symbols=$always_export_symbols_F77
29224
+# The commands to list exported symbols.
29225
+export_symbols_cmds=$lt_export_symbols_cmds_F77
29227
+# The commands to extract the exported symbol list from a shared archive.
29228
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
29230
+# Symbols that should not be listed in the preloaded symbols.
29231
+exclude_expsyms=$lt_exclude_expsyms_F77
29233
+# Symbols that must always be exported.
29234
+include_expsyms=$lt_include_expsyms_F77
29236
+# ### END LIBTOOL TAG CONFIG: $tagname
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"
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
29266
+ if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
29270
+# Source file extension for Java test sources.
29273
+# Object file extension for compiled Java test sources.
29275
+objext_GCJ=$objext
29277
+# Code to be used in simple compile tests
29278
+lt_simple_compile_test_code="class foo {}\n"
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'
29283
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
29285
+# If no C compiler was specified, use CC.
29286
+LTCC=${LTCC-"$CC"}
29288
+# Allow CC to be a program name with arguments.
29292
+# Allow CC to be a program name with arguments.
29298
+# GCJ did not exist at the time GCC didn't implicitly link libc in.
29299
+archive_cmds_need_lc_GCJ=no
29302
+lt_prog_compiler_no_builtin_flag_GCJ=
29304
+if test "$GCC" = yes; then
29305
+ lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
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
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)
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
29341
+echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
29342
+echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
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"
29352
+lt_prog_compiler_wl_GCJ=
29353
+lt_prog_compiler_pic_GCJ=
29354
+lt_prog_compiler_static_GCJ=
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
29359
+ if test "$GCC" = yes; then
29360
+ lt_prog_compiler_wl_GCJ='-Wl,'
29361
+ lt_prog_compiler_static_GCJ='-static'
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'
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'
29379
+ beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
29380
+ # PIC is the default for these OSes.
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'
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'
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
29403
+ if test -d /usr/nec; then
29404
+ lt_prog_compiler_pic_GCJ=-Kconform_pic
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
29416
+ lt_prog_compiler_pic_GCJ='-fPIC'
29422
+ lt_prog_compiler_pic_GCJ='-fPIC'
29426
+ # PORTME Check for flag to pass linker flags through the system compiler.
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'
29434
+ lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
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'
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
29453
+ lt_prog_compiler_pic_GCJ='+Z'
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'
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'
29467
+ lt_prog_compiler_pic_GCJ='-KPIC'
29468
+ lt_prog_compiler_static_GCJ='-Bstatic'
29474
+ lt_prog_compiler_wl_GCJ='-Wl,'
29475
+ lt_prog_compiler_pic_GCJ='-KPIC'
29476
+ lt_prog_compiler_static_GCJ='-static'
29479
+ lt_prog_compiler_wl_GCJ='-Wl,'
29480
+ # All Alpha code is PIC.
29481
+ lt_prog_compiler_static_GCJ='-non_shared'
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'
29493
+ lt_prog_compiler_pic_GCJ='-Kpic'
29494
+ lt_prog_compiler_static_GCJ='-dn'
29498
+ lt_prog_compiler_wl_GCJ='-Wl,'
29499
+ lt_prog_compiler_pic_GCJ='-KPIC'
29500
+ lt_prog_compiler_static_GCJ='-Bstatic'
29504
+ lt_prog_compiler_wl_GCJ='-Qoption ld '
29505
+ lt_prog_compiler_pic_GCJ='-PIC'
29506
+ lt_prog_compiler_static_GCJ='-Bstatic'
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'
29516
+ if test -d /usr/nec ;then
29517
+ lt_prog_compiler_pic_GCJ='-Kconform_pic'
29518
+ lt_prog_compiler_static_GCJ='-Bstatic'
29523
+ lt_prog_compiler_pic_GCJ='-pic'
29524
+ lt_prog_compiler_static_GCJ='-Bstatic'
29528
+ lt_prog_compiler_can_build_shared_GCJ=no
29533
+echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
29534
+echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
29537
+# Check to make sure the PIC flag actually works.
29539
+if test -n "$lt_prog_compiler_pic_GCJ"; then
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
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)
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
29574
+echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
29575
+echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
29577
+if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
29578
+ case $lt_prog_compiler_pic_GCJ in
29580
+ *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
29583
+ lt_prog_compiler_pic_GCJ=
29584
+ lt_prog_compiler_can_build_shared_GCJ=no
29588
+case "$host_os" in
29589
+ # For platforms which do not support PIC, -DPIC is meaningless:
29591
+ lt_prog_compiler_pic_GCJ=
29594
+ lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
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
29603
+ lt_cv_prog_compiler_c_o_GCJ=no
29604
+ $rm -r conftest 2>/dev/null
29608
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
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)
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
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
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
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
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
29654
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
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;}
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
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
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=
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
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
29728
+ # See if GNU ld supports shared libraries.
29730
+ aix3* | aix4* | aix5*)
29731
+ # On AIX/PPC, the GNU linker is very broken
29732
+ if test "$host_cpu" != ia64; then
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.
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
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
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'
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'
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;
29787
+ echo EXPORTS > $output_objdir/$soname.def;
29788
+ cat $export_symbols >> $output_objdir/$soname.def;
29790
+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
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'
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'
29806
+ solaris* | sysv5*)
29807
+ if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
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.
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'
29828
+ archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
29830
+ hardcode_direct_GCJ=yes
29831
+ hardcode_shlibpath_var_GCJ=no
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 ;;
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'
29852
+ archive_expsym_cmds_GCJ="$tmp_archive_cmds"
29854
+ link_all_deplibs_GCJ=no
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'
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'
29878
+ whole_archive_flag_spec_GCJ=
29882
+ # PORTME fill in a description of your system's linker (not GNU ld)
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
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'
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'
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'
29913
+ aix_use_runtimelinking=no
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
29927
+ exp_sym_flag='-bexport'
29928
+ no_entry_flag='-bnoentry'
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.
29937
+ archive_cmds_GCJ=''
29938
+ hardcode_direct_GCJ=yes
29939
+ hardcode_libdir_separator_GCJ=':'
29940
+ link_all_deplibs_GCJ=yes
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
29950
+ # We have reworked collect2
29951
+ hardcode_direct_GCJ=yes
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=
29963
+ shared_flag='-shared'
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:
29971
+ if test "$aix_use_runtimelinking" = yes; then
29972
+ shared_flag='${wl}-G'
29974
+ shared_flag='${wl}-bM:SRE'
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
29990
+cat confdefs.h >>conftest.$ac_ext
29991
+cat >>conftest.$ac_ext <<_ACEOF
29992
+/* end confdefs.h. */
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
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
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
30021
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
30022
+ (exit $ac_status); }; }; then
30024
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
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; }
30030
+ echo "$as_me: failed program was:" >&5
30031
+sed 's/^/| /' conftest.$ac_ext >&5
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
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"
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"
30046
+ # Determine the default libpath from the value encoded in an empty executable.
30047
+ cat >conftest.$ac_ext <<_ACEOF
30050
+cat confdefs.h >>conftest.$ac_ext
30051
+cat >>conftest.$ac_ext <<_ACEOF
30052
+/* end confdefs.h. */
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
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
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
30081
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
30082
+ (exit $ac_status); }; }; then
30084
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
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; }
30090
+ echo "$as_me: failed program was:" >&5
30091
+sed 's/^/| /' conftest.$ac_ext >&5
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
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'
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
30123
+ export_dynamic_flag_spec_GCJ=-rdynamic
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.
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
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'
30154
+ *) # Darwin 1.3 on
30155
+ if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
30156
+ allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
30158
+ case ${MACOSX_DEPLOYMENT_TARGET} in
30160
+ allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
30163
+ allow_undefined_flag_GCJ='-undefined dynamic_lookup'
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
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'
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'
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}'
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}'
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
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
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
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
30218
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
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
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
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'
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'
30240
+ hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
30241
+ hardcode_libdir_separator_GCJ=:
30242
+ hardcode_direct_GCJ=yes
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'
30250
+ hpux10* | hpux11*)
30251
+ if test "$GCC" = yes -a "$with_gnu_ld" = no; then
30252
+ case "$host_cpu" in
30254
+ archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
30257
+ archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
30261
+ case "$host_cpu" in
30263
+ archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
30266
+ archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
30270
+ if test "$with_gnu_ld" = no; then
30271
+ case "$host_cpu" in
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
30280
+ hardcode_libdir_flag_spec_GCJ='-L$libdir'
30281
+ hardcode_direct_GCJ=no
30282
+ hardcode_shlibpath_var_GCJ=no
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
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'
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
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'
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'
30309
+ hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
30310
+ hardcode_libdir_separator_GCJ=:
30311
+ link_all_deplibs_GCJ=yes
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
30318
+ archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
30320
+ hardcode_libdir_flag_spec_GCJ='-R$libdir'
30321
+ hardcode_direct_GCJ=yes
30322
+ hardcode_shlibpath_var_GCJ=no
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
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'
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'
30347
+ archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
30348
+ hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
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'
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'
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'
30370
+ hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
30371
+ hardcode_libdir_separator_GCJ=:
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'
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'
30385
+ # Both c and cxx compiler support -rpath directly
30386
+ hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
30388
+ hardcode_libdir_separator_GCJ=:
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
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'
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'
30410
+ hardcode_libdir_flag_spec_GCJ='-R$libdir'
30411
+ hardcode_shlibpath_var_GCJ=no
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' ;;
30417
+ link_all_deplibs_GCJ=yes
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'
30426
+ archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
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
30435
+ case $host_vendor in
30437
+ archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
30438
+ hardcode_direct_GCJ=yes # is this really true???
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
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
30452
+ runpath_var='LD_RUN_PATH'
30453
+ hardcode_shlibpath_var_GCJ=no
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'
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
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
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'
30486
+ archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
30488
+ runpath_var='LD_RUN_PATH'
30489
+ hardcode_shlibpath_var_GCJ=no
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'
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
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
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"
30526
+# Do we need to explicitly link libc?
30528
+case "x$archive_cmds_need_lc_GCJ" in
30530
+ # Assume -lc should be added
30531
+ archive_cmds_need_lc_GCJ=yes
30533
+ if test "$enable_shared" = yes && test "$GCC" = yes; then
30534
+ case $archive_cmds_GCJ in
30536
+ # FIXME: we may have to deal with multi-command sequences.
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
30545
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
30547
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30548
+ (eval $ac_compile) 2>&5
30550
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
30551
+ (exit $ac_status); } 2>conftest.err; then
30554
+ libobjs=conftest.$ac_objext
30556
+ wl=$lt_prog_compiler_wl_GCJ
30557
+ compiler_flags=-v
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
30567
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
30568
+ (exit $ac_status); }
30570
+ archive_cmds_need_lc_GCJ=no
30572
+ archive_cmds_need_lc_GCJ=yes
30574
+ allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
30576
+ cat conftest.err 1>&5
30579
+ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
30580
+echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
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'
30594
+postuninstall_cmds=
30598
+shlibpath_overrides_runpath=unknown
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'`
30611
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
30614
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
30616
+need_lib_prefix=unknown
30617
+hardcode_into_libs=no
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
30625
+ version_type=linux
30626
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
30627
+ shlibpath_var=LIBPATH
30629
+ # AIX 3 has no versioning support, so we append a major version to the name.
30630
+ soname_spec='${libname}${release}${shared_ext}$major'
30634
+ version_type=linux
30635
+ need_lib_prefix=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
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.
30649
+ aix4 | aix4.[01] | aix4.[01].*)
30650
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
30652
+ echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
30655
+ can_build_shared=no
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}'
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'
30673
+ shlibpath_var=LIBPATH
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'
30684
+ library_names_spec='${libname}${shared_ext}'
30685
+ dynamic_linker="$host_os ld.so"
30686
+ shlibpath_var=LIBRARY_PATH
30690
+ version_type=linux
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
30703
+cygwin* | mingw* | pw32*)
30704
+ version_type=windows
30705
+ shrext_cmds=".dll"
30707
+ need_lib_prefix=no
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~
30721
+ shlibpath_overrides_runpath=yes
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"
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'`
30742
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
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}'
30753
+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
30756
+ dynamic_linker='Win32 ld.exe'
30757
+ # FIXME: first we should search . and the directory the executable is in
30758
+ shlibpath_var=PATH
30761
+darwin* | rhapsody*)
30762
+ dynamic_linker="$host_os dyld"
30763
+ version_type=darwin
30764
+ need_lib_prefix=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"`
30775
+ sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
30777
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
30781
+ version_type=linux
30782
+ need_lib_prefix=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
30790
+ dynamic_linker=no
30794
+ version_type=linux
30795
+ need_lib_prefix=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'
30806
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
30807
+ version_type=freebsd-$objformat
30808
+ case $version_type in
30810
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
30812
+ need_lib_prefix=no
30815
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
30819
+ shlibpath_var=LD_LIBRARY_PATH
30822
+ shlibpath_overrides_runpath=yes
30824
+ freebsd3.01* | freebsdelf3.01*)
30825
+ shlibpath_overrides_runpath=yes
30826
+ hardcode_into_libs=yes
30829
+ shlibpath_overrides_runpath=no
30830
+ hardcode_into_libs=yes
30836
+ version_type=linux
30837
+ need_lib_prefix=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
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
30851
+ case "$host_cpu" in
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"
30863
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
30865
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
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
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'
30887
+ # HP-UX runs *really* slowly unless shared libraries are mode 555.
30888
+ postinstall_cmds='chmod 555 $lib'
30891
+irix5* | irix6* | nonstopux*)
30893
+ nonstopux*) version_type=nonstopux ;;
30895
+ if test "$lt_cv_prog_gnu_ld" = yes; then
30896
+ version_type=linux
30898
+ version_type=irix
30901
+ need_lib_prefix=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}'
30906
+ irix5* | nonstopux*)
30907
+ libsuff= shlibsuff=
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;;
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
30928
+# No shared lib support for Linux oldld, aout, or coff.
30929
+linux*oldld* | linux*aout* | linux*coff*)
30930
+ dynamic_linker=no
30933
+# This must be Linux ELF.
30935
+ version_type=linux
30936
+ need_lib_prefix=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
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"
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'
30964
+ version_type=linux
30965
+ need_lib_prefix=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'
30976
+ version_type=linux
30977
+ need_lib_prefix=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'
30988
+ version_type=sunos
30989
+ need_lib_prefix=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'
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'
31000
+ shlibpath_var=LD_LIBRARY_PATH
31001
+ shlibpath_overrides_runpath=yes
31002
+ hardcode_into_libs=yes
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
31013
+ version_type=linux
31014
+ need_lib_prefix=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
31023
+ version_type=sunos
31024
+ need_lib_prefix=no
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
31031
+ openbsd2.[89] | openbsd2.[89].*)
31032
+ shlibpath_overrides_runpath=no
31035
+ shlibpath_overrides_runpath=yes
31039
+ shlibpath_overrides_runpath=yes
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
31052
+osf3* | osf4* | osf5*)
31054
+ need_lib_prefix=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"
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
31071
+ version_type=linux
31072
+ need_lib_prefix=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'
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
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
31102
+ shlibpath_overrides_runpath=no
31103
+ need_lib_prefix=no
31104
+ export_dynamic_flag_spec='${wl}-Blargedynsym'
31105
+ runpath_var=LD_RUN_PATH
31108
+ need_lib_prefix=no
31111
+ need_lib_prefix=no
31113
+ shlibpath_overrides_runpath=no
31114
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
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
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
31136
+ dynamic_linker=no
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
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
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
31160
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
31161
+ hardcode_action_GCJ=immediate
31164
+ # We cannot hardcode anything, or else we can only hardcode existing
31166
+ hardcode_action_GCJ=unsupported
31168
+echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
31169
+echo "${ECHO_T}$hardcode_action_GCJ" >&6
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
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
31190
+# FIXME - insert some real tests, host_os isn't really good enough
31193
+ if test -n "$STRIP" ; then
31194
+ striplib="$STRIP -x"
31195
+ echo "$as_me:$LINENO: result: yes" >&5
31196
+echo "${ECHO_T}yes" >&6
31198
+ echo "$as_me:$LINENO: result: no" >&5
31199
+echo "${ECHO_T}no" >&6
31203
+ echo "$as_me:$LINENO: result: no" >&5
31204
+echo "${ECHO_T}no" >&6
31209
+if test "x$enable_dlopen" != xyes; then
31210
+ enable_dlopen=unknown
31211
+ enable_dlopen_self=unknown
31212
+ enable_dlopen_self_static=unknown
31215
+ lt_cv_dlopen_libs=
31219
+ lt_cv_dlopen="load_add_on"
31220
+ lt_cv_dlopen_libs=
31221
+ lt_cv_dlopen_self=yes
31225
+ lt_cv_dlopen="LoadLibrary"
31226
+ lt_cv_dlopen_libs=
31230
+ lt_cv_dlopen="dlopen"
31231
+ lt_cv_dlopen_libs=
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
31241
+ ac_check_lib_save_LIBS=$LIBS
31243
+cat >conftest.$ac_ext <<_ACEOF
31246
+cat confdefs.h >>conftest.$ac_ext
31247
+cat >>conftest.$ac_ext <<_ACEOF
31248
+/* end confdefs.h. */
31250
+/* Override any gcc2 internal prototype to avoid an error. */
31251
+#ifdef __cplusplus
31254
+/* We use char because int might match the return type of a gcc2
31255
+ builtin and then its argument prototype would still apply. */
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
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
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
31284
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
31285
+ (exit $ac_status); }; }; then
31286
+ ac_cv_lib_dl_dlopen=yes
31288
+ echo "$as_me: failed program was:" >&5
31289
+sed 's/^/| /' conftest.$ac_ext >&5
31291
+ac_cv_lib_dl_dlopen=no
31293
+rm -f conftest.err conftest.$ac_objext \
31294
+ conftest$ac_exeext conftest.$ac_ext
31295
+LIBS=$ac_check_lib_save_LIBS
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"
31303
+ lt_cv_dlopen="dyld"
31304
+ lt_cv_dlopen_libs=
31305
+ lt_cv_dlopen_self=yes
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
31317
+ cat >conftest.$ac_ext <<_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
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. */
31333
+# include <limits.h>
31335
+# include <assert.h>
31340
+/* Override any gcc2 internal prototype to avoid an error. */
31341
+#ifdef __cplusplus
31345
+/* We use char because int might match the return type of a gcc2
31346
+ builtin and then its argument prototype would still apply. */
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)
31354
+char (*f) () = shl_load;
31356
+#ifdef __cplusplus
31363
+return f != shl_load;
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
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
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
31387
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
31388
+ (exit $ac_status); }; }; then
31389
+ ac_cv_func_shl_load=yes
31391
+ echo "$as_me: failed program was:" >&5
31392
+sed 's/^/| /' conftest.$ac_ext >&5
31394
+ac_cv_func_shl_load=no
31396
+rm -f conftest.err conftest.$ac_objext \
31397
+ conftest$ac_exeext conftest.$ac_ext
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"
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
31409
+ ac_check_lib_save_LIBS=$LIBS
31410
+LIBS="-ldld $LIBS"
31411
+cat >conftest.$ac_ext <<_ACEOF
31414
+cat confdefs.h >>conftest.$ac_ext
31415
+cat >>conftest.$ac_ext <<_ACEOF
31416
+/* end confdefs.h. */
31418
+/* Override any gcc2 internal prototype to avoid an error. */
31419
+#ifdef __cplusplus
31422
+/* We use char because int might match the return type of a gcc2
31423
+ builtin and then its argument prototype would still apply. */
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
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
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
31452
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
31453
+ (exit $ac_status); }; }; then
31454
+ ac_cv_lib_dld_shl_load=yes
31456
+ echo "$as_me: failed program was:" >&5
31457
+sed 's/^/| /' conftest.$ac_ext >&5
31459
+ac_cv_lib_dld_shl_load=no
31461
+rm -f conftest.err conftest.$ac_objext \
31462
+ conftest$ac_exeext conftest.$ac_ext
31463
+LIBS=$ac_check_lib_save_LIBS
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"
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
31475
+ cat >conftest.$ac_ext <<_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
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. */
31491
+# include <limits.h>
31493
+# include <assert.h>
31498
+/* Override any gcc2 internal prototype to avoid an error. */
31499
+#ifdef __cplusplus
31503
+/* We use char because int might match the return type of a gcc2
31504
+ builtin and then its argument prototype would still apply. */
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)
31512
+char (*f) () = dlopen;
31514
+#ifdef __cplusplus
31521
+return f != dlopen;
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
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
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
31545
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
31546
+ (exit $ac_status); }; }; then
31547
+ ac_cv_func_dlopen=yes
31549
+ echo "$as_me: failed program was:" >&5
31550
+sed 's/^/| /' conftest.$ac_ext >&5
31552
+ac_cv_func_dlopen=no
31554
+rm -f conftest.err conftest.$ac_objext \
31555
+ conftest$ac_exeext conftest.$ac_ext
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"
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
31567
+ ac_check_lib_save_LIBS=$LIBS
31569
+cat >conftest.$ac_ext <<_ACEOF
31572
+cat confdefs.h >>conftest.$ac_ext
31573
+cat >>conftest.$ac_ext <<_ACEOF
31574
+/* end confdefs.h. */
31576
+/* Override any gcc2 internal prototype to avoid an error. */
31577
+#ifdef __cplusplus
31580
+/* We use char because int might match the return type of a gcc2
31581
+ builtin and then its argument prototype would still apply. */
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
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
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
31610
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
31611
+ (exit $ac_status); }; }; then
31612
+ ac_cv_lib_dl_dlopen=yes
31614
+ echo "$as_me: failed program was:" >&5
31615
+sed 's/^/| /' conftest.$ac_ext >&5
31617
+ac_cv_lib_dl_dlopen=no
31619
+rm -f conftest.err conftest.$ac_objext \
31620
+ conftest$ac_exeext conftest.$ac_ext
31621
+LIBS=$ac_check_lib_save_LIBS
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"
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
31633
+ ac_check_lib_save_LIBS=$LIBS
31634
+LIBS="-lsvld $LIBS"
31635
+cat >conftest.$ac_ext <<_ACEOF
31638
+cat confdefs.h >>conftest.$ac_ext
31639
+cat >>conftest.$ac_ext <<_ACEOF
31640
+/* end confdefs.h. */
31642
+/* Override any gcc2 internal prototype to avoid an error. */
31643
+#ifdef __cplusplus
31646
+/* We use char because int might match the return type of a gcc2
31647
+ builtin and then its argument prototype would still apply. */
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
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
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
31676
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
31677
+ (exit $ac_status); }; }; then
31678
+ ac_cv_lib_svld_dlopen=yes
31680
+ echo "$as_me: failed program was:" >&5
31681
+sed 's/^/| /' conftest.$ac_ext >&5
31683
+ac_cv_lib_svld_dlopen=no
31685
+rm -f conftest.err conftest.$ac_objext \
31686
+ conftest$ac_exeext conftest.$ac_ext
31687
+LIBS=$ac_check_lib_save_LIBS
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"
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
31699
+ ac_check_lib_save_LIBS=$LIBS
31700
+LIBS="-ldld $LIBS"
31701
+cat >conftest.$ac_ext <<_ACEOF
31704
+cat confdefs.h >>conftest.$ac_ext
31705
+cat >>conftest.$ac_ext <<_ACEOF
31706
+/* end confdefs.h. */
31708
+/* Override any gcc2 internal prototype to avoid an error. */
31709
+#ifdef __cplusplus
31712
+/* We use char because int might match the return type of a gcc2
31713
+ builtin and then its argument prototype would still apply. */
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
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
31738
@@ -7097,375 +17905,788 @@
31739
(eval $ac_try) 2>&5
31741
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31742
- (exit $ac_status); }; }; then
31743
- ac_cv_lib_dld_dld_link=yes
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
31750
+ echo "$as_me: failed program was:" >&5
31751
+sed 's/^/| /' conftest.$ac_ext >&5
31753
+ac_cv_lib_dld_dld_link=no
31755
+rm -f conftest.err conftest.$ac_objext \
31756
+ conftest$ac_exeext conftest.$ac_ext
31757
+LIBS=$ac_check_lib_save_LIBS
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"
31783
+ if test "x$lt_cv_dlopen" != xno; then
31784
+ enable_dlopen=yes
31789
+ case $lt_cv_dlopen in
31791
+ save_CPPFLAGS="$CPPFLAGS"
31792
+ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
31794
+ save_LDFLAGS="$LDFLAGS"
31795
+ eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
31797
+ save_LIBS="$LIBS"
31798
+ LIBS="$lt_cv_dlopen_libs $LIBS"
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
31805
+ if test "$cross_compiling" = yes; then :
31806
+ lt_cv_dlopen_self=cross
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"
31815
+#include <dlfcn.h>
31818
+#include <stdio.h>
31820
+#ifdef RTLD_GLOBAL
31821
+# define LT_DLGLOBAL RTLD_GLOBAL
31824
+# define LT_DLGLOBAL DL_GLOBAL
31826
+# define LT_DLGLOBAL 0
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
31834
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
31837
+# define LT_DLLAZY_OR_NOW DL_LAZY
31840
+# define LT_DLLAZY_OR_NOW RTLD_NOW
31843
+# define LT_DLLAZY_OR_NOW DL_NOW
31845
+# define LT_DLLAZY_OR_NOW 0
31852
+#ifdef __cplusplus
31853
+extern "C" void exit (int);
31856
+void fnord() { int i=42;}
31859
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
31860
+ int status = $lt_dlunknown;
31864
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
31865
+ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
31866
+ /* dlclose (self); */
31872
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31873
+ (eval $ac_link) 2>&5
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
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 ;;
31885
+ # compilation failed
31886
+ lt_cv_dlopen_self=no
31893
+echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
31894
+echo "${ECHO_T}$lt_cv_dlopen_self" >&6
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
31903
+ if test "$cross_compiling" = yes; then :
31904
+ lt_cv_dlopen_self_static=cross
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"
31913
+#include <dlfcn.h>
31916
+#include <stdio.h>
31918
+#ifdef RTLD_GLOBAL
31919
+# define LT_DLGLOBAL RTLD_GLOBAL
31922
+# define LT_DLGLOBAL DL_GLOBAL
31924
+# define LT_DLGLOBAL 0
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
31932
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
31935
+# define LT_DLLAZY_OR_NOW DL_LAZY
31938
+# define LT_DLLAZY_OR_NOW RTLD_NOW
31941
+# define LT_DLLAZY_OR_NOW DL_NOW
31943
+# define LT_DLLAZY_OR_NOW 0
31950
+#ifdef __cplusplus
31951
+extern "C" void exit (int);
31954
+void fnord() { int i=42;}
31957
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
31958
+ int status = $lt_dlunknown;
31962
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
31963
+ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
31964
+ /* dlclose (self); */
31970
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31971
+ (eval $ac_link) 2>&5
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
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 ;;
31983
+ # compilation failed
31984
+ lt_cv_dlopen_self_static=no
31991
+echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
31992
+echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
31995
+ CPPFLAGS="$save_CPPFLAGS"
31996
+ LDFLAGS="$save_LDFLAGS"
31997
+ LIBS="$save_LIBS"
32001
+ case $lt_cv_dlopen_self in
32002
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
32003
+ *) enable_dlopen_self=unknown ;;
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 ;;
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
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 \
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 \
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
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\"\`\\\""
32088
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
32094
+ *'\$0 --fallback-echo"')
32095
+ lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
32101
+ cat <<__EOF__ >> "$cfgfile"
32102
+# ### BEGIN LIBTOOL TAG CONFIG: $tagname
32104
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
32106
+# Shell to use when invoking shell scripts.
32109
+# Whether or not to build shared libraries.
32110
+build_libtool_libs=$enable_shared
32112
+# Whether or not to build static libraries.
32113
+build_old_libs=$enable_static
32115
+# Whether or not to add -lc for building shared libraries.
32116
+build_libtool_need_lc=$archive_cmds_need_lc_GCJ
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
32121
+# Whether or not to optimize for fast installation.
32122
+fast_install=$enable_fast_install
32124
+# The host system.
32125
+host_alias=$host_alias
32128
+# An echo program that does not interpret backslashes.
32133
+AR_FLAGS=$lt_AR_FLAGS
32138
+# A language-specific compiler.
32139
+CC=$lt_compiler_GCJ
32141
+# Is the compiler the GNU C compiler?
32147
+# The linker used to build libraries.
32150
+# Whether we need hard or soft links.
32153
+# A BSD-compatible nm program.
32156
+# A symbol stripping program
32159
+# Used to examine libraries when file_magic_cmd begins "file"
32160
+MAGIC_CMD=$MAGIC_CMD
32162
+# Used on cygwin: DLL creation program.
32163
+DLLTOOL="$DLLTOOL"
32165
+# Used on cygwin: object dumper.
32166
+OBJDUMP="$OBJDUMP"
32168
+# Used on cygwin: assembler.
32171
+# The name of the directory that contains temporary libtool files.
32174
+# How to create reloadable object files.
32175
+reload_flag=$lt_reload_flag
32176
+reload_cmds=$lt_reload_cmds
32178
+# How to pass a linker flag through the compiler.
32179
+wl=$lt_lt_prog_compiler_wl_GCJ
32181
+# Object file suffix (normally "o").
32182
+objext="$ac_objext"
32184
+# Old archive suffix (normally "a").
32187
+# Shared library suffix (normally ".so").
32188
+shrext_cmds='$shrext_cmds'
32190
+# Executable file suffix (normally "").
32193
+# Additional compiler flags for building library objects.
32194
+pic_flag=$lt_lt_prog_compiler_pic_GCJ
32195
+pic_mode=$pic_mode
32197
+# What is the maximum length of a command?
32198
+max_cmd_len=$lt_cv_sys_max_cmd_len
32200
+# Does compiler simultaneously support -c and -o options?
32201
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
32203
+# Must we lock files when doing compilation ?
32204
+need_locks=$lt_need_locks
32206
+# Do we need the lib prefix for modules?
32207
+need_lib_prefix=$need_lib_prefix
32209
+# Do we need a version for libraries?
32210
+need_version=$need_version
32212
+# Whether dlopen is supported.
32213
+dlopen_support=$enable_dlopen
32215
+# Whether dlopen of programs is supported.
32216
+dlopen_self=$enable_dlopen_self
32218
+# Whether dlopen of statically linked programs is supported.
32219
+dlopen_self_static=$enable_dlopen_self_static
32221
+# Compiler flag to prevent dynamic linking.
32222
+link_static_flag=$lt_lt_prog_compiler_static_GCJ
32224
+# Compiler flag to turn off builtin functions.
32225
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
32227
+# Compiler flag to allow reflexive dlopens.
32228
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
32230
+# Compiler flag to generate shared objects directly from archives.
32231
+whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
32233
+# Compiler flag to generate thread-safe objects.
32234
+thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
32236
+# Library versioning type.
32237
+version_type=$version_type
32239
+# Format of library name prefix.
32240
+libname_spec=$lt_libname_spec
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
32246
-ac_cv_lib_dld_dld_link=no
32248
-rm -f conftest.err conftest.$ac_objext \
32249
- conftest$ac_exeext conftest.$ac_ext
32250
-LIBS=$ac_check_lib_save_LIBS
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"
32257
+# The coded name of the library, if different from the real name.
32258
+soname_spec=$lt_soname_spec
32260
+# Commands used to build and install an old-style archive.
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
32267
+# Create an old-style archive from a shared archive.
32268
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
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
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
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
32285
+# Commands to strip libraries.
32286
+old_striplib=$lt_old_striplib
32287
+striplib=$lt_striplib
32289
+# Dependencies to place before the objects being linked to create a
32291
+predep_objects=$lt_predep_objects_GCJ
32293
+# Dependencies to place after the objects being linked to create a
32295
+postdep_objects=$lt_postdep_objects_GCJ
32297
+# Dependencies to place before the objects being linked to create a
32299
+predeps=$lt_predeps_GCJ
32301
+# Dependencies to place after the objects being linked to create a
32303
+postdeps=$lt_postdeps_GCJ
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
32310
+# Method to check whether dependent libraries are shared objects.
32311
+deplibs_check_method=$lt_deplibs_check_method
32313
+# Command to use when deplibs_check_method == file_magic.
32314
+file_magic_cmd=$lt_file_magic_cmd
32317
+# Flag that allows shared libraries with undefined symbols to be built.
32318
+allow_undefined_flag=$lt_allow_undefined_flag_GCJ
32322
+# Flag that forces no undefined symbols.
32323
+no_undefined_flag=$lt_no_undefined_flag_GCJ
32325
- if test "x$lt_cv_dlopen" != xno; then
32326
- enable_dlopen=yes
32330
+# Commands used to finish a libtool library installation in a directory.
32331
+finish_cmds=$lt_finish_cmds
32333
- case $lt_cv_dlopen in
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
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
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
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
32355
- if test "$cross_compiling" = yes; then :
32356
- lt_cv_dlopen_self=cross
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
32367
-#include <dlfcn.h>
32369
+# This is the shared library runtime path variable.
32370
+runpath_var=$runpath_var
32372
-#include <stdio.h>
32373
+# This is the shared library path variable.
32374
+shlibpath_var=$shlibpath_var
32376
-#ifdef RTLD_GLOBAL
32377
-# define LT_DLGLOBAL RTLD_GLOBAL
32380
-# define LT_DLGLOBAL DL_GLOBAL
32382
-# define LT_DLGLOBAL 0
32385
+# Is shlibpath searched before the hard-coded library search path?
32386
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
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
32392
-# define LT_DLLAZY_OR_NOW RTLD_LAZY
32395
-# define LT_DLLAZY_OR_NOW DL_LAZY
32398
-# define LT_DLLAZY_OR_NOW RTLD_NOW
32401
-# define LT_DLLAZY_OR_NOW DL_NOW
32403
-# define LT_DLLAZY_OR_NOW 0
32409
+# How to hardcode a shared library path into an executable.
32410
+hardcode_action=$hardcode_action_GCJ
32412
-#ifdef __cplusplus
32413
-extern "C" void exit (int);
32415
+# Whether we should hardcode library paths into libraries.
32416
+hardcode_into_libs=$hardcode_into_libs
32418
-void fnord() { int i=42;}
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
32429
- if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
32430
- else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
32431
- /* dlclose (self); */
32433
+# If ld is used when linking, flag to hardcode \$libdir into
32434
+# a binary during linking. This must work even if \$libdir does
32436
+hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
32441
- if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32442
- (eval $ac_link) 2>&5
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
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 ;;
32454
- # compilation failed
32455
- lt_cv_dlopen_self=no
32459
+# Whether we need a single -rpath flag with a separated argument.
32460
+hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
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
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
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
32480
- if test "$cross_compiling" = yes; then :
32481
- lt_cv_dlopen_self_static=cross
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
32493
-#include <dlfcn.h>
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
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"
32504
-#ifdef RTLD_GLOBAL
32505
-# define LT_DLGLOBAL RTLD_GLOBAL
32508
-# define LT_DLGLOBAL DL_GLOBAL
32510
-# define LT_DLGLOBAL 0
32513
+# Whether libtool must link a program against all its dependency libraries.
32514
+link_all_deplibs=$link_all_deplibs_GCJ
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
32520
-# define LT_DLLAZY_OR_NOW RTLD_LAZY
32523
-# define LT_DLLAZY_OR_NOW DL_LAZY
32526
-# define LT_DLLAZY_OR_NOW RTLD_NOW
32529
-# define LT_DLLAZY_OR_NOW DL_NOW
32531
-# define LT_DLLAZY_OR_NOW 0
32537
+# Compile-time system search path for libraries
32538
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
32540
-#ifdef __cplusplus
32541
-extern "C" void exit (int);
32543
+# Run-time system search path for libraries
32544
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
32546
-void fnord() { int i=42;}
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"
32556
- if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
32557
- else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
32558
- /* dlclose (self); */
32560
+# Set to yes if exported symbols are required.
32561
+always_export_symbols=$always_export_symbols_GCJ
32566
- if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32567
- (eval $ac_link) 2>&5
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
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 ;;
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
32584
+# The commands to extract the exported symbol list from a shared archive.
32585
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
32587
+# Symbols that should not be listed in the preloaded symbols.
32588
+exclude_expsyms=$lt_exclude_expsyms_GCJ
32590
+# Symbols that must always be exported.
32591
+include_expsyms=$lt_include_expsyms_GCJ
32593
+# ### END LIBTOOL TAG CONFIG: $tagname
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"
32611
-echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
32612
-echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
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
32620
- CPPFLAGS="$save_CPPFLAGS"
32621
- LDFLAGS="$save_LDFLAGS"
32622
- LIBS="$save_LIBS"
32627
- case $lt_cv_dlopen_self in
32628
- yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
32629
- *) enable_dlopen_self=unknown ;;
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 ;;
32644
-if test "$enable_shared" = yes && test "$GCC" = yes; then
32645
- case $archive_cmds in
32647
- # FIXME: we may have to deal with multi-command sequences.
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
32659
- echo 'static int dummy;' > conftest.$ac_ext
32661
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32662
- (eval $ac_compile) 2>&5
32664
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
32665
- (exit $ac_status); }; then
32668
- libobjs=conftest.$ac_objext
32670
- wl=$lt_cv_prog_cc_wl
32671
- compiler_flags=-v
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
32681
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
32682
- (exit $ac_status); }
32684
- lt_cv_archive_cmds_need_lc=no
32686
- lt_cv_archive_cmds_need_lc=yes
32688
- allow_undefined_flag=$save_allow_undefined_flag
32690
- cat conftest.err 1>&5
32693
+# Source file extension for RC test sources.
32696
- echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
32697
-echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
32701
-need_lc=${lt_cv_archive_cmds_need_lc-yes}
32702
+# Object file extension for compiled RC test sources.
32706
+# Code to be used in simple compile tests
32707
+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
32709
+# Code to be used in simple link tests
32710
+lt_simple_link_test_code="$lt_simple_compile_test_code"
32712
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
32714
+# If no C compiler was specified, use CC.
32715
+LTCC=${LTCC-"$CC"}
32717
+# Allow CC to be a program name with arguments.
32721
+# Allow CC to be a program name with arguments.
32723
+CC=${RC-"windres"}
32726
+lt_cv_prog_compiler_c_o_RC=yes
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
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"
32742
-if test -f "$ltmain"; then
32743
- trap "$rm \"${ofile}T\"; exit 1" 1 2 15
32744
- $rm -f "${ofile}T"
32746
- echo creating $ofile
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
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 \
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 \
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 \
32811
+ module_expsym_cmds_RC \
32812
+ lt_cv_prog_compiler_c_o_RC \
32813
+ exclude_expsyms_RC \
32814
+ include_expsyms_RC; do
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\"\`\\\""
32837
@@ -7475,43 +18696,16 @@
32841
- cat <<__EOF__ > "${ofile}T"
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.
32848
-# Copyright (C) 1996-2000 Free Software Foundation, Inc.
32849
-# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
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.
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.
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.
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.
32870
-# Sed that helps us avoid accidentally triggering echo(1) options like -n.
32871
-Xsed="sed -e s/^X//"
32873
+ *'\$0 --fallback-echo"')
32874
+ lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
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
32883
-# ### BEGIN LIBTOOL CONFIG
32884
+ cat <<__EOF__ >> "$cfgfile"
32885
+# ### BEGIN LIBTOOL TAG CONFIG: $tagname
32887
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
32889
@@ -7525,7 +18719,10 @@
32890
build_old_libs=$enable_static
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
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
32899
# Whether or not to optimize for fast installation.
32900
fast_install=$enable_fast_install
32901
@@ -7541,14 +18738,20 @@
32903
AR_FLAGS=$lt_AR_FLAGS
32905
-# The default C compiler.
32910
+# A language-specific compiler.
32911
+CC=$lt_compiler_RC
32913
# Is the compiler the GNU C compiler?
32920
# The linker used to build libraries.
32924
# Whether we need hard or soft links.
32926
@@ -7557,7 +18760,7 @@
32929
# A symbol stripping program
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
32938
# How to pass a linker flag through the compiler.
32940
+wl=$lt_lt_prog_compiler_wl_RC
32942
# Object file suffix (normally "o").
32943
objext="$ac_objext"
32944
@@ -7587,18 +18790,21 @@
32945
# Old archive suffix (normally "a").
32948
+# Shared library suffix (normally ".so").
32949
+shrext_cmds='$shrext_cmds'
32951
# Executable file suffix (normally "").
32954
# Additional compiler flags for building library objects.
32955
-pic_flag=$lt_pic_flag
32956
+pic_flag=$lt_lt_prog_compiler_pic_RC
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
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
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
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
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
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
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
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
32994
# Library versioning type.
32995
version_type=$version_type
32996
@@ -7648,26 +18854,50 @@
32998
# Commands used to build and install an old-style archive.
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
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
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
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
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
33025
# Commands to strip libraries.
33026
old_striplib=$lt_old_striplib
33027
striplib=$lt_striplib
33029
+# Dependencies to place before the objects being linked to create a
33031
+predep_objects=$lt_predep_objects_RC
33033
+# Dependencies to place after the objects being linked to create a
33035
+postdep_objects=$lt_postdep_objects_RC
33037
+# Dependencies to place before the objects being linked to create a
33039
+predeps=$lt_predeps_RC
33041
+# Dependencies to place after the objects being linked to create a
33043
+postdeps=$lt_postdeps_RC
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
33049
# Method to check whether dependent libraries are shared objects.
33050
deplibs_check_method=$lt_deplibs_check_method
33052
@@ -7675,10 +18905,10 @@
33053
file_magic_cmd=$lt_file_magic_cmd
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
33059
# Flag that forces no undefined symbols.
33060
-no_undefined_flag=$lt_no_undefined_flag
33061
+no_undefined_flag=$lt_no_undefined_flag_RC
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
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
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
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
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
33085
# How to hardcode a shared library path into an executable.
33086
-hardcode_action=$hardcode_action
33087
+hardcode_action=$hardcode_action_RC
33089
# Whether we should hardcode library paths into libraries.
33090
hardcode_into_libs=$hardcode_into_libs
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
33097
+# If ld is used when linking, flag to hardcode \$libdir into
33098
+# a binary during linking. This must work even if \$libdir does
33100
+hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
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
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
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
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
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
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"
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
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
33139
# Fix the shell variable \$srcfile for the compiler.
33140
-fix_srcfile_path="$fix_srcfile_path"
33141
+fix_srcfile_path="$fix_srcfile_path_RC"
33143
# Set to yes if exported symbols are required.
33144
-always_export_symbols=$always_export_symbols
33145
+always_export_symbols=$always_export_symbols_RC
33147
# The commands to list exported symbols.
33148
-export_symbols_cmds=$lt_export_symbols_cmds
33149
+export_symbols_cmds=$lt_export_symbols_cmds_RC
33151
# The commands to extract the exported symbol list from a shared archive.
33152
extract_expsyms_cmds=$lt_extract_expsyms_cmds
33154
# Symbols that should not be listed in the preloaded symbols.
33155
-exclude_expsyms=$lt_exclude_expsyms
33156
+exclude_expsyms=$lt_exclude_expsyms_RC
33158
# Symbols that must always be exported.
33159
-include_expsyms=$lt_include_expsyms
33160
+include_expsyms=$lt_include_expsyms_RC
33162
-# ### END LIBTOOL CONFIG
33163
+# ### END LIBTOOL TAG CONFIG: $tagname
33169
- cat <<\EOF >> "${ofile}T"
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
33176
- export COLLECT_NAMES
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"
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>
33201
-# #ifndef __CYGWIN__
33202
-# # ifdef __CYGWIN32__
33203
-# # define __CYGWIN__ __CYGWIN32__
33207
-# #ifdef __cplusplus
33210
-# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
33211
-# #ifdef __cplusplus
33215
-# #ifdef __CYGWIN__
33216
-# #include <cygwin/cygwin_dll.h>
33217
-# DECLARE_CYGWIN_DLL( DllMain );
33219
-# HINSTANCE __hDllInstance_base;
33222
-# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
33224
-# __hDllInstance_base = hInst;
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.
33234
-# This file is part of GNU libtool.
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.
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.
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.
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() */
33256
-# /* O_BINARY isn't required (or even defined sometimes) under Unix */
33257
-# #ifndef O_BINARY
33258
-# #define O_BINARY 0
33261
-# static unsigned int
33262
-# pe_get16 (fd, offset)
33266
-# unsigned char b[2];
33267
-# lseek (fd, offset, SEEK_SET);
33268
-# read (fd, b, 2);
33269
-# return b[0] + (b[1]<<8);
33272
-# static unsigned int
33273
-# pe_get32 (fd, offset)
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);
33283
-# static unsigned int
33287
-# unsigned char *b = ptr;
33288
-# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
33292
-# main (argc, argv)
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;
33303
-# filename = argv[1];
33305
-# dll = open(filename, O_RDONLY|O_BINARY);
33309
-# dll_name = filename;
33311
-# for (i=0; filename[i]; i++)
33312
-# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
33313
-# dll_name = filename + i +1;
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);
33319
-# if (num_entries < 1) /* no exports */
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));
33329
-# for (i = 0; i < nsections; i++)
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)
33340
-# expptr = fptr + (export_rva - vaddr);
33341
-# if (export_rva + export_size > vaddr + vsize)
33342
-# export_size = vsize - (export_rva - vaddr);
33347
-# expdata = (unsigned char*)malloc(export_size);
33348
-# lseek (dll, expptr, SEEK_SET);
33349
-# read (dll, expdata, export_size);
33350
-# erva = expdata - export_rva;
33352
-# nexp = pe_as32 (expdata+24);
33353
-# name_rvas = pe_as32 (expdata+32);
33355
-# printf ("EXPORTS\n");
33356
-# for (i = 0; i<nexp; i++)
33358
-# unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
33359
-# printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
33364
-# /* impgen.c ends here */
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
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)
33382
- mv -f "${ofile}T" "$ofile" || \
33383
- (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
33384
- chmod +x "$ofile"
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; }; }
33395
+ # Append the new tag name to the list of available tags.
33396
+ if test -n "$tagname" ; then
33397
+ available_tags="$available_tags $tagname"
33401
+ IFS="$lt_save_ifs"
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"
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; }; }
33417
@@ -7983,6 +19063,24 @@
33418
# Prevent multiple expansion
33439
sed -e 's/^build_old_libs=yes/build_old_libs=no/' libtool > libtool-disable-static
33440
chmod +x libtool-disable-static
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
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
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
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
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
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
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
33512
@@ -9434,6 +20525,19 @@
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=';'
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
33539
- test "$with_gnu_ld" != yes && break
33541
+ case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
33542
+ *GNU* | *'with BFD'*)
33543
+ test "$with_gnu_ld" != no && break ;;
33545
+ test "$with_gnu_ld" != yes && break ;;
33550
@@ -9515,11 +20620,12 @@
33551
echo $ECHO_N "(cached) $ECHO_C" >&6
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
33557
- acl_cv_prog_gnu_ld=no
33559
+case `$LD -v 2>&1 </dev/null` in
33560
+*GNU* | *'with BFD'*)
33561
+ acl_cv_prog_gnu_ld=yes ;;
33563
+ acl_cv_prog_gnu_ld=no ;;
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 @@
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
33589
- linux*) haveit=yes;;
33590
+ linux* | gnu* | k*bsd*-gnu) haveit=yes;;
33594
@@ -9818,7 +20923,7 @@
33595
if test "X$additional_libdir" = "X/usr/local/lib"; then
33596
if test -n "$GCC"; then
33598
- linux*) haveit=yes;;
33599
+ linux* | gnu* | k*bsd*-gnu) haveit=yes;;
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
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
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
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
33643
@@ -10730,6 +21831,13 @@
33644
Usually this means the macro was only invoked conditionally." >&2;}
33645
{ (exit 1); exit 1; }; }
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; }; }
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
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
33669
-s,@EGREP@,$EGREP,;t t
33670
-s,@LIBTOOL@,$LIBTOOL,;t t
33671
-s,@CCAS@,$CCAS,;t t
33672
-s,@CCASFLAGS@,$CCASFLAGS,;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
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 ;;
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;}
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 @@
33704
done` || { (exit 1); exit 1; }
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;}
33712
cat >>$CONFIG_STATUS <<_ACEOF
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
33718
AMDEP_FALSE = @AMDEP_FALSE@
33719
AMDEP_TRUE = @AMDEP_TRUE@
33723
AUTOCONF = @AUTOCONF@
33724
AUTOHEADER = @AUTOHEADER@
33727
CPPFLAGS = @CPPFLAGS@
33730
CXXDEPMODE = @CXXDEPMODE@
33731
CXXFLAGS = @CXXFLAGS@
33732
CYGPATH_W = @CYGPATH_W@
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
33757
AMDEP_FALSE = @AMDEP_FALSE@
33758
AMDEP_TRUE = @AMDEP_TRUE@
33762
AUTOCONF = @AUTOCONF@
33763
AUTOHEADER = @AUTOHEADER@
33766
CPPFLAGS = @CPPFLAGS@
33769
CXXDEPMODE = @CXXDEPMODE@
33770
CXXFLAGS = @CXXFLAGS@
33771
CYGPATH_W = @CYGPATH_W@
33772
@@ -108,6 +110,8 @@
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
33796
AMDEP_FALSE = @AMDEP_FALSE@
33797
AMDEP_TRUE = @AMDEP_TRUE@
33801
AUTOCONF = @AUTOCONF@
33802
AUTOHEADER = @AUTOHEADER@
33805
CPPFLAGS = @CPPFLAGS@
33808
CXXDEPMODE = @CXXDEPMODE@
33809
CXXFLAGS = @CXXFLAGS@
33810
CYGPATH_W = @CYGPATH_W@
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
33835
AMDEP_FALSE = @AMDEP_FALSE@
33836
AMDEP_TRUE = @AMDEP_TRUE@
33840
AUTOCONF = @AUTOCONF@
33841
AUTOHEADER = @AUTOHEADER@
33844
CPPFLAGS = @CPPFLAGS@
33847
CXXDEPMODE = @CXXDEPMODE@
33848
CXXFLAGS = @CXXFLAGS@
33849
CYGPATH_W = @CYGPATH_W@
33850
@@ -108,6 +110,8 @@
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
33874
AMDEP_FALSE = @AMDEP_FALSE@
33875
AMDEP_TRUE = @AMDEP_TRUE@
33879
AUTOCONF = @AUTOCONF@
33880
AUTOHEADER = @AUTOHEADER@
33883
CPPFLAGS = @CPPFLAGS@
33886
CXXDEPMODE = @CXXDEPMODE@
33887
CXXFLAGS = @CXXFLAGS@
33888
CYGPATH_W = @CYGPATH_W@
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 @@
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
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
33925
AMDEP_FALSE = @AMDEP_FALSE@
33926
AMDEP_TRUE = @AMDEP_TRUE@
33930
AUTOCONF = @AUTOCONF@
33931
AUTOHEADER = @AUTOHEADER@
33932
@@ -100,6 +101,7 @@
33934
CPPFLAGS = @CPPFLAGS@
33937
CXXDEPMODE = @CXXDEPMODE@
33938
CXXFLAGS = @CXXFLAGS@
33939
CYGPATH_W = @CYGPATH_W@
33940
@@ -115,6 +117,8 @@
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 @@
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
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
33976
AMDEP_FALSE = @AMDEP_FALSE@
33977
AMDEP_TRUE = @AMDEP_TRUE@
33981
AUTOCONF = @AUTOCONF@
33982
AUTOHEADER = @AUTOHEADER@
33983
@@ -100,6 +101,7 @@
33985
CPPFLAGS = @CPPFLAGS@
33988
CXXDEPMODE = @CXXDEPMODE@
33989
CXXFLAGS = @CXXFLAGS@
33990
CYGPATH_W = @CYGPATH_W@
33991
@@ -115,6 +117,8 @@
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 @@
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
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
34027
AMDEP_FALSE = @AMDEP_FALSE@
34028
AMDEP_TRUE = @AMDEP_TRUE@
34032
AUTOCONF = @AUTOCONF@
34033
AUTOHEADER = @AUTOHEADER@
34036
CPPFLAGS = @CPPFLAGS@
34039
CXXDEPMODE = @CXXDEPMODE@
34040
CXXFLAGS = @CXXFLAGS@
34041
CYGPATH_W = @CYGPATH_W@
34042
@@ -104,6 +106,8 @@
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 @@
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
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
34078
AMDEP_FALSE = @AMDEP_FALSE@
34079
AMDEP_TRUE = @AMDEP_TRUE@
34083
AUTOCONF = @AUTOCONF@
34084
AUTOHEADER = @AUTOHEADER@
34085
@@ -100,6 +101,7 @@
34087
CPPFLAGS = @CPPFLAGS@
34090
CXXDEPMODE = @CXXDEPMODE@
34091
CXXFLAGS = @CXXFLAGS@
34092
CYGPATH_W = @CYGPATH_W@
34093
@@ -115,6 +117,8 @@
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 @@
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
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
34129
AMDEP_FALSE = @AMDEP_FALSE@
34130
AMDEP_TRUE = @AMDEP_TRUE@
34134
AUTOCONF = @AUTOCONF@
34135
AUTOHEADER = @AUTOHEADER@
34136
@@ -100,6 +101,7 @@
34138
CPPFLAGS = @CPPFLAGS@
34141
CXXDEPMODE = @CXXDEPMODE@
34142
CXXFLAGS = @CXXFLAGS@
34143
CYGPATH_W = @CYGPATH_W@
34144
@@ -115,6 +117,8 @@
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 @@
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
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
34180
AMDEP_FALSE = @AMDEP_FALSE@
34181
AMDEP_TRUE = @AMDEP_TRUE@
34185
AUTOCONF = @AUTOCONF@
34186
AUTOHEADER = @AUTOHEADER@
34189
CPPFLAGS = @CPPFLAGS@
34192
CXXDEPMODE = @CXXDEPMODE@
34193
CXXFLAGS = @CXXFLAGS@
34194
CYGPATH_W = @CYGPATH_W@
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
34219
AMDEP_FALSE = @AMDEP_FALSE@
34220
AMDEP_TRUE = @AMDEP_TRUE@
34224
AUTOCONF = @AUTOCONF@
34225
AUTOHEADER = @AUTOHEADER@
34228
CPPFLAGS = @CPPFLAGS@
34231
CXXDEPMODE = @CXXDEPMODE@
34232
CXXFLAGS = @CXXFLAGS@
34233
CYGPATH_W = @CYGPATH_W@
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
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
34268
# The name of this program:
34269
progname=`echo "$progpath" | $SED $basename`
34270
modename="$progname"
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 $"
34279
# Check that we have a working $echo.
34280
@@ -1845,7 +1838,10 @@
34282
dlopen) libs="$dlfiles" ;;
34283
dlpreopen) libs="$dlprefiles" ;;
34284
- link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
34286
+ libs="$deplibs %DEPLIBS%"
34287
+ test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
34291
if test "$pass" = dlopen; then
34292
@@ -1871,10 +1867,6 @@
34293
$echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
34296
- if test "$pass" = conv; then
34297
- deplibs="$deplib $deplibs"
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"
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
34315
@@ -2948,7 +2945,7 @@
34317
# Check that each of the things are valid numbers.
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]) ;;
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 @@
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]) ;;
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 @@
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]) ;;
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@
34351
AUTOCONF = @AUTOCONF@
34352
AUTOHEADER = @AUTOHEADER@
34353
@@ -117,6 +118,7 @@
34355
CPPFLAGS = @CPPFLAGS@
34358
CXXDEPMODE = @CXXDEPMODE@
34359
CXXFLAGS = @CXXFLAGS@
34360
CYGPATH_W = @CYGPATH_W@
34361
@@ -132,6 +134,8 @@
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
34385
AMDEP_FALSE = @AMDEP_FALSE@
34386
AMDEP_TRUE = @AMDEP_TRUE@
34390
AUTOCONF = @AUTOCONF@
34391
AUTOHEADER = @AUTOHEADER@
34394
CPPFLAGS = @CPPFLAGS@
34397
CXXDEPMODE = @CXXDEPMODE@
34398
CXXFLAGS = @CXXFLAGS@
34399
CYGPATH_W = @CYGPATH_W@
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 @@
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
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
34436
AMDEP_FALSE = @AMDEP_FALSE@
34437
AMDEP_TRUE = @AMDEP_TRUE@
34441
AUTOCONF = @AUTOCONF@
34442
AUTOHEADER = @AUTOHEADER@
34445
CPPFLAGS = @CPPFLAGS@
34448
CXXDEPMODE = @CXXDEPMODE@
34449
CXXFLAGS = @CXXFLAGS@
34450
CYGPATH_W = @CYGPATH_W@
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 @@
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
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
34487
AMDEP_FALSE = @AMDEP_FALSE@
34488
AMDEP_TRUE = @AMDEP_TRUE@
34492
AUTOCONF = @AUTOCONF@
34493
AUTOHEADER = @AUTOHEADER@
34496
CPPFLAGS = @CPPFLAGS@
34499
CXXDEPMODE = @CXXDEPMODE@
34500
CXXFLAGS = @CXXFLAGS@
34501
CYGPATH_W = @CYGPATH_W@
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 @@
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
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
34538
AMDEP_FALSE = @AMDEP_FALSE@
34539
AMDEP_TRUE = @AMDEP_TRUE@
34543
AUTOCONF = @AUTOCONF@
34544
AUTOHEADER = @AUTOHEADER@
34547
CPPFLAGS = @CPPFLAGS@
34550
CXXDEPMODE = @CXXDEPMODE@
34551
CXXFLAGS = @CXXFLAGS@
34552
CYGPATH_W = @CYGPATH_W@
34553
@@ -104,6 +106,8 @@
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 @@
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
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
34589
AMDEP_FALSE = @AMDEP_FALSE@
34590
AMDEP_TRUE = @AMDEP_TRUE@
34594
AUTOCONF = @AUTOCONF@
34595
AUTOHEADER = @AUTOHEADER@
34598
CPPFLAGS = @CPPFLAGS@
34601
CXXDEPMODE = @CXXDEPMODE@
34602
CXXFLAGS = @CXXFLAGS@
34603
CYGPATH_W = @CYGPATH_W@
34604
@@ -104,6 +106,8 @@
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 @@
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
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
34640
AMDEP_FALSE = @AMDEP_FALSE@
34641
AMDEP_TRUE = @AMDEP_TRUE@
34645
AUTOCONF = @AUTOCONF@
34646
AUTOHEADER = @AUTOHEADER@
34649
CPPFLAGS = @CPPFLAGS@
34652
CXXDEPMODE = @CXXDEPMODE@
34653
CXXFLAGS = @CXXFLAGS@
34654
CYGPATH_W = @CYGPATH_W@
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 @@
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
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
34691
AMDEP_FALSE = @AMDEP_FALSE@
34692
AMDEP_TRUE = @AMDEP_TRUE@
34696
AUTOCONF = @AUTOCONF@
34697
AUTOHEADER = @AUTOHEADER@
34700
CPPFLAGS = @CPPFLAGS@
34703
CXXDEPMODE = @CXXDEPMODE@
34704
CXXFLAGS = @CXXFLAGS@
34705
CYGPATH_W = @CYGPATH_W@
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 @@
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
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
34742
AMDEP_FALSE = @AMDEP_FALSE@
34743
AMDEP_TRUE = @AMDEP_TRUE@
34747
AUTOCONF = @AUTOCONF@
34748
AUTOHEADER = @AUTOHEADER@
34751
CPPFLAGS = @CPPFLAGS@
34754
CXXDEPMODE = @CXXDEPMODE@
34755
CXXFLAGS = @CXXFLAGS@
34756
CYGPATH_W = @CYGPATH_W@
34757
@@ -104,6 +106,8 @@
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 @@
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
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@
34798
AUTOCONF = @AUTOCONF@
34799
AUTOHEADER = @AUTOHEADER@
34800
@@ -117,6 +118,7 @@
34802
CPPFLAGS = @CPPFLAGS@
34805
CXXDEPMODE = @CXXDEPMODE@
34806
CXXFLAGS = @CXXFLAGS@
34807
CYGPATH_W = @CYGPATH_W@
34808
@@ -132,6 +134,8 @@
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 @@
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
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
34844
AMDEP_FALSE = @AMDEP_FALSE@
34845
AMDEP_TRUE = @AMDEP_TRUE@
34849
AUTOCONF = @AUTOCONF@
34850
AUTOHEADER = @AUTOHEADER@
34851
@@ -111,6 +112,7 @@
34853
CPPFLAGS = @CPPFLAGS@
34856
CXXDEPMODE = @CXXDEPMODE@
34857
CXXFLAGS = @CXXFLAGS@
34858
CYGPATH_W = @CYGPATH_W@
34859
@@ -126,6 +128,8 @@
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 @@
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
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
34895
AMDEP_FALSE = @AMDEP_FALSE@
34896
AMDEP_TRUE = @AMDEP_TRUE@
34900
AUTOCONF = @AUTOCONF@
34901
AUTOHEADER = @AUTOHEADER@
34902
@@ -102,6 +103,7 @@
34904
CPPFLAGS = @CPPFLAGS@
34907
CXXDEPMODE = @CXXDEPMODE@
34908
CXXFLAGS = @CXXFLAGS@
34909
CYGPATH_W = @CYGPATH_W@
34910
@@ -117,6 +119,8 @@
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 @@
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
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
34946
AMDEP_FALSE = @AMDEP_FALSE@
34947
AMDEP_TRUE = @AMDEP_TRUE@
34951
AUTOCONF = @AUTOCONF@
34952
AUTOHEADER = @AUTOHEADER@
34955
CPPFLAGS = @CPPFLAGS@
34958
CXXDEPMODE = @CXXDEPMODE@
34959
CXXFLAGS = @CXXFLAGS@
34960
CYGPATH_W = @CYGPATH_W@
34961
@@ -113,6 +115,8 @@
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 @@
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
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
34997
AMDEP_FALSE = @AMDEP_FALSE@
34998
AMDEP_TRUE = @AMDEP_TRUE@
35002
AUTOCONF = @AUTOCONF@
35003
AUTOHEADER = @AUTOHEADER@
35006
CPPFLAGS = @CPPFLAGS@
35009
CXXDEPMODE = @CXXDEPMODE@
35010
CXXFLAGS = @CXXFLAGS@
35011
CYGPATH_W = @CYGPATH_W@
35012
@@ -113,6 +115,8 @@
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 @@
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
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@
35053
AUTOCONF = @AUTOCONF@
35054
AUTOHEADER = @AUTOHEADER@
35055
@@ -148,6 +149,7 @@
35057
CPPFLAGS = @CPPFLAGS@
35060
CXXDEPMODE = @CXXDEPMODE@
35061
CXXFLAGS = @CXXFLAGS@
35062
CYGPATH_W = @CYGPATH_W@
35063
@@ -163,6 +165,8 @@
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 @@
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
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@
35104
AUTOCONF = @AUTOCONF@
35105
AUTOHEADER = @AUTOHEADER@
35106
@@ -116,6 +117,7 @@
35108
CPPFLAGS = @CPPFLAGS@
35111
CXXDEPMODE = @CXXDEPMODE@
35112
CXXFLAGS = @CXXFLAGS@
35113
CYGPATH_W = @CYGPATH_W@
35114
@@ -131,6 +133,8 @@
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 @@
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
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@
35155
AUTOCONF = @AUTOCONF@
35156
AUTOHEADER = @AUTOHEADER@
35157
@@ -116,6 +117,7 @@
35159
CPPFLAGS = @CPPFLAGS@
35162
CXXDEPMODE = @CXXDEPMODE@
35163
CXXFLAGS = @CXXFLAGS@
35164
CYGPATH_W = @CYGPATH_W@
35165
@@ -131,6 +133,8 @@
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 @@
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
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
35201
AMDEP_FALSE = @AMDEP_FALSE@
35202
AMDEP_TRUE = @AMDEP_TRUE@
35206
AUTOCONF = @AUTOCONF@
35207
AUTOHEADER = @AUTOHEADER@
35208
@@ -102,6 +103,7 @@
35210
CPPFLAGS = @CPPFLAGS@
35213
CXXDEPMODE = @CXXDEPMODE@
35214
CXXFLAGS = @CXXFLAGS@
35215
CYGPATH_W = @CYGPATH_W@
35216
@@ -117,6 +119,8 @@
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 @@
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
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@
35257
AUTOCONF = @AUTOCONF@
35258
AUTOHEADER = @AUTOHEADER@
35259
@@ -127,6 +128,7 @@
35261
CPPFLAGS = @CPPFLAGS@
35264
CXXDEPMODE = @CXXDEPMODE@
35265
CXXFLAGS = @CXXFLAGS@
35266
CYGPATH_W = @CYGPATH_W@
35267
@@ -142,6 +144,8 @@
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 @@
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
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
35303
AMDEP_FALSE = @AMDEP_FALSE@
35304
AMDEP_TRUE = @AMDEP_TRUE@
35308
AUTOCONF = @AUTOCONF@
35309
AUTOHEADER = @AUTOHEADER@
35310
@@ -102,6 +103,7 @@
35312
CPPFLAGS = @CPPFLAGS@
35315
CXXDEPMODE = @CXXDEPMODE@
35316
CXXFLAGS = @CXXFLAGS@
35317
CYGPATH_W = @CYGPATH_W@
35318
@@ -117,6 +119,8 @@
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 @@
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
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
35354
AMDEP_FALSE = @AMDEP_FALSE@
35355
AMDEP_TRUE = @AMDEP_TRUE@
35359
AUTOCONF = @AUTOCONF@
35360
AUTOHEADER = @AUTOHEADER@
35363
CPPFLAGS = @CPPFLAGS@
35366
CXXDEPMODE = @CXXDEPMODE@
35367
CXXFLAGS = @CXXFLAGS@
35368
CYGPATH_W = @CYGPATH_W@
35369
@@ -113,6 +115,8 @@
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 @@
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
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
35405
AMDEP_FALSE = @AMDEP_FALSE@
35406
AMDEP_TRUE = @AMDEP_TRUE@
35410
AUTOCONF = @AUTOCONF@
35411
AUTOHEADER = @AUTOHEADER@
35414
CPPFLAGS = @CPPFLAGS@
35417
CXXDEPMODE = @CXXDEPMODE@
35418
CXXFLAGS = @CXXFLAGS@
35419
CYGPATH_W = @CYGPATH_W@
35420
@@ -113,6 +115,8 @@
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 @@
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
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@
35461
AUTOCONF = @AUTOCONF@
35462
AUTOHEADER = @AUTOHEADER@
35463
@@ -138,6 +139,7 @@
35465
CPPFLAGS = @CPPFLAGS@
35468
CXXDEPMODE = @CXXDEPMODE@
35469
CXXFLAGS = @CXXFLAGS@
35470
CYGPATH_W = @CYGPATH_W@
35471
@@ -153,6 +155,8 @@
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 @@
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
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@
35512
AUTOCONF = @AUTOCONF@
35513
AUTOHEADER = @AUTOHEADER@
35514
@@ -126,6 +127,7 @@
35516
CPPFLAGS = @CPPFLAGS@
35519
CXXDEPMODE = @CXXDEPMODE@
35520
CXXFLAGS = @CXXFLAGS@
35521
CYGPATH_W = @CYGPATH_W@
35522
@@ -141,6 +143,8 @@
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 @@
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
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
35558
AMDEP_FALSE = @AMDEP_FALSE@
35559
AMDEP_TRUE = @AMDEP_TRUE@
35563
AUTOCONF = @AUTOCONF@
35564
AUTOHEADER = @AUTOHEADER@
35567
CPPFLAGS = @CPPFLAGS@
35570
CXXDEPMODE = @CXXDEPMODE@
35571
CXXFLAGS = @CXXFLAGS@
35572
CYGPATH_W = @CYGPATH_W@
35573
@@ -107,6 +109,8 @@
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 @@
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
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@
35614
AUTOCONF = @AUTOCONF@
35615
AUTOHEADER = @AUTOHEADER@
35616
@@ -120,6 +121,7 @@
35618
CPPFLAGS = @CPPFLAGS@
35621
CXXDEPMODE = @CXXDEPMODE@
35622
CXXFLAGS = @CXXFLAGS@
35623
CYGPATH_W = @CYGPATH_W@
35624
@@ -135,6 +137,8 @@
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 @@
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
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
35660
AMDEP_FALSE = @AMDEP_FALSE@
35661
AMDEP_TRUE = @AMDEP_TRUE@
35665
AUTOCONF = @AUTOCONF@
35666
AUTOHEADER = @AUTOHEADER@
35669
CPPFLAGS = @CPPFLAGS@
35672
CXXDEPMODE = @CXXDEPMODE@
35673
CXXFLAGS = @CXXFLAGS@
35674
CYGPATH_W = @CYGPATH_W@
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 @@
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
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
35711
AMDEP_FALSE = @AMDEP_FALSE@
35712
AMDEP_TRUE = @AMDEP_TRUE@
35716
AUTOCONF = @AUTOCONF@
35717
AUTOHEADER = @AUTOHEADER@
35720
CPPFLAGS = @CPPFLAGS@
35723
CXXDEPMODE = @CXXDEPMODE@
35724
CXXFLAGS = @CXXFLAGS@
35725
CYGPATH_W = @CYGPATH_W@
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 @@
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
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
35762
AMDEP_FALSE = @AMDEP_FALSE@
35763
AMDEP_TRUE = @AMDEP_TRUE@
35767
AUTOCONF = @AUTOCONF@
35768
AUTOHEADER = @AUTOHEADER@
35771
CPPFLAGS = @CPPFLAGS@
35774
CXXDEPMODE = @CXXDEPMODE@
35775
CXXFLAGS = @CXXFLAGS@
35776
CYGPATH_W = @CYGPATH_W@
35777
@@ -104,6 +106,8 @@
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 @@
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
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
35813
AMDEP_FALSE = @AMDEP_FALSE@
35814
AMDEP_TRUE = @AMDEP_TRUE@
35818
AUTOCONF = @AUTOCONF@
35819
AUTOHEADER = @AUTOHEADER@
35820
@@ -105,6 +106,7 @@
35822
CPPFLAGS = @CPPFLAGS@
35825
CXXDEPMODE = @CXXDEPMODE@
35826
CXXFLAGS = @CXXFLAGS@
35827
CYGPATH_W = @CYGPATH_W@
35828
@@ -120,6 +122,8 @@
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
35852
AMDEP_FALSE = @AMDEP_FALSE@
35853
AMDEP_TRUE = @AMDEP_TRUE@
35857
AUTOCONF = @AUTOCONF@
35858
AUTOHEADER = @AUTOHEADER@
35861
CPPFLAGS = @CPPFLAGS@
35864
CXXDEPMODE = @CXXDEPMODE@
35865
CXXFLAGS = @CXXFLAGS@
35866
CYGPATH_W = @CYGPATH_W@
35867
@@ -104,6 +106,8 @@
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 @@
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
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
35903
AMDEP_FALSE = @AMDEP_FALSE@
35904
AMDEP_TRUE = @AMDEP_TRUE@
35908
AUTOCONF = @AUTOCONF@
35909
AUTOHEADER = @AUTOHEADER@
35912
CPPFLAGS = @CPPFLAGS@
35915
CXXDEPMODE = @CXXDEPMODE@
35916
CXXFLAGS = @CXXFLAGS@
35917
CYGPATH_W = @CYGPATH_W@
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 @@
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
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
35954
AMDEP_FALSE = @AMDEP_FALSE@
35955
AMDEP_TRUE = @AMDEP_TRUE@
35959
AUTOCONF = @AUTOCONF@
35960
AUTOHEADER = @AUTOHEADER@
35963
CPPFLAGS = @CPPFLAGS@
35966
CXXDEPMODE = @CXXDEPMODE@
35967
CXXFLAGS = @CXXFLAGS@
35968
CYGPATH_W = @CYGPATH_W@
35969
@@ -104,6 +106,8 @@
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 @@
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
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@
36010
AUTOCONF = @AUTOCONF@
36011
AUTOHEADER = @AUTOHEADER@
36012
@@ -121,6 +122,7 @@
36014
CPPFLAGS = @CPPFLAGS@
36017
CXXDEPMODE = @CXXDEPMODE@
36018
CXXFLAGS = @CXXFLAGS@
36019
CYGPATH_W = @CYGPATH_W@
36020
@@ -136,6 +138,8 @@
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 @@
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
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
36056
CONFIG_HEADER = $(top_builddir)/config.h
36057
CONFIG_CLEAN_FILES =
36058
LIBRARIES = $(noinst_LIBRARIES)
36061
libgetopt_a_AR = $(AR) $(ARFLAGS)
36062
libgetopt_a_LIBADD =
36064
AMDEP_FALSE = @AMDEP_FALSE@
36065
AMDEP_TRUE = @AMDEP_TRUE@
36069
AUTOCONF = @AUTOCONF@
36070
AUTOHEADER = @AUTOHEADER@
36073
CPPFLAGS = @CPPFLAGS@
36076
CXXDEPMODE = @CXXDEPMODE@
36077
CXXFLAGS = @CXXFLAGS@
36078
CYGPATH_W = @CYGPATH_W@
36079
@@ -102,6 +103,8 @@
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
36103
AMDEP_FALSE = @AMDEP_FALSE@
36104
AMDEP_TRUE = @AMDEP_TRUE@
36108
AUTOCONF = @AUTOCONF@
36109
AUTOHEADER = @AUTOHEADER@
36112
CPPFLAGS = @CPPFLAGS@
36115
CXXDEPMODE = @CXXDEPMODE@
36116
CXXFLAGS = @CXXFLAGS@
36117
CYGPATH_W = @CYGPATH_W@
36118
@@ -102,6 +104,8 @@
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
36142
AMDEP_FALSE = @AMDEP_FALSE@
36143
AMDEP_TRUE = @AMDEP_TRUE@
36147
AUTOCONF = @AUTOCONF@
36148
AUTOHEADER = @AUTOHEADER@
36151
CPPFLAGS = @CPPFLAGS@
36154
CXXDEPMODE = @CXXDEPMODE@
36155
CXXFLAGS = @CXXFLAGS@
36156
CYGPATH_W = @CYGPATH_W@
36157
@@ -104,6 +106,8 @@
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 @@
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
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
36193
AMDEP_FALSE = @AMDEP_FALSE@
36194
AMDEP_TRUE = @AMDEP_TRUE@
36198
AUTOCONF = @AUTOCONF@
36199
AUTOHEADER = @AUTOHEADER@
36202
CPPFLAGS = @CPPFLAGS@
36205
CXXDEPMODE = @CXXDEPMODE@
36206
CXXFLAGS = @CXXFLAGS@
36207
CYGPATH_W = @CYGPATH_W@
36208
@@ -100,6 +102,8 @@
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
36232
AMDEP_FALSE = @AMDEP_FALSE@
36233
AMDEP_TRUE = @AMDEP_TRUE@
36237
AUTOCONF = @AUTOCONF@
36238
AUTOHEADER = @AUTOHEADER@
36241
CPPFLAGS = @CPPFLAGS@
36244
CXXDEPMODE = @CXXDEPMODE@
36245
CXXFLAGS = @CXXFLAGS@
36246
CYGPATH_W = @CYGPATH_W@
36247
@@ -104,6 +106,8 @@
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 @@
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
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
36283
AMDEP_FALSE = @AMDEP_FALSE@
36284
AMDEP_TRUE = @AMDEP_TRUE@
36288
AUTOCONF = @AUTOCONF@
36289
AUTOHEADER = @AUTOHEADER@
36292
CPPFLAGS = @CPPFLAGS@
36295
CXXDEPMODE = @CXXDEPMODE@
36296
CXXFLAGS = @CXXFLAGS@
36297
CYGPATH_W = @CYGPATH_W@
36298
@@ -100,6 +102,8 @@
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 @@
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
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
36334
AMDEP_FALSE = @AMDEP_FALSE@
36335
AMDEP_TRUE = @AMDEP_TRUE@
36339
AUTOCONF = @AUTOCONF@
36340
AUTOHEADER = @AUTOHEADER@
36343
CPPFLAGS = @CPPFLAGS@
36346
CXXDEPMODE = @CXXDEPMODE@
36347
CXXFLAGS = @CXXFLAGS@
36348
CYGPATH_W = @CYGPATH_W@
36349
@@ -107,6 +109,8 @@
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
36373
AMDEP_FALSE = @AMDEP_FALSE@
36374
AMDEP_TRUE = @AMDEP_TRUE@
36378
AUTOCONF = @AUTOCONF@
36379
AUTOHEADER = @AUTOHEADER@
36382
CPPFLAGS = @CPPFLAGS@
36385
CXXDEPMODE = @CXXDEPMODE@
36386
CXXFLAGS = @CXXFLAGS@
36387
CYGPATH_W = @CYGPATH_W@
36388
@@ -100,6 +102,8 @@
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
36412
AMDEP_FALSE = @AMDEP_FALSE@
36413
AMDEP_TRUE = @AMDEP_TRUE@
36417
AUTOCONF = @AUTOCONF@
36418
AUTOHEADER = @AUTOHEADER@
36419
@@ -105,6 +106,7 @@
36421
CPPFLAGS = @CPPFLAGS@
36424
CXXDEPMODE = @CXXDEPMODE@
36425
CXXFLAGS = @CXXFLAGS@
36426
CYGPATH_W = @CYGPATH_W@
36427
@@ -120,6 +122,8 @@
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 @@
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
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
36463
AMDEP_FALSE = @AMDEP_FALSE@
36464
AMDEP_TRUE = @AMDEP_TRUE@
36468
AUTOCONF = @AUTOCONF@
36469
AUTOHEADER = @AUTOHEADER@
36472
CPPFLAGS = @CPPFLAGS@
36475
CXXDEPMODE = @CXXDEPMODE@
36476
CXXFLAGS = @CXXFLAGS@
36477
CYGPATH_W = @CYGPATH_W@
36478
@@ -104,6 +106,8 @@
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 @@
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
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@
36519
AUTOCONF = @AUTOCONF@
36520
AUTOHEADER = @AUTOHEADER@
36521
@@ -114,6 +115,7 @@
36523
CPPFLAGS = @CPPFLAGS@
36526
CXXDEPMODE = @CXXDEPMODE@
36527
CXXFLAGS = @CXXFLAGS@
36528
CYGPATH_W = @CYGPATH_W@
36529
@@ -129,6 +131,8 @@
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 @@
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
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@
36570
AUTOCONF = @AUTOCONF@
36571
AUTOHEADER = @AUTOHEADER@
36572
@@ -122,6 +123,7 @@
36574
CPPFLAGS = @CPPFLAGS@
36577
CXXDEPMODE = @CXXDEPMODE@
36578
CXXFLAGS = @CXXFLAGS@
36579
CYGPATH_W = @CYGPATH_W@
36580
@@ -137,6 +139,8 @@
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 @@
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
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
36616
AMDEP_FALSE = @AMDEP_FALSE@
36617
AMDEP_TRUE = @AMDEP_TRUE@
36621
AUTOCONF = @AUTOCONF@
36622
AUTOHEADER = @AUTOHEADER@
36623
@@ -109,6 +110,7 @@
36625
CPPFLAGS = @CPPFLAGS@
36628
CXXDEPMODE = @CXXDEPMODE@
36629
CXXFLAGS = @CXXFLAGS@
36630
CYGPATH_W = @CYGPATH_W@
36631
@@ -124,6 +126,8 @@
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 @@
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
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@
36672
AUTOCONF = @AUTOCONF@
36673
AUTOHEADER = @AUTOHEADER@
36674
@@ -118,6 +119,7 @@
36676
CPPFLAGS = @CPPFLAGS@
36679
CXXDEPMODE = @CXXDEPMODE@
36680
CXXFLAGS = @CXXFLAGS@
36681
CYGPATH_W = @CYGPATH_W@
36682
@@ -133,6 +135,8 @@
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 @@
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
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
36718
AMDEP_FALSE = @AMDEP_FALSE@
36719
AMDEP_TRUE = @AMDEP_TRUE@
36723
AUTOCONF = @AUTOCONF@
36724
AUTOHEADER = @AUTOHEADER@
36725
@@ -104,6 +105,7 @@
36727
CPPFLAGS = @CPPFLAGS@
36730
CXXDEPMODE = @CXXDEPMODE@
36731
CXXFLAGS = @CXXFLAGS@
36732
CYGPATH_W = @CYGPATH_W@
36733
@@ -119,6 +121,8 @@
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 @@
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
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
36769
AMDEP_FALSE = @AMDEP_FALSE@
36770
AMDEP_TRUE = @AMDEP_TRUE@
36774
AUTOCONF = @AUTOCONF@
36775
AUTOHEADER = @AUTOHEADER@
36776
@@ -102,6 +103,7 @@
36778
CPPFLAGS = @CPPFLAGS@
36781
CXXDEPMODE = @CXXDEPMODE@
36782
CXXFLAGS = @CXXFLAGS@
36783
CYGPATH_W = @CYGPATH_W@
36784
@@ -117,6 +119,8 @@
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 @@
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
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
36820
AMDEP_FALSE = @AMDEP_FALSE@
36821
AMDEP_TRUE = @AMDEP_TRUE@
36825
AUTOCONF = @AUTOCONF@
36826
AUTOHEADER = @AUTOHEADER@
36829
CPPFLAGS = @CPPFLAGS@
36832
CXXDEPMODE = @CXXDEPMODE@
36833
CXXFLAGS = @CXXFLAGS@
36834
CYGPATH_W = @CYGPATH_W@
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 @@
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
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
36871
AMDEP_FALSE = @AMDEP_FALSE@
36872
AMDEP_TRUE = @AMDEP_TRUE@
36876
AUTOCONF = @AUTOCONF@
36877
AUTOHEADER = @AUTOHEADER@
36880
CPPFLAGS = @CPPFLAGS@
36883
CXXDEPMODE = @CXXDEPMODE@
36884
CXXFLAGS = @CXXFLAGS@
36885
CYGPATH_W = @CYGPATH_W@
36886
@@ -104,6 +106,8 @@
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 @@
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