1
libtoolize --force --copy
7
Index: libgail-gnome-1.20.1/Makefile.in
8
===================================================================
9
--- libgail-gnome-1.20.1.orig/Makefile.in 2008-11-21 19:59:51.420842454 +0100
10
+++ libgail-gnome-1.20.1/Makefile.in 2008-11-21 20:00:39.124340244 +0100
11
@@ -212,7 +212,6 @@ sharedstatedir = @sharedstatedir@
13
sysconfdir = @sysconfdir@
14
target_alias = @target_alias@
15
-top_build_prefix = @top_build_prefix@
16
top_builddir = @top_builddir@
17
top_srcdir = @top_srcdir@
18
SUBDIRS = gail-gnome test
19
Index: libgail-gnome-1.20.1/aclocal.m4
20
===================================================================
21
--- libgail-gnome-1.20.1.orig/aclocal.m4 2008-11-21 19:59:50.260846352 +0100
22
+++ libgail-gnome-1.20.1/aclocal.m4 2008-11-21 20:00:37.128346480 +0100
23
@@ -13,5791 +13,4924 @@
25
m4_ifndef([AC_AUTOCONF_VERSION],
26
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
27
-m4_if(AC_AUTOCONF_VERSION, [2.62],,
28
-[m4_warning([this file was generated for autoconf 2.62.
29
+m4_if(AC_AUTOCONF_VERSION, [2.61],,
30
+[m4_warning([this file was generated for autoconf 2.61.
31
You have another version of autoconf. It may work, but is not guaranteed to.
32
If you have problems, you may need to regenerate the build system entirely.
33
To do so, use the procedure documented by the package, typically `autoreconf'.])])
35
-# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
37
-# This file is free software; the Free Software Foundation
38
-# gives unlimited permission to copy and/or distribute it,
39
-# with or without modifications, as long as this notice is preserved.
41
-# AM_AUTOMAKE_VERSION(VERSION)
42
-# ----------------------------
43
-# Automake X.Y traces this macro to ensure aclocal.m4 has been
44
-# generated from the m4 files accompanying Automake X.Y.
45
-# (This private macro should not be called outside this file.)
46
-AC_DEFUN([AM_AUTOMAKE_VERSION],
47
-[am__api_version='1.10'
48
-dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
49
-dnl require some minimum version. Point them to the right macro.
50
-m4_if([$1], [1.10.1], [],
51
- [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
56
-# _AM_AUTOCONF_VERSION(VERSION)
57
-# -----------------------------
58
-# aclocal traces this macro to find the Autoconf version.
59
-# This is a private macro too. Using m4_define simplifies
60
-# the logic in aclocal, which can simply ignore this definition.
61
-m4_define([_AM_AUTOCONF_VERSION], [])
62
+dnl GNOME_COMMON_INIT
64
-# AM_SET_CURRENT_AUTOMAKE_VERSION
65
-# -------------------------------
66
-# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
67
-# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
68
-AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
69
-[AM_AUTOMAKE_VERSION([1.10.1])dnl
70
-m4_ifndef([AC_AUTOCONF_VERSION],
71
- [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
72
-_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
73
+AC_DEFUN([GNOME_COMMON_INIT],
75
+ dnl this macro should come after AC_CONFIG_MACRO_DIR
76
+ AC_BEFORE([AC_CONFIG_MACRO_DIR], [$0])
78
-# AM_AUX_DIR_EXPAND -*- Autoconf -*-
79
+ dnl ensure that when the Automake generated makefile calls aclocal,
80
+ dnl it honours the $ACLOCAL_FLAGS environment variable
81
+ ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
82
+ if test -n "$ac_macro_dir"; then
83
+ ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
86
-# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
88
-# This file is free software; the Free Software Foundation
89
-# gives unlimited permission to copy and/or distribute it,
90
-# with or without modifications, as long as this notice is preserved.
91
+ AC_SUBST([ACLOCAL_AMFLAGS])
94
-# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
95
-# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
96
-# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
98
-# Of course, Automake must honor this variable whenever it calls a
99
-# tool from the auxiliary directory. The problem is that $srcdir (and
100
-# therefore $ac_aux_dir as well) can be either absolute or relative,
101
-# depending on how configure is run. This is pretty annoying, since
102
-# it makes $ac_aux_dir quite unusable in subdirectories: in the top
103
-# source directory, any form will work fine, but in subdirectories a
104
-# relative path needs to be adjusted first.
106
-# $ac_aux_dir/missing
107
-# fails when called from a subdirectory if $ac_aux_dir is relative
108
-# $top_srcdir/$ac_aux_dir/missing
109
-# fails if $ac_aux_dir is absolute,
110
-# fails when called from a subdirectory in a VPATH build with
111
-# a relative $ac_aux_dir
113
-# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
114
-# are both prefixed by $srcdir. In an in-source build this is usually
115
-# harmless because $srcdir is `.', but things will broke when you
116
-# start a VPATH build or use an absolute $srcdir.
118
-# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
119
-# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
120
-# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
121
-# and then we would define $MISSING as
122
-# MISSING="\${SHELL} $am_aux_dir/missing"
123
-# This will work as long as MISSING is not called from configure, because
124
-# unfortunately $(top_srcdir) has no meaning in configure.
125
-# However there are other variables, like CC, which are often used in
126
-# configure, and could therefore not use this "fixed" $ac_aux_dir.
128
-# Another solution, used here, is to always expand $ac_aux_dir to an
129
-# absolute PATH. The drawback is that using absolute paths prevent a
130
-# configured tree to be moved without reconfiguration.
131
+AC_DEFUN([GNOME_DEBUG_CHECK],
133
+ AC_ARG_ENABLE([debug],
134
+ AC_HELP_STRING([--enable-debug],
135
+ [turn on debugging]),,
138
-AC_DEFUN([AM_AUX_DIR_EXPAND],
139
-[dnl Rely on autoconf to set up CDPATH properly.
140
-AC_PREREQ([2.50])dnl
141
-# expand $ac_aux_dir to an absolute path
142
-am_aux_dir=`cd $ac_aux_dir && pwd`
143
+ if test x$enable_debug = xyes ; then
144
+ AC_DEFINE(GNOME_ENABLE_DEBUG, 1,
145
+ [Enable additional debugging at the expense of performance and size])
149
-# AM_CONDITIONAL -*- Autoconf -*-
150
+dnl GNOME_MAINTAINER_MODE_DEFINES ()
151
+dnl define DISABLE_DEPRECATED
153
+AC_DEFUN([GNOME_MAINTAINER_MODE_DEFINES],
155
+ AC_REQUIRE([AM_MAINTAINER_MODE])
157
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
158
-# Free Software Foundation, Inc.
160
-# This file is free software; the Free Software Foundation
161
-# gives unlimited permission to copy and/or distribute it,
162
-# with or without modifications, as long as this notice is preserved.
163
+ if test $USE_MAINTAINER_MODE = yes; then
164
+ DISABLE_DEPRECATED="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED"
166
+ DISABLE_DEPRECATED=""
168
+ AC_SUBST(DISABLE_DEPRECATED)
172
+dnl GNOME_COMPILE_WARNINGS
173
+dnl Turn on many useful compiler warnings
174
+dnl For now, only works on GCC
175
+AC_DEFUN([GNOME_COMPILE_WARNINGS],[
176
+ dnl ******************************
177
+ dnl More compiler warnings
178
+ dnl ******************************
180
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
181
-# -------------------------------------
182
-# Define a conditional.
183
-AC_DEFUN([AM_CONDITIONAL],
185
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
186
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
187
-AC_SUBST([$1_TRUE])dnl
188
-AC_SUBST([$1_FALSE])dnl
189
-_AM_SUBST_NOTMAKE([$1_TRUE])dnl
190
-_AM_SUBST_NOTMAKE([$1_FALSE])dnl
198
-AC_CONFIG_COMMANDS_PRE(
199
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
200
- AC_MSG_ERROR([[conditional "$1" was never defined.
201
-Usually this means the macro was only invoked conditionally.]])
203
+ AC_ARG_ENABLE(compile-warnings,
204
+ AC_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@],
205
+ [Turn on compiler warnings]),,
206
+ [enable_compile_warnings="m4_default([$1],[yes])"])
208
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
209
-# Free Software Foundation, Inc.
211
-# This file is free software; the Free Software Foundation
212
-# gives unlimited permission to copy and/or distribute it,
213
-# with or without modifications, as long as this notice is preserved.
215
+ if test "x$GCC" != xyes; then
216
+ enable_compile_warnings=no
221
+ realsave_CFLAGS="$CFLAGS"
223
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
224
-# written in clear, in which case automake, when reading aclocal.m4,
225
-# will think it sees a *use*, and therefore will trigger all it's
226
-# C support machinery. Also note that it means that autoscan, seeing
227
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
228
+ case "$enable_compile_warnings" in
233
+ warning_flags="-Wall"
236
+ warning_flags="-Wall -Wmissing-prototypes"
239
+ warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
240
+ CFLAGS="$warning_flags $CFLAGS"
241
+ for option in -Wno-sign-compare; do
242
+ SAVE_CFLAGS="$CFLAGS"
243
+ CFLAGS="$CFLAGS $option"
244
+ AC_MSG_CHECKING([whether gcc understands $option])
245
+ AC_TRY_COMPILE([], [],
248
+ CFLAGS="$SAVE_CFLAGS"
249
+ AC_MSG_RESULT($has_option)
250
+ if test $has_option = yes; then
251
+ warning_flags="$warning_flags $option"
257
+ if test "$enable_compile_warnings" = "error" ; then
258
+ warning_flags="$warning_flags -Werror"
262
+ AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings)
265
+ CFLAGS="$realsave_CFLAGS"
266
+ AC_MSG_CHECKING(what warning flags to pass to the C compiler)
267
+ AC_MSG_RESULT($warning_flags)
269
+ AC_ARG_ENABLE(iso-c,
270
+ AC_HELP_STRING([--enable-iso-c],
271
+ [Try to warn if code is not ISO C ]),,
274
-# _AM_DEPENDENCIES(NAME)
275
-# ----------------------
276
-# See how the compiler implements dependency checking.
277
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
278
-# We try a few techniques and use that to set a single cache variable.
280
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
281
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
282
-# dependency, and given that the user is not expected to run this macro,
283
-# just rely on AC_PROG_CC.
284
-AC_DEFUN([_AM_DEPENDENCIES],
285
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
286
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
287
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
288
-AC_REQUIRE([AM_DEP_TRACK])dnl
289
+ AC_MSG_CHECKING(what language compliance flags to pass to the C compiler)
291
+ if test "x$enable_iso_c" != "xno"; then
292
+ if test "x$GCC" = "xyes"; then
293
+ case " $CFLAGS " in
294
+ *[\ \ ]-ansi[\ \ ]*) ;;
295
+ *) complCFLAGS="$complCFLAGS -ansi" ;;
297
+ case " $CFLAGS " in
298
+ *[\ \ ]-pedantic[\ \ ]*) ;;
299
+ *) complCFLAGS="$complCFLAGS -pedantic" ;;
303
+ AC_MSG_RESULT($complCFLAGS)
305
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
306
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
307
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
308
- [$1], UPC, [depcc="$UPC" am_compiler_list=],
309
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
310
- [depcc="$$1" am_compiler_list=])
311
+ WARN_CFLAGS="$warning_flags $complCFLAGS"
312
+ AC_SUBST(WARN_CFLAGS)
315
-AC_CACHE_CHECK([dependency style of $depcc],
316
- [am_cv_$1_dependencies_compiler_type],
317
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
318
- # We make a subdir and do the tests there. Otherwise we can end up
319
- # making bogus files that we don't know about and never remove. For
320
- # instance it was reported that on HP-UX the gcc test will end up
321
- # making a dummy file named `D' -- because `-MD' means `put the output
324
- # Copy depcomp to subdir because otherwise we won't find it if we're
325
- # using a relative directory.
326
- cp "$am_depcomp" conftest.dir
328
- # We will build objects and dependencies in a subdirectory because
329
- # it helps to detect inapplicable dependency modes. For instance
330
- # both Tru64's cc and ICC support -MD to output dependencies as a
331
- # side effect of compilation, but ICC will put the dependencies in
332
- # the current directory while Tru64 will put them in the object
335
+dnl For C++, do basically the same thing.
337
- am_cv_$1_dependencies_compiler_type=none
338
- if test "$am_compiler_list" = ""; then
339
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
340
+AC_DEFUN([GNOME_CXX_WARNINGS],[
341
+ AC_ARG_ENABLE(cxx-warnings,
342
+ AC_HELP_STRING([--enable-cxx-warnings=@<:@no/minimum/yes@:>@]
343
+ [Turn on compiler warnings.]),,
344
+ [enable_cxx_warnings="m4_default([$1],[minimum])"])
346
+ AC_MSG_CHECKING(what warning flags to pass to the C++ compiler)
348
+ if test "x$GXX" != xyes; then
349
+ enable_cxx_warnings=no
351
- for depmode in $am_compiler_list; do
352
- # Setup a source with many dependencies, because some compilers
353
- # like to wrap large dependency lists on column 80 (with \), and
354
- # we should not choose a depcomp mode which is confused by this.
356
- # We need to recreate these files for each test, as the compiler may
357
- # overwrite some of them when testing with obscure command lines.
358
- # This happens at least with the AIX C compiler.
360
- for i in 1 2 3 4 5 6; do
361
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
362
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
363
- # Solaris 8's {/usr,}/bin/sh.
364
- touch sub/conftst$i.h
366
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
367
+ if test "x$enable_cxx_warnings" != "xno"; then
368
+ if test "x$GXX" = "xyes"; then
369
+ case " $CXXFLAGS " in
370
+ *[\ \ ]-Wall[\ \ ]*) ;;
371
+ *) warnCXXFLAGS="-Wall -Wno-unused" ;;
376
- # after this tag, mechanisms are not by side-effect, so they'll
377
- # only be used when explicitly requested
378
- if test "x$enable_dependency_tracking" = xyes; then
386
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
387
- # mode. It turns out that the SunPro C++ compiler does not properly
388
- # handle `-M -o', and we need to detect this.
389
- if depmode=$depmode \
390
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
391
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
392
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
393
- >/dev/null 2>conftest.err &&
394
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
395
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
396
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
397
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
398
- # icc doesn't choke on unknown options, it will just issue warnings
399
- # or remarks (even with -Werror). So we grep stderr for any message
400
- # that says an option was ignored or not supported.
401
- # When given -MP, icc 7.0 and 7.1 complain thusly:
402
- # icc: Command line warning: ignoring option '-M'; no argument required
403
- # The diagnosis changed in icc 8.0:
404
- # icc: Command line remark: option '-MP' not supported
405
- if (grep 'ignoring option' conftest.err ||
406
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
407
- am_cv_$1_dependencies_compiler_type=$depmode
409
+ ## -W is not all that useful. And it cannot be controlled
410
+ ## with individual -Wno-xxx flags, unlike -Wall
411
+ if test "x$enable_cxx_warnings" = "xyes"; then
412
+ warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual"
418
- rm -rf conftest.dir
420
- am_cv_$1_dependencies_compiler_type=none
423
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
424
-AM_CONDITIONAL([am__fastdep$1], [
425
- test "x$enable_dependency_tracking" != xno \
426
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
429
+ AC_MSG_RESULT($warnCXXFLAGS)
431
+ AC_ARG_ENABLE(iso-cxx,
432
+ AC_HELP_STRING([--enable-iso-cxx],
433
+ [Try to warn if code is not ISO C++ ]),,
434
+ [enable_iso_cxx=no])
438
-# Choose a directory name for dependency files.
439
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
440
-AC_DEFUN([AM_SET_DEPDIR],
441
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
442
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
444
+ AC_MSG_CHECKING(what language compliance flags to pass to the C++ compiler)
446
+ if test "x$enable_iso_cxx" != "xno"; then
447
+ if test "x$GXX" = "xyes"; then
448
+ case " $CXXFLAGS " in
449
+ *[\ \ ]-ansi[\ \ ]*) ;;
450
+ *) complCXXFLAGS="$complCXXFLAGS -ansi" ;;
453
+ case " $CXXFLAGS " in
454
+ *[\ \ ]-pedantic[\ \ ]*) ;;
455
+ *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;;
459
+ AC_MSG_RESULT($complCXXFLAGS)
463
-AC_DEFUN([AM_DEP_TRACK],
464
-[AC_ARG_ENABLE(dependency-tracking,
465
-[ --disable-dependency-tracking speeds up one-time build
466
- --enable-dependency-tracking do not reject slow dependency extractors])
467
-if test "x$enable_dependency_tracking" != xno; then
468
- am_depcomp="$ac_aux_dir/depcomp"
471
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
472
-AC_SUBST([AMDEPBACKSLASH])dnl
473
-_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
474
+ WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS"
475
+ AC_SUBST(WARN_CXXFLAGS)
478
-# Generate code to set up dependency tracking. -*- Autoconf -*-
480
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
481
-# Free Software Foundation, Inc.
483
-# This file is free software; the Free Software Foundation
484
-# gives unlimited permission to copy and/or distribute it,
485
-# with or without modifications, as long as this notice is preserved.
489
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
490
-# ------------------------------
491
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
492
-[for mf in $CONFIG_FILES; do
493
- # Strip MF so we end up with the name of the file.
494
- mf=`echo "$mf" | sed -e 's/:.*$//'`
495
- # Check whether this is an Automake generated Makefile or not.
496
- # We used to match only the files named `Makefile.in', but
497
- # some people rename them; so instead we look at the file content.
498
- # Grep'ing the first line is not enough: some people post-process
499
- # each Makefile.in and add a new line on top of each file to say so.
500
- # Grep'ing the whole file is not good either: AIX grep has a line
501
- # limit of 2048, but all sed's we know have understand at least 4000.
502
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
503
- dirpart=`AS_DIRNAME("$mf")`
507
- # Extract the definition of DEPDIR, am__include, and am__quote
508
- # from the Makefile without running `make'.
509
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
510
- test -z "$DEPDIR" && continue
511
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
512
- test -z "am__include" && continue
513
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
514
- # When using ansi2knr, U may be empty or an underscore; expand it
515
- U=`sed -n 's/^U = //p' < "$mf"`
516
- # Find all dependency output files, they are included files with
517
- # $(DEPDIR) in their names. We invoke sed twice because it is the
518
- # simplest approach to changing $(DEPDIR) to its actual value in the
520
- for file in `sed -n "
521
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
522
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
523
- # Make sure the directory exists.
524
- test -f "$dirpart/$file" && continue
525
- fdir=`AS_DIRNAME(["$file"])`
526
- AS_MKDIR_P([$dirpart/$fdir])
527
- # echo "creating $dirpart/$file"
528
- echo '# dummy' > "$dirpart/$file"
531
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
532
+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
534
+# serial 52 Debian 1.5.26-4 AC_PROG_LIBTOOL
536
-# AM_OUTPUT_DEPENDENCY_COMMANDS
537
-# -----------------------------
538
-# This macro should only be invoked once -- use via AC_REQUIRE.
540
-# This code is only required when automatic dependency tracking
541
-# is enabled. FIXME. This creates each `.P' file that we will
542
-# need in order to bootstrap the dependency handling code.
543
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
544
-[AC_CONFIG_COMMANDS([depfiles],
545
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
546
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
549
-# Do all the work for Automake. -*- Autoconf -*-
550
+# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
551
+# -----------------------------------------------------------
552
+# If this macro is not defined by Autoconf, define it here.
553
+m4_ifdef([AC_PROVIDE_IFELSE],
555
+ [m4_define([AC_PROVIDE_IFELSE],
556
+ [m4_ifdef([AC_PROVIDE_$1],
559
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
560
-# 2005, 2006, 2008 Free Software Foundation, Inc.
562
-# This file is free software; the Free Software Foundation
563
-# gives unlimited permission to copy and/or distribute it,
564
-# with or without modifications, as long as this notice is preserved.
569
+AC_DEFUN([AC_PROG_LIBTOOL],
570
+[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
571
+dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
572
+dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
573
+ AC_PROVIDE_IFELSE([AC_PROG_CXX],
575
+ [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
577
+dnl And a similar setup for Fortran 77 support
578
+ AC_PROVIDE_IFELSE([AC_PROG_F77],
580
+ [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
583
-# This macro actually does too much. Some checks are only needed if
584
-# your package does certain things. But this isn't really a big deal.
585
+dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
586
+dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
587
+dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
588
+ AC_PROVIDE_IFELSE([AC_PROG_GCJ],
590
+ [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
592
+ [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
594
+ [ifdef([AC_PROG_GCJ],
595
+ [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
596
+ ifdef([A][M_PROG_GCJ],
597
+ [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
598
+ ifdef([LT_AC_PROG_GCJ],
599
+ [define([LT_AC_PROG_GCJ],
600
+ defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
601
+])])# AC_PROG_LIBTOOL
603
-# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
604
-# AM_INIT_AUTOMAKE([OPTIONS])
605
-# -----------------------------------------------
606
-# The call with PACKAGE and VERSION arguments is the old style
607
-# call (pre autoconf-2.50), which is being phased out. PACKAGE
608
-# and VERSION should now be passed to AC_INIT and removed from
609
-# the call to AM_INIT_AUTOMAKE.
610
-# We support both call styles for the transition. After
611
-# the next Automake release, Autoconf can make the AC_INIT
612
-# arguments mandatory, and then we can depend on a new Autoconf
613
-# release and drop the old call support.
614
-AC_DEFUN([AM_INIT_AUTOMAKE],
615
-[AC_PREREQ([2.60])dnl
616
-dnl Autoconf wants to disallow AM_ names. We explicitly allow
617
-dnl the ones we care about.
618
-m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
619
-AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
620
-AC_REQUIRE([AC_PROG_INSTALL])dnl
621
-if test "`cd $srcdir && pwd`" != "`pwd`"; then
622
- # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
623
- # is not polluted with repeated "-I."
624
- AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
625
- # test to see if srcdir already configured
626
- if test -f $srcdir/config.status; then
627
- AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
631
-# test whether we have cygpath
632
-if test -z "$CYGPATH_W"; then
633
- if (cygpath --version) >/dev/null 2>/dev/null; then
634
- CYGPATH_W='cygpath -w'
639
-AC_SUBST([CYGPATH_W])
642
+AC_DEFUN([_AC_PROG_LIBTOOL],
643
+[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
644
+AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
645
+AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
646
+AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
648
-# Define the identity of the package.
649
-dnl Distinguish between old-style and new-style calls.
651
-[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
652
- AC_SUBST([PACKAGE], [$1])dnl
653
- AC_SUBST([VERSION], [$2])],
654
-[_AM_SET_OPTIONS([$1])dnl
655
-dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
656
-m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
657
- [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
658
- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
659
- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
660
+# This can be used to rebuild libtool when needed
661
+LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
663
-_AM_IF_OPTION([no-define],,
664
-[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
665
- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
666
+# Always use our own libtool.
667
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
668
+AC_SUBST(LIBTOOL)dnl
670
-# Some tools Automake needs.
671
-AC_REQUIRE([AM_SANITY_CHECK])dnl
672
-AC_REQUIRE([AC_ARG_PROGRAM])dnl
673
-AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
674
-AM_MISSING_PROG(AUTOCONF, autoconf)
675
-AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
676
-AM_MISSING_PROG(AUTOHEADER, autoheader)
677
-AM_MISSING_PROG(MAKEINFO, makeinfo)
679
-AM_PROG_INSTALL_STRIP
680
-AC_REQUIRE([AM_PROG_MKDIR_P])dnl
681
-# We need awk for the "check" target. The system "awk" is bad on
683
-AC_REQUIRE([AC_PROG_AWK])dnl
684
-AC_REQUIRE([AC_PROG_MAKE_SET])dnl
685
-AC_REQUIRE([AM_SET_LEADING_DOT])dnl
686
-_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
687
- [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
688
- [_AM_PROG_TAR([v7])])])
689
-_AM_IF_OPTION([no-dependencies],,
690
-[AC_PROVIDE_IFELSE([AC_PROG_CC],
691
- [_AM_DEPENDENCIES(CC)],
692
- [define([AC_PROG_CC],
693
- defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
694
-AC_PROVIDE_IFELSE([AC_PROG_CXX],
695
- [_AM_DEPENDENCIES(CXX)],
696
- [define([AC_PROG_CXX],
697
- defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
698
-AC_PROVIDE_IFELSE([AC_PROG_OBJC],
699
- [_AM_DEPENDENCIES(OBJC)],
700
- [define([AC_PROG_OBJC],
701
- defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
704
+# Prevent multiple expansion
705
+define([AC_PROG_LIBTOOL], [])
706
+])# _AC_PROG_LIBTOOL
709
-# When config.status generates a header, we must update the stamp-h file.
710
-# This file resides in the same directory as the config header
711
-# that is generated. The stamp files are numbered to have different names.
714
+AC_DEFUN([AC_LIBTOOL_SETUP],
716
+AC_REQUIRE([AC_ENABLE_SHARED])dnl
717
+AC_REQUIRE([AC_ENABLE_STATIC])dnl
718
+AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
719
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
720
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
721
+AC_REQUIRE([AC_PROG_CC])dnl
722
+AC_REQUIRE([AC_PROG_LD])dnl
723
+AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
724
+AC_REQUIRE([AC_PROG_NM])dnl
726
-# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
727
-# loop where config.status creates the headers, so we can generate
728
-# our stamp files there.
729
-AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
730
-[# Compute $1's index in $config_headers.
733
-for _am_header in $config_headers :; do
734
- case $_am_header in
735
- $_am_arg | $_am_arg:* )
738
- _am_stamp_count=`expr $_am_stamp_count + 1` ;;
741
-echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
742
+AC_REQUIRE([AC_PROG_LN_S])dnl
743
+AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
744
+# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
745
+AC_REQUIRE([AC_OBJEXT])dnl
746
+AC_REQUIRE([AC_EXEEXT])dnl
748
+AC_LIBTOOL_SYS_MAX_CMD_LEN
749
+AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
752
-# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
754
-# This file is free software; the Free Software Foundation
755
-# gives unlimited permission to copy and/or distribute it,
756
-# with or without modifications, as long as this notice is preserved.
757
+AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
758
+_LT_AC_PROG_ECHO_BACKSLASH
760
-# AM_PROG_INSTALL_SH
761
-# ------------------
762
-# Define $install_sh.
763
-AC_DEFUN([AM_PROG_INSTALL_SH],
764
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
765
-install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
766
-AC_SUBST(install_sh)])
769
+ # AIX sometimes has problems with the GCC collect2 program. For some
770
+ # reason, if we set the COLLECT_NAMES environment variable, the problems
771
+ # vanish in a puff of smoke.
772
+ if test "X${COLLECT_NAMES+set}" != Xset; then
774
+ export COLLECT_NAMES
779
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
781
-# This file is free software; the Free Software Foundation
782
-# gives unlimited permission to copy and/or distribute it,
783
-# with or without modifications, as long as this notice is preserved.
784
+# Sed substitution that helps us do robust quoting. It backslashifies
785
+# metacharacters that are still active within double-quoted strings.
786
+Xsed='sed -e 1s/^X//'
787
+[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
790
+# Same as above, but do not quote variable references.
791
+[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
793
-# Check whether the underlying file-system supports filenames
794
-# with a leading dot. For instance MS-DOS doesn't.
795
-AC_DEFUN([AM_SET_LEADING_DOT],
796
-[rm -rf .tst 2>/dev/null
797
-mkdir .tst 2>/dev/null
798
-if test -d .tst; then
803
-rmdir .tst 2>/dev/null
804
-AC_SUBST([am__leading_dot])])
805
+# Sed substitution to delay expansion of an escaped shell variable in a
806
+# double_quote_subst'ed string.
807
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
809
-# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
811
+# Sed substitution to avoid accidental globbing in evaled expressions
812
+no_glob_subst='s/\*/\\\*/g'
814
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
815
-# Free Software Foundation, Inc.
817
-# This file is free software; the Free Software Foundation
818
-# gives unlimited permission to copy and/or distribute it,
819
-# with or without modifications, as long as this notice is preserved.
825
+default_ofile=libtool
826
+can_build_shared=yes
828
-AC_DEFUN([AM_MAINTAINER_MODE],
829
-[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
830
- dnl maintainer-mode is disabled by default
831
- AC_ARG_ENABLE(maintainer-mode,
832
-[ --enable-maintainer-mode enable make rules and dependencies not useful
833
- (and sometimes confusing) to the casual installer],
834
- USE_MAINTAINER_MODE=$enableval,
835
- USE_MAINTAINER_MODE=no)
836
- AC_MSG_RESULT([$USE_MAINTAINER_MODE])
837
- AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
838
- MAINT=$MAINTAINER_MODE_TRUE
842
+# All known linkers require a `.a' archive for static linking (except MSVC,
843
+# which needs '.lib').
845
+ltmain="$ac_aux_dir/ltmain.sh"
846
+ofile="$default_ofile"
847
+with_gnu_ld="$lt_cv_prog_gnu_ld"
849
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
850
+AC_CHECK_TOOL(AR, ar, false)
851
+AC_CHECK_TOOL(RANLIB, ranlib, :)
852
+AC_CHECK_TOOL(STRIP, strip, :)
854
-# Check to see how 'make' treats includes. -*- Autoconf -*-
856
+old_CFLAGS="$CFLAGS"
858
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
860
-# This file is free software; the Free Software Foundation
861
-# gives unlimited permission to copy and/or distribute it,
862
-# with or without modifications, as long as this notice is preserved.
863
+# Set sane defaults for various variables
864
+test -z "$AR" && AR=ar
865
+test -z "$AR_FLAGS" && AR_FLAGS=cru
866
+test -z "$AS" && AS=as
867
+test -z "$CC" && CC=cc
868
+test -z "$LTCC" && LTCC=$CC
869
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
870
+test -z "$DLLTOOL" && DLLTOOL=dlltool
871
+test -z "$LD" && LD=ld
872
+test -z "$LN_S" && LN_S="ln -s"
873
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
874
+test -z "$NM" && NM=nm
875
+test -z "$SED" && SED=sed
876
+test -z "$OBJDUMP" && OBJDUMP=objdump
877
+test -z "$RANLIB" && RANLIB=:
878
+test -z "$STRIP" && STRIP=:
879
+test -z "$ac_objext" && ac_objext=o
882
+# Determine commands to create old-style static archives.
883
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
884
+old_postinstall_cmds='chmod 644 $oldlib'
885
+old_postuninstall_cmds=
889
-# Check to see how make treats includes.
890
-AC_DEFUN([AM_MAKE_INCLUDE],
891
-[am_make=${MAKE-make}
892
-cat > confinc << 'END'
897
-# If we don't find an include directive, just comment out the code.
898
-AC_MSG_CHECKING([for style of include used by $am_make])
902
-# First try GNU make style include.
903
-echo "include confinc" > confmf
904
-# We grep out `Entering directory' and `Leaving directory'
905
-# messages which can occur if `w' ends up in MAKEFLAGS.
906
-# In particular we don't look at `^make:' because GNU make might
907
-# be invoked under some other name (usually "gmake"), in which
908
-# case it prints its new name instead of `make'.
909
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
910
- am__include=include
914
-# Now try BSD make style include.
915
-if test "$am__include" = "#"; then
916
- echo '.include "confinc"' > confmf
917
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
918
- am__include=.include
922
+if test -n "$RANLIB"; then
925
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
928
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
931
+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
933
-AC_SUBST([am__include])
934
-AC_SUBST([am__quote])
935
-AC_MSG_RESULT([$_am_result])
936
-rm -f confinc confmf
939
-# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
940
+_LT_CC_BASENAME([$compiler])
942
-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
943
-# Free Software Foundation, Inc.
945
-# This file is free software; the Free Software Foundation
946
-# gives unlimited permission to copy and/or distribute it,
947
-# with or without modifications, as long as this notice is preserved.
948
+# Only perform the check for file, if the check method requires it
949
+case $deplibs_check_method in
951
+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then
958
+_LT_REQUIRED_DARWIN_CHECKS
960
-# AM_MISSING_PROG(NAME, PROGRAM)
961
-# ------------------------------
962
-AC_DEFUN([AM_MISSING_PROG],
963
-[AC_REQUIRE([AM_MISSING_HAS_RUN])
964
-$1=${$1-"${am_missing_run}$2"}
966
+AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
967
+AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
968
+enable_win32_dll=yes, enable_win32_dll=no)
970
+AC_ARG_ENABLE([libtool-lock],
971
+ [AC_HELP_STRING([--disable-libtool-lock],
972
+ [avoid locking (might break parallel builds)])])
973
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
975
-# AM_MISSING_HAS_RUN
976
-# ------------------
977
-# Define MISSING if not defined so far and test if it supports --run.
978
-# If it does, set am_missing_run to use it, otherwise, to nothing.
979
-AC_DEFUN([AM_MISSING_HAS_RUN],
980
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
981
-AC_REQUIRE_AUX_FILE([missing])dnl
982
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
983
-# Use eval to expand $SHELL
984
-if eval "$MISSING --run true"; then
985
- am_missing_run="$MISSING --run "
988
- AC_MSG_WARN([`missing' script is too old or missing])
992
+ [AC_HELP_STRING([--with-pic],
993
+ [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
994
+ [pic_mode="$withval"],
995
+ [pic_mode=default])
996
+test -z "$pic_mode" && pic_mode=default
998
-# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1000
-# This file is free software; the Free Software Foundation
1001
-# gives unlimited permission to copy and/or distribute it,
1002
-# with or without modifications, as long as this notice is preserved.
1003
+# Use C for the default configuration in the libtool script
1005
+AC_LIBTOOL_LANG_C_CONFIG
1007
+])# AC_LIBTOOL_SETUP
1011
-# Check for `mkdir -p'.
1012
-AC_DEFUN([AM_PROG_MKDIR_P],
1013
-[AC_PREREQ([2.60])dnl
1014
-AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1015
-dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
1016
-dnl while keeping a definition of mkdir_p for backward compatibility.
1017
-dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
1018
-dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
1019
-dnl Makefile.ins that do not define MKDIR_P, so we do our own
1020
-dnl adjustment using top_builddir (which is defined more often than
1022
-AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
1024
- [[\\/$]]* | ?:[[\\/]]*) ;;
1025
- */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1029
-# Helper functions for option handling. -*- Autoconf -*-
1030
+# _LT_AC_SYS_COMPILER
1031
+# -------------------
1032
+AC_DEFUN([_LT_AC_SYS_COMPILER],
1033
+[AC_REQUIRE([AC_PROG_CC])dnl
1035
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
1037
-# This file is free software; the Free Software Foundation
1038
-# gives unlimited permission to copy and/or distribute it,
1039
-# with or without modifications, as long as this notice is preserved.
1040
+# If no C compiler was specified, use CC.
1044
+# If no C compiler flags were specified, use CFLAGS.
1045
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1047
-# _AM_MANGLE_OPTION(NAME)
1048
-# -----------------------
1049
-AC_DEFUN([_AM_MANGLE_OPTION],
1050
-[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1051
+# Allow CC to be a program name with arguments.
1053
+])# _LT_AC_SYS_COMPILER
1055
-# _AM_SET_OPTION(NAME)
1056
-# ------------------------------
1057
-# Set option NAME. Presently that only means defining a flag for this option.
1058
-AC_DEFUN([_AM_SET_OPTION],
1059
-[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1061
-# _AM_SET_OPTIONS(OPTIONS)
1062
-# ----------------------------------
1063
-# OPTIONS is a space-separated list of Automake options.
1064
-AC_DEFUN([_AM_SET_OPTIONS],
1065
-[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1066
+# _LT_CC_BASENAME(CC)
1067
+# -------------------
1068
+# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
1069
+AC_DEFUN([_LT_CC_BASENAME],
1070
+[for cc_temp in $1""; do
1072
+ compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
1073
+ distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
1078
+cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1081
-# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
1082
-# -------------------------------------------
1083
-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
1084
-AC_DEFUN([_AM_IF_OPTION],
1085
-[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1087
-# Check to make sure that the build environment is sane. -*- Autoconf -*-
1088
+# _LT_COMPILER_BOILERPLATE
1089
+# ------------------------
1090
+# Check for compiler boilerplate output or warnings with
1091
+# the simple compiler test code.
1092
+AC_DEFUN([_LT_COMPILER_BOILERPLATE],
1093
+[AC_REQUIRE([LT_AC_PROG_SED])dnl
1094
+ac_outfile=conftest.$ac_objext
1095
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
1096
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1097
+_lt_compiler_boilerplate=`cat conftest.err`
1099
+])# _LT_COMPILER_BOILERPLATE
1101
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
1102
-# Free Software Foundation, Inc.
1104
-# This file is free software; the Free Software Foundation
1105
-# gives unlimited permission to copy and/or distribute it,
1106
-# with or without modifications, as long as this notice is preserved.
1109
+# _LT_LINKER_BOILERPLATE
1110
+# ----------------------
1111
+# Check for linker boilerplate output or warnings with
1112
+# the simple link test code.
1113
+AC_DEFUN([_LT_LINKER_BOILERPLATE],
1114
+[AC_REQUIRE([LT_AC_PROG_SED])dnl
1115
+ac_outfile=conftest.$ac_objext
1116
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
1117
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1118
+_lt_linker_boilerplate=`cat conftest.err`
1120
+])# _LT_LINKER_BOILERPLATE
1124
-AC_DEFUN([AM_SANITY_CHECK],
1125
-[AC_MSG_CHECKING([whether build environment is sane])
1128
-echo timestamp > conftest.file
1129
-# Do `set' in a subshell so we don't clobber the current shell's
1130
-# arguments. Must try -L first in case configure is actually a
1131
-# symlink; some systems play weird games with the mod time of symlinks
1132
-# (eg FreeBSD returns the mod time of the symlink's containing
1135
- set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1136
- if test "$[*]" = "X"; then
1138
- set X `ls -t $srcdir/configure conftest.file`
1140
- rm -f conftest.file
1141
- if test "$[*]" != "X $srcdir/configure conftest.file" \
1142
- && test "$[*]" != "X conftest.file $srcdir/configure"; then
1143
+# _LT_REQUIRED_DARWIN_CHECKS
1144
+# --------------------------
1145
+# Check for some things on darwin
1146
+AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[
1148
+ rhapsody* | darwin*)
1149
+ AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
1150
+ AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
1152
- # If neither matched, then we have a broken ls. This can happen
1153
- # if, for instance, CONFIG_SHELL is bash and it inherits a
1154
- # broken ls alias from the environment. This has actually
1155
- # happened. Such a system could not be considered "sane".
1156
- AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
1157
-alias in your environment])
1158
+ AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
1159
+ [lt_cv_apple_cc_single_mod=no
1160
+ if test -z "${LT_MULTI_MODULE}"; then
1161
+ # By default we will add the -single_module flag. You can override
1162
+ # by either setting the environment variable LT_MULTI_MODULE
1163
+ # non-empty at configure time, or by adding -multi_module to the
1165
+ echo "int foo(void){return 1;}" > conftest.c
1166
+ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1167
+ -dynamiclib ${wl}-single_module conftest.c
1168
+ if test -f libconftest.dylib; then
1169
+ lt_cv_apple_cc_single_mod=yes
1170
+ rm -rf libconftest.dylib*
1174
+ AC_CACHE_CHECK([for -exported_symbols_list linker flag],
1175
+ [lt_cv_ld_exported_symbols_list],
1176
+ [lt_cv_ld_exported_symbols_list=no
1177
+ save_LDFLAGS=$LDFLAGS
1178
+ echo "_main" > conftest.sym
1179
+ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1180
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
1181
+ [lt_cv_ld_exported_symbols_list=yes],
1182
+ [lt_cv_ld_exported_symbols_list=no])
1183
+ LDFLAGS="$save_LDFLAGS"
1186
+ rhapsody* | darwin1.[[0123]])
1187
+ _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
1189
+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
1191
+ # if running on 10.5 or later, the deployment target defaults
1192
+ # to the OS version, if on x86, and 10.4, the deployment
1193
+ # target defaults to 10.4. Don't you love it?
1194
+ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1195
+ 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1196
+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
1198
+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
1200
+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
1204
+ if test "$lt_cv_apple_cc_single_mod" = "yes"; then
1205
+ _lt_dar_single_mod='$single_module'
1207
+ if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
1208
+ _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
1210
+ _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
1212
+ if test "$DSYMUTIL" != ":"; then
1213
+ _lt_dsymutil="~$DSYMUTIL \$lib || :"
1221
- test "$[2]" = conftest.file
1227
- AC_MSG_ERROR([newly created file is older than distributed files!
1228
-Check your system clock])
1230
-AC_MSG_RESULT(yes)])
1231
+# _LT_AC_SYS_LIBPATH_AIX
1232
+# ----------------------
1233
+# Links a minimal program and checks the executable
1234
+# for the system default hardcoded library path. In most cases,
1235
+# this is /usr/lib:/lib, but when the MPI compilers are used
1236
+# the location of the communication and MPI libs are included too.
1237
+# If we don't find anything, use the default library path according
1238
+# to the aix ld manual.
1239
+AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
1240
+[AC_REQUIRE([LT_AC_PROG_SED])dnl
1241
+AC_LINK_IFELSE(AC_LANG_PROGRAM,[
1242
+lt_aix_libpath_sed='
1243
+ /Import File Strings/,/^$/ {
1249
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1250
+# Check for a 64-bit object if we didn't find anything.
1251
+if test -z "$aix_libpath"; then
1252
+ aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1254
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1255
+])# _LT_AC_SYS_LIBPATH_AIX
1257
-# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
1259
-# This file is free software; the Free Software Foundation
1260
-# gives unlimited permission to copy and/or distribute it,
1261
-# with or without modifications, as long as this notice is preserved.
1263
-# AM_PROG_INSTALL_STRIP
1264
-# ---------------------
1265
-# One issue with vendor `install' (even GNU) is that you can't
1266
-# specify the program used to strip binaries. This is especially
1267
-# annoying in cross-compiling environments, where the build's strip
1268
-# is unlikely to handle the host's binaries.
1269
-# Fortunately install-sh will honor a STRIPPROG variable, so we
1270
-# always use install-sh in `make install-strip', and initialize
1271
-# STRIPPROG with the value of the STRIP variable (set by the user).
1272
-AC_DEFUN([AM_PROG_INSTALL_STRIP],
1273
-[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1274
-# Installed binaries are usually stripped using `strip' when the user
1275
-# run `make install-strip'. However `strip' might not be the right
1276
-# tool to use in cross-compilation environments, therefore Automake
1277
-# will honor the `STRIP' environment variable to overrule this program.
1278
-dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
1279
-if test "$cross_compiling" != no; then
1280
- AC_CHECK_TOOL([STRIP], [strip], :)
1281
+# _LT_AC_SHELL_INIT(ARG)
1282
+# ----------------------
1283
+AC_DEFUN([_LT_AC_SHELL_INIT],
1284
+[ifdef([AC_DIVERSION_NOTICE],
1285
+ [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
1286
+ [AC_DIVERT_PUSH(NOTICE)])
1289
+])# _LT_AC_SHELL_INIT
1292
+# _LT_AC_PROG_ECHO_BACKSLASH
1293
+# --------------------------
1294
+# Add some code to the start of the generated configure script which
1295
+# will find an echo command which doesn't interpret backslashes.
1296
+AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
1297
+[_LT_AC_SHELL_INIT([
1298
+# Check that we are running under the correct shell.
1299
+SHELL=${CONFIG_SHELL-/bin/sh}
1303
+ # Remove one level of quotation (which was required for Make).
1304
+ ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
1309
+if test "X[$]1" = X--no-reexec; then
1310
+ # Discard the --no-reexec flag, and continue.
1312
+elif test "X[$]1" = X--fallback-echo; then
1313
+ # Avoid inline document here, it may be left over
1315
+elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
1316
+ # Yippee, $echo works!
1319
+ # Restart under the correct shell.
1320
+ exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
1322
-INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1323
-AC_SUBST([INSTALL_STRIP_PROGRAM])])
1325
-# Copyright (C) 2006 Free Software Foundation, Inc.
1327
-# This file is free software; the Free Software Foundation
1328
-# gives unlimited permission to copy and/or distribute it,
1329
-# with or without modifications, as long as this notice is preserved.
1330
+if test "X[$]1" = X--fallback-echo; then
1331
+ # used as fallback echo
1339
-# _AM_SUBST_NOTMAKE(VARIABLE)
1340
-# ---------------------------
1341
-# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1342
-# This macro is traced by Automake.
1343
-AC_DEFUN([_AM_SUBST_NOTMAKE])
1344
+# The HP-UX ksh and POSIX shell print the target directory to stdout
1345
+# if CDPATH is set.
1346
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1348
-# Check how to create a tarball. -*- Autoconf -*-
1349
+if test -z "$ECHO"; then
1350
+if test "X${echo_test_string+set}" != Xset; then
1351
+# find a string as large as possible, as long as the shell can cope with it
1352
+ for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
1353
+ # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
1354
+ if (echo_test_string=`eval $cmd`) 2>/dev/null &&
1355
+ echo_test_string=`eval $cmd` &&
1356
+ (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
1363
-# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
1365
-# This file is free software; the Free Software Foundation
1366
-# gives unlimited permission to copy and/or distribute it,
1367
-# with or without modifications, as long as this notice is preserved.
1368
+if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
1369
+ echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
1370
+ test "X$echo_testing_string" = "X$echo_test_string"; then
1373
+ # The Solaris, AIX, and Digital Unix default echo programs unquote
1374
+ # backslashes. This makes it impossible to quote backslashes using
1375
+ # echo "$something" | sed 's/\\/\\\\/g'
1377
+ # So, first we look for a working echo in the user's PATH.
1380
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1381
+ for dir in $PATH /usr/ucb; do
1382
+ IFS="$lt_save_ifs"
1383
+ if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
1384
+ test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
1385
+ echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
1386
+ test "X$echo_testing_string" = "X$echo_test_string"; then
1391
+ IFS="$lt_save_ifs"
1393
-# _AM_PROG_TAR(FORMAT)
1394
-# --------------------
1395
-# Check how to create a tarball in format FORMAT.
1396
-# FORMAT should be one of `v7', `ustar', or `pax'.
1398
-# Substitute a variable $(am__tar) that is a command
1399
-# writing to stdout a FORMAT-tarball containing the directory
1401
-# tardir=directory && $(am__tar) > result.tar
1403
-# Substitute a variable $(am__untar) that extract such
1404
-# a tarball read from stdin.
1405
-# $(am__untar) < result.tar
1406
-AC_DEFUN([_AM_PROG_TAR],
1407
-[# Always define AMTAR for backward compatibility.
1408
-AM_MISSING_PROG([AMTAR], [tar])
1410
- [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
1411
- [m4_case([$1], [ustar],, [pax],,
1412
- [m4_fatal([Unknown tar format])])
1413
-AC_MSG_CHECKING([how to create a $1 tar archive])
1414
-# Loop over all known methods to create a tar archive until one works.
1415
-_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1416
-_am_tools=${am_cv_prog_tar_$1-$_am_tools}
1417
-# Do not fold the above two line into one, because Tru64 sh and
1418
-# Solaris sh will not grok spaces in the rhs of `-'.
1419
-for _am_tool in $_am_tools
1423
- for _am_tar in tar gnutar gtar;
1425
- AM_RUN_LOG([$_am_tar --version]) && break
1427
- am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1428
- am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1429
- am__untar="$_am_tar -xf -"
1432
- # Must skip GNU tar: if it does not support --format= it doesn't create
1433
- # ustar tarball either.
1434
- (tar --version) >/dev/null 2>&1 && continue
1435
- am__tar='tar chf - "$$tardir"'
1436
- am__tar_='tar chf - "$tardir"'
1437
- am__untar='tar xf -'
1440
- am__tar='pax -L -x $1 -w "$$tardir"'
1441
- am__tar_='pax -L -x $1 -w "$tardir"'
1442
- am__untar='pax -r'
1445
- am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1446
- am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1447
- am__untar='cpio -i -H $1 -d'
1455
+ if test "X$echo" = Xecho; then
1456
+ # We didn't find a better echo, so look for alternatives.
1457
+ if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
1458
+ echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
1459
+ test "X$echo_testing_string" = "X$echo_test_string"; then
1460
+ # This shell has a builtin print -r that does the trick.
1462
+ elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
1463
+ test "X$CONFIG_SHELL" != X/bin/ksh; then
1464
+ # If we have ksh, try running configure again with it.
1465
+ ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
1466
+ export ORIGINAL_CONFIG_SHELL
1467
+ CONFIG_SHELL=/bin/ksh
1468
+ export CONFIG_SHELL
1469
+ exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
1471
+ # Try using printf.
1472
+ echo='printf %s\n'
1473
+ if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
1474
+ echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
1475
+ test "X$echo_testing_string" = "X$echo_test_string"; then
1476
+ # Cool, printf works
1478
+ elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1479
+ test "X$echo_testing_string" = 'X\t' &&
1480
+ echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1481
+ test "X$echo_testing_string" = "X$echo_test_string"; then
1482
+ CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
1483
+ export CONFIG_SHELL
1484
+ SHELL="$CONFIG_SHELL"
1486
+ echo="$CONFIG_SHELL [$]0 --fallback-echo"
1487
+ elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1488
+ test "X$echo_testing_string" = 'X\t' &&
1489
+ echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1490
+ test "X$echo_testing_string" = "X$echo_test_string"; then
1491
+ echo="$CONFIG_SHELL [$]0 --fallback-echo"
1493
+ # maybe with a smaller string...
1496
- # If the value was cached, stop now. We just wanted to have am__tar
1497
- # and am__untar set.
1498
- test -n "${am_cv_prog_tar_$1}" && break
1499
+ for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
1500
+ if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
1507
- # tar/untar a dummy directory, and stop if the command works
1508
- rm -rf conftest.dir
1509
- mkdir conftest.dir
1510
- echo GrepMe > conftest.dir/file
1511
- AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1512
- rm -rf conftest.dir
1513
- if test -s conftest.tar; then
1514
- AM_RUN_LOG([$am__untar <conftest.tar])
1515
- grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1516
+ if test "$prev" != 'sed 50q "[$]0"'; then
1517
+ echo_test_string=`eval $prev`
1518
+ export echo_test_string
1519
+ exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
1521
+ # Oops. We lost completely, so just stick with echo.
1528
-rm -rf conftest.dir
1532
-AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1533
-AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1534
-AC_SUBST([am__tar])
1535
-AC_SUBST([am__untar])
1537
+# Copy echo and quote the copy suitably for passing to libtool from
1538
+# the Makefile, instead of quoting the original, which is used later.
1540
+if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
1541
+ ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
1547
+])])# _LT_AC_PROG_ECHO_BACKSLASH
1549
-dnl GNOME_COMMON_INIT
1551
-AC_DEFUN([GNOME_COMMON_INIT],
1553
- dnl this macro should come after AC_CONFIG_MACRO_DIR
1554
- AC_BEFORE([AC_CONFIG_MACRO_DIR], [$0])
1557
+AC_DEFUN([_LT_AC_LOCK],
1558
+[AC_ARG_ENABLE([libtool-lock],
1559
+ [AC_HELP_STRING([--disable-libtool-lock],
1560
+ [avoid locking (might break parallel builds)])])
1561
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1563
- dnl ensure that when the Automake generated makefile calls aclocal,
1564
- dnl it honours the $ACLOCAL_FLAGS environment variable
1565
- ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
1566
- if test -n "$ac_macro_dir"; then
1567
- ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
1568
+# Some flags need to be propagated to the compiler or linker for good
1572
+ # Find out which ABI we are using.
1573
+ echo 'int i;' > conftest.$ac_ext
1574
+ if AC_TRY_EVAL(ac_compile); then
1575
+ case `/usr/bin/file conftest.$ac_objext` in
1577
+ HPUX_IA64_MODE="32"
1580
+ HPUX_IA64_MODE="64"
1587
+ # Find out which ABI we are using.
1588
+ echo '[#]line __oline__ "configure"' > conftest.$ac_ext
1589
+ if AC_TRY_EVAL(ac_compile); then
1590
+ if test "$lt_cv_prog_gnu_ld" = yes; then
1591
+ case `/usr/bin/file conftest.$ac_objext` in
1593
+ LD="${LD-ld} -melf32bsmip"
1596
+ LD="${LD-ld} -melf32bmipn32"
1599
+ LD="${LD-ld} -melf64bmip"
1603
+ case `/usr/bin/file conftest.$ac_objext` in
1608
+ LD="${LD-ld} -n32"
1619
- AC_SUBST([ACLOCAL_AMFLAGS])
1621
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
1622
+s390*-*linux*|sparc*-*linux*)
1623
+ # Find out which ABI we are using.
1624
+ echo 'int i;' > conftest.$ac_ext
1625
+ if AC_TRY_EVAL(ac_compile); then
1626
+ case `/usr/bin/file conftest.o` in
1629
+ x86_64-*kfreebsd*-gnu)
1630
+ LD="${LD-ld} -m elf_i386_fbsd"
1633
+ LD="${LD-ld} -m elf_i386"
1635
+ ppc64-*linux*|powerpc64-*linux*)
1636
+ LD="${LD-ld} -m elf32ppclinux"
1639
+ LD="${LD-ld} -m elf_s390"
1642
+ LD="${LD-ld} -m elf32_sparc"
1648
+ x86_64-*kfreebsd*-gnu)
1649
+ LD="${LD-ld} -m elf_x86_64_fbsd"
1652
+ LD="${LD-ld} -m elf_x86_64"
1654
+ ppc*-*linux*|powerpc*-*linux*)
1655
+ LD="${LD-ld} -m elf64ppc"
1658
+ LD="${LD-ld} -m elf64_s390"
1661
+ LD="${LD-ld} -m elf64_sparc"
1670
-AC_DEFUN([GNOME_DEBUG_CHECK],
1672
- AC_ARG_ENABLE([debug],
1673
- AC_HELP_STRING([--enable-debug],
1674
- [turn on debugging]),,
1675
- [enable_debug=no])
1677
- if test x$enable_debug = xyes ; then
1678
- AC_DEFINE(GNOME_ENABLE_DEBUG, 1,
1679
- [Enable additional debugging at the expense of performance and size])
1683
-dnl GNOME_MAINTAINER_MODE_DEFINES ()
1684
-dnl define DISABLE_DEPRECATED
1686
-AC_DEFUN([GNOME_MAINTAINER_MODE_DEFINES],
1688
- AC_REQUIRE([AM_MAINTAINER_MODE])
1690
- if test $USE_MAINTAINER_MODE = yes; then
1691
- DISABLE_DEPRECATED="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED"
1693
- DISABLE_DEPRECATED=""
1695
- AC_SUBST(DISABLE_DEPRECATED)
1698
-dnl GNOME_COMPILE_WARNINGS
1699
-dnl Turn on many useful compiler warnings
1700
-dnl For now, only works on GCC
1701
-AC_DEFUN([GNOME_COMPILE_WARNINGS],[
1702
- dnl ******************************
1703
- dnl More compiler warnings
1704
- dnl ******************************
1706
- AC_ARG_ENABLE(compile-warnings,
1707
- AC_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@],
1708
- [Turn on compiler warnings]),,
1709
- [enable_compile_warnings="m4_default([$1],[yes])"])
1712
- if test "x$GCC" != xyes; then
1713
- enable_compile_warnings=no
1717
- realsave_CFLAGS="$CFLAGS"
1719
- case "$enable_compile_warnings" in
1724
- warning_flags="-Wall"
1727
- warning_flags="-Wall -Wmissing-prototypes"
1730
- warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
1731
- CFLAGS="$warning_flags $CFLAGS"
1732
- for option in -Wno-sign-compare; do
1733
- SAVE_CFLAGS="$CFLAGS"
1734
- CFLAGS="$CFLAGS $option"
1735
- AC_MSG_CHECKING([whether gcc understands $option])
1736
- AC_TRY_COMPILE([], [],
1739
- CFLAGS="$SAVE_CFLAGS"
1740
- AC_MSG_RESULT($has_option)
1741
- if test $has_option = yes; then
1742
- warning_flags="$warning_flags $option"
1748
- if test "$enable_compile_warnings" = "error" ; then
1749
- warning_flags="$warning_flags -Werror"
1751
+ # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1752
+ SAVE_CFLAGS="$CFLAGS"
1753
+ CFLAGS="$CFLAGS -belf"
1754
+ AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
1756
+ AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
1758
+ if test x"$lt_cv_cc_needs_belf" != x"yes"; then
1759
+ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1760
+ CFLAGS="$SAVE_CFLAGS"
1764
+ # Find out which ABI we are using.
1765
+ echo 'int i;' > conftest.$ac_ext
1766
+ if AC_TRY_EVAL(ac_compile); then
1767
+ case `/usr/bin/file conftest.o` in
1769
+ case $lt_cv_prog_gnu_ld in
1770
+ yes*) LD="${LD-ld} -m elf64_sparc" ;;
1772
+ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1777
- AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings)
1782
- CFLAGS="$realsave_CFLAGS"
1783
- AC_MSG_CHECKING(what warning flags to pass to the C compiler)
1784
- AC_MSG_RESULT($warning_flags)
1786
- AC_ARG_ENABLE(iso-c,
1787
- AC_HELP_STRING([--enable-iso-c],
1788
- [Try to warn if code is not ISO C ]),,
1789
- [enable_iso_c=no])
1791
- AC_MSG_CHECKING(what language compliance flags to pass to the C compiler)
1793
- if test "x$enable_iso_c" != "xno"; then
1794
- if test "x$GCC" = "xyes"; then
1795
- case " $CFLAGS " in
1796
- *[\ \ ]-ansi[\ \ ]*) ;;
1797
- *) complCFLAGS="$complCFLAGS -ansi" ;;
1799
- case " $CFLAGS " in
1800
- *[\ \ ]-pedantic[\ \ ]*) ;;
1801
- *) complCFLAGS="$complCFLAGS -pedantic" ;;
1805
- AC_MSG_RESULT($complCFLAGS)
1807
- WARN_CFLAGS="$warning_flags $complCFLAGS"
1808
- AC_SUBST(WARN_CFLAGS)
1811
-dnl For C++, do basically the same thing.
1813
-AC_DEFUN([GNOME_CXX_WARNINGS],[
1814
- AC_ARG_ENABLE(cxx-warnings,
1815
- AC_HELP_STRING([--enable-cxx-warnings=@<:@no/minimum/yes@:>@]
1816
- [Turn on compiler warnings.]),,
1817
- [enable_cxx_warnings="m4_default([$1],[minimum])"])
1819
- AC_MSG_CHECKING(what warning flags to pass to the C++ compiler)
1821
- if test "x$GXX" != xyes; then
1822
- enable_cxx_warnings=no
1824
- if test "x$enable_cxx_warnings" != "xno"; then
1825
- if test "x$GXX" = "xyes"; then
1826
- case " $CXXFLAGS " in
1827
- *[\ \ ]-Wall[\ \ ]*) ;;
1828
- *) warnCXXFLAGS="-Wall -Wno-unused" ;;
1833
- ## -W is not all that useful. And it cannot be controlled
1834
- ## with individual -Wno-xxx flags, unlike -Wall
1835
- if test "x$enable_cxx_warnings" = "xyes"; then
1836
- warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual"
1840
- AC_MSG_RESULT($warnCXXFLAGS)
1841
+AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
1842
+[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
1843
+ AC_CHECK_TOOL(DLLTOOL, dlltool, false)
1844
+ AC_CHECK_TOOL(AS, as, false)
1845
+ AC_CHECK_TOOL(OBJDUMP, objdump, false)
1850
- AC_ARG_ENABLE(iso-cxx,
1851
- AC_HELP_STRING([--enable-iso-cxx],
1852
- [Try to warn if code is not ISO C++ ]),,
1853
- [enable_iso_cxx=no])
1854
+need_locks="$enable_libtool_lock"
1856
- AC_MSG_CHECKING(what language compliance flags to pass to the C++ compiler)
1858
- if test "x$enable_iso_cxx" != "xno"; then
1859
- if test "x$GXX" = "xyes"; then
1860
- case " $CXXFLAGS " in
1861
- *[\ \ ]-ansi[\ \ ]*) ;;
1862
- *) complCXXFLAGS="$complCXXFLAGS -ansi" ;;
1866
- case " $CXXFLAGS " in
1867
- *[\ \ ]-pedantic[\ \ ]*) ;;
1868
- *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;;
1871
+# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1872
+# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
1873
+# ----------------------------------------------------------------
1874
+# Check whether the given compiler option works
1875
+AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
1876
+[AC_REQUIRE([LT_AC_PROG_SED])
1877
+AC_CACHE_CHECK([$1], [$2],
1879
+ ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
1880
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1881
+ lt_compiler_flag="$3"
1882
+ # Insert the option either (1) after the last *FLAGS variable, or
1883
+ # (2) before a word containing "conftest.", or (3) at the end.
1884
+ # Note that $ac_compile itself does not contain backslashes and begins
1885
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
1886
+ # The option is referenced via a variable to avoid confusing sed.
1887
+ lt_compile=`echo "$ac_compile" | $SED \
1888
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1889
+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1890
+ -e 's:$: $lt_compiler_flag:'`
1891
+ (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1892
+ (eval "$lt_compile" 2>conftest.err)
1894
+ cat conftest.err >&AS_MESSAGE_LOG_FD
1895
+ echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1896
+ if (exit $ac_status) && test -s "$ac_outfile"; then
1897
+ # The compiler can only warn and ignore the option if not recognized
1898
+ # So say no if there are warnings other than the usual output.
1899
+ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
1900
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1901
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1905
- AC_MSG_RESULT($complCXXFLAGS)
1907
- WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS"
1908
- AC_SUBST(WARN_CXXFLAGS)
1912
-# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
1914
-# serial 52 AC_PROG_LIBTOOL
1917
-# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
1918
-# -----------------------------------------------------------
1919
-# If this macro is not defined by Autoconf, define it here.
1920
-m4_ifdef([AC_PROVIDE_IFELSE],
1922
- [m4_define([AC_PROVIDE_IFELSE],
1923
- [m4_ifdef([AC_PROVIDE_$1],
1925
+if test x"[$]$2" = xyes; then
1926
+ ifelse([$5], , :, [$5])
1928
+ ifelse([$6], , :, [$6])
1930
+])# AC_LIBTOOL_COMPILER_OPTION
1935
-AC_DEFUN([AC_PROG_LIBTOOL],
1936
-[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
1937
-dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
1938
-dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
1939
- AC_PROVIDE_IFELSE([AC_PROG_CXX],
1941
- [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
1943
-dnl And a similar setup for Fortran 77 support
1944
- AC_PROVIDE_IFELSE([AC_PROG_F77],
1946
- [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
1949
-dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
1950
-dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
1951
-dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
1952
- AC_PROVIDE_IFELSE([AC_PROG_GCJ],
1954
- [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
1956
- [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
1958
- [ifdef([AC_PROG_GCJ],
1959
- [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
1960
- ifdef([A][M_PROG_GCJ],
1961
- [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
1962
- ifdef([LT_AC_PROG_GCJ],
1963
- [define([LT_AC_PROG_GCJ],
1964
- defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
1965
-])])# AC_PROG_LIBTOOL
1966
+# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1967
+# [ACTION-SUCCESS], [ACTION-FAILURE])
1968
+# ------------------------------------------------------------
1969
+# Check whether the given compiler option works
1970
+AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
1971
+[AC_REQUIRE([LT_AC_PROG_SED])dnl
1972
+AC_CACHE_CHECK([$1], [$2],
1974
+ save_LDFLAGS="$LDFLAGS"
1975
+ LDFLAGS="$LDFLAGS $3"
1976
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
1977
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1978
+ # The linker can only warn and ignore the option if not recognized
1979
+ # So say no if there are warnings
1980
+ if test -s conftest.err; then
1981
+ # Append any errors to the config.log.
1982
+ cat conftest.err 1>&AS_MESSAGE_LOG_FD
1983
+ $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
1984
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1985
+ if diff conftest.exp conftest.er2 >/dev/null; then
1993
+ LDFLAGS="$save_LDFLAGS"
1996
+if test x"[$]$2" = xyes; then
1997
+ ifelse([$4], , :, [$4])
1999
+ ifelse([$5], , :, [$5])
2001
+])# AC_LIBTOOL_LINKER_OPTION
2005
-AC_DEFUN([_AC_PROG_LIBTOOL],
2006
-[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
2007
-AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
2008
-AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
2009
-AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
2011
-# This can be used to rebuild libtool when needed
2012
-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
2013
+# AC_LIBTOOL_SYS_MAX_CMD_LEN
2014
+# --------------------------
2015
+AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
2016
+[# find the maximum length of command line arguments
2017
+AC_MSG_CHECKING([the maximum length of command line arguments])
2018
+AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
2022
-# Always use our own libtool.
2023
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2024
-AC_SUBST(LIBTOOL)dnl
2027
+ # On DJGPP, this test can blow up pretty badly due to problems in libc
2028
+ # (any single argument exceeding 2000 bytes causes a buffer overrun
2029
+ # during glob expansion). Even if it were fixed, the result of this
2030
+ # check would be larger than it should be.
2031
+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
2034
-# Prevent multiple expansion
2035
-define([AC_PROG_LIBTOOL], [])
2036
-])# _AC_PROG_LIBTOOL
2038
+ # Under GNU Hurd, this test is not required because there is
2039
+ # no limit to the length of command line arguments.
2040
+ # Libtool will interpret -1 as no limit whatsoever
2041
+ lt_cv_sys_max_cmd_len=-1;
2045
+ # On Win9x/ME, this test blows up -- it succeeds, but takes
2046
+ # about 5 minutes as the teststring grows exponentially.
2047
+ # Worse, since 9x/ME are not pre-emptively multitasking,
2048
+ # you end up with a "frozen" computer, even though with patience
2049
+ # the test eventually succeeds (with a max line length of 256k).
2050
+ # Instead, let's just punt: use the minimum linelength reported by
2051
+ # all of the supported platforms: 8192 (on NT/2K/XP).
2052
+ lt_cv_sys_max_cmd_len=8192;
2057
-AC_DEFUN([AC_LIBTOOL_SETUP],
2058
-[AC_PREREQ(2.50)dnl
2059
-AC_REQUIRE([AC_ENABLE_SHARED])dnl
2060
-AC_REQUIRE([AC_ENABLE_STATIC])dnl
2061
-AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
2062
-AC_REQUIRE([AC_CANONICAL_HOST])dnl
2063
-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
2064
-AC_REQUIRE([AC_PROG_CC])dnl
2065
-AC_REQUIRE([AC_PROG_LD])dnl
2066
-AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
2067
-AC_REQUIRE([AC_PROG_NM])dnl
2069
+ # On AmigaOS with pdksh, this test takes hours, literally.
2070
+ # So we just punt and use a minimum line length of 8192.
2071
+ lt_cv_sys_max_cmd_len=8192;
2074
-AC_REQUIRE([AC_PROG_LN_S])dnl
2075
-AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
2076
-# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2077
-AC_REQUIRE([AC_OBJEXT])dnl
2078
-AC_REQUIRE([AC_EXEEXT])dnl
2080
-AC_LIBTOOL_SYS_MAX_CMD_LEN
2081
-AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
2083
+ netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
2084
+ # This has been around since 386BSD, at least. Likely further.
2085
+ if test -x /sbin/sysctl; then
2086
+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
2087
+ elif test -x /usr/sbin/sysctl; then
2088
+ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
2090
+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
2092
+ # And add a safety zone
2093
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
2094
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
2097
-AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
2098
-_LT_AC_PROG_ECHO_BACKSLASH
2100
+ # We know the value 262144 and hardcode it with a safety zone (like BSD)
2101
+ lt_cv_sys_max_cmd_len=196608
2106
- # AIX sometimes has problems with the GCC collect2 program. For some
2107
- # reason, if we set the COLLECT_NAMES environment variable, the problems
2108
- # vanish in a puff of smoke.
2109
- if test "X${COLLECT_NAMES+set}" != Xset; then
2111
- export COLLECT_NAMES
2116
+ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
2117
+ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
2118
+ # nice to cause kernel panics so lets avoid the loop below.
2119
+ # First set a reasonable default.
2120
+ lt_cv_sys_max_cmd_len=16384
2122
+ if test -x /sbin/sysconfig; then
2123
+ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
2124
+ *1*) lt_cv_sys_max_cmd_len=-1 ;;
2129
+ lt_cv_sys_max_cmd_len=102400
2131
+ sysv5* | sco5v6* | sysv4.2uw2*)
2132
+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
2133
+ if test -n "$kargmax"; then
2134
+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
2136
+ lt_cv_sys_max_cmd_len=32768
2140
+ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
2141
+ if test -n "$lt_cv_sys_max_cmd_len"; then
2142
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
2143
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
2145
+ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
2146
+ while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
2147
+ = "XX$teststring") >/dev/null 2>&1 &&
2148
+ new_result=`expr "X$teststring" : ".*" 2>&1` &&
2149
+ lt_cv_sys_max_cmd_len=$new_result &&
2150
+ test $i != 17 # 1/2 MB should be enough
2153
+ teststring=$teststring$teststring
2156
+ # Add a significant safety factor because C++ compilers can tack on massive
2157
+ # amounts of additional arguments before passing them to the linker.
2158
+ # It appears as though 1/2 is a usable value.
2159
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
2164
+if test -n $lt_cv_sys_max_cmd_len ; then
2165
+ AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
2167
+ AC_MSG_RESULT(none)
2169
+])# AC_LIBTOOL_SYS_MAX_CMD_LEN
2171
-# Sed substitution that helps us do robust quoting. It backslashifies
2172
-# metacharacters that are still active within double-quoted strings.
2173
-Xsed='sed -e 1s/^X//'
2174
-[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
2176
-# Same as above, but do not quote variable references.
2177
-[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
2178
+# _LT_AC_CHECK_DLFCN
2179
+# ------------------
2180
+AC_DEFUN([_LT_AC_CHECK_DLFCN],
2181
+[AC_CHECK_HEADERS(dlfcn.h)dnl
2182
+])# _LT_AC_CHECK_DLFCN
2184
-# Sed substitution to delay expansion of an escaped shell variable in a
2185
-# double_quote_subst'ed string.
2186
-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2188
-# Sed substitution to avoid accidental globbing in evaled expressions
2189
-no_glob_subst='s/\*/\\\*/g'
2190
+# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
2191
+# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
2192
+# ---------------------------------------------------------------------
2193
+AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
2194
+[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
2195
+if test "$cross_compiling" = yes; then :
2198
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
2199
+ lt_status=$lt_dlunknown
2200
+ cat > conftest.$ac_ext <<EOF
2201
+[#line __oline__ "configure"
2202
+#include "confdefs.h"
2210
-# Global variables:
2211
-default_ofile=libtool
2212
-can_build_shared=yes
2215
-# All known linkers require a `.a' archive for static linking (except MSVC,
2216
-# which needs '.lib').
2218
-ltmain="$ac_aux_dir/ltmain.sh"
2219
-ofile="$default_ofile"
2220
-with_gnu_ld="$lt_cv_prog_gnu_ld"
2222
+# define LT_DLGLOBAL RTLD_GLOBAL
2225
+# define LT_DLGLOBAL DL_GLOBAL
2227
+# define LT_DLGLOBAL 0
2231
-AC_CHECK_TOOL(AR, ar, false)
2232
-AC_CHECK_TOOL(RANLIB, ranlib, :)
2233
-AC_CHECK_TOOL(STRIP, strip, :)
2234
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
2235
+ find out it does not work in some platform. */
2236
+#ifndef LT_DLLAZY_OR_NOW
2238
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
2241
+# define LT_DLLAZY_OR_NOW DL_LAZY
2244
+# define LT_DLLAZY_OR_NOW RTLD_NOW
2247
+# define LT_DLLAZY_OR_NOW DL_NOW
2249
+# define LT_DLLAZY_OR_NOW 0
2257
-old_CFLAGS="$CFLAGS"
2259
+extern "C" void exit (int);
2262
-# Set sane defaults for various variables
2263
-test -z "$AR" && AR=ar
2264
-test -z "$AR_FLAGS" && AR_FLAGS=cru
2265
-test -z "$AS" && AS=as
2266
-test -z "$CC" && CC=cc
2267
-test -z "$LTCC" && LTCC=$CC
2268
-test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
2269
-test -z "$DLLTOOL" && DLLTOOL=dlltool
2270
-test -z "$LD" && LD=ld
2271
-test -z "$LN_S" && LN_S="ln -s"
2272
-test -z "$MAGIC_CMD" && MAGIC_CMD=file
2273
-test -z "$NM" && NM=nm
2274
-test -z "$SED" && SED=sed
2275
-test -z "$OBJDUMP" && OBJDUMP=objdump
2276
-test -z "$RANLIB" && RANLIB=:
2277
-test -z "$STRIP" && STRIP=:
2278
-test -z "$ac_objext" && ac_objext=o
2279
+void fnord() { int i=42;}
2282
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
2283
+ int status = $lt_dlunknown;
2285
-# Determine commands to create old-style static archives.
2286
-old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
2287
-old_postinstall_cmds='chmod 644 $oldlib'
2288
-old_postuninstall_cmds=
2291
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
2292
+ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
2293
+ /* dlclose (self); */
2296
+ puts (dlerror ());
2298
-if test -n "$RANLIB"; then
2301
- old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
2304
- old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
2307
- old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
2311
+ if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
2312
+ (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
2314
+ case x$lt_status in
2315
+ x$lt_dlno_uscore) $1 ;;
2316
+ x$lt_dlneed_uscore) $2 ;;
2317
+ x$lt_dlunknown|x*) $3 ;;
2320
+ # compilation failed
2325
+])# _LT_AC_TRY_DLOPEN_SELF
2327
-_LT_CC_BASENAME([$compiler])
2329
-# Only perform the check for file, if the check method requires it
2330
-case $deplibs_check_method in
2332
- if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2337
+# AC_LIBTOOL_DLOPEN_SELF
2338
+# ----------------------
2339
+AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
2340
+[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
2341
+if test "x$enable_dlopen" != xyes; then
2342
+ enable_dlopen=unknown
2343
+ enable_dlopen_self=unknown
2344
+ enable_dlopen_self_static=unknown
2347
+ lt_cv_dlopen_libs=
2349
-_LT_REQUIRED_DARWIN_CHECKS
2352
+ lt_cv_dlopen="load_add_on"
2353
+ lt_cv_dlopen_libs=
2354
+ lt_cv_dlopen_self=yes
2357
-AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
2358
-AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
2359
-enable_win32_dll=yes, enable_win32_dll=no)
2361
+ lt_cv_dlopen="LoadLibrary"
2362
+ lt_cv_dlopen_libs=
2365
-AC_ARG_ENABLE([libtool-lock],
2366
- [AC_HELP_STRING([--disable-libtool-lock],
2367
- [avoid locking (might break parallel builds)])])
2368
-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
2370
+ lt_cv_dlopen="dlopen"
2371
+ lt_cv_dlopen_libs=
2375
- [AC_HELP_STRING([--with-pic],
2376
- [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
2377
- [pic_mode="$withval"],
2378
- [pic_mode=default])
2379
-test -z "$pic_mode" && pic_mode=default
2381
+ # if libdl is installed we need to link against it
2382
+ AC_CHECK_LIB([dl], [dlopen],
2383
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
2384
+ lt_cv_dlopen="dyld"
2385
+ lt_cv_dlopen_libs=
2386
+ lt_cv_dlopen_self=yes
2390
-# Use C for the default configuration in the libtool script
2392
-AC_LIBTOOL_LANG_C_CONFIG
2394
-])# AC_LIBTOOL_SETUP
2396
+ AC_CHECK_FUNC([shl_load],
2397
+ [lt_cv_dlopen="shl_load"],
2398
+ [AC_CHECK_LIB([dld], [shl_load],
2399
+ [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
2400
+ [AC_CHECK_FUNC([dlopen],
2401
+ [lt_cv_dlopen="dlopen"],
2402
+ [AC_CHECK_LIB([dl], [dlopen],
2403
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
2404
+ [AC_CHECK_LIB([svld], [dlopen],
2405
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
2406
+ [AC_CHECK_LIB([dld], [dld_link],
2407
+ [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
2416
+ if test "x$lt_cv_dlopen" != xno; then
2422
-# _LT_AC_SYS_COMPILER
2423
-# -------------------
2424
-AC_DEFUN([_LT_AC_SYS_COMPILER],
2425
-[AC_REQUIRE([AC_PROG_CC])dnl
2426
+ case $lt_cv_dlopen in
2428
+ save_CPPFLAGS="$CPPFLAGS"
2429
+ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
2431
-# If no C compiler was specified, use CC.
2433
+ save_LDFLAGS="$LDFLAGS"
2434
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
2436
-# If no C compiler flags were specified, use CFLAGS.
2437
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
2439
+ LIBS="$lt_cv_dlopen_libs $LIBS"
2441
-# Allow CC to be a program name with arguments.
2443
-])# _LT_AC_SYS_COMPILER
2444
+ AC_CACHE_CHECK([whether a program can dlopen itself],
2445
+ lt_cv_dlopen_self, [dnl
2446
+ _LT_AC_TRY_DLOPEN_SELF(
2447
+ lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
2448
+ lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
2451
+ if test "x$lt_cv_dlopen_self" = xyes; then
2452
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
2453
+ AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
2454
+ lt_cv_dlopen_self_static, [dnl
2455
+ _LT_AC_TRY_DLOPEN_SELF(
2456
+ lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
2457
+ lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
2461
-# _LT_CC_BASENAME(CC)
2462
-# -------------------
2463
-# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
2464
-AC_DEFUN([_LT_CC_BASENAME],
2465
-[for cc_temp in $1""; do
2467
- compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
2468
- distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
2471
+ CPPFLAGS="$save_CPPFLAGS"
2472
+ LDFLAGS="$save_LDFLAGS"
2477
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
2480
+ case $lt_cv_dlopen_self in
2481
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
2482
+ *) enable_dlopen_self=unknown ;;
2485
-# _LT_COMPILER_BOILERPLATE
2486
-# ------------------------
2487
-# Check for compiler boilerplate output or warnings with
2488
-# the simple compiler test code.
2489
-AC_DEFUN([_LT_COMPILER_BOILERPLATE],
2490
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
2491
-ac_outfile=conftest.$ac_objext
2492
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext
2493
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
2494
-_lt_compiler_boilerplate=`cat conftest.err`
2496
-])# _LT_COMPILER_BOILERPLATE
2497
+ case $lt_cv_dlopen_self_static in
2498
+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
2499
+ *) enable_dlopen_self_static=unknown ;;
2502
+])# AC_LIBTOOL_DLOPEN_SELF
2505
-# _LT_LINKER_BOILERPLATE
2506
-# ----------------------
2507
-# Check for linker boilerplate output or warnings with
2508
-# the simple link test code.
2509
-AC_DEFUN([_LT_LINKER_BOILERPLATE],
2510
+# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
2511
+# ---------------------------------
2512
+# Check to see if options -c and -o are simultaneously supported by compiler
2513
+AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
2514
[AC_REQUIRE([LT_AC_PROG_SED])dnl
2515
-ac_outfile=conftest.$ac_objext
2516
-echo "$lt_simple_link_test_code" >conftest.$ac_ext
2517
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
2518
-_lt_linker_boilerplate=`cat conftest.err`
2520
-])# _LT_LINKER_BOILERPLATE
2522
-# _LT_REQUIRED_DARWIN_CHECKS
2523
-# --------------------------
2524
-# Check for some things on darwin
2525
-AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[
2527
- rhapsody* | darwin*)
2528
- AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
2529
- AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
2530
+AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
2531
+AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
2532
+ [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
2533
+ [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
2534
+ $rm -r conftest 2>/dev/null
2538
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
2540
- AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
2541
- [lt_cv_apple_cc_single_mod=no
2542
- if test -z "${LT_MULTI_MODULE}"; then
2543
- # By default we will add the -single_module flag. You can override
2544
- # by either setting the environment variable LT_MULTI_MODULE
2545
- # non-empty at configure time, or by adding -multi_module to the
2547
- echo "int foo(void){return 1;}" > conftest.c
2548
- $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
2549
- -dynamiclib ${wl}-single_module conftest.c
2550
- if test -f libconftest.dylib; then
2551
- lt_cv_apple_cc_single_mod=yes
2552
- rm -rf libconftest.dylib*
2553
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
2554
+ # Insert the option either (1) after the last *FLAGS variable, or
2555
+ # (2) before a word containing "conftest.", or (3) at the end.
2556
+ # Note that $ac_compile itself does not contain backslashes and begins
2557
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
2558
+ lt_compile=`echo "$ac_compile" | $SED \
2559
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2560
+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
2561
+ -e 's:$: $lt_compiler_flag:'`
2562
+ (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
2563
+ (eval "$lt_compile" 2>out/conftest.err)
2565
+ cat out/conftest.err >&AS_MESSAGE_LOG_FD
2566
+ echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
2567
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
2569
+ # The compiler can only warn and ignore the option if not recognized
2570
+ # So say no if there are warnings
2571
+ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
2572
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
2573
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
2574
+ _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
2579
- AC_CACHE_CHECK([for -exported_symbols_list linker flag],
2580
- [lt_cv_ld_exported_symbols_list],
2581
- [lt_cv_ld_exported_symbols_list=no
2582
- save_LDFLAGS=$LDFLAGS
2583
- echo "_main" > conftest.sym
2584
- LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
2585
- AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
2586
- [lt_cv_ld_exported_symbols_list=yes],
2587
- [lt_cv_ld_exported_symbols_list=no])
2588
- LDFLAGS="$save_LDFLAGS"
2591
- rhapsody* | darwin1.[[0123]])
2592
- _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
2594
- _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
2596
- # if running on 10.5 or later, the deployment target defaults
2597
- # to the OS version, if on x86, and 10.4, the deployment
2598
- # target defaults to 10.4. Don't you love it?
2599
- case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
2600
- 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
2601
- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
2603
- _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
2605
- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
2609
- if test "$lt_cv_apple_cc_single_mod" = "yes"; then
2610
- _lt_dar_single_mod='$single_module'
2612
- if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
2613
- _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
2615
- _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
2617
- if test "$DSYMUTIL" != ":"; then
2618
- _lt_dsymutil="~$DSYMUTIL \$lib || :"
2624
+ chmod u+w . 2>&AS_MESSAGE_LOG_FD
2626
+ # SGI C++ compiler will create directory out/ii_files/ for
2627
+ # template instantiation
2628
+ test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
2629
+ $rm out/* && rmdir out
2634
+])# AC_LIBTOOL_PROG_CC_C_O
2636
-# _LT_AC_SYS_LIBPATH_AIX
2637
-# ----------------------
2638
-# Links a minimal program and checks the executable
2639
-# for the system default hardcoded library path. In most cases,
2640
-# this is /usr/lib:/lib, but when the MPI compilers are used
2641
-# the location of the communication and MPI libs are included too.
2642
-# If we don't find anything, use the default library path according
2643
-# to the aix ld manual.
2644
-AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
2645
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
2646
-AC_LINK_IFELSE(AC_LANG_PROGRAM,[
2647
-lt_aix_libpath_sed='
2648
- /Import File Strings/,/^$/ {
2654
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
2655
-# Check for a 64-bit object if we didn't find anything.
2656
-if test -z "$aix_libpath"; then
2657
- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
2659
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
2660
-])# _LT_AC_SYS_LIBPATH_AIX
2663
-# _LT_AC_SHELL_INIT(ARG)
2664
-# ----------------------
2665
-AC_DEFUN([_LT_AC_SHELL_INIT],
2666
-[ifdef([AC_DIVERSION_NOTICE],
2667
- [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
2668
- [AC_DIVERT_PUSH(NOTICE)])
2671
-])# _LT_AC_SHELL_INIT
2673
+# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
2674
+# -----------------------------------------
2675
+# Check to see if we can do hard links to lock some files if needed
2676
+AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
2677
+[AC_REQUIRE([_LT_AC_LOCK])dnl
2679
-# _LT_AC_PROG_ECHO_BACKSLASH
2680
-# --------------------------
2681
-# Add some code to the start of the generated configure script which
2682
-# will find an echo command which doesn't interpret backslashes.
2683
-AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
2684
-[_LT_AC_SHELL_INIT([
2685
-# Check that we are running under the correct shell.
2686
-SHELL=${CONFIG_SHELL-/bin/sh}
2687
+hard_links="nottested"
2688
+if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
2689
+ # do not overwrite the value of need_locks provided by the user
2690
+ AC_MSG_CHECKING([if we can lock with hard links])
2693
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
2695
+ ln conftest.a conftest.b 2>&5 || hard_links=no
2696
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
2697
+ AC_MSG_RESULT([$hard_links])
2698
+ if test "$hard_links" = no; then
2699
+ AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
2705
+])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
2709
- # Remove one level of quotation (which was required for Make).
2710
- ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
2715
-if test "X[$]1" = X--no-reexec; then
2716
- # Discard the --no-reexec flag, and continue.
2718
-elif test "X[$]1" = X--fallback-echo; then
2719
- # Avoid inline document here, it may be left over
2721
-elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
2722
- # Yippee, $echo works!
2724
+# AC_LIBTOOL_OBJDIR
2725
+# -----------------
2726
+AC_DEFUN([AC_LIBTOOL_OBJDIR],
2727
+[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
2728
+[rm -f .libs 2>/dev/null
2729
+mkdir .libs 2>/dev/null
2730
+if test -d .libs; then
2731
+ lt_cv_objdir=.libs
2733
- # Restart under the correct shell.
2734
- exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
2735
+ # MS-DOS does not allow filenames that begin with a dot.
2736
+ lt_cv_objdir=_libs
2738
+rmdir .libs 2>/dev/null])
2739
+objdir=$lt_cv_objdir
2740
+])# AC_LIBTOOL_OBJDIR
2742
-if test "X[$]1" = X--fallback-echo; then
2743
- # used as fallback echo
2751
-# The HP-UX ksh and POSIX shell print the target directory to stdout
2752
-# if CDPATH is set.
2753
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2754
+# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
2755
+# ----------------------------------------------
2756
+# Check hardcoding attributes.
2757
+AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
2758
+[AC_MSG_CHECKING([how to hardcode library paths into programs])
2759
+_LT_AC_TAGVAR(hardcode_action, $1)=
2760
+if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
2761
+ test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
2762
+ test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
2764
-if test -z "$ECHO"; then
2765
-if test "X${echo_test_string+set}" != Xset; then
2766
-# find a string as large as possible, as long as the shell can cope with it
2767
- for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
2768
- # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
2769
- if (echo_test_string=`eval $cmd`) 2>/dev/null &&
2770
- echo_test_string=`eval $cmd` &&
2771
- (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
2778
-if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
2779
- echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
2780
- test "X$echo_testing_string" = "X$echo_test_string"; then
2782
+ # We can hardcode non-existant directories.
2783
+ if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
2784
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
2785
+ # have to relink, otherwise we might link with an installed library
2786
+ # when we should be linking with a yet-to-be-installed one
2787
+ ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
2788
+ test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
2789
+ # Linking always hardcodes the temporary library directory.
2790
+ _LT_AC_TAGVAR(hardcode_action, $1)=relink
2792
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
2793
+ _LT_AC_TAGVAR(hardcode_action, $1)=immediate
2796
- # The Solaris, AIX, and Digital Unix default echo programs unquote
2797
- # backslashes. This makes it impossible to quote backslashes using
2798
- # echo "$something" | sed 's/\\/\\\\/g'
2800
- # So, first we look for a working echo in the user's PATH.
2802
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2803
- for dir in $PATH /usr/ucb; do
2804
- IFS="$lt_save_ifs"
2805
- if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
2806
- test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
2807
- echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
2808
- test "X$echo_testing_string" = "X$echo_test_string"; then
2813
- IFS="$lt_save_ifs"
2814
+ # We cannot hardcode anything, or else we can only hardcode existing
2816
+ _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
2818
+AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
2820
- if test "X$echo" = Xecho; then
2821
- # We didn't find a better echo, so look for alternatives.
2822
- if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
2823
- echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
2824
- test "X$echo_testing_string" = "X$echo_test_string"; then
2825
- # This shell has a builtin print -r that does the trick.
2827
- elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
2828
- test "X$CONFIG_SHELL" != X/bin/ksh; then
2829
- # If we have ksh, try running configure again with it.
2830
- ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
2831
- export ORIGINAL_CONFIG_SHELL
2832
- CONFIG_SHELL=/bin/ksh
2833
- export CONFIG_SHELL
2834
- exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
2836
- # Try using printf.
2837
- echo='printf %s\n'
2838
- if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
2839
- echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
2840
- test "X$echo_testing_string" = "X$echo_test_string"; then
2841
- # Cool, printf works
2843
- elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
2844
- test "X$echo_testing_string" = 'X\t' &&
2845
- echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
2846
- test "X$echo_testing_string" = "X$echo_test_string"; then
2847
- CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
2848
- export CONFIG_SHELL
2849
- SHELL="$CONFIG_SHELL"
2851
- echo="$CONFIG_SHELL [$]0 --fallback-echo"
2852
- elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
2853
- test "X$echo_testing_string" = 'X\t' &&
2854
- echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
2855
- test "X$echo_testing_string" = "X$echo_test_string"; then
2856
- echo="$CONFIG_SHELL [$]0 --fallback-echo"
2858
- # maybe with a smaller string...
2860
+if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
2861
+ # Fast installation is not supported
2862
+ enable_fast_install=no
2863
+elif test "$shlibpath_overrides_runpath" = yes ||
2864
+ test "$enable_shared" = no; then
2865
+ # Fast installation is not necessary
2866
+ enable_fast_install=needless
2868
+])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
2870
- for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
2871
- if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
2878
- if test "$prev" != 'sed 50q "[$]0"'; then
2879
- echo_test_string=`eval $prev`
2880
- export echo_test_string
2881
- exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
2883
- # Oops. We lost completely, so just stick with echo.
2889
+# AC_LIBTOOL_SYS_LIB_STRIP
2890
+# ------------------------
2891
+AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
2894
+AC_MSG_CHECKING([whether stripping libraries is possible])
2895
+if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
2896
+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
2897
+ test -z "$striplib" && striplib="$STRIP --strip-unneeded"
2898
+ AC_MSG_RESULT([yes])
2900
+# FIXME - insert some real tests, host_os isn't really good enough
2903
+ if test -n "$STRIP" ; then
2904
+ striplib="$STRIP -x"
2905
+ old_striplib="$STRIP -S"
2906
+ AC_MSG_RESULT([yes])
2908
+ AC_MSG_RESULT([no])
2912
+ AC_MSG_RESULT([no])
2916
+])# AC_LIBTOOL_SYS_LIB_STRIP
2918
-# Copy echo and quote the copy suitably for passing to libtool from
2919
-# the Makefile, instead of quoting the original, which is used later.
2921
-if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
2922
- ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
2926
-])])# _LT_AC_PROG_ECHO_BACKSLASH
2927
+# AC_LIBTOOL_SYS_DYNAMIC_LINKER
2928
+# -----------------------------
2929
+# PORTME Fill in your ld.so characteristics
2930
+AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
2931
+[AC_REQUIRE([LT_AC_PROG_SED])dnl
2932
+AC_MSG_CHECKING([dynamic linker characteristics])
2933
+library_names_spec=
2934
+libname_spec='lib$name'
2938
+postuninstall_cmds=
2942
+shlibpath_overrides_runpath=unknown
2944
+dynamic_linker="$host_os ld.so"
2945
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
2947
+if test "$GCC" = yes; then
2949
+ darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
2950
+ *) lt_awk_arg="/^libraries:/" ;;
2952
+ lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2953
+ if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
2954
+ # if the path contains ";" then we assume it to be the separator
2955
+ # otherwise default to the standard path separator (i.e. ":") - it is
2956
+ # assumed that no part of a normal pathname contains ";" but that should
2957
+ # okay in the real world where ";" in dirpaths is itself problematic.
2958
+ lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
2960
+ lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2962
+ # Ok, now we have the path, separated by spaces, we can step through it
2963
+ # and add multilib dir if necessary.
2964
+ lt_tmp_lt_search_path_spec=
2965
+ lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
2966
+ for lt_sys_path in $lt_search_path_spec; do
2967
+ if test -d "$lt_sys_path/$lt_multi_os_dir"; then
2968
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
2970
+ test -d "$lt_sys_path" && \
2971
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
2974
+ lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
2975
+BEGIN {RS=" "; FS="/|\n";} {
2978
+ for (lt_i = NF; lt_i > 0; lt_i--) {
2979
+ if ($lt_i != "" && $lt_i != ".") {
2980
+ if ($lt_i == "..") {
2983
+ if (lt_count == 0) {
2984
+ lt_foo="/" $lt_i lt_foo;
2991
+ if (lt_foo != "") { lt_freq[[lt_foo]]++; }
2992
+ if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
2994
+ sys_lib_search_path_spec=`echo $lt_search_path_spec`
2996
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
2998
+need_lib_prefix=unknown
2999
+hardcode_into_libs=no
3001
+# when you set need_version to no, make sure it does not cause -set_version
3002
+# flags to be left without arguments
3003
+need_version=unknown
3007
-AC_DEFUN([_LT_AC_LOCK],
3008
-[AC_ARG_ENABLE([libtool-lock],
3009
- [AC_HELP_STRING([--disable-libtool-lock],
3010
- [avoid locking (might break parallel builds)])])
3011
-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3014
+ version_type=linux
3015
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
3016
+ shlibpath_var=LIBPATH
3018
-# Some flags need to be propagated to the compiler or linker for good
3022
- # Find out which ABI we are using.
3023
- echo 'int i;' > conftest.$ac_ext
3024
- if AC_TRY_EVAL(ac_compile); then
3025
- case `/usr/bin/file conftest.$ac_objext` in
3027
- HPUX_IA64_MODE="32"
3030
- HPUX_IA64_MODE="64"
3035
+ # AIX 3 has no versioning support, so we append a major version to the name.
3036
+ soname_spec='${libname}${release}${shared_ext}$major'
3039
- # Find out which ABI we are using.
3040
- echo '[#]line __oline__ "configure"' > conftest.$ac_ext
3041
- if AC_TRY_EVAL(ac_compile); then
3042
- if test "$lt_cv_prog_gnu_ld" = yes; then
3043
- case `/usr/bin/file conftest.$ac_objext` in
3045
- LD="${LD-ld} -melf32bsmip"
3048
- LD="${LD-ld} -melf32bmipn32"
3051
- LD="${LD-ld} -melf64bmip"
3055
- case `/usr/bin/file conftest.$ac_objext` in
3060
- LD="${LD-ld} -n32"
3066
+ version_type=linux
3067
+ need_lib_prefix=no
3069
+ hardcode_into_libs=yes
3070
+ if test "$host_cpu" = ia64; then
3071
+ # AIX 5 supports IA64
3072
+ library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
3073
+ shlibpath_var=LD_LIBRARY_PATH
3075
+ # With GCC up to 2.95.x, collect2 would create an import file
3076
+ # for dependence libraries. The import file would start with
3077
+ # the line `#! .'. This would cause the generated library to
3078
+ # depend on `.', always an invalid library. This was fixed in
3079
+ # development snapshots of GCC prior to 3.0.
3081
+ aix4 | aix4.[[01]] | aix4.[[01]].*)
3082
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
3084
+ echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
3087
+ can_build_shared=no
3092
+ # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
3093
+ # soname into executable. Probably we can add versioning support to
3094
+ # collect2, so additional links can be useful in future.
3095
+ if test "$aix_use_runtimelinking" = yes; then
3096
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
3097
+ # instead of lib<name>.a to let people know that these are not
3098
+ # typical AIX shared libraries.
3099
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3101
+ # We preserve .a as extension for shared libraries through AIX4.2
3102
+ # and later when we are not doing run time linking.
3103
+ library_names_spec='${libname}${release}.a $libname.a'
3104
+ soname_spec='${libname}${release}${shared_ext}$major'
3106
+ shlibpath_var=LIBPATH
3111
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
3112
-s390*-*linux*|sparc*-*linux*)
3113
- # Find out which ABI we are using.
3114
- echo 'int i;' > conftest.$ac_ext
3115
- if AC_TRY_EVAL(ac_compile); then
3116
- case `/usr/bin/file conftest.o` in
3119
- x86_64-*kfreebsd*-gnu)
3120
- LD="${LD-ld} -m elf_i386_fbsd"
3123
- LD="${LD-ld} -m elf_i386"
3125
- ppc64-*linux*|powerpc64-*linux*)
3126
- LD="${LD-ld} -m elf32ppclinux"
3129
- LD="${LD-ld} -m elf_s390"
3132
- LD="${LD-ld} -m elf32_sparc"
3139
- x86_64-*kfreebsd*-gnu)
3140
- LD="${LD-ld} -m elf_x86_64_fbsd"
3143
- LD="${LD-ld} -m elf_x86_64"
3145
- ppc*-*linux*|powerpc*-*linux*)
3146
- LD="${LD-ld} -m elf64ppc"
3149
- LD="${LD-ld} -m elf64_s390"
3152
- LD="${LD-ld} -m elf64_sparc"
3160
+ library_names_spec='$libname.ixlibrary $libname.a'
3161
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
3162
+ 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'
3166
- # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3167
- SAVE_CFLAGS="$CFLAGS"
3168
- CFLAGS="$CFLAGS -belf"
3169
- AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
3171
- AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
3173
- if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3174
- # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3175
- CFLAGS="$SAVE_CFLAGS"
3178
+ library_names_spec='${libname}${shared_ext}'
3179
+ dynamic_linker="$host_os ld.so"
3180
+ shlibpath_var=LIBRARY_PATH
3183
- # Find out which ABI we are using.
3184
- echo 'int i;' > conftest.$ac_ext
3185
- if AC_TRY_EVAL(ac_compile); then
3186
- case `/usr/bin/file conftest.o` in
3188
- case $lt_cv_prog_gnu_ld in
3189
- yes*) LD="${LD-ld} -m elf64_sparc" ;;
3191
- if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
3198
+ version_type=linux
3200
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3201
+ soname_spec='${libname}${release}${shared_ext}$major'
3202
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
3203
+ shlibpath_var=LD_LIBRARY_PATH
3204
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
3205
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
3206
+ # the default ld.so.conf also contains /usr/contrib/lib and
3207
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
3208
+ # libtool to hard-code these into programs
3211
+cygwin* | mingw* | pw32*)
3212
+ version_type=windows
3213
+ shrext_cmds=".dll"
3215
+ need_lib_prefix=no
3217
+ case $GCC,$host_os in
3218
+ yes,cygwin* | yes,mingw* | yes,pw32*)
3219
+ library_names_spec='$libname.dll.a'
3220
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
3221
+ postinstall_cmds='base_file=`basename \${file}`~
3222
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
3223
+ dldir=$destdir/`dirname \$dlpath`~
3224
+ test -d \$dldir || mkdir -p \$dldir~
3225
+ $install_prog $dir/$dlname \$dldir/$dlname~
3226
+ chmod a+x \$dldir/$dlname'
3227
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
3228
+ dlpath=$dir/\$dldll~
3230
+ shlibpath_overrides_runpath=yes
3234
+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
3235
+ soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
3236
+ sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
3239
+ # MinGW DLLs use traditional 'lib' prefix
3240
+ soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
3241
+ sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
3242
+ if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
3243
+ # It is most probably a Windows format PATH printed by
3244
+ # mingw gcc, but we are running on Cygwin. Gcc prints its search
3245
+ # path with ; separators, and with drive letters. We can handle the
3246
+ # drive letters (cygwin fileutils understands them), so leave them,
3247
+ # especially as we might pass files found there to a mingw objdump,
3248
+ # which wouldn't understand a cygwinified path. Ahh.
3249
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
3251
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
3255
+ # pw32 DLLs use 'pw' prefix rather than 'lib'
3256
+ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
3264
-AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
3265
-[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
3266
- AC_CHECK_TOOL(DLLTOOL, dlltool, false)
3267
- AC_CHECK_TOOL(AS, as, false)
3268
- AC_CHECK_TOOL(OBJDUMP, objdump, false)
3270
+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
3273
+ dynamic_linker='Win32 ld.exe'
3274
+ # FIXME: first we should search . and the directory the executable is in
3275
+ shlibpath_var=PATH
3280
-need_locks="$enable_libtool_lock"
3283
+darwin* | rhapsody*)
3284
+ dynamic_linker="$host_os dyld"
3285
+ version_type=darwin
3286
+ need_lib_prefix=no
3288
+ library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
3289
+ soname_spec='${libname}${release}${major}$shared_ext'
3290
+ shlibpath_overrides_runpath=yes
3291
+ shlibpath_var=DYLD_LIBRARY_PATH
3292
+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
3294
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
3295
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
3299
+ version_type=linux
3300
+ need_lib_prefix=no
3302
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
3303
+ soname_spec='${libname}${release}${shared_ext}$major'
3304
+ shlibpath_var=LD_LIBRARY_PATH
3307
-# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
3308
-# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
3309
-# ----------------------------------------------------------------
3310
-# Check whether the given compiler option works
3311
-AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
3312
-[AC_REQUIRE([LT_AC_PROG_SED])
3313
-AC_CACHE_CHECK([$1], [$2],
3315
- ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
3316
- echo "$lt_simple_compile_test_code" > conftest.$ac_ext
3317
- lt_compiler_flag="$3"
3318
- # Insert the option either (1) after the last *FLAGS variable, or
3319
- # (2) before a word containing "conftest.", or (3) at the end.
3320
- # Note that $ac_compile itself does not contain backslashes and begins
3321
- # with a dollar sign (not a hyphen), so the echo should work correctly.
3322
- # The option is referenced via a variable to avoid confusing sed.
3323
- lt_compile=`echo "$ac_compile" | $SED \
3324
- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
3325
- -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
3326
- -e 's:$: $lt_compiler_flag:'`
3327
- (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
3328
- (eval "$lt_compile" 2>conftest.err)
3330
- cat conftest.err >&AS_MESSAGE_LOG_FD
3331
- echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
3332
- if (exit $ac_status) && test -s "$ac_outfile"; then
3333
- # The compiler can only warn and ignore the option if not recognized
3334
- # So say no if there are warnings other than the usual output.
3335
- $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
3336
- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
3337
- if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
3344
-if test x"[$]$2" = xyes; then
3345
- ifelse([$5], , :, [$5])
3347
- ifelse([$6], , :, [$6])
3349
-])# AC_LIBTOOL_COMPILER_OPTION
3352
-# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
3353
-# [ACTION-SUCCESS], [ACTION-FAILURE])
3354
-# ------------------------------------------------------------
3355
-# Check whether the given compiler option works
3356
-AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
3357
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
3358
-AC_CACHE_CHECK([$1], [$2],
3360
- save_LDFLAGS="$LDFLAGS"
3361
- LDFLAGS="$LDFLAGS $3"
3362
- echo "$lt_simple_link_test_code" > conftest.$ac_ext
3363
- if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
3364
- # The linker can only warn and ignore the option if not recognized
3365
- # So say no if there are warnings
3366
- if test -s conftest.err; then
3367
- # Append any errors to the config.log.
3368
- cat conftest.err 1>&AS_MESSAGE_LOG_FD
3369
- $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
3370
- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
3371
- if diff conftest.exp conftest.er2 >/dev/null; then
3379
- LDFLAGS="$save_LDFLAGS"
3382
-if test x"[$]$2" = xyes; then
3383
- ifelse([$4], , :, [$4])
3385
- ifelse([$5], , :, [$5])
3387
-])# AC_LIBTOOL_LINKER_OPTION
3390
-# AC_LIBTOOL_SYS_MAX_CMD_LEN
3391
-# --------------------------
3392
-AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
3393
-[# find the maximum length of command line arguments
3394
-AC_MSG_CHECKING([the maximum length of command line arguments])
3395
-AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
3404
- # On DJGPP, this test can blow up pretty badly due to problems in libc
3405
- # (any single argument exceeding 2000 bytes causes a buffer overrun
3406
- # during glob expansion). Even if it were fixed, the result of this
3407
- # check would be larger than it should be.
3408
- lt_cv_sys_max_cmd_len=12288; # 12K is about right
3409
+freebsd* | dragonfly*)
3410
+ # DragonFly does not have aout. When/if they implement a new
3411
+ # versioning mechanism, adjust this.
3412
+ if test -x /usr/bin/objformat; then
3413
+ objformat=`/usr/bin/objformat`
3416
+ freebsd[[123]]*) objformat=aout ;;
3417
+ *) objformat=elf ;;
3420
+ version_type=freebsd-$objformat
3421
+ case $version_type in
3423
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
3425
+ need_lib_prefix=no
3428
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
3432
+ shlibpath_var=LD_LIBRARY_PATH
3435
+ shlibpath_overrides_runpath=yes
3439
- # Under GNU Hurd, this test is not required because there is
3440
- # no limit to the length of command line arguments.
3441
- # Libtool will interpret -1 as no limit whatsoever
3442
- lt_cv_sys_max_cmd_len=-1;
3443
+ freebsd3.[[01]]* | freebsdelf3.[[01]]*)
3444
+ shlibpath_overrides_runpath=yes
3445
+ hardcode_into_libs=yes
3449
- # On Win9x/ME, this test blows up -- it succeeds, but takes
3450
- # about 5 minutes as the teststring grows exponentially.
3451
- # Worse, since 9x/ME are not pre-emptively multitasking,
3452
- # you end up with a "frozen" computer, even though with patience
3453
- # the test eventually succeeds (with a max line length of 256k).
3454
- # Instead, let's just punt: use the minimum linelength reported by
3455
- # all of the supported platforms: 8192 (on NT/2K/XP).
3456
- lt_cv_sys_max_cmd_len=8192;
3457
+ freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
3458
+ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
3459
+ shlibpath_overrides_runpath=no
3460
+ hardcode_into_libs=yes
3464
- # On AmigaOS with pdksh, this test takes hours, literally.
3465
- # So we just punt and use a minimum line length of 8192.
3466
- lt_cv_sys_max_cmd_len=8192;
3467
+ *) # from 4.6 on, and DragonFly
3468
+ shlibpath_overrides_runpath=yes
3469
+ hardcode_into_libs=yes
3474
- netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3475
- # This has been around since 386BSD, at least. Likely further.
3476
- if test -x /sbin/sysctl; then
3477
- lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3478
- elif test -x /usr/sbin/sysctl; then
3479
- lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3481
+ version_type=linux
3482
+ need_lib_prefix=no
3484
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
3485
+ soname_spec='${libname}${release}${shared_ext}$major'
3486
+ shlibpath_var=LD_LIBRARY_PATH
3487
+ hardcode_into_libs=yes
3490
+hpux9* | hpux10* | hpux11*)
3491
+ # Give a soname corresponding to the major version so that dld.sl refuses to
3492
+ # link against other versions.
3493
+ version_type=sunos
3494
+ need_lib_prefix=no
3499
+ hardcode_into_libs=yes
3500
+ dynamic_linker="$host_os dld.so"
3501
+ shlibpath_var=LD_LIBRARY_PATH
3502
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
3503
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3504
+ soname_spec='${libname}${release}${shared_ext}$major'
3505
+ if test "X$HPUX_IA64_MODE" = X32; then
3506
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
3508
- lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
3509
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
3511
- # And add a safety zone
3512
- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3513
- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3514
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
3518
- # We know the value 262144 and hardcode it with a safety zone (like BSD)
3519
- lt_cv_sys_max_cmd_len=196608
3522
+ hardcode_into_libs=yes
3523
+ dynamic_linker="$host_os dld.sl"
3524
+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
3525
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
3526
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3527
+ soname_spec='${libname}${release}${shared_ext}$major'
3528
+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
3529
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
3533
+ dynamic_linker="$host_os dld.sl"
3534
+ shlibpath_var=SHLIB_PATH
3535
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
3536
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3537
+ soname_spec='${libname}${release}${shared_ext}$major'
3540
+ # HP-UX runs *really* slowly unless shared libraries are mode 555.
3541
+ postinstall_cmds='chmod 555 $lib'
3545
- # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3546
- # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3547
- # nice to cause kernel panics so lets avoid the loop below.
3548
- # First set a reasonable default.
3549
- lt_cv_sys_max_cmd_len=16384
3551
- if test -x /sbin/sysconfig; then
3552
- case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
3553
- *1*) lt_cv_sys_max_cmd_len=-1 ;;
3558
- lt_cv_sys_max_cmd_len=102400
3560
- sysv5* | sco5v6* | sysv4.2uw2*)
3561
- kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
3562
- if test -n "$kargmax"; then
3563
- lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
3565
- lt_cv_sys_max_cmd_len=32768
3569
- lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
3570
- if test -n "$lt_cv_sys_max_cmd_len"; then
3571
- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3572
- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3574
- SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
3575
- while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
3576
- = "XX$teststring") >/dev/null 2>&1 &&
3577
- new_result=`expr "X$teststring" : ".*" 2>&1` &&
3578
- lt_cv_sys_max_cmd_len=$new_result &&
3579
- test $i != 17 # 1/2 MB should be enough
3582
- teststring=$teststring$teststring
3585
- # Add a significant safety factor because C++ compilers can tack on massive
3586
- # amounts of additional arguments before passing them to the linker.
3587
- # It appears as though 1/2 is a usable value.
3588
- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
3591
+ version_type=linux
3592
+ need_lib_prefix=no
3594
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
3595
+ soname_spec='${libname}${release}${shared_ext}$major'
3596
+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
3597
+ shlibpath_var=LD_LIBRARY_PATH
3598
+ shlibpath_overrides_runpath=no
3599
+ hardcode_into_libs=yes
3602
+irix5* | irix6* | nonstopux*)
3604
+ nonstopux*) version_type=nonstopux ;;
3606
+ if test "$lt_cv_prog_gnu_ld" = yes; then
3607
+ version_type=linux
3612
+ need_lib_prefix=no
3614
+ soname_spec='${libname}${release}${shared_ext}$major'
3615
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
3617
+ irix5* | nonstopux*)
3618
+ libsuff= shlibsuff=
3621
+ case $LD in # libtool.m4 will add one of these switches to LD
3622
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
3623
+ libsuff= shlibsuff= libmagic=32-bit;;
3624
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
3625
+ libsuff=32 shlibsuff=N32 libmagic=N32;;
3626
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
3627
+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
3628
+ *) libsuff= shlibsuff= libmagic=never-match;;
3633
-if test -n $lt_cv_sys_max_cmd_len ; then
3634
- AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
3636
- AC_MSG_RESULT(none)
3638
-])# AC_LIBTOOL_SYS_MAX_CMD_LEN
3641
-# _LT_AC_CHECK_DLFCN
3642
-# ------------------
3643
-AC_DEFUN([_LT_AC_CHECK_DLFCN],
3644
-[AC_CHECK_HEADERS(dlfcn.h)dnl
3645
-])# _LT_AC_CHECK_DLFCN
3648
-# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
3649
-# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
3650
-# ---------------------------------------------------------------------
3651
-AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
3652
-[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
3653
-if test "$cross_compiling" = yes; then :
3656
- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
3657
- lt_status=$lt_dlunknown
3658
- cat > conftest.$ac_ext <<EOF
3659
-[#line __oline__ "configure"
3660
-#include "confdefs.h"
3665
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
3666
+ shlibpath_overrides_runpath=no
3667
+ sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
3668
+ sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
3669
+ hardcode_into_libs=yes
3673
+# No shared lib support for Linux oldld, aout, or coff.
3674
+linux*oldld* | linux*aout* | linux*coff*)
3679
-# define LT_DLGLOBAL RTLD_GLOBAL
3682
-# define LT_DLGLOBAL DL_GLOBAL
3684
-# define LT_DLGLOBAL 0
3687
+# This must be Linux ELF.
3688
+linux* | k*bsd*-gnu)
3689
+ version_type=linux
3690
+ need_lib_prefix=no
3692
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3693
+ soname_spec='${libname}${release}${shared_ext}$major'
3694
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
3695
+ shlibpath_var=LD_LIBRARY_PATH
3696
+ shlibpath_overrides_runpath=no
3697
+ # This implies no fast_install, which is unacceptable.
3698
+ # Some rework will be needed to allow for fast_install
3699
+ # before this can be enabled.
3700
+ hardcode_into_libs=yes
3702
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
3703
- find out it does not work in some platform. */
3704
-#ifndef LT_DLLAZY_OR_NOW
3706
-# define LT_DLLAZY_OR_NOW RTLD_LAZY
3709
-# define LT_DLLAZY_OR_NOW DL_LAZY
3712
-# define LT_DLLAZY_OR_NOW RTLD_NOW
3715
-# define LT_DLLAZY_OR_NOW DL_NOW
3717
-# define LT_DLLAZY_OR_NOW 0
3723
+ # Append ld.so.conf contents to the search path
3724
+ if test -f /etc/ld.so.conf; then
3725
+ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
3726
+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
3730
-extern "C" void exit (int);
3732
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
3733
+ # powerpc, because MkLinux only supported shared libraries with the
3734
+ # GNU dynamic linker. Since this was broken with cross compilers,
3735
+ # most powerpc-linux boxes support dynamic linking these days and
3736
+ # people can always --disable-shared, the test was removed, and we
3737
+ # assume the GNU/Linux dynamic linker is in use.
3738
+ dynamic_linker='GNU/Linux ld.so'
3741
-void fnord() { int i=42;}
3744
- void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
3745
- int status = $lt_dlunknown;
3747
+ version_type=linux
3748
+ need_lib_prefix=no
3750
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
3751
+ soname_spec='${libname}${release}${shared_ext}$major'
3752
+ shlibpath_var=LD_LIBRARY_PATH
3753
+ shlibpath_overrides_runpath=no
3754
+ hardcode_into_libs=yes
3755
+ dynamic_linker='NetBSD ld.elf_so'
3760
- if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
3761
- else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
3762
- /* dlclose (self); */
3765
+ version_type=sunos
3766
+ need_lib_prefix=no
3768
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3769
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
3770
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
3771
+ dynamic_linker='NetBSD (a.out) ld.so'
3773
- puts (dlerror ());
3778
- if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
3779
- (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
3781
- case x$lt_status in
3782
- x$lt_dlno_uscore) $1 ;;
3783
- x$lt_dlneed_uscore) $2 ;;
3784
- x$lt_dlunknown|x*) $3 ;;
3787
- # compilation failed
3789
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
3790
+ soname_spec='${libname}${release}${shared_ext}$major'
3791
+ dynamic_linker='NetBSD ld.elf_so'
3795
-])# _LT_AC_TRY_DLOPEN_SELF
3796
+ shlibpath_var=LD_LIBRARY_PATH
3797
+ shlibpath_overrides_runpath=yes
3798
+ hardcode_into_libs=yes
3802
+ version_type=linux
3803
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3804
+ shlibpath_var=LD_LIBRARY_PATH
3805
+ shlibpath_overrides_runpath=yes
3808
-# AC_LIBTOOL_DLOPEN_SELF
3809
-# ----------------------
3810
-AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
3811
-[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
3812
-if test "x$enable_dlopen" != xyes; then
3813
- enable_dlopen=unknown
3814
- enable_dlopen_self=unknown
3815
- enable_dlopen_self_static=unknown
3818
- lt_cv_dlopen_libs=
3820
+ version_type=linux
3821
+ need_lib_prefix=no
3823
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3824
+ soname_spec='${libname}${release}${shared_ext}$major'
3825
+ shlibpath_var=LD_LIBRARY_PATH
3826
+ shlibpath_overrides_runpath=yes
3830
+ version_type=sunos
3831
+ sys_lib_dlsearch_path_spec="/usr/lib"
3832
+ need_lib_prefix=no
3833
+ # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
3836
- lt_cv_dlopen="load_add_on"
3837
- lt_cv_dlopen_libs=
3838
- lt_cv_dlopen_self=yes
3842
- lt_cv_dlopen="LoadLibrary"
3843
- lt_cv_dlopen_libs=
3847
- lt_cv_dlopen="dlopen"
3848
- lt_cv_dlopen_libs=
3852
- # if libdl is installed we need to link against it
3853
- AC_CHECK_LIB([dl], [dlopen],
3854
- [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
3855
- lt_cv_dlopen="dyld"
3856
- lt_cv_dlopen_libs=
3857
- lt_cv_dlopen_self=yes
3862
- AC_CHECK_FUNC([shl_load],
3863
- [lt_cv_dlopen="shl_load"],
3864
- [AC_CHECK_LIB([dld], [shl_load],
3865
- [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
3866
- [AC_CHECK_FUNC([dlopen],
3867
- [lt_cv_dlopen="dlopen"],
3868
- [AC_CHECK_LIB([dl], [dlopen],
3869
- [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
3870
- [AC_CHECK_LIB([svld], [dlopen],
3871
- [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
3872
- [AC_CHECK_LIB([dld], [dld_link],
3873
- [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
3880
+ openbsd3.3 | openbsd3.3.*) need_version=yes ;;
3881
+ *) need_version=no ;;
3884
- if test "x$lt_cv_dlopen" != xno; then
3886
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
3887
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
3888
+ shlibpath_var=LD_LIBRARY_PATH
3889
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3891
+ openbsd2.[[89]] | openbsd2.[[89]].*)
3892
+ shlibpath_overrides_runpath=no
3895
+ shlibpath_overrides_runpath=yes
3900
+ shlibpath_overrides_runpath=yes
3904
- case $lt_cv_dlopen in
3906
- save_CPPFLAGS="$CPPFLAGS"
3907
- test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
3909
+ libname_spec='$name'
3910
+ shrext_cmds=".dll"
3911
+ need_lib_prefix=no
3912
+ library_names_spec='$libname${shared_ext} $libname.a'
3913
+ dynamic_linker='OS/2 ld.exe'
3914
+ shlibpath_var=LIBPATH
3917
- save_LDFLAGS="$LDFLAGS"
3918
- wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
3919
+osf3* | osf4* | osf5*)
3921
+ need_lib_prefix=no
3923
+ soname_spec='${libname}${release}${shared_ext}$major'
3924
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3925
+ shlibpath_var=LD_LIBRARY_PATH
3926
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
3927
+ sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
3931
- LIBS="$lt_cv_dlopen_libs $LIBS"
3936
- AC_CACHE_CHECK([whether a program can dlopen itself],
3937
- lt_cv_dlopen_self, [dnl
3938
- _LT_AC_TRY_DLOPEN_SELF(
3939
- lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
3940
- lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
3943
+ version_type=linux
3944
+ need_lib_prefix=no
3946
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3947
+ soname_spec='${libname}${release}${shared_ext}$major'
3948
+ shlibpath_var=LD_LIBRARY_PATH
3949
+ shlibpath_overrides_runpath=yes
3950
+ hardcode_into_libs=yes
3951
+ # ldd complains unless libraries are executable
3952
+ postinstall_cmds='chmod +x $lib'
3955
- if test "x$lt_cv_dlopen_self" = xyes; then
3956
- wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
3957
- AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
3958
- lt_cv_dlopen_self_static, [dnl
3959
- _LT_AC_TRY_DLOPEN_SELF(
3960
- lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
3961
- lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
3965
+ version_type=sunos
3966
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
3967
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
3968
+ shlibpath_var=LD_LIBRARY_PATH
3969
+ shlibpath_overrides_runpath=yes
3970
+ if test "$with_gnu_ld" = yes; then
3971
+ need_lib_prefix=no
3976
- CPPFLAGS="$save_CPPFLAGS"
3977
- LDFLAGS="$save_LDFLAGS"
3981
+ version_type=linux
3982
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3983
+ soname_spec='${libname}${release}${shared_ext}$major'
3984
+ shlibpath_var=LD_LIBRARY_PATH
3985
+ case $host_vendor in
3987
+ shlibpath_overrides_runpath=no
3988
+ need_lib_prefix=no
3989
+ export_dynamic_flag_spec='${wl}-Blargedynsym'
3990
+ runpath_var=LD_RUN_PATH
3993
+ need_lib_prefix=no
3996
+ need_lib_prefix=no
3998
+ shlibpath_overrides_runpath=no
3999
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
4004
- case $lt_cv_dlopen_self in
4005
- yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
4006
- *) enable_dlopen_self=unknown ;;
4009
+ if test -d /usr/nec ;then
4010
+ version_type=linux
4011
+ library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
4012
+ soname_spec='$libname${shared_ext}.$major'
4013
+ shlibpath_var=LD_LIBRARY_PATH
4017
- case $lt_cv_dlopen_self_static in
4018
- yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
4019
- *) enable_dlopen_self_static=unknown ;;
4021
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4022
+ version_type=freebsd-elf
4023
+ need_lib_prefix=no
4025
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
4026
+ soname_spec='${libname}${release}${shared_ext}$major'
4027
+ shlibpath_var=LD_LIBRARY_PATH
4028
+ hardcode_into_libs=yes
4029
+ if test "$with_gnu_ld" = yes; then
4030
+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
4031
+ shlibpath_overrides_runpath=no
4033
+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
4034
+ shlibpath_overrides_runpath=yes
4037
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
4041
+ sys_lib_dlsearch_path_spec='/usr/lib'
4045
+ version_type=linux
4046
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4047
+ soname_spec='${libname}${release}${shared_ext}$major'
4048
+ shlibpath_var=LD_LIBRARY_PATH
4055
+AC_MSG_RESULT([$dynamic_linker])
4056
+test "$dynamic_linker" = no && can_build_shared=no
4058
+AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec],
4059
+[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"])
4060
+sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
4061
+AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec],
4062
+[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"])
4063
+sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
4065
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
4066
+if test "$GCC" = yes; then
4067
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
4069
-])# AC_LIBTOOL_DLOPEN_SELF
4070
+])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
4073
-# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
4074
-# ---------------------------------
4075
-# Check to see if options -c and -o are simultaneously supported by compiler
4076
-AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
4079
+AC_DEFUN([_LT_AC_TAGCONFIG],
4080
[AC_REQUIRE([LT_AC_PROG_SED])dnl
4081
-AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
4082
-AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
4083
- [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
4084
- [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
4085
- $rm -r conftest 2>/dev/null
4089
- echo "$lt_simple_compile_test_code" > conftest.$ac_ext
4090
+AC_ARG_WITH([tags],
4091
+ [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
4092
+ [include additional configurations @<:@automatic@:>@])],
4093
+ [tagnames="$withval"])
4095
- lt_compiler_flag="-o out/conftest2.$ac_objext"
4096
- # Insert the option either (1) after the last *FLAGS variable, or
4097
- # (2) before a word containing "conftest.", or (3) at the end.
4098
- # Note that $ac_compile itself does not contain backslashes and begins
4099
- # with a dollar sign (not a hyphen), so the echo should work correctly.
4100
- lt_compile=`echo "$ac_compile" | $SED \
4101
- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
4102
- -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
4103
- -e 's:$: $lt_compiler_flag:'`
4104
- (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
4105
- (eval "$lt_compile" 2>out/conftest.err)
4107
- cat out/conftest.err >&AS_MESSAGE_LOG_FD
4108
- echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
4109
- if (exit $ac_status) && test -s out/conftest2.$ac_objext
4111
- # The compiler can only warn and ignore the option if not recognized
4112
- # So say no if there are warnings
4113
- $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
4114
- $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
4115
- if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
4116
- _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
4119
- chmod u+w . 2>&AS_MESSAGE_LOG_FD
4121
- # SGI C++ compiler will create directory out/ii_files/ for
4122
- # template instantiation
4123
- test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
4124
- $rm out/* && rmdir out
4129
-])# AC_LIBTOOL_PROG_CC_C_O
4130
+if test -f "$ltmain" && test -n "$tagnames"; then
4131
+ if test ! -f "${ofile}"; then
4132
+ AC_MSG_WARN([output file `$ofile' does not exist])
4135
+ if test -z "$LTCC"; then
4136
+ eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
4137
+ if test -z "$LTCC"; then
4138
+ AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
4140
+ AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
4143
+ if test -z "$LTCFLAGS"; then
4144
+ eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
4147
-# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
4148
-# -----------------------------------------
4149
-# Check to see if we can do hard links to lock some files if needed
4150
-AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
4151
-[AC_REQUIRE([_LT_AC_LOCK])dnl
4152
+ # Extract list of available tagged configurations in $ofile.
4153
+ # Note that this assumes the entire list is on one line.
4154
+ available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
4156
-hard_links="nottested"
4157
-if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
4158
- # do not overwrite the value of need_locks provided by the user
4159
- AC_MSG_CHECKING([if we can lock with hard links])
4162
- ln conftest.a conftest.b 2>/dev/null && hard_links=no
4164
- ln conftest.a conftest.b 2>&5 || hard_links=no
4165
- ln conftest.a conftest.b 2>/dev/null && hard_links=no
4166
- AC_MSG_RESULT([$hard_links])
4167
- if test "$hard_links" = no; then
4168
- AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
4174
-])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
4175
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4176
+ for tagname in $tagnames; do
4177
+ IFS="$lt_save_ifs"
4178
+ # Check whether tagname contains only valid characters
4179
+ case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
4181
+ *) AC_MSG_ERROR([invalid tag name: $tagname])
4185
+ if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
4187
+ AC_MSG_ERROR([tag name \"$tagname\" already exists])
4190
+ # Update the list of available tags.
4191
+ if test -n "$tagname"; then
4192
+ echo appending configuration tag \"$tagname\" to $ofile
4194
-# AC_LIBTOOL_OBJDIR
4195
-# -----------------
4196
-AC_DEFUN([AC_LIBTOOL_OBJDIR],
4197
-[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
4198
-[rm -f .libs 2>/dev/null
4199
-mkdir .libs 2>/dev/null
4200
-if test -d .libs; then
4201
- lt_cv_objdir=.libs
4203
- # MS-DOS does not allow filenames that begin with a dot.
4204
- lt_cv_objdir=_libs
4206
-rmdir .libs 2>/dev/null])
4207
-objdir=$lt_cv_objdir
4208
-])# AC_LIBTOOL_OBJDIR
4211
+ if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
4212
+ ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
4213
+ (test "X$CXX" != "Xg++"))) ; then
4214
+ AC_LIBTOOL_LANG_CXX_CONFIG
4221
+ if test -n "$F77" && test "X$F77" != "Xno"; then
4222
+ AC_LIBTOOL_LANG_F77_CONFIG
4228
-# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
4229
-# ----------------------------------------------
4230
-# Check hardcoding attributes.
4231
-AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
4232
-[AC_MSG_CHECKING([how to hardcode library paths into programs])
4233
-_LT_AC_TAGVAR(hardcode_action, $1)=
4234
-if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
4235
- test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
4236
- test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
4238
+ if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
4239
+ AC_LIBTOOL_LANG_GCJ_CONFIG
4245
- # We can hardcode non-existant directories.
4246
- if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
4247
- # If the only mechanism to avoid hardcoding is shlibpath_var, we
4248
- # have to relink, otherwise we might link with an installed library
4249
- # when we should be linking with a yet-to-be-installed one
4250
- ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
4251
- test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
4252
- # Linking always hardcodes the temporary library directory.
4253
- _LT_AC_TAGVAR(hardcode_action, $1)=relink
4255
+ AC_LIBTOOL_LANG_RC_CONFIG
4259
+ AC_MSG_ERROR([Unsupported tag name: $tagname])
4263
+ # Append the new tag name to the list of available tags.
4264
+ if test -n "$tagname" ; then
4265
+ available_tags="$available_tags $tagname"
4269
+ IFS="$lt_save_ifs"
4271
+ # Now substitute the updated list of available tags.
4272
+ if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
4273
+ mv "${ofile}T" "$ofile"
4276
- # We can link without hardcoding, and we can hardcode nonexisting dirs.
4277
- _LT_AC_TAGVAR(hardcode_action, $1)=immediate
4279
+ AC_MSG_ERROR([unable to update list of available tagged configurations.])
4282
- # We cannot hardcode anything, or else we can only hardcode existing
4284
- _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
4286
-AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
4287
+])# _LT_AC_TAGCONFIG
4289
-if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
4290
- # Fast installation is not supported
4291
- enable_fast_install=no
4292
-elif test "$shlibpath_overrides_runpath" = yes ||
4293
- test "$enable_shared" = no; then
4294
- # Fast installation is not necessary
4295
- enable_fast_install=needless
4297
-])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
4299
+# AC_LIBTOOL_DLOPEN
4300
+# -----------------
4301
+# enable checks for dlopen support
4302
+AC_DEFUN([AC_LIBTOOL_DLOPEN],
4303
+ [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
4304
+])# AC_LIBTOOL_DLOPEN
4306
-# AC_LIBTOOL_SYS_LIB_STRIP
4307
-# ------------------------
4308
-AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
4311
-AC_MSG_CHECKING([whether stripping libraries is possible])
4312
-if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
4313
- test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
4314
- test -z "$striplib" && striplib="$STRIP --strip-unneeded"
4315
- AC_MSG_RESULT([yes])
4317
-# FIXME - insert some real tests, host_os isn't really good enough
4320
- if test -n "$STRIP" ; then
4321
- striplib="$STRIP -x"
4322
- old_striplib="$STRIP -S"
4323
- AC_MSG_RESULT([yes])
4325
- AC_MSG_RESULT([no])
4329
- AC_MSG_RESULT([no])
4333
-])# AC_LIBTOOL_SYS_LIB_STRIP
4335
+# AC_LIBTOOL_WIN32_DLL
4336
+# --------------------
4337
+# declare package support for building win32 DLLs
4338
+AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
4339
+[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
4340
+])# AC_LIBTOOL_WIN32_DLL
4342
-# AC_LIBTOOL_SYS_DYNAMIC_LINKER
4343
-# -----------------------------
4344
-# PORTME Fill in your ld.so characteristics
4345
-AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
4346
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
4347
-AC_MSG_CHECKING([dynamic linker characteristics])
4348
-library_names_spec=
4349
-libname_spec='lib$name'
4353
-postuninstall_cmds=
4357
-shlibpath_overrides_runpath=unknown
4359
-dynamic_linker="$host_os ld.so"
4360
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
4362
-if test "$GCC" = yes; then
4364
- darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
4365
- *) lt_awk_arg="/^libraries:/" ;;
4367
- lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
4368
- if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
4369
- # if the path contains ";" then we assume it to be the separator
4370
- # otherwise default to the standard path separator (i.e. ":") - it is
4371
- # assumed that no part of a normal pathname contains ";" but that should
4372
- # okay in the real world where ";" in dirpaths is itself problematic.
4373
- lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
4375
- lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
4377
- # Ok, now we have the path, separated by spaces, we can step through it
4378
- # and add multilib dir if necessary.
4379
- lt_tmp_lt_search_path_spec=
4380
- lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
4381
- for lt_sys_path in $lt_search_path_spec; do
4382
- if test -d "$lt_sys_path/$lt_multi_os_dir"; then
4383
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
4385
- test -d "$lt_sys_path" && \
4386
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
4389
- lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
4390
-BEGIN {RS=" "; FS="/|\n";} {
4393
- for (lt_i = NF; lt_i > 0; lt_i--) {
4394
- if ($lt_i != "" && $lt_i != ".") {
4395
- if ($lt_i == "..") {
4398
- if (lt_count == 0) {
4399
- lt_foo="/" $lt_i lt_foo;
4406
- if (lt_foo != "") { lt_freq[[lt_foo]]++; }
4407
- if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
4409
- sys_lib_search_path_spec=`echo $lt_search_path_spec`
4411
- sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
4413
-need_lib_prefix=unknown
4414
-hardcode_into_libs=no
4416
-# when you set need_version to no, make sure it does not cause -set_version
4417
-# flags to be left without arguments
4418
-need_version=unknown
4422
- version_type=linux
4423
- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
4424
- shlibpath_var=LIBPATH
4425
+# AC_ENABLE_SHARED([DEFAULT])
4426
+# ---------------------------
4427
+# implement the --enable-shared flag
4428
+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
4429
+AC_DEFUN([AC_ENABLE_SHARED],
4430
+[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
4431
+AC_ARG_ENABLE([shared],
4432
+ [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
4433
+ [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
4434
+ [p=${PACKAGE-default}
4435
+ case $enableval in
4436
+ yes) enable_shared=yes ;;
4437
+ no) enable_shared=no ;;
4440
+ # Look at the argument we got. We use all the common list separators.
4441
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4442
+ for pkg in $enableval; do
4443
+ IFS="$lt_save_ifs"
4444
+ if test "X$pkg" = "X$p"; then
4448
+ IFS="$lt_save_ifs"
4451
+ [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
4452
+])# AC_ENABLE_SHARED
4454
- # AIX 3 has no versioning support, so we append a major version to the name.
4455
- soname_spec='${libname}${release}${shared_ext}$major'
4459
- version_type=linux
4460
- need_lib_prefix=no
4462
- hardcode_into_libs=yes
4463
- if test "$host_cpu" = ia64; then
4464
- # AIX 5 supports IA64
4465
- library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
4466
- shlibpath_var=LD_LIBRARY_PATH
4468
- # With GCC up to 2.95.x, collect2 would create an import file
4469
- # for dependence libraries. The import file would start with
4470
- # the line `#! .'. This would cause the generated library to
4471
- # depend on `.', always an invalid library. This was fixed in
4472
- # development snapshots of GCC prior to 3.0.
4474
- aix4 | aix4.[[01]] | aix4.[[01]].*)
4475
- if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
4477
- echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
4480
- can_build_shared=no
4484
- # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
4485
- # soname into executable. Probably we can add versioning support to
4486
- # collect2, so additional links can be useful in future.
4487
- if test "$aix_use_runtimelinking" = yes; then
4488
- # If using run time linking (on AIX 4.2 or later) use lib<name>.so
4489
- # instead of lib<name>.a to let people know that these are not
4490
- # typical AIX shared libraries.
4491
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4493
- # We preserve .a as extension for shared libraries through AIX4.2
4494
- # and later when we are not doing run time linking.
4495
- library_names_spec='${libname}${release}.a $libname.a'
4496
- soname_spec='${libname}${release}${shared_ext}$major'
4498
- shlibpath_var=LIBPATH
4501
+# AC_DISABLE_SHARED
4502
+# -----------------
4503
+# set the default shared flag to --disable-shared
4504
+AC_DEFUN([AC_DISABLE_SHARED],
4505
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
4506
+AC_ENABLE_SHARED(no)
4507
+])# AC_DISABLE_SHARED
4510
- library_names_spec='$libname.ixlibrary $libname.a'
4511
- # Create ${libname}_ixlibrary.a entries in /sys/libs.
4512
- 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'
4516
- library_names_spec='${libname}${shared_ext}'
4517
- dynamic_linker="$host_os ld.so"
4518
- shlibpath_var=LIBRARY_PATH
4520
+# AC_ENABLE_STATIC([DEFAULT])
4521
+# ---------------------------
4522
+# implement the --enable-static flag
4523
+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
4524
+AC_DEFUN([AC_ENABLE_STATIC],
4525
+[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
4526
+AC_ARG_ENABLE([static],
4527
+ [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
4528
+ [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
4529
+ [p=${PACKAGE-default}
4530
+ case $enableval in
4531
+ yes) enable_static=yes ;;
4532
+ no) enable_static=no ;;
4535
+ # Look at the argument we got. We use all the common list separators.
4536
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4537
+ for pkg in $enableval; do
4538
+ IFS="$lt_save_ifs"
4539
+ if test "X$pkg" = "X$p"; then
4543
+ IFS="$lt_save_ifs"
4546
+ [enable_static=]AC_ENABLE_STATIC_DEFAULT)
4547
+])# AC_ENABLE_STATIC
4550
- version_type=linux
4552
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4553
- soname_spec='${libname}${release}${shared_ext}$major'
4554
- finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
4555
- shlibpath_var=LD_LIBRARY_PATH
4556
- sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
4557
- sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
4558
- # the default ld.so.conf also contains /usr/contrib/lib and
4559
- # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
4560
- # libtool to hard-code these into programs
4563
-cygwin* | mingw* | pw32*)
4564
- version_type=windows
4565
- shrext_cmds=".dll"
4567
- need_lib_prefix=no
4568
+# AC_DISABLE_STATIC
4569
+# -----------------
4570
+# set the default static flag to --disable-static
4571
+AC_DEFUN([AC_DISABLE_STATIC],
4572
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
4573
+AC_ENABLE_STATIC(no)
4574
+])# AC_DISABLE_STATIC
4576
- case $GCC,$host_os in
4577
- yes,cygwin* | yes,mingw* | yes,pw32*)
4578
- library_names_spec='$libname.dll.a'
4579
- # DLL is installed to $(libdir)/../bin by postinstall_cmds
4580
- postinstall_cmds='base_file=`basename \${file}`~
4581
- dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
4582
- dldir=$destdir/`dirname \$dlpath`~
4583
- test -d \$dldir || mkdir -p \$dldir~
4584
- $install_prog $dir/$dlname \$dldir/$dlname~
4585
- chmod a+x \$dldir/$dlname'
4586
- postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
4587
- dlpath=$dir/\$dldll~
4589
- shlibpath_overrides_runpath=yes
4593
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
4594
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
4595
- sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
4598
- # MinGW DLLs use traditional 'lib' prefix
4599
- soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
4600
- sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
4601
- if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
4602
- # It is most probably a Windows format PATH printed by
4603
- # mingw gcc, but we are running on Cygwin. Gcc prints its search
4604
- # path with ; separators, and with drive letters. We can handle the
4605
- # drive letters (cygwin fileutils understands them), so leave them,
4606
- # especially as we might pass files found there to a mingw objdump,
4607
- # which wouldn't understand a cygwinified path. Ahh.
4608
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
4610
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
4614
- # pw32 DLLs use 'pw' prefix rather than 'lib'
4615
- library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
4616
+# AC_ENABLE_FAST_INSTALL([DEFAULT])
4617
+# ---------------------------------
4618
+# implement the --enable-fast-install flag
4619
+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
4620
+AC_DEFUN([AC_ENABLE_FAST_INSTALL],
4621
+[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
4622
+AC_ARG_ENABLE([fast-install],
4623
+ [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
4624
+ [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
4625
+ [p=${PACKAGE-default}
4626
+ case $enableval in
4627
+ yes) enable_fast_install=yes ;;
4628
+ no) enable_fast_install=no ;;
4630
+ enable_fast_install=no
4631
+ # Look at the argument we got. We use all the common list separators.
4632
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4633
+ for pkg in $enableval; do
4634
+ IFS="$lt_save_ifs"
4635
+ if test "X$pkg" = "X$p"; then
4636
+ enable_fast_install=yes
4639
+ IFS="$lt_save_ifs"
4644
+ [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
4645
+])# AC_ENABLE_FAST_INSTALL
4648
- library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
4651
- dynamic_linker='Win32 ld.exe'
4652
- # FIXME: first we should search . and the directory the executable is in
4653
- shlibpath_var=PATH
4656
-darwin* | rhapsody*)
4657
- dynamic_linker="$host_os dyld"
4658
- version_type=darwin
4659
- need_lib_prefix=no
4661
- library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
4662
- soname_spec='${libname}${release}${major}$shared_ext'
4663
- shlibpath_overrides_runpath=yes
4664
- shlibpath_var=DYLD_LIBRARY_PATH
4665
- shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
4667
- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
4668
- sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
4670
+# AC_DISABLE_FAST_INSTALL
4671
+# -----------------------
4672
+# set the default to --disable-fast-install
4673
+AC_DEFUN([AC_DISABLE_FAST_INSTALL],
4674
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
4675
+AC_ENABLE_FAST_INSTALL(no)
4676
+])# AC_DISABLE_FAST_INSTALL
4679
- version_type=linux
4680
- need_lib_prefix=no
4682
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
4683
- soname_spec='${libname}${release}${shared_ext}$major'
4684
- shlibpath_var=LD_LIBRARY_PATH
4686
+# AC_LIBTOOL_PICMODE([MODE])
4687
+# --------------------------
4688
+# implement the --with-pic flag
4689
+# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
4690
+AC_DEFUN([AC_LIBTOOL_PICMODE],
4691
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
4692
+pic_mode=ifelse($#,1,$1,default)
4693
+])# AC_LIBTOOL_PICMODE
4698
+# This is predefined starting with Autoconf 2.54, so this conditional
4699
+# definition can be removed once we require Autoconf 2.54 or later.
4700
+m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
4701
+[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
4702
+ [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4703
+ then ac_cv_prog_egrep='grep -E'
4704
+ else ac_cv_prog_egrep='egrep'
4706
+ EGREP=$ac_cv_prog_egrep
4711
+# AC_PATH_TOOL_PREFIX
4712
+# -------------------
4713
+# find a file program which can recognize shared library
4714
+AC_DEFUN([AC_PATH_TOOL_PREFIX],
4715
+[AC_REQUIRE([AC_PROG_EGREP])dnl
4716
+AC_MSG_CHECKING([for $1])
4717
+AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
4718
+[case $MAGIC_CMD in
4719
+[[\\/*] | ?:[\\/]*])
4720
+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4723
+ lt_save_MAGIC_CMD="$MAGIC_CMD"
4724
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4725
+dnl $ac_dummy forces splitting on constant user-supplied paths.
4726
+dnl POSIX.2 word splitting is done only on the output of word expansions,
4727
+dnl not every word. This closes a longstanding sh security hole.
4728
+ ac_dummy="ifelse([$2], , $PATH, [$2])"
4729
+ for ac_dir in $ac_dummy; do
4730
+ IFS="$lt_save_ifs"
4731
+ test -z "$ac_dir" && ac_dir=.
4732
+ if test -f $ac_dir/$1; then
4733
+ lt_cv_path_MAGIC_CMD="$ac_dir/$1"
4734
+ if test -n "$file_magic_test_file"; then
4735
+ case $deplibs_check_method in
4737
+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
4738
+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4739
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4740
+ $EGREP "$file_magic_regex" > /dev/null; then
4747
+*** Warning: the command libtool uses to detect shared libraries,
4748
+*** $file_magic_cmd, produces output that libtool cannot recognize.
4749
+*** The result is that libtool may fail to recognize shared libraries
4750
+*** as such. This will affect the creation of libtool libraries that
4751
+*** depend on shared libraries, but programs linked with such libtool
4752
+*** libraries will work regardless of this problem. Nevertheless, you
4753
+*** may want to report the problem to your system manager and/or to
4754
+*** bug-libtool@gnu.org
4763
+ IFS="$lt_save_ifs"
4764
+ MAGIC_CMD="$lt_save_MAGIC_CMD"
4767
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4768
+if test -n "$MAGIC_CMD"; then
4769
+ AC_MSG_RESULT($MAGIC_CMD)
4773
+])# AC_PATH_TOOL_PREFIX
4775
-freebsd* | dragonfly*)
4776
- # DragonFly does not have aout. When/if they implement a new
4777
- # versioning mechanism, adjust this.
4778
- if test -x /usr/bin/objformat; then
4779
- objformat=`/usr/bin/objformat`
4783
+# find a file program which can recognize a shared library
4784
+AC_DEFUN([AC_PATH_MAGIC],
4785
+[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
4786
+if test -z "$lt_cv_path_MAGIC_CMD"; then
4787
+ if test -n "$ac_tool_prefix"; then
4788
+ AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
4791
- freebsd[[123]]*) objformat=aout ;;
4792
- *) objformat=elf ;;
4796
- version_type=freebsd-$objformat
4797
- case $version_type in
4799
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
4801
- need_lib_prefix=no
4804
- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
4813
+# find the pathname to the GNU or non-GNU linker
4814
+AC_DEFUN([AC_PROG_LD],
4815
+[AC_ARG_WITH([gnu-ld],
4816
+ [AC_HELP_STRING([--with-gnu-ld],
4817
+ [assume the C compiler uses GNU ld @<:@default=no@:>@])],
4818
+ [test "$withval" = no || with_gnu_ld=yes],
4820
+AC_REQUIRE([LT_AC_PROG_SED])dnl
4821
+AC_REQUIRE([AC_PROG_CC])dnl
4822
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
4823
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
4825
+if test "$GCC" = yes; then
4826
+ # Check if gcc -print-prog-name=ld gives a path.
4827
+ AC_MSG_CHECKING([for ld used by $CC])
4830
+ # gcc leaves a trailing carriage return which upsets mingw
4831
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4833
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4835
- shlibpath_var=LD_LIBRARY_PATH
4838
- shlibpath_overrides_runpath=yes
4840
- freebsd3.[[01]]* | freebsdelf3.[[01]]*)
4841
- shlibpath_overrides_runpath=yes
4842
- hardcode_into_libs=yes
4844
- freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
4845
- freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
4846
- shlibpath_overrides_runpath=no
4847
- hardcode_into_libs=yes
4849
+ # Accept absolute paths.
4850
+ [[\\/]]* | ?:[[\\/]]*)
4851
+ re_direlt='/[[^/]][[^/]]*/\.\./'
4852
+ # Canonicalize the pathname of ld
4853
+ ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4854
+ while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4855
+ ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4857
+ test -z "$LD" && LD="$ac_prog"
4860
+ # If it fails, then pretend we aren't using GCC.
4863
- *) # from 4.6 on, and DragonFly
4864
- shlibpath_overrides_runpath=yes
4865
- hardcode_into_libs=yes
4867
+ # If it is relative, then search for the first ld in PATH.
4868
+ with_gnu_ld=unknown
4872
+elif test "$with_gnu_ld" = yes; then
4873
+ AC_MSG_CHECKING([for GNU ld])
4875
+ AC_MSG_CHECKING([for non-GNU ld])
4877
+AC_CACHE_VAL(lt_cv_path_LD,
4878
+[if test -z "$LD"; then
4879
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4880
+ for ac_dir in $PATH; do
4881
+ IFS="$lt_save_ifs"
4882
+ test -z "$ac_dir" && ac_dir=.
4883
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4884
+ lt_cv_path_LD="$ac_dir/$ac_prog"
4885
+ # Check to see if the program is GNU ld. I'd rather use --version,
4886
+ # but apparently some variants of GNU ld only accept -v.
4887
+ # Break only if it was the GNU/non-GNU ld that we prefer.
4888
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4889
+ *GNU* | *'with BFD'*)
4890
+ test "$with_gnu_ld" != no && break
4893
+ test "$with_gnu_ld" != yes && break
4898
+ IFS="$lt_save_ifs"
4900
+ lt_cv_path_LD="$LD" # Let the user override the test with a path.
4902
+LD="$lt_cv_path_LD"
4903
+if test -n "$LD"; then
4904
+ AC_MSG_RESULT($LD)
4908
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
4913
- version_type=linux
4914
- need_lib_prefix=no
4916
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
4917
- soname_spec='${libname}${release}${shared_ext}$major'
4918
- shlibpath_var=LD_LIBRARY_PATH
4919
- hardcode_into_libs=yes
4922
-hpux9* | hpux10* | hpux11*)
4923
- # Give a soname corresponding to the major version so that dld.sl refuses to
4924
- # link against other versions.
4925
- version_type=sunos
4926
- need_lib_prefix=no
4931
- hardcode_into_libs=yes
4932
- dynamic_linker="$host_os dld.so"
4933
- shlibpath_var=LD_LIBRARY_PATH
4934
- shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
4935
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4936
- soname_spec='${libname}${release}${shared_ext}$major'
4937
- if test "X$HPUX_IA64_MODE" = X32; then
4938
- sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
4941
+AC_DEFUN([AC_PROG_LD_GNU],
4942
+[AC_REQUIRE([AC_PROG_EGREP])dnl
4943
+AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
4944
+[# I'd rather use --version here, but apparently some GNU lds only accept -v.
4945
+case `$LD -v 2>&1 </dev/null` in
4946
+*GNU* | *'with BFD'*)
4947
+ lt_cv_prog_gnu_ld=yes
4950
+ lt_cv_prog_gnu_ld=no
4953
+with_gnu_ld=$lt_cv_prog_gnu_ld
4957
+# AC_PROG_LD_RELOAD_FLAG
4958
+# ----------------------
4959
+# find reload flag for linker
4960
+# -- PORTME Some linkers may need a different reload flag.
4961
+AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
4962
+[AC_CACHE_CHECK([for $LD option to reload object files],
4963
+ lt_cv_ld_reload_flag,
4964
+ [lt_cv_ld_reload_flag='-r'])
4965
+reload_flag=$lt_cv_ld_reload_flag
4966
+case $reload_flag in
4968
+*) reload_flag=" $reload_flag" ;;
4970
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
4973
+ if test "$GCC" = yes; then
4974
+ reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4976
- sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
4977
+ reload_cmds='$LD$reload_flag -o $output$reload_objs'
4979
- sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
4983
- hardcode_into_libs=yes
4984
- dynamic_linker="$host_os dld.sl"
4985
- shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
4986
- shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
4987
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4988
- soname_spec='${libname}${release}${shared_ext}$major'
4989
- sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
4990
- sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
4994
- dynamic_linker="$host_os dld.sl"
4995
- shlibpath_var=SHLIB_PATH
4996
- shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
4997
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4998
- soname_spec='${libname}${release}${shared_ext}$major'
5001
- # HP-UX runs *really* slowly unless shared libraries are mode 555.
5002
- postinstall_cmds='chmod 555 $lib'
5005
+])# AC_PROG_LD_RELOAD_FLAG
5008
- version_type=linux
5009
- need_lib_prefix=no
5011
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
5012
- soname_spec='${libname}${release}${shared_ext}$major'
5013
- dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
5014
- shlibpath_var=LD_LIBRARY_PATH
5015
- shlibpath_overrides_runpath=no
5016
- hardcode_into_libs=yes
5018
+# AC_DEPLIBS_CHECK_METHOD
5019
+# -----------------------
5020
+# how to check for library dependencies
5021
+# -- PORTME fill in with the dynamic library characteristics
5022
+AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
5023
+[AC_CACHE_CHECK([how to recognize dependent libraries],
5024
+lt_cv_deplibs_check_method,
5025
+[lt_cv_file_magic_cmd='$MAGIC_CMD'
5026
+lt_cv_file_magic_test_file=
5027
+lt_cv_deplibs_check_method='unknown'
5028
+# Need to set the preceding variable on all platforms that support
5029
+# interlibrary dependencies.
5030
+# 'none' -- dependencies not supported.
5031
+# `unknown' -- same as none, but documents that we really don't know.
5032
+# 'pass_all' -- all dependencies passed with no checks.
5033
+# 'test_compile' -- check by making test program.
5034
+# 'file_magic [[regex]]' -- check by looking for files in library path
5035
+# which responds to the $file_magic_cmd with a given extended regex.
5036
+# If you have `file' or equivalent on your system and you're not sure
5037
+# whether `pass_all' will *always* work, you probably want this one.
5041
+ lt_cv_deplibs_check_method=pass_all
5044
-irix5* | irix6* | nonstopux*)
5046
- nonstopux*) version_type=nonstopux ;;
5048
- if test "$lt_cv_prog_gnu_ld" = yes; then
5049
- version_type=linux
5054
- need_lib_prefix=no
5056
- soname_spec='${libname}${release}${shared_ext}$major'
5057
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
5059
- irix5* | nonstopux*)
5060
- libsuff= shlibsuff=
5063
- case $LD in # libtool.m4 will add one of these switches to LD
5064
- *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
5065
- libsuff= shlibsuff= libmagic=32-bit;;
5066
- *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
5067
- libsuff=32 shlibsuff=N32 libmagic=N32;;
5068
- *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
5069
- libsuff=64 shlibsuff=64 libmagic=64-bit;;
5070
- *) libsuff= shlibsuff= libmagic=never-match;;
5074
- shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
5075
- shlibpath_overrides_runpath=no
5076
- sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
5077
- sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
5078
- hardcode_into_libs=yes
5080
+ lt_cv_deplibs_check_method=pass_all
5083
-# No shared lib support for Linux oldld, aout, or coff.
5084
-linux*oldld* | linux*aout* | linux*coff*)
5087
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
5088
+ lt_cv_file_magic_cmd='/usr/bin/file -L'
5089
+ lt_cv_file_magic_test_file=/shlib/libc.so
5092
-# This must be Linux ELF.
5093
-linux* | k*bsd*-gnu)
5094
- version_type=linux
5095
- need_lib_prefix=no
5097
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5098
- soname_spec='${libname}${release}${shared_ext}$major'
5099
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
5100
- shlibpath_var=LD_LIBRARY_PATH
5101
- shlibpath_overrides_runpath=no
5102
- # This implies no fast_install, which is unacceptable.
5103
- # Some rework will be needed to allow for fast_install
5104
- # before this can be enabled.
5105
- hardcode_into_libs=yes
5106
- sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
5107
- sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
5109
+ # func_win32_libid is a shell function defined in ltmain.sh
5110
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5111
+ lt_cv_file_magic_cmd='func_win32_libid'
5114
- # Append ld.so.conf contents to the search path
5115
- if test -f /etc/ld.so.conf; then
5116
- lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
5117
- sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
5119
+ # Base MSYS/MinGW do not provide the 'file' command needed by
5120
+ # func_win32_libid shell function, so use a weaker test based on 'objdump',
5121
+ # unless we find 'file', for example because we are cross-compiling.
5122
+ if ( file / ) >/dev/null 2>&1; then
5123
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5124
+ lt_cv_file_magic_cmd='func_win32_libid'
5126
+ lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5127
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
5131
- # We used to test for /lib/ld.so.1 and disable shared libraries on
5132
- # powerpc, because MkLinux only supported shared libraries with the
5133
- # GNU dynamic linker. Since this was broken with cross compilers,
5134
- # most powerpc-linux boxes support dynamic linking these days and
5135
- # people can always --disable-shared, the test was removed, and we
5136
- # assume the GNU/Linux dynamic linker is in use.
5137
- dynamic_linker='GNU/Linux ld.so'
5138
+darwin* | rhapsody*)
5139
+ lt_cv_deplibs_check_method=pass_all
5143
- version_type=sunos
5144
- need_lib_prefix=no
5146
- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5147
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5148
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5149
- dynamic_linker='NetBSD (a.out) ld.so'
5150
+freebsd* | dragonfly*)
5151
+ if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5154
+ # Not sure whether the presence of OpenBSD here was a mistake.
5155
+ # Let's accept both of them until this is cleared up.
5156
+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
5157
+ lt_cv_file_magic_cmd=/usr/bin/file
5158
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5162
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
5163
- soname_spec='${libname}${release}${shared_ext}$major'
5164
- dynamic_linker='NetBSD ld.elf_so'
5165
+ lt_cv_deplibs_check_method=pass_all
5167
- shlibpath_var=LD_LIBRARY_PATH
5168
- shlibpath_overrides_runpath=yes
5169
- hardcode_into_libs=yes
5173
- version_type=linux
5174
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5175
- shlibpath_var=LD_LIBRARY_PATH
5176
- shlibpath_overrides_runpath=yes
5178
+ lt_cv_deplibs_check_method=pass_all
5182
- version_type=linux
5183
- need_lib_prefix=no
5185
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5186
- soname_spec='${libname}${release}${shared_ext}$major'
5187
- shlibpath_var=LD_LIBRARY_PATH
5188
- shlibpath_overrides_runpath=yes
5189
+hpux10.20* | hpux11*)
5190
+ lt_cv_file_magic_cmd=/usr/bin/file
5193
+ lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
5194
+ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5197
+ [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]']
5198
+ lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5201
+ lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
5202
+ lt_cv_file_magic_test_file=/usr/lib/libc.sl
5208
- version_type=sunos
5209
- sys_lib_dlsearch_path_spec="/usr/lib"
5210
- need_lib_prefix=no
5211
- # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
5213
- openbsd3.3 | openbsd3.3.*) need_version=yes ;;
5214
- *) need_version=no ;;
5216
+ # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5217
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
5220
+irix5* | irix6* | nonstopux*)
5222
+ *-32|*"-32 ") libmagic=32-bit;;
5223
+ *-n32|*"-n32 ") libmagic=N32;;
5224
+ *-64|*"-64 ") libmagic=64-bit;;
5225
+ *) libmagic=never-match;;
5227
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5228
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5229
- shlibpath_var=LD_LIBRARY_PATH
5230
- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5232
- openbsd2.[[89]] | openbsd2.[[89]].*)
5233
- shlibpath_overrides_runpath=no
5236
- shlibpath_overrides_runpath=yes
5239
+ lt_cv_deplibs_check_method=pass_all
5242
+# This must be Linux ELF.
5243
+linux* | k*bsd*-gnu)
5244
+ lt_cv_deplibs_check_method=pass_all
5247
+netbsd* | netbsdelf*-gnu)
5248
+ if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5249
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
5251
- shlibpath_overrides_runpath=yes
5252
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
5257
- libname_spec='$name'
5258
- shrext_cmds=".dll"
5259
- need_lib_prefix=no
5260
- library_names_spec='$libname${shared_ext} $libname.a'
5261
- dynamic_linker='OS/2 ld.exe'
5262
- shlibpath_var=LIBPATH
5264
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
5265
+ lt_cv_file_magic_cmd=/usr/bin/file
5266
+ lt_cv_file_magic_test_file=/usr/lib/libnls.so
5270
+ lt_cv_deplibs_check_method=unknown
5274
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5275
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
5277
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
5281
osf3* | osf4* | osf5*)
5283
- need_lib_prefix=no
5285
- soname_spec='${libname}${release}${shared_ext}$major'
5286
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5287
- shlibpath_var=LD_LIBRARY_PATH
5288
- sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
5289
- sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
5290
+ lt_cv_deplibs_check_method=pass_all
5295
+ lt_cv_deplibs_check_method=pass_all
5299
- version_type=linux
5300
- need_lib_prefix=no
5302
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5303
- soname_spec='${libname}${release}${shared_ext}$major'
5304
- shlibpath_var=LD_LIBRARY_PATH
5305
- shlibpath_overrides_runpath=yes
5306
- hardcode_into_libs=yes
5307
- # ldd complains unless libraries are executable
5308
- postinstall_cmds='chmod +x $lib'
5312
- version_type=sunos
5313
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5314
- finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
5315
- shlibpath_var=LD_LIBRARY_PATH
5316
- shlibpath_overrides_runpath=yes
5317
- if test "$with_gnu_ld" = yes; then
5318
- need_lib_prefix=no
5321
+ lt_cv_deplibs_check_method=pass_all
5325
- version_type=linux
5326
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5327
- soname_spec='${libname}${release}${shared_ext}$major'
5328
- shlibpath_var=LD_LIBRARY_PATH
5329
case $host_vendor in
5331
- shlibpath_overrides_runpath=no
5332
- need_lib_prefix=no
5333
- export_dynamic_flag_spec='${wl}-Blargedynsym'
5334
- runpath_var=LD_RUN_PATH
5337
- need_lib_prefix=no
5340
- need_lib_prefix=no
5342
- shlibpath_overrides_runpath=no
5343
- sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
5346
+ 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]]'
5347
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5350
+ lt_cv_deplibs_check_method=pass_all
5353
+ lt_cv_file_magic_cmd='/bin/file'
5354
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
5357
+ lt_cv_file_magic_cmd='/bin/file'
5358
+ lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
5359
+ lt_cv_file_magic_test_file=/lib/libc.so
5362
+ lt_cv_deplibs_check_method=pass_all
5365
+ lt_cv_deplibs_check_method=pass_all
5371
- if test -d /usr/nec ;then
5372
- version_type=linux
5373
- library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
5374
- soname_spec='$libname${shared_ext}.$major'
5375
- shlibpath_var=LD_LIBRARY_PATH
5377
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5378
+ lt_cv_deplibs_check_method=pass_all
5382
+file_magic_cmd=$lt_cv_file_magic_cmd
5383
+deplibs_check_method=$lt_cv_deplibs_check_method
5384
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
5385
+])# AC_DEPLIBS_CHECK_METHOD
5387
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5388
- version_type=freebsd-elf
5389
- need_lib_prefix=no
5391
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
5392
- soname_spec='${libname}${release}${shared_ext}$major'
5393
- shlibpath_var=LD_LIBRARY_PATH
5394
- hardcode_into_libs=yes
5395
- if test "$with_gnu_ld" = yes; then
5396
- sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
5397
- shlibpath_overrides_runpath=no
5399
- sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
5400
- shlibpath_overrides_runpath=yes
5403
- sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
5409
+# find the pathname to a BSD-compatible name lister
5410
+AC_DEFUN([AC_PROG_NM],
5411
+[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
5412
+[if test -n "$NM"; then
5413
+ # Let the user override the test.
5414
+ lt_cv_path_NM="$NM"
5416
+ lt_nm_to_check="${ac_tool_prefix}nm"
5417
+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5418
+ lt_nm_to_check="$lt_nm_to_check nm"
5420
- sys_lib_dlsearch_path_spec='/usr/lib'
5422
+ for lt_tmp_nm in $lt_nm_to_check; do
5423
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5424
+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5425
+ IFS="$lt_save_ifs"
5426
+ test -z "$ac_dir" && ac_dir=.
5427
+ tmp_nm="$ac_dir/$lt_tmp_nm"
5428
+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5429
+ # Check to see if the nm accepts a BSD-compat flag.
5430
+ # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5431
+ # nm: unknown option "B" ignored
5432
+ # Tru64's nm complains that /dev/null is an invalid object file
5433
+ case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5434
+ */dev/null* | *'Invalid file or object type'*)
5435
+ lt_cv_path_NM="$tmp_nm -B"
5439
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5441
+ lt_cv_path_NM="$tmp_nm -p"
5445
+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5446
+ continue # so that we can try to find one that supports BSD flags
5453
+ IFS="$lt_save_ifs"
5455
+ test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5457
+NM="$lt_cv_path_NM"
5461
- version_type=linux
5462
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5463
- soname_spec='${libname}${release}${shared_ext}$major'
5464
- shlibpath_var=LD_LIBRARY_PATH
5469
+# check for math library
5470
+AC_DEFUN([AC_CHECK_LIBM],
5471
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
5474
+*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
5475
+ # These system don't have libm, or don't need it
5478
+ AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
5479
+ AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
5483
+ AC_CHECK_LIB(m, cos, LIBM="-lm")
5486
-AC_MSG_RESULT([$dynamic_linker])
5487
-test "$dynamic_linker" = no && can_build_shared=no
5490
-AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec],
5491
-[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"])
5492
-sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
5493
-AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec],
5494
-[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"])
5495
-sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
5497
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
5498
-if test "$GCC" = yes; then
5499
- variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
5501
-])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
5503
+# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
5504
+# -----------------------------------
5505
+# sets LIBLTDL to the link flags for the libltdl convenience library and
5506
+# LTDLINCL to the include flags for the libltdl header and adds
5507
+# --enable-ltdl-convenience to the configure arguments. Note that
5508
+# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
5509
+# it is assumed to be `libltdl'. LIBLTDL will be prefixed with
5510
+# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
5511
+# (note the single quotes!). If your package is not flat and you're not
5512
+# using automake, define top_builddir and top_srcdir appropriately in
5514
+AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
5515
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
5516
+ case $enable_ltdl_convenience in
5517
+ no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
5518
+ "") enable_ltdl_convenience=yes
5519
+ ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
5521
+ LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
5522
+ LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
5523
+ # For backwards non-gettext consistent compatibility...
5524
+ INCLTDL="$LTDLINCL"
5525
+])# AC_LIBLTDL_CONVENIENCE
5529
-AC_DEFUN([_LT_AC_TAGCONFIG],
5530
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
5531
-AC_ARG_WITH([tags],
5532
- [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
5533
- [include additional configurations @<:@automatic@:>@])],
5534
- [tagnames="$withval"])
5536
-if test -f "$ltmain" && test -n "$tagnames"; then
5537
- if test ! -f "${ofile}"; then
5538
- AC_MSG_WARN([output file `$ofile' does not exist])
5539
+# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
5540
+# -----------------------------------
5541
+# sets LIBLTDL to the link flags for the libltdl installable library and
5542
+# LTDLINCL to the include flags for the libltdl header and adds
5543
+# --enable-ltdl-install to the configure arguments. Note that
5544
+# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
5545
+# and an installed libltdl is not found, it is assumed to be `libltdl'.
5546
+# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
5547
+# '${top_srcdir}/' (note the single quotes!). If your package is not
5548
+# flat and you're not using automake, define top_builddir and top_srcdir
5549
+# appropriately in the Makefiles.
5550
+# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
5551
+AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
5552
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
5553
+ AC_CHECK_LIB(ltdl, lt_dlinit,
5554
+ [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
5555
+ [if test x"$enable_ltdl_install" = xno; then
5556
+ AC_MSG_WARN([libltdl not installed, but installation disabled])
5558
+ enable_ltdl_install=yes
5561
+ if test x"$enable_ltdl_install" = x"yes"; then
5562
+ ac_configure_args="$ac_configure_args --enable-ltdl-install"
5563
+ LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
5564
+ LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
5566
+ ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
5570
+ # For backwards non-gettext consistent compatibility...
5571
+ INCLTDL="$LTDLINCL"
5572
+])# AC_LIBLTDL_INSTALLABLE
5574
- if test -z "$LTCC"; then
5575
- eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
5576
- if test -z "$LTCC"; then
5577
- AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
5579
- AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
5582
- if test -z "$LTCFLAGS"; then
5583
- eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
5586
- # Extract list of available tagged configurations in $ofile.
5587
- # Note that this assumes the entire list is on one line.
5588
- available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
5591
+# enable support for C++ libraries
5592
+AC_DEFUN([AC_LIBTOOL_CXX],
5593
+[AC_REQUIRE([_LT_AC_LANG_CXX])
5596
- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5597
- for tagname in $tagnames; do
5598
- IFS="$lt_save_ifs"
5599
- # Check whether tagname contains only valid characters
5600
- case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
5602
- *) AC_MSG_ERROR([invalid tag name: $tagname])
5606
- if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
5608
- AC_MSG_ERROR([tag name \"$tagname\" already exists])
5612
+AC_DEFUN([_LT_AC_LANG_CXX],
5613
+[AC_REQUIRE([AC_PROG_CXX])
5614
+AC_REQUIRE([_LT_AC_PROG_CXXCPP])
5615
+_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
5616
+])# _LT_AC_LANG_CXX
5618
- # Update the list of available tags.
5619
- if test -n "$tagname"; then
5620
- echo appending configuration tag \"$tagname\" to $ofile
5621
+# _LT_AC_PROG_CXXCPP
5622
+# ------------------
5623
+AC_DEFUN([_LT_AC_PROG_CXXCPP],
5625
+AC_REQUIRE([AC_PROG_CXX])
5626
+if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5627
+ ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5628
+ (test "X$CXX" != "Xg++"))) ; then
5631
+])# _LT_AC_PROG_CXXCPP
5635
- if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5636
- ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5637
- (test "X$CXX" != "Xg++"))) ; then
5638
- AC_LIBTOOL_LANG_CXX_CONFIG
5645
+# enable support for Fortran 77 libraries
5646
+AC_DEFUN([AC_LIBTOOL_F77],
5647
+[AC_REQUIRE([_LT_AC_LANG_F77])
5651
- if test -n "$F77" && test "X$F77" != "Xno"; then
5652
- AC_LIBTOOL_LANG_F77_CONFIG
5659
- if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
5660
- AC_LIBTOOL_LANG_GCJ_CONFIG
5667
+AC_DEFUN([_LT_AC_LANG_F77],
5668
+[AC_REQUIRE([AC_PROG_F77])
5669
+_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
5670
+])# _LT_AC_LANG_F77
5673
- AC_LIBTOOL_LANG_RC_CONFIG
5677
- AC_MSG_ERROR([Unsupported tag name: $tagname])
5682
+# enable support for GCJ libraries
5683
+AC_DEFUN([AC_LIBTOOL_GCJ],
5684
+[AC_REQUIRE([_LT_AC_LANG_GCJ])
5687
- # Append the new tag name to the list of available tags.
5688
- if test -n "$tagname" ; then
5689
- available_tags="$available_tags $tagname"
5693
- IFS="$lt_save_ifs"
5695
- # Now substitute the updated list of available tags.
5696
- if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
5697
- mv "${ofile}T" "$ofile"
5701
- AC_MSG_ERROR([unable to update list of available tagged configurations.])
5704
-])# _LT_AC_TAGCONFIG
5707
+AC_DEFUN([_LT_AC_LANG_GCJ],
5708
+[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
5709
+ [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
5710
+ [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
5711
+ [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
5712
+ [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
5713
+ [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
5714
+_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
5715
+])# _LT_AC_LANG_GCJ
5718
-# AC_LIBTOOL_DLOPEN
5719
-# -----------------
5720
-# enable checks for dlopen support
5721
-AC_DEFUN([AC_LIBTOOL_DLOPEN],
5722
- [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
5723
-])# AC_LIBTOOL_DLOPEN
5726
+# enable support for Windows resource files
5727
+AC_DEFUN([AC_LIBTOOL_RC],
5728
+[AC_REQUIRE([LT_AC_PROG_RC])
5729
+_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
5733
-# AC_LIBTOOL_WIN32_DLL
5734
-# --------------------
5735
-# declare package support for building win32 DLLs
5736
-AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
5737
-[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
5738
-])# AC_LIBTOOL_WIN32_DLL
5739
+# AC_LIBTOOL_LANG_C_CONFIG
5740
+# ------------------------
5741
+# Ensure that the configuration vars for the C compiler are
5742
+# suitably defined. Those variables are subsequently used by
5743
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
5744
+AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
5745
+AC_DEFUN([_LT_AC_LANG_C_CONFIG],
5749
+# Source file extension for C test sources.
5752
-# AC_ENABLE_SHARED([DEFAULT])
5753
-# ---------------------------
5754
-# implement the --enable-shared flag
5755
-# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
5756
-AC_DEFUN([AC_ENABLE_SHARED],
5757
-[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
5758
-AC_ARG_ENABLE([shared],
5759
- [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
5760
- [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
5761
- [p=${PACKAGE-default}
5762
- case $enableval in
5763
- yes) enable_shared=yes ;;
5764
- no) enable_shared=no ;;
5767
- # Look at the argument we got. We use all the common list separators.
5768
- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5769
- for pkg in $enableval; do
5770
- IFS="$lt_save_ifs"
5771
- if test "X$pkg" = "X$p"; then
5775
- IFS="$lt_save_ifs"
5778
- [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
5779
-])# AC_ENABLE_SHARED
5780
+# Object file extension for compiled C test sources.
5782
+_LT_AC_TAGVAR(objext, $1)=$objext
5784
+# Code to be used in simple compile tests
5785
+lt_simple_compile_test_code="int some_variable = 0;"
5787
-# AC_DISABLE_SHARED
5788
-# -----------------
5789
-# set the default shared flag to --disable-shared
5790
-AC_DEFUN([AC_DISABLE_SHARED],
5791
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
5792
-AC_ENABLE_SHARED(no)
5793
-])# AC_DISABLE_SHARED
5794
+# Code to be used in simple link tests
5795
+lt_simple_link_test_code='int main(){return(0);}'
5797
+_LT_AC_SYS_COMPILER
5799
-# AC_ENABLE_STATIC([DEFAULT])
5800
-# ---------------------------
5801
-# implement the --enable-static flag
5802
-# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
5803
-AC_DEFUN([AC_ENABLE_STATIC],
5804
-[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
5805
-AC_ARG_ENABLE([static],
5806
- [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
5807
- [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
5808
- [p=${PACKAGE-default}
5809
- case $enableval in
5810
- yes) enable_static=yes ;;
5811
- no) enable_static=no ;;
5814
- # Look at the argument we got. We use all the common list separators.
5815
- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5816
- for pkg in $enableval; do
5817
- IFS="$lt_save_ifs"
5818
- if test "X$pkg" = "X$p"; then
5822
- IFS="$lt_save_ifs"
5825
- [enable_static=]AC_ENABLE_STATIC_DEFAULT)
5826
-])# AC_ENABLE_STATIC
5827
+# save warnings/boilerplate of simple test code
5828
+_LT_COMPILER_BOILERPLATE
5829
+_LT_LINKER_BOILERPLATE
5831
+AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
5832
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
5833
+AC_LIBTOOL_PROG_CC_C_O($1)
5834
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
5835
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
5836
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
5837
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
5838
+AC_LIBTOOL_SYS_LIB_STRIP
5839
+AC_LIBTOOL_DLOPEN_SELF
5841
-# AC_DISABLE_STATIC
5842
-# -----------------
5843
-# set the default static flag to --disable-static
5844
-AC_DEFUN([AC_DISABLE_STATIC],
5845
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
5846
-AC_ENABLE_STATIC(no)
5847
-])# AC_DISABLE_STATIC
5848
+# Report which library types will actually be built
5849
+AC_MSG_CHECKING([if libtool supports shared libraries])
5850
+AC_MSG_RESULT([$can_build_shared])
5852
+AC_MSG_CHECKING([whether to build shared libraries])
5853
+test "$can_build_shared" = "no" && enable_shared=no
5855
-# AC_ENABLE_FAST_INSTALL([DEFAULT])
5856
-# ---------------------------------
5857
-# implement the --enable-fast-install flag
5858
-# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
5859
-AC_DEFUN([AC_ENABLE_FAST_INSTALL],
5860
-[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
5861
-AC_ARG_ENABLE([fast-install],
5862
- [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
5863
- [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
5864
- [p=${PACKAGE-default}
5865
- case $enableval in
5866
- yes) enable_fast_install=yes ;;
5867
- no) enable_fast_install=no ;;
5869
- enable_fast_install=no
5870
- # Look at the argument we got. We use all the common list separators.
5871
- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5872
- for pkg in $enableval; do
5873
- IFS="$lt_save_ifs"
5874
- if test "X$pkg" = "X$p"; then
5875
- enable_fast_install=yes
5878
- IFS="$lt_save_ifs"
5881
- [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
5882
-])# AC_ENABLE_FAST_INSTALL
5883
+# On AIX, shared libraries and static libraries use the same namespace, and
5884
+# are all built from PIC.
5887
+ test "$enable_shared" = yes && enable_static=no
5888
+ if test -n "$RANLIB"; then
5889
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
5890
+ postinstall_cmds='$RANLIB $lib'
5895
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
5896
+ test "$enable_shared" = yes && enable_static=no
5900
+AC_MSG_RESULT([$enable_shared])
5902
-# AC_DISABLE_FAST_INSTALL
5903
-# -----------------------
5904
-# set the default to --disable-fast-install
5905
-AC_DEFUN([AC_DISABLE_FAST_INSTALL],
5906
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
5907
-AC_ENABLE_FAST_INSTALL(no)
5908
-])# AC_DISABLE_FAST_INSTALL
5909
+AC_MSG_CHECKING([whether to build static libraries])
5910
+# Make sure either enable_shared or enable_static is yes.
5911
+test "$enable_shared" = yes || enable_static=yes
5912
+AC_MSG_RESULT([$enable_static])
5914
+AC_LIBTOOL_CONFIG($1)
5916
-# AC_LIBTOOL_PICMODE([MODE])
5917
-# --------------------------
5918
-# implement the --with-pic flag
5919
-# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
5920
-AC_DEFUN([AC_LIBTOOL_PICMODE],
5921
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
5922
-pic_mode=ifelse($#,1,$1,default)
5923
-])# AC_LIBTOOL_PICMODE
5926
+])# AC_LIBTOOL_LANG_C_CONFIG
5931
-# This is predefined starting with Autoconf 2.54, so this conditional
5932
-# definition can be removed once we require Autoconf 2.54 or later.
5933
-m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
5934
-[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
5935
- [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5936
- then ac_cv_prog_egrep='grep -E'
5937
- else ac_cv_prog_egrep='egrep'
5939
- EGREP=$ac_cv_prog_egrep
5942
+# AC_LIBTOOL_LANG_CXX_CONFIG
5943
+# --------------------------
5944
+# Ensure that the configuration vars for the C compiler are
5945
+# suitably defined. Those variables are subsequently used by
5946
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
5947
+AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
5948
+AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
5950
+AC_REQUIRE([AC_PROG_CXX])
5951
+AC_REQUIRE([_LT_AC_PROG_CXXCPP])
5953
+_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5954
+_LT_AC_TAGVAR(allow_undefined_flag, $1)=
5955
+_LT_AC_TAGVAR(always_export_symbols, $1)=no
5956
+_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
5957
+_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
5958
+_LT_AC_TAGVAR(hardcode_direct, $1)=no
5959
+_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
5960
+_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
5961
+_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
5962
+_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
5963
+_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
5964
+_LT_AC_TAGVAR(hardcode_automatic, $1)=no
5965
+_LT_AC_TAGVAR(module_cmds, $1)=
5966
+_LT_AC_TAGVAR(module_expsym_cmds, $1)=
5967
+_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
5968
+_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
5969
+_LT_AC_TAGVAR(no_undefined_flag, $1)=
5970
+_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
5971
+_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
5973
-# AC_PATH_TOOL_PREFIX
5974
-# -------------------
5975
-# find a file program which can recognize shared library
5976
-AC_DEFUN([AC_PATH_TOOL_PREFIX],
5977
-[AC_REQUIRE([AC_PROG_EGREP])dnl
5978
-AC_MSG_CHECKING([for $1])
5979
-AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
5980
-[case $MAGIC_CMD in
5981
-[[\\/*] | ?:[\\/]*])
5982
- lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5985
- lt_save_MAGIC_CMD="$MAGIC_CMD"
5986
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5987
-dnl $ac_dummy forces splitting on constant user-supplied paths.
5988
-dnl POSIX.2 word splitting is done only on the output of word expansions,
5989
-dnl not every word. This closes a longstanding sh security hole.
5990
- ac_dummy="ifelse([$2], , $PATH, [$2])"
5991
- for ac_dir in $ac_dummy; do
5992
- IFS="$lt_save_ifs"
5993
- test -z "$ac_dir" && ac_dir=.
5994
- if test -f $ac_dir/$1; then
5995
- lt_cv_path_MAGIC_CMD="$ac_dir/$1"
5996
- if test -n "$file_magic_test_file"; then
5997
- case $deplibs_check_method in
5999
- file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6000
- MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6001
- if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6002
- $EGREP "$file_magic_regex" > /dev/null; then
6006
+# Dependencies to place before and after the object being linked:
6007
+_LT_AC_TAGVAR(predep_objects, $1)=
6008
+_LT_AC_TAGVAR(postdep_objects, $1)=
6009
+_LT_AC_TAGVAR(predeps, $1)=
6010
+_LT_AC_TAGVAR(postdeps, $1)=
6011
+_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
6012
+_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
6014
-*** Warning: the command libtool uses to detect shared libraries,
6015
-*** $file_magic_cmd, produces output that libtool cannot recognize.
6016
-*** The result is that libtool may fail to recognize shared libraries
6017
-*** as such. This will affect the creation of libtool libraries that
6018
-*** depend on shared libraries, but programs linked with such libtool
6019
-*** libraries will work regardless of this problem. Nevertheless, you
6020
-*** may want to report the problem to your system manager and/or to
6021
-*** bug-libtool@gnu.org
6022
+# Source file extension for C++ test sources.
6032
- IFS="$lt_save_ifs"
6033
- MAGIC_CMD="$lt_save_MAGIC_CMD"
6036
-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6037
-if test -n "$MAGIC_CMD"; then
6038
- AC_MSG_RESULT($MAGIC_CMD)
6042
-])# AC_PATH_TOOL_PREFIX
6043
+# Object file extension for compiled C++ test sources.
6045
+_LT_AC_TAGVAR(objext, $1)=$objext
6047
+# Code to be used in simple compile tests
6048
+lt_simple_compile_test_code="int some_variable = 0;"
6052
-# find a file program which can recognize a shared library
6053
-AC_DEFUN([AC_PATH_MAGIC],
6054
-[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
6055
-if test -z "$lt_cv_path_MAGIC_CMD"; then
6056
- if test -n "$ac_tool_prefix"; then
6057
- AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
6063
+# Code to be used in simple link tests
6064
+lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
6066
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
6067
+_LT_AC_SYS_COMPILER
6071
-# find the pathname to the GNU or non-GNU linker
6072
-AC_DEFUN([AC_PROG_LD],
6073
-[AC_ARG_WITH([gnu-ld],
6074
- [AC_HELP_STRING([--with-gnu-ld],
6075
- [assume the C compiler uses GNU ld @<:@default=no@:>@])],
6076
- [test "$withval" = no || with_gnu_ld=yes],
6078
-AC_REQUIRE([LT_AC_PROG_SED])dnl
6079
-AC_REQUIRE([AC_PROG_CC])dnl
6080
-AC_REQUIRE([AC_CANONICAL_HOST])dnl
6081
-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
6083
-if test "$GCC" = yes; then
6084
- # Check if gcc -print-prog-name=ld gives a path.
6085
- AC_MSG_CHECKING([for ld used by $CC])
6088
- # gcc leaves a trailing carriage return which upsets mingw
6089
- ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6091
- ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6094
- # Accept absolute paths.
6095
- [[\\/]]* | ?:[[\\/]]*)
6096
- re_direlt='/[[^/]][[^/]]*/\.\./'
6097
- # Canonicalize the pathname of ld
6098
- ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
6099
- while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
6100
- ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
6102
- test -z "$LD" && LD="$ac_prog"
6105
- # If it fails, then pretend we aren't using GCC.
6109
- # If it is relative, then search for the first ld in PATH.
6110
- with_gnu_ld=unknown
6113
-elif test "$with_gnu_ld" = yes; then
6114
- AC_MSG_CHECKING([for GNU ld])
6115
+# save warnings/boilerplate of simple test code
6116
+_LT_COMPILER_BOILERPLATE
6117
+_LT_LINKER_BOILERPLATE
6119
+# Allow CC to be a program name with arguments.
6124
+lt_save_with_gnu_ld=$with_gnu_ld
6125
+lt_save_path_LD=$lt_cv_path_LD
6126
+if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
6127
+ lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
6129
- AC_MSG_CHECKING([for non-GNU ld])
6130
+ $as_unset lt_cv_prog_gnu_ld
6132
-AC_CACHE_VAL(lt_cv_path_LD,
6133
-[if test -z "$LD"; then
6134
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6135
- for ac_dir in $PATH; do
6136
- IFS="$lt_save_ifs"
6137
- test -z "$ac_dir" && ac_dir=.
6138
- if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6139
- lt_cv_path_LD="$ac_dir/$ac_prog"
6140
- # Check to see if the program is GNU ld. I'd rather use --version,
6141
- # but apparently some variants of GNU ld only accept -v.
6142
- # Break only if it was the GNU/non-GNU ld that we prefer.
6143
- case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6144
- *GNU* | *'with BFD'*)
6145
- test "$with_gnu_ld" != no && break
6148
- test "$with_gnu_ld" != yes && break
6153
- IFS="$lt_save_ifs"
6154
+if test -n "${lt_cv_path_LDCXX+set}"; then
6155
+ lt_cv_path_LD=$lt_cv_path_LDCXX
6157
- lt_cv_path_LD="$LD" # Let the user override the test with a path.
6159
-LD="$lt_cv_path_LD"
6160
-if test -n "$LD"; then
6161
- AC_MSG_RESULT($LD)
6162
+ $as_unset lt_cv_path_LD
6164
+test -z "${LDCXX+set}" || LD=$LDCXX
6167
+_LT_AC_TAGVAR(compiler, $1)=$CC
6168
+_LT_CC_BASENAME([$compiler])
6170
+# We don't want -fno-exception wen compiling C++ code, so set the
6171
+# no_builtin_flag separately
6172
+if test "$GXX" = yes; then
6173
+ _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
6176
+ _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
6178
-test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
6182
+if test "$GXX" = yes; then
6183
+ # Set up default GNU C++ configuration
6187
-AC_DEFUN([AC_PROG_LD_GNU],
6188
-[AC_REQUIRE([AC_PROG_EGREP])dnl
6189
-AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
6190
-[# I'd rather use --version here, but apparently some GNU lds only accept -v.
6191
-case `$LD -v 2>&1 </dev/null` in
6192
-*GNU* | *'with BFD'*)
6193
- lt_cv_prog_gnu_ld=yes
6196
- lt_cv_prog_gnu_ld=no
6199
-with_gnu_ld=$lt_cv_prog_gnu_ld
6203
+ # Check if GNU C++ uses GNU ld as the underlying linker, since the
6204
+ # archiving commands below assume that GNU ld is being used.
6205
+ if test "$with_gnu_ld" = yes; then
6206
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
6207
+ _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'
6209
-# AC_PROG_LD_RELOAD_FLAG
6210
-# ----------------------
6211
-# find reload flag for linker
6212
-# -- PORTME Some linkers may need a different reload flag.
6213
-AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
6214
-[AC_CACHE_CHECK([for $LD option to reload object files],
6215
- lt_cv_ld_reload_flag,
6216
- [lt_cv_ld_reload_flag='-r'])
6217
-reload_flag=$lt_cv_ld_reload_flag
6218
-case $reload_flag in
6220
-*) reload_flag=" $reload_flag" ;;
6222
-reload_cmds='$LD$reload_flag -o $output$reload_objs'
6225
- if test "$GCC" = yes; then
6226
- reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6227
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
6228
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
6230
+ # If archive_cmds runs LD, not CC, wlarc should be empty
6231
+ # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
6232
+ # investigate it a little bit more. (MM)
6235
+ # ancient GNU ld didn't support --whole-archive et. al.
6236
+ if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
6237
+ grep 'no-whole-archive' > /dev/null; then
6238
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6240
- reload_cmds='$LD$reload_flag -o $output$reload_objs'
6241
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
6245
-])# AC_PROG_LD_RELOAD_FLAG
6251
-# AC_DEPLIBS_CHECK_METHOD
6252
-# -----------------------
6253
-# how to check for library dependencies
6254
-# -- PORTME fill in with the dynamic library characteristics
6255
-AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
6256
-[AC_CACHE_CHECK([how to recognize dependent libraries],
6257
-lt_cv_deplibs_check_method,
6258
-[lt_cv_file_magic_cmd='$MAGIC_CMD'
6259
-lt_cv_file_magic_test_file=
6260
-lt_cv_deplibs_check_method='unknown'
6261
-# Need to set the preceding variable on all platforms that support
6262
-# interlibrary dependencies.
6263
-# 'none' -- dependencies not supported.
6264
-# `unknown' -- same as none, but documents that we really don't know.
6265
-# 'pass_all' -- all dependencies passed with no checks.
6266
-# 'test_compile' -- check by making test program.
6267
-# 'file_magic [[regex]]' -- check by looking for files in library path
6268
-# which responds to the $file_magic_cmd with a given extended regex.
6269
-# If you have `file' or equivalent on your system and you're not sure
6270
-# whether `pass_all' will *always* work, you probably want this one.
6271
+ # A generic and very simple default shared library creation
6272
+ # command for GNU C++ for the case where it uses the native
6273
+ # linker, instead of GNU ld. If possible, this setting should
6274
+ # overridden to take advantage of the native linker features on
6275
+ # the platform it is being used on.
6276
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
6281
- lt_cv_deplibs_check_method=pass_all
6283
+ # Commands to make compiler produce verbose output that lists
6284
+ # what "hidden" libraries, object files and flags are used when
6285
+ # linking a shared library.
6286
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
6289
- lt_cv_deplibs_check_method=pass_all
6298
- lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
6299
- lt_cv_file_magic_cmd='/usr/bin/file -L'
6300
- lt_cv_file_magic_test_file=/shlib/libc.so
6302
+# PORTME: fill in a description of your system's C++ link characteristics
6303
+AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
6304
+_LT_AC_TAGVAR(ld_shlibs, $1)=yes
6307
+ # FIXME: insert proper C++ library support
6308
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
6311
+ if test "$host_cpu" = ia64; then
6312
+ # On IA64, the linker does run time linking by default, so we don't
6313
+ # have to do anything special.
6314
+ aix_use_runtimelinking=no
6315
+ exp_sym_flag='-Bexport'
6318
+ aix_use_runtimelinking=no
6321
- # func_win32_libid is a shell function defined in ltmain.sh
6322
- lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6323
- lt_cv_file_magic_cmd='func_win32_libid'
6327
- # Base MSYS/MinGW do not provide the 'file' command needed by
6328
- # func_win32_libid shell function, so use a weaker test based on 'objdump',
6329
- # unless we find 'file', for example because we are cross-compiling.
6330
- if ( file / ) >/dev/null 2>&1; then
6331
- lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6332
- lt_cv_file_magic_cmd='func_win32_libid'
6334
- lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6335
- lt_cv_file_magic_cmd='$OBJDUMP -f'
6338
+ # Test if we are trying to use run time linking or normal
6339
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6340
+ # need to do runtime linking.
6341
+ case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
6342
+ for ld_flag in $LDFLAGS; do
6345
+ aix_use_runtimelinking=yes
6353
-darwin* | rhapsody*)
6354
- lt_cv_deplibs_check_method=pass_all
6356
+ exp_sym_flag='-bexport'
6357
+ no_entry_flag='-bnoentry'
6360
-freebsd* | dragonfly*)
6361
- if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6364
- # Not sure whether the presence of OpenBSD here was a mistake.
6365
- # Let's accept both of them until this is cleared up.
6366
- lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
6367
- lt_cv_file_magic_cmd=/usr/bin/file
6368
- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6372
- lt_cv_deplibs_check_method=pass_all
6375
+ # When large executables or shared objects are built, AIX ld can
6376
+ # have problems creating the table of contents. If linking a library
6377
+ # or program results in "error TOC overflow" add -mminimal-toc to
6378
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6379
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6382
- lt_cv_deplibs_check_method=pass_all
6384
+ _LT_AC_TAGVAR(archive_cmds, $1)=''
6385
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6386
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
6387
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6389
-hpux10.20* | hpux11*)
6390
- lt_cv_file_magic_cmd=/usr/bin/file
6393
- lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
6394
- lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6397
- [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]']
6398
- lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6401
- lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
6402
- lt_cv_file_magic_test_file=/usr/lib/libc.sl
6406
+ if test "$GXX" = yes; then
6407
+ case $host_os in aix4.[[012]]|aix4.[[012]].*)
6408
+ # We only want to do this on AIX 4.2 and lower, the check
6409
+ # below for broken collect2 doesn't work under 4.3+
6410
+ collect2name=`${CC} -print-prog-name=collect2`
6411
+ if test -f "$collect2name" && \
6412
+ strings "$collect2name" | grep resolve_lib_name >/dev/null
6414
+ # We have reworked collect2
6417
+ # We have old collect2
6418
+ _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
6419
+ # It fails to find uninstalled libraries when the uninstalled
6420
+ # path is not listed in the libpath. Setting hardcode_minus_L
6421
+ # to unsupported forces relinking
6422
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6423
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6424
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
6428
+ shared_flag='-shared'
6429
+ if test "$aix_use_runtimelinking" = yes; then
6430
+ shared_flag="$shared_flag "'${wl}-G'
6434
+ if test "$host_cpu" = ia64; then
6435
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6436
+ # chokes on -Wl,-G. The following line is correct:
6439
+ if test "$aix_use_runtimelinking" = yes; then
6440
+ shared_flag='${wl}-G'
6442
+ shared_flag='${wl}-bM:SRE'
6448
- # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6449
- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
6451
+ # It seems that -bexpall does not export symbols beginning with
6452
+ # underscore (_), so it is better to generate a list of symbols to export.
6453
+ _LT_AC_TAGVAR(always_export_symbols, $1)=yes
6454
+ if test "$aix_use_runtimelinking" = yes; then
6455
+ # Warning - without using the other runtime loading flags (-brtl),
6456
+ # -berok will link without error, but may produce a broken library.
6457
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
6458
+ # Determine the default libpath from the value encoded in an empty executable.
6459
+ _LT_AC_SYS_LIBPATH_AIX
6460
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
6462
-irix5* | irix6* | nonstopux*)
6464
- *-32|*"-32 ") libmagic=32-bit;;
6465
- *-n32|*"-n32 ") libmagic=N32;;
6466
- *-64|*"-64 ") libmagic=64-bit;;
6467
- *) libmagic=never-match;;
6469
- lt_cv_deplibs_check_method=pass_all
6471
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
6473
+ if test "$host_cpu" = ia64; then
6474
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
6475
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
6476
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
6478
+ # Determine the default libpath from the value encoded in an empty executable.
6479
+ _LT_AC_SYS_LIBPATH_AIX
6480
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
6481
+ # Warning - without using the other run time loading flags,
6482
+ # -berok will link without error, but may produce a broken library.
6483
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
6484
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
6485
+ # Exported symbols can be pulled into shared objects from archives
6486
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
6487
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
6488
+ # This is similar to how AIX traditionally builds its shared libraries.
6489
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
6494
-# This must be Linux ELF.
6495
-linux* | k*bsd*-gnu)
6496
- lt_cv_deplibs_check_method=pass_all
6499
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6500
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
6501
+ # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6502
+ # support --undefined. This deserves some investigation. FIXME
6503
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6505
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
6510
- if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6511
- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
6513
- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
6517
+ case $cc_basename in
6519
+ # FIXME: insert proper C++ library support
6520
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
6526
- lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
6527
- lt_cv_file_magic_cmd=/usr/bin/file
6528
- lt_cv_file_magic_test_file=/usr/lib/libnls.so
6530
+ cygwin* | mingw* | pw32*)
6531
+ # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
6532
+ # as there is no search path for DLLs.
6533
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6534
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
6535
+ _LT_AC_TAGVAR(always_export_symbols, $1)=no
6536
+ _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6539
- lt_cv_deplibs_check_method=unknown
6540
+ if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6541
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6542
+ # If the export-symbols file already is a .def file (1st line
6543
+ # is EXPORTS), use it as is; otherwise, prepend...
6544
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6545
+ cp $export_symbols $output_objdir/$soname.def;
6547
+ echo EXPORTS > $output_objdir/$soname.def;
6548
+ cat $export_symbols >> $output_objdir/$soname.def;
6550
+ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6552
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
6555
+ darwin* | rhapsody*)
6556
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6557
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
6558
+ _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
6559
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
6560
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
6561
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6562
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
6563
+ if test "$GXX" = yes ; then
6564
+ output_verbose_link_cmd='echo'
6565
+ _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
6566
+ _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
6567
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
6568
+ _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
6569
+ if test "$lt_cv_apple_cc_single_mod" != "yes"; then
6570
+ _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
6571
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
6574
+ case $cc_basename in
6576
+ output_verbose_link_cmd='echo'
6577
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
6578
+ _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6579
+ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6580
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6581
+ _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}'
6584
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
6591
- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6592
- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
6594
- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
6598
-osf3* | osf4* | osf5*)
6599
- lt_cv_deplibs_check_method=pass_all
6603
- lt_cv_deplibs_check_method=pass_all
6607
- lt_cv_deplibs_check_method=pass_all
6611
- case $host_vendor in
6613
- 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]]'
6614
- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6617
- lt_cv_deplibs_check_method=pass_all
6619
+ case $cc_basename in
6621
+ # FIXME: insert proper C++ library support
6622
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
6625
+ # Green Hills C++ Compiler
6626
+ # FIXME: insert proper C++ library support
6627
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
6630
+ # FIXME: insert proper C++ library support
6631
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
6636
- lt_cv_file_magic_cmd='/bin/file'
6637
- lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
6639
+ # C++ shared libraries reported to be fairly broken before switch to ELF
6640
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
6643
- lt_cv_file_magic_cmd='/bin/file'
6644
- lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
6645
- lt_cv_file_magic_test_file=/lib/libc.so
6647
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6650
- lt_cv_deplibs_check_method=pass_all
6651
+ freebsd* | dragonfly*)
6652
+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
6654
+ _LT_AC_TAGVAR(ld_shlibs, $1)=yes
6657
- lt_cv_deplibs_check_method=pass_all
6663
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
6664
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6665
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6666
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6667
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
6668
+ # but as the default
6669
+ # location of the library.
6671
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6672
- lt_cv_deplibs_check_method=pass_all
6676
-file_magic_cmd=$lt_cv_file_magic_cmd
6677
-deplibs_check_method=$lt_cv_deplibs_check_method
6678
-test -z "$deplibs_check_method" && deplibs_check_method=unknown
6679
-])# AC_DEPLIBS_CHECK_METHOD
6680
+ case $cc_basename in
6682
+ # FIXME: insert proper C++ library support
6683
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
6686
+ _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'
6687
+ # Commands to make compiler produce verbose output that lists
6688
+ # what "hidden" libraries, object files and flags are used when
6689
+ # linking a shared library.
6691
+ # There doesn't appear to be a way to prevent this compiler from
6692
+ # explicitly linking system object files so we need to strip them
6693
+ # from the output so that they don't get included in the library
6695
+ 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'
6698
+ if test "$GXX" = yes; then
6699
+ _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'
6701
+ # FIXME: insert proper C++ library support
6702
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
6708
+ if test $with_gnu_ld = no; then
6709
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
6710
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6713
+ hppa*64*|ia64*) ;;
6715
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6721
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
6722
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6725
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6726
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
6727
+ # but as the default
6728
+ # location of the library.
6734
-# find the pathname to a BSD-compatible name lister
6735
-AC_DEFUN([AC_PROG_NM],
6736
-[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
6737
-[if test -n "$NM"; then
6738
- # Let the user override the test.
6739
- lt_cv_path_NM="$NM"
6741
- lt_nm_to_check="${ac_tool_prefix}nm"
6742
- if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6743
- lt_nm_to_check="$lt_nm_to_check nm"
6745
- for lt_tmp_nm in $lt_nm_to_check; do
6746
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6747
- for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6748
- IFS="$lt_save_ifs"
6749
- test -z "$ac_dir" && ac_dir=.
6750
- tmp_nm="$ac_dir/$lt_tmp_nm"
6751
- if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6752
- # Check to see if the nm accepts a BSD-compat flag.
6753
- # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6754
- # nm: unknown option "B" ignored
6755
- # Tru64's nm complains that /dev/null is an invalid object file
6756
- case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6757
- */dev/null* | *'Invalid file or object type'*)
6758
- lt_cv_path_NM="$tmp_nm -B"
6760
+ case $cc_basename in
6762
+ # FIXME: insert proper C++ library support
6763
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
6768
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6771
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6774
- case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6776
- lt_cv_path_NM="$tmp_nm -p"
6780
- lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6781
- continue # so that we can try to find one that supports BSD flags
6784
+ _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'
6789
- IFS="$lt_save_ifs"
6791
- test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
6793
-NM="$lt_cv_path_NM"
6796
+ # Commands to make compiler produce verbose output that lists
6797
+ # what "hidden" libraries, object files and flags are used when
6798
+ # linking a shared library.
6800
+ # There doesn't appear to be a way to prevent this compiler from
6801
+ # explicitly linking system object files so we need to strip them
6802
+ # from the output so that they don't get included in the library
6804
+ 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'
6807
+ if test "$GXX" = yes; then
6808
+ if test $with_gnu_ld = no; then
6811
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6814
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6817
+ _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'
6822
+ # FIXME: insert proper C++ library support
6823
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
6829
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
6830
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6831
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6832
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6833
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
6834
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
6835
+ # default) and relocated if they conflict, which is a slow very memory
6836
+ # consuming and fragmenting process. To avoid this, we pick a random,
6837
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6838
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
6839
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6840
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6843
+ case $cc_basename in
6846
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6850
-# check for math library
6851
-AC_DEFUN([AC_CHECK_LIBM],
6852
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
6855
-*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
6856
- # These system don't have libm, or don't need it
6859
- AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
6860
- AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
6863
- AC_CHECK_LIB(m, cos, LIBM="-lm")
6867
+ # Archives containing C++ object files must be created using
6868
+ # "CC -ar", where "CC" is the IRIX C++ compiler. This is
6869
+ # necessary to make sure instantiated templates are included
6871
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
6874
+ if test "$GXX" = yes; then
6875
+ if test "$with_gnu_ld" = no; then
6876
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6878
+ _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'
6881
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6884
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6885
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6887
+ linux* | k*bsd*-gnu)
6888
+ case $cc_basename in
6890
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
6892
+ # KCC will only create a shared library if the output file
6893
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
6894
+ # to its proper name (with version) after linking.
6895
+ _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'
6896
+ _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'
6897
+ # Commands to make compiler produce verbose output that lists
6898
+ # what "hidden" libraries, object files and flags are used when
6899
+ # linking a shared library.
6901
+ # There doesn't appear to be a way to prevent this compiler from
6902
+ # explicitly linking system object files so we need to strip them
6903
+ # from the output so that they don't get included in the library
6905
+ 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'
6907
-# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
6908
-# -----------------------------------
6909
-# sets LIBLTDL to the link flags for the libltdl convenience library and
6910
-# LTDLINCL to the include flags for the libltdl header and adds
6911
-# --enable-ltdl-convenience to the configure arguments. Note that
6912
-# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
6913
-# it is assumed to be `libltdl'. LIBLTDL will be prefixed with
6914
-# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
6915
-# (note the single quotes!). If your package is not flat and you're not
6916
-# using automake, define top_builddir and top_srcdir appropriately in
6918
-AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
6919
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
6920
- case $enable_ltdl_convenience in
6921
- no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
6922
- "") enable_ltdl_convenience=yes
6923
- ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
6925
- LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
6926
- LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
6927
- # For backwards non-gettext consistent compatibility...
6928
- INCLTDL="$LTDLINCL"
6929
-])# AC_LIBLTDL_CONVENIENCE
6930
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
6931
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
6933
+ # Archives containing C++ object files must be created using
6934
+ # "CC -Bstatic", where "CC" is the KAI C++ compiler.
6935
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
6940
+ # version 8.0 and above of icpc choke on multiply defined symbols
6941
+ # if we add $predep_objects and $postdep_objects, however 7.1 and
6942
+ # earlier do not add the objects themselves.
6943
+ case `$CC -V 2>&1` in
6945
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
6946
+ _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'
6948
+ *) # Version 8.0 or newer
6951
+ ia64*) tmp_idyn=' -i_dynamic';;
6953
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6954
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6957
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6958
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6959
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
6960
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
6963
+ # Portland Group C++ compiler
6964
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
6965
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
6967
-# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
6968
-# -----------------------------------
6969
-# sets LIBLTDL to the link flags for the libltdl installable library and
6970
-# LTDLINCL to the include flags for the libltdl header and adds
6971
-# --enable-ltdl-install to the configure arguments. Note that
6972
-# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
6973
-# and an installed libltdl is not found, it is assumed to be `libltdl'.
6974
-# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
6975
-# '${top_srcdir}/' (note the single quotes!). If your package is not
6976
-# flat and you're not using automake, define top_builddir and top_srcdir
6977
-# appropriately in the Makefiles.
6978
-# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
6979
-AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
6980
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
6981
- AC_CHECK_LIB(ltdl, lt_dlinit,
6982
- [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
6983
- [if test x"$enable_ltdl_install" = xno; then
6984
- AC_MSG_WARN([libltdl not installed, but installation disabled])
6986
- enable_ltdl_install=yes
6989
- if test x"$enable_ltdl_install" = x"yes"; then
6990
- ac_configure_args="$ac_configure_args --enable-ltdl-install"
6991
- LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
6992
- LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
6994
- ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
6998
- # For backwards non-gettext consistent compatibility...
6999
- INCLTDL="$LTDLINCL"
7000
-])# AC_LIBLTDL_INSTALLABLE
7001
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
7002
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
7003
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7007
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
7008
+ _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'
7010
+ runpath_var=LD_RUN_PATH
7011
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7012
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7016
-# enable support for C++ libraries
7017
-AC_DEFUN([AC_LIBTOOL_CXX],
7018
-[AC_REQUIRE([_LT_AC_LANG_CXX])
7020
+ # Commands to make compiler produce verbose output that lists
7021
+ # what "hidden" libraries, object files and flags are used when
7022
+ # linking a shared library.
7024
+ # There doesn't appear to be a way to prevent this compiler from
7025
+ # explicitly linking system object files so we need to strip them
7026
+ # from the output so that they don't get included in the library
7028
+ 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'
7031
+ case `$CC -V 2>&1 | sed 5q` in
7034
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7035
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
7036
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
7037
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7038
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7040
+ # Not sure whether something based on
7041
+ # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
7042
+ # would be better.
7043
+ output_verbose_link_cmd='echo'
7047
-AC_DEFUN([_LT_AC_LANG_CXX],
7048
-[AC_REQUIRE([AC_PROG_CXX])
7049
-AC_REQUIRE([_LT_AC_PROG_CXXCPP])
7050
-_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
7051
-])# _LT_AC_LANG_CXX
7052
+ # Archives containing C++ object files must be created using
7053
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
7054
+ # necessary to make sure instantiated templates are included
7056
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7063
+ # FIXME: insert proper C++ library support
7064
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
7067
+ # FIXME: insert proper C++ library support
7068
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
7071
+ case $cc_basename in
7073
+ # FIXME: insert proper C++ library support
7074
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
7077
+ # FIXME: insert proper C++ library support
7078
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
7082
+ netbsd* | netbsdelf*-gnu)
7083
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7084
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
7086
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7087
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7088
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7090
+ # Workaround some broken pre-1.5 toolchains
7091
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
7094
+ # C++ shared libraries are fairly broken
7095
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
7098
+ if test -f /usr/libexec/ld.so; then
7099
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7100
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7101
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
7102
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
7103
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7104
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
7105
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
7106
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7108
+ output_verbose_link_cmd='echo'
7110
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
7114
+ case $cc_basename in
7116
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
7118
-# _LT_AC_PROG_CXXCPP
7119
-# ------------------
7120
-AC_DEFUN([_LT_AC_PROG_CXXCPP],
7122
-AC_REQUIRE([AC_PROG_CXX])
7123
-if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7124
- ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7125
- (test "X$CXX" != "Xg++"))) ; then
7128
-])# _LT_AC_PROG_CXXCPP
7132
-# enable support for Fortran 77 libraries
7133
-AC_DEFUN([AC_LIBTOOL_F77],
7134
-[AC_REQUIRE([_LT_AC_LANG_F77])
7136
+ # KCC will only create a shared library if the output file
7137
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
7138
+ # to its proper name (with version) after linking.
7139
+ _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'
7141
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
7142
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7146
-AC_DEFUN([_LT_AC_LANG_F77],
7147
-[AC_REQUIRE([AC_PROG_F77])
7148
-_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
7149
-])# _LT_AC_LANG_F77
7150
+ # Archives containing C++ object files must be created using
7151
+ # "CC -Bstatic", where "CC" is the KAI C++ compiler.
7152
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
7156
+ # Rational C++ 2.4.1
7157
+ # FIXME: insert proper C++ library support
7158
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
7161
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
7162
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7166
-# enable support for GCJ libraries
7167
-AC_DEFUN([AC_LIBTOOL_GCJ],
7168
-[AC_REQUIRE([_LT_AC_LANG_GCJ])
7170
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
7171
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7173
+ # Commands to make compiler produce verbose output that lists
7174
+ # what "hidden" libraries, object files and flags are used when
7175
+ # linking a shared library.
7177
+ # There doesn't appear to be a way to prevent this compiler from
7178
+ # explicitly linking system object files so we need to strip them
7179
+ # from the output so that they don't get included in the library
7181
+ 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'
7184
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
7185
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
7186
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7190
-AC_DEFUN([_LT_AC_LANG_GCJ],
7191
-[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
7192
- [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
7193
- [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
7194
- [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
7195
- [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
7196
- [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
7197
-_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
7198
-])# _LT_AC_LANG_GCJ
7199
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
7200
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7202
+ # Commands to make compiler produce verbose output that lists
7203
+ # what "hidden" libraries, object files and flags are used when
7204
+ # linking a shared library.
7205
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
7209
-# enable support for Windows resource files
7210
-AC_DEFUN([AC_LIBTOOL_RC],
7211
-[AC_REQUIRE([LT_AC_PROG_RC])
7212
-_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
7215
+ # FIXME: insert proper C++ library support
7216
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
7222
+ case $cc_basename in
7224
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
7226
+ # KCC will only create a shared library if the output file
7227
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
7228
+ # to its proper name (with version) after linking.
7229
+ _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'
7231
-# AC_LIBTOOL_LANG_C_CONFIG
7232
-# ------------------------
7233
-# Ensure that the configuration vars for the C compiler are
7234
-# suitably defined. Those variables are subsequently used by
7235
-# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
7236
-AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
7237
-AC_DEFUN([_LT_AC_LANG_C_CONFIG],
7240
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
7241
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7243
-# Source file extension for C test sources.
7245
+ # Archives containing C++ object files must be created using
7246
+ # the KAI C++ compiler.
7247
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
7250
+ # Rational C++ 2.4.1
7251
+ # FIXME: insert proper C++ library support
7252
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
7255
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
7256
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7257
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
7258
+ echo "-hidden">> $lib.exp~
7259
+ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
7262
-# Object file extension for compiled C test sources.
7264
-_LT_AC_TAGVAR(objext, $1)=$objext
7265
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7266
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7268
-# Code to be used in simple compile tests
7269
-lt_simple_compile_test_code="int some_variable = 0;"
7270
+ # Commands to make compiler produce verbose output that lists
7271
+ # what "hidden" libraries, object files and flags are used when
7272
+ # linking a shared library.
7274
+ # There doesn't appear to be a way to prevent this compiler from
7275
+ # explicitly linking system object files so we need to strip them
7276
+ # from the output so that they don't get included in the library
7278
+ 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'
7281
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
7282
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
7283
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7285
-# Code to be used in simple link tests
7286
-lt_simple_link_test_code='int main(){return(0);}'
7287
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
7288
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7290
-_LT_AC_SYS_COMPILER
7291
+ # Commands to make compiler produce verbose output that lists
7292
+ # what "hidden" libraries, object files and flags are used when
7293
+ # linking a shared library.
7294
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
7296
-# save warnings/boilerplate of simple test code
7297
-_LT_COMPILER_BOILERPLATE
7298
-_LT_LINKER_BOILERPLATE
7300
+ # FIXME: insert proper C++ library support
7301
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
7307
+ # FIXME: insert proper C++ library support
7308
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
7311
+ case $cc_basename in
7314
+ # FIXME: insert proper C++ library support
7315
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
7319
+ # FIXME: insert proper C++ library support
7320
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
7323
+ # FIXME: insert proper C++ library support
7324
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
7329
+ case $cc_basename in
7331
+ # Sun C++ 4.2, 5.x and Centerline C++
7332
+ _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
7333
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7334
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
7335
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7336
+ $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
7338
-AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
7339
-AC_LIBTOOL_PROG_COMPILER_PIC($1)
7340
-AC_LIBTOOL_PROG_CC_C_O($1)
7341
-AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
7342
-AC_LIBTOOL_PROG_LD_SHLIBS($1)
7343
-AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
7344
-AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
7345
-AC_LIBTOOL_SYS_LIB_STRIP
7346
-AC_LIBTOOL_DLOPEN_SELF
7347
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7348
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7350
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7352
+ # The compiler driver will combine and reorder linker options,
7353
+ # but understands `-z linker_flag'.
7354
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
7355
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
7358
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
7360
-# Report which library types will actually be built
7361
-AC_MSG_CHECKING([if libtool supports shared libraries])
7362
-AC_MSG_RESULT([$can_build_shared])
7363
+ output_verbose_link_cmd='echo'
7365
-AC_MSG_CHECKING([whether to build shared libraries])
7366
-test "$can_build_shared" = "no" && enable_shared=no
7367
+ # Archives containing C++ object files must be created using
7368
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
7369
+ # necessary to make sure instantiated templates are included
7371
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7374
+ # Green Hills C++ Compiler
7375
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
7377
-# On AIX, shared libraries and static libraries use the same namespace, and
7378
-# are all built from PIC.
7381
- test "$enable_shared" = yes && enable_static=no
7382
- if test -n "$RANLIB"; then
7383
- archive_cmds="$archive_cmds~\$RANLIB \$lib"
7384
- postinstall_cmds='$RANLIB $lib'
7387
+ # The C++ compiler must be used to create the archive.
7388
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
7391
+ # GNU C++ compiler with Solaris linker
7392
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
7393
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
7394
+ if $CC --version | grep -v '^2\.7' > /dev/null; then
7395
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
7396
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7397
+ $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
7400
- if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
7401
- test "$enable_shared" = yes && enable_static=no
7405
-AC_MSG_RESULT([$enable_shared])
7406
+ # Commands to make compiler produce verbose output that lists
7407
+ # what "hidden" libraries, object files and flags are used when
7408
+ # linking a shared library.
7409
+ output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
7411
+ # g++ 2.7 appears to require `-G' NOT `-shared' on this
7413
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
7414
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7415
+ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
7417
-AC_MSG_CHECKING([whether to build static libraries])
7418
-# Make sure either enable_shared or enable_static is yes.
7419
-test "$enable_shared" = yes || enable_static=yes
7420
-AC_MSG_RESULT([$enable_static])
7421
+ # Commands to make compiler produce verbose output that lists
7422
+ # what "hidden" libraries, object files and flags are used when
7423
+ # linking a shared library.
7424
+ output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
7427
-AC_LIBTOOL_CONFIG($1)
7428
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
7430
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7432
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
7439
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
7440
+ _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
7441
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
7442
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7443
+ runpath_var='LD_RUN_PATH'
7447
-])# AC_LIBTOOL_LANG_C_CONFIG
7448
+ case $cc_basename in
7450
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7451
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7454
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7455
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7459
+ sysv5* | sco3.2v5* | sco5v6*)
7460
+ # Note: We can NOT use -z defs as we might desire, because we do not
7461
+ # link with -lc, and that would cause any symbols used from libc to
7462
+ # always be unresolved, which means just about no library would
7463
+ # ever link correctly. If we're not using GNU ld we use -z text
7464
+ # though, which does catch some bad symbols but isn't as heavy-handed
7466
+ # For security reasons, it is highly recommended that you always
7467
+ # use absolute paths for naming shared libraries, and exclude the
7468
+ # DT_RUNPATH tag from executables and libraries. But doing so
7469
+ # requires that you compile everything twice, which is a pain.
7470
+ # So that behaviour is only enabled if SCOABSPATH is set to a
7471
+ # non-empty value in the environment. Most likely only useful for
7472
+ # creating official distributions of packages.
7473
+ # This is a hack until libtool officially supports absolute path
7474
+ # names for shared libraries.
7475
+ _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
7476
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
7477
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
7478
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7479
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
7480
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
7481
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
7482
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
7483
+ runpath_var='LD_RUN_PATH'
7485
+ case $cc_basename in
7487
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7488
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7491
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7492
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7497
+ case $cc_basename in
7499
+ # NonStop-UX NCC 3.20
7500
+ # FIXME: insert proper C++ library support
7501
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
7504
+ # FIXME: insert proper C++ library support
7505
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
7510
+ # FIXME: insert proper C++ library support
7511
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
7514
+ # FIXME: insert proper C++ library support
7515
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
7518
+AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
7519
+test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
7521
-# AC_LIBTOOL_LANG_CXX_CONFIG
7522
-# --------------------------
7523
-# Ensure that the configuration vars for the C compiler are
7524
-# suitably defined. Those variables are subsequently used by
7525
-# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
7526
-AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
7527
-AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
7529
-AC_REQUIRE([AC_PROG_CXX])
7530
-AC_REQUIRE([_LT_AC_PROG_CXXCPP])
7531
+_LT_AC_TAGVAR(GCC, $1)="$GXX"
7532
+_LT_AC_TAGVAR(LD, $1)="$LD"
7534
-_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
7535
-_LT_AC_TAGVAR(allow_undefined_flag, $1)=
7536
-_LT_AC_TAGVAR(always_export_symbols, $1)=no
7537
-_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
7538
-_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
7539
-_LT_AC_TAGVAR(hardcode_direct, $1)=no
7540
-_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
7541
-_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
7542
-_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
7543
-_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
7544
-_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
7545
-_LT_AC_TAGVAR(hardcode_automatic, $1)=no
7546
-_LT_AC_TAGVAR(module_cmds, $1)=
7547
-_LT_AC_TAGVAR(module_expsym_cmds, $1)=
7548
-_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
7549
-_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7550
-_LT_AC_TAGVAR(no_undefined_flag, $1)=
7551
-_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
7552
-_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
7553
+AC_LIBTOOL_POSTDEP_PREDEP($1)
7554
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
7555
+AC_LIBTOOL_PROG_CC_C_O($1)
7556
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
7557
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
7558
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
7559
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
7561
-# Dependencies to place before and after the object being linked:
7562
-_LT_AC_TAGVAR(predep_objects, $1)=
7563
-_LT_AC_TAGVAR(postdep_objects, $1)=
7564
-_LT_AC_TAGVAR(predeps, $1)=
7565
-_LT_AC_TAGVAR(postdeps, $1)=
7566
-_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
7567
-_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
7568
+AC_LIBTOOL_CONFIG($1)
7570
-# Source file extension for C++ test sources.
7577
+with_gnu_ldcxx=$with_gnu_ld
7578
+with_gnu_ld=$lt_save_with_gnu_ld
7579
+lt_cv_path_LDCXX=$lt_cv_path_LD
7580
+lt_cv_path_LD=$lt_save_path_LD
7581
+lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
7582
+lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
7583
+])# AC_LIBTOOL_LANG_CXX_CONFIG
7585
-# Object file extension for compiled C++ test sources.
7587
-_LT_AC_TAGVAR(objext, $1)=$objext
7588
+# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
7589
+# ------------------------------------
7590
+# Figure out "hidden" library dependencies from verbose
7591
+# compiler output when linking a shared library.
7592
+# Parse the compiler output and extract the necessary
7593
+# objects, libraries and library flags.
7594
+AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],
7595
+[AC_REQUIRE([LT_AC_PROG_SED])dnl
7596
+dnl we can't use the lt_simple_compile_test_code here,
7597
+dnl because it contains code intended for an executable,
7598
+dnl not a library. It's possible we should let each
7599
+dnl tag define a new lt_????_link_test_code variable,
7600
+dnl but it's only used here...
7601
+ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
7603
+void foo (void) { a = 0; }
7605
+],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
7609
+ Foo (void) { a = 0; }
7614
+],[$1],[F77],[cat > conftest.$ac_ext <<EOF
7622
+],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
7625
+ public void bar (void) {
7631
+dnl Parse the compiler output and extract the necessary
7632
+dnl objects, libraries and library flags.
7633
+if AC_TRY_EVAL(ac_compile); then
7634
+ # Parse the compiler output and extract the necessary
7635
+ # objects, libraries and library flags.
7637
-# Code to be used in simple compile tests
7638
-lt_simple_compile_test_code="int some_variable = 0;"
7639
+ # Sentinel used to keep track of whether or not we are before
7640
+ # the conftest object file.
7641
+ pre_test_object_deps_done=no
7643
-# Code to be used in simple link tests
7644
-lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
7645
+ # The `*' in the case matches for architectures that use `case' in
7646
+ # $output_verbose_cmd can trigger glob expansion during the loop
7647
+ # eval without this substitution.
7648
+ output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
7650
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
7651
-_LT_AC_SYS_COMPILER
7652
+ for p in `eval $output_verbose_link_cmd`; do
7655
-# save warnings/boilerplate of simple test code
7656
-_LT_COMPILER_BOILERPLATE
7657
-_LT_LINKER_BOILERPLATE
7659
+ # Some compilers place space between "-{L,R}" and the path.
7660
+ # Remove the space.
7661
+ if test $p = "-L" \
7662
+ || test $p = "-R"; then
7669
-# Allow CC to be a program name with arguments.
7674
-lt_save_with_gnu_ld=$with_gnu_ld
7675
-lt_save_path_LD=$lt_cv_path_LD
7676
-if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
7677
- lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
7679
- $as_unset lt_cv_prog_gnu_ld
7681
-if test -n "${lt_cv_path_LDCXX+set}"; then
7682
- lt_cv_path_LD=$lt_cv_path_LDCXX
7684
- $as_unset lt_cv_path_LD
7686
-test -z "${LDCXX+set}" || LD=$LDCXX
7689
-_LT_AC_TAGVAR(compiler, $1)=$CC
7690
-_LT_CC_BASENAME([$compiler])
7691
+ if test "$pre_test_object_deps_done" = no; then
7694
+ # Internal compiler library paths should come after those
7695
+ # provided the user. The postdeps already come after the
7696
+ # user supplied libs so there is no need to process them.
7697
+ if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
7698
+ _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
7700
+ _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
7703
+ # The "-l" case would never come before the object being
7704
+ # linked, so don't bother handling this case.
7707
+ if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
7708
+ _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
7710
+ _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
7715
-# We don't want -fno-exception wen compiling C++ code, so set the
7716
-# no_builtin_flag separately
7717
-if test "$GXX" = yes; then
7718
- _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
7720
- _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
7723
+ # This assumes that the test object file only shows up
7724
+ # once in the compiler output.
7725
+ if test "$p" = "conftest.$objext"; then
7726
+ pre_test_object_deps_done=yes
7730
-if test "$GXX" = yes; then
7731
- # Set up default GNU C++ configuration
7732
+ if test "$pre_test_object_deps_done" = no; then
7733
+ if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
7734
+ _LT_AC_TAGVAR(predep_objects, $1)="$p"
7736
+ _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
7739
+ if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
7740
+ _LT_AC_TAGVAR(postdep_objects, $1)="$p"
7742
+ _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
7748
+ *) ;; # Ignore the rest.
7750
- # Check if GNU C++ uses GNU ld as the underlying linker, since the
7751
- # archiving commands below assume that GNU ld is being used.
7752
- if test "$with_gnu_ld" = yes; then
7753
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
7754
- _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'
7758
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
7759
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
7763
+ echo "libtool.m4: error: problem compiling $1 test program"
7766
- # If archive_cmds runs LD, not CC, wlarc should be empty
7767
- # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
7768
- # investigate it a little bit more. (MM)
7770
+$rm -f confest.$objext
7772
- # ancient GNU ld didn't support --whole-archive et. al.
7773
- if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
7774
- grep 'no-whole-archive' > /dev/null; then
7775
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7777
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
7782
+_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
7783
+if test -n "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
7784
+ _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_AC_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
7787
- # A generic and very simple default shared library creation
7788
- # command for GNU C++ for the case where it uses the native
7789
- # linker, instead of GNU ld. If possible, this setting should
7790
- # overridden to take advantage of the native linker features on
7791
- # the platform it is being used on.
7792
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
7794
+# PORTME: override above test on systems where it is broken
7798
+ # Interix 3.5 installs completely hosed .la files for C++, so rather than
7799
+ # hack all around it, let's just trust "g++" to DTRT.
7800
+ _LT_AC_TAGVAR(predep_objects,$1)=
7801
+ _LT_AC_TAGVAR(postdep_objects,$1)=
7802
+ _LT_AC_TAGVAR(postdeps,$1)=
7805
- # Commands to make compiler produce verbose output that lists
7806
- # what "hidden" libraries, object files and flags are used when
7807
- # linking a shared library.
7808
- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
7810
+ case `$CC -V 2>&1 | sed 5q` in
7814
+ # The more standards-conforming stlport4 library is
7815
+ # incompatible with the Cstd library. Avoid specifying
7816
+ # it if it's in CXXFLAGS. Ignore libCrun as
7817
+ # -library=stlport4 depends on it.
7818
+ case " $CXX $CXXFLAGS " in
7819
+ *" -library=stlport4 "*)
7820
+ solaris_use_stlport4=yes
7823
+ if test "$solaris_use_stlport4" != yes; then
7824
+ _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
7836
+ case $cc_basename in
7838
+ # The more standards-conforming stlport4 library is
7839
+ # incompatible with the Cstd library. Avoid specifying
7840
+ # it if it's in CXXFLAGS. Ignore libCrun as
7841
+ # -library=stlport4 depends on it.
7842
+ case " $CXX $CXXFLAGS " in
7843
+ *" -library=stlport4 "*)
7844
+ solaris_use_stlport4=yes
7848
-# PORTME: fill in a description of your system's C++ link characteristics
7849
-AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
7850
-_LT_AC_TAGVAR(ld_shlibs, $1)=yes
7853
- # FIXME: insert proper C++ library support
7854
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
7855
+ # Adding this requires a known-good setup of shared libraries for
7856
+ # Sun compiler versions before 5.6, else PIC objects from an old
7857
+ # archive will be linked into the output, leading to subtle bugs.
7858
+ if test "$solaris_use_stlport4" != yes; then
7859
+ _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
7863
- if test "$host_cpu" = ia64; then
7864
- # On IA64, the linker does run time linking by default, so we don't
7865
- # have to do anything special.
7866
- aix_use_runtimelinking=no
7867
- exp_sym_flag='-Bexport'
7870
- aix_use_runtimelinking=no
7875
+case " $_LT_AC_TAGVAR(postdeps, $1) " in
7876
+*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
7878
+])# AC_LIBTOOL_POSTDEP_PREDEP
7880
- # Test if we are trying to use run time linking or normal
7881
- # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7882
- # need to do runtime linking.
7883
- case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
7884
- for ld_flag in $LDFLAGS; do
7887
- aix_use_runtimelinking=yes
7894
+# AC_LIBTOOL_LANG_F77_CONFIG
7895
+# --------------------------
7896
+# Ensure that the configuration vars for the C compiler are
7897
+# suitably defined. Those variables are subsequently used by
7898
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
7899
+AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
7900
+AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
7901
+[AC_REQUIRE([AC_PROG_F77])
7902
+AC_LANG_PUSH(Fortran 77)
7904
- exp_sym_flag='-bexport'
7905
- no_entry_flag='-bnoentry'
7907
+_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
7908
+_LT_AC_TAGVAR(allow_undefined_flag, $1)=
7909
+_LT_AC_TAGVAR(always_export_symbols, $1)=no
7910
+_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
7911
+_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
7912
+_LT_AC_TAGVAR(hardcode_direct, $1)=no
7913
+_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
7914
+_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
7915
+_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
7916
+_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
7917
+_LT_AC_TAGVAR(hardcode_automatic, $1)=no
7918
+_LT_AC_TAGVAR(module_cmds, $1)=
7919
+_LT_AC_TAGVAR(module_expsym_cmds, $1)=
7920
+_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
7921
+_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7922
+_LT_AC_TAGVAR(no_undefined_flag, $1)=
7923
+_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
7924
+_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
7926
- # When large executables or shared objects are built, AIX ld can
7927
- # have problems creating the table of contents. If linking a library
7928
- # or program results in "error TOC overflow" add -mminimal-toc to
7929
- # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7930
- # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7931
+# Source file extension for f77 test sources.
7934
- _LT_AC_TAGVAR(archive_cmds, $1)=''
7935
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7936
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
7937
- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
7938
+# Object file extension for compiled f77 test sources.
7940
+_LT_AC_TAGVAR(objext, $1)=$objext
7942
- if test "$GXX" = yes; then
7943
- case $host_os in aix4.[[012]]|aix4.[[012]].*)
7944
- # We only want to do this on AIX 4.2 and lower, the check
7945
- # below for broken collect2 doesn't work under 4.3+
7946
- collect2name=`${CC} -print-prog-name=collect2`
7947
- if test -f "$collect2name" && \
7948
- strings "$collect2name" | grep resolve_lib_name >/dev/null
7950
- # We have reworked collect2
7953
- # We have old collect2
7954
- _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
7955
- # It fails to find uninstalled libraries when the uninstalled
7956
- # path is not listed in the libpath. Setting hardcode_minus_L
7957
- # to unsupported forces relinking
7958
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7959
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7960
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
7964
- shared_flag='-shared'
7965
- if test "$aix_use_runtimelinking" = yes; then
7966
- shared_flag="$shared_flag "'${wl}-G'
7970
- if test "$host_cpu" = ia64; then
7971
- # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7972
- # chokes on -Wl,-G. The following line is correct:
7975
- if test "$aix_use_runtimelinking" = yes; then
7976
- shared_flag='${wl}-G'
7978
- shared_flag='${wl}-bM:SRE'
7982
+# Code to be used in simple compile tests
7983
+lt_simple_compile_test_code="\
7989
- # It seems that -bexpall does not export symbols beginning with
7990
- # underscore (_), so it is better to generate a list of symbols to export.
7991
- _LT_AC_TAGVAR(always_export_symbols, $1)=yes
7992
- if test "$aix_use_runtimelinking" = yes; then
7993
- # Warning - without using the other runtime loading flags (-brtl),
7994
- # -berok will link without error, but may produce a broken library.
7995
- _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
7996
- # Determine the default libpath from the value encoded in an empty executable.
7997
- _LT_AC_SYS_LIBPATH_AIX
7998
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
7999
+# Code to be used in simple link tests
8000
+lt_simple_link_test_code="\
8005
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8007
- if test "$host_cpu" = ia64; then
8008
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
8009
- _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
8010
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8012
- # Determine the default libpath from the value encoded in an empty executable.
8013
- _LT_AC_SYS_LIBPATH_AIX
8014
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
8015
- # Warning - without using the other run time loading flags,
8016
- # -berok will link without error, but may produce a broken library.
8017
- _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
8018
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
8019
- # Exported symbols can be pulled into shared objects from archives
8020
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
8021
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
8022
- # This is similar to how AIX traditionally builds its shared libraries.
8023
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8027
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
8028
+_LT_AC_SYS_COMPILER
8031
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8032
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
8033
- # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8034
- # support --undefined. This deserves some investigation. FIXME
8035
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8037
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8040
+# save warnings/boilerplate of simple test code
8041
+_LT_COMPILER_BOILERPLATE
8042
+_LT_LINKER_BOILERPLATE
8045
- case $cc_basename in
8047
- # FIXME: insert proper C++ library support
8048
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8052
+# Allow CC to be a program name with arguments.
8056
+_LT_AC_TAGVAR(compiler, $1)=$CC
8057
+_LT_CC_BASENAME([$compiler])
8059
- cygwin* | mingw* | pw32*)
8060
- # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
8061
- # as there is no search path for DLLs.
8062
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8063
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
8064
- _LT_AC_TAGVAR(always_export_symbols, $1)=no
8065
- _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
8066
+AC_MSG_CHECKING([if libtool supports shared libraries])
8067
+AC_MSG_RESULT([$can_build_shared])
8069
- if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
8070
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8071
- # If the export-symbols file already is a .def file (1st line
8072
- # is EXPORTS), use it as is; otherwise, prepend...
8073
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8074
- cp $export_symbols $output_objdir/$soname.def;
8076
- echo EXPORTS > $output_objdir/$soname.def;
8077
- cat $export_symbols >> $output_objdir/$soname.def;
8079
- $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8081
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8083
+AC_MSG_CHECKING([whether to build shared libraries])
8084
+test "$can_build_shared" = "no" && enable_shared=no
8086
+# On AIX, shared libraries and static libraries use the same namespace, and
8087
+# are all built from PIC.
8090
+ test "$enable_shared" = yes && enable_static=no
8091
+ if test -n "$RANLIB"; then
8092
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
8093
+ postinstall_cmds='$RANLIB $lib'
8096
- darwin* | rhapsody*)
8097
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
8098
- _LT_AC_TAGVAR(hardcode_direct, $1)=no
8099
- _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
8100
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
8101
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
8102
- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
8103
- _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
8104
- if test "$GXX" = yes ; then
8105
- output_verbose_link_cmd='echo'
8106
- _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8107
- _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8108
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8109
- _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8110
- if test "$lt_cv_apple_cc_single_mod" != "yes"; then
8111
- _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
8112
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
8115
- case $cc_basename in
8117
- output_verbose_link_cmd='echo'
8118
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8119
- _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8120
- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8121
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8122
- _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}'
8125
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8131
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8132
+ test "$enable_shared" = yes && enable_static=no
8136
+AC_MSG_RESULT([$enable_shared])
8139
- case $cc_basename in
8141
- # FIXME: insert proper C++ library support
8142
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8145
- # Green Hills C++ Compiler
8146
- # FIXME: insert proper C++ library support
8147
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8150
- # FIXME: insert proper C++ library support
8151
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8156
- # C++ shared libraries reported to be fairly broken before switch to ELF
8157
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8160
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
8162
- freebsd* | dragonfly*)
8163
- # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
8165
- _LT_AC_TAGVAR(ld_shlibs, $1)=yes
8170
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
8171
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8172
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
8173
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8174
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
8175
- # but as the default
8176
- # location of the library.
8177
+AC_MSG_CHECKING([whether to build static libraries])
8178
+# Make sure either enable_shared or enable_static is yes.
8179
+test "$enable_shared" = yes || enable_static=yes
8180
+AC_MSG_RESULT([$enable_static])
8182
- case $cc_basename in
8184
- # FIXME: insert proper C++ library support
8185
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8188
- _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'
8189
- # Commands to make compiler produce verbose output that lists
8190
- # what "hidden" libraries, object files and flags are used when
8191
- # linking a shared library.
8193
- # There doesn't appear to be a way to prevent this compiler from
8194
- # explicitly linking system object files so we need to strip them
8195
- # from the output so that they don't get included in the library
8197
- 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'
8200
- if test "$GXX" = yes; then
8201
- _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'
8203
- # FIXME: insert proper C++ library support
8204
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8210
- if test $with_gnu_ld = no; then
8211
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
8212
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8213
+_LT_AC_TAGVAR(GCC, $1)="$G77"
8214
+_LT_AC_TAGVAR(LD, $1)="$LD"
8217
- hppa*64*|ia64*) ;;
8219
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
8225
- _LT_AC_TAGVAR(hardcode_direct, $1)=no
8226
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8229
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8230
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
8231
- # but as the default
8232
- # location of the library.
8235
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
8236
+AC_LIBTOOL_PROG_CC_C_O($1)
8237
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
8238
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
8239
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
8240
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
8242
- case $cc_basename in
8244
- # FIXME: insert proper C++ library support
8245
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8250
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
8253
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
8256
- _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'
8259
- # Commands to make compiler produce verbose output that lists
8260
- # what "hidden" libraries, object files and flags are used when
8261
- # linking a shared library.
8263
- # There doesn't appear to be a way to prevent this compiler from
8264
- # explicitly linking system object files so we need to strip them
8265
- # from the output so that they don't get included in the library
8267
- 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'
8270
- if test "$GXX" = yes; then
8271
- if test $with_gnu_ld = no; then
8274
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
8277
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
8280
- _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'
8285
- # FIXME: insert proper C++ library support
8286
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8292
- _LT_AC_TAGVAR(hardcode_direct, $1)=no
8293
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8294
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
8295
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
8296
- # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8297
- # Instead, shared libraries are loaded at an image base (0x10000000 by
8298
- # default) and relocated if they conflict, which is a slow very memory
8299
- # consuming and fragmenting process. To avoid this, we pick a random,
8300
- # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8301
- # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8302
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8303
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8306
- case $cc_basename in
8309
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8310
+AC_LIBTOOL_CONFIG($1)
8312
- # Archives containing C++ object files must be created using
8313
- # "CC -ar", where "CC" is the IRIX C++ compiler. This is
8314
- # necessary to make sure instantiated templates are included
8316
- _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
8319
- if test "$GXX" = yes; then
8320
- if test "$with_gnu_ld" = no; then
8321
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8323
- _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'
8326
- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
8329
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8330
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8332
- linux* | k*bsd*-gnu)
8333
- case $cc_basename in
8335
- # Kuck and Associates, Inc. (KAI) C++ Compiler
8338
+])# AC_LIBTOOL_LANG_F77_CONFIG
8340
- # KCC will only create a shared library if the output file
8341
- # ends with ".so" (or ".sl" for HP-UX), so rename the library
8342
- # to its proper name (with version) after linking.
8343
- _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'
8344
- _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'
8345
- # Commands to make compiler produce verbose output that lists
8346
- # what "hidden" libraries, object files and flags are used when
8347
- # linking a shared library.
8349
- # There doesn't appear to be a way to prevent this compiler from
8350
- # explicitly linking system object files so we need to strip them
8351
- # from the output so that they don't get included in the library
8353
- 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'
8355
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
8356
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
8357
+# AC_LIBTOOL_LANG_GCJ_CONFIG
8358
+# --------------------------
8359
+# Ensure that the configuration vars for the C compiler are
8360
+# suitably defined. Those variables are subsequently used by
8361
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
8362
+AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
8363
+AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
8366
- # Archives containing C++ object files must be created using
8367
- # "CC -Bstatic", where "CC" is the KAI C++ compiler.
8368
- _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
8373
- # version 8.0 and above of icpc choke on multiply defined symbols
8374
- # if we add $predep_objects and $postdep_objects, however 7.1 and
8375
- # earlier do not add the objects themselves.
8376
- case `$CC -V 2>&1` in
8378
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
8379
- _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'
8381
- *) # Version 8.0 or newer
8384
- ia64*) tmp_idyn=' -i_dynamic';;
8386
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8387
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8390
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
8391
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
8392
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
8393
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8396
- # Portland Group C++ compiler
8397
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
8398
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
8399
+# Source file extension for Java test sources.
8402
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
8403
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
8404
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8408
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
8409
- _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'
8410
+# Object file extension for compiled Java test sources.
8412
+_LT_AC_TAGVAR(objext, $1)=$objext
8414
- runpath_var=LD_RUN_PATH
8415
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
8416
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8417
+# Code to be used in simple compile tests
8418
+lt_simple_compile_test_code="class foo {}"
8420
- # Commands to make compiler produce verbose output that lists
8421
- # what "hidden" libraries, object files and flags are used when
8422
- # linking a shared library.
8424
- # There doesn't appear to be a way to prevent this compiler from
8425
- # explicitly linking system object files so we need to strip them
8426
- # from the output so that they don't get included in the library
8428
- 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'
8431
- case `$CC -V 2>&1 | sed 5q` in
8434
- _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
8435
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
8436
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
8437
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8438
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8439
+# Code to be used in simple link tests
8440
+lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
8442
- # Not sure whether something based on
8443
- # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
8444
- # would be better.
8445
- output_verbose_link_cmd='echo'
8446
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
8447
+_LT_AC_SYS_COMPILER
8449
- # Archives containing C++ object files must be created using
8450
- # "CC -xar", where "CC" is the Sun C++ compiler. This is
8451
- # necessary to make sure instantiated templates are included
8453
- _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
8460
- # FIXME: insert proper C++ library support
8461
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8464
- # FIXME: insert proper C++ library support
8465
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8468
- case $cc_basename in
8470
- # FIXME: insert proper C++ library support
8471
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8474
- # FIXME: insert proper C++ library support
8475
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8480
- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8481
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
8483
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8484
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8485
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8487
- # Workaround some broken pre-1.5 toolchains
8488
- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
8491
- # C++ shared libraries are fairly broken
8492
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8495
- if test -f /usr/libexec/ld.so; then
8496
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8497
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8498
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
8499
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
8500
- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8501
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
8502
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
8503
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8505
- output_verbose_link_cmd='echo'
8507
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8511
- case $cc_basename in
8513
- # Kuck and Associates, Inc. (KAI) C++ Compiler
8515
- # KCC will only create a shared library if the output file
8516
- # ends with ".so" (or ".sl" for HP-UX), so rename the library
8517
- # to its proper name (with version) after linking.
8518
- _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'
8520
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
8521
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8522
+# save warnings/boilerplate of simple test code
8523
+_LT_COMPILER_BOILERPLATE
8524
+_LT_LINKER_BOILERPLATE
8526
- # Archives containing C++ object files must be created using
8527
- # "CC -Bstatic", where "CC" is the KAI C++ compiler.
8528
- _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
8529
+# Allow CC to be a program name with arguments.
8533
+_LT_AC_TAGVAR(compiler, $1)=$CC
8534
+_LT_CC_BASENAME([$compiler])
8538
- # Rational C++ 2.4.1
8539
- # FIXME: insert proper C++ library support
8540
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8543
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
8544
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8545
+# GCJ did not exist at the time GCC didn't implicitly link libc in.
8546
+_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
8548
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8549
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8550
+_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
8552
- # Commands to make compiler produce verbose output that lists
8553
- # what "hidden" libraries, object files and flags are used when
8554
- # linking a shared library.
8556
- # There doesn't appear to be a way to prevent this compiler from
8557
- # explicitly linking system object files so we need to strip them
8558
- # from the output so that they don't get included in the library
8560
- 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'
8563
- if test "$GXX" = yes && test "$with_gnu_ld" = no; then
8564
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
8565
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8566
+AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
8567
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
8568
+AC_LIBTOOL_PROG_CC_C_O($1)
8569
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
8570
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
8571
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
8572
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
8574
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8575
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8576
+AC_LIBTOOL_CONFIG($1)
8578
- # Commands to make compiler produce verbose output that lists
8579
- # what "hidden" libraries, object files and flags are used when
8580
- # linking a shared library.
8581
- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
8584
+])# AC_LIBTOOL_LANG_GCJ_CONFIG
8587
- # FIXME: insert proper C++ library support
8588
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8594
- case $cc_basename in
8596
- # Kuck and Associates, Inc. (KAI) C++ Compiler
8598
- # KCC will only create a shared library if the output file
8599
- # ends with ".so" (or ".sl" for HP-UX), so rename the library
8600
- # to its proper name (with version) after linking.
8601
- _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'
8602
+# AC_LIBTOOL_LANG_RC_CONFIG
8603
+# -------------------------
8604
+# Ensure that the configuration vars for the Windows resource compiler are
8605
+# suitably defined. Those variables are subsequently used by
8606
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
8607
+AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
8608
+AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
8611
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
8612
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8613
+# Source file extension for RC test sources.
8616
- # Archives containing C++ object files must be created using
8617
- # the KAI C++ compiler.
8618
- _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
8621
- # Rational C++ 2.4.1
8622
- # FIXME: insert proper C++ library support
8623
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8626
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
8627
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8628
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
8629
- echo "-hidden">> $lib.exp~
8630
- $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
8632
+# Object file extension for compiled RC test sources.
8634
+_LT_AC_TAGVAR(objext, $1)=$objext
8636
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
8637
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8638
+# Code to be used in simple compile tests
8639
+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
8641
- # Commands to make compiler produce verbose output that lists
8642
- # what "hidden" libraries, object files and flags are used when
8643
- # linking a shared library.
8645
- # There doesn't appear to be a way to prevent this compiler from
8646
- # explicitly linking system object files so we need to strip them
8647
- # from the output so that they don't get included in the library
8649
- 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'
8652
- if test "$GXX" = yes && test "$with_gnu_ld" = no; then
8653
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
8654
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8655
+# Code to be used in simple link tests
8656
+lt_simple_link_test_code="$lt_simple_compile_test_code"
8658
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8659
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8660
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
8661
+_LT_AC_SYS_COMPILER
8663
- # Commands to make compiler produce verbose output that lists
8664
- # what "hidden" libraries, object files and flags are used when
8665
- # linking a shared library.
8666
- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
8667
+# save warnings/boilerplate of simple test code
8668
+_LT_COMPILER_BOILERPLATE
8669
+_LT_LINKER_BOILERPLATE
8672
- # FIXME: insert proper C++ library support
8673
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8679
- # FIXME: insert proper C++ library support
8680
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8683
- case $cc_basename in
8686
- # FIXME: insert proper C++ library support
8687
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8691
- # FIXME: insert proper C++ library support
8692
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8695
- # FIXME: insert proper C++ library support
8696
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8701
- case $cc_basename in
8703
- # Sun C++ 4.2, 5.x and Centerline C++
8704
- _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
8705
- _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
8706
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
8707
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8708
- $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
8709
+# Allow CC to be a program name with arguments.
8713
+_LT_AC_TAGVAR(compiler, $1)=$CC
8714
+_LT_CC_BASENAME([$compiler])
8715
+_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
8717
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8718
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8720
- solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
8722
- # The compiler driver will combine and reorder linker options,
8723
- # but understands `-z linker_flag'.
8724
- # Supported since Solaris 2.6 (maybe 2.5.1?)
8725
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
8728
- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
8729
+AC_LIBTOOL_CONFIG($1)
8731
- output_verbose_link_cmd='echo'
8734
+])# AC_LIBTOOL_LANG_RC_CONFIG
8736
- # Archives containing C++ object files must be created using
8737
- # "CC -xar", where "CC" is the Sun C++ compiler. This is
8738
- # necessary to make sure instantiated templates are included
8740
- _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
8743
- # Green Hills C++ Compiler
8744
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
8746
- # The C++ compiler must be used to create the archive.
8747
- _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
8750
- # GNU C++ compiler with Solaris linker
8751
- if test "$GXX" = yes && test "$with_gnu_ld" = no; then
8752
- _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
8753
- if $CC --version | grep -v '^2\.7' > /dev/null; then
8754
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
8755
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8756
- $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
8758
- # Commands to make compiler produce verbose output that lists
8759
- # what "hidden" libraries, object files and flags are used when
8760
- # linking a shared library.
8761
- output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
8763
- # g++ 2.7 appears to require `-G' NOT `-shared' on this
8765
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
8766
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8767
- $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
8769
- # Commands to make compiler produce verbose output that lists
8770
- # what "hidden" libraries, object files and flags are used when
8771
- # linking a shared library.
8772
- output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
8775
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
8777
- solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
8779
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8786
- sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
8787
- _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
8788
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
8789
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8790
- runpath_var='LD_RUN_PATH'
8791
+# AC_LIBTOOL_CONFIG([TAGNAME])
8792
+# ----------------------------
8793
+# If TAGNAME is not passed, then create an initial libtool script
8794
+# with a default configuration from the untagged config vars. Otherwise
8795
+# add code to config.status for appending the configuration named by
8796
+# TAGNAME from the matching tagged config vars.
8797
+AC_DEFUN([AC_LIBTOOL_CONFIG],
8798
+[# The else clause should only fire when bootstrapping the
8799
+# libtool distribution, otherwise you forgot to ship ltmain.sh
8800
+# with your package, and you will get complaints that there are
8801
+# no rules to generate ltmain.sh.
8802
+if test -f "$ltmain"; then
8803
+ # See if we are running on zsh, and set the options which allow our commands through
8804
+ # without removal of \ escapes.
8805
+ if test -n "${ZSH_VERSION+set}" ; then
8806
+ setopt NO_GLOB_SUBST
8808
+ # Now quote all the things that may contain metacharacters while being
8809
+ # careful not to overquote the AC_SUBSTed values. We take copies of the
8810
+ # variables and quote the copies for generation of the libtool script.
8811
+ for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
8813
+ libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8814
+ old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8815
+ deplibs_check_method reload_flag reload_cmds need_locks \
8816
+ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8817
+ lt_cv_sys_global_symbol_to_c_name_address \
8818
+ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8819
+ old_postinstall_cmds old_postuninstall_cmds \
8820
+ _LT_AC_TAGVAR(compiler, $1) \
8821
+ _LT_AC_TAGVAR(CC, $1) \
8822
+ _LT_AC_TAGVAR(LD, $1) \
8823
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
8824
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
8825
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
8826
+ _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
8827
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
8828
+ _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
8829
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
8830
+ _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
8831
+ _LT_AC_TAGVAR(old_archive_cmds, $1) \
8832
+ _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
8833
+ _LT_AC_TAGVAR(predep_objects, $1) \
8834
+ _LT_AC_TAGVAR(postdep_objects, $1) \
8835
+ _LT_AC_TAGVAR(predeps, $1) \
8836
+ _LT_AC_TAGVAR(postdeps, $1) \
8837
+ _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
8838
+ _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \
8839
+ _LT_AC_TAGVAR(archive_cmds, $1) \
8840
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
8841
+ _LT_AC_TAGVAR(postinstall_cmds, $1) \
8842
+ _LT_AC_TAGVAR(postuninstall_cmds, $1) \
8843
+ _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
8844
+ _LT_AC_TAGVAR(allow_undefined_flag, $1) \
8845
+ _LT_AC_TAGVAR(no_undefined_flag, $1) \
8846
+ _LT_AC_TAGVAR(export_symbols_cmds, $1) \
8847
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
8848
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
8849
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
8850
+ _LT_AC_TAGVAR(hardcode_automatic, $1) \
8851
+ _LT_AC_TAGVAR(module_cmds, $1) \
8852
+ _LT_AC_TAGVAR(module_expsym_cmds, $1) \
8853
+ _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
8854
+ _LT_AC_TAGVAR(fix_srcfile_path, $1) \
8855
+ _LT_AC_TAGVAR(exclude_expsyms, $1) \
8856
+ _LT_AC_TAGVAR(include_expsyms, $1); do
8858
- case $cc_basename in
8860
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8861
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8864
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8865
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8868
+ _LT_AC_TAGVAR(old_archive_cmds, $1) | \
8869
+ _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
8870
+ _LT_AC_TAGVAR(archive_cmds, $1) | \
8871
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
8872
+ _LT_AC_TAGVAR(module_cmds, $1) | \
8873
+ _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
8874
+ _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
8875
+ _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
8876
+ extract_expsyms_cmds | reload_cmds | finish_cmds | \
8877
+ postinstall_cmds | postuninstall_cmds | \
8878
+ old_postinstall_cmds | old_postuninstall_cmds | \
8879
+ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8880
+ # Double-quote double-evaled strings.
8881
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8884
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8888
- sysv5* | sco3.2v5* | sco5v6*)
8889
- # Note: We can NOT use -z defs as we might desire, because we do not
8890
- # link with -lc, and that would cause any symbols used from libc to
8891
- # always be unresolved, which means just about no library would
8892
- # ever link correctly. If we're not using GNU ld we use -z text
8893
- # though, which does catch some bad symbols but isn't as heavy-handed
8895
- # For security reasons, it is highly recommended that you always
8896
- # use absolute paths for naming shared libraries, and exclude the
8897
- # DT_RUNPATH tag from executables and libraries. But doing so
8898
- # requires that you compile everything twice, which is a pain.
8899
- # So that behaviour is only enabled if SCOABSPATH is set to a
8900
- # non-empty value in the environment. Most likely only useful for
8901
- # creating official distributions of packages.
8902
- # This is a hack until libtool officially supports absolute path
8903
- # names for shared libraries.
8904
- _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
8905
- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
8906
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
8907
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8908
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8909
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
8910
- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
8911
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
8912
- runpath_var='LD_RUN_PATH'
8915
- case $cc_basename in
8917
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8918
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8921
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8922
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8927
- case $cc_basename in
8929
- # NonStop-UX NCC 3.20
8930
- # FIXME: insert proper C++ library support
8931
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8934
- # FIXME: insert proper C++ library support
8935
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8940
- # FIXME: insert proper C++ library support
8941
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8944
- # FIXME: insert proper C++ library support
8945
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
8947
+ *'\[$]0 --fallback-echo"')
8948
+ lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
8951
-AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
8952
-test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
8955
-_LT_AC_TAGVAR(GCC, $1)="$GXX"
8956
-_LT_AC_TAGVAR(LD, $1)="$LD"
8958
+ [cfgfile="${ofile}T"
8959
+ trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8961
+ AC_MSG_NOTICE([creating $ofile])],
8962
+ [cfgfile="$ofile"])
8964
-AC_LIBTOOL_POSTDEP_PREDEP($1)
8965
-AC_LIBTOOL_PROG_COMPILER_PIC($1)
8966
-AC_LIBTOOL_PROG_CC_C_O($1)
8967
-AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
8968
-AC_LIBTOOL_PROG_LD_SHLIBS($1)
8969
-AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
8970
-AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
8971
+ cat <<__EOF__ >> "$cfgfile"
8975
-AC_LIBTOOL_CONFIG($1)
8976
+# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8977
+# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8978
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
8980
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
8981
+# Free Software Foundation, Inc.
8983
+# This file is part of GNU Libtool:
8984
+# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8986
+# This program is free software; you can redistribute it and/or modify
8987
+# it under the terms of the GNU General Public License as published by
8988
+# the Free Software Foundation; either version 2 of the License, or
8989
+# (at your option) any later version.
8991
+# This program is distributed in the hope that it will be useful, but
8992
+# WITHOUT ANY WARRANTY; without even the implied warranty of
8993
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8994
+# General Public License for more details.
8996
+# You should have received a copy of the GNU General Public License
8997
+# along with this program; if not, write to the Free Software
8998
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9000
+# As a special exception to the GNU General Public License, if you
9001
+# distribute this file as part of a program that contains a
9002
+# configuration script generated by Autoconf, you may include it under
9003
+# the same distribution terms that you use for the rest of that program.
9010
-with_gnu_ldcxx=$with_gnu_ld
9011
-with_gnu_ld=$lt_save_with_gnu_ld
9012
-lt_cv_path_LDCXX=$lt_cv_path_LD
9013
-lt_cv_path_LD=$lt_save_path_LD
9014
-lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
9015
-lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
9016
-])# AC_LIBTOOL_LANG_CXX_CONFIG
9017
+# A sed program that does not truncate output.
9020
-# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
9021
-# ------------------------------------
9022
-# Figure out "hidden" library dependencies from verbose
9023
-# compiler output when linking a shared library.
9024
-# Parse the compiler output and extract the necessary
9025
-# objects, libraries and library flags.
9026
-AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],
9027
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
9028
-dnl we can't use the lt_simple_compile_test_code here,
9029
-dnl because it contains code intended for an executable,
9030
-dnl not a library. It's possible we should let each
9031
-dnl tag define a new lt_????_link_test_code variable,
9032
-dnl but it's only used here...
9033
-ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
9035
-void foo (void) { a = 0; }
9037
-],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
9041
- Foo (void) { a = 0; }
9046
-],[$1],[F77],[cat > conftest.$ac_ext <<EOF
9054
-],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
9057
- public void bar (void) {
9063
-dnl Parse the compiler output and extract the necessary
9064
-dnl objects, libraries and library flags.
9065
-if AC_TRY_EVAL(ac_compile); then
9066
- # Parse the compiler output and extract the necessary
9067
- # objects, libraries and library flags.
9068
+# Sed that helps us avoid accidentally triggering echo(1) options like -n.
9069
+Xsed="$SED -e 1s/^X//"
9071
- # Sentinel used to keep track of whether or not we are before
9072
- # the conftest object file.
9073
- pre_test_object_deps_done=no
9074
+# The HP-UX ksh and POSIX shell print the target directory to stdout
9075
+# if CDPATH is set.
9076
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9078
- # The `*' in the case matches for architectures that use `case' in
9079
- # $output_verbose_cmd can trigger glob expansion during the loop
9080
- # eval without this substitution.
9081
- output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
9082
+# The names of the tagged configurations supported by this script.
9085
- for p in `eval $output_verbose_link_cmd`; do
9087
+# ### BEGIN LIBTOOL CONFIG],
9088
+[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
9091
- # Some compilers place space between "-{L,R}" and the path.
9092
- # Remove the space.
9093
- if test $p = "-L" \
9094
- || test $p = "-R"; then
9100
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9102
- if test "$pre_test_object_deps_done" = no; then
9105
- # Internal compiler library paths should come after those
9106
- # provided the user. The postdeps already come after the
9107
- # user supplied libs so there is no need to process them.
9108
- if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
9109
- _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
9111
- _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
9114
- # The "-l" case would never come before the object being
9115
- # linked, so don't bother handling this case.
9118
- if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
9119
- _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
9121
- _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
9125
+# Shell to use when invoking shell scripts.
9129
- # This assumes that the test object file only shows up
9130
- # once in the compiler output.
9131
- if test "$p" = "conftest.$objext"; then
9132
- pre_test_object_deps_done=yes
9135
+# Whether or not to build shared libraries.
9136
+build_libtool_libs=$enable_shared
9138
- if test "$pre_test_object_deps_done" = no; then
9139
- if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
9140
- _LT_AC_TAGVAR(predep_objects, $1)="$p"
9142
- _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
9145
- if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
9146
- _LT_AC_TAGVAR(postdep_objects, $1)="$p"
9148
- _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
9152
+# Whether or not to build static libraries.
9153
+build_old_libs=$enable_static
9155
- *) ;; # Ignore the rest.
9156
+# Whether or not to add -lc for building shared libraries.
9157
+build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
9161
+# Whether or not to disallow shared libs when runtime libs are static
9162
+allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
9167
- echo "libtool.m4: error: problem compiling $1 test program"
9169
+# Whether or not to optimize for fast installation.
9170
+fast_install=$enable_fast_install
9172
-$rm -f confest.$objext
9174
+host_alias=$host_alias
9178
-_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
9179
-if test -n "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
9180
- _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_AC_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
9182
+# The build system.
9183
+build_alias=$build_alias
9187
-# PORTME: override above test on systems where it is broken
9191
- # Interix 3.5 installs completely hosed .la files for C++, so rather than
9192
- # hack all around it, let's just trust "g++" to DTRT.
9193
- _LT_AC_TAGVAR(predep_objects,$1)=
9194
- _LT_AC_TAGVAR(postdep_objects,$1)=
9195
- _LT_AC_TAGVAR(postdeps,$1)=
9197
+# An echo program that does not interpret backslashes.
9201
- case `$CC -V 2>&1 | sed 5q` in
9205
- # The more standards-conforming stlport4 library is
9206
- # incompatible with the Cstd library. Avoid specifying
9207
- # it if it's in CXXFLAGS. Ignore libCrun as
9208
- # -library=stlport4 depends on it.
9209
- case " $CXX $CXXFLAGS " in
9210
- *" -library=stlport4 "*)
9211
- solaris_use_stlport4=yes
9214
- if test "$solaris_use_stlport4" != yes; then
9215
- _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
9222
+AR_FLAGS=$lt_AR_FLAGS
9225
- case $cc_basename in
9227
- # The more standards-conforming stlport4 library is
9228
- # incompatible with the Cstd library. Avoid specifying
9229
- # it if it's in CXXFLAGS. Ignore libCrun as
9230
- # -library=stlport4 depends on it.
9231
- case " $CXX $CXXFLAGS " in
9232
- *" -library=stlport4 "*)
9233
- solaris_use_stlport4=yes
9239
- # Adding this requires a known-good setup of shared libraries for
9240
- # Sun compiler versions before 5.6, else PIC objects from an old
9241
- # archive will be linked into the output, leading to subtle bugs.
9242
- if test "$solaris_use_stlport4" != yes; then
9243
- _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
9250
-case " $_LT_AC_TAGVAR(postdeps, $1) " in
9251
-*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
9253
-])# AC_LIBTOOL_POSTDEP_PREDEP
9254
+# LTCC compiler flags.
9255
+LTCFLAGS=$lt_LTCFLAGS
9257
-# AC_LIBTOOL_LANG_F77_CONFIG
9258
-# --------------------------
9259
-# Ensure that the configuration vars for the C compiler are
9260
-# suitably defined. Those variables are subsequently used by
9261
-# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
9262
-AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
9263
-AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
9264
-[AC_REQUIRE([AC_PROG_F77])
9265
-AC_LANG_PUSH(Fortran 77)
9266
+# A language-specific compiler.
9267
+CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
9269
-_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
9270
-_LT_AC_TAGVAR(allow_undefined_flag, $1)=
9271
-_LT_AC_TAGVAR(always_export_symbols, $1)=no
9272
-_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
9273
-_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
9274
-_LT_AC_TAGVAR(hardcode_direct, $1)=no
9275
-_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
9276
-_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
9277
-_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
9278
-_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
9279
-_LT_AC_TAGVAR(hardcode_automatic, $1)=no
9280
-_LT_AC_TAGVAR(module_cmds, $1)=
9281
-_LT_AC_TAGVAR(module_expsym_cmds, $1)=
9282
-_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
9283
-_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
9284
-_LT_AC_TAGVAR(no_undefined_flag, $1)=
9285
-_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
9286
-_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
9287
+# Is the compiler the GNU C compiler?
9288
+with_gcc=$_LT_AC_TAGVAR(GCC, $1)
9290
-# Source file extension for f77 test sources.
9295
-# Object file extension for compiled f77 test sources.
9297
-_LT_AC_TAGVAR(objext, $1)=$objext
9298
+# The linker used to build libraries.
9299
+LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
9301
-# Code to be used in simple compile tests
9302
-lt_simple_compile_test_code="\
9307
+# Whether we need hard or soft links.
9310
-# Code to be used in simple link tests
9311
-lt_simple_link_test_code="\
9315
+# A BSD-compatible nm program.
9318
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
9319
-_LT_AC_SYS_COMPILER
9320
+# A symbol stripping program
9323
-# save warnings/boilerplate of simple test code
9324
-_LT_COMPILER_BOILERPLATE
9325
-_LT_LINKER_BOILERPLATE
9326
+# Used to examine libraries when file_magic_cmd begins "file"
9327
+MAGIC_CMD=$MAGIC_CMD
9329
-# Allow CC to be a program name with arguments.
9333
-_LT_AC_TAGVAR(compiler, $1)=$CC
9334
-_LT_CC_BASENAME([$compiler])
9335
+# Used on cygwin: DLL creation program.
9338
-AC_MSG_CHECKING([if libtool supports shared libraries])
9339
-AC_MSG_RESULT([$can_build_shared])
9340
+# Used on cygwin: object dumper.
9343
-AC_MSG_CHECKING([whether to build shared libraries])
9344
-test "$can_build_shared" = "no" && enable_shared=no
9345
+# Used on cygwin: assembler.
9348
-# On AIX, shared libraries and static libraries use the same namespace, and
9349
-# are all built from PIC.
9352
- test "$enable_shared" = yes && enable_static=no
9353
- if test -n "$RANLIB"; then
9354
- archive_cmds="$archive_cmds~\$RANLIB \$lib"
9355
- postinstall_cmds='$RANLIB $lib'
9359
- if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9360
- test "$enable_shared" = yes && enable_static=no
9364
-AC_MSG_RESULT([$enable_shared])
9365
+# The name of the directory that contains temporary libtool files.
9368
-AC_MSG_CHECKING([whether to build static libraries])
9369
-# Make sure either enable_shared or enable_static is yes.
9370
-test "$enable_shared" = yes || enable_static=yes
9371
-AC_MSG_RESULT([$enable_static])
9372
+# How to create reloadable object files.
9373
+reload_flag=$lt_reload_flag
9374
+reload_cmds=$lt_reload_cmds
9376
-_LT_AC_TAGVAR(GCC, $1)="$G77"
9377
-_LT_AC_TAGVAR(LD, $1)="$LD"
9378
+# How to pass a linker flag through the compiler.
9379
+wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
9381
-AC_LIBTOOL_PROG_COMPILER_PIC($1)
9382
-AC_LIBTOOL_PROG_CC_C_O($1)
9383
-AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
9384
-AC_LIBTOOL_PROG_LD_SHLIBS($1)
9385
-AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
9386
-AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
9387
+# Object file suffix (normally "o").
9388
+objext="$ac_objext"
9390
-AC_LIBTOOL_CONFIG($1)
9391
+# Old archive suffix (normally "a").
9396
-])# AC_LIBTOOL_LANG_F77_CONFIG
9397
+# Shared library suffix (normally ".so").
9398
+shrext_cmds='$shrext_cmds'
9400
+# Executable file suffix (normally "").
9403
-# AC_LIBTOOL_LANG_GCJ_CONFIG
9404
-# --------------------------
9405
-# Ensure that the configuration vars for the C compiler are
9406
-# suitably defined. Those variables are subsequently used by
9407
-# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
9408
-AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
9409
-AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
9411
+# Additional compiler flags for building library objects.
9412
+pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
9415
-# Source file extension for Java test sources.
9417
+# What is the maximum length of a command?
9418
+max_cmd_len=$lt_cv_sys_max_cmd_len
9420
-# Object file extension for compiled Java test sources.
9422
-_LT_AC_TAGVAR(objext, $1)=$objext
9423
+# Does compiler simultaneously support -c and -o options?
9424
+compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
9426
-# Code to be used in simple compile tests
9427
-lt_simple_compile_test_code="class foo {}"
9428
+# Must we lock files when doing compilation?
9429
+need_locks=$lt_need_locks
9431
-# Code to be used in simple link tests
9432
-lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
9433
+# Do we need the lib prefix for modules?
9434
+need_lib_prefix=$need_lib_prefix
9436
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
9437
-_LT_AC_SYS_COMPILER
9438
+# Do we need a version for libraries?
9439
+need_version=$need_version
9441
-# save warnings/boilerplate of simple test code
9442
-_LT_COMPILER_BOILERPLATE
9443
-_LT_LINKER_BOILERPLATE
9444
+# Whether dlopen is supported.
9445
+dlopen_support=$enable_dlopen
9447
-# Allow CC to be a program name with arguments.
9451
-_LT_AC_TAGVAR(compiler, $1)=$CC
9452
-_LT_CC_BASENAME([$compiler])
9453
+# Whether dlopen of programs is supported.
9454
+dlopen_self=$enable_dlopen_self
9456
-# GCJ did not exist at the time GCC didn't implicitly link libc in.
9457
-_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
9458
+# Whether dlopen of statically linked programs is supported.
9459
+dlopen_self_static=$enable_dlopen_self_static
9461
-_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
9462
+# Compiler flag to prevent dynamic linking.
9463
+link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
9465
-AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
9466
-AC_LIBTOOL_PROG_COMPILER_PIC($1)
9467
-AC_LIBTOOL_PROG_CC_C_O($1)
9468
-AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
9469
-AC_LIBTOOL_PROG_LD_SHLIBS($1)
9470
-AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
9471
-AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
9472
+# Compiler flag to turn off builtin functions.
9473
+no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
9475
-AC_LIBTOOL_CONFIG($1)
9476
+# Compiler flag to allow reflexive dlopens.
9477
+export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
9481
-])# AC_LIBTOOL_LANG_GCJ_CONFIG
9482
+# Compiler flag to generate shared objects directly from archives.
9483
+whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
9485
+# Compiler flag to generate thread-safe objects.
9486
+thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
9488
-# AC_LIBTOOL_LANG_RC_CONFIG
9489
-# -------------------------
9490
-# Ensure that the configuration vars for the Windows resource compiler are
9491
-# suitably defined. Those variables are subsequently used by
9492
-# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
9493
-AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
9494
-AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
9496
+# Library versioning type.
9497
+version_type=$version_type
9499
-# Source file extension for RC test sources.
9501
+# Format of library name prefix.
9502
+libname_spec=$lt_libname_spec
9504
-# Object file extension for compiled RC test sources.
9506
-_LT_AC_TAGVAR(objext, $1)=$objext
9507
+# List of archive names. First name is the real one, the rest are links.
9508
+# The last name is the one that the linker finds with -lNAME.
9509
+library_names_spec=$lt_library_names_spec
9511
-# Code to be used in simple compile tests
9512
-lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
9513
+# The coded name of the library, if different from the real name.
9514
+soname_spec=$lt_soname_spec
9516
-# Code to be used in simple link tests
9517
-lt_simple_link_test_code="$lt_simple_compile_test_code"
9518
+# Commands used to build and install an old-style archive.
9520
+old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
9521
+old_postinstall_cmds=$lt_old_postinstall_cmds
9522
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
9524
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
9525
-_LT_AC_SYS_COMPILER
9526
+# Create an old-style archive from a shared archive.
9527
+old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
9529
-# save warnings/boilerplate of simple test code
9530
-_LT_COMPILER_BOILERPLATE
9531
-_LT_LINKER_BOILERPLATE
9532
+# Create a temporary old-style archive to link instead of a shared archive.
9533
+old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
9535
-# Allow CC to be a program name with arguments.
9539
-_LT_AC_TAGVAR(compiler, $1)=$CC
9540
-_LT_CC_BASENAME([$compiler])
9541
-_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
9542
+# Commands used to build and install a shared archive.
9543
+archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
9544
+archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
9545
+postinstall_cmds=$lt_postinstall_cmds
9546
+postuninstall_cmds=$lt_postuninstall_cmds
9548
-AC_LIBTOOL_CONFIG($1)
9549
+# Commands used to build a loadable module (assumed same as above if empty)
9550
+module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
9551
+module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
9555
-])# AC_LIBTOOL_LANG_RC_CONFIG
9556
+# Commands to strip libraries.
9557
+old_striplib=$lt_old_striplib
9558
+striplib=$lt_striplib
9560
+# Dependencies to place before the objects being linked to create a
9562
+predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
9564
-# AC_LIBTOOL_CONFIG([TAGNAME])
9565
-# ----------------------------
9566
-# If TAGNAME is not passed, then create an initial libtool script
9567
-# with a default configuration from the untagged config vars. Otherwise
9568
-# add code to config.status for appending the configuration named by
9569
-# TAGNAME from the matching tagged config vars.
9570
-AC_DEFUN([AC_LIBTOOL_CONFIG],
9571
-[# The else clause should only fire when bootstrapping the
9572
-# libtool distribution, otherwise you forgot to ship ltmain.sh
9573
-# with your package, and you will get complaints that there are
9574
-# no rules to generate ltmain.sh.
9575
-if test -f "$ltmain"; then
9576
- # See if we are running on zsh, and set the options which allow our commands through
9577
- # without removal of \ escapes.
9578
- if test -n "${ZSH_VERSION+set}" ; then
9579
- setopt NO_GLOB_SUBST
9581
- # Now quote all the things that may contain metacharacters while being
9582
- # careful not to overquote the AC_SUBSTed values. We take copies of the
9583
- # variables and quote the copies for generation of the libtool script.
9584
- for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9586
- libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9587
- old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9588
- deplibs_check_method reload_flag reload_cmds need_locks \
9589
- lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9590
- lt_cv_sys_global_symbol_to_c_name_address \
9591
- sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9592
- old_postinstall_cmds old_postuninstall_cmds \
9593
- _LT_AC_TAGVAR(compiler, $1) \
9594
- _LT_AC_TAGVAR(CC, $1) \
9595
- _LT_AC_TAGVAR(LD, $1) \
9596
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
9597
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
9598
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
9599
- _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
9600
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
9601
- _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
9602
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
9603
- _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
9604
- _LT_AC_TAGVAR(old_archive_cmds, $1) \
9605
- _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
9606
- _LT_AC_TAGVAR(predep_objects, $1) \
9607
- _LT_AC_TAGVAR(postdep_objects, $1) \
9608
- _LT_AC_TAGVAR(predeps, $1) \
9609
- _LT_AC_TAGVAR(postdeps, $1) \
9610
- _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
9611
- _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \
9612
- _LT_AC_TAGVAR(archive_cmds, $1) \
9613
- _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
9614
- _LT_AC_TAGVAR(postinstall_cmds, $1) \
9615
- _LT_AC_TAGVAR(postuninstall_cmds, $1) \
9616
- _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
9617
- _LT_AC_TAGVAR(allow_undefined_flag, $1) \
9618
- _LT_AC_TAGVAR(no_undefined_flag, $1) \
9619
- _LT_AC_TAGVAR(export_symbols_cmds, $1) \
9620
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
9621
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
9622
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
9623
- _LT_AC_TAGVAR(hardcode_automatic, $1) \
9624
- _LT_AC_TAGVAR(module_cmds, $1) \
9625
- _LT_AC_TAGVAR(module_expsym_cmds, $1) \
9626
- _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
9627
- _LT_AC_TAGVAR(fix_srcfile_path, $1) \
9628
- _LT_AC_TAGVAR(exclude_expsyms, $1) \
9629
- _LT_AC_TAGVAR(include_expsyms, $1); do
9632
- _LT_AC_TAGVAR(old_archive_cmds, $1) | \
9633
- _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
9634
- _LT_AC_TAGVAR(archive_cmds, $1) | \
9635
- _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
9636
- _LT_AC_TAGVAR(module_cmds, $1) | \
9637
- _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
9638
- _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
9639
- _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
9640
- extract_expsyms_cmds | reload_cmds | finish_cmds | \
9641
- postinstall_cmds | postuninstall_cmds | \
9642
- old_postinstall_cmds | old_postuninstall_cmds | \
9643
- sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
9644
- # Double-quote double-evaled strings.
9645
- eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9648
- eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9652
+# Dependencies to place after the objects being linked to create a
9654
+postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
9657
- *'\[$]0 --fallback-echo"')
9658
- lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
9661
+# Dependencies to place before the objects being linked to create a
9663
+predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
9666
- [cfgfile="${ofile}T"
9667
- trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9669
- AC_MSG_NOTICE([creating $ofile])],
9670
- [cfgfile="$ofile"])
9671
+# Dependencies to place after the objects being linked to create a
9673
+postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
9675
- cat <<__EOF__ >> "$cfgfile"
9678
+# The directories searched by this compiler when creating a shared
9680
+compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)
9682
-# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9683
-# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9684
-# NOTE: Changes made to this file will be lost: look at ltmain.sh.
9686
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
9687
-# Free Software Foundation, Inc.
9689
-# This file is part of GNU Libtool:
9690
-# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9692
-# This program is free software; you can redistribute it and/or modify
9693
-# it under the terms of the GNU General Public License as published by
9694
-# the Free Software Foundation; either version 2 of the License, or
9695
-# (at your option) any later version.
9697
-# This program is distributed in the hope that it will be useful, but
9698
-# WITHOUT ANY WARRANTY; without even the implied warranty of
9699
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9700
-# General Public License for more details.
9702
-# You should have received a copy of the GNU General Public License
9703
-# along with this program; if not, write to the Free Software
9704
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9706
-# As a special exception to the GNU General Public License, if you
9707
-# distribute this file as part of a program that contains a
9708
-# configuration script generated by Autoconf, you may include it under
9709
-# the same distribution terms that you use for the rest of that program.
9710
+# The library search path used internally by the compiler when linking
9711
+# a shared library.
9712
+compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
9714
-# A sed program that does not truncate output.
9716
+# Method to check whether dependent libraries are shared objects.
9717
+deplibs_check_method=$lt_deplibs_check_method
9719
-# Sed that helps us avoid accidentally triggering echo(1) options like -n.
9720
-Xsed="$SED -e 1s/^X//"
9721
+# Command to use when deplibs_check_method == file_magic.
9722
+file_magic_cmd=$lt_file_magic_cmd
9724
-# The HP-UX ksh and POSIX shell print the target directory to stdout
9725
-# if CDPATH is set.
9726
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9727
+# Flag that allows shared libraries with undefined symbols to be built.
9728
+allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
9730
-# The names of the tagged configurations supported by this script.
9732
+# Flag that forces no undefined symbols.
9733
+no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
9735
-# ### BEGIN LIBTOOL CONFIG],
9736
-[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
9737
+# Commands used to finish a libtool library installation in a directory.
9738
+finish_cmds=$lt_finish_cmds
9740
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9741
+# Same as above, but a single script fragment to be evaled but not shown.
9742
+finish_eval=$lt_finish_eval
9744
-# Shell to use when invoking shell scripts.
9746
+# Take the output of nm and produce a listing of raw symbols and C names.
9747
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9749
-# Whether or not to build shared libraries.
9750
-build_libtool_libs=$enable_shared
9751
+# Transform the output of nm in a proper C declaration
9752
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9754
-# Whether or not to build static libraries.
9755
-build_old_libs=$enable_static
9756
+# Transform the output of nm in a C name address pair
9757
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9759
-# Whether or not to add -lc for building shared libraries.
9760
-build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
9761
+# This is the shared library runtime path variable.
9762
+runpath_var=$runpath_var
9764
-# Whether or not to disallow shared libs when runtime libs are static
9765
-allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
9766
+# This is the shared library path variable.
9767
+shlibpath_var=$shlibpath_var
9769
-# Whether or not to optimize for fast installation.
9770
-fast_install=$enable_fast_install
9771
+# Is shlibpath searched before the hard-coded library search path?
9772
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9775
-host_alias=$host_alias
9778
+# How to hardcode a shared library path into an executable.
9779
+hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
9781
-# The build system.
9782
-build_alias=$build_alias
9785
+# Whether we should hardcode library paths into libraries.
9786
+hardcode_into_libs=$hardcode_into_libs
9788
-# An echo program that does not interpret backslashes.
9790
+# Flag to hardcode \$libdir into a binary during linking.
9791
+# This must work even if \$libdir does not exist.
9792
+hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
9796
-AR_FLAGS=$lt_AR_FLAGS
9797
+# If ld is used when linking, flag to hardcode \$libdir into
9798
+# a binary during linking. This must work even if \$libdir does
9800
+hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
9804
+# Whether we need a single -rpath flag with a separated argument.
9805
+hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
9807
-# LTCC compiler flags.
9808
-LTCFLAGS=$lt_LTCFLAGS
9809
+# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9810
+# resulting binary.
9811
+hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
9813
-# A language-specific compiler.
9814
-CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
9815
+# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9816
+# resulting binary.
9817
+hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
9819
-# Is the compiler the GNU C compiler?
9820
-with_gcc=$_LT_AC_TAGVAR(GCC, $1)
9821
+# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9822
+# the resulting binary.
9823
+hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
9827
+# Set to yes if building a shared library automatically hardcodes DIR into the library
9828
+# and all subsequent libraries and executables linked against it.
9829
+hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
9831
-# The linker used to build libraries.
9832
-LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
9833
+# Variables whose values should be saved in libtool wrapper scripts and
9834
+# restored at relink time.
9835
+variables_saved_for_relink="$variables_saved_for_relink"
9837
-# Whether we need hard or soft links.
9839
+# Whether libtool must link a program against all its dependency libraries.
9840
+link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
9842
-# A BSD-compatible nm program.
9844
+# Compile-time system search path for libraries
9845
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9847
-# A symbol stripping program
9849
+# Run-time system search path for libraries
9850
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9852
-# Used to examine libraries when file_magic_cmd begins "file"
9853
-MAGIC_CMD=$MAGIC_CMD
9854
+# Fix the shell variable \$srcfile for the compiler.
9855
+fix_srcfile_path=$lt_fix_srcfile_path
9857
-# Used on cygwin: DLL creation program.
9859
+# Set to yes if exported symbols are required.
9860
+always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
9862
-# Used on cygwin: object dumper.
9864
+# The commands to list exported symbols.
9865
+export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
9867
-# Used on cygwin: assembler.
9869
+# The commands to extract the exported symbol list from a shared archive.
9870
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
9872
-# The name of the directory that contains temporary libtool files.
9874
+# Symbols that should not be listed in the preloaded symbols.
9875
+exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
9877
-# How to create reloadable object files.
9878
-reload_flag=$lt_reload_flag
9879
-reload_cmds=$lt_reload_cmds
9881
-# How to pass a linker flag through the compiler.
9882
-wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
9884
-# Object file suffix (normally "o").
9885
-objext="$ac_objext"
9887
-# Old archive suffix (normally "a").
9890
-# Shared library suffix (normally ".so").
9891
-shrext_cmds='$shrext_cmds'
9893
-# Executable file suffix (normally "").
9896
-# Additional compiler flags for building library objects.
9897
-pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
9900
-# What is the maximum length of a command?
9901
-max_cmd_len=$lt_cv_sys_max_cmd_len
9903
-# Does compiler simultaneously support -c and -o options?
9904
-compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
9906
-# Must we lock files when doing compilation?
9907
-need_locks=$lt_need_locks
9909
-# Do we need the lib prefix for modules?
9910
-need_lib_prefix=$need_lib_prefix
9912
-# Do we need a version for libraries?
9913
-need_version=$need_version
9915
-# Whether dlopen is supported.
9916
-dlopen_support=$enable_dlopen
9918
-# Whether dlopen of programs is supported.
9919
-dlopen_self=$enable_dlopen_self
9921
-# Whether dlopen of statically linked programs is supported.
9922
-dlopen_self_static=$enable_dlopen_self_static
9924
-# Compiler flag to prevent dynamic linking.
9925
-link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
9927
-# Compiler flag to turn off builtin functions.
9928
-no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
9930
-# Compiler flag to allow reflexive dlopens.
9931
-export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
9933
-# Compiler flag to generate shared objects directly from archives.
9934
-whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
9936
-# Compiler flag to generate thread-safe objects.
9937
-thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
9939
-# Library versioning type.
9940
-version_type=$version_type
9942
-# Format of library name prefix.
9943
-libname_spec=$lt_libname_spec
9945
-# List of archive names. First name is the real one, the rest are links.
9946
-# The last name is the one that the linker finds with -lNAME.
9947
-library_names_spec=$lt_library_names_spec
9949
-# The coded name of the library, if different from the real name.
9950
-soname_spec=$lt_soname_spec
9952
-# Commands used to build and install an old-style archive.
9954
-old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
9955
-old_postinstall_cmds=$lt_old_postinstall_cmds
9956
-old_postuninstall_cmds=$lt_old_postuninstall_cmds
9958
-# Create an old-style archive from a shared archive.
9959
-old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
9961
-# Create a temporary old-style archive to link instead of a shared archive.
9962
-old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
9964
-# Commands used to build and install a shared archive.
9965
-archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
9966
-archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
9967
-postinstall_cmds=$lt_postinstall_cmds
9968
-postuninstall_cmds=$lt_postuninstall_cmds
9970
-# Commands used to build a loadable module (assumed same as above if empty)
9971
-module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
9972
-module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
9974
-# Commands to strip libraries.
9975
-old_striplib=$lt_old_striplib
9976
-striplib=$lt_striplib
9978
-# Dependencies to place before the objects being linked to create a
9980
-predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
9982
-# Dependencies to place after the objects being linked to create a
9984
-postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
9986
-# Dependencies to place before the objects being linked to create a
9988
-predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
9990
-# Dependencies to place after the objects being linked to create a
9992
-postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
9994
-# The directories searched by this compiler when creating a shared
9996
-compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)
9998
-# The library search path used internally by the compiler when linking
9999
-# a shared library.
10000
-compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
10002
-# Method to check whether dependent libraries are shared objects.
10003
-deplibs_check_method=$lt_deplibs_check_method
10005
-# Command to use when deplibs_check_method == file_magic.
10006
-file_magic_cmd=$lt_file_magic_cmd
10008
-# Flag that allows shared libraries with undefined symbols to be built.
10009
-allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
10011
-# Flag that forces no undefined symbols.
10012
-no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
10014
-# Commands used to finish a libtool library installation in a directory.
10015
-finish_cmds=$lt_finish_cmds
10017
-# Same as above, but a single script fragment to be evaled but not shown.
10018
-finish_eval=$lt_finish_eval
10020
-# Take the output of nm and produce a listing of raw symbols and C names.
10021
-global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10023
-# Transform the output of nm in a proper C declaration
10024
-global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10026
-# Transform the output of nm in a C name address pair
10027
-global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10029
-# This is the shared library runtime path variable.
10030
-runpath_var=$runpath_var
10032
-# This is the shared library path variable.
10033
-shlibpath_var=$shlibpath_var
10035
-# Is shlibpath searched before the hard-coded library search path?
10036
-shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10038
-# How to hardcode a shared library path into an executable.
10039
-hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
10041
-# Whether we should hardcode library paths into libraries.
10042
-hardcode_into_libs=$hardcode_into_libs
10044
-# Flag to hardcode \$libdir into a binary during linking.
10045
-# This must work even if \$libdir does not exist.
10046
-hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
10048
-# If ld is used when linking, flag to hardcode \$libdir into
10049
-# a binary during linking. This must work even if \$libdir does
10051
-hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
10053
-# Whether we need a single -rpath flag with a separated argument.
10054
-hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
10056
-# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10057
-# resulting binary.
10058
-hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
10060
-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10061
-# resulting binary.
10062
-hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
10064
-# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10065
-# the resulting binary.
10066
-hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
10068
-# Set to yes if building a shared library automatically hardcodes DIR into the library
10069
-# and all subsequent libraries and executables linked against it.
10070
-hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
10072
-# Variables whose values should be saved in libtool wrapper scripts and
10073
-# restored at relink time.
10074
-variables_saved_for_relink="$variables_saved_for_relink"
10076
-# Whether libtool must link a program against all its dependency libraries.
10077
-link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
10079
-# Compile-time system search path for libraries
10080
-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10082
-# Run-time system search path for libraries
10083
-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10085
-# Fix the shell variable \$srcfile for the compiler.
10086
-fix_srcfile_path=$lt_fix_srcfile_path
10088
-# Set to yes if exported symbols are required.
10089
-always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
10091
-# The commands to list exported symbols.
10092
-export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
10094
-# The commands to extract the exported symbol list from a shared archive.
10095
-extract_expsyms_cmds=$lt_extract_expsyms_cmds
10097
-# Symbols that should not be listed in the preloaded symbols.
10098
-exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
10100
-# Symbols that must always be exported.
10101
-include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
10102
+# Symbols that must always be exported.
10103
+include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
10106
[# ### END LIBTOOL CONFIG],
10107
@@ -6272,7 +5405,7 @@ AC_MSG_CHECKING([for $compiler option to
10112
+ netbsd* | netbsdelf*-gnu)
10114
osf3* | osf4* | osf5*)
10115
case $cc_basename in
10116
@@ -6327,1556 +5460,2438 @@ AC_MSG_CHECKING([for $compiler option to
10122
- case $cc_basename in
10124
- # NonStop-UX NCC 3.20
10125
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
10131
+ case $cc_basename in
10133
+ # NonStop-UX NCC 3.20
10134
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
10140
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10141
+ case $cc_basename in
10143
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
10144
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
10145
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
10152
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
10158
+ if test "$GCC" = yes; then
10159
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
10160
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
10164
+ # All AIX code is PIC.
10165
+ if test "$host_cpu" = ia64; then
10166
+ # AIX 5 now supports IA64 processor
10167
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
10172
+ # FIXME: we need at least 68020 code to build shared libraries, but
10173
+ # adding the `-m68020' flag to GCC prevents building anything better,
10174
+ # like `-m68040'.
10175
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
10178
+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10179
+ # PIC is the default for these OSes.
10182
+ mingw* | cygwin* | pw32* | os2*)
10183
+ # This hack is so that the source file can tell whether it is being
10184
+ # built for inclusion in a dll (and should export symbols for example).
10185
+ # Although the cygwin gcc ignores -fPIC, still need this for old-style
10186
+ # (--disable-auto-import) libraries
10187
+ m4_if([$1], [GCJ], [],
10188
+ [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
10191
+ darwin* | rhapsody*)
10192
+ # PIC is the default on this platform
10193
+ # Common symbols not allowed in MH_DYLIB files
10194
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
10198
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10199
+ # Instead, we relocate shared libraries at runtime.
10203
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
10204
+ # on systems that don't support them.
10205
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
10210
+ if test -d /usr/nec; then
10211
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
10216
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10217
+ # not for PA HP-UX.
10218
+ case $host_cpu in
10223
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
10229
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
10233
+ # PORTME Check for flag to pass linker flags through the system compiler.
10236
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
10237
+ if test "$host_cpu" = ia64; then
10238
+ # AIX 5 now supports IA64 processor
10239
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
10241
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
10245
+ # PIC is the default on this platform
10246
+ # Common symbols not allowed in MH_DYLIB files
10247
+ case $cc_basename in
10249
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
10250
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
10255
+ mingw* | cygwin* | pw32* | os2*)
10256
+ # This hack is so that the source file can tell whether it is being
10257
+ # built for inclusion in a dll (and should export symbols for example).
10258
+ m4_if([$1], [GCJ], [],
10259
+ [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
10262
+ hpux9* | hpux10* | hpux11*)
10263
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
10264
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10265
+ # not for PA HP-UX.
10266
+ case $host_cpu in
10271
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
10274
+ # Is there a better lt_prog_compiler_static that works with the bundled CC?
10275
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
10278
+ irix5* | irix6* | nonstopux*)
10279
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
10280
+ # PIC (with -KPIC) is the default.
10281
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
10285
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
10286
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
10289
+ linux* | k*bsd*-gnu)
10290
+ case $cc_basename in
10292
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
10293
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
10294
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
10296
+ pgcc* | pgf77* | pgf90* | pgf95*)
10297
+ # Portland Group compilers (*not* the Pentium gcc compiler,
10298
+ # which looks to be a dead project)
10299
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
10300
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
10301
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
10304
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
10305
+ # All Alpha code is PIC.
10306
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
10309
+ case `$CC -V 2>&1 | sed 5q` in
10312
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
10313
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
10314
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
10317
+ # Sun Fortran 8.3 passes all unrecognized flags to the linker
10318
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
10319
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
10320
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''
10327
+ osf3* | osf4* | osf5*)
10328
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
10329
+ # All OSF/1 code is PIC.
10330
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
10334
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
10338
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
10339
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
10340
+ case $cc_basename in
10341
+ f77* | f90* | f95*)
10342
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
10344
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
10349
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
10350
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
10351
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
10354
+ sysv4 | sysv4.2uw2* | sysv4.3*)
10355
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
10356
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
10357
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
10361
+ if test -d /usr/nec ;then
10362
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
10363
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
10367
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10368
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
10369
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
10370
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
10374
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
10375
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
10379
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
10380
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
10384
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
10389
+AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
10392
+# Check to make sure the PIC flag actually works.
10394
+if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
10395
+ AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
10396
+ _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
10397
+ [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
10398
+ [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
10400
+ *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
10402
+ [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
10403
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
10406
+ # For platforms which do not support PIC, -DPIC is meaningless:
10408
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
10411
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
10416
+# Check to make sure the static flag actually works.
10418
+wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
10419
+AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
10420
+ _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1),
10421
+ $lt_tmp_static_flag,
10423
+ [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
10427
+# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
10428
+# ------------------------------------
10429
+# See if the linker supports building shared libraries.
10430
+AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
10431
+[AC_REQUIRE([LT_AC_PROG_SED])dnl
10432
+AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
10433
+ifelse([$1],[CXX],[
10434
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10437
+ # If we're using GNU nm, then we don't want the "-C" option.
10438
+ # -C means demangle to AIX nm, but means don't demangle with GNU nm
10439
+ if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10440
+ _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'
10442
+ _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'
10446
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
10448
+ cygwin* | mingw*)
10449
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
10451
+ linux* | k*bsd*-gnu)
10452
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=no
10455
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10458
+ _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
10461
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=
10462
+ _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
10463
+ _LT_AC_TAGVAR(archive_cmds, $1)=
10464
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
10465
+ _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
10466
+ _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
10467
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
10468
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
10469
+ _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
10470
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
10471
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
10472
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
10473
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
10474
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
10475
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
10476
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
10477
+ _LT_AC_TAGVAR(hardcode_automatic, $1)=no
10478
+ _LT_AC_TAGVAR(module_cmds, $1)=
10479
+ _LT_AC_TAGVAR(module_expsym_cmds, $1)=
10480
+ _LT_AC_TAGVAR(always_export_symbols, $1)=no
10481
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10482
+ # include_expsyms should be a list of space-separated symbols to be *always*
10483
+ # included in the symbol list
10484
+ _LT_AC_TAGVAR(include_expsyms, $1)=
10485
+ # exclude_expsyms can be an extended regexp of symbols to exclude
10486
+ # it will be wrapped by ` (' and `)$', so one must not match beginning or
10487
+ # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10488
+ # as well as any symbol that contains `d'.
10489
+ _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
10490
+ # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10491
+ # platforms (ab)use it in PIC code, but their linkers get confused if
10492
+ # the symbol is explicitly referenced. Since portable code cannot
10493
+ # rely on this symbol name, it's probably fine to never include it in
10494
+ # preloaded symbol tables.
10495
+ # Exclude shared library initialization/finalization symbols.
10496
+dnl Note also adjust exclude_expsyms for C++ above.
10497
+ extract_expsyms_cmds=
10498
+ # Just being paranoid about ensuring that cc_basename is set.
10499
+ _LT_CC_BASENAME([$compiler])
10501
+ cygwin* | mingw* | pw32*)
10502
+ # FIXME: the MSVC++ port hasn't been tested in a loooong time
10503
+ # When not using gcc, we currently assume that we are using
10504
+ # Microsoft Visual C++.
10505
+ if test "$GCC" != yes; then
10510
+ # we just hope/assume this is gcc and not c89 (= MSVC++)
10518
+ _LT_AC_TAGVAR(ld_shlibs, $1)=yes
10519
+ if test "$with_gnu_ld" = yes; then
10520
+ # If archive_cmds runs LD, not CC, wlarc should be empty
10523
+ # Set some defaults for GNU ld with shared library support. These
10524
+ # are reset later if shared libraries are not supported. Putting them
10525
+ # here allows them to be overridden if necessary.
10526
+ runpath_var=LD_RUN_PATH
10527
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
10528
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
10529
+ # ancient GNU ld didn't support --whole-archive et. al.
10530
+ if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
10531
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10533
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
10535
+ supports_anon_versioning=no
10536
+ case `$LD -v 2>/dev/null` in
10537
+ *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
10538
+ *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10539
+ *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10540
+ *\ 2.11.*) ;; # other 2.11 versions
10541
+ *) supports_anon_versioning=yes ;;
10544
+ # See if GNU ld supports shared libraries.
10547
+ # On AIX/PPC, the GNU linker is very broken
10548
+ if test "$host_cpu" != ia64; then
10549
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
10552
+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
10553
+*** to be unable to reliably create shared libraries on AIX.
10554
+*** Therefore, libtool is disabling shared libraries support. If you
10555
+*** really care for shared libraries, you may want to modify your PATH
10556
+*** so that a non-GNU linker is found, and then restart.
10563
+ _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)'
10564
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
10565
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
10567
+ # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
10568
+ # that the semantics of dynamic libraries on AmigaOS, at least up
10569
+ # to version 4, is to share data among multiple programs linked
10570
+ # with the same dynamic library. Since this doesn't match the
10571
+ # behavior of shared libraries on other platforms, we can't use
10573
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
10577
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10578
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
10579
+ # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10580
+ # support --undefined. This deserves some investigation. FIXME
10581
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10583
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
10587
+ cygwin* | mingw* | pw32*)
10588
+ # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
10589
+ # as there is no search path for DLLs.
10590
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
10591
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
10592
+ _LT_AC_TAGVAR(always_export_symbols, $1)=no
10593
+ _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
10594
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
10596
+ if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10597
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10598
+ # If the export-symbols file already is a .def file (1st line
10599
+ # is EXPORTS), use it as is; otherwise, prepend...
10600
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10601
+ cp $export_symbols $output_objdir/$soname.def;
10603
+ echo EXPORTS > $output_objdir/$soname.def;
10604
+ cat $export_symbols >> $output_objdir/$soname.def;
10606
+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10608
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
10613
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
10614
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
10615
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
10616
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
10617
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10618
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
10619
+ # default) and relocated if they conflict, which is a slow very memory
10620
+ # consuming and fragmenting process. To avoid this, we pick a random,
10621
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10622
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10623
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10624
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10627
+ gnu* | linux* | k*bsd*-gnu)
10628
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10630
+ case $cc_basename,$host_cpu in
10631
+ pgcc*) # Portland Group C compiler
10632
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
10633
+ tmp_addflag=' $pic_flag'
10635
+ pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
10636
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
10637
+ tmp_addflag=' $pic_flag -Mnomain' ;;
10638
+ ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10639
+ tmp_addflag=' -i_dynamic' ;;
10640
+ efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10641
+ tmp_addflag=' -i_dynamic -nofor_main' ;;
10642
+ ifc* | ifort*) # Intel Fortran compiler
10643
+ tmp_addflag=' -nofor_main' ;;
10645
+ case `$CC -V 2>&1 | sed 5q` in
10646
+ *Sun\ C*) # Sun C 5.9
10647
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
10648
+ tmp_sharedflag='-G' ;;
10649
+ *Sun\ F*) # Sun Fortran 8.3
10650
+ tmp_sharedflag='-G' ;;
10652
+ tmp_sharedflag='-shared' ;;
10654
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10656
+ if test $supports_anon_versioning = yes; then
10657
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
10658
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10659
+ $echo "local: *; };" >> $output_objdir/$libname.ver~
10660
+ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10662
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=no
10664
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
10668
+ netbsd* | netbsdelf*-gnu)
10669
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10670
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10673
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10674
+ _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'
10679
+ if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
10680
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
10683
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10684
+*** create shared libraries on Solaris systems. Therefore, libtool
10685
+*** is disabling shared libraries support. We urge you to upgrade GNU
10686
+*** binutils to release 2.9.1 or newer. Another option is to modify
10687
+*** your PATH or compiler configuration so that the native linker is
10688
+*** used, and then restart.
10691
+ elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10692
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10693
+ _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'
10695
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
10699
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10700
+ case `$LD -v 2>&1` in
10701
+ *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
10702
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
10703
+ cat <<_LT_EOF 1>&2
10705
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10706
+*** reliably create shared libraries on SCO systems. Therefore, libtool
10707
+*** is disabling shared libraries support. We urge you to upgrade GNU
10708
+*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10709
+*** your PATH or compiler configuration so that the native linker is
10710
+*** used, and then restart.
10715
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10716
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
10717
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
10718
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
10720
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
10727
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10729
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
10730
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
10734
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10735
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10736
+ _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'
10738
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
10743
+ if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
10745
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
10746
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
10747
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
10750
+ # PORTME fill in a description of your system's linker (not GNU ld)
10753
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
10754
+ _LT_AC_TAGVAR(always_export_symbols, $1)=yes
10755
+ _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'
10756
+ # Note: this linker hardcodes the directories in LIBPATH if there
10757
+ # are no directories specified by -L.
10758
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
10759
+ if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10760
+ # Neither direct hardcoding nor static linking is supported with a
10761
+ # broken collect2.
10762
+ _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
10767
+ if test "$host_cpu" = ia64; then
10768
+ # On IA64, the linker does run time linking by default, so we don't
10769
+ # have to do anything special.
10770
+ aix_use_runtimelinking=no
10771
+ exp_sym_flag='-Bexport'
10774
+ # If we're using GNU nm, then we don't want the "-C" option.
10775
+ # -C means demangle to AIX nm, but means don't demangle with GNU nm
10776
+ if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10777
+ _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'
10779
+ _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'
10781
+ aix_use_runtimelinking=no
10783
+ # Test if we are trying to use run time linking or normal
10784
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10785
+ # need to do runtime linking.
10786
+ case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
10787
+ for ld_flag in $LDFLAGS; do
10788
+ if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10789
+ aix_use_runtimelinking=yes
10796
+ exp_sym_flag='-bexport'
10797
+ no_entry_flag='-bnoentry'
10800
+ # When large executables or shared objects are built, AIX ld can
10801
+ # have problems creating the table of contents. If linking a library
10802
+ # or program results in "error TOC overflow" add -mminimal-toc to
10803
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10804
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10806
+ _LT_AC_TAGVAR(archive_cmds, $1)=''
10807
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
10808
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
10809
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
10811
+ if test "$GCC" = yes; then
10812
+ case $host_os in aix4.[[012]]|aix4.[[012]].*)
10813
+ # We only want to do this on AIX 4.2 and lower, the check
10814
+ # below for broken collect2 doesn't work under 4.3+
10815
+ collect2name=`${CC} -print-prog-name=collect2`
10816
+ if test -f "$collect2name" && \
10817
+ strings "$collect2name" | grep resolve_lib_name >/dev/null
10819
+ # We have reworked collect2
10822
+ # We have old collect2
10823
+ _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
10824
+ # It fails to find uninstalled libraries when the uninstalled
10825
+ # path is not listed in the libpath. Setting hardcode_minus_L
10826
+ # to unsupported forces relinking
10827
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
10828
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
10829
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
10833
+ shared_flag='-shared'
10834
+ if test "$aix_use_runtimelinking" = yes; then
10835
+ shared_flag="$shared_flag "'${wl}-G'
10839
+ if test "$host_cpu" = ia64; then
10840
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10841
+ # chokes on -Wl,-G. The following line is correct:
10844
+ if test "$aix_use_runtimelinking" = yes; then
10845
+ shared_flag='${wl}-G'
10847
+ shared_flag='${wl}-bM:SRE'
10852
+ # It seems that -bexpall does not export symbols beginning with
10853
+ # underscore (_), so it is better to generate a list of symbols to export.
10854
+ _LT_AC_TAGVAR(always_export_symbols, $1)=yes
10855
+ if test "$aix_use_runtimelinking" = yes; then
10856
+ # Warning - without using the other runtime loading flags (-brtl),
10857
+ # -berok will link without error, but may produce a broken library.
10858
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
10859
+ # Determine the default libpath from the value encoded in an empty executable.
10860
+ _LT_AC_SYS_LIBPATH_AIX
10861
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
10862
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10864
+ if test "$host_cpu" = ia64; then
10865
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
10866
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
10867
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10869
+ # Determine the default libpath from the value encoded in an empty executable.
10870
+ _LT_AC_SYS_LIBPATH_AIX
10871
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
10872
+ # Warning - without using the other run time loading flags,
10873
+ # -berok will link without error, but may produce a broken library.
10874
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
10875
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
10876
+ # Exported symbols can be pulled into shared objects from archives
10877
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
10878
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
10879
+ # This is similar to how AIX traditionally builds its shared libraries.
10880
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10886
+ _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)'
10887
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
10888
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
10889
+ # see comment about different semantics on the GNU ld section
10890
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
10894
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
10897
+ cygwin* | mingw* | pw32*)
10898
+ # When not using gcc, we currently assume that we are using
10899
+ # Microsoft Visual C++.
10900
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
10901
+ # no search path for DLLs.
10902
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
10903
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
10904
+ # Tell ltmain to make .lib files, not .a files.
10906
+ # Tell ltmain to make .dll files, not .so files.
10907
+ shrext_cmds=".dll"
10908
+ # FIXME: Setting linknames here is a bad hack.
10909
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
10910
+ # The linker will automatically build a .lib file if we build a DLL.
10911
+ _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
10912
+ # FIXME: Should let the user specify the lib program.
10913
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
10914
+ _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
10915
+ _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
10918
+ darwin* | rhapsody*)
10920
+ rhapsody* | darwin1.[[012]])
10921
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
10923
+ *) # Darwin 1.3 on
10924
+ if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10925
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10927
+ case ${MACOSX_DEPLOYMENT_TARGET} in
10929
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10932
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
10938
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
10939
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
10940
+ _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
10941
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
10942
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
10943
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
10944
+ if test "$GCC" = yes ; then
10945
+ output_verbose_link_cmd='echo'
10946
+ _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10947
+ _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10948
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10949
+ _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10951
+ case $cc_basename in
10953
+ output_verbose_link_cmd='echo'
10954
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
10955
+ _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10956
+ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10957
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10958
+ _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}'
10961
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
10968
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10969
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
10970
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
10974
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
10977
+ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10978
+ # support. Future versions do this automatically, but an explicit c++rt0.o
10979
+ # does not break anything, and helps significantly (at the cost of a little
10982
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10983
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
10984
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
10985
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
10988
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10990
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10991
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
10992
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
10993
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
10996
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10997
+ freebsd* | dragonfly*)
10998
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10999
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
11000
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
11001
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
11005
+ if test "$GCC" = yes; then
11006
+ _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'
11008
+ _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'
11010
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
11011
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
11012
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
11014
+ # hardcode_minus_L: Not really in the search PATH,
11015
+ # but as the default location of the library.
11016
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
11017
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
11021
+ if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11022
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11024
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11026
+ if test "$with_gnu_ld" = no; then
11027
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
11028
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
11030
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
11031
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
11033
+ # hardcode_minus_L: Not really in the search PATH,
11034
+ # but as the default location of the library.
11035
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
11040
+ if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11041
+ case $host_cpu in
11043
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11046
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11049
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11053
+ case $host_cpu in
11055
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11058
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11061
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11065
- sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11066
- case $cc_basename in
11068
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
11069
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
11070
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
11073
+ if test "$with_gnu_ld" = no; then
11074
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
11075
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
11077
+ case $host_cpu in
11079
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
11080
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
11081
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
11084
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
11085
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
11087
+ # hardcode_minus_L: Not really in the search PATH,
11088
+ # but as the default location of the library.
11089
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
11096
- _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
11102
- if test "$GCC" = yes; then
11103
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
11104
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
11110
- # All AIX code is PIC.
11111
- if test "$host_cpu" = ia64; then
11112
- # AIX 5 now supports IA64 processor
11113
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
11114
+ irix5* | irix6* | nonstopux*)
11115
+ if test "$GCC" = yes; then
11116
+ _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'
11118
+ _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'
11119
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
11121
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
11122
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
11123
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
11127
- # FIXME: we need at least 68020 code to build shared libraries, but
11128
- # adding the `-m68020' flag to GCC prevents building anything better,
11129
- # like `-m68040'.
11130
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
11131
+ netbsd* | netbsdelf*-gnu)
11132
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11133
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11135
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11137
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
11138
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
11139
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
11142
- beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11143
- # PIC is the default for these OSes.
11145
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11146
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
11147
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
11148
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
11149
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
11152
- mingw* | cygwin* | pw32* | os2*)
11153
- # This hack is so that the source file can tell whether it is being
11154
- # built for inclusion in a dll (and should export symbols for example).
11155
- # Although the cygwin gcc ignores -fPIC, still need this for old-style
11156
- # (--disable-auto-import) libraries
11157
- m4_if([$1], [GCJ], [],
11158
- [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
11160
+ if test -f /usr/libexec/ld.so; then
11161
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
11162
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
11163
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11164
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11165
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11166
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
11167
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
11170
+ openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
11171
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11172
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
11175
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11176
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
11181
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
11185
- darwin* | rhapsody*)
11186
- # PIC is the default on this platform
11187
- # Common symbols not allowed in MH_DYLIB files
11188
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
11190
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
11191
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
11192
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
11193
+ _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'
11194
+ _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11198
- # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11199
- # Instead, we relocate shared libraries at runtime.
11201
+ if test "$GCC" = yes; then
11202
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
11203
+ _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'
11205
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
11206
+ _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'
11208
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
11209
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
11213
- # Just because we use GCC doesn't mean we suddenly get shared libraries
11214
- # on systems that don't support them.
11215
- _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
11218
+ osf4* | osf5*) # as osf3* with the addition of -msym flag
11219
+ if test "$GCC" = yes; then
11220
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
11221
+ _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'
11222
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
11224
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
11225
+ _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'
11226
+ _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~
11227
+ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
11230
- if test -d /usr/nec; then
11231
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
11232
+ # Both c and cxx compiler support -rpath directly
11233
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
11235
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
11239
- # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11240
- # not for PA HP-UX.
11241
- case $host_cpu in
11246
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
11247
+ if test "$GCC" = yes; then
11249
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11250
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11251
+ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
11254
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11255
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11256
+ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
11258
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
11259
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
11261
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
11263
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
11264
+ # The compiler driver will combine and reorder linker options,
11265
+ # but understands `-z linker_flag'. GCC discards it without `$wl',
11266
+ # but is careful enough not to reorder.
11267
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
11268
+ if test "$GCC" = yes; then
11269
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11271
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
11275
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
11279
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
11283
- # PORTME Check for flag to pass linker flags through the system compiler.
11286
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
11287
- if test "$host_cpu" = ia64; then
11288
- # AIX 5 now supports IA64 processor
11289
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
11291
+ if test "x$host_vendor" = xsequent; then
11292
+ # Use $CC to link under sequent, because it throws in some extra .o
11293
+ # files that make .init and .fini sections work.
11294
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11296
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
11297
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11301
- # PIC is the default on this platform
11302
- # Common symbols not allowed in MH_DYLIB files
11303
- case $cc_basename in
11305
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
11306
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
11311
- mingw* | cygwin* | pw32* | os2*)
11312
- # This hack is so that the source file can tell whether it is being
11313
- # built for inclusion in a dll (and should export symbols for example).
11314
- m4_if([$1], [GCJ], [],
11315
- [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
11316
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
11317
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
11318
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
11319
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
11322
- hpux9* | hpux10* | hpux11*)
11323
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
11324
- # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11325
- # not for PA HP-UX.
11326
- case $host_cpu in
11331
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
11333
+ case $host_vendor in
11335
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11336
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
11339
- # Is there a better lt_prog_compiler_static that works with the bundled CC?
11340
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
11343
- irix5* | irix6* | nonstopux*)
11344
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
11345
- # PIC (with -KPIC) is the default.
11346
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
11350
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
11351
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
11354
- linux* | k*bsd*-gnu)
11355
- case $cc_basename in
11357
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
11358
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
11359
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
11361
- pgcc* | pgf77* | pgf90* | pgf95*)
11362
- # Portland Group compilers (*not* the Pentium gcc compiler,
11363
- # which looks to be a dead project)
11364
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
11365
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
11366
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
11369
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
11370
- # All Alpha code is PIC.
11371
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
11373
+ ## LD is ld it makes a PLAMLIB
11374
+ ## CC just makes a GrossModule.
11375
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11376
+ _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
11377
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
11380
- case `$CC -V 2>&1 | sed 5q` in
11383
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
11384
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
11385
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
11388
- # Sun Fortran 8.3 passes all unrecognized flags to the linker
11389
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
11390
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
11391
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''
11395
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11396
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
11399
+ runpath_var='LD_RUN_PATH'
11400
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
11403
- osf3* | osf4* | osf5*)
11404
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
11405
- # All OSF/1 code is PIC.
11406
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
11410
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
11414
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
11415
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
11416
- case $cc_basename in
11417
- f77* | f90* | f95*)
11418
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
11420
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
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
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
11430
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
11431
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
11433
+ if test -d /usr/nec; then
11434
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11435
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
11436
+ runpath_var=LD_RUN_PATH
11437
+ hardcode_runpath_var=yes
11438
+ _LT_AC_TAGVAR(ld_shlibs, $1)=yes
11442
- sysv4 | sysv4.2uw2* | sysv4.3*)
11443
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
11444
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
11445
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
11447
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
11448
+ _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
11449
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
11450
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
11451
+ runpath_var='LD_RUN_PATH'
11454
- if test -d /usr/nec ;then
11455
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
11456
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
11457
+ if test "$GCC" = yes; then
11458
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11459
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11461
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11462
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11466
- sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11467
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
11468
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
11469
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
11471
+ sysv5* | sco3.2v5* | sco5v6*)
11472
+ # Note: We can NOT use -z defs as we might desire, because we do not
11473
+ # link with -lc, and that would cause any symbols used from libc to
11474
+ # always be unresolved, which means just about no library would
11475
+ # ever link correctly. If we're not using GNU ld we use -z text
11476
+ # though, which does catch some bad symbols but isn't as heavy-handed
11478
+ _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
11479
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
11480
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
11481
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
11482
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11483
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
11484
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
11485
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
11486
+ runpath_var='LD_RUN_PATH'
11489
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
11490
- _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
11491
+ if test "$GCC" = yes; then
11492
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11493
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11495
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11496
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11501
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
11502
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
11503
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11504
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
11505
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
11509
- _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
11510
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
11515
-AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
11516
+AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
11517
+test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
11520
-# Check to make sure the PIC flag actually works.
11521
+# Do we need to explicitly link libc?
11523
-if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
11524
- AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
11525
- _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
11526
- [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
11527
- [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
11529
- *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
11531
- [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
11532
- _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
11535
- # For platforms which do not support PIC, -DPIC is meaningless:
11537
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
11540
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
11542
+case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
11544
+ # Assume -lc should be added
11545
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
11547
+ if test "$enable_shared" = yes && test "$GCC" = yes; then
11548
+ case $_LT_AC_TAGVAR(archive_cmds, $1) in
11550
+ # FIXME: we may have to deal with multi-command sequences.
11553
+ # Test whether the compiler implicitly links with -lc since on some
11554
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
11555
+ # to ld, don't add -lc before -lgcc.
11556
+ AC_MSG_CHECKING([whether -lc should be explicitly linked in])
11558
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11560
+ if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
11563
+ libobjs=conftest.$ac_objext
11565
+ wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
11566
+ pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
11567
+ compiler_flags=-v
11572
+ lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
11573
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=
11574
+ if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
11576
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
11578
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
11580
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
11582
+ cat conftest.err 1>&5
11585
+ AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
11591
+])# AC_LIBTOOL_PROG_LD_SHLIBS
11594
+# _LT_AC_FILE_LTDLL_C
11595
+# -------------------
11596
+# Be careful that the start marker always follows a newline.
11597
+AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
11598
+# /* ltdll.c starts here */
11599
+# #define WIN32_LEAN_AND_MEAN
11600
+# #include <windows.h>
11601
+# #undef WIN32_LEAN_AND_MEAN
11602
+# #include <stdio.h>
11604
-# Check to make sure the static flag actually works.
11605
+# #ifndef __CYGWIN__
11606
+# # ifdef __CYGWIN32__
11607
+# # define __CYGWIN__ __CYGWIN32__
11611
-wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
11612
-AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
11613
- _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1),
11614
- $lt_tmp_static_flag,
11616
- [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
11618
+# #ifdef __cplusplus
11621
+# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
11622
+# #ifdef __cplusplus
11626
+# #ifdef __CYGWIN__
11627
+# #include <cygwin/cygwin_dll.h>
11628
+# DECLARE_CYGWIN_DLL( DllMain );
11630
+# HINSTANCE __hDllInstance_base;
11633
+# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
11635
+# __hDllInstance_base = hInst;
11638
+# /* ltdll.c ends here */
11639
+])# _LT_AC_FILE_LTDLL_C
11642
-# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
11643
-# ------------------------------------
11644
-# See if the linker supports building shared libraries.
11645
-AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
11646
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
11647
-AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
11648
-ifelse([$1],[CXX],[
11649
- _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11652
- # If we're using GNU nm, then we don't want the "-C" option.
11653
- # -C means demangle to AIX nm, but means don't demangle with GNU nm
11654
- if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
11655
- _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'
11657
- _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'
11661
- _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
11663
- cygwin* | mingw*)
11664
- _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
11667
- _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11670
- _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
11673
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=
11674
- _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
11675
- _LT_AC_TAGVAR(archive_cmds, $1)=
11676
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
11677
- _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
11678
- _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
11679
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
11680
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
11681
- _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
11682
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
11683
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
11684
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
11685
- _LT_AC_TAGVAR(hardcode_direct, $1)=no
11686
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
11687
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
11688
- _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
11689
- _LT_AC_TAGVAR(hardcode_automatic, $1)=no
11690
- _LT_AC_TAGVAR(module_cmds, $1)=
11691
- _LT_AC_TAGVAR(module_expsym_cmds, $1)=
11692
- _LT_AC_TAGVAR(always_export_symbols, $1)=no
11693
- _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11694
- # include_expsyms should be a list of space-separated symbols to be *always*
11695
- # included in the symbol list
11696
- _LT_AC_TAGVAR(include_expsyms, $1)=
11697
- # exclude_expsyms can be an extended regexp of symbols to exclude
11698
- # it will be wrapped by ` (' and `)$', so one must not match beginning or
11699
- # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11700
- # as well as any symbol that contains `d'.
11701
- _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
11702
- # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11703
- # platforms (ab)use it in PIC code, but their linkers get confused if
11704
- # the symbol is explicitly referenced. Since portable code cannot
11705
- # rely on this symbol name, it's probably fine to never include it in
11706
- # preloaded symbol tables.
11707
- # Exclude shared library initialization/finalization symbols.
11708
-dnl Note also adjust exclude_expsyms for C++ above.
11709
- extract_expsyms_cmds=
11710
- # Just being paranoid about ensuring that cc_basename is set.
11711
- _LT_CC_BASENAME([$compiler])
11713
- cygwin* | mingw* | pw32*)
11714
- # FIXME: the MSVC++ port hasn't been tested in a loooong time
11715
- # When not using gcc, we currently assume that we are using
11716
- # Microsoft Visual C++.
11717
- if test "$GCC" != yes; then
11722
- # we just hope/assume this is gcc and not c89 (= MSVC++)
11729
+# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
11730
+# ---------------------------------
11731
+AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
11735
+AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
11736
+AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
11737
+AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
11738
+AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
11739
+AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
11740
+AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
11741
+AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
11743
- _LT_AC_TAGVAR(ld_shlibs, $1)=yes
11744
- if test "$with_gnu_ld" = yes; then
11745
- # If archive_cmds runs LD, not CC, wlarc should be empty
11747
+# This is just to silence aclocal about the macro not being used
11748
+ifelse([AC_DISABLE_FAST_INSTALL])
11750
- # Set some defaults for GNU ld with shared library support. These
11751
- # are reset later if shared libraries are not supported. Putting them
11752
- # here allows them to be overridden if necessary.
11753
- runpath_var=LD_RUN_PATH
11754
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
11755
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
11756
- # ancient GNU ld didn't support --whole-archive et. al.
11757
- if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
11758
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11760
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
11762
- supports_anon_versioning=no
11763
- case `$LD -v 2>/dev/null` in
11764
- *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
11765
- *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11766
- *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11767
- *\ 2.11.*) ;; # other 2.11 versions
11768
- *) supports_anon_versioning=yes ;;
11770
+AC_DEFUN([LT_AC_PROG_GCJ],
11771
+[AC_CHECK_TOOL(GCJ, gcj, no)
11772
+ test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
11773
+ AC_SUBST(GCJFLAGS)
11776
- # See if GNU ld supports shared libraries.
11779
- # On AIX/PPC, the GNU linker is very broken
11780
- if test "$host_cpu" != ia64; then
11781
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
11783
+AC_DEFUN([LT_AC_PROG_RC],
11784
+[AC_CHECK_TOOL(RC, windres, no)
11787
-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
11788
-*** to be unable to reliably create shared libraries on AIX.
11789
-*** Therefore, libtool is disabling shared libraries support. If you
11790
-*** really care for shared libraries, you may want to modify your PATH
11791
-*** so that a non-GNU linker is found, and then restart.
11796
+# Cheap backport of AS_EXECUTABLE_P and required macros
11797
+# from Autoconf 2.59; we should not use $as_executable_p directly.
11800
- _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)'
11801
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
11802
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
11803
+# _AS_TEST_PREPARE
11804
+# ----------------
11805
+m4_ifndef([_AS_TEST_PREPARE],
11806
+[m4_defun([_AS_TEST_PREPARE],
11807
+[if test -x / >/dev/null 2>&1; then
11808
+ as_executable_p='test -x'
11810
+ as_executable_p='test -f'
11812
+])])# _AS_TEST_PREPARE
11814
- # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
11815
- # that the semantics of dynamic libraries on AmigaOS, at least up
11816
- # to version 4, is to share data among multiple programs linked
11817
- # with the same dynamic library. Since this doesn't match the
11818
- # behavior of shared libraries on other platforms, we can't use
11820
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
11824
+# Check whether a file is executable.
11825
+m4_ifndef([AS_EXECUTABLE_P],
11826
+[m4_defun([AS_EXECUTABLE_P],
11827
+[AS_REQUIRE([_AS_TEST_PREPARE])dnl
11828
+$as_executable_p $1[]dnl
11829
+])])# AS_EXECUTABLE_P
11832
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11833
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
11834
- # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11835
- # support --undefined. This deserves some investigation. FIXME
11836
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11838
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
11839
+# NOTE: This macro has been submitted for inclusion into #
11840
+# GNU Autoconf as AC_PROG_SED. When it is available in #
11841
+# a released version of Autoconf we should remove this #
11842
+# macro and use it instead. #
11845
+# Check for a fully-functional sed program, that truncates
11846
+# as few characters as possible. Prefer GNU sed if found.
11847
+AC_DEFUN([LT_AC_PROG_SED],
11848
+[AC_MSG_CHECKING([for a sed that does not truncate output])
11849
+AC_CACHE_VAL(lt_cv_path_SED,
11850
+[# Loop through the user's path and test for sed and gsed.
11851
+# Then use that list of sed's as ones to test for truncation.
11852
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11853
+for as_dir in $PATH
11856
+ test -z "$as_dir" && as_dir=.
11857
+ for lt_ac_prog in sed gsed; do
11858
+ for ac_exec_ext in '' $ac_executable_extensions; do
11859
+ if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then
11860
+ lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
11869
+# Add /usr/xpg4/bin/sed as it is typically found on Solaris
11870
+# along with /bin/sed that truncates output.
11871
+for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
11872
+ test ! -f $lt_ac_sed && continue
11873
+ cat /dev/null > conftest.in
11875
+ echo $ECHO_N "0123456789$ECHO_C" >conftest.in
11876
+ # Check for GNU sed and select it if it is found.
11877
+ if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
11878
+ lt_cv_path_SED=$lt_ac_sed
11882
+ cat conftest.in conftest.in >conftest.tmp
11883
+ mv conftest.tmp conftest.in
11884
+ cp conftest.in conftest.nl
11885
+ echo >>conftest.nl
11886
+ $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
11887
+ cmp -s conftest.out conftest.nl || break
11888
+ # 10000 chars as input seems more than enough
11889
+ test $lt_ac_count -gt 10 && break
11890
+ lt_ac_count=`expr $lt_ac_count + 1`
11891
+ if test $lt_ac_count -gt $lt_ac_max; then
11892
+ lt_ac_max=$lt_ac_count
11893
+ lt_cv_path_SED=$lt_ac_sed
11898
+SED=$lt_cv_path_SED
11900
+AC_MSG_RESULT([$SED])
11903
- cygwin* | mingw* | pw32*)
11904
- # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
11905
- # as there is no search path for DLLs.
11906
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
11907
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
11908
- _LT_AC_TAGVAR(always_export_symbols, $1)=no
11909
- _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
11910
- _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
11911
+# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
11913
+# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
11915
+# This program is free software; you can redistribute it and/or modify
11916
+# it under the terms of the GNU General Public License as published by
11917
+# the Free Software Foundation; either version 2 of the License, or
11918
+# (at your option) any later version.
11920
+# This program is distributed in the hope that it will be useful, but
11921
+# WITHOUT ANY WARRANTY; without even the implied warranty of
11922
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11923
+# General Public License for more details.
11925
+# You should have received a copy of the GNU General Public License
11926
+# along with this program; if not, write to the Free Software
11927
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
11929
+# As a special exception to the GNU General Public License, if you
11930
+# distribute this file as part of a program that contains a
11931
+# configuration script generated by Autoconf, you may include it under
11932
+# the same distribution terms that you use for the rest of that program.
11934
- if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11935
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11936
- # If the export-symbols file already is a .def file (1st line
11937
- # is EXPORTS), use it as is; otherwise, prepend...
11938
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11939
- cp $export_symbols $output_objdir/$soname.def;
11940
+# PKG_PROG_PKG_CONFIG([MIN-VERSION])
11941
+# ----------------------------------
11942
+AC_DEFUN([PKG_PROG_PKG_CONFIG],
11943
+[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
11944
+m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
11945
+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
11946
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11947
+ AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
11949
+if test -n "$PKG_CONFIG"; then
11950
+ _pkg_min_version=m4_default([$1], [0.9.0])
11951
+ AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
11952
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11953
+ AC_MSG_RESULT([yes])
11955
- echo EXPORTS > $output_objdir/$soname.def;
11956
- cat $export_symbols >> $output_objdir/$soname.def;
11958
- $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11960
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
11963
+ AC_MSG_RESULT([no])
11968
+])# PKG_PROG_PKG_CONFIG
11971
- _LT_AC_TAGVAR(hardcode_direct, $1)=no
11972
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
11973
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
11974
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
11975
- # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11976
- # Instead, shared libraries are loaded at an image base (0x10000000 by
11977
- # default) and relocated if they conflict, which is a slow very memory
11978
- # consuming and fragmenting process. To avoid this, we pick a random,
11979
- # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11980
- # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11981
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11982
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11984
+# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
11986
+# Check to see whether a particular set of modules exists. Similar
11987
+# to PKG_CHECK_MODULES(), but does not set variables or print errors.
11990
+# Similar to PKG_CHECK_MODULES, make sure that the first instance of
11991
+# this or PKG_CHECK_MODULES is called, or make sure to call
11992
+# PKG_CHECK_EXISTS manually
11993
+# --------------------------------------------------------------
11994
+AC_DEFUN([PKG_CHECK_EXISTS],
11995
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
11996
+if test -n "$PKG_CONFIG" && \
11997
+ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
11998
+ m4_ifval([$2], [$2], [:])
11999
+m4_ifvaln([$3], [else
12004
+# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
12005
+# ---------------------------------------------
12006
+m4_define([_PKG_CONFIG],
12007
+[if test -n "$PKG_CONFIG"; then
12008
+ if test -n "$$1"; then
12009
+ pkg_cv_[]$1="$$1"
12011
+ PKG_CHECK_EXISTS([$3],
12012
+ [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
12013
+ [pkg_failed=yes])
12016
+ pkg_failed=untried
12020
- gnu* | linux* | k*bsd*-gnu)
12021
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12023
- case $cc_basename,$host_cpu in
12024
- pgcc*) # Portland Group C compiler
12025
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12026
- tmp_addflag=' $pic_flag'
12028
- pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
12029
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12030
- tmp_addflag=' $pic_flag -Mnomain' ;;
12031
- ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12032
- tmp_addflag=' -i_dynamic' ;;
12033
- efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
12034
- tmp_addflag=' -i_dynamic -nofor_main' ;;
12035
- ifc* | ifort*) # Intel Fortran compiler
12036
- tmp_addflag=' -nofor_main' ;;
12038
- case `$CC -V 2>&1 | sed 5q` in
12039
- *Sun\ C*) # Sun C 5.9
12040
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12041
- tmp_sharedflag='-G' ;;
12042
- *Sun\ F*) # Sun Fortran 8.3
12043
- tmp_sharedflag='-G' ;;
12045
- tmp_sharedflag='-shared' ;;
12047
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12048
+# _PKG_SHORT_ERRORS_SUPPORTED
12049
+# -----------------------------
12050
+AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
12051
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
12052
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12053
+ _pkg_short_errors_supported=yes
12055
+ _pkg_short_errors_supported=no
12057
+])# _PKG_SHORT_ERRORS_SUPPORTED
12059
- if test $supports_anon_versioning = yes; then
12060
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
12061
- cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12062
- $echo "local: *; };" >> $output_objdir/$libname.ver~
12063
- $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12066
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
12071
- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12072
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12075
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12076
- _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'
12079
+# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
12080
+# [ACTION-IF-NOT-FOUND])
12083
+# Note that if there is a possibility the first call to
12084
+# PKG_CHECK_MODULES might not happen, you should be sure to include an
12085
+# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
12088
+# --------------------------------------------------------------
12089
+AC_DEFUN([PKG_CHECK_MODULES],
12090
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
12091
+AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
12092
+AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
12095
- if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
12096
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
12099
+AC_MSG_CHECKING([for $1])
12101
-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
12102
-*** create shared libraries on Solaris systems. Therefore, libtool
12103
-*** is disabling shared libraries support. We urge you to upgrade GNU
12104
-*** binutils to release 2.9.1 or newer. Another option is to modify
12105
-*** your PATH or compiler configuration so that the native linker is
12106
-*** used, and then restart.
12107
+_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
12108
+_PKG_CONFIG([$1][_LIBS], [libs], [$2])
12111
- elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12112
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12113
- _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'
12115
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
12118
+m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
12119
+and $1[]_LIBS to avoid the need to call pkg-config.
12120
+See the pkg-config man page for more details.])
12122
- sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12123
- case `$LD -v 2>&1` in
12124
- *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
12125
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
12126
- cat <<_LT_EOF 1>&2
12127
+if test $pkg_failed = yes; then
12128
+ _PKG_SHORT_ERRORS_SUPPORTED
12129
+ if test $_pkg_short_errors_supported = yes; then
12130
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
12132
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
12134
+ # Put the nasty error message in config.log where it belongs
12135
+ echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
12137
-*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12138
-*** reliably create shared libraries on SCO systems. Therefore, libtool
12139
-*** is disabling shared libraries support. We urge you to upgrade GNU
12140
-*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12141
-*** your PATH or compiler configuration so that the native linker is
12142
-*** used, and then restart.
12143
+ ifelse([$4], , [AC_MSG_ERROR(dnl
12144
+[Package requirements ($2) were not met:
12149
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12150
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
12151
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
12152
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
12154
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
12162
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12164
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
12165
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
12167
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
12168
+installed software in a non-standard prefix.
12171
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12172
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12173
- _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'
12175
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
12181
+ [AC_MSG_RESULT([no])
12183
+elif test $pkg_failed = untried; then
12184
+ ifelse([$4], , [AC_MSG_FAILURE(dnl
12185
+[The pkg-config script could not be found or is too old. Make sure it
12186
+is in your PATH or set the PKG_CONFIG environment variable to the full
12187
+path to pkg-config.
12189
- if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
12191
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
12192
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
12193
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
12196
- # PORTME fill in a description of your system's linker (not GNU ld)
12199
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
12200
- _LT_AC_TAGVAR(always_export_symbols, $1)=yes
12201
- _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'
12202
- # Note: this linker hardcodes the directories in LIBPATH if there
12203
- # are no directories specified by -L.
12204
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
12205
- if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12206
- # Neither direct hardcoding nor static linking is supported with a
12207
- # broken collect2.
12208
- _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
12214
- if test "$host_cpu" = ia64; then
12215
- # On IA64, the linker does run time linking by default, so we don't
12216
- # have to do anything special.
12217
- aix_use_runtimelinking=no
12218
- exp_sym_flag='-Bexport'
12221
- # If we're using GNU nm, then we don't want the "-C" option.
12222
- # -C means demangle to AIX nm, but means don't demangle with GNU nm
12223
- if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12224
- _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'
12226
- _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'
12228
- aix_use_runtimelinking=no
12229
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
12232
+ $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
12233
+ $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
12234
+ AC_MSG_RESULT([yes])
12235
+ ifelse([$3], , :, [$3])
12237
+])# PKG_CHECK_MODULES
12239
- # Test if we are trying to use run time linking or normal
12240
- # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12241
- # need to do runtime linking.
12242
- case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
12243
- for ld_flag in $LDFLAGS; do
12244
- if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
12245
- aix_use_runtimelinking=yes
12251
+# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
12253
+# This file is free software; the Free Software Foundation
12254
+# gives unlimited permission to copy and/or distribute it,
12255
+# with or without modifications, as long as this notice is preserved.
12257
- exp_sym_flag='-bexport'
12258
- no_entry_flag='-bnoentry'
12260
+# AM_AUTOMAKE_VERSION(VERSION)
12261
+# ----------------------------
12262
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
12263
+# generated from the m4 files accompanying Automake X.Y.
12264
+# (This private macro should not be called outside this file.)
12265
+AC_DEFUN([AM_AUTOMAKE_VERSION],
12266
+[am__api_version='1.10'
12267
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
12268
+dnl require some minimum version. Point them to the right macro.
12269
+m4_if([$1], [1.10.1], [],
12270
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
12273
- # When large executables or shared objects are built, AIX ld can
12274
- # have problems creating the table of contents. If linking a library
12275
- # or program results in "error TOC overflow" add -mminimal-toc to
12276
- # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12277
- # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12278
+# _AM_AUTOCONF_VERSION(VERSION)
12279
+# -----------------------------
12280
+# aclocal traces this macro to find the Autoconf version.
12281
+# This is a private macro too. Using m4_define simplifies
12282
+# the logic in aclocal, which can simply ignore this definition.
12283
+m4_define([_AM_AUTOCONF_VERSION], [])
12285
- _LT_AC_TAGVAR(archive_cmds, $1)=''
12286
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
12287
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
12288
- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
12289
+# AM_SET_CURRENT_AUTOMAKE_VERSION
12290
+# -------------------------------
12291
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
12292
+# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
12293
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
12294
+[AM_AUTOMAKE_VERSION([1.10.1])dnl
12295
+m4_ifndef([AC_AUTOCONF_VERSION],
12296
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
12297
+_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
12299
- if test "$GCC" = yes; then
12300
- case $host_os in aix4.[[012]]|aix4.[[012]].*)
12301
- # We only want to do this on AIX 4.2 and lower, the check
12302
- # below for broken collect2 doesn't work under 4.3+
12303
- collect2name=`${CC} -print-prog-name=collect2`
12304
- if test -f "$collect2name" && \
12305
- strings "$collect2name" | grep resolve_lib_name >/dev/null
12307
- # We have reworked collect2
12310
- # We have old collect2
12311
- _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
12312
- # It fails to find uninstalled libraries when the uninstalled
12313
- # path is not listed in the libpath. Setting hardcode_minus_L
12314
- # to unsupported forces relinking
12315
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
12316
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
12317
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
12321
- shared_flag='-shared'
12322
- if test "$aix_use_runtimelinking" = yes; then
12323
- shared_flag="$shared_flag "'${wl}-G'
12327
- if test "$host_cpu" = ia64; then
12328
- # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12329
- # chokes on -Wl,-G. The following line is correct:
12332
- if test "$aix_use_runtimelinking" = yes; then
12333
- shared_flag='${wl}-G'
12335
- shared_flag='${wl}-bM:SRE'
12339
+# AM_AUX_DIR_EXPAND -*- Autoconf -*-
12341
- # It seems that -bexpall does not export symbols beginning with
12342
- # underscore (_), so it is better to generate a list of symbols to export.
12343
- _LT_AC_TAGVAR(always_export_symbols, $1)=yes
12344
- if test "$aix_use_runtimelinking" = yes; then
12345
- # Warning - without using the other runtime loading flags (-brtl),
12346
- # -berok will link without error, but may produce a broken library.
12347
- _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
12348
- # Determine the default libpath from the value encoded in an empty executable.
12349
- _LT_AC_SYS_LIBPATH_AIX
12350
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
12351
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12353
- if test "$host_cpu" = ia64; then
12354
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
12355
- _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
12356
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12358
- # Determine the default libpath from the value encoded in an empty executable.
12359
- _LT_AC_SYS_LIBPATH_AIX
12360
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
12361
- # Warning - without using the other run time loading flags,
12362
- # -berok will link without error, but may produce a broken library.
12363
- _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
12364
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
12365
- # Exported symbols can be pulled into shared objects from archives
12366
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
12367
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
12368
- # This is similar to how AIX traditionally builds its shared libraries.
12369
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12373
+# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
12375
+# This file is free software; the Free Software Foundation
12376
+# gives unlimited permission to copy and/or distribute it,
12377
+# with or without modifications, as long as this notice is preserved.
12380
- _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)'
12381
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
12382
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
12383
- # see comment about different semantics on the GNU ld section
12384
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
12386
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
12387
+# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
12388
+# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
12390
+# Of course, Automake must honor this variable whenever it calls a
12391
+# tool from the auxiliary directory. The problem is that $srcdir (and
12392
+# therefore $ac_aux_dir as well) can be either absolute or relative,
12393
+# depending on how configure is run. This is pretty annoying, since
12394
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
12395
+# source directory, any form will work fine, but in subdirectories a
12396
+# relative path needs to be adjusted first.
12398
+# $ac_aux_dir/missing
12399
+# fails when called from a subdirectory if $ac_aux_dir is relative
12400
+# $top_srcdir/$ac_aux_dir/missing
12401
+# fails if $ac_aux_dir is absolute,
12402
+# fails when called from a subdirectory in a VPATH build with
12403
+# a relative $ac_aux_dir
12405
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
12406
+# are both prefixed by $srcdir. In an in-source build this is usually
12407
+# harmless because $srcdir is `.', but things will broke when you
12408
+# start a VPATH build or use an absolute $srcdir.
12410
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
12411
+# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
12412
+# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
12413
+# and then we would define $MISSING as
12414
+# MISSING="\${SHELL} $am_aux_dir/missing"
12415
+# This will work as long as MISSING is not called from configure, because
12416
+# unfortunately $(top_srcdir) has no meaning in configure.
12417
+# However there are other variables, like CC, which are often used in
12418
+# configure, and could therefore not use this "fixed" $ac_aux_dir.
12420
+# Another solution, used here, is to always expand $ac_aux_dir to an
12421
+# absolute PATH. The drawback is that using absolute paths prevent a
12422
+# configured tree to be moved without reconfiguration.
12425
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
12427
+AC_DEFUN([AM_AUX_DIR_EXPAND],
12428
+[dnl Rely on autoconf to set up CDPATH properly.
12429
+AC_PREREQ([2.50])dnl
12430
+# expand $ac_aux_dir to an absolute path
12431
+am_aux_dir=`cd $ac_aux_dir && pwd`
12434
- cygwin* | mingw* | pw32*)
12435
- # When not using gcc, we currently assume that we are using
12436
- # Microsoft Visual C++.
12437
- # hardcode_libdir_flag_spec is actually meaningless, as there is
12438
- # no search path for DLLs.
12439
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
12440
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
12441
- # Tell ltmain to make .lib files, not .a files.
12443
- # Tell ltmain to make .dll files, not .so files.
12444
- shrext_cmds=".dll"
12445
- # FIXME: Setting linknames here is a bad hack.
12446
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
12447
- # The linker will automatically build a .lib file if we build a DLL.
12448
- _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
12449
- # FIXME: Should let the user specify the lib program.
12450
- _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
12451
- _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
12452
- _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
12454
+# AM_CONDITIONAL -*- Autoconf -*-
12456
- darwin* | rhapsody*)
12458
- rhapsody* | darwin1.[[012]])
12459
- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
12461
- *) # Darwin 1.3 on
12462
- if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12463
- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12465
- case ${MACOSX_DEPLOYMENT_TARGET} in
12467
- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12470
- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
12476
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
12477
- _LT_AC_TAGVAR(hardcode_direct, $1)=no
12478
- _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
12479
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
12480
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
12481
- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
12482
- if test "$GCC" = yes ; then
12483
- output_verbose_link_cmd='echo'
12484
- _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12485
- _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12486
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12487
- _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12489
- case $cc_basename in
12491
- output_verbose_link_cmd='echo'
12492
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
12493
- _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12494
- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12495
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12496
- _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}'
12499
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
12504
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
12505
+# Free Software Foundation, Inc.
12507
+# This file is free software; the Free Software Foundation
12508
+# gives unlimited permission to copy and/or distribute it,
12509
+# with or without modifications, as long as this notice is preserved.
12512
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12513
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
12514
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
12519
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
12521
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
12522
+# -------------------------------------
12523
+# Define a conditional.
12524
+AC_DEFUN([AM_CONDITIONAL],
12525
+[AC_PREREQ(2.52)dnl
12526
+ ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
12527
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
12528
+AC_SUBST([$1_TRUE])dnl
12529
+AC_SUBST([$1_FALSE])dnl
12530
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
12531
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
12539
+AC_CONFIG_COMMANDS_PRE(
12540
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
12541
+ AC_MSG_ERROR([[conditional "$1" was never defined.
12542
+Usually this means the macro was only invoked conditionally.]])
12545
- # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12546
- # support. Future versions do this automatically, but an explicit c++rt0.o
12547
- # does not break anything, and helps significantly (at the cost of a little
12550
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12551
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
12552
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
12553
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
12555
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
12556
+# Free Software Foundation, Inc.
12558
+# This file is free software; the Free Software Foundation
12559
+# gives unlimited permission to copy and/or distribute it,
12560
+# with or without modifications, as long as this notice is preserved.
12562
- # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12564
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12565
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
12566
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
12567
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
12571
- # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12572
- freebsd* | dragonfly*)
12573
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12574
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
12575
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
12576
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
12578
+# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
12579
+# written in clear, in which case automake, when reading aclocal.m4,
12580
+# will think it sees a *use*, and therefore will trigger all it's
12581
+# C support machinery. Also note that it means that autoscan, seeing
12582
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
12585
- if test "$GCC" = yes; then
12586
- _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'
12588
- _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'
12590
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
12591
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
12592
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
12594
- # hardcode_minus_L: Not really in the search PATH,
12595
- # but as the default location of the library.
12596
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
12597
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
12599
+# _AM_DEPENDENCIES(NAME)
12600
+# ----------------------
12601
+# See how the compiler implements dependency checking.
12602
+# NAME is "CC", "CXX", "GCJ", or "OBJC".
12603
+# We try a few techniques and use that to set a single cache variable.
12605
+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
12606
+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
12607
+# dependency, and given that the user is not expected to run this macro,
12608
+# just rely on AC_PROG_CC.
12609
+AC_DEFUN([_AM_DEPENDENCIES],
12610
+[AC_REQUIRE([AM_SET_DEPDIR])dnl
12611
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
12612
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
12613
+AC_REQUIRE([AM_DEP_TRACK])dnl
12616
- if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12617
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12619
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12621
- if test "$with_gnu_ld" = no; then
12622
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
12623
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
12624
+ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
12625
+ [$1], CXX, [depcc="$CXX" am_compiler_list=],
12626
+ [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
12627
+ [$1], UPC, [depcc="$UPC" am_compiler_list=],
12628
+ [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
12629
+ [depcc="$$1" am_compiler_list=])
12631
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
12632
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
12633
+AC_CACHE_CHECK([dependency style of $depcc],
12634
+ [am_cv_$1_dependencies_compiler_type],
12635
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12636
+ # We make a subdir and do the tests there. Otherwise we can end up
12637
+ # making bogus files that we don't know about and never remove. For
12638
+ # instance it was reported that on HP-UX the gcc test will end up
12639
+ # making a dummy file named `D' -- because `-MD' means `put the output
12641
+ mkdir conftest.dir
12642
+ # Copy depcomp to subdir because otherwise we won't find it if we're
12643
+ # using a relative directory.
12644
+ cp "$am_depcomp" conftest.dir
12646
+ # We will build objects and dependencies in a subdirectory because
12647
+ # it helps to detect inapplicable dependency modes. For instance
12648
+ # both Tru64's cc and ICC support -MD to output dependencies as a
12649
+ # side effect of compilation, but ICC will put the dependencies in
12650
+ # the current directory while Tru64 will put them in the object
12654
- # hardcode_minus_L: Not really in the search PATH,
12655
- # but as the default location of the library.
12656
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
12659
+ am_cv_$1_dependencies_compiler_type=none
12660
+ if test "$am_compiler_list" = ""; then
12661
+ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
12663
+ for depmode in $am_compiler_list; do
12664
+ # Setup a source with many dependencies, because some compilers
12665
+ # like to wrap large dependency lists on column 80 (with \), and
12666
+ # we should not choose a depcomp mode which is confused by this.
12668
+ # We need to recreate these files for each test, as the compiler may
12669
+ # overwrite some of them when testing with obscure command lines.
12670
+ # This happens at least with the AIX C compiler.
12671
+ : > sub/conftest.c
12672
+ for i in 1 2 3 4 5 6; do
12673
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
12674
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12675
+ # Solaris 8's {/usr,}/bin/sh.
12676
+ touch sub/conftst$i.h
12678
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12681
- if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12682
- case $host_cpu in
12684
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12687
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12690
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12695
+ # after this tag, mechanisms are not by side-effect, so they'll
12696
+ # only be used when explicitly requested
12697
+ if test "x$enable_dependency_tracking" = xyes; then
12700
- case $host_cpu in
12702
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12705
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12708
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12713
- if test "$with_gnu_ld" = no; then
12714
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
12715
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
12719
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
12720
+ # mode. It turns out that the SunPro C++ compiler does not properly
12721
+ # handle `-M -o', and we need to detect this.
12722
+ if depmode=$depmode \
12723
+ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
12724
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12725
+ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
12726
+ >/dev/null 2>conftest.err &&
12727
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12728
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12729
+ grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
12730
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12731
+ # icc doesn't choke on unknown options, it will just issue warnings
12732
+ # or remarks (even with -Werror). So we grep stderr for any message
12733
+ # that says an option was ignored or not supported.
12734
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
12735
+ # icc: Command line warning: ignoring option '-M'; no argument required
12736
+ # The diagnosis changed in icc 8.0:
12737
+ # icc: Command line remark: option '-MP' not supported
12738
+ if (grep 'ignoring option' conftest.err ||
12739
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12740
+ am_cv_$1_dependencies_compiler_type=$depmode
12746
- case $host_cpu in
12748
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
12749
- _LT_AC_TAGVAR(hardcode_direct, $1)=no
12750
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
12753
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
12754
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
12756
+ rm -rf conftest.dir
12758
+ am_cv_$1_dependencies_compiler_type=none
12761
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
12762
+AM_CONDITIONAL([am__fastdep$1], [
12763
+ test "x$enable_dependency_tracking" != xno \
12764
+ && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
12767
- # hardcode_minus_L: Not really in the search PATH,
12768
- # but as the default location of the library.
12769
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
12775
- irix5* | irix6* | nonstopux*)
12776
- if test "$GCC" = yes; then
12777
- _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'
12779
- _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'
12780
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
12782
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
12783
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
12784
- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
12788
+# Choose a directory name for dependency files.
12789
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES
12790
+AC_DEFUN([AM_SET_DEPDIR],
12791
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
12792
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
12796
- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12797
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12799
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12801
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
12802
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
12803
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
12807
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12808
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
12809
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
12810
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
12811
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
12815
+AC_DEFUN([AM_DEP_TRACK],
12816
+[AC_ARG_ENABLE(dependency-tracking,
12817
+[ --disable-dependency-tracking speeds up one-time build
12818
+ --enable-dependency-tracking do not reject slow dependency extractors])
12819
+if test "x$enable_dependency_tracking" != xno; then
12820
+ am_depcomp="$ac_aux_dir/depcomp"
12821
+ AMDEPBACKSLASH='\'
12823
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
12824
+AC_SUBST([AMDEPBACKSLASH])dnl
12825
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
12828
+# Generate code to set up dependency tracking. -*- Autoconf -*-
12830
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
12831
+# Free Software Foundation, Inc.
12833
+# This file is free software; the Free Software Foundation
12834
+# gives unlimited permission to copy and/or distribute it,
12835
+# with or without modifications, as long as this notice is preserved.
12838
- if test -f /usr/libexec/ld.so; then
12839
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
12840
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
12841
- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12842
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12843
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12844
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
12845
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
12848
- openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
12849
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12850
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
12853
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12854
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
12859
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
12865
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
12866
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
12867
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
12868
- _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'
12869
- _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12871
+# _AM_OUTPUT_DEPENDENCY_COMMANDS
12872
+# ------------------------------
12873
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
12874
+[for mf in $CONFIG_FILES; do
12875
+ # Strip MF so we end up with the name of the file.
12876
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
12877
+ # Check whether this is an Automake generated Makefile or not.
12878
+ # We used to match only the files named `Makefile.in', but
12879
+ # some people rename them; so instead we look at the file content.
12880
+ # Grep'ing the first line is not enough: some people post-process
12881
+ # each Makefile.in and add a new line on top of each file to say so.
12882
+ # Grep'ing the whole file is not good either: AIX grep has a line
12883
+ # limit of 2048, but all sed's we know have understand at least 4000.
12884
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12885
+ dirpart=`AS_DIRNAME("$mf")`
12889
+ # Extract the definition of DEPDIR, am__include, and am__quote
12890
+ # from the Makefile without running `make'.
12891
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12892
+ test -z "$DEPDIR" && continue
12893
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
12894
+ test -z "am__include" && continue
12895
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12896
+ # When using ansi2knr, U may be empty or an underscore; expand it
12897
+ U=`sed -n 's/^U = //p' < "$mf"`
12898
+ # Find all dependency output files, they are included files with
12899
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
12900
+ # simplest approach to changing $(DEPDIR) to its actual value in the
12902
+ for file in `sed -n "
12903
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12904
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12905
+ # Make sure the directory exists.
12906
+ test -f "$dirpart/$file" && continue
12907
+ fdir=`AS_DIRNAME(["$file"])`
12908
+ AS_MKDIR_P([$dirpart/$fdir])
12909
+ # echo "creating $dirpart/$file"
12910
+ echo '# dummy' > "$dirpart/$file"
12913
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
12916
- if test "$GCC" = yes; then
12917
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
12918
- _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'
12920
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
12921
- _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'
12923
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
12924
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
12927
- osf4* | osf5*) # as osf3* with the addition of -msym flag
12928
- if test "$GCC" = yes; then
12929
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
12930
- _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'
12931
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
12933
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
12934
- _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'
12935
- _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~
12936
- $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
12937
+# AM_OUTPUT_DEPENDENCY_COMMANDS
12938
+# -----------------------------
12939
+# This macro should only be invoked once -- use via AC_REQUIRE.
12941
+# This code is only required when automatic dependency tracking
12942
+# is enabled. FIXME. This creates each `.P' file that we will
12943
+# need in order to bootstrap the dependency handling code.
12944
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
12945
+[AC_CONFIG_COMMANDS([depfiles],
12946
+ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
12947
+ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
12950
- # Both c and cxx compiler support -rpath directly
12951
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
12953
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
12955
+# Do all the work for Automake. -*- Autoconf -*-
12958
- _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
12959
- if test "$GCC" = yes; then
12961
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12962
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12963
- $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
12966
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12967
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12968
- $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
12970
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
12971
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
12973
- solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
12975
- # The compiler driver will combine and reorder linker options,
12976
- # but understands `-z linker_flag'. GCC discards it without `$wl',
12977
- # but is careful enough not to reorder.
12978
- # Supported since Solaris 2.6 (maybe 2.5.1?)
12979
- if test "$GCC" = yes; then
12980
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12982
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
12986
- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
12988
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
12989
+# 2005, 2006, 2008 Free Software Foundation, Inc.
12991
+# This file is free software; the Free Software Foundation
12992
+# gives unlimited permission to copy and/or distribute it,
12993
+# with or without modifications, as long as this notice is preserved.
12996
- if test "x$host_vendor" = xsequent; then
12997
- # Use $CC to link under sequent, because it throws in some extra .o
12998
- # files that make .init and .fini sections work.
12999
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13001
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13003
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
13004
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
13005
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
13006
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
13011
- case $host_vendor in
13013
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13014
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
13017
- ## LD is ld it makes a PLAMLIB
13018
- ## CC just makes a GrossModule.
13019
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13020
- _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
13021
- _LT_AC_TAGVAR(hardcode_direct, $1)=no
13024
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13025
- _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
13028
- runpath_var='LD_RUN_PATH'
13029
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
13031
+# This macro actually does too much. Some checks are only needed if
13032
+# your package does certain things. But this isn't really a big deal.
13035
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13036
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
13037
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
13039
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
13040
+# AM_INIT_AUTOMAKE([OPTIONS])
13041
+# -----------------------------------------------
13042
+# The call with PACKAGE and VERSION arguments is the old style
13043
+# call (pre autoconf-2.50), which is being phased out. PACKAGE
13044
+# and VERSION should now be passed to AC_INIT and removed from
13045
+# the call to AM_INIT_AUTOMAKE.
13046
+# We support both call styles for the transition. After
13047
+# the next Automake release, Autoconf can make the AC_INIT
13048
+# arguments mandatory, and then we can depend on a new Autoconf
13049
+# release and drop the old call support.
13050
+AC_DEFUN([AM_INIT_AUTOMAKE],
13051
+[AC_PREREQ([2.60])dnl
13052
+dnl Autoconf wants to disallow AM_ names. We explicitly allow
13053
+dnl the ones we care about.
13054
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
13055
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
13056
+AC_REQUIRE([AC_PROG_INSTALL])dnl
13057
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
13058
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
13059
+ # is not polluted with repeated "-I."
13060
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
13061
+ # test to see if srcdir already configured
13062
+ if test -f $srcdir/config.status; then
13063
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
13068
- if test -d /usr/nec; then
13069
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13070
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
13071
- runpath_var=LD_RUN_PATH
13072
- hardcode_runpath_var=yes
13073
- _LT_AC_TAGVAR(ld_shlibs, $1)=yes
13076
+# test whether we have cygpath
13077
+if test -z "$CYGPATH_W"; then
13078
+ if (cygpath --version) >/dev/null 2>/dev/null; then
13079
+ CYGPATH_W='cygpath -w'
13084
+AC_SUBST([CYGPATH_W])
13086
- sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
13087
- _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
13088
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
13089
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
13090
- runpath_var='LD_RUN_PATH'
13091
+# Define the identity of the package.
13092
+dnl Distinguish between old-style and new-style calls.
13094
+[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
13095
+ AC_SUBST([PACKAGE], [$1])dnl
13096
+ AC_SUBST([VERSION], [$2])],
13097
+[_AM_SET_OPTIONS([$1])dnl
13098
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
13099
+m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
13100
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
13101
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
13102
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
13104
- if test "$GCC" = yes; then
13105
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13106
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13108
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13109
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13112
+_AM_IF_OPTION([no-define],,
13113
+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
13114
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
13116
- sysv5* | sco3.2v5* | sco5v6*)
13117
- # Note: We can NOT use -z defs as we might desire, because we do not
13118
- # link with -lc, and that would cause any symbols used from libc to
13119
- # always be unresolved, which means just about no library would
13120
- # ever link correctly. If we're not using GNU ld we use -z text
13121
- # though, which does catch some bad symbols but isn't as heavy-handed
13123
- _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
13124
- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
13125
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
13126
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
13127
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
13128
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
13129
- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
13130
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
13131
- runpath_var='LD_RUN_PATH'
13132
+# Some tools Automake needs.
13133
+AC_REQUIRE([AM_SANITY_CHECK])dnl
13134
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
13135
+AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
13136
+AM_MISSING_PROG(AUTOCONF, autoconf)
13137
+AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
13138
+AM_MISSING_PROG(AUTOHEADER, autoheader)
13139
+AM_MISSING_PROG(MAKEINFO, makeinfo)
13140
+AM_PROG_INSTALL_SH
13141
+AM_PROG_INSTALL_STRIP
13142
+AC_REQUIRE([AM_PROG_MKDIR_P])dnl
13143
+# We need awk for the "check" target. The system "awk" is bad on
13145
+AC_REQUIRE([AC_PROG_AWK])dnl
13146
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
13147
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
13148
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
13149
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
13150
+ [_AM_PROG_TAR([v7])])])
13151
+_AM_IF_OPTION([no-dependencies],,
13152
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
13153
+ [_AM_DEPENDENCIES(CC)],
13154
+ [define([AC_PROG_CC],
13155
+ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
13156
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
13157
+ [_AM_DEPENDENCIES(CXX)],
13158
+ [define([AC_PROG_CXX],
13159
+ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
13160
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
13161
+ [_AM_DEPENDENCIES(OBJC)],
13162
+ [define([AC_PROG_OBJC],
13163
+ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
13167
- if test "$GCC" = yes; then
13168
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13169
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13171
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13172
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13177
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13178
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
13179
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
13181
+# When config.status generates a header, we must update the stamp-h file.
13182
+# This file resides in the same directory as the config header
13183
+# that is generated. The stamp files are numbered to have different names.
13186
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
13191
-AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
13192
-test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
13193
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
13194
+# loop where config.status creates the headers, so we can generate
13195
+# our stamp files there.
13196
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
13197
+[# Compute $1's index in $config_headers.
13200
+for _am_header in $config_headers :; do
13201
+ case $_am_header in
13202
+ $_am_arg | $_am_arg:* )
13205
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13208
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
13210
+# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
13212
-# Do we need to explicitly link libc?
13213
+# This file is free software; the Free Software Foundation
13214
+# gives unlimited permission to copy and/or distribute it,
13215
+# with or without modifications, as long as this notice is preserved.
13217
+# AM_PROG_INSTALL_SH
13218
+# ------------------
13219
+# Define $install_sh.
13220
+AC_DEFUN([AM_PROG_INSTALL_SH],
13221
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
13222
+install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
13223
+AC_SUBST(install_sh)])
13225
+# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
13227
-case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
13229
- # Assume -lc should be added
13230
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
13231
+# This file is free software; the Free Software Foundation
13232
+# gives unlimited permission to copy and/or distribute it,
13233
+# with or without modifications, as long as this notice is preserved.
13235
- if test "$enable_shared" = yes && test "$GCC" = yes; then
13236
- case $_LT_AC_TAGVAR(archive_cmds, $1) in
13238
- # FIXME: we may have to deal with multi-command sequences.
13241
- # Test whether the compiler implicitly links with -lc since on some
13242
- # systems, -lgcc has to come before -lc. If gcc already passes -lc
13243
- # to ld, don't add -lc before -lgcc.
13244
- AC_MSG_CHECKING([whether -lc should be explicitly linked in])
13246
- echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13249
- if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
13252
- libobjs=conftest.$ac_objext
13254
- wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
13255
- pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
13256
- compiler_flags=-v
13261
- lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
13262
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=
13263
- if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
13265
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
13267
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
13269
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
13271
- cat conftest.err 1>&5
13274
- AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
13280
-])# AC_LIBTOOL_PROG_LD_SHLIBS
13281
+# Check whether the underlying file-system supports filenames
13282
+# with a leading dot. For instance MS-DOS doesn't.
13283
+AC_DEFUN([AM_SET_LEADING_DOT],
13284
+[rm -rf .tst 2>/dev/null
13285
+mkdir .tst 2>/dev/null
13286
+if test -d .tst; then
13287
+ am__leading_dot=.
13289
+ am__leading_dot=_
13291
+rmdir .tst 2>/dev/null
13292
+AC_SUBST([am__leading_dot])])
13294
+# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
13295
+# From Jim Meyering
13297
-# _LT_AC_FILE_LTDLL_C
13298
-# -------------------
13299
-# Be careful that the start marker always follows a newline.
13300
-AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
13301
-# /* ltdll.c starts here */
13302
-# #define WIN32_LEAN_AND_MEAN
13303
-# #include <windows.h>
13304
-# #undef WIN32_LEAN_AND_MEAN
13305
-# #include <stdio.h>
13307
-# #ifndef __CYGWIN__
13308
-# # ifdef __CYGWIN32__
13309
-# # define __CYGWIN__ __CYGWIN32__
13313
-# #ifdef __cplusplus
13316
-# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
13317
-# #ifdef __cplusplus
13321
-# #ifdef __CYGWIN__
13322
-# #include <cygwin/cygwin_dll.h>
13323
-# DECLARE_CYGWIN_DLL( DllMain );
13325
-# HINSTANCE __hDllInstance_base;
13326
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
13327
+# Free Software Foundation, Inc.
13330
-# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
13332
-# __hDllInstance_base = hInst;
13335
-# /* ltdll.c ends here */
13336
-])# _LT_AC_FILE_LTDLL_C
13337
+# This file is free software; the Free Software Foundation
13338
+# gives unlimited permission to copy and/or distribute it,
13339
+# with or without modifications, as long as this notice is preserved.
13343
-# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
13344
-# ---------------------------------
13345
-AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
13346
+AC_DEFUN([AM_MAINTAINER_MODE],
13347
+[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
13348
+ dnl maintainer-mode is disabled by default
13349
+ AC_ARG_ENABLE(maintainer-mode,
13350
+[ --enable-maintainer-mode enable make rules and dependencies not useful
13351
+ (and sometimes confusing) to the casual installer],
13352
+ USE_MAINTAINER_MODE=$enableval,
13353
+ USE_MAINTAINER_MODE=no)
13354
+ AC_MSG_RESULT([$USE_MAINTAINER_MODE])
13355
+ AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
13356
+ MAINT=$MAINTAINER_MODE_TRUE
13357
+ AC_SUBST(MAINT)dnl
13361
+AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
13364
-AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
13365
-AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
13366
-AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
13367
-AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
13368
-AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
13369
-AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
13370
-AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
13371
+# Check to see how 'make' treats includes. -*- Autoconf -*-
13373
-# This is just to silence aclocal about the macro not being used
13374
-ifelse([AC_DISABLE_FAST_INSTALL])
13375
+# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
13377
+# This file is free software; the Free Software Foundation
13378
+# gives unlimited permission to copy and/or distribute it,
13379
+# with or without modifications, as long as this notice is preserved.
13381
-AC_DEFUN([LT_AC_PROG_GCJ],
13382
-[AC_CHECK_TOOL(GCJ, gcj, no)
13383
- test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
13384
- AC_SUBST(GCJFLAGS)
13388
-AC_DEFUN([LT_AC_PROG_RC],
13389
-[AC_CHECK_TOOL(RC, windres, no)
13390
+# AM_MAKE_INCLUDE()
13391
+# -----------------
13392
+# Check to see how make treats includes.
13393
+AC_DEFUN([AM_MAKE_INCLUDE],
13394
+[am_make=${MAKE-make}
13395
+cat > confinc << 'END'
13400
+# If we don't find an include directive, just comment out the code.
13401
+AC_MSG_CHECKING([for style of include used by $am_make])
13405
+# First try GNU make style include.
13406
+echo "include confinc" > confmf
13407
+# We grep out `Entering directory' and `Leaving directory'
13408
+# messages which can occur if `w' ends up in MAKEFLAGS.
13409
+# In particular we don't look at `^make:' because GNU make might
13410
+# be invoked under some other name (usually "gmake"), in which
13411
+# case it prints its new name instead of `make'.
13412
+if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
13413
+ am__include=include
13417
+# Now try BSD make style include.
13418
+if test "$am__include" = "#"; then
13419
+ echo '.include "confinc"' > confmf
13420
+ if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
13421
+ am__include=.include
13426
+AC_SUBST([am__include])
13427
+AC_SUBST([am__quote])
13428
+AC_MSG_RESULT([$_am_result])
13429
+rm -f confinc confmf
13432
+# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
13434
-# Cheap backport of AS_EXECUTABLE_P and required macros
13435
-# from Autoconf 2.59; we should not use $as_executable_p directly.
13436
+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
13437
+# Free Software Foundation, Inc.
13439
+# This file is free software; the Free Software Foundation
13440
+# gives unlimited permission to copy and/or distribute it,
13441
+# with or without modifications, as long as this notice is preserved.
13443
-# _AS_TEST_PREPARE
13444
-# ----------------
13445
-m4_ifndef([_AS_TEST_PREPARE],
13446
-[m4_defun([_AS_TEST_PREPARE],
13447
-[if test -x / >/dev/null 2>&1; then
13448
- as_executable_p='test -x'
13451
+# AM_MISSING_PROG(NAME, PROGRAM)
13452
+# ------------------------------
13453
+AC_DEFUN([AM_MISSING_PROG],
13454
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
13455
+$1=${$1-"${am_missing_run}$2"}
13459
+# AM_MISSING_HAS_RUN
13460
+# ------------------
13461
+# Define MISSING if not defined so far and test if it supports --run.
13462
+# If it does, set am_missing_run to use it, otherwise, to nothing.
13463
+AC_DEFUN([AM_MISSING_HAS_RUN],
13464
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
13465
+AC_REQUIRE_AUX_FILE([missing])dnl
13466
+test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
13467
+# Use eval to expand $SHELL
13468
+if eval "$MISSING --run true"; then
13469
+ am_missing_run="$MISSING --run "
13471
- as_executable_p='test -f'
13473
+ AC_MSG_WARN([`missing' script is too old or missing])
13475
-])])# _AS_TEST_PREPARE
13480
-# Check whether a file is executable.
13481
-m4_ifndef([AS_EXECUTABLE_P],
13482
-[m4_defun([AS_EXECUTABLE_P],
13483
-[AS_REQUIRE([_AS_TEST_PREPARE])dnl
13484
-$as_executable_p $1[]dnl
13485
-])])# AS_EXECUTABLE_P
13486
+# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
13488
+# This file is free software; the Free Software Foundation
13489
+# gives unlimited permission to copy and/or distribute it,
13490
+# with or without modifications, as long as this notice is preserved.
13492
-# NOTE: This macro has been submitted for inclusion into #
13493
-# GNU Autoconf as AC_PROG_SED. When it is available in #
13494
-# a released version of Autoconf we should remove this #
13495
-# macro and use it instead. #
13498
-# Check for a fully-functional sed program, that truncates
13499
-# as few characters as possible. Prefer GNU sed if found.
13500
-AC_DEFUN([LT_AC_PROG_SED],
13501
-[AC_MSG_CHECKING([for a sed that does not truncate output])
13502
-AC_CACHE_VAL(lt_cv_path_SED,
13503
-[# Loop through the user's path and test for sed and gsed.
13504
-# Then use that list of sed's as ones to test for truncation.
13505
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13506
-for as_dir in $PATH
13509
- test -z "$as_dir" && as_dir=.
13510
- for lt_ac_prog in sed gsed; do
13511
- for ac_exec_ext in '' $ac_executable_extensions; do
13512
- if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then
13513
- lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
13521
-# Add /usr/xpg4/bin/sed as it is typically found on Solaris
13522
-# along with /bin/sed that truncates output.
13523
-for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
13524
- test ! -f $lt_ac_sed && continue
13525
- cat /dev/null > conftest.in
13527
- echo $ECHO_N "0123456789$ECHO_C" >conftest.in
13528
- # Check for GNU sed and select it if it is found.
13529
- if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
13530
- lt_cv_path_SED=$lt_ac_sed
13534
- cat conftest.in conftest.in >conftest.tmp
13535
- mv conftest.tmp conftest.in
13536
- cp conftest.in conftest.nl
13537
- echo >>conftest.nl
13538
- $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
13539
- cmp -s conftest.out conftest.nl || break
13540
- # 10000 chars as input seems more than enough
13541
- test $lt_ac_count -gt 10 && break
13542
- lt_ac_count=`expr $lt_ac_count + 1`
13543
- if test $lt_ac_count -gt $lt_ac_max; then
13544
- lt_ac_max=$lt_ac_count
13545
- lt_cv_path_SED=$lt_ac_sed
13550
-SED=$lt_cv_path_SED
13552
-AC_MSG_RESULT([$SED])
13555
+# Check for `mkdir -p'.
13556
+AC_DEFUN([AM_PROG_MKDIR_P],
13557
+[AC_PREREQ([2.60])dnl
13558
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
13559
+dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
13560
+dnl while keeping a definition of mkdir_p for backward compatibility.
13561
+dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
13562
+dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
13563
+dnl Makefile.ins that do not define MKDIR_P, so we do our own
13564
+dnl adjustment using top_builddir (which is defined more often than
13566
+AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
13568
+ [[\\/$]]* | ?:[[\\/]]*) ;;
13569
+ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
13573
-# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
13575
-# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
13577
-# This program is free software; you can redistribute it and/or modify
13578
-# it under the terms of the GNU General Public License as published by
13579
-# the Free Software Foundation; either version 2 of the License, or
13580
-# (at your option) any later version.
13582
-# This program is distributed in the hope that it will be useful, but
13583
-# WITHOUT ANY WARRANTY; without even the implied warranty of
13584
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13585
-# General Public License for more details.
13587
-# You should have received a copy of the GNU General Public License
13588
-# along with this program; if not, write to the Free Software
13589
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
13590
+# Helper functions for option handling. -*- Autoconf -*-
13592
+# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
13594
-# As a special exception to the GNU General Public License, if you
13595
-# distribute this file as part of a program that contains a
13596
-# configuration script generated by Autoconf, you may include it under
13597
-# the same distribution terms that you use for the rest of that program.
13598
+# This file is free software; the Free Software Foundation
13599
+# gives unlimited permission to copy and/or distribute it,
13600
+# with or without modifications, as long as this notice is preserved.
13602
-# PKG_PROG_PKG_CONFIG([MIN-VERSION])
13605
+# _AM_MANGLE_OPTION(NAME)
13606
+# -----------------------
13607
+AC_DEFUN([_AM_MANGLE_OPTION],
13608
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
13610
+# _AM_SET_OPTION(NAME)
13611
+# ------------------------------
13612
+# Set option NAME. Presently that only means defining a flag for this option.
13613
+AC_DEFUN([_AM_SET_OPTION],
13614
+[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
13616
+# _AM_SET_OPTIONS(OPTIONS)
13617
# ----------------------------------
13618
-AC_DEFUN([PKG_PROG_PKG_CONFIG],
13619
-[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
13620
-m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
13621
-AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
13622
-if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13623
- AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
13625
-if test -n "$PKG_CONFIG"; then
13626
- _pkg_min_version=m4_default([$1], [0.9.0])
13627
- AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
13628
- if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13629
- AC_MSG_RESULT([yes])
13631
- AC_MSG_RESULT([no])
13636
-])# PKG_PROG_PKG_CONFIG
13637
+# OPTIONS is a space-separated list of Automake options.
13638
+AC_DEFUN([_AM_SET_OPTIONS],
13639
+[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
13641
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
13642
+# -------------------------------------------
13643
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
13644
+AC_DEFUN([_AM_IF_OPTION],
13645
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
13647
-# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
13649
-# Check to see whether a particular set of modules exists. Similar
13650
-# to PKG_CHECK_MODULES(), but does not set variables or print errors.
13652
+# Check to make sure that the build environment is sane. -*- Autoconf -*-
13654
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
13655
+# Free Software Foundation, Inc.
13657
-# Similar to PKG_CHECK_MODULES, make sure that the first instance of
13658
-# this or PKG_CHECK_MODULES is called, or make sure to call
13659
-# PKG_CHECK_EXISTS manually
13660
-# --------------------------------------------------------------
13661
-AC_DEFUN([PKG_CHECK_EXISTS],
13662
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
13663
-if test -n "$PKG_CONFIG" && \
13664
- AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
13665
- m4_ifval([$2], [$2], [:])
13666
-m4_ifvaln([$3], [else
13669
+# This file is free software; the Free Software Foundation
13670
+# gives unlimited permission to copy and/or distribute it,
13671
+# with or without modifications, as long as this notice is preserved.
13675
-# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
13676
-# ---------------------------------------------
13677
-m4_define([_PKG_CONFIG],
13678
-[if test -n "$$1"; then
13679
- pkg_cv_[]$1="$$1"
13680
- elif test -n "$PKG_CONFIG"; then
13681
- PKG_CHECK_EXISTS([$3],
13682
- [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
13683
- [pkg_failed=yes])
13685
- pkg_failed=untried
13690
+AC_DEFUN([AM_SANITY_CHECK],
13691
+[AC_MSG_CHECKING([whether build environment is sane])
13694
+echo timestamp > conftest.file
13695
+# Do `set' in a subshell so we don't clobber the current shell's
13696
+# arguments. Must try -L first in case configure is actually a
13697
+# symlink; some systems play weird games with the mod time of symlinks
13698
+# (eg FreeBSD returns the mod time of the symlink's containing
13701
+ set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
13702
+ if test "$[*]" = "X"; then
13703
+ # -L didn't work.
13704
+ set X `ls -t $srcdir/configure conftest.file`
13706
+ rm -f conftest.file
13707
+ if test "$[*]" != "X $srcdir/configure conftest.file" \
13708
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then
13710
-# _PKG_SHORT_ERRORS_SUPPORTED
13711
-# -----------------------------
13712
-AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
13713
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
13714
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13715
- _pkg_short_errors_supported=yes
13717
- _pkg_short_errors_supported=no
13719
-])# _PKG_SHORT_ERRORS_SUPPORTED
13720
+ # If neither matched, then we have a broken ls. This can happen
13721
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
13722
+ # broken ls alias from the environment. This has actually
13723
+ # happened. Such a system could not be considered "sane".
13724
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
13725
+alias in your environment])
13728
+ test "$[2]" = conftest.file
13734
+ AC_MSG_ERROR([newly created file is older than distributed files!
13735
+Check your system clock])
13737
+AC_MSG_RESULT(yes)])
13739
-# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
13740
-# [ACTION-IF-NOT-FOUND])
13743
-# Note that if there is a possibility the first call to
13744
-# PKG_CHECK_MODULES might not happen, you should be sure to include an
13745
-# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
13747
+# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
13749
-# --------------------------------------------------------------
13750
-AC_DEFUN([PKG_CHECK_MODULES],
13751
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
13752
-AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
13753
-AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
13754
+# This file is free software; the Free Software Foundation
13755
+# gives unlimited permission to copy and/or distribute it,
13756
+# with or without modifications, as long as this notice is preserved.
13759
-AC_MSG_CHECKING([for $1])
13760
+# AM_PROG_INSTALL_STRIP
13761
+# ---------------------
13762
+# One issue with vendor `install' (even GNU) is that you can't
13763
+# specify the program used to strip binaries. This is especially
13764
+# annoying in cross-compiling environments, where the build's strip
13765
+# is unlikely to handle the host's binaries.
13766
+# Fortunately install-sh will honor a STRIPPROG variable, so we
13767
+# always use install-sh in `make install-strip', and initialize
13768
+# STRIPPROG with the value of the STRIP variable (set by the user).
13769
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
13770
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
13771
+# Installed binaries are usually stripped using `strip' when the user
13772
+# run `make install-strip'. However `strip' might not be the right
13773
+# tool to use in cross-compilation environments, therefore Automake
13774
+# will honor the `STRIP' environment variable to overrule this program.
13775
+dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
13776
+if test "$cross_compiling" != no; then
13777
+ AC_CHECK_TOOL([STRIP], [strip], :)
13779
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
13780
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
13782
-_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
13783
-_PKG_CONFIG([$1][_LIBS], [libs], [$2])
13784
+# Copyright (C) 2006 Free Software Foundation, Inc.
13786
+# This file is free software; the Free Software Foundation
13787
+# gives unlimited permission to copy and/or distribute it,
13788
+# with or without modifications, as long as this notice is preserved.
13790
-m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
13791
-and $1[]_LIBS to avoid the need to call pkg-config.
13792
-See the pkg-config man page for more details.])
13793
+# _AM_SUBST_NOTMAKE(VARIABLE)
13794
+# ---------------------------
13795
+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
13796
+# This macro is traced by Automake.
13797
+AC_DEFUN([_AM_SUBST_NOTMAKE])
13799
-if test $pkg_failed = yes; then
13800
- _PKG_SHORT_ERRORS_SUPPORTED
13801
- if test $_pkg_short_errors_supported = yes; then
13802
- $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
13804
- $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
13806
- # Put the nasty error message in config.log where it belongs
13807
- echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
13808
+# Check how to create a tarball. -*- Autoconf -*-
13810
- ifelse([$4], , [AC_MSG_ERROR(dnl
13811
-[Package requirements ($2) were not met:
13812
+# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
13814
+# This file is free software; the Free Software Foundation
13815
+# gives unlimited permission to copy and/or distribute it,
13816
+# with or without modifications, as long as this notice is preserved.
13821
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
13822
-installed software in a non-standard prefix.
13823
+# _AM_PROG_TAR(FORMAT)
13824
+# --------------------
13825
+# Check how to create a tarball in format FORMAT.
13826
+# FORMAT should be one of `v7', `ustar', or `pax'.
13828
+# Substitute a variable $(am__tar) that is a command
13829
+# writing to stdout a FORMAT-tarball containing the directory
13831
+# tardir=directory && $(am__tar) > result.tar
13833
+# Substitute a variable $(am__untar) that extract such
13834
+# a tarball read from stdin.
13835
+# $(am__untar) < result.tar
13836
+AC_DEFUN([_AM_PROG_TAR],
13837
+[# Always define AMTAR for backward compatibility.
13838
+AM_MISSING_PROG([AMTAR], [tar])
13840
+ [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
13841
+ [m4_case([$1], [ustar],, [pax],,
13842
+ [m4_fatal([Unknown tar format])])
13843
+AC_MSG_CHECKING([how to create a $1 tar archive])
13844
+# Loop over all known methods to create a tar archive until one works.
13845
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
13846
+_am_tools=${am_cv_prog_tar_$1-$_am_tools}
13847
+# Do not fold the above two line into one, because Tru64 sh and
13848
+# Solaris sh will not grok spaces in the rhs of `-'.
13849
+for _am_tool in $_am_tools
13851
+ case $_am_tool in
13853
+ for _am_tar in tar gnutar gtar;
13855
+ AM_RUN_LOG([$_am_tar --version]) && break
13857
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
13858
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
13859
+ am__untar="$_am_tar -xf -"
13862
+ # Must skip GNU tar: if it does not support --format= it doesn't create
13863
+ # ustar tarball either.
13864
+ (tar --version) >/dev/null 2>&1 && continue
13865
+ am__tar='tar chf - "$$tardir"'
13866
+ am__tar_='tar chf - "$tardir"'
13867
+ am__untar='tar xf -'
13870
+ am__tar='pax -L -x $1 -w "$$tardir"'
13871
+ am__tar_='pax -L -x $1 -w "$tardir"'
13872
+ am__untar='pax -r'
13875
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
13876
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
13877
+ am__untar='cpio -i -H $1 -d'
13888
- [AC_MSG_RESULT([no])
13890
-elif test $pkg_failed = untried; then
13891
- ifelse([$4], , [AC_MSG_FAILURE(dnl
13892
-[The pkg-config script could not be found or is too old. Make sure it
13893
-is in your PATH or set the PKG_CONFIG environment variable to the full
13894
-path to pkg-config.
13895
+ # If the value was cached, stop now. We just wanted to have am__tar
13896
+ # and am__untar set.
13897
+ test -n "${am_cv_prog_tar_$1}" && break
13900
+ # tar/untar a dummy directory, and stop if the command works
13901
+ rm -rf conftest.dir
13902
+ mkdir conftest.dir
13903
+ echo GrepMe > conftest.dir/file
13904
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
13905
+ rm -rf conftest.dir
13906
+ if test -s conftest.tar; then
13907
+ AM_RUN_LOG([$am__untar <conftest.tar])
13908
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
13911
+rm -rf conftest.dir
13913
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
13916
- $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
13917
- $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
13918
- AC_MSG_RESULT([yes])
13919
- ifelse([$3], , :, [$3])
13921
-])# PKG_CHECK_MODULES
13922
+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
13923
+AC_MSG_RESULT([$am_cv_prog_tar_$1])])
13924
+AC_SUBST([am__tar])
13925
+AC_SUBST([am__untar])
13928
Index: libgail-gnome-1.20.1/config.guess
13929
===================================================================
13930
--- libgail-gnome-1.20.1.orig/config.guess 2008-11-21 19:59:50.504859626 +0100
13931
+++ libgail-gnome-1.20.1/config.guess 2008-11-21 20:00:39.068345837 +0100
13933
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
13934
# Free Software Foundation, Inc.
13936
-timestamp='2008-01-08'
13937
+timestamp='2008-01-23'
13939
# This file is free software; you can redistribute it and/or modify it
13940
# under the terms of the GNU General Public License as published by
13941
@@ -1484,9 +1484,9 @@ This script, last modified $timestamp, h
13942
the operating system you are using. It is advised that you
13943
download the most up to date version of the config scripts from
13945
- http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
13946
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
13948
- http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
13949
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
13951
If the version you run ($0) is already up to date, please
13952
send the following data and any information you think might be
13953
Index: libgail-gnome-1.20.1/configure
13954
===================================================================
13955
--- libgail-gnome-1.20.1.orig/configure 2008-11-21 19:59:50.736864322 +0100
13956
+++ libgail-gnome-1.20.1/configure 2008-11-21 20:00:39.968341019 +0100
13959
# Guess values for system-dependent variables and create Makefiles.
13960
-# Generated by GNU Autoconf 2.62 for Gail GNOME 1.20.1.
13961
+# Generated by GNU Autoconf 2.61 for Gail GNOME 1.20.1.
13963
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=atk&component=gail>.
13965
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
13966
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
13967
+# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
13968
# This configure script is free software; the Free Software Foundation
13969
# gives unlimited permission to copy, distribute and modify it.
13970
## --------------------- ##
13971
@@ -17,7 +17,7 @@ DUALCASE=1; export DUALCASE # for MKS sh
13972
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13975
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13976
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13977
# is contrary to our usage. Disable this feature.
13978
alias -g '${1+"$@"}'='"$@"'
13979
setopt NO_GLOB_SUBST
13980
@@ -39,45 +39,17 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTE
13981
as_cr_digits='0123456789'
13982
as_cr_alnum=$as_cr_Letters$as_cr_digits
13987
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
13988
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13989
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13990
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13991
-if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13992
- as_echo='printf %s\n'
13993
- as_echo_n='printf %s'
13995
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13996
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13997
- as_echo_n='/usr/ucb/echo -n'
13999
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14000
- as_echo_n_body='eval
14004
- expr "X$arg" : "X\\(.*\\)$as_nl";
14005
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14007
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14009
- export as_echo_n_body
14010
- as_echo_n='sh -c $as_echo_n_body as_echo'
14012
- export as_echo_body
14013
- as_echo='sh -c $as_echo_body as_echo'
14016
# The user is always right.
14017
if test "${PATH_SEPARATOR+set}" != set; then
14019
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14020
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14021
- PATH_SEPARATOR=';'
14023
+ echo "#! /bin/sh" >conf$$.sh
14024
+ echo "exit 0" >>conf$$.sh
14025
+ chmod +x conf$$.sh
14026
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14027
+ PATH_SEPARATOR=';'
14034
# Support unset when possible.
14035
@@ -93,6 +65,8 @@ fi
14036
# there to prevent editors from complaining about space-tab.
14037
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
14038
# splitting by setting IFS to empty value.)
14043
# Find who we are. Look in the path if we contain no directory separator.
14044
@@ -115,7 +89,7 @@ if test "x$as_myself" = x; then
14047
if test ! -f "$as_myself"; then
14048
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14049
+ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14050
{ (exit 1); exit 1; }
14053
@@ -128,10 +102,17 @@ PS2='> '
14062
+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
14063
+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
14064
+ LC_TELEPHONE LC_TIME
14066
+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
14067
+ eval $as_var=C; export $as_var
14069
+ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
14073
# Required to use basename.
14074
if expr a : '\(a\)' >/dev/null 2>&1 &&
14075
@@ -153,7 +134,7 @@ as_me=`$as_basename -- "$0" ||
14076
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14077
X"$0" : 'X\(//\)$' \| \
14078
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14081
sed '/^.*\/\([^/][^/]*\)\/*$/{
14084
@@ -179,7 +160,7 @@ else
14085
as_have_required=no
14088
- if test $as_have_required = yes && (eval ":
14089
+ if test $as_have_required = yes && (eval ":
14090
(as_func_return () {
14093
@@ -261,7 +242,7 @@ IFS=$as_save_IFS
14094
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14097
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14098
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
14099
# is contrary to our usage. Disable this feature.
14100
alias -g '${1+"$@"}'='"$@"'
14101
setopt NO_GLOB_SUBST
14102
@@ -282,7 +263,7 @@ _ASEOF
14103
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14106
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14107
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
14108
# is contrary to our usage. Disable this feature.
14109
alias -g '${1+"$@"}'='"$@"'
14110
setopt NO_GLOB_SUBST
14111
@@ -362,10 +343,10 @@ fi
14113
if test "x$CONFIG_SHELL" != x; then
14114
for as_var in BASH_ENV ENV
14115
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
14117
- export CONFIG_SHELL
14118
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
14119
+ do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
14121
+ export CONFIG_SHELL
14122
+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
14126
@@ -434,10 +415,9 @@ fi
14128
test \$exitcode = 0") || {
14129
echo No shell found that supports shell functions.
14130
- echo Please tell bug-autoconf@gnu.org about your system,
14131
- echo including any error possibly output before this message.
14132
- echo This can help us improve future autoconf versions.
14133
- echo Configuration will now proceed without shell functions.
14134
+ echo Please tell autoconf@gnu.org about your system,
14135
+ echo including any error possibly output before this
14140
@@ -473,7 +453,7 @@ test \$exitcode = 0") || {
14142
' >$as_me.lineno &&
14143
chmod +x "$as_me.lineno" ||
14144
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
14145
+ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
14146
{ (exit 1); exit 1; }; }
14148
# Don't try to exec as it changes $[0], causing all sort of problems
14149
@@ -501,6 +481,7 @@ case `echo -n x` in
14154
if expr a : '\(a\)' >/dev/null 2>&1 &&
14155
test "X`expr 00001 : '.*\(...\)'`" = X001; then
14157
@@ -513,22 +494,19 @@ if test -d conf$$.dir; then
14158
rm -f conf$$.dir/conf$$.file
14161
- mkdir conf$$.dir 2>/dev/null
14164
-if (echo >conf$$.file) 2>/dev/null; then
14165
- if ln -s conf$$.file conf$$ 2>/dev/null; then
14167
- # ... but there are two gotchas:
14168
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14169
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14170
- # In both cases, we have to default to `cp -p'.
14171
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14173
- elif ln conf$$.file conf$$ 2>/dev/null; then
14177
+if ln -s conf$$.file conf$$ 2>/dev/null; then
14179
+ # ... but there are two gotchas:
14180
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14181
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14182
+ # In both cases, we have to default to `cp -p'.
14183
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14186
+elif ln conf$$.file conf$$ 2>/dev/null; then
14191
@@ -553,10 +531,10 @@ else
14194
if test -d "$1"; then
14202
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
14203
???[sx]*):;;*)false;;esac;fi
14204
@@ -843,7 +821,6 @@ MAKEINFO
14207
INSTALL_STRIP_PROGRAM
14212
@@ -930,21 +907,6 @@ AM_LDFLAGS
14217
-enable_option_checking
14218
-enable_maintainer_mode
14219
-enable_dependency_tracking
14222
-enable_fast_install
14224
-enable_libtool_lock
14228
-enable_compile_warnings
14231
ac_precious_vars='build_alias
14234
@@ -970,8 +932,6 @@ TEST_LIBS'
14235
# Initialize some variables set by options.
14237
ac_init_version=false
14238
-ac_unrecognized_opts=
14239
-ac_unrecognized_sep=
14240
# The variables have the same names as the options, with
14241
# dashes changed to underlines.
14242
cache_file=/dev/null
14243
@@ -1070,21 +1030,13 @@ do
14244
datarootdir=$ac_optarg ;;
14246
-disable-* | --disable-*)
14247
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
14248
+ ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
14249
# Reject names that are not valid shell variable names.
14250
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
14251
- { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
14252
+ expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
14253
+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2
14254
{ (exit 1); exit 1; }; }
14255
- ac_useropt_orig=$ac_useropt
14256
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
14257
- case $ac_user_opts in
14259
-"enable_$ac_useropt"
14261
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
14262
- ac_unrecognized_sep=', ';;
14264
- eval enable_$ac_useropt=no ;;
14265
+ ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
14266
+ eval enable_$ac_feature=no ;;
14268
-docdir | --docdir | --docdi | --doc | --do)
14270
@@ -1097,21 +1049,13 @@ do
14271
dvidir=$ac_optarg ;;
14273
-enable-* | --enable-*)
14274
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
14275
+ ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
14276
# Reject names that are not valid shell variable names.
14277
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
14278
- { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
14279
+ expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
14280
+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2
14281
{ (exit 1); exit 1; }; }
14282
- ac_useropt_orig=$ac_useropt
14283
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
14284
- case $ac_user_opts in
14286
-"enable_$ac_useropt"
14288
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
14289
- ac_unrecognized_sep=', ';;
14291
- eval enable_$ac_useropt=\$ac_optarg ;;
14292
+ ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
14293
+ eval enable_$ac_feature=\$ac_optarg ;;
14295
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
14296
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
14297
@@ -1302,38 +1246,22 @@ do
14298
ac_init_version=: ;;
14300
-with-* | --with-*)
14301
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
14302
+ ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
14303
# Reject names that are not valid shell variable names.
14304
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
14305
- { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
14306
+ expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
14307
+ { echo "$as_me: error: invalid package name: $ac_package" >&2
14308
{ (exit 1); exit 1; }; }
14309
- ac_useropt_orig=$ac_useropt
14310
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
14311
- case $ac_user_opts in
14313
-"with_$ac_useropt"
14315
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
14316
- ac_unrecognized_sep=', ';;
14318
- eval with_$ac_useropt=\$ac_optarg ;;
14319
+ ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
14320
+ eval with_$ac_package=\$ac_optarg ;;
14322
-without-* | --without-*)
14323
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
14324
+ ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
14325
# Reject names that are not valid shell variable names.
14326
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
14327
- { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
14328
+ expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
14329
+ { echo "$as_me: error: invalid package name: $ac_package" >&2
14330
{ (exit 1); exit 1; }; }
14331
- ac_useropt_orig=$ac_useropt
14332
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
14333
- case $ac_user_opts in
14335
-"with_$ac_useropt"
14337
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
14338
- ac_unrecognized_sep=', ';;
14340
- eval with_$ac_useropt=no ;;
14341
+ ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
14342
+ eval with_$ac_package=no ;;
14345
# Obsolete; use --with-x.
14346
@@ -1353,7 +1281,7 @@ do
14347
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
14348
x_libraries=$ac_optarg ;;
14350
- -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
14351
+ -*) { echo "$as_me: error: unrecognized option: $ac_option
14352
Try \`$0 --help' for more information." >&2
14353
{ (exit 1); exit 1; }; }
14355
@@ -1362,16 +1290,16 @@ Try \`$0 --help' for more information."
14356
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
14357
# Reject names that are not valid shell variable names.
14358
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
14359
- { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
14360
+ { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
14361
{ (exit 1); exit 1; }; }
14362
eval $ac_envvar=\$ac_optarg
14363
export $ac_envvar ;;
14366
# FIXME: should be removed in autoconf 3.0.
14367
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
14368
+ echo "$as_me: WARNING: you should use --build, --host, --target" >&2
14369
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
14370
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
14371
+ echo "$as_me: WARNING: invalid host type: $ac_option" >&2
14372
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
14375
@@ -1380,38 +1308,22 @@ done
14377
if test -n "$ac_prev"; then
14378
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
14379
- { $as_echo "$as_me: error: missing argument to $ac_option" >&2
14380
+ { echo "$as_me: error: missing argument to $ac_option" >&2
14381
{ (exit 1); exit 1; }; }
14384
-if test -n "$ac_unrecognized_opts"; then
14385
- case $enable_option_checking in
14387
- fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
14388
- { (exit 1); exit 1; }; } ;;
14389
- *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
14393
-# Check all directory arguments for consistency.
14394
+# Be sure to have absolute directory names.
14395
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
14396
datadir sysconfdir sharedstatedir localstatedir includedir \
14397
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
14398
libdir localedir mandir
14400
eval ac_val=\$$ac_var
14401
- # Remove trailing slashes.
14404
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
14405
- eval $ac_var=\$ac_val;;
14407
- # Be sure to have absolute directory names.
14409
[\\/$]* | ?:[\\/]* ) continue;;
14410
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
14412
- { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
14413
+ { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
14414
{ (exit 1); exit 1; }; }
14417
@@ -1426,7 +1338,7 @@ target=$target_alias
14418
if test "x$host_alias" != x; then
14419
if test "x$build_alias" = x; then
14420
cross_compiling=maybe
14421
- $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
14422
+ echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
14423
If a cross compiler is detected then cross compile mode will be used." >&2
14424
elif test "x$build_alias" != "x$host_alias"; then
14425
cross_compiling=yes
14426
@@ -1442,10 +1354,10 @@ test "$silent" = yes && exec 6>/dev/null
14427
ac_pwd=`pwd` && test -n "$ac_pwd" &&
14428
ac_ls_di=`ls -di .` &&
14429
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
14430
- { $as_echo "$as_me: error: Working directory cannot be determined" >&2
14431
+ { echo "$as_me: error: Working directory cannot be determined" >&2
14432
{ (exit 1); exit 1; }; }
14433
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
14434
- { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
14435
+ { echo "$as_me: error: pwd does not report name of working directory" >&2
14436
{ (exit 1); exit 1; }; }
14439
@@ -1453,12 +1365,12 @@ test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
14440
if test -z "$srcdir"; then
14441
ac_srcdir_defaulted=yes
14442
# Try the directory containing this script, then the parent directory.
14443
- ac_confdir=`$as_dirname -- "$as_myself" ||
14444
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14445
- X"$as_myself" : 'X\(//\)[^/]' \| \
14446
- X"$as_myself" : 'X\(//\)$' \| \
14447
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
14448
-$as_echo X"$as_myself" |
14449
+ ac_confdir=`$as_dirname -- "$0" ||
14450
+$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14451
+ X"$0" : 'X\(//\)[^/]' \| \
14452
+ X"$0" : 'X\(//\)$' \| \
14453
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14455
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14458
@@ -1485,12 +1397,12 @@ else
14460
if test ! -r "$srcdir/$ac_unique_file"; then
14461
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
14462
- { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
14463
+ { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
14464
{ (exit 1); exit 1; }; }
14466
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
14468
- cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
14469
+ cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
14470
{ (exit 1); exit 1; }; }
14472
# When building in place, set srcdir=.
14473
@@ -1539,9 +1451,9 @@ Configuration:
14475
Installation directories:
14476
--prefix=PREFIX install architecture-independent files in PREFIX
14477
- [$ac_default_prefix]
14478
+ [$ac_default_prefix]
14479
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
14483
By default, \`make install' will install all the files in
14484
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
14485
@@ -1551,25 +1463,25 @@ for instance \`--prefix=\$HOME'.
14486
For better control, use the options below.
14488
Fine tuning of the installation directories:
14489
- --bindir=DIR user executables [EPREFIX/bin]
14490
- --sbindir=DIR system admin executables [EPREFIX/sbin]
14491
- --libexecdir=DIR program executables [EPREFIX/libexec]
14492
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
14493
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
14494
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
14495
- --libdir=DIR object code libraries [EPREFIX/lib]
14496
- --includedir=DIR C header files [PREFIX/include]
14497
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
14498
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
14499
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
14500
- --infodir=DIR info documentation [DATAROOTDIR/info]
14501
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
14502
- --mandir=DIR man documentation [DATAROOTDIR/man]
14503
- --docdir=DIR documentation root [DATAROOTDIR/doc/libgail-gnome]
14504
- --htmldir=DIR html documentation [DOCDIR]
14505
- --dvidir=DIR dvi documentation [DOCDIR]
14506
- --pdfdir=DIR pdf documentation [DOCDIR]
14507
- --psdir=DIR ps documentation [DOCDIR]
14508
+ --bindir=DIR user executables [EPREFIX/bin]
14509
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
14510
+ --libexecdir=DIR program executables [EPREFIX/libexec]
14511
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
14512
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
14513
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
14514
+ --libdir=DIR object code libraries [EPREFIX/lib]
14515
+ --includedir=DIR C header files [PREFIX/include]
14516
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
14517
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
14518
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
14519
+ --infodir=DIR info documentation [DATAROOTDIR/info]
14520
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
14521
+ --mandir=DIR man documentation [DATAROOTDIR/man]
14522
+ --docdir=DIR documentation root [DATAROOTDIR/doc/libgail-gnome]
14523
+ --htmldir=DIR html documentation [DOCDIR]
14524
+ --dvidir=DIR dvi documentation [DOCDIR]
14525
+ --pdfdir=DIR pdf documentation [DOCDIR]
14526
+ --psdir=DIR ps documentation [DOCDIR]
14530
@@ -1592,7 +1504,6 @@ if test -n "$ac_init_help"; then
14534
- --disable-option-checking ignore unrecognized --enable/--with options
14535
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
14536
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
14537
--enable-maintainer-mode enable make rules and dependencies not useful
14538
@@ -1648,17 +1559,15 @@ fi
14539
if test "$ac_init_help" = "recursive"; then
14540
# If there are subdirs, report their specific --help.
14541
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
14542
- test -d "$ac_dir" ||
14543
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
14545
+ test -d "$ac_dir" || continue
14549
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14551
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14552
+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14553
# A ".." for each directory in $ac_dir_suffix.
14554
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14555
+ ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
14556
case $ac_top_builddir_sub in
14557
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14558
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14559
@@ -1694,7 +1603,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
14561
$SHELL "$ac_srcdir/configure" --help=recursive
14563
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
14564
+ echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
14566
cd "$ac_pwd" || { ac_status=$?; break; }
14568
@@ -1704,10 +1613,10 @@ test -n "$ac_init_help" && exit $ac_stat
14569
if $ac_init_version; then
14571
Gail GNOME configure 1.20.1
14572
-generated by GNU Autoconf 2.62
14573
+generated by GNU Autoconf 2.61
14575
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
14576
-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
14577
+2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
14578
This configure script is free software; the Free Software Foundation
14579
gives unlimited permission to copy, distribute and modify it.
14581
@@ -1718,7 +1627,7 @@ This file contains any messages produced
14582
running configure, to aid debugging if configure makes a mistake.
14584
It was created by Gail GNOME $as_me 1.20.1, which was
14585
-generated by GNU Autoconf 2.62. Invocation command line was
14586
+generated by GNU Autoconf 2.61. Invocation command line was
14590
@@ -1754,7 +1663,7 @@ for as_dir in $PATH
14593
test -z "$as_dir" && as_dir=.
14594
- $as_echo "PATH: $as_dir"
14595
+ echo "PATH: $as_dir"
14599
@@ -1789,7 +1698,7 @@ do
14600
| -silent | --silent | --silen | --sile | --sil)
14603
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14604
+ ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14607
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
14608
@@ -1841,12 +1750,11 @@ _ASBOX
14612
- *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14613
-$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14614
+ *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14615
+echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14618
_ | IFS | as_nl) ;; #(
14619
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14620
*) $as_unset $ac_var ;;
14623
@@ -1876,9 +1784,9 @@ _ASBOX
14625
eval ac_val=\$$ac_var
14627
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
14628
+ *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
14630
- $as_echo "$ac_var='\''$ac_val'\''"
14631
+ echo "$ac_var='\''$ac_val'\''"
14635
@@ -1893,9 +1801,9 @@ _ASBOX
14637
eval ac_val=\$$ac_var
14639
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
14640
+ *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
14642
- $as_echo "$ac_var='\''$ac_val'\''"
14643
+ echo "$ac_var='\''$ac_val'\''"
14647
@@ -1911,8 +1819,8 @@ _ASBOX
14650
test "$ac_signal" != 0 &&
14651
- $as_echo "$as_me: caught signal $ac_signal"
14652
- $as_echo "$as_me: exit $exit_status"
14653
+ echo "$as_me: caught signal $ac_signal"
14654
+ echo "$as_me: exit $exit_status"
14656
rm -f core *.core core.conftest.* &&
14657
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
14658
@@ -1954,24 +1862,21 @@ _ACEOF
14661
# Let the site file select an alternate cache file if it wants to.
14662
-# Prefer an explicitly selected file to automatically selected ones.
14663
-ac_site_file1=NONE
14664
-ac_site_file2=NONE
14665
+# Prefer explicitly selected file to automatically selected ones.
14666
if test -n "$CONFIG_SITE"; then
14667
- ac_site_file1=$CONFIG_SITE
14668
+ set x "$CONFIG_SITE"
14669
elif test "x$prefix" != xNONE; then
14670
- ac_site_file1=$prefix/share/config.site
14671
- ac_site_file2=$prefix/etc/config.site
14672
+ set x "$prefix/share/config.site" "$prefix/etc/config.site"
14674
- ac_site_file1=$ac_default_prefix/share/config.site
14675
- ac_site_file2=$ac_default_prefix/etc/config.site
14676
+ set x "$ac_default_prefix/share/config.site" \
14677
+ "$ac_default_prefix/etc/config.site"
14679
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
14683
- test "x$ac_site_file" = xNONE && continue
14684
if test -r "$ac_site_file"; then
14685
- { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
14686
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
14687
+ { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
14688
+echo "$as_me: loading site script $ac_site_file" >&6;}
14689
sed 's/^/| /' "$ac_site_file" >&5
14692
@@ -1981,16 +1886,16 @@ if test -r "$cache_file"; then
14693
# Some versions of bash will fail to source /dev/null (special
14694
# files actually), so we avoid doing that.
14695
if test -f "$cache_file"; then
14696
- { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
14697
-$as_echo "$as_me: loading cache $cache_file" >&6;}
14698
+ { echo "$as_me:$LINENO: loading cache $cache_file" >&5
14699
+echo "$as_me: loading cache $cache_file" >&6;}
14700
case $cache_file in
14701
[\\/]* | ?:[\\/]* ) . "$cache_file";;
14702
*) . "./$cache_file";;
14706
- { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
14707
-$as_echo "$as_me: creating cache $cache_file" >&6;}
14708
+ { echo "$as_me:$LINENO: creating cache $cache_file" >&5
14709
+echo "$as_me: creating cache $cache_file" >&6;}
14713
@@ -2004,38 +1909,29 @@ for ac_var in $ac_precious_vars; do
14714
eval ac_new_val=\$ac_env_${ac_var}_value
14715
case $ac_old_set,$ac_new_set in
14717
- { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
14718
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
14719
+ { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
14720
+echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
14721
ac_cache_corrupted=: ;;
14723
- { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
14724
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
14725
+ { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
14726
+echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
14727
ac_cache_corrupted=: ;;
14730
if test "x$ac_old_val" != "x$ac_new_val"; then
14731
- # differences in whitespace do not lead to failure.
14732
- ac_old_val_w=`echo x $ac_old_val`
14733
- ac_new_val_w=`echo x $ac_new_val`
14734
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
14735
- { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
14736
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
14737
- ac_cache_corrupted=:
14739
- { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
14740
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
14741
- eval $ac_var=\$ac_old_val
14743
- { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
14744
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
14745
- { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
14746
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
14747
+ { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
14748
+echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
14749
+ { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
14750
+echo "$as_me: former value: $ac_old_val" >&2;}
14751
+ { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
14752
+echo "$as_me: current value: $ac_new_val" >&2;}
14753
+ ac_cache_corrupted=:
14756
# Pass precious variables to config.status.
14757
if test "$ac_new_set" = set; then
14758
case $ac_new_val in
14759
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
14760
+ *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
14761
*) ac_arg=$ac_var=$ac_new_val ;;
14763
case " $ac_configure_args " in
14764
@@ -2045,10 +1941,10 @@ $as_echo "$as_me: current value: \`$ac
14767
if $ac_cache_corrupted; then
14768
- { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
14769
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
14770
- { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
14771
-$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
14772
+ { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
14773
+echo "$as_me: error: changes in the environment can compromise the build" >&2;}
14774
+ { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
14775
+echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
14776
{ (exit 1); exit 1; }; }
14779
@@ -2103,8 +1999,8 @@ for ac_dir in "$srcdir" "$srcdir/.." "$s
14782
if test -z "$ac_aux_dir"; then
14783
- { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
14784
-$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
14785
+ { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
14786
+echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
14787
{ (exit 1); exit 1; }; }
14790
@@ -2130,12 +2026,11 @@ ac_configure="$SHELL $ac_aux_dir/configu
14791
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14792
# OS/2's system install, which has a completely different semantic
14793
# ./install, which can be erroneously created by make from ./install.sh.
14794
-# Reject install programs that cannot install multiple files.
14795
-{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14796
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
14797
+{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14798
+echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
14799
if test -z "$INSTALL"; then
14800
if test "${ac_cv_path_install+set}" = set; then
14801
- $as_echo_n "(cached) " >&6
14802
+ echo $ECHO_N "(cached) $ECHO_C" >&6
14804
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14805
for as_dir in $PATH
14806
@@ -2164,29 +2059,17 @@ case $as_dir/ in
14807
# program-specific install script used by HP pwplus--don't use.
14810
- rm -rf conftest.one conftest.two conftest.dir
14811
- echo one > conftest.one
14812
- echo two > conftest.two
14813
- mkdir conftest.dir
14814
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
14815
- test -s conftest.one && test -s conftest.two &&
14816
- test -s conftest.dir/conftest.one &&
14817
- test -s conftest.dir/conftest.two
14819
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
14822
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
14834
-rm -rf conftest.one conftest.two conftest.dir
14837
if test "${ac_cv_path_install+set}" = set; then
14838
@@ -2199,8 +2082,8 @@ fi
14839
INSTALL=$ac_install_sh
14842
-{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
14843
-$as_echo "$INSTALL" >&6; }
14844
+{ echo "$as_me:$LINENO: result: $INSTALL" >&5
14845
+echo "${ECHO_T}$INSTALL" >&6; }
14847
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14848
# It thinks the first close brace ends the variable substitution.
14849
@@ -2210,8 +2093,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCR
14851
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
14853
-{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
14854
-$as_echo_n "checking whether build environment is sane... " >&6; }
14855
+{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
14856
+echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
14859
echo timestamp > conftest.file
14860
@@ -2234,9 +2117,9 @@ if (
14861
# if, for instance, CONFIG_SHELL is bash and it inherits a
14862
# broken ls alias from the environment. This has actually
14863
# happened. Such a system could not be considered "sane".
14864
- { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
14865
+ { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
14866
alias in your environment" >&5
14867
-$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
14868
+echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
14869
alias in your environment" >&2;}
14870
{ (exit 1); exit 1; }; }
14872
@@ -2247,23 +2130,26 @@ then
14876
- { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
14877
+ { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
14878
Check your system clock" >&5
14879
-$as_echo "$as_me: error: newly created file is older than distributed files!
14880
+echo "$as_me: error: newly created file is older than distributed files!
14881
Check your system clock" >&2;}
14882
{ (exit 1); exit 1; }; }
14884
-{ $as_echo "$as_me:$LINENO: result: yes" >&5
14885
-$as_echo "yes" >&6; }
14886
+{ echo "$as_me:$LINENO: result: yes" >&5
14887
+echo "${ECHO_T}yes" >&6; }
14888
test "$program_prefix" != NONE &&
14889
program_transform_name="s&^&$program_prefix&;$program_transform_name"
14890
# Use a double $ so make ignores it.
14891
test "$program_suffix" != NONE &&
14892
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
14893
-# Double any \ or $.
14894
+# Double any \ or $. echo might interpret backslashes.
14895
# By default was `s,x,x', remove it if useless.
14896
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
14897
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
14898
+cat <<\_ACEOF >conftest.sed
14899
+s/[\\$]/&&/g;s/;s,x,x,$//
14901
+program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
14902
+rm -f conftest.sed
14904
# expand $ac_aux_dir to an absolute path
14905
am_aux_dir=`cd $ac_aux_dir && pwd`
14906
@@ -2274,15 +2160,15 @@ if eval "$MISSING --run true"; then
14907
am_missing_run="$MISSING --run "
14910
- { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
14911
-$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
14912
+ { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
14913
+echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
14916
-{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
14917
-$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
14918
+{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
14919
+echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
14920
if test -z "$MKDIR_P"; then
14921
if test "${ac_cv_path_mkdir+set}" = set; then
14922
- $as_echo_n "(cached) " >&6
14923
+ echo $ECHO_N "(cached) $ECHO_C" >&6
14925
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14926
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
14927
@@ -2317,8 +2203,8 @@ fi
14928
MKDIR_P="$ac_install_sh -d"
14931
-{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
14932
-$as_echo "$MKDIR_P" >&6; }
14933
+{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
14934
+echo "${ECHO_T}$MKDIR_P" >&6; }
14938
@@ -2330,10 +2216,10 @@ for ac_prog in gawk mawk nawk awk
14940
# Extract the first word of "$ac_prog", so it can be a program name with args.
14941
set dummy $ac_prog; ac_word=$2
14942
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14943
-$as_echo_n "checking for $ac_word... " >&6; }
14944
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14945
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14946
if test "${ac_cv_prog_AWK+set}" = set; then
14947
- $as_echo_n "(cached) " >&6
14948
+ echo $ECHO_N "(cached) $ECHO_C" >&6
14950
if test -n "$AWK"; then
14951
ac_cv_prog_AWK="$AWK" # Let the user override the test.
14952
@@ -2346,7 +2232,7 @@ do
14953
for ac_exec_ext in '' $ac_executable_extensions; do
14954
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14955
ac_cv_prog_AWK="$ac_prog"
14956
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14957
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14961
@@ -2357,23 +2243,22 @@ fi
14963
AWK=$ac_cv_prog_AWK
14964
if test -n "$AWK"; then
14965
- { $as_echo "$as_me:$LINENO: result: $AWK" >&5
14966
-$as_echo "$AWK" >&6; }
14967
+ { echo "$as_me:$LINENO: result: $AWK" >&5
14968
+echo "${ECHO_T}$AWK" >&6; }
14970
- { $as_echo "$as_me:$LINENO: result: no" >&5
14971
-$as_echo "no" >&6; }
14972
+ { echo "$as_me:$LINENO: result: no" >&5
14973
+echo "${ECHO_T}no" >&6; }
14977
test -n "$AWK" && break
14980
-{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
14981
-$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
14982
-set x ${MAKE-make}
14983
-ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
14984
+{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
14985
+echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
14986
+set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
14987
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
14988
- $as_echo_n "(cached) " >&6
14989
+ echo $ECHO_N "(cached) $ECHO_C" >&6
14991
cat >conftest.make <<\_ACEOF
14993
@@ -2390,12 +2275,12 @@ esac
14994
rm -f conftest.make
14996
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
14997
- { $as_echo "$as_me:$LINENO: result: yes" >&5
14998
-$as_echo "yes" >&6; }
14999
+ { echo "$as_me:$LINENO: result: yes" >&5
15000
+echo "${ECHO_T}yes" >&6; }
15003
- { $as_echo "$as_me:$LINENO: result: no" >&5
15004
-$as_echo "no" >&6; }
15005
+ { echo "$as_me:$LINENO: result: no" >&5
15006
+echo "${ECHO_T}no" >&6; }
15007
SET_MAKE="MAKE=${MAKE-make}"
15010
@@ -2414,8 +2299,8 @@ if test "`cd $srcdir && pwd`" != "`pwd`"
15011
am__isrc=' -I$(srcdir)'
15012
# test to see if srcdir already configured
15013
if test -f $srcdir/config.status; then
15014
- { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
15015
-$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
15016
+ { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
15017
+echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
15018
{ (exit 1); exit 1; }; }
15021
@@ -2470,10 +2355,10 @@ if test "$cross_compiling" != no; then
15022
if test -n "$ac_tool_prefix"; then
15023
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15024
set dummy ${ac_tool_prefix}strip; ac_word=$2
15025
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15026
-$as_echo_n "checking for $ac_word... " >&6; }
15027
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
15028
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15029
if test "${ac_cv_prog_STRIP+set}" = set; then
15030
- $as_echo_n "(cached) " >&6
15031
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15033
if test -n "$STRIP"; then
15034
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15035
@@ -2486,7 +2371,7 @@ do
15036
for ac_exec_ext in '' $ac_executable_extensions; do
15037
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15038
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15039
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15040
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15044
@@ -2497,11 +2382,11 @@ fi
15046
STRIP=$ac_cv_prog_STRIP
15047
if test -n "$STRIP"; then
15048
- { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
15049
-$as_echo "$STRIP" >&6; }
15050
+ { echo "$as_me:$LINENO: result: $STRIP" >&5
15051
+echo "${ECHO_T}$STRIP" >&6; }
15053
- { $as_echo "$as_me:$LINENO: result: no" >&5
15054
-$as_echo "no" >&6; }
15055
+ { echo "$as_me:$LINENO: result: no" >&5
15056
+echo "${ECHO_T}no" >&6; }
15060
@@ -2510,10 +2395,10 @@ if test -z "$ac_cv_prog_STRIP"; then
15062
# Extract the first word of "strip", so it can be a program name with args.
15063
set dummy strip; ac_word=$2
15064
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15065
-$as_echo_n "checking for $ac_word... " >&6; }
15066
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
15067
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15068
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15069
- $as_echo_n "(cached) " >&6
15070
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15072
if test -n "$ac_ct_STRIP"; then
15073
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15074
@@ -2526,7 +2411,7 @@ do
15075
for ac_exec_ext in '' $ac_executable_extensions; do
15076
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15077
ac_cv_prog_ac_ct_STRIP="strip"
15078
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15079
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15083
@@ -2537,11 +2422,11 @@ fi
15085
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15086
if test -n "$ac_ct_STRIP"; then
15087
- { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15088
-$as_echo "$ac_ct_STRIP" >&6; }
15089
+ { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15090
+echo "${ECHO_T}$ac_ct_STRIP" >&6; }
15092
- { $as_echo "$as_me:$LINENO: result: no" >&5
15093
-$as_echo "no" >&6; }
15094
+ { echo "$as_me:$LINENO: result: no" >&5
15095
+echo "${ECHO_T}no" >&6; }
15098
if test "x$ac_ct_STRIP" = x; then
15099
@@ -2549,10 +2434,10 @@ fi
15101
case $cross_compiling:$ac_tool_warned in
15103
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15104
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15105
whose name does not start with the host triplet. If you think this
15106
configuration is useful to you, please write to autoconf@gnu.org." >&5
15107
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15108
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15109
whose name does not start with the host triplet. If you think this
15110
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15111
ac_tool_warned=yes ;;
15112
@@ -2579,8 +2464,8 @@ am__tar='${AMTAR} chof - "$$tardir"'; am
15116
-{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
15117
-$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
15118
+{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
15119
+echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
15120
# Check whether --enable-maintainer-mode was given.
15121
if test "${enable_maintainer_mode+set}" = set; then
15122
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
15123
@@ -2588,8 +2473,8 @@ else
15124
USE_MAINTAINER_MODE=no
15127
- { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
15128
-$as_echo "$USE_MAINTAINER_MODE" >&6; }
15129
+ { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
15130
+echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
15131
if test $USE_MAINTAINER_MODE = yes; then
15132
MAINTAINER_MODE_TRUE=
15133
MAINTAINER_MODE_FALSE='#'
15134
@@ -2637,10 +2522,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
15135
if test -n "$ac_tool_prefix"; then
15136
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15137
set dummy ${ac_tool_prefix}gcc; ac_word=$2
15138
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15139
-$as_echo_n "checking for $ac_word... " >&6; }
15140
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
15141
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15142
if test "${ac_cv_prog_CC+set}" = set; then
15143
- $as_echo_n "(cached) " >&6
15144
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15146
if test -n "$CC"; then
15147
ac_cv_prog_CC="$CC" # Let the user override the test.
15148
@@ -2653,7 +2538,7 @@ do
15149
for ac_exec_ext in '' $ac_executable_extensions; do
15150
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15151
ac_cv_prog_CC="${ac_tool_prefix}gcc"
15152
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15153
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15157
@@ -2664,11 +2549,11 @@ fi
15160
if test -n "$CC"; then
15161
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
15162
-$as_echo "$CC" >&6; }
15163
+ { echo "$as_me:$LINENO: result: $CC" >&5
15164
+echo "${ECHO_T}$CC" >&6; }
15166
- { $as_echo "$as_me:$LINENO: result: no" >&5
15167
-$as_echo "no" >&6; }
15168
+ { echo "$as_me:$LINENO: result: no" >&5
15169
+echo "${ECHO_T}no" >&6; }
15173
@@ -2677,10 +2562,10 @@ if test -z "$ac_cv_prog_CC"; then
15175
# Extract the first word of "gcc", so it can be a program name with args.
15176
set dummy gcc; ac_word=$2
15177
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15178
-$as_echo_n "checking for $ac_word... " >&6; }
15179
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
15180
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15181
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15182
- $as_echo_n "(cached) " >&6
15183
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15185
if test -n "$ac_ct_CC"; then
15186
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15187
@@ -2693,7 +2578,7 @@ do
15188
for ac_exec_ext in '' $ac_executable_extensions; do
15189
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15190
ac_cv_prog_ac_ct_CC="gcc"
15191
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15192
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15196
@@ -2704,11 +2589,11 @@ fi
15198
ac_ct_CC=$ac_cv_prog_ac_ct_CC
15199
if test -n "$ac_ct_CC"; then
15200
- { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15201
-$as_echo "$ac_ct_CC" >&6; }
15202
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15203
+echo "${ECHO_T}$ac_ct_CC" >&6; }
15205
- { $as_echo "$as_me:$LINENO: result: no" >&5
15206
-$as_echo "no" >&6; }
15207
+ { echo "$as_me:$LINENO: result: no" >&5
15208
+echo "${ECHO_T}no" >&6; }
15211
if test "x$ac_ct_CC" = x; then
15212
@@ -2716,10 +2601,10 @@ fi
15214
case $cross_compiling:$ac_tool_warned in
15216
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15217
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15218
whose name does not start with the host triplet. If you think this
15219
configuration is useful to you, please write to autoconf@gnu.org." >&5
15220
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15221
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15222
whose name does not start with the host triplet. If you think this
15223
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15224
ac_tool_warned=yes ;;
15225
@@ -2734,10 +2619,10 @@ if test -z "$CC"; then
15226
if test -n "$ac_tool_prefix"; then
15227
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15228
set dummy ${ac_tool_prefix}cc; ac_word=$2
15229
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15230
-$as_echo_n "checking for $ac_word... " >&6; }
15231
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
15232
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15233
if test "${ac_cv_prog_CC+set}" = set; then
15234
- $as_echo_n "(cached) " >&6
15235
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15237
if test -n "$CC"; then
15238
ac_cv_prog_CC="$CC" # Let the user override the test.
15239
@@ -2750,7 +2635,7 @@ do
15240
for ac_exec_ext in '' $ac_executable_extensions; do
15241
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15242
ac_cv_prog_CC="${ac_tool_prefix}cc"
15243
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15244
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15248
@@ -2761,11 +2646,11 @@ fi
15251
if test -n "$CC"; then
15252
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
15253
-$as_echo "$CC" >&6; }
15254
+ { echo "$as_me:$LINENO: result: $CC" >&5
15255
+echo "${ECHO_T}$CC" >&6; }
15257
- { $as_echo "$as_me:$LINENO: result: no" >&5
15258
-$as_echo "no" >&6; }
15259
+ { echo "$as_me:$LINENO: result: no" >&5
15260
+echo "${ECHO_T}no" >&6; }
15264
@@ -2774,10 +2659,10 @@ fi
15265
if test -z "$CC"; then
15266
# Extract the first word of "cc", so it can be a program name with args.
15267
set dummy cc; ac_word=$2
15268
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15269
-$as_echo_n "checking for $ac_word... " >&6; }
15270
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
15271
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15272
if test "${ac_cv_prog_CC+set}" = set; then
15273
- $as_echo_n "(cached) " >&6
15274
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15276
if test -n "$CC"; then
15277
ac_cv_prog_CC="$CC" # Let the user override the test.
15278
@@ -2795,7 +2680,7 @@ do
15282
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15283
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15287
@@ -2818,11 +2703,11 @@ fi
15290
if test -n "$CC"; then
15291
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
15292
-$as_echo "$CC" >&6; }
15293
+ { echo "$as_me:$LINENO: result: $CC" >&5
15294
+echo "${ECHO_T}$CC" >&6; }
15296
- { $as_echo "$as_me:$LINENO: result: no" >&5
15297
-$as_echo "no" >&6; }
15298
+ { echo "$as_me:$LINENO: result: no" >&5
15299
+echo "${ECHO_T}no" >&6; }
15303
@@ -2833,10 +2718,10 @@ if test -z "$CC"; then
15305
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15306
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15307
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15308
-$as_echo_n "checking for $ac_word... " >&6; }
15309
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
15310
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15311
if test "${ac_cv_prog_CC+set}" = set; then
15312
- $as_echo_n "(cached) " >&6
15313
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15315
if test -n "$CC"; then
15316
ac_cv_prog_CC="$CC" # Let the user override the test.
15317
@@ -2849,7 +2734,7 @@ do
15318
for ac_exec_ext in '' $ac_executable_extensions; do
15319
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15320
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15321
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15322
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15326
@@ -2860,11 +2745,11 @@ fi
15329
if test -n "$CC"; then
15330
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
15331
-$as_echo "$CC" >&6; }
15332
+ { echo "$as_me:$LINENO: result: $CC" >&5
15333
+echo "${ECHO_T}$CC" >&6; }
15335
- { $as_echo "$as_me:$LINENO: result: no" >&5
15336
-$as_echo "no" >&6; }
15337
+ { echo "$as_me:$LINENO: result: no" >&5
15338
+echo "${ECHO_T}no" >&6; }
15342
@@ -2877,10 +2762,10 @@ if test -z "$CC"; then
15344
# Extract the first word of "$ac_prog", so it can be a program name with args.
15345
set dummy $ac_prog; ac_word=$2
15346
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15347
-$as_echo_n "checking for $ac_word... " >&6; }
15348
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
15349
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15350
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15351
- $as_echo_n "(cached) " >&6
15352
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15354
if test -n "$ac_ct_CC"; then
15355
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15356
@@ -2893,7 +2778,7 @@ do
15357
for ac_exec_ext in '' $ac_executable_extensions; do
15358
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15359
ac_cv_prog_ac_ct_CC="$ac_prog"
15360
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15361
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15365
@@ -2904,11 +2789,11 @@ fi
15367
ac_ct_CC=$ac_cv_prog_ac_ct_CC
15368
if test -n "$ac_ct_CC"; then
15369
- { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15370
-$as_echo "$ac_ct_CC" >&6; }
15371
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15372
+echo "${ECHO_T}$ac_ct_CC" >&6; }
15374
- { $as_echo "$as_me:$LINENO: result: no" >&5
15375
-$as_echo "no" >&6; }
15376
+ { echo "$as_me:$LINENO: result: no" >&5
15377
+echo "${ECHO_T}no" >&6; }
15381
@@ -2920,10 +2805,10 @@ done
15383
case $cross_compiling:$ac_tool_warned in
15385
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15386
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15387
whose name does not start with the host triplet. If you think this
15388
configuration is useful to you, please write to autoconf@gnu.org." >&5
15389
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15390
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15391
whose name does not start with the host triplet. If you think this
15392
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15393
ac_tool_warned=yes ;;
15394
@@ -2935,48 +2820,44 @@ fi
15398
-test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15399
+test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15400
See \`config.log' for more details." >&5
15401
-$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
15402
+echo "$as_me: error: no acceptable C compiler found in \$PATH
15403
See \`config.log' for more details." >&2;}
15404
{ (exit 1); exit 1; }; }
15406
# Provide some information about the compiler.
15407
-$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
15410
+echo "$as_me:$LINENO: checking for C compiler version" >&5
15411
+ac_compiler=`set X $ac_compile; echo $2`
15412
{ (ac_try="$ac_compiler --version >&5"
15413
case "(($ac_try" in
15414
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15415
*) ac_try_echo=$ac_try;;
15417
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15418
-$as_echo "$ac_try_echo") >&5
15419
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15420
(eval "$ac_compiler --version >&5") 2>&5
15422
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424
(exit $ac_status); }
15425
{ (ac_try="$ac_compiler -v >&5"
15426
case "(($ac_try" in
15427
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15428
*) ac_try_echo=$ac_try;;
15430
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15431
-$as_echo "$ac_try_echo") >&5
15432
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15433
(eval "$ac_compiler -v >&5") 2>&5
15435
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437
(exit $ac_status); }
15438
{ (ac_try="$ac_compiler -V >&5"
15439
case "(($ac_try" in
15440
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15441
*) ac_try_echo=$ac_try;;
15443
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15444
-$as_echo "$ac_try_echo") >&5
15445
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15446
(eval "$ac_compiler -V >&5") 2>&5
15448
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15449
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
15450
(exit $ac_status); }
15452
cat >conftest.$ac_ext <<_ACEOF
15453
@@ -2995,22 +2876,27 @@ main ()
15456
ac_clean_files_save=$ac_clean_files
15457
-ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
15458
+ac_clean_files="$ac_clean_files a.out a.exe b.out"
15459
# Try to create an executable without -o first, disregard a.out.
15460
# It will help us diagnose broken compilers, and finding out an intuition
15462
-{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15463
-$as_echo_n "checking for C compiler default output file name... " >&6; }
15464
-ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15466
-# The possible output files:
15467
-ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
15469
+{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15470
+echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15471
+ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15473
+# List of possible output files, starting from the most likely.
15474
+# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15475
+# only as a last resort. b.out is created by i960 compilers.
15476
+ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15478
+# The IRIX 6 linker writes into existing files which may not be
15479
+# executable, retaining their permissions. Remove them first so a
15480
+# subsequent execution test works.
15482
for ac_file in $ac_files
15485
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
15486
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15487
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
15490
@@ -3021,11 +2907,10 @@ case "(($ac_try" in
15491
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15492
*) ac_try_echo=$ac_try;;
15494
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15495
-$as_echo "$ac_try_echo") >&5
15496
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15497
(eval "$ac_link_default") 2>&5
15499
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15500
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
15501
(exit $ac_status); }; then
15502
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15503
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15504
@@ -3036,7 +2921,7 @@ for ac_file in $ac_files ''
15506
test -f "$ac_file" || continue
15508
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
15509
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15512
# We found the default executable, but exeext='' is most
15513
@@ -3063,15 +2948,15 @@ else
15517
-{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
15518
-$as_echo "$ac_file" >&6; }
15519
+{ echo "$as_me:$LINENO: result: $ac_file" >&5
15520
+echo "${ECHO_T}$ac_file" >&6; }
15521
if test -z "$ac_file"; then
15522
- $as_echo "$as_me: failed program was:" >&5
15523
+ echo "$as_me: failed program was:" >&5
15524
sed 's/^/| /' conftest.$ac_ext >&5
15526
-{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
15527
+{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
15528
See \`config.log' for more details." >&5
15529
-$as_echo "$as_me: error: C compiler cannot create executables
15530
+echo "$as_me: error: C compiler cannot create executables
15531
See \`config.log' for more details." >&2;}
15532
{ (exit 77); exit 77; }; }
15534
@@ -3080,8 +2965,8 @@ ac_exeext=$ac_cv_exeext
15536
# Check that the compiler produces executables we can run. If not, either
15537
# the compiler is broken, or we cross compile.
15538
-{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15539
-$as_echo_n "checking whether the C compiler works... " >&6; }
15540
+{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15541
+echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15542
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15543
# If not cross compiling, check that we can run a simple program.
15544
if test "$cross_compiling" != yes; then
15545
@@ -3090,51 +2975,49 @@ if test "$cross_compiling" != yes; then
15546
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15547
*) ac_try_echo=$ac_try;;
15549
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15550
-$as_echo "$ac_try_echo") >&5
15551
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15552
(eval "$ac_try") 2>&5
15554
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
15556
(exit $ac_status); }; }; then
15559
if test "$cross_compiling" = maybe; then
15560
cross_compiling=yes
15562
- { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
15563
+ { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15564
If you meant to cross compile, use \`--host'.
15565
See \`config.log' for more details." >&5
15566
-$as_echo "$as_me: error: cannot run C compiled programs.
15567
+echo "$as_me: error: cannot run C compiled programs.
15568
If you meant to cross compile, use \`--host'.
15569
See \`config.log' for more details." >&2;}
15570
{ (exit 1); exit 1; }; }
15574
-{ $as_echo "$as_me:$LINENO: result: yes" >&5
15575
-$as_echo "yes" >&6; }
15576
+{ echo "$as_me:$LINENO: result: yes" >&5
15577
+echo "${ECHO_T}yes" >&6; }
15579
-rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
15580
+rm -f a.out a.exe conftest$ac_cv_exeext b.out
15581
ac_clean_files=$ac_clean_files_save
15582
# Check that the compiler produces executables we can run. If not, either
15583
# the compiler is broken, or we cross compile.
15584
-{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15585
-$as_echo_n "checking whether we are cross compiling... " >&6; }
15586
-{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
15587
-$as_echo "$cross_compiling" >&6; }
15588
+{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15589
+echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15590
+{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
15591
+echo "${ECHO_T}$cross_compiling" >&6; }
15593
-{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
15594
-$as_echo_n "checking for suffix of executables... " >&6; }
15595
+{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
15596
+echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15597
if { (ac_try="$ac_link"
15598
case "(($ac_try" in
15599
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15600
*) ac_try_echo=$ac_try;;
15602
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15603
-$as_echo "$ac_try_echo") >&5
15604
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15605
(eval "$ac_link") 2>&5
15607
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
15609
(exit $ac_status); }; then
15610
# If both `conftest.exe' and `conftest' are `present' (well, observable)
15611
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15612
@@ -3143,31 +3026,31 @@ $as_echo "$ac_try_echo") >&5
15613
for ac_file in conftest.exe conftest conftest.*; do
15614
test -f "$ac_file" || continue
15616
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
15617
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15618
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15624
- { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15625
+ { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15626
See \`config.log' for more details." >&5
15627
-$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15628
+echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15629
See \`config.log' for more details." >&2;}
15630
{ (exit 1); exit 1; }; }
15633
rm -f conftest$ac_cv_exeext
15634
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15635
-$as_echo "$ac_cv_exeext" >&6; }
15636
+{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15637
+echo "${ECHO_T}$ac_cv_exeext" >&6; }
15639
rm -f conftest.$ac_ext
15640
EXEEXT=$ac_cv_exeext
15642
-{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
15643
-$as_echo_n "checking for suffix of object files... " >&6; }
15644
+{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
15645
+echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15646
if test "${ac_cv_objext+set}" = set; then
15647
- $as_echo_n "(cached) " >&6
15648
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15650
cat >conftest.$ac_ext <<_ACEOF
15652
@@ -3190,41 +3073,40 @@ case "(($ac_try" in
15653
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15654
*) ac_try_echo=$ac_try;;
15656
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15657
-$as_echo "$ac_try_echo") >&5
15658
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15659
(eval "$ac_compile") 2>&5
15661
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15662
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663
(exit $ac_status); }; then
15664
for ac_file in conftest.o conftest.obj conftest.*; do
15665
test -f "$ac_file" || continue;
15667
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
15668
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15669
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15674
- $as_echo "$as_me: failed program was:" >&5
15675
+ echo "$as_me: failed program was:" >&5
15676
sed 's/^/| /' conftest.$ac_ext >&5
15678
-{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15679
+{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15680
See \`config.log' for more details." >&5
15681
-$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
15682
+echo "$as_me: error: cannot compute suffix of object files: cannot compile
15683
See \`config.log' for more details." >&2;}
15684
{ (exit 1); exit 1; }; }
15687
rm -f conftest.$ac_cv_objext conftest.$ac_ext
15689
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15690
-$as_echo "$ac_cv_objext" >&6; }
15691
+{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15692
+echo "${ECHO_T}$ac_cv_objext" >&6; }
15693
OBJEXT=$ac_cv_objext
15695
-{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15696
-$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
15697
+{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15698
+echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15699
if test "${ac_cv_c_compiler_gnu+set}" = set; then
15700
- $as_echo_n "(cached) " >&6
15701
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15703
cat >conftest.$ac_ext <<_ACEOF
15705
@@ -3250,21 +3132,20 @@ case "(($ac_try" in
15706
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15707
*) ac_try_echo=$ac_try;;
15709
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15710
-$as_echo "$ac_try_echo") >&5
15711
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15712
(eval "$ac_compile") 2>conftest.er1
15714
grep -v '^ *+' conftest.er1 >conftest.err
15716
cat conftest.err >&5
15717
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
15719
(exit $ac_status); } && {
15720
test -z "$ac_c_werror_flag" ||
15721
test ! -s conftest.err
15722
} && test -s conftest.$ac_objext; then
15723
ac_compiler_gnu=yes
15725
- $as_echo "$as_me: failed program was:" >&5
15726
+ echo "$as_me: failed program was:" >&5
15727
sed 's/^/| /' conftest.$ac_ext >&5
15730
@@ -3274,19 +3155,15 @@ rm -f core conftest.err conftest.$ac_obj
15731
ac_cv_c_compiler_gnu=$ac_compiler_gnu
15734
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15735
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
15736
-if test $ac_compiler_gnu = yes; then
15741
+{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15742
+echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15743
+GCC=`test $ac_compiler_gnu = yes && echo yes`
15744
ac_test_CFLAGS=${CFLAGS+set}
15745
ac_save_CFLAGS=$CFLAGS
15746
-{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15747
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
15748
+{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15749
+echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15750
if test "${ac_cv_prog_cc_g+set}" = set; then
15751
- $as_echo_n "(cached) " >&6
15752
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15754
ac_save_c_werror_flag=$ac_c_werror_flag
15755
ac_c_werror_flag=yes
15756
@@ -3313,21 +3190,20 @@ case "(($ac_try" in
15757
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15758
*) ac_try_echo=$ac_try;;
15760
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15761
-$as_echo "$ac_try_echo") >&5
15762
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15763
(eval "$ac_compile") 2>conftest.er1
15765
grep -v '^ *+' conftest.er1 >conftest.err
15767
cat conftest.err >&5
15768
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
15770
(exit $ac_status); } && {
15771
test -z "$ac_c_werror_flag" ||
15772
test ! -s conftest.err
15773
} && test -s conftest.$ac_objext; then
15774
ac_cv_prog_cc_g=yes
15776
- $as_echo "$as_me: failed program was:" >&5
15777
+ echo "$as_me: failed program was:" >&5
15778
sed 's/^/| /' conftest.$ac_ext >&5
15781
@@ -3352,21 +3228,20 @@ case "(($ac_try" in
15782
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15783
*) ac_try_echo=$ac_try;;
15785
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15786
-$as_echo "$ac_try_echo") >&5
15787
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15788
(eval "$ac_compile") 2>conftest.er1
15790
grep -v '^ *+' conftest.er1 >conftest.err
15792
cat conftest.err >&5
15793
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795
(exit $ac_status); } && {
15796
test -z "$ac_c_werror_flag" ||
15797
test ! -s conftest.err
15798
} && test -s conftest.$ac_objext; then
15801
- $as_echo "$as_me: failed program was:" >&5
15802
+ echo "$as_me: failed program was:" >&5
15803
sed 's/^/| /' conftest.$ac_ext >&5
15805
ac_c_werror_flag=$ac_save_c_werror_flag
15806
@@ -3392,21 +3267,20 @@ case "(($ac_try" in
15807
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15808
*) ac_try_echo=$ac_try;;
15810
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15811
-$as_echo "$ac_try_echo") >&5
15812
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15813
(eval "$ac_compile") 2>conftest.er1
15815
grep -v '^ *+' conftest.er1 >conftest.err
15817
cat conftest.err >&5
15818
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820
(exit $ac_status); } && {
15821
test -z "$ac_c_werror_flag" ||
15822
test ! -s conftest.err
15823
} && test -s conftest.$ac_objext; then
15824
ac_cv_prog_cc_g=yes
15826
- $as_echo "$as_me: failed program was:" >&5
15827
+ echo "$as_me: failed program was:" >&5
15828
sed 's/^/| /' conftest.$ac_ext >&5
15831
@@ -3421,8 +3295,8 @@ fi
15832
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15833
ac_c_werror_flag=$ac_save_c_werror_flag
15835
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15836
-$as_echo "$ac_cv_prog_cc_g" >&6; }
15837
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15838
+echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15839
if test "$ac_test_CFLAGS" = set; then
15840
CFLAGS=$ac_save_CFLAGS
15841
elif test $ac_cv_prog_cc_g = yes; then
15842
@@ -3438,10 +3312,10 @@ else
15846
-{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15847
-$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
15848
+{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15849
+echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15850
if test "${ac_cv_prog_cc_c89+set}" = set; then
15851
- $as_echo_n "(cached) " >&6
15852
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15854
ac_cv_prog_cc_c89=no
15856
@@ -3512,21 +3386,20 @@ case "(($ac_try" in
15857
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15858
*) ac_try_echo=$ac_try;;
15860
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15861
-$as_echo "$ac_try_echo") >&5
15862
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15863
(eval "$ac_compile") 2>conftest.er1
15865
grep -v '^ *+' conftest.er1 >conftest.err
15867
cat conftest.err >&5
15868
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
15870
(exit $ac_status); } && {
15871
test -z "$ac_c_werror_flag" ||
15872
test ! -s conftest.err
15873
} && test -s conftest.$ac_objext; then
15874
ac_cv_prog_cc_c89=$ac_arg
15876
- $as_echo "$as_me: failed program was:" >&5
15877
+ echo "$as_me: failed program was:" >&5
15878
sed 's/^/| /' conftest.$ac_ext >&5
15881
@@ -3542,15 +3415,15 @@ fi
15883
case "x$ac_cv_prog_cc_c89" in
15885
- { $as_echo "$as_me:$LINENO: result: none needed" >&5
15886
-$as_echo "none needed" >&6; } ;;
15887
+ { echo "$as_me:$LINENO: result: none needed" >&5
15888
+echo "${ECHO_T}none needed" >&6; } ;;
15890
- { $as_echo "$as_me:$LINENO: result: unsupported" >&5
15891
-$as_echo "unsupported" >&6; } ;;
15892
+ { echo "$as_me:$LINENO: result: unsupported" >&5
15893
+echo "${ECHO_T}unsupported" >&6; } ;;
15895
CC="$CC $ac_cv_prog_cc_c89"
15896
- { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15897
-$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
15898
+ { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15899
+echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15903
@@ -3571,8 +3444,8 @@ am__doit:
15906
# If we don't find an include directive, just comment out the code.
15907
-{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
15908
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
15909
+{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
15910
+echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
15914
@@ -3599,8 +3472,8 @@ if test "$am__include" = "#"; then
15918
-{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
15919
-$as_echo "$_am_result" >&6; }
15920
+{ echo "$as_me:$LINENO: result: $_am_result" >&5
15921
+echo "${ECHO_T}$_am_result" >&6; }
15922
rm -f confinc confmf
15924
# Check whether --enable-dependency-tracking was given.
15925
@@ -3624,10 +3497,10 @@ fi
15927
depcc="$CC" am_compiler_list=
15929
-{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15930
-$as_echo_n "checking dependency style of $depcc... " >&6; }
15931
+{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15932
+echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
15933
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
15934
- $as_echo_n "(cached) " >&6
15935
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15937
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15938
# We make a subdir and do the tests there. Otherwise we can end up
15939
@@ -3715,8 +3588,8 @@ else
15943
-{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
15944
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
15945
+{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
15946
+echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
15947
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
15950
@@ -3808,34 +3681,34 @@ fi
15952
# Make sure we can run config.sub.
15953
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
15954
- { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
15955
-$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
15956
+ { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
15957
+echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
15958
{ (exit 1); exit 1; }; }
15960
-{ $as_echo "$as_me:$LINENO: checking build system type" >&5
15961
-$as_echo_n "checking build system type... " >&6; }
15962
+{ echo "$as_me:$LINENO: checking build system type" >&5
15963
+echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
15964
if test "${ac_cv_build+set}" = set; then
15965
- $as_echo_n "(cached) " >&6
15966
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15968
ac_build_alias=$build_alias
15969
test "x$ac_build_alias" = x &&
15970
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
15971
test "x$ac_build_alias" = x &&
15972
- { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
15973
-$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
15974
+ { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
15975
+echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
15976
{ (exit 1); exit 1; }; }
15977
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
15978
- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
15979
-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
15980
+ { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
15981
+echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
15982
{ (exit 1); exit 1; }; }
15985
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
15986
-$as_echo "$ac_cv_build" >&6; }
15987
+{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
15988
+echo "${ECHO_T}$ac_cv_build" >&6; }
15989
case $ac_cv_build in
15991
-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
15992
-$as_echo "$as_me: error: invalid value of canonical build" >&2;}
15993
+*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
15994
+echo "$as_me: error: invalid value of canonical build" >&2;}
15995
{ (exit 1); exit 1; }; };;
15998
@@ -3852,27 +3725,27 @@ IFS=$ac_save_IFS
15999
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
16002
-{ $as_echo "$as_me:$LINENO: checking host system type" >&5
16003
-$as_echo_n "checking host system type... " >&6; }
16004
+{ echo "$as_me:$LINENO: checking host system type" >&5
16005
+echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
16006
if test "${ac_cv_host+set}" = set; then
16007
- $as_echo_n "(cached) " >&6
16008
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16010
if test "x$host_alias" = x; then
16011
ac_cv_host=$ac_cv_build
16013
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
16014
- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
16015
-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
16016
+ { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
16017
+echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
16018
{ (exit 1); exit 1; }; }
16022
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
16023
-$as_echo "$ac_cv_host" >&6; }
16024
+{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
16025
+echo "${ECHO_T}$ac_cv_host" >&6; }
16026
case $ac_cv_host in
16028
-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
16029
-$as_echo "$as_me: error: invalid value of canonical host" >&2;}
16030
+*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
16031
+echo "$as_me: error: invalid value of canonical host" >&2;}
16032
{ (exit 1); exit 1; }; };;
16035
@@ -3889,10 +3762,10 @@ IFS=$ac_save_IFS
16036
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
16039
-{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
16040
-$as_echo_n "checking for a sed that does not truncate output... " >&6; }
16041
+{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
16042
+echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
16043
if test "${lt_cv_path_SED+set}" = set; then
16044
- $as_echo_n "(cached) " >&6
16045
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16047
# Loop through the user's path and test for sed and gsed.
16048
# Then use that list of sed's as ones to test for truncation.
16049
@@ -3945,40 +3818,45 @@ fi
16051
SED=$lt_cv_path_SED
16053
-{ $as_echo "$as_me:$LINENO: result: $SED" >&5
16054
-$as_echo "$SED" >&6; }
16055
+{ echo "$as_me:$LINENO: result: $SED" >&5
16056
+echo "${ECHO_T}$SED" >&6; }
16058
-{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16059
-$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
16060
+{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16061
+echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16062
+if test "${ac_cv_path_GREP+set}" = set; then
16063
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16065
+ # Extract the first word of "grep ggrep" to use in msg output
16066
+if test -z "$GREP"; then
16067
+set dummy grep ggrep; ac_prog_name=$2
16068
if test "${ac_cv_path_GREP+set}" = set; then
16069
- $as_echo_n "(cached) " >&6
16070
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16072
- if test -z "$GREP"; then
16073
ac_path_GREP_found=false
16074
- # Loop through the user's path and test for each of PROGNAME-LIST
16075
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16076
+# Loop through the user's path and test for each of PROGNAME-LIST
16077
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16078
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16081
test -z "$as_dir" && as_dir=.
16082
for ac_prog in grep ggrep; do
16083
- for ac_exec_ext in '' $ac_executable_extensions; do
16084
- ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16085
- { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16086
-# Check for GNU ac_path_GREP and select it if it is found.
16087
+ for ac_exec_ext in '' $ac_executable_extensions; do
16088
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16089
+ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16090
+ # Check for GNU ac_path_GREP and select it if it is found.
16091
# Check for GNU $ac_path_GREP
16092
case `"$ac_path_GREP" --version 2>&1` in
16094
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16097
- $as_echo_n 0123456789 >"conftest.in"
16098
+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16101
cat "conftest.in" "conftest.in" >"conftest.tmp"
16102
mv "conftest.tmp" "conftest.in"
16103
cp "conftest.in" "conftest.nl"
16104
- $as_echo 'GREP' >> "conftest.nl"
16105
+ echo 'GREP' >> "conftest.nl"
16106
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16107
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16108
ac_count=`expr $ac_count + 1`
16109
@@ -3993,60 +3871,74 @@ case `"$ac_path_GREP" --version 2>&1` in
16110
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16113
- $ac_path_GREP_found && break 3
16116
+ $ac_path_GREP_found && break 3
16122
- if test -z "$ac_cv_path_GREP"; then
16123
- { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16124
-$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16129
+GREP="$ac_cv_path_GREP"
16130
+if test -z "$GREP"; then
16131
+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16132
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16133
{ (exit 1); exit 1; }; }
16138
ac_cv_path_GREP=$GREP
16143
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16144
-$as_echo "$ac_cv_path_GREP" >&6; }
16145
+{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16146
+echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16147
GREP="$ac_cv_path_GREP"
16150
-{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
16151
-$as_echo_n "checking for egrep... " >&6; }
16152
+{ echo "$as_me:$LINENO: checking for egrep" >&5
16153
+echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16154
if test "${ac_cv_path_EGREP+set}" = set; then
16155
- $as_echo_n "(cached) " >&6
16156
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16158
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16159
then ac_cv_path_EGREP="$GREP -E"
16161
- if test -z "$EGREP"; then
16162
+ # Extract the first word of "egrep" to use in msg output
16163
+if test -z "$EGREP"; then
16164
+set dummy egrep; ac_prog_name=$2
16165
+if test "${ac_cv_path_EGREP+set}" = set; then
16166
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16168
ac_path_EGREP_found=false
16169
- # Loop through the user's path and test for each of PROGNAME-LIST
16170
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16171
+# Loop through the user's path and test for each of PROGNAME-LIST
16172
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16173
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16176
test -z "$as_dir" && as_dir=.
16177
for ac_prog in egrep; do
16178
- for ac_exec_ext in '' $ac_executable_extensions; do
16179
- ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16180
- { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16181
-# Check for GNU ac_path_EGREP and select it if it is found.
16182
+ for ac_exec_ext in '' $ac_executable_extensions; do
16183
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16184
+ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16185
+ # Check for GNU ac_path_EGREP and select it if it is found.
16186
# Check for GNU $ac_path_EGREP
16187
case `"$ac_path_EGREP" --version 2>&1` in
16189
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16192
- $as_echo_n 0123456789 >"conftest.in"
16193
+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16196
cat "conftest.in" "conftest.in" >"conftest.tmp"
16197
mv "conftest.tmp" "conftest.in"
16198
cp "conftest.in" "conftest.nl"
16199
- $as_echo 'EGREP' >> "conftest.nl"
16200
+ echo 'EGREP' >> "conftest.nl"
16201
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16202
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16203
ac_count=`expr $ac_count + 1`
16204
@@ -4061,24 +3953,33 @@ case `"$ac_path_EGREP" --version 2>&1` i
16205
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16208
- $ac_path_EGREP_found && break 3
16211
+ $ac_path_EGREP_found && break 3
16217
- if test -z "$ac_cv_path_EGREP"; then
16218
- { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16219
-$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16224
+EGREP="$ac_cv_path_EGREP"
16225
+if test -z "$EGREP"; then
16226
+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16227
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16228
{ (exit 1); exit 1; }; }
16233
ac_cv_path_EGREP=$EGREP
16239
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16240
-$as_echo "$ac_cv_path_EGREP" >&6; }
16241
+{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16242
+echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16243
EGREP="$ac_cv_path_EGREP"
16246
@@ -4093,8 +3994,8 @@ fi
16248
if test "$GCC" = yes; then
16249
# Check if gcc -print-prog-name=ld gives a path.
16250
- { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
16251
-$as_echo_n "checking for ld used by $CC... " >&6; }
16252
+ { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
16253
+echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
16256
# gcc leaves a trailing carriage return which upsets mingw
16257
@@ -4123,14 +4024,14 @@ $as_echo_n "checking for ld used by $CC.
16260
elif test "$with_gnu_ld" = yes; then
16261
- { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
16262
-$as_echo_n "checking for GNU ld... " >&6; }
16263
+ { echo "$as_me:$LINENO: checking for GNU ld" >&5
16264
+echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
16266
- { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
16267
-$as_echo_n "checking for non-GNU ld... " >&6; }
16268
+ { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
16269
+echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
16271
if test "${lt_cv_path_LD+set}" = set; then
16272
- $as_echo_n "(cached) " >&6
16273
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16275
if test -z "$LD"; then
16276
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16277
@@ -4160,19 +4061,19 @@ fi
16279
LD="$lt_cv_path_LD"
16280
if test -n "$LD"; then
16281
- { $as_echo "$as_me:$LINENO: result: $LD" >&5
16282
-$as_echo "$LD" >&6; }
16283
+ { echo "$as_me:$LINENO: result: $LD" >&5
16284
+echo "${ECHO_T}$LD" >&6; }
16286
- { $as_echo "$as_me:$LINENO: result: no" >&5
16287
-$as_echo "no" >&6; }
16288
+ { echo "$as_me:$LINENO: result: no" >&5
16289
+echo "${ECHO_T}no" >&6; }
16291
-test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
16292
-$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
16293
+test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
16294
+echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
16295
{ (exit 1); exit 1; }; }
16296
-{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
16297
-$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16298
+{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
16299
+echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
16300
if test "${lt_cv_prog_gnu_ld+set}" = set; then
16301
- $as_echo_n "(cached) " >&6
16302
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16304
# I'd rather use --version here, but apparently some GNU lds only accept -v.
16305
case `$LD -v 2>&1 </dev/null` in
16306
@@ -4184,20 +4085,20 @@ case `$LD -v 2>&1 </dev/null` in
16310
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
16311
-$as_echo "$lt_cv_prog_gnu_ld" >&6; }
16312
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
16313
+echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
16314
with_gnu_ld=$lt_cv_prog_gnu_ld
16317
-{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
16318
-$as_echo_n "checking for $LD option to reload object files... " >&6; }
16319
+{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
16320
+echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
16321
if test "${lt_cv_ld_reload_flag+set}" = set; then
16322
- $as_echo_n "(cached) " >&6
16323
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16325
lt_cv_ld_reload_flag='-r'
16327
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
16328
-$as_echo "$lt_cv_ld_reload_flag" >&6; }
16329
+{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
16330
+echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
16331
reload_flag=$lt_cv_ld_reload_flag
16332
case $reload_flag in
16334
@@ -4214,10 +4115,10 @@ case $host_os in
16338
-{ $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
16339
-$as_echo_n "checking for BSD-compatible nm... " >&6; }
16340
+{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
16341
+echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
16342
if test "${lt_cv_path_NM+set}" = set; then
16343
- $as_echo_n "(cached) " >&6
16344
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16346
if test -n "$NM"; then
16347
# Let the user override the test.
16348
@@ -4263,25 +4164,25 @@ else
16349
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
16352
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
16353
-$as_echo "$lt_cv_path_NM" >&6; }
16354
+{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
16355
+echo "${ECHO_T}$lt_cv_path_NM" >&6; }
16356
NM="$lt_cv_path_NM"
16358
-{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
16359
-$as_echo_n "checking whether ln -s works... " >&6; }
16360
+{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
16361
+echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
16363
if test "$LN_S" = "ln -s"; then
16364
- { $as_echo "$as_me:$LINENO: result: yes" >&5
16365
-$as_echo "yes" >&6; }
16366
+ { echo "$as_me:$LINENO: result: yes" >&5
16367
+echo "${ECHO_T}yes" >&6; }
16369
- { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
16370
-$as_echo "no, using $LN_S" >&6; }
16371
+ { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
16372
+echo "${ECHO_T}no, using $LN_S" >&6; }
16375
-{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
16376
-$as_echo_n "checking how to recognize dependent libraries... " >&6; }
16377
+{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
16378
+echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
16379
if test "${lt_cv_deplibs_check_method+set}" = set; then
16380
- $as_echo_n "(cached) " >&6
16381
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16383
lt_cv_file_magic_cmd='$MAGIC_CMD'
16384
lt_cv_file_magic_test_file=
16385
@@ -4393,7 +4294,7 @@ linux* | k*bsd*-gnu)
16386
lt_cv_deplibs_check_method=pass_all
16390
+netbsd* | netbsdelf*-gnu)
16391
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
16392
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
16394
@@ -4464,8 +4365,8 @@ sysv5* | sco3.2v5* | sco5v6* | unixware*
16398
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
16399
-$as_echo "$lt_cv_deplibs_check_method" >&6; }
16400
+{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
16401
+echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
16402
file_magic_cmd=$lt_cv_file_magic_cmd
16403
deplibs_check_method=$lt_cv_deplibs_check_method
16404
test -z "$deplibs_check_method" && deplibs_check_method=unknown
16405
@@ -4499,7 +4400,7 @@ ia64-*-hpux*)
16406
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16407
(eval $ac_compile) 2>&5
16409
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411
(exit $ac_status); }; then
16412
case `/usr/bin/file conftest.$ac_objext` in
16414
@@ -4514,11 +4415,11 @@ ia64-*-hpux*)
16417
# Find out which ABI we are using.
16418
- echo '#line 4517 "configure"' > conftest.$ac_ext
16419
+ echo '#line 4418 "configure"' > conftest.$ac_ext
16420
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16421
(eval $ac_compile) 2>&5
16423
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16425
(exit $ac_status); }; then
16426
if test "$lt_cv_prog_gnu_ld" = yes; then
16427
case `/usr/bin/file conftest.$ac_objext` in
16428
@@ -4556,7 +4457,7 @@ s390*-*linux*|sparc*-*linux*)
16429
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16430
(eval $ac_compile) 2>&5
16432
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16434
(exit $ac_status); }; then
16435
case `/usr/bin/file conftest.o` in
16437
@@ -4579,7 +4480,6 @@ s390*-*linux*|sparc*-*linux*)
16443
x86_64-*kfreebsd*-gnu)
16444
LD="${LD-ld} -m elf_x86_64_fbsd"
16445
@@ -4607,10 +4507,10 @@ s390*-*linux*|sparc*-*linux*)
16446
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
16447
SAVE_CFLAGS="$CFLAGS"
16448
CFLAGS="$CFLAGS -belf"
16449
- { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
16450
-$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
16451
+ { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
16452
+echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
16453
if test "${lt_cv_cc_needs_belf+set}" = set; then
16454
- $as_echo_n "(cached) " >&6
16455
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16458
ac_cpp='$CPP $CPPFLAGS'
16459
@@ -4639,30 +4539,26 @@ case "(($ac_try" in
16460
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16461
*) ac_try_echo=$ac_try;;
16463
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16464
-$as_echo "$ac_try_echo") >&5
16465
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16466
(eval "$ac_link") 2>conftest.er1
16468
grep -v '^ *+' conftest.er1 >conftest.err
16470
cat conftest.err >&5
16471
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16472
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473
(exit $ac_status); } && {
16474
test -z "$ac_c_werror_flag" ||
16475
test ! -s conftest.err
16476
- } && test -s conftest$ac_exeext && {
16477
- test "$cross_compiling" = yes ||
16478
- $as_test_x conftest$ac_exeext
16480
+ } && test -s conftest$ac_exeext &&
16481
+ $as_test_x conftest$ac_exeext; then
16482
lt_cv_cc_needs_belf=yes
16484
- $as_echo "$as_me: failed program was:" >&5
16485
+ echo "$as_me: failed program was:" >&5
16486
sed 's/^/| /' conftest.$ac_ext >&5
16488
lt_cv_cc_needs_belf=no
16491
-rm -rf conftest.dSYM
16492
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16493
conftest$ac_exeext conftest.$ac_ext
16495
@@ -4672,8 +4568,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
16496
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16499
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
16500
-$as_echo "$lt_cv_cc_needs_belf" >&6; }
16501
+{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
16502
+echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
16503
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
16504
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
16505
CFLAGS="$SAVE_CFLAGS"
16506
@@ -4685,7 +4581,7 @@ sparc*-*solaris*)
16507
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16508
(eval $ac_compile) 2>&5
16510
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16511
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512
(exit $ac_status); }; then
16513
case `/usr/bin/file conftest.o` in
16515
@@ -4707,10 +4603,10 @@ sparc*-*solaris*)
16516
if test -n "$ac_tool_prefix"; then
16517
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16518
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
16519
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16520
-$as_echo_n "checking for $ac_word... " >&6; }
16521
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
16522
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16523
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16524
- $as_echo_n "(cached) " >&6
16525
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16527
if test -n "$DLLTOOL"; then
16528
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16529
@@ -4723,7 +4619,7 @@ do
16530
for ac_exec_ext in '' $ac_executable_extensions; do
16531
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16532
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
16533
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16534
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16538
@@ -4734,11 +4630,11 @@ fi
16540
DLLTOOL=$ac_cv_prog_DLLTOOL
16541
if test -n "$DLLTOOL"; then
16542
- { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16543
-$as_echo "$DLLTOOL" >&6; }
16544
+ { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16545
+echo "${ECHO_T}$DLLTOOL" >&6; }
16547
- { $as_echo "$as_me:$LINENO: result: no" >&5
16548
-$as_echo "no" >&6; }
16549
+ { echo "$as_me:$LINENO: result: no" >&5
16550
+echo "${ECHO_T}no" >&6; }
16554
@@ -4747,10 +4643,10 @@ if test -z "$ac_cv_prog_DLLTOOL"; then
16555
ac_ct_DLLTOOL=$DLLTOOL
16556
# Extract the first word of "dlltool", so it can be a program name with args.
16557
set dummy dlltool; ac_word=$2
16558
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16559
-$as_echo_n "checking for $ac_word... " >&6; }
16560
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
16561
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16562
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16563
- $as_echo_n "(cached) " >&6
16564
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16566
if test -n "$ac_ct_DLLTOOL"; then
16567
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
16568
@@ -4763,7 +4659,7 @@ do
16569
for ac_exec_ext in '' $ac_executable_extensions; do
16570
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16571
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
16572
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16573
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16577
@@ -4774,11 +4670,11 @@ fi
16579
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
16580
if test -n "$ac_ct_DLLTOOL"; then
16581
- { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16582
-$as_echo "$ac_ct_DLLTOOL" >&6; }
16583
+ { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16584
+echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16586
- { $as_echo "$as_me:$LINENO: result: no" >&5
16587
-$as_echo "no" >&6; }
16588
+ { echo "$as_me:$LINENO: result: no" >&5
16589
+echo "${ECHO_T}no" >&6; }
16592
if test "x$ac_ct_DLLTOOL" = x; then
16593
@@ -4786,10 +4682,10 @@ fi
16595
case $cross_compiling:$ac_tool_warned in
16597
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16598
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16599
whose name does not start with the host triplet. If you think this
16600
configuration is useful to you, please write to autoconf@gnu.org." >&5
16601
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16602
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16603
whose name does not start with the host triplet. If you think this
16604
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16605
ac_tool_warned=yes ;;
16606
@@ -4803,10 +4699,10 @@ fi
16607
if test -n "$ac_tool_prefix"; then
16608
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
16609
set dummy ${ac_tool_prefix}as; ac_word=$2
16610
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16611
-$as_echo_n "checking for $ac_word... " >&6; }
16612
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
16613
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16614
if test "${ac_cv_prog_AS+set}" = set; then
16615
- $as_echo_n "(cached) " >&6
16616
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16618
if test -n "$AS"; then
16619
ac_cv_prog_AS="$AS" # Let the user override the test.
16620
@@ -4819,7 +4715,7 @@ do
16621
for ac_exec_ext in '' $ac_executable_extensions; do
16622
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16623
ac_cv_prog_AS="${ac_tool_prefix}as"
16624
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16625
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16629
@@ -4830,11 +4726,11 @@ fi
16632
if test -n "$AS"; then
16633
- { $as_echo "$as_me:$LINENO: result: $AS" >&5
16634
-$as_echo "$AS" >&6; }
16635
+ { echo "$as_me:$LINENO: result: $AS" >&5
16636
+echo "${ECHO_T}$AS" >&6; }
16638
- { $as_echo "$as_me:$LINENO: result: no" >&5
16639
-$as_echo "no" >&6; }
16640
+ { echo "$as_me:$LINENO: result: no" >&5
16641
+echo "${ECHO_T}no" >&6; }
16645
@@ -4843,10 +4739,10 @@ if test -z "$ac_cv_prog_AS"; then
16647
# Extract the first word of "as", so it can be a program name with args.
16648
set dummy as; ac_word=$2
16649
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16650
-$as_echo_n "checking for $ac_word... " >&6; }
16651
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
16652
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16653
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
16654
- $as_echo_n "(cached) " >&6
16655
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16657
if test -n "$ac_ct_AS"; then
16658
ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
16659
@@ -4859,7 +4755,7 @@ do
16660
for ac_exec_ext in '' $ac_executable_extensions; do
16661
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16662
ac_cv_prog_ac_ct_AS="as"
16663
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16664
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16668
@@ -4870,11 +4766,11 @@ fi
16670
ac_ct_AS=$ac_cv_prog_ac_ct_AS
16671
if test -n "$ac_ct_AS"; then
16672
- { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
16673
-$as_echo "$ac_ct_AS" >&6; }
16674
+ { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
16675
+echo "${ECHO_T}$ac_ct_AS" >&6; }
16677
- { $as_echo "$as_me:$LINENO: result: no" >&5
16678
-$as_echo "no" >&6; }
16679
+ { echo "$as_me:$LINENO: result: no" >&5
16680
+echo "${ECHO_T}no" >&6; }
16683
if test "x$ac_ct_AS" = x; then
16684
@@ -4882,10 +4778,10 @@ fi
16686
case $cross_compiling:$ac_tool_warned in
16688
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16689
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16690
whose name does not start with the host triplet. If you think this
16691
configuration is useful to you, please write to autoconf@gnu.org." >&5
16692
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16693
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16694
whose name does not start with the host triplet. If you think this
16695
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16696
ac_tool_warned=yes ;;
16697
@@ -4899,10 +4795,10 @@ fi
16698
if test -n "$ac_tool_prefix"; then
16699
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
16700
set dummy ${ac_tool_prefix}objdump; ac_word=$2
16701
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16702
-$as_echo_n "checking for $ac_word... " >&6; }
16703
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
16704
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16705
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
16706
- $as_echo_n "(cached) " >&6
16707
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16709
if test -n "$OBJDUMP"; then
16710
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
16711
@@ -4915,7 +4811,7 @@ do
16712
for ac_exec_ext in '' $ac_executable_extensions; do
16713
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16714
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
16715
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16716
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16720
@@ -4926,11 +4822,11 @@ fi
16722
OBJDUMP=$ac_cv_prog_OBJDUMP
16723
if test -n "$OBJDUMP"; then
16724
- { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
16725
-$as_echo "$OBJDUMP" >&6; }
16726
+ { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
16727
+echo "${ECHO_T}$OBJDUMP" >&6; }
16729
- { $as_echo "$as_me:$LINENO: result: no" >&5
16730
-$as_echo "no" >&6; }
16731
+ { echo "$as_me:$LINENO: result: no" >&5
16732
+echo "${ECHO_T}no" >&6; }
16736
@@ -4939,10 +4835,10 @@ if test -z "$ac_cv_prog_OBJDUMP"; then
16737
ac_ct_OBJDUMP=$OBJDUMP
16738
# Extract the first word of "objdump", so it can be a program name with args.
16739
set dummy objdump; ac_word=$2
16740
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16741
-$as_echo_n "checking for $ac_word... " >&6; }
16742
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
16743
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16744
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
16745
- $as_echo_n "(cached) " >&6
16746
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16748
if test -n "$ac_ct_OBJDUMP"; then
16749
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
16750
@@ -4955,7 +4851,7 @@ do
16751
for ac_exec_ext in '' $ac_executable_extensions; do
16752
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16753
ac_cv_prog_ac_ct_OBJDUMP="objdump"
16754
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16755
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16759
@@ -4966,11 +4862,11 @@ fi
16761
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
16762
if test -n "$ac_ct_OBJDUMP"; then
16763
- { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
16764
-$as_echo "$ac_ct_OBJDUMP" >&6; }
16765
+ { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
16766
+echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
16768
- { $as_echo "$as_me:$LINENO: result: no" >&5
16769
-$as_echo "no" >&6; }
16770
+ { echo "$as_me:$LINENO: result: no" >&5
16771
+echo "${ECHO_T}no" >&6; }
16774
if test "x$ac_ct_OBJDUMP" = x; then
16775
@@ -4978,10 +4874,10 @@ fi
16777
case $cross_compiling:$ac_tool_warned in
16779
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16780
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16781
whose name does not start with the host triplet. If you think this
16782
configuration is useful to you, please write to autoconf@gnu.org." >&5
16783
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16784
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16785
whose name does not start with the host triplet. If you think this
16786
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16787
ac_tool_warned=yes ;;
16788
@@ -5004,15 +4900,15 @@ ac_cpp='$CPP $CPPFLAGS'
16789
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16790
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16791
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16792
-{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16793
-$as_echo_n "checking how to run the C preprocessor... " >&6; }
16794
+{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16795
+echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16796
# On Suns, sometimes $CPP names a directory.
16797
if test -n "$CPP" && test -d "$CPP"; then
16800
if test -z "$CPP"; then
16801
if test "${ac_cv_prog_CPP+set}" = set; then
16802
- $as_echo_n "(cached) " >&6
16803
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16805
# Double quotes because CPP needs to be expanded
16806
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16807
@@ -5044,21 +4940,20 @@ case "(($ac_try" in
16808
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16809
*) ac_try_echo=$ac_try;;
16811
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16812
-$as_echo "$ac_try_echo") >&5
16813
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16814
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16816
grep -v '^ *+' conftest.er1 >conftest.err
16818
cat conftest.err >&5
16819
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821
(exit $ac_status); } >/dev/null && {
16822
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16823
test ! -s conftest.err
16827
- $as_echo "$as_me: failed program was:" >&5
16828
+ echo "$as_me: failed program was:" >&5
16829
sed 's/^/| /' conftest.$ac_ext >&5
16831
# Broken: fails on valid input.
16832
@@ -5082,14 +4977,13 @@ case "(($ac_try" in
16833
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16834
*) ac_try_echo=$ac_try;;
16836
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16837
-$as_echo "$ac_try_echo") >&5
16838
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16839
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16841
grep -v '^ *+' conftest.er1 >conftest.err
16843
cat conftest.err >&5
16844
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846
(exit $ac_status); } >/dev/null && {
16847
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16848
test ! -s conftest.err
16849
@@ -5097,7 +4991,7 @@ $as_echo "$ac_try_echo") >&5
16850
# Broken: success on invalid input.
16853
- $as_echo "$as_me: failed program was:" >&5
16854
+ echo "$as_me: failed program was:" >&5
16855
sed 's/^/| /' conftest.$ac_ext >&5
16857
# Passes both tests.
16858
@@ -5122,8 +5016,8 @@ fi
16860
ac_cv_prog_CPP=$CPP
16862
-{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
16863
-$as_echo "$CPP" >&6; }
16864
+{ echo "$as_me:$LINENO: result: $CPP" >&5
16865
+echo "${ECHO_T}$CPP" >&6; }
16866
ac_preproc_ok=false
16867
for ac_c_preproc_warn_flag in '' yes
16869
@@ -5151,21 +5045,20 @@ case "(($ac_try" in
16870
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16871
*) ac_try_echo=$ac_try;;
16873
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16874
-$as_echo "$ac_try_echo") >&5
16875
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16876
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16878
grep -v '^ *+' conftest.er1 >conftest.err
16880
cat conftest.err >&5
16881
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883
(exit $ac_status); } >/dev/null && {
16884
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16885
test ! -s conftest.err
16889
- $as_echo "$as_me: failed program was:" >&5
16890
+ echo "$as_me: failed program was:" >&5
16891
sed 's/^/| /' conftest.$ac_ext >&5
16893
# Broken: fails on valid input.
16894
@@ -5189,14 +5082,13 @@ case "(($ac_try" in
16895
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16896
*) ac_try_echo=$ac_try;;
16898
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16899
-$as_echo "$ac_try_echo") >&5
16900
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16901
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16903
grep -v '^ *+' conftest.er1 >conftest.err
16905
cat conftest.err >&5
16906
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16908
(exit $ac_status); } >/dev/null && {
16909
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16910
test ! -s conftest.err
16911
@@ -5204,7 +5096,7 @@ $as_echo "$ac_try_echo") >&5
16912
# Broken: success on invalid input.
16915
- $as_echo "$as_me: failed program was:" >&5
16916
+ echo "$as_me: failed program was:" >&5
16917
sed 's/^/| /' conftest.$ac_ext >&5
16919
# Passes both tests.
16920
@@ -5220,9 +5112,9 @@ rm -f conftest.err conftest.$ac_ext
16921
if $ac_preproc_ok; then
16924
- { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16925
+ { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16926
See \`config.log' for more details." >&5
16927
-$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16928
+echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16929
See \`config.log' for more details." >&2;}
16930
{ (exit 1); exit 1; }; }
16932
@@ -5234,10 +5126,10 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
16933
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16936
-{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16937
-$as_echo_n "checking for ANSI C header files... " >&6; }
16938
+{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16939
+echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
16940
if test "${ac_cv_header_stdc+set}" = set; then
16941
- $as_echo_n "(cached) " >&6
16942
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16944
cat >conftest.$ac_ext <<_ACEOF
16946
@@ -5264,21 +5156,20 @@ case "(($ac_try" in
16947
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16948
*) ac_try_echo=$ac_try;;
16950
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16951
-$as_echo "$ac_try_echo") >&5
16952
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16953
(eval "$ac_compile") 2>conftest.er1
16955
grep -v '^ *+' conftest.er1 >conftest.err
16957
cat conftest.err >&5
16958
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16960
(exit $ac_status); } && {
16961
test -z "$ac_c_werror_flag" ||
16962
test ! -s conftest.err
16963
} && test -s conftest.$ac_objext; then
16964
ac_cv_header_stdc=yes
16966
- $as_echo "$as_me: failed program was:" >&5
16967
+ echo "$as_me: failed program was:" >&5
16968
sed 's/^/| /' conftest.$ac_ext >&5
16970
ac_cv_header_stdc=no
16971
@@ -5370,40 +5261,37 @@ case "(($ac_try" in
16972
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16973
*) ac_try_echo=$ac_try;;
16975
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16976
-$as_echo "$ac_try_echo") >&5
16977
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16978
(eval "$ac_link") 2>&5
16980
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16983
{ (case "(($ac_try" in
16984
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16985
*) ac_try_echo=$ac_try;;
16987
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16988
-$as_echo "$ac_try_echo") >&5
16989
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16990
(eval "$ac_try") 2>&5
16992
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994
(exit $ac_status); }; }; then
16997
- $as_echo "$as_me: program exited with status $ac_status" >&5
16998
-$as_echo "$as_me: failed program was:" >&5
16999
+ echo "$as_me: program exited with status $ac_status" >&5
17000
+echo "$as_me: failed program was:" >&5
17001
sed 's/^/| /' conftest.$ac_ext >&5
17003
( exit $ac_status )
17004
ac_cv_header_stdc=no
17006
-rm -rf conftest.dSYM
17007
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17013
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17014
-$as_echo "$ac_cv_header_stdc" >&6; }
17015
+{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17016
+echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17017
if test $ac_cv_header_stdc = yes; then
17019
cat >>confdefs.h <<\_ACEOF
17020
@@ -5425,11 +5313,11 @@ fi
17021
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17022
inttypes.h stdint.h unistd.h
17024
-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17025
-{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17026
-$as_echo_n "checking for $ac_header... " >&6; }
17027
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17028
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
17029
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17030
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17031
- $as_echo_n "(cached) " >&6
17032
+ echo $ECHO_N "(cached) $ECHO_C" >&6
17034
cat >conftest.$ac_ext <<_ACEOF
17036
@@ -5447,21 +5335,20 @@ case "(($ac_try" in
17037
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17038
*) ac_try_echo=$ac_try;;
17040
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17041
-$as_echo "$ac_try_echo") >&5
17042
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17043
(eval "$ac_compile") 2>conftest.er1
17045
grep -v '^ *+' conftest.er1 >conftest.err
17047
cat conftest.err >&5
17048
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17050
(exit $ac_status); } && {
17051
test -z "$ac_c_werror_flag" ||
17052
test ! -s conftest.err
17053
} && test -s conftest.$ac_objext; then
17054
eval "$as_ac_Header=yes"
17056
- $as_echo "$as_me: failed program was:" >&5
17057
+ echo "$as_me: failed program was:" >&5
17058
sed 's/^/| /' conftest.$ac_ext >&5
17060
eval "$as_ac_Header=no"
17061
@@ -5469,14 +5356,12 @@ fi
17063
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17065
-ac_res=`eval 'as_val=${'$as_ac_Header'}
17066
- $as_echo "$as_val"'`
17067
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17068
-$as_echo "$ac_res" >&6; }
17069
-if test `eval 'as_val=${'$as_ac_Header'}
17070
- $as_echo "$as_val"'` = yes; then
17071
+ac_res=`eval echo '${'$as_ac_Header'}'`
17072
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
17073
+echo "${ECHO_T}$ac_res" >&6; }
17074
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
17075
cat >>confdefs.h <<_ACEOF
17076
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17077
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17081
@@ -5487,21 +5372,20 @@ done
17083
for ac_header in dlfcn.h
17085
-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17086
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17087
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17088
- { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17089
-$as_echo_n "checking for $ac_header... " >&6; }
17090
+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
17091
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17092
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17093
- $as_echo_n "(cached) " >&6
17094
+ echo $ECHO_N "(cached) $ECHO_C" >&6
17096
-ac_res=`eval 'as_val=${'$as_ac_Header'}
17097
- $as_echo "$as_val"'`
17098
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17099
-$as_echo "$ac_res" >&6; }
17100
+ac_res=`eval echo '${'$as_ac_Header'}'`
17101
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
17102
+echo "${ECHO_T}$ac_res" >&6; }
17104
# Is the header compilable?
17105
-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17106
-$as_echo_n "checking $ac_header usability... " >&6; }
17107
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
17108
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
17109
cat >conftest.$ac_ext <<_ACEOF
17112
@@ -5517,33 +5401,32 @@ case "(($ac_try" in
17113
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17114
*) ac_try_echo=$ac_try;;
17116
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17117
-$as_echo "$ac_try_echo") >&5
17118
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17119
(eval "$ac_compile") 2>conftest.er1
17121
grep -v '^ *+' conftest.er1 >conftest.err
17123
cat conftest.err >&5
17124
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126
(exit $ac_status); } && {
17127
test -z "$ac_c_werror_flag" ||
17128
test ! -s conftest.err
17129
} && test -s conftest.$ac_objext; then
17130
ac_header_compiler=yes
17132
- $as_echo "$as_me: failed program was:" >&5
17133
+ echo "$as_me: failed program was:" >&5
17134
sed 's/^/| /' conftest.$ac_ext >&5
17136
ac_header_compiler=no
17139
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17140
-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17141
-$as_echo "$ac_header_compiler" >&6; }
17142
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17143
+echo "${ECHO_T}$ac_header_compiler" >&6; }
17145
# Is the header present?
17146
-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17147
-$as_echo_n "checking $ac_header presence... " >&6; }
17148
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
17149
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
17150
cat >conftest.$ac_ext <<_ACEOF
17153
@@ -5557,52 +5440,51 @@ case "(($ac_try" in
17154
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17155
*) ac_try_echo=$ac_try;;
17157
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17158
-$as_echo "$ac_try_echo") >&5
17159
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17160
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17162
grep -v '^ *+' conftest.er1 >conftest.err
17164
cat conftest.err >&5
17165
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167
(exit $ac_status); } >/dev/null && {
17168
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17169
test ! -s conftest.err
17171
ac_header_preproc=yes
17173
- $as_echo "$as_me: failed program was:" >&5
17174
+ echo "$as_me: failed program was:" >&5
17175
sed 's/^/| /' conftest.$ac_ext >&5
17177
ac_header_preproc=no
17180
rm -f conftest.err conftest.$ac_ext
17181
-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17182
-$as_echo "$ac_header_preproc" >&6; }
17183
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17184
+echo "${ECHO_T}$ac_header_preproc" >&6; }
17186
# So? What about this header?
17187
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17189
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17190
-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17191
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17192
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17193
+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17194
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17195
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17196
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17197
ac_header_preproc=yes
17200
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17201
-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17202
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17203
-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17204
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17205
-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17206
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17207
-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17208
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17209
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17210
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17211
-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17212
+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17213
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17214
+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17215
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17216
+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17217
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17218
+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17219
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17220
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17221
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17222
+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17223
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17225
## --------------------------------------------------------------------------------- ##
17226
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=atk&component=gail ##
17227
@@ -5611,23 +5493,21 @@ _ASBOX
17228
) | sed "s/^/$as_me: WARNING: /" >&2
17231
-{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17232
-$as_echo_n "checking for $ac_header... " >&6; }
17233
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
17234
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17235
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17236
- $as_echo_n "(cached) " >&6
17237
+ echo $ECHO_N "(cached) $ECHO_C" >&6
17239
eval "$as_ac_Header=\$ac_header_preproc"
17241
-ac_res=`eval 'as_val=${'$as_ac_Header'}
17242
- $as_echo "$as_val"'`
17243
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17244
-$as_echo "$ac_res" >&6; }
17245
+ac_res=`eval echo '${'$as_ac_Header'}'`
17246
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
17247
+echo "${ECHO_T}$ac_res" >&6; }
17250
-if test `eval 'as_val=${'$as_ac_Header'}
17251
- $as_echo "$as_val"'` = yes; then
17252
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
17253
cat >>confdefs.h <<_ACEOF
17254
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17255
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17259
@@ -5648,10 +5528,10 @@ if test -z "$CXX"; then
17261
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17262
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17263
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17264
-$as_echo_n "checking for $ac_word... " >&6; }
17265
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
17266
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17267
if test "${ac_cv_prog_CXX+set}" = set; then
17268
- $as_echo_n "(cached) " >&6
17269
+ echo $ECHO_N "(cached) $ECHO_C" >&6
17271
if test -n "$CXX"; then
17272
ac_cv_prog_CXX="$CXX" # Let the user override the test.
17273
@@ -5664,7 +5544,7 @@ do
17274
for ac_exec_ext in '' $ac_executable_extensions; do
17275
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17276
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17277
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17278
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17282
@@ -5675,11 +5555,11 @@ fi
17284
CXX=$ac_cv_prog_CXX
17285
if test -n "$CXX"; then
17286
- { $as_echo "$as_me:$LINENO: result: $CXX" >&5
17287
-$as_echo "$CXX" >&6; }
17288
+ { echo "$as_me:$LINENO: result: $CXX" >&5
17289
+echo "${ECHO_T}$CXX" >&6; }
17291
- { $as_echo "$as_me:$LINENO: result: no" >&5
17292
-$as_echo "no" >&6; }
17293
+ { echo "$as_me:$LINENO: result: no" >&5
17294
+echo "${ECHO_T}no" >&6; }
17298
@@ -5692,10 +5572,10 @@ if test -z "$CXX"; then
17300
# Extract the first word of "$ac_prog", so it can be a program name with args.
17301
set dummy $ac_prog; ac_word=$2
17302
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17303
-$as_echo_n "checking for $ac_word... " >&6; }
17304
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
17305
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17306
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17307
- $as_echo_n "(cached) " >&6
17308
+ echo $ECHO_N "(cached) $ECHO_C" >&6
17310
if test -n "$ac_ct_CXX"; then
17311
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17312
@@ -5708,7 +5588,7 @@ do
17313
for ac_exec_ext in '' $ac_executable_extensions; do
17314
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17315
ac_cv_prog_ac_ct_CXX="$ac_prog"
17316
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17317
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17321
@@ -5719,11 +5599,11 @@ fi
17323
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17324
if test -n "$ac_ct_CXX"; then
17325
- { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17326
-$as_echo "$ac_ct_CXX" >&6; }
17327
+ { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17328
+echo "${ECHO_T}$ac_ct_CXX" >&6; }
17330
- { $as_echo "$as_me:$LINENO: result: no" >&5
17331
-$as_echo "no" >&6; }
17332
+ { echo "$as_me:$LINENO: result: no" >&5
17333
+echo "${ECHO_T}no" >&6; }
17337
@@ -5735,10 +5615,10 @@ done
17339
case $cross_compiling:$ac_tool_warned in
17341
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17342
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17343
whose name does not start with the host triplet. If you think this
17344
configuration is useful to you, please write to autoconf@gnu.org." >&5
17345
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17346
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17347
whose name does not start with the host triplet. If you think this
17348
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17349
ac_tool_warned=yes ;;
17350
@@ -5750,47 +5630,43 @@ fi
17353
# Provide some information about the compiler.
17354
-$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17357
+echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17358
+ac_compiler=`set X $ac_compile; echo $2`
17359
{ (ac_try="$ac_compiler --version >&5"
17360
case "(($ac_try" in
17361
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17362
*) ac_try_echo=$ac_try;;
17364
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17365
-$as_echo "$ac_try_echo") >&5
17366
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17367
(eval "$ac_compiler --version >&5") 2>&5
17369
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371
(exit $ac_status); }
17372
{ (ac_try="$ac_compiler -v >&5"
17373
case "(($ac_try" in
17374
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17375
*) ac_try_echo=$ac_try;;
17377
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17378
-$as_echo "$ac_try_echo") >&5
17379
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17380
(eval "$ac_compiler -v >&5") 2>&5
17382
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17383
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384
(exit $ac_status); }
17385
{ (ac_try="$ac_compiler -V >&5"
17386
case "(($ac_try" in
17387
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17388
*) ac_try_echo=$ac_try;;
17390
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17391
-$as_echo "$ac_try_echo") >&5
17392
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17393
(eval "$ac_compiler -V >&5") 2>&5
17395
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397
(exit $ac_status); }
17399
-{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17400
-$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
17401
+{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17402
+echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17403
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17404
- $as_echo_n "(cached) " >&6
17405
+ echo $ECHO_N "(cached) $ECHO_C" >&6
17407
cat >conftest.$ac_ext <<_ACEOF
17409
@@ -5816,21 +5692,20 @@ case "(($ac_try" in
17410
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17411
*) ac_try_echo=$ac_try;;
17413
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17414
-$as_echo "$ac_try_echo") >&5
17415
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17416
(eval "$ac_compile") 2>conftest.er1
17418
grep -v '^ *+' conftest.er1 >conftest.err
17420
cat conftest.err >&5
17421
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17422
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423
(exit $ac_status); } && {
17424
test -z "$ac_cxx_werror_flag" ||
17425
test ! -s conftest.err
17426
} && test -s conftest.$ac_objext; then
17427
ac_compiler_gnu=yes
17429
- $as_echo "$as_me: failed program was:" >&5
17430
+ echo "$as_me: failed program was:" >&5
17431
sed 's/^/| /' conftest.$ac_ext >&5
17434
@@ -5840,19 +5715,15 @@ rm -f core conftest.err conftest.$ac_obj
17435
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17438
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17439
-$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
17440
-if test $ac_compiler_gnu = yes; then
17445
+{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17446
+echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17447
+GXX=`test $ac_compiler_gnu = yes && echo yes`
17448
ac_test_CXXFLAGS=${CXXFLAGS+set}
17449
ac_save_CXXFLAGS=$CXXFLAGS
17450
-{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17451
-$as_echo_n "checking whether $CXX accepts -g... " >&6; }
17452
+{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17453
+echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17454
if test "${ac_cv_prog_cxx_g+set}" = set; then
17455
- $as_echo_n "(cached) " >&6
17456
+ echo $ECHO_N "(cached) $ECHO_C" >&6
17458
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17459
ac_cxx_werror_flag=yes
17460
@@ -5879,21 +5750,20 @@ case "(($ac_try" in
17461
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17462
*) ac_try_echo=$ac_try;;
17464
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17465
-$as_echo "$ac_try_echo") >&5
17466
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17467
(eval "$ac_compile") 2>conftest.er1
17469
grep -v '^ *+' conftest.er1 >conftest.err
17471
cat conftest.err >&5
17472
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17474
(exit $ac_status); } && {
17475
test -z "$ac_cxx_werror_flag" ||
17476
test ! -s conftest.err
17477
} && test -s conftest.$ac_objext; then
17478
ac_cv_prog_cxx_g=yes
17480
- $as_echo "$as_me: failed program was:" >&5
17481
+ echo "$as_me: failed program was:" >&5
17482
sed 's/^/| /' conftest.$ac_ext >&5
17485
@@ -5918,21 +5788,20 @@ case "(($ac_try" in
17486
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17487
*) ac_try_echo=$ac_try;;
17489
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17490
-$as_echo "$ac_try_echo") >&5
17491
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17492
(eval "$ac_compile") 2>conftest.er1
17494
grep -v '^ *+' conftest.er1 >conftest.err
17496
cat conftest.err >&5
17497
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499
(exit $ac_status); } && {
17500
test -z "$ac_cxx_werror_flag" ||
17501
test ! -s conftest.err
17502
} && test -s conftest.$ac_objext; then
17505
- $as_echo "$as_me: failed program was:" >&5
17506
+ echo "$as_me: failed program was:" >&5
17507
sed 's/^/| /' conftest.$ac_ext >&5
17509
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17510
@@ -5958,21 +5827,20 @@ case "(($ac_try" in
17511
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17512
*) ac_try_echo=$ac_try;;
17514
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17515
-$as_echo "$ac_try_echo") >&5
17516
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17517
(eval "$ac_compile") 2>conftest.er1
17519
grep -v '^ *+' conftest.er1 >conftest.err
17521
cat conftest.err >&5
17522
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17523
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17524
(exit $ac_status); } && {
17525
test -z "$ac_cxx_werror_flag" ||
17526
test ! -s conftest.err
17527
} && test -s conftest.$ac_objext; then
17528
ac_cv_prog_cxx_g=yes
17530
- $as_echo "$as_me: failed program was:" >&5
17531
+ echo "$as_me: failed program was:" >&5
17532
sed 's/^/| /' conftest.$ac_ext >&5
17535
@@ -5987,8 +5855,8 @@ fi
17536
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17537
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17539
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17540
-$as_echo "$ac_cv_prog_cxx_g" >&6; }
17541
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17542
+echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17543
if test "$ac_test_CXXFLAGS" = set; then
17544
CXXFLAGS=$ac_save_CXXFLAGS
17545
elif test $ac_cv_prog_cxx_g = yes; then
17546
@@ -6012,10 +5880,10 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17548
depcc="$CXX" am_compiler_list=
17550
-{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
17551
-$as_echo_n "checking dependency style of $depcc... " >&6; }
17552
+{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
17553
+echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
17554
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
17555
- $as_echo_n "(cached) " >&6
17556
+ echo $ECHO_N "(cached) $ECHO_C" >&6
17558
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17559
# We make a subdir and do the tests there. Otherwise we can end up
17560
@@ -6103,8 +5971,8 @@ else
17564
-{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
17565
-$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
17566
+{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
17567
+echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
17568
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
17571
@@ -6128,11 +5996,11 @@ ac_cpp='$CXXCPP $CPPFLAGS'
17572
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17573
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17574
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17575
-{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17576
-$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
17577
+{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17578
+echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
17579
if test -z "$CXXCPP"; then
17580
if test "${ac_cv_prog_CXXCPP+set}" = set; then
17581
- $as_echo_n "(cached) " >&6
17582
+ echo $ECHO_N "(cached) $ECHO_C" >&6
17584
# Double quotes because CXXCPP needs to be expanded
17585
for CXXCPP in "$CXX -E" "/lib/cpp"
17586
@@ -6164,21 +6032,20 @@ case "(($ac_try" in
17587
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17588
*) ac_try_echo=$ac_try;;
17590
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17591
-$as_echo "$ac_try_echo") >&5
17592
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17593
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17595
grep -v '^ *+' conftest.er1 >conftest.err
17597
cat conftest.err >&5
17598
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600
(exit $ac_status); } >/dev/null && {
17601
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
17602
test ! -s conftest.err
17606
- $as_echo "$as_me: failed program was:" >&5
17607
+ echo "$as_me: failed program was:" >&5
17608
sed 's/^/| /' conftest.$ac_ext >&5
17610
# Broken: fails on valid input.
17611
@@ -6202,14 +6069,13 @@ case "(($ac_try" in
17612
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17613
*) ac_try_echo=$ac_try;;
17615
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17616
-$as_echo "$ac_try_echo") >&5
17617
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17618
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17620
grep -v '^ *+' conftest.er1 >conftest.err
17622
cat conftest.err >&5
17623
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17624
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625
(exit $ac_status); } >/dev/null && {
17626
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
17627
test ! -s conftest.err
17628
@@ -6217,7 +6083,7 @@ $as_echo "$ac_try_echo") >&5
17629
# Broken: success on invalid input.
17632
- $as_echo "$as_me: failed program was:" >&5
17633
+ echo "$as_me: failed program was:" >&5
17634
sed 's/^/| /' conftest.$ac_ext >&5
17636
# Passes both tests.
17637
@@ -6242,8 +6108,8 @@ fi
17639
ac_cv_prog_CXXCPP=$CXXCPP
17641
-{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
17642
-$as_echo "$CXXCPP" >&6; }
17643
+{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
17644
+echo "${ECHO_T}$CXXCPP" >&6; }
17645
ac_preproc_ok=false
17646
for ac_cxx_preproc_warn_flag in '' yes
17648
@@ -6271,21 +6137,20 @@ case "(($ac_try" in
17649
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17650
*) ac_try_echo=$ac_try;;
17652
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17653
-$as_echo "$ac_try_echo") >&5
17654
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17655
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17657
grep -v '^ *+' conftest.er1 >conftest.err
17659
cat conftest.err >&5
17660
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662
(exit $ac_status); } >/dev/null && {
17663
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
17664
test ! -s conftest.err
17668
- $as_echo "$as_me: failed program was:" >&5
17669
+ echo "$as_me: failed program was:" >&5
17670
sed 's/^/| /' conftest.$ac_ext >&5
17672
# Broken: fails on valid input.
17673
@@ -6309,14 +6174,13 @@ case "(($ac_try" in
17674
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17675
*) ac_try_echo=$ac_try;;
17677
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17678
-$as_echo "$ac_try_echo") >&5
17679
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17680
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17682
grep -v '^ *+' conftest.er1 >conftest.err
17684
cat conftest.err >&5
17685
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687
(exit $ac_status); } >/dev/null && {
17688
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
17689
test ! -s conftest.err
17690
@@ -6324,7 +6188,7 @@ $as_echo "$ac_try_echo") >&5
17691
# Broken: success on invalid input.
17694
- $as_echo "$as_me: failed program was:" >&5
17695
+ echo "$as_me: failed program was:" >&5
17696
sed 's/^/| /' conftest.$ac_ext >&5
17698
# Passes both tests.
17699
@@ -6340,9 +6204,9 @@ rm -f conftest.err conftest.$ac_ext
17700
if $ac_preproc_ok; then
17703
- { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17704
+ { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17705
See \`config.log' for more details." >&5
17706
-$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17707
+echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17708
See \`config.log' for more details." >&2;}
17709
{ (exit 1); exit 1; }; }
17711
@@ -6365,10 +6229,10 @@ if test -n "$ac_tool_prefix"; then
17713
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17714
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17715
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17716
-$as_echo_n "checking for $ac_word... " >&6; }
17717
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
17718
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17719
if test "${ac_cv_prog_F77+set}" = set; then
17720
- $as_echo_n "(cached) " >&6
17721
+ echo $ECHO_N "(cached) $ECHO_C" >&6
17723
if test -n "$F77"; then
17724
ac_cv_prog_F77="$F77" # Let the user override the test.
17725
@@ -6381,7 +6245,7 @@ do
17726
for ac_exec_ext in '' $ac_executable_extensions; do
17727
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17728
ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
17729
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17730
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17734
@@ -6392,11 +6256,11 @@ fi
17736
F77=$ac_cv_prog_F77
17737
if test -n "$F77"; then
17738
- { $as_echo "$as_me:$LINENO: result: $F77" >&5
17739
-$as_echo "$F77" >&6; }
17740
+ { echo "$as_me:$LINENO: result: $F77" >&5
17741
+echo "${ECHO_T}$F77" >&6; }
17743
- { $as_echo "$as_me:$LINENO: result: no" >&5
17744
-$as_echo "no" >&6; }
17745
+ { echo "$as_me:$LINENO: result: no" >&5
17746
+echo "${ECHO_T}no" >&6; }
17750
@@ -6409,10 +6273,10 @@ if test -z "$F77"; then
17752
# Extract the first word of "$ac_prog", so it can be a program name with args.
17753
set dummy $ac_prog; ac_word=$2
17754
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17755
-$as_echo_n "checking for $ac_word... " >&6; }
17756
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
17757
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17758
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
17759
- $as_echo_n "(cached) " >&6
17760
+ echo $ECHO_N "(cached) $ECHO_C" >&6
17762
if test -n "$ac_ct_F77"; then
17763
ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
17764
@@ -6425,7 +6289,7 @@ do
17765
for ac_exec_ext in '' $ac_executable_extensions; do
17766
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17767
ac_cv_prog_ac_ct_F77="$ac_prog"
17768
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17769
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17773
@@ -6436,11 +6300,11 @@ fi
17775
ac_ct_F77=$ac_cv_prog_ac_ct_F77
17776
if test -n "$ac_ct_F77"; then
17777
- { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
17778
-$as_echo "$ac_ct_F77" >&6; }
17779
+ { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
17780
+echo "${ECHO_T}$ac_ct_F77" >&6; }
17782
- { $as_echo "$as_me:$LINENO: result: no" >&5
17783
-$as_echo "no" >&6; }
17784
+ { echo "$as_me:$LINENO: result: no" >&5
17785
+echo "${ECHO_T}no" >&6; }
17789
@@ -6452,10 +6316,10 @@ done
17791
case $cross_compiling:$ac_tool_warned in
17793
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17794
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17795
whose name does not start with the host triplet. If you think this
17796
configuration is useful to you, please write to autoconf@gnu.org." >&5
17797
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17798
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17799
whose name does not start with the host triplet. If you think this
17800
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17801
ac_tool_warned=yes ;;
17802
@@ -6466,41 +6330,37 @@ fi
17805
# Provide some information about the compiler.
17806
-$as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
17809
+echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
17810
+ac_compiler=`set X $ac_compile; echo $2`
17811
{ (ac_try="$ac_compiler --version >&5"
17812
case "(($ac_try" in
17813
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17814
*) ac_try_echo=$ac_try;;
17816
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17817
-$as_echo "$ac_try_echo") >&5
17818
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17819
(eval "$ac_compiler --version >&5") 2>&5
17821
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823
(exit $ac_status); }
17824
{ (ac_try="$ac_compiler -v >&5"
17825
case "(($ac_try" in
17826
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17827
*) ac_try_echo=$ac_try;;
17829
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17830
-$as_echo "$ac_try_echo") >&5
17831
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17832
(eval "$ac_compiler -v >&5") 2>&5
17834
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17835
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17836
(exit $ac_status); }
17837
{ (ac_try="$ac_compiler -V >&5"
17838
case "(($ac_try" in
17839
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17840
*) ac_try_echo=$ac_try;;
17842
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17843
-$as_echo "$ac_try_echo") >&5
17844
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17845
(eval "$ac_compiler -V >&5") 2>&5
17847
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849
(exit $ac_status); }
17852
@@ -6508,10 +6368,10 @@ rm -f a.out
17853
# input file. (Note that this only needs to work for GNU compilers.)
17854
ac_save_ext=$ac_ext
17856
-{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
17857
-$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
17858
+{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
17859
+echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
17860
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
17861
- $as_echo_n "(cached) " >&6
17862
+ echo $ECHO_N "(cached) $ECHO_C" >&6
17864
cat >conftest.$ac_ext <<_ACEOF
17866
@@ -6527,21 +6387,20 @@ case "(($ac_try" in
17867
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17868
*) ac_try_echo=$ac_try;;
17870
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17871
-$as_echo "$ac_try_echo") >&5
17872
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17873
(eval "$ac_compile") 2>conftest.er1
17875
grep -v '^ *+' conftest.er1 >conftest.err
17877
cat conftest.err >&5
17878
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880
(exit $ac_status); } && {
17881
test -z "$ac_f77_werror_flag" ||
17882
test ! -s conftest.err
17883
} && test -s conftest.$ac_objext; then
17884
ac_compiler_gnu=yes
17886
- $as_echo "$as_me: failed program was:" >&5
17887
+ echo "$as_me: failed program was:" >&5
17888
sed 's/^/| /' conftest.$ac_ext >&5
17891
@@ -6551,16 +6410,16 @@ rm -f core conftest.err conftest.$ac_obj
17892
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
17895
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
17896
-$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
17897
+{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
17898
+echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
17899
ac_ext=$ac_save_ext
17900
ac_test_FFLAGS=${FFLAGS+set}
17901
ac_save_FFLAGS=$FFLAGS
17903
-{ $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
17904
-$as_echo_n "checking whether $F77 accepts -g... " >&6; }
17905
+{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
17906
+echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
17907
if test "${ac_cv_prog_f77_g+set}" = set; then
17908
- $as_echo_n "(cached) " >&6
17909
+ echo $ECHO_N "(cached) $ECHO_C" >&6
17912
cat >conftest.$ac_ext <<_ACEOF
17913
@@ -6574,21 +6433,20 @@ case "(($ac_try" in
17914
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17915
*) ac_try_echo=$ac_try;;
17917
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17918
-$as_echo "$ac_try_echo") >&5
17919
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17920
(eval "$ac_compile") 2>conftest.er1
17922
grep -v '^ *+' conftest.er1 >conftest.err
17924
cat conftest.err >&5
17925
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17927
(exit $ac_status); } && {
17928
test -z "$ac_f77_werror_flag" ||
17929
test ! -s conftest.err
17930
} && test -s conftest.$ac_objext; then
17931
ac_cv_prog_f77_g=yes
17933
- $as_echo "$as_me: failed program was:" >&5
17934
+ echo "$as_me: failed program was:" >&5
17935
sed 's/^/| /' conftest.$ac_ext >&5
17937
ac_cv_prog_f77_g=no
17938
@@ -6597,8 +6455,8 @@ fi
17939
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17942
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
17943
-$as_echo "$ac_cv_prog_f77_g" >&6; }
17944
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
17945
+echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
17946
if test "$ac_test_FFLAGS" = set; then
17947
FFLAGS=$ac_save_FFLAGS
17948
elif test $ac_cv_prog_f77_g = yes; then
17949
@@ -6615,11 +6473,7 @@ else
17953
-if test $ac_compiler_gnu = yes; then
17958
+G77=`test $ac_compiler_gnu = yes && echo yes`
17960
ac_cpp='$CPP $CPPFLAGS'
17961
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17962
@@ -6630,10 +6484,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
17964
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
17965
# find the maximum length of command line arguments
17966
-{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
17967
-$as_echo_n "checking the maximum length of command line arguments... " >&6; }
17968
+{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
17969
+echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
17970
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
17971
- $as_echo_n "(cached) " >&6
17972
+ echo $ECHO_N "(cached) $ECHO_C" >&6
17976
@@ -6742,11 +6596,11 @@ else
17979
if test -n $lt_cv_sys_max_cmd_len ; then
17980
- { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
17981
-$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
17982
+ { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
17983
+echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
17985
- { $as_echo "$as_me:$LINENO: result: none" >&5
17986
-$as_echo "none" >&6; }
17987
+ { echo "$as_me:$LINENO: result: none" >&5
17988
+echo "${ECHO_T}none" >&6; }
17992
@@ -6754,10 +6608,10 @@ fi
17995
# Check for command to grab the raw symbol name followed by C symbol from nm.
17996
-{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
17997
-$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
17998
+{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
17999
+echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
18000
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
18001
- $as_echo_n "(cached) " >&6
18002
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18005
# These are sane defaults that work on at least a few old systems.
18006
@@ -6862,14 +6716,14 @@ EOF
18007
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18008
(eval $ac_compile) 2>&5
18010
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012
(exit $ac_status); }; then
18013
# Now try to grab the symbols.
18015
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
18016
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
18018
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
18020
(exit $ac_status); } && test -s "$nlist"; then
18021
# Try sorting and uniquifying the output.
18022
if sort "$nlist" | uniq > "$nlist"T; then
18023
@@ -6924,7 +6778,7 @@ EOF
18024
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18025
(eval $ac_link) 2>&5
18027
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18028
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
18029
(exit $ac_status); } && test -s conftest${ac_exeext}; then
18032
@@ -6959,17 +6813,17 @@ if test -z "$lt_cv_sys_global_symbol_pip
18033
lt_cv_sys_global_symbol_to_cdecl=
18035
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
18036
- { $as_echo "$as_me:$LINENO: result: failed" >&5
18037
-$as_echo "failed" >&6; }
18038
+ { echo "$as_me:$LINENO: result: failed" >&5
18039
+echo "${ECHO_T}failed" >&6; }
18041
- { $as_echo "$as_me:$LINENO: result: ok" >&5
18042
-$as_echo "ok" >&6; }
18043
+ { echo "$as_me:$LINENO: result: ok" >&5
18044
+echo "${ECHO_T}ok" >&6; }
18047
-{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
18048
-$as_echo_n "checking for objdir... " >&6; }
18049
+{ echo "$as_me:$LINENO: checking for objdir" >&5
18050
+echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
18051
if test "${lt_cv_objdir+set}" = set; then
18052
- $as_echo_n "(cached) " >&6
18053
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18055
rm -f .libs 2>/dev/null
18056
mkdir .libs 2>/dev/null
18057
@@ -6981,8 +6835,8 @@ else
18059
rmdir .libs 2>/dev/null
18061
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
18062
-$as_echo "$lt_cv_objdir" >&6; }
18063
+{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
18064
+echo "${ECHO_T}$lt_cv_objdir" >&6; }
18065
objdir=$lt_cv_objdir
18068
@@ -7033,10 +6887,10 @@ with_gnu_ld="$lt_cv_prog_gnu_ld"
18069
if test -n "$ac_tool_prefix"; then
18070
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18071
set dummy ${ac_tool_prefix}ar; ac_word=$2
18072
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18073
-$as_echo_n "checking for $ac_word... " >&6; }
18074
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
18075
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18076
if test "${ac_cv_prog_AR+set}" = set; then
18077
- $as_echo_n "(cached) " >&6
18078
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18080
if test -n "$AR"; then
18081
ac_cv_prog_AR="$AR" # Let the user override the test.
18082
@@ -7049,7 +6903,7 @@ do
18083
for ac_exec_ext in '' $ac_executable_extensions; do
18084
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18085
ac_cv_prog_AR="${ac_tool_prefix}ar"
18086
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18087
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18091
@@ -7060,11 +6914,11 @@ fi
18094
if test -n "$AR"; then
18095
- { $as_echo "$as_me:$LINENO: result: $AR" >&5
18096
-$as_echo "$AR" >&6; }
18097
+ { echo "$as_me:$LINENO: result: $AR" >&5
18098
+echo "${ECHO_T}$AR" >&6; }
18100
- { $as_echo "$as_me:$LINENO: result: no" >&5
18101
-$as_echo "no" >&6; }
18102
+ { echo "$as_me:$LINENO: result: no" >&5
18103
+echo "${ECHO_T}no" >&6; }
18107
@@ -7073,10 +6927,10 @@ if test -z "$ac_cv_prog_AR"; then
18109
# Extract the first word of "ar", so it can be a program name with args.
18110
set dummy ar; ac_word=$2
18111
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18112
-$as_echo_n "checking for $ac_word... " >&6; }
18113
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
18114
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18115
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18116
- $as_echo_n "(cached) " >&6
18117
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18119
if test -n "$ac_ct_AR"; then
18120
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18121
@@ -7089,7 +6943,7 @@ do
18122
for ac_exec_ext in '' $ac_executable_extensions; do
18123
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18124
ac_cv_prog_ac_ct_AR="ar"
18125
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18126
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18130
@@ -7100,11 +6954,11 @@ fi
18132
ac_ct_AR=$ac_cv_prog_ac_ct_AR
18133
if test -n "$ac_ct_AR"; then
18134
- { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18135
-$as_echo "$ac_ct_AR" >&6; }
18136
+ { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18137
+echo "${ECHO_T}$ac_ct_AR" >&6; }
18139
- { $as_echo "$as_me:$LINENO: result: no" >&5
18140
-$as_echo "no" >&6; }
18141
+ { echo "$as_me:$LINENO: result: no" >&5
18142
+echo "${ECHO_T}no" >&6; }
18145
if test "x$ac_ct_AR" = x; then
18146
@@ -7112,10 +6966,10 @@ fi
18148
case $cross_compiling:$ac_tool_warned in
18150
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18151
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18152
whose name does not start with the host triplet. If you think this
18153
configuration is useful to you, please write to autoconf@gnu.org." >&5
18154
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18155
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18156
whose name does not start with the host triplet. If you think this
18157
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18158
ac_tool_warned=yes ;;
18159
@@ -7129,10 +6983,10 @@ fi
18160
if test -n "$ac_tool_prefix"; then
18161
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
18162
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
18163
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18164
-$as_echo_n "checking for $ac_word... " >&6; }
18165
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
18166
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18167
if test "${ac_cv_prog_RANLIB+set}" = set; then
18168
- $as_echo_n "(cached) " >&6
18169
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18171
if test -n "$RANLIB"; then
18172
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
18173
@@ -7145,7 +6999,7 @@ do
18174
for ac_exec_ext in '' $ac_executable_extensions; do
18175
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18176
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
18177
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18178
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18182
@@ -7156,11 +7010,11 @@ fi
18184
RANLIB=$ac_cv_prog_RANLIB
18185
if test -n "$RANLIB"; then
18186
- { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
18187
-$as_echo "$RANLIB" >&6; }
18188
+ { echo "$as_me:$LINENO: result: $RANLIB" >&5
18189
+echo "${ECHO_T}$RANLIB" >&6; }
18191
- { $as_echo "$as_me:$LINENO: result: no" >&5
18192
-$as_echo "no" >&6; }
18193
+ { echo "$as_me:$LINENO: result: no" >&5
18194
+echo "${ECHO_T}no" >&6; }
18198
@@ -7169,10 +7023,10 @@ if test -z "$ac_cv_prog_RANLIB"; then
18199
ac_ct_RANLIB=$RANLIB
18200
# Extract the first word of "ranlib", so it can be a program name with args.
18201
set dummy ranlib; ac_word=$2
18202
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18203
-$as_echo_n "checking for $ac_word... " >&6; }
18204
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
18205
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18206
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
18207
- $as_echo_n "(cached) " >&6
18208
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18210
if test -n "$ac_ct_RANLIB"; then
18211
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
18212
@@ -7185,7 +7039,7 @@ do
18213
for ac_exec_ext in '' $ac_executable_extensions; do
18214
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18215
ac_cv_prog_ac_ct_RANLIB="ranlib"
18216
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18217
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18221
@@ -7196,11 +7050,11 @@ fi
18223
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
18224
if test -n "$ac_ct_RANLIB"; then
18225
- { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
18226
-$as_echo "$ac_ct_RANLIB" >&6; }
18227
+ { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
18228
+echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
18230
- { $as_echo "$as_me:$LINENO: result: no" >&5
18231
-$as_echo "no" >&6; }
18232
+ { echo "$as_me:$LINENO: result: no" >&5
18233
+echo "${ECHO_T}no" >&6; }
18236
if test "x$ac_ct_RANLIB" = x; then
18237
@@ -7208,10 +7062,10 @@ fi
18239
case $cross_compiling:$ac_tool_warned in
18241
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18242
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18243
whose name does not start with the host triplet. If you think this
18244
configuration is useful to you, please write to autoconf@gnu.org." >&5
18245
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18246
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18247
whose name does not start with the host triplet. If you think this
18248
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18249
ac_tool_warned=yes ;;
18250
@@ -7225,10 +7079,10 @@ fi
18251
if test -n "$ac_tool_prefix"; then
18252
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
18253
set dummy ${ac_tool_prefix}strip; ac_word=$2
18254
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18255
-$as_echo_n "checking for $ac_word... " >&6; }
18256
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
18257
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18258
if test "${ac_cv_prog_STRIP+set}" = set; then
18259
- $as_echo_n "(cached) " >&6
18260
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18262
if test -n "$STRIP"; then
18263
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
18264
@@ -7241,7 +7095,7 @@ do
18265
for ac_exec_ext in '' $ac_executable_extensions; do
18266
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18267
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
18268
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18269
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18273
@@ -7252,11 +7106,11 @@ fi
18275
STRIP=$ac_cv_prog_STRIP
18276
if test -n "$STRIP"; then
18277
- { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
18278
-$as_echo "$STRIP" >&6; }
18279
+ { echo "$as_me:$LINENO: result: $STRIP" >&5
18280
+echo "${ECHO_T}$STRIP" >&6; }
18282
- { $as_echo "$as_me:$LINENO: result: no" >&5
18283
-$as_echo "no" >&6; }
18284
+ { echo "$as_me:$LINENO: result: no" >&5
18285
+echo "${ECHO_T}no" >&6; }
18289
@@ -7265,10 +7119,10 @@ if test -z "$ac_cv_prog_STRIP"; then
18291
# Extract the first word of "strip", so it can be a program name with args.
18292
set dummy strip; ac_word=$2
18293
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18294
-$as_echo_n "checking for $ac_word... " >&6; }
18295
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
18296
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18297
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
18298
- $as_echo_n "(cached) " >&6
18299
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18301
if test -n "$ac_ct_STRIP"; then
18302
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
18303
@@ -7281,7 +7135,7 @@ do
18304
for ac_exec_ext in '' $ac_executable_extensions; do
18305
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18306
ac_cv_prog_ac_ct_STRIP="strip"
18307
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18308
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18312
@@ -7292,11 +7146,11 @@ fi
18314
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
18315
if test -n "$ac_ct_STRIP"; then
18316
- { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
18317
-$as_echo "$ac_ct_STRIP" >&6; }
18318
+ { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
18319
+echo "${ECHO_T}$ac_ct_STRIP" >&6; }
18321
- { $as_echo "$as_me:$LINENO: result: no" >&5
18322
-$as_echo "no" >&6; }
18323
+ { echo "$as_me:$LINENO: result: no" >&5
18324
+echo "${ECHO_T}no" >&6; }
18327
if test "x$ac_ct_STRIP" = x; then
18328
@@ -7304,10 +7158,10 @@ fi
18330
case $cross_compiling:$ac_tool_warned in
18332
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18333
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18334
whose name does not start with the host triplet. If you think this
18335
configuration is useful to you, please write to autoconf@gnu.org." >&5
18336
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18337
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18338
whose name does not start with the host triplet. If you think this
18339
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18340
ac_tool_warned=yes ;;
18341
@@ -7372,10 +7226,10 @@ cc_basename=`$echo "X$cc_temp" | $Xsed -
18342
case $deplibs_check_method in
18344
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
18345
- { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
18346
-$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
18347
+ { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
18348
+echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
18349
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
18350
- $as_echo_n "(cached) " >&6
18351
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18355
@@ -7425,19 +7279,19 @@ fi
18357
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
18358
if test -n "$MAGIC_CMD"; then
18359
- { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
18360
-$as_echo "$MAGIC_CMD" >&6; }
18361
+ { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
18362
+echo "${ECHO_T}$MAGIC_CMD" >&6; }
18364
- { $as_echo "$as_me:$LINENO: result: no" >&5
18365
-$as_echo "no" >&6; }
18366
+ { echo "$as_me:$LINENO: result: no" >&5
18367
+echo "${ECHO_T}no" >&6; }
18370
if test -z "$lt_cv_path_MAGIC_CMD"; then
18371
if test -n "$ac_tool_prefix"; then
18372
- { $as_echo "$as_me:$LINENO: checking for file" >&5
18373
-$as_echo_n "checking for file... " >&6; }
18374
+ { echo "$as_me:$LINENO: checking for file" >&5
18375
+echo $ECHO_N "checking for file... $ECHO_C" >&6; }
18376
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
18377
- $as_echo_n "(cached) " >&6
18378
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18382
@@ -7487,11 +7341,11 @@ fi
18384
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
18385
if test -n "$MAGIC_CMD"; then
18386
- { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
18387
-$as_echo "$MAGIC_CMD" >&6; }
18388
+ { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
18389
+echo "${ECHO_T}$MAGIC_CMD" >&6; }
18391
- { $as_echo "$as_me:$LINENO: result: no" >&5
18392
-$as_echo "no" >&6; }
18393
+ { echo "$as_me:$LINENO: result: no" >&5
18394
+echo "${ECHO_T}no" >&6; }
18398
@@ -7509,10 +7363,10 @@ esac
18399
if test -n "$ac_tool_prefix"; then
18400
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
18401
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
18402
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18403
-$as_echo_n "checking for $ac_word... " >&6; }
18404
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
18405
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18406
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
18407
- $as_echo_n "(cached) " >&6
18408
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18410
if test -n "$DSYMUTIL"; then
18411
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
18412
@@ -7525,7 +7379,7 @@ do
18413
for ac_exec_ext in '' $ac_executable_extensions; do
18414
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18415
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
18416
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18417
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18421
@@ -7536,11 +7390,11 @@ fi
18423
DSYMUTIL=$ac_cv_prog_DSYMUTIL
18424
if test -n "$DSYMUTIL"; then
18425
- { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
18426
-$as_echo "$DSYMUTIL" >&6; }
18427
+ { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
18428
+echo "${ECHO_T}$DSYMUTIL" >&6; }
18430
- { $as_echo "$as_me:$LINENO: result: no" >&5
18431
-$as_echo "no" >&6; }
18432
+ { echo "$as_me:$LINENO: result: no" >&5
18433
+echo "${ECHO_T}no" >&6; }
18437
@@ -7549,10 +7403,10 @@ if test -z "$ac_cv_prog_DSYMUTIL"; then
18438
ac_ct_DSYMUTIL=$DSYMUTIL
18439
# Extract the first word of "dsymutil", so it can be a program name with args.
18440
set dummy dsymutil; ac_word=$2
18441
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18442
-$as_echo_n "checking for $ac_word... " >&6; }
18443
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
18444
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18445
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
18446
- $as_echo_n "(cached) " >&6
18447
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18449
if test -n "$ac_ct_DSYMUTIL"; then
18450
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
18451
@@ -7565,7 +7419,7 @@ do
18452
for ac_exec_ext in '' $ac_executable_extensions; do
18453
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18454
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
18455
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18456
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18460
@@ -7576,11 +7430,11 @@ fi
18462
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
18463
if test -n "$ac_ct_DSYMUTIL"; then
18464
- { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
18465
-$as_echo "$ac_ct_DSYMUTIL" >&6; }
18466
+ { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
18467
+echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
18469
- { $as_echo "$as_me:$LINENO: result: no" >&5
18470
-$as_echo "no" >&6; }
18471
+ { echo "$as_me:$LINENO: result: no" >&5
18472
+echo "${ECHO_T}no" >&6; }
18475
if test "x$ac_ct_DSYMUTIL" = x; then
18476
@@ -7588,10 +7442,10 @@ fi
18478
case $cross_compiling:$ac_tool_warned in
18480
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18481
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18482
whose name does not start with the host triplet. If you think this
18483
configuration is useful to you, please write to autoconf@gnu.org." >&5
18484
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18485
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18486
whose name does not start with the host triplet. If you think this
18487
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18488
ac_tool_warned=yes ;;
18489
@@ -7605,10 +7459,10 @@ fi
18490
if test -n "$ac_tool_prefix"; then
18491
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
18492
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
18493
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18494
-$as_echo_n "checking for $ac_word... " >&6; }
18495
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
18496
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18497
if test "${ac_cv_prog_NMEDIT+set}" = set; then
18498
- $as_echo_n "(cached) " >&6
18499
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18501
if test -n "$NMEDIT"; then
18502
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
18503
@@ -7621,7 +7475,7 @@ do
18504
for ac_exec_ext in '' $ac_executable_extensions; do
18505
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18506
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
18507
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18508
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18512
@@ -7632,11 +7486,11 @@ fi
18514
NMEDIT=$ac_cv_prog_NMEDIT
18515
if test -n "$NMEDIT"; then
18516
- { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
18517
-$as_echo "$NMEDIT" >&6; }
18518
+ { echo "$as_me:$LINENO: result: $NMEDIT" >&5
18519
+echo "${ECHO_T}$NMEDIT" >&6; }
18521
- { $as_echo "$as_me:$LINENO: result: no" >&5
18522
-$as_echo "no" >&6; }
18523
+ { echo "$as_me:$LINENO: result: no" >&5
18524
+echo "${ECHO_T}no" >&6; }
18528
@@ -7645,10 +7499,10 @@ if test -z "$ac_cv_prog_NMEDIT"; then
18529
ac_ct_NMEDIT=$NMEDIT
18530
# Extract the first word of "nmedit", so it can be a program name with args.
18531
set dummy nmedit; ac_word=$2
18532
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18533
-$as_echo_n "checking for $ac_word... " >&6; }
18534
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
18535
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18536
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
18537
- $as_echo_n "(cached) " >&6
18538
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18540
if test -n "$ac_ct_NMEDIT"; then
18541
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
18542
@@ -7661,7 +7515,7 @@ do
18543
for ac_exec_ext in '' $ac_executable_extensions; do
18544
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18545
ac_cv_prog_ac_ct_NMEDIT="nmedit"
18546
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18547
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18551
@@ -7672,11 +7526,11 @@ fi
18553
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
18554
if test -n "$ac_ct_NMEDIT"; then
18555
- { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
18556
-$as_echo "$ac_ct_NMEDIT" >&6; }
18557
+ { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
18558
+echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
18560
- { $as_echo "$as_me:$LINENO: result: no" >&5
18561
-$as_echo "no" >&6; }
18562
+ { echo "$as_me:$LINENO: result: no" >&5
18563
+echo "${ECHO_T}no" >&6; }
18566
if test "x$ac_ct_NMEDIT" = x; then
18567
@@ -7684,10 +7538,10 @@ fi
18569
case $cross_compiling:$ac_tool_warned in
18571
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18572
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18573
whose name does not start with the host triplet. If you think this
18574
configuration is useful to you, please write to autoconf@gnu.org." >&5
18575
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18576
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18577
whose name does not start with the host triplet. If you think this
18578
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18579
ac_tool_warned=yes ;;
18580
@@ -7699,10 +7553,10 @@ else
18584
- { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
18585
-$as_echo_n "checking for -single_module linker flag... " >&6; }
18586
+ { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
18587
+echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
18588
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
18589
- $as_echo_n "(cached) " >&6
18590
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18592
lt_cv_apple_cc_single_mod=no
18593
if test -z "${LT_MULTI_MODULE}"; then
18594
@@ -7720,12 +7574,12 @@ else
18598
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
18599
-$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
18600
- { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
18601
-$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
18602
+{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
18603
+echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
18604
+ { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
18605
+echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
18606
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
18607
- $as_echo_n "(cached) " >&6
18608
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18610
lt_cv_ld_exported_symbols_list=no
18611
save_LDFLAGS=$LDFLAGS
18612
@@ -7752,37 +7606,33 @@ case "(($ac_try" in
18613
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18614
*) ac_try_echo=$ac_try;;
18616
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18617
-$as_echo "$ac_try_echo") >&5
18618
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18619
(eval "$ac_link") 2>conftest.er1
18621
grep -v '^ *+' conftest.er1 >conftest.err
18623
cat conftest.err >&5
18624
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626
(exit $ac_status); } && {
18627
test -z "$ac_c_werror_flag" ||
18628
test ! -s conftest.err
18629
- } && test -s conftest$ac_exeext && {
18630
- test "$cross_compiling" = yes ||
18631
- $as_test_x conftest$ac_exeext
18633
+ } && test -s conftest$ac_exeext &&
18634
+ $as_test_x conftest$ac_exeext; then
18635
lt_cv_ld_exported_symbols_list=yes
18637
- $as_echo "$as_me: failed program was:" >&5
18638
+ echo "$as_me: failed program was:" >&5
18639
sed 's/^/| /' conftest.$ac_ext >&5
18641
lt_cv_ld_exported_symbols_list=no
18644
-rm -rf conftest.dSYM
18645
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18646
conftest$ac_exeext conftest.$ac_ext
18647
LDFLAGS="$save_LDFLAGS"
18650
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
18651
-$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
18652
+{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
18653
+echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
18655
rhapsody* | darwin1.[0123])
18656
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
18657
@@ -7894,10 +7744,10 @@ if test "$GCC" = yes; then
18658
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
18661
-{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
18662
-$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
18663
+{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
18664
+echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
18665
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
18666
- $as_echo_n "(cached) " >&6
18667
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18669
lt_cv_prog_compiler_rtti_exceptions=no
18670
ac_outfile=conftest.$ac_objext
18671
@@ -7912,11 +7762,11 @@ else
18672
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18673
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18674
-e 's:$: $lt_compiler_flag:'`
18675
- (eval echo "\"\$as_me:7915: $lt_compile\"" >&5)
18676
+ (eval echo "\"\$as_me:7765: $lt_compile\"" >&5)
18677
(eval "$lt_compile" 2>conftest.err)
18679
cat conftest.err >&5
18680
- echo "$as_me:7919: \$? = $ac_status" >&5
18681
+ echo "$as_me:7769: \$? = $ac_status" >&5
18682
if (exit $ac_status) && test -s "$ac_outfile"; then
18683
# The compiler can only warn and ignore the option if not recognized
18684
# So say no if there are warnings other than the usual output.
18685
@@ -7929,8 +7779,8 @@ else
18689
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18690
-$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
18691
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18692
+echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
18694
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
18695
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
18696
@@ -7944,8 +7794,8 @@ lt_prog_compiler_wl=
18697
lt_prog_compiler_pic=
18698
lt_prog_compiler_static=
18700
-{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18701
-$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
18702
+{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18703
+echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
18705
if test "$GCC" = yes; then
18706
lt_prog_compiler_wl='-Wl,'
18707
@@ -8176,18 +8026,18 @@ $as_echo_n "checking for $compiler optio
18711
-{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
18712
-$as_echo "$lt_prog_compiler_pic" >&6; }
18713
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
18714
+echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
18717
# Check to make sure the PIC flag actually works.
18719
if test -n "$lt_prog_compiler_pic"; then
18721
-{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
18722
-$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
18723
+{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
18724
+echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
18725
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
18726
- $as_echo_n "(cached) " >&6
18727
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18729
lt_cv_prog_compiler_pic_works=no
18730
ac_outfile=conftest.$ac_objext
18731
@@ -8202,11 +8052,11 @@ else
18732
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18733
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18734
-e 's:$: $lt_compiler_flag:'`
18735
- (eval echo "\"\$as_me:8205: $lt_compile\"" >&5)
18736
+ (eval echo "\"\$as_me:8055: $lt_compile\"" >&5)
18737
(eval "$lt_compile" 2>conftest.err)
18739
cat conftest.err >&5
18740
- echo "$as_me:8209: \$? = $ac_status" >&5
18741
+ echo "$as_me:8059: \$? = $ac_status" >&5
18742
if (exit $ac_status) && test -s "$ac_outfile"; then
18743
# The compiler can only warn and ignore the option if not recognized
18744
# So say no if there are warnings other than the usual output.
18745
@@ -8219,8 +8069,8 @@ else
18749
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
18750
-$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
18751
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
18752
+echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
18754
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
18755
case $lt_prog_compiler_pic in
18756
@@ -8247,10 +8097,10 @@ esac
18757
# Check to make sure the static flag actually works.
18759
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
18760
-{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18761
-$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
18762
+{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18763
+echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18764
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
18765
- $as_echo_n "(cached) " >&6
18766
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18768
lt_cv_prog_compiler_static_works=no
18769
save_LDFLAGS="$LDFLAGS"
18770
@@ -8275,8 +8125,8 @@ else
18771
LDFLAGS="$save_LDFLAGS"
18774
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
18775
-$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
18776
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
18777
+echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
18779
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
18781
@@ -8285,10 +8135,10 @@ else
18785
-{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18786
-$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18787
+{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18788
+echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
18789
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
18790
- $as_echo_n "(cached) " >&6
18791
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18793
lt_cv_prog_compiler_c_o=no
18794
$rm -r conftest 2>/dev/null
18795
@@ -8306,11 +8156,11 @@ else
18796
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18797
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18798
-e 's:$: $lt_compiler_flag:'`
18799
- (eval echo "\"\$as_me:8309: $lt_compile\"" >&5)
18800
+ (eval echo "\"\$as_me:8159: $lt_compile\"" >&5)
18801
(eval "$lt_compile" 2>out/conftest.err)
18803
cat out/conftest.err >&5
18804
- echo "$as_me:8313: \$? = $ac_status" >&5
18805
+ echo "$as_me:8163: \$? = $ac_status" >&5
18806
if (exit $ac_status) && test -s out/conftest2.$ac_objext
18808
# The compiler can only warn and ignore the option if not recognized
18809
@@ -8332,34 +8182,34 @@ else
18813
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
18814
-$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
18815
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
18816
+echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
18819
hard_links="nottested"
18820
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
18821
# do not overwrite the value of need_locks provided by the user
18822
- { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18823
-$as_echo_n "checking if we can lock with hard links... " >&6; }
18824
+ { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18825
+echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
18828
ln conftest.a conftest.b 2>/dev/null && hard_links=no
18830
ln conftest.a conftest.b 2>&5 || hard_links=no
18831
ln conftest.a conftest.b 2>/dev/null && hard_links=no
18832
- { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
18833
-$as_echo "$hard_links" >&6; }
18834
+ { echo "$as_me:$LINENO: result: $hard_links" >&5
18835
+echo "${ECHO_T}$hard_links" >&6; }
18836
if test "$hard_links" = no; then
18837
- { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18838
-$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18839
+ { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18840
+echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18847
-{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18848
-$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18849
+{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18850
+echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18853
allow_undefined_flag=
18854
@@ -8571,12 +8421,13 @@ EOF
18855
$echo "local: *; };" >> $output_objdir/$libname.ver~
18856
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18858
+ link_all_deplibs=no
18865
+ netbsd* | netbsdelf*-gnu)
18866
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18867
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18869
@@ -8789,21 +8640,18 @@ case "(($ac_try" in
18870
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18871
*) ac_try_echo=$ac_try;;
18873
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18874
-$as_echo "$ac_try_echo") >&5
18875
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18876
(eval "$ac_link") 2>conftest.er1
18878
grep -v '^ *+' conftest.er1 >conftest.err
18880
cat conftest.err >&5
18881
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
18883
(exit $ac_status); } && {
18884
test -z "$ac_c_werror_flag" ||
18885
test ! -s conftest.err
18886
- } && test -s conftest$ac_exeext && {
18887
- test "$cross_compiling" = yes ||
18888
- $as_test_x conftest$ac_exeext
18890
+ } && test -s conftest$ac_exeext &&
18891
+ $as_test_x conftest$ac_exeext; then
18893
lt_aix_libpath_sed='
18894
/Import File Strings/,/^$/ {
18895
@@ -8818,13 +8666,12 @@ if test -z "$aix_libpath"; then
18896
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18899
- $as_echo "$as_me: failed program was:" >&5
18900
+ echo "$as_me: failed program was:" >&5
18901
sed 's/^/| /' conftest.$ac_ext >&5
18906
-rm -rf conftest.dSYM
18907
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18908
conftest$ac_exeext conftest.$ac_ext
18909
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18910
@@ -8859,21 +8706,18 @@ case "(($ac_try" in
18911
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18912
*) ac_try_echo=$ac_try;;
18914
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18915
-$as_echo "$ac_try_echo") >&5
18916
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18917
(eval "$ac_link") 2>conftest.er1
18919
grep -v '^ *+' conftest.er1 >conftest.err
18921
cat conftest.err >&5
18922
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18923
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
18924
(exit $ac_status); } && {
18925
test -z "$ac_c_werror_flag" ||
18926
test ! -s conftest.err
18927
- } && test -s conftest$ac_exeext && {
18928
- test "$cross_compiling" = yes ||
18929
- $as_test_x conftest$ac_exeext
18931
+ } && test -s conftest$ac_exeext &&
18932
+ $as_test_x conftest$ac_exeext; then
18934
lt_aix_libpath_sed='
18935
/Import File Strings/,/^$/ {
18936
@@ -8888,13 +8732,12 @@ if test -z "$aix_libpath"; then
18937
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18940
- $as_echo "$as_me: failed program was:" >&5
18941
+ echo "$as_me: failed program was:" >&5
18942
sed 's/^/| /' conftest.$ac_ext >&5
18947
-rm -rf conftest.dSYM
18948
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18949
conftest$ac_exeext conftest.$ac_ext
18950
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18951
@@ -9127,7 +8970,7 @@ if test -z "$aix_libpath"; then aix_libp
18952
link_all_deplibs=yes
18956
+ netbsd* | netbsdelf*-gnu)
18957
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18958
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18960
@@ -9346,8 +9189,8 @@ if test -z "$aix_libpath"; then aix_libp
18964
-{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
18965
-$as_echo "$ld_shlibs" >&6; }
18966
+{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
18967
+echo "${ECHO_T}$ld_shlibs" >&6; }
18968
test "$ld_shlibs" = no && can_build_shared=no
18971
@@ -9367,15 +9210,15 @@ x|xyes)
18972
# Test whether the compiler implicitly links with -lc since on some
18973
# systems, -lgcc has to come before -lc. If gcc already passes -lc
18974
# to ld, don't add -lc before -lgcc.
18975
- { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18976
-$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18977
+ { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18978
+echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18980
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18982
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18983
(eval $ac_compile) 2>&5
18985
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
18987
(exit $ac_status); } 2>conftest.err; then
18990
@@ -9393,7 +9236,7 @@ $as_echo_n "checking whether -lc should
18991
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18992
(eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18994
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996
(exit $ac_status); }
18998
archive_cmds_need_lc=no
18999
@@ -9405,16 +9248,16 @@ $as_echo_n "checking whether -lc should
19000
cat conftest.err 1>&5
19003
- { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
19004
-$as_echo "$archive_cmds_need_lc" >&6; }
19005
+ { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
19006
+echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
19013
-{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19014
-$as_echo_n "checking dynamic linker characteristics... " >&6; }
19015
+{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19016
+echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19017
library_names_spec=
19018
libname_spec='lib$name'
19020
@@ -9822,13 +9665,11 @@ linux* | k*bsd*-gnu)
19021
# Some rework will be needed to allow for fast_install
19022
# before this can be enabled.
19023
hardcode_into_libs=yes
19024
- sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19025
- sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19027
# Append ld.so.conf contents to the search path
19028
if test -f /etc/ld.so.conf; then
19029
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
19030
- sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
19031
+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19034
# We used to test for /lib/ld.so.1 and disable shared libraries on
19035
@@ -9840,6 +9681,18 @@ linux* | k*bsd*-gnu)
19036
dynamic_linker='GNU/Linux ld.so'
19040
+ version_type=linux
19041
+ need_lib_prefix=no
19043
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19044
+ soname_spec='${libname}${release}${shared_ext}$major'
19045
+ shlibpath_var=LD_LIBRARY_PATH
19046
+ shlibpath_overrides_runpath=no
19047
+ hardcode_into_libs=yes
19048
+ dynamic_linker='NetBSD ld.elf_so'
19054
@@ -10017,19 +9870,19 @@ uts4*)
19058
-{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19059
-$as_echo "$dynamic_linker" >&6; }
19060
+{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19061
+echo "${ECHO_T}$dynamic_linker" >&6; }
19062
test "$dynamic_linker" = no && can_build_shared=no
19064
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
19065
- $as_echo_n "(cached) " >&6
19066
+ echo $ECHO_N "(cached) $ECHO_C" >&6
19068
lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
19071
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
19072
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
19073
- $as_echo_n "(cached) " >&6
19074
+ echo $ECHO_N "(cached) $ECHO_C" >&6
19076
lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
19078
@@ -10041,8 +9894,8 @@ if test "$GCC" = yes; then
19079
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19082
-{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19083
-$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19084
+{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19085
+echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19087
if test -n "$hardcode_libdir_flag_spec" || \
19088
test -n "$runpath_var" || \
19089
@@ -10066,8 +9919,8 @@ else
19091
hardcode_action=unsupported
19093
-{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
19094
-$as_echo "$hardcode_action" >&6; }
19095
+{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
19096
+echo "${ECHO_T}$hardcode_action" >&6; }
19098
if test "$hardcode_action" = relink; then
19099
# Fast installation is not supported
19100
@@ -10080,13 +9933,13 @@ fi
19104
-{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
19105
-$as_echo_n "checking whether stripping libraries is possible... " >&6; }
19106
+{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
19107
+echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
19108
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
19109
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
19110
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
19111
- { $as_echo "$as_me:$LINENO: result: yes" >&5
19112
-$as_echo "yes" >&6; }
19113
+ { echo "$as_me:$LINENO: result: yes" >&5
19114
+echo "${ECHO_T}yes" >&6; }
19116
# FIXME - insert some real tests, host_os isn't really good enough
19118
@@ -10094,16 +9947,16 @@ else
19119
if test -n "$STRIP" ; then
19120
striplib="$STRIP -x"
19121
old_striplib="$STRIP -S"
19122
- { $as_echo "$as_me:$LINENO: result: yes" >&5
19123
-$as_echo "yes" >&6; }
19124
+ { echo "$as_me:$LINENO: result: yes" >&5
19125
+echo "${ECHO_T}yes" >&6; }
19127
- { $as_echo "$as_me:$LINENO: result: no" >&5
19128
-$as_echo "no" >&6; }
19129
+ { echo "$as_me:$LINENO: result: no" >&5
19130
+echo "${ECHO_T}no" >&6; }
19134
- { $as_echo "$as_me:$LINENO: result: no" >&5
19135
-$as_echo "no" >&6; }
19136
+ { echo "$as_me:$LINENO: result: no" >&5
19137
+echo "${ECHO_T}no" >&6; }
19141
@@ -10135,10 +9988,10 @@ else
19144
# if libdl is installed we need to link against it
19145
- { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19146
-$as_echo_n "checking for dlopen in -ldl... " >&6; }
19147
+ { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19148
+echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
19149
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19150
- $as_echo_n "(cached) " >&6
19151
+ echo $ECHO_N "(cached) $ECHO_C" >&6
19153
ac_check_lib_save_LIBS=$LIBS
19155
@@ -10170,36 +10023,32 @@ case "(($ac_try" in
19156
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19157
*) ac_try_echo=$ac_try;;
19159
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19160
-$as_echo "$ac_try_echo") >&5
19161
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19162
(eval "$ac_link") 2>conftest.er1
19164
grep -v '^ *+' conftest.er1 >conftest.err
19166
cat conftest.err >&5
19167
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19168
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169
(exit $ac_status); } && {
19170
test -z "$ac_c_werror_flag" ||
19171
test ! -s conftest.err
19172
- } && test -s conftest$ac_exeext && {
19173
- test "$cross_compiling" = yes ||
19174
- $as_test_x conftest$ac_exeext
19176
+ } && test -s conftest$ac_exeext &&
19177
+ $as_test_x conftest$ac_exeext; then
19178
ac_cv_lib_dl_dlopen=yes
19180
- $as_echo "$as_me: failed program was:" >&5
19181
+ echo "$as_me: failed program was:" >&5
19182
sed 's/^/| /' conftest.$ac_ext >&5
19184
ac_cv_lib_dl_dlopen=no
19187
-rm -rf conftest.dSYM
19188
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19189
conftest$ac_exeext conftest.$ac_ext
19190
LIBS=$ac_check_lib_save_LIBS
19192
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19193
-$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
19194
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19195
+echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
19196
if test $ac_cv_lib_dl_dlopen = yes; then
19197
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19199
@@ -10213,10 +10062,10 @@ fi
19203
- { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
19204
-$as_echo_n "checking for shl_load... " >&6; }
19205
+ { echo "$as_me:$LINENO: checking for shl_load" >&5
19206
+echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
19207
if test "${ac_cv_func_shl_load+set}" = set; then
19208
- $as_echo_n "(cached) " >&6
19209
+ echo $ECHO_N "(cached) $ECHO_C" >&6
19211
cat >conftest.$ac_ext <<_ACEOF
19213
@@ -10269,42 +10118,38 @@ case "(($ac_try" in
19214
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19215
*) ac_try_echo=$ac_try;;
19217
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19218
-$as_echo "$ac_try_echo") >&5
19219
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19220
(eval "$ac_link") 2>conftest.er1
19222
grep -v '^ *+' conftest.er1 >conftest.err
19224
cat conftest.err >&5
19225
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
19227
(exit $ac_status); } && {
19228
test -z "$ac_c_werror_flag" ||
19229
test ! -s conftest.err
19230
- } && test -s conftest$ac_exeext && {
19231
- test "$cross_compiling" = yes ||
19232
- $as_test_x conftest$ac_exeext
19234
+ } && test -s conftest$ac_exeext &&
19235
+ $as_test_x conftest$ac_exeext; then
19236
ac_cv_func_shl_load=yes
19238
- $as_echo "$as_me: failed program was:" >&5
19239
+ echo "$as_me: failed program was:" >&5
19240
sed 's/^/| /' conftest.$ac_ext >&5
19242
ac_cv_func_shl_load=no
19245
-rm -rf conftest.dSYM
19246
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19247
conftest$ac_exeext conftest.$ac_ext
19249
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
19250
-$as_echo "$ac_cv_func_shl_load" >&6; }
19251
+{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
19252
+echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
19253
if test $ac_cv_func_shl_load = yes; then
19254
lt_cv_dlopen="shl_load"
19256
- { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
19257
-$as_echo_n "checking for shl_load in -ldld... " >&6; }
19258
+ { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
19259
+echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
19260
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
19261
- $as_echo_n "(cached) " >&6
19262
+ echo $ECHO_N "(cached) $ECHO_C" >&6
19264
ac_check_lib_save_LIBS=$LIBS
19266
@@ -10336,43 +10181,39 @@ case "(($ac_try" in
19267
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19268
*) ac_try_echo=$ac_try;;
19270
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19271
-$as_echo "$ac_try_echo") >&5
19272
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19273
(eval "$ac_link") 2>conftest.er1
19275
grep -v '^ *+' conftest.er1 >conftest.err
19277
cat conftest.err >&5
19278
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
19280
(exit $ac_status); } && {
19281
test -z "$ac_c_werror_flag" ||
19282
test ! -s conftest.err
19283
- } && test -s conftest$ac_exeext && {
19284
- test "$cross_compiling" = yes ||
19285
- $as_test_x conftest$ac_exeext
19287
+ } && test -s conftest$ac_exeext &&
19288
+ $as_test_x conftest$ac_exeext; then
19289
ac_cv_lib_dld_shl_load=yes
19291
- $as_echo "$as_me: failed program was:" >&5
19292
+ echo "$as_me: failed program was:" >&5
19293
sed 's/^/| /' conftest.$ac_ext >&5
19295
ac_cv_lib_dld_shl_load=no
19298
-rm -rf conftest.dSYM
19299
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19300
conftest$ac_exeext conftest.$ac_ext
19301
LIBS=$ac_check_lib_save_LIBS
19303
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
19304
-$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
19305
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
19306
+echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
19307
if test $ac_cv_lib_dld_shl_load = yes; then
19308
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
19310
- { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
19311
-$as_echo_n "checking for dlopen... " >&6; }
19312
+ { echo "$as_me:$LINENO: checking for dlopen" >&5
19313
+echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
19314
if test "${ac_cv_func_dlopen+set}" = set; then
19315
- $as_echo_n "(cached) " >&6
19316
+ echo $ECHO_N "(cached) $ECHO_C" >&6
19318
cat >conftest.$ac_ext <<_ACEOF
19320
@@ -10425,42 +10266,38 @@ case "(($ac_try" in
19321
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19322
*) ac_try_echo=$ac_try;;
19324
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19325
-$as_echo "$ac_try_echo") >&5
19326
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19327
(eval "$ac_link") 2>conftest.er1
19329
grep -v '^ *+' conftest.er1 >conftest.err
19331
cat conftest.err >&5
19332
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334
(exit $ac_status); } && {
19335
test -z "$ac_c_werror_flag" ||
19336
test ! -s conftest.err
19337
- } && test -s conftest$ac_exeext && {
19338
- test "$cross_compiling" = yes ||
19339
- $as_test_x conftest$ac_exeext
19341
+ } && test -s conftest$ac_exeext &&
19342
+ $as_test_x conftest$ac_exeext; then
19343
ac_cv_func_dlopen=yes
19345
- $as_echo "$as_me: failed program was:" >&5
19346
+ echo "$as_me: failed program was:" >&5
19347
sed 's/^/| /' conftest.$ac_ext >&5
19349
ac_cv_func_dlopen=no
19352
-rm -rf conftest.dSYM
19353
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19354
conftest$ac_exeext conftest.$ac_ext
19356
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
19357
-$as_echo "$ac_cv_func_dlopen" >&6; }
19358
+{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
19359
+echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
19360
if test $ac_cv_func_dlopen = yes; then
19361
lt_cv_dlopen="dlopen"
19363
- { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19364
-$as_echo_n "checking for dlopen in -ldl... " >&6; }
19365
+ { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19366
+echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
19367
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19368
- $as_echo_n "(cached) " >&6
19369
+ echo $ECHO_N "(cached) $ECHO_C" >&6
19371
ac_check_lib_save_LIBS=$LIBS
19373
@@ -10492,43 +10329,39 @@ case "(($ac_try" in
19374
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19375
*) ac_try_echo=$ac_try;;
19377
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19378
-$as_echo "$ac_try_echo") >&5
19379
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19380
(eval "$ac_link") 2>conftest.er1
19382
grep -v '^ *+' conftest.er1 >conftest.err
19384
cat conftest.err >&5
19385
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387
(exit $ac_status); } && {
19388
test -z "$ac_c_werror_flag" ||
19389
test ! -s conftest.err
19390
- } && test -s conftest$ac_exeext && {
19391
- test "$cross_compiling" = yes ||
19392
- $as_test_x conftest$ac_exeext
19394
+ } && test -s conftest$ac_exeext &&
19395
+ $as_test_x conftest$ac_exeext; then
19396
ac_cv_lib_dl_dlopen=yes
19398
- $as_echo "$as_me: failed program was:" >&5
19399
+ echo "$as_me: failed program was:" >&5
19400
sed 's/^/| /' conftest.$ac_ext >&5
19402
ac_cv_lib_dl_dlopen=no
19405
-rm -rf conftest.dSYM
19406
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19407
conftest$ac_exeext conftest.$ac_ext
19408
LIBS=$ac_check_lib_save_LIBS
19410
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19411
-$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
19412
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19413
+echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
19414
if test $ac_cv_lib_dl_dlopen = yes; then
19415
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19417
- { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
19418
-$as_echo_n "checking for dlopen in -lsvld... " >&6; }
19419
+ { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
19420
+echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
19421
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
19422
- $as_echo_n "(cached) " >&6
19423
+ echo $ECHO_N "(cached) $ECHO_C" >&6
19425
ac_check_lib_save_LIBS=$LIBS
19426
LIBS="-lsvld $LIBS"
19427
@@ -10560,43 +10393,39 @@ case "(($ac_try" in
19428
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19429
*) ac_try_echo=$ac_try;;
19431
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19432
-$as_echo "$ac_try_echo") >&5
19433
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19434
(eval "$ac_link") 2>conftest.er1
19436
grep -v '^ *+' conftest.er1 >conftest.err
19438
cat conftest.err >&5
19439
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441
(exit $ac_status); } && {
19442
test -z "$ac_c_werror_flag" ||
19443
test ! -s conftest.err
19444
- } && test -s conftest$ac_exeext && {
19445
- test "$cross_compiling" = yes ||
19446
- $as_test_x conftest$ac_exeext
19448
+ } && test -s conftest$ac_exeext &&
19449
+ $as_test_x conftest$ac_exeext; then
19450
ac_cv_lib_svld_dlopen=yes
19452
- $as_echo "$as_me: failed program was:" >&5
19453
+ echo "$as_me: failed program was:" >&5
19454
sed 's/^/| /' conftest.$ac_ext >&5
19456
ac_cv_lib_svld_dlopen=no
19459
-rm -rf conftest.dSYM
19460
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19461
conftest$ac_exeext conftest.$ac_ext
19462
LIBS=$ac_check_lib_save_LIBS
19464
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
19465
-$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
19466
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
19467
+echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
19468
if test $ac_cv_lib_svld_dlopen = yes; then
19469
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
19471
- { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
19472
-$as_echo_n "checking for dld_link in -ldld... " >&6; }
19473
+ { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
19474
+echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
19475
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
19476
- $as_echo_n "(cached) " >&6
19477
+ echo $ECHO_N "(cached) $ECHO_C" >&6
19479
ac_check_lib_save_LIBS=$LIBS
19481
@@ -10628,36 +10457,32 @@ case "(($ac_try" in
19482
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19483
*) ac_try_echo=$ac_try;;
19485
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19486
-$as_echo "$ac_try_echo") >&5
19487
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19488
(eval "$ac_link") 2>conftest.er1
19490
grep -v '^ *+' conftest.er1 >conftest.err
19492
cat conftest.err >&5
19493
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19494
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495
(exit $ac_status); } && {
19496
test -z "$ac_c_werror_flag" ||
19497
test ! -s conftest.err
19498
- } && test -s conftest$ac_exeext && {
19499
- test "$cross_compiling" = yes ||
19500
- $as_test_x conftest$ac_exeext
19502
+ } && test -s conftest$ac_exeext &&
19503
+ $as_test_x conftest$ac_exeext; then
19504
ac_cv_lib_dld_dld_link=yes
19506
- $as_echo "$as_me: failed program was:" >&5
19507
+ echo "$as_me: failed program was:" >&5
19508
sed 's/^/| /' conftest.$ac_ext >&5
19510
ac_cv_lib_dld_dld_link=no
19513
-rm -rf conftest.dSYM
19514
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19515
conftest$ac_exeext conftest.$ac_ext
19516
LIBS=$ac_check_lib_save_LIBS
19518
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
19519
-$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
19520
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
19521
+echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
19522
if test $ac_cv_lib_dld_dld_link = yes; then
19523
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
19525
@@ -10697,10 +10522,10 @@ fi
19527
LIBS="$lt_cv_dlopen_libs $LIBS"
19529
- { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
19530
-$as_echo_n "checking whether a program can dlopen itself... " >&6; }
19531
+ { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
19532
+echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
19533
if test "${lt_cv_dlopen_self+set}" = set; then
19534
- $as_echo_n "(cached) " >&6
19535
+ echo $ECHO_N "(cached) $ECHO_C" >&6
19537
if test "$cross_compiling" = yes; then :
19538
lt_cv_dlopen_self=cross
19539
@@ -10708,7 +10533,7 @@ else
19540
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19541
lt_status=$lt_dlunknown
19542
cat > conftest.$ac_ext <<EOF
19543
-#line 10711 "configure"
19544
+#line 10536 "configure"
19545
#include "confdefs.h"
19548
@@ -10774,7 +10599,7 @@ EOF
19549
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19550
(eval $ac_link) 2>&5
19552
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19555
(./conftest; exit; ) >&5 2>/dev/null
19557
@@ -10792,15 +10617,15 @@ rm -fr conftest*
19561
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
19562
-$as_echo "$lt_cv_dlopen_self" >&6; }
19563
+{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
19564
+echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
19566
if test "x$lt_cv_dlopen_self" = xyes; then
19567
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
19568
- { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
19569
-$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
19570
+ { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
19571
+echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
19572
if test "${lt_cv_dlopen_self_static+set}" = set; then
19573
- $as_echo_n "(cached) " >&6
19574
+ echo $ECHO_N "(cached) $ECHO_C" >&6
19576
if test "$cross_compiling" = yes; then :
19577
lt_cv_dlopen_self_static=cross
19578
@@ -10808,7 +10633,7 @@ else
19579
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19580
lt_status=$lt_dlunknown
19581
cat > conftest.$ac_ext <<EOF
19582
-#line 10811 "configure"
19583
+#line 10636 "configure"
19584
#include "confdefs.h"
19587
@@ -10874,7 +10699,7 @@ EOF
19588
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19589
(eval $ac_link) 2>&5
19591
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19594
(./conftest; exit; ) >&5 2>/dev/null
19596
@@ -10892,8 +10717,8 @@ rm -fr conftest*
19600
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
19601
-$as_echo "$lt_cv_dlopen_self_static" >&6; }
19602
+{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
19603
+echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
19606
CPPFLAGS="$save_CPPFLAGS"
19607
@@ -10915,13 +10740,13 @@ fi
19610
# Report which library types will actually be built
19611
-{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
19612
-$as_echo_n "checking if libtool supports shared libraries... " >&6; }
19613
-{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
19614
-$as_echo "$can_build_shared" >&6; }
19615
+{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
19616
+echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
19617
+{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
19618
+echo "${ECHO_T}$can_build_shared" >&6; }
19620
-{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
19621
-$as_echo_n "checking whether to build shared libraries... " >&6; }
19622
+{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
19623
+echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
19624
test "$can_build_shared" = "no" && enable_shared=no
19626
# On AIX, shared libraries and static libraries use the same namespace, and
19627
@@ -10941,15 +10766,15 @@ aix[4-9]*)
19631
-{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
19632
-$as_echo "$enable_shared" >&6; }
19633
+{ echo "$as_me:$LINENO: result: $enable_shared" >&5
19634
+echo "${ECHO_T}$enable_shared" >&6; }
19636
-{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
19637
-$as_echo_n "checking whether to build static libraries... " >&6; }
19638
+{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
19639
+echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
19640
# Make sure either enable_shared or enable_static is yes.
19641
test "$enable_shared" = yes || enable_static=yes
19642
-{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
19643
-$as_echo "$enable_static" >&6; }
19644
+{ echo "$as_me:$LINENO: result: $enable_static" >&5
19645
+echo "${ECHO_T}$enable_static" >&6; }
19647
# The else clause should only fire when bootstrapping the
19648
# libtool distribution, otherwise you forgot to ship ltmain.sh
19649
@@ -11042,8 +10867,8 @@ if test -f "$ltmain"; then
19650
cfgfile="${ofile}T"
19651
trap "$rm \"$cfgfile\"; exit 1" 1 2 15
19653
- { $as_echo "$as_me:$LINENO: creating $ofile" >&5
19654
-$as_echo "$as_me: creating $ofile" >&6;}
19655
+ { echo "$as_me:$LINENO: creating $ofile" >&5
19656
+echo "$as_me: creating $ofile" >&6;}
19658
cat <<__EOF__ >> "$cfgfile"
19660
@@ -11455,18 +11280,18 @@ fi
19662
if test -f "$ltmain" && test -n "$tagnames"; then
19663
if test ! -f "${ofile}"; then
19664
- { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
19665
-$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
19666
+ { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
19667
+echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
19670
if test -z "$LTCC"; then
19671
eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
19672
if test -z "$LTCC"; then
19673
- { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
19674
-$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
19675
+ { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
19676
+echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
19678
- { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
19679
-$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
19680
+ { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
19681
+echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
19684
if test -z "$LTCFLAGS"; then
19685
@@ -11483,16 +11308,16 @@ $as_echo "$as_me: WARNING: using \`LTCC=
19686
# Check whether tagname contains only valid characters
19687
case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
19689
- *) { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
19690
-$as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
19691
+ *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
19692
+echo "$as_me: error: invalid tag name: $tagname" >&2;}
19693
{ (exit 1); exit 1; }; }
19697
if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
19699
- { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
19700
-$as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
19701
+ { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
19702
+echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
19703
{ (exit 1); exit 1; }; }
19706
@@ -11635,8 +11460,8 @@ fi
19708
if test "$GCC" = yes; then
19709
# Check if gcc -print-prog-name=ld gives a path.
19710
- { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
19711
-$as_echo_n "checking for ld used by $CC... " >&6; }
19712
+ { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
19713
+echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
19716
# gcc leaves a trailing carriage return which upsets mingw
19717
@@ -11665,14 +11490,14 @@ $as_echo_n "checking for ld used by $CC.
19720
elif test "$with_gnu_ld" = yes; then
19721
- { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
19722
-$as_echo_n "checking for GNU ld... " >&6; }
19723
+ { echo "$as_me:$LINENO: checking for GNU ld" >&5
19724
+echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
19726
- { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
19727
-$as_echo_n "checking for non-GNU ld... " >&6; }
19728
+ { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
19729
+echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
19731
if test "${lt_cv_path_LD+set}" = set; then
19732
- $as_echo_n "(cached) " >&6
19733
+ echo $ECHO_N "(cached) $ECHO_C" >&6
19735
if test -z "$LD"; then
19736
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19737
@@ -11702,19 +11527,19 @@ fi
19739
LD="$lt_cv_path_LD"
19740
if test -n "$LD"; then
19741
- { $as_echo "$as_me:$LINENO: result: $LD" >&5
19742
-$as_echo "$LD" >&6; }
19743
+ { echo "$as_me:$LINENO: result: $LD" >&5
19744
+echo "${ECHO_T}$LD" >&6; }
19746
- { $as_echo "$as_me:$LINENO: result: no" >&5
19747
-$as_echo "no" >&6; }
19748
+ { echo "$as_me:$LINENO: result: no" >&5
19749
+echo "${ECHO_T}no" >&6; }
19751
-test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
19752
-$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
19753
+test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
19754
+echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
19755
{ (exit 1); exit 1; }; }
19756
-{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
19757
-$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19758
+{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
19759
+echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
19760
if test "${lt_cv_prog_gnu_ld+set}" = set; then
19761
- $as_echo_n "(cached) " >&6
19762
+ echo $ECHO_N "(cached) $ECHO_C" >&6
19764
# I'd rather use --version here, but apparently some GNU lds only accept -v.
19765
case `$LD -v 2>&1 </dev/null` in
19766
@@ -11726,8 +11551,8 @@ case `$LD -v 2>&1 </dev/null` in
19770
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
19771
-$as_echo "$lt_cv_prog_gnu_ld" >&6; }
19772
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
19773
+echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
19774
with_gnu_ld=$lt_cv_prog_gnu_ld
19777
@@ -11777,8 +11602,8 @@ else
19780
# PORTME: fill in a description of your system's C++ link characteristics
19781
-{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19782
-$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
19783
+{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19784
+echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19788
@@ -11895,21 +11720,18 @@ case "(($ac_try" in
19789
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19790
*) ac_try_echo=$ac_try;;
19792
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19793
-$as_echo "$ac_try_echo") >&5
19794
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19795
(eval "$ac_link") 2>conftest.er1
19797
grep -v '^ *+' conftest.er1 >conftest.err
19799
cat conftest.err >&5
19800
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19801
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802
(exit $ac_status); } && {
19803
test -z "$ac_cxx_werror_flag" ||
19804
test ! -s conftest.err
19805
- } && test -s conftest$ac_exeext && {
19806
- test "$cross_compiling" = yes ||
19807
- $as_test_x conftest$ac_exeext
19809
+ } && test -s conftest$ac_exeext &&
19810
+ $as_test_x conftest$ac_exeext; then
19812
lt_aix_libpath_sed='
19813
/Import File Strings/,/^$/ {
19814
@@ -11924,13 +11746,12 @@ if test -z "$aix_libpath"; then
19815
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19818
- $as_echo "$as_me: failed program was:" >&5
19819
+ echo "$as_me: failed program was:" >&5
19820
sed 's/^/| /' conftest.$ac_ext >&5
19825
-rm -rf conftest.dSYM
19826
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19827
conftest$ac_exeext conftest.$ac_ext
19828
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19829
@@ -11966,21 +11787,18 @@ case "(($ac_try" in
19830
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19831
*) ac_try_echo=$ac_try;;
19833
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19834
-$as_echo "$ac_try_echo") >&5
19835
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19836
(eval "$ac_link") 2>conftest.er1
19838
grep -v '^ *+' conftest.er1 >conftest.err
19840
cat conftest.err >&5
19841
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843
(exit $ac_status); } && {
19844
test -z "$ac_cxx_werror_flag" ||
19845
test ! -s conftest.err
19846
- } && test -s conftest$ac_exeext && {
19847
- test "$cross_compiling" = yes ||
19848
- $as_test_x conftest$ac_exeext
19850
+ } && test -s conftest$ac_exeext &&
19851
+ $as_test_x conftest$ac_exeext; then
19853
lt_aix_libpath_sed='
19854
/Import File Strings/,/^$/ {
19855
@@ -11995,13 +11813,12 @@ if test -z "$aix_libpath"; then
19856
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19859
- $as_echo "$as_me: failed program was:" >&5
19860
+ echo "$as_me: failed program was:" >&5
19861
sed 's/^/| /' conftest.$ac_ext >&5
19866
-rm -rf conftest.dSYM
19867
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19868
conftest$ac_exeext conftest.$ac_ext
19869
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19870
@@ -12404,7 +12221,7 @@ if test -z "$aix_libpath"; then aix_libp
19875
+ netbsd* | netbsdelf*-gnu)
19876
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19877
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
19879
@@ -12731,8 +12548,8 @@ if test -z "$aix_libpath"; then aix_libp
19883
-{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19884
-$as_echo "$ld_shlibs_CXX" >&6; }
19885
+{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19886
+echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19887
test "$ld_shlibs_CXX" = no && can_build_shared=no
19890
@@ -12751,7 +12568,7 @@ EOF
19891
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19892
(eval $ac_compile) 2>&5
19894
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19895
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
19896
(exit $ac_status); }; then
19897
# Parse the compiler output and extract the necessary
19898
# objects, libraries and library flags.
19899
@@ -12907,8 +12724,8 @@ lt_prog_compiler_wl_CXX=
19900
lt_prog_compiler_pic_CXX=
19901
lt_prog_compiler_static_CXX=
19903
-{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19904
-$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
19905
+{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19906
+echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19908
# C++ specific cases for pic, static, wl, etc.
19909
if test "$GXX" = yes; then
19910
@@ -13108,7 +12925,7 @@ $as_echo_n "checking for $compiler optio
19915
+ netbsd* | netbsdelf*-gnu)
19917
osf3* | osf4* | osf5*)
19918
case $cc_basename in
19919
@@ -13191,18 +13008,18 @@ $as_echo_n "checking for $compiler optio
19923
-{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
19924
-$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
19925
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
19926
+echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
19929
# Check to make sure the PIC flag actually works.
19931
if test -n "$lt_prog_compiler_pic_CXX"; then
19933
-{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19934
-$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
19935
+{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19936
+echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
19937
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
19938
- $as_echo_n "(cached) " >&6
19939
+ echo $ECHO_N "(cached) $ECHO_C" >&6
19941
lt_cv_prog_compiler_pic_works_CXX=no
19942
ac_outfile=conftest.$ac_objext
19943
@@ -13217,11 +13034,11 @@ else
19944
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19945
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19946
-e 's:$: $lt_compiler_flag:'`
19947
- (eval echo "\"\$as_me:13220: $lt_compile\"" >&5)
19948
+ (eval echo "\"\$as_me:13037: $lt_compile\"" >&5)
19949
(eval "$lt_compile" 2>conftest.err)
19951
cat conftest.err >&5
19952
- echo "$as_me:13224: \$? = $ac_status" >&5
19953
+ echo "$as_me:13041: \$? = $ac_status" >&5
19954
if (exit $ac_status) && test -s "$ac_outfile"; then
19955
# The compiler can only warn and ignore the option if not recognized
19956
# So say no if there are warnings other than the usual output.
19957
@@ -13234,8 +13051,8 @@ else
19961
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
19962
-$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
19963
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
19964
+echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
19966
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
19967
case $lt_prog_compiler_pic_CXX in
19968
@@ -13262,10 +13079,10 @@ esac
19969
# Check to make sure the static flag actually works.
19971
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
19972
-{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19973
-$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
19974
+{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19975
+echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
19976
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
19977
- $as_echo_n "(cached) " >&6
19978
+ echo $ECHO_N "(cached) $ECHO_C" >&6
19980
lt_cv_prog_compiler_static_works_CXX=no
19981
save_LDFLAGS="$LDFLAGS"
19982
@@ -13290,8 +13107,8 @@ else
19983
LDFLAGS="$save_LDFLAGS"
19986
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
19987
-$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
19988
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
19989
+echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
19991
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
19993
@@ -13300,10 +13117,10 @@ else
19997
-{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19998
-$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19999
+{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20000
+echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
20001
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
20002
- $as_echo_n "(cached) " >&6
20003
+ echo $ECHO_N "(cached) $ECHO_C" >&6
20005
lt_cv_prog_compiler_c_o_CXX=no
20006
$rm -r conftest 2>/dev/null
20007
@@ -13321,11 +13138,11 @@ else
20008
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20009
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20010
-e 's:$: $lt_compiler_flag:'`
20011
- (eval echo "\"\$as_me:13324: $lt_compile\"" >&5)
20012
+ (eval echo "\"\$as_me:13141: $lt_compile\"" >&5)
20013
(eval "$lt_compile" 2>out/conftest.err)
20015
cat out/conftest.err >&5
20016
- echo "$as_me:13328: \$? = $ac_status" >&5
20017
+ echo "$as_me:13145: \$? = $ac_status" >&5
20018
if (exit $ac_status) && test -s out/conftest2.$ac_objext
20020
# The compiler can only warn and ignore the option if not recognized
20021
@@ -13347,34 +13164,34 @@ else
20025
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
20026
-$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
20027
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
20028
+echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
20031
hard_links="nottested"
20032
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
20033
# do not overwrite the value of need_locks provided by the user
20034
- { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20035
-$as_echo_n "checking if we can lock with hard links... " >&6; }
20036
+ { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20037
+echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
20040
ln conftest.a conftest.b 2>/dev/null && hard_links=no
20042
ln conftest.a conftest.b 2>&5 || hard_links=no
20043
ln conftest.a conftest.b 2>/dev/null && hard_links=no
20044
- { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
20045
-$as_echo "$hard_links" >&6; }
20046
+ { echo "$as_me:$LINENO: result: $hard_links" >&5
20047
+echo "${ECHO_T}$hard_links" >&6; }
20048
if test "$hard_links" = no; then
20049
- { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20050
-$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20051
+ { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20052
+echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20059
-{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20060
-$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
20061
+{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20062
+echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
20064
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20066
@@ -13393,14 +13210,17 @@ $as_echo_n "checking whether the $compil
20068
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
20070
+ linux* | k*bsd*-gnu)
20071
+ link_all_deplibs_CXX=no
20074
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20077
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
20079
-{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
20080
-$as_echo "$ld_shlibs_CXX" >&6; }
20081
+{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
20082
+echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
20083
test "$ld_shlibs_CXX" = no && can_build_shared=no
20086
@@ -13420,15 +13240,15 @@ x|xyes)
20087
# Test whether the compiler implicitly links with -lc since on some
20088
# systems, -lgcc has to come before -lc. If gcc already passes -lc
20089
# to ld, don't add -lc before -lgcc.
20090
- { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20091
-$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
20092
+ { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20093
+echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20095
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20097
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20098
(eval $ac_compile) 2>&5
20100
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20101
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
20102
(exit $ac_status); } 2>conftest.err; then
20105
@@ -13446,7 +13266,7 @@ $as_echo_n "checking whether -lc should
20106
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20107
(eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20109
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111
(exit $ac_status); }
20113
archive_cmds_need_lc_CXX=no
20114
@@ -13458,16 +13278,16 @@ $as_echo_n "checking whether -lc should
20115
cat conftest.err 1>&5
20118
- { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
20119
-$as_echo "$archive_cmds_need_lc_CXX" >&6; }
20120
+ { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
20121
+echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
20128
-{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20129
-$as_echo_n "checking dynamic linker characteristics... " >&6; }
20130
+{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20131
+echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
20132
library_names_spec=
20133
libname_spec='lib$name'
20135
@@ -13823,13 +13643,11 @@ linux* | k*bsd*-gnu)
20136
# Some rework will be needed to allow for fast_install
20137
# before this can be enabled.
20138
hardcode_into_libs=yes
20139
- sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20140
- sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20142
# Append ld.so.conf contents to the search path
20143
if test -f /etc/ld.so.conf; then
20144
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
20145
- sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
20146
+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20149
# We used to test for /lib/ld.so.1 and disable shared libraries on
20150
@@ -13841,6 +13659,18 @@ linux* | k*bsd*-gnu)
20151
dynamic_linker='GNU/Linux ld.so'
20155
+ version_type=linux
20156
+ need_lib_prefix=no
20158
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20159
+ soname_spec='${libname}${release}${shared_ext}$major'
20160
+ shlibpath_var=LD_LIBRARY_PATH
20161
+ shlibpath_overrides_runpath=no
20162
+ hardcode_into_libs=yes
20163
+ dynamic_linker='NetBSD ld.elf_so'
20169
@@ -14018,19 +13848,19 @@ uts4*)
20173
-{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20174
-$as_echo "$dynamic_linker" >&6; }
20175
+{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20176
+echo "${ECHO_T}$dynamic_linker" >&6; }
20177
test "$dynamic_linker" = no && can_build_shared=no
20179
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20180
- $as_echo_n "(cached) " >&6
20181
+ echo $ECHO_N "(cached) $ECHO_C" >&6
20183
lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
20186
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
20187
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20188
- $as_echo_n "(cached) " >&6
20189
+ echo $ECHO_N "(cached) $ECHO_C" >&6
20191
lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
20193
@@ -14042,8 +13872,8 @@ if test "$GCC" = yes; then
20194
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20197
-{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20198
-$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
20199
+{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20200
+echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20201
hardcode_action_CXX=
20202
if test -n "$hardcode_libdir_flag_spec_CXX" || \
20203
test -n "$runpath_var_CXX" || \
20204
@@ -14067,8 +13897,8 @@ else
20206
hardcode_action_CXX=unsupported
20208
-{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
20209
-$as_echo "$hardcode_action_CXX" >&6; }
20210
+{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
20211
+echo "${ECHO_T}$hardcode_action_CXX" >&6; }
20213
if test "$hardcode_action_CXX" = relink; then
20214
# Fast installation is not supported
20215
@@ -14606,13 +14436,13 @@ done
20216
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20219
-{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
20220
-$as_echo_n "checking if libtool supports shared libraries... " >&6; }
20221
-{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
20222
-$as_echo "$can_build_shared" >&6; }
20223
+{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
20224
+echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
20225
+{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
20226
+echo "${ECHO_T}$can_build_shared" >&6; }
20228
-{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
20229
-$as_echo_n "checking whether to build shared libraries... " >&6; }
20230
+{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
20231
+echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
20232
test "$can_build_shared" = "no" && enable_shared=no
20234
# On AIX, shared libraries and static libraries use the same namespace, and
20235
@@ -14631,15 +14461,15 @@ aix[4-9]*)
20239
-{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
20240
-$as_echo "$enable_shared" >&6; }
20241
+{ echo "$as_me:$LINENO: result: $enable_shared" >&5
20242
+echo "${ECHO_T}$enable_shared" >&6; }
20244
-{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
20245
-$as_echo_n "checking whether to build static libraries... " >&6; }
20246
+{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
20247
+echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
20248
# Make sure either enable_shared or enable_static is yes.
20249
test "$enable_shared" = yes || enable_static=yes
20250
-{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
20251
-$as_echo "$enable_static" >&6; }
20252
+{ echo "$as_me:$LINENO: result: $enable_static" >&5
20253
+echo "${ECHO_T}$enable_static" >&6; }
20257
@@ -14648,8 +14478,8 @@ lt_prog_compiler_wl_F77=
20258
lt_prog_compiler_pic_F77=
20259
lt_prog_compiler_static_F77=
20261
-{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
20262
-$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
20263
+{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
20264
+echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
20266
if test "$GCC" = yes; then
20267
lt_prog_compiler_wl_F77='-Wl,'
20268
@@ -14880,18 +14710,18 @@ $as_echo_n "checking for $compiler optio
20272
-{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
20273
-$as_echo "$lt_prog_compiler_pic_F77" >&6; }
20274
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
20275
+echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
20278
# Check to make sure the PIC flag actually works.
20280
if test -n "$lt_prog_compiler_pic_F77"; then
20282
-{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
20283
-$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
20284
+{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
20285
+echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
20286
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
20287
- $as_echo_n "(cached) " >&6
20288
+ echo $ECHO_N "(cached) $ECHO_C" >&6
20290
lt_cv_prog_compiler_pic_works_F77=no
20291
ac_outfile=conftest.$ac_objext
20292
@@ -14906,11 +14736,11 @@ else
20293
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20294
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20295
-e 's:$: $lt_compiler_flag:'`
20296
- (eval echo "\"\$as_me:14909: $lt_compile\"" >&5)
20297
+ (eval echo "\"\$as_me:14739: $lt_compile\"" >&5)
20298
(eval "$lt_compile" 2>conftest.err)
20300
cat conftest.err >&5
20301
- echo "$as_me:14913: \$? = $ac_status" >&5
20302
+ echo "$as_me:14743: \$? = $ac_status" >&5
20303
if (exit $ac_status) && test -s "$ac_outfile"; then
20304
# The compiler can only warn and ignore the option if not recognized
20305
# So say no if there are warnings other than the usual output.
20306
@@ -14923,8 +14753,8 @@ else
20310
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
20311
-$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
20312
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
20313
+echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
20315
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
20316
case $lt_prog_compiler_pic_F77 in
20317
@@ -14951,10 +14781,10 @@ esac
20318
# Check to make sure the static flag actually works.
20320
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
20321
-{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
20322
-$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
20323
+{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
20324
+echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
20325
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
20326
- $as_echo_n "(cached) " >&6
20327
+ echo $ECHO_N "(cached) $ECHO_C" >&6
20329
lt_cv_prog_compiler_static_works_F77=no
20330
save_LDFLAGS="$LDFLAGS"
20331
@@ -14979,8 +14809,8 @@ else
20332
LDFLAGS="$save_LDFLAGS"
20335
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
20336
-$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
20337
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
20338
+echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
20340
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
20342
@@ -14989,10 +14819,10 @@ else
20346
-{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20347
-$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
20348
+{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20349
+echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
20350
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
20351
- $as_echo_n "(cached) " >&6
20352
+ echo $ECHO_N "(cached) $ECHO_C" >&6
20354
lt_cv_prog_compiler_c_o_F77=no
20355
$rm -r conftest 2>/dev/null
20356
@@ -15010,11 +14840,11 @@ else
20357
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20358
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20359
-e 's:$: $lt_compiler_flag:'`
20360
- (eval echo "\"\$as_me:15013: $lt_compile\"" >&5)
20361
+ (eval echo "\"\$as_me:14843: $lt_compile\"" >&5)
20362
(eval "$lt_compile" 2>out/conftest.err)
20364
cat out/conftest.err >&5
20365
- echo "$as_me:15017: \$? = $ac_status" >&5
20366
+ echo "$as_me:14847: \$? = $ac_status" >&5
20367
if (exit $ac_status) && test -s out/conftest2.$ac_objext
20369
# The compiler can only warn and ignore the option if not recognized
20370
@@ -15036,34 +14866,34 @@ else
20374
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
20375
-$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
20376
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
20377
+echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
20380
hard_links="nottested"
20381
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
20382
# do not overwrite the value of need_locks provided by the user
20383
- { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20384
-$as_echo_n "checking if we can lock with hard links... " >&6; }
20385
+ { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20386
+echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
20389
ln conftest.a conftest.b 2>/dev/null && hard_links=no
20391
ln conftest.a conftest.b 2>&5 || hard_links=no
20392
ln conftest.a conftest.b 2>/dev/null && hard_links=no
20393
- { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
20394
-$as_echo "$hard_links" >&6; }
20395
+ { echo "$as_me:$LINENO: result: $hard_links" >&5
20396
+echo "${ECHO_T}$hard_links" >&6; }
20397
if test "$hard_links" = no; then
20398
- { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20399
-$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20400
+ { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20401
+echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20408
-{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20409
-$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
20410
+{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20411
+echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
20414
allow_undefined_flag_F77=
20415
@@ -15275,12 +15105,13 @@ EOF
20416
$echo "local: *; };" >> $output_objdir/$libname.ver~
20417
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
20419
+ link_all_deplibs_F77=no
20426
+ netbsd* | netbsdelf*-gnu)
20427
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20428
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
20430
@@ -15483,21 +15314,18 @@ case "(($ac_try" in
20431
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20432
*) ac_try_echo=$ac_try;;
20434
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20435
-$as_echo "$ac_try_echo") >&5
20436
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20437
(eval "$ac_link") 2>conftest.er1
20439
grep -v '^ *+' conftest.er1 >conftest.err
20441
cat conftest.err >&5
20442
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444
(exit $ac_status); } && {
20445
test -z "$ac_f77_werror_flag" ||
20446
test ! -s conftest.err
20447
- } && test -s conftest$ac_exeext && {
20448
- test "$cross_compiling" = yes ||
20449
- $as_test_x conftest$ac_exeext
20451
+ } && test -s conftest$ac_exeext &&
20452
+ $as_test_x conftest$ac_exeext; then
20454
lt_aix_libpath_sed='
20455
/Import File Strings/,/^$/ {
20456
@@ -15512,13 +15340,12 @@ if test -z "$aix_libpath"; then
20457
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20460
- $as_echo "$as_me: failed program was:" >&5
20461
+ echo "$as_me: failed program was:" >&5
20462
sed 's/^/| /' conftest.$ac_ext >&5
20467
-rm -rf conftest.dSYM
20468
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20469
conftest$ac_exeext conftest.$ac_ext
20470
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20471
@@ -15543,21 +15370,18 @@ case "(($ac_try" in
20472
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20473
*) ac_try_echo=$ac_try;;
20475
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20476
-$as_echo "$ac_try_echo") >&5
20477
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20478
(eval "$ac_link") 2>conftest.er1
20480
grep -v '^ *+' conftest.er1 >conftest.err
20482
cat conftest.err >&5
20483
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20484
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485
(exit $ac_status); } && {
20486
test -z "$ac_f77_werror_flag" ||
20487
test ! -s conftest.err
20488
- } && test -s conftest$ac_exeext && {
20489
- test "$cross_compiling" = yes ||
20490
- $as_test_x conftest$ac_exeext
20492
+ } && test -s conftest$ac_exeext &&
20493
+ $as_test_x conftest$ac_exeext; then
20495
lt_aix_libpath_sed='
20496
/Import File Strings/,/^$/ {
20497
@@ -15572,13 +15396,12 @@ if test -z "$aix_libpath"; then
20498
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20501
- $as_echo "$as_me: failed program was:" >&5
20502
+ echo "$as_me: failed program was:" >&5
20503
sed 's/^/| /' conftest.$ac_ext >&5
20508
-rm -rf conftest.dSYM
20509
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20510
conftest$ac_exeext conftest.$ac_ext
20511
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20512
@@ -15811,7 +15634,7 @@ if test -z "$aix_libpath"; then aix_libp
20513
link_all_deplibs_F77=yes
20517
+ netbsd* | netbsdelf*-gnu)
20518
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20519
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
20521
@@ -16030,8 +15853,8 @@ if test -z "$aix_libpath"; then aix_libp
20525
-{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
20526
-$as_echo "$ld_shlibs_F77" >&6; }
20527
+{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
20528
+echo "${ECHO_T}$ld_shlibs_F77" >&6; }
20529
test "$ld_shlibs_F77" = no && can_build_shared=no
20532
@@ -16051,15 +15874,15 @@ x|xyes)
20533
# Test whether the compiler implicitly links with -lc since on some
20534
# systems, -lgcc has to come before -lc. If gcc already passes -lc
20535
# to ld, don't add -lc before -lgcc.
20536
- { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20537
-$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
20538
+ { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20539
+echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20541
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20543
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20544
(eval $ac_compile) 2>&5
20546
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548
(exit $ac_status); } 2>conftest.err; then
20551
@@ -16077,7 +15900,7 @@ $as_echo_n "checking whether -lc should
20552
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20553
(eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20555
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557
(exit $ac_status); }
20559
archive_cmds_need_lc_F77=no
20560
@@ -16089,16 +15912,16 @@ $as_echo_n "checking whether -lc should
20561
cat conftest.err 1>&5
20564
- { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
20565
-$as_echo "$archive_cmds_need_lc_F77" >&6; }
20566
+ { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
20567
+echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
20574
-{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20575
-$as_echo_n "checking dynamic linker characteristics... " >&6; }
20576
+{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20577
+echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
20578
library_names_spec=
20579
libname_spec='lib$name'
20581
@@ -16454,13 +16277,11 @@ linux* | k*bsd*-gnu)
20582
# Some rework will be needed to allow for fast_install
20583
# before this can be enabled.
20584
hardcode_into_libs=yes
20585
- sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20586
- sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20588
# Append ld.so.conf contents to the search path
20589
if test -f /etc/ld.so.conf; then
20590
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
20591
- sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
20592
+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20595
# We used to test for /lib/ld.so.1 and disable shared libraries on
20596
@@ -16472,6 +16293,18 @@ linux* | k*bsd*-gnu)
20597
dynamic_linker='GNU/Linux ld.so'
20601
+ version_type=linux
20602
+ need_lib_prefix=no
20604
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20605
+ soname_spec='${libname}${release}${shared_ext}$major'
20606
+ shlibpath_var=LD_LIBRARY_PATH
20607
+ shlibpath_overrides_runpath=no
20608
+ hardcode_into_libs=yes
20609
+ dynamic_linker='NetBSD ld.elf_so'
20615
@@ -16649,19 +16482,19 @@ uts4*)
20619
-{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20620
-$as_echo "$dynamic_linker" >&6; }
20621
+{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20622
+echo "${ECHO_T}$dynamic_linker" >&6; }
20623
test "$dynamic_linker" = no && can_build_shared=no
20625
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20626
- $as_echo_n "(cached) " >&6
20627
+ echo $ECHO_N "(cached) $ECHO_C" >&6
20629
lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
20632
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
20633
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20634
- $as_echo_n "(cached) " >&6
20635
+ echo $ECHO_N "(cached) $ECHO_C" >&6
20637
lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
20639
@@ -16673,8 +16506,8 @@ if test "$GCC" = yes; then
20640
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20643
-{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20644
-$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
20645
+{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20646
+echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20647
hardcode_action_F77=
20648
if test -n "$hardcode_libdir_flag_spec_F77" || \
20649
test -n "$runpath_var_F77" || \
20650
@@ -16698,8 +16531,8 @@ else
20652
hardcode_action_F77=unsupported
20654
-{ $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
20655
-$as_echo "$hardcode_action_F77" >&6; }
20656
+{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
20657
+echo "${ECHO_T}$hardcode_action_F77" >&6; }
20659
if test "$hardcode_action_F77" = relink; then
20660
# Fast installation is not supported
20661
@@ -17209,10 +17042,10 @@ if test "$GCC" = yes; then
20662
lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
20665
-{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
20666
-$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
20667
+{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
20668
+echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
20669
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
20670
- $as_echo_n "(cached) " >&6
20671
+ echo $ECHO_N "(cached) $ECHO_C" >&6
20673
lt_cv_prog_compiler_rtti_exceptions=no
20674
ac_outfile=conftest.$ac_objext
20675
@@ -17227,11 +17060,11 @@ else
20676
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20677
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20678
-e 's:$: $lt_compiler_flag:'`
20679
- (eval echo "\"\$as_me:17230: $lt_compile\"" >&5)
20680
+ (eval echo "\"\$as_me:17063: $lt_compile\"" >&5)
20681
(eval "$lt_compile" 2>conftest.err)
20683
cat conftest.err >&5
20684
- echo "$as_me:17234: \$? = $ac_status" >&5
20685
+ echo "$as_me:17067: \$? = $ac_status" >&5
20686
if (exit $ac_status) && test -s "$ac_outfile"; then
20687
# The compiler can only warn and ignore the option if not recognized
20688
# So say no if there are warnings other than the usual output.
20689
@@ -17244,8 +17077,8 @@ else
20693
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
20694
-$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
20695
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
20696
+echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
20698
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
20699
lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
20700
@@ -17259,8 +17092,8 @@ lt_prog_compiler_wl_GCJ=
20701
lt_prog_compiler_pic_GCJ=
20702
lt_prog_compiler_static_GCJ=
20704
-{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
20705
-$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
20706
+{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
20707
+echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
20709
if test "$GCC" = yes; then
20710
lt_prog_compiler_wl_GCJ='-Wl,'
20711
@@ -17491,18 +17324,18 @@ $as_echo_n "checking for $compiler optio
20715
-{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
20716
-$as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
20717
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
20718
+echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
20721
# Check to make sure the PIC flag actually works.
20723
if test -n "$lt_prog_compiler_pic_GCJ"; then
20725
-{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
20726
-$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
20727
+{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
20728
+echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
20729
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
20730
- $as_echo_n "(cached) " >&6
20731
+ echo $ECHO_N "(cached) $ECHO_C" >&6
20733
lt_cv_prog_compiler_pic_works_GCJ=no
20734
ac_outfile=conftest.$ac_objext
20735
@@ -17517,11 +17350,11 @@ else
20736
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20737
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20738
-e 's:$: $lt_compiler_flag:'`
20739
- (eval echo "\"\$as_me:17520: $lt_compile\"" >&5)
20740
+ (eval echo "\"\$as_me:17353: $lt_compile\"" >&5)
20741
(eval "$lt_compile" 2>conftest.err)
20743
cat conftest.err >&5
20744
- echo "$as_me:17524: \$? = $ac_status" >&5
20745
+ echo "$as_me:17357: \$? = $ac_status" >&5
20746
if (exit $ac_status) && test -s "$ac_outfile"; then
20747
# The compiler can only warn and ignore the option if not recognized
20748
# So say no if there are warnings other than the usual output.
20749
@@ -17534,8 +17367,8 @@ else
20753
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
20754
-$as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
20755
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
20756
+echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
20758
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
20759
case $lt_prog_compiler_pic_GCJ in
20760
@@ -17562,10 +17395,10 @@ esac
20761
# Check to make sure the static flag actually works.
20763
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
20764
-{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
20765
-$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
20766
+{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
20767
+echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
20768
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
20769
- $as_echo_n "(cached) " >&6
20770
+ echo $ECHO_N "(cached) $ECHO_C" >&6
20772
lt_cv_prog_compiler_static_works_GCJ=no
20773
save_LDFLAGS="$LDFLAGS"
20774
@@ -17590,8 +17423,8 @@ else
20775
LDFLAGS="$save_LDFLAGS"
20778
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
20779
-$as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
20780
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
20781
+echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
20783
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
20785
@@ -17600,10 +17433,10 @@ else
20789
-{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20790
-$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
20791
+{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20792
+echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
20793
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
20794
- $as_echo_n "(cached) " >&6
20795
+ echo $ECHO_N "(cached) $ECHO_C" >&6
20797
lt_cv_prog_compiler_c_o_GCJ=no
20798
$rm -r conftest 2>/dev/null
20799
@@ -17621,11 +17454,11 @@ else
20800
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20801
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20802
-e 's:$: $lt_compiler_flag:'`
20803
- (eval echo "\"\$as_me:17624: $lt_compile\"" >&5)
20804
+ (eval echo "\"\$as_me:17457: $lt_compile\"" >&5)
20805
(eval "$lt_compile" 2>out/conftest.err)
20807
cat out/conftest.err >&5
20808
- echo "$as_me:17628: \$? = $ac_status" >&5
20809
+ echo "$as_me:17461: \$? = $ac_status" >&5
20810
if (exit $ac_status) && test -s out/conftest2.$ac_objext
20812
# The compiler can only warn and ignore the option if not recognized
20813
@@ -17647,34 +17480,34 @@ else
20817
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
20818
-$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
20819
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
20820
+echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
20823
hard_links="nottested"
20824
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
20825
# do not overwrite the value of need_locks provided by the user
20826
- { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20827
-$as_echo_n "checking if we can lock with hard links... " >&6; }
20828
+ { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20829
+echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
20832
ln conftest.a conftest.b 2>/dev/null && hard_links=no
20834
ln conftest.a conftest.b 2>&5 || hard_links=no
20835
ln conftest.a conftest.b 2>/dev/null && hard_links=no
20836
- { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
20837
-$as_echo "$hard_links" >&6; }
20838
+ { echo "$as_me:$LINENO: result: $hard_links" >&5
20839
+echo "${ECHO_T}$hard_links" >&6; }
20840
if test "$hard_links" = no; then
20841
- { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20842
-$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20843
+ { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20844
+echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20851
-{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20852
-$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
20853
+{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20854
+echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
20857
allow_undefined_flag_GCJ=
20858
@@ -17886,12 +17719,13 @@ EOF
20859
$echo "local: *; };" >> $output_objdir/$libname.ver~
20860
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
20862
+ link_all_deplibs_GCJ=no
20869
+ netbsd* | netbsdelf*-gnu)
20870
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20871
archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
20873
@@ -18104,21 +17938,18 @@ case "(($ac_try" in
20874
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20875
*) ac_try_echo=$ac_try;;
20877
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20878
-$as_echo "$ac_try_echo") >&5
20879
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20880
(eval "$ac_link") 2>conftest.er1
20882
grep -v '^ *+' conftest.er1 >conftest.err
20884
cat conftest.err >&5
20885
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
20887
(exit $ac_status); } && {
20888
test -z "$ac_c_werror_flag" ||
20889
test ! -s conftest.err
20890
- } && test -s conftest$ac_exeext && {
20891
- test "$cross_compiling" = yes ||
20892
- $as_test_x conftest$ac_exeext
20894
+ } && test -s conftest$ac_exeext &&
20895
+ $as_test_x conftest$ac_exeext; then
20897
lt_aix_libpath_sed='
20898
/Import File Strings/,/^$/ {
20899
@@ -18133,13 +17964,12 @@ if test -z "$aix_libpath"; then
20900
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20903
- $as_echo "$as_me: failed program was:" >&5
20904
+ echo "$as_me: failed program was:" >&5
20905
sed 's/^/| /' conftest.$ac_ext >&5
20910
-rm -rf conftest.dSYM
20911
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20912
conftest$ac_exeext conftest.$ac_ext
20913
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20914
@@ -18174,21 +18004,18 @@ case "(($ac_try" in
20915
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20916
*) ac_try_echo=$ac_try;;
20918
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20919
-$as_echo "$ac_try_echo") >&5
20920
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20921
(eval "$ac_link") 2>conftest.er1
20923
grep -v '^ *+' conftest.er1 >conftest.err
20925
cat conftest.err >&5
20926
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928
(exit $ac_status); } && {
20929
test -z "$ac_c_werror_flag" ||
20930
test ! -s conftest.err
20931
- } && test -s conftest$ac_exeext && {
20932
- test "$cross_compiling" = yes ||
20933
- $as_test_x conftest$ac_exeext
20935
+ } && test -s conftest$ac_exeext &&
20936
+ $as_test_x conftest$ac_exeext; then
20938
lt_aix_libpath_sed='
20939
/Import File Strings/,/^$/ {
20940
@@ -18203,13 +18030,12 @@ if test -z "$aix_libpath"; then
20941
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20944
- $as_echo "$as_me: failed program was:" >&5
20945
+ echo "$as_me: failed program was:" >&5
20946
sed 's/^/| /' conftest.$ac_ext >&5
20951
-rm -rf conftest.dSYM
20952
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20953
conftest$ac_exeext conftest.$ac_ext
20954
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20955
@@ -18442,7 +18268,7 @@ if test -z "$aix_libpath"; then aix_libp
20956
link_all_deplibs_GCJ=yes
20960
+ netbsd* | netbsdelf*-gnu)
20961
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20962
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
20964
@@ -18661,8 +18487,8 @@ if test -z "$aix_libpath"; then aix_libp
20968
-{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
20969
-$as_echo "$ld_shlibs_GCJ" >&6; }
20970
+{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
20971
+echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
20972
test "$ld_shlibs_GCJ" = no && can_build_shared=no
20975
@@ -18682,15 +18508,15 @@ x|xyes)
20976
# Test whether the compiler implicitly links with -lc since on some
20977
# systems, -lgcc has to come before -lc. If gcc already passes -lc
20978
# to ld, don't add -lc before -lgcc.
20979
- { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20980
-$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
20981
+ { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20982
+echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20984
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20986
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20987
(eval $ac_compile) 2>&5
20989
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
20991
(exit $ac_status); } 2>conftest.err; then
20994
@@ -18708,7 +18534,7 @@ $as_echo_n "checking whether -lc should
20995
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20996
(eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20998
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000
(exit $ac_status); }
21002
archive_cmds_need_lc_GCJ=no
21003
@@ -18720,16 +18546,16 @@ $as_echo_n "checking whether -lc should
21004
cat conftest.err 1>&5
21007
- { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
21008
-$as_echo "$archive_cmds_need_lc_GCJ" >&6; }
21009
+ { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
21010
+echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
21017
-{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
21018
-$as_echo_n "checking dynamic linker characteristics... " >&6; }
21019
+{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
21020
+echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
21021
library_names_spec=
21022
libname_spec='lib$name'
21024
@@ -19085,13 +18911,11 @@ linux* | k*bsd*-gnu)
21025
# Some rework will be needed to allow for fast_install
21026
# before this can be enabled.
21027
hardcode_into_libs=yes
21028
- sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
21029
- sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
21031
# Append ld.so.conf contents to the search path
21032
if test -f /etc/ld.so.conf; then
21033
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
21034
- sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
21035
+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
21038
# We used to test for /lib/ld.so.1 and disable shared libraries on
21039
@@ -19103,6 +18927,18 @@ linux* | k*bsd*-gnu)
21040
dynamic_linker='GNU/Linux ld.so'
21044
+ version_type=linux
21045
+ need_lib_prefix=no
21047
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21048
+ soname_spec='${libname}${release}${shared_ext}$major'
21049
+ shlibpath_var=LD_LIBRARY_PATH
21050
+ shlibpath_overrides_runpath=no
21051
+ hardcode_into_libs=yes
21052
+ dynamic_linker='NetBSD ld.elf_so'
21058
@@ -19280,19 +19116,19 @@ uts4*)
21062
-{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
21063
-$as_echo "$dynamic_linker" >&6; }
21064
+{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
21065
+echo "${ECHO_T}$dynamic_linker" >&6; }
21066
test "$dynamic_linker" = no && can_build_shared=no
21068
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
21069
- $as_echo_n "(cached) " >&6
21070
+ echo $ECHO_N "(cached) $ECHO_C" >&6
21072
lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
21075
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
21076
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
21077
- $as_echo_n "(cached) " >&6
21078
+ echo $ECHO_N "(cached) $ECHO_C" >&6
21080
lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
21082
@@ -19304,8 +19140,8 @@ if test "$GCC" = yes; then
21083
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
21086
-{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
21087
-$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
21088
+{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
21089
+echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
21090
hardcode_action_GCJ=
21091
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
21092
test -n "$runpath_var_GCJ" || \
21093
@@ -19329,8 +19165,8 @@ else
21095
hardcode_action_GCJ=unsupported
21097
-{ $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
21098
-$as_echo "$hardcode_action_GCJ" >&6; }
21099
+{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
21100
+echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
21102
if test "$hardcode_action_GCJ" = relink; then
21103
# Fast installation is not supported
21104
@@ -20253,8 +20089,8 @@ CC="$lt_save_CC"
21108
- { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
21109
-$as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
21110
+ { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
21111
+echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
21112
{ (exit 1); exit 1; }; }
21115
@@ -20273,8 +20109,8 @@ $as_echo "$as_me: error: Unsupported tag
21119
- { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
21120
-$as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
21121
+ { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
21122
+echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
21123
{ (exit 1); exit 1; }; }
21126
@@ -20309,8 +20145,8 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtoo
21130
-{ $as_echo "$as_me:$LINENO: checking for Win32" >&5
21131
-$as_echo_n "checking for Win32... " >&6; }
21132
+{ echo "$as_me:$LINENO: checking for Win32" >&5
21133
+echo $ECHO_N "checking for Win32... $ECHO_C" >&6; }
21136
gail_native_win32=yes
21137
@@ -20319,8 +20155,8 @@ case "$host" in
21138
gail_native_win32=no
21141
-{ $as_echo "$as_me:$LINENO: result: $gail_native_win32" >&5
21142
-$as_echo "$gail_native_win32" >&6; }
21143
+{ echo "$as_me:$LINENO: result: $gail_native_win32" >&5
21144
+echo "${ECHO_T}$gail_native_win32" >&6; }
21145
if test "$gail_native_win32" = "yes"; then
21148
@@ -20333,10 +20169,10 @@ fi
21149
if test "$gail_native_win32" = "yes"; then
21150
# Extract the first word of "lib.exe", so it can be a program name with args.
21151
set dummy lib.exe; ac_word=$2
21152
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21153
-$as_echo_n "checking for $ac_word... " >&6; }
21154
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21155
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21156
if test "${ac_cv_prog_ms_librarian+set}" = set; then
21157
- $as_echo_n "(cached) " >&6
21158
+ echo $ECHO_N "(cached) $ECHO_C" >&6
21160
if test -n "$ms_librarian"; then
21161
ac_cv_prog_ms_librarian="$ms_librarian" # Let the user override the test.
21162
@@ -20349,7 +20185,7 @@ do
21163
for ac_exec_ext in '' $ac_executable_extensions; do
21164
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21165
ac_cv_prog_ms_librarian="yes"
21166
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21167
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21171
@@ -20361,11 +20197,11 @@ fi
21173
ms_librarian=$ac_cv_prog_ms_librarian
21174
if test -n "$ms_librarian"; then
21175
- { $as_echo "$as_me:$LINENO: result: $ms_librarian" >&5
21176
-$as_echo "$ms_librarian" >&6; }
21177
+ { echo "$as_me:$LINENO: result: $ms_librarian" >&5
21178
+echo "${ECHO_T}$ms_librarian" >&6; }
21180
- { $as_echo "$as_me:$LINENO: result: no" >&5
21181
-$as_echo "no" >&6; }
21182
+ { echo "$as_me:$LINENO: result: no" >&5
21183
+echo "${ECHO_T}no" >&6; }
21187
@@ -20440,8 +20276,8 @@ fi
21188
for option in -Wno-sign-compare; do
21189
SAVE_CFLAGS="$CFLAGS"
21190
CFLAGS="$CFLAGS $option"
21191
- { $as_echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
21192
-$as_echo_n "checking whether gcc understands $option... " >&6; }
21193
+ { echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
21194
+echo $ECHO_N "checking whether gcc understands $option... $ECHO_C" >&6; }
21195
cat >conftest.$ac_ext <<_ACEOF
21198
@@ -20463,21 +20299,20 @@ case "(($ac_try" in
21199
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21200
*) ac_try_echo=$ac_try;;
21202
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21203
-$as_echo "$ac_try_echo") >&5
21204
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21205
(eval "$ac_compile") 2>conftest.er1
21207
grep -v '^ *+' conftest.er1 >conftest.err
21209
cat conftest.err >&5
21210
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
21212
(exit $ac_status); } && {
21213
test -z "$ac_c_werror_flag" ||
21214
test ! -s conftest.err
21215
} && test -s conftest.$ac_objext; then
21218
- $as_echo "$as_me: failed program was:" >&5
21219
+ echo "$as_me: failed program was:" >&5
21220
sed 's/^/| /' conftest.$ac_ext >&5
21223
@@ -20485,8 +20320,8 @@ fi
21225
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21226
CFLAGS="$SAVE_CFLAGS"
21227
- { $as_echo "$as_me:$LINENO: result: $has_option" >&5
21228
-$as_echo "$has_option" >&6; }
21229
+ { echo "$as_me:$LINENO: result: $has_option" >&5
21230
+echo "${ECHO_T}$has_option" >&6; }
21231
if test $has_option = yes; then
21232
warning_flags="$warning_flags $option"
21234
@@ -20499,16 +20334,16 @@ $as_echo "$has_option" >&6; }
21238
- { { $as_echo "$as_me:$LINENO: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&5
21239
-$as_echo "$as_me: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&2;}
21240
+ { { echo "$as_me:$LINENO: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&5
21241
+echo "$as_me: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&2;}
21242
{ (exit 1); exit 1; }; }
21245
CFLAGS="$realsave_CFLAGS"
21246
- { $as_echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
21247
-$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
21248
- { $as_echo "$as_me:$LINENO: result: $warning_flags" >&5
21249
-$as_echo "$warning_flags" >&6; }
21250
+ { echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
21251
+echo $ECHO_N "checking what warning flags to pass to the C compiler... $ECHO_C" >&6; }
21252
+ { echo "$as_me:$LINENO: result: $warning_flags" >&5
21253
+echo "${ECHO_T}$warning_flags" >&6; }
21255
# Check whether --enable-iso-c was given.
21256
if test "${enable_iso_c+set}" = set; then
21257
@@ -20518,8 +20353,8 @@ else
21261
- { $as_echo "$as_me:$LINENO: checking what language compliance flags to pass to the C compiler" >&5
21262
-$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
21263
+ { echo "$as_me:$LINENO: checking what language compliance flags to pass to the C compiler" >&5
21264
+echo $ECHO_N "checking what language compliance flags to pass to the C compiler... $ECHO_C" >&6; }
21266
if test "x$enable_iso_c" != "xno"; then
21267
if test "x$GCC" = "xyes"; then
21268
@@ -20533,8 +20368,8 @@ $as_echo_n "checking what language compl
21272
- { $as_echo "$as_me:$LINENO: result: $complCFLAGS" >&5
21273
-$as_echo "$complCFLAGS" >&6; }
21274
+ { echo "$as_me:$LINENO: result: $complCFLAGS" >&5
21275
+echo "${ECHO_T}$complCFLAGS" >&6; }
21277
WARN_CFLAGS="$warning_flags $complCFLAGS"
21279
@@ -20549,17 +20384,17 @@ fi
21281
# FIXME: is this still needed?
21282
# Cache $ACLOCAL_FLAGS
21283
-{ $as_echo "$as_me:$LINENO: checking for aclocal flags" >&5
21284
-$as_echo_n "checking for aclocal flags... " >&6; }
21285
+{ echo "$as_me:$LINENO: checking for aclocal flags" >&5
21286
+echo $ECHO_N "checking for aclocal flags... $ECHO_C" >&6; }
21287
if test "${ac_cv_atk_aclocal_flags+set}" = set; then
21288
- $as_echo_n "(cached) " >&6
21289
+ echo $ECHO_N "(cached) $ECHO_C" >&6
21292
ac_cv_atk_aclocal_flags="$ACLOCAL_FLAGS"
21295
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_atk_aclocal_flags" >&5
21296
-$as_echo "$ac_cv_atk_aclocal_flags" >&6; }
21297
+{ echo "$as_me:$LINENO: result: $ac_cv_atk_aclocal_flags" >&5
21298
+echo "${ECHO_T}$ac_cv_atk_aclocal_flags" >&6; }
21299
ACLOCAL="$ACLOCAL $ac_cv_atk_aclocal_flags"
21302
@@ -20585,10 +20420,10 @@ if test "x$ac_cv_env_PKG_CONFIG_set" !=
21303
if test -n "$ac_tool_prefix"; then
21304
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21305
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21306
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21307
-$as_echo_n "checking for $ac_word... " >&6; }
21308
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21309
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21310
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21311
- $as_echo_n "(cached) " >&6
21312
+ echo $ECHO_N "(cached) $ECHO_C" >&6
21314
case $PKG_CONFIG in
21316
@@ -20603,7 +20438,7 @@ do
21317
for ac_exec_ext in '' $ac_executable_extensions; do
21318
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21319
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21320
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21321
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21325
@@ -20615,11 +20450,11 @@ esac
21327
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21328
if test -n "$PKG_CONFIG"; then
21329
- { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21330
-$as_echo "$PKG_CONFIG" >&6; }
21331
+ { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21332
+echo "${ECHO_T}$PKG_CONFIG" >&6; }
21334
- { $as_echo "$as_me:$LINENO: result: no" >&5
21335
-$as_echo "no" >&6; }
21336
+ { echo "$as_me:$LINENO: result: no" >&5
21337
+echo "${ECHO_T}no" >&6; }
21341
@@ -20628,10 +20463,10 @@ if test -z "$ac_cv_path_PKG_CONFIG"; the
21342
ac_pt_PKG_CONFIG=$PKG_CONFIG
21343
# Extract the first word of "pkg-config", so it can be a program name with args.
21344
set dummy pkg-config; ac_word=$2
21345
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21346
-$as_echo_n "checking for $ac_word... " >&6; }
21347
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21348
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21349
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
21350
- $as_echo_n "(cached) " >&6
21351
+ echo $ECHO_N "(cached) $ECHO_C" >&6
21353
case $ac_pt_PKG_CONFIG in
21355
@@ -20646,7 +20481,7 @@ do
21356
for ac_exec_ext in '' $ac_executable_extensions; do
21357
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21358
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21359
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21360
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21364
@@ -20658,11 +20493,11 @@ esac
21366
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
21367
if test -n "$ac_pt_PKG_CONFIG"; then
21368
- { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
21369
-$as_echo "$ac_pt_PKG_CONFIG" >&6; }
21370
+ { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
21371
+echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
21373
- { $as_echo "$as_me:$LINENO: result: no" >&5
21374
-$as_echo "no" >&6; }
21375
+ { echo "$as_me:$LINENO: result: no" >&5
21376
+echo "${ECHO_T}no" >&6; }
21379
if test "x$ac_pt_PKG_CONFIG" = x; then
21380
@@ -20670,10 +20505,10 @@ fi
21382
case $cross_compiling:$ac_tool_warned in
21384
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
21385
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
21386
whose name does not start with the host triplet. If you think this
21387
configuration is useful to you, please write to autoconf@gnu.org." >&5
21388
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
21389
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
21390
whose name does not start with the host triplet. If you think this
21391
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
21392
ac_tool_warned=yes ;;
21393
@@ -20687,28 +20522,29 @@ fi
21395
if test -n "$PKG_CONFIG"; then
21396
_pkg_min_version=0.9.0
21397
- { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
21398
-$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
21399
+ { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
21400
+echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
21401
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
21402
- { $as_echo "$as_me:$LINENO: result: yes" >&5
21403
-$as_echo "yes" >&6; }
21404
+ { echo "$as_me:$LINENO: result: yes" >&5
21405
+echo "${ECHO_T}yes" >&6; }
21407
- { $as_echo "$as_me:$LINENO: result: no" >&5
21408
-$as_echo "no" >&6; }
21409
+ { echo "$as_me:$LINENO: result: no" >&5
21410
+echo "${ECHO_T}no" >&6; }
21417
-{ $as_echo "$as_me:$LINENO: checking for DEPS" >&5
21418
-$as_echo_n "checking for DEPS... " >&6; }
21419
+{ echo "$as_me:$LINENO: checking for DEPS" >&5
21420
+echo $ECHO_N "checking for DEPS... $ECHO_C" >&6; }
21422
-if test -n "$DEPS_CFLAGS"; then
21423
- pkg_cv_DEPS_CFLAGS="$DEPS_CFLAGS"
21424
- elif test -n "$PKG_CONFIG"; then
21425
- if test -n "$PKG_CONFIG" && \
21426
- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"
21427
+if test -n "$PKG_CONFIG"; then
21428
+ if test -n "$DEPS_CFLAGS"; then
21429
+ pkg_cv_DEPS_CFLAGS="$DEPS_CFLAGS"
21431
+ if test -n "$PKG_CONFIG" && \
21432
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"
21433
\$ATK_PACKAGES >= \$ATK_REQUIRED_VERSION
21434
\$GTK_PACKAGES >= \$GTK_REQUIRED_VERSION
21435
\$LIBBONOBO_PACKAGES >= \$LIBBONOBO_REQUIRED_VERSION
21436
@@ -20725,7 +20561,7 @@ if test -n "$DEPS_CFLAGS"; then
21437
$AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION
21438
$PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION") 2>&5
21440
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442
(exit $ac_status); }; then
21443
pkg_cv_DEPS_CFLAGS=`$PKG_CONFIG --cflags "
21444
$ATK_PACKAGES >= $ATK_REQUIRED_VERSION
21445
@@ -20738,14 +20574,16 @@ if test -n "$DEPS_CFLAGS"; then
21450
- pkg_failed=untried
21453
+ pkg_failed=untried
21455
-if test -n "$DEPS_LIBS"; then
21456
- pkg_cv_DEPS_LIBS="$DEPS_LIBS"
21457
- elif test -n "$PKG_CONFIG"; then
21458
- if test -n "$PKG_CONFIG" && \
21459
- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"
21460
+if test -n "$PKG_CONFIG"; then
21461
+ if test -n "$DEPS_LIBS"; then
21462
+ pkg_cv_DEPS_LIBS="$DEPS_LIBS"
21464
+ if test -n "$PKG_CONFIG" && \
21465
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"
21466
\$ATK_PACKAGES >= \$ATK_REQUIRED_VERSION
21467
\$GTK_PACKAGES >= \$GTK_REQUIRED_VERSION
21468
\$LIBBONOBO_PACKAGES >= \$LIBBONOBO_REQUIRED_VERSION
21469
@@ -20762,7 +20600,7 @@ if test -n "$DEPS_LIBS"; then
21470
$AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION
21471
$PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION") 2>&5
21473
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21474
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
21475
(exit $ac_status); }; then
21476
pkg_cv_DEPS_LIBS=`$PKG_CONFIG --libs "
21477
$ATK_PACKAGES >= $ATK_REQUIRED_VERSION
21478
@@ -20775,8 +20613,9 @@ if test -n "$DEPS_LIBS"; then
21483
- pkg_failed=untried
21486
+ pkg_failed=untried
21490
@@ -20789,28 +20628,28 @@ else
21491
_pkg_short_errors_supported=no
21493
if test $_pkg_short_errors_supported = yes; then
21494
- DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
21495
+ DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "
21496
$ATK_PACKAGES >= $ATK_REQUIRED_VERSION
21497
$GTK_PACKAGES >= $GTK_REQUIRED_VERSION
21498
$LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION
21499
$LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION
21500
$LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION
21501
$AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION
21502
- $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION" 2>&1`
21503
+ $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION"`
21505
- DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "
21506
+ DEPS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "
21507
$ATK_PACKAGES >= $ATK_REQUIRED_VERSION
21508
$GTK_PACKAGES >= $GTK_REQUIRED_VERSION
21509
$LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION
21510
$LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION
21511
$LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION
21512
$AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION
21513
- $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION" 2>&1`
21514
+ $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION"`
21516
# Put the nasty error message in config.log where it belongs
21517
echo "$DEPS_PKG_ERRORS" >&5
21519
- { { $as_echo "$as_me:$LINENO: error: Package requirements (
21520
+ { { echo "$as_me:$LINENO: error: Package requirements (
21521
$ATK_PACKAGES >= $ATK_REQUIRED_VERSION
21522
$GTK_PACKAGES >= $GTK_REQUIRED_VERSION
21523
$LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION
21524
@@ -20828,7 +20667,7 @@ Alternatively, you may set the environme
21525
and DEPS_LIBS to avoid the need to call pkg-config.
21526
See the pkg-config man page for more details.
21528
-$as_echo "$as_me: error: Package requirements (
21529
+echo "$as_me: error: Package requirements (
21530
$ATK_PACKAGES >= $ATK_REQUIRED_VERSION
21531
$GTK_PACKAGES >= $GTK_REQUIRED_VERSION
21532
$LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION
21533
@@ -20848,7 +20687,7 @@ See the pkg-config man page for more det
21535
{ (exit 1); exit 1; }; }
21536
elif test $pkg_failed = untried; then
21537
- { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
21538
+ { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
21539
is in your PATH or set the PKG_CONFIG environment variable to the full
21540
path to pkg-config.
21542
@@ -20858,7 +20697,7 @@ See the pkg-config man page for more det
21544
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21545
See \`config.log' for more details." >&5
21546
-$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
21547
+echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
21548
is in your PATH or set the PKG_CONFIG environment variable to the full
21549
path to pkg-config.
21551
@@ -20872,21 +20711,22 @@ See \`config.log' for more details." >&2
21553
DEPS_CFLAGS=$pkg_cv_DEPS_CFLAGS
21554
DEPS_LIBS=$pkg_cv_DEPS_LIBS
21555
- { $as_echo "$as_me:$LINENO: result: yes" >&5
21556
-$as_echo "yes" >&6; }
21557
+ { echo "$as_me:$LINENO: result: yes" >&5
21558
+echo "${ECHO_T}yes" >&6; }
21564
-{ $as_echo "$as_me:$LINENO: checking for TEST" >&5
21565
-$as_echo_n "checking for TEST... " >&6; }
21566
+{ echo "$as_me:$LINENO: checking for TEST" >&5
21567
+echo $ECHO_N "checking for TEST... $ECHO_C" >&6; }
21569
-if test -n "$TEST_CFLAGS"; then
21570
- pkg_cv_TEST_CFLAGS="$TEST_CFLAGS"
21571
- elif test -n "$PKG_CONFIG"; then
21572
- if test -n "$PKG_CONFIG" && \
21573
- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"
21574
+if test -n "$PKG_CONFIG"; then
21575
+ if test -n "$TEST_CFLAGS"; then
21576
+ pkg_cv_TEST_CFLAGS="$TEST_CFLAGS"
21578
+ if test -n "$PKG_CONFIG" && \
21579
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"
21580
\$ATK_PACKAGES >= \$ATK_REQUIRED_VERSION
21581
\$GTK_PACKAGES >= \$GTK_REQUIRED_VERSION
21582
\$LIBBONOBO_PACKAGES >= \$LIBBONOBO_REQUIRED_VERSION
21583
@@ -20905,7 +20745,7 @@ if test -n "$TEST_CFLAGS"; then
21584
$CSPI_PACKAGES >= $CSPI_REQUIRED_VERSION
21585
$PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION") 2>&5
21587
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589
(exit $ac_status); }; then
21590
pkg_cv_TEST_CFLAGS=`$PKG_CONFIG --cflags "
21591
$ATK_PACKAGES >= $ATK_REQUIRED_VERSION
21592
@@ -20919,14 +20759,16 @@ if test -n "$TEST_CFLAGS"; then
21597
- pkg_failed=untried
21600
+ pkg_failed=untried
21602
-if test -n "$TEST_LIBS"; then
21603
- pkg_cv_TEST_LIBS="$TEST_LIBS"
21604
- elif test -n "$PKG_CONFIG"; then
21605
- if test -n "$PKG_CONFIG" && \
21606
- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"
21607
+if test -n "$PKG_CONFIG"; then
21608
+ if test -n "$TEST_LIBS"; then
21609
+ pkg_cv_TEST_LIBS="$TEST_LIBS"
21611
+ if test -n "$PKG_CONFIG" && \
21612
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"
21613
\$ATK_PACKAGES >= \$ATK_REQUIRED_VERSION
21614
\$GTK_PACKAGES >= \$GTK_REQUIRED_VERSION
21615
\$LIBBONOBO_PACKAGES >= \$LIBBONOBO_REQUIRED_VERSION
21616
@@ -20945,7 +20787,7 @@ if test -n "$TEST_LIBS"; then
21617
$CSPI_PACKAGES >= $CSPI_REQUIRED_VERSION
21618
$PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION") 2>&5
21620
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21621
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
21622
(exit $ac_status); }; then
21623
pkg_cv_TEST_LIBS=`$PKG_CONFIG --libs "
21624
$ATK_PACKAGES >= $ATK_REQUIRED_VERSION
21625
@@ -20959,8 +20801,9 @@ if test -n "$TEST_LIBS"; then
21630
- pkg_failed=untried
21633
+ pkg_failed=untried
21637
@@ -20973,7 +20816,7 @@ else
21638
_pkg_short_errors_supported=no
21640
if test $_pkg_short_errors_supported = yes; then
21641
- TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
21642
+ TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "
21643
$ATK_PACKAGES >= $ATK_REQUIRED_VERSION
21644
$GTK_PACKAGES >= $GTK_REQUIRED_VERSION
21645
$LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION
21646
@@ -20981,9 +20824,9 @@ fi
21647
$LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION
21648
$AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION
21649
$CSPI_PACKAGES >= $CSPI_REQUIRED_VERSION
21650
- $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION" 2>&1`
21651
+ $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION"`
21653
- TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "
21654
+ TEST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "
21655
$ATK_PACKAGES >= $ATK_REQUIRED_VERSION
21656
$GTK_PACKAGES >= $GTK_REQUIRED_VERSION
21657
$LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION
21658
@@ -20991,12 +20834,12 @@ fi
21659
$LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION
21660
$AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION
21661
$CSPI_PACKAGES >= $CSPI_REQUIRED_VERSION
21662
- $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION" 2>&1`
21663
+ $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION"`
21665
# Put the nasty error message in config.log where it belongs
21666
echo "$TEST_PKG_ERRORS" >&5
21668
- { { $as_echo "$as_me:$LINENO: error: Package requirements (
21669
+ { { echo "$as_me:$LINENO: error: Package requirements (
21670
$ATK_PACKAGES >= $ATK_REQUIRED_VERSION
21671
$GTK_PACKAGES >= $GTK_REQUIRED_VERSION
21672
$LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION
21673
@@ -21015,7 +20858,7 @@ Alternatively, you may set the environme
21674
and TEST_LIBS to avoid the need to call pkg-config.
21675
See the pkg-config man page for more details.
21677
-$as_echo "$as_me: error: Package requirements (
21678
+echo "$as_me: error: Package requirements (
21679
$ATK_PACKAGES >= $ATK_REQUIRED_VERSION
21680
$GTK_PACKAGES >= $GTK_REQUIRED_VERSION
21681
$LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION
21682
@@ -21036,7 +20879,7 @@ See the pkg-config man page for more det
21684
{ (exit 1); exit 1; }; }
21685
elif test $pkg_failed = untried; then
21686
- { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
21687
+ { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
21688
is in your PATH or set the PKG_CONFIG environment variable to the full
21689
path to pkg-config.
21691
@@ -21046,7 +20889,7 @@ See the pkg-config man page for more det
21693
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21694
See \`config.log' for more details." >&5
21695
-$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
21696
+echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
21697
is in your PATH or set the PKG_CONFIG environment variable to the full
21698
path to pkg-config.
21700
@@ -21060,8 +20903,8 @@ See \`config.log' for more details." >&2
21702
TEST_CFLAGS=$pkg_cv_TEST_CFLAGS
21703
TEST_LIBS=$pkg_cv_TEST_LIBS
21704
- { $as_echo "$as_me:$LINENO: result: yes" >&5
21705
-$as_echo "yes" >&6; }
21706
+ { echo "$as_me:$LINENO: result: yes" >&5
21707
+echo "${ECHO_T}yes" >&6; }
21711
@@ -21104,12 +20947,11 @@ _ACEOF
21715
- *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21716
-$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21717
+ *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21718
+echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21721
_ | IFS | as_nl) ;; #(
21722
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21723
*) $as_unset $ac_var ;;
21726
@@ -21142,12 +20984,12 @@ $as_echo "$as_me: WARNING: Cache variabl
21727
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21728
if test -w "$cache_file"; then
21729
test "x$cache_file" != "x/dev/null" &&
21730
- { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
21731
-$as_echo "$as_me: updating cache $cache_file" >&6;}
21732
+ { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21733
+echo "$as_me: updating cache $cache_file" >&6;}
21734
cat confcache >$cache_file
21736
- { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21737
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21738
+ { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21739
+echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21743
@@ -21163,7 +21005,7 @@ ac_ltlibobjs=
21744
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21745
# 1. Remove the extension, and $U if already installed.
21746
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21747
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21748
+ ac_i=`echo "$ac_i" | sed "$ac_script"`
21749
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21750
# will be set to the directory where LIBOBJS objects are built.
21751
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21752
@@ -21175,55 +21017,54 @@ LTLIBOBJS=$ac_ltlibobjs
21755
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21756
- { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
21757
+ { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
21758
Usually this means the macro was only invoked conditionally." >&5
21759
-$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
21760
+echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
21761
Usually this means the macro was only invoked conditionally." >&2;}
21762
{ (exit 1); exit 1; }; }
21764
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21765
- { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21766
+ { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21767
Usually this means the macro was only invoked conditionally." >&5
21768
-$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
21769
+echo "$as_me: error: conditional \"AMDEP\" was never defined.
21770
Usually this means the macro was only invoked conditionally." >&2;}
21771
{ (exit 1); exit 1; }; }
21773
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21774
- { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21775
+ { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21776
Usually this means the macro was only invoked conditionally." >&5
21777
-$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21778
+echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21779
Usually this means the macro was only invoked conditionally." >&2;}
21780
{ (exit 1); exit 1; }; }
21782
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21783
- { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21784
+ { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21785
Usually this means the macro was only invoked conditionally." >&5
21786
-$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
21787
+echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
21788
Usually this means the macro was only invoked conditionally." >&2;}
21789
{ (exit 1); exit 1; }; }
21791
if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
21792
- { { $as_echo "$as_me:$LINENO: error: conditional \"OS_WIN32\" was never defined.
21793
+ { { echo "$as_me:$LINENO: error: conditional \"OS_WIN32\" was never defined.
21794
Usually this means the macro was only invoked conditionally." >&5
21795
-$as_echo "$as_me: error: conditional \"OS_WIN32\" was never defined.
21796
+echo "$as_me: error: conditional \"OS_WIN32\" was never defined.
21797
Usually this means the macro was only invoked conditionally." >&2;}
21798
{ (exit 1); exit 1; }; }
21800
if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then
21801
- { { $as_echo "$as_me:$LINENO: error: conditional \"MS_LIB_AVAILABLE\" was never defined.
21802
+ { { echo "$as_me:$LINENO: error: conditional \"MS_LIB_AVAILABLE\" was never defined.
21803
Usually this means the macro was only invoked conditionally." >&5
21804
-$as_echo "$as_me: error: conditional \"MS_LIB_AVAILABLE\" was never defined.
21805
+echo "$as_me: error: conditional \"MS_LIB_AVAILABLE\" was never defined.
21806
Usually this means the macro was only invoked conditionally." >&2;}
21807
{ (exit 1); exit 1; }; }
21810
: ${CONFIG_STATUS=./config.status}
21812
ac_clean_files_save=$ac_clean_files
21813
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21814
-{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21815
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21816
-cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21817
+{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21818
+echo "$as_me: creating $CONFIG_STATUS" >&6;}
21819
+cat >$CONFIG_STATUS <<_ACEOF
21821
# Generated by $as_me.
21822
# Run this file to recreate the current configuration.
21823
@@ -21236,7 +21077,7 @@ ac_cs_silent=false
21824
SHELL=\${CONFIG_SHELL-$SHELL}
21827
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21828
+cat >>$CONFIG_STATUS <<\_ACEOF
21829
## --------------------- ##
21830
## M4sh Initialization. ##
21831
## --------------------- ##
21832
@@ -21246,7 +21087,7 @@ DUALCASE=1; export DUALCASE # for MKS sh
21833
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21836
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21837
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21838
# is contrary to our usage. Disable this feature.
21839
alias -g '${1+"$@"}'='"$@"'
21840
setopt NO_GLOB_SUBST
21841
@@ -21268,45 +21109,17 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTE
21842
as_cr_digits='0123456789'
21843
as_cr_alnum=$as_cr_Letters$as_cr_digits
21848
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
21849
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21850
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21851
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21852
-if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21853
- as_echo='printf %s\n'
21854
- as_echo_n='printf %s'
21856
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21857
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21858
- as_echo_n='/usr/ucb/echo -n'
21860
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21861
- as_echo_n_body='eval
21865
- expr "X$arg" : "X\\(.*\\)$as_nl";
21866
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21868
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21870
- export as_echo_n_body
21871
- as_echo_n='sh -c $as_echo_n_body as_echo'
21873
- export as_echo_body
21874
- as_echo='sh -c $as_echo_body as_echo'
21877
# The user is always right.
21878
if test "${PATH_SEPARATOR+set}" != set; then
21880
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21881
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21882
- PATH_SEPARATOR=';'
21884
+ echo "#! /bin/sh" >conf$$.sh
21885
+ echo "exit 0" >>conf$$.sh
21886
+ chmod +x conf$$.sh
21887
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21888
+ PATH_SEPARATOR=';'
21895
# Support unset when possible.
21896
@@ -21322,6 +21135,8 @@ fi
21897
# there to prevent editors from complaining about space-tab.
21898
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
21899
# splitting by setting IFS to empty value.)
21904
# Find who we are. Look in the path if we contain no directory separator.
21905
@@ -21344,7 +21159,7 @@ if test "x$as_myself" = x; then
21908
if test ! -f "$as_myself"; then
21909
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21910
+ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21911
{ (exit 1); exit 1; }
21914
@@ -21357,10 +21172,17 @@ PS2='> '
21923
+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21924
+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21925
+ LC_TELEPHONE LC_TIME
21927
+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21928
+ eval $as_var=C; export $as_var
21930
+ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21934
# Required to use basename.
21935
if expr a : '\(a\)' >/dev/null 2>&1 &&
21936
@@ -21382,7 +21204,7 @@ as_me=`$as_basename -- "$0" ||
21937
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21938
X"$0" : 'X\(//\)$' \| \
21939
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21942
sed '/^.*\/\([^/][^/]*\)\/*$/{
21945
@@ -21433,7 +21255,7 @@ $as_unset CDPATH
21947
' >$as_me.lineno &&
21948
chmod +x "$as_me.lineno" ||
21949
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21950
+ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21951
{ (exit 1); exit 1; }; }
21953
# Don't try to exec as it changes $[0], causing all sort of problems
21954
@@ -21461,6 +21283,7 @@ case `echo -n x` in
21959
if expr a : '\(a\)' >/dev/null 2>&1 &&
21960
test "X`expr 00001 : '.*\(...\)'`" = X001; then
21962
@@ -21473,22 +21296,19 @@ if test -d conf$$.dir; then
21963
rm -f conf$$.dir/conf$$.file
21966
- mkdir conf$$.dir 2>/dev/null
21969
-if (echo >conf$$.file) 2>/dev/null; then
21970
- if ln -s conf$$.file conf$$ 2>/dev/null; then
21972
- # ... but there are two gotchas:
21973
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21974
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21975
- # In both cases, we have to default to `cp -p'.
21976
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21978
- elif ln conf$$.file conf$$ 2>/dev/null; then
21982
+if ln -s conf$$.file conf$$ 2>/dev/null; then
21984
+ # ... but there are two gotchas:
21985
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21986
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21987
+ # In both cases, we have to default to `cp -p'.
21988
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21991
+elif ln conf$$.file conf$$ 2>/dev/null; then
21996
@@ -21513,10 +21333,10 @@ else
21999
if test -d "$1"; then
22007
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22008
???[sx]*):;;*)false;;esac;fi
22009
@@ -21539,7 +21359,7 @@ exec 6>&1
22010
# values after options handling.
22012
This file was extended by Gail GNOME $as_me 1.20.1, which was
22013
-generated by GNU Autoconf 2.62. Invocation command line was
22014
+generated by GNU Autoconf 2.61. Invocation command line was
22016
CONFIG_FILES = $CONFIG_FILES
22017
CONFIG_HEADERS = $CONFIG_HEADERS
22018
@@ -21552,7 +21372,7 @@ on `(hostname || uname -n) 2>/dev/null |
22022
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22023
+cat >>$CONFIG_STATUS <<_ACEOF
22024
# Files that config.status was made for.
22025
config_files="$ac_config_files"
22026
config_headers="$ac_config_headers"
22027
@@ -21560,7 +21380,7 @@ config_commands="$ac_config_commands"
22031
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22032
+cat >>$CONFIG_STATUS <<\_ACEOF
22034
\`$as_me' instantiates files from templates according to the
22035
current configuration.
22036
@@ -21573,9 +21393,9 @@ Usage: $0 [OPTIONS] [FILE]...
22037
-d, --debug don't remove temporary files
22038
--recheck update $as_me by reconfiguring in the same conditions
22039
--file=FILE[:TEMPLATE]
22040
- instantiate the configuration file FILE
22041
+ instantiate the configuration file FILE
22042
--header=FILE[:TEMPLATE]
22043
- instantiate the configuration header FILE
22044
+ instantiate the configuration header FILE
22046
Configuration files:
22048
@@ -21589,13 +21409,13 @@ $config_commands
22049
Report bugs to <bug-autoconf@gnu.org>."
22052
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22053
+cat >>$CONFIG_STATUS <<_ACEOF
22055
Gail GNOME config.status 1.20.1
22056
-configured by $0, generated by GNU Autoconf 2.62,
22057
- with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22058
+configured by $0, generated by GNU Autoconf 2.61,
22059
+ with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22061
-Copyright (C) 2008 Free Software Foundation, Inc.
22062
+Copyright (C) 2006 Free Software Foundation, Inc.
22063
This config.status script is free software; the Free Software Foundation
22064
gives unlimited permission to copy, distribute and modify it."
22066
@@ -21603,12 +21423,11 @@ ac_pwd='$ac_pwd'
22071
-test -n "\$AWK" || AWK=awk
22074
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22075
-# The default lists apply if the user does not specify any file.
22076
+cat >>$CONFIG_STATUS <<\_ACEOF
22077
+# If no file are specified by the user, then we need to provide default
22078
+# value. By we need to know if files were specified by the user.
22082
@@ -21630,36 +21449,30 @@ do
22083
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22085
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22086
- $as_echo "$ac_cs_version"; exit ;;
22087
+ echo "$ac_cs_version"; exit ;;
22088
--debug | --debu | --deb | --de | --d | -d )
22090
--file | --fil | --fi | --f )
22092
- case $ac_optarg in
22093
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22095
- CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
22096
+ CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22097
ac_need_defaults=false;;
22098
--header | --heade | --head | --hea )
22100
- case $ac_optarg in
22101
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22103
- CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
22104
+ CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22105
ac_need_defaults=false;;
22107
# Conflict between --help and --header
22108
- { $as_echo "$as_me: error: ambiguous option: $1
22109
+ { echo "$as_me: error: ambiguous option: $1
22110
Try \`$0 --help' for more information." >&2
22111
{ (exit 1); exit 1; }; };;
22112
--help | --hel | -h )
22113
- $as_echo "$ac_cs_usage"; exit ;;
22114
+ echo "$ac_cs_usage"; exit ;;
22115
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
22116
| -silent | --silent | --silen | --sile | --sil | --si | --s)
22119
# This is an error.
22120
- -*) { $as_echo "$as_me: error: unrecognized option: $1
22121
+ -*) { echo "$as_me: error: unrecognized option: $1
22122
Try \`$0 --help' for more information." >&2
22123
{ (exit 1); exit 1; }; } ;;
22125
@@ -21678,29 +21491,27 @@ if $ac_cs_silent; then
22129
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22130
+cat >>$CONFIG_STATUS <<_ACEOF
22131
if \$ac_cs_recheck; then
22132
- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22134
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22135
- CONFIG_SHELL='$SHELL'
22136
+ echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22137
+ CONFIG_SHELL=$SHELL
22138
export CONFIG_SHELL
22140
+ exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22144
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22145
+cat >>$CONFIG_STATUS <<\_ACEOF
22149
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22150
## Running $as_me. ##
22152
- $as_echo "$ac_log"
22157
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22158
+cat >>$CONFIG_STATUS <<_ACEOF
22162
@@ -21708,7 +21519,7 @@ AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
22166
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22167
+cat >>$CONFIG_STATUS <<\_ACEOF
22169
# Handling of arguments.
22170
for ac_config_target in $ac_config_targets
22171
@@ -21721,8 +21532,8 @@ do
22172
"gail-gnome/Makefile") CONFIG_FILES="$CONFIG_FILES gail-gnome/Makefile" ;;
22173
"test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
22175
- *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22176
-$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22177
+ *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22178
+echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22179
{ (exit 1); exit 1; }; };;
22182
@@ -21763,143 +21574,243 @@ $debug ||
22183
(umask 077 && mkdir "$tmp")
22186
- $as_echo "$as_me: cannot create a temporary directory in ." >&2
22187
+ echo "$me: cannot create a temporary directory in ." >&2
22188
{ (exit 1); exit 1; }
22191
-# Set up the scripts for CONFIG_FILES section.
22192
-# No need to generate them if there are no CONFIG_FILES.
22193
-# This happens for instance with `./config.status config.h'.
22194
-if test -n "$CONFIG_FILES"; then
22197
+# Set up the sed scripts for CONFIG_FILES section.
22201
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22202
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22203
- ac_cs_awk_cr='\\r'
22205
- ac_cs_awk_cr=$ac_cr
22207
+# No need to generate the scripts if there are no CONFIG_FILES.
22208
+# This happens for instance when ./config.status config.h
22209
+if test -n "$CONFIG_FILES"; then
22211
-echo 'BEGIN {' >"$tmp/subs1.awk" &&
22216
- echo "cat >conf$$subs.awk <<_ACEOF" &&
22217
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22219
-} >conf$$subs.sh ||
22220
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22221
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22222
- { (exit 1); exit 1; }; }
22223
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
22226
for ac_last_try in false false false false false :; do
22227
- . ./conf$$subs.sh ||
22228
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22229
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22230
- { (exit 1); exit 1; }; }
22231
+ cat >conf$$subs.sed <<_ACEOF
22232
+SHELL!$SHELL$ac_delim
22233
+PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22234
+PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22235
+PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22236
+PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22237
+PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22238
+PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22239
+exec_prefix!$exec_prefix$ac_delim
22240
+prefix!$prefix$ac_delim
22241
+program_transform_name!$program_transform_name$ac_delim
22242
+bindir!$bindir$ac_delim
22243
+sbindir!$sbindir$ac_delim
22244
+libexecdir!$libexecdir$ac_delim
22245
+datarootdir!$datarootdir$ac_delim
22246
+datadir!$datadir$ac_delim
22247
+sysconfdir!$sysconfdir$ac_delim
22248
+sharedstatedir!$sharedstatedir$ac_delim
22249
+localstatedir!$localstatedir$ac_delim
22250
+includedir!$includedir$ac_delim
22251
+oldincludedir!$oldincludedir$ac_delim
22252
+docdir!$docdir$ac_delim
22253
+infodir!$infodir$ac_delim
22254
+htmldir!$htmldir$ac_delim
22255
+dvidir!$dvidir$ac_delim
22256
+pdfdir!$pdfdir$ac_delim
22257
+psdir!$psdir$ac_delim
22258
+libdir!$libdir$ac_delim
22259
+localedir!$localedir$ac_delim
22260
+mandir!$mandir$ac_delim
22261
+DEFS!$DEFS$ac_delim
22262
+ECHO_C!$ECHO_C$ac_delim
22263
+ECHO_N!$ECHO_N$ac_delim
22264
+ECHO_T!$ECHO_T$ac_delim
22265
+LIBS!$LIBS$ac_delim
22266
+build_alias!$build_alias$ac_delim
22267
+host_alias!$host_alias$ac_delim
22268
+target_alias!$target_alias$ac_delim
22269
+INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22270
+INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22271
+INSTALL_DATA!$INSTALL_DATA$ac_delim
22272
+am__isrc!$am__isrc$ac_delim
22273
+CYGPATH_W!$CYGPATH_W$ac_delim
22274
+PACKAGE!$PACKAGE$ac_delim
22275
+VERSION!$VERSION$ac_delim
22276
+ACLOCAL!$ACLOCAL$ac_delim
22277
+AUTOCONF!$AUTOCONF$ac_delim
22278
+AUTOMAKE!$AUTOMAKE$ac_delim
22279
+AUTOHEADER!$AUTOHEADER$ac_delim
22280
+MAKEINFO!$MAKEINFO$ac_delim
22281
+install_sh!$install_sh$ac_delim
22282
+STRIP!$STRIP$ac_delim
22283
+INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
22284
+mkdir_p!$mkdir_p$ac_delim
22286
+SET_MAKE!$SET_MAKE$ac_delim
22287
+am__leading_dot!$am__leading_dot$ac_delim
22288
+AMTAR!$AMTAR$ac_delim
22289
+am__tar!$am__tar$ac_delim
22290
+am__untar!$am__untar$ac_delim
22291
+MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
22292
+MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
22293
+MAINT!$MAINT$ac_delim
22294
+GAIL_GNOME_MAJOR_VERSION!$GAIL_GNOME_MAJOR_VERSION$ac_delim
22295
+GAIL_GNOME_MINOR_VERSION!$GAIL_GNOME_MINOR_VERSION$ac_delim
22296
+GAIL_GNOME_MICRO_VERSION!$GAIL_GNOME_MICRO_VERSION$ac_delim
22297
+GAIL_GNOME_VERSION!$GAIL_GNOME_VERSION$ac_delim
22298
+LT_RELEASE!$LT_RELEASE$ac_delim
22299
+LT_CURRENT!$LT_CURRENT$ac_delim
22300
+LT_REVISION!$LT_REVISION$ac_delim
22301
+LT_AGE!$LT_AGE$ac_delim
22302
+LT_CURRENT_MINUS_AGE!$LT_CURRENT_MINUS_AGE$ac_delim
22304
+CFLAGS!$CFLAGS$ac_delim
22305
+LDFLAGS!$LDFLAGS$ac_delim
22306
+CPPFLAGS!$CPPFLAGS$ac_delim
22307
+ac_ct_CC!$ac_ct_CC$ac_delim
22308
+EXEEXT!$EXEEXT$ac_delim
22309
+OBJEXT!$OBJEXT$ac_delim
22310
+DEPDIR!$DEPDIR$ac_delim
22311
+am__include!$am__include$ac_delim
22312
+am__quote!$am__quote$ac_delim
22313
+AMDEP_TRUE!$AMDEP_TRUE$ac_delim
22314
+AMDEP_FALSE!$AMDEP_FALSE$ac_delim
22315
+AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
22316
+CCDEPMODE!$CCDEPMODE$ac_delim
22317
+am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
22318
+am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
22319
+build!$build$ac_delim
22320
+build_cpu!$build_cpu$ac_delim
22321
+build_vendor!$build_vendor$ac_delim
22322
+build_os!$build_os$ac_delim
22323
+host!$host$ac_delim
22324
+host_cpu!$host_cpu$ac_delim
22325
+host_vendor!$host_vendor$ac_delim
22326
+host_os!$host_os$ac_delim
22328
+GREP!$GREP$ac_delim
22331
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
22332
+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22334
elif $ac_last_try; then
22335
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22336
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22337
+ { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22338
+echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22339
{ (exit 1); exit 1; }; }
22341
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22344
-rm -f conf$$subs.sh
22346
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22347
-cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
22351
-s/^/S["/; s/!.*/"]=/
22357
-s/'"$ac_delim"'$//
22361
-s/\(.\{148\}\).*/\1/
22363
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22368
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22375
-s/\(.\{148\}\).*/\1/
22377
-s/["\\]/\\&/g; s/^/"/; s/$/"/
22381
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22386
-' <conf$$subs.awk | sed '
22391
-' >>$CONFIG_STATUS || ac_write_fail=1
22392
-rm -f conf$$subs.awk
22393
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22395
-cat >>"\$tmp/subs1.awk" <<_ACAWK &&
22396
- for (key in S) S_is_set[key] = 1
22398
+ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22399
+if test -n "$ac_eof"; then
22400
+ ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22401
+ ac_eof=`expr $ac_eof + 1`
22407
- nfields = split(line, field, "@")
22409
- len = length(field[1])
22410
- for (i = 2; i < nfields; i++) {
22412
- keylen = length(key)
22413
- if (S_is_set[key]) {
22415
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22416
- len += length(value) + length(field[++i])
22419
- len += 1 + keylen
22421
+cat >>$CONFIG_STATUS <<_ACEOF
22422
+cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22423
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22426
+s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22427
+s/^/s,@/; s/!/@,|#_!!_#|/
22430
+s/'"$ac_delim"'$/,g/; t
22432
+N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22433
+' >>$CONFIG_STATUS <conf$$subs.sed
22434
+rm -f conf$$subs.sed
22435
+cat >>$CONFIG_STATUS <<_ACEOF
22444
+for ac_last_try in false false false false false :; do
22445
+ cat >conf$$subs.sed <<_ACEOF
22446
+EGREP!$EGREP$ac_delim
22447
+LN_S!$LN_S$ac_delim
22448
+ECHO!$ECHO$ac_delim
22450
+RANLIB!$RANLIB$ac_delim
22451
+DSYMUTIL!$DSYMUTIL$ac_delim
22452
+NMEDIT!$NMEDIT$ac_delim
22453
+DLLTOOL!$DLLTOOL$ac_delim
22455
+OBJDUMP!$OBJDUMP$ac_delim
22458
+CXXFLAGS!$CXXFLAGS$ac_delim
22459
+ac_ct_CXX!$ac_ct_CXX$ac_delim
22460
+CXXDEPMODE!$CXXDEPMODE$ac_delim
22461
+am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
22462
+am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
22463
+CXXCPP!$CXXCPP$ac_delim
22465
+FFLAGS!$FFLAGS$ac_delim
22466
+ac_ct_F77!$ac_ct_F77$ac_delim
22467
+LIBTOOL!$LIBTOOL$ac_delim
22468
+OS_WIN32_TRUE!$OS_WIN32_TRUE$ac_delim
22469
+OS_WIN32_FALSE!$OS_WIN32_FALSE$ac_delim
22470
+ms_librarian!$ms_librarian$ac_delim
22471
+MS_LIB_AVAILABLE_TRUE!$MS_LIB_AVAILABLE_TRUE$ac_delim
22472
+MS_LIB_AVAILABLE_FALSE!$MS_LIB_AVAILABLE_FALSE$ac_delim
22473
+ACLOCAL_AMFLAGS!$ACLOCAL_AMFLAGS$ac_delim
22474
+WARN_CFLAGS!$WARN_CFLAGS$ac_delim
22475
+GAIL_GNOME_DEBUG_CFLAGS!$GAIL_GNOME_DEBUG_CFLAGS$ac_delim
22476
+PKG_CONFIG!$PKG_CONFIG$ac_delim
22477
+DEPS_CFLAGS!$DEPS_CFLAGS$ac_delim
22478
+DEPS_LIBS!$DEPS_LIBS$ac_delim
22479
+TEST_CFLAGS!$TEST_CFLAGS$ac_delim
22480
+TEST_LIBS!$TEST_LIBS$ac_delim
22481
+AM_CPPFLAGS!$AM_CPPFLAGS$ac_delim
22482
+AM_CFLAGS!$AM_CFLAGS$ac_delim
22483
+AM_LDFLAGS!$AM_LDFLAGS$ac_delim
22484
+LIBOBJS!$LIBOBJS$ac_delim
22485
+LTLIBOBJS!$LTLIBOBJS$ac_delim
22487
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22488
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22489
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22492
-fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
22493
- || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
22494
-$as_echo "$as_me: error: could not setup config files machinery" >&2;}
22496
+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 40; then
22498
+ elif $ac_last_try; then
22499
+ { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22500
+echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22501
{ (exit 1); exit 1; }; }
22503
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22507
+ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22508
+if test -n "$ac_eof"; then
22509
+ ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22510
+ ac_eof=`expr $ac_eof + 1`
22513
+cat >>$CONFIG_STATUS <<_ACEOF
22514
+cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22515
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22518
+s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22519
+s/^/s,@/; s/!/@,|#_!!_#|/
22522
+s/'"$ac_delim"'$/,g/; t
22524
+N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22525
+' >>$CONFIG_STATUS <conf$$subs.sed
22526
+rm -f conf$$subs.sed
22527
+cat >>$CONFIG_STATUS <<_ACEOF
22534
# VPATH may cause trouble with some makes, so we remove $(srcdir),
22535
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22536
# trailing colons and then remove the whole line if VPATH becomes empty
22537
@@ -21915,133 +21826,19 @@ s/^[^=]*=[ ]*$//
22541
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22542
+cat >>$CONFIG_STATUS <<\_ACEOF
22543
fi # test -n "$CONFIG_FILES"
22545
-# Set up the scripts for CONFIG_HEADERS section.
22546
-# No need to generate them if there are no CONFIG_HEADERS.
22547
-# This happens for instance with `./config.status Makefile'.
22548
-if test -n "$CONFIG_HEADERS"; then
22549
-cat >"$tmp/defines.awk" <<\_ACAWK ||
22553
-# Transform confdefs.h into an awk script `defines.awk', embedded as
22554
-# here-document in config.status, that substitutes the proper values into
22555
-# config.h.in to produce config.h.
22557
-# Create a delimiter string that does not exist in confdefs.h, to ease
22558
-# handling of long lines.
22560
-for ac_last_try in false false :; do
22561
- ac_t=`sed -n "/$ac_delim/p" confdefs.h`
22562
- if test -z "$ac_t"; then
22564
- elif $ac_last_try; then
22565
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
22566
-$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
22567
- { (exit 1); exit 1; }; }
22569
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22573
-# For the awk script, D is an array of macro values keyed by name,
22574
-# likewise P contains macro parameters if any. Preserve backslash
22575
-# newline sequences.
22577
-ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22579
-s/.\{148\}/&'"$ac_delim"'/g
22582
-s/^[ ]*#[ ]*define[ ][ ]*/ /
22589
-s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22591
-s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22595
-s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22596
-D["\1"]=" \3\\\\\\n"\\/p
22598
-s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22603
-s/.\{148\}/&'"$ac_delim"'/g
22608
-s/["\\]/\\&/g; s/^/"/; s/$/"/p
22611
-s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22613
-' <confdefs.h | sed '
22614
-s/'"$ac_delim"'/"\\\
22615
-"/g' >>$CONFIG_STATUS || ac_write_fail=1
22617
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22618
- for (key in D) D_is_set[key] = 1
22621
-/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22623
- split(line, arg, " ")
22624
- if (arg[1] == "#") {
22625
- defundef = arg[2]
22628
- defundef = substr(arg[1], 2)
22631
- split(mac1, mac2, "(") #)
22633
- if (D_is_set[macro]) {
22634
- # Preserve the white space surrounding the "#".
22635
- prefix = substr(line, 1, index(line, defundef) - 1)
22636
- print prefix "define", macro P[macro] D[macro]
22639
- # Replace #undef with comments. This is necessary, for example,
22640
- # in the case of _POSIX_SOURCE, which is predefined and required
22641
- # on some systems where configure will not decide to define it.
22642
- if (defundef == "undef") {
22643
- print "/*", line, "*/"
22651
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22652
- { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
22653
-$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
22654
- { (exit 1); exit 1; }; }
22655
-fi # test -n "$CONFIG_HEADERS"
22658
-eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
22661
+for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22664
:[FHLC]) ac_mode=$ac_tag; continue;;
22666
case $ac_mode$ac_tag in
22668
- :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22669
-$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22670
+ :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22671
+echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22672
{ (exit 1); exit 1; }; };;
22673
:[FH]-) ac_tag=-:-;;
22674
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22675
@@ -22070,38 +21867,26 @@ $as_echo "$as_me: error: Invalid tag $ac
22677
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22679
- { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22680
-$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22681
+ { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22682
+echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22683
{ (exit 1); exit 1; }; };;
22685
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22686
- ac_file_inputs="$ac_file_inputs '$ac_f'"
22687
+ ac_file_inputs="$ac_file_inputs $ac_f"
22690
# Let's still pretend it is `configure' which instantiates (i.e., don't
22691
# use $as_me), people would be surprised to read:
22692
# /* config.h. Generated by config.status. */
22693
- configure_input='Generated from '`
22694
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22695
- `' by configure.'
22696
+ configure_input="Generated from "`IFS=:
22697
+ echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22698
if test x"$ac_file" != x-; then
22699
configure_input="$ac_file. $configure_input"
22700
- { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
22701
-$as_echo "$as_me: creating $ac_file" >&6;}
22702
+ { echo "$as_me:$LINENO: creating $ac_file" >&5
22703
+echo "$as_me: creating $ac_file" >&6;}
22705
- # Neutralize special characters interpreted by sed in replacement strings.
22706
- case $configure_input in #(
22707
- *\&* | *\|* | *\\* )
22708
- ac_sed_conf_input=`$as_echo "$configure_input" |
22709
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
22710
- *) ac_sed_conf_input=$configure_input;;
22714
- *:-:* | *:-) cat >"$tmp/stdin" \
22715
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22716
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
22717
- { (exit 1); exit 1; }; } ;;
22718
+ *:-:* | *:-) cat >"$tmp/stdin";;
22722
@@ -22111,7 +21896,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^
22723
X"$ac_file" : 'X\(//\)[^/]' \| \
22724
X"$ac_file" : 'X\(//\)$' \| \
22725
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22726
-$as_echo X"$ac_file" |
22727
+echo X"$ac_file" |
22728
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22731
@@ -22137,7 +21922,7 @@ $as_echo X"$ac_file" |
22735
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22736
+ *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22737
*) as_qdir=$as_dir;;
22739
as_dirs="'$as_qdir' $as_dirs"
22740
@@ -22146,7 +21931,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/
22741
X"$as_dir" : 'X\(//\)[^/]' \| \
22742
X"$as_dir" : 'X\(//\)$' \| \
22743
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22744
-$as_echo X"$as_dir" |
22746
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22749
@@ -22167,17 +21952,17 @@ $as_echo X"$as_dir" |
22750
test -d "$as_dir" && break
22752
test -z "$as_dirs" || eval "mkdir $as_dirs"
22753
- } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22754
-$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
22755
+ } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22756
+echo "$as_me: error: cannot create directory $as_dir" >&2;}
22757
{ (exit 1); exit 1; }; }; }
22761
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22763
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22764
+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22765
# A ".." for each directory in $ac_dir_suffix.
22766
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22767
+ ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22768
case $ac_top_builddir_sub in
22769
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22770
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22771
@@ -22222,13 +22007,12 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
22775
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22776
+cat >>$CONFIG_STATUS <<\_ACEOF
22777
# If the template does not know about datarootdir, expand it.
22778
# FIXME: This hack should be removed a few years after 2.60.
22779
ac_datarootdir_hack=; ac_datarootdir_seen=
22783
+case `sed -n '/datarootdir/ {
22787
@@ -22237,14 +22021,13 @@ ac_sed_dataroot='
22792
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22793
+' $ac_file_inputs` in
22794
*datarootdir*) ac_datarootdir_seen=yes;;
22795
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22796
- { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22797
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22798
+ { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22799
+echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22801
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22802
+cat >>$CONFIG_STATUS <<_ACEOF
22803
ac_datarootdir_hack='
22804
s&@datadir@&$datadir&g
22805
s&@docdir@&$docdir&g
22806
@@ -22258,16 +22041,15 @@ _ACEOF
22807
# Neutralize VPATH when `$srcdir' = `.'.
22808
# Shell code in configure.ac might set extrasub.
22809
# FIXME: do we really want to maintain this feature?
22810
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22811
-ac_sed_extra="$ac_vpsub
22812
+cat >>$CONFIG_STATUS <<_ACEOF
22816
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22817
+cat >>$CONFIG_STATUS <<\_ACEOF
22819
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22820
-s|@configure_input@|$ac_sed_conf_input|;t t
22821
+s&@configure_input@&$configure_input&;t t
22822
s&@top_builddir@&$ac_top_builddir_sub&;t t
22823
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
22824
s&@srcdir@&$ac_srcdir&;t t
22825
s&@abs_srcdir@&$ac_abs_srcdir&;t t
22826
s&@top_srcdir@&$ac_top_srcdir&;t t
22827
@@ -22278,60 +22060,121 @@ s&@abs_top_builddir@&$ac_abs_top_builddi
22828
s&@INSTALL@&$ac_INSTALL&;t t
22829
s&@MKDIR_P@&$ac_MKDIR_P&;t t
22830
$ac_datarootdir_hack
22832
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
22833
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22834
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
22835
- { (exit 1); exit 1; }; }
22836
+" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22838
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22839
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22840
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22841
- { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22842
+ { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22843
which seems to be undefined. Please make sure it is defined." >&5
22844
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22845
+echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22846
which seems to be undefined. Please make sure it is defined." >&2;}
22850
- -) cat "$tmp/out" && rm -f "$tmp/out";;
22851
- *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
22853
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22854
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
22855
- { (exit 1); exit 1; }; }
22856
+ -) cat "$tmp/out"; rm -f "$tmp/out";;
22857
+ *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22866
+# Transform confdefs.h into a sed script `conftest.defines', that
22867
+# substitutes the proper values into config.h.in to produce config.h.
22868
+rm -f conftest.defines conftest.tail
22869
+# First, append a space to every undef/define line, to ease matching.
22870
+echo 's/$/ /' >conftest.defines
22871
+# Then, protect against being on the right side of a sed subst, or in
22872
+# an unquoted here document, in config.status. If some macros were
22873
+# called several times there might be several #defines for the same
22874
+# symbol, which is useless. But do not sort them, since the last
22875
+# AC_DEFINE must be honored.
22876
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22877
+# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22878
+# NAME is the cpp macro being defined, VALUE is the value it is being given.
22879
+# PARAMS is the parameter list in the macro definition--in most cases, it's
22880
+# just an empty string.
22881
+ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22882
+ac_dB='\\)[ (].*,\\1define\\2'
22890
+ s/^[ ]*#[ ]*define[ ][ ]*//
22895
+ s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22896
+ s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22897
+ ' >>conftest.defines
22899
+# Remove the space that was appended to ease matching.
22900
+# Then replace #undef with comments. This is necessary, for
22901
+# example, in the case of _POSIX_SOURCE, which is predefined and required
22902
+# on some systems where configure will not decide to define it.
22903
+# (The regexp can be short, since the line contains either #define or #undef.)
22905
+s,^[ #]*u.*,/* & */,' >>conftest.defines
22907
+# Break up conftest.defines:
22908
+ac_max_sed_lines=50
22910
+# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22911
+# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22912
+# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22914
+ac_in='$ac_file_inputs'
22915
+ac_out='"$tmp/out1"'
22916
+ac_nxt='"$tmp/out2"'
22920
+ # Write a here document:
22921
+ cat >>$CONFIG_STATUS <<_ACEOF
22922
+ # First, check the format of the line:
22923
+ cat >"\$tmp/defines.sed" <<\\CEOF
22924
+/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22925
+/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22929
+ sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22931
+ sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22932
+ ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22933
+ sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22934
+ grep . conftest.tail >/dev/null || break
22935
+ rm -f conftest.defines
22936
+ mv conftest.tail conftest.defines
22938
+rm -f conftest.defines conftest.tail
22940
+echo "ac_result=$ac_in" >>$CONFIG_STATUS
22941
+cat >>$CONFIG_STATUS <<\_ACEOF
22942
if test x"$ac_file" != x-; then
22944
- $as_echo "/* $configure_input */" \
22945
- && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
22946
- } >"$tmp/config.h" \
22947
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22948
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
22949
- { (exit 1); exit 1; }; }
22950
- if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
22951
- { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22952
-$as_echo "$as_me: $ac_file is unchanged" >&6;}
22953
+ echo "/* $configure_input */" >"$tmp/config.h"
22954
+ cat "$ac_result" >>"$tmp/config.h"
22955
+ if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22956
+ { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22957
+echo "$as_me: $ac_file is unchanged" >&6;}
22960
- mv "$tmp/config.h" "$ac_file" \
22961
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22962
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
22963
- { (exit 1); exit 1; }; }
22965
+ mv "$tmp/config.h" $ac_file
22968
- $as_echo "/* $configure_input */" \
22969
- && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
22970
- || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
22971
-$as_echo "$as_me: error: could not create -" >&2;}
22972
- { (exit 1); exit 1; }; }
22973
+ echo "/* $configure_input */"
22976
-# Compute "$ac_file"'s index in $config_headers.
22977
-_am_arg="$ac_file"
22978
+ rm -f "$tmp/out12"
22979
+# Compute $ac_file's index in $config_headers.
22982
for _am_header in $config_headers :; do
22983
case $_am_header in
22984
@@ -22346,7 +22189,7 @@ $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^
22985
X"$_am_arg" : 'X\(//\)[^/]' \| \
22986
X"$_am_arg" : 'X\(//\)$' \| \
22987
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22988
-$as_echo X"$_am_arg" |
22989
+echo X"$_am_arg" |
22990
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22993
@@ -22366,8 +22209,8 @@ $as_echo X"$_am_arg" |
22994
s/.*/./; q'`/stamp-h$_am_stamp_count
22997
- :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
22998
-$as_echo "$as_me: executing $ac_file commands" >&6;}
22999
+ :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23000
+echo "$as_me: executing $ac_file commands" >&6;}
23004
@@ -22389,7 +22232,7 @@ $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/
23005
X"$mf" : 'X\(//\)[^/]' \| \
23006
X"$mf" : 'X\(//\)$' \| \
23007
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23010
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23013
@@ -22433,7 +22276,7 @@ $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][
23014
X"$file" : 'X\(//\)[^/]' \| \
23015
X"$file" : 'X\(//\)$' \| \
23016
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23017
-$as_echo X"$file" |
23019
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23022
@@ -22459,7 +22302,7 @@ $as_echo X"$file" |
23026
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23027
+ *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23028
*) as_qdir=$as_dir;;
23030
as_dirs="'$as_qdir' $as_dirs"
23031
@@ -22468,7 +22311,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/
23032
X"$as_dir" : 'X\(//\)[^/]' \| \
23033
X"$as_dir" : 'X\(//\)$' \| \
23034
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23035
-$as_echo X"$as_dir" |
23037
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23040
@@ -22489,8 +22332,8 @@ $as_echo X"$as_dir" |
23041
test -d "$as_dir" && break
23043
test -z "$as_dirs" || eval "mkdir $as_dirs"
23044
- } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23045
-$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
23046
+ } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23047
+echo "$as_me: error: cannot create directory $as_dir" >&2;}
23048
{ (exit 1); exit 1; }; }; }
23049
# echo "creating $dirpart/$file"
23050
echo '# dummy' > "$dirpart/$file"
23051
@@ -22507,11 +22350,6 @@ _ACEOF
23052
chmod +x $CONFIG_STATUS
23053
ac_clean_files=$ac_clean_files_save
23055
-test $ac_write_fail = 0 ||
23056
- { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
23057
-$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
23058
- { (exit 1); exit 1; }; }
23061
# configure is writing to config.log, and then calls config.status.
23062
# config.status does its own redirection, appending to config.log.
23063
@@ -22533,8 +22371,4 @@ if test "$no_create" != yes; then
23064
# would make configure fail if this is the last instruction.
23065
$ac_cs_success || { (exit 1); exit 1; }
23067
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23068
- { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
23069
-$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
23072
Index: libgail-gnome-1.20.1/gail-gnome/Makefile.in
23073
===================================================================
23074
--- libgail-gnome-1.20.1.orig/gail-gnome/Makefile.in 2008-11-21 20:00:06.096858540 +0100
23075
+++ libgail-gnome-1.20.1/gail-gnome/Makefile.in 2008-11-21 20:00:38.944341110 +0100
23076
@@ -215,7 +215,6 @@ sharedstatedir = @sharedstatedir@
23078
sysconfdir = @sysconfdir@
23079
target_alias = @target_alias@
23080
-top_build_prefix = @top_build_prefix@
23081
top_builddir = @top_builddir@
23082
top_srcdir = @top_srcdir@
23083
moduledir = $(libdir)/gtk-2.0/modules
23084
Index: libgail-gnome-1.20.1/ltmain.sh
23085
===================================================================
23086
--- libgail-gnome-1.20.1.orig/ltmain.sh 2008-11-21 19:59:51.336843021 +0100
23087
+++ libgail-gnome-1.20.1/ltmain.sh 2008-04-29 22:21:21.000000000 +0200
23088
@@ -43,8 +43,8 @@ EXIT_FAILURE=1
23093
-TIMESTAMP=" (1.1220.2.492 2008/01/30 06:40:56)"
23094
+VERSION="1.5.26 Debian 1.5.26-4"
23095
+TIMESTAMP=" (1.1220.2.493 2008/02/01 16:58:18)"
23097
# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
23098
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23099
@@ -2135,7 +2135,10 @@ EOF
23101
dlopen) libs="$dlfiles" ;;
23102
dlpreopen) libs="$dlprefiles" ;;
23103
- link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
23105
+ libs="$deplibs %DEPLIBS%"
23106
+ test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
23110
if test "$pass" = dlopen; then
23111
@@ -3269,6 +3272,11 @@ EOF
23112
revision="$number_minor"
23113
lt_irix_increment=no
23116
+ $echo "$modename: unknown library version type \`$version_type'" 1>&2
23117
+ $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
23118
+ exit $EXIT_FAILURE
23123
Index: libgail-gnome-1.20.1/test/Makefile.in
23124
===================================================================
23125
--- libgail-gnome-1.20.1.orig/test/Makefile.in 2008-11-21 20:00:06.328842214 +0100
23126
+++ libgail-gnome-1.20.1/test/Makefile.in 2008-11-21 20:00:39.036341210 +0100
23127
@@ -197,7 +197,6 @@ sharedstatedir = @sharedstatedir@
23129
sysconfdir = @sysconfdir@
23130
target_alias = @target_alias@
23131
-top_build_prefix = @top_build_prefix@
23132
top_builddir = @top_builddir@
23133
top_srcdir = @top_srcdir@