1
diff -Naur orbit2-2.14.17.old/aclocal.m4 orbit2-2.14.17/aclocal.m4
2
--- orbit2-2.14.17.old/aclocal.m4 2009-03-05 12:52:57.000000000 +0100
3
+++ orbit2-2.14.17/aclocal.m4 2009-03-06 18:43:02.000000000 +0100
1
diff -Naur '-x*config.guess' '-x*config.sub' orbit2-2.14.18.old/aclocal.m4 orbit2-2.14.18/aclocal.m4
2
--- orbit2-2.14.18.old/aclocal.m4 2010-03-30 12:47:25.000000000 +0200
3
+++ orbit2-2.14.18/aclocal.m4 2010-04-08 12:32:04.291338117 +0200
5
-# generated automatically by aclocal 1.10.2 -*- Autoconf -*-
6
+# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
5
-# generated automatically by aclocal 1.11 -*- Autoconf -*-
6
+# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
8
8
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
9
# 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9
# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
10
@@ -13,4658 +13,3700 @@
12
12
m4_ifndef([AC_AUTOCONF_VERSION],
13
13
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
14
14
-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
15
+m4_if(AC_AUTOCONF_VERSION, [2.63],,
16
[m4_warning([this file was generated for autoconf 2.63.
15
-[m4_warning([this file was generated for autoconf 2.63.
16
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
17
+[m4_warning([this file was generated for autoconf 2.65.
17
18
You have another version of autoconf. It may work, but is not guaranteed to.
18
19
If you have problems, you may need to regenerate the build system entirely.
19
@@ -2525,13 +2525,10 @@
20
# before this can be enabled.
21
hardcode_into_libs=yes
23
- # Add ABI-specific directories to the system library path.
24
- sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
26
# Append ld.so.conf contents to the search path
27
if test -f /etc/ld.so.conf; then
28
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' ' '`
29
- sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
22
-# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
24
-# This file is free software; the Free Software Foundation
25
-# gives unlimited permission to copy and/or distribute it,
26
-# with or without modifications, as long as this notice is preserved.
27
+dnl -*- mode: autoconf -*-
29
-# AM_AUTOMAKE_VERSION(VERSION)
30
-# ----------------------------
31
-# Automake X.Y traces this macro to ensure aclocal.m4 has been
32
-# generated from the m4 files accompanying Automake X.Y.
33
-# (This private macro should not be called outside this file.)
34
-AC_DEFUN([AM_AUTOMAKE_VERSION],
35
-[am__api_version='1.11'
36
-dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
37
-dnl require some minimum version. Point them to the right macro.
38
-m4_if([$1], [1.11], [],
39
- [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
43
-# _AM_AUTOCONF_VERSION(VERSION)
44
-# -----------------------------
45
-# aclocal traces this macro to find the Autoconf version.
46
-# This is a private macro too. Using m4_define simplifies
47
-# the logic in aclocal, which can simply ignore this definition.
48
-m4_define([_AM_AUTOCONF_VERSION], [])
50
+dnl GTK_DOC_CHECK([minimum-gtk-doc-version])
51
+AC_DEFUN([GTK_DOC_CHECK],
53
+ AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
54
+ AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
56
-# AM_SET_CURRENT_AUTOMAKE_VERSION
57
-# -------------------------------
58
-# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
59
-# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
60
-AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
61
-[AM_AUTOMAKE_VERSION([1.11])dnl
62
-m4_ifndef([AC_AUTOCONF_VERSION],
63
- [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
64
-_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
65
+ dnl check for tools we added during development
66
+ AC_PATH_PROG([GTKDOC_CHECK],[gtkdoc-check])
67
+ AC_PATH_PROGS([GTKDOC_REBASE],[gtkdoc-rebase],[true])
68
+ AC_PATH_PROG([GTKDOC_MKPDF],[gtkdoc-mkpdf])
70
-# AM_AUX_DIR_EXPAND -*- Autoconf -*-
71
+ dnl for overriding the documentation installation directory
72
+ AC_ARG_WITH([html-dir],
73
+ AS_HELP_STRING([--with-html-dir=PATH], [path to installed docs]),,
74
+ [with_html_dir='${datadir}/gtk-doc/html'])
75
+ HTML_DIR="$with_html_dir"
76
+ AC_SUBST([HTML_DIR])
78
-# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
79
+ dnl enable/disable documentation building
80
+ AC_ARG_ENABLE([gtk-doc],
81
+ AS_HELP_STRING([--enable-gtk-doc],
82
+ [use gtk-doc to build documentation [[default=no]]]),,
83
+ [enable_gtk_doc=no])
85
+ if test x$enable_gtk_doc = xyes; then
87
+ [PKG_CHECK_EXISTS([gtk-doc],,
88
+ AC_MSG_ERROR([gtk-doc not installed and --enable-gtk-doc requested]))],
89
+ [PKG_CHECK_EXISTS([gtk-doc >= $1],,
90
+ AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build $PACKAGE_NAME]))])
93
+ AC_MSG_CHECKING([whether to build gtk-doc documentation])
94
+ AC_MSG_RESULT($enable_gtk_doc)
96
+ dnl enable/disable output formats
97
+ AC_ARG_ENABLE([gtk-doc-html],
98
+ AS_HELP_STRING([--enable-gtk-doc-html],
99
+ [build documentation in html format [[default=yes]]]),,
100
+ [enable_gtk_doc_html=yes])
101
+ AC_ARG_ENABLE([gtk-doc-pdf],
102
+ AS_HELP_STRING([--enable-gtk-doc-pdf],
103
+ [build documentation in pdf format [[default=no]]]),,
104
+ [enable_gtk_doc_pdf=no])
106
+ if test -z "$GTKDOC_MKPDF"; then
107
+ enable_gtk_doc_pdf=no
111
+ AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes])
112
+ AM_CONDITIONAL([GTK_DOC_BUILD_HTML], [test x$enable_gtk_doc_html = xyes])
113
+ AM_CONDITIONAL([GTK_DOC_BUILD_PDF], [test x$enable_gtk_doc_pdf = xyes])
114
+ AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"])
115
+ AM_CONDITIONAL([GTK_DOC_USE_REBASE], [test -n "$GTKDOC_REBASE"])
118
+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
120
-# This file is free software; the Free Software Foundation
121
-# gives unlimited permission to copy and/or distribute it,
122
-# with or without modifications, as long as this notice is preserved.
123
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
124
+# 2006, 2007, 2008 Free Software Foundation, Inc.
125
+# Written by Gordon Matzigkeit, 1996
127
+# This file is free software; the Free Software Foundation gives
128
+# unlimited permission to copy and/or distribute it, with or without
129
+# modifications, as long as this notice is preserved.
131
-# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
132
-# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
133
-# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
134
+m4_define([_LT_COPYING], [dnl
135
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
136
+# 2006, 2007, 2008 Free Software Foundation, Inc.
137
+# Written by Gordon Matzigkeit, 1996
139
-# Of course, Automake must honor this variable whenever it calls a
140
-# tool from the auxiliary directory. The problem is that $srcdir (and
141
-# therefore $ac_aux_dir as well) can be either absolute or relative,
142
-# depending on how configure is run. This is pretty annoying, since
143
-# it makes $ac_aux_dir quite unusable in subdirectories: in the top
144
-# source directory, any form will work fine, but in subdirectories a
145
-# relative path needs to be adjusted first.
146
+# This file is part of GNU Libtool.
148
-# $ac_aux_dir/missing
149
-# fails when called from a subdirectory if $ac_aux_dir is relative
150
-# $top_srcdir/$ac_aux_dir/missing
151
-# fails if $ac_aux_dir is absolute,
152
-# fails when called from a subdirectory in a VPATH build with
153
-# a relative $ac_aux_dir
154
+# GNU Libtool is free software; you can redistribute it and/or
155
+# modify it under the terms of the GNU General Public License as
156
+# published by the Free Software Foundation; either version 2 of
157
+# the License, or (at your option) any later version.
159
-# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
160
-# are both prefixed by $srcdir. In an in-source build this is usually
161
-# harmless because $srcdir is `.', but things will broke when you
162
-# start a VPATH build or use an absolute $srcdir.
163
+# As a special exception to the GNU General Public License,
164
+# if you distribute this file as part of a program or library that
165
+# is built using GNU Libtool, you may include this file under the
166
+# same distribution terms that you use for the rest of that program.
168
-# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
169
-# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
170
-# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
171
-# and then we would define $MISSING as
172
-# MISSING="\${SHELL} $am_aux_dir/missing"
173
-# This will work as long as MISSING is not called from configure, because
174
-# unfortunately $(top_srcdir) has no meaning in configure.
175
-# However there are other variables, like CC, which are often used in
176
-# configure, and could therefore not use this "fixed" $ac_aux_dir.
177
+# GNU Libtool is distributed in the hope that it will be useful,
178
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
179
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
180
+# GNU General Public License for more details.
182
-# Another solution, used here, is to always expand $ac_aux_dir to an
183
-# absolute PATH. The drawback is that using absolute paths prevent a
184
-# configured tree to be moved without reconfiguration.
185
+# You should have received a copy of the GNU General Public License
186
+# along with GNU Libtool; see the file COPYING. If not, a copy
187
+# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
188
+# obtained by writing to the Free Software Foundation, Inc.,
189
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
192
-AC_DEFUN([AM_AUX_DIR_EXPAND],
193
-[dnl Rely on autoconf to set up CDPATH properly.
194
-AC_PREREQ([2.50])dnl
195
-# expand $ac_aux_dir to an absolute path
196
-am_aux_dir=`cd $ac_aux_dir && pwd`
200
+# LT_PREREQ(VERSION)
201
+# ------------------
202
+# Complain and exit if this libtool version is less that VERSION.
203
+m4_defun([LT_PREREQ],
204
+[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
206
+ [m4_fatal([Libtool version $1 or higher is required],
211
+# _LT_CHECK_BUILDDIR
212
+# ------------------
213
+# Complain if the absolute build directory name contains unusual characters
214
+m4_defun([_LT_CHECK_BUILDDIR],
217
+ AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
221
-# AM_CONDITIONAL -*- Autoconf -*-
223
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
224
-# Free Software Foundation, Inc.
226
-# This file is free software; the Free Software Foundation
227
-# gives unlimited permission to copy and/or distribute it,
228
-# with or without modifications, as long as this notice is preserved.
229
+# LT_INIT([OPTIONS])
230
+# ------------------
232
+[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
233
+AC_BEFORE([$0], [LT_LANG])dnl
234
+AC_BEFORE([$0], [LT_OUTPUT])dnl
235
+AC_BEFORE([$0], [LTDL_INIT])dnl
236
+m4_require([_LT_CHECK_BUILDDIR])dnl
239
+dnl Autoconf doesn't catch unexpanded LT_ macros by default:
240
+m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
241
+m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
242
+dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
243
+dnl unless we require an AC_DEFUNed macro:
244
+AC_REQUIRE([LTOPTIONS_VERSION])dnl
245
+AC_REQUIRE([LTSUGAR_VERSION])dnl
246
+AC_REQUIRE([LTVERSION_VERSION])dnl
247
+AC_REQUIRE([LTOBSOLETE_VERSION])dnl
248
+m4_require([_LT_PROG_LTMAIN])dnl
250
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
251
-# -------------------------------------
252
-# Define a conditional.
253
-AC_DEFUN([AM_CONDITIONAL],
255
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
256
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
257
-AC_SUBST([$1_TRUE])dnl
258
-AC_SUBST([$1_FALSE])dnl
259
-_AM_SUBST_NOTMAKE([$1_TRUE])dnl
260
-_AM_SUBST_NOTMAKE([$1_FALSE])dnl
261
-m4_define([_AM_COND_VALUE_$1], [$2])dnl
269
-AC_CONFIG_COMMANDS_PRE(
270
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
271
- AC_MSG_ERROR([[conditional "$1" was never defined.
272
-Usually this means the macro was only invoked conditionally.]])
275
+_LT_SET_OPTIONS([$0], [$1])
277
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
278
-# Free Software Foundation, Inc.
280
-# This file is free software; the Free Software Foundation
281
-# gives unlimited permission to copy and/or distribute it,
282
-# with or without modifications, as long as this notice is preserved.
283
+# This can be used to rebuild libtool when needed
284
+LIBTOOL_DEPS="$ltmain"
287
+# Always use our own libtool.
288
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
289
+AC_SUBST(LIBTOOL)dnl
291
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
292
-# written in clear, in which case automake, when reading aclocal.m4,
293
-# will think it sees a *use*, and therefore will trigger all it's
294
-# C support machinery. Also note that it means that autoscan, seeing
295
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
299
+m4_define([LT_INIT])
302
-# _AM_DEPENDENCIES(NAME)
303
-# ----------------------
304
-# See how the compiler implements dependency checking.
305
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
306
-# We try a few techniques and use that to set a single cache variable.
308
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
309
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
310
-# dependency, and given that the user is not expected to run this macro,
311
-# just rely on AC_PROG_CC.
312
-AC_DEFUN([_AM_DEPENDENCIES],
313
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
314
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
315
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
316
-AC_REQUIRE([AM_DEP_TRACK])dnl
318
+AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
319
+AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
320
+dnl aclocal-1.4 backwards compatibility:
321
+dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
322
+dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
324
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
325
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
326
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
327
- [$1], UPC, [depcc="$UPC" am_compiler_list=],
328
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
329
- [depcc="$$1" am_compiler_list=])
331
-AC_CACHE_CHECK([dependency style of $depcc],
332
- [am_cv_$1_dependencies_compiler_type],
333
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
334
- # We make a subdir and do the tests there. Otherwise we can end up
335
- # making bogus files that we don't know about and never remove. For
336
- # instance it was reported that on HP-UX the gcc test will end up
337
- # making a dummy file named `D' -- because `-MD' means `put the output
340
- # Copy depcomp to subdir because otherwise we won't find it if we're
341
- # using a relative directory.
342
- cp "$am_depcomp" conftest.dir
344
- # We will build objects and dependencies in a subdirectory because
345
- # it helps to detect inapplicable dependency modes. For instance
346
- # both Tru64's cc and ICC support -MD to output dependencies as a
347
- # side effect of compilation, but ICC will put the dependencies in
348
- # the current directory while Tru64 will put them in the object
351
+# _LT_CC_BASENAME(CC)
352
+# -------------------
353
+# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
354
+m4_defun([_LT_CC_BASENAME],
355
+[for cc_temp in $1""; do
357
+ compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
358
+ distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
363
+cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
366
- am_cv_$1_dependencies_compiler_type=none
367
- if test "$am_compiler_list" = ""; then
368
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
370
- am__universal=false
371
- m4_case([$1], [CC],
372
- [case " $depcc " in #(
373
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
376
- [case " $depcc " in #(
377
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
380
- for depmode in $am_compiler_list; do
381
- # Setup a source with many dependencies, because some compilers
382
- # like to wrap large dependency lists on column 80 (with \), and
383
- # we should not choose a depcomp mode which is confused by this.
385
- # We need to recreate these files for each test, as the compiler may
386
- # overwrite some of them when testing with obscure command lines.
387
- # This happens at least with the AIX C compiler.
389
- for i in 1 2 3 4 5 6; do
390
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
391
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
392
- # Solaris 8's {/usr,}/bin/sh.
393
- touch sub/conftst$i.h
395
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
396
+# _LT_FILEUTILS_DEFAULTS
397
+# ----------------------
398
+# It is okay to use these file commands and assume they have been set
399
+# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
400
+m4_defun([_LT_FILEUTILS_DEFAULTS],
404
+])# _LT_FILEUTILS_DEFAULTS
406
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
407
- # mode. It turns out that the SunPro C++ compiler does not properly
408
- # handle `-M -o', and we need to detect this. Also, some Intel
409
- # versions had trouble with output in subdirs
410
- am__obj=sub/conftest.${OBJEXT-o}
411
- am__minus_obj="-o $am__obj"
414
- # This depmode causes a compiler race in universal mode.
415
- test "$am__universal" = false || continue
418
- # after this tag, mechanisms are not by side-effect, so they'll
419
- # only be used when explicitly requested
420
- if test "x$enable_dependency_tracking" = xyes; then
426
- msvisualcpp | msvcmsys)
427
- # This compiler won't grok `-c -o', but also, the minuso test has
428
- # not run yet. These depmodes are late enough in the game, and
429
- # so weak that their functioning should not be impacted.
430
- am__obj=conftest.${OBJEXT-o}
435
- if depmode=$depmode \
436
- source=sub/conftest.c object=$am__obj \
437
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
438
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
439
- >/dev/null 2>conftest.err &&
440
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
441
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
442
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
443
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
444
- # icc doesn't choke on unknown options, it will just issue warnings
445
- # or remarks (even with -Werror). So we grep stderr for any message
446
- # that says an option was ignored or not supported.
447
- # When given -MP, icc 7.0 and 7.1 complain thusly:
448
- # icc: Command line warning: ignoring option '-M'; no argument required
449
- # The diagnosis changed in icc 8.0:
450
- # icc: Command line remark: option '-MP' not supported
451
- if (grep 'ignoring option' conftest.err ||
452
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
453
- am_cv_$1_dependencies_compiler_type=$depmode
460
- rm -rf conftest.dir
462
- am_cv_$1_dependencies_compiler_type=none
465
+m4_defun([_LT_SETUP],
466
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
467
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
468
+_LT_DECL([], [host_alias], [0], [The host system])dnl
469
+_LT_DECL([], [host], [0])dnl
470
+_LT_DECL([], [host_os], [0])dnl
472
+_LT_DECL([], [build_alias], [0], [The build system])dnl
473
+_LT_DECL([], [build], [0])dnl
474
+_LT_DECL([], [build_os], [0])dnl
476
+AC_REQUIRE([AC_PROG_CC])dnl
477
+AC_REQUIRE([LT_PATH_LD])dnl
478
+AC_REQUIRE([LT_PATH_NM])dnl
480
+AC_REQUIRE([AC_PROG_LN_S])dnl
481
+test -z "$LN_S" && LN_S="ln -s"
482
+_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
484
+AC_REQUIRE([LT_CMD_MAX_LEN])dnl
485
+_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
486
+_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
488
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
489
+m4_require([_LT_CHECK_SHELL_FEATURES])dnl
490
+m4_require([_LT_CMD_RELOAD])dnl
491
+m4_require([_LT_CHECK_MAGIC_METHOD])dnl
492
+m4_require([_LT_CMD_OLD_ARCHIVE])dnl
493
+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
495
+_LT_CONFIG_LIBTOOL_INIT([
496
+# See if we are running on zsh, and set the options which allow our
497
+# commands through without removal of \ escapes INIT.
498
+if test -n "\${ZSH_VERSION+set}" ; then
499
+ setopt NO_GLOB_SUBST
502
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
503
-AM_CONDITIONAL([am__fastdep$1], [
504
- test "x$enable_dependency_tracking" != xno \
505
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
507
+if test -n "${ZSH_VERSION+set}" ; then
508
+ setopt NO_GLOB_SUBST
515
-# Choose a directory name for dependency files.
516
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
517
-AC_DEFUN([AM_SET_DEPDIR],
518
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
519
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
521
+m4_require([_LT_TAG_COMPILER])dnl
522
+_LT_PROG_ECHO_BACKSLASH
526
+ # AIX sometimes has problems with the GCC collect2 program. For some
527
+ # reason, if we set the COLLECT_NAMES environment variable, the problems
528
+ # vanish in a puff of smoke.
529
+ if test "X${COLLECT_NAMES+set}" != Xset; then
531
+ export COLLECT_NAMES
538
-AC_DEFUN([AM_DEP_TRACK],
539
-[AC_ARG_ENABLE(dependency-tracking,
540
-[ --disable-dependency-tracking speeds up one-time build
541
- --enable-dependency-tracking do not reject slow dependency extractors])
542
-if test "x$enable_dependency_tracking" != xno; then
543
- am_depcomp="$ac_aux_dir/depcomp"
546
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
547
-AC_SUBST([AMDEPBACKSLASH])dnl
548
-_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
550
+# Sed substitution that helps us do robust quoting. It backslashifies
551
+# metacharacters that are still active within double-quoted strings.
552
+sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
554
-# Generate code to set up dependency tracking. -*- Autoconf -*-
555
+# Same as above, but do not quote variable references.
556
+double_quote_subst='s/\([["`\\]]\)/\\\1/g'
558
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
559
-# Free Software Foundation, Inc.
561
-# This file is free software; the Free Software Foundation
562
-# gives unlimited permission to copy and/or distribute it,
563
-# with or without modifications, as long as this notice is preserved.
564
+# Sed substitution to delay expansion of an escaped shell variable in a
565
+# double_quote_subst'ed string.
566
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
569
+# Sed substitution to delay expansion of an escaped single quote.
570
+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
572
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
573
-# ------------------------------
574
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
576
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
577
- # are listed without --file. Let's play safe and only enable the eval
578
- # if we detect the quoting.
579
- case $CONFIG_FILES in
580
- *\'*) eval set x "$CONFIG_FILES" ;;
581
- *) set x $CONFIG_FILES ;;
586
- # Strip MF so we end up with the name of the file.
587
- mf=`echo "$mf" | sed -e 's/:.*$//'`
588
- # Check whether this is an Automake generated Makefile or not.
589
- # We used to match only the files named `Makefile.in', but
590
- # some people rename them; so instead we look at the file content.
591
- # Grep'ing the first line is not enough: some people post-process
592
- # each Makefile.in and add a new line on top of each file to say so.
593
- # Grep'ing the whole file is not good either: AIX grep has a line
594
- # limit of 2048, but all sed's we know have understand at least 4000.
595
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
596
- dirpart=`AS_DIRNAME("$mf")`
600
- # Extract the definition of DEPDIR, am__include, and am__quote
601
- # from the Makefile without running `make'.
602
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
603
- test -z "$DEPDIR" && continue
604
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
605
- test -z "am__include" && continue
606
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
607
- # When using ansi2knr, U may be empty or an underscore; expand it
608
- U=`sed -n 's/^U = //p' < "$mf"`
609
- # Find all dependency output files, they are included files with
610
- # $(DEPDIR) in their names. We invoke sed twice because it is the
611
- # simplest approach to changing $(DEPDIR) to its actual value in the
613
- for file in `sed -n "
614
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
615
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
616
- # Make sure the directory exists.
617
- test -f "$dirpart/$file" && continue
618
- fdir=`AS_DIRNAME(["$file"])`
619
- AS_MKDIR_P([$dirpart/$fdir])
620
- # echo "creating $dirpart/$file"
621
- echo '# dummy' > "$dirpart/$file"
625
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
626
+# Sed substitution to avoid accidental globbing in evaled expressions
627
+no_glob_subst='s/\*/\\\*/g'
631
+can_build_shared=yes
633
-# AM_OUTPUT_DEPENDENCY_COMMANDS
634
-# -----------------------------
635
-# This macro should only be invoked once -- use via AC_REQUIRE.
637
-# This code is only required when automatic dependency tracking
638
-# is enabled. FIXME. This creates each `.P' file that we will
639
-# need in order to bootstrap the dependency handling code.
640
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
641
-[AC_CONFIG_COMMANDS([depfiles],
642
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
643
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
645
+# All known linkers require a `.a' archive for static linking (except MSVC,
646
+# which needs '.lib').
649
-# Do all the work for Automake. -*- Autoconf -*-
650
+with_gnu_ld="$lt_cv_prog_gnu_ld"
652
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
653
-# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
655
-# This file is free software; the Free Software Foundation
656
-# gives unlimited permission to copy and/or distribute it,
657
-# with or without modifications, as long as this notice is preserved.
659
+old_CFLAGS="$CFLAGS"
662
+# Set sane defaults for various variables
663
+test -z "$CC" && CC=cc
664
+test -z "$LTCC" && LTCC=$CC
665
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
666
+test -z "$LD" && LD=ld
667
+test -z "$ac_objext" && ac_objext=o
669
-# This macro actually does too much. Some checks are only needed if
670
-# your package does certain things. But this isn't really a big deal.
671
+_LT_CC_BASENAME([$compiler])
673
-# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
674
-# AM_INIT_AUTOMAKE([OPTIONS])
675
-# -----------------------------------------------
676
-# The call with PACKAGE and VERSION arguments is the old style
677
-# call (pre autoconf-2.50), which is being phased out. PACKAGE
678
-# and VERSION should now be passed to AC_INIT and removed from
679
-# the call to AM_INIT_AUTOMAKE.
680
-# We support both call styles for the transition. After
681
-# the next Automake release, Autoconf can make the AC_INIT
682
-# arguments mandatory, and then we can depend on a new Autoconf
683
-# release and drop the old call support.
684
-AC_DEFUN([AM_INIT_AUTOMAKE],
685
-[AC_PREREQ([2.62])dnl
686
-dnl Autoconf wants to disallow AM_ names. We explicitly allow
687
-dnl the ones we care about.
688
-m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
689
-AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
690
-AC_REQUIRE([AC_PROG_INSTALL])dnl
691
-if test "`cd $srcdir && pwd`" != "`pwd`"; then
692
- # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
693
- # is not polluted with repeated "-I."
694
- AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
695
- # test to see if srcdir already configured
696
- if test -f $srcdir/config.status; then
697
- AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
698
+# Only perform the check for file, if the check method requires it
699
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
700
+case $deplibs_check_method in
702
+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then
709
-# test whether we have cygpath
710
-if test -z "$CYGPATH_W"; then
711
- if (cygpath --version) >/dev/null 2>/dev/null; then
712
- CYGPATH_W='cygpath -w'
717
-AC_SUBST([CYGPATH_W])
718
+# Use C for the default configuration in the libtool script
719
+LT_SUPPORTED_TAG([CC])
721
+_LT_LANG_DEFAULT_CONFIG
725
-# Define the identity of the package.
726
-dnl Distinguish between old-style and new-style calls.
728
-[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
729
- AC_SUBST([PACKAGE], [$1])dnl
730
- AC_SUBST([VERSION], [$2])],
731
-[_AM_SET_OPTIONS([$1])dnl
732
-dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
733
-m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
734
- [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
735
- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
736
- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
738
-_AM_IF_OPTION([no-define],,
739
-[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
740
- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
743
+# Note that this code is called both from `configure', and `config.status'
744
+# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
745
+# `config.status' has no value for ac_aux_dir unless we are using Automake,
746
+# so we pass a copy along to make sure it has a sensible value anyway.
747
+m4_defun([_LT_PROG_LTMAIN],
748
+[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
749
+_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
750
+ltmain="$ac_aux_dir/ltmain.sh"
753
-# Some tools Automake needs.
754
-AC_REQUIRE([AM_SANITY_CHECK])dnl
755
-AC_REQUIRE([AC_ARG_PROGRAM])dnl
756
-AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
757
-AM_MISSING_PROG(AUTOCONF, autoconf)
758
-AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
759
-AM_MISSING_PROG(AUTOHEADER, autoheader)
760
-AM_MISSING_PROG(MAKEINFO, makeinfo)
761
-AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
762
-AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
763
-AC_REQUIRE([AM_PROG_MKDIR_P])dnl
764
-# We need awk for the "check" target. The system "awk" is bad on
766
-AC_REQUIRE([AC_PROG_AWK])dnl
767
-AC_REQUIRE([AC_PROG_MAKE_SET])dnl
768
-AC_REQUIRE([AM_SET_LEADING_DOT])dnl
769
-_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
770
- [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
771
- [_AM_PROG_TAR([v7])])])
772
-_AM_IF_OPTION([no-dependencies],,
773
-[AC_PROVIDE_IFELSE([AC_PROG_CC],
774
- [_AM_DEPENDENCIES(CC)],
775
- [define([AC_PROG_CC],
776
- defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
777
-AC_PROVIDE_IFELSE([AC_PROG_CXX],
778
- [_AM_DEPENDENCIES(CXX)],
779
- [define([AC_PROG_CXX],
780
- defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
781
-AC_PROVIDE_IFELSE([AC_PROG_OBJC],
782
- [_AM_DEPENDENCIES(OBJC)],
783
- [define([AC_PROG_OBJC],
784
- defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
786
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
787
-dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
788
-dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
789
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
790
-AC_CONFIG_COMMANDS_PRE(dnl
791
-[m4_provide_if([_AM_COMPILER_EXEEXT],
792
- [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
795
-dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
796
-dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
797
-dnl mangled by Autoconf and run in a shell conditional statement.
798
-m4_define([_AC_COMPILER_EXEEXT],
799
-m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
801
+# So that we can recreate a full libtool script including additional
802
+# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
803
+# in macros and then make a single call at the end using the `libtool'
806
-# When config.status generates a header, we must update the stamp-h file.
807
-# This file resides in the same directory as the config header
808
-# that is generated. The stamp files are numbered to have different names.
810
-# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
811
-# loop where config.status creates the headers, so we can generate
812
-# our stamp files there.
813
-AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
814
-[# Compute $1's index in $config_headers.
817
-for _am_header in $config_headers :; do
818
- case $_am_header in
819
- $_am_arg | $_am_arg:* )
822
- _am_stamp_count=`expr $_am_stamp_count + 1` ;;
825
-echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
826
+# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
827
+# ----------------------------------------
828
+# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
829
+m4_define([_LT_CONFIG_LIBTOOL_INIT],
831
+ [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
835
-# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
837
-# This file is free software; the Free Software Foundation
838
-# gives unlimited permission to copy and/or distribute it,
839
-# with or without modifications, as long as this notice is preserved.
841
+m4_define([_LT_OUTPUT_LIBTOOL_INIT])
843
-# AM_PROG_INSTALL_SH
844
-# ------------------
845
-# Define $install_sh.
846
-AC_DEFUN([AM_PROG_INSTALL_SH],
847
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
848
-if test x"${install_sh}" != xset; then
849
- case $am_aux_dir in
851
- install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
853
- install_sh="\${SHELL} $am_aux_dir/install-sh"
856
-AC_SUBST(install_sh)])
858
-# Copyright (C) 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.
865
+# _LT_CONFIG_LIBTOOL([COMMANDS])
866
+# ------------------------------
867
+# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
868
+m4_define([_LT_CONFIG_LIBTOOL],
870
+ [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
874
-# Check whether the underlying file-system supports filenames
875
-# with a leading dot. For instance MS-DOS doesn't.
876
-AC_DEFUN([AM_SET_LEADING_DOT],
877
-[rm -rf .tst 2>/dev/null
878
-mkdir .tst 2>/dev/null
879
-if test -d .tst; then
884
-rmdir .tst 2>/dev/null
885
-AC_SUBST([am__leading_dot])])
887
+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
889
-# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
892
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
893
-# Free Software Foundation, Inc.
895
-# This file is free software; the Free Software Foundation
896
-# gives unlimited permission to copy and/or distribute it,
897
-# with or without modifications, as long as this notice is preserved.
898
+# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
899
+# -----------------------------------------------------
900
+m4_defun([_LT_CONFIG_SAVE_COMMANDS],
901
+[_LT_CONFIG_LIBTOOL([$1])
902
+_LT_CONFIG_LIBTOOL_INIT([$2])
907
-# AM_MAINTAINER_MODE([DEFAULT-MODE])
908
-# ----------------------------------
909
-# Control maintainer-specific portions of Makefiles.
910
-# Default is to disable them, unless `enable' is passed literally.
911
-# For symmetry, `disable' may be passed as well. Anyway, the user
912
-# can override the default with the --enable/--disable switch.
913
-AC_DEFUN([AM_MAINTAINER_MODE],
914
-[m4_case(m4_default([$1], [disable]),
915
- [enable], [m4_define([am_maintainer_other], [disable])],
916
- [disable], [m4_define([am_maintainer_other], [enable])],
917
- [m4_define([am_maintainer_other], [enable])
918
- m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
919
-AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
920
- dnl maintainer-mode's default is 'disable' unless 'enable' is passed
921
- AC_ARG_ENABLE([maintainer-mode],
922
-[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
923
- (and sometimes confusing) to the casual installer],
924
- [USE_MAINTAINER_MODE=$enableval],
925
- [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
926
- AC_MSG_RESULT([$USE_MAINTAINER_MODE])
927
- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
928
- MAINT=$MAINTAINER_MODE_TRUE
929
- AC_SUBST([MAINT])dnl
932
+# _LT_FORMAT_COMMENT([COMMENT])
933
+# -----------------------------
934
+# Add leading comment marks to the start of each line, and a trailing
935
+# full-stop to the whole comment if one is not present already.
936
+m4_define([_LT_FORMAT_COMMENT],
938
+m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
939
+ [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
942
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
944
-# Check to see how 'make' treats includes. -*- Autoconf -*-
946
-# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
948
-# This file is free software; the Free Software Foundation
949
-# gives unlimited permission to copy and/or distribute it,
950
-# with or without modifications, as long as this notice is preserved.
956
-# Check to see how make treats includes.
957
-AC_DEFUN([AM_MAKE_INCLUDE],
958
-[am_make=${MAKE-make}
959
-cat > confinc << 'END'
961
- @echo this is the am__doit target
964
-# If we don't find an include directive, just comment out the code.
965
-AC_MSG_CHECKING([for style of include used by $am_make])
969
-# First try GNU make style include.
970
-echo "include confinc" > confmf
971
-# Ignore all kinds of additional output from `make'.
972
-case `$am_make -s -f confmf 2> /dev/null` in #(
973
-*the\ am__doit\ target*)
974
- am__include=include
979
-# Now try BSD make style include.
980
-if test "$am__include" = "#"; then
981
- echo '.include "confinc"' > confmf
982
- case `$am_make -s -f confmf 2> /dev/null` in #(
983
- *the\ am__doit\ target*)
984
- am__include=.include
990
-AC_SUBST([am__include])
991
-AC_SUBST([am__quote])
992
-AC_MSG_RESULT([$_am_result])
993
-rm -f confinc confmf
994
+# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
995
+# -------------------------------------------------------------------
996
+# CONFIGNAME is the name given to the value in the libtool script.
997
+# VARNAME is the (base) name used in the configure script.
998
+# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
999
+# VARNAME. Any other value will be used directly.
1000
+m4_define([_LT_DECL],
1001
+[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
1002
+ [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
1003
+ [m4_ifval([$1], [$1], [$2])])
1004
+ lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
1006
+ [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
1007
+ lt_dict_add_subkey([lt_decl_dict], [$2],
1008
+ [tagged?], [m4_ifval([$5], [yes], [no])])])
1011
-# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
1013
-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
1014
-# Free Software Foundation, Inc.
1016
-# This file is free software; the Free Software Foundation
1017
-# gives unlimited permission to copy and/or distribute it,
1018
-# with or without modifications, as long as this notice is preserved.
1019
+# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
1020
+# --------------------------------------------------------
1021
+m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
1025
-# AM_MISSING_PROG(NAME, PROGRAM)
1026
-# ------------------------------
1027
-AC_DEFUN([AM_MISSING_PROG],
1028
-[AC_REQUIRE([AM_MISSING_HAS_RUN])
1029
-$1=${$1-"${am_missing_run}$2"}
1031
+# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
1032
+# ------------------------------------------------
1033
+m4_define([lt_decl_tag_varnames],
1034
+[_lt_decl_filter([tagged?], [yes], $@)])
1037
-# AM_MISSING_HAS_RUN
1038
-# ------------------
1039
-# Define MISSING if not defined so far and test if it supports --run.
1040
-# If it does, set am_missing_run to use it, otherwise, to nothing.
1041
-AC_DEFUN([AM_MISSING_HAS_RUN],
1042
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1043
-AC_REQUIRE_AUX_FILE([missing])dnl
1044
-if test x"${MISSING+set}" != xset; then
1045
- case $am_aux_dir in
1047
- MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1049
- MISSING="\${SHELL} $am_aux_dir/missing" ;;
1052
-# Use eval to expand $SHELL
1053
-if eval "$MISSING --run true"; then
1054
- am_missing_run="$MISSING --run "
1057
- AC_MSG_WARN([`missing' script is too old or missing])
1059
+# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
1060
+# ---------------------------------------------------------
1061
+m4_define([_lt_decl_filter],
1063
+ [0], [m4_fatal([$0: too few arguments: $#])],
1064
+ [1], [m4_fatal([$0: too few arguments: $#: $1])],
1065
+ [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
1066
+ [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
1067
+ [lt_dict_filter([lt_decl_dict], $@)])[]dnl
1070
-# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1072
-# This file is free software; the Free Software Foundation
1073
-# gives unlimited permission to copy and/or distribute it,
1074
-# with or without modifications, as long as this notice is preserved.
1078
-# Check for `mkdir -p'.
1079
-AC_DEFUN([AM_PROG_MKDIR_P],
1080
-[AC_PREREQ([2.60])dnl
1081
-AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1082
-dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
1083
-dnl while keeping a definition of mkdir_p for backward compatibility.
1084
-dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
1085
-dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
1086
-dnl Makefile.ins that do not define MKDIR_P, so we do our own
1087
-dnl adjustment using top_builddir (which is defined more often than
1089
-AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
1091
- [[\\/$]]* | ?:[[\\/]]*) ;;
1092
- */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1095
+# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
1096
+# --------------------------------------------------
1097
+m4_define([lt_decl_quote_varnames],
1098
+[_lt_decl_filter([value], [1], $@)])
1100
-# Helper functions for option handling. -*- Autoconf -*-
1102
-# Copyright (C) 2001, 2002, 2003, 2005, 2008 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.
1107
+# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
1108
+# ---------------------------------------------------
1109
+m4_define([lt_decl_dquote_varnames],
1110
+[_lt_decl_filter([value], [2], $@)])
1114
-# _AM_MANGLE_OPTION(NAME)
1115
-# -----------------------
1116
-AC_DEFUN([_AM_MANGLE_OPTION],
1117
-[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1118
+# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
1119
+# ---------------------------------------------------
1120
+m4_define([lt_decl_varnames_tagged],
1121
+[m4_assert([$# <= 2])dnl
1122
+_$0(m4_quote(m4_default([$1], [[, ]])),
1123
+ m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
1124
+ m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
1125
+m4_define([_lt_decl_varnames_tagged],
1126
+[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
1128
-# _AM_SET_OPTION(NAME)
1129
-# ------------------------------
1130
-# Set option NAME. Presently that only means defining a flag for this option.
1131
-AC_DEFUN([_AM_SET_OPTION],
1132
-[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1134
-# _AM_SET_OPTIONS(OPTIONS)
1135
-# ----------------------------------
1136
-# OPTIONS is a space-separated list of Automake options.
1137
-AC_DEFUN([_AM_SET_OPTIONS],
1138
-[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1139
+# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
1140
+# ------------------------------------------------
1141
+m4_define([lt_decl_all_varnames],
1142
+[_$0(m4_quote(m4_default([$1], [[, ]])),
1144
+ m4_quote(lt_decl_varnames),
1145
+ m4_quote(m4_shift($@))))[]dnl
1147
+m4_define([_lt_decl_all_varnames],
1148
+[lt_join($@, lt_decl_varnames_tagged([$1],
1149
+ lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
1152
-# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
1153
-# -------------------------------------------
1154
-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
1155
-AC_DEFUN([_AM_IF_OPTION],
1156
-[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1158
-# Check to make sure that the build environment is sane. -*- Autoconf -*-
1159
+# _LT_CONFIG_STATUS_DECLARE([VARNAME])
1160
+# ------------------------------------
1161
+# Quote a variable value, and forward it to `config.status' so that its
1162
+# declaration there will have the same value as in `configure'. VARNAME
1163
+# must have a single quote delimited value for this to work.
1164
+m4_define([_LT_CONFIG_STATUS_DECLARE],
1165
+[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
1167
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
1168
-# Free Software Foundation, Inc.
1170
+# _LT_CONFIG_STATUS_DECLARATIONS
1171
+# ------------------------------
1172
+# We delimit libtool config variables with single quotes, so when
1173
+# we write them to config.status, we have to be sure to quote all
1174
+# embedded single quotes properly. In configure, this macro expands
1175
+# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
1177
-# This file is free software; the Free Software Foundation
1178
-# gives unlimited permission to copy and/or distribute it,
1179
-# with or without modifications, as long as this notice is preserved.
1180
+# <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
1181
+m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
1182
+[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
1183
+ [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
1189
-AC_DEFUN([AM_SANITY_CHECK],
1190
-[AC_MSG_CHECKING([whether build environment is sane])
1193
-echo timestamp > conftest.file
1194
-# Reject unsafe characters in $srcdir or the absolute working directory
1195
-# name. Accept space and tab only in the latter.
1199
- *[[\\\"\#\$\&\'\`$am_lf]]*)
1200
- AC_MSG_ERROR([unsafe absolute working directory name]);;
1203
- *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1204
- AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
1208
+# Output comment and list of tags supported by the script
1209
+m4_defun([_LT_LIBTOOL_TAGS],
1210
+[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
1211
+available_tags="_LT_TAGS"dnl
1214
-# Do `set' in a subshell so we don't clobber the current shell's
1215
-# arguments. Must try -L first in case configure is actually a
1216
-# symlink; some systems play weird games with the mod time of symlinks
1217
-# (eg FreeBSD returns the mod time of the symlink's containing
1220
- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1221
- if test "$[*]" = "X"; then
1223
- set X `ls -t "$srcdir/configure" conftest.file`
1225
- rm -f conftest.file
1226
- if test "$[*]" != "X $srcdir/configure conftest.file" \
1227
- && test "$[*]" != "X conftest.file $srcdir/configure"; then
1229
- # If neither matched, then we have a broken ls. This can happen
1230
- # if, for instance, CONFIG_SHELL is bash and it inherits a
1231
- # broken ls alias from the environment. This has actually
1232
- # happened. Such a system could not be considered "sane".
1233
- AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
1234
-alias in your environment])
1236
+# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
1237
+# -----------------------------------
1238
+# Extract the dictionary values for VARNAME (optionally with TAG) and
1239
+# expand to a commented shell variable setting:
1241
+# # Some comment about what VAR is for.
1242
+# visible_name=$lt_internal_name
1243
+m4_define([_LT_LIBTOOL_DECLARE],
1244
+[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
1245
+ [description])))[]dnl
1246
+m4_pushdef([_libtool_name],
1247
+ m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
1248
+m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
1249
+ [0], [_libtool_name=[$]$1],
1250
+ [1], [_libtool_name=$lt_[]$1],
1251
+ [2], [_libtool_name=$lt_[]$1],
1252
+ [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
1253
+m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
1256
- test "$[2]" = conftest.file
1262
- AC_MSG_ERROR([newly created file is older than distributed files!
1263
-Check your system clock])
1265
-AC_MSG_RESULT(yes)])
1267
-# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
1269
-# This file is free software; the Free Software Foundation
1270
-# gives unlimited permission to copy and/or distribute it,
1271
-# with or without modifications, as long as this notice is preserved.
1272
+# _LT_LIBTOOL_CONFIG_VARS
1273
+# -----------------------
1274
+# Produce commented declarations of non-tagged libtool config variables
1275
+# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
1276
+# script. Tagged libtool config variables (even for the LIBTOOL CONFIG
1277
+# section) are produced by _LT_LIBTOOL_TAG_VARS.
1278
+m4_defun([_LT_LIBTOOL_CONFIG_VARS],
1279
+[m4_foreach([_lt_var],
1280
+ m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
1281
+ [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
1283
-# AM_PROG_INSTALL_STRIP
1284
-# ---------------------
1285
-# One issue with vendor `install' (even GNU) is that you can't
1286
-# specify the program used to strip binaries. This is especially
1287
-# annoying in cross-compiling environments, where the build's strip
1288
-# is unlikely to handle the host's binaries.
1289
-# Fortunately install-sh will honor a STRIPPROG variable, so we
1290
-# always use install-sh in `make install-strip', and initialize
1291
-# STRIPPROG with the value of the STRIP variable (set by the user).
1292
-AC_DEFUN([AM_PROG_INSTALL_STRIP],
1293
-[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1294
-# Installed binaries are usually stripped using `strip' when the user
1295
-# run `make install-strip'. However `strip' might not be the right
1296
-# tool to use in cross-compilation environments, therefore Automake
1297
-# will honor the `STRIP' environment variable to overrule this program.
1298
-dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
1299
-if test "$cross_compiling" != no; then
1300
- AC_CHECK_TOOL([STRIP], [strip], :)
1302
-INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1303
-AC_SUBST([INSTALL_STRIP_PROGRAM])])
1305
-# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
1307
-# This file is free software; the Free Software Foundation
1308
-# gives unlimited permission to copy and/or distribute it,
1309
-# with or without modifications, as long as this notice is preserved.
1310
+# _LT_LIBTOOL_TAG_VARS(TAG)
1311
+# -------------------------
1312
+m4_define([_LT_LIBTOOL_TAG_VARS],
1313
+[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
1314
+ [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
1318
-# _AM_SUBST_NOTMAKE(VARIABLE)
1319
-# ---------------------------
1320
-# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1321
-# This macro is traced by Automake.
1322
-AC_DEFUN([_AM_SUBST_NOTMAKE])
1323
+# _LT_TAGVAR(VARNAME, [TAGNAME])
1324
+# ------------------------------
1325
+m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
1327
-# AM_SUBST_NOTMAKE(VARIABLE)
1328
-# ---------------------------
1329
-# Public sister of _AM_SUBST_NOTMAKE.
1330
-AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1332
-# Check how to create a tarball. -*- Autoconf -*-
1333
+# _LT_CONFIG_COMMANDS
1334
+# -------------------
1335
+# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
1336
+# variables for single and double quote escaping we saved from calls
1337
+# to _LT_DECL, we can put quote escaped variables declarations
1338
+# into `config.status', and then the shell code to quote escape them in
1339
+# for loops in `config.status'. Finally, any additional code accumulated
1340
+# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
1341
+m4_defun([_LT_CONFIG_COMMANDS],
1342
+[AC_PROVIDE_IFELSE([LT_OUTPUT],
1343
+ dnl If the libtool generation code has been placed in $CONFIG_LT,
1344
+ dnl instead of duplicating it all over again into config.status,
1345
+ dnl then we will have config.status run $CONFIG_LT later, so it
1346
+ dnl needs to know what name is stored there:
1347
+ [AC_CONFIG_COMMANDS([libtool],
1348
+ [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
1349
+ dnl If the libtool generation code is destined for config.status,
1350
+ dnl expand the accumulated commands and init code now:
1351
+ [AC_CONFIG_COMMANDS([libtool],
1352
+ [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
1353
+])#_LT_CONFIG_COMMANDS
1355
-# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
1357
-# This file is free software; the Free Software Foundation
1358
-# gives unlimited permission to copy and/or distribute it,
1359
-# with or without modifications, as long as this notice is preserved.
1363
+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
1366
-# _AM_PROG_TAR(FORMAT)
1367
-# --------------------
1368
-# Check how to create a tarball in format FORMAT.
1369
-# FORMAT should be one of `v7', `ustar', or `pax'.
1371
-# Substitute a variable $(am__tar) that is a command
1372
-# writing to stdout a FORMAT-tarball containing the directory
1374
-# tardir=directory && $(am__tar) > result.tar
1376
-# Substitute a variable $(am__untar) that extract such
1377
-# a tarball read from stdin.
1378
-# $(am__untar) < result.tar
1379
-AC_DEFUN([_AM_PROG_TAR],
1380
-[# Always define AMTAR for backward compatibility.
1381
-AM_MISSING_PROG([AMTAR], [tar])
1383
- [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
1384
- [m4_case([$1], [ustar],, [pax],,
1385
- [m4_fatal([Unknown tar format])])
1386
-AC_MSG_CHECKING([how to create a $1 tar archive])
1387
-# Loop over all known methods to create a tar archive until one works.
1388
-_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1389
-_am_tools=${am_cv_prog_tar_$1-$_am_tools}
1390
-# Do not fold the above two line into one, because Tru64 sh and
1391
-# Solaris sh will not grok spaces in the rhs of `-'.
1392
-for _am_tool in $_am_tools
1396
- for _am_tar in tar gnutar gtar;
1398
- AM_RUN_LOG([$_am_tar --version]) && break
1400
- am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1401
- am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1402
- am__untar="$_am_tar -xf -"
1405
- # Must skip GNU tar: if it does not support --format= it doesn't create
1406
- # ustar tarball either.
1407
- (tar --version) >/dev/null 2>&1 && continue
1408
- am__tar='tar chf - "$$tardir"'
1409
- am__tar_='tar chf - "$tardir"'
1410
- am__untar='tar xf -'
1413
- am__tar='pax -L -x $1 -w "$$tardir"'
1414
- am__tar_='pax -L -x $1 -w "$tardir"'
1415
- am__untar='pax -r'
1418
- am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1419
- am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1420
- am__untar='cpio -i -H $1 -d'
1428
+# The HP-UX ksh and POSIX shell print the target directory to stdout
1429
+# if CDPATH is set.
1430
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1432
- # If the value was cached, stop now. We just wanted to have am__tar
1433
- # and am__untar set.
1434
- test -n "${am_cv_prog_tar_$1}" && break
1435
+sed_quote_subst='$sed_quote_subst'
1436
+double_quote_subst='$double_quote_subst'
1437
+delay_variable_subst='$delay_variable_subst'
1438
+_LT_CONFIG_STATUS_DECLARATIONS
1440
+LTCFLAGS='$LTCFLAGS'
1441
+compiler='$compiler_DEFAULT'
1443
- # tar/untar a dummy directory, and stop if the command works
1444
- rm -rf conftest.dir
1445
- mkdir conftest.dir
1446
- echo GrepMe > conftest.dir/file
1447
- AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1448
- rm -rf conftest.dir
1449
- if test -s conftest.tar; then
1450
- AM_RUN_LOG([$am__untar <conftest.tar])
1451
- grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1453
+# Quote evaled strings.
1454
+for var in lt_decl_all_varnames([[ \
1455
+]], lt_decl_quote_varnames); do
1456
+ case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
1457
+ *[[\\\\\\\`\\"\\\$]]*)
1458
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
1461
+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
1465
-rm -rf conftest.dir
1467
-AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1468
-AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1469
-AC_SUBST([am__tar])
1470
-AC_SUBST([am__untar])
1473
-dnl -*- mode: autoconf -*-
1476
+# Double-quote double-evaled strings.
1477
+for var in lt_decl_all_varnames([[ \
1478
+]], lt_decl_dquote_varnames); do
1479
+ case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
1480
+ *[[\\\\\\\`\\"\\\$]]*)
1481
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
1484
+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
1490
-dnl GTK_DOC_CHECK([minimum-gtk-doc-version])
1491
-AC_DEFUN([GTK_DOC_CHECK],
1493
- AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
1494
- AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
1495
+# Fix-up fallback echo if it was mangled by the above quoting rules.
1497
+*'\\\[$]0 --fallback-echo"')dnl "
1498
+ lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
1502
- dnl check for tools we added during development
1503
- AC_PATH_PROG([GTKDOC_CHECK],[gtkdoc-check])
1504
- AC_PATH_PROGS([GTKDOC_REBASE],[gtkdoc-rebase],[true])
1505
- AC_PATH_PROG([GTKDOC_MKPDF],[gtkdoc-mkpdf])
1506
+_LT_OUTPUT_LIBTOOL_INIT
1509
- dnl for overriding the documentation installation directory
1510
- AC_ARG_WITH([html-dir],
1511
- AS_HELP_STRING([--with-html-dir=PATH], [path to installed docs]),,
1512
- [with_html_dir='${datadir}/gtk-doc/html'])
1513
- HTML_DIR="$with_html_dir"
1514
- AC_SUBST([HTML_DIR])
1516
- dnl enable/disable documentation building
1517
- AC_ARG_ENABLE([gtk-doc],
1518
- AS_HELP_STRING([--enable-gtk-doc],
1519
- [use gtk-doc to build documentation [[default=no]]]),,
1520
- [enable_gtk_doc=no])
1523
+# This macro allows early generation of the libtool script (before
1524
+# AC_OUTPUT is called), incase it is used in configure for compilation
1526
+AC_DEFUN([LT_OUTPUT],
1527
+[: ${CONFIG_LT=./config.lt}
1528
+AC_MSG_NOTICE([creating $CONFIG_LT])
1529
+cat >"$CONFIG_LT" <<_LTEOF
1531
+# Generated by $as_me.
1532
+# Run this file to recreate a libtool stub with the current configuration.
1534
- if test x$enable_gtk_doc = xyes; then
1536
- [PKG_CHECK_EXISTS([gtk-doc],,
1537
- AC_MSG_ERROR([gtk-doc not installed and --enable-gtk-doc requested]))],
1538
- [PKG_CHECK_EXISTS([gtk-doc >= $1],,
1539
- AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build $PACKAGE_NAME]))])
1542
+SHELL=\${CONFIG_SHELL-$SHELL}
1545
- AC_MSG_CHECKING([whether to build gtk-doc documentation])
1546
- AC_MSG_RESULT($enable_gtk_doc)
1547
+cat >>"$CONFIG_LT" <<\_LTEOF
1551
- dnl enable/disable output formats
1552
- AC_ARG_ENABLE([gtk-doc-html],
1553
- AS_HELP_STRING([--enable-gtk-doc-html],
1554
- [build documentation in html format [[default=yes]]]),,
1555
- [enable_gtk_doc_html=yes])
1556
- AC_ARG_ENABLE([gtk-doc-pdf],
1557
- AS_HELP_STRING([--enable-gtk-doc-pdf],
1558
- [build documentation in pdf format [[default=no]]]),,
1559
- [enable_gtk_doc_pdf=no])
1560
+exec AS_MESSAGE_FD>&1
1561
+exec AS_MESSAGE_LOG_FD>>config.log
1564
+ AS_BOX([Running $as_me.])
1565
+} >&AS_MESSAGE_LOG_FD
1567
- if test -z "$GTKDOC_MKPDF"; then
1568
- enable_gtk_doc_pdf=no
1571
+\`$as_me' creates a local libtool stub from the current configuration,
1572
+for use in further configure time tests before the real libtool is
1575
+Usage: $[0] [[OPTIONS]]
1577
- AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes])
1578
- AM_CONDITIONAL([GTK_DOC_BUILD_HTML], [test x$enable_gtk_doc_html = xyes])
1579
- AM_CONDITIONAL([GTK_DOC_BUILD_PDF], [test x$enable_gtk_doc_pdf = xyes])
1580
- AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"])
1581
- AM_CONDITIONAL([GTK_DOC_USE_REBASE], [test -n "$GTKDOC_REBASE"])
1583
+ -h, --help print this help, then exit
1584
+ -V, --version print version number, then exit
1585
+ -q, --quiet do not print progress messages
1586
+ -d, --debug don't remove temporary files
1588
-# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
1590
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1591
-# 2006, 2007, 2008 Free Software Foundation, Inc.
1592
-# Written by Gordon Matzigkeit, 1996
1594
-# This file is free software; the Free Software Foundation gives
1595
-# unlimited permission to copy and/or distribute it, with or without
1596
-# modifications, as long as this notice is preserved.
1597
+Report bugs to <bug-libtool@gnu.org>."
1599
-m4_define([_LT_COPYING], [dnl
1600
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1601
-# 2006, 2007, 2008 Free Software Foundation, Inc.
1602
-# Written by Gordon Matzigkeit, 1996
1604
-# This file is part of GNU Libtool.
1606
-# GNU Libtool is free software; you can redistribute it and/or
1607
-# modify it under the terms of the GNU General Public License as
1608
-# published by the Free Software Foundation; either version 2 of
1609
-# the License, or (at your option) any later version.
1611
-# As a special exception to the GNU General Public License,
1612
-# if you distribute this file as part of a program or library that
1613
-# is built using GNU Libtool, you may include this file under the
1614
-# same distribution terms that you use for the rest of that program.
1616
-# GNU Libtool is distributed in the hope that it will be useful,
1617
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1618
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1619
-# GNU General Public License for more details.
1621
-# You should have received a copy of the GNU General Public License
1622
-# along with GNU Libtool; see the file COPYING. If not, a copy
1623
-# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
1624
-# obtained by writing to the Free Software Foundation, Inc.,
1625
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1628
+m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
1629
+m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
1630
+configured by $[0], generated by m4_PACKAGE_STRING.
1632
-# serial 56 LT_INIT
1633
+Copyright (C) 2008 Free Software Foundation, Inc.
1634
+This config.lt script is free software; the Free Software Foundation
1635
+gives unlimited permision to copy, distribute and modify it."
1637
+while test $[#] != 0
1640
+ --version | --v* | -V )
1641
+ echo "$lt_cl_version"; exit 0 ;;
1642
+ --help | --h* | -h )
1643
+ echo "$lt_cl_help"; exit 0 ;;
1644
+ --debug | --d* | -d )
1646
+ --quiet | --q* | --silent | --s* | -q )
1649
-# LT_PREREQ(VERSION)
1650
-# ------------------
1651
-# Complain and exit if this libtool version is less that VERSION.
1652
-m4_defun([LT_PREREQ],
1653
-[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
1655
- [m4_fatal([Libtool version $1 or higher is required],
1658
+ -*) AC_MSG_ERROR([unrecognized option: $[1]
1659
+Try \`$[0] --help' for more information.]) ;;
1661
+ *) AC_MSG_ERROR([unrecognized argument: $[1]
1662
+Try \`$[0] --help' for more information.]) ;;
1667
-# _LT_CHECK_BUILDDIR
1668
-# ------------------
1669
-# Complain if the absolute build directory name contains unusual characters
1670
-m4_defun([_LT_CHECK_BUILDDIR],
1673
- AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
1676
+if $lt_cl_silent; then
1677
+ exec AS_MESSAGE_FD>/dev/null
1681
+cat >>"$CONFIG_LT" <<_LTEOF
1682
+_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
1685
-# LT_INIT([OPTIONS])
1686
-# ------------------
1687
-AC_DEFUN([LT_INIT],
1688
-[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
1689
-AC_BEFORE([$0], [LT_LANG])dnl
1690
-AC_BEFORE([$0], [LT_OUTPUT])dnl
1691
-AC_BEFORE([$0], [LTDL_INIT])dnl
1692
-m4_require([_LT_CHECK_BUILDDIR])dnl
1693
+cat >>"$CONFIG_LT" <<\_LTEOF
1694
+AC_MSG_NOTICE([creating $ofile])
1695
+_LT_OUTPUT_LIBTOOL_COMMANDS
1698
+chmod +x "$CONFIG_LT"
1700
-dnl Autoconf doesn't catch unexpanded LT_ macros by default:
1701
-m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
1702
-m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
1703
-dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
1704
-dnl unless we require an AC_DEFUNed macro:
1705
-AC_REQUIRE([LTOPTIONS_VERSION])dnl
1706
-AC_REQUIRE([LTSUGAR_VERSION])dnl
1707
-AC_REQUIRE([LTVERSION_VERSION])dnl
1708
-AC_REQUIRE([LTOBSOLETE_VERSION])dnl
1709
-m4_require([_LT_PROG_LTMAIN])dnl
1710
+# configure is writing to config.log, but config.lt does its own redirection,
1711
+# appending to config.log, which fails on DOS, as config.log is still kept
1712
+# open by configure. Here we exec the FD to /dev/null, effectively closing
1713
+# config.log, so it can be properly (re)opened and appended to by config.lt.
1714
+if test "$no_create" != yes; then
1716
+ test "$silent" = yes &&
1717
+ lt_config_lt_args="$lt_config_lt_args --quiet"
1718
+ exec AS_MESSAGE_LOG_FD>/dev/null
1719
+ $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
1720
+ exec AS_MESSAGE_LOG_FD>>config.log
1721
+ $lt_cl_success || AS_EXIT(1)
1726
-_LT_SET_OPTIONS([$0], [$1])
1728
-# This can be used to rebuild libtool when needed
1729
-LIBTOOL_DEPS="$ltmain"
1732
+# If TAG is the built-in tag, create an initial libtool script with a
1733
+# default configuration from the untagged config vars. Otherwise add code
1734
+# to config.status for appending the configuration named by TAG from the
1735
+# matching tagged config vars.
1736
+m4_defun([_LT_CONFIG],
1737
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1738
+_LT_CONFIG_SAVE_COMMANDS([
1739
+ m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
1740
+ m4_if(_LT_TAG, [C], [
1741
+ # See if we are running on zsh, and set the options which allow our
1742
+ # commands through without removal of \ escapes.
1743
+ if test -n "${ZSH_VERSION+set}" ; then
1744
+ setopt NO_GLOB_SUBST
1747
-# Always use our own libtool.
1748
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1749
-AC_SUBST(LIBTOOL)dnl
1750
+ cfgfile="${ofile}T"
1751
+ trap "$RM \"$cfgfile\"; exit 1" 1 2 15
1755
+ cat <<_LT_EOF >> "$cfgfile"
1758
-# Only expand once:
1759
-m4_define([LT_INIT])
1761
+# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
1762
+# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
1763
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1764
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
1770
-AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
1771
-AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
1772
-dnl aclocal-1.4 backwards compatibility:
1773
-dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
1774
-dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
1775
+# ### BEGIN LIBTOOL CONFIG
1776
+_LT_LIBTOOL_CONFIG_VARS
1777
+_LT_LIBTOOL_TAG_VARS
1778
+# ### END LIBTOOL CONFIG
1782
-# _LT_CC_BASENAME(CC)
1783
-# -------------------
1784
-# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
1785
-m4_defun([_LT_CC_BASENAME],
1786
-[for cc_temp in $1""; do
1788
- compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
1789
- distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
1794
+ cat <<\_LT_EOF >> "$cfgfile"
1795
+# AIX sometimes has problems with the GCC collect2 program. For some
1796
+# reason, if we set the COLLECT_NAMES environment variable, the problems
1797
+# vanish in a puff of smoke.
1798
+if test "X${COLLECT_NAMES+set}" != Xset; then
1800
+ export COLLECT_NAMES
1806
-cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1811
-# _LT_FILEUTILS_DEFAULTS
1812
-# ----------------------
1813
-# It is okay to use these file commands and assume they have been set
1814
-# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
1815
-m4_defun([_LT_FILEUTILS_DEFAULTS],
1819
-])# _LT_FILEUTILS_DEFAULTS
1820
+ # We use sed instead of cat because bash on DJGPP gets confused if
1821
+ # if finds mixed CR/LF and LF-only lines. Since sed operates in
1822
+ # text mode, it properly converts lines to CR/LF. This bash problem
1823
+ # is reportedly fixed, but why not run on old versions too?
1824
+ sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
1825
+ || (rm -f "$cfgfile"; exit 1)
1827
+ _LT_PROG_XSI_SHELLFNS
1831
-m4_defun([_LT_SETUP],
1832
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
1833
-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
1834
-_LT_DECL([], [host_alias], [0], [The host system])dnl
1835
-_LT_DECL([], [host], [0])dnl
1836
-_LT_DECL([], [host_os], [0])dnl
1838
-_LT_DECL([], [build_alias], [0], [The build system])dnl
1839
-_LT_DECL([], [build], [0])dnl
1840
-_LT_DECL([], [build_os], [0])dnl
1842
-AC_REQUIRE([AC_PROG_CC])dnl
1843
-AC_REQUIRE([LT_PATH_LD])dnl
1844
-AC_REQUIRE([LT_PATH_NM])dnl
1846
-AC_REQUIRE([AC_PROG_LN_S])dnl
1847
-test -z "$LN_S" && LN_S="ln -s"
1848
-_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
1850
-AC_REQUIRE([LT_CMD_MAX_LEN])dnl
1851
-_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
1852
-_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
1854
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1855
-m4_require([_LT_CHECK_SHELL_FEATURES])dnl
1856
-m4_require([_LT_CMD_RELOAD])dnl
1857
-m4_require([_LT_CHECK_MAGIC_METHOD])dnl
1858
-m4_require([_LT_CMD_OLD_ARCHIVE])dnl
1859
-m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
1860
+ sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
1861
+ || (rm -f "$cfgfile"; exit 1)
1863
-_LT_CONFIG_LIBTOOL_INIT([
1864
-# See if we are running on zsh, and set the options which allow our
1865
-# commands through without removal of \ escapes INIT.
1866
-if test -n "\${ZSH_VERSION+set}" ; then
1867
- setopt NO_GLOB_SUBST
1870
-if test -n "${ZSH_VERSION+set}" ; then
1871
- setopt NO_GLOB_SUBST
1873
+ mv -f "$cfgfile" "$ofile" ||
1874
+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
1877
+[cat <<_LT_EOF >> "$ofile"
1880
+dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
1881
+dnl in a comment (ie after a #).
1882
+# ### BEGIN LIBTOOL TAG CONFIG: $1
1883
+_LT_LIBTOOL_TAG_VARS(_LT_TAG)
1884
+# ### END LIBTOOL TAG CONFIG: $1
1889
+ PACKAGE='$PACKAGE'
1890
+ VERSION='$VERSION'
1891
+ TIMESTAMP='$TIMESTAMP'
1893
+ ofile='$ofile'], [])
1894
+])dnl /_LT_CONFIG_SAVE_COMMANDS
1897
-m4_require([_LT_TAG_COMPILER])dnl
1898
-_LT_PROG_ECHO_BACKSLASH
1902
- # AIX sometimes has problems with the GCC collect2 program. For some
1903
- # reason, if we set the COLLECT_NAMES environment variable, the problems
1904
- # vanish in a puff of smoke.
1905
- if test "X${COLLECT_NAMES+set}" != Xset; then
1907
- export COLLECT_NAMES
1911
+# LT_SUPPORTED_TAG(TAG)
1912
+# ---------------------
1913
+# Trace this macro to discover what tags are supported by the libtool
1914
+# --tag option, using:
1915
+# autoconf --trace 'LT_SUPPORTED_TAG:$1'
1916
+AC_DEFUN([LT_SUPPORTED_TAG], [])
1918
-# Sed substitution that helps us do robust quoting. It backslashifies
1919
-# metacharacters that are still active within double-quoted strings.
1920
-sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
1922
-# Same as above, but do not quote variable references.
1923
-double_quote_subst='s/\([["`\\]]\)/\\\1/g'
1924
+# C support is built-in for now
1925
+m4_define([_LT_LANG_C_enabled], [])
1926
+m4_define([_LT_TAGS], [])
1928
-# Sed substitution to delay expansion of an escaped shell variable in a
1929
-# double_quote_subst'ed string.
1930
-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1932
-# Sed substitution to delay expansion of an escaped single quote.
1933
-delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1936
+# Enable libtool support for the given language if not already enabled.
1937
+AC_DEFUN([LT_LANG],
1938
+[AC_BEFORE([$0], [LT_OUTPUT])dnl
1940
+ [C], [_LT_LANG(C)],
1941
+ [C++], [_LT_LANG(CXX)],
1942
+ [Java], [_LT_LANG(GCJ)],
1943
+ [Fortran 77], [_LT_LANG(F77)],
1944
+ [Fortran], [_LT_LANG(FC)],
1945
+ [Windows Resource], [_LT_LANG(RC)],
1946
+ [m4_ifdef([_LT_LANG_]$1[_CONFIG],
1948
+ [m4_fatal([$0: unsupported language: "$1"])])])dnl
1951
-# Sed substitution to avoid accidental globbing in evaled expressions
1952
-no_glob_subst='s/\*/\\\*/g'
1954
-# Global variables:
1956
-can_build_shared=yes
1957
+# _LT_LANG(LANGNAME)
1958
+# ------------------
1959
+m4_defun([_LT_LANG],
1960
+[m4_ifdef([_LT_LANG_]$1[_enabled], [],
1961
+ [LT_SUPPORTED_TAG([$1])dnl
1962
+ m4_append([_LT_TAGS], [$1 ])dnl
1963
+ m4_define([_LT_LANG_]$1[_enabled], [])dnl
1964
+ _LT_LANG_$1_CONFIG($1)])dnl
1967
-# All known linkers require a `.a' archive for static linking (except MSVC,
1968
-# which needs '.lib').
1971
-with_gnu_ld="$lt_cv_prog_gnu_ld"
1974
-old_CFLAGS="$CFLAGS"
1975
+# _LT_LANG_DEFAULT_CONFIG
1976
+# -----------------------
1977
+m4_defun([_LT_LANG_DEFAULT_CONFIG],
1978
+[AC_PROVIDE_IFELSE([AC_PROG_CXX],
1980
+ [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
1982
-# Set sane defaults for various variables
1983
-test -z "$CC" && CC=cc
1984
-test -z "$LTCC" && LTCC=$CC
1985
-test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
1986
-test -z "$LD" && LD=ld
1987
-test -z "$ac_objext" && ac_objext=o
1988
+AC_PROVIDE_IFELSE([AC_PROG_F77],
1990
+ [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
1992
-_LT_CC_BASENAME([$compiler])
1993
+AC_PROVIDE_IFELSE([AC_PROG_FC],
1995
+ [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
1997
-# Only perform the check for file, if the check method requires it
1998
-test -z "$MAGIC_CMD" && MAGIC_CMD=file
1999
-case $deplibs_check_method in
2001
- if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2006
+dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
2007
+dnl pulling things in needlessly.
2008
+AC_PROVIDE_IFELSE([AC_PROG_GCJ],
2010
+ [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
2012
+ [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
2014
+ [m4_ifdef([AC_PROG_GCJ],
2015
+ [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
2016
+ m4_ifdef([A][M_PROG_GCJ],
2017
+ [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
2018
+ m4_ifdef([LT_PROG_GCJ],
2019
+ [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
2021
-# Use C for the default configuration in the libtool script
2022
-LT_SUPPORTED_TAG([CC])
2024
-_LT_LANG_DEFAULT_CONFIG
2025
-_LT_CONFIG_COMMANDS
2027
+AC_PROVIDE_IFELSE([LT_PROG_RC],
2029
+ [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
2030
+])# _LT_LANG_DEFAULT_CONFIG
2033
+AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
2034
+AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
2035
+AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
2036
+AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
2037
+dnl aclocal-1.4 backwards compatibility:
2038
+dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
2039
+dnl AC_DEFUN([AC_LIBTOOL_F77], [])
2040
+dnl AC_DEFUN([AC_LIBTOOL_FC], [])
2041
+dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
2045
-# Note that this code is called both from `configure', and `config.status'
2046
-# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
2047
-# `config.status' has no value for ac_aux_dir unless we are using Automake,
2048
-# so we pass a copy along to make sure it has a sensible value anyway.
2049
-m4_defun([_LT_PROG_LTMAIN],
2050
-[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
2051
-_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
2052
-ltmain="$ac_aux_dir/ltmain.sh"
2053
-])# _LT_PROG_LTMAIN
2057
+m4_defun([_LT_TAG_COMPILER],
2058
+[AC_REQUIRE([AC_PROG_CC])dnl
2060
+_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
2061
+_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
2062
+_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
2063
+_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
2065
-# So that we can recreate a full libtool script including additional
2066
-# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
2067
-# in macros and then make a single call at the end using the `libtool'
2069
+# If no C compiler was specified, use CC.
2072
+# If no C compiler flags were specified, use CFLAGS.
2073
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
2075
-# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
2076
-# ----------------------------------------
2077
-# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
2078
-m4_define([_LT_CONFIG_LIBTOOL_INIT],
2080
- [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
2083
+# Allow CC to be a program name with arguments.
2085
+])# _LT_TAG_COMPILER
2088
-m4_define([_LT_OUTPUT_LIBTOOL_INIT])
2090
+# _LT_COMPILER_BOILERPLATE
2091
+# ------------------------
2092
+# Check for compiler boilerplate output or warnings with
2093
+# the simple compiler test code.
2094
+m4_defun([_LT_COMPILER_BOILERPLATE],
2095
+[m4_require([_LT_DECL_SED])dnl
2096
+ac_outfile=conftest.$ac_objext
2097
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
2098
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
2099
+_lt_compiler_boilerplate=`cat conftest.err`
2101
+])# _LT_COMPILER_BOILERPLATE
2103
-# _LT_CONFIG_LIBTOOL([COMMANDS])
2104
-# ------------------------------
2105
-# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
2106
-m4_define([_LT_CONFIG_LIBTOOL],
2108
- [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
2113
-m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
2114
+# _LT_LINKER_BOILERPLATE
2115
+# ----------------------
2116
+# Check for linker boilerplate output or warnings with
2117
+# the simple link test code.
2118
+m4_defun([_LT_LINKER_BOILERPLATE],
2119
+[m4_require([_LT_DECL_SED])dnl
2120
+ac_outfile=conftest.$ac_objext
2121
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
2122
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
2123
+_lt_linker_boilerplate=`cat conftest.err`
2125
+])# _LT_LINKER_BOILERPLATE
2127
+# _LT_REQUIRED_DARWIN_CHECKS
2128
+# -------------------------
2129
+m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
2131
+ rhapsody* | darwin*)
2132
+ AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
2133
+ AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
2134
+ AC_CHECK_TOOL([LIPO], [lipo], [:])
2135
+ AC_CHECK_TOOL([OTOOL], [otool], [:])
2136
+ AC_CHECK_TOOL([OTOOL64], [otool64], [:])
2137
+ _LT_DECL([], [DSYMUTIL], [1],
2138
+ [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
2139
+ _LT_DECL([], [NMEDIT], [1],
2140
+ [Tool to change global to local symbols on Mac OS X])
2141
+ _LT_DECL([], [LIPO], [1],
2142
+ [Tool to manipulate fat objects and archives on Mac OS X])
2143
+ _LT_DECL([], [OTOOL], [1],
2144
+ [ldd/readelf like tool for Mach-O binaries on Mac OS X])
2145
+ _LT_DECL([], [OTOOL64], [1],
2146
+ [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
2148
-# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
2149
-# -----------------------------------------------------
2150
-m4_defun([_LT_CONFIG_SAVE_COMMANDS],
2151
-[_LT_CONFIG_LIBTOOL([$1])
2152
-_LT_CONFIG_LIBTOOL_INIT([$2])
2153
+ AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
2154
+ [lt_cv_apple_cc_single_mod=no
2155
+ if test -z "${LT_MULTI_MODULE}"; then
2156
+ # By default we will add the -single_module flag. You can override
2157
+ # by either setting the environment variable LT_MULTI_MODULE
2158
+ # non-empty at configure time, or by adding -multi_module to the
2160
+ rm -rf libconftest.dylib*
2161
+ echo "int foo(void){return 1;}" > conftest.c
2162
+ echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
2163
+-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
2164
+ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
2165
+ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
2167
+ if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
2168
+ lt_cv_apple_cc_single_mod=yes
2170
+ cat conftest.err >&AS_MESSAGE_LOG_FD
2172
+ rm -rf libconftest.dylib*
2175
+ AC_CACHE_CHECK([for -exported_symbols_list linker flag],
2176
+ [lt_cv_ld_exported_symbols_list],
2177
+ [lt_cv_ld_exported_symbols_list=no
2178
+ save_LDFLAGS=$LDFLAGS
2179
+ echo "_main" > conftest.sym
2180
+ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
2181
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
2182
+ [lt_cv_ld_exported_symbols_list=yes],
2183
+ [lt_cv_ld_exported_symbols_list=no])
2184
+ LDFLAGS="$save_LDFLAGS"
2187
+ rhapsody* | darwin1.[[012]])
2188
+ _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
2190
+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
2191
+ darwin*) # darwin 5.x on
2192
+ # if running on 10.5 or later, the deployment target defaults
2193
+ # to the OS version, if on x86, and 10.4, the deployment
2194
+ # target defaults to 10.4. Don't you love it?
2195
+ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
2196
+ 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
2197
+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
2199
+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
2201
+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
2205
+ if test "$lt_cv_apple_cc_single_mod" = "yes"; then
2206
+ _lt_dar_single_mod='$single_module'
2208
+ if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
2209
+ _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
2211
+ _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
2213
+ if test "$DSYMUTIL" != ":"; then
2214
+ _lt_dsymutil='~$DSYMUTIL $lib || :'
2223
-# _LT_FORMAT_COMMENT([COMMENT])
2224
-# -----------------------------
2225
-# Add leading comment marks to the start of each line, and a trailing
2226
-# full-stop to the whole comment if one is not present already.
2227
-m4_define([_LT_FORMAT_COMMENT],
2229
-m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
2230
- [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
2237
-# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
2238
-# -------------------------------------------------------------------
2239
-# CONFIGNAME is the name given to the value in the libtool script.
2240
-# VARNAME is the (base) name used in the configure script.
2241
-# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
2242
-# VARNAME. Any other value will be used directly.
2243
-m4_define([_LT_DECL],
2244
-[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
2245
- [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
2246
- [m4_ifval([$1], [$1], [$2])])
2247
- lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
2249
- [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
2250
- lt_dict_add_subkey([lt_decl_dict], [$2],
2251
- [tagged?], [m4_ifval([$5], [yes], [no])])])
2252
+# _LT_DARWIN_LINKER_FEATURES
2253
+# --------------------------
2254
+# Checks for linker and compiler features on darwin
2255
+m4_defun([_LT_DARWIN_LINKER_FEATURES],
2257
+ m4_require([_LT_REQUIRED_DARWIN_CHECKS])
2258
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
2259
+ _LT_TAGVAR(hardcode_direct, $1)=no
2260
+ _LT_TAGVAR(hardcode_automatic, $1)=yes
2261
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
2262
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=''
2263
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
2264
+ _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
2265
+ case $cc_basename in
2266
+ ifort*) _lt_dar_can_shared=yes ;;
2267
+ *) _lt_dar_can_shared=$GCC ;;
2269
+ if test "$_lt_dar_can_shared" = "yes"; then
2270
+ output_verbose_link_cmd=echo
2271
+ _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
2272
+ _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
2273
+ _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
2274
+ _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
2275
+ m4_if([$1], [CXX],
2276
+[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then
2277
+ _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
2278
+ _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
2282
+ _LT_TAGVAR(ld_shlibs, $1)=no
2286
+# _LT_SYS_MODULE_PATH_AIX
2287
+# -----------------------
2288
+# Links a minimal program and checks the executable
2289
+# for the system default hardcoded library path. In most cases,
2290
+# this is /usr/lib:/lib, but when the MPI compilers are used
2291
+# the location of the communication and MPI libs are included too.
2292
+# If we don't find anything, use the default library path according
2293
+# to the aix ld manual.
2294
+m4_defun([_LT_SYS_MODULE_PATH_AIX],
2295
+[m4_require([_LT_DECL_SED])dnl
2296
+AC_LINK_IFELSE(AC_LANG_PROGRAM,[
2297
+lt_aix_libpath_sed='
2298
+ /Import File Strings/,/^$/ {
2304
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
2305
+# Check for a 64-bit object if we didn't find anything.
2306
+if test -z "$aix_libpath"; then
2307
+ aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
2309
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
2310
+])# _LT_SYS_MODULE_PATH_AIX
2312
-# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
2313
-# --------------------------------------------------------
2314
-m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
2316
+# _LT_SHELL_INIT(ARG)
2317
+# -------------------
2318
+m4_define([_LT_SHELL_INIT],
2319
+[ifdef([AC_DIVERSION_NOTICE],
2320
+ [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
2321
+ [AC_DIVERT_PUSH(NOTICE)])
2326
-# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
2327
-# ------------------------------------------------
2328
-m4_define([lt_decl_tag_varnames],
2329
-[_lt_decl_filter([tagged?], [yes], $@)])
2331
+# _LT_PROG_ECHO_BACKSLASH
2332
+# -----------------------
2333
+# Add some code to the start of the generated configure script which
2334
+# will find an echo command which doesn't interpret backslashes.
2335
+m4_defun([_LT_PROG_ECHO_BACKSLASH],
2337
+# Check that we are running under the correct shell.
2338
+SHELL=${CONFIG_SHELL-/bin/sh}
2340
-# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
2341
-# ---------------------------------------------------------
2342
-m4_define([_lt_decl_filter],
2344
- [0], [m4_fatal([$0: too few arguments: $#])],
2345
- [1], [m4_fatal([$0: too few arguments: $#: $1])],
2346
- [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
2347
- [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
2348
- [lt_dict_filter([lt_decl_dict], $@)])[]dnl
2352
+ # Remove one level of quotation (which was required for Make).
2353
+ ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
2357
+ECHO=${lt_ECHO-echo}
2358
+if test "X[$]1" = X--no-reexec; then
2359
+ # Discard the --no-reexec flag, and continue.
2361
+elif test "X[$]1" = X--fallback-echo; then
2362
+ # Avoid inline document here, it may be left over
2364
+elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
2365
+ # Yippee, $ECHO works!
2368
+ # Restart under the correct shell.
2369
+ exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
2372
-# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
2373
-# --------------------------------------------------
2374
-m4_define([lt_decl_quote_varnames],
2375
-[_lt_decl_filter([value], [1], $@)])
2376
+if test "X[$]1" = X--fallback-echo; then
2377
+ # used as fallback echo
2385
+# The HP-UX ksh and POSIX shell print the target directory to stdout
2386
+# if CDPATH is set.
2387
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2389
-# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
2390
-# ---------------------------------------------------
2391
-m4_define([lt_decl_dquote_varnames],
2392
-[_lt_decl_filter([value], [2], $@)])
2393
+if test -z "$lt_ECHO"; then
2394
+ if test "X${echo_test_string+set}" != Xset; then
2395
+ # find a string as large as possible, as long as the shell can cope with it
2396
+ for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
2397
+ # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
2398
+ if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
2399
+ { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
2406
+ if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
2407
+ echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
2408
+ test "X$echo_testing_string" = "X$echo_test_string"; then
2411
+ # The Solaris, AIX, and Digital Unix default echo programs unquote
2412
+ # backslashes. This makes it impossible to quote backslashes using
2413
+ # echo "$something" | sed 's/\\/\\\\/g'
2415
+ # So, first we look for a working echo in the user's PATH.
2417
-# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
2418
-# ---------------------------------------------------
2419
-m4_define([lt_decl_varnames_tagged],
2420
-[m4_assert([$# <= 2])dnl
2421
-_$0(m4_quote(m4_default([$1], [[, ]])),
2422
- m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
2423
- m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
2424
-m4_define([_lt_decl_varnames_tagged],
2425
-[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
2426
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2427
+ for dir in $PATH /usr/ucb; do
2428
+ IFS="$lt_save_ifs"
2429
+ if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
2430
+ test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
2431
+ echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
2432
+ test "X$echo_testing_string" = "X$echo_test_string"; then
2437
+ IFS="$lt_save_ifs"
2439
+ if test "X$ECHO" = Xecho; then
2440
+ # We didn't find a better echo, so look for alternatives.
2441
+ if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
2442
+ echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
2443
+ test "X$echo_testing_string" = "X$echo_test_string"; then
2444
+ # This shell has a builtin print -r that does the trick.
2446
+ elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
2447
+ test "X$CONFIG_SHELL" != X/bin/ksh; then
2448
+ # If we have ksh, try running configure again with it.
2449
+ ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
2450
+ export ORIGINAL_CONFIG_SHELL
2451
+ CONFIG_SHELL=/bin/ksh
2452
+ export CONFIG_SHELL
2453
+ exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
2455
+ # Try using printf.
2456
+ ECHO='printf %s\n'
2457
+ if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
2458
+ echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
2459
+ test "X$echo_testing_string" = "X$echo_test_string"; then
2460
+ # Cool, printf works
2462
+ elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
2463
+ test "X$echo_testing_string" = 'X\t' &&
2464
+ echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
2465
+ test "X$echo_testing_string" = "X$echo_test_string"; then
2466
+ CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
2467
+ export CONFIG_SHELL
2468
+ SHELL="$CONFIG_SHELL"
2470
+ ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
2471
+ elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
2472
+ test "X$echo_testing_string" = 'X\t' &&
2473
+ echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
2474
+ test "X$echo_testing_string" = "X$echo_test_string"; then
2475
+ ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
2477
+ # maybe with a smaller string...
2480
-# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
2481
-# ------------------------------------------------
2482
-m4_define([lt_decl_all_varnames],
2483
-[_$0(m4_quote(m4_default([$1], [[, ]])),
2485
- m4_quote(lt_decl_varnames),
2486
- m4_quote(m4_shift($@))))[]dnl
2488
-m4_define([_lt_decl_all_varnames],
2489
-[lt_join($@, lt_decl_varnames_tagged([$1],
2490
- lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
2492
+ for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
2493
+ if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
2500
+ if test "$prev" != 'sed 50q "[$]0"'; then
2501
+ echo_test_string=`eval $prev`
2502
+ export echo_test_string
2503
+ exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
2505
+ # Oops. We lost completely, so just stick with echo.
2514
-# _LT_CONFIG_STATUS_DECLARE([VARNAME])
2515
-# ------------------------------------
2516
-# Quote a variable value, and forward it to `config.status' so that its
2517
-# declaration there will have the same value as in `configure'. VARNAME
2518
-# must have a single quote delimited value for this to work.
2519
-m4_define([_LT_CONFIG_STATUS_DECLARE],
2520
-[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
2523
-# _LT_CONFIG_STATUS_DECLARATIONS
2524
-# ------------------------------
2525
-# We delimit libtool config variables with single quotes, so when
2526
-# we write them to config.status, we have to be sure to quote all
2527
-# embedded single quotes properly. In configure, this macro expands
2528
-# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
2530
-# <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
2531
-m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
2532
-[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
2533
- [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
2538
-# Output comment and list of tags supported by the script
2539
-m4_defun([_LT_LIBTOOL_TAGS],
2540
-[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
2541
-available_tags="_LT_TAGS"dnl
2544
+# Copy echo and quote the copy suitably for passing to libtool from
2545
+# the Makefile, instead of quoting the original, which is used later.
2547
+if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
2548
+ lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
2551
-# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
2552
-# -----------------------------------
2553
-# Extract the dictionary values for VARNAME (optionally with TAG) and
2554
-# expand to a commented shell variable setting:
2556
-# # Some comment about what VAR is for.
2557
-# visible_name=$lt_internal_name
2558
-m4_define([_LT_LIBTOOL_DECLARE],
2559
-[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
2560
- [description])))[]dnl
2561
-m4_pushdef([_libtool_name],
2562
- m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
2563
-m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
2564
- [0], [_libtool_name=[$]$1],
2565
- [1], [_libtool_name=$lt_[]$1],
2566
- [2], [_libtool_name=$lt_[]$1],
2567
- [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
2568
-m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
2571
+_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
2572
+_LT_DECL([], [ECHO], [1],
2573
+ [An echo program that does not interpret backslashes])
2574
+])# _LT_PROG_ECHO_BACKSLASH
2577
-# _LT_LIBTOOL_CONFIG_VARS
2578
-# -----------------------
2579
-# Produce commented declarations of non-tagged libtool config variables
2580
-# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
2581
-# script. Tagged libtool config variables (even for the LIBTOOL CONFIG
2582
-# section) are produced by _LT_LIBTOOL_TAG_VARS.
2583
-m4_defun([_LT_LIBTOOL_CONFIG_VARS],
2584
-[m4_foreach([_lt_var],
2585
- m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
2586
- [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
2589
+m4_defun([_LT_ENABLE_LOCK],
2590
+[AC_ARG_ENABLE([libtool-lock],
2591
+ [AS_HELP_STRING([--disable-libtool-lock],
2592
+ [avoid locking (might break parallel builds)])])
2593
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
2595
+# Some flags need to be propagated to the compiler or linker for good
2599
+ # Find out which ABI we are using.
2600
+ echo 'int i;' > conftest.$ac_ext
2601
+ if AC_TRY_EVAL(ac_compile); then
2602
+ case `/usr/bin/file conftest.$ac_objext` in
2604
+ HPUX_IA64_MODE="32"
2607
+ HPUX_IA64_MODE="64"
2614
+ # Find out which ABI we are using.
2615
+ echo '[#]line __oline__ "configure"' > conftest.$ac_ext
2616
+ if AC_TRY_EVAL(ac_compile); then
2617
+ if test "$lt_cv_prog_gnu_ld" = yes; then
2618
+ case `/usr/bin/file conftest.$ac_objext` in
2620
+ LD="${LD-ld} -melf32bsmip"
2623
+ LD="${LD-ld} -melf32bmipn32"
2626
+ LD="${LD-ld} -melf64bmip"
2630
+ case `/usr/bin/file conftest.$ac_objext` in
2635
+ LD="${LD-ld} -n32"
2646
-# _LT_LIBTOOL_TAG_VARS(TAG)
2647
-# -------------------------
2648
-m4_define([_LT_LIBTOOL_TAG_VARS],
2649
-[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
2650
- [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
2651
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
2652
+s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
2653
+ # Find out which ABI we are using.
2654
+ echo 'int i;' > conftest.$ac_ext
2655
+ if AC_TRY_EVAL(ac_compile); then
2656
+ case `/usr/bin/file conftest.o` in
2659
+ x86_64-*kfreebsd*-gnu)
2660
+ LD="${LD-ld} -m elf_i386_fbsd"
2663
+ LD="${LD-ld} -m elf_i386"
2665
+ ppc64-*linux*|powerpc64-*linux*)
2666
+ LD="${LD-ld} -m elf32ppclinux"
2669
+ LD="${LD-ld} -m elf_s390"
2672
+ LD="${LD-ld} -m elf32_sparc"
2678
+ x86_64-*kfreebsd*-gnu)
2679
+ LD="${LD-ld} -m elf_x86_64_fbsd"
2682
+ LD="${LD-ld} -m elf_x86_64"
2684
+ ppc*-*linux*|powerpc*-*linux*)
2685
+ LD="${LD-ld} -m elf64ppc"
2687
+ s390*-*linux*|s390*-*tpf*)
2688
+ LD="${LD-ld} -m elf64_s390"
2691
+ LD="${LD-ld} -m elf64_sparc"
2701
+ # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2702
+ SAVE_CFLAGS="$CFLAGS"
2703
+ CFLAGS="$CFLAGS -belf"
2704
+ AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
2706
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
2708
+ if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2709
+ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2710
+ CFLAGS="$SAVE_CFLAGS"
2714
+ # Find out which ABI we are using.
2715
+ echo 'int i;' > conftest.$ac_ext
2716
+ if AC_TRY_EVAL(ac_compile); then
2717
+ case `/usr/bin/file conftest.o` in
2719
+ case $lt_cv_prog_gnu_ld in
2720
+ yes*) LD="${LD-ld} -m elf64_sparc" ;;
2722
+ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
2734
-# _LT_TAGVAR(VARNAME, [TAGNAME])
2735
-# ------------------------------
2736
-m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
2737
+need_locks="$enable_libtool_lock"
2738
+])# _LT_ENABLE_LOCK
2741
-# _LT_CONFIG_COMMANDS
2742
+# _LT_CMD_OLD_ARCHIVE
2743
# -------------------
2744
-# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
2745
-# variables for single and double quote escaping we saved from calls
2746
-# to _LT_DECL, we can put quote escaped variables declarations
2747
-# into `config.status', and then the shell code to quote escape them in
2748
-# for loops in `config.status'. Finally, any additional code accumulated
2749
-# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
2750
-m4_defun([_LT_CONFIG_COMMANDS],
2751
-[AC_PROVIDE_IFELSE([LT_OUTPUT],
2752
- dnl If the libtool generation code has been placed in $CONFIG_LT,
2753
- dnl instead of duplicating it all over again into config.status,
2754
- dnl then we will have config.status run $CONFIG_LT later, so it
2755
- dnl needs to know what name is stored there:
2756
- [AC_CONFIG_COMMANDS([libtool],
2757
- [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
2758
- dnl If the libtool generation code is destined for config.status,
2759
- dnl expand the accumulated commands and init code now:
2760
- [AC_CONFIG_COMMANDS([libtool],
2761
- [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
2762
-])#_LT_CONFIG_COMMANDS
2764
+m4_defun([_LT_CMD_OLD_ARCHIVE],
2765
+[AC_CHECK_TOOL(AR, ar, false)
2766
+test -z "$AR" && AR=ar
2767
+test -z "$AR_FLAGS" && AR_FLAGS=cru
2768
+_LT_DECL([], [AR], [1], [The archiver])
2769
+_LT_DECL([], [AR_FLAGS], [1])
2772
-m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
2774
+AC_CHECK_TOOL(STRIP, strip, :)
2775
+test -z "$STRIP" && STRIP=:
2776
+_LT_DECL([], [STRIP], [1], [A symbol stripping program])
2778
-# The HP-UX ksh and POSIX shell print the target directory to stdout
2779
-# if CDPATH is set.
2780
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2781
+AC_CHECK_TOOL(RANLIB, ranlib, :)
2782
+test -z "$RANLIB" && RANLIB=:
2783
+_LT_DECL([], [RANLIB], [1],
2784
+ [Commands used to install an old-style archive])
2786
-sed_quote_subst='$sed_quote_subst'
2787
-double_quote_subst='$double_quote_subst'
2788
-delay_variable_subst='$delay_variable_subst'
2789
-_LT_CONFIG_STATUS_DECLARATIONS
2791
-LTCFLAGS='$LTCFLAGS'
2792
-compiler='$compiler_DEFAULT'
2794
-# Quote evaled strings.
2795
-for var in lt_decl_all_varnames([[ \
2796
-]], lt_decl_quote_varnames); do
2797
- case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
2798
- *[[\\\\\\\`\\"\\\$]]*)
2799
- eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
2802
- eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
2806
+# Determine commands to create old-style static archives.
2807
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
2808
+old_postinstall_cmds='chmod 644 $oldlib'
2809
+old_postuninstall_cmds=
2811
-# Double-quote double-evaled strings.
2812
-for var in lt_decl_all_varnames([[ \
2813
-]], lt_decl_dquote_varnames); do
2814
- case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
2815
- *[[\\\\\\\`\\"\\\$]]*)
2816
- eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
2819
- eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
2823
+if test -n "$RANLIB"; then
2826
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
2829
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
2832
+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
2834
+_LT_DECL([], [old_postinstall_cmds], [2])
2835
+_LT_DECL([], [old_postuninstall_cmds], [2])
2836
+_LT_TAGDECL([], [old_archive_cmds], [2],
2837
+ [Commands used to build an old-style archive])
2838
+])# _LT_CMD_OLD_ARCHIVE
2840
-# Fix-up fallback echo if it was mangled by the above quoting rules.
2842
-*'\\\[$]0 --fallback-echo"')dnl "
2843
- lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
2847
-_LT_OUTPUT_LIBTOOL_INIT
2848
+# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
2849
+# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
2850
+# ----------------------------------------------------------------
2851
+# Check whether the given compiler option works
2852
+AC_DEFUN([_LT_COMPILER_OPTION],
2853
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2854
+m4_require([_LT_DECL_SED])dnl
2855
+AC_CACHE_CHECK([$1], [$2],
2857
+ m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
2858
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
2859
+ lt_compiler_flag="$3"
2860
+ # Insert the option either (1) after the last *FLAGS variable, or
2861
+ # (2) before a word containing "conftest.", or (3) at the end.
2862
+ # Note that $ac_compile itself does not contain backslashes and begins
2863
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
2864
+ # The option is referenced via a variable to avoid confusing sed.
2865
+ lt_compile=`echo "$ac_compile" | $SED \
2866
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2867
+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
2868
+ -e 's:$: $lt_compiler_flag:'`
2869
+ (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
2870
+ (eval "$lt_compile" 2>conftest.err)
2872
+ cat conftest.err >&AS_MESSAGE_LOG_FD
2873
+ echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
2874
+ if (exit $ac_status) && test -s "$ac_outfile"; then
2875
+ # The compiler can only warn and ignore the option if not recognized
2876
+ # So say no if there are warnings other than the usual output.
2877
+ $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
2878
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
2879
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
2886
+if test x"[$]$2" = xyes; then
2887
+ m4_if([$5], , :, [$5])
2889
+ m4_if([$6], , :, [$6])
2891
+])# _LT_COMPILER_OPTION
2895
-# This macro allows early generation of the libtool script (before
2896
-# AC_OUTPUT is called), incase it is used in configure for compilation
2898
-AC_DEFUN([LT_OUTPUT],
2899
-[: ${CONFIG_LT=./config.lt}
2900
-AC_MSG_NOTICE([creating $CONFIG_LT])
2901
-cat >"$CONFIG_LT" <<_LTEOF
2903
-# Generated by $as_me.
2904
-# Run this file to recreate a libtool stub with the current configuration.
2907
-SHELL=\${CONFIG_SHELL-$SHELL}
2910
+AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
2911
+dnl aclocal-1.4 backwards compatibility:
2912
+dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
2914
-cat >>"$CONFIG_LT" <<\_LTEOF
2918
-exec AS_MESSAGE_FD>&1
2919
-exec AS_MESSAGE_LOG_FD>>config.log
2922
- AS_BOX([Running $as_me.])
2923
-} >&AS_MESSAGE_LOG_FD
2924
+# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
2925
+# [ACTION-SUCCESS], [ACTION-FAILURE])
2926
+# ----------------------------------------------------
2927
+# Check whether the given linker option works
2928
+AC_DEFUN([_LT_LINKER_OPTION],
2929
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2930
+m4_require([_LT_DECL_SED])dnl
2931
+AC_CACHE_CHECK([$1], [$2],
2933
+ save_LDFLAGS="$LDFLAGS"
2934
+ LDFLAGS="$LDFLAGS $3"
2935
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
2936
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
2937
+ # The linker can only warn and ignore the option if not recognized
2938
+ # So say no if there are warnings
2939
+ if test -s conftest.err; then
2940
+ # Append any errors to the config.log.
2941
+ cat conftest.err 1>&AS_MESSAGE_LOG_FD
2942
+ $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
2943
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
2944
+ if diff conftest.exp conftest.er2 >/dev/null; then
2952
+ LDFLAGS="$save_LDFLAGS"
2956
-\`$as_me' creates a local libtool stub from the current configuration,
2957
-for use in further configure time tests before the real libtool is
2959
+if test x"[$]$2" = xyes; then
2960
+ m4_if([$4], , :, [$4])
2962
+ m4_if([$5], , :, [$5])
2964
+])# _LT_LINKER_OPTION
2966
-Usage: $[0] [[OPTIONS]]
2968
+AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
2969
+dnl aclocal-1.4 backwards compatibility:
2970
+dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
2972
- -h, --help print this help, then exit
2973
- -V, --version print version number, then exit
2974
- -q, --quiet do not print progress messages
2975
- -d, --debug don't remove temporary files
2977
-Report bugs to <bug-libtool@gnu.org>."
2980
+AC_DEFUN([LT_CMD_MAX_LEN],
2981
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
2982
+# find the maximum length of command line arguments
2983
+AC_MSG_CHECKING([the maximum length of command line arguments])
2984
+AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
2989
-m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
2990
-m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
2991
-configured by $[0], generated by m4_PACKAGE_STRING.
2994
+ # On DJGPP, this test can blow up pretty badly due to problems in libc
2995
+ # (any single argument exceeding 2000 bytes causes a buffer overrun
2996
+ # during glob expansion). Even if it were fixed, the result of this
2997
+ # check would be larger than it should be.
2998
+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
3001
-Copyright (C) 2008 Free Software Foundation, Inc.
3002
-This config.lt script is free software; the Free Software Foundation
3003
-gives unlimited permision to copy, distribute and modify it."
3005
+ # Under GNU Hurd, this test is not required because there is
3006
+ # no limit to the length of command line arguments.
3007
+ # Libtool will interpret -1 as no limit whatsoever
3008
+ lt_cv_sys_max_cmd_len=-1;
3011
-while test $[#] != 0
3014
- --version | --v* | -V )
3015
- echo "$lt_cl_version"; exit 0 ;;
3016
- --help | --h* | -h )
3017
- echo "$lt_cl_help"; exit 0 ;;
3018
- --debug | --d* | -d )
3020
- --quiet | --q* | --silent | --s* | -q )
3022
+ cygwin* | mingw* | cegcc*)
3023
+ # On Win9x/ME, this test blows up -- it succeeds, but takes
3024
+ # about 5 minutes as the teststring grows exponentially.
3025
+ # Worse, since 9x/ME are not pre-emptively multitasking,
3026
+ # you end up with a "frozen" computer, even though with patience
3027
+ # the test eventually succeeds (with a max line length of 256k).
3028
+ # Instead, let's just punt: use the minimum linelength reported by
3029
+ # all of the supported platforms: 8192 (on NT/2K/XP).
3030
+ lt_cv_sys_max_cmd_len=8192;
3033
- -*) AC_MSG_ERROR([unrecognized option: $[1]
3034
-Try \`$[0] --help' for more information.]) ;;
3036
+ # On AmigaOS with pdksh, this test takes hours, literally.
3037
+ # So we just punt and use a minimum line length of 8192.
3038
+ lt_cv_sys_max_cmd_len=8192;
3041
- *) AC_MSG_ERROR([unrecognized argument: $[1]
3042
-Try \`$[0] --help' for more information.]) ;;
3046
+ netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3047
+ # This has been around since 386BSD, at least. Likely further.
3048
+ if test -x /sbin/sysctl; then
3049
+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3050
+ elif test -x /usr/sbin/sysctl; then
3051
+ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3053
+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
3055
+ # And add a safety zone
3056
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3057
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3060
-if $lt_cl_silent; then
3061
- exec AS_MESSAGE_FD>/dev/null
3063
+ # We know the value 262144 and hardcode it with a safety zone (like BSD)
3064
+ lt_cv_sys_max_cmd_len=196608
3068
+ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3069
+ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3070
+ # nice to cause kernel panics so lets avoid the loop below.
3071
+ # First set a reasonable default.
3072
+ lt_cv_sys_max_cmd_len=16384
3074
+ if test -x /sbin/sysconfig; then
3075
+ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
3076
+ *1*) lt_cv_sys_max_cmd_len=-1 ;;
3081
+ lt_cv_sys_max_cmd_len=102400
3083
+ sysv5* | sco5v6* | sysv4.2uw2*)
3084
+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
3085
+ if test -n "$kargmax"; then
3086
+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
3088
+ lt_cv_sys_max_cmd_len=32768
3092
+ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
3093
+ if test -n "$lt_cv_sys_max_cmd_len"; then
3094
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3095
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3097
+ # Make teststring a little bigger before we do anything with it.
3098
+ # a 1K string should be a reasonable start.
3099
+ for i in 1 2 3 4 5 6 7 8 ; do
3100
+ teststring=$teststring$teststring
3102
+ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
3103
+ # If test is not a shell built-in, we'll probably end up computing a
3104
+ # maximum length that is only half of the actual maximum length, but
3106
+ while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
3107
+ = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
3108
+ test $i != 17 # 1/2 MB should be enough
3111
+ teststring=$teststring$teststring
3113
+ # Only check the string length outside the loop.
3114
+ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
3116
+ # Add a significant safety factor because C++ compilers can tack on
3117
+ # massive amounts of additional arguments before passing them to the
3118
+ # linker. It appears as though 1/2 is a usable value.
3119
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
3124
+if test -n $lt_cv_sys_max_cmd_len ; then
3125
+ AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
3127
+ AC_MSG_RESULT(none)
3130
+max_cmd_len=$lt_cv_sys_max_cmd_len
3131
+_LT_DECL([], [max_cmd_len], [0],
3132
+ [What is the maximum length of a command?])
3135
-cat >>"$CONFIG_LT" <<_LTEOF
3136
-_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
3139
+AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
3140
+dnl aclocal-1.4 backwards compatibility:
3141
+dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
3143
-cat >>"$CONFIG_LT" <<\_LTEOF
3144
-AC_MSG_NOTICE([creating $ofile])
3145
-_LT_OUTPUT_LIBTOOL_COMMANDS
3148
-chmod +x "$CONFIG_LT"
3150
-# configure is writing to config.log, but config.lt does its own redirection,
3151
-# appending to config.log, which fails on DOS, as config.log is still kept
3152
-# open by configure. Here we exec the FD to /dev/null, effectively closing
3153
-# config.log, so it can be properly (re)opened and appended to by config.lt.
3154
-if test "$no_create" != yes; then
3156
- test "$silent" = yes &&
3157
- lt_config_lt_args="$lt_config_lt_args --quiet"
3158
- exec AS_MESSAGE_LOG_FD>/dev/null
3159
- $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
3160
- exec AS_MESSAGE_LOG_FD>>config.log
3161
- $lt_cl_success || AS_EXIT(1)
3166
+m4_defun([_LT_HEADER_DLFCN],
3167
+[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
3168
+])# _LT_HEADER_DLFCN
3173
-# If TAG is the built-in tag, create an initial libtool script with a
3174
-# default configuration from the untagged config vars. Otherwise add code
3175
-# to config.status for appending the configuration named by TAG from the
3176
-# matching tagged config vars.
3177
-m4_defun([_LT_CONFIG],
3178
-[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
3179
-_LT_CONFIG_SAVE_COMMANDS([
3180
- m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
3181
- m4_if(_LT_TAG, [C], [
3182
- # See if we are running on zsh, and set the options which allow our
3183
- # commands through without removal of \ escapes.
3184
- if test -n "${ZSH_VERSION+set}" ; then
3185
- setopt NO_GLOB_SUBST
3187
+# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
3188
+# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
3189
+# ----------------------------------------------------------------
3190
+m4_defun([_LT_TRY_DLOPEN_SELF],
3191
+[m4_require([_LT_HEADER_DLFCN])dnl
3192
+if test "$cross_compiling" = yes; then :
3195
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
3196
+ lt_status=$lt_dlunknown
3197
+ cat > conftest.$ac_ext <<_LT_EOF
3198
+[#line __oline__ "configure"
3199
+#include "confdefs.h"
3201
- cfgfile="${ofile}T"
3202
- trap "$RM \"$cfgfile\"; exit 1" 1 2 15
3208
- cat <<_LT_EOF >> "$cfgfile"
3212
-# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
3213
-# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
3214
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
3215
-# NOTE: Changes made to this file will be lost: look at ltmain.sh.
3220
+# define LT_DLGLOBAL RTLD_GLOBAL
3223
+# define LT_DLGLOBAL DL_GLOBAL
3225
+# define LT_DLGLOBAL 0
3229
-# ### BEGIN LIBTOOL CONFIG
3230
-_LT_LIBTOOL_CONFIG_VARS
3231
-_LT_LIBTOOL_TAG_VARS
3232
-# ### END LIBTOOL CONFIG
3233
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
3234
+ find out it does not work in some platform. */
3235
+#ifndef LT_DLLAZY_OR_NOW
3237
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
3240
+# define LT_DLLAZY_OR_NOW DL_LAZY
3243
+# define LT_DLLAZY_OR_NOW RTLD_NOW
3246
+# define LT_DLLAZY_OR_NOW DL_NOW
3248
+# define LT_DLLAZY_OR_NOW 0
3256
+void fnord() { int i=42;}
3259
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
3260
+ int status = $lt_dlunknown;
3264
- cat <<\_LT_EOF >> "$cfgfile"
3265
-# AIX sometimes has problems with the GCC collect2 program. For some
3266
-# reason, if we set the COLLECT_NAMES environment variable, the problems
3267
-# vanish in a puff of smoke.
3268
-if test "X${COLLECT_NAMES+set}" != Xset; then
3270
- export COLLECT_NAMES
3277
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
3278
+ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
3279
+ /* dlclose (self); */
3282
+ puts (dlerror ());
3288
+ if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
3289
+ (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
3291
+ case x$lt_status in
3292
+ x$lt_dlno_uscore) $1 ;;
3293
+ x$lt_dlneed_uscore) $2 ;;
3294
+ x$lt_dlunknown|x*) $3 ;;
3297
+ # compilation failed
3302
+])# _LT_TRY_DLOPEN_SELF
3304
- # We use sed instead of cat because bash on DJGPP gets confused if
3305
- # if finds mixed CR/LF and LF-only lines. Since sed operates in
3306
- # text mode, it properly converts lines to CR/LF. This bash problem
3307
- # is reportedly fixed, but why not run on old versions too?
3308
- sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
3309
- || (rm -f "$cfgfile"; exit 1)
3311
- _LT_PROG_XSI_SHELLFNS
3312
+# LT_SYS_DLOPEN_SELF
3313
+# ------------------
3314
+AC_DEFUN([LT_SYS_DLOPEN_SELF],
3315
+[m4_require([_LT_HEADER_DLFCN])dnl
3316
+if test "x$enable_dlopen" != xyes; then
3317
+ enable_dlopen=unknown
3318
+ enable_dlopen_self=unknown
3319
+ enable_dlopen_self_static=unknown
3322
+ lt_cv_dlopen_libs=
3324
- sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
3325
- || (rm -f "$cfgfile"; exit 1)
3328
+ lt_cv_dlopen="load_add_on"
3329
+ lt_cv_dlopen_libs=
3330
+ lt_cv_dlopen_self=yes
3333
- mv -f "$cfgfile" "$ofile" ||
3334
- (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
3337
-[cat <<_LT_EOF >> "$ofile"
3339
-dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
3340
-dnl in a comment (ie after a #).
3341
-# ### BEGIN LIBTOOL TAG CONFIG: $1
3342
-_LT_LIBTOOL_TAG_VARS(_LT_TAG)
3343
-# ### END LIBTOOL TAG CONFIG: $1
3348
- PACKAGE='$PACKAGE'
3349
- VERSION='$VERSION'
3350
- TIMESTAMP='$TIMESTAMP'
3352
- ofile='$ofile'], [])
3353
-])dnl /_LT_CONFIG_SAVE_COMMANDS
3357
-# LT_SUPPORTED_TAG(TAG)
3358
-# ---------------------
3359
-# Trace this macro to discover what tags are supported by the libtool
3360
-# --tag option, using:
3361
-# autoconf --trace 'LT_SUPPORTED_TAG:$1'
3362
-AC_DEFUN([LT_SUPPORTED_TAG], [])
3363
+ mingw* | pw32* | cegcc*)
3364
+ lt_cv_dlopen="LoadLibrary"
3365
+ lt_cv_dlopen_libs=
3369
+ lt_cv_dlopen="dlopen"
3370
+ lt_cv_dlopen_libs=
3373
-# C support is built-in for now
3374
-m4_define([_LT_LANG_C_enabled], [])
3375
-m4_define([_LT_TAGS], [])
3377
+ # if libdl is installed we need to link against it
3378
+ AC_CHECK_LIB([dl], [dlopen],
3379
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
3380
+ lt_cv_dlopen="dyld"
3381
+ lt_cv_dlopen_libs=
3382
+ lt_cv_dlopen_self=yes
3387
+ AC_CHECK_FUNC([shl_load],
3388
+ [lt_cv_dlopen="shl_load"],
3389
+ [AC_CHECK_LIB([dld], [shl_load],
3390
+ [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
3391
+ [AC_CHECK_FUNC([dlopen],
3392
+ [lt_cv_dlopen="dlopen"],
3393
+ [AC_CHECK_LIB([dl], [dlopen],
3394
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
3395
+ [AC_CHECK_LIB([svld], [dlopen],
3396
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
3397
+ [AC_CHECK_LIB([dld], [dld_link],
3398
+ [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
3409
-# Enable libtool support for the given language if not already enabled.
3410
-AC_DEFUN([LT_LANG],
3411
-[AC_BEFORE([$0], [LT_OUTPUT])dnl
3413
- [C], [_LT_LANG(C)],
3414
- [C++], [_LT_LANG(CXX)],
3415
- [Java], [_LT_LANG(GCJ)],
3416
- [Fortran 77], [_LT_LANG(F77)],
3417
- [Fortran], [_LT_LANG(FC)],
3418
- [Windows Resource], [_LT_LANG(RC)],
3419
- [m4_ifdef([_LT_LANG_]$1[_CONFIG],
3421
- [m4_fatal([$0: unsupported language: "$1"])])])dnl
3423
+ if test "x$lt_cv_dlopen" != xno; then
3429
+ case $lt_cv_dlopen in
3431
+ save_CPPFLAGS="$CPPFLAGS"
3432
+ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
3434
-# _LT_LANG(LANGNAME)
3435
-# ------------------
3436
-m4_defun([_LT_LANG],
3437
-[m4_ifdef([_LT_LANG_]$1[_enabled], [],
3438
- [LT_SUPPORTED_TAG([$1])dnl
3439
- m4_append([_LT_TAGS], [$1 ])dnl
3440
- m4_define([_LT_LANG_]$1[_enabled], [])dnl
3441
- _LT_LANG_$1_CONFIG($1)])dnl
3443
+ save_LDFLAGS="$LDFLAGS"
3444
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
3447
+ LIBS="$lt_cv_dlopen_libs $LIBS"
3449
-# _LT_LANG_DEFAULT_CONFIG
3450
-# -----------------------
3451
-m4_defun([_LT_LANG_DEFAULT_CONFIG],
3452
-[AC_PROVIDE_IFELSE([AC_PROG_CXX],
3454
- [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
3455
+ AC_CACHE_CHECK([whether a program can dlopen itself],
3456
+ lt_cv_dlopen_self, [dnl
3457
+ _LT_TRY_DLOPEN_SELF(
3458
+ lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
3459
+ lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
3462
-AC_PROVIDE_IFELSE([AC_PROG_F77],
3464
- [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
3465
+ if test "x$lt_cv_dlopen_self" = xyes; then
3466
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
3467
+ AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
3468
+ lt_cv_dlopen_self_static, [dnl
3469
+ _LT_TRY_DLOPEN_SELF(
3470
+ lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
3471
+ lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
3475
-AC_PROVIDE_IFELSE([AC_PROG_FC],
3477
- [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
3478
+ CPPFLAGS="$save_CPPFLAGS"
3479
+ LDFLAGS="$save_LDFLAGS"
3484
-dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
3485
-dnl pulling things in needlessly.
3486
-AC_PROVIDE_IFELSE([AC_PROG_GCJ],
3488
- [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
3490
- [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
3492
- [m4_ifdef([AC_PROG_GCJ],
3493
- [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
3494
- m4_ifdef([A][M_PROG_GCJ],
3495
- [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
3496
- m4_ifdef([LT_PROG_GCJ],
3497
- [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
3498
+ case $lt_cv_dlopen_self in
3499
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
3500
+ *) enable_dlopen_self=unknown ;;
3503
-AC_PROVIDE_IFELSE([LT_PROG_RC],
3505
- [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
3506
-])# _LT_LANG_DEFAULT_CONFIG
3507
+ case $lt_cv_dlopen_self_static in
3508
+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
3509
+ *) enable_dlopen_self_static=unknown ;;
3512
+_LT_DECL([dlopen_support], [enable_dlopen], [0],
3513
+ [Whether dlopen is supported])
3514
+_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
3515
+ [Whether dlopen of programs is supported])
3516
+_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
3517
+ [Whether dlopen of statically linked programs is supported])
3518
+])# LT_SYS_DLOPEN_SELF
3521
-AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
3522
-AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
3523
-AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
3524
-AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
3526
+AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
3527
dnl aclocal-1.4 backwards compatibility:
3528
-dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
3529
-dnl AC_DEFUN([AC_LIBTOOL_F77], [])
3530
-dnl AC_DEFUN([AC_LIBTOOL_FC], [])
3531
-dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
3536
-m4_defun([_LT_TAG_COMPILER],
3537
-[AC_REQUIRE([AC_PROG_CC])dnl
3539
-_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
3540
-_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
3541
-_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
3542
-_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
3543
+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
3545
-# If no C compiler was specified, use CC.
3548
-# If no C compiler flags were specified, use CFLAGS.
3549
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
3550
+# _LT_COMPILER_C_O([TAGNAME])
3551
+# ---------------------------
3552
+# Check to see if options -c and -o are simultaneously supported by compiler.
3553
+# This macro does not hard code the compiler like AC_PROG_CC_C_O.
3554
+m4_defun([_LT_COMPILER_C_O],
3555
+[m4_require([_LT_DECL_SED])dnl
3556
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
3557
+m4_require([_LT_TAG_COMPILER])dnl
3558
+AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
3559
+ [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
3560
+ [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
3561
+ $RM -r conftest 2>/dev/null
3565
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
3567
-# Allow CC to be a program name with arguments.
3569
-])# _LT_TAG_COMPILER
3570
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
3571
+ # Insert the option either (1) after the last *FLAGS variable, or
3572
+ # (2) before a word containing "conftest.", or (3) at the end.
3573
+ # Note that $ac_compile itself does not contain backslashes and begins
3574
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
3575
+ lt_compile=`echo "$ac_compile" | $SED \
3576
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
3577
+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
3578
+ -e 's:$: $lt_compiler_flag:'`
3579
+ (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
3580
+ (eval "$lt_compile" 2>out/conftest.err)
3582
+ cat out/conftest.err >&AS_MESSAGE_LOG_FD
3583
+ echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
3584
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
3586
+ # The compiler can only warn and ignore the option if not recognized
3587
+ # So say no if there are warnings
3588
+ $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
3589
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
3590
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
3591
+ _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
3594
+ chmod u+w . 2>&AS_MESSAGE_LOG_FD
3596
+ # SGI C++ compiler will create directory out/ii_files/ for
3597
+ # template instantiation
3598
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
3599
+ $RM out/* && rmdir out
3604
+_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
3605
+ [Does compiler simultaneously support -c and -o options?])
3606
+])# _LT_COMPILER_C_O
3609
-# _LT_COMPILER_BOILERPLATE
3610
-# ------------------------
3611
-# Check for compiler boilerplate output or warnings with
3612
-# the simple compiler test code.
3613
-m4_defun([_LT_COMPILER_BOILERPLATE],
3614
-[m4_require([_LT_DECL_SED])dnl
3615
-ac_outfile=conftest.$ac_objext
3616
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext
3617
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
3618
-_lt_compiler_boilerplate=`cat conftest.err`
3620
-])# _LT_COMPILER_BOILERPLATE
3621
+# _LT_COMPILER_FILE_LOCKS([TAGNAME])
3622
+# ----------------------------------
3623
+# Check to see if we can do hard links to lock some files if needed
3624
+m4_defun([_LT_COMPILER_FILE_LOCKS],
3625
+[m4_require([_LT_ENABLE_LOCK])dnl
3626
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
3627
+_LT_COMPILER_C_O([$1])
3629
+hard_links="nottested"
3630
+if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
3631
+ # do not overwrite the value of need_locks provided by the user
3632
+ AC_MSG_CHECKING([if we can lock with hard links])
3635
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
3637
+ ln conftest.a conftest.b 2>&5 || hard_links=no
3638
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
3639
+ AC_MSG_RESULT([$hard_links])
3640
+ if test "$hard_links" = no; then
3641
+ AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
3647
+_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
3648
+])# _LT_COMPILER_FILE_LOCKS
3650
-# _LT_LINKER_BOILERPLATE
3651
-# ----------------------
3652
-# Check for linker boilerplate output or warnings with
3653
-# the simple link test code.
3654
-m4_defun([_LT_LINKER_BOILERPLATE],
3655
-[m4_require([_LT_DECL_SED])dnl
3656
-ac_outfile=conftest.$ac_objext
3657
-echo "$lt_simple_link_test_code" >conftest.$ac_ext
3658
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
3659
-_lt_linker_boilerplate=`cat conftest.err`
3661
-])# _LT_LINKER_BOILERPLATE
3663
-# _LT_REQUIRED_DARWIN_CHECKS
3664
-# -------------------------
3665
-m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
3667
- rhapsody* | darwin*)
3668
- AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
3669
- AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
3670
- AC_CHECK_TOOL([LIPO], [lipo], [:])
3671
- AC_CHECK_TOOL([OTOOL], [otool], [:])
3672
- AC_CHECK_TOOL([OTOOL64], [otool64], [:])
3673
- _LT_DECL([], [DSYMUTIL], [1],
3674
- [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
3675
- _LT_DECL([], [NMEDIT], [1],
3676
- [Tool to change global to local symbols on Mac OS X])
3677
- _LT_DECL([], [LIPO], [1],
3678
- [Tool to manipulate fat objects and archives on Mac OS X])
3679
- _LT_DECL([], [OTOOL], [1],
3680
- [ldd/readelf like tool for Mach-O binaries on Mac OS X])
3681
- _LT_DECL([], [OTOOL64], [1],
3682
- [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
3685
+m4_defun([_LT_CHECK_OBJDIR],
3686
+[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
3687
+[rm -f .libs 2>/dev/null
3688
+mkdir .libs 2>/dev/null
3689
+if test -d .libs; then
3690
+ lt_cv_objdir=.libs
3692
+ # MS-DOS does not allow filenames that begin with a dot.
3693
+ lt_cv_objdir=_libs
3695
+rmdir .libs 2>/dev/null])
3696
+objdir=$lt_cv_objdir
3697
+_LT_DECL([], [objdir], [0],
3698
+ [The name of the directory that contains temporary libtool files])dnl
3699
+m4_pattern_allow([LT_OBJDIR])dnl
3700
+AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
3701
+ [Define to the sub-directory in which libtool stores uninstalled libraries.])
3702
+])# _LT_CHECK_OBJDIR
3704
- AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
3705
- [lt_cv_apple_cc_single_mod=no
3706
- if test -z "${LT_MULTI_MODULE}"; then
3707
- # By default we will add the -single_module flag. You can override
3708
- # by either setting the environment variable LT_MULTI_MODULE
3709
- # non-empty at configure time, or by adding -multi_module to the
3711
- rm -rf libconftest.dylib*
3712
- echo "int foo(void){return 1;}" > conftest.c
3713
- echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
3714
--dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
3715
- $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
3716
- -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
3718
- if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
3719
- lt_cv_apple_cc_single_mod=yes
3721
- cat conftest.err >&AS_MESSAGE_LOG_FD
3723
- rm -rf libconftest.dylib*
3726
- AC_CACHE_CHECK([for -exported_symbols_list linker flag],
3727
- [lt_cv_ld_exported_symbols_list],
3728
- [lt_cv_ld_exported_symbols_list=no
3729
- save_LDFLAGS=$LDFLAGS
3730
- echo "_main" > conftest.sym
3731
- LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
3732
- AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
3733
- [lt_cv_ld_exported_symbols_list=yes],
3734
- [lt_cv_ld_exported_symbols_list=no])
3735
- LDFLAGS="$save_LDFLAGS"
3738
- rhapsody* | darwin1.[[012]])
3739
- _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
3741
- _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
3742
- darwin*) # darwin 5.x on
3743
- # if running on 10.5 or later, the deployment target defaults
3744
- # to the OS version, if on x86, and 10.4, the deployment
3745
- # target defaults to 10.4. Don't you love it?
3746
- case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
3747
- 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
3748
- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
3750
- _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
3752
- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
3756
- if test "$lt_cv_apple_cc_single_mod" = "yes"; then
3757
- _lt_dar_single_mod='$single_module'
3759
- if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
3760
- _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
3762
- _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
3764
- if test "$DSYMUTIL" != ":"; then
3765
- _lt_dsymutil='~$DSYMUTIL $lib || :'
3773
+# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
3774
+# --------------------------------------
3775
+# Check hardcoding attributes.
3776
+m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
3777
+[AC_MSG_CHECKING([how to hardcode library paths into programs])
3778
+_LT_TAGVAR(hardcode_action, $1)=
3779
+if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
3780
+ test -n "$_LT_TAGVAR(runpath_var, $1)" ||
3781
+ test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
3783
-# _LT_DARWIN_LINKER_FEATURES
3784
-# --------------------------
3785
-# Checks for linker and compiler features on darwin
3786
-m4_defun([_LT_DARWIN_LINKER_FEATURES],
3788
- m4_require([_LT_REQUIRED_DARWIN_CHECKS])
3789
- _LT_TAGVAR(archive_cmds_need_lc, $1)=no
3790
- _LT_TAGVAR(hardcode_direct, $1)=no
3791
- _LT_TAGVAR(hardcode_automatic, $1)=yes
3792
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3793
- _LT_TAGVAR(whole_archive_flag_spec, $1)=''
3794
- _LT_TAGVAR(link_all_deplibs, $1)=yes
3795
- _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
3796
- case $cc_basename in
3797
- ifort*) _lt_dar_can_shared=yes ;;
3798
- *) _lt_dar_can_shared=$GCC ;;
3800
- if test "$_lt_dar_can_shared" = "yes"; then
3801
- output_verbose_link_cmd=echo
3802
- _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
3803
- _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
3804
- _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
3805
- _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
3806
- m4_if([$1], [CXX],
3807
-[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then
3808
- _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
3809
- _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
3812
+ # We can hardcode non-existent directories.
3813
+ if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
3814
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
3815
+ # have to relink, otherwise we might link with an installed library
3816
+ # when we should be linking with a yet-to-be-installed one
3817
+ ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
3818
+ test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
3819
+ # Linking always hardcodes the temporary library directory.
3820
+ _LT_TAGVAR(hardcode_action, $1)=relink
3822
- _LT_TAGVAR(ld_shlibs, $1)=no
3823
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
3824
+ _LT_TAGVAR(hardcode_action, $1)=immediate
3828
+ # We cannot hardcode anything, or else we can only hardcode existing
3830
+ _LT_TAGVAR(hardcode_action, $1)=unsupported
3832
+AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
3834
-# _LT_SYS_MODULE_PATH_AIX
3835
-# -----------------------
3836
-# Links a minimal program and checks the executable
3837
-# for the system default hardcoded library path. In most cases,
3838
-# this is /usr/lib:/lib, but when the MPI compilers are used
3839
-# the location of the communication and MPI libs are included too.
3840
-# If we don't find anything, use the default library path according
3841
-# to the aix ld manual.
3842
-m4_defun([_LT_SYS_MODULE_PATH_AIX],
3843
-[m4_require([_LT_DECL_SED])dnl
3844
-AC_LINK_IFELSE(AC_LANG_PROGRAM,[
3845
-lt_aix_libpath_sed='
3846
- /Import File Strings/,/^$/ {
3852
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
3853
-# Check for a 64-bit object if we didn't find anything.
3854
-if test -z "$aix_libpath"; then
3855
- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
3857
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
3858
-])# _LT_SYS_MODULE_PATH_AIX
3859
+if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
3860
+ test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
3861
+ # Fast installation is not supported
3862
+ enable_fast_install=no
3863
+elif test "$shlibpath_overrides_runpath" = yes ||
3864
+ test "$enable_shared" = no; then
3865
+ # Fast installation is not necessary
3866
+ enable_fast_install=needless
3868
+_LT_TAGDECL([], [hardcode_action], [0],
3869
+ [How to hardcode a shared library path into an executable])
3870
+])# _LT_LINKER_HARDCODE_LIBPATH
3873
-# _LT_SHELL_INIT(ARG)
3874
-# -------------------
3875
-m4_define([_LT_SHELL_INIT],
3876
-[ifdef([AC_DIVERSION_NOTICE],
3877
- [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
3878
- [AC_DIVERT_PUSH(NOTICE)])
3884
-# _LT_PROG_ECHO_BACKSLASH
3885
-# -----------------------
3886
-# Add some code to the start of the generated configure script which
3887
-# will find an echo command which doesn't interpret backslashes.
3888
-m4_defun([_LT_PROG_ECHO_BACKSLASH],
3890
-# Check that we are running under the correct shell.
3891
-SHELL=${CONFIG_SHELL-/bin/sh}
3894
+m4_defun([_LT_CMD_STRIPLIB],
3895
+[m4_require([_LT_DECL_EGREP])
3898
+AC_MSG_CHECKING([whether stripping libraries is possible])
3899
+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
3900
+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
3901
+ test -z "$striplib" && striplib="$STRIP --strip-unneeded"
3902
+ AC_MSG_RESULT([yes])
3904
+# FIXME - insert some real tests, host_os isn't really good enough
3907
+ if test -n "$STRIP" ; then
3908
+ striplib="$STRIP -x"
3909
+ old_striplib="$STRIP -S"
3910
+ AC_MSG_RESULT([yes])
3912
+ AC_MSG_RESULT([no])
3916
+ AC_MSG_RESULT([no])
3920
+_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
3921
+_LT_DECL([], [striplib], [1])
3922
+])# _LT_CMD_STRIPLIB
3926
- # Remove one level of quotation (which was required for Make).
3927
- ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
3931
-ECHO=${lt_ECHO-echo}
3932
-if test "X[$]1" = X--no-reexec; then
3933
- # Discard the --no-reexec flag, and continue.
3935
-elif test "X[$]1" = X--fallback-echo; then
3936
- # Avoid inline document here, it may be left over
3938
-elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
3939
- # Yippee, $ECHO works!
3941
+# _LT_SYS_DYNAMIC_LINKER([TAG])
3942
+# -----------------------------
3943
+# PORTME Fill in your ld.so characteristics
3944
+m4_defun([_LT_SYS_DYNAMIC_LINKER],
3945
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
3946
+m4_require([_LT_DECL_EGREP])dnl
3947
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
3948
+m4_require([_LT_DECL_OBJDUMP])dnl
3949
+m4_require([_LT_DECL_SED])dnl
3950
+AC_MSG_CHECKING([dynamic linker characteristics])
3953
+if test "$GCC" = yes; then
3955
+ darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
3956
+ *) lt_awk_arg="/^libraries:/" ;;
3958
+ lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
3959
+ if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
3960
+ # if the path contains ";" then we assume it to be the separator
3961
+ # otherwise default to the standard path separator (i.e. ":") - it is
3962
+ # assumed that no part of a normal pathname contains ";" but that should
3963
+ # okay in the real world where ";" in dirpaths is itself problematic.
3964
+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
3966
+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
3968
+ # Ok, now we have the path, separated by spaces, we can step through it
3969
+ # and add multilib dir if necessary.
3970
+ lt_tmp_lt_search_path_spec=
3971
+ lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
3972
+ for lt_sys_path in $lt_search_path_spec; do
3973
+ if test -d "$lt_sys_path/$lt_multi_os_dir"; then
3974
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
3976
+ test -d "$lt_sys_path" && \
3977
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
3980
+ lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
3981
+BEGIN {RS=" "; FS="/|\n";} {
3984
+ for (lt_i = NF; lt_i > 0; lt_i--) {
3985
+ if ($lt_i != "" && $lt_i != ".") {
3986
+ if ($lt_i == "..") {
3989
+ if (lt_count == 0) {
3990
+ lt_foo="/" $lt_i lt_foo;
3997
+ if (lt_foo != "") { lt_freq[[lt_foo]]++; }
3998
+ if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
4000
+ sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
4002
- # Restart under the correct shell.
4003
- exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
4005
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
4007
+library_names_spec=
4008
+libname_spec='lib$name'
4012
+postuninstall_cmds=
4016
+shlibpath_overrides_runpath=unknown
4018
+dynamic_linker="$host_os ld.so"
4019
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
4020
+need_lib_prefix=unknown
4021
+hardcode_into_libs=no
4023
-if test "X[$]1" = X--fallback-echo; then
4024
- # used as fallback echo
4031
+# when you set need_version to no, make sure it does not cause -set_version
4032
+# flags to be left without arguments
4033
+need_version=unknown
4035
-# The HP-UX ksh and POSIX shell print the target directory to stdout
4036
-# if CDPATH is set.
4037
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4040
+ version_type=linux
4041
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
4042
+ shlibpath_var=LIBPATH
4044
-if test -z "$lt_ECHO"; then
4045
- if test "X${echo_test_string+set}" != Xset; then
4046
- # find a string as large as possible, as long as the shell can cope with it
4047
- for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
4048
- # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
4049
- if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
4050
- { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
4056
+ # AIX 3 has no versioning support, so we append a major version to the name.
4057
+ soname_spec='${libname}${release}${shared_ext}$major'
4060
- if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
4061
- echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
4062
- test "X$echo_testing_string" = "X$echo_test_string"; then
4065
+ version_type=linux
4066
+ need_lib_prefix=no
4068
+ hardcode_into_libs=yes
4069
+ if test "$host_cpu" = ia64; then
4070
+ # AIX 5 supports IA64
4071
+ library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
4072
+ shlibpath_var=LD_LIBRARY_PATH
4074
- # The Solaris, AIX, and Digital Unix default echo programs unquote
4075
- # backslashes. This makes it impossible to quote backslashes using
4076
- # echo "$something" | sed 's/\\/\\\\/g'
4078
- # So, first we look for a working echo in the user's PATH.
4080
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4081
- for dir in $PATH /usr/ucb; do
4082
- IFS="$lt_save_ifs"
4083
- if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
4084
- test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
4085
- echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
4086
- test "X$echo_testing_string" = "X$echo_test_string"; then
4089
+ # With GCC up to 2.95.x, collect2 would create an import file
4090
+ # for dependence libraries. The import file would start with
4091
+ # the line `#! .'. This would cause the generated library to
4092
+ # depend on `.', always an invalid library. This was fixed in
4093
+ # development snapshots of GCC prior to 3.0.
4095
+ aix4 | aix4.[[01]] | aix4.[[01]].*)
4096
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
4098
+ echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
4101
+ can_build_shared=no
4104
- IFS="$lt_save_ifs"
4107
+ # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
4108
+ # soname into executable. Probably we can add versioning support to
4109
+ # collect2, so additional links can be useful in future.
4110
+ if test "$aix_use_runtimelinking" = yes; then
4111
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
4112
+ # instead of lib<name>.a to let people know that these are not
4113
+ # typical AIX shared libraries.
4114
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4116
+ # We preserve .a as extension for shared libraries through AIX4.2
4117
+ # and later when we are not doing run time linking.
4118
+ library_names_spec='${libname}${release}.a $libname.a'
4119
+ soname_spec='${libname}${release}${shared_ext}$major'
4121
+ shlibpath_var=LIBPATH
4125
- if test "X$ECHO" = Xecho; then
4126
- # We didn't find a better echo, so look for alternatives.
4127
- if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
4128
- echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
4129
- test "X$echo_testing_string" = "X$echo_test_string"; then
4130
- # This shell has a builtin print -r that does the trick.
4132
- elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
4133
- test "X$CONFIG_SHELL" != X/bin/ksh; then
4134
- # If we have ksh, try running configure again with it.
4135
- ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
4136
- export ORIGINAL_CONFIG_SHELL
4137
- CONFIG_SHELL=/bin/ksh
4138
- export CONFIG_SHELL
4139
- exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
4141
- # Try using printf.
4142
- ECHO='printf %s\n'
4143
- if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
4144
- echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
4145
- test "X$echo_testing_string" = "X$echo_test_string"; then
4146
- # Cool, printf works
4148
- elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
4149
- test "X$echo_testing_string" = 'X\t' &&
4150
- echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
4151
- test "X$echo_testing_string" = "X$echo_test_string"; then
4152
- CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
4153
- export CONFIG_SHELL
4154
- SHELL="$CONFIG_SHELL"
4156
- ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
4157
- elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
4158
- test "X$echo_testing_string" = 'X\t' &&
4159
- echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
4160
- test "X$echo_testing_string" = "X$echo_test_string"; then
4161
- ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
4163
- # maybe with a smaller string...
4168
+ # Since July 2007 AmigaOS4 officially supports .so libraries.
4169
+ # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
4170
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4173
+ library_names_spec='$libname.ixlibrary $libname.a'
4174
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
4175
+ 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'
4180
- for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
4181
- if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
4188
+ library_names_spec='${libname}${shared_ext}'
4189
+ dynamic_linker="$host_os ld.so"
4190
+ shlibpath_var=LIBRARY_PATH
4193
- if test "$prev" != 'sed 50q "[$]0"'; then
4194
- echo_test_string=`eval $prev`
4195
- export echo_test_string
4196
- exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
4198
- # Oops. We lost completely, so just stick with echo.
4203
+ version_type=linux
4205
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4206
+ soname_spec='${libname}${release}${shared_ext}$major'
4207
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
4208
+ shlibpath_var=LD_LIBRARY_PATH
4209
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
4210
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
4211
+ # the default ld.so.conf also contains /usr/contrib/lib and
4212
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
4213
+ # libtool to hard-code these into programs
4216
+cygwin* | mingw* | pw32* | cegcc*)
4217
+ version_type=windows
4218
+ shrext_cmds=".dll"
4220
+ need_lib_prefix=no
4222
+ case $GCC,$host_os in
4223
+ yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
4224
+ library_names_spec='$libname.dll.a'
4225
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
4226
+ postinstall_cmds='base_file=`basename \${file}`~
4227
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
4228
+ dldir=$destdir/`dirname \$dlpath`~
4229
+ test -d \$dldir || mkdir -p \$dldir~
4230
+ $install_prog $dir/$dlname \$dldir/$dlname~
4231
+ chmod a+x \$dldir/$dlname~
4232
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
4233
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
4235
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
4236
+ dlpath=$dir/\$dldll~
4238
+ shlibpath_overrides_runpath=yes
4242
+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
4243
+ soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
4244
+ sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
4247
+ # MinGW DLLs use traditional 'lib' prefix
4248
+ soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
4249
+ sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
4250
+ if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
4251
+ # It is most probably a Windows format PATH printed by
4252
+ # mingw gcc, but we are running on Cygwin. Gcc prints its search
4253
+ # path with ; separators, and with drive letters. We can handle the
4254
+ # drive letters (cygwin fileutils understands them), so leave them,
4255
+ # especially as we might pass files found there to a mingw objdump,
4256
+ # which wouldn't understand a cygwinified path. Ahh.
4257
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
4259
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
4266
+ # pw32 DLLs use 'pw' prefix rather than 'lib'
4267
+ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
4272
-# Copy echo and quote the copy suitably for passing to libtool from
4273
-# the Makefile, instead of quoting the original, which is used later.
4275
-if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
4276
- lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
4279
+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
4282
+ dynamic_linker='Win32 ld.exe'
4283
+ # FIXME: first we should search . and the directory the executable is in
4284
+ shlibpath_var=PATH
4289
-_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
4290
-_LT_DECL([], [ECHO], [1],
4291
- [An echo program that does not interpret backslashes])
4292
-])# _LT_PROG_ECHO_BACKSLASH
4293
+darwin* | rhapsody*)
4294
+ dynamic_linker="$host_os dyld"
4295
+ version_type=darwin
4296
+ need_lib_prefix=no
4298
+ library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
4299
+ soname_spec='${libname}${release}${major}$shared_ext'
4300
+ shlibpath_overrides_runpath=yes
4301
+ shlibpath_var=DYLD_LIBRARY_PATH
4302
+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
4304
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
4305
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
4309
+ version_type=linux
4310
+ need_lib_prefix=no
4312
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
4313
+ soname_spec='${libname}${release}${shared_ext}$major'
4314
+ shlibpath_var=LD_LIBRARY_PATH
4319
-m4_defun([_LT_ENABLE_LOCK],
4320
-[AC_ARG_ENABLE([libtool-lock],
4321
- [AS_HELP_STRING([--disable-libtool-lock],
4322
- [avoid locking (might break parallel builds)])])
4323
-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4328
-# Some flags need to be propagated to the compiler or linker for good
4332
- # Find out which ABI we are using.
4333
- echo 'int i;' > conftest.$ac_ext
4334
- if AC_TRY_EVAL(ac_compile); then
4335
- case `/usr/bin/file conftest.$ac_objext` in
4337
- HPUX_IA64_MODE="32"
4340
- HPUX_IA64_MODE="64"
4342
+freebsd* | dragonfly*)
4343
+ # DragonFly does not have aout. When/if they implement a new
4344
+ # versioning mechanism, adjust this.
4345
+ if test -x /usr/bin/objformat; then
4346
+ objformat=`/usr/bin/objformat`
4349
+ freebsd[[123]]*) objformat=aout ;;
4350
+ *) objformat=elf ;;
4354
+ version_type=freebsd-$objformat
4355
+ case $version_type in
4357
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
4359
+ need_lib_prefix=no
4362
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
4366
+ shlibpath_var=LD_LIBRARY_PATH
4369
+ shlibpath_overrides_runpath=yes
4371
+ freebsd3.[[01]]* | freebsdelf3.[[01]]*)
4372
+ shlibpath_overrides_runpath=yes
4373
+ hardcode_into_libs=yes
4375
+ freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
4376
+ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
4377
+ shlibpath_overrides_runpath=no
4378
+ hardcode_into_libs=yes
4380
+ *) # from 4.6 on, and DragonFly
4381
+ shlibpath_overrides_runpath=yes
4382
+ hardcode_into_libs=yes
4387
- # Find out which ABI we are using.
4388
- echo '[#]line __oline__ "configure"' > conftest.$ac_ext
4389
- if AC_TRY_EVAL(ac_compile); then
4390
- if test "$lt_cv_prog_gnu_ld" = yes; then
4391
- case `/usr/bin/file conftest.$ac_objext` in
4393
- LD="${LD-ld} -melf32bsmip"
4396
- LD="${LD-ld} -melf32bmipn32"
4399
- LD="${LD-ld} -melf64bmip"
4403
- case `/usr/bin/file conftest.$ac_objext` in
4408
- LD="${LD-ld} -n32"
4419
+ version_type=linux
4420
+ need_lib_prefix=no
4422
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
4423
+ soname_spec='${libname}${release}${shared_ext}$major'
4424
+ shlibpath_var=LD_LIBRARY_PATH
4425
+ hardcode_into_libs=yes
4428
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4429
-s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
4430
- # Find out which ABI we are using.
4431
- echo 'int i;' > conftest.$ac_ext
4432
- if AC_TRY_EVAL(ac_compile); then
4433
- case `/usr/bin/file conftest.o` in
4436
- x86_64-*kfreebsd*-gnu)
4437
- LD="${LD-ld} -m elf_i386_fbsd"
4440
- LD="${LD-ld} -m elf_i386"
4442
- ppc64-*linux*|powerpc64-*linux*)
4443
- LD="${LD-ld} -m elf32ppclinux"
4446
- LD="${LD-ld} -m elf_s390"
4449
- LD="${LD-ld} -m elf32_sparc"
4455
- x86_64-*kfreebsd*-gnu)
4456
- LD="${LD-ld} -m elf_x86_64_fbsd"
4459
- LD="${LD-ld} -m elf_x86_64"
4461
- ppc*-*linux*|powerpc*-*linux*)
4462
- LD="${LD-ld} -m elf64ppc"
4464
- s390*-*linux*|s390*-*tpf*)
4465
- LD="${LD-ld} -m elf64_s390"
4468
- LD="${LD-ld} -m elf64_sparc"
4475
+hpux9* | hpux10* | hpux11*)
4476
+ # Give a soname corresponding to the major version so that dld.sl refuses to
4477
+ # link against other versions.
4478
+ version_type=sunos
4479
+ need_lib_prefix=no
4484
+ hardcode_into_libs=yes
4485
+ dynamic_linker="$host_os dld.so"
4486
+ shlibpath_var=LD_LIBRARY_PATH
4487
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
4488
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4489
+ soname_spec='${libname}${release}${shared_ext}$major'
4490
+ if test "X$HPUX_IA64_MODE" = X32; then
4491
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
4493
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
4495
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
4499
+ hardcode_into_libs=yes
4500
+ dynamic_linker="$host_os dld.sl"
4501
+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
4502
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
4503
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4504
+ soname_spec='${libname}${release}${shared_ext}$major'
4505
+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
4506
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
4510
+ dynamic_linker="$host_os dld.sl"
4511
+ shlibpath_var=SHLIB_PATH
4512
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
4513
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4514
+ soname_spec='${libname}${release}${shared_ext}$major'
4517
+ # HP-UX runs *really* slowly unless shared libraries are mode 555.
4518
+ postinstall_cmds='chmod 555 $lib'
4522
- # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4523
- SAVE_CFLAGS="$CFLAGS"
4524
- CFLAGS="$CFLAGS -belf"
4525
- AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
4527
- AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
4529
- if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4530
- # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4531
- CFLAGS="$SAVE_CFLAGS"
4534
+ version_type=linux
4535
+ need_lib_prefix=no
4537
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
4538
+ soname_spec='${libname}${release}${shared_ext}$major'
4539
+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
4540
+ shlibpath_var=LD_LIBRARY_PATH
4541
+ shlibpath_overrides_runpath=no
4542
+ hardcode_into_libs=yes
4545
- # Find out which ABI we are using.
4546
- echo 'int i;' > conftest.$ac_ext
4547
- if AC_TRY_EVAL(ac_compile); then
4548
- case `/usr/bin/file conftest.o` in
4550
- case $lt_cv_prog_gnu_ld in
4551
- yes*) LD="${LD-ld} -m elf64_sparc" ;;
4553
- if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
4560
+irix5* | irix6* | nonstopux*)
4562
+ nonstopux*) version_type=nonstopux ;;
4564
+ if test "$lt_cv_prog_gnu_ld" = yes; then
4565
+ version_type=linux
4570
+ need_lib_prefix=no
4572
+ soname_spec='${libname}${release}${shared_ext}$major'
4573
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
4575
+ irix5* | nonstopux*)
4576
+ libsuff= shlibsuff=
4579
+ case $LD in # libtool.m4 will add one of these switches to LD
4580
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
4581
+ libsuff= shlibsuff= libmagic=32-bit;;
4582
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
4583
+ libsuff=32 shlibsuff=N32 libmagic=N32;;
4584
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
4585
+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
4586
+ *) libsuff= shlibsuff= libmagic=never-match;;
4592
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
4593
+ shlibpath_overrides_runpath=no
4594
+ sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
4595
+ sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
4596
+ hardcode_into_libs=yes
4600
-need_locks="$enable_libtool_lock"
4601
-])# _LT_ENABLE_LOCK
4602
+# No shared lib support for Linux oldld, aout, or coff.
4603
+linux*oldld* | linux*aout* | linux*coff*)
4607
+# This must be Linux ELF.
4608
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
4609
+ version_type=linux
4610
+ need_lib_prefix=no
4612
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4613
+ soname_spec='${libname}${release}${shared_ext}$major'
4614
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
4615
+ shlibpath_var=LD_LIBRARY_PATH
4616
+ shlibpath_overrides_runpath=no
4617
+ # Some binutils ld are patched to set DT_RUNPATH
4618
+ save_LDFLAGS=$LDFLAGS
4619
+ save_libdir=$libdir
4620
+ eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
4621
+ LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
4622
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
4623
+ [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
4624
+ [shlibpath_overrides_runpath=yes])])
4625
+ LDFLAGS=$save_LDFLAGS
4626
+ libdir=$save_libdir
4628
-# _LT_CMD_OLD_ARCHIVE
4629
-# -------------------
4630
-m4_defun([_LT_CMD_OLD_ARCHIVE],
4631
-[AC_CHECK_TOOL(AR, ar, false)
4632
-test -z "$AR" && AR=ar
4633
-test -z "$AR_FLAGS" && AR_FLAGS=cru
4634
-_LT_DECL([], [AR], [1], [The archiver])
4635
-_LT_DECL([], [AR_FLAGS], [1])
4636
+ # This implies no fast_install, which is unacceptable.
4637
+ # Some rework will be needed to allow for fast_install
4638
+ # before this can be enabled.
4639
+ hardcode_into_libs=yes
4641
-AC_CHECK_TOOL(STRIP, strip, :)
4642
-test -z "$STRIP" && STRIP=:
4643
-_LT_DECL([], [STRIP], [1], [A symbol stripping program])
4644
+ # Append ld.so.conf contents to the search path
4645
+ if test -f /etc/ld.so.conf; then
4646
+ 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' ' '`
30
4647
+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
33
# We used to test for /lib/ld.so.1 and disable shared libraries on
34
@@ -2543,6 +2540,18 @@
35
dynamic_linker='GNU/Linux ld.so'
4650
-AC_CHECK_TOOL(RANLIB, ranlib, :)
4651
-test -z "$RANLIB" && RANLIB=:
4652
-_LT_DECL([], [RANLIB], [1],
4653
- [Commands used to install an old-style archive])
4654
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
4655
+ # powerpc, because MkLinux only supported shared libraries with the
4656
+ # GNU dynamic linker. Since this was broken with cross compilers,
4657
+ # most powerpc-linux boxes support dynamic linking these days and
4658
+ # people can always --disable-shared, the test was removed, and we
4659
+ # assume the GNU/Linux dynamic linker is in use.
4660
+ dynamic_linker='GNU/Linux ld.so'
4663
-# Determine commands to create old-style static archives.
4664
-old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
4665
-old_postinstall_cmds='chmod 644 $oldlib'
4666
-old_postuninstall_cmds=
4668
-if test -n "$RANLIB"; then
4671
- old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
4674
- old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
4677
- old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
4679
-_LT_DECL([], [old_postinstall_cmds], [2])
4680
-_LT_DECL([], [old_postuninstall_cmds], [2])
4681
-_LT_TAGDECL([], [old_archive_cmds], [2],
4682
- [Commands used to build an old-style archive])
4683
-])# _LT_CMD_OLD_ARCHIVE
39
4685
+ version_type=linux
40
4686
+ need_lib_prefix=no
46
4692
+ hardcode_into_libs=yes
47
4693
+ dynamic_linker='NetBSD ld.elf_so'
54
lt_cv_deplibs_check_method=pass_all
4697
+ version_type=sunos
4698
+ need_lib_prefix=no
4700
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4701
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4702
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4703
+ dynamic_linker='NetBSD (a.out) ld.so'
4705
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
4706
+ soname_spec='${libname}${release}${shared_ext}$major'
4707
+ dynamic_linker='NetBSD ld.elf_so'
4709
+ shlibpath_var=LD_LIBRARY_PATH
4710
+ shlibpath_overrides_runpath=yes
4711
+ hardcode_into_libs=yes
4714
-# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
4715
-# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
4716
-# ----------------------------------------------------------------
4717
-# Check whether the given compiler option works
4718
-AC_DEFUN([_LT_COMPILER_OPTION],
4719
-[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
4720
-m4_require([_LT_DECL_SED])dnl
4721
-AC_CACHE_CHECK([$1], [$2],
4723
- m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
4724
- echo "$lt_simple_compile_test_code" > conftest.$ac_ext
4725
- lt_compiler_flag="$3"
4726
- # Insert the option either (1) after the last *FLAGS variable, or
4727
- # (2) before a word containing "conftest.", or (3) at the end.
4728
- # Note that $ac_compile itself does not contain backslashes and begins
4729
- # with a dollar sign (not a hyphen), so the echo should work correctly.
4730
- # The option is referenced via a variable to avoid confusing sed.
4731
- lt_compile=`echo "$ac_compile" | $SED \
4732
- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
4733
- -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
4734
- -e 's:$: $lt_compiler_flag:'`
4735
- (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
4736
- (eval "$lt_compile" 2>conftest.err)
4738
- cat conftest.err >&AS_MESSAGE_LOG_FD
4739
- echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
4740
- if (exit $ac_status) && test -s "$ac_outfile"; then
4741
- # The compiler can only warn and ignore the option if not recognized
4742
- # So say no if there are warnings other than the usual output.
4743
- $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
4744
- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
4745
- if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
4752
+ version_type=linux
4753
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4754
+ shlibpath_var=LD_LIBRARY_PATH
4755
+ shlibpath_overrides_runpath=yes
4758
-if test x"[$]$2" = xyes; then
4759
- m4_if([$5], , :, [$5])
4761
- m4_if([$6], , :, [$6])
4763
-])# _LT_COMPILER_OPTION
4766
+ need_lib_prefix=no
4768
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4769
+ soname_spec='${libname}${release}${shared_ext}$major'
4770
+ shlibpath_var=LD_LIBRARY_PATH
4771
+ shlibpath_overrides_runpath=no
4772
+ hardcode_into_libs=yes
4773
+ dynamic_linker='ldqnx.so'
4777
-AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
4778
-dnl aclocal-1.4 backwards compatibility:
4779
-dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
4781
+ version_type=sunos
4782
+ sys_lib_dlsearch_path_spec="/usr/lib"
4783
+ need_lib_prefix=no
4784
+ # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
4786
+ openbsd3.3 | openbsd3.3.*) need_version=yes ;;
4787
+ *) need_version=no ;;
4789
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4790
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4791
+ shlibpath_var=LD_LIBRARY_PATH
4792
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4794
+ openbsd2.[[89]] | openbsd2.[[89]].*)
4795
+ shlibpath_overrides_runpath=no
4798
+ shlibpath_overrides_runpath=yes
4802
+ shlibpath_overrides_runpath=yes
4807
+ libname_spec='$name'
4808
+ shrext_cmds=".dll"
4809
+ need_lib_prefix=no
4810
+ library_names_spec='$libname${shared_ext} $libname.a'
4811
+ dynamic_linker='OS/2 ld.exe'
4812
+ shlibpath_var=LIBPATH
4815
-# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
4816
-# [ACTION-SUCCESS], [ACTION-FAILURE])
4817
-# ----------------------------------------------------
4818
-# Check whether the given linker option works
4819
-AC_DEFUN([_LT_LINKER_OPTION],
4820
-[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
4821
-m4_require([_LT_DECL_SED])dnl
4822
-AC_CACHE_CHECK([$1], [$2],
4824
- save_LDFLAGS="$LDFLAGS"
4825
- LDFLAGS="$LDFLAGS $3"
4826
- echo "$lt_simple_link_test_code" > conftest.$ac_ext
4827
- if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
4828
- # The linker can only warn and ignore the option if not recognized
4829
- # So say no if there are warnings
4830
- if test -s conftest.err; then
4831
- # Append any errors to the config.log.
4832
- cat conftest.err 1>&AS_MESSAGE_LOG_FD
4833
- $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
4834
- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
4835
- if diff conftest.exp conftest.er2 >/dev/null; then
4843
- LDFLAGS="$save_LDFLAGS"
4845
+osf3* | osf4* | osf5*)
4847
+ need_lib_prefix=no
4849
+ soname_spec='${libname}${release}${shared_ext}$major'
4850
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4851
+ shlibpath_var=LD_LIBRARY_PATH
4852
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
4853
+ sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
4856
-if test x"[$]$2" = xyes; then
4857
- m4_if([$4], , :, [$4])
4859
- m4_if([$5], , :, [$5])
4861
-])# _LT_LINKER_OPTION
4867
-AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
4868
-dnl aclocal-1.4 backwards compatibility:
4869
-dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
4871
+ version_type=linux
4872
+ need_lib_prefix=no
4874
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4875
+ soname_spec='${libname}${release}${shared_ext}$major'
4876
+ shlibpath_var=LD_LIBRARY_PATH
4877
+ shlibpath_overrides_runpath=yes
4878
+ hardcode_into_libs=yes
4879
+ # ldd complains unless libraries are executable
4880
+ postinstall_cmds='chmod +x $lib'
4884
+ version_type=sunos
4885
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4886
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
4887
+ shlibpath_var=LD_LIBRARY_PATH
4888
+ shlibpath_overrides_runpath=yes
4889
+ if test "$with_gnu_ld" = yes; then
4890
+ need_lib_prefix=no
4897
-AC_DEFUN([LT_CMD_MAX_LEN],
4898
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
4899
-# find the maximum length of command line arguments
4900
-AC_MSG_CHECKING([the maximum length of command line arguments])
4901
-AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
4905
+ version_type=linux
4906
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4907
+ soname_spec='${libname}${release}${shared_ext}$major'
4908
+ shlibpath_var=LD_LIBRARY_PATH
4909
+ case $host_vendor in
4911
+ shlibpath_overrides_runpath=no
4912
+ need_lib_prefix=no
4913
+ runpath_var=LD_RUN_PATH
4916
+ need_lib_prefix=no
4919
+ need_lib_prefix=no
4921
+ shlibpath_overrides_runpath=no
4922
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
4929
- # On DJGPP, this test can blow up pretty badly due to problems in libc
4930
- # (any single argument exceeding 2000 bytes causes a buffer overrun
4931
- # during glob expansion). Even if it were fixed, the result of this
4932
- # check would be larger than it should be.
4933
- lt_cv_sys_max_cmd_len=12288; # 12K is about right
4936
+ if test -d /usr/nec ;then
4937
+ version_type=linux
4938
+ library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
4939
+ soname_spec='$libname${shared_ext}.$major'
4940
+ shlibpath_var=LD_LIBRARY_PATH
4945
- # Under GNU Hurd, this test is not required because there is
4946
- # no limit to the length of command line arguments.
4947
- # Libtool will interpret -1 as no limit whatsoever
4948
- lt_cv_sys_max_cmd_len=-1;
4950
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4951
+ version_type=freebsd-elf
4952
+ need_lib_prefix=no
4954
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
4955
+ soname_spec='${libname}${release}${shared_ext}$major'
4956
+ shlibpath_var=LD_LIBRARY_PATH
4957
+ shlibpath_overrides_runpath=yes
4958
+ hardcode_into_libs=yes
4959
+ if test "$with_gnu_ld" = yes; then
4960
+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
4962
+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
4965
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
4969
+ sys_lib_dlsearch_path_spec='/usr/lib'
4972
- cygwin* | mingw* | cegcc*)
4973
- # On Win9x/ME, this test blows up -- it succeeds, but takes
4974
- # about 5 minutes as the teststring grows exponentially.
4975
- # Worse, since 9x/ME are not pre-emptively multitasking,
4976
- # you end up with a "frozen" computer, even though with patience
4977
- # the test eventually succeeds (with a max line length of 256k).
4978
- # Instead, let's just punt: use the minimum linelength reported by
4979
- # all of the supported platforms: 8192 (on NT/2K/XP).
4980
- lt_cv_sys_max_cmd_len=8192;
4983
+ # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
4984
+ version_type=linux
4985
+ need_lib_prefix=no
4987
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4988
+ shlibpath_var=LD_LIBRARY_PATH
4989
+ shlibpath_overrides_runpath=no
4990
+ hardcode_into_libs=yes
4994
- # On AmigaOS with pdksh, this test takes hours, literally.
4995
- # So we just punt and use a minimum line length of 8192.
4996
- lt_cv_sys_max_cmd_len=8192;
4999
+ version_type=linux
5000
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5001
+ soname_spec='${libname}${release}${shared_ext}$major'
5002
+ shlibpath_var=LD_LIBRARY_PATH
5005
- netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5006
- # This has been around since 386BSD, at least. Likely further.
5007
- if test -x /sbin/sysctl; then
5008
- lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5009
- elif test -x /usr/sbin/sysctl; then
5010
- lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5012
- lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5014
- # And add a safety zone
5015
- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5016
- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5022
+AC_MSG_RESULT([$dynamic_linker])
5023
+test "$dynamic_linker" = no && can_build_shared=no
5026
- # We know the value 262144 and hardcode it with a safety zone (like BSD)
5027
- lt_cv_sys_max_cmd_len=196608
5029
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
5030
+if test "$GCC" = yes; then
5031
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
5035
- # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5036
- # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5037
- # nice to cause kernel panics so lets avoid the loop below.
5038
- # First set a reasonable default.
5039
- lt_cv_sys_max_cmd_len=16384
5041
- if test -x /sbin/sysconfig; then
5042
- case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5043
- *1*) lt_cv_sys_max_cmd_len=-1 ;;
5048
- lt_cv_sys_max_cmd_len=102400
5050
- sysv5* | sco5v6* | sysv4.2uw2*)
5051
- kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5052
- if test -n "$kargmax"; then
5053
- lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
5055
- lt_cv_sys_max_cmd_len=32768
5059
- lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5060
- if test -n "$lt_cv_sys_max_cmd_len"; then
5061
- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5062
- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5064
- # Make teststring a little bigger before we do anything with it.
5065
- # a 1K string should be a reasonable start.
5066
- for i in 1 2 3 4 5 6 7 8 ; do
5067
- teststring=$teststring$teststring
5069
- SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5070
- # If test is not a shell built-in, we'll probably end up computing a
5071
- # maximum length that is only half of the actual maximum length, but
5073
- while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5074
- = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5075
- test $i != 17 # 1/2 MB should be enough
5078
- teststring=$teststring$teststring
5080
- # Only check the string length outside the loop.
5081
- lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5083
- # Add a significant safety factor because C++ compilers can tack on
5084
- # massive amounts of additional arguments before passing them to the
5085
- # linker. It appears as though 1/2 is a usable value.
5086
- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5087
+if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
5088
+ sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
5090
+if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
5091
+ sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
5094
+_LT_DECL([], [variables_saved_for_relink], [1],
5095
+ [Variables whose values should be saved in libtool wrapper scripts and
5096
+ restored at link time])
5097
+_LT_DECL([], [need_lib_prefix], [0],
5098
+ [Do we need the "lib" prefix for modules?])
5099
+_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
5100
+_LT_DECL([], [version_type], [0], [Library versioning type])
5101
+_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable])
5102
+_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
5103
+_LT_DECL([], [shlibpath_overrides_runpath], [0],
5104
+ [Is shlibpath searched before the hard-coded library search path?])
5105
+_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
5106
+_LT_DECL([], [library_names_spec], [1],
5107
+ [[List of archive names. First name is the real one, the rest are links.
5108
+ The last name is the one that the linker finds with -lNAME]])
5109
+_LT_DECL([], [soname_spec], [1],
5110
+ [[The coded name of the library, if different from the real name]])
5111
+_LT_DECL([], [postinstall_cmds], [2],
5112
+ [Command to use after installation of a shared archive])
5113
+_LT_DECL([], [postuninstall_cmds], [2],
5114
+ [Command to use after uninstallation of a shared archive])
5115
+_LT_DECL([], [finish_cmds], [2],
5116
+ [Commands used to finish a libtool library installation in a directory])
5117
+_LT_DECL([], [finish_eval], [1],
5118
+ [[As "finish_cmds", except a single script fragment to be evaled but
5120
+_LT_DECL([], [hardcode_into_libs], [0],
5121
+ [Whether we should hardcode library paths into libraries])
5122
+_LT_DECL([], [sys_lib_search_path_spec], [2],
5123
+ [Compile-time system search path for libraries])
5124
+_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
5125
+ [Run-time system search path for libraries])
5126
+])# _LT_SYS_DYNAMIC_LINKER
5129
+# _LT_PATH_TOOL_PREFIX(TOOL)
5130
+# --------------------------
5131
+# find a file program which can recognize shared library
5132
+AC_DEFUN([_LT_PATH_TOOL_PREFIX],
5133
+[m4_require([_LT_DECL_EGREP])dnl
5134
+AC_MSG_CHECKING([for $1])
5135
+AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
5136
+[case $MAGIC_CMD in
5137
+[[\\/*] | ?:[\\/]*])
5138
+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5141
+ lt_save_MAGIC_CMD="$MAGIC_CMD"
5142
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5143
+dnl $ac_dummy forces splitting on constant user-supplied paths.
5144
+dnl POSIX.2 word splitting is done only on the output of word expansions,
5145
+dnl not every word. This closes a longstanding sh security hole.
5146
+ ac_dummy="m4_if([$2], , $PATH, [$2])"
5147
+ for ac_dir in $ac_dummy; do
5148
+ IFS="$lt_save_ifs"
5149
+ test -z "$ac_dir" && ac_dir=.
5150
+ if test -f $ac_dir/$1; then
5151
+ lt_cv_path_MAGIC_CMD="$ac_dir/$1"
5152
+ if test -n "$file_magic_test_file"; then
5153
+ case $deplibs_check_method in
5155
+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
5156
+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5157
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5158
+ $EGREP "$file_magic_regex" > /dev/null; then
5161
+ cat <<_LT_EOF 1>&2
5163
+*** Warning: the command libtool uses to detect shared libraries,
5164
+*** $file_magic_cmd, produces output that libtool cannot recognize.
5165
+*** The result is that libtool may fail to recognize shared libraries
5166
+*** as such. This will affect the creation of libtool libraries that
5167
+*** depend on shared libraries, but programs linked with such libtool
5168
+*** libraries will work regardless of this problem. Nevertheless, you
5169
+*** may want to report the problem to your system manager and/or to
5170
+*** bug-libtool@gnu.org
5181
-if test -n $lt_cv_sys_max_cmd_len ; then
5182
- AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
5184
+ IFS="$lt_save_ifs"
5185
+ MAGIC_CMD="$lt_save_MAGIC_CMD"
5188
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5189
+if test -n "$MAGIC_CMD"; then
5190
+ AC_MSG_RESULT($MAGIC_CMD)
5192
- AC_MSG_RESULT(none)
5195
-max_cmd_len=$lt_cv_sys_max_cmd_len
5196
-_LT_DECL([], [max_cmd_len], [0],
5197
- [What is the maximum length of a command?])
5199
+_LT_DECL([], [MAGIC_CMD], [0],
5200
+ [Used to examine libraries when file_magic_cmd begins with "file"])dnl
5201
+])# _LT_PATH_TOOL_PREFIX
5204
-AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
5205
+AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
5206
dnl aclocal-1.4 backwards compatibility:
5207
-dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
5212
-m4_defun([_LT_HEADER_DLFCN],
5213
-[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
5214
-])# _LT_HEADER_DLFCN
5215
+dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
5218
-# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
5219
-# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
5220
-# ----------------------------------------------------------------
5221
-m4_defun([_LT_TRY_DLOPEN_SELF],
5222
-[m4_require([_LT_HEADER_DLFCN])dnl
5223
-if test "$cross_compiling" = yes; then :
5226
- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
5227
- lt_status=$lt_dlunknown
5228
- cat > conftest.$ac_ext <<_LT_EOF
5229
-[#line __oline__ "configure"
5230
-#include "confdefs.h"
5239
-# define LT_DLGLOBAL RTLD_GLOBAL
5242
-# define LT_DLGLOBAL DL_GLOBAL
5244
-# define LT_DLGLOBAL 0
5248
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
5249
- find out it does not work in some platform. */
5250
-#ifndef LT_DLLAZY_OR_NOW
5252
-# define LT_DLLAZY_OR_NOW RTLD_LAZY
5255
-# define LT_DLLAZY_OR_NOW DL_LAZY
5258
-# define LT_DLLAZY_OR_NOW RTLD_NOW
5261
-# define LT_DLLAZY_OR_NOW DL_NOW
5263
-# define LT_DLLAZY_OR_NOW 0
5270
-void fnord() { int i=42;}
5273
- void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
5274
- int status = $lt_dlunknown;
5278
- if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
5279
- else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
5280
- /* dlclose (self); */
5284
+# find a file program which can recognize a shared library
5285
+m4_defun([_LT_PATH_MAGIC],
5286
+[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
5287
+if test -z "$lt_cv_path_MAGIC_CMD"; then
5288
+ if test -n "$ac_tool_prefix"; then
5289
+ _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
5291
- puts (dlerror ());
5296
- if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
5297
- (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
5299
- case x$lt_status in
5300
- x$lt_dlno_uscore) $1 ;;
5301
- x$lt_dlneed_uscore) $2 ;;
5302
- x$lt_dlunknown|x*) $3 ;;
5305
- # compilation failed
5311
-])# _LT_TRY_DLOPEN_SELF
5314
-# LT_SYS_DLOPEN_SELF
5315
-# ------------------
5316
-AC_DEFUN([LT_SYS_DLOPEN_SELF],
5317
-[m4_require([_LT_HEADER_DLFCN])dnl
5318
-if test "x$enable_dlopen" != xyes; then
5319
- enable_dlopen=unknown
5320
- enable_dlopen_self=unknown
5321
- enable_dlopen_self_static=unknown
5324
- lt_cv_dlopen_libs=
5329
- lt_cv_dlopen="load_add_on"
5330
- lt_cv_dlopen_libs=
5331
- lt_cv_dlopen_self=yes
5334
- mingw* | pw32* | cegcc*)
5335
- lt_cv_dlopen="LoadLibrary"
5336
- lt_cv_dlopen_libs=
5340
+# find the pathname to the GNU or non-GNU linker
5341
+AC_DEFUN([LT_PATH_LD],
5342
+[AC_REQUIRE([AC_PROG_CC])dnl
5343
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
5344
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
5345
+m4_require([_LT_DECL_SED])dnl
5346
+m4_require([_LT_DECL_EGREP])dnl
5349
- lt_cv_dlopen="dlopen"
5350
- lt_cv_dlopen_libs=
5352
+AC_ARG_WITH([gnu-ld],
5353
+ [AS_HELP_STRING([--with-gnu-ld],
5354
+ [assume the C compiler uses GNU ld @<:@default=no@:>@])],
5355
+ [test "$withval" = no || with_gnu_ld=yes],
5356
+ [with_gnu_ld=no])dnl
5359
- # if libdl is installed we need to link against it
5360
- AC_CHECK_LIB([dl], [dlopen],
5361
- [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
5362
- lt_cv_dlopen="dyld"
5363
- lt_cv_dlopen_libs=
5364
- lt_cv_dlopen_self=yes
5367
+if test "$GCC" = yes; then
5368
+ # Check if gcc -print-prog-name=ld gives a path.
5369
+ AC_MSG_CHECKING([for ld used by $CC])
5372
+ # gcc leaves a trailing carriage return which upsets mingw
5373
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5375
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5378
+ # Accept absolute paths.
5379
+ [[\\/]]* | ?:[[\\/]]*)
5380
+ re_direlt='/[[^/]][[^/]]*/\.\./'
5381
+ # Canonicalize the pathname of ld
5382
+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5383
+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5384
+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5386
+ test -z "$LD" && LD="$ac_prog"
5389
+ # If it fails, then pretend we aren't using GCC.
5394
- AC_CHECK_FUNC([shl_load],
5395
- [lt_cv_dlopen="shl_load"],
5396
- [AC_CHECK_LIB([dld], [shl_load],
5397
- [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
5398
- [AC_CHECK_FUNC([dlopen],
5399
- [lt_cv_dlopen="dlopen"],
5400
- [AC_CHECK_LIB([dl], [dlopen],
5401
- [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
5402
- [AC_CHECK_LIB([svld], [dlopen],
5403
- [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
5404
- [AC_CHECK_LIB([dld], [dld_link],
5405
- [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
5411
+ # If it is relative, then search for the first ld in PATH.
5412
+ with_gnu_ld=unknown
5415
+elif test "$with_gnu_ld" = yes; then
5416
+ AC_MSG_CHECKING([for GNU ld])
5418
+ AC_MSG_CHECKING([for non-GNU ld])
5420
+AC_CACHE_VAL(lt_cv_path_LD,
5421
+[if test -z "$LD"; then
5422
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5423
+ for ac_dir in $PATH; do
5424
+ IFS="$lt_save_ifs"
5425
+ test -z "$ac_dir" && ac_dir=.
5426
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5427
+ lt_cv_path_LD="$ac_dir/$ac_prog"
5428
+ # Check to see if the program is GNU ld. I'd rather use --version,
5429
+ # but apparently some variants of GNU ld only accept -v.
5430
+ # Break only if it was the GNU/non-GNU ld that we prefer.
5431
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5432
+ *GNU* | *'with BFD'*)
5433
+ test "$with_gnu_ld" != no && break
5436
+ test "$with_gnu_ld" != yes && break
5441
+ IFS="$lt_save_ifs"
5443
+ lt_cv_path_LD="$LD" # Let the user override the test with a path.
5445
+LD="$lt_cv_path_LD"
5446
+if test -n "$LD"; then
5447
+ AC_MSG_RESULT($LD)
5451
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
5455
- if test "x$lt_cv_dlopen" != xno; then
5461
- case $lt_cv_dlopen in
5463
- save_CPPFLAGS="$CPPFLAGS"
5464
- test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
5466
- save_LDFLAGS="$LDFLAGS"
5467
- wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
5468
+_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
5472
- LIBS="$lt_cv_dlopen_libs $LIBS"
5474
+AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
5475
+AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
5476
+dnl aclocal-1.4 backwards compatibility:
5477
+dnl AC_DEFUN([AM_PROG_LD], [])
5478
+dnl AC_DEFUN([AC_PROG_LD], [])
5480
- AC_CACHE_CHECK([whether a program can dlopen itself],
5481
- lt_cv_dlopen_self, [dnl
5482
- _LT_TRY_DLOPEN_SELF(
5483
- lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
5484
- lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
5487
- if test "x$lt_cv_dlopen_self" = xyes; then
5488
- wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
5489
- AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
5490
- lt_cv_dlopen_self_static, [dnl
5491
- _LT_TRY_DLOPEN_SELF(
5492
- lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
5493
- lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
5497
- CPPFLAGS="$save_CPPFLAGS"
5498
- LDFLAGS="$save_LDFLAGS"
5504
+m4_defun([_LT_PATH_LD_GNU],
5505
+[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
5506
+[# I'd rather use --version here, but apparently some GNU lds only accept -v.
5507
+case `$LD -v 2>&1 </dev/null` in
5508
+*GNU* | *'with BFD'*)
5509
+ lt_cv_prog_gnu_ld=yes
5512
+ lt_cv_prog_gnu_ld=no
5515
+with_gnu_ld=$lt_cv_prog_gnu_ld
5516
+])# _LT_PATH_LD_GNU
5518
- case $lt_cv_dlopen_self in
5519
- yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
5520
- *) enable_dlopen_self=unknown ;;
5523
- case $lt_cv_dlopen_self_static in
5524
- yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
5525
- *) enable_dlopen_self_static=unknown ;;
5528
-_LT_DECL([dlopen_support], [enable_dlopen], [0],
5529
- [Whether dlopen is supported])
5530
-_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
5531
- [Whether dlopen of programs is supported])
5532
-_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
5533
- [Whether dlopen of statically linked programs is supported])
5534
-])# LT_SYS_DLOPEN_SELF
5537
+# find reload flag for linker
5538
+# -- PORTME Some linkers may need a different reload flag.
5539
+m4_defun([_LT_CMD_RELOAD],
5540
+[AC_CACHE_CHECK([for $LD option to reload object files],
5541
+ lt_cv_ld_reload_flag,
5542
+ [lt_cv_ld_reload_flag='-r'])
5543
+reload_flag=$lt_cv_ld_reload_flag
5544
+case $reload_flag in
5546
+*) reload_flag=" $reload_flag" ;;
5548
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
5551
+ if test "$GCC" = yes; then
5552
+ reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5554
+ reload_cmds='$LD$reload_flag -o $output$reload_objs'
5558
+_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
5559
+_LT_DECL([], [reload_cmds], [2])dnl
5563
-AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
5564
-dnl aclocal-1.4 backwards compatibility:
5565
-dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
5567
+# _LT_CHECK_MAGIC_METHOD
5568
+# ----------------------
5569
+# how to check for library dependencies
5570
+# -- PORTME fill in with the dynamic library characteristics
5571
+m4_defun([_LT_CHECK_MAGIC_METHOD],
5572
+[m4_require([_LT_DECL_EGREP])
5573
+m4_require([_LT_DECL_OBJDUMP])
5574
+AC_CACHE_CHECK([how to recognize dependent libraries],
5575
+lt_cv_deplibs_check_method,
5576
+[lt_cv_file_magic_cmd='$MAGIC_CMD'
5577
+lt_cv_file_magic_test_file=
5578
+lt_cv_deplibs_check_method='unknown'
5579
+# Need to set the preceding variable on all platforms that support
5580
+# interlibrary dependencies.
5581
+# 'none' -- dependencies not supported.
5582
+# `unknown' -- same as none, but documents that we really don't know.
5583
+# 'pass_all' -- all dependencies passed with no checks.
5584
+# 'test_compile' -- check by making test program.
5585
+# 'file_magic [[regex]]' -- check by looking for files in library path
5586
+# which responds to the $file_magic_cmd with a given extended regex.
5587
+# If you have `file' or equivalent on your system and you're not sure
5588
+# whether `pass_all' will *always* work, you probably want this one.
5590
-# _LT_COMPILER_C_O([TAGNAME])
5591
-# ---------------------------
5592
-# Check to see if options -c and -o are simultaneously supported by compiler.
5593
-# This macro does not hard code the compiler like AC_PROG_CC_C_O.
5594
-m4_defun([_LT_COMPILER_C_O],
5595
-[m4_require([_LT_DECL_SED])dnl
5596
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
5597
-m4_require([_LT_TAG_COMPILER])dnl
5598
-AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
5599
- [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
5600
- [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
5601
- $RM -r conftest 2>/dev/null
5605
- echo "$lt_simple_compile_test_code" > conftest.$ac_ext
5608
+ lt_cv_deplibs_check_method=pass_all
5611
- lt_compiler_flag="-o out/conftest2.$ac_objext"
5612
- # Insert the option either (1) after the last *FLAGS variable, or
5613
- # (2) before a word containing "conftest.", or (3) at the end.
5614
- # Note that $ac_compile itself does not contain backslashes and begins
5615
- # with a dollar sign (not a hyphen), so the echo should work correctly.
5616
- lt_compile=`echo "$ac_compile" | $SED \
5617
- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
5618
- -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
5619
- -e 's:$: $lt_compiler_flag:'`
5620
- (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
5621
- (eval "$lt_compile" 2>out/conftest.err)
5623
- cat out/conftest.err >&AS_MESSAGE_LOG_FD
5624
- echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
5625
- if (exit $ac_status) && test -s out/conftest2.$ac_objext
5627
- # The compiler can only warn and ignore the option if not recognized
5628
- # So say no if there are warnings
5629
- $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
5630
- $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
5631
- if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
5632
- _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
5635
- chmod u+w . 2>&AS_MESSAGE_LOG_FD
5637
- # SGI C++ compiler will create directory out/ii_files/ for
5638
- # template instantiation
5639
- test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
5640
- $RM out/* && rmdir out
5645
-_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
5646
- [Does compiler simultaneously support -c and -o options?])
5647
-])# _LT_COMPILER_C_O
5649
+ lt_cv_deplibs_check_method=pass_all
5653
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
5654
+ lt_cv_file_magic_cmd='/usr/bin/file -L'
5655
+ lt_cv_file_magic_test_file=/shlib/libc.so
5658
-# _LT_COMPILER_FILE_LOCKS([TAGNAME])
5659
-# ----------------------------------
5660
-# Check to see if we can do hard links to lock some files if needed
5661
-m4_defun([_LT_COMPILER_FILE_LOCKS],
5662
-[m4_require([_LT_ENABLE_LOCK])dnl
5663
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
5664
-_LT_COMPILER_C_O([$1])
5666
+ # func_win32_libid is a shell function defined in ltmain.sh
5667
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5668
+ lt_cv_file_magic_cmd='func_win32_libid'
5671
-hard_links="nottested"
5672
-if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
5673
- # do not overwrite the value of need_locks provided by the user
5674
- AC_MSG_CHECKING([if we can lock with hard links])
5677
- ln conftest.a conftest.b 2>/dev/null && hard_links=no
5679
- ln conftest.a conftest.b 2>&5 || hard_links=no
5680
- ln conftest.a conftest.b 2>/dev/null && hard_links=no
5681
- AC_MSG_RESULT([$hard_links])
5682
- if test "$hard_links" = no; then
5683
- AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
5686
+ # Base MSYS/MinGW do not provide the 'file' command needed by
5687
+ # func_win32_libid shell function, so use a weaker test based on 'objdump',
5688
+ # unless we find 'file', for example because we are cross-compiling.
5689
+ if ( file / ) >/dev/null 2>&1; then
5690
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5691
+ lt_cv_file_magic_cmd='func_win32_libid'
5693
+ lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5694
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
5699
-_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
5700
-])# _LT_COMPILER_FILE_LOCKS
5706
-m4_defun([_LT_CHECK_OBJDIR],
5707
-[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
5708
-[rm -f .libs 2>/dev/null
5709
-mkdir .libs 2>/dev/null
5710
-if test -d .libs; then
5711
- lt_cv_objdir=.libs
5713
- # MS-DOS does not allow filenames that begin with a dot.
5714
- lt_cv_objdir=_libs
5716
-rmdir .libs 2>/dev/null])
5717
-objdir=$lt_cv_objdir
5718
-_LT_DECL([], [objdir], [0],
5719
- [The name of the directory that contains temporary libtool files])dnl
5720
-m4_pattern_allow([LT_OBJDIR])dnl
5721
-AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
5722
- [Define to the sub-directory in which libtool stores uninstalled libraries.])
5723
-])# _LT_CHECK_OBJDIR
5725
+ # use the weaker test based on 'objdump'. See mingw*.
5726
+ lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5727
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
5730
+darwin* | rhapsody*)
5731
+ lt_cv_deplibs_check_method=pass_all
5734
-# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
5735
-# --------------------------------------
5736
-# Check hardcoding attributes.
5737
-m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
5738
-[AC_MSG_CHECKING([how to hardcode library paths into programs])
5739
-_LT_TAGVAR(hardcode_action, $1)=
5740
-if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
5741
- test -n "$_LT_TAGVAR(runpath_var, $1)" ||
5742
- test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
5744
- # We can hardcode non-existent directories.
5745
- if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
5746
- # If the only mechanism to avoid hardcoding is shlibpath_var, we
5747
- # have to relink, otherwise we might link with an installed library
5748
- # when we should be linking with a yet-to-be-installed one
5749
- ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
5750
- test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
5751
- # Linking always hardcodes the temporary library directory.
5752
- _LT_TAGVAR(hardcode_action, $1)=relink
5754
- # We can link without hardcoding, and we can hardcode nonexisting dirs.
5755
- _LT_TAGVAR(hardcode_action, $1)=immediate
5758
- # We cannot hardcode anything, or else we can only hardcode existing
5760
- _LT_TAGVAR(hardcode_action, $1)=unsupported
5762
-AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
5764
-if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
5765
- test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
5766
- # Fast installation is not supported
5767
- enable_fast_install=no
5768
-elif test "$shlibpath_overrides_runpath" = yes ||
5769
- test "$enable_shared" = no; then
5770
- # Fast installation is not necessary
5771
- enable_fast_install=needless
5773
-_LT_TAGDECL([], [hardcode_action], [0],
5774
- [How to hardcode a shared library path into an executable])
5775
-])# _LT_LINKER_HARDCODE_LIBPATH
5776
+freebsd* | dragonfly*)
5777
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5780
+ # Not sure whether the presence of OpenBSD here was a mistake.
5781
+ # Let's accept both of them until this is cleared up.
5782
+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
5783
+ lt_cv_file_magic_cmd=/usr/bin/file
5784
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5788
+ lt_cv_deplibs_check_method=pass_all
5793
+ lt_cv_deplibs_check_method=pass_all
5798
-m4_defun([_LT_CMD_STRIPLIB],
5799
-[m4_require([_LT_DECL_EGREP])
5802
-AC_MSG_CHECKING([whether stripping libraries is possible])
5803
-if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
5804
- test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
5805
- test -z "$striplib" && striplib="$STRIP --strip-unneeded"
5806
- AC_MSG_RESULT([yes])
5808
-# FIXME - insert some real tests, host_os isn't really good enough
5811
- if test -n "$STRIP" ; then
5812
- striplib="$STRIP -x"
5813
- old_striplib="$STRIP -S"
5814
- AC_MSG_RESULT([yes])
5816
- AC_MSG_RESULT([no])
5818
+hpux10.20* | hpux11*)
5819
+ lt_cv_file_magic_cmd=/usr/bin/file
5822
+ lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
5823
+ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5826
+ [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]']
5827
+ lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5830
- AC_MSG_RESULT([no])
5831
+ lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
5832
+ lt_cv_file_magic_test_file=/usr/lib/libc.sl
5836
-_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
5837
-_LT_DECL([], [striplib], [1])
5838
-])# _LT_CMD_STRIPLIB
5842
+ # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5843
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
5846
-# _LT_SYS_DYNAMIC_LINKER([TAG])
5847
-# -----------------------------
5848
-# PORTME Fill in your ld.so characteristics
5849
-m4_defun([_LT_SYS_DYNAMIC_LINKER],
5850
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
5851
-m4_require([_LT_DECL_EGREP])dnl
5852
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
5853
-m4_require([_LT_DECL_OBJDUMP])dnl
5854
-m4_require([_LT_DECL_SED])dnl
5855
-AC_MSG_CHECKING([dynamic linker characteristics])
5858
-if test "$GCC" = yes; then
5860
- darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
5861
- *) lt_awk_arg="/^libraries:/" ;;
5862
+irix5* | irix6* | nonstopux*)
5864
+ *-32|*"-32 ") libmagic=32-bit;;
5865
+ *-n32|*"-n32 ") libmagic=N32;;
5866
+ *-64|*"-64 ") libmagic=64-bit;;
5867
+ *) libmagic=never-match;;
5869
- lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
5870
- if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
5871
- # if the path contains ";" then we assume it to be the separator
5872
- # otherwise default to the standard path separator (i.e. ":") - it is
5873
- # assumed that no part of a normal pathname contains ";" but that should
5874
- # okay in the real world where ";" in dirpaths is itself problematic.
5875
- lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
5876
+ lt_cv_deplibs_check_method=pass_all
5879
+# This must be Linux ELF.
5880
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
5881
+ lt_cv_deplibs_check_method=pass_all
58
5884
+netbsd* | netbsdelf*-gnu)
59
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
60
lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
5885
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5886
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
5888
- lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
5889
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
5891
- # Ok, now we have the path, separated by spaces, we can step through it
5892
- # and add multilib dir if necessary.
5893
- lt_tmp_lt_search_path_spec=
5894
- lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
5895
- for lt_sys_path in $lt_search_path_spec; do
5896
- if test -d "$lt_sys_path/$lt_multi_os_dir"; then
5897
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
5899
- test -d "$lt_sys_path" && \
5900
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
5903
- lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
5904
-BEGIN {RS=" "; FS="/|\n";} {
5907
- for (lt_i = NF; lt_i > 0; lt_i--) {
5908
- if ($lt_i != "" && $lt_i != ".") {
5909
- if ($lt_i == "..") {
5912
- if (lt_count == 0) {
5913
- lt_foo="/" $lt_i lt_foo;
5920
- if (lt_foo != "") { lt_freq[[lt_foo]]++; }
5921
- if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
5923
- sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
5925
- sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
5927
-library_names_spec=
5928
-libname_spec='lib$name'
5932
-postuninstall_cmds=
5936
-shlibpath_overrides_runpath=unknown
5938
-dynamic_linker="$host_os ld.so"
5939
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
5940
-need_lib_prefix=unknown
5941
-hardcode_into_libs=no
5943
-# when you set need_version to no, make sure it does not cause -set_version
5944
-# flags to be left without arguments
5945
-need_version=unknown
5950
- version_type=linux
5951
- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
5952
- shlibpath_var=LIBPATH
5954
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
5955
+ lt_cv_file_magic_cmd=/usr/bin/file
5956
+ lt_cv_file_magic_test_file=/usr/lib/libnls.so
5959
- # AIX 3 has no versioning support, so we append a major version to the name.
5960
- soname_spec='${libname}${release}${shared_ext}$major'
5962
+ lt_cv_deplibs_check_method=pass_all
5966
- version_type=linux
5967
- need_lib_prefix=no
5969
- hardcode_into_libs=yes
5970
- if test "$host_cpu" = ia64; then
5971
- # AIX 5 supports IA64
5972
- library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
5973
- shlibpath_var=LD_LIBRARY_PATH
5975
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5976
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
5978
- # With GCC up to 2.95.x, collect2 would create an import file
5979
- # for dependence libraries. The import file would start with
5980
- # the line `#! .'. This would cause the generated library to
5981
- # depend on `.', always an invalid library. This was fixed in
5982
- # development snapshots of GCC prior to 3.0.
5984
- aix4 | aix4.[[01]] | aix4.[[01]].*)
5985
- if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
5987
- echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
5990
- can_build_shared=no
5994
- # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
5995
- # soname into executable. Probably we can add versioning support to
5996
- # collect2, so additional links can be useful in future.
5997
- if test "$aix_use_runtimelinking" = yes; then
5998
- # If using run time linking (on AIX 4.2 or later) use lib<name>.so
5999
- # instead of lib<name>.a to let people know that these are not
6000
- # typical AIX shared libraries.
6001
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6003
- # We preserve .a as extension for shared libraries through AIX4.2
6004
- # and later when we are not doing run time linking.
6005
- library_names_spec='${libname}${release}.a $libname.a'
6006
- soname_spec='${libname}${release}${shared_ext}$major'
6008
- shlibpath_var=LIBPATH
6009
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
6016
- # Since July 2007 AmigaOS4 officially supports .so libraries.
6017
- # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
6018
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6021
- library_names_spec='$libname.ixlibrary $libname.a'
6022
- # Create ${libname}_ixlibrary.a entries in /sys/libs.
6023
- 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'
6026
+osf3* | osf4* | osf5*)
6027
+ lt_cv_deplibs_check_method=pass_all
6031
- library_names_spec='${libname}${shared_ext}'
6032
- dynamic_linker="$host_os ld.so"
6033
- shlibpath_var=LIBRARY_PATH
6035
+ lt_cv_deplibs_check_method=pass_all
6039
- version_type=linux
6041
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6042
- soname_spec='${libname}${release}${shared_ext}$major'
6043
- finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
6044
- shlibpath_var=LD_LIBRARY_PATH
6045
- sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
6046
- sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
6047
- # the default ld.so.conf also contains /usr/contrib/lib and
6048
- # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
6049
- # libtool to hard-code these into programs
6051
+ lt_cv_deplibs_check_method=pass_all
6054
-cygwin* | mingw* | pw32* | cegcc*)
6055
- version_type=windows
6056
- shrext_cmds=".dll"
6058
- need_lib_prefix=no
6060
- case $GCC,$host_os in
6061
- yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
6062
- library_names_spec='$libname.dll.a'
6063
- # DLL is installed to $(libdir)/../bin by postinstall_cmds
6064
- postinstall_cmds='base_file=`basename \${file}`~
6065
- dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
6066
- dldir=$destdir/`dirname \$dlpath`~
6067
- test -d \$dldir || mkdir -p \$dldir~
6068
- $install_prog $dir/$dlname \$dldir/$dlname~
6069
- chmod a+x \$dldir/$dlname~
6070
- if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
6071
- eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
6073
- postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
6074
- dlpath=$dir/\$dldll~
6076
- shlibpath_overrides_runpath=yes
6077
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6078
+ lt_cv_deplibs_check_method=pass_all
6083
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
6084
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
6085
- sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
6088
- # MinGW DLLs use traditional 'lib' prefix
6089
- soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
6090
- sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6091
- if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
6092
- # It is most probably a Windows format PATH printed by
6093
- # mingw gcc, but we are running on Cygwin. Gcc prints its search
6094
- # path with ; separators, and with drive letters. We can handle the
6095
- # drive letters (cygwin fileutils understands them), so leave them,
6096
- # especially as we might pass files found there to a mingw objdump,
6097
- # which wouldn't understand a cygwinified path. Ahh.
6098
- sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6100
- sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
6104
- # pw32 DLLs use 'pw' prefix rather than 'lib'
6105
- library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
6109
+ case $host_vendor in
6111
+ 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]]'
6112
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6116
- library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
6118
+ lt_cv_deplibs_check_method=pass_all
6121
- dynamic_linker='Win32 ld.exe'
6122
- # FIXME: first we should search . and the directory the executable is in
6123
- shlibpath_var=PATH
6126
-darwin* | rhapsody*)
6127
- dynamic_linker="$host_os dyld"
6128
- version_type=darwin
6129
- need_lib_prefix=no
6131
- library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
6132
- soname_spec='${libname}${release}${major}$shared_ext'
6133
- shlibpath_overrides_runpath=yes
6134
- shlibpath_var=DYLD_LIBRARY_PATH
6135
- shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
6137
- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
6138
- sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
6142
- version_type=linux
6143
- need_lib_prefix=no
6145
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
6146
- soname_spec='${libname}${release}${shared_ext}$major'
6147
- shlibpath_var=LD_LIBRARY_PATH
6154
-freebsd* | dragonfly*)
6155
- # DragonFly does not have aout. When/if they implement a new
6156
- # versioning mechanism, adjust this.
6157
- if test -x /usr/bin/objformat; then
6158
- objformat=`/usr/bin/objformat`
6161
- freebsd[[123]]*) objformat=aout ;;
6162
- *) objformat=elf ;;
6165
- version_type=freebsd-$objformat
6166
- case $version_type in
6168
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
6170
- need_lib_prefix=no
6173
- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
6177
- shlibpath_var=LD_LIBRARY_PATH
6180
- shlibpath_overrides_runpath=yes
6182
+ lt_cv_file_magic_cmd='/bin/file'
6183
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
6185
- freebsd3.[[01]]* | freebsdelf3.[[01]]*)
6186
- shlibpath_overrides_runpath=yes
6187
- hardcode_into_libs=yes
6189
+ lt_cv_file_magic_cmd='/bin/file'
6190
+ lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
6191
+ lt_cv_file_magic_test_file=/lib/libc.so
6193
- freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
6194
- freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
6195
- shlibpath_overrides_runpath=no
6196
- hardcode_into_libs=yes
6198
+ lt_cv_deplibs_check_method=pass_all
6200
- *) # from 4.6 on, and DragonFly
6201
- shlibpath_overrides_runpath=yes
6202
- hardcode_into_libs=yes
6204
+ lt_cv_deplibs_check_method=pass_all
6210
- version_type=linux
6211
- need_lib_prefix=no
6213
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
6214
- soname_spec='${libname}${release}${shared_ext}$major'
6215
- shlibpath_var=LD_LIBRARY_PATH
6216
- hardcode_into_libs=yes
6218
+ lt_cv_deplibs_check_method=pass_all
6222
+file_magic_cmd=$lt_cv_file_magic_cmd
6223
+deplibs_check_method=$lt_cv_deplibs_check_method
6224
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
6226
-hpux9* | hpux10* | hpux11*)
6227
- # Give a soname corresponding to the major version so that dld.sl refuses to
6228
- # link against other versions.
6229
- version_type=sunos
6230
- need_lib_prefix=no
6235
- hardcode_into_libs=yes
6236
- dynamic_linker="$host_os dld.so"
6237
- shlibpath_var=LD_LIBRARY_PATH
6238
- shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
6239
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6240
- soname_spec='${libname}${release}${shared_ext}$major'
6241
- if test "X$HPUX_IA64_MODE" = X32; then
6242
- sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
6244
- sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
6246
- sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
6250
- hardcode_into_libs=yes
6251
- dynamic_linker="$host_os dld.sl"
6252
- shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
6253
- shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
6254
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6255
- soname_spec='${libname}${release}${shared_ext}$major'
6256
- sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
6257
- sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
6261
- dynamic_linker="$host_os dld.sl"
6262
- shlibpath_var=SHLIB_PATH
6263
- shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
6264
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6265
- soname_spec='${libname}${release}${shared_ext}$major'
6268
- # HP-UX runs *really* slowly unless shared libraries are mode 555.
6269
- postinstall_cmds='chmod 555 $lib'
6271
+_LT_DECL([], [deplibs_check_method], [1],
6272
+ [Method to check whether dependent libraries are shared objects])
6273
+_LT_DECL([], [file_magic_cmd], [1],
6274
+ [Command to use when deplibs_check_method == "file_magic"])
6275
+])# _LT_CHECK_MAGIC_METHOD
6278
- version_type=linux
6279
- need_lib_prefix=no
6281
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6282
- soname_spec='${libname}${release}${shared_ext}$major'
6283
- dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
6284
- shlibpath_var=LD_LIBRARY_PATH
6285
- shlibpath_overrides_runpath=no
6286
- hardcode_into_libs=yes
6289
-irix5* | irix6* | nonstopux*)
6291
- nonstopux*) version_type=nonstopux ;;
6293
- if test "$lt_cv_prog_gnu_ld" = yes; then
6294
- version_type=linux
6299
- need_lib_prefix=no
6301
- soname_spec='${libname}${release}${shared_ext}$major'
6302
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
6304
- irix5* | nonstopux*)
6305
- libsuff= shlibsuff=
6308
- case $LD in # libtool.m4 will add one of these switches to LD
6309
- *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
6310
- libsuff= shlibsuff= libmagic=32-bit;;
6311
- *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
6312
- libsuff=32 shlibsuff=N32 libmagic=N32;;
6313
- *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
6314
- libsuff=64 shlibsuff=64 libmagic=64-bit;;
6315
- *) libsuff= shlibsuff= libmagic=never-match;;
6319
- shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
6320
- shlibpath_overrides_runpath=no
6321
- sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
6322
- sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
6323
- hardcode_into_libs=yes
6326
-# No shared lib support for Linux oldld, aout, or coff.
6327
-linux*oldld* | linux*aout* | linux*coff*)
6331
-# This must be Linux ELF.
6332
-linux* | k*bsd*-gnu)
6333
- version_type=linux
6334
- need_lib_prefix=no
6336
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6337
- soname_spec='${libname}${release}${shared_ext}$major'
6338
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
6339
- shlibpath_var=LD_LIBRARY_PATH
6340
- shlibpath_overrides_runpath=no
6341
- # Some binutils ld are patched to set DT_RUNPATH
6342
- save_LDFLAGS=$LDFLAGS
6343
- save_libdir=$libdir
6344
- eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
6345
- LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
6346
- AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
6347
- [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
6348
- [shlibpath_overrides_runpath=yes])])
6349
- LDFLAGS=$save_LDFLAGS
6350
- libdir=$save_libdir
6352
- # This implies no fast_install, which is unacceptable.
6353
- # Some rework will be needed to allow for fast_install
6354
- # before this can be enabled.
6355
- hardcode_into_libs=yes
6358
+# find the pathname to a BSD- or MS-compatible name lister
6359
+AC_DEFUN([LT_PATH_NM],
6360
+[AC_REQUIRE([AC_PROG_CC])dnl
6361
+AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
6362
+[if test -n "$NM"; then
6363
+ # Let the user override the test.
6364
+ lt_cv_path_NM="$NM"
6366
+ lt_nm_to_check="${ac_tool_prefix}nm"
6367
+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6368
+ lt_nm_to_check="$lt_nm_to_check nm"
6370
+ for lt_tmp_nm in $lt_nm_to_check; do
6371
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6372
+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6373
+ IFS="$lt_save_ifs"
6374
+ test -z "$ac_dir" && ac_dir=.
6375
+ tmp_nm="$ac_dir/$lt_tmp_nm"
6376
+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6377
+ # Check to see if the nm accepts a BSD-compat flag.
6378
+ # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6379
+ # nm: unknown option "B" ignored
6380
+ # Tru64's nm complains that /dev/null is an invalid object file
6381
+ case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6382
+ */dev/null* | *'Invalid file or object type'*)
6383
+ lt_cv_path_NM="$tmp_nm -B"
6387
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6389
+ lt_cv_path_NM="$tmp_nm -p"
6393
+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6394
+ continue # so that we can try to find one that supports BSD flags
6401
+ IFS="$lt_save_ifs"
6403
+ : ${lt_cv_path_NM=no}
6405
+if test "$lt_cv_path_NM" != "no"; then
6406
+ NM="$lt_cv_path_NM"
6408
+ # Didn't find any BSD compatible name lister, look for dumpbin.
6409
+ AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
6410
+ AC_SUBST([DUMPBIN])
6411
+ if test "$DUMPBIN" != ":"; then
6415
+test -z "$NM" && NM=nm
6417
+_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
6419
- # Append ld.so.conf contents to the search path
6420
- if test -f /etc/ld.so.conf; then
6421
- 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' ' '`
6422
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
6423
+AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
6424
+ [lt_cv_nm_interface="BSD nm"
6425
+ echo "int some_variable = 0;" > conftest.$ac_ext
6426
+ (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
6427
+ (eval "$ac_compile" 2>conftest.err)
6428
+ cat conftest.err >&AS_MESSAGE_LOG_FD
6429
+ (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
6430
+ (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6431
+ cat conftest.err >&AS_MESSAGE_LOG_FD
6432
+ (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
6433
+ cat conftest.out >&AS_MESSAGE_LOG_FD
6434
+ if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6435
+ lt_cv_nm_interface="MS dumpbin"
6440
- # We used to test for /lib/ld.so.1 and disable shared libraries on
6441
- # powerpc, because MkLinux only supported shared libraries with the
6442
- # GNU dynamic linker. Since this was broken with cross compilers,
6443
- # most powerpc-linux boxes support dynamic linking these days and
6444
- # people can always --disable-shared, the test was removed, and we
6445
- # assume the GNU/Linux dynamic linker is in use.
6446
- dynamic_linker='GNU/Linux ld.so'
6449
+AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
6450
+AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
6451
+dnl aclocal-1.4 backwards compatibility:
6452
+dnl AC_DEFUN([AM_PROG_NM], [])
6453
+dnl AC_DEFUN([AC_PROG_NM], [])
6456
- version_type=sunos
6457
- need_lib_prefix=no
6459
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
6460
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6461
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6462
- dynamic_linker='NetBSD (a.out) ld.so'
6464
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6465
- soname_spec='${libname}${release}${shared_ext}$major'
6466
- dynamic_linker='NetBSD ld.elf_so'
6468
- shlibpath_var=LD_LIBRARY_PATH
6469
- shlibpath_overrides_runpath=yes
6470
- hardcode_into_libs=yes
6474
- version_type=linux
6475
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6476
- shlibpath_var=LD_LIBRARY_PATH
6477
- shlibpath_overrides_runpath=yes
6480
+# check for math library
6481
+AC_DEFUN([LT_LIB_M],
6482
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
6485
+*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
6486
+ # These system don't have libm, or don't need it
6491
- need_lib_prefix=no
6493
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6494
- soname_spec='${libname}${release}${shared_ext}$major'
6495
- shlibpath_var=LD_LIBRARY_PATH
6496
- shlibpath_overrides_runpath=no
6497
- hardcode_into_libs=yes
6498
- dynamic_linker='ldqnx.so'
6500
+ AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
6501
+ AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
6505
- version_type=sunos
6506
- sys_lib_dlsearch_path_spec="/usr/lib"
6507
- need_lib_prefix=no
6508
- # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
6510
- openbsd3.3 | openbsd3.3.*) need_version=yes ;;
6511
- *) need_version=no ;;
6513
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6514
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6515
- shlibpath_var=LD_LIBRARY_PATH
6516
- if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6518
- openbsd2.[[89]] | openbsd2.[[89]].*)
6519
- shlibpath_overrides_runpath=no
6522
- shlibpath_overrides_runpath=yes
6526
- shlibpath_overrides_runpath=yes
6529
+ AC_CHECK_LIB(m, cos, LIBM="-lm")
6536
- libname_spec='$name'
6537
- shrext_cmds=".dll"
6538
- need_lib_prefix=no
6539
- library_names_spec='$libname${shared_ext} $libname.a'
6540
- dynamic_linker='OS/2 ld.exe'
6541
- shlibpath_var=LIBPATH
6544
+AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
6545
+dnl aclocal-1.4 backwards compatibility:
6546
+dnl AC_DEFUN([AC_CHECK_LIBM], [])
6548
-osf3* | osf4* | osf5*)
6550
- need_lib_prefix=no
6552
- soname_spec='${libname}${release}${shared_ext}$major'
6553
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6554
- shlibpath_var=LD_LIBRARY_PATH
6555
- sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
6556
- sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
6562
+# _LT_COMPILER_NO_RTTI([TAGNAME])
6563
+# -------------------------------
6564
+m4_defun([_LT_COMPILER_NO_RTTI],
6565
+[m4_require([_LT_TAG_COMPILER])dnl
6568
- version_type=linux
6569
- need_lib_prefix=no
6571
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6572
- soname_spec='${libname}${release}${shared_ext}$major'
6573
- shlibpath_var=LD_LIBRARY_PATH
6574
- shlibpath_overrides_runpath=yes
6575
- hardcode_into_libs=yes
6576
- # ldd complains unless libraries are executable
6577
- postinstall_cmds='chmod +x $lib'
6579
+_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
6582
- version_type=sunos
6583
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6584
- finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
6585
- shlibpath_var=LD_LIBRARY_PATH
6586
- shlibpath_overrides_runpath=yes
6587
- if test "$with_gnu_ld" = yes; then
6588
- need_lib_prefix=no
6592
+if test "$GCC" = yes; then
6593
+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
6596
- version_type=linux
6597
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6598
- soname_spec='${libname}${release}${shared_ext}$major'
6599
- shlibpath_var=LD_LIBRARY_PATH
6600
- case $host_vendor in
6602
- shlibpath_overrides_runpath=no
6603
- need_lib_prefix=no
6604
- runpath_var=LD_RUN_PATH
6607
- need_lib_prefix=no
6610
- need_lib_prefix=no
6612
- shlibpath_overrides_runpath=no
6613
- sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
6617
+ _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
6618
+ lt_cv_prog_compiler_rtti_exceptions,
6619
+ [-fno-rtti -fno-exceptions], [],
6620
+ [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
6622
+_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
6623
+ [Compiler flag to turn off builtin functions])
6624
+])# _LT_COMPILER_NO_RTTI
6627
- if test -d /usr/nec ;then
6628
- version_type=linux
6629
- library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
6630
- soname_spec='$libname${shared_ext}.$major'
6631
- shlibpath_var=LD_LIBRARY_PATH
6635
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6636
- version_type=freebsd-elf
6637
- need_lib_prefix=no
6639
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
6640
- soname_spec='${libname}${release}${shared_ext}$major'
6641
- shlibpath_var=LD_LIBRARY_PATH
6642
- shlibpath_overrides_runpath=yes
6643
- hardcode_into_libs=yes
6644
- if test "$with_gnu_ld" = yes; then
6645
- sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
6647
- sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
6650
- sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
6653
+# _LT_CMD_GLOBAL_SYMBOLS
6654
+# ----------------------
6655
+m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
6656
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
6657
+AC_REQUIRE([AC_PROG_CC])dnl
6658
+AC_REQUIRE([LT_PATH_NM])dnl
6659
+AC_REQUIRE([LT_PATH_LD])dnl
6660
+m4_require([_LT_DECL_SED])dnl
6661
+m4_require([_LT_DECL_EGREP])dnl
6662
+m4_require([_LT_TAG_COMPILER])dnl
6664
+# Check for command to grab the raw symbol name followed by C symbol from nm.
6665
+AC_MSG_CHECKING([command to parse $NM output from $compiler object])
6666
+AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
6668
+# These are sane defaults that work on at least a few old systems.
6669
+# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6671
+# Character class describing NM global symbol codes.
6672
+symcode='[[BCDEGRST]]'
6674
+# Regexp to match symbols that can be accessed directly from C.
6675
+sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
6677
+# Define system-specific variables.
6680
+ symcode='[[BCDT]]'
6682
+cygwin* | mingw* | pw32* | cegcc*)
6683
+ symcode='[[ABCDGISTW]]'
6686
+ if test "$host_cpu" = ia64; then
6687
+ symcode='[[ABCDEGRST]]'
6689
- sys_lib_dlsearch_path_spec='/usr/lib'
6693
- # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
6694
- version_type=linux
6695
- need_lib_prefix=no
6697
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6698
- shlibpath_var=LD_LIBRARY_PATH
6699
- shlibpath_overrides_runpath=no
6700
- hardcode_into_libs=yes
6701
+irix* | nonstopux*)
6702
+ symcode='[[BCDEGRST]]'
6706
- version_type=linux
6707
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6708
- soname_spec='${libname}${release}${shared_ext}$major'
6709
- shlibpath_var=LD_LIBRARY_PATH
6711
+ symcode='[[BCDEGQRST]]'
6717
+ symcode='[[BDRT]]'
6725
+sysv5* | sco5v6* | unixware* | OpenUNIX*)
6726
+ symcode='[[ABDT]]'
6729
+ symcode='[[DFNSTU]]'
6732
-AC_MSG_RESULT([$dynamic_linker])
6733
-test "$dynamic_linker" = no && can_build_shared=no
6735
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
6736
-if test "$GCC" = yes; then
6737
- variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
6740
-if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
6741
- sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
6743
-if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
6744
- sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
6746
+# If we're using GNU nm, then use its standard symbol codes.
6747
+case `$NM -V 2>&1` in
6748
+*GNU* | *'with BFD'*)
6749
+ symcode='[[ABCDGIRSTW]]' ;;
6752
-_LT_DECL([], [variables_saved_for_relink], [1],
6753
- [Variables whose values should be saved in libtool wrapper scripts and
6754
- restored at link time])
6755
-_LT_DECL([], [need_lib_prefix], [0],
6756
- [Do we need the "lib" prefix for modules?])
6757
-_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
6758
-_LT_DECL([], [version_type], [0], [Library versioning type])
6759
-_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable])
6760
-_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
6761
-_LT_DECL([], [shlibpath_overrides_runpath], [0],
6762
- [Is shlibpath searched before the hard-coded library search path?])
6763
-_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
6764
-_LT_DECL([], [library_names_spec], [1],
6765
- [[List of archive names. First name is the real one, the rest are links.
6766
- The last name is the one that the linker finds with -lNAME]])
6767
-_LT_DECL([], [soname_spec], [1],
6768
- [[The coded name of the library, if different from the real name]])
6769
-_LT_DECL([], [postinstall_cmds], [2],
6770
- [Command to use after installation of a shared archive])
6771
-_LT_DECL([], [postuninstall_cmds], [2],
6772
- [Command to use after uninstallation of a shared archive])
6773
-_LT_DECL([], [finish_cmds], [2],
6774
- [Commands used to finish a libtool library installation in a directory])
6775
-_LT_DECL([], [finish_eval], [1],
6776
- [[As "finish_cmds", except a single script fragment to be evaled but
6778
-_LT_DECL([], [hardcode_into_libs], [0],
6779
- [Whether we should hardcode library paths into libraries])
6780
-_LT_DECL([], [sys_lib_search_path_spec], [2],
6781
- [Compile-time system search path for libraries])
6782
-_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
6783
- [Run-time system search path for libraries])
6784
-])# _LT_SYS_DYNAMIC_LINKER
6785
+# Transform an extracted symbol line into a proper C declaration.
6786
+# Some systems (esp. on ia64) link data and code symbols differently,
6787
+# so use this general approach.
6788
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6790
+# Transform an extracted symbol line into symbol name and symbol address
6791
+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'"
6792
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6794
-# _LT_PATH_TOOL_PREFIX(TOOL)
6795
-# --------------------------
6796
-# find a file program which can recognize shared library
6797
-AC_DEFUN([_LT_PATH_TOOL_PREFIX],
6798
-[m4_require([_LT_DECL_EGREP])dnl
6799
-AC_MSG_CHECKING([for $1])
6800
-AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
6801
-[case $MAGIC_CMD in
6802
-[[\\/*] | ?:[\\/]*])
6803
- lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6804
+# Handle CRLF in mingw tool chain
6808
+ opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6811
- lt_save_MAGIC_CMD="$MAGIC_CMD"
6812
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6813
-dnl $ac_dummy forces splitting on constant user-supplied paths.
6814
-dnl POSIX.2 word splitting is done only on the output of word expansions,
6815
-dnl not every word. This closes a longstanding sh security hole.
6816
- ac_dummy="m4_if([$2], , $PATH, [$2])"
6817
- for ac_dir in $ac_dummy; do
6818
- IFS="$lt_save_ifs"
6819
- test -z "$ac_dir" && ac_dir=.
6820
- if test -f $ac_dir/$1; then
6821
- lt_cv_path_MAGIC_CMD="$ac_dir/$1"
6822
- if test -n "$file_magic_test_file"; then
6823
- case $deplibs_check_method in
6825
- file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6826
- MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6827
- if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6828
- $EGREP "$file_magic_regex" > /dev/null; then
6831
- cat <<_LT_EOF 1>&2
6834
-*** Warning: the command libtool uses to detect shared libraries,
6835
-*** $file_magic_cmd, produces output that libtool cannot recognize.
6836
-*** The result is that libtool may fail to recognize shared libraries
6837
-*** as such. This will affect the creation of libtool libraries that
6838
-*** depend on shared libraries, but programs linked with such libtool
6839
-*** libraries will work regardless of this problem. Nevertheless, you
6840
-*** may want to report the problem to your system manager and/or to
6841
-*** bug-libtool@gnu.org
6850
- IFS="$lt_save_ifs"
6851
- MAGIC_CMD="$lt_save_MAGIC_CMD"
6854
-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6855
-if test -n "$MAGIC_CMD"; then
6856
- AC_MSG_RESULT($MAGIC_CMD)
6860
-_LT_DECL([], [MAGIC_CMD], [0],
6861
- [Used to examine libraries when file_magic_cmd begins with "file"])dnl
6862
-])# _LT_PATH_TOOL_PREFIX
6865
-AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
6866
-dnl aclocal-1.4 backwards compatibility:
6867
-dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
6868
+# Try without a prefix underscore, then with it.
6869
+for ac_symprfx in "" "_"; do
6871
+ # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6872
+ symxfrm="\\1 $ac_symprfx\\2 \\2"
6876
-# find a file program which can recognize a shared library
6877
-m4_defun([_LT_PATH_MAGIC],
6878
-[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
6879
-if test -z "$lt_cv_path_MAGIC_CMD"; then
6880
- if test -n "$ac_tool_prefix"; then
6881
- _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
6882
+ # Write the raw and C identifiers.
6883
+ if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6884
+ # Fake it for dumpbin and say T for any non-static function
6885
+ # and D for any global variable.
6886
+ # Also find C++ and __fastcall symbols from MSVC++,
6887
+ # which start with @ or ?.
6888
+ lt_cv_sys_global_symbol_pipe="$AWK ['"\
6889
+" {last_section=section; section=\$ 3};"\
6890
+" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6891
+" \$ 0!~/External *\|/{next};"\
6892
+" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6893
+" {if(hide[section]) next};"\
6894
+" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6895
+" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6896
+" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6897
+" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6898
+" ' prfx=^$ac_symprfx]"
6901
+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6909
-# find the pathname to the GNU or non-GNU linker
6910
-AC_DEFUN([LT_PATH_LD],
6911
-[AC_REQUIRE([AC_PROG_CC])dnl
6912
-AC_REQUIRE([AC_CANONICAL_HOST])dnl
6913
-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
6914
-m4_require([_LT_DECL_SED])dnl
6915
-m4_require([_LT_DECL_EGREP])dnl
6916
+ # Check to see that the pipe works correctly.
6919
-AC_ARG_WITH([gnu-ld],
6920
- [AS_HELP_STRING([--with-gnu-ld],
6921
- [assume the C compiler uses GNU ld @<:@default=no@:>@])],
6922
- [test "$withval" = no || with_gnu_ld=yes],
6923
- [with_gnu_ld=no])dnl
6925
+ cat > conftest.$ac_ext <<_LT_EOF
6930
+void nm_test_func(void);
6931
+void nm_test_func(void){}
6935
+int main(){nm_test_var='a';nm_test_func();return(0);}
6939
-if test "$GCC" = yes; then
6940
- # Check if gcc -print-prog-name=ld gives a path.
6941
- AC_MSG_CHECKING([for ld used by $CC])
6944
- # gcc leaves a trailing carriage return which upsets mingw
6945
- ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6947
- ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6950
- # Accept absolute paths.
6951
- [[\\/]]* | ?:[[\\/]]*)
6952
- re_direlt='/[[^/]][[^/]]*/\.\./'
6953
- # Canonicalize the pathname of ld
6954
- ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6955
- while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6956
- ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6958
- test -z "$LD" && LD="$ac_prog"
6961
- # If it fails, then pretend we aren't using GCC.
6965
- # If it is relative, then search for the first ld in PATH.
6966
- with_gnu_ld=unknown
6969
-elif test "$with_gnu_ld" = yes; then
6970
- AC_MSG_CHECKING([for GNU ld])
6972
- AC_MSG_CHECKING([for non-GNU ld])
6974
-AC_CACHE_VAL(lt_cv_path_LD,
6975
-[if test -z "$LD"; then
6976
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6977
- for ac_dir in $PATH; do
6978
- IFS="$lt_save_ifs"
6979
- test -z "$ac_dir" && ac_dir=.
6980
- if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6981
- lt_cv_path_LD="$ac_dir/$ac_prog"
6982
- # Check to see if the program is GNU ld. I'd rather use --version,
6983
- # but apparently some variants of GNU ld only accept -v.
6984
- # Break only if it was the GNU/non-GNU ld that we prefer.
6985
- case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6986
- *GNU* | *'with BFD'*)
6987
- test "$with_gnu_ld" != no && break
6990
- test "$with_gnu_ld" != yes && break
6995
- IFS="$lt_save_ifs"
6997
- lt_cv_path_LD="$LD" # Let the user override the test with a path.
6999
-LD="$lt_cv_path_LD"
7000
-if test -n "$LD"; then
7001
- AC_MSG_RESULT($LD)
7005
-test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
7008
+ if AC_TRY_EVAL(ac_compile); then
7009
+ # Now try to grab the symbols.
7011
+ if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
7012
+ # Try sorting and uniquifying the output.
7013
+ if sort "$nlist" | uniq > "$nlist"T; then
7014
+ mv -f "$nlist"T "$nlist"
7019
-_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
7021
+ # Make sure that we snagged all the symbols we need.
7022
+ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7023
+ if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7024
+ cat <<_LT_EOF > conftest.$ac_ext
7030
-AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
7031
-AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
7032
-dnl aclocal-1.4 backwards compatibility:
7033
-dnl AC_DEFUN([AM_PROG_LD], [])
7034
-dnl AC_DEFUN([AC_PROG_LD], [])
7036
+ # Now generate the symbol file.
7037
+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7039
+ cat <<_LT_EOF >> conftest.$ac_ext
7043
-m4_defun([_LT_PATH_LD_GNU],
7044
-[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
7045
-[# I'd rather use --version here, but apparently some GNU lds only accept -v.
7046
-case `$LD -v 2>&1 </dev/null` in
7047
-*GNU* | *'with BFD'*)
7048
- lt_cv_prog_gnu_ld=yes
7051
- lt_cv_prog_gnu_ld=no
7054
-with_gnu_ld=$lt_cv_prog_gnu_ld
7055
-])# _LT_PATH_LD_GNU
7056
+/* The mapping between symbol names and symbols. */
7061
+lt__PROGRAM__LTX_preloaded_symbols[[]] =
7063
+ { "@PROGRAM@", (void *) 0 },
7065
+ $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7066
+ cat <<\_LT_EOF >> conftest.$ac_ext
7070
+/* This works around a problem in FreeBSD linker */
7071
+#ifdef FREEBSD_WORKAROUND
7072
+static const void *lt_preloaded_setup() {
7073
+ return lt__PROGRAM__LTX_preloaded_symbols;
7079
-# find reload flag for linker
7080
-# -- PORTME Some linkers may need a different reload flag.
7081
-m4_defun([_LT_CMD_RELOAD],
7082
-[AC_CACHE_CHECK([for $LD option to reload object files],
7083
- lt_cv_ld_reload_flag,
7084
- [lt_cv_ld_reload_flag='-r'])
7085
-reload_flag=$lt_cv_ld_reload_flag
7086
-case $reload_flag in
7088
-*) reload_flag=" $reload_flag" ;;
7090
-reload_cmds='$LD$reload_flag -o $output$reload_objs'
7093
- if test "$GCC" = yes; then
7094
- reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7099
+ # Now try linking the two files.
7100
+ mv conftest.$ac_objext conftstm.$ac_objext
7101
+ lt_save_LIBS="$LIBS"
7102
+ lt_save_CFLAGS="$CFLAGS"
7103
+ LIBS="conftstm.$ac_objext"
7104
+ CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
7105
+ if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
7108
+ LIBS="$lt_save_LIBS"
7109
+ CFLAGS="$lt_save_CFLAGS"
7111
+ echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
7114
+ echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
7117
- reload_cmds='$LD$reload_flag -o $output$reload_objs'
7118
+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
7122
-_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
7123
-_LT_DECL([], [reload_cmds], [2])dnl
7127
-# _LT_CHECK_MAGIC_METHOD
7128
-# ----------------------
7129
-# how to check for library dependencies
7130
-# -- PORTME fill in with the dynamic library characteristics
7131
-m4_defun([_LT_CHECK_MAGIC_METHOD],
7132
-[m4_require([_LT_DECL_EGREP])
7133
-m4_require([_LT_DECL_OBJDUMP])
7134
-AC_CACHE_CHECK([how to recognize dependent libraries],
7135
-lt_cv_deplibs_check_method,
7136
-[lt_cv_file_magic_cmd='$MAGIC_CMD'
7137
-lt_cv_file_magic_test_file=
7138
-lt_cv_deplibs_check_method='unknown'
7139
-# Need to set the preceding variable on all platforms that support
7140
-# interlibrary dependencies.
7141
-# 'none' -- dependencies not supported.
7142
-# `unknown' -- same as none, but documents that we really don't know.
7143
-# 'pass_all' -- all dependencies passed with no checks.
7144
-# 'test_compile' -- check by making test program.
7145
-# 'file_magic [[regex]]' -- check by looking for files in library path
7146
-# which responds to the $file_magic_cmd with a given extended regex.
7147
-# If you have `file' or equivalent on your system and you're not sure
7148
-# whether `pass_all' will *always* work, you probably want this one.
7152
- lt_cv_deplibs_check_method=pass_all
7156
- lt_cv_deplibs_check_method=pass_all
7160
- lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
7161
- lt_cv_file_magic_cmd='/usr/bin/file -L'
7162
- lt_cv_file_magic_test_file=/shlib/libc.so
7166
- # func_win32_libid is a shell function defined in ltmain.sh
7167
- lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7168
- lt_cv_file_magic_cmd='func_win32_libid'
7172
- # Base MSYS/MinGW do not provide the 'file' command needed by
7173
- # func_win32_libid shell function, so use a weaker test based on 'objdump',
7174
- # unless we find 'file', for example because we are cross-compiling.
7175
- if ( file / ) >/dev/null 2>&1; then
7176
- lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7177
- lt_cv_file_magic_cmd='func_win32_libid'
7179
- lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7180
- lt_cv_file_magic_cmd='$OBJDUMP -f'
7181
+ echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
7182
+ cat conftest.$ac_ext >&5
7187
- # use the weaker test based on 'objdump'. See mingw*.
7188
- lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7189
- lt_cv_file_magic_cmd='$OBJDUMP -f'
7192
-darwin* | rhapsody*)
7193
- lt_cv_deplibs_check_method=pass_all
7195
+ rm -rf conftest* conftst*
7197
-freebsd* | dragonfly*)
7198
- if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7201
- # Not sure whether the presence of OpenBSD here was a mistake.
7202
- # Let's accept both of them until this is cleared up.
7203
- lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
7204
- lt_cv_file_magic_cmd=/usr/bin/file
7205
- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7208
+ # Do not use the global_symbol_pipe unless it works.
7209
+ if test "$pipe_works" = yes; then
7212
- lt_cv_deplibs_check_method=pass_all
7213
+ lt_cv_sys_global_symbol_pipe=
7218
- lt_cv_deplibs_check_method=pass_all
7221
-hpux10.20* | hpux11*)
7222
- lt_cv_file_magic_cmd=/usr/bin/file
7225
- lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
7226
- lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7229
- [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]']
7230
- lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7233
- lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
7234
- lt_cv_file_magic_test_file=/usr/lib/libc.sl
7240
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
7241
+ lt_cv_sys_global_symbol_to_cdecl=
7243
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7244
+ AC_MSG_RESULT(failed)
7250
- # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7251
- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
7253
+_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
7254
+ [Take the output of nm and produce a listing of raw symbols and C names])
7255
+_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
7256
+ [Transform the output of nm in a proper C declaration])
7257
+_LT_DECL([global_symbol_to_c_name_address],
7258
+ [lt_cv_sys_global_symbol_to_c_name_address], [1],
7259
+ [Transform the output of nm in a C name address pair])
7260
+_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
7261
+ [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
7262
+ [Transform the output of nm in a C name address pair when lib prefix is needed])
7263
+]) # _LT_CMD_GLOBAL_SYMBOLS
7265
-irix5* | irix6* | nonstopux*)
7267
- *-32|*"-32 ") libmagic=32-bit;;
7268
- *-n32|*"-n32 ") libmagic=N32;;
7269
- *-64|*"-64 ") libmagic=64-bit;;
7270
- *) libmagic=never-match;;
7272
- lt_cv_deplibs_check_method=pass_all
7275
-# This must be Linux ELF.
7276
-linux* | k*bsd*-gnu)
7277
- lt_cv_deplibs_check_method=pass_all
7279
+# _LT_COMPILER_PIC([TAGNAME])
7280
+# ---------------------------
7281
+m4_defun([_LT_COMPILER_PIC],
7282
+[m4_require([_LT_TAG_COMPILER])dnl
7283
+_LT_TAGVAR(lt_prog_compiler_wl, $1)=
7284
+_LT_TAGVAR(lt_prog_compiler_pic, $1)=
7285
+_LT_TAGVAR(lt_prog_compiler_static, $1)=
7288
- if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7289
- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
7291
- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
7294
+AC_MSG_CHECKING([for $compiler option to produce PIC])
7295
+m4_if([$1], [CXX], [
7296
+ # C++ specific cases for pic, static, wl, etc.
7297
+ if test "$GXX" = yes; then
7298
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7299
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
7302
- lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
7303
- lt_cv_file_magic_cmd=/usr/bin/file
7304
- lt_cv_file_magic_test_file=/usr/lib/libnls.so
7308
+ # All AIX code is PIC.
7309
+ if test "$host_cpu" = ia64; then
7310
+ # AIX 5 now supports IA64 processor
7311
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7316
- lt_cv_deplibs_check_method=pass_all
7321
+ # see comment about AmigaOS4 .so support
7322
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7325
+ # FIXME: we need at least 68020 code to build shared libraries, but
7326
+ # adding the `-m68020' flag to GCC prevents building anything better,
7328
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
7334
- if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7335
- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
7337
- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
7341
-osf3* | osf4* | osf5*)
7342
- lt_cv_deplibs_check_method=pass_all
7346
- lt_cv_deplibs_check_method=pass_all
7350
- lt_cv_deplibs_check_method=pass_all
7353
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7354
- lt_cv_deplibs_check_method=pass_all
7358
- case $host_vendor in
7360
- 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]]'
7361
- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7364
- lt_cv_deplibs_check_method=pass_all
7367
- lt_cv_file_magic_cmd='/bin/file'
7368
- lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
7371
- lt_cv_file_magic_cmd='/bin/file'
7372
- lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
7373
- lt_cv_file_magic_test_file=/lib/libc.so
7376
- lt_cv_deplibs_check_method=pass_all
7379
- lt_cv_deplibs_check_method=pass_all
7385
- lt_cv_deplibs_check_method=pass_all
7389
-file_magic_cmd=$lt_cv_file_magic_cmd
7390
-deplibs_check_method=$lt_cv_deplibs_check_method
7391
-test -z "$deplibs_check_method" && deplibs_check_method=unknown
7393
-_LT_DECL([], [deplibs_check_method], [1],
7394
- [Method to check whether dependent libraries are shared objects])
7395
-_LT_DECL([], [file_magic_cmd], [1],
7396
- [Command to use when deplibs_check_method == "file_magic"])
7397
-])# _LT_CHECK_MAGIC_METHOD
7402
-# find the pathname to a BSD- or MS-compatible name lister
7403
-AC_DEFUN([LT_PATH_NM],
7404
-[AC_REQUIRE([AC_PROG_CC])dnl
7405
-AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
7406
-[if test -n "$NM"; then
7407
- # Let the user override the test.
7408
- lt_cv_path_NM="$NM"
7410
- lt_nm_to_check="${ac_tool_prefix}nm"
7411
- if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7412
- lt_nm_to_check="$lt_nm_to_check nm"
7414
- for lt_tmp_nm in $lt_nm_to_check; do
7415
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7416
- for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7417
- IFS="$lt_save_ifs"
7418
- test -z "$ac_dir" && ac_dir=.
7419
- tmp_nm="$ac_dir/$lt_tmp_nm"
7420
- if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7421
- # Check to see if the nm accepts a BSD-compat flag.
7422
- # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7423
- # nm: unknown option "B" ignored
7424
- # Tru64's nm complains that /dev/null is an invalid object file
7425
- case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7426
- */dev/null* | *'Invalid file or object type'*)
7427
- lt_cv_path_NM="$tmp_nm -B"
7431
- case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7433
- lt_cv_path_NM="$tmp_nm -p"
7437
- lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7438
- continue # so that we can try to find one that supports BSD flags
7445
- IFS="$lt_save_ifs"
7447
- : ${lt_cv_path_NM=no}
7449
-if test "$lt_cv_path_NM" != "no"; then
7450
- NM="$lt_cv_path_NM"
7452
- # Didn't find any BSD compatible name lister, look for dumpbin.
7453
- AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
7454
- AC_SUBST([DUMPBIN])
7455
- if test "$DUMPBIN" != ":"; then
7459
-test -z "$NM" && NM=nm
7461
-_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
7463
-AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
7464
- [lt_cv_nm_interface="BSD nm"
7465
- echo "int some_variable = 0;" > conftest.$ac_ext
7466
- (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
7467
- (eval "$ac_compile" 2>conftest.err)
7468
- cat conftest.err >&AS_MESSAGE_LOG_FD
7469
- (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
7470
- (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7471
- cat conftest.err >&AS_MESSAGE_LOG_FD
7472
- (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
7473
- cat conftest.out >&AS_MESSAGE_LOG_FD
7474
- if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7475
- lt_cv_nm_interface="MS dumpbin"
7481
-AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
7482
-AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
7483
-dnl aclocal-1.4 backwards compatibility:
7484
-dnl AC_DEFUN([AM_PROG_NM], [])
7485
-dnl AC_DEFUN([AC_PROG_NM], [])
7490
-# check for math library
7491
-AC_DEFUN([LT_LIB_M],
7492
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
7495
-*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
7496
- # These system don't have libm, or don't need it
7499
- AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
7500
- AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
7503
- AC_CHECK_LIB(m, cos, LIBM="-lm")
7510
-AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
7511
-dnl aclocal-1.4 backwards compatibility:
7512
-dnl AC_DEFUN([AC_CHECK_LIBM], [])
7515
-# _LT_COMPILER_NO_RTTI([TAGNAME])
7516
-# -------------------------------
7517
-m4_defun([_LT_COMPILER_NO_RTTI],
7518
-[m4_require([_LT_TAG_COMPILER])dnl
7520
-_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
7522
-if test "$GCC" = yes; then
7523
- _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
7525
- _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
7526
- lt_cv_prog_compiler_rtti_exceptions,
7527
- [-fno-rtti -fno-exceptions], [],
7528
- [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
7530
-_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
7531
- [Compiler flag to turn off builtin functions])
7532
-])# _LT_COMPILER_NO_RTTI
7535
-# _LT_CMD_GLOBAL_SYMBOLS
7536
-# ----------------------
7537
-m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
7538
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
7539
-AC_REQUIRE([AC_PROG_CC])dnl
7540
-AC_REQUIRE([LT_PATH_NM])dnl
7541
-AC_REQUIRE([LT_PATH_LD])dnl
7542
-m4_require([_LT_DECL_SED])dnl
7543
-m4_require([_LT_DECL_EGREP])dnl
7544
-m4_require([_LT_TAG_COMPILER])dnl
7546
-# Check for command to grab the raw symbol name followed by C symbol from nm.
7547
-AC_MSG_CHECKING([command to parse $NM output from $compiler object])
7548
-AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
7550
-# These are sane defaults that work on at least a few old systems.
7551
-# [They come from Ultrix. What could be older than Ultrix?!! ;)]
7553
-# Character class describing NM global symbol codes.
7554
-symcode='[[BCDEGRST]]'
7556
-# Regexp to match symbols that can be accessed directly from C.
7557
-sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
7559
-# Define system-specific variables.
7562
- symcode='[[BCDT]]'
7564
-cygwin* | mingw* | pw32* | cegcc*)
7565
- symcode='[[ABCDGISTW]]'
7568
- if test "$host_cpu" = ia64; then
7569
- symcode='[[ABCDEGRST]]'
7572
-irix* | nonstopux*)
7573
- symcode='[[BCDEGRST]]'
7576
- symcode='[[BCDEGQRST]]'
7579
- symcode='[[BDRT]]'
7587
-sysv5* | sco5v6* | unixware* | OpenUNIX*)
7588
- symcode='[[ABDT]]'
7591
- symcode='[[DFNSTU]]'
7595
-# If we're using GNU nm, then use its standard symbol codes.
7596
-case `$NM -V 2>&1` in
7597
-*GNU* | *'with BFD'*)
7598
- symcode='[[ABCDGIRSTW]]' ;;
7601
-# Transform an extracted symbol line into a proper C declaration.
7602
-# Some systems (esp. on ia64) link data and code symbols differently,
7603
-# so use this general approach.
7604
-lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7606
-# Transform an extracted symbol line into symbol name and symbol address
7607
-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'"
7608
-lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7610
-# Handle CRLF in mingw tool chain
7614
- opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7618
-# Try without a prefix underscore, then with it.
7619
-for ac_symprfx in "" "_"; do
7621
- # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7622
- symxfrm="\\1 $ac_symprfx\\2 \\2"
7624
- # Write the raw and C identifiers.
7625
- if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7626
- # Fake it for dumpbin and say T for any non-static function
7627
- # and D for any global variable.
7628
- # Also find C++ and __fastcall symbols from MSVC++,
7629
- # which start with @ or ?.
7630
- lt_cv_sys_global_symbol_pipe="$AWK ['"\
7631
-" {last_section=section; section=\$ 3};"\
7632
-" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7633
-" \$ 0!~/External *\|/{next};"\
7634
-" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7635
-" {if(hide[section]) next};"\
7636
-" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7637
-" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7638
-" s[1]~/^[@?]/{print s[1], s[1]; next};"\
7639
-" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7640
-" ' prfx=^$ac_symprfx]"
7642
- lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7645
- # Check to see that the pipe works correctly.
7649
- cat > conftest.$ac_ext <<_LT_EOF
7654
-void nm_test_func(void);
7655
-void nm_test_func(void){}
7659
-int main(){nm_test_var='a';nm_test_func();return(0);}
7662
- if AC_TRY_EVAL(ac_compile); then
7663
- # Now try to grab the symbols.
7665
- if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
7666
- # Try sorting and uniquifying the output.
7667
- if sort "$nlist" | uniq > "$nlist"T; then
7668
- mv -f "$nlist"T "$nlist"
7673
- # Make sure that we snagged all the symbols we need.
7674
- if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7675
- if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7676
- cat <<_LT_EOF > conftest.$ac_ext
7682
- # Now generate the symbol file.
7683
- eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7685
- cat <<_LT_EOF >> conftest.$ac_ext
7687
-/* The mapping between symbol names and symbols. */
7692
-lt__PROGRAM__LTX_preloaded_symbols[[]] =
7694
- { "@PROGRAM@", (void *) 0 },
7696
- $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7697
- cat <<\_LT_EOF >> conftest.$ac_ext
7701
-/* This works around a problem in FreeBSD linker */
7702
-#ifdef FREEBSD_WORKAROUND
7703
-static const void *lt_preloaded_setup() {
7704
- return lt__PROGRAM__LTX_preloaded_symbols;
7712
- # Now try linking the two files.
7713
- mv conftest.$ac_objext conftstm.$ac_objext
7714
- lt_save_LIBS="$LIBS"
7715
- lt_save_CFLAGS="$CFLAGS"
7716
- LIBS="conftstm.$ac_objext"
7717
- CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
7718
- if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
7721
- LIBS="$lt_save_LIBS"
7722
- CFLAGS="$lt_save_CFLAGS"
7724
- echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
7727
- echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
7730
- echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
7733
- echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
7734
- cat conftest.$ac_ext >&5
7736
- rm -rf conftest* conftst*
7738
- # Do not use the global_symbol_pipe unless it works.
7739
- if test "$pipe_works" = yes; then
7742
- lt_cv_sys_global_symbol_pipe=
7746
-if test -z "$lt_cv_sys_global_symbol_pipe"; then
7747
- lt_cv_sys_global_symbol_to_cdecl=
7749
-if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7750
- AC_MSG_RESULT(failed)
7755
-_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
7756
- [Take the output of nm and produce a listing of raw symbols and C names])
7757
-_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
7758
- [Transform the output of nm in a proper C declaration])
7759
-_LT_DECL([global_symbol_to_c_name_address],
7760
- [lt_cv_sys_global_symbol_to_c_name_address], [1],
7761
- [Transform the output of nm in a C name address pair])
7762
-_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
7763
- [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
7764
- [Transform the output of nm in a C name address pair when lib prefix is needed])
7765
-]) # _LT_CMD_GLOBAL_SYMBOLS
7768
-# _LT_COMPILER_PIC([TAGNAME])
7769
-# ---------------------------
7770
-m4_defun([_LT_COMPILER_PIC],
7771
-[m4_require([_LT_TAG_COMPILER])dnl
7772
-_LT_TAGVAR(lt_prog_compiler_wl, $1)=
7773
-_LT_TAGVAR(lt_prog_compiler_pic, $1)=
7774
-_LT_TAGVAR(lt_prog_compiler_static, $1)=
7776
-AC_MSG_CHECKING([for $compiler option to produce PIC])
7777
-m4_if([$1], [CXX], [
7778
- # C++ specific cases for pic, static, wl, etc.
7779
- if test "$GXX" = yes; then
7780
- _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7781
- _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
7785
- # All AIX code is PIC.
7786
- if test "$host_cpu" = ia64; then
7787
- # AIX 5 now supports IA64 processor
7788
- _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7795
- # see comment about AmigaOS4 .so support
7796
- _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7799
- # FIXME: we need at least 68020 code to build shared libraries, but
7800
- # adding the `-m68020' flag to GCC prevents building anything better,
7802
- _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
7807
- beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7808
- # PIC is the default for these OSes.
7810
- mingw* | cygwin* | os2* | pw32* | cegcc*)
7811
- # This hack is so that the source file can tell whether it is being
7812
- # built for inclusion in a dll (and should export symbols for example).
7813
- # Although the cygwin gcc ignores -fPIC, still need this for old-style
7814
- # (--disable-auto-import) libraries
7815
- m4_if([$1], [GCJ], [],
7816
- [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
7818
- darwin* | rhapsody*)
7819
- # PIC is the default on this platform
7820
- # Common symbols not allowed in MH_DYLIB files
7821
- _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
7824
- # DJGPP does not support shared libraries at all
7825
- _LT_TAGVAR(lt_prog_compiler_pic, $1)=
7828
- # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7829
- # Instead, we relocate shared libraries at runtime.
7832
- if test -d /usr/nec; then
7833
- _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
7837
- # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7838
- # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7839
- # sets the default TLS model and affects inlining.
7844
- _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7849
- # QNX uses GNU C++, but need to define -shared option too, otherwise
7850
- # it will coredump.
7851
- _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
7854
- _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7857
+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7858
+ # PIC is the default for these OSes.
7860
+ mingw* | cygwin* | os2* | pw32* | cegcc*)
7861
+ # This hack is so that the source file can tell whether it is being
7862
+ # built for inclusion in a dll (and should export symbols for example).
7863
+ # Although the cygwin gcc ignores -fPIC, still need this for old-style
7864
+ # (--disable-auto-import) libraries
7865
+ m4_if([$1], [GCJ], [],
7866
+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
7868
+ darwin* | rhapsody*)
7869
+ # PIC is the default on this platform
7870
+ # Common symbols not allowed in MH_DYLIB files
7871
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
7874
+ # DJGPP does not support shared libraries at all
7875
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=
7878
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7879
+ # Instead, we relocate shared libraries at runtime.
7882
+ if test -d /usr/nec; then
7883
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
7887
+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7888
+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7889
+ # sets the default TLS model and affects inlining.
7894
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7899
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
7900
+ # it will coredump.
7901
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
7904
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7910
@@ -4740,7 +3782,7 @@
7914
- linux* | k*bsd*-gnu)
7915
+ linux* | k*bsd*-gnu | kopensolaris*-gnu)
7916
case $cc_basename in
7919
@@ -4804,7 +3846,7 @@
79
7945
_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7947
@@ -5277,65 +4322,432 @@
7948
dnl Note also adjust exclude_expsyms for C++ above.
7949
extract_expsyms_cmds=
7952
- cygwin* | mingw* | pw32* | cegcc*)
7953
- # FIXME: the MSVC++ port hasn't been tested in a loooong time
7954
- # When not using gcc, we currently assume that we are using
7955
- # Microsoft Visual C++.
7956
- if test "$GCC" != yes; then
7961
- # we just hope/assume this is gcc and not c89 (= MSVC++)
7969
+ cygwin* | mingw* | pw32* | cegcc*)
7970
+ # FIXME: the MSVC++ port hasn't been tested in a loooong time
7971
+ # When not using gcc, we currently assume that we are using
7972
+ # Microsoft Visual C++.
7973
+ if test "$GCC" != yes; then
7978
+ # we just hope/assume this is gcc and not c89 (= MSVC++)
7984
+ linux* | k*bsd*-gnu)
7985
+ _LT_TAGVAR(link_all_deplibs, $1)=no
7989
+ _LT_TAGVAR(ld_shlibs, $1)=yes
7990
+ if test "$with_gnu_ld" = yes; then
7991
+ # If archive_cmds runs LD, not CC, wlarc should be empty
7994
+ # Set some defaults for GNU ld with shared library support. These
7995
+ # are reset later if shared libraries are not supported. Putting them
7996
+ # here allows them to be overridden if necessary.
7997
+ runpath_var=LD_RUN_PATH
7998
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
7999
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
8000
+ # ancient GNU ld didn't support --whole-archive et. al.
8001
+ if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8002
+ _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8004
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
8006
+ supports_anon_versioning=no
8007
+ case `$LD -v 2>&1` in
8008
+ *GNU\ gold*) supports_anon_versioning=yes ;;
8009
+ *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
8010
+ *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8011
+ *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8012
+ *\ 2.11.*) ;; # other 2.11 versions
8013
+ *) supports_anon_versioning=yes ;;
8016
+ # See if GNU ld supports shared libraries.
8019
+ # On AIX/PPC, the GNU linker is very broken
8020
+ if test "$host_cpu" != ia64; then
8021
+ _LT_TAGVAR(ld_shlibs, $1)=no
8022
+ cat <<_LT_EOF 1>&2
8024
+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8025
+*** to be unable to reliably create shared libraries on AIX.
8026
+*** Therefore, libtool is disabling shared libraries support. If you
8027
+*** really care for shared libraries, you may want to modify your PATH
8028
+*** so that a non-GNU linker is found, and then restart.
8037
+ # see comment about AmigaOS4 .so support
8038
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8039
+ _LT_TAGVAR(archive_expsym_cmds, $1)=''
8042
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8043
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8044
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
8050
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8051
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
8052
+ # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8053
+ # support --undefined. This deserves some investigation. FIXME
8054
+ _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8056
+ _LT_TAGVAR(ld_shlibs, $1)=no
8060
+ cygwin* | mingw* | pw32* | cegcc*)
8061
+ # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
8062
+ # as there is no search path for DLLs.
8063
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8064
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
8065
+ _LT_TAGVAR(always_export_symbols, $1)=no
8066
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
8067
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
8069
+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8070
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8071
+ # If the export-symbols file already is a .def file (1st line
8072
+ # is EXPORTS), use it as is; otherwise, prepend...
8073
+ _LT_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 $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8081
+ _LT_TAGVAR(ld_shlibs, $1)=no
8086
+ _LT_TAGVAR(hardcode_direct, $1)=no
8087
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
8088
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
8089
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
8090
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8091
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
8092
+ # default) and relocated if they conflict, which is a slow very memory
8093
+ # consuming and fragmenting process. To avoid this, we pick a random,
8094
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8095
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8096
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8097
+ _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8100
+ gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8102
+ if test "$host_os" = linux-dietlibc; then
8103
+ case $cc_basename in
8104
+ diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8107
+ if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8108
+ && test "$tmp_diet" = no
8111
+ tmp_sharedflag='-shared'
8112
+ case $cc_basename,$host_cpu in
8113
+ pgcc*) # Portland Group C compiler
8114
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8115
+ tmp_addflag=' $pic_flag'
8117
+ pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8118
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8119
+ tmp_addflag=' $pic_flag -Mnomain' ;;
8120
+ ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8121
+ tmp_addflag=' -i_dynamic' ;;
8122
+ efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8123
+ tmp_addflag=' -i_dynamic -nofor_main' ;;
8124
+ ifc* | ifort*) # Intel Fortran compiler
8125
+ tmp_addflag=' -nofor_main' ;;
8126
+ lf95*) # Lahey Fortran 8.1
8127
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
8128
+ tmp_sharedflag='--shared' ;;
8129
+ xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8130
+ tmp_sharedflag='-qmkshrobj'
8133
+ case `$CC -V 2>&1 | sed 5q` in
8134
+ *Sun\ C*) # Sun C 5.9
8135
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8136
+ _LT_TAGVAR(compiler_needs_object, $1)=yes
8137
+ tmp_sharedflag='-G' ;;
8138
+ *Sun\ F*) # Sun Fortran 8.3
8139
+ tmp_sharedflag='-G' ;;
8141
+ _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8143
+ if test "x$supports_anon_versioning" = xyes; then
8144
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
8145
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8146
+ echo "local: *; };" >> $output_objdir/$libname.ver~
8147
+ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8150
+ case $cc_basename in
8152
+ # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8153
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
8154
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
8155
+ _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
8156
+ _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8157
+ if test "x$supports_anon_versioning" = xyes; then
8158
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
8159
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8160
+ echo "local: *; };" >> $output_objdir/$libname.ver~
8161
+ $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8166
+ _LT_TAGVAR(ld_shlibs, $1)=no
86
8170
+ netbsd* | netbsdelf*-gnu)
87
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
88
_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
91
if test "$aix_use_runtimelinking" = yes; then
92
shared_flag="$shared_flag "'${wl}-G'
8171
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8172
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8175
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8176
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8180
- _LT_TAGVAR(ld_shlibs, $1)=yes
8181
- if test "$with_gnu_ld" = yes; then
8182
- # If archive_cmds runs LD, not CC, wlarc should be empty
8185
+ if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8186
+ _LT_TAGVAR(ld_shlibs, $1)=no
8187
+ cat <<_LT_EOF 1>&2
8189
- # Set some defaults for GNU ld with shared library support. These
8190
- # are reset later if shared libraries are not supported. Putting them
8191
- # here allows them to be overridden if necessary.
8192
- runpath_var=LD_RUN_PATH
8193
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8194
- _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
8195
- # ancient GNU ld didn't support --whole-archive et. al.
8196
- if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8197
- _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8199
- _LT_TAGVAR(whole_archive_flag_spec, $1)=
8201
- supports_anon_versioning=no
8202
- case `$LD -v 2>&1` in
8203
- *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
8204
- *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8205
- *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8206
- *\ 2.11.*) ;; # other 2.11 versions
8207
- *) supports_anon_versioning=yes ;;
8209
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8210
+*** create shared libraries on Solaris systems. Therefore, libtool
8211
+*** is disabling shared libraries support. We urge you to upgrade GNU
8212
+*** binutils to release 2.9.1 or newer. Another option is to modify
8213
+*** your PATH or compiler configuration so that the native linker is
8214
+*** used, and then restart.
8216
- # See if GNU ld supports shared libraries.
8219
- # On AIX/PPC, the GNU linker is very broken
8220
- if test "$host_cpu" != ia64; then
8222
+ elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8223
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8224
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8226
+ _LT_TAGVAR(ld_shlibs, $1)=no
8230
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8231
+ case `$LD -v 2>&1` in
8232
+ *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
8233
_LT_TAGVAR(ld_shlibs, $1)=no
8236
-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8237
-*** to be unable to reliably create shared libraries on AIX.
8238
-*** Therefore, libtool is disabling shared libraries support. If you
8239
-*** really care for shared libraries, you may want to modify your PATH
8240
-*** so that a non-GNU linker is found, and then restart.
8241
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8242
+*** reliably create shared libraries on SCO systems. Therefore, libtool
8243
+*** is disabling shared libraries support. We urge you to upgrade GNU
8244
+*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8245
+*** your PATH or compiler configuration so that the native linker is
8246
+*** used, and then restart.
8251
+ # For security reasons, it is highly recommended that you always
8252
+ # use absolute paths for naming shared libraries, and exclude the
8253
+ # DT_RUNPATH tag from executables and libraries. But doing so
8254
+ # requires that you compile everything twice, which is a pain.
8255
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8256
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8257
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8258
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8260
+ _LT_TAGVAR(ld_shlibs, $1)=no
8267
+ _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8269
+ _LT_TAGVAR(hardcode_direct, $1)=yes
8270
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
8274
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8275
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8276
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8278
+ _LT_TAGVAR(ld_shlibs, $1)=no
8283
+ if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
8285
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
8286
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)=
8287
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
8290
+ # PORTME fill in a description of your system's linker (not GNU ld)
8293
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
8294
+ _LT_TAGVAR(always_export_symbols, $1)=yes
8295
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
8296
+ # Note: this linker hardcodes the directories in LIBPATH if there
8297
+ # are no directories specified by -L.
8298
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
8299
+ if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8300
+ # Neither direct hardcoding nor static linking is supported with a
8301
+ # broken collect2.
8302
+ _LT_TAGVAR(hardcode_direct, $1)=unsupported
8307
+ if test "$host_cpu" = ia64; then
8308
+ # On IA64, the linker does run time linking by default, so we don't
8309
+ # have to do anything special.
8310
+ aix_use_runtimelinking=no
8311
+ exp_sym_flag='-Bexport'
8314
+ # If we're using GNU nm, then we don't want the "-C" option.
8315
+ # -C means demangle to AIX nm, but means don't demangle with GNU nm
8316
+ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8317
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8319
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8321
+ aix_use_runtimelinking=no
8323
+ # Test if we are trying to use run time linking or normal
8324
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8325
+ # need to do runtime linking.
8326
+ case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
8327
+ for ld_flag in $LDFLAGS; do
8328
+ if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8329
+ aix_use_runtimelinking=yes
8336
+ exp_sym_flag='-bexport'
8337
+ no_entry_flag='-bnoentry'
8340
+ # When large executables or shared objects are built, AIX ld can
8341
+ # have problems creating the table of contents. If linking a library
8342
+ # or program results in "error TOC overflow" add -mminimal-toc to
8343
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8344
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8346
+ _LT_TAGVAR(archive_cmds, $1)=''
8347
+ _LT_TAGVAR(hardcode_direct, $1)=yes
8348
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
8349
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
8350
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
8351
+ _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
8353
+ if test "$GCC" = yes; then
8354
+ case $host_os in aix4.[[012]]|aix4.[[012]].*)
8355
+ # We only want to do this on AIX 4.2 and lower, the check
8356
+ # below for broken collect2 doesn't work under 4.3+
8357
+ collect2name=`${CC} -print-prog-name=collect2`
8358
+ if test -f "$collect2name" &&
8359
+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8361
+ # We have reworked collect2
8364
+ # We have old collect2
8365
+ _LT_TAGVAR(hardcode_direct, $1)=unsupported
8366
+ # It fails to find uninstalled libraries when the uninstalled
8367
+ # path is not listed in the libpath. Setting hardcode_minus_L
8368
+ # to unsupported forces relinking
8369
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
8370
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8371
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=
8375
+ shared_flag='-shared'
8376
+ if test "$aix_use_runtimelinking" = yes; then
8377
+ shared_flag="$shared_flag "'${wl}-G'
94
8379
+ _LT_TAGVAR(link_all_deplibs, $1)=no
97
if test "$host_cpu" = ia64; then
99
_LT_TAGVAR(link_all_deplibs, $1)=yes
8382
+ if test "$host_cpu" = ia64; then
8383
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8384
+ # chokes on -Wl,-G. The following line is correct:
8387
+ if test "$aix_use_runtimelinking" = yes; then
8388
+ shared_flag='${wl}-G'
8390
+ shared_flag='${wl}-bM:SRE'
8395
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
8396
+ # It seems that -bexpall does not export symbols beginning with
8397
+ # underscore (_), so it is better to generate a list of symbols to export.
8398
+ _LT_TAGVAR(always_export_symbols, $1)=yes
8399
+ if test "$aix_use_runtimelinking" = yes; then
8400
+ # Warning - without using the other runtime loading flags (-brtl),
8401
+ # -berok will link without error, but may produce a broken library.
8402
+ _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
8403
+ # Determine the default libpath from the value encoded in an
8404
+ # empty executable.
8405
+ _LT_SYS_MODULE_PATH_AIX
8406
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
8407
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8409
+ if test "$host_cpu" = ia64; then
8410
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
8411
+ _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
8412
+ _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8414
+ # Determine the default libpath from the value encoded in an
8415
+ # empty executable.
8416
+ _LT_SYS_MODULE_PATH_AIX
8417
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
8418
+ # Warning - without using the other run time loading flags,
8419
+ # -berok will link without error, but may produce a broken library.
8420
+ _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
8421
+ _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
8422
+ # Exported symbols can be pulled into shared objects from archives
8423
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
8424
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
8425
+ # This is similar to how AIX traditionally builds its shared libraries.
8426
+ _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8431
@@ -5354,1351 +4766,1612 @@
8436
- if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8437
- _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
8438
- # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8439
- # support --undefined. This deserves some investigation. FIXME
8440
- _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8442
- _LT_TAGVAR(ld_shlibs, $1)=no
8445
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
8448
cygwin* | mingw* | pw32* | cegcc*)
8449
- # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
8450
- # as there is no search path for DLLs.
8451
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8452
+ # When not using gcc, we currently assume that we are using
8453
+ # Microsoft Visual C++.
8454
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
8455
+ # no search path for DLLs.
8456
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
8457
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
8458
- _LT_TAGVAR(always_export_symbols, $1)=no
8459
+ # Tell ltmain to make .lib files, not .a files.
8461
+ # Tell ltmain to make .dll files, not .so files.
8462
+ shrext_cmds=".dll"
8463
+ # FIXME: Setting linknames here is a bad hack.
8464
+ _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8465
+ # The linker will automatically build a .lib file if we build a DLL.
8466
+ _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
8467
+ # FIXME: Should let the user specify the lib program.
8468
+ _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
8469
+ _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
8470
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
8471
- _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
8474
- if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8475
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8476
- # If the export-symbols file already is a .def file (1st line
8477
- # is EXPORTS), use it as is; otherwise, prepend...
8478
- _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8479
- cp $export_symbols $output_objdir/$soname.def;
8480
+ darwin* | rhapsody*)
8481
+ _LT_DARWIN_LINKER_FEATURES($1)
8485
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8486
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8487
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
8491
+ _LT_TAGVAR(ld_shlibs, $1)=no
8494
+ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8495
+ # support. Future versions do this automatically, but an explicit c++rt0.o
8496
+ # does not break anything, and helps significantly (at the cost of a little
8499
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8500
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8501
+ _LT_TAGVAR(hardcode_direct, $1)=yes
8502
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
8505
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8507
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8508
+ _LT_TAGVAR(hardcode_direct, $1)=yes
8509
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
8510
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
8513
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8514
+ freebsd* | dragonfly*)
8515
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8516
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8517
+ _LT_TAGVAR(hardcode_direct, $1)=yes
8518
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
8522
+ if test "$GCC" = yes; then
8523
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8525
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8527
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
8528
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
8529
+ _LT_TAGVAR(hardcode_direct, $1)=yes
8531
+ # hardcode_minus_L: Not really in the search PATH,
8532
+ # but as the default location of the library.
8533
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
8534
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
8538
+ if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8539
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8541
+ _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8543
+ if test "$with_gnu_ld" = no; then
8544
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
8545
+ _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
8546
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
8547
+ _LT_TAGVAR(hardcode_direct, $1)=yes
8548
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
8549
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
8550
+ # hardcode_minus_L: Not really in the search PATH,
8551
+ # but as the default location of the library.
8552
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
8557
+ if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8560
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8563
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8566
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8572
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8575
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8578
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8582
+ if test "$with_gnu_ld" = no; then
8583
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
8584
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
8588
+ _LT_TAGVAR(hardcode_direct, $1)=no
8589
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
8592
+ _LT_TAGVAR(hardcode_direct, $1)=yes
8593
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
8594
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
8596
+ # hardcode_minus_L: Not really in the search PATH,
8597
+ # but as the default location of the library.
8598
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
8604
+ irix5* | irix6* | nonstopux*)
8605
+ if test "$GCC" = yes; then
8606
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8607
+ # Try to use the -exported_symbol ld option, if it does not
8608
+ # work, assume that -exports_file does not work either and
8609
+ # implicitly export all symbols.
8610
+ save_LDFLAGS="$LDFLAGS"
8611
+ LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8612
+ AC_LINK_IFELSE(int foo(void) {},
8613
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8615
+ LDFLAGS="$save_LDFLAGS"
8617
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8618
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8620
+ _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
8621
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8622
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
8623
+ _LT_TAGVAR(inherit_rpath, $1)=yes
8624
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
103
8627
+ netbsd* | netbsdelf*-gnu)
104
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
105
_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
107
@@ -8076,14 +8089,16 @@
108
# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
109
# ---------------------------------------------
110
m4_define([_PKG_CONFIG],
111
-[if test -n "$$1"; then
113
- elif test -n "$PKG_CONFIG"; then
114
- PKG_CHECK_EXISTS([$3],
115
- [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
8628
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8629
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8631
+ _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8633
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8634
+ _LT_TAGVAR(hardcode_direct, $1)=yes
8635
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
8639
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8640
+ _LT_TAGVAR(hardcode_direct, $1)=yes
8641
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8642
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
8643
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
8650
+ if test -f /usr/libexec/ld.so; then
8651
+ _LT_TAGVAR(hardcode_direct, $1)=yes
8652
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
8653
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
8654
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8655
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8656
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8657
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
8658
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
8660
- echo EXPORTS > $output_objdir/$soname.def;
8661
- cat $export_symbols >> $output_objdir/$soname.def;
8663
- $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8665
+ openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
8666
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8667
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8670
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8671
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
8676
_LT_TAGVAR(ld_shlibs, $1)=no
8681
- _LT_TAGVAR(hardcode_direct, $1)=no
8682
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
8683
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
8684
- _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
8685
- # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8686
- # Instead, shared libraries are loaded at an image base (0x10000000 by
8687
- # default) and relocated if they conflict, which is a slow very memory
8688
- # consuming and fragmenting process. To avoid this, we pick a random,
8689
- # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8690
- # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8691
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8692
- _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8694
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8695
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
8696
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
8697
+ _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8698
+ _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8701
- gnu* | linux* | tpf* | k*bsd*-gnu)
8703
- if test "$host_os" = linux-dietlibc; then
8704
- case $cc_basename in
8705
- diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8708
+ if test "$GCC" = yes; then
8709
+ _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
8710
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8712
+ _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
8713
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8715
- if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8716
- && test "$tmp_diet" = no
8719
- tmp_sharedflag='-shared'
8720
- case $cc_basename,$host_cpu in
8721
- pgcc*) # Portland Group C compiler
8722
- _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8723
- tmp_addflag=' $pic_flag'
8725
- pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8726
- _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8727
- tmp_addflag=' $pic_flag -Mnomain' ;;
8728
- ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8729
- tmp_addflag=' -i_dynamic' ;;
8730
- efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8731
- tmp_addflag=' -i_dynamic -nofor_main' ;;
8732
- ifc* | ifort*) # Intel Fortran compiler
8733
- tmp_addflag=' -nofor_main' ;;
8734
- lf95*) # Lahey Fortran 8.1
8735
- _LT_TAGVAR(whole_archive_flag_spec, $1)=
8736
- tmp_sharedflag='--shared' ;;
8737
- xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8738
- tmp_sharedflag='-qmkshrobj'
8741
- case `$CC -V 2>&1 | sed 5q` in
8742
- *Sun\ C*) # Sun C 5.9
8743
- _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8744
- _LT_TAGVAR(compiler_needs_object, $1)=yes
8745
- tmp_sharedflag='-G' ;;
8746
- *Sun\ F*) # Sun Fortran 8.3
8747
- tmp_sharedflag='-G' ;;
8749
- _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8750
+ _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
8751
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8752
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
8755
- if test "x$supports_anon_versioning" = xyes; then
8756
- _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
8757
- cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8758
- echo "local: *; };" >> $output_objdir/$libname.ver~
8759
- $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8761
+ osf4* | osf5*) # as osf3* with the addition of -msym flag
8762
+ if test "$GCC" = yes; then
8763
+ _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
8764
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8765
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8767
+ _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
8768
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8769
+ _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
8770
+ $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8772
- case $cc_basename in
8774
- # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8775
- _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
8776
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
8777
- _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
8778
- _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8779
- if test "x$supports_anon_versioning" = xyes; then
8780
- _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
8781
- cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8782
- echo "local: *; };" >> $output_objdir/$libname.ver~
8783
- $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8785
+ # Both c and cxx compiler support -rpath directly
8786
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
8788
+ _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
8789
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
8793
+ _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
8794
+ if test "$GCC" = yes; then
8796
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8797
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8798
+ $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8800
+ case `$CC -V 2>&1` in
8801
+ *"Compilers 5.0"*)
8803
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8804
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8805
+ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8809
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8810
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8811
+ $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8815
- _LT_TAGVAR(ld_shlibs, $1)=no
8817
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8818
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
8820
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
8822
+ # The compiler driver will combine and reorder linker options,
8823
+ # but understands `-z linker_flag'. GCC discards it without `$wl',
8824
+ # but is careful enough not to reorder.
8825
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
8826
+ if test "$GCC" = yes; then
8827
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8829
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
8833
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
8837
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8838
- _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8841
+ if test "x$host_vendor" = xsequent; then
8842
+ # Use $CC to link under sequent, because it throws in some extra .o
8843
+ # files that make .init and .fini sections work.
8844
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8846
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8847
- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8848
+ _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8850
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8851
+ _LT_TAGVAR(hardcode_direct, $1)=yes
8852
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
8853
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
8857
- if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8858
- _LT_TAGVAR(ld_shlibs, $1)=no
8859
- cat <<_LT_EOF 1>&2
8861
+ case $host_vendor in
8863
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8864
+ _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
8867
+ ## LD is ld it makes a PLAMLIB
8868
+ ## CC just makes a GrossModule.
8869
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8870
+ _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
8871
+ _LT_TAGVAR(hardcode_direct, $1)=no
8874
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8875
+ _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
8878
+ runpath_var='LD_RUN_PATH'
8879
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
8882
-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8883
-*** create shared libraries on Solaris systems. Therefore, libtool
8884
-*** is disabling shared libraries support. We urge you to upgrade GNU
8885
-*** binutils to release 2.9.1 or newer. Another option is to modify
8886
-*** your PATH or compiler configuration so that the native linker is
8887
-*** used, and then restart.
8889
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8890
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
8891
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
8895
- elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8896
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8897
- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8899
- _LT_TAGVAR(ld_shlibs, $1)=no
8901
+ if test -d /usr/nec; then
8902
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8903
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
8904
+ runpath_var=LD_RUN_PATH
8905
+ hardcode_runpath_var=yes
8906
+ _LT_TAGVAR(ld_shlibs, $1)=yes
8910
- sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8911
- case `$LD -v 2>&1` in
8912
- *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
8913
- _LT_TAGVAR(ld_shlibs, $1)=no
8914
- cat <<_LT_EOF 1>&2
8915
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
8916
+ _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
8917
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
8918
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
8919
+ runpath_var='LD_RUN_PATH'
8921
-*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8922
-*** reliably create shared libraries on SCO systems. Therefore, libtool
8923
-*** is disabling shared libraries support. We urge you to upgrade GNU
8924
-*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8925
-*** your PATH or compiler configuration so that the native linker is
8926
-*** used, and then restart.
8927
+ if test "$GCC" = yes; then
8928
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8929
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8931
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8932
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8939
- # For security reasons, it is highly recommended that you always
8940
- # use absolute paths for naming shared libraries, and exclude the
8941
- # DT_RUNPATH tag from executables and libraries. But doing so
8942
- # requires that you compile everything twice, which is a pain.
8943
- if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8944
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8945
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8946
- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8948
- _LT_TAGVAR(ld_shlibs, $1)=no
8952
+ sysv5* | sco3.2v5* | sco5v6*)
8953
+ # Note: We can NOT use -z defs as we might desire, because we do not
8954
+ # link with -lc, and that would cause any symbols used from libc to
8955
+ # always be unresolved, which means just about no library would
8956
+ # ever link correctly. If we're not using GNU ld we use -z text
8957
+ # though, which does catch some bad symbols but isn't as heavy-handed
8959
+ _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
8960
+ _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
8961
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
8962
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
8963
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
8964
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
8965
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
8966
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
8967
+ runpath_var='LD_RUN_PATH'
8969
+ if test "$GCC" = yes; then
8970
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8971
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8973
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8974
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8979
- _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8981
- _LT_TAGVAR(hardcode_direct, $1)=yes
8983
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8984
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8985
_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
8989
- if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8990
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8991
- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8993
- _LT_TAGVAR(ld_shlibs, $1)=no
8995
+ _LT_TAGVAR(ld_shlibs, $1)=no
8999
- if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
9001
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
9002
- _LT_TAGVAR(export_dynamic_flag_spec, $1)=
9003
- _LT_TAGVAR(whole_archive_flag_spec, $1)=
9004
+ if test x$host_vendor = xsni; then
9006
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9007
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
9012
- # PORTME fill in a description of your system's linker (not GNU ld)
9015
- _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
9016
- _LT_TAGVAR(always_export_symbols, $1)=yes
9017
- _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9018
- # Note: this linker hardcodes the directories in LIBPATH if there
9019
- # are no directories specified by -L.
9020
- _LT_TAGVAR(hardcode_minus_L, $1)=yes
9021
- if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9022
- # Neither direct hardcoding nor static linking is supported with a
9023
- # broken collect2.
9024
- _LT_TAGVAR(hardcode_direct, $1)=unsupported
9029
- if test "$host_cpu" = ia64; then
9030
- # On IA64, the linker does run time linking by default, so we don't
9031
- # have to do anything special.
9032
- aix_use_runtimelinking=no
9033
- exp_sym_flag='-Bexport'
9036
- # If we're using GNU nm, then we don't want the "-C" option.
9037
- # -C means demangle to AIX nm, but means don't demangle with GNU nm
9038
- if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9039
- _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9041
- _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9043
- aix_use_runtimelinking=no
9046
+AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
9047
+test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
9049
- # Test if we are trying to use run time linking or normal
9050
- # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9051
- # need to do runtime linking.
9052
- case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
9053
- for ld_flag in $LDFLAGS; do
9054
- if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9055
- aix_use_runtimelinking=yes
9061
+_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
9063
- exp_sym_flag='-bexport'
9064
- no_entry_flag='-bnoentry'
9066
+_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
9067
+_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
9068
+_LT_DECL([], [extract_expsyms_cmds], [2],
9069
+ [The commands to extract the exported symbol list from a shared archive])
9071
- # When large executables or shared objects are built, AIX ld can
9072
- # have problems creating the table of contents. If linking a library
9073
- # or program results in "error TOC overflow" add -mminimal-toc to
9074
- # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9075
- # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9077
+# Do we need to explicitly link libc?
9079
+case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
9081
+ # Assume -lc should be added
9082
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
9084
- _LT_TAGVAR(archive_cmds, $1)=''
9085
- _LT_TAGVAR(hardcode_direct, $1)=yes
9086
- _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
9087
- _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
9088
- _LT_TAGVAR(link_all_deplibs, $1)=yes
9089
- _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
9090
+ if test "$enable_shared" = yes && test "$GCC" = yes; then
9091
+ case $_LT_TAGVAR(archive_cmds, $1) in
9093
+ # FIXME: we may have to deal with multi-command sequences.
9096
+ # Test whether the compiler implicitly links with -lc since on some
9097
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
9098
+ # to ld, don't add -lc before -lgcc.
9099
+ AC_MSG_CHECKING([whether -lc should be explicitly linked in])
9101
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9103
- if test "$GCC" = yes; then
9104
- case $host_os in aix4.[[012]]|aix4.[[012]].*)
9105
- # We only want to do this on AIX 4.2 and lower, the check
9106
- # below for broken collect2 doesn't work under 4.3+
9107
- collect2name=`${CC} -print-prog-name=collect2`
9108
- if test -f "$collect2name" &&
9109
- strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9111
- # We have reworked collect2
9114
- # We have old collect2
9115
- _LT_TAGVAR(hardcode_direct, $1)=unsupported
9116
- # It fails to find uninstalled libraries when the uninstalled
9117
- # path is not listed in the libpath. Setting hardcode_minus_L
9118
- # to unsupported forces relinking
9119
- _LT_TAGVAR(hardcode_minus_L, $1)=yes
9120
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
9121
- _LT_TAGVAR(hardcode_libdir_separator, $1)=
9125
- shared_flag='-shared'
9126
- if test "$aix_use_runtimelinking" = yes; then
9127
- shared_flag="$shared_flag "'${wl}-G'
9129
+ if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
9132
+ libobjs=conftest.$ac_objext
9134
+ wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
9135
+ pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
9141
+ lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
9142
+ _LT_TAGVAR(allow_undefined_flag, $1)=
9143
+ if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
9145
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
9147
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
9149
+ _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
9152
- if test "$host_cpu" = ia64; then
9153
- # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9154
- # chokes on -Wl,-G. The following line is correct:
9157
- if test "$aix_use_runtimelinking" = yes; then
9158
- shared_flag='${wl}-G'
9160
- shared_flag='${wl}-bM:SRE'
9163
+ cat conftest.err 1>&5
9166
+ AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
9173
+_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
9174
+ [Whether or not to add -lc for building shared libraries])
9175
+_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
9176
+ [enable_shared_with_static_runtimes], [0],
9177
+ [Whether or not to disallow shared libs when runtime libs are static])
9178
+_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
9179
+ [Compiler flag to allow reflexive dlopens])
9180
+_LT_TAGDECL([], [whole_archive_flag_spec], [1],
9181
+ [Compiler flag to generate shared objects directly from archives])
9182
+_LT_TAGDECL([], [compiler_needs_object], [1],
9183
+ [Whether the compiler copes with passing no objects directly])
9184
+_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
9185
+ [Create an old-style archive from a shared archive])
9186
+_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
9187
+ [Create a temporary old-style archive to link instead of a shared archive])
9188
+_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
9189
+_LT_TAGDECL([], [archive_expsym_cmds], [2])
9190
+_LT_TAGDECL([], [module_cmds], [2],
9191
+ [Commands used to build a loadable module if different from building
9192
+ a shared archive.])
9193
+_LT_TAGDECL([], [module_expsym_cmds], [2])
9194
+_LT_TAGDECL([], [with_gnu_ld], [1],
9195
+ [Whether we are building with GNU ld or not])
9196
+_LT_TAGDECL([], [allow_undefined_flag], [1],
9197
+ [Flag that allows shared libraries with undefined symbols to be built])
9198
+_LT_TAGDECL([], [no_undefined_flag], [1],
9199
+ [Flag that enforces no undefined symbols])
9200
+_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
9201
+ [Flag to hardcode $libdir into a binary during linking.
9202
+ This must work even if $libdir does not exist])
9203
+_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
9204
+ [[If ld is used when linking, flag to hardcode $libdir into a binary
9205
+ during linking. This must work even if $libdir does not exist]])
9206
+_LT_TAGDECL([], [hardcode_libdir_separator], [1],
9207
+ [Whether we need a single "-rpath" flag with a separated argument])
9208
+_LT_TAGDECL([], [hardcode_direct], [0],
9209
+ [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
9210
+ DIR into the resulting binary])
9211
+_LT_TAGDECL([], [hardcode_direct_absolute], [0],
9212
+ [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
9213
+ DIR into the resulting binary and the resulting library dependency is
9214
+ "absolute", i.e impossible to change by setting ${shlibpath_var} if the
9215
+ library is relocated])
9216
+_LT_TAGDECL([], [hardcode_minus_L], [0],
9217
+ [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
9218
+ into the resulting binary])
9219
+_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
9220
+ [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
9221
+ into the resulting binary])
9222
+_LT_TAGDECL([], [hardcode_automatic], [0],
9223
+ [Set to "yes" if building a shared library automatically hardcodes DIR
9224
+ into the library and all subsequent libraries and executables linked
9226
+_LT_TAGDECL([], [inherit_rpath], [0],
9227
+ [Set to yes if linker adds runtime paths of dependent libraries
9228
+ to runtime path list])
9229
+_LT_TAGDECL([], [link_all_deplibs], [0],
9230
+ [Whether libtool must link a program against all its dependency libraries])
9231
+_LT_TAGDECL([], [fix_srcfile_path], [1],
9232
+ [Fix the shell variable $srcfile for the compiler])
9233
+_LT_TAGDECL([], [always_export_symbols], [0],
9234
+ [Set to "yes" if exported symbols are required])
9235
+_LT_TAGDECL([], [export_symbols_cmds], [2],
9236
+ [The commands to list exported symbols])
9237
+_LT_TAGDECL([], [exclude_expsyms], [1],
9238
+ [Symbols that should not be listed in the preloaded symbols])
9239
+_LT_TAGDECL([], [include_expsyms], [1],
9240
+ [Symbols that must always be exported])
9241
+_LT_TAGDECL([], [prelink_cmds], [2],
9242
+ [Commands necessary for linking programs (against libraries) with templates])
9243
+_LT_TAGDECL([], [file_list_spec], [1],
9244
+ [Specify filename containing input files])
9245
+dnl FIXME: Not yet implemented
9246
+dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
9247
+dnl [Compiler flag to generate thread safe objects])
9248
+])# _LT_LINKER_SHLIBS
9250
- _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
9251
- # It seems that -bexpall does not export symbols beginning with
9252
- # underscore (_), so it is better to generate a list of symbols to export.
9253
- _LT_TAGVAR(always_export_symbols, $1)=yes
9254
- if test "$aix_use_runtimelinking" = yes; then
9255
- # Warning - without using the other runtime loading flags (-brtl),
9256
- # -berok will link without error, but may produce a broken library.
9257
- _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
9258
- # Determine the default libpath from the value encoded in an
9259
- # empty executable.
9260
- _LT_SYS_MODULE_PATH_AIX
9261
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
9262
- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9264
- if test "$host_cpu" = ia64; then
9265
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
9266
- _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
9267
- _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9269
- # Determine the default libpath from the value encoded in an
9270
- # empty executable.
9271
- _LT_SYS_MODULE_PATH_AIX
9272
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
9273
- # Warning - without using the other run time loading flags,
9274
- # -berok will link without error, but may produce a broken library.
9275
- _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
9276
- _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
9277
- # Exported symbols can be pulled into shared objects from archives
9278
- _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
9279
- _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
9280
- # This is similar to how AIX traditionally builds its shared libraries.
9281
- _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9289
- # see comment about AmigaOS4 .so support
9290
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9291
- _LT_TAGVAR(archive_expsym_cmds, $1)=''
9294
- _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9295
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
9296
- _LT_TAGVAR(hardcode_minus_L, $1)=yes
9300
+# _LT_LANG_C_CONFIG([TAG])
9301
+# ------------------------
9302
+# Ensure that the configuration variables for a C compiler are suitably
9303
+# defined. These variables are subsequently used by _LT_CONFIG to write
9304
+# the compiler configuration to `libtool'.
9305
+m4_defun([_LT_LANG_C_CONFIG],
9306
+[m4_require([_LT_DECL_EGREP])dnl
9311
- _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
9313
+# Source file extension for C test sources.
9316
- cygwin* | mingw* | pw32* | cegcc*)
9317
- # When not using gcc, we currently assume that we are using
9318
- # Microsoft Visual C++.
9319
- # hardcode_libdir_flag_spec is actually meaningless, as there is
9320
- # no search path for DLLs.
9321
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
9322
- _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
9323
- # Tell ltmain to make .lib files, not .a files.
9325
- # Tell ltmain to make .dll files, not .so files.
9326
- shrext_cmds=".dll"
9327
- # FIXME: Setting linknames here is a bad hack.
9328
- _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9329
- # The linker will automatically build a .lib file if we build a DLL.
9330
- _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
9331
- # FIXME: Should let the user specify the lib program.
9332
- _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
9333
- _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
9334
- _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
9336
+# Object file extension for compiled C test sources.
9338
+_LT_TAGVAR(objext, $1)=$objext
9340
- darwin* | rhapsody*)
9341
- _LT_DARWIN_LINKER_FEATURES($1)
9343
+# Code to be used in simple compile tests
9344
+lt_simple_compile_test_code="int some_variable = 0;"
9347
- _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9348
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
9349
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
9351
+# Code to be used in simple link tests
9352
+lt_simple_link_test_code='int main(){return(0);}'
9355
- _LT_TAGVAR(ld_shlibs, $1)=no
9358
+# Save the default compiler, since it gets overwritten when the other
9359
+# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9360
+compiler_DEFAULT=$CC
9362
- # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9363
- # support. Future versions do this automatically, but an explicit c++rt0.o
9364
- # does not break anything, and helps significantly (at the cost of a little
9367
- _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9368
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
9369
- _LT_TAGVAR(hardcode_direct, $1)=yes
9370
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
9372
+# save warnings/boilerplate of simple test code
9373
+_LT_COMPILER_BOILERPLATE
9374
+_LT_LINKER_BOILERPLATE
9376
- # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9378
- _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9379
- _LT_TAGVAR(hardcode_direct, $1)=yes
9380
- _LT_TAGVAR(hardcode_minus_L, $1)=yes
9381
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
9383
+if test -n "$compiler"; then
9384
+ _LT_COMPILER_NO_RTTI($1)
9385
+ _LT_COMPILER_PIC($1)
9386
+ _LT_COMPILER_C_O($1)
9387
+ _LT_COMPILER_FILE_LOCKS($1)
9388
+ _LT_LINKER_SHLIBS($1)
9389
+ _LT_SYS_DYNAMIC_LINKER($1)
9390
+ _LT_LINKER_HARDCODE_LIBPATH($1)
9391
+ LT_SYS_DLOPEN_SELF
9394
- # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9395
- freebsd* | dragonfly*)
9396
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9397
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
9398
- _LT_TAGVAR(hardcode_direct, $1)=yes
9399
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
9401
+ # Report which library types will actually be built
9402
+ AC_MSG_CHECKING([if libtool supports shared libraries])
9403
+ AC_MSG_RESULT([$can_build_shared])
9406
- if test "$GCC" = yes; then
9407
- _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9409
- _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9411
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
9412
- _LT_TAGVAR(hardcode_libdir_separator, $1)=:
9413
- _LT_TAGVAR(hardcode_direct, $1)=yes
9414
+ AC_MSG_CHECKING([whether to build shared libraries])
9415
+ test "$can_build_shared" = "no" && enable_shared=no
9417
- # hardcode_minus_L: Not really in the search PATH,
9418
- # but as the default location of the library.
9419
- _LT_TAGVAR(hardcode_minus_L, $1)=yes
9420
- _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
9422
+ # On AIX, shared libraries and static libraries use the same namespace, and
9423
+ # are all built from PIC.
9426
+ test "$enable_shared" = yes && enable_static=no
9427
+ if test -n "$RANLIB"; then
9428
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
9429
+ postinstall_cmds='$RANLIB $lib'
9434
- if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9435
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9437
- _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9439
- if test "$with_gnu_ld" = no; then
9440
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
9441
- _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
9442
- _LT_TAGVAR(hardcode_libdir_separator, $1)=:
9443
- _LT_TAGVAR(hardcode_direct, $1)=yes
9444
- _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
9445
- _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
9446
- # hardcode_minus_L: Not really in the search PATH,
9447
- # but as the default location of the library.
9448
- _LT_TAGVAR(hardcode_minus_L, $1)=yes
9452
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9453
+ test "$enable_shared" = yes && enable_static=no
9457
+ AC_MSG_RESULT([$enable_shared])
9459
+ AC_MSG_CHECKING([whether to build static libraries])
9460
+ # Make sure either enable_shared or enable_static is yes.
9461
+ test "$enable_shared" = yes || enable_static=yes
9462
+ AC_MSG_RESULT([$enable_static])
9468
+])# _LT_LANG_C_CONFIG
9471
- if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9474
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9477
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9480
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9486
- _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9489
- _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9492
- _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9496
- if test "$with_gnu_ld" = no; then
9497
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
9498
- _LT_TAGVAR(hardcode_libdir_separator, $1)=:
9502
- _LT_TAGVAR(hardcode_direct, $1)=no
9503
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
9506
- _LT_TAGVAR(hardcode_direct, $1)=yes
9507
- _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
9508
- _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
9511
+# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
9512
+# compiler, we have our own version here.
9513
+m4_defun([_LT_PROG_CXX],
9515
+pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
9517
+if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9518
+ ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9519
+ (test "X$CXX" != "Xg++"))) ; then
9522
+ _lt_caught_CXX_error=yes
9524
+popdef([AC_MSG_ERROR])
9527
- # hardcode_minus_L: Not really in the search PATH,
9528
- # but as the default location of the library.
9529
- _LT_TAGVAR(hardcode_minus_L, $1)=yes
9534
+dnl aclocal-1.4 backwards compatibility:
9535
+dnl AC_DEFUN([_LT_PROG_CXX], [])
9537
- irix5* | irix6* | nonstopux*)
9538
- if test "$GCC" = yes; then
9539
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9540
- # Try to use the -exported_symbol ld option, if it does not
9541
- # work, assume that -exports_file does not work either and
9542
- # implicitly export all symbols.
9543
- save_LDFLAGS="$LDFLAGS"
9544
- LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9545
- AC_LINK_IFELSE(int foo(void) {},
9546
- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9548
- LDFLAGS="$save_LDFLAGS"
9550
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9551
- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9553
- _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
9554
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
9555
- _LT_TAGVAR(hardcode_libdir_separator, $1)=:
9556
- _LT_TAGVAR(inherit_rpath, $1)=yes
9557
- _LT_TAGVAR(link_all_deplibs, $1)=yes
9561
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9562
- _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9564
- _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9566
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
9567
- _LT_TAGVAR(hardcode_direct, $1)=yes
9568
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
9570
+# _LT_LANG_CXX_CONFIG([TAG])
9571
+# --------------------------
9572
+# Ensure that the configuration variables for a C++ compiler are suitably
9573
+# defined. These variables are subsequently used by _LT_CONFIG to write
9574
+# the compiler configuration to `libtool'.
9575
+m4_defun([_LT_LANG_CXX_CONFIG],
9576
+[AC_REQUIRE([_LT_PROG_CXX])dnl
9577
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
9578
+m4_require([_LT_DECL_EGREP])dnl
9581
- _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9582
- _LT_TAGVAR(hardcode_direct, $1)=yes
9583
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
9584
- _LT_TAGVAR(hardcode_libdir_separator, $1)=:
9585
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
9588
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
9589
+_LT_TAGVAR(allow_undefined_flag, $1)=
9590
+_LT_TAGVAR(always_export_symbols, $1)=no
9591
+_LT_TAGVAR(archive_expsym_cmds, $1)=
9592
+_LT_TAGVAR(compiler_needs_object, $1)=no
9593
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
9594
+_LT_TAGVAR(hardcode_direct, $1)=no
9595
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
9596
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
9597
+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
9598
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
9599
+_LT_TAGVAR(hardcode_minus_L, $1)=no
9600
+_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
9601
+_LT_TAGVAR(hardcode_automatic, $1)=no
9602
+_LT_TAGVAR(inherit_rpath, $1)=no
9603
+_LT_TAGVAR(module_cmds, $1)=
9604
+_LT_TAGVAR(module_expsym_cmds, $1)=
9605
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
9606
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
9607
+_LT_TAGVAR(no_undefined_flag, $1)=
9608
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
9609
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
9613
+# Source file extension for C++ test sources.
9617
- if test -f /usr/libexec/ld.so; then
9618
- _LT_TAGVAR(hardcode_direct, $1)=yes
9619
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
9620
- _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
9621
- if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9622
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9623
- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9624
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
9625
- _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
9628
- openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
9629
- _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9630
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
9633
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9634
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
9639
- _LT_TAGVAR(ld_shlibs, $1)=no
9642
+# Object file extension for compiled C++ test sources.
9644
+_LT_TAGVAR(objext, $1)=$objext
9647
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
9648
- _LT_TAGVAR(hardcode_minus_L, $1)=yes
9649
- _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
9650
- _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9651
- _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9653
+# No sense in running all these tests if we already determined that
9654
+# the CXX compiler isn't working. Some variables (like enable_shared)
9655
+# are currently assumed to apply to all compilers on this platform,
9656
+# and will be corrupted by setting them based on a non-working compiler.
9657
+if test "$_lt_caught_CXX_error" != yes; then
9658
+ # Code to be used in simple compile tests
9659
+ lt_simple_compile_test_code="int some_variable = 0;"
9662
- if test "$GCC" = yes; then
9663
- _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
9664
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9666
- _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
9667
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9669
- _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
9670
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
9671
- _LT_TAGVAR(hardcode_libdir_separator, $1)=:
9673
+ # Code to be used in simple link tests
9674
+ lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
9676
- osf4* | osf5*) # as osf3* with the addition of -msym flag
9677
- if test "$GCC" = yes; then
9678
- _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
9679
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9680
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
9682
- _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
9683
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9684
- _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9685
- $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9686
+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9689
- # Both c and cxx compiler support -rpath directly
9690
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
9692
- _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
9693
- _LT_TAGVAR(hardcode_libdir_separator, $1)=:
9695
+ # save warnings/boilerplate of simple test code
9696
+ _LT_COMPILER_BOILERPLATE
9697
+ _LT_LINKER_BOILERPLATE
9700
- _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
9701
- if test "$GCC" = yes; then
9703
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9704
- _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9705
- $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9707
- case `$CC -V 2>&1` in
9708
- *"Compilers 5.0"*)
9710
- _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9711
- _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9712
- $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9716
- _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9717
- _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9718
- $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9722
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
9723
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
9725
- solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
9727
- # The compiler driver will combine and reorder linker options,
9728
- # but understands `-z linker_flag'. GCC discards it without `$wl',
9729
- # but is careful enough not to reorder.
9730
- # Supported since Solaris 2.6 (maybe 2.5.1?)
9731
- if test "$GCC" = yes; then
9732
- _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9734
- _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
9738
- _LT_TAGVAR(link_all_deplibs, $1)=yes
9740
+ # Allow CC to be a program name with arguments.
9745
+ lt_save_with_gnu_ld=$with_gnu_ld
9746
+ lt_save_path_LD=$lt_cv_path_LD
9747
+ if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9748
+ lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9750
+ $as_unset lt_cv_prog_gnu_ld
9752
+ if test -n "${lt_cv_path_LDCXX+set}"; then
9753
+ lt_cv_path_LD=$lt_cv_path_LDCXX
9755
+ $as_unset lt_cv_path_LD
9757
+ test -z "${LDCXX+set}" || LD=$LDCXX
9760
+ _LT_TAGVAR(compiler, $1)=$CC
9761
+ _LT_CC_BASENAME([$compiler])
9763
+ if test -n "$compiler"; then
9764
+ # We don't want -fno-exception when compiling C++ code, so set the
9765
+ # no_builtin_flag separately
9766
+ if test "$GXX" = yes; then
9767
+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
9769
+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
9773
- if test "x$host_vendor" = xsequent; then
9774
- # Use $CC to link under sequent, because it throws in some extra .o
9775
- # files that make .init and .fini sections work.
9776
- _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9778
- _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9780
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
9781
- _LT_TAGVAR(hardcode_direct, $1)=yes
9782
- _LT_TAGVAR(hardcode_minus_L, $1)=yes
9783
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
9785
+ if test "$GXX" = yes; then
9786
+ # Set up default GNU C++ configuration
9789
- case $host_vendor in
9791
- _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9792
- _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
9795
- ## LD is ld it makes a PLAMLIB
9796
- ## CC just makes a GrossModule.
9797
- _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9798
- _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
9799
- _LT_TAGVAR(hardcode_direct, $1)=no
9802
- _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9803
- _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
9806
- runpath_var='LD_RUN_PATH'
9807
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
9812
- _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9813
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
9814
- _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
9816
+ # Check if GNU C++ uses GNU ld as the underlying linker, since the
9817
+ # archiving commands below assume that GNU ld is being used.
9818
+ if test "$with_gnu_ld" = yes; then
9819
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9820
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9823
- if test -d /usr/nec; then
9824
- _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9825
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
9826
- runpath_var=LD_RUN_PATH
9827
- hardcode_runpath_var=yes
9828
- _LT_TAGVAR(ld_shlibs, $1)=yes
9831
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
9832
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
9834
- sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
9835
- _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
9836
- _LT_TAGVAR(archive_cmds_need_lc, $1)=no
9837
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
9838
- runpath_var='LD_RUN_PATH'
9839
+ # If archive_cmds runs LD, not CC, wlarc should be empty
9840
+ # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9841
+ # investigate it a little bit more. (MM)
9844
- if test "$GCC" = yes; then
9845
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9846
- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9847
+ # ancient GNU ld didn't support --whole-archive et. al.
9848
+ if eval "`$CC -print-prog-name=ld` --help 2>&1" |
9849
+ $GREP 'no-whole-archive' > /dev/null; then
9850
+ _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9852
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
9855
- _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9856
- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9860
+ # A generic and very simple default shared library creation
9861
+ # command for GNU C++ for the case where it uses the native
9862
+ # linker, instead of GNU ld. If possible, this setting should
9863
+ # overridden to take advantage of the native linker features on
9864
+ # the platform it is being used on.
9865
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9869
- sysv5* | sco3.2v5* | sco5v6*)
9870
- # Note: We can NOT use -z defs as we might desire, because we do not
9871
- # link with -lc, and that would cause any symbols used from libc to
9872
- # always be unresolved, which means just about no library would
9873
- # ever link correctly. If we're not using GNU ld we use -z text
9874
- # though, which does catch some bad symbols but isn't as heavy-handed
9876
- _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
9877
- _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
9878
- _LT_TAGVAR(archive_cmds_need_lc, $1)=no
9879
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
9880
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
9881
- _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
9882
- _LT_TAGVAR(link_all_deplibs, $1)=yes
9883
- _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
9884
- runpath_var='LD_RUN_PATH'
9885
+ # Commands to make compiler produce verbose output that lists
9886
+ # what "hidden" libraries, object files and flags are used when
9887
+ # linking a shared library.
9888
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
9890
- if test "$GCC" = yes; then
9891
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9892
- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9894
- _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9895
- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9905
- _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9906
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
9907
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
9909
+ # PORTME: fill in a description of your system's C++ link characteristics
9910
+ AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
9911
+ _LT_TAGVAR(ld_shlibs, $1)=yes
9914
+ # FIXME: insert proper C++ library support
9915
+ _LT_TAGVAR(ld_shlibs, $1)=no
9918
+ if test "$host_cpu" = ia64; then
9919
+ # On IA64, the linker does run time linking by default, so we don't
9920
+ # have to do anything special.
9921
+ aix_use_runtimelinking=no
9922
+ exp_sym_flag='-Bexport'
9925
+ aix_use_runtimelinking=no
9928
- _LT_TAGVAR(ld_shlibs, $1)=no
9931
+ # Test if we are trying to use run time linking or normal
9932
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9933
+ # need to do runtime linking.
9934
+ case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
9935
+ for ld_flag in $LDFLAGS; do
9938
+ aix_use_runtimelinking=yes
9946
- if test x$host_vendor = xsni; then
9948
- sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9949
- _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
9955
-AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
9956
-test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
9957
+ exp_sym_flag='-bexport'
9958
+ no_entry_flag='-bnoentry'
9961
-_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
9962
+ # When large executables or shared objects are built, AIX ld can
9963
+ # have problems creating the table of contents. If linking a library
9964
+ # or program results in "error TOC overflow" add -mminimal-toc to
9965
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9966
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9968
-_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
9969
-_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
9970
-_LT_DECL([], [extract_expsyms_cmds], [2],
9971
- [The commands to extract the exported symbol list from a shared archive])
9972
+ _LT_TAGVAR(archive_cmds, $1)=''
9973
+ _LT_TAGVAR(hardcode_direct, $1)=yes
9974
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
9975
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
9976
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
9977
+ _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
9980
-# Do we need to explicitly link libc?
9982
-case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
9984
- # Assume -lc should be added
9985
- _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
9986
+ if test "$GXX" = yes; then
9987
+ case $host_os in aix4.[[012]]|aix4.[[012]].*)
9988
+ # We only want to do this on AIX 4.2 and lower, the check
9989
+ # below for broken collect2 doesn't work under 4.3+
9990
+ collect2name=`${CC} -print-prog-name=collect2`
9991
+ if test -f "$collect2name" &&
9992
+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9994
+ # We have reworked collect2
9997
+ # We have old collect2
9998
+ _LT_TAGVAR(hardcode_direct, $1)=unsupported
9999
+ # It fails to find uninstalled libraries when the uninstalled
10000
+ # path is not listed in the libpath. Setting hardcode_minus_L
10001
+ # to unsupported forces relinking
10002
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
10003
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
10004
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=
10007
+ shared_flag='-shared'
10008
+ if test "$aix_use_runtimelinking" = yes; then
10009
+ shared_flag="$shared_flag "'${wl}-G'
10013
+ if test "$host_cpu" = ia64; then
10014
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10015
+ # chokes on -Wl,-G. The following line is correct:
10018
+ if test "$aix_use_runtimelinking" = yes; then
10019
+ shared_flag='${wl}-G'
10021
+ shared_flag='${wl}-bM:SRE'
10026
- if test "$enable_shared" = yes && test "$GCC" = yes; then
10027
- case $_LT_TAGVAR(archive_cmds, $1) in
10029
- # FIXME: we may have to deal with multi-command sequences.
10032
- # Test whether the compiler implicitly links with -lc since on some
10033
- # systems, -lgcc has to come before -lc. If gcc already passes -lc
10034
- # to ld, don't add -lc before -lgcc.
10035
- AC_MSG_CHECKING([whether -lc should be explicitly linked in])
10037
- echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10038
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
10039
+ # It seems that -bexpall does not export symbols beginning with
10040
+ # underscore (_), so it is better to generate a list of symbols to
10042
+ _LT_TAGVAR(always_export_symbols, $1)=yes
10043
+ if test "$aix_use_runtimelinking" = yes; then
10044
+ # Warning - without using the other runtime loading flags (-brtl),
10045
+ # -berok will link without error, but may produce a broken library.
10046
+ _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
10047
+ # Determine the default libpath from the value encoded in an empty
10049
+ _LT_SYS_MODULE_PATH_AIX
10050
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
10052
- if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
10055
- libobjs=conftest.$ac_objext
10057
- wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
10058
- pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
10059
- compiler_flags=-v
10064
- lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
10065
- _LT_TAGVAR(allow_undefined_flag, $1)=
10066
- if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
10068
- _LT_TAGVAR(archive_cmds_need_lc, $1)=no
10069
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10071
- _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
10072
+ if test "$host_cpu" = ia64; then
10073
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
10074
+ _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
10075
+ _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10077
+ # Determine the default libpath from the value encoded in an
10078
+ # empty executable.
10079
+ _LT_SYS_MODULE_PATH_AIX
10080
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
10081
+ # Warning - without using the other run time loading flags,
10082
+ # -berok will link without error, but may produce a broken library.
10083
+ _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
10084
+ _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
10085
+ # Exported symbols can be pulled into shared objects from archives
10086
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
10087
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
10088
+ # This is similar to how AIX traditionally builds its shared
10090
+ _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10093
- _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
10095
- cat conftest.err 1>&5
10098
- AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
10106
-_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
10107
- [Whether or not to add -lc for building shared libraries])
10108
-_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
10109
- [enable_shared_with_static_runtimes], [0],
10110
- [Whether or not to disallow shared libs when runtime libs are static])
10111
-_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
10112
- [Compiler flag to allow reflexive dlopens])
10113
-_LT_TAGDECL([], [whole_archive_flag_spec], [1],
10114
- [Compiler flag to generate shared objects directly from archives])
10115
-_LT_TAGDECL([], [compiler_needs_object], [1],
10116
- [Whether the compiler copes with passing no objects directly])
10117
-_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
10118
- [Create an old-style archive from a shared archive])
10119
-_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
10120
- [Create a temporary old-style archive to link instead of a shared archive])
10121
-_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
10122
-_LT_TAGDECL([], [archive_expsym_cmds], [2])
10123
-_LT_TAGDECL([], [module_cmds], [2],
10124
- [Commands used to build a loadable module if different from building
10125
- a shared archive.])
10126
-_LT_TAGDECL([], [module_expsym_cmds], [2])
10127
-_LT_TAGDECL([], [with_gnu_ld], [1],
10128
- [Whether we are building with GNU ld or not])
10129
-_LT_TAGDECL([], [allow_undefined_flag], [1],
10130
- [Flag that allows shared libraries with undefined symbols to be built])
10131
-_LT_TAGDECL([], [no_undefined_flag], [1],
10132
- [Flag that enforces no undefined symbols])
10133
-_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
10134
- [Flag to hardcode $libdir into a binary during linking.
10135
- This must work even if $libdir does not exist])
10136
-_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
10137
- [[If ld is used when linking, flag to hardcode $libdir into a binary
10138
- during linking. This must work even if $libdir does not exist]])
10139
-_LT_TAGDECL([], [hardcode_libdir_separator], [1],
10140
- [Whether we need a single "-rpath" flag with a separated argument])
10141
-_LT_TAGDECL([], [hardcode_direct], [0],
10142
- [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
10143
- DIR into the resulting binary])
10144
-_LT_TAGDECL([], [hardcode_direct_absolute], [0],
10145
- [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
10146
- DIR into the resulting binary and the resulting library dependency is
10147
- "absolute", i.e impossible to change by setting ${shlibpath_var} if the
10148
- library is relocated])
10149
-_LT_TAGDECL([], [hardcode_minus_L], [0],
10150
- [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
10151
- into the resulting binary])
10152
-_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
10153
- [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
10154
- into the resulting binary])
10155
-_LT_TAGDECL([], [hardcode_automatic], [0],
10156
- [Set to "yes" if building a shared library automatically hardcodes DIR
10157
- into the library and all subsequent libraries and executables linked
10159
-_LT_TAGDECL([], [inherit_rpath], [0],
10160
- [Set to yes if linker adds runtime paths of dependent libraries
10161
- to runtime path list])
10162
-_LT_TAGDECL([], [link_all_deplibs], [0],
10163
- [Whether libtool must link a program against all its dependency libraries])
10164
-_LT_TAGDECL([], [fix_srcfile_path], [1],
10165
- [Fix the shell variable $srcfile for the compiler])
10166
-_LT_TAGDECL([], [always_export_symbols], [0],
10167
- [Set to "yes" if exported symbols are required])
10168
-_LT_TAGDECL([], [export_symbols_cmds], [2],
10169
- [The commands to list exported symbols])
10170
-_LT_TAGDECL([], [exclude_expsyms], [1],
10171
- [Symbols that should not be listed in the preloaded symbols])
10172
-_LT_TAGDECL([], [include_expsyms], [1],
10173
- [Symbols that must always be exported])
10174
-_LT_TAGDECL([], [prelink_cmds], [2],
10175
- [Commands necessary for linking programs (against libraries) with templates])
10176
-_LT_TAGDECL([], [file_list_spec], [1],
10177
- [Specify filename containing input files])
10178
-dnl FIXME: Not yet implemented
10179
-dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
10180
-dnl [Compiler flag to generate thread safe objects])
10181
-])# _LT_LINKER_SHLIBS
10183
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10184
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
10185
+ # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10186
+ # support --undefined. This deserves some investigation. FIXME
10187
+ _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10189
+ _LT_TAGVAR(ld_shlibs, $1)=no
10194
+ case $cc_basename in
10196
+ # FIXME: insert proper C++ library support
10197
+ _LT_TAGVAR(ld_shlibs, $1)=no
10202
-# _LT_LANG_C_CONFIG([TAG])
10203
-# ------------------------
10204
-# Ensure that the configuration variables for a C compiler are suitably
10205
-# defined. These variables are subsequently used by _LT_CONFIG to write
10206
-# the compiler configuration to `libtool'.
10207
-m4_defun([_LT_LANG_C_CONFIG],
10208
-[m4_require([_LT_DECL_EGREP])dnl
10211
+ cygwin* | mingw* | pw32* | cegcc*)
10212
+ # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
10213
+ # as there is no search path for DLLs.
10214
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
10215
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
10216
+ _LT_TAGVAR(always_export_symbols, $1)=no
10217
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
10219
-# Source file extension for C test sources.
10221
+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10222
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10223
+ # If the export-symbols file already is a .def file (1st line
10224
+ # is EXPORTS), use it as is; otherwise, prepend...
10225
+ _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10226
+ cp $export_symbols $output_objdir/$soname.def;
10228
+ echo EXPORTS > $output_objdir/$soname.def;
10229
+ cat $export_symbols >> $output_objdir/$soname.def;
10231
+ $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'
10233
+ _LT_TAGVAR(ld_shlibs, $1)=no
10236
+ darwin* | rhapsody*)
10237
+ _LT_DARWIN_LINKER_FEATURES($1)
10240
-# Object file extension for compiled C test sources.
10242
-_LT_TAGVAR(objext, $1)=$objext
10244
+ case $cc_basename in
10246
+ # FIXME: insert proper C++ library support
10247
+ _LT_TAGVAR(ld_shlibs, $1)=no
10250
+ # Green Hills C++ Compiler
10251
+ # FIXME: insert proper C++ library support
10252
+ _LT_TAGVAR(ld_shlibs, $1)=no
10255
+ # FIXME: insert proper C++ library support
10256
+ _LT_TAGVAR(ld_shlibs, $1)=no
10261
-# Code to be used in simple compile tests
10262
-lt_simple_compile_test_code="int some_variable = 0;"
10264
+ # C++ shared libraries reported to be fairly broken before
10266
+ _LT_TAGVAR(ld_shlibs, $1)=no
10269
-# Code to be used in simple link tests
10270
-lt_simple_link_test_code='int main(){return(0);}'
10272
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
10276
-# Save the default compiler, since it gets overwritten when the other
10277
-# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10278
-compiler_DEFAULT=$CC
10279
+ freebsd* | dragonfly*)
10280
+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10282
+ _LT_TAGVAR(ld_shlibs, $1)=yes
10285
-# save warnings/boilerplate of simple test code
10286
-_LT_COMPILER_BOILERPLATE
10287
-_LT_LINKER_BOILERPLATE
10291
-if test -n "$compiler"; then
10292
- _LT_COMPILER_NO_RTTI($1)
10293
- _LT_COMPILER_PIC($1)
10294
- _LT_COMPILER_C_O($1)
10295
- _LT_COMPILER_FILE_LOCKS($1)
10296
- _LT_LINKER_SHLIBS($1)
10297
- _LT_SYS_DYNAMIC_LINKER($1)
10298
- _LT_LINKER_HARDCODE_LIBPATH($1)
10299
- LT_SYS_DLOPEN_SELF
10302
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
10303
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
10304
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
10305
+ _LT_TAGVAR(hardcode_direct, $1)=yes
10306
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
10307
+ # but as the default
10308
+ # location of the library.
10310
+ case $cc_basename in
10312
+ # FIXME: insert proper C++ library support
10313
+ _LT_TAGVAR(ld_shlibs, $1)=no
10316
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10317
+ # Commands to make compiler produce verbose output that lists
10318
+ # what "hidden" libraries, object files and flags are used when
10319
+ # linking a shared library.
10321
+ # There doesn't appear to be a way to prevent this compiler from
10322
+ # explicitly linking system object files so we need to strip them
10323
+ # from the output so that they don't get included in the library
10325
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
10328
+ if test "$GXX" = yes; then
10329
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10331
+ # FIXME: insert proper C++ library support
10332
+ _LT_TAGVAR(ld_shlibs, $1)=no
10338
- # Report which library types will actually be built
10339
- AC_MSG_CHECKING([if libtool supports shared libraries])
10340
- AC_MSG_RESULT([$can_build_shared])
10342
+ if test $with_gnu_ld = no; then
10343
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
10344
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
10346
- AC_MSG_CHECKING([whether to build shared libraries])
10347
- test "$can_build_shared" = "no" && enable_shared=no
10348
+ case $host_cpu in
10352
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
10356
+ case $host_cpu in
10358
+ _LT_TAGVAR(hardcode_direct, $1)=no
10359
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
10362
+ _LT_TAGVAR(hardcode_direct, $1)=yes
10363
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
10364
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
10365
+ # but as the default
10366
+ # location of the library.
10370
- # On AIX, shared libraries and static libraries use the same namespace, and
10371
- # are all built from PIC.
10374
- test "$enable_shared" = yes && enable_static=no
10375
- if test -n "$RANLIB"; then
10376
- archive_cmds="$archive_cmds~\$RANLIB \$lib"
10377
- postinstall_cmds='$RANLIB $lib'
10380
+ case $cc_basename in
10382
+ # FIXME: insert proper C++ library support
10383
+ _LT_TAGVAR(ld_shlibs, $1)=no
10386
+ case $host_cpu in
10388
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10391
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10394
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10397
+ # Commands to make compiler produce verbose output that lists
10398
+ # what "hidden" libraries, object files and flags are used when
10399
+ # linking a shared library.
10401
+ # There doesn't appear to be a way to prevent this compiler from
10402
+ # explicitly linking system object files so we need to strip them
10403
+ # from the output so that they don't get included in the library
10405
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
10408
+ if test "$GXX" = yes; then
10409
+ if test $with_gnu_ld = no; then
10410
+ case $host_cpu in
10412
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10415
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10418
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10423
+ # FIXME: insert proper C++ library support
10424
+ _LT_TAGVAR(ld_shlibs, $1)=no
10431
- if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10432
- test "$enable_shared" = yes && enable_static=no
10436
- AC_MSG_RESULT([$enable_shared])
10438
+ _LT_TAGVAR(hardcode_direct, $1)=no
10439
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
10440
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
10441
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
10442
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10443
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
10444
+ # default) and relocated if they conflict, which is a slow very memory
10445
+ # consuming and fragmenting process. To avoid this, we pick a random,
10446
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10447
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10448
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10449
+ _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10452
+ case $cc_basename in
10455
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10457
- AC_MSG_CHECKING([whether to build static libraries])
10458
- # Make sure either enable_shared or enable_static is yes.
10459
- test "$enable_shared" = yes || enable_static=yes
10460
- AC_MSG_RESULT([$enable_static])
10461
+ # Archives containing C++ object files must be created using
10462
+ # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10463
+ # necessary to make sure instantiated templates are included
10464
+ # in the archive.
10465
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
10468
+ if test "$GXX" = yes; then
10469
+ if test "$with_gnu_ld" = no; then
10470
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10472
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
10475
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
10478
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
10479
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
10480
+ _LT_TAGVAR(inherit_rpath, $1)=yes
10487
-])# _LT_LANG_C_CONFIG
10488
+ linux* | k*bsd*-gnu | kopensolaris*-gnu)
10489
+ case $cc_basename in
10491
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
10493
+ # KCC will only create a shared library if the output file
10494
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
10495
+ # to its proper name (with version) after linking.
10496
+ _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
10497
+ _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
10498
+ # Commands to make compiler produce verbose output that lists
10499
+ # what "hidden" libraries, object files and flags are used when
10500
+ # linking a shared library.
10502
+ # There doesn't appear to be a way to prevent this compiler from
10503
+ # explicitly linking system object files so we need to strip them
10504
+ # from the output so that they don't get included in the library
10506
+ output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
10510
-# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
10511
-# compiler, we have our own version here.
10512
-m4_defun([_LT_PROG_CXX],
10514
-pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
10516
-if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10517
- ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10518
- (test "X$CXX" != "Xg++"))) ; then
10521
- _lt_caught_CXX_error=yes
10523
-popdef([AC_MSG_ERROR])
10525
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
10526
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
10528
-dnl aclocal-1.4 backwards compatibility:
10529
-dnl AC_DEFUN([_LT_PROG_CXX], [])
10530
+ # Archives containing C++ object files must be created using
10531
+ # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10532
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
10537
+ # version 8.0 and above of icpc choke on multiply defined symbols
10538
+ # if we add $predep_objects and $postdep_objects, however 7.1 and
10539
+ # earlier do not add the objects themselves.
10540
+ case `$CC -V 2>&1` in
10542
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10543
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10545
+ *) # Version 8.0 or newer
10547
+ case $host_cpu in
10548
+ ia64*) tmp_idyn=' -i_dynamic';;
10550
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10551
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10554
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
10555
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
10556
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
10557
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10560
+ # Portland Group C++ compiler
10562
+ *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
10563
+ _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
10565
+ $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
10566
+ compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
10567
+ _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
10569
+ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
10570
+ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
10572
+ _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
10574
+ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
10575
+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10576
+ _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
10578
+ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
10579
+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
10581
+ *) # Version 6 will use weak symbols
10582
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10583
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
10587
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
10588
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
10589
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
10593
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10594
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
10596
-# _LT_LANG_CXX_CONFIG([TAG])
10597
-# --------------------------
10598
-# Ensure that the configuration variables for a C++ compiler are suitably
10599
-# defined. These variables are subsequently used by _LT_CONFIG to write
10600
-# the compiler configuration to `libtool'.
10601
-m4_defun([_LT_LANG_CXX_CONFIG],
10602
-[AC_REQUIRE([_LT_PROG_CXX])dnl
10603
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
10604
-m4_require([_LT_DECL_EGREP])dnl
10605
+ runpath_var=LD_RUN_PATH
10606
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
10607
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
10610
-_LT_TAGVAR(archive_cmds_need_lc, $1)=no
10611
-_LT_TAGVAR(allow_undefined_flag, $1)=
10612
-_LT_TAGVAR(always_export_symbols, $1)=no
10613
-_LT_TAGVAR(archive_expsym_cmds, $1)=
10614
-_LT_TAGVAR(compiler_needs_object, $1)=no
10615
-_LT_TAGVAR(export_dynamic_flag_spec, $1)=
10616
-_LT_TAGVAR(hardcode_direct, $1)=no
10617
-_LT_TAGVAR(hardcode_direct_absolute, $1)=no
10618
-_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
10619
-_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
10620
-_LT_TAGVAR(hardcode_libdir_separator, $1)=
10621
-_LT_TAGVAR(hardcode_minus_L, $1)=no
10622
-_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
10623
-_LT_TAGVAR(hardcode_automatic, $1)=no
10624
-_LT_TAGVAR(inherit_rpath, $1)=no
10625
-_LT_TAGVAR(module_cmds, $1)=
10626
-_LT_TAGVAR(module_expsym_cmds, $1)=
10627
-_LT_TAGVAR(link_all_deplibs, $1)=unknown
10628
-_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
10629
-_LT_TAGVAR(no_undefined_flag, $1)=
10630
-_LT_TAGVAR(whole_archive_flag_spec, $1)=
10631
-_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
10632
+ # Commands to make compiler produce verbose output that lists
10633
+ # what "hidden" libraries, object files and flags are used when
10634
+ # linking a shared library.
10636
+ # There doesn't appear to be a way to prevent this compiler from
10637
+ # explicitly linking system object files so we need to strip them
10638
+ # from the output so that they don't get included in the library
10640
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
10643
+ # IBM XL 8.0 on PPC, with GNU ld
10644
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
10645
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
10646
+ _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10647
+ if test "x$supports_anon_versioning" = xyes; then
10648
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
10649
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10650
+ echo "local: *; };" >> $output_objdir/$libname.ver~
10651
+ $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10655
+ case `$CC -V 2>&1 | sed 5q` in
10658
+ _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
10659
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10660
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
10661
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
10662
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
10663
+ _LT_TAGVAR(compiler_needs_object, $1)=yes
10665
-# Source file extension for C++ test sources.
10667
+ # Not sure whether something based on
10668
+ # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
10669
+ # would be better.
10670
+ output_verbose_link_cmd='echo'
10672
-# Object file extension for compiled C++ test sources.
10674
-_LT_TAGVAR(objext, $1)=$objext
10675
+ # Archives containing C++ object files must be created using
10676
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
10677
+ # necessary to make sure instantiated templates are included
10678
+ # in the archive.
10679
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
10686
-# No sense in running all these tests if we already determined that
10687
-# the CXX compiler isn't working. Some variables (like enable_shared)
10688
-# are currently assumed to apply to all compilers on this platform,
10689
-# and will be corrupted by setting them based on a non-working compiler.
10690
-if test "$_lt_caught_CXX_error" != yes; then
10691
- # Code to be used in simple compile tests
10692
- lt_simple_compile_test_code="int some_variable = 0;"
10694
+ # FIXME: insert proper C++ library support
10695
+ _LT_TAGVAR(ld_shlibs, $1)=no
10698
- # Code to be used in simple link tests
10699
- lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
10701
+ # FIXME: insert proper C++ library support
10702
+ _LT_TAGVAR(ld_shlibs, $1)=no
10705
- # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10708
+ case $cc_basename in
10710
+ # FIXME: insert proper C++ library support
10711
+ _LT_TAGVAR(ld_shlibs, $1)=no
10714
+ # FIXME: insert proper C++ library support
10715
+ _LT_TAGVAR(ld_shlibs, $1)=no
10720
- # save warnings/boilerplate of simple test code
10721
- _LT_COMPILER_BOILERPLATE
10722
- _LT_LINKER_BOILERPLATE
10724
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10725
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10727
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
10728
+ _LT_TAGVAR(hardcode_direct, $1)=yes
10729
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
10731
+ # Workaround some broken pre-1.5 toolchains
10732
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10735
- # Allow CC to be a program name with arguments.
10740
- lt_save_with_gnu_ld=$with_gnu_ld
10741
- lt_save_path_LD=$lt_cv_path_LD
10742
- if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10743
- lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10745
- $as_unset lt_cv_prog_gnu_ld
10747
- if test -n "${lt_cv_path_LDCXX+set}"; then
10748
- lt_cv_path_LD=$lt_cv_path_LDCXX
10750
- $as_unset lt_cv_path_LD
10752
- test -z "${LDCXX+set}" || LD=$LDCXX
10755
- _LT_TAGVAR(compiler, $1)=$CC
10756
- _LT_CC_BASENAME([$compiler])
10758
+ _LT_TAGVAR(ld_shlibs, $1)=yes
10761
- if test -n "$compiler"; then
10762
- # We don't want -fno-exception when compiling C++ code, so set the
10763
- # no_builtin_flag separately
10764
- if test "$GXX" = yes; then
10765
- _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
10767
- _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
10770
+ # C++ shared libraries are fairly broken
10771
+ _LT_TAGVAR(ld_shlibs, $1)=no
10774
- if test "$GXX" = yes; then
10775
- # Set up default GNU C++ configuration
10777
+ if test -f /usr/libexec/ld.so; then
10778
+ _LT_TAGVAR(hardcode_direct, $1)=yes
10779
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
10780
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
10781
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10782
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
10783
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10784
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10785
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
10786
+ _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10788
+ output_verbose_link_cmd=echo
10790
+ _LT_TAGVAR(ld_shlibs, $1)=no
10795
+ osf3* | osf4* | osf5*)
10796
+ case $cc_basename in
10798
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
10800
- # Check if GNU C++ uses GNU ld as the underlying linker, since the
10801
- # archiving commands below assume that GNU ld is being used.
10802
- if test "$with_gnu_ld" = yes; then
10803
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10804
- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10805
+ # KCC will only create a shared library if the output file
10806
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
10807
+ # to its proper name (with version) after linking.
10808
+ _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
10810
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
10811
- _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
10812
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
10813
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
10815
- # If archive_cmds runs LD, not CC, wlarc should be empty
10816
- # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10817
- # investigate it a little bit more. (MM)
10819
+ # Archives containing C++ object files must be created using
10820
+ # the KAI C++ compiler.
10822
+ osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
10823
+ *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
10827
+ # Rational C++ 2.4.1
10828
+ # FIXME: insert proper C++ library support
10829
+ _LT_TAGVAR(ld_shlibs, $1)=no
10834
+ _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
10835
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10836
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
10839
+ _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
10840
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10841
+ _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10842
+ echo "-hidden">> $lib.exp~
10843
+ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
10845
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
10849
- # ancient GNU ld didn't support --whole-archive et. al.
10850
- if eval "`$CC -print-prog-name=ld` --help 2>&1" |
10851
- $GREP 'no-whole-archive' > /dev/null; then
10852
- _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10854
- _LT_TAGVAR(whole_archive_flag_spec, $1)=
10859
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
10861
- # A generic and very simple default shared library creation
10862
- # command for GNU C++ for the case where it uses the native
10863
- # linker, instead of GNU ld. If possible, this setting should
10864
- # overridden to take advantage of the native linker features on
10865
- # the platform it is being used on.
10866
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10868
+ # Commands to make compiler produce verbose output that lists
10869
+ # what "hidden" libraries, object files and flags are used when
10870
+ # linking a shared library.
10872
+ # There doesn't appear to be a way to prevent this compiler from
10873
+ # explicitly linking system object files so we need to strip them
10874
+ # from the output so that they don't get included in the library
10876
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
10879
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10880
+ _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
10883
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10886
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10890
- # Commands to make compiler produce verbose output that lists
10891
- # what "hidden" libraries, object files and flags are used when
10892
- # linking a shared library.
10893
- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
10894
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
10895
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
10902
+ # Commands to make compiler produce verbose output that lists
10903
+ # what "hidden" libraries, object files and flags are used when
10904
+ # linking a shared library.
10905
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
10907
- # PORTME: fill in a description of your system's C++ link characteristics
10908
- AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
10909
- _LT_TAGVAR(ld_shlibs, $1)=yes
10913
+ # FIXME: insert proper C++ library support
10914
+ _LT_TAGVAR(ld_shlibs, $1)=no
10921
# FIXME: insert proper C++ library support
10922
_LT_TAGVAR(ld_shlibs, $1)=no
10925
- if test "$host_cpu" = ia64; then
10926
- # On IA64, the linker does run time linking by default, so we don't
10927
- # have to do anything special.
10928
- aix_use_runtimelinking=no
10929
- exp_sym_flag='-Bexport'
10932
- aix_use_runtimelinking=no
10934
- # Test if we are trying to use run time linking or normal
10935
- # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10936
- # need to do runtime linking.
10937
- case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
10938
- for ld_flag in $LDFLAGS; do
10941
- aix_use_runtimelinking=yes
10947
+ case $cc_basename in
10950
+ # FIXME: insert proper C++ library support
10951
+ _LT_TAGVAR(ld_shlibs, $1)=no
10956
+ # FIXME: insert proper C++ library support
10957
+ _LT_TAGVAR(ld_shlibs, $1)=no
10960
+ # FIXME: insert proper C++ library support
10961
+ _LT_TAGVAR(ld_shlibs, $1)=no
10966
- exp_sym_flag='-bexport'
10967
- no_entry_flag='-bnoentry'
10970
+ case $cc_basename in
10972
+ # Sun C++ 4.2, 5.x and Centerline C++
10973
+ _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
10974
+ _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
10975
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10976
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10977
+ $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'
10979
- # When large executables or shared objects are built, AIX ld can
10980
- # have problems creating the table of contents. If linking a library
10981
- # or program results in "error TOC overflow" add -mminimal-toc to
10982
- # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10983
- # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10984
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
10985
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
10987
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
10989
+ # The compiler driver will combine and reorder linker options,
10990
+ # but understands `-z linker_flag'.
10991
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
10992
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
10995
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
10997
- _LT_TAGVAR(archive_cmds, $1)=''
10998
- _LT_TAGVAR(hardcode_direct, $1)=yes
10999
- _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
11000
- _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
11001
- _LT_TAGVAR(link_all_deplibs, $1)=yes
11002
- _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
11003
+ output_verbose_link_cmd='echo'
11005
- if test "$GXX" = yes; then
11006
- case $host_os in aix4.[[012]]|aix4.[[012]].*)
11007
- # We only want to do this on AIX 4.2 and lower, the check
11008
- # below for broken collect2 doesn't work under 4.3+
11009
- collect2name=`${CC} -print-prog-name=collect2`
11010
- if test -f "$collect2name" &&
11011
- strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11013
- # We have reworked collect2
11016
- # We have old collect2
11017
- _LT_TAGVAR(hardcode_direct, $1)=unsupported
11018
- # It fails to find uninstalled libraries when the uninstalled
11019
- # path is not listed in the libpath. Setting hardcode_minus_L
11020
- # to unsupported forces relinking
11021
- _LT_TAGVAR(hardcode_minus_L, $1)=yes
11022
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
11023
- _LT_TAGVAR(hardcode_libdir_separator, $1)=
11026
- shared_flag='-shared'
11027
- if test "$aix_use_runtimelinking" = yes; then
11028
- shared_flag="$shared_flag "'${wl}-G'
11032
- if test "$host_cpu" = ia64; then
11033
- # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11034
- # chokes on -Wl,-G. The following line is correct:
11037
- if test "$aix_use_runtimelinking" = yes; then
11038
- shared_flag='${wl}-G'
11040
- shared_flag='${wl}-bM:SRE'
11044
+ # Archives containing C++ object files must be created using
11045
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
11046
+ # necessary to make sure instantiated templates are included
11047
+ # in the archive.
11048
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
11051
+ # Green Hills C++ Compiler
11052
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11054
- _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
11055
- # It seems that -bexpall does not export symbols beginning with
11056
- # underscore (_), so it is better to generate a list of symbols to
11058
- _LT_TAGVAR(always_export_symbols, $1)=yes
11059
- if test "$aix_use_runtimelinking" = yes; then
11060
- # Warning - without using the other runtime loading flags (-brtl),
11061
- # -berok will link without error, but may produce a broken library.
11062
- _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
11063
- # Determine the default libpath from the value encoded in an empty
11065
- _LT_SYS_MODULE_PATH_AIX
11066
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
11067
+ # The C++ compiler must be used to create the archive.
11068
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11071
+ # GNU C++ compiler with Solaris linker
11072
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11073
+ _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
11074
+ if $CC --version | $GREP -v '^2\.7' > /dev/null; then
11075
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11076
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11077
+ $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11079
- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11081
- if test "$host_cpu" = ia64; then
11082
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
11083
- _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
11084
- _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11086
- # Determine the default libpath from the value encoded in an
11087
- # empty executable.
11088
- _LT_SYS_MODULE_PATH_AIX
11089
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
11090
- # Warning - without using the other run time loading flags,
11091
- # -berok will link without error, but may produce a broken library.
11092
- _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
11093
- _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
11094
- # Exported symbols can be pulled into shared objects from archives
11095
- _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
11096
- _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
11097
- # This is similar to how AIX traditionally builds its shared
11099
- _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11102
+ # Commands to make compiler produce verbose output that lists
11103
+ # what "hidden" libraries, object files and flags are used when
11104
+ # linking a shared library.
11105
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11107
+ # g++ 2.7 appears to require `-G' NOT `-shared' on this
11109
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11110
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11111
+ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11113
+ # Commands to make compiler produce verbose output that lists
11114
+ # what "hidden" libraries, object files and flags are used when
11115
+ # linking a shared library.
11116
+ output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11119
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
11121
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
11123
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11132
- if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11133
- _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
11134
- # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11135
- # support --undefined. This deserves some investigation. FIXME
11136
- _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11138
- _LT_TAGVAR(ld_shlibs, $1)=no
11141
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
11142
+ _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
11143
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
11144
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
11145
+ runpath_var='LD_RUN_PATH'
11148
- case $cc_basename in
11150
- # FIXME: insert proper C++ library support
11151
- _LT_TAGVAR(ld_shlibs, $1)=no
11152
+ case $cc_basename in
11154
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11155
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11160
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11161
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11166
- cygwin* | mingw* | pw32* | cegcc*)
11167
- # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
11168
- # as there is no search path for DLLs.
11169
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
11170
- _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
11171
- _LT_TAGVAR(always_export_symbols, $1)=no
11172
- _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
11173
+ sysv5* | sco3.2v5* | sco5v6*)
11174
+ # Note: We can NOT use -z defs as we might desire, because we do not
11175
+ # link with -lc, and that would cause any symbols used from libc to
11176
+ # always be unresolved, which means just about no library would
11177
+ # ever link correctly. If we're not using GNU ld we use -z text
11178
+ # though, which does catch some bad symbols but isn't as heavy-handed
11180
+ _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
11181
+ _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
11182
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
11183
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
11184
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
11185
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
11186
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
11187
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
11188
+ runpath_var='LD_RUN_PATH'
11190
- if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11191
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11192
- # If the export-symbols file already is a .def file (1st line
11193
- # is EXPORTS), use it as is; otherwise, prepend...
11194
- _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11195
- cp $export_symbols $output_objdir/$soname.def;
11197
- echo EXPORTS > $output_objdir/$soname.def;
11198
- cat $export_symbols >> $output_objdir/$soname.def;
11200
- $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'
11202
- _LT_TAGVAR(ld_shlibs, $1)=no
11205
- darwin* | rhapsody*)
11206
- _LT_DARWIN_LINKER_FEATURES($1)
11208
+ case $cc_basename in
11210
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11211
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11214
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11215
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11222
case $cc_basename in
11224
- # FIXME: insert proper C++ library support
11225
- _LT_TAGVAR(ld_shlibs, $1)=no
11228
- # Green Hills C++ Compiler
11230
+ # NonStop-UX NCC 3.20
11231
# FIXME: insert proper C++ library support
11232
_LT_TAGVAR(ld_shlibs, $1)=no
11234
@@ -6709,644 +6382,538 @@
11239
- # C++ shared libraries reported to be fairly broken before
11242
+ # FIXME: insert proper C++ library support
11243
_LT_TAGVAR(ld_shlibs, $1)=no
11247
- _LT_TAGVAR(archive_cmds_need_lc, $1)=no
11249
+ # FIXME: insert proper C++ library support
11250
+ _LT_TAGVAR(ld_shlibs, $1)=no
11254
+ AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
11255
+ test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
11257
+ _LT_TAGVAR(GCC, $1)="$GXX"
11258
+ _LT_TAGVAR(LD, $1)="$LD"
11260
+ ## CAVEAT EMPTOR:
11261
+ ## There is no encapsulation within the following macros, do not change
11262
+ ## the running order or otherwise move them around unless you know exactly
11263
+ ## what you are doing...
11264
+ _LT_SYS_HIDDEN_LIBDEPS($1)
11265
+ _LT_COMPILER_PIC($1)
11266
+ _LT_COMPILER_C_O($1)
11267
+ _LT_COMPILER_FILE_LOCKS($1)
11268
+ _LT_LINKER_SHLIBS($1)
11269
+ _LT_SYS_DYNAMIC_LINKER($1)
11270
+ _LT_LINKER_HARDCODE_LIBPATH($1)
11273
+ fi # test -n "$compiler"
11279
+ with_gnu_ld=$lt_save_with_gnu_ld
11280
+ lt_cv_path_LDCXX=$lt_cv_path_LD
11281
+ lt_cv_path_LD=$lt_save_path_LD
11282
+ lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
11283
+ lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
11284
+fi # test "$_lt_caught_CXX_error" != yes
11287
+])# _LT_LANG_CXX_CONFIG
11290
+# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
11291
+# ---------------------------------
11292
+# Figure out "hidden" library dependencies from verbose
11293
+# compiler output when linking a shared library.
11294
+# Parse the compiler output and extract the necessary
11295
+# objects, libraries and library flags.
11296
+m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
11297
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
11298
+# Dependencies to place before and after the object being linked:
11299
+_LT_TAGVAR(predep_objects, $1)=
11300
+_LT_TAGVAR(postdep_objects, $1)=
11301
+_LT_TAGVAR(predeps, $1)=
11302
+_LT_TAGVAR(postdeps, $1)=
11303
+_LT_TAGVAR(compiler_lib_search_path, $1)=
11305
+dnl we can't use the lt_simple_compile_test_code here,
11306
+dnl because it contains code intended for an executable,
11307
+dnl not a library. It's possible we should let each
11308
+dnl tag define a new lt_????_link_test_code variable,
11309
+dnl but it's only used here...
11310
+m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
11312
+void foo (void) { a = 0; }
11314
+], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
11318
+ Foo (void) { a = 0; }
11323
+], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
11331
+], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
11339
+], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
11340
+public class foo {
11342
+ public void bar (void) {
11348
+dnl Parse the compiler output and extract the necessary
11349
+dnl objects, libraries and library flags.
11350
+if AC_TRY_EVAL(ac_compile); then
11351
+ # Parse the compiler output and extract the necessary
11352
+ # objects, libraries and library flags.
11354
+ # Sentinel used to keep track of whether or not we are before
11355
+ # the conftest object file.
11356
+ pre_test_object_deps_done=no
11358
+ for p in `eval "$output_verbose_link_cmd"`; do
11362
+ # Some compilers place space between "-{L,R}" and the path.
11363
+ # Remove the space.
11364
+ if test $p = "-L" ||
11365
+ test $p = "-R"; then
11372
+ if test "$pre_test_object_deps_done" = no; then
11375
+ # Internal compiler library paths should come after those
11376
+ # provided the user. The postdeps already come after the
11377
+ # user supplied libs so there is no need to process them.
11378
+ if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
11379
+ _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
11381
+ _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
11384
+ # The "-l" case would never come before the object being
11385
+ # linked, so don't bother handling this case.
11388
+ if test -z "$_LT_TAGVAR(postdeps, $1)"; then
11389
+ _LT_TAGVAR(postdeps, $1)="${prev}${p}"
11391
+ _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
11396
- freebsd* | dragonfly*)
11397
- # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11399
- _LT_TAGVAR(ld_shlibs, $1)=yes
11402
+ # This assumes that the test object file only shows up
11403
+ # once in the compiler output.
11404
+ if test "$p" = "conftest.$objext"; then
11405
+ pre_test_object_deps_done=yes
11411
+ if test "$pre_test_object_deps_done" = no; then
11412
+ if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
11413
+ _LT_TAGVAR(predep_objects, $1)="$p"
11415
+ _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
11418
+ if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
11419
+ _LT_TAGVAR(postdep_objects, $1)="$p"
11421
+ _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
11427
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
11428
- _LT_TAGVAR(hardcode_libdir_separator, $1)=:
11429
- _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
11430
- _LT_TAGVAR(hardcode_direct, $1)=yes
11431
- _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
11432
- # but as the default
11433
- # location of the library.
11434
+ *) ;; # Ignore the rest.
11436
- case $cc_basename in
11438
- # FIXME: insert proper C++ library support
11439
- _LT_TAGVAR(ld_shlibs, $1)=no
11442
- _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11443
- # Commands to make compiler produce verbose output that lists
11444
- # what "hidden" libraries, object files and flags are used when
11445
- # linking a shared library.
11447
- # There doesn't appear to be a way to prevent this compiler from
11448
- # explicitly linking system object files so we need to strip them
11449
- # from the output so that they don't get included in the library
11451
- output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11454
- if test "$GXX" = yes; then
11455
- _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11457
- # FIXME: insert proper C++ library support
11458
- _LT_TAGVAR(ld_shlibs, $1)=no
11467
- if test $with_gnu_ld = no; then
11468
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
11469
- _LT_TAGVAR(hardcode_libdir_separator, $1)=:
11471
+ rm -f a.out a.exe
11473
+ echo "libtool.m4: error: problem compiling $1 test program"
11476
- case $host_cpu in
11480
- _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
11484
- case $host_cpu in
11486
- _LT_TAGVAR(hardcode_direct, $1)=no
11487
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
11490
- _LT_TAGVAR(hardcode_direct, $1)=yes
11491
- _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
11492
- _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
11493
- # but as the default
11494
- # location of the library.
11497
+$RM -f confest.$objext
11499
- case $cc_basename in
11501
- # FIXME: insert proper C++ library support
11502
- _LT_TAGVAR(ld_shlibs, $1)=no
11505
- case $host_cpu in
11507
- _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11510
- _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11513
- _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11516
- # Commands to make compiler produce verbose output that lists
11517
- # what "hidden" libraries, object files and flags are used when
11518
- # linking a shared library.
11520
- # There doesn't appear to be a way to prevent this compiler from
11521
- # explicitly linking system object files so we need to strip them
11522
- # from the output so that they don't get included in the library
11524
- output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11527
- if test "$GXX" = yes; then
11528
- if test $with_gnu_ld = no; then
11529
- case $host_cpu in
11531
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11534
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11537
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11542
- # FIXME: insert proper C++ library support
11543
- _LT_TAGVAR(ld_shlibs, $1)=no
11548
+# PORTME: override above test on systems where it is broken
11549
+m4_if([$1], [CXX],
11552
+ # Interix 3.5 installs completely hosed .la files for C++, so rather than
11553
+ # hack all around it, let's just trust "g++" to DTRT.
11554
+ _LT_TAGVAR(predep_objects,$1)=
11555
+ _LT_TAGVAR(postdep_objects,$1)=
11556
+ _LT_TAGVAR(postdeps,$1)=
11560
- _LT_TAGVAR(hardcode_direct, $1)=no
11561
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
11562
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
11563
- _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
11564
- # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11565
- # Instead, shared libraries are loaded at an image base (0x10000000 by
11566
- # default) and relocated if they conflict, which is a slow very memory
11567
- # consuming and fragmenting process. To avoid this, we pick a random,
11568
- # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11569
- # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11570
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11571
- _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11574
- case $cc_basename in
11577
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11579
+ case `$CC -V 2>&1 | sed 5q` in
11583
- # Archives containing C++ object files must be created using
11584
- # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11585
- # necessary to make sure instantiated templates are included
11586
- # in the archive.
11587
- _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
11590
- if test "$GXX" = yes; then
11591
- if test "$with_gnu_ld" = no; then
11592
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11594
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
11597
- _LT_TAGVAR(link_all_deplibs, $1)=yes
11600
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
11601
- _LT_TAGVAR(hardcode_libdir_separator, $1)=:
11602
- _LT_TAGVAR(inherit_rpath, $1)=yes
11604
+ # The more standards-conforming stlport4 library is
11605
+ # incompatible with the Cstd library. Avoid specifying
11606
+ # it if it's in CXXFLAGS. Ignore libCrun as
11607
+ # -library=stlport4 depends on it.
11608
+ case " $CXX $CXXFLAGS " in
11609
+ *" -library=stlport4 "*)
11610
+ solaris_use_stlport4=yes
11614
- linux* | k*bsd*-gnu)
11615
- case $cc_basename in
11617
- # Kuck and Associates, Inc. (KAI) C++ Compiler
11618
+ if test "$solaris_use_stlport4" != yes; then
11619
+ _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
11625
- # KCC will only create a shared library if the output file
11626
- # ends with ".so" (or ".sl" for HP-UX), so rename the library
11627
- # to its proper name (with version) after linking.
11628
- _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11629
- _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
11630
- # Commands to make compiler produce verbose output that lists
11631
- # what "hidden" libraries, object files and flags are used when
11632
- # linking a shared library.
11634
- # There doesn't appear to be a way to prevent this compiler from
11635
- # explicitly linking system object files so we need to strip them
11636
- # from the output so that they don't get included in the library
11638
- output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11640
+ case $cc_basename in
11642
+ # The more standards-conforming stlport4 library is
11643
+ # incompatible with the Cstd library. Avoid specifying
11644
+ # it if it's in CXXFLAGS. Ignore libCrun as
11645
+ # -library=stlport4 depends on it.
11646
+ case " $CXX $CXXFLAGS " in
11647
+ *" -library=stlport4 "*)
11648
+ solaris_use_stlport4=yes
11652
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
11653
- _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
11654
+ # Adding this requires a known-good setup of shared libraries for
11655
+ # Sun compiler versions before 5.6, else PIC objects from an old
11656
+ # archive will be linked into the output, leading to subtle bugs.
11657
+ if test "$solaris_use_stlport4" != yes; then
11658
+ _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
11666
- # Archives containing C++ object files must be created using
11667
- # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11668
- _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
11673
- # version 8.0 and above of icpc choke on multiply defined symbols
11674
- # if we add $predep_objects and $postdep_objects, however 7.1 and
11675
- # earlier do not add the objects themselves.
11676
- case `$CC -V 2>&1` in
11678
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11679
- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11681
- *) # Version 8.0 or newer
11683
- case $host_cpu in
11684
- ia64*) tmp_idyn=' -i_dynamic';;
11686
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11687
- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11690
- _LT_TAGVAR(archive_cmds_need_lc, $1)=no
11691
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
11692
- _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
11693
- _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11696
- # Portland Group C++ compiler
11698
- *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
11699
- _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
11701
- $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11702
- compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11703
- _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
11705
- $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11706
- $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11708
- _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
11710
- $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11711
- $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11712
- _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
11714
- $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11715
- $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11717
- *) # Version 6 will use weak symbols
11718
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11719
- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11722
+case " $_LT_TAGVAR(postdeps, $1) " in
11723
+*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
11725
+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=
11726
+if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
11727
+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
11729
+_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
11730
+ [The directories searched by this compiler when creating a shared library])
11731
+_LT_TAGDECL([], [predep_objects], [1],
11732
+ [Dependencies to place before and after the objects being linked to
11733
+ create a shared library])
11734
+_LT_TAGDECL([], [postdep_objects], [1])
11735
+_LT_TAGDECL([], [predeps], [1])
11736
+_LT_TAGDECL([], [postdeps], [1])
11737
+_LT_TAGDECL([], [compiler_lib_search_path], [1],
11738
+ [The library search path used internally by the compiler when linking
11739
+ a shared library])
11740
+])# _LT_SYS_HIDDEN_LIBDEPS
11742
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
11743
- _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
11744
- _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11748
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11749
- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
11751
- runpath_var=LD_RUN_PATH
11752
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
11753
- _LT_TAGVAR(hardcode_libdir_separator, $1)=:
11756
+# Since AC_PROG_F77 is broken, in that it returns the empty string
11757
+# if there is no fortran compiler, we have our own version here.
11758
+m4_defun([_LT_PROG_F77],
11760
+pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
11762
+if test -z "$F77" || test "X$F77" = "Xno"; then
11763
+ _lt_disable_F77=yes
11765
+popdef([AC_MSG_ERROR])
11768
- # Commands to make compiler produce verbose output that lists
11769
- # what "hidden" libraries, object files and flags are used when
11770
- # linking a shared library.
11772
- # There doesn't appear to be a way to prevent this compiler from
11773
- # explicitly linking system object files so we need to strip them
11774
- # from the output so that they don't get included in the library
11776
- output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11779
- # IBM XL 8.0 on PPC, with GNU ld
11780
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
11781
- _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
11782
- _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11783
- if test "x$supports_anon_versioning" = xyes; then
11784
- _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
11785
- cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11786
- echo "local: *; };" >> $output_objdir/$libname.ver~
11787
- $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11791
- case `$CC -V 2>&1 | sed 5q` in
11794
- _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
11795
- _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11796
- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
11797
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
11798
- _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11799
- _LT_TAGVAR(compiler_needs_object, $1)=yes
11800
+dnl aclocal-1.4 backwards compatibility:
11801
+dnl AC_DEFUN([_LT_PROG_F77], [])
11803
- # Not sure whether something based on
11804
- # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11805
- # would be better.
11806
- output_verbose_link_cmd='echo'
11808
- # Archives containing C++ object files must be created using
11809
- # "CC -xar", where "CC" is the Sun C++ compiler. This is
11810
- # necessary to make sure instantiated templates are included
11811
- # in the archive.
11812
- _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
11818
+# _LT_LANG_F77_CONFIG([TAG])
11819
+# --------------------------
11820
+# Ensure that the configuration variables for a Fortran 77 compiler are
11821
+# suitably defined. These variables are subsequently used by _LT_CONFIG
11822
+# to write the compiler configuration to `libtool'.
11823
+m4_defun([_LT_LANG_F77_CONFIG],
11824
+[AC_REQUIRE([_LT_PROG_F77])dnl
11825
+AC_LANG_PUSH(Fortran 77)
11828
- # FIXME: insert proper C++ library support
11829
- _LT_TAGVAR(ld_shlibs, $1)=no
11831
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
11832
+_LT_TAGVAR(allow_undefined_flag, $1)=
11833
+_LT_TAGVAR(always_export_symbols, $1)=no
11834
+_LT_TAGVAR(archive_expsym_cmds, $1)=
11835
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
11836
+_LT_TAGVAR(hardcode_direct, $1)=no
11837
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
11838
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
11839
+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
11840
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
11841
+_LT_TAGVAR(hardcode_minus_L, $1)=no
11842
+_LT_TAGVAR(hardcode_automatic, $1)=no
11843
+_LT_TAGVAR(inherit_rpath, $1)=no
11844
+_LT_TAGVAR(module_cmds, $1)=
11845
+_LT_TAGVAR(module_expsym_cmds, $1)=
11846
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
11847
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
11848
+_LT_TAGVAR(no_undefined_flag, $1)=
11849
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
11850
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
11853
- # FIXME: insert proper C++ library support
11854
- _LT_TAGVAR(ld_shlibs, $1)=no
11856
+# Source file extension for f77 test sources.
11860
- case $cc_basename in
11862
- # FIXME: insert proper C++ library support
11863
- _LT_TAGVAR(ld_shlibs, $1)=no
11866
- # FIXME: insert proper C++ library support
11867
- _LT_TAGVAR(ld_shlibs, $1)=no
11871
+# Object file extension for compiled f77 test sources.
11873
+_LT_TAGVAR(objext, $1)=$objext
11876
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11877
- _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11879
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
11880
- _LT_TAGVAR(hardcode_direct, $1)=yes
11881
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
11883
- # Workaround some broken pre-1.5 toolchains
11884
- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11886
+# No sense in running all these tests if we already determined that
11887
+# the F77 compiler isn't working. Some variables (like enable_shared)
11888
+# are currently assumed to apply to all compilers on this platform,
11889
+# and will be corrupted by setting them based on a non-working compiler.
11890
+if test "$_lt_disable_F77" != yes; then
11891
+ # Code to be used in simple compile tests
11892
+ lt_simple_compile_test_code="\
11899
- _LT_TAGVAR(ld_shlibs, $1)=yes
11901
+ # Code to be used in simple link tests
11902
+ lt_simple_link_test_code="\
11908
- # C++ shared libraries are fairly broken
11909
- _LT_TAGVAR(ld_shlibs, $1)=no
11911
+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11915
- if test -f /usr/libexec/ld.so; then
11916
- _LT_TAGVAR(hardcode_direct, $1)=yes
11917
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
11918
- _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
11919
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11920
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
11921
- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11922
- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11923
- _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
11924
- _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11926
- output_verbose_link_cmd=echo
11928
- _LT_TAGVAR(ld_shlibs, $1)=no
11931
+ # save warnings/boilerplate of simple test code
11932
+ _LT_COMPILER_BOILERPLATE
11933
+ _LT_LINKER_BOILERPLATE
11935
- osf3* | osf4* | osf5*)
11936
- case $cc_basename in
11938
- # Kuck and Associates, Inc. (KAI) C++ Compiler
11939
+ # Allow CC to be a program name with arguments.
11944
+ _LT_TAGVAR(compiler, $1)=$CC
11945
+ _LT_CC_BASENAME([$compiler])
11947
+ if test -n "$compiler"; then
11948
+ AC_MSG_CHECKING([if libtool supports shared libraries])
11949
+ AC_MSG_RESULT([$can_build_shared])
11951
- # KCC will only create a shared library if the output file
11952
- # ends with ".so" (or ".sl" for HP-UX), so rename the library
11953
- # to its proper name (with version) after linking.
11954
- _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11955
+ AC_MSG_CHECKING([whether to build shared libraries])
11956
+ test "$can_build_shared" = "no" && enable_shared=no
11958
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
11959
- _LT_TAGVAR(hardcode_libdir_separator, $1)=:
11960
+ # On AIX, shared libraries and static libraries use the same namespace, and
11961
+ # are all built from PIC.
11964
+ test "$enable_shared" = yes && enable_static=no
11965
+ if test -n "$RANLIB"; then
11966
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
11967
+ postinstall_cmds='$RANLIB $lib'
11971
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11972
+ test "$enable_shared" = yes && enable_static=no
11976
+ AC_MSG_RESULT([$enable_shared])
11978
- # Archives containing C++ object files must be created using
11979
- # the KAI C++ compiler.
11981
- osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
11982
- *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
11986
- # Rational C++ 2.4.1
11987
- # FIXME: insert proper C++ library support
11988
- _LT_TAGVAR(ld_shlibs, $1)=no
11993
- _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
11994
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11995
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
11998
- _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
11999
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12000
- _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12001
- echo "-hidden">> $lib.exp~
12002
- $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
12004
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
12007
+ AC_MSG_CHECKING([whether to build static libraries])
12008
+ # Make sure either enable_shared or enable_static is yes.
12009
+ test "$enable_shared" = yes || enable_static=yes
12010
+ AC_MSG_RESULT([$enable_static])
12012
- _LT_TAGVAR(hardcode_libdir_separator, $1)=:
12013
+ _LT_TAGVAR(GCC, $1)="$G77"
12014
+ _LT_TAGVAR(LD, $1)="$LD"
12016
- # Commands to make compiler produce verbose output that lists
12017
- # what "hidden" libraries, object files and flags are used when
12018
- # linking a shared library.
12020
- # There doesn't appear to be a way to prevent this compiler from
12021
- # explicitly linking system object files so we need to strip them
12022
- # from the output so that they don't get included in the library
12024
- output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12027
- if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12028
- _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
12031
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12034
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12037
+ ## CAVEAT EMPTOR:
12038
+ ## There is no encapsulation within the following macros, do not change
12039
+ ## the running order or otherwise move them around unless you know exactly
12040
+ ## what you are doing...
12041
+ _LT_COMPILER_PIC($1)
12042
+ _LT_COMPILER_C_O($1)
12043
+ _LT_COMPILER_FILE_LOCKS($1)
12044
+ _LT_LINKER_SHLIBS($1)
12045
+ _LT_SYS_DYNAMIC_LINKER($1)
12046
+ _LT_LINKER_HARDCODE_LIBPATH($1)
12048
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
12049
- _LT_TAGVAR(hardcode_libdir_separator, $1)=:
12051
+ fi # test -n "$compiler"
12053
- # Commands to make compiler produce verbose output that lists
12054
- # what "hidden" libraries, object files and flags are used when
12055
- # linking a shared library.
12056
- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12059
+fi # test "$_lt_disable_F77" != yes
12062
- # FIXME: insert proper C++ library support
12063
- _LT_TAGVAR(ld_shlibs, $1)=no
12069
+])# _LT_LANG_F77_CONFIG
12072
- # FIXME: insert proper C++ library support
12073
- _LT_TAGVAR(ld_shlibs, $1)=no
12077
- case $cc_basename in
12080
- # FIXME: insert proper C++ library support
12081
- _LT_TAGVAR(ld_shlibs, $1)=no
12085
- # FIXME: insert proper C++ library support
12086
- _LT_TAGVAR(ld_shlibs, $1)=no
12089
- # FIXME: insert proper C++ library support
12090
- _LT_TAGVAR(ld_shlibs, $1)=no
12096
+# Since AC_PROG_FC is broken, in that it returns the empty string
12097
+# if there is no fortran compiler, we have our own version here.
12098
+m4_defun([_LT_PROG_FC],
12100
+pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
12102
+if test -z "$FC" || test "X$FC" = "Xno"; then
12103
+ _lt_disable_FC=yes
12105
+popdef([AC_MSG_ERROR])
12109
- case $cc_basename in
12111
- # Sun C++ 4.2, 5.x and Centerline C++
12112
- _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
12113
- _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
12114
- _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12115
- _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12116
- $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'
12117
+dnl aclocal-1.4 backwards compatibility:
12118
+dnl AC_DEFUN([_LT_PROG_FC], [])
12120
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
12121
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
12123
- solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
12125
- # The compiler driver will combine and reorder linker options,
12126
- # but understands `-z linker_flag'.
12127
- # Supported since Solaris 2.6 (maybe 2.5.1?)
12128
- _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
12131
- _LT_TAGVAR(link_all_deplibs, $1)=yes
12133
- output_verbose_link_cmd='echo'
12134
+# _LT_LANG_FC_CONFIG([TAG])
12135
+# -------------------------
12136
+# Ensure that the configuration variables for a Fortran compiler are
12137
+# suitably defined. These variables are subsequently used by _LT_CONFIG
12138
+# to write the compiler configuration to `libtool'.
12139
+m4_defun([_LT_LANG_FC_CONFIG],
12140
+[AC_REQUIRE([_LT_PROG_FC])dnl
12141
+AC_LANG_PUSH(Fortran)
12143
- # Archives containing C++ object files must be created using
12144
- # "CC -xar", where "CC" is the Sun C++ compiler. This is
12145
- # necessary to make sure instantiated templates are included
12146
- # in the archive.
12147
- _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
12150
- # Green Hills C++ Compiler
12151
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12152
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
12153
+_LT_TAGVAR(allow_undefined_flag, $1)=
12154
+_LT_TAGVAR(always_export_symbols, $1)=no
12155
+_LT_TAGVAR(archive_expsym_cmds, $1)=
12156
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
12157
+_LT_TAGVAR(hardcode_direct, $1)=no
12158
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
12159
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
12160
+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
12161
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
12162
+_LT_TAGVAR(hardcode_minus_L, $1)=no
12163
+_LT_TAGVAR(hardcode_automatic, $1)=no
12164
+_LT_TAGVAR(inherit_rpath, $1)=no
12165
+_LT_TAGVAR(module_cmds, $1)=
12166
+_LT_TAGVAR(module_expsym_cmds, $1)=
12167
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
12168
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
12169
+_LT_TAGVAR(no_undefined_flag, $1)=
12170
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
12171
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
12173
- # The C++ compiler must be used to create the archive.
12174
- _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12177
- # GNU C++ compiler with Solaris linker
12178
- if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12179
- _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
12180
- if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12181
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12182
- _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12183
- $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12184
+# Source file extension for fc test sources.
12185
+ac_ext=${ac_fc_srcext-f}
12187
- # Commands to make compiler produce verbose output that lists
12188
- # what "hidden" libraries, object files and flags are used when
12189
- # linking a shared library.
12190
- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12192
- # g++ 2.7 appears to require `-G' NOT `-shared' on this
12194
- _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12195
- _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12196
- $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12197
+# Object file extension for compiled fc test sources.
12199
+_LT_TAGVAR(objext, $1)=$objext
12201
+# No sense in running all these tests if we already determined that
12202
+# the FC compiler isn't working. Some variables (like enable_shared)
12203
+# are currently assumed to apply to all compilers on this platform,
12204
+# and will be corrupted by setting them based on a non-working compiler.
12205
+if test "$_lt_disable_FC" != yes; then
12206
+ # Code to be used in simple compile tests
12207
+ lt_simple_compile_test_code="\
12213
- # Commands to make compiler produce verbose output that lists
12214
- # what "hidden" libraries, object files and flags are used when
12215
- # linking a shared library.
12216
- output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12218
+ # Code to be used in simple link tests
12219
+ lt_simple_link_test_code="\
12224
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
12226
- solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
12228
- _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12235
+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12238
- sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
12239
- _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
12240
- _LT_TAGVAR(archive_cmds_need_lc, $1)=no
12241
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
12242
- runpath_var='LD_RUN_PATH'
12243
+ # save warnings/boilerplate of simple test code
12244
+ _LT_COMPILER_BOILERPLATE
12245
+ _LT_LINKER_BOILERPLATE
12247
- case $cc_basename in
12249
- _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12250
- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12253
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12254
- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12258
+ # Allow CC to be a program name with arguments.
12263
+ GCC=$ac_cv_fc_compiler_gnu
12265
- sysv5* | sco3.2v5* | sco5v6*)
12266
- # Note: We can NOT use -z defs as we might desire, because we do not
12267
- # link with -lc, and that would cause any symbols used from libc to
12268
- # always be unresolved, which means just about no library would
12269
- # ever link correctly. If we're not using GNU ld we use -z text
12270
- # though, which does catch some bad symbols but isn't as heavy-handed
12272
- _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
12273
- _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
12274
- _LT_TAGVAR(archive_cmds_need_lc, $1)=no
12275
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
12276
- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
12277
- _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
12278
- _LT_TAGVAR(link_all_deplibs, $1)=yes
12279
- _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
12280
- runpath_var='LD_RUN_PATH'
12281
+ _LT_TAGVAR(compiler, $1)=$CC
12282
+ _LT_CC_BASENAME([$compiler])
12284
- case $cc_basename in
12286
- _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12287
- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12290
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12291
- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12295
+ if test -n "$compiler"; then
12296
+ AC_MSG_CHECKING([if libtool supports shared libraries])
12297
+ AC_MSG_RESULT([$can_build_shared])
12300
- case $cc_basename in
12302
- # NonStop-UX NCC 3.20
12303
- # FIXME: insert proper C++ library support
12304
- _LT_TAGVAR(ld_shlibs, $1)=no
12307
- # FIXME: insert proper C++ library support
12308
- _LT_TAGVAR(ld_shlibs, $1)=no
12312
+ AC_MSG_CHECKING([whether to build shared libraries])
12313
+ test "$can_build_shared" = "no" && enable_shared=no
12316
- # FIXME: insert proper C++ library support
12317
- _LT_TAGVAR(ld_shlibs, $1)=no
12318
+ # On AIX, shared libraries and static libraries use the same namespace, and
12319
+ # are all built from PIC.
12322
+ test "$enable_shared" = yes && enable_static=no
12323
+ if test -n "$RANLIB"; then
12324
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
12325
+ postinstall_cmds='$RANLIB $lib'
12330
- # FIXME: insert proper C++ library support
12331
- _LT_TAGVAR(ld_shlibs, $1)=no
12333
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12334
+ test "$enable_shared" = yes && enable_static=no
12338
+ AC_MSG_RESULT([$enable_shared])
12340
- AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
12341
- test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
12342
+ AC_MSG_CHECKING([whether to build static libraries])
12343
+ # Make sure either enable_shared or enable_static is yes.
12344
+ test "$enable_shared" = yes || enable_static=yes
12345
+ AC_MSG_RESULT([$enable_static])
12347
- _LT_TAGVAR(GCC, $1)="$GXX"
12348
+ _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
12349
_LT_TAGVAR(LD, $1)="$LD"
12352
@@ -7364,1793 +6931,2248 @@
12354
fi # test -n "$compiler"
12360
- with_gnu_ld=$lt_save_with_gnu_ld
12361
- lt_cv_path_LDCXX=$lt_cv_path_LD
12362
- lt_cv_path_LD=$lt_save_path_LD
12363
- lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12364
- lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12365
-fi # test "$_lt_caught_CXX_error" != yes
12367
+fi # test "$_lt_disable_FC" != yes
12370
-])# _LT_LANG_CXX_CONFIG
12371
+])# _LT_LANG_FC_CONFIG
12374
-# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
12375
-# ---------------------------------
12376
-# Figure out "hidden" library dependencies from verbose
12377
-# compiler output when linking a shared library.
12378
-# Parse the compiler output and extract the necessary
12379
-# objects, libraries and library flags.
12380
-m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
12381
-[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
12382
-# Dependencies to place before and after the object being linked:
12383
-_LT_TAGVAR(predep_objects, $1)=
12384
-_LT_TAGVAR(postdep_objects, $1)=
12385
-_LT_TAGVAR(predeps, $1)=
12386
-_LT_TAGVAR(postdeps, $1)=
12387
-_LT_TAGVAR(compiler_lib_search_path, $1)=
12388
+# _LT_LANG_GCJ_CONFIG([TAG])
12389
+# --------------------------
12390
+# Ensure that the configuration variables for the GNU Java Compiler compiler
12391
+# are suitably defined. These variables are subsequently used by _LT_CONFIG
12392
+# to write the compiler configuration to `libtool'.
12393
+m4_defun([_LT_LANG_GCJ_CONFIG],
12394
+[AC_REQUIRE([LT_PROG_GCJ])dnl
12397
-dnl we can't use the lt_simple_compile_test_code here,
12398
-dnl because it contains code intended for an executable,
12399
-dnl not a library. It's possible we should let each
12400
-dnl tag define a new lt_????_link_test_code variable,
12401
-dnl but it's only used here...
12402
-m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
12404
-void foo (void) { a = 0; }
12406
-], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
12410
- Foo (void) { a = 0; }
12415
-], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
12423
-], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
12431
-], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
12432
-public class foo {
12434
- public void bar (void) {
12440
-dnl Parse the compiler output and extract the necessary
12441
-dnl objects, libraries and library flags.
12442
-if AC_TRY_EVAL(ac_compile); then
12443
- # Parse the compiler output and extract the necessary
12444
- # objects, libraries and library flags.
12445
+# Source file extension for Java test sources.
12448
+# Object file extension for compiled Java test sources.
12450
+_LT_TAGVAR(objext, $1)=$objext
12452
+# Code to be used in simple compile tests
12453
+lt_simple_compile_test_code="class foo {}"
12455
+# Code to be used in simple link tests
12456
+lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
12458
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12461
+# save warnings/boilerplate of simple test code
12462
+_LT_COMPILER_BOILERPLATE
12463
+_LT_LINKER_BOILERPLATE
12465
+# Allow CC to be a program name with arguments.
12471
+_LT_TAGVAR(compiler, $1)=$CC
12472
+_LT_TAGVAR(LD, $1)="$LD"
12473
+_LT_CC_BASENAME([$compiler])
12475
+# GCJ did not exist at the time GCC didn't implicitly link libc in.
12476
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
12478
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
12480
+if test -n "$compiler"; then
12481
+ _LT_COMPILER_NO_RTTI($1)
12482
+ _LT_COMPILER_PIC($1)
12483
+ _LT_COMPILER_C_O($1)
12484
+ _LT_COMPILER_FILE_LOCKS($1)
12485
+ _LT_LINKER_SHLIBS($1)
12486
+ _LT_LINKER_HARDCODE_LIBPATH($1)
12491
- # Sentinel used to keep track of whether or not we are before
12492
- # the conftest object file.
12493
- pre_test_object_deps_done=no
12496
- for p in `eval "$output_verbose_link_cmd"`; do
12500
+])# _LT_LANG_GCJ_CONFIG
12503
- # Some compilers place space between "-{L,R}" and the path.
12504
- # Remove the space.
12505
- if test $p = "-L" ||
12506
- test $p = "-R"; then
12513
- if test "$pre_test_object_deps_done" = no; then
12516
- # Internal compiler library paths should come after those
12517
- # provided the user. The postdeps already come after the
12518
- # user supplied libs so there is no need to process them.
12519
- if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
12520
- _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
12522
- _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
12525
- # The "-l" case would never come before the object being
12526
- # linked, so don't bother handling this case.
12529
- if test -z "$_LT_TAGVAR(postdeps, $1)"; then
12530
- _LT_TAGVAR(postdeps, $1)="${prev}${p}"
12532
- _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
12536
+# _LT_LANG_RC_CONFIG([TAG])
12537
+# -------------------------
12538
+# Ensure that the configuration variables for the Windows resource compiler
12539
+# are suitably defined. These variables are subsequently used by _LT_CONFIG
12540
+# to write the compiler configuration to `libtool'.
12541
+m4_defun([_LT_LANG_RC_CONFIG],
12542
+[AC_REQUIRE([LT_PROG_RC])dnl
12546
- # This assumes that the test object file only shows up
12547
- # once in the compiler output.
12548
- if test "$p" = "conftest.$objext"; then
12549
- pre_test_object_deps_done=yes
12552
+# Source file extension for RC test sources.
12555
- if test "$pre_test_object_deps_done" = no; then
12556
- if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
12557
- _LT_TAGVAR(predep_objects, $1)="$p"
12559
- _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
12562
- if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
12563
- _LT_TAGVAR(postdep_objects, $1)="$p"
12565
- _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
12569
+# Object file extension for compiled RC test sources.
12571
+_LT_TAGVAR(objext, $1)=$objext
12573
- *) ;; # Ignore the rest.
12574
+# Code to be used in simple compile tests
12575
+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
12579
+# Code to be used in simple link tests
12580
+lt_simple_link_test_code="$lt_simple_compile_test_code"
12583
- rm -f a.out a.exe
12585
- echo "libtool.m4: error: problem compiling $1 test program"
12586
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12589
+# save warnings/boilerplate of simple test code
12590
+_LT_COMPILER_BOILERPLATE
12591
+_LT_LINKER_BOILERPLATE
12593
+# Allow CC to be a program name with arguments.
12597
+CC=${RC-"windres"}
12599
+_LT_TAGVAR(compiler, $1)=$CC
12600
+_LT_CC_BASENAME([$compiler])
12601
+_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
12603
+if test -n "$compiler"; then
12608
-$RM -f confest.$objext
12612
+])# _LT_LANG_RC_CONFIG
12614
-# PORTME: override above test on systems where it is broken
12615
-m4_if([$1], [CXX],
12618
- # Interix 3.5 installs completely hosed .la files for C++, so rather than
12619
- # hack all around it, let's just trust "g++" to DTRT.
12620
- _LT_TAGVAR(predep_objects,$1)=
12621
- _LT_TAGVAR(postdep_objects,$1)=
12622
- _LT_TAGVAR(postdeps,$1)=
12626
- case `$CC -V 2>&1 | sed 5q` in
12631
+AC_DEFUN([LT_PROG_GCJ],
12632
+[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
12633
+ [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
12634
+ [AC_CHECK_TOOL(GCJ, gcj,)
12635
+ test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
12636
+ AC_SUBST(GCJFLAGS)])])[]dnl
12639
- # The more standards-conforming stlport4 library is
12640
- # incompatible with the Cstd library. Avoid specifying
12641
- # it if it's in CXXFLAGS. Ignore libCrun as
12642
- # -library=stlport4 depends on it.
12643
- case " $CXX $CXXFLAGS " in
12644
- *" -library=stlport4 "*)
12645
- solaris_use_stlport4=yes
12649
+AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
12650
+dnl aclocal-1.4 backwards compatibility:
12651
+dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
12653
- if test "$solaris_use_stlport4" != yes; then
12654
- _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
12658
+AC_DEFUN([LT_PROG_RC],
12659
+[AC_CHECK_TOOL(RC, windres,)
12663
+AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
12664
+dnl aclocal-1.4 backwards compatibility:
12665
+dnl AC_DEFUN([LT_AC_PROG_RC], [])
12670
+# If we don't have a new enough Autoconf to choose the best grep
12671
+# available, choose the one first in the user's PATH.
12672
+m4_defun([_LT_DECL_EGREP],
12673
+[AC_REQUIRE([AC_PROG_EGREP])dnl
12674
+AC_REQUIRE([AC_PROG_FGREP])dnl
12675
+test -z "$GREP" && GREP=grep
12676
+_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
12677
+_LT_DECL([], [EGREP], [1], [An ERE matcher])
12678
+_LT_DECL([], [FGREP], [1], [A literal string matcher])
12679
+dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
12684
+# _LT_DECL_OBJDUMP
12686
+# If we don't have a new enough Autoconf to choose the best objdump
12687
+# available, choose the one first in the user's PATH.
12688
+m4_defun([_LT_DECL_OBJDUMP],
12689
+[AC_CHECK_TOOL(OBJDUMP, objdump, false)
12690
+test -z "$OBJDUMP" && OBJDUMP=objdump
12691
+_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
12692
+AC_SUBST([OBJDUMP])
12698
+# Check for a fully-functional sed program, that truncates
12699
+# as few characters as possible. Prefer GNU sed if found.
12700
+m4_defun([_LT_DECL_SED],
12702
+test -z "$SED" && SED=sed
12703
+Xsed="$SED -e 1s/^X//"
12704
+_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
12705
+_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
12706
+ [Sed that helps us avoid accidentally triggering echo(1) options like -n])
12709
+m4_ifndef([AC_PROG_SED], [
12710
+# NOTE: This macro has been submitted for inclusion into #
12711
+# GNU Autoconf as AC_PROG_SED. When it is available in #
12712
+# a released version of Autoconf we should remove this #
12713
+# macro and use it instead. #
12715
+m4_defun([AC_PROG_SED],
12716
+[AC_MSG_CHECKING([for a sed that does not truncate output])
12717
+AC_CACHE_VAL(lt_cv_path_SED,
12718
+[# Loop through the user's path and test for sed and gsed.
12719
+# Then use that list of sed's as ones to test for truncation.
12720
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12721
+for as_dir in $PATH
12724
+ test -z "$as_dir" && as_dir=.
12725
+ for lt_ac_prog in sed gsed; do
12726
+ for ac_exec_ext in '' $ac_executable_extensions; do
12727
+ if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
12728
+ lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
12736
+# Add /usr/xpg4/bin/sed as it is typically found on Solaris
12737
+# along with /bin/sed that truncates output.
12738
+for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
12739
+ test ! -f $lt_ac_sed && continue
12740
+ cat /dev/null > conftest.in
12742
+ echo $ECHO_N "0123456789$ECHO_C" >conftest.in
12743
+ # Check for GNU sed and select it if it is found.
12744
+ if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
12745
+ lt_cv_path_SED=$lt_ac_sed
12749
+ cat conftest.in conftest.in >conftest.tmp
12750
+ mv conftest.tmp conftest.in
12751
+ cp conftest.in conftest.nl
12752
+ echo >>conftest.nl
12753
+ $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
12754
+ cmp -s conftest.out conftest.nl || break
12755
+ # 10000 chars as input seems more than enough
12756
+ test $lt_ac_count -gt 10 && break
12757
+ lt_ac_count=`expr $lt_ac_count + 1`
12758
+ if test $lt_ac_count -gt $lt_ac_max; then
12759
+ lt_ac_max=$lt_ac_count
12760
+ lt_cv_path_SED=$lt_ac_sed
12768
+SED=$lt_cv_path_SED
12770
+AC_MSG_RESULT([$SED])
12775
- case $cc_basename in
12777
- # The more standards-conforming stlport4 library is
12778
- # incompatible with the Cstd library. Avoid specifying
12779
- # it if it's in CXXFLAGS. Ignore libCrun as
12780
- # -library=stlport4 depends on it.
12781
- case " $CXX $CXXFLAGS " in
12782
- *" -library=stlport4 "*)
12783
- solaris_use_stlport4=yes
12787
+AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
12788
+dnl aclocal-1.4 backwards compatibility:
12789
+dnl AC_DEFUN([LT_AC_PROG_SED], [])
12791
- # Adding this requires a known-good setup of shared libraries for
12792
- # Sun compiler versions before 5.6, else PIC objects from an old
12793
- # archive will be linked into the output, leading to subtle bugs.
12794
- if test "$solaris_use_stlport4" != yes; then
12795
- _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
12803
-case " $_LT_TAGVAR(postdeps, $1) " in
12804
-*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
12806
- _LT_TAGVAR(compiler_lib_search_dirs, $1)=
12807
-if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
12808
- _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12810
-_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
12811
- [The directories searched by this compiler when creating a shared library])
12812
-_LT_TAGDECL([], [predep_objects], [1],
12813
- [Dependencies to place before and after the objects being linked to
12814
- create a shared library])
12815
-_LT_TAGDECL([], [postdep_objects], [1])
12816
-_LT_TAGDECL([], [predeps], [1])
12817
-_LT_TAGDECL([], [postdeps], [1])
12818
-_LT_TAGDECL([], [compiler_lib_search_path], [1],
12819
- [The library search path used internally by the compiler when linking
12820
- a shared library])
12821
-])# _LT_SYS_HIDDEN_LIBDEPS
12822
+# _LT_CHECK_SHELL_FEATURES
12823
+# ------------------------
12824
+# Find out whether the shell is Bourne or XSI compatible,
12825
+# or has some other useful features.
12826
+m4_defun([_LT_CHECK_SHELL_FEATURES],
12827
+[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
12828
+# Try some XSI features
12830
+( _lt_dummy="a/b/c"
12831
+ test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
12833
+ && eval 'test $(( 1 + 1 )) -eq 2 \
12834
+ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
12836
+AC_MSG_RESULT([$xsi_shell])
12837
+_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
12839
+AC_MSG_CHECKING([whether the shell understands "+="])
12840
+lt_shell_append=no
12841
+( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
12842
+ >/dev/null 2>&1 \
12843
+ && lt_shell_append=yes
12844
+AC_MSG_RESULT([$lt_shell_append])
12845
+_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
12849
-# Since AC_PROG_F77 is broken, in that it returns the empty string
12850
-# if there is no fortran compiler, we have our own version here.
12851
-m4_defun([_LT_PROG_F77],
12853
-pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
12855
-if test -z "$F77" || test "X$F77" = "Xno"; then
12856
- _lt_disable_F77=yes
12857
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12862
-popdef([AC_MSG_ERROR])
12864
+_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
12866
-dnl aclocal-1.4 backwards compatibility:
12867
-dnl AC_DEFUN([_LT_PROG_F77], [])
12868
+# test EBCDIC or ASCII
12869
+case `echo X|tr X '\101'` in
12870
+ A) # ASCII based system
12871
+ # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
12872
+ lt_SP2NL='tr \040 \012'
12873
+ lt_NL2SP='tr \015\012 \040\040'
12875
+ *) # EBCDIC based system
12876
+ lt_SP2NL='tr \100 \n'
12877
+ lt_NL2SP='tr \r\n \100\100'
12880
+_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
12881
+_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
12882
+])# _LT_CHECK_SHELL_FEATURES
12885
-# _LT_LANG_F77_CONFIG([TAG])
12886
-# --------------------------
12887
-# Ensure that the configuration variables for a Fortran 77 compiler are
12888
-# suitably defined. These variables are subsequently used by _LT_CONFIG
12889
-# to write the compiler configuration to `libtool'.
12890
-m4_defun([_LT_LANG_F77_CONFIG],
12891
-[AC_REQUIRE([_LT_PROG_F77])dnl
12892
-AC_LANG_PUSH(Fortran 77)
12893
+# _LT_PROG_XSI_SHELLFNS
12894
+# ---------------------
12895
+# Bourne and XSI compatible variants of some useful shell functions.
12896
+m4_defun([_LT_PROG_XSI_SHELLFNS],
12897
+[case $xsi_shell in
12899
+ cat << \_LT_EOF >> "$cfgfile"
12901
-_LT_TAGVAR(archive_cmds_need_lc, $1)=no
12902
-_LT_TAGVAR(allow_undefined_flag, $1)=
12903
-_LT_TAGVAR(always_export_symbols, $1)=no
12904
-_LT_TAGVAR(archive_expsym_cmds, $1)=
12905
-_LT_TAGVAR(export_dynamic_flag_spec, $1)=
12906
-_LT_TAGVAR(hardcode_direct, $1)=no
12907
-_LT_TAGVAR(hardcode_direct_absolute, $1)=no
12908
-_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
12909
-_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
12910
-_LT_TAGVAR(hardcode_libdir_separator, $1)=
12911
-_LT_TAGVAR(hardcode_minus_L, $1)=no
12912
-_LT_TAGVAR(hardcode_automatic, $1)=no
12913
-_LT_TAGVAR(inherit_rpath, $1)=no
12914
-_LT_TAGVAR(module_cmds, $1)=
12915
-_LT_TAGVAR(module_expsym_cmds, $1)=
12916
-_LT_TAGVAR(link_all_deplibs, $1)=unknown
12917
-_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
12918
-_LT_TAGVAR(no_undefined_flag, $1)=
12919
-_LT_TAGVAR(whole_archive_flag_spec, $1)=
12920
-_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
12921
+# func_dirname file append nondir_replacement
12922
+# Compute the dirname of FILE. If nonempty, add APPEND to the result,
12923
+# otherwise set result to NONDIR_REPLACEMENT.
12927
+ */*) func_dirname_result="${1%/*}${2}" ;;
12928
+ * ) func_dirname_result="${3}" ;;
12932
-# Source file extension for f77 test sources.
12934
+# func_basename file
12937
+ func_basename_result="${1##*/}"
12940
-# Object file extension for compiled f77 test sources.
12942
-_LT_TAGVAR(objext, $1)=$objext
12943
+# func_dirname_and_basename file append nondir_replacement
12944
+# perform func_basename and func_dirname in a single function
12946
+# dirname: Compute the dirname of FILE. If nonempty,
12947
+# add APPEND to the result, otherwise set result
12948
+# to NONDIR_REPLACEMENT.
12949
+# value returned in "$func_dirname_result"
12950
+# basename: Compute filename of FILE.
12951
+# value retuned in "$func_basename_result"
12952
+# Implementation must be kept synchronized with func_dirname
12953
+# and func_basename. For efficiency, we do not delegate to
12954
+# those functions but instead duplicate the functionality here.
12955
+func_dirname_and_basename ()
12958
+ */*) func_dirname_result="${1%/*}${2}" ;;
12959
+ * ) func_dirname_result="${3}" ;;
12961
+ func_basename_result="${1##*/}"
12964
-# No sense in running all these tests if we already determined that
12965
-# the F77 compiler isn't working. Some variables (like enable_shared)
12966
-# are currently assumed to apply to all compilers on this platform,
12967
-# and will be corrupted by setting them based on a non-working compiler.
12968
-if test "$_lt_disable_F77" != yes; then
12969
- # Code to be used in simple compile tests
12970
- lt_simple_compile_test_code="\
12975
+# func_stripname prefix suffix name
12976
+# strip PREFIX and SUFFIX off of NAME.
12977
+# PREFIX and SUFFIX must not contain globbing or regex special
12978
+# characters, hashes, percent signs, but SUFFIX may contain a leading
12979
+# dot (in which case that matches only a dot).
12982
+ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
12983
+ # positional parameters, so assign one to ordinary parameter first.
12984
+ func_stripname_result=${3}
12985
+ func_stripname_result=${func_stripname_result#"${1}"}
12986
+ func_stripname_result=${func_stripname_result%"${2}"}
12989
- # Code to be used in simple link tests
12990
- lt_simple_link_test_code="\
12997
+ func_opt_split_opt=${1%%=*}
12998
+ func_opt_split_arg=${1#*=}
13001
- # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13003
+# func_lo2o object
13007
+ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13008
+ *) func_lo2o_result=${1} ;;
13012
- # save warnings/boilerplate of simple test code
13013
- _LT_COMPILER_BOILERPLATE
13014
- _LT_LINKER_BOILERPLATE
13015
+# func_xform libobj-or-source
13018
+ func_xform_result=${1%.*}.lo
13021
- # Allow CC to be a program name with arguments.
13026
- _LT_TAGVAR(compiler, $1)=$CC
13027
- _LT_CC_BASENAME([$compiler])
13029
- if test -n "$compiler"; then
13030
- AC_MSG_CHECKING([if libtool supports shared libraries])
13031
- AC_MSG_RESULT([$can_build_shared])
13032
+# func_arith arithmetic-term...
13035
+ func_arith_result=$(( $[*] ))
13038
- AC_MSG_CHECKING([whether to build shared libraries])
13039
- test "$can_build_shared" = "no" && enable_shared=no
13041
+# STRING may not start with a hyphen.
13044
+ func_len_result=${#1}
13047
- # On AIX, shared libraries and static libraries use the same namespace, and
13048
- # are all built from PIC.
13051
- test "$enable_shared" = yes && enable_static=no
13052
- if test -n "$RANLIB"; then
13053
- archive_cmds="$archive_cmds~\$RANLIB \$lib"
13054
- postinstall_cmds='$RANLIB $lib'
13058
- if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13059
- test "$enable_shared" = yes && enable_static=no
13063
- AC_MSG_RESULT([$enable_shared])
13066
+ *) # Bourne compatible functions.
13067
+ cat << \_LT_EOF >> "$cfgfile"
13069
- AC_MSG_CHECKING([whether to build static libraries])
13070
- # Make sure either enable_shared or enable_static is yes.
13071
- test "$enable_shared" = yes || enable_static=yes
13072
- AC_MSG_RESULT([$enable_static])
13073
+# func_dirname file append nondir_replacement
13074
+# Compute the dirname of FILE. If nonempty, add APPEND to the result,
13075
+# otherwise set result to NONDIR_REPLACEMENT.
13078
+ # Extract subdirectory from the argument.
13079
+ func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13080
+ if test "X$func_dirname_result" = "X${1}"; then
13081
+ func_dirname_result="${3}"
13083
+ func_dirname_result="$func_dirname_result${2}"
13087
- _LT_TAGVAR(GCC, $1)="$G77"
13088
- _LT_TAGVAR(LD, $1)="$LD"
13089
+# func_basename file
13092
+ func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
13095
- ## CAVEAT EMPTOR:
13096
- ## There is no encapsulation within the following macros, do not change
13097
- ## the running order or otherwise move them around unless you know exactly
13098
- ## what you are doing...
13099
- _LT_COMPILER_PIC($1)
13100
- _LT_COMPILER_C_O($1)
13101
- _LT_COMPILER_FILE_LOCKS($1)
13102
- _LT_LINKER_SHLIBS($1)
13103
- _LT_SYS_DYNAMIC_LINKER($1)
13104
- _LT_LINKER_HARDCODE_LIBPATH($1)
13105
+dnl func_dirname_and_basename
13106
+dnl A portable version of this function is already defined in general.m4sh
13107
+dnl so there is no need for it here.
13110
- fi # test -n "$compiler"
13111
+# func_stripname prefix suffix name
13112
+# strip PREFIX and SUFFIX off of NAME.
13113
+# PREFIX and SUFFIX must not contain globbing or regex special
13114
+# characters, hashes, percent signs, but SUFFIX may contain a leading
13115
+# dot (in which case that matches only a dot).
13116
+# func_strip_suffix prefix name
13120
+ .*) func_stripname_result=`$ECHO "X${3}" \
13121
+ | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13122
+ *) func_stripname_result=`$ECHO "X${3}" \
13123
+ | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13129
-fi # test "$_lt_disable_F77" != yes
13131
+my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
13132
+my_sed_long_arg='1s/^-[[^=]]*=//'
13135
-])# _LT_LANG_F77_CONFIG
13139
+ func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13140
+ func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13143
+# func_lo2o object
13146
+ func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13151
-# Since AC_PROG_FC is broken, in that it returns the empty string
13152
-# if there is no fortran compiler, we have our own version here.
13153
-m4_defun([_LT_PROG_FC],
13155
-pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
13157
-if test -z "$FC" || test "X$FC" = "Xno"; then
13158
- _lt_disable_FC=yes
13160
-popdef([AC_MSG_ERROR])
13162
+# func_xform libobj-or-source
13165
+ func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
13168
-dnl aclocal-1.4 backwards compatibility:
13169
-dnl AC_DEFUN([_LT_PROG_FC], [])
13170
+# func_arith arithmetic-term...
13173
+ func_arith_result=`expr "$[@]"`
13177
+# STRING may not start with a hyphen.
13180
+ func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
13183
-# _LT_LANG_FC_CONFIG([TAG])
13184
-# -------------------------
13185
-# Ensure that the configuration variables for a Fortran compiler are
13186
-# suitably defined. These variables are subsequently used by _LT_CONFIG
13187
-# to write the compiler configuration to `libtool'.
13188
-m4_defun([_LT_LANG_FC_CONFIG],
13189
-[AC_REQUIRE([_LT_PROG_FC])dnl
13190
-AC_LANG_PUSH(Fortran)
13194
-_LT_TAGVAR(archive_cmds_need_lc, $1)=no
13195
-_LT_TAGVAR(allow_undefined_flag, $1)=
13196
-_LT_TAGVAR(always_export_symbols, $1)=no
13197
-_LT_TAGVAR(archive_expsym_cmds, $1)=
13198
-_LT_TAGVAR(export_dynamic_flag_spec, $1)=
13199
-_LT_TAGVAR(hardcode_direct, $1)=no
13200
-_LT_TAGVAR(hardcode_direct_absolute, $1)=no
13201
-_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
13202
-_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
13203
-_LT_TAGVAR(hardcode_libdir_separator, $1)=
13204
-_LT_TAGVAR(hardcode_minus_L, $1)=no
13205
-_LT_TAGVAR(hardcode_automatic, $1)=no
13206
-_LT_TAGVAR(inherit_rpath, $1)=no
13207
-_LT_TAGVAR(module_cmds, $1)=
13208
-_LT_TAGVAR(module_expsym_cmds, $1)=
13209
-_LT_TAGVAR(link_all_deplibs, $1)=unknown
13210
-_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
13211
-_LT_TAGVAR(no_undefined_flag, $1)=
13212
-_LT_TAGVAR(whole_archive_flag_spec, $1)=
13213
-_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
13214
+case $lt_shell_append in
13216
+ cat << \_LT_EOF >> "$cfgfile"
13218
-# Source file extension for fc test sources.
13219
-ac_ext=${ac_fc_srcext-f}
13220
+# func_append var value
13221
+# Append VALUE to the end of shell variable VAR.
13224
+ eval "$[1]+=\$[2]"
13229
+ cat << \_LT_EOF >> "$cfgfile"
13231
-# Object file extension for compiled fc test sources.
13233
-_LT_TAGVAR(objext, $1)=$objext
13234
+# func_append var value
13235
+# Append VALUE to the end of shell variable VAR.
13238
+ eval "$[1]=\$$[1]\$[2]"
13241
-# No sense in running all these tests if we already determined that
13242
-# the FC compiler isn't working. Some variables (like enable_shared)
13243
-# are currently assumed to apply to all compilers on this platform,
13244
-# and will be corrupted by setting them based on a non-working compiler.
13245
-if test "$_lt_disable_FC" != yes; then
13246
- # Code to be used in simple compile tests
13247
- lt_simple_compile_test_code="\
13257
- # Code to be used in simple link tests
13258
- lt_simple_link_test_code="\
13262
+# Helper functions for option handling. -*- Autoconf -*-
13264
+# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
13265
+# Written by Gary V. Vaughan, 2004
13267
+# This file is free software; the Free Software Foundation gives
13268
+# unlimited permission to copy and/or distribute it, with or without
13269
+# modifications, as long as this notice is preserved.
13271
- # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13273
+# serial 6 ltoptions.m4
13275
- # save warnings/boilerplate of simple test code
13276
- _LT_COMPILER_BOILERPLATE
13277
- _LT_LINKER_BOILERPLATE
13278
+# This is to help aclocal find these macros, as it can't see m4_define.
13279
+AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
13281
- # Allow CC to be a program name with arguments.
13286
- GCC=$ac_cv_fc_compiler_gnu
13288
- _LT_TAGVAR(compiler, $1)=$CC
13289
- _LT_CC_BASENAME([$compiler])
13290
+# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
13291
+# ------------------------------------------
13292
+m4_define([_LT_MANGLE_OPTION],
13293
+[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
13295
- if test -n "$compiler"; then
13296
- AC_MSG_CHECKING([if libtool supports shared libraries])
13297
- AC_MSG_RESULT([$can_build_shared])
13299
- AC_MSG_CHECKING([whether to build shared libraries])
13300
- test "$can_build_shared" = "no" && enable_shared=no
13301
+# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
13302
+# ---------------------------------------
13303
+# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
13304
+# matching handler defined, dispatch to it. Other OPTION-NAMEs are
13305
+# saved as a flag.
13306
+m4_define([_LT_SET_OPTION],
13307
+[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
13308
+m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
13309
+ _LT_MANGLE_DEFUN([$1], [$2]),
13310
+ [m4_warning([Unknown $1 option `$2'])])[]dnl
13314
- # On AIX, shared libraries and static libraries use the same namespace, and
13315
- # are all built from PIC.
13318
- test "$enable_shared" = yes && enable_static=no
13319
- if test -n "$RANLIB"; then
13320
- archive_cmds="$archive_cmds~\$RANLIB \$lib"
13321
- postinstall_cmds='$RANLIB $lib'
13325
- if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13326
- test "$enable_shared" = yes && enable_static=no
13330
- AC_MSG_RESULT([$enable_shared])
13331
+# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
13332
+# ------------------------------------------------------------
13333
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
13334
+m4_define([_LT_IF_OPTION],
13335
+[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
13337
- AC_MSG_CHECKING([whether to build static libraries])
13338
- # Make sure either enable_shared or enable_static is yes.
13339
- test "$enable_shared" = yes || enable_static=yes
13340
- AC_MSG_RESULT([$enable_static])
13342
- _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
13343
- _LT_TAGVAR(LD, $1)="$LD"
13344
+# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
13345
+# -------------------------------------------------------
13346
+# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
13348
+m4_define([_LT_UNLESS_OPTIONS],
13349
+[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
13350
+ [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
13351
+ [m4_define([$0_found])])])[]dnl
13352
+m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
13356
- ## CAVEAT EMPTOR:
13357
- ## There is no encapsulation within the following macros, do not change
13358
- ## the running order or otherwise move them around unless you know exactly
13359
- ## what you are doing...
13360
- _LT_SYS_HIDDEN_LIBDEPS($1)
13361
- _LT_COMPILER_PIC($1)
13362
- _LT_COMPILER_C_O($1)
13363
- _LT_COMPILER_FILE_LOCKS($1)
13364
- _LT_LINKER_SHLIBS($1)
13365
- _LT_SYS_DYNAMIC_LINKER($1)
13366
- _LT_LINKER_HARDCODE_LIBPATH($1)
13369
- fi # test -n "$compiler"
13370
+# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
13371
+# ----------------------------------------
13372
+# OPTION-LIST is a space-separated list of Libtool options associated
13373
+# with MACRO-NAME. If any OPTION has a matching handler declared with
13374
+# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
13375
+# the unknown option and exit.
13376
+m4_defun([_LT_SET_OPTIONS],
13378
+m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
13379
+ [_LT_SET_OPTION([$1], _LT_Option)])
13383
-fi # test "$_lt_disable_FC" != yes
13384
+m4_if([$1],[LT_INIT],[
13386
+ dnl Simply set some default values (i.e off) if boolean options were not
13388
+ _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
13390
+ _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
13393
+ dnl If no reference was made to various pairs of opposing options, then
13394
+ dnl we run the default mode handler for the pair. For example, if neither
13395
+ dnl `shared' nor `disable-shared' was passed, we enable building of shared
13396
+ dnl archives by default:
13397
+ _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
13398
+ _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
13399
+ _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
13400
+ _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
13401
+ [_LT_ENABLE_FAST_INSTALL])
13403
+])# _LT_SET_OPTIONS
13406
-])# _LT_LANG_FC_CONFIG
13409
-# _LT_LANG_GCJ_CONFIG([TAG])
13410
-# --------------------------
13411
-# Ensure that the configuration variables for the GNU Java Compiler compiler
13412
-# are suitably defined. These variables are subsequently used by _LT_CONFIG
13413
-# to write the compiler configuration to `libtool'.
13414
-m4_defun([_LT_LANG_GCJ_CONFIG],
13415
-[AC_REQUIRE([LT_PROG_GCJ])dnl
13417
+# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
13418
+# -----------------------------------------
13419
+m4_define([_LT_MANGLE_DEFUN],
13420
+[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
13422
-# Source file extension for Java test sources.
13425
-# Object file extension for compiled Java test sources.
13427
-_LT_TAGVAR(objext, $1)=$objext
13428
+# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
13429
+# -----------------------------------------------
13430
+m4_define([LT_OPTION_DEFINE],
13431
+[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
13432
+])# LT_OPTION_DEFINE
13434
-# Code to be used in simple compile tests
13435
-lt_simple_compile_test_code="class foo {}"
13437
-# Code to be used in simple link tests
13438
-lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
13441
+LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
13444
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13446
+AU_DEFUN([AC_LIBTOOL_DLOPEN],
13447
+[_LT_SET_OPTION([LT_INIT], [dlopen])
13448
+AC_DIAGNOSE([obsolete],
13449
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
13450
+put the `dlopen' option into LT_INIT's first parameter.])
13453
-# save warnings/boilerplate of simple test code
13454
-_LT_COMPILER_BOILERPLATE
13455
-_LT_LINKER_BOILERPLATE
13456
+dnl aclocal-1.4 backwards compatibility:
13457
+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
13459
-# Allow CC to be a program name with arguments.
13465
-_LT_TAGVAR(compiler, $1)=$CC
13466
-_LT_TAGVAR(LD, $1)="$LD"
13467
-_LT_CC_BASENAME([$compiler])
13469
-# GCJ did not exist at the time GCC didn't implicitly link libc in.
13470
-_LT_TAGVAR(archive_cmds_need_lc, $1)=no
13473
+# Declare package support for building win32 dll's.
13474
+LT_OPTION_DEFINE([LT_INIT], [win32-dll],
13475
+[enable_win32_dll=yes
13477
-_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
13479
+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
13480
+ AC_CHECK_TOOL(AS, as, false)
13481
+ AC_CHECK_TOOL(DLLTOOL, dlltool, false)
13482
+ AC_CHECK_TOOL(OBJDUMP, objdump, false)
13486
-if test -n "$compiler"; then
13487
- _LT_COMPILER_NO_RTTI($1)
13488
- _LT_COMPILER_PIC($1)
13489
- _LT_COMPILER_C_O($1)
13490
- _LT_COMPILER_FILE_LOCKS($1)
13491
- _LT_LINKER_SHLIBS($1)
13492
- _LT_LINKER_HARDCODE_LIBPATH($1)
13493
+test -z "$AS" && AS=as
13494
+_LT_DECL([], [AS], [0], [Assembler program])dnl
13498
+test -z "$DLLTOOL" && DLLTOOL=dlltool
13499
+_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
13502
+test -z "$OBJDUMP" && OBJDUMP=objdump
13503
+_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
13508
-])# _LT_LANG_GCJ_CONFIG
13509
+AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
13510
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
13511
+_LT_SET_OPTION([LT_INIT], [win32-dll])
13512
+AC_DIAGNOSE([obsolete],
13513
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
13514
+put the `win32-dll' option into LT_INIT's first parameter.])
13517
+dnl aclocal-1.4 backwards compatibility:
13518
+dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
13520
-# _LT_LANG_RC_CONFIG([TAG])
13521
-# -------------------------
13522
-# Ensure that the configuration variables for the Windows resource compiler
13523
-# are suitably defined. These variables are subsequently used by _LT_CONFIG
13524
-# to write the compiler configuration to `libtool'.
13525
-m4_defun([_LT_LANG_RC_CONFIG],
13526
-[AC_REQUIRE([LT_PROG_RC])dnl
13529
-# Source file extension for RC test sources.
13531
+# _LT_ENABLE_SHARED([DEFAULT])
13532
+# ----------------------------
13533
+# implement the --enable-shared flag, and supports the `shared' and
13534
+# `disable-shared' LT_INIT options.
13535
+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
13536
+m4_define([_LT_ENABLE_SHARED],
13537
+[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
13538
+AC_ARG_ENABLE([shared],
13539
+ [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
13540
+ [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
13541
+ [p=${PACKAGE-default}
13542
+ case $enableval in
13543
+ yes) enable_shared=yes ;;
13544
+ no) enable_shared=no ;;
13547
+ # Look at the argument we got. We use all the common list separators.
13548
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
13549
+ for pkg in $enableval; do
13550
+ IFS="$lt_save_ifs"
13551
+ if test "X$pkg" = "X$p"; then
13552
+ enable_shared=yes
13555
+ IFS="$lt_save_ifs"
13558
+ [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
13560
-# Object file extension for compiled RC test sources.
13562
-_LT_TAGVAR(objext, $1)=$objext
13563
+ _LT_DECL([build_libtool_libs], [enable_shared], [0],
13564
+ [Whether or not to build shared libraries])
13565
+])# _LT_ENABLE_SHARED
13567
-# Code to be used in simple compile tests
13568
-lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
13569
+LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
13570
+LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
13572
-# Code to be used in simple link tests
13573
-lt_simple_link_test_code="$lt_simple_compile_test_code"
13575
+AC_DEFUN([AC_ENABLE_SHARED],
13576
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
13579
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13581
+AC_DEFUN([AC_DISABLE_SHARED],
13582
+[_LT_SET_OPTION([LT_INIT], [disable-shared])
13585
-# save warnings/boilerplate of simple test code
13586
-_LT_COMPILER_BOILERPLATE
13587
-_LT_LINKER_BOILERPLATE
13588
+AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
13589
+AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
13591
-# Allow CC to be a program name with arguments.
13595
-CC=${RC-"windres"}
13597
-_LT_TAGVAR(compiler, $1)=$CC
13598
-_LT_CC_BASENAME([$compiler])
13599
-_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
13600
+dnl aclocal-1.4 backwards compatibility:
13601
+dnl AC_DEFUN([AM_ENABLE_SHARED], [])
13602
+dnl AC_DEFUN([AM_DISABLE_SHARED], [])
13604
-if test -n "$compiler"; then
13612
-])# _LT_LANG_RC_CONFIG
13614
+# _LT_ENABLE_STATIC([DEFAULT])
13615
+# ----------------------------
13616
+# implement the --enable-static flag, and support the `static' and
13617
+# `disable-static' LT_INIT options.
13618
+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
13619
+m4_define([_LT_ENABLE_STATIC],
13620
+[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
13621
+AC_ARG_ENABLE([static],
13622
+ [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
13623
+ [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
13624
+ [p=${PACKAGE-default}
13625
+ case $enableval in
13626
+ yes) enable_static=yes ;;
13627
+ no) enable_static=no ;;
13630
+ # Look at the argument we got. We use all the common list separators.
13631
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
13632
+ for pkg in $enableval; do
13633
+ IFS="$lt_save_ifs"
13634
+ if test "X$pkg" = "X$p"; then
13635
+ enable_static=yes
13638
+ IFS="$lt_save_ifs"
13641
+ [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
13645
-AC_DEFUN([LT_PROG_GCJ],
13646
-[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
13647
- [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
13648
- [AC_CHECK_TOOL(GCJ, gcj,)
13649
- test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
13650
- AC_SUBST(GCJFLAGS)])])[]dnl
13652
+ _LT_DECL([build_old_libs], [enable_static], [0],
13653
+ [Whether or not to build static libraries])
13654
+])# _LT_ENABLE_STATIC
13657
-AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
13658
-dnl aclocal-1.4 backwards compatibility:
13659
-dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
13660
+LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
13661
+LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
13664
+AC_DEFUN([AC_ENABLE_STATIC],
13665
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
13670
-AC_DEFUN([LT_PROG_RC],
13671
-[AC_CHECK_TOOL(RC, windres,)
13672
+AC_DEFUN([AC_DISABLE_STATIC],
13673
+[_LT_SET_OPTION([LT_INIT], [disable-static])
13677
-AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
13678
-dnl aclocal-1.4 backwards compatibility:
13679
-dnl AC_DEFUN([LT_AC_PROG_RC], [])
13680
+AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
13681
+AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
13683
+dnl aclocal-1.4 backwards compatibility:
13684
+dnl AC_DEFUN([AM_ENABLE_STATIC], [])
13685
+dnl AC_DEFUN([AM_DISABLE_STATIC], [])
13689
-# If we don't have a new enough Autoconf to choose the best grep
13690
-# available, choose the one first in the user's PATH.
13691
-m4_defun([_LT_DECL_EGREP],
13692
-[AC_REQUIRE([AC_PROG_EGREP])dnl
13693
-AC_REQUIRE([AC_PROG_FGREP])dnl
13694
-test -z "$GREP" && GREP=grep
13695
-_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
13696
-_LT_DECL([], [EGREP], [1], [An ERE matcher])
13697
-_LT_DECL([], [FGREP], [1], [A literal string matcher])
13698
-dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
13703
-# _LT_DECL_OBJDUMP
13705
-# If we don't have a new enough Autoconf to choose the best objdump
13706
-# available, choose the one first in the user's PATH.
13707
-m4_defun([_LT_DECL_OBJDUMP],
13708
-[AC_CHECK_TOOL(OBJDUMP, objdump, false)
13709
-test -z "$OBJDUMP" && OBJDUMP=objdump
13710
-_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
13711
-AC_SUBST([OBJDUMP])
13713
+# _LT_ENABLE_FAST_INSTALL([DEFAULT])
13714
+# ----------------------------------
13715
+# implement the --enable-fast-install flag, and support the `fast-install'
13716
+# and `disable-fast-install' LT_INIT options.
13717
+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
13718
+m4_define([_LT_ENABLE_FAST_INSTALL],
13719
+[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
13720
+AC_ARG_ENABLE([fast-install],
13721
+ [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
13722
+ [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
13723
+ [p=${PACKAGE-default}
13724
+ case $enableval in
13725
+ yes) enable_fast_install=yes ;;
13726
+ no) enable_fast_install=no ;;
13728
+ enable_fast_install=no
13729
+ # Look at the argument we got. We use all the common list separators.
13730
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
13731
+ for pkg in $enableval; do
13732
+ IFS="$lt_save_ifs"
13733
+ if test "X$pkg" = "X$p"; then
13734
+ enable_fast_install=yes
13737
+ IFS="$lt_save_ifs"
13740
+ [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
13742
+_LT_DECL([fast_install], [enable_fast_install], [0],
13743
+ [Whether or not to optimize for fast installation])dnl
13744
+])# _LT_ENABLE_FAST_INSTALL
13748
-# Check for a fully-functional sed program, that truncates
13749
-# as few characters as possible. Prefer GNU sed if found.
13750
-m4_defun([_LT_DECL_SED],
13752
-test -z "$SED" && SED=sed
13753
-Xsed="$SED -e 1s/^X//"
13754
-_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
13755
-_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
13756
- [Sed that helps us avoid accidentally triggering echo(1) options like -n])
13758
+LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
13759
+LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
13761
-m4_ifndef([AC_PROG_SED], [
13762
-# NOTE: This macro has been submitted for inclusion into #
13763
-# GNU Autoconf as AC_PROG_SED. When it is available in #
13764
-# a released version of Autoconf we should remove this #
13765
-# macro and use it instead. #
13767
+AU_DEFUN([AC_ENABLE_FAST_INSTALL],
13768
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
13769
+AC_DIAGNOSE([obsolete],
13770
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
13771
+the `fast-install' option into LT_INIT's first parameter.])
13774
-m4_defun([AC_PROG_SED],
13775
-[AC_MSG_CHECKING([for a sed that does not truncate output])
13776
-AC_CACHE_VAL(lt_cv_path_SED,
13777
-[# Loop through the user's path and test for sed and gsed.
13778
-# Then use that list of sed's as ones to test for truncation.
13779
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13780
-for as_dir in $PATH
13783
- test -z "$as_dir" && as_dir=.
13784
- for lt_ac_prog in sed gsed; do
13785
- for ac_exec_ext in '' $ac_executable_extensions; do
13786
- if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
13787
- lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
13795
-# Add /usr/xpg4/bin/sed as it is typically found on Solaris
13796
-# along with /bin/sed that truncates output.
13797
-for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
13798
- test ! -f $lt_ac_sed && continue
13799
- cat /dev/null > conftest.in
13801
- echo $ECHO_N "0123456789$ECHO_C" >conftest.in
13802
- # Check for GNU sed and select it if it is found.
13803
- if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
13804
- lt_cv_path_SED=$lt_ac_sed
13808
- cat conftest.in conftest.in >conftest.tmp
13809
- mv conftest.tmp conftest.in
13810
- cp conftest.in conftest.nl
13811
- echo >>conftest.nl
13812
- $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
13813
- cmp -s conftest.out conftest.nl || break
13814
- # 10000 chars as input seems more than enough
13815
- test $lt_ac_count -gt 10 && break
13816
- lt_ac_count=`expr $lt_ac_count + 1`
13817
- if test $lt_ac_count -gt $lt_ac_max; then
13818
- lt_ac_max=$lt_ac_count
13819
- lt_cv_path_SED=$lt_ac_sed
13823
+AU_DEFUN([AC_DISABLE_FAST_INSTALL],
13824
+[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
13825
+AC_DIAGNOSE([obsolete],
13826
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
13827
+the `disable-fast-install' option into LT_INIT's first parameter.])
13829
-SED=$lt_cv_path_SED
13831
-AC_MSG_RESULT([$SED])
13836
-AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
13837
dnl aclocal-1.4 backwards compatibility:
13838
-dnl AC_DEFUN([LT_AC_PROG_SED], [])
13840
+dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
13841
+dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
13843
-# _LT_CHECK_SHELL_FEATURES
13844
-# ------------------------
13845
-# Find out whether the shell is Bourne or XSI compatible,
13846
-# or has some other useful features.
13847
-m4_defun([_LT_CHECK_SHELL_FEATURES],
13848
-[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
13849
-# Try some XSI features
13851
-( _lt_dummy="a/b/c"
13852
- test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
13854
- && eval 'test $(( 1 + 1 )) -eq 2 \
13855
- && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
13857
-AC_MSG_RESULT([$xsi_shell])
13858
-_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
13860
-AC_MSG_CHECKING([whether the shell understands "+="])
13861
-lt_shell_append=no
13862
-( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
13863
- >/dev/null 2>&1 \
13864
- && lt_shell_append=yes
13865
-AC_MSG_RESULT([$lt_shell_append])
13866
-_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
13867
+# _LT_WITH_PIC([MODE])
13868
+# --------------------
13869
+# implement the --with-pic flag, and support the `pic-only' and `no-pic'
13870
+# LT_INIT options.
13871
+# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
13872
+m4_define([_LT_WITH_PIC],
13873
+[AC_ARG_WITH([pic],
13874
+ [AS_HELP_STRING([--with-pic],
13875
+ [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
13876
+ [pic_mode="$withval"],
13877
+ [pic_mode=default])
13879
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13884
-_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
13885
+test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
13887
-# test EBCDIC or ASCII
13888
-case `echo X|tr X '\101'` in
13889
- A) # ASCII based system
13890
- # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
13891
- lt_SP2NL='tr \040 \012'
13892
- lt_NL2SP='tr \015\012 \040\040'
13894
- *) # EBCDIC based system
13895
- lt_SP2NL='tr \100 \n'
13896
- lt_NL2SP='tr \r\n \100\100'
13899
-_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
13900
-_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
13901
-])# _LT_CHECK_SHELL_FEATURES
13902
+_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
13905
+LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
13906
+LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
13908
-# _LT_PROG_XSI_SHELLFNS
13909
-# ---------------------
13910
-# Bourne and XSI compatible variants of some useful shell functions.
13911
-m4_defun([_LT_PROG_XSI_SHELLFNS],
13912
-[case $xsi_shell in
13914
- cat << \_LT_EOF >> "$cfgfile"
13916
+AU_DEFUN([AC_LIBTOOL_PICMODE],
13917
+[_LT_SET_OPTION([LT_INIT], [pic-only])
13918
+AC_DIAGNOSE([obsolete],
13919
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
13920
+put the `pic-only' option into LT_INIT's first parameter.])
13923
-# func_dirname file append nondir_replacement
13924
-# Compute the dirname of FILE. If nonempty, add APPEND to the result,
13925
-# otherwise set result to NONDIR_REPLACEMENT.
13929
- */*) func_dirname_result="${1%/*}${2}" ;;
13930
- * ) func_dirname_result="${3}" ;;
13933
+dnl aclocal-1.4 backwards compatibility:
13934
+dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
13936
-# func_basename file
13939
- func_basename_result="${1##*/}"
13942
-# func_dirname_and_basename file append nondir_replacement
13943
-# perform func_basename and func_dirname in a single function
13945
-# dirname: Compute the dirname of FILE. If nonempty,
13946
-# add APPEND to the result, otherwise set result
13947
-# to NONDIR_REPLACEMENT.
13948
-# value returned in "$func_dirname_result"
13949
-# basename: Compute filename of FILE.
13950
-# value retuned in "$func_basename_result"
13951
-# Implementation must be kept synchronized with func_dirname
13952
-# and func_basename. For efficiency, we do not delegate to
13953
-# those functions but instead duplicate the functionality here.
13954
-func_dirname_and_basename ()
13957
- */*) func_dirname_result="${1%/*}${2}" ;;
13958
- * ) func_dirname_result="${3}" ;;
13960
- func_basename_result="${1##*/}"
13962
+m4_define([_LTDL_MODE], [])
13963
+LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
13964
+ [m4_define([_LTDL_MODE], [nonrecursive])])
13965
+LT_OPTION_DEFINE([LTDL_INIT], [recursive],
13966
+ [m4_define([_LTDL_MODE], [recursive])])
13967
+LT_OPTION_DEFINE([LTDL_INIT], [subproject],
13968
+ [m4_define([_LTDL_MODE], [subproject])])
13970
-# func_stripname prefix suffix name
13971
-# strip PREFIX and SUFFIX off of NAME.
13972
-# PREFIX and SUFFIX must not contain globbing or regex special
13973
-# characters, hashes, percent signs, but SUFFIX may contain a leading
13974
-# dot (in which case that matches only a dot).
13977
- # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13978
- # positional parameters, so assign one to ordinary parameter first.
13979
- func_stripname_result=${3}
13980
- func_stripname_result=${func_stripname_result#"${1}"}
13981
- func_stripname_result=${func_stripname_result%"${2}"}
13983
+m4_define([_LTDL_TYPE], [])
13984
+LT_OPTION_DEFINE([LTDL_INIT], [installable],
13985
+ [m4_define([_LTDL_TYPE], [installable])])
13986
+LT_OPTION_DEFINE([LTDL_INIT], [convenience],
13987
+ [m4_define([_LTDL_TYPE], [convenience])])
13992
- func_opt_split_opt=${1%%=*}
13993
- func_opt_split_arg=${1#*=}
13995
+# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
13997
+# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
13998
+# Written by Gary V. Vaughan, 2004
14000
+# This file is free software; the Free Software Foundation gives
14001
+# unlimited permission to copy and/or distribute it, with or without
14002
+# modifications, as long as this notice is preserved.
14004
-# func_lo2o object
14008
- *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14009
- *) func_lo2o_result=${1} ;;
14012
+# serial 6 ltsugar.m4
14014
-# func_xform libobj-or-source
14017
- func_xform_result=${1%.*}.lo
14019
+# This is to help aclocal find these macros, as it can't see m4_define.
14020
+AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
14022
-# func_arith arithmetic-term...
14025
- func_arith_result=$(( $[*] ))
14029
-# STRING may not start with a hyphen.
14032
- func_len_result=${#1}
14034
+# lt_join(SEP, ARG1, [ARG2...])
14035
+# -----------------------------
14036
+# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
14037
+# associated separator.
14038
+# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
14039
+# versions in m4sugar had bugs.
14040
+m4_define([lt_join],
14041
+[m4_if([$#], [1], [],
14042
+ [$#], [2], [[$2]],
14043
+ [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
14044
+m4_define([_lt_join],
14045
+[m4_if([$#$2], [2], [],
14046
+ [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
14050
- *) # Bourne compatible functions.
14051
- cat << \_LT_EOF >> "$cfgfile"
14053
-# func_dirname file append nondir_replacement
14054
-# Compute the dirname of FILE. If nonempty, add APPEND to the result,
14055
-# otherwise set result to NONDIR_REPLACEMENT.
14058
- # Extract subdirectory from the argument.
14059
- func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14060
- if test "X$func_dirname_result" = "X${1}"; then
14061
- func_dirname_result="${3}"
14063
- func_dirname_result="$func_dirname_result${2}"
14069
+# Manipulate m4 lists.
14070
+# These macros are necessary as long as will still need to support
14071
+# Autoconf-2.59 which quotes differently.
14072
+m4_define([lt_car], [[$1]])
14073
+m4_define([lt_cdr],
14074
+[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
14076
+ [m4_dquote(m4_shift($@))])])
14077
+m4_define([lt_unquote], $1)
14079
-# func_basename file
14082
- func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14085
-dnl func_dirname_and_basename
14086
-dnl A portable version of this function is already defined in general.m4sh
14087
-dnl so there is no need for it here.
14088
+# lt_append(MACRO-NAME, STRING, [SEPARATOR])
14089
+# ------------------------------------------
14090
+# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
14091
+# Note that neither SEPARATOR nor STRING are expanded; they are appended
14092
+# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
14093
+# No SEPARATOR is output if MACRO-NAME was previously undefined (different
14094
+# than defined and empty).
14096
+# This macro is needed until we can rely on Autoconf 2.62, since earlier
14097
+# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
14098
+m4_define([lt_append],
14100
+ m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
14102
-# func_stripname prefix suffix name
14103
-# strip PREFIX and SUFFIX off of NAME.
14104
-# PREFIX and SUFFIX must not contain globbing or regex special
14105
-# characters, hashes, percent signs, but SUFFIX may contain a leading
14106
-# dot (in which case that matches only a dot).
14107
-# func_strip_suffix prefix name
14111
- .*) func_stripname_result=`$ECHO "X${3}" \
14112
- | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14113
- *) func_stripname_result=`$ECHO "X${3}" \
14114
- | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14119
-my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
14120
-my_sed_long_arg='1s/^-[[^=]]*=//'
14125
- func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14126
- func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14128
+# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
14129
+# ----------------------------------------------------------
14130
+# Produce a SEP delimited list of all paired combinations of elements of
14131
+# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
14132
+# has the form PREFIXmINFIXSUFFIXn.
14133
+# Needed until we can rely on m4_combine added in Autoconf 2.62.
14134
+m4_define([lt_combine],
14135
+[m4_if(m4_eval([$# > 3]), [1],
14136
+ [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
14137
+[[m4_foreach([_Lt_prefix], [$2],
14138
+ [m4_foreach([_Lt_suffix],
14139
+ ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
14140
+ [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
14143
+# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
14144
+# -----------------------------------------------------------------------
14145
+# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
14146
+# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
14147
+m4_define([lt_if_append_uniq],
14149
+ [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
14150
+ [lt_append([$1], [$2], [$3])$4],
14152
+ [lt_append([$1], [$2], [$3])$4])])
14155
-# func_lo2o object
14158
- func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14160
+# lt_dict_add(DICT, KEY, VALUE)
14161
+# -----------------------------
14162
+m4_define([lt_dict_add],
14163
+[m4_define([$1($2)], [$3])])
14165
-# func_xform libobj-or-source
14168
- func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
14171
-# func_arith arithmetic-term...
14174
- func_arith_result=`expr "$[@]"`
14176
+# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
14177
+# --------------------------------------------
14178
+m4_define([lt_dict_add_subkey],
14179
+[m4_define([$1($2:$3)], [$4])])
14182
-# STRING may not start with a hyphen.
14185
- func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
14190
+# lt_dict_fetch(DICT, KEY, [SUBKEY])
14191
+# ----------------------------------
14192
+m4_define([lt_dict_fetch],
14194
+ m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
14195
+ m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
14197
-case $lt_shell_append in
14199
- cat << \_LT_EOF >> "$cfgfile"
14201
-# func_append var value
14202
-# Append VALUE to the end of shell variable VAR.
14205
- eval "$[1]+=\$[2]"
14210
- cat << \_LT_EOF >> "$cfgfile"
14211
+# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
14212
+# -----------------------------------------------------------------
14213
+m4_define([lt_if_dict_fetch],
14214
+[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
14218
-# func_append var value
14219
-# Append VALUE to the end of shell variable VAR.
14222
- eval "$[1]=\$$[1]\$[2]"
14228
+# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
14229
+# --------------------------------------------------------------
14230
+m4_define([lt_dict_filter],
14231
+[m4_if([$5], [], [],
14232
+ [lt_join(m4_quote(m4_default([$4], [[, ]])),
14233
+ lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
14234
+ [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
14237
-# Helper functions for option handling. -*- Autoconf -*-
14238
+# ltversion.m4 -- version numbers -*- Autoconf -*-
14240
-# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
14241
-# Written by Gary V. Vaughan, 2004
14242
+# Copyright (C) 2004 Free Software Foundation, Inc.
14243
+# Written by Scott James Remnant, 2004
14245
# This file is free software; the Free Software Foundation gives
14246
# unlimited permission to copy and/or distribute it, with or without
14247
# modifications, as long as this notice is preserved.
14249
-# serial 6 ltoptions.m4
14250
+# Generated from ltversion.in.
14252
-# This is to help aclocal find these macros, as it can't see m4_define.
14253
-AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
14254
+# serial 3017 ltversion.m4
14255
+# This file is part of GNU Libtool
14257
+m4_define([LT_PACKAGE_VERSION], [2.2.6b])
14258
+m4_define([LT_PACKAGE_REVISION], [1.3017])
14260
-# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
14261
-# ------------------------------------------
14262
-m4_define([_LT_MANGLE_OPTION],
14263
-[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
14264
+AC_DEFUN([LTVERSION_VERSION],
14265
+[macro_version='2.2.6b'
14266
+macro_revision='1.3017'
14267
+_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
14268
+_LT_DECL(, macro_revision, 0)
14271
+# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
14273
+# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
14274
+# Written by Scott James Remnant, 2004.
14276
+# This file is free software; the Free Software Foundation gives
14277
+# unlimited permission to copy and/or distribute it, with or without
14278
+# modifications, as long as this notice is preserved.
14280
+# serial 4 lt~obsolete.m4
14282
-# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
14283
-# ---------------------------------------
14284
-# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
14285
-# matching handler defined, dispatch to it. Other OPTION-NAMEs are
14286
-# saved as a flag.
14287
-m4_define([_LT_SET_OPTION],
14288
-[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
14289
-m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
14290
- _LT_MANGLE_DEFUN([$1], [$2]),
14291
- [m4_warning([Unknown $1 option `$2'])])[]dnl
14293
+# These exist entirely to fool aclocal when bootstrapping libtool.
14295
+# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
14296
+# which have later been changed to m4_define as they aren't part of the
14297
+# exported API, or moved to Autoconf or Automake where they belong.
14299
+# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
14300
+# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
14301
+# using a macro with the same name in our local m4/libtool.m4 it'll
14302
+# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
14303
+# and doesn't know about Autoconf macros at all.)
14305
+# So we provide this file, which has a silly filename so it's always
14306
+# included after everything else. This provides aclocal with the
14307
+# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
14308
+# because those macros already exist, or will be overwritten later.
14309
+# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
14311
+# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
14312
+# Yes, that means every name once taken will need to remain here until
14313
+# we give up compatibility with versions before 1.7, at which point
14314
+# we need to keep only those names which we still refer to.
14316
+# This is to help aclocal find these macros, as it can't see m4_define.
14317
+AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
14319
-# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
14320
-# ------------------------------------------------------------
14321
-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
14322
-m4_define([_LT_IF_OPTION],
14323
-[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
14324
+m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
14325
+m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
14326
+m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
14327
+m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
14328
+m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
14329
+m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
14330
+m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
14331
+m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
14332
+m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
14333
+m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
14334
+m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
14335
+m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
14336
+m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
14337
+m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
14338
+m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
14339
+m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
14340
+m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
14341
+m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
14342
+m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
14343
+m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
14344
+m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
14345
+m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
14346
+m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
14347
+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
14348
+m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
14349
+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
14350
+m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
14351
+m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
14352
+m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
14353
+m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
14354
+m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
14355
+m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
14356
+m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
14357
+m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
14358
+m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
14359
+m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
14360
+m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
14361
+m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
14362
+m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
14363
+m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
14364
+m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
14365
+m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
14366
+m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])])
14367
+m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
14368
+m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
14369
+m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
14370
+m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
14371
+m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
14372
+m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
14373
+m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
14374
+m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
14375
+m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
14376
+m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
14377
+m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
14378
+m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
14380
+# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
14382
+# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
14384
+# This program is free software; you can redistribute it and/or modify
14385
+# it under the terms of the GNU General Public License as published by
14386
+# the Free Software Foundation; either version 2 of the License, or
14387
+# (at your option) any later version.
14389
+# This program is distributed in the hope that it will be useful, but
14390
+# WITHOUT ANY WARRANTY; without even the implied warranty of
14391
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14392
+# General Public License for more details.
14394
+# You should have received a copy of the GNU General Public License
14395
+# along with this program; if not, write to the Free Software
14396
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
14398
+# As a special exception to the GNU General Public License, if you
14399
+# distribute this file as part of a program that contains a
14400
+# configuration script generated by Autoconf, you may include it under
14401
+# the same distribution terms that you use for the rest of that program.
14403
-# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
14404
-# -------------------------------------------------------
14405
-# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
14407
-m4_define([_LT_UNLESS_OPTIONS],
14408
-[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
14409
- [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
14410
- [m4_define([$0_found])])])[]dnl
14411
-m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
14414
+# PKG_PROG_PKG_CONFIG([MIN-VERSION])
14415
+# ----------------------------------
14416
+AC_DEFUN([PKG_PROG_PKG_CONFIG],
14417
+[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
14418
+m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
14419
+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
14420
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14421
+ AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
14423
+if test -n "$PKG_CONFIG"; then
14424
+ _pkg_min_version=m4_default([$1], [0.9.0])
14425
+ AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
14426
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14427
+ AC_MSG_RESULT([yes])
14429
+ AC_MSG_RESULT([no])
14434
+])# PKG_PROG_PKG_CONFIG
14436
+# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
14438
+# Check to see whether a particular set of modules exists. Similar
14439
+# to PKG_CHECK_MODULES(), but does not set variables or print errors.
14442
+# Similar to PKG_CHECK_MODULES, make sure that the first instance of
14443
+# this or PKG_CHECK_MODULES is called, or make sure to call
14444
+# PKG_CHECK_EXISTS manually
14445
+# --------------------------------------------------------------
14446
+AC_DEFUN([PKG_CHECK_EXISTS],
14447
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
14448
+if test -n "$PKG_CONFIG" && \
14449
+ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
14450
+ m4_ifval([$2], [$2], [:])
14451
+m4_ifvaln([$3], [else
14456
-# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
14457
-# ----------------------------------------
14458
-# OPTION-LIST is a space-separated list of Libtool options associated
14459
-# with MACRO-NAME. If any OPTION has a matching handler declared with
14460
-# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
14461
-# the unknown option and exit.
14462
-m4_defun([_LT_SET_OPTIONS],
14464
-m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
14465
- [_LT_SET_OPTION([$1], _LT_Option)])
14466
+# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
14467
+# ---------------------------------------------
14468
+m4_define([_PKG_CONFIG],
119
14469
+[if test -n "$PKG_CONFIG"; then
120
14470
+ if test -n "$$1"; then
121
14471
+ pkg_cv_[]$1="$$1"
128
14478
+ pkg_failed=untried
132
@@ -8127,9 +8142,9 @@
133
if test $pkg_failed = yes; then
134
_PKG_SHORT_ERRORS_SUPPORTED
135
if test $_pkg_short_errors_supported = yes; then
14482
-m4_if([$1],[LT_INIT],[
14484
- dnl Simply set some default values (i.e off) if boolean options were not
14486
- _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
14488
- _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
14491
- dnl If no reference was made to various pairs of opposing options, then
14492
- dnl we run the default mode handler for the pair. For example, if neither
14493
- dnl `shared' nor `disable-shared' was passed, we enable building of shared
14494
- dnl archives by default:
14495
- _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
14496
- _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
14497
- _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
14498
- _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
14499
- [_LT_ENABLE_FAST_INSTALL])
14501
-])# _LT_SET_OPTIONS
14502
+# _PKG_SHORT_ERRORS_SUPPORTED
14503
+# -----------------------------
14504
+AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
14505
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
14506
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14507
+ _pkg_short_errors_supported=yes
14509
+ _pkg_short_errors_supported=no
14511
+])# _PKG_SHORT_ERRORS_SUPPORTED
14514
+# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
14515
+# [ACTION-IF-NOT-FOUND])
14518
+# Note that if there is a possibility the first call to
14519
+# PKG_CHECK_MODULES might not happen, you should be sure to include an
14520
+# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
14523
+# --------------------------------------------------------------
14524
+AC_DEFUN([PKG_CHECK_MODULES],
14525
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
14526
+AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
14527
+AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
14529
-# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
14530
-# -----------------------------------------
14531
-m4_define([_LT_MANGLE_DEFUN],
14532
-[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
14534
+AC_MSG_CHECKING([for $1])
14536
+_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
14537
+_PKG_CONFIG([$1][_LIBS], [libs], [$2])
14539
-# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
14540
-# -----------------------------------------------
14541
-m4_define([LT_OPTION_DEFINE],
14542
-[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
14543
-])# LT_OPTION_DEFINE
14544
+m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
14545
+and $1[]_LIBS to avoid the need to call pkg-config.
14546
+See the pkg-config man page for more details.])
14548
+if test $pkg_failed = yes; then
14549
+ _PKG_SHORT_ERRORS_SUPPORTED
14550
+ if test $_pkg_short_errors_supported = yes; then
14551
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
14553
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
14555
+ # Put the nasty error message in config.log where it belongs
14556
+ echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
14560
-LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
14562
+ ifelse([$4], , [AC_MSG_ERROR(dnl
14563
+[Package requirements ($2) were not met:
14565
-AU_DEFUN([AC_LIBTOOL_DLOPEN],
14566
-[_LT_SET_OPTION([LT_INIT], [dlopen])
14567
-AC_DIAGNOSE([obsolete],
14568
-[$0: Remove this warning and the call to _LT_SET_OPTION when you
14569
-put the `dlopen' option into LT_INIT's first parameter.])
14573
-dnl aclocal-1.4 backwards compatibility:
14574
-dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
14575
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
14576
+installed software in a non-standard prefix.
14580
+ [AC_MSG_RESULT([no])
14582
+elif test $pkg_failed = untried; then
14583
+ ifelse([$4], , [AC_MSG_FAILURE(dnl
14584
+[The pkg-config script could not be found or is too old. Make sure it
14585
+is in your PATH or set the PKG_CONFIG environment variable to the full
14586
+path to pkg-config.
14590
-# Declare package support for building win32 dll's.
14591
-LT_OPTION_DEFINE([LT_INIT], [win32-dll],
14592
-[enable_win32_dll=yes
14596
-*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
14597
- AC_CHECK_TOOL(AS, as, false)
14598
- AC_CHECK_TOOL(DLLTOOL, dlltool, false)
14599
- AC_CHECK_TOOL(OBJDUMP, objdump, false)
14602
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
14605
+ $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
14606
+ $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
14607
+ AC_MSG_RESULT([yes])
14608
+ ifelse([$3], , :, [$3])
14610
+])# PKG_CHECK_MODULES
14612
-test -z "$AS" && AS=as
14613
-_LT_DECL([], [AS], [0], [Assembler program])dnl
14614
+# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
14616
+# This file is free software; the Free Software Foundation
14617
+# gives unlimited permission to copy and/or distribute it,
14618
+# with or without modifications, as long as this notice is preserved.
14620
-test -z "$DLLTOOL" && DLLTOOL=dlltool
14621
-_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
14622
+# AM_AUTOMAKE_VERSION(VERSION)
14623
+# ----------------------------
14624
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
14625
+# generated from the m4 files accompanying Automake X.Y.
14626
+# (This private macro should not be called outside this file.)
14627
+AC_DEFUN([AM_AUTOMAKE_VERSION],
14628
+[am__api_version='1.11'
14629
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
14630
+dnl require some minimum version. Point them to the right macro.
14631
+m4_if([$1], [1.11.1], [],
14632
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
14635
-test -z "$OBJDUMP" && OBJDUMP=objdump
14636
-_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
14638
+# _AM_AUTOCONF_VERSION(VERSION)
14639
+# -----------------------------
14640
+# aclocal traces this macro to find the Autoconf version.
14641
+# This is a private macro too. Using m4_define simplifies
14642
+# the logic in aclocal, which can simply ignore this definition.
14643
+m4_define([_AM_AUTOCONF_VERSION], [])
14645
-AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
14646
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
14647
-_LT_SET_OPTION([LT_INIT], [win32-dll])
14648
-AC_DIAGNOSE([obsolete],
14649
-[$0: Remove this warning and the call to _LT_SET_OPTION when you
14650
-put the `win32-dll' option into LT_INIT's first parameter.])
14652
+# AM_SET_CURRENT_AUTOMAKE_VERSION
14653
+# -------------------------------
14654
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
14655
+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
14656
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
14657
+[AM_AUTOMAKE_VERSION([1.11.1])dnl
14658
+m4_ifndef([AC_AUTOCONF_VERSION],
14659
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
14660
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
14662
-dnl aclocal-1.4 backwards compatibility:
14663
-dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
14664
+# AM_AUX_DIR_EXPAND -*- Autoconf -*-
14666
+# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
14668
+# This file is free software; the Free Software Foundation
14669
+# gives unlimited permission to copy and/or distribute it,
14670
+# with or without modifications, as long as this notice is preserved.
14672
-# _LT_ENABLE_SHARED([DEFAULT])
14673
-# ----------------------------
14674
-# implement the --enable-shared flag, and supports the `shared' and
14675
-# `disable-shared' LT_INIT options.
14676
-# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
14677
-m4_define([_LT_ENABLE_SHARED],
14678
-[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
14679
-AC_ARG_ENABLE([shared],
14680
- [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
14681
- [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
14682
- [p=${PACKAGE-default}
14683
- case $enableval in
14684
- yes) enable_shared=yes ;;
14685
- no) enable_shared=no ;;
14688
- # Look at the argument we got. We use all the common list separators.
14689
- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
14690
- for pkg in $enableval; do
14691
- IFS="$lt_save_ifs"
14692
- if test "X$pkg" = "X$p"; then
14693
- enable_shared=yes
14696
- IFS="$lt_save_ifs"
14699
- [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
14700
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
14701
+# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
14702
+# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
14704
+# Of course, Automake must honor this variable whenever it calls a
14705
+# tool from the auxiliary directory. The problem is that $srcdir (and
14706
+# therefore $ac_aux_dir as well) can be either absolute or relative,
14707
+# depending on how configure is run. This is pretty annoying, since
14708
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
14709
+# source directory, any form will work fine, but in subdirectories a
14710
+# relative path needs to be adjusted first.
14712
+# $ac_aux_dir/missing
14713
+# fails when called from a subdirectory if $ac_aux_dir is relative
14714
+# $top_srcdir/$ac_aux_dir/missing
14715
+# fails if $ac_aux_dir is absolute,
14716
+# fails when called from a subdirectory in a VPATH build with
14717
+# a relative $ac_aux_dir
14719
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
14720
+# are both prefixed by $srcdir. In an in-source build this is usually
14721
+# harmless because $srcdir is `.', but things will broke when you
14722
+# start a VPATH build or use an absolute $srcdir.
14724
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
14725
+# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
14726
+# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
14727
+# and then we would define $MISSING as
14728
+# MISSING="\${SHELL} $am_aux_dir/missing"
14729
+# This will work as long as MISSING is not called from configure, because
14730
+# unfortunately $(top_srcdir) has no meaning in configure.
14731
+# However there are other variables, like CC, which are often used in
14732
+# configure, and could therefore not use this "fixed" $ac_aux_dir.
14734
+# Another solution, used here, is to always expand $ac_aux_dir to an
14735
+# absolute PATH. The drawback is that using absolute paths prevent a
14736
+# configured tree to be moved without reconfiguration.
14738
- _LT_DECL([build_libtool_libs], [enable_shared], [0],
14739
- [Whether or not to build shared libraries])
14740
-])# _LT_ENABLE_SHARED
14741
+AC_DEFUN([AM_AUX_DIR_EXPAND],
14742
+[dnl Rely on autoconf to set up CDPATH properly.
14743
+AC_PREREQ([2.50])dnl
14744
+# expand $ac_aux_dir to an absolute path
14745
+am_aux_dir=`cd $ac_aux_dir && pwd`
14748
-LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
14749
-LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
14750
+# AM_CONDITIONAL -*- Autoconf -*-
14753
-AC_DEFUN([AC_ENABLE_SHARED],
14754
-[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
14756
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
14757
+# Free Software Foundation, Inc.
14759
+# This file is free software; the Free Software Foundation
14760
+# gives unlimited permission to copy and/or distribute it,
14761
+# with or without modifications, as long as this notice is preserved.
14763
-AC_DEFUN([AC_DISABLE_SHARED],
14764
-[_LT_SET_OPTION([LT_INIT], [disable-shared])
14768
-AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
14769
-AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
14770
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
14771
+# -------------------------------------
14772
+# Define a conditional.
14773
+AC_DEFUN([AM_CONDITIONAL],
14774
+[AC_PREREQ(2.52)dnl
14775
+ ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
14776
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
14777
+AC_SUBST([$1_TRUE])dnl
14778
+AC_SUBST([$1_FALSE])dnl
14779
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
14780
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
14781
+m4_define([_AM_COND_VALUE_$1], [$2])dnl
14789
+AC_CONFIG_COMMANDS_PRE(
14790
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
14791
+ AC_MSG_ERROR([[conditional "$1" was never defined.
14792
+Usually this means the macro was only invoked conditionally.]])
14795
-dnl aclocal-1.4 backwards compatibility:
14796
-dnl AC_DEFUN([AM_ENABLE_SHARED], [])
14797
-dnl AC_DEFUN([AM_DISABLE_SHARED], [])
14798
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
14799
+# Free Software Foundation, Inc.
14801
+# This file is free software; the Free Software Foundation
14802
+# gives unlimited permission to copy and/or distribute it,
14803
+# with or without modifications, as long as this notice is preserved.
14807
+# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
14808
+# written in clear, in which case automake, when reading aclocal.m4,
14809
+# will think it sees a *use*, and therefore will trigger all it's
14810
+# C support machinery. Also note that it means that autoscan, seeing
14811
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
14813
-# _LT_ENABLE_STATIC([DEFAULT])
14814
-# ----------------------------
14815
-# implement the --enable-static flag, and support the `static' and
14816
-# `disable-static' LT_INIT options.
14817
-# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
14818
-m4_define([_LT_ENABLE_STATIC],
14819
-[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
14820
-AC_ARG_ENABLE([static],
14821
- [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
14822
- [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
14823
- [p=${PACKAGE-default}
14824
- case $enableval in
14825
- yes) enable_static=yes ;;
14826
- no) enable_static=no ;;
14829
- # Look at the argument we got. We use all the common list separators.
14830
- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
14831
- for pkg in $enableval; do
14832
- IFS="$lt_save_ifs"
14833
- if test "X$pkg" = "X$p"; then
14834
- enable_static=yes
14837
- IFS="$lt_save_ifs"
14840
- [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
14842
- _LT_DECL([build_old_libs], [enable_static], [0],
14843
- [Whether or not to build static libraries])
14844
-])# _LT_ENABLE_STATIC
14845
+# _AM_DEPENDENCIES(NAME)
14846
+# ----------------------
14847
+# See how the compiler implements dependency checking.
14848
+# NAME is "CC", "CXX", "GCJ", or "OBJC".
14849
+# We try a few techniques and use that to set a single cache variable.
14851
+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
14852
+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
14853
+# dependency, and given that the user is not expected to run this macro,
14854
+# just rely on AC_PROG_CC.
14855
+AC_DEFUN([_AM_DEPENDENCIES],
14856
+[AC_REQUIRE([AM_SET_DEPDIR])dnl
14857
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
14858
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
14859
+AC_REQUIRE([AM_DEP_TRACK])dnl
14861
-LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
14862
-LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
14863
+ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
14864
+ [$1], CXX, [depcc="$CXX" am_compiler_list=],
14865
+ [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
14866
+ [$1], UPC, [depcc="$UPC" am_compiler_list=],
14867
+ [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
14868
+ [depcc="$$1" am_compiler_list=])
14871
-AC_DEFUN([AC_ENABLE_STATIC],
14872
-[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
14873
+AC_CACHE_CHECK([dependency style of $depcc],
14874
+ [am_cv_$1_dependencies_compiler_type],
14875
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14876
+ # We make a subdir and do the tests there. Otherwise we can end up
14877
+ # making bogus files that we don't know about and never remove. For
14878
+ # instance it was reported that on HP-UX the gcc test will end up
14879
+ # making a dummy file named `D' -- because `-MD' means `put the output
14881
+ mkdir conftest.dir
14882
+ # Copy depcomp to subdir because otherwise we won't find it if we're
14883
+ # using a relative directory.
14884
+ cp "$am_depcomp" conftest.dir
14886
+ # We will build objects and dependencies in a subdirectory because
14887
+ # it helps to detect inapplicable dependency modes. For instance
14888
+ # both Tru64's cc and ICC support -MD to output dependencies as a
14889
+ # side effect of compilation, but ICC will put the dependencies in
14890
+ # the current directory while Tru64 will put them in the object
14894
+ am_cv_$1_dependencies_compiler_type=none
14895
+ if test "$am_compiler_list" = ""; then
14896
+ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
14898
+ am__universal=false
14899
+ m4_case([$1], [CC],
14900
+ [case " $depcc " in #(
14901
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
14904
+ [case " $depcc " in #(
14905
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
14908
+ for depmode in $am_compiler_list; do
14909
+ # Setup a source with many dependencies, because some compilers
14910
+ # like to wrap large dependency lists on column 80 (with \), and
14911
+ # we should not choose a depcomp mode which is confused by this.
14913
+ # We need to recreate these files for each test, as the compiler may
14914
+ # overwrite some of them when testing with obscure command lines.
14915
+ # This happens at least with the AIX C compiler.
14916
+ : > sub/conftest.c
14917
+ for i in 1 2 3 4 5 6; do
14918
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
14919
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14920
+ # Solaris 8's {/usr,}/bin/sh.
14921
+ touch sub/conftst$i.h
14923
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14925
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
14926
+ # mode. It turns out that the SunPro C++ compiler does not properly
14927
+ # handle `-M -o', and we need to detect this. Also, some Intel
14928
+ # versions had trouble with output in subdirs
14929
+ am__obj=sub/conftest.${OBJEXT-o}
14930
+ am__minus_obj="-o $am__obj"
14933
+ # This depmode causes a compiler race in universal mode.
14934
+ test "$am__universal" = false || continue
14937
+ # after this tag, mechanisms are not by side-effect, so they'll
14938
+ # only be used when explicitly requested
14939
+ if test "x$enable_dependency_tracking" = xyes; then
14945
+ msvisualcpp | msvcmsys)
14946
+ # This compiler won't grok `-c -o', but also, the minuso test has
14947
+ # not run yet. These depmodes are late enough in the game, and
14948
+ # so weak that their functioning should not be impacted.
14949
+ am__obj=conftest.${OBJEXT-o}
14954
+ if depmode=$depmode \
14955
+ source=sub/conftest.c object=$am__obj \
14956
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14957
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14958
+ >/dev/null 2>conftest.err &&
14959
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14960
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14961
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14962
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14963
+ # icc doesn't choke on unknown options, it will just issue warnings
14964
+ # or remarks (even with -Werror). So we grep stderr for any message
14965
+ # that says an option was ignored or not supported.
14966
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
14967
+ # icc: Command line warning: ignoring option '-M'; no argument required
14968
+ # The diagnosis changed in icc 8.0:
14969
+ # icc: Command line remark: option '-MP' not supported
14970
+ if (grep 'ignoring option' conftest.err ||
14971
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14972
+ am_cv_$1_dependencies_compiler_type=$depmode
14979
+ rm -rf conftest.dir
14981
+ am_cv_$1_dependencies_compiler_type=none
14984
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
14985
+AM_CONDITIONAL([am__fastdep$1], [
14986
+ test "x$enable_dependency_tracking" != xno \
14987
+ && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
14990
-AC_DEFUN([AC_DISABLE_STATIC],
14991
-[_LT_SET_OPTION([LT_INIT], [disable-static])
14995
+# Choose a directory name for dependency files.
14996
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES
14997
+AC_DEFUN([AM_SET_DEPDIR],
14998
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
14999
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
15002
-AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
15003
-AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
15005
-dnl aclocal-1.4 backwards compatibility:
15006
-dnl AC_DEFUN([AM_ENABLE_STATIC], [])
15007
-dnl AC_DEFUN([AM_DISABLE_STATIC], [])
15010
+AC_DEFUN([AM_DEP_TRACK],
15011
+[AC_ARG_ENABLE(dependency-tracking,
15012
+[ --disable-dependency-tracking speeds up one-time build
15013
+ --enable-dependency-tracking do not reject slow dependency extractors])
15014
+if test "x$enable_dependency_tracking" != xno; then
15015
+ am_depcomp="$ac_aux_dir/depcomp"
15016
+ AMDEPBACKSLASH='\'
15018
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
15019
+AC_SUBST([AMDEPBACKSLASH])dnl
15020
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
15023
+# Generate code to set up dependency tracking. -*- Autoconf -*-
15025
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
15026
+# Free Software Foundation, Inc.
15028
+# This file is free software; the Free Software Foundation
15029
+# gives unlimited permission to copy and/or distribute it,
15030
+# with or without modifications, as long as this notice is preserved.
15032
-# _LT_ENABLE_FAST_INSTALL([DEFAULT])
15033
-# ----------------------------------
15034
-# implement the --enable-fast-install flag, and support the `fast-install'
15035
-# and `disable-fast-install' LT_INIT options.
15036
-# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
15037
-m4_define([_LT_ENABLE_FAST_INSTALL],
15038
-[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
15039
-AC_ARG_ENABLE([fast-install],
15040
- [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
15041
- [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
15042
- [p=${PACKAGE-default}
15043
- case $enableval in
15044
- yes) enable_fast_install=yes ;;
15045
- no) enable_fast_install=no ;;
15047
- enable_fast_install=no
15048
- # Look at the argument we got. We use all the common list separators.
15049
- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
15050
- for pkg in $enableval; do
15051
- IFS="$lt_save_ifs"
15052
- if test "X$pkg" = "X$p"; then
15053
- enable_fast_install=yes
15056
- IFS="$lt_save_ifs"
15059
- [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
15062
-_LT_DECL([fast_install], [enable_fast_install], [0],
15063
- [Whether or not to optimize for fast installation])dnl
15064
-])# _LT_ENABLE_FAST_INSTALL
15065
+# _AM_OUTPUT_DEPENDENCY_COMMANDS
15066
+# ------------------------------
15067
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
15069
+ # Autoconf 2.62 quotes --file arguments for eval, but not when files
15070
+ # are listed without --file. Let's play safe and only enable the eval
15071
+ # if we detect the quoting.
15072
+ case $CONFIG_FILES in
15073
+ *\'*) eval set x "$CONFIG_FILES" ;;
15074
+ *) set x $CONFIG_FILES ;;
15079
+ # Strip MF so we end up with the name of the file.
15080
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
15081
+ # Check whether this is an Automake generated Makefile or not.
15082
+ # We used to match only the files named `Makefile.in', but
15083
+ # some people rename them; so instead we look at the file content.
15084
+ # Grep'ing the first line is not enough: some people post-process
15085
+ # each Makefile.in and add a new line on top of each file to say so.
15086
+ # Grep'ing the whole file is not good either: AIX grep has a line
15087
+ # limit of 2048, but all sed's we know have understand at least 4000.
15088
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15089
+ dirpart=`AS_DIRNAME("$mf")`
15093
+ # Extract the definition of DEPDIR, am__include, and am__quote
15094
+ # from the Makefile without running `make'.
15095
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15096
+ test -z "$DEPDIR" && continue
15097
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
15098
+ test -z "am__include" && continue
15099
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15100
+ # When using ansi2knr, U may be empty or an underscore; expand it
15101
+ U=`sed -n 's/^U = //p' < "$mf"`
15102
+ # Find all dependency output files, they are included files with
15103
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
15104
+ # simplest approach to changing $(DEPDIR) to its actual value in the
15106
+ for file in `sed -n "
15107
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15108
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15109
+ # Make sure the directory exists.
15110
+ test -f "$dirpart/$file" && continue
15111
+ fdir=`AS_DIRNAME(["$file"])`
15112
+ AS_MKDIR_P([$dirpart/$fdir])
15113
+ # echo "creating $dirpart/$file"
15114
+ echo '# dummy' > "$dirpart/$file"
15118
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
15120
-LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
15121
-LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
15124
-AU_DEFUN([AC_ENABLE_FAST_INSTALL],
15125
-[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
15126
-AC_DIAGNOSE([obsolete],
15127
-[$0: Remove this warning and the call to _LT_SET_OPTION when you put
15128
-the `fast-install' option into LT_INIT's first parameter.])
15129
+# AM_OUTPUT_DEPENDENCY_COMMANDS
15130
+# -----------------------------
15131
+# This macro should only be invoked once -- use via AC_REQUIRE.
15133
+# This code is only required when automatic dependency tracking
15134
+# is enabled. FIXME. This creates each `.P' file that we will
15135
+# need in order to bootstrap the dependency handling code.
15136
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
15137
+[AC_CONFIG_COMMANDS([depfiles],
15138
+ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
15139
+ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
15142
-AU_DEFUN([AC_DISABLE_FAST_INSTALL],
15143
-[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
15144
-AC_DIAGNOSE([obsolete],
15145
-[$0: Remove this warning and the call to _LT_SET_OPTION when you put
15146
-the `disable-fast-install' option into LT_INIT's first parameter.])
15148
+# Do all the work for Automake. -*- Autoconf -*-
15150
-dnl aclocal-1.4 backwards compatibility:
15151
-dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
15152
-dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
15153
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
15154
+# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
15156
+# This file is free software; the Free Software Foundation
15157
+# gives unlimited permission to copy and/or distribute it,
15158
+# with or without modifications, as long as this notice is preserved.
15162
-# _LT_WITH_PIC([MODE])
15163
-# --------------------
15164
-# implement the --with-pic flag, and support the `pic-only' and `no-pic'
15165
-# LT_INIT options.
15166
-# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
15167
-m4_define([_LT_WITH_PIC],
15168
-[AC_ARG_WITH([pic],
15169
- [AS_HELP_STRING([--with-pic],
15170
- [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
15171
- [pic_mode="$withval"],
15172
- [pic_mode=default])
15173
+# This macro actually does too much. Some checks are only needed if
15174
+# your package does certain things. But this isn't really a big deal.
15176
-test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
15177
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
15178
+# AM_INIT_AUTOMAKE([OPTIONS])
15179
+# -----------------------------------------------
15180
+# The call with PACKAGE and VERSION arguments is the old style
15181
+# call (pre autoconf-2.50), which is being phased out. PACKAGE
15182
+# and VERSION should now be passed to AC_INIT and removed from
15183
+# the call to AM_INIT_AUTOMAKE.
15184
+# We support both call styles for the transition. After
15185
+# the next Automake release, Autoconf can make the AC_INIT
15186
+# arguments mandatory, and then we can depend on a new Autoconf
15187
+# release and drop the old call support.
15188
+AC_DEFUN([AM_INIT_AUTOMAKE],
15189
+[AC_PREREQ([2.62])dnl
15190
+dnl Autoconf wants to disallow AM_ names. We explicitly allow
15191
+dnl the ones we care about.
15192
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
15193
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
15194
+AC_REQUIRE([AC_PROG_INSTALL])dnl
15195
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
15196
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
15197
+ # is not polluted with repeated "-I."
15198
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
15199
+ # test to see if srcdir already configured
15200
+ if test -f $srcdir/config.status; then
15201
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
15205
-_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
15207
+# test whether we have cygpath
15208
+if test -z "$CYGPATH_W"; then
15209
+ if (cygpath --version) >/dev/null 2>/dev/null; then
15210
+ CYGPATH_W='cygpath -w'
15215
+AC_SUBST([CYGPATH_W])
15217
-LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
15218
-LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
15219
+# Define the identity of the package.
15220
+dnl Distinguish between old-style and new-style calls.
15222
+[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
15223
+ AC_SUBST([PACKAGE], [$1])dnl
15224
+ AC_SUBST([VERSION], [$2])],
15225
+[_AM_SET_OPTIONS([$1])dnl
15226
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
15227
+m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
15228
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
15229
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
15230
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
15233
-AU_DEFUN([AC_LIBTOOL_PICMODE],
15234
-[_LT_SET_OPTION([LT_INIT], [pic-only])
15235
-AC_DIAGNOSE([obsolete],
15236
-[$0: Remove this warning and the call to _LT_SET_OPTION when you
15237
-put the `pic-only' option into LT_INIT's first parameter.])
15238
+_AM_IF_OPTION([no-define],,
15239
+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
15240
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
15242
+# Some tools Automake needs.
15243
+AC_REQUIRE([AM_SANITY_CHECK])dnl
15244
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
15245
+AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
15246
+AM_MISSING_PROG(AUTOCONF, autoconf)
15247
+AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
15248
+AM_MISSING_PROG(AUTOHEADER, autoheader)
15249
+AM_MISSING_PROG(MAKEINFO, makeinfo)
15250
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
15251
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
15252
+AC_REQUIRE([AM_PROG_MKDIR_P])dnl
15253
+# We need awk for the "check" target. The system "awk" is bad on
15255
+AC_REQUIRE([AC_PROG_AWK])dnl
15256
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
15257
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
15258
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
15259
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
15260
+ [_AM_PROG_TAR([v7])])])
15261
+_AM_IF_OPTION([no-dependencies],,
15262
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
15263
+ [_AM_DEPENDENCIES(CC)],
15264
+ [define([AC_PROG_CC],
15265
+ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
15266
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
15267
+ [_AM_DEPENDENCIES(CXX)],
15268
+ [define([AC_PROG_CXX],
15269
+ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
15270
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
15271
+ [_AM_DEPENDENCIES(OBJC)],
15272
+ [define([AC_PROG_OBJC],
15273
+ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
15275
+_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
15276
+dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
15277
+dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
15278
+dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
15279
+AC_CONFIG_COMMANDS_PRE(dnl
15280
+[m4_provide_if([_AM_COMPILER_EXEEXT],
15281
+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
15284
-dnl aclocal-1.4 backwards compatibility:
15285
-dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
15286
+dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
15287
+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
15288
+dnl mangled by Autoconf and run in a shell conditional statement.
15289
+m4_define([_AC_COMPILER_EXEEXT],
15290
+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
15293
-m4_define([_LTDL_MODE], [])
15294
-LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
15295
- [m4_define([_LTDL_MODE], [nonrecursive])])
15296
-LT_OPTION_DEFINE([LTDL_INIT], [recursive],
15297
- [m4_define([_LTDL_MODE], [recursive])])
15298
-LT_OPTION_DEFINE([LTDL_INIT], [subproject],
15299
- [m4_define([_LTDL_MODE], [subproject])])
15300
+# When config.status generates a header, we must update the stamp-h file.
15301
+# This file resides in the same directory as the config header
15302
+# that is generated. The stamp files are numbered to have different names.
15304
-m4_define([_LTDL_TYPE], [])
15305
-LT_OPTION_DEFINE([LTDL_INIT], [installable],
15306
- [m4_define([_LTDL_TYPE], [installable])])
15307
-LT_OPTION_DEFINE([LTDL_INIT], [convenience],
15308
- [m4_define([_LTDL_TYPE], [convenience])])
15309
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
15310
+# loop where config.status creates the headers, so we can generate
15311
+# our stamp files there.
15312
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
15313
+[# Compute $1's index in $config_headers.
15316
+for _am_header in $config_headers :; do
15317
+ case $_am_header in
15318
+ $_am_arg | $_am_arg:* )
15321
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15324
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
15326
-# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
15328
-# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
15329
-# Written by Gary V. Vaughan, 2004
15330
+# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
15332
-# This file is free software; the Free Software Foundation gives
15333
-# unlimited permission to copy and/or distribute it, with or without
15334
-# modifications, as long as this notice is preserved.
15336
-# serial 6 ltsugar.m4
15338
-# This is to help aclocal find these macros, as it can't see m4_define.
15339
-AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
15342
-# lt_join(SEP, ARG1, [ARG2...])
15343
-# -----------------------------
15344
-# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
15345
-# associated separator.
15346
-# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
15347
-# versions in m4sugar had bugs.
15348
-m4_define([lt_join],
15349
-[m4_if([$#], [1], [],
15350
- [$#], [2], [[$2]],
15351
- [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
15352
-m4_define([_lt_join],
15353
-[m4_if([$#$2], [2], [],
15354
- [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
15360
-# Manipulate m4 lists.
15361
-# These macros are necessary as long as will still need to support
15362
-# Autoconf-2.59 which quotes differently.
15363
-m4_define([lt_car], [[$1]])
15364
-m4_define([lt_cdr],
15365
-[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
15367
- [m4_dquote(m4_shift($@))])])
15368
-m4_define([lt_unquote], $1)
15369
+# This file is free software; the Free Software Foundation
15370
+# gives unlimited permission to copy and/or distribute it,
15371
+# with or without modifications, as long as this notice is preserved.
15373
+# AM_PROG_INSTALL_SH
15374
+# ------------------
15375
+# Define $install_sh.
15376
+AC_DEFUN([AM_PROG_INSTALL_SH],
15377
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
15378
+if test x"${install_sh}" != xset; then
15379
+ case $am_aux_dir in
15381
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
15383
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
15386
+AC_SUBST(install_sh)])
15388
-# lt_append(MACRO-NAME, STRING, [SEPARATOR])
15389
-# ------------------------------------------
15390
-# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
15391
-# Note that neither SEPARATOR nor STRING are expanded; they are appended
15392
-# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
15393
-# No SEPARATOR is output if MACRO-NAME was previously undefined (different
15394
-# than defined and empty).
15395
+# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
15397
-# This macro is needed until we can rely on Autoconf 2.62, since earlier
15398
-# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
15399
-m4_define([lt_append],
15401
- m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
15405
-# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
15406
-# ----------------------------------------------------------
15407
-# Produce a SEP delimited list of all paired combinations of elements of
15408
-# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
15409
-# has the form PREFIXmINFIXSUFFIXn.
15410
-# Needed until we can rely on m4_combine added in Autoconf 2.62.
15411
-m4_define([lt_combine],
15412
-[m4_if(m4_eval([$# > 3]), [1],
15413
- [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
15414
-[[m4_foreach([_Lt_prefix], [$2],
15415
- [m4_foreach([_Lt_suffix],
15416
- ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
15417
- [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
15420
-# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
15421
-# -----------------------------------------------------------------------
15422
-# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
15423
-# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
15424
-m4_define([lt_if_append_uniq],
15426
- [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
15427
- [lt_append([$1], [$2], [$3])$4],
15429
- [lt_append([$1], [$2], [$3])$4])])
15430
+# This file is free software; the Free Software Foundation
15431
+# gives unlimited permission to copy and/or distribute it,
15432
+# with or without modifications, as long as this notice is preserved.
15436
-# lt_dict_add(DICT, KEY, VALUE)
15437
-# -----------------------------
15438
-m4_define([lt_dict_add],
15439
-[m4_define([$1($2)], [$3])])
15440
+# Check whether the underlying file-system supports filenames
15441
+# with a leading dot. For instance MS-DOS doesn't.
15442
+AC_DEFUN([AM_SET_LEADING_DOT],
15443
+[rm -rf .tst 2>/dev/null
15444
+mkdir .tst 2>/dev/null
15445
+if test -d .tst; then
15446
+ am__leading_dot=.
15448
+ am__leading_dot=_
15450
+rmdir .tst 2>/dev/null
15451
+AC_SUBST([am__leading_dot])])
15453
+# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
15454
+# From Jim Meyering
15456
-# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
15457
-# --------------------------------------------
15458
-m4_define([lt_dict_add_subkey],
15459
-[m4_define([$1($2:$3)], [$4])])
15460
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
15461
+# Free Software Foundation, Inc.
15463
+# This file is free software; the Free Software Foundation
15464
+# gives unlimited permission to copy and/or distribute it,
15465
+# with or without modifications, as long as this notice is preserved.
15469
-# lt_dict_fetch(DICT, KEY, [SUBKEY])
15470
+# AM_MAINTAINER_MODE([DEFAULT-MODE])
15471
# ----------------------------------
15472
-m4_define([lt_dict_fetch],
15474
- m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
15475
- m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
15476
+# Control maintainer-specific portions of Makefiles.
15477
+# Default is to disable them, unless `enable' is passed literally.
15478
+# For symmetry, `disable' may be passed as well. Anyway, the user
15479
+# can override the default with the --enable/--disable switch.
15480
+AC_DEFUN([AM_MAINTAINER_MODE],
15481
+[m4_case(m4_default([$1], [disable]),
15482
+ [enable], [m4_define([am_maintainer_other], [disable])],
15483
+ [disable], [m4_define([am_maintainer_other], [enable])],
15484
+ [m4_define([am_maintainer_other], [enable])
15485
+ m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
15486
+AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
15487
+ dnl maintainer-mode's default is 'disable' unless 'enable' is passed
15488
+ AC_ARG_ENABLE([maintainer-mode],
15489
+[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
15490
+ (and sometimes confusing) to the casual installer],
15491
+ [USE_MAINTAINER_MODE=$enableval],
15492
+ [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
15493
+ AC_MSG_RESULT([$USE_MAINTAINER_MODE])
15494
+ AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
15495
+ MAINT=$MAINTAINER_MODE_TRUE
15496
+ AC_SUBST([MAINT])dnl
15500
+AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
15502
-# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
15503
-# -----------------------------------------------------------------
15504
-m4_define([lt_if_dict_fetch],
15505
-[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
15508
+# Check to see how 'make' treats includes. -*- Autoconf -*-
15510
+# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
15512
+# This file is free software; the Free Software Foundation
15513
+# gives unlimited permission to copy and/or distribute it,
15514
+# with or without modifications, as long as this notice is preserved.
15516
-# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
15517
-# --------------------------------------------------------------
15518
-m4_define([lt_dict_filter],
15519
-[m4_if([$5], [], [],
15520
- [lt_join(m4_quote(m4_default([$4], [[, ]])),
15521
- lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
15522
- [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
15525
+# AM_MAKE_INCLUDE()
15526
+# -----------------
15527
+# Check to see how make treats includes.
15528
+AC_DEFUN([AM_MAKE_INCLUDE],
15529
+[am_make=${MAKE-make}
15530
+cat > confinc << 'END'
15532
+ @echo this is the am__doit target
15535
+# If we don't find an include directive, just comment out the code.
15536
+AC_MSG_CHECKING([for style of include used by $am_make])
15540
+# First try GNU make style include.
15541
+echo "include confinc" > confmf
15542
+# Ignore all kinds of additional output from `make'.
15543
+case `$am_make -s -f confmf 2> /dev/null` in #(
15544
+*the\ am__doit\ target*)
15545
+ am__include=include
15550
+# Now try BSD make style include.
15551
+if test "$am__include" = "#"; then
15552
+ echo '.include "confinc"' > confmf
15553
+ case `$am_make -s -f confmf 2> /dev/null` in #(
15554
+ *the\ am__doit\ target*)
15555
+ am__include=.include
15561
+AC_SUBST([am__include])
15562
+AC_SUBST([am__quote])
15563
+AC_MSG_RESULT([$_am_result])
15564
+rm -f confinc confmf
15567
-# ltversion.m4 -- version numbers -*- Autoconf -*-
15569
-# Copyright (C) 2004 Free Software Foundation, Inc.
15570
-# Written by Scott James Remnant, 2004
15571
+# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
15573
+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
15574
+# Free Software Foundation, Inc.
15576
-# This file is free software; the Free Software Foundation gives
15577
-# unlimited permission to copy and/or distribute it, with or without
15578
-# modifications, as long as this notice is preserved.
15579
+# This file is free software; the Free Software Foundation
15580
+# gives unlimited permission to copy and/or distribute it,
15581
+# with or without modifications, as long as this notice is preserved.
15583
-# Generated from ltversion.in.
15586
-# serial 3012 ltversion.m4
15587
-# This file is part of GNU Libtool
15588
+# AM_MISSING_PROG(NAME, PROGRAM)
15589
+# ------------------------------
15590
+AC_DEFUN([AM_MISSING_PROG],
15591
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
15592
+$1=${$1-"${am_missing_run}$2"}
15595
-m4_define([LT_PACKAGE_VERSION], [2.2.6])
15596
-m4_define([LT_PACKAGE_REVISION], [1.3012])
15598
-AC_DEFUN([LTVERSION_VERSION],
15599
-[macro_version='2.2.6'
15600
-macro_revision='1.3012'
15601
-_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
15602
-_LT_DECL(, macro_revision, 0)
15603
+# AM_MISSING_HAS_RUN
15604
+# ------------------
15605
+# Define MISSING if not defined so far and test if it supports --run.
15606
+# If it does, set am_missing_run to use it, otherwise, to nothing.
15607
+AC_DEFUN([AM_MISSING_HAS_RUN],
15608
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
15609
+AC_REQUIRE_AUX_FILE([missing])dnl
15610
+if test x"${MISSING+set}" != xset; then
15611
+ case $am_aux_dir in
15613
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
15615
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
15618
+# Use eval to expand $SHELL
15619
+if eval "$MISSING --run true"; then
15620
+ am_missing_run="$MISSING --run "
15623
+ AC_MSG_WARN([`missing' script is too old or missing])
15627
-# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
15629
-# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
15630
-# Written by Scott James Remnant, 2004.
15631
+# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
15633
-# This file is free software; the Free Software Foundation gives
15634
-# unlimited permission to copy and/or distribute it, with or without
15635
-# modifications, as long as this notice is preserved.
15636
+# This file is free software; the Free Software Foundation
15637
+# gives unlimited permission to copy and/or distribute it,
15638
+# with or without modifications, as long as this notice is preserved.
15640
-# serial 4 lt~obsolete.m4
15643
+# Check for `mkdir -p'.
15644
+AC_DEFUN([AM_PROG_MKDIR_P],
15645
+[AC_PREREQ([2.60])dnl
15646
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
15647
+dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
15648
+dnl while keeping a definition of mkdir_p for backward compatibility.
15649
+dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
15650
+dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
15651
+dnl Makefile.ins that do not define MKDIR_P, so we do our own
15652
+dnl adjustment using top_builddir (which is defined more often than
15654
+AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
15656
+ [[\\/$]]* | ?:[[\\/]]*) ;;
15657
+ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
15661
-# These exist entirely to fool aclocal when bootstrapping libtool.
15663
-# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
15664
-# which have later been changed to m4_define as they aren't part of the
15665
-# exported API, or moved to Autoconf or Automake where they belong.
15667
-# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
15668
-# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
15669
-# using a macro with the same name in our local m4/libtool.m4 it'll
15670
-# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
15671
-# and doesn't know about Autoconf macros at all.)
15673
-# So we provide this file, which has a silly filename so it's always
15674
-# included after everything else. This provides aclocal with the
15675
-# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
15676
-# because those macros already exist, or will be overwritten later.
15677
-# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
15678
+# Helper functions for option handling. -*- Autoconf -*-
15680
+# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
15682
-# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
15683
-# Yes, that means every name once taken will need to remain here until
15684
-# we give up compatibility with versions before 1.7, at which point
15685
-# we need to keep only those names which we still refer to.
15686
+# This file is free software; the Free Software Foundation
15687
+# gives unlimited permission to copy and/or distribute it,
15688
+# with or without modifications, as long as this notice is preserved.
15690
-# This is to help aclocal find these macros, as it can't see m4_define.
15691
-AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
15694
-m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
15695
-m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
15696
-m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
15697
-m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
15698
-m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
15699
-m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
15700
-m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
15701
-m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
15702
-m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
15703
-m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
15704
-m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
15705
-m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
15706
-m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
15707
-m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
15708
-m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
15709
-m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
15710
-m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
15711
-m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
15712
-m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
15713
-m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
15714
-m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
15715
-m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
15716
-m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
15717
-m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
15718
-m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
15719
-m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
15720
-m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
15721
-m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
15722
-m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
15723
-m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
15724
-m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
15725
-m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
15726
-m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
15727
-m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
15728
-m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
15729
-m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
15730
-m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
15731
-m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
15732
-m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
15733
-m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
15734
-m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
15735
-m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
15736
-m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])])
15737
-m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
15738
-m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
15739
-m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
15740
-m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
15741
-m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
15742
-m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
15743
-m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
15744
-m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
15745
-m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
15746
-m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
15747
-m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
15748
-m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
15749
+# _AM_MANGLE_OPTION(NAME)
15750
+# -----------------------
15751
+AC_DEFUN([_AM_MANGLE_OPTION],
15752
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
15754
-# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
15756
-# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
15758
-# This program is free software; you can redistribute it and/or modify
15759
-# it under the terms of the GNU General Public License as published by
15760
-# the Free Software Foundation; either version 2 of the License, or
15761
-# (at your option) any later version.
15763
-# This program is distributed in the hope that it will be useful, but
15764
-# WITHOUT ANY WARRANTY; without even the implied warranty of
15765
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15766
-# General Public License for more details.
15768
-# You should have received a copy of the GNU General Public License
15769
-# along with this program; if not, write to the Free Software
15770
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15772
-# As a special exception to the GNU General Public License, if you
15773
-# distribute this file as part of a program that contains a
15774
-# configuration script generated by Autoconf, you may include it under
15775
-# the same distribution terms that you use for the rest of that program.
15776
+# _AM_SET_OPTION(NAME)
15777
+# ------------------------------
15778
+# Set option NAME. Presently that only means defining a flag for this option.
15779
+AC_DEFUN([_AM_SET_OPTION],
15780
+[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
15782
-# PKG_PROG_PKG_CONFIG([MIN-VERSION])
15783
+# _AM_SET_OPTIONS(OPTIONS)
15784
# ----------------------------------
15785
-AC_DEFUN([PKG_PROG_PKG_CONFIG],
15786
-[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
15787
-m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
15788
-AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
15789
-if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15790
- AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
15792
-if test -n "$PKG_CONFIG"; then
15793
- _pkg_min_version=m4_default([$1], [0.9.0])
15794
- AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
15795
- if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15796
- AC_MSG_RESULT([yes])
15798
- AC_MSG_RESULT([no])
15803
-])# PKG_PROG_PKG_CONFIG
15804
+# OPTIONS is a space-separated list of Automake options.
15805
+AC_DEFUN([_AM_SET_OPTIONS],
15806
+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
15808
-# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
15810
-# Check to see whether a particular set of modules exists. Similar
15811
-# to PKG_CHECK_MODULES(), but does not set variables or print errors.
15814
-# Similar to PKG_CHECK_MODULES, make sure that the first instance of
15815
-# this or PKG_CHECK_MODULES is called, or make sure to call
15816
-# PKG_CHECK_EXISTS manually
15817
-# --------------------------------------------------------------
15818
-AC_DEFUN([PKG_CHECK_EXISTS],
15819
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
15820
-if test -n "$PKG_CONFIG" && \
15821
- AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
15822
- m4_ifval([$2], [$2], [:])
15823
-m4_ifvaln([$3], [else
15826
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
15827
+# -------------------------------------------
15828
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
15829
+AC_DEFUN([_AM_IF_OPTION],
15830
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
15832
+# Check to make sure that the build environment is sane. -*- Autoconf -*-
15834
-# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
15835
-# ---------------------------------------------
15836
-m4_define([_PKG_CONFIG],
15837
-[if test -n "$$1"; then
15838
- pkg_cv_[]$1="$$1"
15839
- elif test -n "$PKG_CONFIG"; then
15840
- PKG_CHECK_EXISTS([$3],
15841
- [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
15842
- [pkg_failed=yes])
15844
- pkg_failed=untried
15847
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
15848
+# Free Software Foundation, Inc.
15850
+# This file is free software; the Free Software Foundation
15851
+# gives unlimited permission to copy and/or distribute it,
15852
+# with or without modifications, as long as this notice is preserved.
15854
-# _PKG_SHORT_ERRORS_SUPPORTED
15855
-# -----------------------------
15856
-AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
15857
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
15858
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15859
- _pkg_short_errors_supported=yes
15861
- _pkg_short_errors_supported=no
15863
-])# _PKG_SHORT_ERRORS_SUPPORTED
15868
+AC_DEFUN([AM_SANITY_CHECK],
15869
+[AC_MSG_CHECKING([whether build environment is sane])
15872
+echo timestamp > conftest.file
15873
+# Reject unsafe characters in $srcdir or the absolute working directory
15874
+# name. Accept space and tab only in the latter.
15878
+ *[[\\\"\#\$\&\'\`$am_lf]]*)
15879
+ AC_MSG_ERROR([unsafe absolute working directory name]);;
15882
+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
15883
+ AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
15886
+# Do `set' in a subshell so we don't clobber the current shell's
15887
+# arguments. Must try -L first in case configure is actually a
15888
+# symlink; some systems play weird games with the mod time of symlinks
15889
+# (eg FreeBSD returns the mod time of the symlink's containing
15892
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
15893
+ if test "$[*]" = "X"; then
15894
+ # -L didn't work.
15895
+ set X `ls -t "$srcdir/configure" conftest.file`
15897
+ rm -f conftest.file
15898
+ if test "$[*]" != "X $srcdir/configure conftest.file" \
15899
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then
15901
-# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
15902
-# [ACTION-IF-NOT-FOUND])
15905
-# Note that if there is a possibility the first call to
15906
-# PKG_CHECK_MODULES might not happen, you should be sure to include an
15907
-# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
15908
+ # If neither matched, then we have a broken ls. This can happen
15909
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
15910
+ # broken ls alias from the environment. This has actually
15911
+ # happened. Such a system could not be considered "sane".
15912
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
15913
+alias in your environment])
15916
+ test "$[2]" = conftest.file
15922
+ AC_MSG_ERROR([newly created file is older than distributed files!
15923
+Check your system clock])
15925
+AC_MSG_RESULT(yes)])
15927
+# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
15929
+# This file is free software; the Free Software Foundation
15930
+# gives unlimited permission to copy and/or distribute it,
15931
+# with or without modifications, as long as this notice is preserved.
15933
+# AM_PROG_INSTALL_STRIP
15934
+# ---------------------
15935
+# One issue with vendor `install' (even GNU) is that you can't
15936
+# specify the program used to strip binaries. This is especially
15937
+# annoying in cross-compiling environments, where the build's strip
15938
+# is unlikely to handle the host's binaries.
15939
+# Fortunately install-sh will honor a STRIPPROG variable, so we
15940
+# always use install-sh in `make install-strip', and initialize
15941
+# STRIPPROG with the value of the STRIP variable (set by the user).
15942
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
15943
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
15944
+# Installed binaries are usually stripped using `strip' when the user
15945
+# run `make install-strip'. However `strip' might not be the right
15946
+# tool to use in cross-compilation environments, therefore Automake
15947
+# will honor the `STRIP' environment variable to overrule this program.
15948
+dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
15949
+if test "$cross_compiling" != no; then
15950
+ AC_CHECK_TOOL([STRIP], [strip], :)
15952
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
15953
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
15955
+# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
15957
-# --------------------------------------------------------------
15958
-AC_DEFUN([PKG_CHECK_MODULES],
15959
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
15960
-AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
15961
-AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
15962
+# This file is free software; the Free Software Foundation
15963
+# gives unlimited permission to copy and/or distribute it,
15964
+# with or without modifications, as long as this notice is preserved.
15967
-AC_MSG_CHECKING([for $1])
15970
-_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
15971
-_PKG_CONFIG([$1][_LIBS], [libs], [$2])
15972
+# _AM_SUBST_NOTMAKE(VARIABLE)
15973
+# ---------------------------
15974
+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
15975
+# This macro is traced by Automake.
15976
+AC_DEFUN([_AM_SUBST_NOTMAKE])
15978
-m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
15979
-and $1[]_LIBS to avoid the need to call pkg-config.
15980
-See the pkg-config man page for more details.])
15981
+# AM_SUBST_NOTMAKE(VARIABLE)
15982
+# ---------------------------
15983
+# Public sister of _AM_SUBST_NOTMAKE.
15984
+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
15986
-if test $pkg_failed = yes; then
15987
- _PKG_SHORT_ERRORS_SUPPORTED
15988
- if test $_pkg_short_errors_supported = yes; then
136
15989
- $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
137
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
139
15991
- $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
140
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
142
# Put the nasty error message in config.log where it belongs
143
echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
144
@@ -8164,7 +8179,7 @@
146
])# PKG_CHECK_MODULES
148
-# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
149
+# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
151
# This file is free software; the Free Software Foundation
152
# gives unlimited permission to copy and/or distribute it,
153
@@ -8179,7 +8194,7 @@
154
[am__api_version='1.10'
155
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
156
dnl require some minimum version. Point them to the right macro.
157
-m4_if([$1], [1.10.2], [],
158
+m4_if([$1], [1.10.1], [],
159
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
162
@@ -8193,12 +8208,12 @@
163
# AM_SET_CURRENT_AUTOMAKE_VERSION
164
# -------------------------------
165
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
166
-# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
167
+# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
168
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
169
-[AM_AUTOMAKE_VERSION([1.10.2])dnl
170
+[AM_AUTOMAKE_VERSION([1.10.1])dnl
171
m4_ifndef([AC_AUTOCONF_VERSION],
172
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
173
-_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
174
+_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
176
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
178
@@ -8448,28 +8463,19 @@
180
# Generate code to set up dependency tracking. -*- Autoconf -*-
182
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
183
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
184
# Free Software Foundation, Inc.
186
# This file is free software; the Free Software Foundation
187
# gives unlimited permission to copy and/or distribute it,
188
# with or without modifications, as long as this notice is preserved.
193
# _AM_OUTPUT_DEPENDENCY_COMMANDS
194
# ------------------------------
195
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
196
-[# Autoconf 2.62 quotes --file arguments for eval, but not when files
197
-# are listed without --file. Let's play safe and only enable the eval
198
-# if we detect the quoting.
199
-case $CONFIG_FILES in
200
-*\'*) eval set x "$CONFIG_FILES" ;;
201
-*) set x $CONFIG_FILES ;;
15993
- # Put the nasty error message in config.log where it belongs
15994
- echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
15995
+# Check how to create a tarball. -*- Autoconf -*-
15997
- ifelse([$4], , [AC_MSG_ERROR(dnl
15998
-[Package requirements ($2) were not met:
15999
+# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
16001
+# This file is free software; the Free Software Foundation
16002
+# gives unlimited permission to copy and/or distribute it,
16003
+# with or without modifications, as long as this notice is preserved.
16008
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
16009
-installed software in a non-standard prefix.
16010
+# _AM_PROG_TAR(FORMAT)
16011
+# --------------------
16012
+# Check how to create a tarball in format FORMAT.
16013
+# FORMAT should be one of `v7', `ustar', or `pax'.
16015
+# Substitute a variable $(am__tar) that is a command
16016
+# writing to stdout a FORMAT-tarball containing the directory
16018
+# tardir=directory && $(am__tar) > result.tar
16020
+# Substitute a variable $(am__untar) that extract such
16021
+# a tarball read from stdin.
16022
+# $(am__untar) < result.tar
16023
+AC_DEFUN([_AM_PROG_TAR],
16024
+[# Always define AMTAR for backward compatibility.
16025
+AM_MISSING_PROG([AMTAR], [tar])
16027
+ [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
16028
+ [m4_case([$1], [ustar],, [pax],,
16029
+ [m4_fatal([Unknown tar format])])
16030
+AC_MSG_CHECKING([how to create a $1 tar archive])
16031
+# Loop over all known methods to create a tar archive until one works.
16032
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
16033
+_am_tools=${am_cv_prog_tar_$1-$_am_tools}
16034
+# Do not fold the above two line into one, because Tru64 sh and
16035
+# Solaris sh will not grok spaces in the rhs of `-'.
16036
+for _am_tool in $_am_tools
16038
+ case $_am_tool in
16040
+ for _am_tar in tar gnutar gtar;
16042
+ AM_RUN_LOG([$_am_tar --version]) && break
16044
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
16045
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
16046
+ am__untar="$_am_tar -xf -"
16049
+ # Must skip GNU tar: if it does not support --format= it doesn't create
16050
+ # ustar tarball either.
16051
+ (tar --version) >/dev/null 2>&1 && continue
16052
+ am__tar='tar chf - "$$tardir"'
16053
+ am__tar_='tar chf - "$tardir"'
16054
+ am__untar='tar xf -'
16057
+ am__tar='pax -L -x $1 -w "$$tardir"'
16058
+ am__tar_='pax -L -x $1 -w "$tardir"'
16059
+ am__untar='pax -r'
16062
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
16063
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
16064
+ am__untar='cpio -i -H $1 -d'
16075
- [AC_MSG_RESULT([no])
16077
-elif test $pkg_failed = untried; then
16078
- ifelse([$4], , [AC_MSG_FAILURE(dnl
16079
-[The pkg-config script could not be found or is too old. Make sure it
16080
-is in your PATH or set the PKG_CONFIG environment variable to the full
16081
-path to pkg-config.
16082
+ # If the value was cached, stop now. We just wanted to have am__tar
16083
+ # and am__untar set.
16084
+ test -n "${am_cv_prog_tar_$1}" && break
16087
+ # tar/untar a dummy directory, and stop if the command works
16088
+ rm -rf conftest.dir
16089
+ mkdir conftest.dir
16090
+ echo GrepMe > conftest.dir/file
16091
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
16092
+ rm -rf conftest.dir
16093
+ if test -s conftest.tar; then
16094
+ AM_RUN_LOG([$am__untar <conftest.tar])
16095
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
16098
+rm -rf conftest.dir
16100
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
16103
- $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
16104
- $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
16105
- AC_MSG_RESULT([yes])
16106
- ifelse([$3], , :, [$3])
16108
-])# PKG_CHECK_MODULES
16109
+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
16110
+AC_MSG_RESULT([$am_cv_prog_tar_$1])])
16111
+AC_SUBST([am__tar])
16112
+AC_SUBST([am__untar])
16115
m4_include([acinclude.m4])
16116
diff -Naur '-x*config.guess' '-x*config.sub' orbit2-2.14.18.old/config.h.in orbit2-2.14.18/config.h.in
16117
--- orbit2-2.14.18.old/config.h.in 2010-03-30 12:52:18.000000000 +0200
16118
+++ orbit2-2.14.18/config.h.in 2010-04-08 12:32:05.646317587 +0200
16119
@@ -178,6 +178,9 @@
16120
/* Define to the one symbol short name of this package. */
16121
#undef PACKAGE_TARNAME
16123
+/* Define to the home page for this package. */
16124
+#undef PACKAGE_URL
16126
/* Define to the version of this package. */
16127
#undef PACKAGE_VERSION
16129
diff -Naur '-x*config.guess' '-x*config.sub' orbit2-2.14.18.old/configure orbit2-2.14.18/configure
16130
--- orbit2-2.14.18.old/configure 2010-03-30 12:52:18.000000000 +0200
16131
+++ orbit2-2.14.18/configure 2010-04-08 12:32:05.219304167 +0200
16134
# Guess values for system-dependent variables and create Makefiles.
16135
-# Generated by GNU Autoconf 2.63 for ORBit2 2.14.18.
16136
+# Generated by GNU Autoconf 2.65 for ORBit2 2.14.18.
16138
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=ORBit2>.
16141
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
16142
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
16143
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
16147
# This configure script is free software; the Free Software Foundation
16148
# gives unlimited permission to copy, distribute and modify it.
16149
-## --------------------- ##
16150
-## M4sh Initialization. ##
16151
-## --------------------- ##
16152
+## -------------------- ##
16153
+## M4sh Initialization. ##
16154
+## -------------------- ##
16156
# Be more Bourne compatible
16157
DUALCASE=1; export DUALCASE # for MKS sh
16158
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16159
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16162
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16163
@@ -22,23 +26,15 @@
16164
alias -g '${1+"$@"}'='"$@"'
16165
setopt NO_GLOB_SUBST
16167
- case `(set -o) 2>/dev/null` in
16168
- *posix*) set -o posix ;;
16169
+ case `(set -o) 2>/dev/null` in #(
16171
+ set -o posix ;; #(
16182
-# Avoid depending upon Character Ranges.
16183
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16184
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16185
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16186
-as_cr_digits='0123456789'
16187
-as_cr_alnum=$as_cr_Letters$as_cr_digits
16193
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16194
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16195
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16196
-if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16197
+# Prefer a ksh shell builtin over an external printf program on Solaris,
16198
+# but without wasting forks for bash or zsh.
16199
+if test -z "$BASH_VERSION$ZSH_VERSION" \
16200
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16201
+ as_echo='print -r --'
16202
+ as_echo_n='print -rn --'
16203
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16204
as_echo='printf %s\n'
16205
as_echo_n='printf %s'
16208
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16209
as_echo_n_body='eval
16214
expr "X$arg" : "X\\(.*\\)$as_nl";
16215
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16220
-# Support unset when possible.
16221
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
16229
# We need space, tab and new line, in precisely that order. Quoting is
16230
@@ -96,15 +91,15 @@
16233
# Find who we are. Look in the path if we contain no directory separator.
16236
*[\\/]* ) as_myself=$0 ;;
16237
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16238
for as_dir in $PATH
16241
test -z "$as_dir" && as_dir=.
16242
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16244
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16249
@@ -116,12 +111,16 @@
16251
if test ! -f "$as_myself"; then
16252
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16253
- { (exit 1); exit 1; }
16257
-# Work around bugs in pre-3.0 UWIN ksh.
16258
-for as_var in ENV MAIL MAILPATH
16259
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
16260
+# Unset variables that we do not need and which cause bugs (e.g. in
16261
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16262
+# suppresses any "Segmentation fault" message there. '((' could
16263
+# trigger a bug in pdksh 5.2.14.
16264
+for as_var in BASH_ENV ENV MAIL MAILPATH
16265
+do eval test x\${$as_var+set} = xset \
16266
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16270
@@ -133,330 +132,301 @@
16274
-# Required to use basename.
16275
-if expr a : '\(a\)' >/dev/null 2>&1 &&
16276
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
16282
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16283
- as_basename=basename
16285
- as_basename=false
16289
-# Name of the executable.
16290
-as_me=`$as_basename -- "$0" ||
16291
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16292
- X"$0" : 'X\(//\)$' \| \
16293
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16295
- sed '/^.*\/\([^/][^/]*\)\/*$/{
16312
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16314
if test "x$CONFIG_SHELL" = x; then
16315
- if (eval ":") 2>/dev/null; then
16316
- as_have_required=yes
16317
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
16320
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
16321
+ # is contrary to our usage. Disable this feature.
16322
+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
16323
+ setopt NO_GLOB_SUBST
16325
- as_have_required=no
16326
+ case \`(set -o) 2>/dev/null\` in #(
16328
+ set -o posix ;; #(
16334
- if test $as_have_required = yes && (eval ":
16335
-(as_func_return () {
16338
-as_func_success () {
16341
-as_func_failure () {
16344
-as_func_ret_success () {
16347
-as_func_ret_failure () {
16351
+ as_required="as_fn_return () { (exit \$1); }
16352
+as_fn_success () { as_fn_return 0; }
16353
+as_fn_failure () { as_fn_return 1; }
16354
+as_fn_ret_success () { return 0; }
16355
+as_fn_ret_failure () { return 1; }
16358
-if as_func_success; then
16362
- echo as_func_success failed.
16365
-if as_func_failure; then
16367
- echo as_func_failure succeeded.
16370
-if as_func_ret_success; then
16374
- echo as_func_ret_success failed.
16377
-if as_func_ret_failure; then
16379
- echo as_func_ret_failure succeeded.
16382
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
16384
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
16385
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
16386
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
16387
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
16388
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
16391
+ exitcode=1; echo positional parameters were not saved.
16393
+test x\$exitcode = x0 || exit 1"
16394
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
16395
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
16396
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
16397
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
16398
+test \$(( 1 + 1 )) = 2 || exit 1"
16399
+ if (eval "$as_required") 2>/dev/null; then :
16400
+ as_have_required=yes
16403
- echo positional parameters were not saved.
16404
+ as_have_required=no
16406
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
16408
-test \$exitcode = 0) || { (exit 1); exit 1; }
16411
- as_lineno_1=\$LINENO
16412
- as_lineno_2=\$LINENO
16413
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
16414
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
16415
-") 2> /dev/null; then
16418
- as_candidate_shells=
16419
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16420
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16422
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
16425
test -z "$as_dir" && as_dir=.
16428
+ case $as_dir in #(
16430
for as_base in sh bash ksh sh5; do
16431
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
16432
+ # Try only shells that exist, to save several forks.
16433
+ as_shell=$as_dir/$as_base
16434
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
16435
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
16436
+ CONFIG_SHELL=$as_shell as_have_required=yes
16437
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
16445
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
16446
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
16447
+ CONFIG_SHELL=$SHELL as_have_required=yes
16452
- for as_shell in $as_candidate_shells $SHELL; do
16453
- # Try only shells that exist, to save several forks.
16454
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
16455
- { ("$as_shell") 2> /dev/null <<\_ASEOF
16456
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16459
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16460
- # is contrary to our usage. Disable this feature.
16461
- alias -g '${1+"$@"}'='"$@"'
16462
- setopt NO_GLOB_SUBST
16464
- case `(set -o) 2>/dev/null` in
16465
- *posix*) set -o posix ;;
16474
- CONFIG_SHELL=$as_shell
16475
- as_have_required=yes
16476
- if { "$as_shell" 2> /dev/null <<\_ASEOF
16477
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16480
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16481
- # is contrary to our usage. Disable this feature.
16482
- alias -g '${1+"$@"}'='"$@"'
16483
- setopt NO_GLOB_SUBST
16485
- case `(set -o) 2>/dev/null` in
16486
- *posix*) set -o posix ;;
16493
-(as_func_return () {
16496
-as_func_success () {
16499
-as_func_failure () {
16502
-as_func_ret_success () {
16505
-as_func_ret_failure () {
16510
-if as_func_success; then
16514
- echo as_func_success failed.
16517
-if as_func_failure; then
16519
- echo as_func_failure succeeded.
16522
-if as_func_ret_success; then
16526
- echo as_func_ret_success failed.
16529
-if as_func_ret_failure; then
16531
- echo as_func_ret_failure succeeded.
16534
-if ( set x; as_func_ret_success y && test x = "$1" ); then
16538
- echo positional parameters were not saved.
16541
-test $exitcode = 0) || { (exit 1); exit 1; }
16544
- as_lineno_1=$LINENO
16545
- as_lineno_2=$LINENO
16546
- test "x$as_lineno_1" != "x$as_lineno_2" &&
16547
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
16558
- if test "x$CONFIG_SHELL" != x; then
16559
- for as_var in BASH_ENV ENV
16560
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
16562
+ if test "x$CONFIG_SHELL" != x; then :
16563
+ # We cannot yet assume a decent shell, so we have to provide a
16564
+ # neutralization value for shells without unset; and this also
16565
+ # works around shells that cannot unset nonexistent variables.
16566
+ BASH_ENV=/dev/null
16568
+ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
16569
export CONFIG_SHELL
16570
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
16574
- if test $as_have_required = no; then
16575
- echo This script requires a shell more modern than all the
16576
- echo shells that I found on your system. Please install a
16577
- echo modern shell, or manually run the script under such a
16578
- echo shell if you do have one.
16579
- { (exit 1); exit 1; }
16580
+ if test x$as_have_required = xno; then :
16581
+ $as_echo "$0: This script requires a shell more modern than all"
16582
+ $as_echo "$0: the shells that I found on your system."
16583
+ if test x${ZSH_VERSION+set} = xset ; then
16584
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
16585
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
16587
+ $as_echo "$0: Please tell bug-autoconf@gnu.org and
16588
+$0: http://bugzilla.gnome.org/enter_bug.cgi?product=ORBit2
16589
+$0: about your system, including any error possibly output
16590
+$0: before this message. Then install a modern shell, or
16591
+$0: manually run the script under such a shell if you do
16601
+SHELL=${CONFIG_SHELL-/bin/sh}
16603
+# Unset more variables known to interfere with behavior of common tools.
16604
+CLICOLOR_FORCE= GREP_OPTIONS=
16605
+unset CLICOLOR_FORCE GREP_OPTIONS
16607
+## --------------------- ##
16608
+## M4sh Shell Functions. ##
16609
+## --------------------- ##
16612
+# Portably unset VAR.
16615
+ { eval $1=; unset $1;}
16617
+as_unset=as_fn_unset
16619
+# as_fn_set_status STATUS
16620
+# -----------------------
16621
+# Set $? to STATUS, without forking.
16622
+as_fn_set_status ()
16625
+} # as_fn_set_status
16627
+# as_fn_exit STATUS
16628
+# -----------------
16629
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16633
+ as_fn_set_status $1
16639
+# Create "$as_dir" as a directory, including parents if necessary.
16643
+ case $as_dir in #(
16644
+ -*) as_dir=./$as_dir;;
16646
+ test -d "$as_dir" || eval $as_mkdir_p || {
16649
+ case $as_dir in #(
16650
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16651
+ *) as_qdir=$as_dir;;
16653
+ as_dirs="'$as_qdir' $as_dirs"
16654
+ as_dir=`$as_dirname -- "$as_dir" ||
16655
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16656
+ X"$as_dir" : 'X\(//\)[^/]' \| \
16657
+ X"$as_dir" : 'X\(//\)$' \| \
16658
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16659
+$as_echo X"$as_dir" |
16660
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16664
+ /^X\(\/\/\)[^/].*/{
16677
+ test -d "$as_dir" && break
16679
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
16680
+ } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
16683
-(eval "as_func_return () {
16686
-as_func_success () {
16689
-as_func_failure () {
16692
-as_func_ret_success () {
16695
-as_func_ret_failure () {
16699
+# as_fn_append VAR VALUE
16700
+# ----------------------
16701
+# Append the text in VALUE to the end of the definition contained in VAR. Take
16702
+# advantage of any shell optimizations that allow amortized linear growth over
16703
+# repeated appends, instead of the typical quadratic growth present in naive
16704
+# implementations.
16705
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16706
+ eval 'as_fn_append ()
16718
-if as_func_success; then
16720
+# as_fn_arith ARG...
16721
+# ------------------
16722
+# Perform arithmetic evaluation on the ARGs, and store the result in the
16723
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
16724
+# must be portable across $(()) and expr.
16725
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16726
+ eval 'as_fn_arith ()
16732
- echo as_func_success failed.
16736
+ as_val=`expr "$@" || test $? -eq 1`
16740
-if as_func_failure; then
16742
- echo as_func_failure succeeded.
16745
-if as_func_ret_success; then
16747
+# as_fn_error ERROR [LINENO LOG_FD]
16748
+# ---------------------------------
16749
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16750
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16751
+# script with status $?, using 1 if that was 0.
16754
+ as_status=$?; test $as_status -eq 0 && as_status=1
16755
+ if test "$3"; then
16756
+ as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16757
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16759
+ $as_echo "$as_me: error: $1" >&2
16760
+ as_fn_exit $as_status
16763
+if expr a : '\(a\)' >/dev/null 2>&1 &&
16764
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
16768
- echo as_func_ret_success failed.
16772
-if as_func_ret_failure; then
16774
- echo as_func_ret_failure succeeded.
16775
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16776
+ as_basename=basename
16778
+ as_basename=false
16781
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
16783
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16784
+ as_dirname=dirname
16787
- echo positional parameters were not saved.
16791
-test \$exitcode = 0") || {
16792
- echo No shell found that supports shell functions.
16793
- echo Please tell bug-autoconf@gnu.org about your system,
16794
- echo including any error possibly output before this message.
16795
- echo This can help us improve future autoconf versions.
16796
- echo Configuration will now proceed without shell functions.
16798
+as_me=`$as_basename -- "$0" ||
16799
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16800
+ X"$0" : 'X\(//\)$' \| \
16801
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16803
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
16817
+# Avoid depending upon Character Ranges.
16818
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16819
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16820
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16821
+as_cr_digits='0123456789'
16822
+as_cr_alnum=$as_cr_Letters$as_cr_digits
16825
- as_lineno_1=$LINENO
16826
- as_lineno_2=$LINENO
16827
- test "x$as_lineno_1" != "x$as_lineno_2" &&
16828
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
16830
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16831
- # uniformly replaced by the line number. The first 'sed' inserts a
16832
- # line-number line after each line using $LINENO; the second 'sed'
16833
- # does the real work. The second script uses 'N' to pair each
16834
- # line-number line with the line containing $LINENO, and appends
16835
- # trailing '-' during substitution so that $LINENO is not a special
16836
- # case at line end.
16837
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16838
- # scripts with optimization help from Paolo Bonzini. Blame Lee
16839
- # E. McMahon (1931-1989) for sed's syntax. :-)
16840
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
16841
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
16842
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
16843
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
16844
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
16848
@@ -473,8 +443,7 @@
16850
' >$as_me.lineno &&
16851
chmod +x "$as_me.lineno" ||
16852
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
16853
- { (exit 1); exit 1; }; }
16854
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
16856
# Don't try to exec as it changes $[0], causing all sort of problems
16857
# (the dirname of $[0] is not the place where we might find the
16858
@@ -484,29 +453,18 @@
16863
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16864
- as_dirname=dirname
16869
ECHO_C= ECHO_N= ECHO_T=
16870
-case `echo -n x` in
16871
+case `echo -n x` in #(((((
16873
- case `echo 'x\c'` in
16874
+ case `echo 'xy\c'` in
16875
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
16877
+ xy) ECHO_C='\c';;
16878
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16884
-if expr a : '\(a\)' >/dev/null 2>&1 &&
16885
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
16891
rm -f conf$$ conf$$.exe conf$$.file
16892
if test -d conf$$.dir; then
16893
@@ -536,7 +494,7 @@
16894
rmdir conf$$.dir 2>/dev/null
16896
if mkdir -p . 2>/dev/null; then
16898
+ as_mkdir_p='mkdir -p "$as_dir"'
16900
test -d ./-p && rmdir ./-p
16902
@@ -555,10 +513,10 @@
16903
if test -d "$1"; then
16910
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
16911
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16912
???[sx]*):;;*)false;;esac;fi
16915
@@ -573,7 +531,6 @@
16920
# Check that we are running under the correct shell.
16921
SHELL=${CONFIG_SHELL-/bin/sh}
16923
@@ -722,7 +679,8 @@
16927
-exec 7<&0 </dev/null 6>&1
16928
+test -n "$DJDIR" || exec 7<&0 </dev/null
16931
# Name of the host.
16932
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
16933
@@ -740,7 +698,6 @@
16937
-SHELL=${CONFIG_SHELL-/bin/sh}
16939
# Identity of this package.
16940
PACKAGE_NAME='ORBit2'
16941
@@ -748,6 +705,7 @@
16942
PACKAGE_VERSION='2.14.18'
16943
PACKAGE_STRING='ORBit2 2.14.18'
16944
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=ORBit2'
16947
# Factoring default headers for most tests.
16948
ac_includes_default="\
16949
@@ -946,6 +904,7 @@
16950
program_transform_name
16957
@@ -1100,8 +1059,7 @@
16958
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
16959
# Reject names that are not valid shell variable names.
16960
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
16961
- { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
16962
- { (exit 1); exit 1; }; }
16963
+ as_fn_error "invalid feature name: $ac_useropt"
16964
ac_useropt_orig=$ac_useropt
16965
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
16966
case $ac_user_opts in
16967
@@ -1127,8 +1085,7 @@
16968
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
16969
# Reject names that are not valid shell variable names.
16970
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
16971
- { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
16972
- { (exit 1); exit 1; }; }
16973
+ as_fn_error "invalid feature name: $ac_useropt"
16974
ac_useropt_orig=$ac_useropt
16975
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
16976
case $ac_user_opts in
16977
@@ -1332,8 +1289,7 @@
16978
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
16979
# Reject names that are not valid shell variable names.
16980
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
16981
- { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
16982
- { (exit 1); exit 1; }; }
16983
+ as_fn_error "invalid package name: $ac_useropt"
16984
ac_useropt_orig=$ac_useropt
16985
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
16986
case $ac_user_opts in
16987
@@ -1349,8 +1305,7 @@
16988
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
16989
# Reject names that are not valid shell variable names.
16990
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
16991
- { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
16992
- { (exit 1); exit 1; }; }
16993
+ as_fn_error "invalid package name: $ac_useropt"
16994
ac_useropt_orig=$ac_useropt
16995
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
16996
case $ac_user_opts in
16997
@@ -1380,17 +1335,17 @@
16998
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
16999
x_libraries=$ac_optarg ;;
17001
- -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
17002
-Try \`$0 --help' for more information." >&2
17003
- { (exit 1); exit 1; }; }
17004
+ -*) as_fn_error "unrecognized option: \`$ac_option'
17005
+Try \`$0 --help' for more information."
17009
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
17010
# Reject names that are not valid shell variable names.
17011
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
17012
- { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
17013
- { (exit 1); exit 1; }; }
17014
+ case $ac_envvar in #(
17015
+ '' | [0-9]* | *[!_$as_cr_alnum]* )
17016
+ as_fn_error "invalid variable name: \`$ac_envvar'" ;;
17018
eval $ac_envvar=\$ac_optarg
17019
export $ac_envvar ;;
17021
@@ -1407,15 +1362,13 @@
17023
if test -n "$ac_prev"; then
17024
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
17025
- { $as_echo "$as_me: error: missing argument to $ac_option" >&2
17026
- { (exit 1); exit 1; }; }
17027
+ as_fn_error "missing argument to $ac_option"
17030
if test -n "$ac_unrecognized_opts"; then
17031
case $enable_option_checking in
17033
- fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
17034
- { (exit 1); exit 1; }; } ;;
17035
+ fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
17036
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
17039
@@ -1438,8 +1391,7 @@
17040
[\\/$]* | ?:[\\/]* ) continue;;
17041
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
17043
- { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
17044
- { (exit 1); exit 1; }; }
17045
+ as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
17048
# There might be people who depend on the old broken behavior: `$host'
17049
@@ -1469,11 +1421,9 @@
17050
ac_pwd=`pwd` && test -n "$ac_pwd" &&
17051
ac_ls_di=`ls -di .` &&
17052
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
17053
- { $as_echo "$as_me: error: working directory cannot be determined" >&2
17054
- { (exit 1); exit 1; }; }
17055
+ as_fn_error "working directory cannot be determined"
17056
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
17057
- { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
17058
- { (exit 1); exit 1; }; }
17059
+ as_fn_error "pwd does not report name of working directory"
17062
# Find the source files, if location was not specified.
17063
@@ -1512,13 +1462,11 @@
17065
if test ! -r "$srcdir/$ac_unique_file"; then
17066
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
17067
- { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
17068
- { (exit 1); exit 1; }; }
17069
+ as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
17071
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
17073
- cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
17074
- { (exit 1); exit 1; }; }
17075
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
17077
# When building in place, set srcdir=.
17078
if test "$ac_abs_confdir" = "$ac_pwd"; then
17079
@@ -1635,9 +1583,9 @@
17080
--enable-compile-warnings=no/yes Turn on compiler warnings.
17081
--enable-debug=no/yes turn on debugging default=no
17082
--enable-purify be clean for memory debuggers
17083
- --enable-gtk-doc use gtk-doc to build documentation [default=no]
17084
- --enable-gtk-doc-html build documentation in html format [default=yes]
17085
- --enable-gtk-doc-pdf build documentation in pdf format [default=no]
17086
+ --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
17087
+ --enable-gtk-doc-html build documentation in html format [[default=yes]]
17088
+ --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
17091
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
17092
@@ -1654,7 +1602,7 @@
17093
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
17094
nonstandard directory <lib dir>
17095
LIBS libraries to pass to the linker, e.g. -l<library>
17096
- CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
17097
+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
17098
you have headers in a nonstandard directory <include dir>
17100
PKG_CONFIG path to pkg-config utility
17101
@@ -1739,21 +1687,432 @@
17102
if $ac_init_version; then
17104
ORBit2 configure 2.14.18
17105
-generated by GNU Autoconf 2.63
17106
+generated by GNU Autoconf 2.65
17108
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
17109
-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
17110
+Copyright (C) 2009 Free Software Foundation, Inc.
17111
This configure script is free software; the Free Software Foundation
17112
gives unlimited permission to copy, distribute and modify it.
17117
+## ------------------------ ##
17118
+## Autoconf initialization. ##
17119
+## ------------------------ ##
17121
+# ac_fn_c_try_compile LINENO
17122
+# --------------------------
17123
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
17124
+ac_fn_c_try_compile ()
17126
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17127
+ rm -f conftest.$ac_objext
17128
+ if { { ac_try="$ac_compile"
17129
+case "(($ac_try" in
17130
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17131
+ *) ac_try_echo=$ac_try;;
17133
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17134
+$as_echo "$ac_try_echo"; } >&5
17135
+ (eval "$ac_compile") 2>conftest.err
17137
+ if test -s conftest.err; then
17138
+ grep -v '^ *+' conftest.err >conftest.er1
17139
+ cat conftest.er1 >&5
17140
+ mv -f conftest.er1 conftest.err
17142
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17143
+ test $ac_status = 0; } && {
17144
+ test -z "$ac_c_werror_flag" ||
17145
+ test ! -s conftest.err
17146
+ } && test -s conftest.$ac_objext; then :
17149
+ $as_echo "$as_me: failed program was:" >&5
17150
+sed 's/^/| /' conftest.$ac_ext >&5
17154
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
17155
+ as_fn_set_status $ac_retval
17157
+} # ac_fn_c_try_compile
17159
+# ac_fn_c_try_link LINENO
17160
+# -----------------------
17161
+# Try to link conftest.$ac_ext, and return whether this succeeded.
17162
+ac_fn_c_try_link ()
17164
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17165
+ rm -f conftest.$ac_objext conftest$ac_exeext
17166
+ if { { ac_try="$ac_link"
17167
+case "(($ac_try" in
17168
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17169
+ *) ac_try_echo=$ac_try;;
17171
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17172
+$as_echo "$ac_try_echo"; } >&5
17173
+ (eval "$ac_link") 2>conftest.err
17175
+ if test -s conftest.err; then
17176
+ grep -v '^ *+' conftest.err >conftest.er1
17177
+ cat conftest.er1 >&5
17178
+ mv -f conftest.er1 conftest.err
17180
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17181
+ test $ac_status = 0; } && {
17182
+ test -z "$ac_c_werror_flag" ||
17183
+ test ! -s conftest.err
17184
+ } && test -s conftest$ac_exeext && {
17185
+ test "$cross_compiling" = yes ||
17186
+ $as_test_x conftest$ac_exeext
17190
+ $as_echo "$as_me: failed program was:" >&5
17191
+sed 's/^/| /' conftest.$ac_ext >&5
17195
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
17196
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
17197
+ # interfere with the next link command; also delete a directory that is
17198
+ # left behind by Apple's compiler. We do this before executing the actions.
17199
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
17200
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
17201
+ as_fn_set_status $ac_retval
17203
+} # ac_fn_c_try_link
17205
+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
17206
+# -------------------------------------------------------
17207
+# Tests whether HEADER exists and can be compiled using the include files in
17208
+# INCLUDES, setting the cache variable VAR accordingly.
17209
+ac_fn_c_check_header_compile ()
17211
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17212
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
17213
+$as_echo_n "checking for $2... " >&6; }
17214
+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
17215
+ $as_echo_n "(cached) " >&6
17217
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17218
+/* end confdefs.h. */
17222
+if ac_fn_c_try_compile "$LINENO"; then :
17227
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17230
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17231
+$as_echo "$ac_res" >&6; }
17232
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
17234
+} # ac_fn_c_check_header_compile
17236
+# ac_fn_c_try_cpp LINENO
17237
+# ----------------------
17238
+# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
17239
+ac_fn_c_try_cpp ()
17241
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17242
+ if { { ac_try="$ac_cpp conftest.$ac_ext"
17243
+case "(($ac_try" in
17244
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17245
+ *) ac_try_echo=$ac_try;;
17247
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17248
+$as_echo "$ac_try_echo"; } >&5
17249
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
17251
+ if test -s conftest.err; then
17252
+ grep -v '^ *+' conftest.err >conftest.er1
17253
+ cat conftest.er1 >&5
17254
+ mv -f conftest.er1 conftest.err
17256
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17257
+ test $ac_status = 0; } >/dev/null && {
17258
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17259
+ test ! -s conftest.err
17263
+ $as_echo "$as_me: failed program was:" >&5
17264
+sed 's/^/| /' conftest.$ac_ext >&5
17268
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
17269
+ as_fn_set_status $ac_retval
17271
+} # ac_fn_c_try_cpp
17273
+# ac_fn_c_try_run LINENO
17274
+# ----------------------
17275
+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
17276
+# that executables *can* be run.
17277
+ac_fn_c_try_run ()
17279
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17280
+ if { { ac_try="$ac_link"
17281
+case "(($ac_try" in
17282
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17283
+ *) ac_try_echo=$ac_try;;
17285
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17286
+$as_echo "$ac_try_echo"; } >&5
17287
+ (eval "$ac_link") 2>&5
17289
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17290
+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
17291
+ { { case "(($ac_try" in
17292
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17293
+ *) ac_try_echo=$ac_try;;
17295
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17296
+$as_echo "$ac_try_echo"; } >&5
17297
+ (eval "$ac_try") 2>&5
17299
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17300
+ test $ac_status = 0; }; }; then :
17303
+ $as_echo "$as_me: program exited with status $ac_status" >&5
17304
+ $as_echo "$as_me: failed program was:" >&5
17305
+sed 's/^/| /' conftest.$ac_ext >&5
17307
+ ac_retval=$ac_status
17309
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
17310
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
17311
+ as_fn_set_status $ac_retval
17313
+} # ac_fn_c_try_run
17315
+# ac_fn_c_check_func LINENO FUNC VAR
17316
+# ----------------------------------
17317
+# Tests whether FUNC exists, setting the cache variable VAR accordingly
17318
+ac_fn_c_check_func ()
17320
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17321
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
17322
+$as_echo_n "checking for $2... " >&6; }
17323
+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
17324
+ $as_echo_n "(cached) " >&6
17326
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17327
+/* end confdefs.h. */
17328
+/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
17329
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
17330
+#define $2 innocuous_$2
17332
+/* System header to define __stub macros and hopefully few prototypes,
17333
+ which can conflict with char $2 (); below.
17334
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17335
+ <limits.h> exists even on freestanding compilers. */
17338
+# include <limits.h>
17340
+# include <assert.h>
17345
+/* Override any GCC internal prototype to avoid an error.
17346
+ Use char because int might match the return type of a GCC
17347
+ builtin and then its argument prototype would still apply. */
17348
+#ifdef __cplusplus
17352
+/* The GNU C library defines this for functions which it implements
17353
+ to always fail with ENOSYS. Some functions are actually named
17354
+ something starting with __ and the normal name is an alias. */
17355
+#if defined __stub_$2 || defined __stub___$2
17367
+if ac_fn_c_try_link "$LINENO"; then :
17372
+rm -f core conftest.err conftest.$ac_objext \
17373
+ conftest$ac_exeext conftest.$ac_ext
17376
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17377
+$as_echo "$ac_res" >&6; }
17378
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
17380
+} # ac_fn_c_check_func
17382
+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
17383
+# -------------------------------------------------------
17384
+# Tests whether HEADER exists, giving a warning if it cannot be compiled using
17385
+# the include files in INCLUDES and setting the cache variable VAR
17387
+ac_fn_c_check_header_mongrel ()
17389
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17390
+ if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
17391
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
17392
+$as_echo_n "checking for $2... " >&6; }
17393
+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
17394
+ $as_echo_n "(cached) " >&6
17397
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17398
+$as_echo "$ac_res" >&6; }
17400
+ # Is the header compilable?
17401
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
17402
+$as_echo_n "checking $2 usability... " >&6; }
17403
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17404
+/* end confdefs.h. */
17408
+if ac_fn_c_try_compile "$LINENO"; then :
17409
+ ac_header_compiler=yes
17411
+ ac_header_compiler=no
17413
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17414
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
17415
+$as_echo "$ac_header_compiler" >&6; }
17417
+# Is the header present?
17418
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
17419
+$as_echo_n "checking $2 presence... " >&6; }
17420
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17421
+/* end confdefs.h. */
17424
+if ac_fn_c_try_cpp "$LINENO"; then :
17425
+ ac_header_preproc=yes
17427
+ ac_header_preproc=no
17429
+rm -f conftest.err conftest.$ac_ext
17430
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
17431
+$as_echo "$ac_header_preproc" >&6; }
17433
+# So? What about this header?
17434
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
17436
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
17437
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
17438
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
17439
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
17442
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
17443
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
17444
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
17445
+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
17446
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
17447
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
17448
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
17449
+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
17450
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
17451
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
17453
+## --------------------------------------------------------------------- ##
17454
+## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=ORBit2 ##
17455
+## --------------------------------------------------------------------- ##
17457
+ ) | sed "s/^/$as_me: WARNING: /" >&2
17460
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
17461
+$as_echo_n "checking for $2... " >&6; }
17462
+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
17463
+ $as_echo_n "(cached) " >&6
17465
+ eval "$3=\$ac_header_compiler"
17468
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17469
+$as_echo "$ac_res" >&6; }
17471
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
17473
+} # ac_fn_c_check_header_mongrel
17475
+# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
17476
+# -------------------------------------------
17477
+# Tests whether TYPE exists after having included INCLUDES, setting cache
17478
+# variable VAR accordingly.
17479
+ac_fn_c_check_type ()
17481
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17482
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
17483
+$as_echo_n "checking for $2... " >&6; }
17484
+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
17485
+ $as_echo_n "(cached) " >&6
17488
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17489
+/* end confdefs.h. */
17500
+if ac_fn_c_try_compile "$LINENO"; then :
17501
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17502
+/* end confdefs.h. */
17507
+if (sizeof (($2)))
17513
+if ac_fn_c_try_compile "$LINENO"; then :
17518
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17520
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17523
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17524
+$as_echo "$ac_res" >&6; }
17525
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
17527
+} # ac_fn_c_check_type
17528
cat >config.log <<_ACEOF
17529
This file contains any messages produced by compilers while
17530
running configure, to aid debugging if configure makes a mistake.
17532
It was created by ORBit2 $as_me 2.14.18, which was
17533
-generated by GNU Autoconf 2.63. Invocation command line was
17534
+generated by GNU Autoconf 2.65. Invocation command line was
17538
@@ -1789,8 +2148,8 @@
17541
test -z "$as_dir" && as_dir=.
17542
- $as_echo "PATH: $as_dir"
17544
+ $as_echo "PATH: $as_dir"
17549
@@ -1827,9 +2186,9 @@
17550
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
17553
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
17554
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
17556
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
17557
+ as_fn_append ac_configure_args1 " '$ac_arg'"
17558
if test $ac_must_keep_next = true; then
17559
ac_must_keep_next=false # Got value, back to normal.
17561
@@ -1845,13 +2204,13 @@
17562
-* ) ac_must_keep_next=true ;;
17565
- ac_configure_args="$ac_configure_args '$ac_arg'"
17566
+ as_fn_append ac_configure_args " '$ac_arg'"
17571
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
17572
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
17573
+{ ac_configure_args0=; unset ac_configure_args0;}
17574
+{ ac_configure_args1=; unset ac_configure_args1;}
17576
# When interrupted or exit'd, cleanup temporary files, and complete
17577
# config.log. We remove comments because anyway the quotes in there
17578
@@ -1876,13 +2235,13 @@
17582
- *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
17583
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17584
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17587
_ | IFS | as_nl) ;; #(
17588
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17589
- *) $as_unset $ac_var ;;
17590
+ *) { eval $ac_var=; unset $ac_var;} ;;
17594
@@ -1954,39 +2313,41 @@
17597
for ac_signal in 1 2 13 15; do
17598
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
17599
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
17603
# confdefs.h avoids OS command line length limits that DEFS can exceed.
17604
rm -f -r conftest* confdefs.h
17606
+$as_echo "/* confdefs.h */" > confdefs.h
17608
# Predefined preprocessor variables.
17610
cat >>confdefs.h <<_ACEOF
17611
#define PACKAGE_NAME "$PACKAGE_NAME"
17615
cat >>confdefs.h <<_ACEOF
17616
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
17620
cat >>confdefs.h <<_ACEOF
17621
#define PACKAGE_VERSION "$PACKAGE_VERSION"
17625
cat >>confdefs.h <<_ACEOF
17626
#define PACKAGE_STRING "$PACKAGE_STRING"
17630
cat >>confdefs.h <<_ACEOF
17631
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
17634
+cat >>confdefs.h <<_ACEOF
17635
+#define PACKAGE_URL "$PACKAGE_URL"
17639
# Let the site file select an alternate cache file if it wants to.
17640
# Prefer an explicitly selected file to automatically selected ones.
17641
@@ -2004,8 +2365,8 @@
17642
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
17644
test "x$ac_site_file" = xNONE && continue
17645
- if test -r "$ac_site_file"; then
17646
- { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
17647
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
17648
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
17649
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
17650
sed 's/^/| /' "$ac_site_file" >&5
17652
@@ -2013,10 +2374,10 @@
17655
if test -r "$cache_file"; then
17656
- # Some versions of bash will fail to source /dev/null (special
17657
- # files actually), so we avoid doing that.
17658
- if test -f "$cache_file"; then
17659
- { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
17660
+ # Some versions of bash will fail to source /dev/null (special files
17661
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
17662
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
17663
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
17664
$as_echo "$as_me: loading cache $cache_file" >&6;}
17665
case $cache_file in
17666
[\\/]* | ?:[\\/]* ) . "$cache_file";;
17667
@@ -2024,7 +2385,7 @@
17671
- { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
17672
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
17673
$as_echo "$as_me: creating cache $cache_file" >&6;}
17676
@@ -2039,11 +2400,11 @@
17677
eval ac_new_val=\$ac_env_${ac_var}_value
17678
case $ac_old_set,$ac_new_set in
17680
- { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
17681
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
17682
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
17683
ac_cache_corrupted=: ;;
17685
- { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
17686
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
17687
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
17688
ac_cache_corrupted=: ;;
17690
@@ -2053,17 +2414,17 @@
17691
ac_old_val_w=`echo x $ac_old_val`
17692
ac_new_val_w=`echo x $ac_new_val`
17693
if test "$ac_old_val_w" != "$ac_new_val_w"; then
17694
- { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
17695
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
17696
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
17697
ac_cache_corrupted=:
17699
- { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
17700
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
17701
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
17702
eval $ac_var=\$ac_old_val
17704
- { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
17705
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
17706
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
17707
- { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
17708
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
17709
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
17712
@@ -2075,43 +2436,20 @@
17714
case " $ac_configure_args " in
17715
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
17716
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
17717
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
17721
if $ac_cache_corrupted; then
17722
- { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17723
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17724
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17725
- { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
17726
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
17727
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
17728
- { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
17729
-$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
17730
- { (exit 1); exit 1; }; }
17731
+ as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
17757
+## -------------------- ##
17758
+## Main body of script. ##
17759
+## -------------------- ##
17762
ac_cpp='$CPP $CPPFLAGS'
17763
@@ -2159,24 +2497,16 @@
17766
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
17767
- if test -f "$ac_dir/install-sh"; then
17768
- ac_aux_dir=$ac_dir
17769
- ac_install_sh="$ac_aux_dir/install-sh -c"
17771
- elif test -f "$ac_dir/install.sh"; then
17772
- ac_aux_dir=$ac_dir
17773
- ac_install_sh="$ac_aux_dir/install.sh -c"
17775
- elif test -f "$ac_dir/shtool"; then
17776
- ac_aux_dir=$ac_dir
17777
- ac_install_sh="$ac_aux_dir/shtool install -c"
17780
+ for ac_t in install-sh install.sh shtool; do
17781
+ if test -f "$ac_dir/$ac_t"; then
17782
+ ac_aux_dir=$ac_dir
17783
+ ac_install_sh="$ac_aux_dir/$ac_t -c"
17788
if test -z "$ac_aux_dir"; then
17789
- { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
17790
-$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
17791
- { (exit 1); exit 1; }; }
17792
+ as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
17795
# These three variables are undocumented and unsupported,
17796
@@ -2202,10 +2532,10 @@
17797
# OS/2's system install, which has a completely different semantic
17798
# ./install, which can be erroneously created by make from ./install.sh.
17799
# Reject install programs that cannot install multiple files.
17800
-{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
17801
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
17802
$as_echo_n "checking for a BSD-compatible install... " >&6; }
17803
if test -z "$INSTALL"; then
17804
-if test "${ac_cv_path_install+set}" = set; then
17805
+if test "${ac_cv_path_install+set}" = set; then :
17806
$as_echo_n "(cached) " >&6
17808
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17809
@@ -2213,11 +2543,11 @@
17812
test -z "$as_dir" && as_dir=.
17813
- # Account for people who put trailing slashes in PATH elements.
17815
- ./ | .// | /cC/* | \
17816
+ # Account for people who put trailing slashes in PATH elements.
17817
+case $as_dir/ in #((
17818
+ ./ | .// | /[cC]/* | \
17819
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
17820
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
17821
+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
17824
# OSF1 and SCO ODT 3.0 have their own names for install.
17825
@@ -2254,7 +2584,7 @@
17833
rm -rf conftest.one conftest.two conftest.dir
17834
@@ -2270,7 +2600,7 @@
17835
INSTALL=$ac_install_sh
17838
-{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
17839
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
17840
$as_echo "$INSTALL" >&6; }
17842
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
17843
@@ -2281,7 +2611,7 @@
17845
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
17847
-{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
17848
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
17849
$as_echo_n "checking whether build environment is sane... " >&6; }
17852
@@ -2292,15 +2622,11 @@
17855
*[\\\"\#\$\&\'\`$am_lf]*)
17856
- { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
17857
-$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
17858
- { (exit 1); exit 1; }; };;
17859
+ as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
17862
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
17863
- { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
17864
-$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
17865
- { (exit 1); exit 1; }; };;
17866
+ as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
17869
# Do `set' in a subshell so we don't clobber the current shell's
17870
@@ -2322,11 +2648,8 @@
17871
# if, for instance, CONFIG_SHELL is bash and it inherits a
17872
# broken ls alias from the environment. This has actually
17873
# happened. Such a system could not be considered "sane".
17874
- { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
17875
-alias in your environment" >&5
17876
-$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
17877
-alias in your environment" >&2;}
17878
- { (exit 1); exit 1; }; }
17879
+ as_fn_error "ls -t appears to fail. Make sure there is not a broken
17880
+alias in your environment" "$LINENO" 5
17883
test "$2" = conftest.file
17884
@@ -2335,13 +2658,10 @@
17888
- { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
17889
-Check your system clock" >&5
17890
-$as_echo "$as_me: error: newly created file is older than distributed files!
17891
-Check your system clock" >&2;}
17892
- { (exit 1); exit 1; }; }
17893
+ as_fn_error "newly created file is older than distributed files!
17894
+Check your system clock" "$LINENO" 5
17896
-{ $as_echo "$as_me:$LINENO: result: yes" >&5
17897
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17898
$as_echo "yes" >&6; }
17899
test "$program_prefix" != NONE &&
17900
program_transform_name="s&^&$program_prefix&;$program_transform_name"
17901
@@ -2369,7 +2689,7 @@
17902
am_missing_run="$MISSING --run "
17905
- { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
17906
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
17907
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
17910
@@ -2390,9 +2710,9 @@
17911
if test -n "$ac_tool_prefix"; then
17912
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
17913
set dummy ${ac_tool_prefix}strip; ac_word=$2
17914
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17915
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17916
$as_echo_n "checking for $ac_word... " >&6; }
17917
-if test "${ac_cv_prog_STRIP+set}" = set; then
17918
+if test "${ac_cv_prog_STRIP+set}" = set; then :
17919
$as_echo_n "(cached) " >&6
17921
if test -n "$STRIP"; then
17922
@@ -2403,24 +2723,24 @@
17925
test -z "$as_dir" && as_dir=.
17926
- for ac_exec_ext in '' $ac_executable_extensions; do
17927
+ for ac_exec_ext in '' $ac_executable_extensions; do
17928
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17929
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
17930
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17931
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17941
STRIP=$ac_cv_prog_STRIP
17942
if test -n "$STRIP"; then
17943
- { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
17944
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
17945
$as_echo "$STRIP" >&6; }
17947
- { $as_echo "$as_me:$LINENO: result: no" >&5
17948
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17949
$as_echo "no" >&6; }
17952
@@ -2430,9 +2750,9 @@
17954
# Extract the first word of "strip", so it can be a program name with args.
17955
set dummy strip; ac_word=$2
17956
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17957
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17958
$as_echo_n "checking for $ac_word... " >&6; }
17959
-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
17960
+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
17961
$as_echo_n "(cached) " >&6
17963
if test -n "$ac_ct_STRIP"; then
17964
@@ -2443,24 +2763,24 @@
17967
test -z "$as_dir" && as_dir=.
17968
- for ac_exec_ext in '' $ac_executable_extensions; do
17969
+ for ac_exec_ext in '' $ac_executable_extensions; do
17970
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17971
ac_cv_prog_ac_ct_STRIP="strip"
17972
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17973
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17983
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
17984
if test -n "$ac_ct_STRIP"; then
17985
- { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
17986
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
17987
$as_echo "$ac_ct_STRIP" >&6; }
17989
- { $as_echo "$as_me:$LINENO: result: no" >&5
17990
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17991
$as_echo "no" >&6; }
17994
@@ -2469,7 +2789,7 @@
17996
case $cross_compiling:$ac_tool_warned in
17998
-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
17999
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18000
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18001
ac_tool_warned=yes ;;
18003
@@ -2482,10 +2802,10 @@
18005
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
18007
-{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
18008
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
18009
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
18010
if test -z "$MKDIR_P"; then
18011
- if test "${ac_cv_path_mkdir+set}" = set; then
18012
+ if test "${ac_cv_path_mkdir+set}" = set; then :
18013
$as_echo_n "(cached) " >&6
18015
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18016
@@ -2493,7 +2813,7 @@
18019
test -z "$as_dir" && as_dir=.
18020
- for ac_prog in mkdir gmkdir; do
18021
+ for ac_prog in mkdir gmkdir; do
18022
for ac_exec_ext in '' $ac_executable_extensions; do
18023
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
18024
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
18025
@@ -2505,11 +2825,12 @@
18035
+ test -d ./--version && rmdir ./--version
18036
if test "${ac_cv_path_mkdir+set}" = set; then
18037
MKDIR_P="$ac_cv_path_mkdir -p"
18039
@@ -2517,11 +2838,10 @@
18040
# value for MKDIR_P within a source directory, because that will
18041
# break other packages using the cache if that directory is
18042
# removed, or if the value is a relative name.
18043
- test -d ./--version && rmdir ./--version
18044
MKDIR_P="$ac_install_sh -d"
18047
-{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
18048
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
18049
$as_echo "$MKDIR_P" >&6; }
18052
@@ -2534,9 +2854,9 @@
18054
# Extract the first word of "$ac_prog", so it can be a program name with args.
18055
set dummy $ac_prog; ac_word=$2
18056
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18057
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18058
$as_echo_n "checking for $ac_word... " >&6; }
18059
-if test "${ac_cv_prog_AWK+set}" = set; then
18060
+if test "${ac_cv_prog_AWK+set}" = set; then :
18061
$as_echo_n "(cached) " >&6
18063
if test -n "$AWK"; then
18064
@@ -2547,24 +2867,24 @@
18067
test -z "$as_dir" && as_dir=.
18068
- for ac_exec_ext in '' $ac_executable_extensions; do
18069
+ for ac_exec_ext in '' $ac_executable_extensions; do
18070
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18071
ac_cv_prog_AWK="$ac_prog"
18072
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18073
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18083
AWK=$ac_cv_prog_AWK
18084
if test -n "$AWK"; then
18085
- { $as_echo "$as_me:$LINENO: result: $AWK" >&5
18086
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
18087
$as_echo "$AWK" >&6; }
18089
- { $as_echo "$as_me:$LINENO: result: no" >&5
18090
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18091
$as_echo "no" >&6; }
18094
@@ -2572,11 +2892,11 @@
18095
test -n "$AWK" && break
18098
-{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
18099
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
18100
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
18102
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
18103
-if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
18104
+if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
18105
$as_echo_n "(cached) " >&6
18107
cat >conftest.make <<\_ACEOF
18108
@@ -2594,11 +2914,11 @@
18109
rm -f conftest.make
18111
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
18112
- { $as_echo "$as_me:$LINENO: result: yes" >&5
18113
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18114
$as_echo "yes" >&6; }
18117
- { $as_echo "$as_me:$LINENO: result: no" >&5
18118
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18119
$as_echo "no" >&6; }
18120
SET_MAKE="MAKE=${MAKE-make}"
18122
@@ -2618,9 +2938,7 @@
18123
am__isrc=' -I$(srcdir)'
18124
# test to see if srcdir already configured
18125
if test -f $srcdir/config.status; then
18126
- { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
18127
-$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
18128
- { (exit 1); exit 1; }; }
18129
+ as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
18133
@@ -2672,35 +2990,27 @@
18135
# Make sure we can run config.sub.
18136
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
18137
- { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
18138
-$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
18139
- { (exit 1); exit 1; }; }
18140
+ as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
18142
-{ $as_echo "$as_me:$LINENO: checking build system type" >&5
18143
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
18144
$as_echo_n "checking build system type... " >&6; }
18145
-if test "${ac_cv_build+set}" = set; then
18146
+if test "${ac_cv_build+set}" = set; then :
18147
$as_echo_n "(cached) " >&6
18149
ac_build_alias=$build_alias
18150
test "x$ac_build_alias" = x &&
18151
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
18152
test "x$ac_build_alias" = x &&
18153
- { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
18154
-$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
18155
- { (exit 1); exit 1; }; }
18156
+ as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
18157
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
18158
- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
18159
-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
18160
- { (exit 1); exit 1; }; }
18161
+ as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
18164
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
18165
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
18166
$as_echo "$ac_cv_build" >&6; }
18167
case $ac_cv_build in
18169
-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
18170
-$as_echo "$as_me: error: invalid value of canonical build" >&2;}
18171
- { (exit 1); exit 1; }; };;
18172
+*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
18175
ac_save_IFS=$IFS; IFS='-'
18176
@@ -2716,28 +3026,24 @@
18177
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
18180
-{ $as_echo "$as_me:$LINENO: checking host system type" >&5
18181
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
18182
$as_echo_n "checking host system type... " >&6; }
18183
-if test "${ac_cv_host+set}" = set; then
18184
+if test "${ac_cv_host+set}" = set; then :
18185
$as_echo_n "(cached) " >&6
18187
if test "x$host_alias" = x; then
18188
ac_cv_host=$ac_cv_build
18190
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
18191
- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
18192
-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
18193
- { (exit 1); exit 1; }; }
18194
+ as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
18198
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
18199
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
18200
$as_echo "$ac_cv_host" >&6; }
18201
case $ac_cv_host in
18203
-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
18204
-$as_echo "$as_me: error: invalid value of canonical host" >&2;}
18205
- { (exit 1); exit 1; }; };;
18206
+*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
18209
ac_save_IFS=$IFS; IFS='-'
18210
@@ -2753,7 +3059,7 @@
18211
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
18214
-{ $as_echo "$as_me:$LINENO: checking for Win32" >&5
18215
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Win32" >&5
18216
$as_echo_n "checking for Win32... " >&6; }
18219
@@ -2767,7 +3073,7 @@
18223
-{ $as_echo "$as_me:$LINENO: result: $os_win32" >&5
18224
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
18225
$as_echo "$os_win32" >&6; }
18227
if test "$os_win32" = "yes"; then
18228
@@ -2785,12 +3091,12 @@
18230
if test "$os_win32" = "yes"; then
18231
if test x$enable_static = xyes -o x$enable_static = x; then
18232
- { $as_echo "$as_me:$LINENO: WARNING: Disabling static library build, must build as DLL on Windows." >&5
18233
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling static library build, must build as DLL on Windows." >&5
18234
$as_echo "$as_me: WARNING: Disabling static library build, must build as DLL on Windows." >&2;}
18237
if test x$enable_shared = xno; then
18238
- { $as_echo "$as_me:$LINENO: WARNING: Enabling shared library build, must build as DLL on Windows." >&5
18239
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling shared library build, must build as DLL on Windows." >&5
18240
$as_echo "$as_me: WARNING: Enabling shared library build, must build as DLL on Windows." >&2;}
18243
@@ -2804,9 +3110,9 @@
18244
if test -n "$ac_tool_prefix"; then
18245
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
18246
set dummy ${ac_tool_prefix}gcc; ac_word=$2
18247
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18248
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18249
$as_echo_n "checking for $ac_word... " >&6; }
18250
-if test "${ac_cv_prog_CC+set}" = set; then
18251
+if test "${ac_cv_prog_CC+set}" = set; then :
18252
$as_echo_n "(cached) " >&6
18254
if test -n "$CC"; then
18255
@@ -2817,24 +3123,24 @@
18258
test -z "$as_dir" && as_dir=.
18259
- for ac_exec_ext in '' $ac_executable_extensions; do
18260
+ for ac_exec_ext in '' $ac_executable_extensions; do
18261
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18262
ac_cv_prog_CC="${ac_tool_prefix}gcc"
18263
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18264
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18275
if test -n "$CC"; then
18276
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
18277
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
18278
$as_echo "$CC" >&6; }
18280
- { $as_echo "$as_me:$LINENO: result: no" >&5
18281
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18282
$as_echo "no" >&6; }
18285
@@ -2844,9 +3150,9 @@
18287
# Extract the first word of "gcc", so it can be a program name with args.
18288
set dummy gcc; ac_word=$2
18289
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18290
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18291
$as_echo_n "checking for $ac_word... " >&6; }
18292
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
18293
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
18294
$as_echo_n "(cached) " >&6
18296
if test -n "$ac_ct_CC"; then
18297
@@ -2857,24 +3163,24 @@
18300
test -z "$as_dir" && as_dir=.
18301
- for ac_exec_ext in '' $ac_executable_extensions; do
18302
+ for ac_exec_ext in '' $ac_executable_extensions; do
18303
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18304
ac_cv_prog_ac_ct_CC="gcc"
18305
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18306
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18316
ac_ct_CC=$ac_cv_prog_ac_ct_CC
18317
if test -n "$ac_ct_CC"; then
18318
- { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18319
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
18320
$as_echo "$ac_ct_CC" >&6; }
18322
- { $as_echo "$as_me:$LINENO: result: no" >&5
18323
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18324
$as_echo "no" >&6; }
18327
@@ -2883,7 +3189,7 @@
18329
case $cross_compiling:$ac_tool_warned in
18331
-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
18332
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18333
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18334
ac_tool_warned=yes ;;
18336
@@ -2897,9 +3203,9 @@
18337
if test -n "$ac_tool_prefix"; then
18338
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
18339
set dummy ${ac_tool_prefix}cc; ac_word=$2
18340
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18341
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18342
$as_echo_n "checking for $ac_word... " >&6; }
18343
-if test "${ac_cv_prog_CC+set}" = set; then
18344
+if test "${ac_cv_prog_CC+set}" = set; then :
18345
$as_echo_n "(cached) " >&6
18347
if test -n "$CC"; then
18348
@@ -2910,24 +3216,24 @@
18351
test -z "$as_dir" && as_dir=.
18352
- for ac_exec_ext in '' $ac_executable_extensions; do
18353
+ for ac_exec_ext in '' $ac_executable_extensions; do
18354
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18355
ac_cv_prog_CC="${ac_tool_prefix}cc"
18356
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18357
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18368
if test -n "$CC"; then
18369
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
18370
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
18371
$as_echo "$CC" >&6; }
18373
- { $as_echo "$as_me:$LINENO: result: no" >&5
18374
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18375
$as_echo "no" >&6; }
18378
@@ -2937,9 +3243,9 @@
18379
if test -z "$CC"; then
18380
# Extract the first word of "cc", so it can be a program name with args.
18381
set dummy cc; ac_word=$2
18382
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18383
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18384
$as_echo_n "checking for $ac_word... " >&6; }
18385
-if test "${ac_cv_prog_CC+set}" = set; then
18386
+if test "${ac_cv_prog_CC+set}" = set; then :
18387
$as_echo_n "(cached) " >&6
18389
if test -n "$CC"; then
18390
@@ -2951,18 +3257,18 @@
18393
test -z "$as_dir" && as_dir=.
18394
- for ac_exec_ext in '' $ac_executable_extensions; do
18395
+ for ac_exec_ext in '' $ac_executable_extensions; do
18396
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18397
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
18398
ac_prog_rejected=yes
18402
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18403
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18411
if test $ac_prog_rejected = yes; then
18412
@@ -2981,10 +3287,10 @@
18415
if test -n "$CC"; then
18416
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
18417
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
18418
$as_echo "$CC" >&6; }
18420
- { $as_echo "$as_me:$LINENO: result: no" >&5
18421
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18422
$as_echo "no" >&6; }
18425
@@ -2996,9 +3302,9 @@
18427
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18428
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18429
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18430
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18431
$as_echo_n "checking for $ac_word... " >&6; }
18432
-if test "${ac_cv_prog_CC+set}" = set; then
18433
+if test "${ac_cv_prog_CC+set}" = set; then :
18434
$as_echo_n "(cached) " >&6
18436
if test -n "$CC"; then
18437
@@ -3009,24 +3315,24 @@
18440
test -z "$as_dir" && as_dir=.
18441
- for ac_exec_ext in '' $ac_executable_extensions; do
18442
+ for ac_exec_ext in '' $ac_executable_extensions; do
18443
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18444
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
18445
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18446
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18457
if test -n "$CC"; then
18458
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
18459
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
18460
$as_echo "$CC" >&6; }
18462
- { $as_echo "$as_me:$LINENO: result: no" >&5
18463
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18464
$as_echo "no" >&6; }
18467
@@ -3040,9 +3346,9 @@
18469
# Extract the first word of "$ac_prog", so it can be a program name with args.
18470
set dummy $ac_prog; ac_word=$2
18471
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18472
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18473
$as_echo_n "checking for $ac_word... " >&6; }
18474
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
18475
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
18476
$as_echo_n "(cached) " >&6
18478
if test -n "$ac_ct_CC"; then
18479
@@ -3053,24 +3359,24 @@
18482
test -z "$as_dir" && as_dir=.
18483
- for ac_exec_ext in '' $ac_executable_extensions; do
18484
+ for ac_exec_ext in '' $ac_executable_extensions; do
18485
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18486
ac_cv_prog_ac_ct_CC="$ac_prog"
18487
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18488
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18498
ac_ct_CC=$ac_cv_prog_ac_ct_CC
18499
if test -n "$ac_ct_CC"; then
18500
- { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18501
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
18502
$as_echo "$ac_ct_CC" >&6; }
18504
- { $as_echo "$as_me:$LINENO: result: no" >&5
18505
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18506
$as_echo "no" >&6; }
18509
@@ -3083,7 +3389,7 @@
18511
case $cross_compiling:$ac_tool_warned in
18513
-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
18514
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18515
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18516
ac_tool_warned=yes ;;
18518
@@ -3094,57 +3400,37 @@
18522
-test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18523
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18524
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18525
-{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
18526
-See \`config.log' for more details." >&5
18527
-$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
18528
-See \`config.log' for more details." >&2;}
18529
- { (exit 1); exit 1; }; }; }
18530
+as_fn_error "no acceptable C compiler found in \$PATH
18531
+See \`config.log' for more details." "$LINENO" 5; }
18533
# Provide some information about the compiler.
18534
-$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
18535
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
18538
-{ (ac_try="$ac_compiler --version >&5"
18539
-case "(($ac_try" in
18540
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18541
- *) ac_try_echo=$ac_try;;
18543
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18544
-$as_echo "$ac_try_echo") >&5
18545
- (eval "$ac_compiler --version >&5") 2>&5
18547
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548
- (exit $ac_status); }
18549
-{ (ac_try="$ac_compiler -v >&5"
18550
-case "(($ac_try" in
18551
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18552
- *) ac_try_echo=$ac_try;;
18554
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18555
-$as_echo "$ac_try_echo") >&5
18556
- (eval "$ac_compiler -v >&5") 2>&5
18558
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18559
- (exit $ac_status); }
18560
-{ (ac_try="$ac_compiler -V >&5"
18561
+for ac_option in --version -v -V -qversion; do
18562
+ { { ac_try="$ac_compiler $ac_option >&5"
18563
case "(($ac_try" in
18564
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18565
*) ac_try_echo=$ac_try;;
18567
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18568
-$as_echo "$ac_try_echo") >&5
18569
- (eval "$ac_compiler -V >&5") 2>&5
18570
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18571
+$as_echo "$ac_try_echo"; } >&5
18572
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18574
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575
- (exit $ac_status); }
18576
+ if test -s conftest.err; then
18578
+... rest of stderr output deleted ...
18579
+ 10q' conftest.err >conftest.er1
18580
+ cat conftest.er1 >&5
18582
+ rm -f conftest.er1 conftest.err
18583
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18584
+ test $ac_status = 0; }
18587
-cat >conftest.$ac_ext <<_ACEOF
18590
-cat confdefs.h >>conftest.$ac_ext
18591
-cat >>conftest.$ac_ext <<_ACEOF
18592
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18593
/* end confdefs.h. */
18596
@@ -3160,8 +3446,8 @@
18597
# Try to create an executable without -o first, disregard a.out.
18598
# It will help us diagnose broken compilers, and finding out an intuition
18600
-{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
18601
-$as_echo_n "checking for C compiler default output file name... " >&6; }
18602
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
18603
+$as_echo_n "checking whether the C compiler works... " >&6; }
18604
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
18606
# The possible output files:
18607
@@ -3177,17 +3463,17 @@
18611
-if { (ac_try="$ac_link_default"
18612
+if { { ac_try="$ac_link_default"
18613
case "(($ac_try" in
18614
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18615
*) ac_try_echo=$ac_try;;
18617
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18618
-$as_echo "$ac_try_echo") >&5
18619
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18620
+$as_echo "$ac_try_echo"; } >&5
18621
(eval "$ac_link_default") 2>&5
18623
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624
- (exit $ac_status); }; then
18625
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18626
+ test $ac_status = 0; }; then :
18627
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
18628
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
18629
# in a Makefile. We should not override ac_cv_exeext if it was cached,
18630
@@ -3204,7 +3490,7 @@
18634
- if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
18635
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
18637
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
18639
@@ -3223,84 +3509,42 @@
18644
-{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
18645
-$as_echo "$ac_file" >&6; }
18646
-if test -z "$ac_file"; then
18647
- $as_echo "$as_me: failed program was:" >&5
18648
+if test -z "$ac_file"; then :
18649
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18650
+$as_echo "no" >&6; }
18651
+$as_echo "$as_me: failed program was:" >&5
18652
sed 's/^/| /' conftest.$ac_ext >&5
18654
-{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18655
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18656
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18657
-{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
18658
-See \`config.log' for more details." >&5
18659
-$as_echo "$as_me: error: C compiler cannot create executables
18660
-See \`config.log' for more details." >&2;}
18661
- { (exit 77); exit 77; }; }; }
18662
+{ as_fn_set_status 77
18663
+as_fn_error "C compiler cannot create executables
18664
+See \`config.log' for more details." "$LINENO" 5; }; }
18666
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18667
+$as_echo "yes" >&6; }
18670
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
18671
+$as_echo_n "checking for C compiler default output file name... " >&6; }
18672
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
18673
+$as_echo "$ac_file" >&6; }
18674
ac_exeext=$ac_cv_exeext
18676
-# Check that the compiler produces executables we can run. If not, either
18677
-# the compiler is broken, or we cross compile.
18678
-{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
18679
-$as_echo_n "checking whether the C compiler works... " >&6; }
18680
-# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
18681
-# If not cross compiling, check that we can run a simple program.
18682
-if test "$cross_compiling" != yes; then
18683
- if { ac_try='./$ac_file'
18684
- { (case "(($ac_try" in
18685
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18686
- *) ac_try_echo=$ac_try;;
18688
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18689
-$as_echo "$ac_try_echo") >&5
18690
- (eval "$ac_try") 2>&5
18692
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693
- (exit $ac_status); }; }; then
18694
- cross_compiling=no
18696
- if test "$cross_compiling" = maybe; then
18697
- cross_compiling=yes
18699
- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18700
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18701
-{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
18702
-If you meant to cross compile, use \`--host'.
18703
-See \`config.log' for more details." >&5
18704
-$as_echo "$as_me: error: cannot run C compiled programs.
18705
-If you meant to cross compile, use \`--host'.
18706
-See \`config.log' for more details." >&2;}
18707
- { (exit 1); exit 1; }; }; }
18711
-{ $as_echo "$as_me:$LINENO: result: yes" >&5
18712
-$as_echo "yes" >&6; }
18714
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
18715
ac_clean_files=$ac_clean_files_save
18716
-# Check that the compiler produces executables we can run. If not, either
18717
-# the compiler is broken, or we cross compile.
18718
-{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
18719
-$as_echo_n "checking whether we are cross compiling... " >&6; }
18720
-{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
18721
-$as_echo "$cross_compiling" >&6; }
18723
-{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
18724
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
18725
$as_echo_n "checking for suffix of executables... " >&6; }
18726
-if { (ac_try="$ac_link"
18727
+if { { ac_try="$ac_link"
18728
case "(($ac_try" in
18729
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18730
*) ac_try_echo=$ac_try;;
18732
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18733
-$as_echo "$ac_try_echo") >&5
18734
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18735
+$as_echo "$ac_try_echo"; } >&5
18736
(eval "$ac_link") 2>&5
18738
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739
- (exit $ac_status); }; then
18740
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18741
+ test $ac_status = 0; }; then :
18742
# If both `conftest.exe' and `conftest' are `present' (well, observable)
18743
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
18744
# work properly (i.e., refer to `conftest.exe'), while it won't with
18745
@@ -3315,32 +3559,83 @@
18749
- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18750
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18751
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18752
-{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
18753
-See \`config.log' for more details." >&5
18754
-$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
18755
-See \`config.log' for more details." >&2;}
18756
- { (exit 1); exit 1; }; }; }
18757
+as_fn_error "cannot compute suffix of executables: cannot compile and link
18758
+See \`config.log' for more details." "$LINENO" 5; }
18761
-rm -f conftest$ac_cv_exeext
18762
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
18763
+rm -f conftest conftest$ac_cv_exeext
18764
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
18765
$as_echo "$ac_cv_exeext" >&6; }
18767
rm -f conftest.$ac_ext
18768
EXEEXT=$ac_cv_exeext
18770
-{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
18771
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18772
+/* end confdefs.h. */
18773
+#include <stdio.h>
18777
+FILE *f = fopen ("conftest.out", "w");
18778
+ return ferror (f) || fclose (f) != 0;
18784
+ac_clean_files="$ac_clean_files conftest.out"
18785
+# Check that the compiler produces executables we can run. If not, either
18786
+# the compiler is broken, or we cross compile.
18787
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
18788
+$as_echo_n "checking whether we are cross compiling... " >&6; }
18789
+if test "$cross_compiling" != yes; then
18790
+ { { ac_try="$ac_link"
18791
+case "(($ac_try" in
18792
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18793
+ *) ac_try_echo=$ac_try;;
18795
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18796
+$as_echo "$ac_try_echo"; } >&5
18797
+ (eval "$ac_link") 2>&5
18799
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18800
+ test $ac_status = 0; }
18801
+ if { ac_try='./conftest$ac_cv_exeext'
18802
+ { { case "(($ac_try" in
18803
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18804
+ *) ac_try_echo=$ac_try;;
18806
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18807
+$as_echo "$ac_try_echo"; } >&5
18808
+ (eval "$ac_try") 2>&5
18810
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18811
+ test $ac_status = 0; }; }; then
18812
+ cross_compiling=no
18814
+ if test "$cross_compiling" = maybe; then
18815
+ cross_compiling=yes
18817
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18818
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18819
+as_fn_error "cannot run C compiled programs.
18820
+If you meant to cross compile, use \`--host'.
18821
+See \`config.log' for more details." "$LINENO" 5; }
18825
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
18826
+$as_echo "$cross_compiling" >&6; }
18828
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
18829
+ac_clean_files=$ac_clean_files_save
18830
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
18831
$as_echo_n "checking for suffix of object files... " >&6; }
18832
-if test "${ac_cv_objext+set}" = set; then
18833
+if test "${ac_cv_objext+set}" = set; then :
18834
$as_echo_n "(cached) " >&6
18836
- cat >conftest.$ac_ext <<_ACEOF
18839
-cat confdefs.h >>conftest.$ac_ext
18840
-cat >>conftest.$ac_ext <<_ACEOF
18841
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18842
/* end confdefs.h. */
18845
@@ -3352,17 +3647,17 @@
18848
rm -f conftest.o conftest.obj
18849
-if { (ac_try="$ac_compile"
18850
+if { { ac_try="$ac_compile"
18851
case "(($ac_try" in
18852
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18853
*) ac_try_echo=$ac_try;;
18855
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18856
-$as_echo "$ac_try_echo") >&5
18857
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18858
+$as_echo "$ac_try_echo"; } >&5
18859
(eval "$ac_compile") 2>&5
18861
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862
- (exit $ac_status); }; then
18863
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18864
+ test $ac_status = 0; }; then :
18865
for ac_file in conftest.o conftest.obj conftest.*; do
18866
test -f "$ac_file" || continue;
18868
@@ -3375,31 +3670,23 @@
18869
$as_echo "$as_me: failed program was:" >&5
18870
sed 's/^/| /' conftest.$ac_ext >&5
18872
-{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18873
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18874
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18875
-{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
18876
-See \`config.log' for more details." >&5
18877
-$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
18878
-See \`config.log' for more details." >&2;}
18879
- { (exit 1); exit 1; }; }; }
18880
+as_fn_error "cannot compute suffix of object files: cannot compile
18881
+See \`config.log' for more details." "$LINENO" 5; }
18884
rm -f conftest.$ac_cv_objext conftest.$ac_ext
18886
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
18887
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
18888
$as_echo "$ac_cv_objext" >&6; }
18889
OBJEXT=$ac_cv_objext
18891
-{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
18892
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
18893
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
18894
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
18895
+if test "${ac_cv_c_compiler_gnu+set}" = set; then :
18896
$as_echo_n "(cached) " >&6
18898
- cat >conftest.$ac_ext <<_ACEOF
18901
-cat confdefs.h >>conftest.$ac_ext
18902
-cat >>conftest.$ac_ext <<_ACEOF
18903
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18904
/* end confdefs.h. */
18907
@@ -3413,37 +3700,16 @@
18911
-rm -f conftest.$ac_objext
18912
-if { (ac_try="$ac_compile"
18913
-case "(($ac_try" in
18914
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18915
- *) ac_try_echo=$ac_try;;
18917
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18918
-$as_echo "$ac_try_echo") >&5
18919
- (eval "$ac_compile") 2>conftest.er1
18921
- grep -v '^ *+' conftest.er1 >conftest.err
18922
- rm -f conftest.er1
18923
- cat conftest.err >&5
18924
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18925
- (exit $ac_status); } && {
18926
- test -z "$ac_c_werror_flag" ||
18927
- test ! -s conftest.err
18928
- } && test -s conftest.$ac_objext; then
18929
+if ac_fn_c_try_compile "$LINENO"; then :
18930
ac_compiler_gnu=yes
18932
- $as_echo "$as_me: failed program was:" >&5
18933
-sed 's/^/| /' conftest.$ac_ext >&5
18935
- ac_compiler_gnu=no
18936
+ ac_compiler_gnu=no
18939
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18940
ac_cv_c_compiler_gnu=$ac_compiler_gnu
18943
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
18944
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
18945
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
18946
if test $ac_compiler_gnu = yes; then
18948
@@ -3452,20 +3718,16 @@
18950
ac_test_CFLAGS=${CFLAGS+set}
18951
ac_save_CFLAGS=$CFLAGS
18952
-{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18953
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18954
$as_echo_n "checking whether $CC accepts -g... " >&6; }
18955
-if test "${ac_cv_prog_cc_g+set}" = set; then
18956
+if test "${ac_cv_prog_cc_g+set}" = set; then :
18957
$as_echo_n "(cached) " >&6
18959
ac_save_c_werror_flag=$ac_c_werror_flag
18960
ac_c_werror_flag=yes
18963
- cat >conftest.$ac_ext <<_ACEOF
18966
-cat confdefs.h >>conftest.$ac_ext
18967
-cat >>conftest.$ac_ext <<_ACEOF
18968
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18969
/* end confdefs.h. */
18972
@@ -3476,35 +3738,11 @@
18976
-rm -f conftest.$ac_objext
18977
-if { (ac_try="$ac_compile"
18978
-case "(($ac_try" in
18979
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18980
- *) ac_try_echo=$ac_try;;
18982
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18983
-$as_echo "$ac_try_echo") >&5
18984
- (eval "$ac_compile") 2>conftest.er1
18986
- grep -v '^ *+' conftest.er1 >conftest.err
18987
- rm -f conftest.er1
18988
- cat conftest.err >&5
18989
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990
- (exit $ac_status); } && {
18991
- test -z "$ac_c_werror_flag" ||
18992
- test ! -s conftest.err
18993
- } && test -s conftest.$ac_objext; then
18994
+if ac_fn_c_try_compile "$LINENO"; then :
18995
ac_cv_prog_cc_g=yes
18997
- $as_echo "$as_me: failed program was:" >&5
18998
-sed 's/^/| /' conftest.$ac_ext >&5
19001
- cat >conftest.$ac_ext <<_ACEOF
19004
-cat confdefs.h >>conftest.$ac_ext
19005
-cat >>conftest.$ac_ext <<_ACEOF
19007
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19008
/* end confdefs.h. */
19011
@@ -3515,36 +3753,12 @@
19015
-rm -f conftest.$ac_objext
19016
-if { (ac_try="$ac_compile"
19017
-case "(($ac_try" in
19018
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19019
- *) ac_try_echo=$ac_try;;
19021
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19022
-$as_echo "$ac_try_echo") >&5
19023
- (eval "$ac_compile") 2>conftest.er1
19025
- grep -v '^ *+' conftest.er1 >conftest.err
19026
- rm -f conftest.er1
19027
- cat conftest.err >&5
19028
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029
- (exit $ac_status); } && {
19030
- test -z "$ac_c_werror_flag" ||
19031
- test ! -s conftest.err
19032
- } && test -s conftest.$ac_objext; then
19035
- $as_echo "$as_me: failed program was:" >&5
19036
-sed 's/^/| /' conftest.$ac_ext >&5
19037
+if ac_fn_c_try_compile "$LINENO"; then :
19039
- ac_c_werror_flag=$ac_save_c_werror_flag
19041
+ ac_c_werror_flag=$ac_save_c_werror_flag
19043
- cat >conftest.$ac_ext <<_ACEOF
19046
-cat confdefs.h >>conftest.$ac_ext
19047
-cat >>conftest.$ac_ext <<_ACEOF
19048
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19049
/* end confdefs.h. */
19052
@@ -3555,42 +3769,17 @@
19056
-rm -f conftest.$ac_objext
19057
-if { (ac_try="$ac_compile"
19058
-case "(($ac_try" in
19059
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19060
- *) ac_try_echo=$ac_try;;
19062
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19063
-$as_echo "$ac_try_echo") >&5
19064
- (eval "$ac_compile") 2>conftest.er1
19066
- grep -v '^ *+' conftest.er1 >conftest.err
19067
- rm -f conftest.er1
19068
- cat conftest.err >&5
19069
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070
- (exit $ac_status); } && {
19071
- test -z "$ac_c_werror_flag" ||
19072
- test ! -s conftest.err
19073
- } && test -s conftest.$ac_objext; then
19074
+if ac_fn_c_try_compile "$LINENO"; then :
19075
ac_cv_prog_cc_g=yes
19077
- $as_echo "$as_me: failed program was:" >&5
19078
-sed 's/^/| /' conftest.$ac_ext >&5
19083
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19086
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19089
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19090
ac_c_werror_flag=$ac_save_c_werror_flag
19092
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19093
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
19094
$as_echo "$ac_cv_prog_cc_g" >&6; }
19095
if test "$ac_test_CFLAGS" = set; then
19096
CFLAGS=$ac_save_CFLAGS
19097
@@ -3607,18 +3796,14 @@
19101
-{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
19102
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
19103
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
19104
-if test "${ac_cv_prog_cc_c89+set}" = set; then
19105
+if test "${ac_cv_prog_cc_c89+set}" = set; then :
19106
$as_echo_n "(cached) " >&6
19108
ac_cv_prog_cc_c89=no
19110
-cat >conftest.$ac_ext <<_ACEOF
19113
-cat confdefs.h >>conftest.$ac_ext
19114
-cat >>conftest.$ac_ext <<_ACEOF
19115
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19116
/* end confdefs.h. */
19117
#include <stdarg.h>
19119
@@ -3675,32 +3860,9 @@
19120
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
19122
CC="$ac_save_CC $ac_arg"
19123
- rm -f conftest.$ac_objext
19124
-if { (ac_try="$ac_compile"
19125
-case "(($ac_try" in
19126
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19127
- *) ac_try_echo=$ac_try;;
19129
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19130
-$as_echo "$ac_try_echo") >&5
19131
- (eval "$ac_compile") 2>conftest.er1
19133
- grep -v '^ *+' conftest.er1 >conftest.err
19134
- rm -f conftest.er1
19135
- cat conftest.err >&5
19136
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137
- (exit $ac_status); } && {
19138
- test -z "$ac_c_werror_flag" ||
19139
- test ! -s conftest.err
19140
- } && test -s conftest.$ac_objext; then
19141
+ if ac_fn_c_try_compile "$LINENO"; then :
19142
ac_cv_prog_cc_c89=$ac_arg
19144
- $as_echo "$as_me: failed program was:" >&5
19145
-sed 's/^/| /' conftest.$ac_ext >&5
19150
rm -f core conftest.err conftest.$ac_objext
19151
test "x$ac_cv_prog_cc_c89" != "xno" && break
19153
@@ -3711,17 +3873,19 @@
19155
case "x$ac_cv_prog_cc_c89" in
19157
- { $as_echo "$as_me:$LINENO: result: none needed" >&5
19158
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
19159
$as_echo "none needed" >&6; } ;;
19161
- { $as_echo "$as_me:$LINENO: result: unsupported" >&5
19162
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
19163
$as_echo "unsupported" >&6; } ;;
19165
CC="$CC $ac_cv_prog_cc_c89"
19166
- { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
19167
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
19168
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
19170
+if test "x$ac_cv_prog_cc_c89" != xno; then :
19175
ac_cpp='$CPP $CPPFLAGS'
19176
@@ -3740,7 +3904,7 @@
19179
# If we don't find an include directive, just comment out the code.
19180
-{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
19181
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
19182
$as_echo_n "checking for style of include used by $am_make... " >&6; }
19185
@@ -3768,12 +3932,12 @@
19189
-{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
19190
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
19191
$as_echo "$_am_result" >&6; }
19192
rm -f confinc confmf
19194
# Check whether --enable-dependency-tracking was given.
19195
-if test "${enable_dependency_tracking+set}" = set; then
19196
+if test "${enable_dependency_tracking+set}" = set; then :
19197
enableval=$enable_dependency_tracking;
19200
@@ -3793,9 +3957,9 @@
19202
depcc="$CC" am_compiler_list=
19204
-{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
19205
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
19206
$as_echo_n "checking dependency style of $depcc... " >&6; }
19207
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
19208
+if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
19209
$as_echo_n "(cached) " >&6
19211
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
19212
@@ -3903,7 +4067,7 @@
19216
-{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
19217
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
19218
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
19219
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
19221
@@ -3918,142 +4082,50 @@
19225
-# Find a good install program. We prefer a C program (faster),
19226
-# so one script is as good as another. But avoid the broken or
19227
-# incompatible versions:
19228
-# SysV /etc/install, /usr/sbin/install
19229
-# SunOS /usr/etc/install
19230
-# IRIX /sbin/install
19231
-# AIX /bin/install
19232
-# AmigaOS /C/install, which installs bootblocks on floppy discs
19233
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19234
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
19235
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19236
-# OS/2's system install, which has a completely different semantic
19237
-# ./install, which can be erroneously created by make from ./install.sh.
19238
-# Reject install programs that cannot install multiple files.
19239
-{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19240
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
19241
-if test -z "$INSTALL"; then
19242
-if test "${ac_cv_path_install+set}" = set; then
19249
+enable_win32_dll=yes
19252
+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
19253
+ if test -n "$ac_tool_prefix"; then
19254
+ # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
19255
+set dummy ${ac_tool_prefix}as; ac_word=$2
19256
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19257
+$as_echo_n "checking for $ac_word... " >&6; }
19258
+if test "${ac_cv_prog_AS+set}" = set; then :
19259
$as_echo_n "(cached) " >&6
19261
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19262
+ if test -n "$AS"; then
19263
+ ac_cv_prog_AS="$AS" # Let the user override the test.
19265
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19266
for as_dir in $PATH
19269
test -z "$as_dir" && as_dir=.
19270
- # Account for people who put trailing slashes in PATH elements.
19272
- ./ | .// | /cC/* | \
19273
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19274
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19277
- # OSF1 and SCO ODT 3.0 have their own names for install.
19278
- # Don't use installbsd from OSF since it installs stuff as root
19280
- for ac_prog in ginstall scoinst install; do
19281
- for ac_exec_ext in '' $ac_executable_extensions; do
19282
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19283
- if test $ac_prog = install &&
19284
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19285
- # AIX install. It has an incompatible calling convention.
19287
- elif test $ac_prog = install &&
19288
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19289
- # program-specific install script used by HP pwplus--don't use.
19292
- rm -rf conftest.one conftest.two conftest.dir
19293
- echo one > conftest.one
19294
- echo two > conftest.two
19295
- mkdir conftest.dir
19296
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
19297
- test -s conftest.one && test -s conftest.two &&
19298
- test -s conftest.dir/conftest.one &&
19299
- test -s conftest.dir/conftest.two
19301
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19314
-rm -rf conftest.one conftest.two conftest.dir
19317
- if test "${ac_cv_path_install+set}" = set; then
19318
- INSTALL=$ac_cv_path_install
19320
- # As a last resort, use the slow shell script. Don't cache a
19321
- # value for INSTALL within a source directory, because that will
19322
- # break other packages using the cache if that directory is
19323
- # removed, or if the value is a relative name.
19324
- INSTALL=$ac_install_sh
19327
-{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
19328
-$as_echo "$INSTALL" >&6; }
19330
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19331
-# It thinks the first close brace ends the variable substitution.
19332
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19334
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19336
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19343
-enable_win32_dll=yes
19346
-*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
19347
- if test -n "$ac_tool_prefix"; then
19348
- # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
19349
-set dummy ${ac_tool_prefix}as; ac_word=$2
19350
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
19351
-$as_echo_n "checking for $ac_word... " >&6; }
19352
-if test "${ac_cv_prog_AS+set}" = set; then
19353
- $as_echo_n "(cached) " >&6
19355
- if test -n "$AS"; then
19356
- ac_cv_prog_AS="$AS" # Let the user override the test.
19358
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19359
-for as_dir in $PATH
206
+[for mf in $CONFIG_FILES; do
207
# Strip MF so we end up with the name of the file.
208
mf=`echo "$mf" | sed -e 's/:.*$//'`
209
# Check whether this is an Automake generated Makefile or not.
210
@@ -8830,13 +8836,13 @@
212
# Helper functions for option handling. -*- Autoconf -*-
214
-# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
215
+# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
217
# This file is free software; the Free Software Foundation
218
# gives unlimited permission to copy and/or distribute it,
219
# with or without modifications, as long as this notice is preserved.
224
# _AM_MANGLE_OPTION(NAME)
225
# -----------------------
226
@@ -8853,7 +8859,7 @@
227
# ----------------------------------
228
# OPTIONS is a space-separated list of Automake options.
229
AC_DEFUN([_AM_SET_OPTIONS],
230
-[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
231
+[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
233
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
234
# -------------------------------------------
235
diff -Naur orbit2-2.14.17.old/config.guess orbit2-2.14.17/config.guess
236
diff -Naur orbit2-2.14.17.old/config.sub orbit2-2.14.17/config.sub
237
diff -Naur orbit2-2.14.17.old/configure orbit2-2.14.17/configure
238
--- orbit2-2.14.17.old/configure 2009-03-05 12:53:02.000000000 +0100
239
+++ orbit2-2.14.17/configure 2009-03-06 18:43:03.000000000 +0100
240
@@ -5347,7 +5347,7 @@
19362
- test -z "$as_dir" && as_dir=.
19363
- for ac_exec_ext in '' $ac_executable_extensions; do
19364
+ for ac_exec_ext in '' $ac_executable_extensions; do
19365
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19366
ac_cv_prog_AS="${ac_tool_prefix}as"
19367
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19368
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19379
if test -n "$AS"; then
19380
- { $as_echo "$as_me:$LINENO: result: $AS" >&5
19381
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
19382
$as_echo "$AS" >&6; }
19384
- { $as_echo "$as_me:$LINENO: result: no" >&5
19385
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19386
$as_echo "no" >&6; }
19389
@@ -4063,9 +4135,9 @@
19391
# Extract the first word of "as", so it can be a program name with args.
19392
set dummy as; ac_word=$2
19393
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
19394
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19395
$as_echo_n "checking for $ac_word... " >&6; }
19396
-if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
19397
+if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
19398
$as_echo_n "(cached) " >&6
19400
if test -n "$ac_ct_AS"; then
19401
@@ -4076,24 +4148,24 @@
19404
test -z "$as_dir" && as_dir=.
19405
- for ac_exec_ext in '' $ac_executable_extensions; do
19406
+ for ac_exec_ext in '' $ac_executable_extensions; do
19407
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19408
ac_cv_prog_ac_ct_AS="as"
19409
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19410
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19420
ac_ct_AS=$ac_cv_prog_ac_ct_AS
19421
if test -n "$ac_ct_AS"; then
19422
- { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
19423
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
19424
$as_echo "$ac_ct_AS" >&6; }
19426
- { $as_echo "$as_me:$LINENO: result: no" >&5
19427
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19428
$as_echo "no" >&6; }
19431
@@ -4102,7 +4174,7 @@
19433
case $cross_compiling:$ac_tool_warned in
19435
-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
19436
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19437
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19438
ac_tool_warned=yes ;;
19440
@@ -4115,9 +4187,9 @@
19441
if test -n "$ac_tool_prefix"; then
19442
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
19443
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
19444
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
19445
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19446
$as_echo_n "checking for $ac_word... " >&6; }
19447
-if test "${ac_cv_prog_DLLTOOL+set}" = set; then
19448
+if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
19449
$as_echo_n "(cached) " >&6
19451
if test -n "$DLLTOOL"; then
19452
@@ -4128,24 +4200,24 @@
19455
test -z "$as_dir" && as_dir=.
19456
- for ac_exec_ext in '' $ac_executable_extensions; do
19457
+ for ac_exec_ext in '' $ac_executable_extensions; do
19458
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19459
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
19460
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19461
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19471
DLLTOOL=$ac_cv_prog_DLLTOOL
19472
if test -n "$DLLTOOL"; then
19473
- { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
19474
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
19475
$as_echo "$DLLTOOL" >&6; }
19477
- { $as_echo "$as_me:$LINENO: result: no" >&5
19478
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19479
$as_echo "no" >&6; }
19482
@@ -4155,9 +4227,9 @@
19483
ac_ct_DLLTOOL=$DLLTOOL
19484
# Extract the first word of "dlltool", so it can be a program name with args.
19485
set dummy dlltool; ac_word=$2
19486
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
19487
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19488
$as_echo_n "checking for $ac_word... " >&6; }
19489
-if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
19490
+if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
19491
$as_echo_n "(cached) " >&6
19493
if test -n "$ac_ct_DLLTOOL"; then
19494
@@ -4168,24 +4240,24 @@
19497
test -z "$as_dir" && as_dir=.
19498
- for ac_exec_ext in '' $ac_executable_extensions; do
19499
+ for ac_exec_ext in '' $ac_executable_extensions; do
19500
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19501
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
19502
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19503
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19513
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
19514
if test -n "$ac_ct_DLLTOOL"; then
19515
- { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
19516
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
19517
$as_echo "$ac_ct_DLLTOOL" >&6; }
19519
- { $as_echo "$as_me:$LINENO: result: no" >&5
19520
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19521
$as_echo "no" >&6; }
19524
@@ -4194,7 +4266,7 @@
19526
case $cross_compiling:$ac_tool_warned in
19528
-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
19529
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19530
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19531
ac_tool_warned=yes ;;
19533
@@ -4207,9 +4279,9 @@
19534
if test -n "$ac_tool_prefix"; then
19535
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
19536
set dummy ${ac_tool_prefix}objdump; ac_word=$2
19537
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
19538
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19539
$as_echo_n "checking for $ac_word... " >&6; }
19540
-if test "${ac_cv_prog_OBJDUMP+set}" = set; then
19541
+if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
19542
$as_echo_n "(cached) " >&6
19544
if test -n "$OBJDUMP"; then
19545
@@ -4220,24 +4292,24 @@
19548
test -z "$as_dir" && as_dir=.
19549
- for ac_exec_ext in '' $ac_executable_extensions; do
19550
+ for ac_exec_ext in '' $ac_executable_extensions; do
19551
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19552
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
19553
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19554
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19564
OBJDUMP=$ac_cv_prog_OBJDUMP
19565
if test -n "$OBJDUMP"; then
19566
- { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
19567
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
19568
$as_echo "$OBJDUMP" >&6; }
19570
- { $as_echo "$as_me:$LINENO: result: no" >&5
19571
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19572
$as_echo "no" >&6; }
19575
@@ -4247,9 +4319,9 @@
19576
ac_ct_OBJDUMP=$OBJDUMP
19577
# Extract the first word of "objdump", so it can be a program name with args.
19578
set dummy objdump; ac_word=$2
19579
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
19580
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19581
$as_echo_n "checking for $ac_word... " >&6; }
19582
-if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
19583
+if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
19584
$as_echo_n "(cached) " >&6
19586
if test -n "$ac_ct_OBJDUMP"; then
19587
@@ -4260,24 +4332,24 @@
19590
test -z "$as_dir" && as_dir=.
19591
- for ac_exec_ext in '' $ac_executable_extensions; do
19592
+ for ac_exec_ext in '' $ac_executable_extensions; do
19593
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19594
ac_cv_prog_ac_ct_OBJDUMP="objdump"
19595
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19596
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19606
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
19607
if test -n "$ac_ct_OBJDUMP"; then
19608
- { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
19609
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
19610
$as_echo "$ac_ct_OBJDUMP" >&6; }
19612
- { $as_echo "$as_me:$LINENO: result: no" >&5
19613
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19614
$as_echo "no" >&6; }
19617
@@ -4286,7 +4358,7 @@
19619
case $cross_compiling:$ac_tool_warned in
19621
-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
19622
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19623
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19624
ac_tool_warned=yes ;;
19626
@@ -4321,14 +4393,14 @@
19630
- { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
19631
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
19632
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
19637
-macro_version='2.2.6'
19638
-macro_revision='1.3012'
19639
+macro_version='2.2.6b'
19640
+macro_revision='1.3017'
19644
@@ -4344,9 +4416,9 @@
19646
ltmain="$ac_aux_dir/ltmain.sh"
19648
-{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
19649
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
19650
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
19651
-if test "${ac_cv_path_SED+set}" = set; then
19652
+if test "${ac_cv_path_SED+set}" = set; then :
19653
$as_echo_n "(cached) " >&6
19655
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
19656
@@ -4354,7 +4426,7 @@
19657
ac_script="$ac_script$as_nl$ac_script"
19659
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
19660
- $as_unset ac_script || ac_script=
19661
+ { ac_script=; unset ac_script;}
19662
if test -z "$SED"; then
19663
ac_path_SED_found=false
19664
# Loop through the user's path and test for each of PROGNAME-LIST
19665
@@ -4363,7 +4435,7 @@
19668
test -z "$as_dir" && as_dir=.
19669
- for ac_prog in sed gsed; do
19670
+ for ac_prog in sed gsed; do
19671
for ac_exec_ext in '' $ac_executable_extensions; do
19672
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
19673
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
19674
@@ -4383,7 +4455,7 @@
19675
$as_echo '' >> "conftest.nl"
19676
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
19677
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
19678
- ac_count=`expr $ac_count + 1`
19679
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
19680
if test $ac_count -gt ${ac_path_SED_max-0}; then
19681
# Best one so far, save it but keep looking for a better one
19682
ac_cv_path_SED="$ac_path_SED"
19683
@@ -4398,19 +4470,17 @@
19684
$ac_path_SED_found && break 3
19690
if test -z "$ac_cv_path_SED"; then
19691
- { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
19692
-$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
19693
- { (exit 1); exit 1; }; }
19694
+ as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
19697
ac_cv_path_SED=$SED
19701
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
19702
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
19703
$as_echo "$ac_cv_path_SED" >&6; }
19704
SED="$ac_cv_path_SED"
19706
@@ -4428,9 +4498,9 @@
19710
-{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
19711
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
19712
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
19713
-if test "${ac_cv_path_GREP+set}" = set; then
19714
+if test "${ac_cv_path_GREP+set}" = set; then :
19715
$as_echo_n "(cached) " >&6
19717
if test -z "$GREP"; then
19718
@@ -4441,7 +4511,7 @@
19721
test -z "$as_dir" && as_dir=.
19722
- for ac_prog in grep ggrep; do
19723
+ for ac_prog in grep ggrep; do
19724
for ac_exec_ext in '' $ac_executable_extensions; do
19725
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
19726
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
19727
@@ -4461,7 +4531,7 @@
19728
$as_echo 'GREP' >> "conftest.nl"
19729
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
19730
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
19731
- ac_count=`expr $ac_count + 1`
19732
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
19733
if test $ac_count -gt ${ac_path_GREP_max-0}; then
19734
# Best one so far, save it but keep looking for a better one
19735
ac_cv_path_GREP="$ac_path_GREP"
19736
@@ -4476,26 +4546,24 @@
19737
$ac_path_GREP_found && break 3
19743
if test -z "$ac_cv_path_GREP"; then
19744
- { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
19745
-$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
19746
- { (exit 1); exit 1; }; }
19747
+ as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
19750
ac_cv_path_GREP=$GREP
19754
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
19755
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
19756
$as_echo "$ac_cv_path_GREP" >&6; }
19757
GREP="$ac_cv_path_GREP"
19760
-{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
19761
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
19762
$as_echo_n "checking for egrep... " >&6; }
19763
-if test "${ac_cv_path_EGREP+set}" = set; then
19764
+if test "${ac_cv_path_EGREP+set}" = set; then :
19765
$as_echo_n "(cached) " >&6
19767
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
19768
@@ -4509,7 +4577,7 @@
19771
test -z "$as_dir" && as_dir=.
19772
- for ac_prog in egrep; do
19773
+ for ac_prog in egrep; do
19774
for ac_exec_ext in '' $ac_executable_extensions; do
19775
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
19776
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
19777
@@ -4529,7 +4597,7 @@
19778
$as_echo 'EGREP' >> "conftest.nl"
19779
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
19780
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
19781
- ac_count=`expr $ac_count + 1`
19782
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
19783
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
19784
# Best one so far, save it but keep looking for a better one
19785
ac_cv_path_EGREP="$ac_path_EGREP"
19786
@@ -4544,12 +4612,10 @@
19787
$ac_path_EGREP_found && break 3
19793
if test -z "$ac_cv_path_EGREP"; then
19794
- { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
19795
-$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
19796
- { (exit 1); exit 1; }; }
19797
+ as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
19800
ac_cv_path_EGREP=$EGREP
19801
@@ -4557,14 +4623,14 @@
19805
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
19806
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
19807
$as_echo "$ac_cv_path_EGREP" >&6; }
19808
EGREP="$ac_cv_path_EGREP"
19811
-{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
19812
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
19813
$as_echo_n "checking for fgrep... " >&6; }
19814
-if test "${ac_cv_path_FGREP+set}" = set; then
19815
+if test "${ac_cv_path_FGREP+set}" = set; then :
19816
$as_echo_n "(cached) " >&6
19818
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
19819
@@ -4578,7 +4644,7 @@
19822
test -z "$as_dir" && as_dir=.
19823
- for ac_prog in fgrep; do
19824
+ for ac_prog in fgrep; do
19825
for ac_exec_ext in '' $ac_executable_extensions; do
19826
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
19827
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
19828
@@ -4598,7 +4664,7 @@
19829
$as_echo 'FGREP' >> "conftest.nl"
19830
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
19831
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
19832
- ac_count=`expr $ac_count + 1`
19833
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
19834
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
19835
# Best one so far, save it but keep looking for a better one
19836
ac_cv_path_FGREP="$ac_path_FGREP"
19837
@@ -4613,12 +4679,10 @@
19838
$ac_path_FGREP_found && break 3
19844
if test -z "$ac_cv_path_FGREP"; then
19845
- { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
19846
-$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
19847
- { (exit 1); exit 1; }; }
19848
+ as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
19851
ac_cv_path_FGREP=$FGREP
19852
@@ -4626,7 +4690,7 @@
19856
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
19857
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
19858
$as_echo "$ac_cv_path_FGREP" >&6; }
19859
FGREP="$ac_cv_path_FGREP"
19861
@@ -4652,7 +4716,7 @@
19864
# Check whether --with-gnu-ld was given.
19865
-if test "${with_gnu_ld+set}" = set; then
19866
+if test "${with_gnu_ld+set}" = set; then :
19867
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19870
@@ -4661,7 +4725,7 @@
19872
if test "$GCC" = yes; then
19873
# Check if gcc -print-prog-name=ld gives a path.
19874
- { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
19875
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19876
$as_echo_n "checking for ld used by $CC... " >&6; }
19879
@@ -4691,13 +4755,13 @@
19882
elif test "$with_gnu_ld" = yes; then
19883
- { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
19884
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19885
$as_echo_n "checking for GNU ld... " >&6; }
19887
- { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
19888
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19889
$as_echo_n "checking for non-GNU ld... " >&6; }
19891
-if test "${lt_cv_path_LD+set}" = set; then
19892
+if test "${lt_cv_path_LD+set}" = set; then :
19893
$as_echo_n "(cached) " >&6
19895
if test -z "$LD"; then
19896
@@ -4728,18 +4792,16 @@
19898
LD="$lt_cv_path_LD"
19899
if test -n "$LD"; then
19900
- { $as_echo "$as_me:$LINENO: result: $LD" >&5
19901
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19902
$as_echo "$LD" >&6; }
19904
- { $as_echo "$as_me:$LINENO: result: no" >&5
19905
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19906
$as_echo "no" >&6; }
19908
-test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
19909
-$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
19910
- { (exit 1); exit 1; }; }
19911
-{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
19912
+test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19913
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19914
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19915
-if test "${lt_cv_prog_gnu_ld+set}" = set; then
19916
+if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19917
$as_echo_n "(cached) " >&6
19919
# I'd rather use --version here, but apparently some GNU lds only accept -v.
19920
@@ -4752,7 +4814,7 @@
19924
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
19925
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19926
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
19927
with_gnu_ld=$lt_cv_prog_gnu_ld
19929
@@ -4764,9 +4826,9 @@
19933
-{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
19934
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
19935
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
19936
-if test "${lt_cv_path_NM+set}" = set; then
19937
+if test "${lt_cv_path_NM+set}" = set; then :
19938
$as_echo_n "(cached) " >&6
19940
if test -n "$NM"; then
19941
@@ -4813,7 +4875,7 @@
19942
: ${lt_cv_path_NM=no}
19945
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
19946
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
19947
$as_echo "$lt_cv_path_NM" >&6; }
19948
if test "$lt_cv_path_NM" != "no"; then
19949
NM="$lt_cv_path_NM"
19950
@@ -4824,9 +4886,9 @@
19952
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19953
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19954
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
19955
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19956
$as_echo_n "checking for $ac_word... " >&6; }
19957
-if test "${ac_cv_prog_DUMPBIN+set}" = set; then
19958
+if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
19959
$as_echo_n "(cached) " >&6
19961
if test -n "$DUMPBIN"; then
19962
@@ -4837,24 +4899,24 @@
19965
test -z "$as_dir" && as_dir=.
19966
- for ac_exec_ext in '' $ac_executable_extensions; do
19967
+ for ac_exec_ext in '' $ac_executable_extensions; do
19968
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19969
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
19970
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19971
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19981
DUMPBIN=$ac_cv_prog_DUMPBIN
19982
if test -n "$DUMPBIN"; then
19983
- { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
19984
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
19985
$as_echo "$DUMPBIN" >&6; }
19987
- { $as_echo "$as_me:$LINENO: result: no" >&5
19988
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19989
$as_echo "no" >&6; }
19992
@@ -4868,9 +4930,9 @@
19994
# Extract the first word of "$ac_prog", so it can be a program name with args.
19995
set dummy $ac_prog; ac_word=$2
19996
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
19997
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19998
$as_echo_n "checking for $ac_word... " >&6; }
19999
-if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
20000
+if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
20001
$as_echo_n "(cached) " >&6
20003
if test -n "$ac_ct_DUMPBIN"; then
20004
@@ -4881,24 +4943,24 @@
20007
test -z "$as_dir" && as_dir=.
20008
- for ac_exec_ext in '' $ac_executable_extensions; do
20009
+ for ac_exec_ext in '' $ac_executable_extensions; do
20010
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20011
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
20012
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20013
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20023
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
20024
if test -n "$ac_ct_DUMPBIN"; then
20025
- { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
20026
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
20027
$as_echo "$ac_ct_DUMPBIN" >&6; }
20029
- { $as_echo "$as_me:$LINENO: result: no" >&5
20030
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20031
$as_echo "no" >&6; }
20034
@@ -4911,7 +4973,7 @@
20036
case $cross_compiling:$ac_tool_warned in
20038
-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
20039
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20040
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20041
ac_tool_warned=yes ;;
20043
@@ -4931,44 +4993,44 @@
20047
-{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
20048
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
20049
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
20050
-if test "${lt_cv_nm_interface+set}" = set; then
20051
+if test "${lt_cv_nm_interface+set}" = set; then :
20052
$as_echo_n "(cached) " >&6
20054
lt_cv_nm_interface="BSD nm"
20055
echo "int some_variable = 0;" > conftest.$ac_ext
20056
- (eval echo "\"\$as_me:4941: $ac_compile\"" >&5)
20057
+ (eval echo "\"\$as_me:5003: $ac_compile\"" >&5)
20058
(eval "$ac_compile" 2>conftest.err)
20059
cat conftest.err >&5
20060
- (eval echo "\"\$as_me:4944: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
20061
+ (eval echo "\"\$as_me:5006: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
20062
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
20063
cat conftest.err >&5
20064
- (eval echo "\"\$as_me:4947: output\"" >&5)
20065
+ (eval echo "\"\$as_me:5009: output\"" >&5)
20066
cat conftest.out >&5
20067
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
20068
lt_cv_nm_interface="MS dumpbin"
20072
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
20073
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
20074
$as_echo "$lt_cv_nm_interface" >&6; }
20076
-{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
20077
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
20078
$as_echo_n "checking whether ln -s works... " >&6; }
20080
if test "$LN_S" = "ln -s"; then
20081
- { $as_echo "$as_me:$LINENO: result: yes" >&5
20082
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20083
$as_echo "yes" >&6; }
20085
- { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
20086
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
20087
$as_echo "no, using $LN_S" >&6; }
20090
# find the maximum length of command line arguments
20091
-{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
20092
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
20093
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
20094
-if test "${lt_cv_sys_max_cmd_len+set}" = set; then
20095
+if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
20096
$as_echo_n "(cached) " >&6
20099
@@ -5086,10 +5148,10 @@
20102
if test -n $lt_cv_sys_max_cmd_len ; then
20103
- { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
20104
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
20105
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
20107
- { $as_echo "$as_me:$LINENO: result: none" >&5
20108
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
20109
$as_echo "none" >&6; }
20111
max_cmd_len=$lt_cv_sys_max_cmd_len
20112
@@ -5103,7 +5165,7 @@
20116
-{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
20117
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
20118
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
20119
# Try some XSI features
20121
@@ -5113,17 +5175,17 @@
20122
&& eval 'test $(( 1 + 1 )) -eq 2 \
20123
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
20125
-{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
20126
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
20127
$as_echo "$xsi_shell" >&6; }
20130
-{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
20131
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
20132
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
20134
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
20136
&& lt_shell_append=yes
20137
-{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
20138
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
20139
$as_echo "$lt_shell_append" >&6; }
20142
@@ -5158,14 +5220,14 @@
20146
-{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
20147
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
20148
$as_echo_n "checking for $LD option to reload object files... " >&6; }
20149
-if test "${lt_cv_ld_reload_flag+set}" = set; then
20150
+if test "${lt_cv_ld_reload_flag+set}" = set; then :
20151
$as_echo_n "(cached) " >&6
20153
lt_cv_ld_reload_flag='-r'
20155
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
20156
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
20157
$as_echo "$lt_cv_ld_reload_flag" >&6; }
20158
reload_flag=$lt_cv_ld_reload_flag
20159
case $reload_flag in
20160
@@ -5194,9 +5256,9 @@
20161
if test -n "$ac_tool_prefix"; then
20162
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
20163
set dummy ${ac_tool_prefix}objdump; ac_word=$2
20164
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
20165
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20166
$as_echo_n "checking for $ac_word... " >&6; }
20167
-if test "${ac_cv_prog_OBJDUMP+set}" = set; then
20168
+if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
20169
$as_echo_n "(cached) " >&6
20171
if test -n "$OBJDUMP"; then
20172
@@ -5207,24 +5269,24 @@
20175
test -z "$as_dir" && as_dir=.
20176
- for ac_exec_ext in '' $ac_executable_extensions; do
20177
+ for ac_exec_ext in '' $ac_executable_extensions; do
20178
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20179
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
20180
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20181
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20191
OBJDUMP=$ac_cv_prog_OBJDUMP
20192
if test -n "$OBJDUMP"; then
20193
- { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
20194
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
20195
$as_echo "$OBJDUMP" >&6; }
20197
- { $as_echo "$as_me:$LINENO: result: no" >&5
20198
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20199
$as_echo "no" >&6; }
20202
@@ -5234,9 +5296,9 @@
20203
ac_ct_OBJDUMP=$OBJDUMP
20204
# Extract the first word of "objdump", so it can be a program name with args.
20205
set dummy objdump; ac_word=$2
20206
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
20207
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20208
$as_echo_n "checking for $ac_word... " >&6; }
20209
-if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
20210
+if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
20211
$as_echo_n "(cached) " >&6
20213
if test -n "$ac_ct_OBJDUMP"; then
20214
@@ -5247,24 +5309,24 @@
20217
test -z "$as_dir" && as_dir=.
20218
- for ac_exec_ext in '' $ac_executable_extensions; do
20219
+ for ac_exec_ext in '' $ac_executable_extensions; do
20220
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20221
ac_cv_prog_ac_ct_OBJDUMP="objdump"
20222
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20223
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20233
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
20234
if test -n "$ac_ct_OBJDUMP"; then
20235
- { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
20236
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
20237
$as_echo "$ac_ct_OBJDUMP" >&6; }
20239
- { $as_echo "$as_me:$LINENO: result: no" >&5
20240
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20241
$as_echo "no" >&6; }
20244
@@ -5273,7 +5335,7 @@
20246
case $cross_compiling:$ac_tool_warned in
20248
-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
20249
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20250
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20251
ac_tool_warned=yes ;;
20253
@@ -5290,9 +5352,9 @@
20257
-{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
20258
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
20259
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
20260
-if test "${lt_cv_deplibs_check_method+set}" = set; then
20261
+if test "${lt_cv_deplibs_check_method+set}" = set; then :
20262
$as_echo_n "(cached) " >&6
20264
lt_cv_file_magic_cmd='$MAGIC_CMD'
20265
@@ -5407,11 +5469,11 @@
20268
# This must be Linux ELF.
20269
-linux* | k*bsd*-gnu)
20270
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
241
20271
lt_cv_deplibs_check_method=pass_all
539
24032
# Put the nasty error message in config.log where it belongs
540
24033
echo "$ORBIT_NAME_PKG_ERRORS" >&5
541
@@ -16452,10 +16474,11 @@
542
{ $as_echo "$as_me:$LINENO: checking for LINC" >&5
543
$as_echo_n "checking for LINC... " >&6; }
24035
- { { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED \
24036
- gobject-2.0 >= $GLIB_REQUIRED \
24037
- gthread-2.0 >= $GLIB_REQUIRED \
24038
- gmodule-2.0 >= $GLIB_REQUIRED) were not met:
24040
-$ORBIT_NAME_PKG_ERRORS
24042
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
24043
-installed software in a non-standard prefix.
24045
-Alternatively, you may set the environment variables ORBIT_NAME_CFLAGS
24046
-and ORBIT_NAME_LIBS to avoid the need to call pkg-config.
24047
-See the pkg-config man page for more details.
24049
-$as_echo "$as_me: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED \
24050
+ as_fn_error "Package requirements (glib-2.0 >= $GLIB_REQUIRED \
24051
gobject-2.0 >= $GLIB_REQUIRED \
24052
gthread-2.0 >= $GLIB_REQUIRED \
24053
gmodule-2.0 >= $GLIB_REQUIRED) were not met:
24054
@@ -12320,22 +11579,11 @@
24055
Alternatively, you may set the environment variables ORBIT_NAME_CFLAGS
24056
and ORBIT_NAME_LIBS to avoid the need to call pkg-config.
24057
See the pkg-config man page for more details.
24059
- { (exit 1); exit 1; }; }
24061
elif test $pkg_failed = untried; then
24062
- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
24063
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24064
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24065
-{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
24066
-is in your PATH or set the PKG_CONFIG environment variable to the full
24067
-path to pkg-config.
24069
-Alternatively, you may set the environment variables ORBIT_NAME_CFLAGS
24070
-and ORBIT_NAME_LIBS to avoid the need to call pkg-config.
24071
-See the pkg-config man page for more details.
24073
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24074
-See \`config.log' for more details." >&5
24075
-$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
24076
+as_fn_error "The pkg-config script could not be found or is too old. Make sure it
24077
is in your PATH or set the PKG_CONFIG environment variable to the full
24078
path to pkg-config.
24080
@@ -12344,28 +11592,23 @@
24081
See the pkg-config man page for more details.
24083
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24084
-See \`config.log' for more details." >&2;}
24085
- { (exit 1); exit 1; }; }; }
24086
+See \`config.log' for more details." "$LINENO" 5; }
24088
ORBIT_NAME_CFLAGS=$pkg_cv_ORBIT_NAME_CFLAGS
24089
ORBIT_NAME_LIBS=$pkg_cv_ORBIT_NAME_LIBS
24090
- { $as_echo "$as_me:$LINENO: result: yes" >&5
24091
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24092
$as_echo "yes" >&6; }
24098
-{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
24099
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
24100
$as_echo_n "checking for ANSI C header files... " >&6; }
24101
-if test "${ac_cv_header_stdc+set}" = set; then
24102
+if test "${ac_cv_header_stdc+set}" = set; then :
24103
$as_echo_n "(cached) " >&6
24105
- cat >conftest.$ac_ext <<_ACEOF
24108
-cat confdefs.h >>conftest.$ac_ext
24109
-cat >>conftest.$ac_ext <<_ACEOF
24110
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24111
/* end confdefs.h. */
24112
#include <stdlib.h>
24113
#include <stdarg.h>
24114
@@ -12380,48 +11623,23 @@
24118
-rm -f conftest.$ac_objext
24119
-if { (ac_try="$ac_compile"
24120
-case "(($ac_try" in
24121
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24122
- *) ac_try_echo=$ac_try;;
24124
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24125
-$as_echo "$ac_try_echo") >&5
24126
- (eval "$ac_compile") 2>conftest.er1
24128
- grep -v '^ *+' conftest.er1 >conftest.err
24129
- rm -f conftest.er1
24130
- cat conftest.err >&5
24131
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24132
- (exit $ac_status); } && {
24133
- test -z "$ac_c_werror_flag" ||
24134
- test ! -s conftest.err
24135
- } && test -s conftest.$ac_objext; then
24136
+if ac_fn_c_try_compile "$LINENO"; then :
24137
ac_cv_header_stdc=yes
24139
- $as_echo "$as_me: failed program was:" >&5
24140
-sed 's/^/| /' conftest.$ac_ext >&5
24142
- ac_cv_header_stdc=no
24143
+ ac_cv_header_stdc=no
24146
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24148
if test $ac_cv_header_stdc = yes; then
24149
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
24150
- cat >conftest.$ac_ext <<_ACEOF
24153
-cat confdefs.h >>conftest.$ac_ext
24154
-cat >>conftest.$ac_ext <<_ACEOF
24155
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24156
/* end confdefs.h. */
24157
#include <string.h>
24160
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24161
- $EGREP "memchr" >/dev/null 2>&1; then
24163
+ $EGREP "memchr" >/dev/null 2>&1; then :
24166
ac_cv_header_stdc=no
24168
@@ -12431,18 +11649,14 @@
24170
if test $ac_cv_header_stdc = yes; then
24171
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
24172
- cat >conftest.$ac_ext <<_ACEOF
24175
-cat confdefs.h >>conftest.$ac_ext
24176
-cat >>conftest.$ac_ext <<_ACEOF
24177
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24178
/* end confdefs.h. */
24179
#include <stdlib.h>
24182
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24183
- $EGREP "free" >/dev/null 2>&1; then
24185
+ $EGREP "free" >/dev/null 2>&1; then :
24188
ac_cv_header_stdc=no
24190
@@ -12452,14 +11666,10 @@
24192
if test $ac_cv_header_stdc = yes; then
24193
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
24194
- if test "$cross_compiling" = yes; then
24195
+ if test "$cross_compiling" = yes; then :
24198
- cat >conftest.$ac_ext <<_ACEOF
24201
-cat confdefs.h >>conftest.$ac_ext
24202
-cat >>conftest.$ac_ext <<_ACEOF
24203
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24204
/* end confdefs.h. */
24206
#include <stdlib.h>
24207
@@ -12486,201 +11696,59 @@
24211
-rm -f conftest$ac_exeext
24212
-if { (ac_try="$ac_link"
24213
-case "(($ac_try" in
24214
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24215
- *) ac_try_echo=$ac_try;;
24217
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24218
-$as_echo "$ac_try_echo") >&5
24219
- (eval "$ac_link") 2>&5
24221
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24222
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24223
- { (case "(($ac_try" in
24224
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24225
- *) ac_try_echo=$ac_try;;
24227
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24228
-$as_echo "$ac_try_echo") >&5
24229
- (eval "$ac_try") 2>&5
24231
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24232
- (exit $ac_status); }; }; then
24235
- $as_echo "$as_me: program exited with status $ac_status" >&5
24236
-$as_echo "$as_me: failed program was:" >&5
24237
-sed 's/^/| /' conftest.$ac_ext >&5
24238
+if ac_fn_c_try_run "$LINENO"; then :
24240
-( exit $ac_status )
24241
-ac_cv_header_stdc=no
24243
+ ac_cv_header_stdc=no
24245
-rm -rf conftest.dSYM
24246
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24247
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24248
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
24254
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
24255
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
24256
$as_echo "$ac_cv_header_stdc" >&6; }
24257
if test $ac_cv_header_stdc = yes; then
24259
-cat >>confdefs.h <<\_ACEOF
24260
-#define STDC_HEADERS 1
24262
+$as_echo "#define STDC_HEADERS 1" >>confdefs.h
24271
for ac_header in fcntl.h unistd.h sys/endian.h endian.h machine/endian.h
24273
-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24274
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24275
- { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24276
-$as_echo_n "checking for $ac_header... " >&6; }
24277
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24278
- $as_echo_n "(cached) " >&6
24280
-ac_res=`eval 'as_val=${'$as_ac_Header'}
24281
- $as_echo "$as_val"'`
24282
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24283
-$as_echo "$ac_res" >&6; }
24285
- # Is the header compilable?
24286
-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
24287
-$as_echo_n "checking $ac_header usability... " >&6; }
24288
-cat >conftest.$ac_ext <<_ACEOF
24291
-cat confdefs.h >>conftest.$ac_ext
24292
-cat >>conftest.$ac_ext <<_ACEOF
24293
-/* end confdefs.h. */
24294
-$ac_includes_default
24295
-#include <$ac_header>
24297
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24298
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
24299
+eval as_val=\$$as_ac_Header
24300
+ if test "x$as_val" = x""yes; then :
24301
+ cat >>confdefs.h <<_ACEOF
24302
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24304
-rm -f conftest.$ac_objext
24305
-if { (ac_try="$ac_compile"
24306
-case "(($ac_try" in
24307
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24308
- *) ac_try_echo=$ac_try;;
24310
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24311
-$as_echo "$ac_try_echo") >&5
24312
- (eval "$ac_compile") 2>conftest.er1
24314
- grep -v '^ *+' conftest.er1 >conftest.err
24315
- rm -f conftest.er1
24316
- cat conftest.err >&5
24317
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24318
- (exit $ac_status); } && {
24319
- test -z "$ac_c_werror_flag" ||
24320
- test ! -s conftest.err
24321
- } && test -s conftest.$ac_objext; then
24322
- ac_header_compiler=yes
24324
- $as_echo "$as_me: failed program was:" >&5
24325
-sed 's/^/| /' conftest.$ac_ext >&5
24327
- ac_header_compiler=no
24330
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24331
-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24332
-$as_echo "$ac_header_compiler" >&6; }
24335
-# Is the header present?
24336
-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
24337
-$as_echo_n "checking $ac_header presence... " >&6; }
24338
-cat >conftest.$ac_ext <<_ACEOF
24341
-cat confdefs.h >>conftest.$ac_ext
24342
-cat >>conftest.$ac_ext <<_ACEOF
24343
-/* end confdefs.h. */
24344
-#include <$ac_header>
24345
+for ac_header in sys/machine.h sys/isa_defs.h sys/poll.h sys/select.h
24347
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24348
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
24349
+eval as_val=\$$as_ac_Header
24350
+ if test "x$as_val" = x""yes; then :
24351
+ cat >>confdefs.h <<_ACEOF
24352
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24354
-if { (ac_try="$ac_cpp conftest.$ac_ext"
24355
-case "(($ac_try" in
24356
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24357
- *) ac_try_echo=$ac_try;;
24359
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24360
-$as_echo "$ac_try_echo") >&5
24361
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24363
- grep -v '^ *+' conftest.er1 >conftest.err
24364
- rm -f conftest.er1
24365
- cat conftest.err >&5
24366
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24367
- (exit $ac_status); } >/dev/null && {
24368
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24369
- test ! -s conftest.err
24371
- ac_header_preproc=yes
24373
- $as_echo "$as_me: failed program was:" >&5
24374
-sed 's/^/| /' conftest.$ac_ext >&5
24376
- ac_header_preproc=no
24379
-rm -f conftest.err conftest.$ac_ext
24380
-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24381
-$as_echo "$ac_header_preproc" >&6; }
24383
-# So? What about this header?
24384
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24386
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24387
-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24388
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24389
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24390
- ac_header_preproc=yes
24393
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24394
-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24395
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24396
-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24397
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24398
-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24399
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24400
-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24401
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24402
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24403
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24404
-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24406
-## --------------------------------------------------------------------- ##
24407
-## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=ORBit2 ##
24408
-## --------------------------------------------------------------------- ##
24410
- ) | sed "s/^/$as_me: WARNING: /" >&2
24413
-{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24414
-$as_echo_n "checking for $ac_header... " >&6; }
24415
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24416
- $as_echo_n "(cached) " >&6
24418
- eval "$as_ac_Header=\$ac_header_preproc"
24420
-ac_res=`eval 'as_val=${'$as_ac_Header'}
24421
- $as_echo "$as_val"'`
24422
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24423
-$as_echo "$ac_res" >&6; }
24427
-as_val=`eval 'as_val=${'$as_ac_Header'}
24428
- $as_echo "$as_val"'`
24429
- if test "x$as_val" = x""yes; then
24430
+for ac_header in sys/time.h netinet/in.h sys/socket.h arpa/inet.h
24432
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24433
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
24434
+eval as_val=\$$as_ac_Header
24435
+ if test "x$as_val" = x""yes; then :
24436
cat >>confdefs.h <<_ACEOF
24437
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24439
@@ -12689,152 +11757,40 @@
24447
-for ac_header in sys/machine.h sys/isa_defs.h sys/poll.h sys/select.h
24449
-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24450
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24451
- { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24452
-$as_echo_n "checking for $ac_header... " >&6; }
24453
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24454
- $as_echo_n "(cached) " >&6
24456
-ac_res=`eval 'as_val=${'$as_ac_Header'}
24457
- $as_echo "$as_val"'`
24458
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24459
-$as_echo "$ac_res" >&6; }
24461
- # Is the header compilable?
24462
-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
24463
-$as_echo_n "checking $ac_header usability... " >&6; }
24464
-cat >conftest.$ac_ext <<_ACEOF
24467
-cat confdefs.h >>conftest.$ac_ext
24468
-cat >>conftest.$ac_ext <<_ACEOF
24469
-/* end confdefs.h. */
24470
-$ac_includes_default
24471
-#include <$ac_header>
24472
+for ac_header in stddef.h wchar.h wcstr.h wctype.h machine/types.h
24474
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24475
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
24476
+eval as_val=\$$as_ac_Header
24477
+ if test "x$as_val" = x""yes; then :
24478
+ cat >>confdefs.h <<_ACEOF
24479
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24481
-rm -f conftest.$ac_objext
24482
-if { (ac_try="$ac_compile"
24483
-case "(($ac_try" in
24484
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24485
- *) ac_try_echo=$ac_try;;
24487
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24488
-$as_echo "$ac_try_echo") >&5
24489
- (eval "$ac_compile") 2>conftest.er1
24491
- grep -v '^ *+' conftest.er1 >conftest.err
24492
- rm -f conftest.er1
24493
- cat conftest.err >&5
24494
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24495
- (exit $ac_status); } && {
24496
- test -z "$ac_c_werror_flag" ||
24497
- test ! -s conftest.err
24498
- } && test -s conftest.$ac_objext; then
24499
- ac_header_compiler=yes
24501
- $as_echo "$as_me: failed program was:" >&5
24502
-sed 's/^/| /' conftest.$ac_ext >&5
24504
- ac_header_compiler=no
24507
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24508
-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24509
-$as_echo "$ac_header_compiler" >&6; }
24512
-# Is the header present?
24513
-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
24514
-$as_echo_n "checking $ac_header presence... " >&6; }
24515
-cat >conftest.$ac_ext <<_ACEOF
24518
-cat confdefs.h >>conftest.$ac_ext
24519
-cat >>conftest.$ac_ext <<_ACEOF
24520
-/* end confdefs.h. */
24521
-#include <$ac_header>
24522
+for ac_header in sys/un.h sys/uio.h syslog.h
24524
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24525
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
24526
+eval as_val=\$$as_ac_Header
24527
+ if test "x$as_val" = x""yes; then :
24528
+ cat >>confdefs.h <<_ACEOF
24529
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24531
-if { (ac_try="$ac_cpp conftest.$ac_ext"
24532
-case "(($ac_try" in
24533
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24534
- *) ac_try_echo=$ac_try;;
24536
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24537
-$as_echo "$ac_try_echo") >&5
24538
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24540
- grep -v '^ *+' conftest.er1 >conftest.err
24541
- rm -f conftest.er1
24542
- cat conftest.err >&5
24543
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544
- (exit $ac_status); } >/dev/null && {
24545
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24546
- test ! -s conftest.err
24548
- ac_header_preproc=yes
24550
- $as_echo "$as_me: failed program was:" >&5
24551
-sed 's/^/| /' conftest.$ac_ext >&5
24553
- ac_header_preproc=no
24556
-rm -f conftest.err conftest.$ac_ext
24557
-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24558
-$as_echo "$ac_header_preproc" >&6; }
24560
-# So? What about this header?
24561
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24563
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24564
-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24565
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24566
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24567
- ac_header_preproc=yes
24570
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24571
-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24572
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24573
-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24574
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24575
-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24576
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24577
-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24578
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24579
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24580
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24581
-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24583
-## --------------------------------------------------------------------- ##
24584
-## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=ORBit2 ##
24585
-## --------------------------------------------------------------------- ##
24587
- ) | sed "s/^/$as_me: WARNING: /" >&2
24590
-{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24591
-$as_echo_n "checking for $ac_header... " >&6; }
24592
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24593
- $as_echo_n "(cached) " >&6
24595
- eval "$as_ac_Header=\$ac_header_preproc"
24597
-ac_res=`eval 'as_val=${'$as_ac_Header'}
24598
- $as_echo "$as_val"'`
24599
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24600
-$as_echo "$ac_res" >&6; }
24604
-as_val=`eval 'as_val=${'$as_ac_Header'}
24605
- $as_echo "$as_val"'`
24606
- if test "x$as_val" = x""yes; then
24607
+for ac_header in sys/wait.h netdb.h
24609
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24610
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
24611
+eval as_val=\$$as_ac_Header
24612
+ if test "x$as_val" = x""yes; then :
24613
cat >>confdefs.h <<_ACEOF
24614
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24616
@@ -12843,154 +11799,38 @@
24624
-for ac_header in sys/time.h netinet/in.h sys/socket.h arpa/inet.h
24626
-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24627
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24628
- { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24629
-$as_echo_n "checking for $ac_header... " >&6; }
24630
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24631
- $as_echo_n "(cached) " >&6
24633
-ac_res=`eval 'as_val=${'$as_ac_Header'}
24634
- $as_echo "$as_val"'`
24635
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24636
-$as_echo "$ac_res" >&6; }
24638
- # Is the header compilable?
24639
-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
24640
-$as_echo_n "checking $ac_header usability... " >&6; }
24641
-cat >conftest.$ac_ext <<_ACEOF
24644
-cat confdefs.h >>conftest.$ac_ext
24645
-cat >>conftest.$ac_ext <<_ACEOF
24646
-/* end confdefs.h. */
24647
-$ac_includes_default
24648
-#include <$ac_header>
24649
+for ac_header in utime.h sys/utime.h
24651
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24652
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
24653
+eval as_val=\$$as_ac_Header
24654
+ if test "x$as_val" = x""yes; then :
24655
+ cat >>confdefs.h <<_ACEOF
24656
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24658
-rm -f conftest.$ac_objext
24659
-if { (ac_try="$ac_compile"
24660
-case "(($ac_try" in
24661
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24662
- *) ac_try_echo=$ac_try;;
24664
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24665
-$as_echo "$ac_try_echo") >&5
24666
- (eval "$ac_compile") 2>conftest.er1
24668
- grep -v '^ *+' conftest.er1 >conftest.err
24669
- rm -f conftest.er1
24670
- cat conftest.err >&5
24671
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24672
- (exit $ac_status); } && {
24673
- test -z "$ac_c_werror_flag" ||
24674
- test ! -s conftest.err
24675
- } && test -s conftest.$ac_objext; then
24676
- ac_header_compiler=yes
24678
- $as_echo "$as_me: failed program was:" >&5
24679
-sed 's/^/| /' conftest.$ac_ext >&5
24681
- ac_header_compiler=no
24684
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24685
-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24686
-$as_echo "$ac_header_compiler" >&6; }
24689
-# Is the header present?
24690
-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
24691
-$as_echo_n "checking $ac_header presence... " >&6; }
24692
-cat >conftest.$ac_ext <<_ACEOF
24695
-cat confdefs.h >>conftest.$ac_ext
24696
-cat >>conftest.$ac_ext <<_ACEOF
24697
-/* end confdefs.h. */
24698
-#include <$ac_header>
24699
+for ac_header in linux/socket.h
24701
+ ac_fn_c_check_header_mongrel "$LINENO" "linux/socket.h" "ac_cv_header_linux_socket_h" "$ac_includes_default"
24702
+if test "x$ac_cv_header_linux_socket_h" = x""yes; then :
24703
+ cat >>confdefs.h <<_ACEOF
24704
+#define HAVE_LINUX_SOCKET_H 1
24706
-if { (ac_try="$ac_cpp conftest.$ac_ext"
24707
-case "(($ac_try" in
24708
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24709
- *) ac_try_echo=$ac_try;;
24711
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24712
-$as_echo "$ac_try_echo") >&5
24713
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24715
- grep -v '^ *+' conftest.er1 >conftest.err
24716
- rm -f conftest.er1
24717
- cat conftest.err >&5
24718
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24719
- (exit $ac_status); } >/dev/null && {
24720
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24721
- test ! -s conftest.err
24723
- ac_header_preproc=yes
24725
- $as_echo "$as_me: failed program was:" >&5
24726
-sed 's/^/| /' conftest.$ac_ext >&5
24728
- ac_header_preproc=no
24731
-rm -f conftest.err conftest.$ac_ext
24732
-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24733
-$as_echo "$ac_header_preproc" >&6; }
24735
-# So? What about this header?
24736
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24738
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24739
-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24740
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24741
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24742
- ac_header_preproc=yes
24745
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24746
-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24747
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24748
-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24749
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24750
-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24751
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24752
-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24753
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24754
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24755
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24756
-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24758
-## --------------------------------------------------------------------- ##
24759
-## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=ORBit2 ##
24760
-## --------------------------------------------------------------------- ##
24762
- ) | sed "s/^/$as_me: WARNING: /" >&2
24765
-{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24766
-$as_echo_n "checking for $ac_header... " >&6; }
24767
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24768
- $as_echo_n "(cached) " >&6
24770
- eval "$as_ac_Header=\$ac_header_preproc"
24772
-ac_res=`eval 'as_val=${'$as_ac_Header'}
24773
- $as_echo "$as_val"'`
24774
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24775
-$as_echo "$ac_res" >&6; }
24779
-as_val=`eval 'as_val=${'$as_ac_Header'}
24780
- $as_echo "$as_val"'`
24781
- if test "x$as_val" = x""yes; then
24782
+for ac_header in sys/sockio.h
24784
+ ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
24785
+if test "x$ac_cv_header_sys_sockio_h" = x""yes; then :
24786
cat >>confdefs.h <<_ACEOF
24787
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24788
+#define HAVE_SYS_SOCKIO_H 1
24792
@@ -12998,4960 +11838,1423 @@
24796
+if test "$os_win32" = "yes"; then
24797
+ for ac_header in winsock2.h
24799
+ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
24800
+if test "x$ac_cv_header_winsock2_h" = x""yes; then :
24801
+ cat >>confdefs.h <<_ACEOF
24802
+#define HAVE_WINSOCK2_H 1
24809
+ if test $ac_cv_header_winsock2_h = yes; then
24810
+ LIBS="-lws2_32 $LIBS"
24814
-for ac_header in stddef.h wchar.h wcstr.h wctype.h machine/types.h
24816
-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24817
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24818
- { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24819
-$as_echo_n "checking for $ac_header... " >&6; }
24820
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24821
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
24822
+$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
24823
+if test "${ac_cv_c_const+set}" = set; then :
24824
$as_echo_n "(cached) " >&6
24826
-ac_res=`eval 'as_val=${'$as_ac_Header'}
24827
- $as_echo "$as_val"'`
24828
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24829
-$as_echo "$ac_res" >&6; }
24831
- # Is the header compilable?
24832
-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
24833
-$as_echo_n "checking $ac_header usability... " >&6; }
24834
-cat >conftest.$ac_ext <<_ACEOF
24837
-cat confdefs.h >>conftest.$ac_ext
24838
-cat >>conftest.$ac_ext <<_ACEOF
24839
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24840
/* end confdefs.h. */
24841
-$ac_includes_default
24842
-#include <$ac_header>
24844
-rm -f conftest.$ac_objext
24845
-if { (ac_try="$ac_compile"
24846
-case "(($ac_try" in
24847
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24848
- *) ac_try_echo=$ac_try;;
24850
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24851
-$as_echo "$ac_try_echo") >&5
24852
- (eval "$ac_compile") 2>conftest.er1
24854
- grep -v '^ *+' conftest.er1 >conftest.err
24855
- rm -f conftest.er1
24856
- cat conftest.err >&5
24857
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24858
- (exit $ac_status); } && {
24859
- test -z "$ac_c_werror_flag" ||
24860
- test ! -s conftest.err
24861
- } && test -s conftest.$ac_objext; then
24862
- ac_header_compiler=yes
24864
- $as_echo "$as_me: failed program was:" >&5
24865
-sed 's/^/| /' conftest.$ac_ext >&5
24867
- ac_header_compiler=no
24872
+/* FIXME: Include the comments suggested by Paul. */
24873
+#ifndef __cplusplus
24874
+ /* Ultrix mips cc rejects this. */
24875
+ typedef int charset[2];
24876
+ const charset cs;
24877
+ /* SunOS 4.1.1 cc rejects this. */
24878
+ char const *const *pcpcc;
24880
+ /* NEC SVR4.0.2 mips cc rejects this. */
24881
+ struct point {int x, y;};
24882
+ static struct point const zero = {0,0};
24883
+ /* AIX XL C 1.02.0.0 rejects this.
24884
+ It does not let you subtract one const X* pointer from another in
24885
+ an arm of an if-expression whose if-part is not a constant
24887
+ const char *g = "string";
24888
+ pcpcc = &g + (g ? g-g : 0);
24889
+ /* HPUX 7.0 cc rejects these. */
24891
+ ppc = (char**) pcpcc;
24892
+ pcpcc = (char const *const *) ppc;
24893
+ { /* SCO 3.2v4 cc rejects this. */
24895
+ char const *s = 0 ? (char *) 0 : (char const *) 0;
24897
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24898
-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24899
-$as_echo "$ac_header_compiler" >&6; }
24903
+ { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
24904
+ int x[] = {25, 17};
24905
+ const int *foo = &x[0];
24908
+ { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
24909
+ typedef const int *iptr;
24913
+ { /* AIX XL C 1.02.0.0 rejects this saying
24914
+ "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
24915
+ struct s { int j; const int *ap[3]; };
24916
+ struct s *b; b->j = 5;
24918
+ { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
24919
+ const int foo = 10;
24920
+ if (!foo) return 0;
24922
+ return !cs[0] && !zero.x;
24925
-# Is the header present?
24926
-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
24927
-$as_echo_n "checking $ac_header presence... " >&6; }
24928
-cat >conftest.$ac_ext <<_ACEOF
24931
-cat confdefs.h >>conftest.$ac_ext
24932
-cat >>conftest.$ac_ext <<_ACEOF
24933
-/* end confdefs.h. */
24934
-#include <$ac_header>
24939
-if { (ac_try="$ac_cpp conftest.$ac_ext"
24940
-case "(($ac_try" in
24941
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24942
- *) ac_try_echo=$ac_try;;
24944
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24945
-$as_echo "$ac_try_echo") >&5
24946
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24948
- grep -v '^ *+' conftest.er1 >conftest.err
24949
- rm -f conftest.er1
24950
- cat conftest.err >&5
24951
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952
- (exit $ac_status); } >/dev/null && {
24953
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24954
- test ! -s conftest.err
24956
- ac_header_preproc=yes
24957
+if ac_fn_c_try_compile "$LINENO"; then :
24958
+ ac_cv_c_const=yes
24960
- $as_echo "$as_me: failed program was:" >&5
24961
-sed 's/^/| /' conftest.$ac_ext >&5
24963
- ac_header_preproc=no
24966
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24968
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
24969
+$as_echo "$ac_cv_c_const" >&6; }
24970
+if test $ac_cv_c_const = no; then
24972
-rm -f conftest.err conftest.$ac_ext
24973
-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24974
-$as_echo "$ac_header_preproc" >&6; }
24975
+$as_echo "#define const /**/" >>confdefs.h
24977
-# So? What about this header?
24978
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24980
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24981
-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24982
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24983
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24984
- ac_header_preproc=yes
24987
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24988
-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24989
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24990
-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24991
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24992
-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24993
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24994
-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24995
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24996
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24997
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24998
-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25000
-## --------------------------------------------------------------------- ##
25001
-## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=ORBit2 ##
25002
-## --------------------------------------------------------------------- ##
25004
- ) | sed "s/^/$as_me: WARNING: /" >&2
25007
-{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25008
-$as_echo_n "checking for $ac_header... " >&6; }
25009
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25012
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
25013
+$as_echo_n "checking for inline... " >&6; }
25014
+if test "${ac_cv_c_inline+set}" = set; then :
25015
$as_echo_n "(cached) " >&6
25017
- eval "$as_ac_Header=\$ac_header_preproc"
25019
-ac_res=`eval 'as_val=${'$as_ac_Header'}
25020
- $as_echo "$as_val"'`
25021
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25022
-$as_echo "$ac_res" >&6; }
25023
+ ac_cv_c_inline=no
25024
+for ac_kw in inline __inline__ __inline; do
25025
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25026
+/* end confdefs.h. */
25027
+#ifndef __cplusplus
25028
+typedef int foo_t;
25029
+static $ac_kw foo_t static_foo () {return 0; }
25030
+$ac_kw foo_t foo () {return 0; }
25034
-as_val=`eval 'as_val=${'$as_ac_Header'}
25035
- $as_echo "$as_val"'`
25036
- if test "x$as_val" = x""yes; then
25037
- cat >>confdefs.h <<_ACEOF
25038
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25041
+if ac_fn_c_try_compile "$LINENO"; then :
25042
+ ac_cv_c_inline=$ac_kw
25045
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25046
+ test "$ac_cv_c_inline" != no && break
25052
-for ac_header in sys/un.h sys/uio.h syslog.h
25054
-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25055
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25056
- { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25057
-$as_echo_n "checking for $ac_header... " >&6; }
25058
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25059
- $as_echo_n "(cached) " >&6
25061
-ac_res=`eval 'as_val=${'$as_ac_Header'}
25062
- $as_echo "$as_val"'`
25063
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25064
-$as_echo "$ac_res" >&6; }
25066
- # Is the header compilable?
25067
-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
25068
-$as_echo_n "checking $ac_header usability... " >&6; }
25069
-cat >conftest.$ac_ext <<_ACEOF
25072
-cat confdefs.h >>conftest.$ac_ext
25073
-cat >>conftest.$ac_ext <<_ACEOF
25074
-/* end confdefs.h. */
25075
-$ac_includes_default
25076
-#include <$ac_header>
25077
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
25078
+$as_echo "$ac_cv_c_inline" >&6; }
25080
+case $ac_cv_c_inline in
25083
+ case $ac_cv_c_inline in
25085
+ *) ac_val=$ac_cv_c_inline;;
25087
+ cat >>confdefs.h <<_ACEOF
25088
+#ifndef __cplusplus
25089
+#define inline $ac_val
25092
-rm -f conftest.$ac_objext
25093
-if { (ac_try="$ac_compile"
25094
-case "(($ac_try" in
25095
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25096
- *) ac_try_echo=$ac_try;;
25099
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25100
-$as_echo "$ac_try_echo") >&5
25101
- (eval "$ac_compile") 2>conftest.er1
25103
- grep -v '^ *+' conftest.er1 >conftest.err
25104
- rm -f conftest.er1
25105
- cat conftest.err >&5
25106
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25107
- (exit $ac_status); } && {
25108
- test -z "$ac_c_werror_flag" ||
25109
- test ! -s conftest.err
25110
- } && test -s conftest.$ac_objext; then
25111
- ac_header_compiler=yes
25113
- $as_echo "$as_me: failed program was:" >&5
25114
-sed 's/^/| /' conftest.$ac_ext >&5
25116
- ac_header_compiler=no
25118
+ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
25119
+if test "x$ac_cv_type_size_t" = x""yes; then :
25121
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25122
-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25123
-$as_echo "$ac_header_compiler" >&6; }
25126
-# Is the header present?
25127
-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
25128
-$as_echo_n "checking $ac_header presence... " >&6; }
25129
-cat >conftest.$ac_ext <<_ACEOF
25132
-cat confdefs.h >>conftest.$ac_ext
25133
-cat >>conftest.$ac_ext <<_ACEOF
25134
-/* end confdefs.h. */
25135
-#include <$ac_header>
25136
+cat >>confdefs.h <<_ACEOF
25137
+#define size_t unsigned int
25139
-if { (ac_try="$ac_cpp conftest.$ac_ext"
25140
-case "(($ac_try" in
25141
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25142
- *) ac_try_echo=$ac_try;;
25144
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25145
-$as_echo "$ac_try_echo") >&5
25146
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25148
- grep -v '^ *+' conftest.er1 >conftest.err
25149
- rm -f conftest.er1
25150
- cat conftest.err >&5
25151
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25152
- (exit $ac_status); } >/dev/null && {
25153
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25154
- test ! -s conftest.err
25156
- ac_header_preproc=yes
25158
- $as_echo "$as_me: failed program was:" >&5
25159
-sed 's/^/| /' conftest.$ac_ext >&5
25161
- ac_header_preproc=no
25164
-rm -f conftest.err conftest.$ac_ext
25165
-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25166
-$as_echo "$ac_header_preproc" >&6; }
25168
-# So? What about this header?
25169
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25171
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25172
-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25173
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25174
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25175
- ac_header_preproc=yes
25178
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25179
-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25180
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25181
-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25182
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25183
-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25184
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25185
-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25186
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25187
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25188
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25189
-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25191
-## --------------------------------------------------------------------- ##
25192
-## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=ORBit2 ##
25193
-## --------------------------------------------------------------------- ##
25195
- ) | sed "s/^/$as_me: WARNING: /" >&2
25198
-{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25199
-$as_echo_n "checking for $ac_header... " >&6; }
25200
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25201
- $as_echo_n "(cached) " >&6
25203
- eval "$as_ac_Header=\$ac_header_preproc"
25205
-ac_res=`eval 'as_val=${'$as_ac_Header'}
25206
- $as_echo "$as_val"'`
25207
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25208
-$as_echo "$ac_res" >&6; }
25211
-as_val=`eval 'as_val=${'$as_ac_Header'}
25212
- $as_echo "$as_val"'`
25213
- if test "x$as_val" = x""yes; then
25214
+for ac_func in vprintf
25216
+ ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
25217
+if test "x$ac_cv_func_vprintf" = x""yes; then :
25218
cat >>confdefs.h <<_ACEOF
25219
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25220
+#define HAVE_VPRINTF 1
25223
+ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
25224
+if test "x$ac_cv_func__doprnt" = x""yes; then :
25226
+$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
25235
-for ac_header in sys/wait.h netdb.h
25237
-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25238
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25239
- { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25240
-$as_echo_n "checking for $ac_header... " >&6; }
25241
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25242
+ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
25243
+if test "x$ac_cv_func_socket" = x""yes; then :
25246
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
25247
+$as_echo_n "checking for socket in -lsocket... " >&6; }
25248
+if test "${ac_cv_lib_socket_socket+set}" = set; then :
25249
$as_echo_n "(cached) " >&6
25251
-ac_res=`eval 'as_val=${'$as_ac_Header'}
25252
- $as_echo "$as_val"'`
25253
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25254
-$as_echo "$ac_res" >&6; }
25256
- # Is the header compilable?
25257
-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
25258
-$as_echo_n "checking $ac_header usability... " >&6; }
25259
-cat >conftest.$ac_ext <<_ACEOF
25262
-cat confdefs.h >>conftest.$ac_ext
25263
-cat >>conftest.$ac_ext <<_ACEOF
25264
+ ac_check_lib_save_LIBS=$LIBS
25265
+LIBS="-lsocket $LIBS"
25266
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25267
/* end confdefs.h. */
25268
-$ac_includes_default
25269
-#include <$ac_header>
25271
+/* Override any GCC internal prototype to avoid an error.
25272
+ Use char because int might match the return type of a GCC
25273
+ builtin and then its argument prototype would still apply. */
25274
+#ifdef __cplusplus
25286
-rm -f conftest.$ac_objext
25287
-if { (ac_try="$ac_compile"
25288
-case "(($ac_try" in
25289
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25290
- *) ac_try_echo=$ac_try;;
25292
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25293
-$as_echo "$ac_try_echo") >&5
25294
- (eval "$ac_compile") 2>conftest.er1
25296
- grep -v '^ *+' conftest.er1 >conftest.err
25297
- rm -f conftest.er1
25298
- cat conftest.err >&5
25299
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25300
- (exit $ac_status); } && {
25301
- test -z "$ac_c_werror_flag" ||
25302
- test ! -s conftest.err
25303
- } && test -s conftest.$ac_objext; then
25304
- ac_header_compiler=yes
25305
+if ac_fn_c_try_link "$LINENO"; then :
25306
+ ac_cv_lib_socket_socket=yes
25308
- $as_echo "$as_me: failed program was:" >&5
25309
-sed 's/^/| /' conftest.$ac_ext >&5
25311
- ac_header_compiler=no
25312
+ ac_cv_lib_socket_socket=no
25314
+rm -f core conftest.err conftest.$ac_objext \
25315
+ conftest$ac_exeext conftest.$ac_ext
25316
+LIBS=$ac_check_lib_save_LIBS
25318
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
25319
+$as_echo "$ac_cv_lib_socket_socket" >&6; }
25320
+if test "x$ac_cv_lib_socket_socket" = x""yes; then :
25321
+ cat >>confdefs.h <<_ACEOF
25322
+#define HAVE_LIBSOCKET 1
25325
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25326
-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25327
-$as_echo "$ac_header_compiler" >&6; }
25328
+ LIBS="-lsocket $LIBS"
25330
-# Is the header present?
25331
-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
25332
-$as_echo_n "checking $ac_header presence... " >&6; }
25333
-cat >conftest.$ac_ext <<_ACEOF
25336
-cat confdefs.h >>conftest.$ac_ext
25337
-cat >>conftest.$ac_ext <<_ACEOF
25338
-/* end confdefs.h. */
25339
-#include <$ac_header>
25341
-if { (ac_try="$ac_cpp conftest.$ac_ext"
25342
-case "(($ac_try" in
25343
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25344
- *) ac_try_echo=$ac_try;;
25346
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25347
-$as_echo "$ac_try_echo") >&5
25348
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25350
- grep -v '^ *+' conftest.er1 >conftest.err
25351
- rm -f conftest.er1
25352
- cat conftest.err >&5
25353
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354
- (exit $ac_status); } >/dev/null && {
25355
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25356
- test ! -s conftest.err
25358
- ac_header_preproc=yes
25360
- $as_echo "$as_me: failed program was:" >&5
25361
-sed 's/^/| /' conftest.$ac_ext >&5
25363
- ac_header_preproc=no
25366
-rm -f conftest.err conftest.$ac_ext
25367
-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25368
-$as_echo "$ac_header_preproc" >&6; }
25370
-# So? What about this header?
25371
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25373
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25374
-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25375
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25376
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25377
- ac_header_preproc=yes
25380
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25381
-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25382
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25383
-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25384
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25385
-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25386
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25387
-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25388
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25389
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25390
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25391
-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25393
-## --------------------------------------------------------------------- ##
25394
-## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=ORBit2 ##
25395
-## --------------------------------------------------------------------- ##
25397
- ) | sed "s/^/$as_me: WARNING: /" >&2
25400
-{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25401
-$as_echo_n "checking for $ac_header... " >&6; }
25402
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25403
- $as_echo_n "(cached) " >&6
25405
- eval "$as_ac_Header=\$ac_header_preproc"
25407
-ac_res=`eval 'as_val=${'$as_ac_Header'}
25408
- $as_echo "$as_val"'`
25409
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25410
-$as_echo "$ac_res" >&6; }
25413
-as_val=`eval 'as_val=${'$as_ac_Header'}
25414
- $as_echo "$as_val"'`
25415
- if test "x$as_val" = x""yes; then
25416
- cat >>confdefs.h <<_ACEOF
25417
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25424
+ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25425
+if test "x$ac_cv_func_gethostbyname" = x""yes; then :
25428
-for ac_header in utime.h sys/utime.h
25430
-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25431
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25432
- { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25433
-$as_echo_n "checking for $ac_header... " >&6; }
25434
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25436
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25437
+$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25438
+if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
25439
$as_echo_n "(cached) " >&6
25441
-ac_res=`eval 'as_val=${'$as_ac_Header'}
25442
- $as_echo "$as_val"'`
25443
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25444
-$as_echo "$ac_res" >&6; }
25446
- # Is the header compilable?
25447
-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
25448
-$as_echo_n "checking $ac_header usability... " >&6; }
25449
-cat >conftest.$ac_ext <<_ACEOF
25452
-cat confdefs.h >>conftest.$ac_ext
25453
-cat >>conftest.$ac_ext <<_ACEOF
25454
+ ac_check_lib_save_LIBS=$LIBS
25455
+LIBS="-lnsl $LIBS"
25456
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25457
/* end confdefs.h. */
25458
-$ac_includes_default
25459
-#include <$ac_header>
25461
+/* Override any GCC internal prototype to avoid an error.
25462
+ Use char because int might match the return type of a GCC
25463
+ builtin and then its argument prototype would still apply. */
25464
+#ifdef __cplusplus
25467
+char gethostbyname ();
25471
+return gethostbyname ();
25476
-rm -f conftest.$ac_objext
25477
-if { (ac_try="$ac_compile"
25478
-case "(($ac_try" in
25479
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25480
- *) ac_try_echo=$ac_try;;
25482
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25483
-$as_echo "$ac_try_echo") >&5
25484
- (eval "$ac_compile") 2>conftest.er1
25486
- grep -v '^ *+' conftest.er1 >conftest.err
25487
- rm -f conftest.er1
25488
- cat conftest.err >&5
25489
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25490
- (exit $ac_status); } && {
25491
- test -z "$ac_c_werror_flag" ||
25492
- test ! -s conftest.err
25493
- } && test -s conftest.$ac_objext; then
25494
- ac_header_compiler=yes
25495
+if ac_fn_c_try_link "$LINENO"; then :
25496
+ ac_cv_lib_nsl_gethostbyname=yes
25498
- $as_echo "$as_me: failed program was:" >&5
25499
-sed 's/^/| /' conftest.$ac_ext >&5
25501
- ac_header_compiler=no
25502
+ ac_cv_lib_nsl_gethostbyname=no
25504
+rm -f core conftest.err conftest.$ac_objext \
25505
+ conftest$ac_exeext conftest.$ac_ext
25506
+LIBS=$ac_check_lib_save_LIBS
25508
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25509
+$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25510
+if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
25511
+ cat >>confdefs.h <<_ACEOF
25512
+#define HAVE_LIBNSL 1
25515
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25516
-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25517
-$as_echo "$ac_header_compiler" >&6; }
25518
+ LIBS="-lnsl $LIBS"
25520
-# Is the header present?
25521
-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
25522
-$as_echo_n "checking $ac_header presence... " >&6; }
25523
-cat >conftest.$ac_ext <<_ACEOF
25526
-cat confdefs.h >>conftest.$ac_ext
25527
-cat >>conftest.$ac_ext <<_ACEOF
25528
-/* end confdefs.h. */
25529
-#include <$ac_header>
25531
-if { (ac_try="$ac_cpp conftest.$ac_ext"
25532
-case "(($ac_try" in
25533
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25534
- *) ac_try_echo=$ac_try;;
25536
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25537
-$as_echo "$ac_try_echo") >&5
25538
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25540
- grep -v '^ *+' conftest.er1 >conftest.err
25541
- rm -f conftest.er1
25542
- cat conftest.err >&5
25543
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25544
- (exit $ac_status); } >/dev/null && {
25545
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25546
- test ! -s conftest.err
25548
- ac_header_preproc=yes
25550
- $as_echo "$as_me: failed program was:" >&5
25551
-sed 's/^/| /' conftest.$ac_ext >&5
25554
- ac_header_preproc=no
25557
-rm -f conftest.err conftest.$ac_ext
25558
-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25559
-$as_echo "$ac_header_preproc" >&6; }
25560
+ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
25561
+if test "x$ac_cv_func_sigaction" = x""yes; then :
25563
-# So? What about this header?
25564
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25566
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25567
-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25568
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25569
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25570
- ac_header_preproc=yes
25573
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25574
-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25575
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25576
-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25577
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25578
-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25579
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25580
-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25581
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25582
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25583
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25584
-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25586
-## --------------------------------------------------------------------- ##
25587
-## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=ORBit2 ##
25588
-## --------------------------------------------------------------------- ##
25590
- ) | sed "s/^/$as_me: WARNING: /" >&2
25593
-{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25594
-$as_echo_n "checking for $ac_header... " >&6; }
25595
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25596
- $as_echo_n "(cached) " >&6
25598
- eval "$as_ac_Header=\$ac_header_preproc"
25600
-ac_res=`eval 'as_val=${'$as_ac_Header'}
25601
- $as_echo "$as_val"'`
25602
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25603
-$as_echo "$ac_res" >&6; }
25606
-as_val=`eval 'as_val=${'$as_ac_Header'}
25607
- $as_echo "$as_val"'`
25608
- if test "x$as_val" = x""yes; then
25609
- cat >>confdefs.h <<_ACEOF
25610
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25612
+ac_fn_c_check_func "$LINENO" "syslog" "ac_cv_func_syslog"
25613
+if test "x$ac_cv_func_syslog" = x""yes; then :
25620
-for ac_header in linux/socket.h
25622
-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25623
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25624
- { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25625
-$as_echo_n "checking for $ac_header... " >&6; }
25626
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25627
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
25628
+$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
25629
+if test "${ac_cv_c_bigendian+set}" = set; then :
25630
$as_echo_n "(cached) " >&6
25632
-ac_res=`eval 'as_val=${'$as_ac_Header'}
25633
- $as_echo "$as_val"'`
25634
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25635
-$as_echo "$ac_res" >&6; }
25637
- # Is the header compilable?
25638
-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
25639
-$as_echo_n "checking $ac_header usability... " >&6; }
25640
-cat >conftest.$ac_ext <<_ACEOF
25643
-cat confdefs.h >>conftest.$ac_ext
25644
-cat >>conftest.$ac_ext <<_ACEOF
25645
+ ac_cv_c_bigendian=unknown
25646
+ # See if we're dealing with a universal compiler.
25647
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25648
/* end confdefs.h. */
25649
-$ac_includes_default
25650
-#include <$ac_header>
25651
+#ifndef __APPLE_CC__
25652
+ not a universal capable compiler
25654
+ typedef int dummy;
25657
-rm -f conftest.$ac_objext
25658
-if { (ac_try="$ac_compile"
25659
-case "(($ac_try" in
25660
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25661
- *) ac_try_echo=$ac_try;;
25663
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25664
-$as_echo "$ac_try_echo") >&5
25665
- (eval "$ac_compile") 2>conftest.er1
25667
- grep -v '^ *+' conftest.er1 >conftest.err
25668
- rm -f conftest.er1
25669
- cat conftest.err >&5
25670
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25671
- (exit $ac_status); } && {
25672
- test -z "$ac_c_werror_flag" ||
25673
- test ! -s conftest.err
25674
- } && test -s conftest.$ac_objext; then
25675
- ac_header_compiler=yes
25677
- $as_echo "$as_me: failed program was:" >&5
25678
-sed 's/^/| /' conftest.$ac_ext >&5
25679
+if ac_fn_c_try_compile "$LINENO"; then :
25681
- ac_header_compiler=no
25682
+ # Check for potential -arch flags. It is not universal unless
25683
+ # there are at least two -arch flags with different values.
25686
+ for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
25687
+ if test -n "$ac_prev"; then
25689
+ i?86 | x86_64 | ppc | ppc64)
25690
+ if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
25693
+ ac_cv_c_bigendian=universal
25699
+ elif test "x$ac_word" = "x-arch"; then
25705
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25706
-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25707
-$as_echo "$ac_header_compiler" >&6; }
25708
+ if test $ac_cv_c_bigendian = unknown; then
25709
+ # See if sys/param.h defines the BYTE_ORDER macro.
25710
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25711
+/* end confdefs.h. */
25712
+#include <sys/types.h>
25713
+ #include <sys/param.h>
25715
-# Is the header present?
25716
-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
25717
-$as_echo_n "checking $ac_header presence... " >&6; }
25718
-cat >conftest.$ac_ext <<_ACEOF
25723
+#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
25724
+ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
25725
+ && LITTLE_ENDIAN)
25726
+ bogus endian macros
25733
-cat confdefs.h >>conftest.$ac_ext
25734
-cat >>conftest.$ac_ext <<_ACEOF
25735
+if ac_fn_c_try_compile "$LINENO"; then :
25736
+ # It does; now see whether it defined to BIG_ENDIAN or not.
25737
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25738
/* end confdefs.h. */
25739
-#include <$ac_header>
25741
-if { (ac_try="$ac_cpp conftest.$ac_ext"
25742
-case "(($ac_try" in
25743
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25744
- *) ac_try_echo=$ac_try;;
25746
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25747
-$as_echo "$ac_try_echo") >&5
25748
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25750
- grep -v '^ *+' conftest.er1 >conftest.err
25751
- rm -f conftest.er1
25752
- cat conftest.err >&5
25753
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25754
- (exit $ac_status); } >/dev/null && {
25755
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25756
- test ! -s conftest.err
25758
- ac_header_preproc=yes
25760
- $as_echo "$as_me: failed program was:" >&5
25761
-sed 's/^/| /' conftest.$ac_ext >&5
25763
- ac_header_preproc=no
25765
+#include <sys/types.h>
25766
+ #include <sys/param.h>
25768
-rm -f conftest.err conftest.$ac_ext
25769
-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25770
-$as_echo "$ac_header_preproc" >&6; }
25774
+#if BYTE_ORDER != BIG_ENDIAN
25778
-# So? What about this header?
25779
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25781
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25782
-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25783
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25784
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25785
- ac_header_preproc=yes
25788
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25789
-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25790
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25791
-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25792
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25793
-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25794
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25795
-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25796
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25797
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25798
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25799
-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25801
-## --------------------------------------------------------------------- ##
25802
-## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=ORBit2 ##
25803
-## --------------------------------------------------------------------- ##
25805
- ) | sed "s/^/$as_me: WARNING: /" >&2
25808
-{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25809
-$as_echo_n "checking for $ac_header... " >&6; }
25810
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25811
- $as_echo_n "(cached) " >&6
25816
+if ac_fn_c_try_compile "$LINENO"; then :
25817
+ ac_cv_c_bigendian=yes
25819
- eval "$as_ac_Header=\$ac_header_preproc"
25821
-ac_res=`eval 'as_val=${'$as_ac_Header'}
25822
- $as_echo "$as_val"'`
25823
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25824
-$as_echo "$ac_res" >&6; }
25826
+ ac_cv_c_bigendian=no
25828
-as_val=`eval 'as_val=${'$as_ac_Header'}
25829
- $as_echo "$as_val"'`
25830
- if test "x$as_val" = x""yes; then
25831
- cat >>confdefs.h <<_ACEOF
25832
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25835
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25837
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25839
+ if test $ac_cv_c_bigendian = unknown; then
25840
+ # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
25841
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25842
+/* end confdefs.h. */
25843
+#include <limits.h>
25849
+#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
25850
+ bogus endian macros
25854
-for ac_header in sys/sockio.h
25856
-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25857
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25858
- { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25859
-$as_echo_n "checking for $ac_header... " >&6; }
25860
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25861
- $as_echo_n "(cached) " >&6
25863
-ac_res=`eval 'as_val=${'$as_ac_Header'}
25864
- $as_echo "$as_val"'`
25865
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25866
-$as_echo "$ac_res" >&6; }
25868
- # Is the header compilable?
25869
-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
25870
-$as_echo_n "checking $ac_header usability... " >&6; }
25871
-cat >conftest.$ac_ext <<_ACEOF
25874
-cat confdefs.h >>conftest.$ac_ext
25875
-cat >>conftest.$ac_ext <<_ACEOF
25876
-/* end confdefs.h. */
25877
-$ac_includes_default
25878
-#include <$ac_header>
25880
-rm -f conftest.$ac_objext
25881
-if { (ac_try="$ac_compile"
25882
-case "(($ac_try" in
25883
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25884
- *) ac_try_echo=$ac_try;;
25886
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25887
-$as_echo "$ac_try_echo") >&5
25888
- (eval "$ac_compile") 2>conftest.er1
25890
- grep -v '^ *+' conftest.er1 >conftest.err
25891
- rm -f conftest.er1
25892
- cat conftest.err >&5
25893
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25894
- (exit $ac_status); } && {
25895
- test -z "$ac_c_werror_flag" ||
25896
- test ! -s conftest.err
25897
- } && test -s conftest.$ac_objext; then
25898
- ac_header_compiler=yes
25900
- $as_echo "$as_me: failed program was:" >&5
25901
-sed 's/^/| /' conftest.$ac_ext >&5
25903
- ac_header_compiler=no
25906
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25907
-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25908
-$as_echo "$ac_header_compiler" >&6; }
25910
-# Is the header present?
25911
-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
25912
-$as_echo_n "checking $ac_header presence... " >&6; }
25913
-cat >conftest.$ac_ext <<_ACEOF
25916
-cat confdefs.h >>conftest.$ac_ext
25917
-cat >>conftest.$ac_ext <<_ACEOF
25918
-/* end confdefs.h. */
25919
-#include <$ac_header>
25921
-if { (ac_try="$ac_cpp conftest.$ac_ext"
25922
-case "(($ac_try" in
25923
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25924
- *) ac_try_echo=$ac_try;;
25926
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25927
-$as_echo "$ac_try_echo") >&5
25928
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25930
- grep -v '^ *+' conftest.er1 >conftest.err
25931
- rm -f conftest.er1
25932
- cat conftest.err >&5
25933
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934
- (exit $ac_status); } >/dev/null && {
25935
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25936
- test ! -s conftest.err
25938
- ac_header_preproc=yes
25940
- $as_echo "$as_me: failed program was:" >&5
25941
-sed 's/^/| /' conftest.$ac_ext >&5
25943
- ac_header_preproc=no
25946
-rm -f conftest.err conftest.$ac_ext
25947
-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25948
-$as_echo "$ac_header_preproc" >&6; }
25950
-# So? What about this header?
25951
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25953
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25954
-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25955
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25956
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25957
- ac_header_preproc=yes
25960
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25961
-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25962
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25963
-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25964
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25965
-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25966
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25967
-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25968
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25969
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25970
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25971
-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25973
-## --------------------------------------------------------------------- ##
25974
-## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=ORBit2 ##
25975
-## --------------------------------------------------------------------- ##
25977
- ) | sed "s/^/$as_me: WARNING: /" >&2
25980
-{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25981
-$as_echo_n "checking for $ac_header... " >&6; }
25982
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25983
- $as_echo_n "(cached) " >&6
25985
- eval "$as_ac_Header=\$ac_header_preproc"
25987
-ac_res=`eval 'as_val=${'$as_ac_Header'}
25988
- $as_echo "$as_val"'`
25989
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25990
-$as_echo "$ac_res" >&6; }
25993
-as_val=`eval 'as_val=${'$as_ac_Header'}
25994
- $as_echo "$as_val"'`
25995
- if test "x$as_val" = x""yes; then
25996
- cat >>confdefs.h <<_ACEOF
25997
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
26005
-if test "$os_win32" = "yes"; then
26007
-for ac_header in winsock2.h
26009
-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
26010
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26011
- { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
26012
-$as_echo_n "checking for $ac_header... " >&6; }
26013
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26014
- $as_echo_n "(cached) " >&6
26016
-ac_res=`eval 'as_val=${'$as_ac_Header'}
26017
- $as_echo "$as_val"'`
26018
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26019
-$as_echo "$ac_res" >&6; }
26021
- # Is the header compilable?
26022
-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
26023
-$as_echo_n "checking $ac_header usability... " >&6; }
26024
-cat >conftest.$ac_ext <<_ACEOF
26027
-cat confdefs.h >>conftest.$ac_ext
26028
-cat >>conftest.$ac_ext <<_ACEOF
26029
-/* end confdefs.h. */
26030
-$ac_includes_default
26031
-#include <$ac_header>
26033
-rm -f conftest.$ac_objext
26034
-if { (ac_try="$ac_compile"
26035
-case "(($ac_try" in
26036
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26037
- *) ac_try_echo=$ac_try;;
26039
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26040
-$as_echo "$ac_try_echo") >&5
26041
- (eval "$ac_compile") 2>conftest.er1
26043
- grep -v '^ *+' conftest.er1 >conftest.err
26044
- rm -f conftest.er1
26045
- cat conftest.err >&5
26046
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26047
- (exit $ac_status); } && {
26048
- test -z "$ac_c_werror_flag" ||
26049
- test ! -s conftest.err
26050
- } && test -s conftest.$ac_objext; then
26051
- ac_header_compiler=yes
26053
- $as_echo "$as_me: failed program was:" >&5
26054
-sed 's/^/| /' conftest.$ac_ext >&5
26056
- ac_header_compiler=no
26059
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26060
-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26061
-$as_echo "$ac_header_compiler" >&6; }
26063
-# Is the header present?
26064
-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
26065
-$as_echo_n "checking $ac_header presence... " >&6; }
26066
-cat >conftest.$ac_ext <<_ACEOF
26069
-cat confdefs.h >>conftest.$ac_ext
26070
-cat >>conftest.$ac_ext <<_ACEOF
26071
-/* end confdefs.h. */
26072
-#include <$ac_header>
26074
-if { (ac_try="$ac_cpp conftest.$ac_ext"
26075
-case "(($ac_try" in
26076
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26077
- *) ac_try_echo=$ac_try;;
26079
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26080
-$as_echo "$ac_try_echo") >&5
26081
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26083
- grep -v '^ *+' conftest.er1 >conftest.err
26084
- rm -f conftest.er1
26085
- cat conftest.err >&5
26086
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26087
- (exit $ac_status); } >/dev/null && {
26088
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26089
- test ! -s conftest.err
26091
- ac_header_preproc=yes
26093
- $as_echo "$as_me: failed program was:" >&5
26094
-sed 's/^/| /' conftest.$ac_ext >&5
26096
- ac_header_preproc=no
26099
-rm -f conftest.err conftest.$ac_ext
26100
-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26101
-$as_echo "$ac_header_preproc" >&6; }
26103
-# So? What about this header?
26104
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26106
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26107
-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26108
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26109
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26110
- ac_header_preproc=yes
26113
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26114
-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26115
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26116
-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26117
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26118
-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26119
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26120
-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26121
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26122
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26123
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26124
-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26126
-## --------------------------------------------------------------------- ##
26127
-## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=ORBit2 ##
26128
-## --------------------------------------------------------------------- ##
26130
- ) | sed "s/^/$as_me: WARNING: /" >&2
26133
-{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
26134
-$as_echo_n "checking for $ac_header... " >&6; }
26135
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26136
- $as_echo_n "(cached) " >&6
26138
- eval "$as_ac_Header=\$ac_header_preproc"
26140
-ac_res=`eval 'as_val=${'$as_ac_Header'}
26141
- $as_echo "$as_val"'`
26142
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26143
-$as_echo "$ac_res" >&6; }
26146
-as_val=`eval 'as_val=${'$as_ac_Header'}
26147
- $as_echo "$as_val"'`
26148
- if test "x$as_val" = x""yes; then
26149
- cat >>confdefs.h <<_ACEOF
26150
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
26157
- if test $ac_cv_header_winsock2_h = yes; then
26158
- LIBS="-lws2_32 $LIBS"
26162
-{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
26163
-$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
26164
-if test "${ac_cv_c_const+set}" = set; then
26165
- $as_echo_n "(cached) " >&6
26167
- cat >conftest.$ac_ext <<_ACEOF
26170
-cat confdefs.h >>conftest.$ac_ext
26171
-cat >>conftest.$ac_ext <<_ACEOF
26172
-/* end confdefs.h. */
26177
-/* FIXME: Include the comments suggested by Paul. */
26178
-#ifndef __cplusplus
26179
- /* Ultrix mips cc rejects this. */
26180
- typedef int charset[2];
26181
- const charset cs;
26182
- /* SunOS 4.1.1 cc rejects this. */
26183
- char const *const *pcpcc;
26185
- /* NEC SVR4.0.2 mips cc rejects this. */
26186
- struct point {int x, y;};
26187
- static struct point const zero = {0,0};
26188
- /* AIX XL C 1.02.0.0 rejects this.
26189
- It does not let you subtract one const X* pointer from another in
26190
- an arm of an if-expression whose if-part is not a constant
26192
- const char *g = "string";
26193
- pcpcc = &g + (g ? g-g : 0);
26194
- /* HPUX 7.0 cc rejects these. */
26196
- ppc = (char**) pcpcc;
26197
- pcpcc = (char const *const *) ppc;
26198
- { /* SCO 3.2v4 cc rejects this. */
26200
- char const *s = 0 ? (char *) 0 : (char const *) 0;
26205
- { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
26206
- int x[] = {25, 17};
26207
- const int *foo = &x[0];
26210
- { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
26211
- typedef const int *iptr;
26215
- { /* AIX XL C 1.02.0.0 rejects this saying
26216
- "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
26217
- struct s { int j; const int *ap[3]; };
26218
- struct s *b; b->j = 5;
26220
- { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
26221
- const int foo = 10;
26222
- if (!foo) return 0;
26224
- return !cs[0] && !zero.x;
26231
-rm -f conftest.$ac_objext
26232
-if { (ac_try="$ac_compile"
26233
-case "(($ac_try" in
26234
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26235
- *) ac_try_echo=$ac_try;;
26237
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26238
-$as_echo "$ac_try_echo") >&5
26239
- (eval "$ac_compile") 2>conftest.er1
26241
- grep -v '^ *+' conftest.er1 >conftest.err
26242
- rm -f conftest.er1
26243
- cat conftest.err >&5
26244
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26245
- (exit $ac_status); } && {
26246
- test -z "$ac_c_werror_flag" ||
26247
- test ! -s conftest.err
26248
- } && test -s conftest.$ac_objext; then
26249
- ac_cv_c_const=yes
26251
- $as_echo "$as_me: failed program was:" >&5
26252
-sed 's/^/| /' conftest.$ac_ext >&5
26257
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26259
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
26260
-$as_echo "$ac_cv_c_const" >&6; }
26261
-if test $ac_cv_c_const = no; then
26263
-cat >>confdefs.h <<\_ACEOF
26264
-#define const /**/
26269
-{ $as_echo "$as_me:$LINENO: checking for inline" >&5
26270
-$as_echo_n "checking for inline... " >&6; }
26271
-if test "${ac_cv_c_inline+set}" = set; then
26272
- $as_echo_n "(cached) " >&6
26274
- ac_cv_c_inline=no
26275
-for ac_kw in inline __inline__ __inline; do
26276
- cat >conftest.$ac_ext <<_ACEOF
26279
-cat confdefs.h >>conftest.$ac_ext
26280
-cat >>conftest.$ac_ext <<_ACEOF
26281
-/* end confdefs.h. */
26282
-#ifndef __cplusplus
26283
-typedef int foo_t;
26284
-static $ac_kw foo_t static_foo () {return 0; }
26285
-$ac_kw foo_t foo () {return 0; }
26289
-rm -f conftest.$ac_objext
26290
-if { (ac_try="$ac_compile"
26291
-case "(($ac_try" in
26292
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26293
- *) ac_try_echo=$ac_try;;
26295
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26296
-$as_echo "$ac_try_echo") >&5
26297
- (eval "$ac_compile") 2>conftest.er1
26299
- grep -v '^ *+' conftest.er1 >conftest.err
26300
- rm -f conftest.er1
26301
- cat conftest.err >&5
26302
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303
- (exit $ac_status); } && {
26304
- test -z "$ac_c_werror_flag" ||
26305
- test ! -s conftest.err
26306
- } && test -s conftest.$ac_objext; then
26307
- ac_cv_c_inline=$ac_kw
26309
- $as_echo "$as_me: failed program was:" >&5
26310
-sed 's/^/| /' conftest.$ac_ext >&5
26315
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26316
- test "$ac_cv_c_inline" != no && break
26320
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
26321
-$as_echo "$ac_cv_c_inline" >&6; }
26324
-case $ac_cv_c_inline in
26327
- case $ac_cv_c_inline in
26329
- *) ac_val=$ac_cv_c_inline;;
26331
- cat >>confdefs.h <<_ACEOF
26332
-#ifndef __cplusplus
26333
-#define inline $ac_val
26339
-{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
26340
-$as_echo_n "checking for size_t... " >&6; }
26341
-if test "${ac_cv_type_size_t+set}" = set; then
26342
- $as_echo_n "(cached) " >&6
26344
- ac_cv_type_size_t=no
26345
-cat >conftest.$ac_ext <<_ACEOF
26348
-cat confdefs.h >>conftest.$ac_ext
26349
-cat >>conftest.$ac_ext <<_ACEOF
26350
-/* end confdefs.h. */
26351
-$ac_includes_default
26355
-if (sizeof (size_t))
26361
-rm -f conftest.$ac_objext
26362
-if { (ac_try="$ac_compile"
26363
-case "(($ac_try" in
26364
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26365
- *) ac_try_echo=$ac_try;;
26367
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26368
-$as_echo "$ac_try_echo") >&5
26369
- (eval "$ac_compile") 2>conftest.er1
26371
- grep -v '^ *+' conftest.er1 >conftest.err
26372
- rm -f conftest.er1
26373
- cat conftest.err >&5
26374
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26375
- (exit $ac_status); } && {
26376
- test -z "$ac_c_werror_flag" ||
26377
- test ! -s conftest.err
26378
- } && test -s conftest.$ac_objext; then
26379
- cat >conftest.$ac_ext <<_ACEOF
26382
-cat confdefs.h >>conftest.$ac_ext
26383
-cat >>conftest.$ac_ext <<_ACEOF
26384
-/* end confdefs.h. */
26385
-$ac_includes_default
26389
-if (sizeof ((size_t)))
26395
-rm -f conftest.$ac_objext
26396
-if { (ac_try="$ac_compile"
26397
-case "(($ac_try" in
26398
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26399
- *) ac_try_echo=$ac_try;;
26401
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26402
-$as_echo "$ac_try_echo") >&5
26403
- (eval "$ac_compile") 2>conftest.er1
26405
- grep -v '^ *+' conftest.er1 >conftest.err
26406
- rm -f conftest.er1
26407
- cat conftest.err >&5
26408
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409
- (exit $ac_status); } && {
26410
- test -z "$ac_c_werror_flag" ||
26411
- test ! -s conftest.err
26412
- } && test -s conftest.$ac_objext; then
26415
- $as_echo "$as_me: failed program was:" >&5
26416
-sed 's/^/| /' conftest.$ac_ext >&5
26418
- ac_cv_type_size_t=yes
26421
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26423
- $as_echo "$as_me: failed program was:" >&5
26424
-sed 's/^/| /' conftest.$ac_ext >&5
26429
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26431
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26432
-$as_echo "$ac_cv_type_size_t" >&6; }
26433
-if test "x$ac_cv_type_size_t" = x""yes; then
26437
-cat >>confdefs.h <<_ACEOF
26438
-#define size_t unsigned int
26445
-for ac_func in vprintf
26447
-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26448
-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
26449
-$as_echo_n "checking for $ac_func... " >&6; }
26450
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26451
- $as_echo_n "(cached) " >&6
26453
- cat >conftest.$ac_ext <<_ACEOF
26456
-cat confdefs.h >>conftest.$ac_ext
26457
-cat >>conftest.$ac_ext <<_ACEOF
26458
-/* end confdefs.h. */
26459
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26460
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
26461
-#define $ac_func innocuous_$ac_func
26463
-/* System header to define __stub macros and hopefully few prototypes,
26464
- which can conflict with char $ac_func (); below.
26465
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26466
- <limits.h> exists even on freestanding compilers. */
26469
-# include <limits.h>
26471
-# include <assert.h>
26476
-/* Override any GCC internal prototype to avoid an error.
26477
- Use char because int might match the return type of a GCC
26478
- builtin and then its argument prototype would still apply. */
26479
-#ifdef __cplusplus
26483
-/* The GNU C library defines this for functions which it implements
26484
- to always fail with ENOSYS. Some functions are actually named
26485
- something starting with __ and the normal name is an alias. */
26486
-#if defined __stub_$ac_func || defined __stub___$ac_func
26493
-return $ac_func ();
26498
-rm -f conftest.$ac_objext conftest$ac_exeext
26499
-if { (ac_try="$ac_link"
26500
-case "(($ac_try" in
26501
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26502
- *) ac_try_echo=$ac_try;;
26504
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26505
-$as_echo "$ac_try_echo") >&5
26506
- (eval "$ac_link") 2>conftest.er1
26508
- grep -v '^ *+' conftest.er1 >conftest.err
26509
- rm -f conftest.er1
26510
- cat conftest.err >&5
26511
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26512
- (exit $ac_status); } && {
26513
- test -z "$ac_c_werror_flag" ||
26514
- test ! -s conftest.err
26515
- } && test -s conftest$ac_exeext && {
26516
- test "$cross_compiling" = yes ||
26517
- $as_test_x conftest$ac_exeext
26519
- eval "$as_ac_var=yes"
26521
- $as_echo "$as_me: failed program was:" >&5
26522
-sed 's/^/| /' conftest.$ac_ext >&5
26524
- eval "$as_ac_var=no"
26527
-rm -rf conftest.dSYM
26528
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26529
- conftest$ac_exeext conftest.$ac_ext
26531
-ac_res=`eval 'as_val=${'$as_ac_var'}
26532
- $as_echo "$as_val"'`
26533
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26534
-$as_echo "$ac_res" >&6; }
26535
-as_val=`eval 'as_val=${'$as_ac_var'}
26536
- $as_echo "$as_val"'`
26537
- if test "x$as_val" = x""yes; then
26538
- cat >>confdefs.h <<_ACEOF
26539
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26542
-{ $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
26543
-$as_echo_n "checking for _doprnt... " >&6; }
26544
-if test "${ac_cv_func__doprnt+set}" = set; then
26545
- $as_echo_n "(cached) " >&6
26547
- cat >conftest.$ac_ext <<_ACEOF
26550
-cat confdefs.h >>conftest.$ac_ext
26551
-cat >>conftest.$ac_ext <<_ACEOF
26552
-/* end confdefs.h. */
26553
-/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
26554
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
26555
-#define _doprnt innocuous__doprnt
26557
-/* System header to define __stub macros and hopefully few prototypes,
26558
- which can conflict with char _doprnt (); below.
26559
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26560
- <limits.h> exists even on freestanding compilers. */
26563
-# include <limits.h>
26565
-# include <assert.h>
26570
-/* Override any GCC internal prototype to avoid an error.
26571
- Use char because int might match the return type of a GCC
26572
- builtin and then its argument prototype would still apply. */
26573
-#ifdef __cplusplus
26577
-/* The GNU C library defines this for functions which it implements
26578
- to always fail with ENOSYS. Some functions are actually named
26579
- something starting with __ and the normal name is an alias. */
26580
-#if defined __stub__doprnt || defined __stub____doprnt
26587
-return _doprnt ();
26592
-rm -f conftest.$ac_objext conftest$ac_exeext
26593
-if { (ac_try="$ac_link"
26594
-case "(($ac_try" in
26595
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26596
- *) ac_try_echo=$ac_try;;
26598
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26599
-$as_echo "$ac_try_echo") >&5
26600
- (eval "$ac_link") 2>conftest.er1
26602
- grep -v '^ *+' conftest.er1 >conftest.err
26603
- rm -f conftest.er1
26604
- cat conftest.err >&5
26605
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606
- (exit $ac_status); } && {
26607
- test -z "$ac_c_werror_flag" ||
26608
- test ! -s conftest.err
26609
- } && test -s conftest$ac_exeext && {
26610
- test "$cross_compiling" = yes ||
26611
- $as_test_x conftest$ac_exeext
26613
- ac_cv_func__doprnt=yes
26615
- $as_echo "$as_me: failed program was:" >&5
26616
-sed 's/^/| /' conftest.$ac_ext >&5
26618
- ac_cv_func__doprnt=no
26621
-rm -rf conftest.dSYM
26622
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26623
- conftest$ac_exeext conftest.$ac_ext
26625
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
26626
-$as_echo "$ac_cv_func__doprnt" >&6; }
26627
-if test "x$ac_cv_func__doprnt" = x""yes; then
26629
-cat >>confdefs.h <<\_ACEOF
26630
-#define HAVE_DOPRNT 1
26640
-{ $as_echo "$as_me:$LINENO: checking for socket" >&5
26641
-$as_echo_n "checking for socket... " >&6; }
26642
-if test "${ac_cv_func_socket+set}" = set; then
26643
- $as_echo_n "(cached) " >&6
26645
- cat >conftest.$ac_ext <<_ACEOF
26648
-cat confdefs.h >>conftest.$ac_ext
26649
-cat >>conftest.$ac_ext <<_ACEOF
26650
-/* end confdefs.h. */
26651
-/* Define socket to an innocuous variant, in case <limits.h> declares socket.
26652
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
26653
-#define socket innocuous_socket
26655
-/* System header to define __stub macros and hopefully few prototypes,
26656
- which can conflict with char socket (); below.
26657
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26658
- <limits.h> exists even on freestanding compilers. */
26661
-# include <limits.h>
26663
-# include <assert.h>
26668
-/* Override any GCC internal prototype to avoid an error.
26669
- Use char because int might match the return type of a GCC
26670
- builtin and then its argument prototype would still apply. */
26671
-#ifdef __cplusplus
26675
-/* The GNU C library defines this for functions which it implements
26676
- to always fail with ENOSYS. Some functions are actually named
26677
- something starting with __ and the normal name is an alias. */
26678
-#if defined __stub_socket || defined __stub___socket
26690
-rm -f conftest.$ac_objext conftest$ac_exeext
26691
-if { (ac_try="$ac_link"
26692
-case "(($ac_try" in
26693
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26694
- *) ac_try_echo=$ac_try;;
26696
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26697
-$as_echo "$ac_try_echo") >&5
26698
- (eval "$ac_link") 2>conftest.er1
26700
- grep -v '^ *+' conftest.er1 >conftest.err
26701
- rm -f conftest.er1
26702
- cat conftest.err >&5
26703
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26704
- (exit $ac_status); } && {
26705
- test -z "$ac_c_werror_flag" ||
26706
- test ! -s conftest.err
26707
- } && test -s conftest$ac_exeext && {
26708
- test "$cross_compiling" = yes ||
26709
- $as_test_x conftest$ac_exeext
26711
- ac_cv_func_socket=yes
26713
- $as_echo "$as_me: failed program was:" >&5
26714
-sed 's/^/| /' conftest.$ac_ext >&5
26716
- ac_cv_func_socket=no
26719
-rm -rf conftest.dSYM
26720
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26721
- conftest$ac_exeext conftest.$ac_ext
26723
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
26724
-$as_echo "$ac_cv_func_socket" >&6; }
26725
-if test "x$ac_cv_func_socket" = x""yes; then
26729
-{ $as_echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
26730
-$as_echo_n "checking for socket in -lsocket... " >&6; }
26731
-if test "${ac_cv_lib_socket_socket+set}" = set; then
26732
- $as_echo_n "(cached) " >&6
26734
- ac_check_lib_save_LIBS=$LIBS
26735
-LIBS="-lsocket $LIBS"
26736
-cat >conftest.$ac_ext <<_ACEOF
26739
-cat confdefs.h >>conftest.$ac_ext
26740
-cat >>conftest.$ac_ext <<_ACEOF
26741
-/* end confdefs.h. */
26743
-/* Override any GCC internal prototype to avoid an error.
26744
- Use char because int might match the return type of a GCC
26745
- builtin and then its argument prototype would still apply. */
26746
-#ifdef __cplusplus
26758
-rm -f conftest.$ac_objext conftest$ac_exeext
26759
-if { (ac_try="$ac_link"
26760
-case "(($ac_try" in
26761
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26762
- *) ac_try_echo=$ac_try;;
26764
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26765
-$as_echo "$ac_try_echo") >&5
26766
- (eval "$ac_link") 2>conftest.er1
26768
- grep -v '^ *+' conftest.er1 >conftest.err
26769
- rm -f conftest.er1
26770
- cat conftest.err >&5
26771
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26772
- (exit $ac_status); } && {
26773
- test -z "$ac_c_werror_flag" ||
26774
- test ! -s conftest.err
26775
- } && test -s conftest$ac_exeext && {
26776
- test "$cross_compiling" = yes ||
26777
- $as_test_x conftest$ac_exeext
26779
- ac_cv_lib_socket_socket=yes
26781
- $as_echo "$as_me: failed program was:" >&5
26782
-sed 's/^/| /' conftest.$ac_ext >&5
26784
- ac_cv_lib_socket_socket=no
26787
-rm -rf conftest.dSYM
26788
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26789
- conftest$ac_exeext conftest.$ac_ext
26790
-LIBS=$ac_check_lib_save_LIBS
26792
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
26793
-$as_echo "$ac_cv_lib_socket_socket" >&6; }
26794
-if test "x$ac_cv_lib_socket_socket" = x""yes; then
26795
- cat >>confdefs.h <<_ACEOF
26796
-#define HAVE_LIBSOCKET 1
26799
- LIBS="-lsocket $LIBS"
26805
-{ $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
26806
-$as_echo_n "checking for gethostbyname... " >&6; }
26807
-if test "${ac_cv_func_gethostbyname+set}" = set; then
26808
- $as_echo_n "(cached) " >&6
26810
- cat >conftest.$ac_ext <<_ACEOF
26813
-cat confdefs.h >>conftest.$ac_ext
26814
-cat >>conftest.$ac_ext <<_ACEOF
26815
-/* end confdefs.h. */
26816
-/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26817
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
26818
-#define gethostbyname innocuous_gethostbyname
26820
-/* System header to define __stub macros and hopefully few prototypes,
26821
- which can conflict with char gethostbyname (); below.
26822
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26823
- <limits.h> exists even on freestanding compilers. */
26826
-# include <limits.h>
26828
-# include <assert.h>
26831
-#undef gethostbyname
26833
-/* Override any GCC internal prototype to avoid an error.
26834
- Use char because int might match the return type of a GCC
26835
- builtin and then its argument prototype would still apply. */
26836
-#ifdef __cplusplus
26839
-char gethostbyname ();
26840
-/* The GNU C library defines this for functions which it implements
26841
- to always fail with ENOSYS. Some functions are actually named
26842
- something starting with __ and the normal name is an alias. */
26843
-#if defined __stub_gethostbyname || defined __stub___gethostbyname
26850
-return gethostbyname ();
26855
-rm -f conftest.$ac_objext conftest$ac_exeext
26856
-if { (ac_try="$ac_link"
26857
-case "(($ac_try" in
26858
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26859
- *) ac_try_echo=$ac_try;;
26861
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26862
-$as_echo "$ac_try_echo") >&5
26863
- (eval "$ac_link") 2>conftest.er1
26865
- grep -v '^ *+' conftest.er1 >conftest.err
26866
- rm -f conftest.er1
26867
- cat conftest.err >&5
26868
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26869
- (exit $ac_status); } && {
26870
- test -z "$ac_c_werror_flag" ||
26871
- test ! -s conftest.err
26872
- } && test -s conftest$ac_exeext && {
26873
- test "$cross_compiling" = yes ||
26874
- $as_test_x conftest$ac_exeext
26876
- ac_cv_func_gethostbyname=yes
26878
- $as_echo "$as_me: failed program was:" >&5
26879
-sed 's/^/| /' conftest.$ac_ext >&5
26881
- ac_cv_func_gethostbyname=no
26884
-rm -rf conftest.dSYM
26885
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26886
- conftest$ac_exeext conftest.$ac_ext
26888
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26889
-$as_echo "$ac_cv_func_gethostbyname" >&6; }
26890
-if test "x$ac_cv_func_gethostbyname" = x""yes; then
26894
-{ $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26895
-$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
26896
-if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26897
- $as_echo_n "(cached) " >&6
26899
- ac_check_lib_save_LIBS=$LIBS
26900
-LIBS="-lnsl $LIBS"
26901
-cat >conftest.$ac_ext <<_ACEOF
26904
-cat confdefs.h >>conftest.$ac_ext
26905
-cat >>conftest.$ac_ext <<_ACEOF
26906
-/* end confdefs.h. */
26908
-/* Override any GCC internal prototype to avoid an error.
26909
- Use char because int might match the return type of a GCC
26910
- builtin and then its argument prototype would still apply. */
26911
-#ifdef __cplusplus
26914
-char gethostbyname ();
26918
-return gethostbyname ();
26923
-rm -f conftest.$ac_objext conftest$ac_exeext
26924
-if { (ac_try="$ac_link"
26925
-case "(($ac_try" in
26926
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26927
- *) ac_try_echo=$ac_try;;
26929
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26930
-$as_echo "$ac_try_echo") >&5
26931
- (eval "$ac_link") 2>conftest.er1
26933
- grep -v '^ *+' conftest.er1 >conftest.err
26934
- rm -f conftest.er1
26935
- cat conftest.err >&5
26936
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26937
- (exit $ac_status); } && {
26938
- test -z "$ac_c_werror_flag" ||
26939
- test ! -s conftest.err
26940
- } && test -s conftest$ac_exeext && {
26941
- test "$cross_compiling" = yes ||
26942
- $as_test_x conftest$ac_exeext
26944
- ac_cv_lib_nsl_gethostbyname=yes
26946
- $as_echo "$as_me: failed program was:" >&5
26947
-sed 's/^/| /' conftest.$ac_ext >&5
26949
- ac_cv_lib_nsl_gethostbyname=no
26952
-rm -rf conftest.dSYM
26953
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26954
- conftest$ac_exeext conftest.$ac_ext
26955
-LIBS=$ac_check_lib_save_LIBS
26957
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26958
-$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
26959
-if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
26960
- cat >>confdefs.h <<_ACEOF
26961
-#define HAVE_LIBNSL 1
26964
- LIBS="-lnsl $LIBS"
26970
-{ $as_echo "$as_me:$LINENO: checking for sigaction" >&5
26971
-$as_echo_n "checking for sigaction... " >&6; }
26972
-if test "${ac_cv_func_sigaction+set}" = set; then
26973
- $as_echo_n "(cached) " >&6
26975
- cat >conftest.$ac_ext <<_ACEOF
26978
-cat confdefs.h >>conftest.$ac_ext
26979
-cat >>conftest.$ac_ext <<_ACEOF
26980
-/* end confdefs.h. */
26981
-/* Define sigaction to an innocuous variant, in case <limits.h> declares sigaction.
26982
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
26983
-#define sigaction innocuous_sigaction
26985
-/* System header to define __stub macros and hopefully few prototypes,
26986
- which can conflict with char sigaction (); below.
26987
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26988
- <limits.h> exists even on freestanding compilers. */
26991
-# include <limits.h>
26993
-# include <assert.h>
26998
-/* Override any GCC internal prototype to avoid an error.
26999
- Use char because int might match the return type of a GCC
27000
- builtin and then its argument prototype would still apply. */
27001
-#ifdef __cplusplus
27004
-char sigaction ();
27005
-/* The GNU C library defines this for functions which it implements
27006
- to always fail with ENOSYS. Some functions are actually named
27007
- something starting with __ and the normal name is an alias. */
27008
-#if defined __stub_sigaction || defined __stub___sigaction
27015
-return sigaction ();
27020
-rm -f conftest.$ac_objext conftest$ac_exeext
27021
-if { (ac_try="$ac_link"
27022
-case "(($ac_try" in
27023
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27024
- *) ac_try_echo=$ac_try;;
27026
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27027
-$as_echo "$ac_try_echo") >&5
27028
- (eval "$ac_link") 2>conftest.er1
27030
- grep -v '^ *+' conftest.er1 >conftest.err
27031
- rm -f conftest.er1
27032
- cat conftest.err >&5
27033
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27034
- (exit $ac_status); } && {
27035
- test -z "$ac_c_werror_flag" ||
27036
- test ! -s conftest.err
27037
- } && test -s conftest$ac_exeext && {
27038
- test "$cross_compiling" = yes ||
27039
- $as_test_x conftest$ac_exeext
27041
- ac_cv_func_sigaction=yes
27043
- $as_echo "$as_me: failed program was:" >&5
27044
-sed 's/^/| /' conftest.$ac_ext >&5
27046
- ac_cv_func_sigaction=no
27049
-rm -rf conftest.dSYM
27050
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27051
- conftest$ac_exeext conftest.$ac_ext
27053
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_sigaction" >&5
27054
-$as_echo "$ac_cv_func_sigaction" >&6; }
27056
-{ $as_echo "$as_me:$LINENO: checking for syslog" >&5
27057
-$as_echo_n "checking for syslog... " >&6; }
27058
-if test "${ac_cv_func_syslog+set}" = set; then
27059
- $as_echo_n "(cached) " >&6
27061
- cat >conftest.$ac_ext <<_ACEOF
27064
-cat confdefs.h >>conftest.$ac_ext
27065
-cat >>conftest.$ac_ext <<_ACEOF
27066
-/* end confdefs.h. */
27067
-/* Define syslog to an innocuous variant, in case <limits.h> declares syslog.
27068
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
27069
-#define syslog innocuous_syslog
27071
-/* System header to define __stub macros and hopefully few prototypes,
27072
- which can conflict with char syslog (); below.
27073
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27074
- <limits.h> exists even on freestanding compilers. */
27077
-# include <limits.h>
27079
-# include <assert.h>
27084
-/* Override any GCC internal prototype to avoid an error.
27085
- Use char because int might match the return type of a GCC
27086
- builtin and then its argument prototype would still apply. */
27087
-#ifdef __cplusplus
27091
-/* The GNU C library defines this for functions which it implements
27092
- to always fail with ENOSYS. Some functions are actually named
27093
- something starting with __ and the normal name is an alias. */
27094
-#if defined __stub_syslog || defined __stub___syslog
27106
-rm -f conftest.$ac_objext conftest$ac_exeext
27107
-if { (ac_try="$ac_link"
27108
-case "(($ac_try" in
27109
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27110
- *) ac_try_echo=$ac_try;;
27112
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27113
-$as_echo "$ac_try_echo") >&5
27114
- (eval "$ac_link") 2>conftest.er1
27116
- grep -v '^ *+' conftest.er1 >conftest.err
27117
- rm -f conftest.er1
27118
- cat conftest.err >&5
27119
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27120
- (exit $ac_status); } && {
27121
- test -z "$ac_c_werror_flag" ||
27122
- test ! -s conftest.err
27123
- } && test -s conftest$ac_exeext && {
27124
- test "$cross_compiling" = yes ||
27125
- $as_test_x conftest$ac_exeext
27127
- ac_cv_func_syslog=yes
27129
- $as_echo "$as_me: failed program was:" >&5
27130
-sed 's/^/| /' conftest.$ac_ext >&5
27132
- ac_cv_func_syslog=no
27135
-rm -rf conftest.dSYM
27136
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27137
- conftest$ac_exeext conftest.$ac_ext
27139
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_syslog" >&5
27140
-$as_echo "$ac_cv_func_syslog" >&6; }
27144
- { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
27145
-$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
27146
-if test "${ac_cv_c_bigendian+set}" = set; then
27147
- $as_echo_n "(cached) " >&6
27149
- ac_cv_c_bigendian=unknown
27150
- # See if we're dealing with a universal compiler.
27151
- cat >conftest.$ac_ext <<_ACEOF
27154
-cat confdefs.h >>conftest.$ac_ext
27155
-cat >>conftest.$ac_ext <<_ACEOF
27156
-/* end confdefs.h. */
27157
-#ifndef __APPLE_CC__
27158
- not a universal capable compiler
27160
- typedef int dummy;
27163
-rm -f conftest.$ac_objext
27164
-if { (ac_try="$ac_compile"
27165
-case "(($ac_try" in
27166
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27167
- *) ac_try_echo=$ac_try;;
27169
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27170
-$as_echo "$ac_try_echo") >&5
27171
- (eval "$ac_compile") 2>conftest.er1
27173
- grep -v '^ *+' conftest.er1 >conftest.err
27174
- rm -f conftest.er1
27175
- cat conftest.err >&5
27176
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27177
- (exit $ac_status); } && {
27178
- test -z "$ac_c_werror_flag" ||
27179
- test ! -s conftest.err
27180
- } && test -s conftest.$ac_objext; then
27182
- # Check for potential -arch flags. It is not universal unless
27183
- # there are some -arch flags. Note that *ppc* also matches
27184
- # ppc64. This check is also rather less than ideal.
27185
- case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #(
27186
- *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
27189
- $as_echo "$as_me: failed program was:" >&5
27190
-sed 's/^/| /' conftest.$ac_ext >&5
27195
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27196
- if test $ac_cv_c_bigendian = unknown; then
27197
- # See if sys/param.h defines the BYTE_ORDER macro.
27198
- cat >conftest.$ac_ext <<_ACEOF
27201
-cat confdefs.h >>conftest.$ac_ext
27202
-cat >>conftest.$ac_ext <<_ACEOF
27203
-/* end confdefs.h. */
27204
-#include <sys/types.h>
27205
- #include <sys/param.h>
27210
-#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
27211
- && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
27212
- && LITTLE_ENDIAN)
27213
- bogus endian macros
27220
-rm -f conftest.$ac_objext
27221
-if { (ac_try="$ac_compile"
27222
-case "(($ac_try" in
27223
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27224
- *) ac_try_echo=$ac_try;;
27226
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27227
-$as_echo "$ac_try_echo") >&5
27228
- (eval "$ac_compile") 2>conftest.er1
27230
- grep -v '^ *+' conftest.er1 >conftest.err
27231
- rm -f conftest.er1
27232
- cat conftest.err >&5
27233
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27234
- (exit $ac_status); } && {
27235
- test -z "$ac_c_werror_flag" ||
27236
- test ! -s conftest.err
27237
- } && test -s conftest.$ac_objext; then
27238
- # It does; now see whether it defined to BIG_ENDIAN or not.
27239
- cat >conftest.$ac_ext <<_ACEOF
27242
-cat confdefs.h >>conftest.$ac_ext
27243
-cat >>conftest.$ac_ext <<_ACEOF
27244
-/* end confdefs.h. */
27245
-#include <sys/types.h>
27246
- #include <sys/param.h>
27251
-#if BYTE_ORDER != BIG_ENDIAN
27259
-rm -f conftest.$ac_objext
27260
-if { (ac_try="$ac_compile"
27261
-case "(($ac_try" in
27262
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27263
- *) ac_try_echo=$ac_try;;
27265
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27266
-$as_echo "$ac_try_echo") >&5
27267
- (eval "$ac_compile") 2>conftest.er1
27269
- grep -v '^ *+' conftest.er1 >conftest.err
27270
- rm -f conftest.er1
27271
- cat conftest.err >&5
27272
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27273
- (exit $ac_status); } && {
27274
- test -z "$ac_c_werror_flag" ||
27275
- test ! -s conftest.err
27276
- } && test -s conftest.$ac_objext; then
27277
- ac_cv_c_bigendian=yes
27279
- $as_echo "$as_me: failed program was:" >&5
27280
-sed 's/^/| /' conftest.$ac_ext >&5
27282
- ac_cv_c_bigendian=no
27285
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27287
- $as_echo "$as_me: failed program was:" >&5
27288
-sed 's/^/| /' conftest.$ac_ext >&5
27293
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27295
- if test $ac_cv_c_bigendian = unknown; then
27296
- # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
27297
- cat >conftest.$ac_ext <<_ACEOF
27300
-cat confdefs.h >>conftest.$ac_ext
27301
-cat >>conftest.$ac_ext <<_ACEOF
27302
-/* end confdefs.h. */
27303
-#include <limits.h>
27308
-#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
27309
- bogus endian macros
27316
-rm -f conftest.$ac_objext
27317
-if { (ac_try="$ac_compile"
27318
-case "(($ac_try" in
27319
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27320
- *) ac_try_echo=$ac_try;;
27322
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27323
-$as_echo "$ac_try_echo") >&5
27324
- (eval "$ac_compile") 2>conftest.er1
27326
- grep -v '^ *+' conftest.er1 >conftest.err
27327
- rm -f conftest.er1
27328
- cat conftest.err >&5
27329
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27330
- (exit $ac_status); } && {
27331
- test -z "$ac_c_werror_flag" ||
27332
- test ! -s conftest.err
27333
- } && test -s conftest.$ac_objext; then
27334
- # It does; now see whether it defined to _BIG_ENDIAN or not.
27335
- cat >conftest.$ac_ext <<_ACEOF
27338
-cat confdefs.h >>conftest.$ac_ext
27339
-cat >>conftest.$ac_ext <<_ACEOF
27340
-/* end confdefs.h. */
27341
-#include <limits.h>
27346
-#ifndef _BIG_ENDIAN
27354
-rm -f conftest.$ac_objext
27355
-if { (ac_try="$ac_compile"
27356
-case "(($ac_try" in
27357
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27358
- *) ac_try_echo=$ac_try;;
27360
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27361
-$as_echo "$ac_try_echo") >&5
27362
- (eval "$ac_compile") 2>conftest.er1
27364
- grep -v '^ *+' conftest.er1 >conftest.err
27365
- rm -f conftest.er1
27366
- cat conftest.err >&5
27367
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27368
- (exit $ac_status); } && {
27369
- test -z "$ac_c_werror_flag" ||
27370
- test ! -s conftest.err
27371
- } && test -s conftest.$ac_objext; then
27372
- ac_cv_c_bigendian=yes
27374
- $as_echo "$as_me: failed program was:" >&5
27375
-sed 's/^/| /' conftest.$ac_ext >&5
27377
- ac_cv_c_bigendian=no
27380
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27382
- $as_echo "$as_me: failed program was:" >&5
27383
-sed 's/^/| /' conftest.$ac_ext >&5
27388
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27390
- if test $ac_cv_c_bigendian = unknown; then
27391
- # Compile a test program.
27392
- if test "$cross_compiling" = yes; then
27393
- # Try to guess by grepping values from an object file.
27394
- cat >conftest.$ac_ext <<_ACEOF
27397
-cat confdefs.h >>conftest.$ac_ext
27398
-cat >>conftest.$ac_ext <<_ACEOF
27399
-/* end confdefs.h. */
27400
-short int ascii_mm[] =
27401
- { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
27402
- short int ascii_ii[] =
27403
- { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
27404
- int use_ascii (int i) {
27405
- return ascii_mm[i] + ascii_ii[i];
27407
- short int ebcdic_ii[] =
27408
- { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
27409
- short int ebcdic_mm[] =
27410
- { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
27411
- int use_ebcdic (int i) {
27412
- return ebcdic_mm[i] + ebcdic_ii[i];
27419
-return use_ascii (foo) == use_ebcdic (foo);
27424
-rm -f conftest.$ac_objext
27425
-if { (ac_try="$ac_compile"
27426
-case "(($ac_try" in
27427
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27428
- *) ac_try_echo=$ac_try;;
27430
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27431
-$as_echo "$ac_try_echo") >&5
27432
- (eval "$ac_compile") 2>conftest.er1
27434
- grep -v '^ *+' conftest.er1 >conftest.err
27435
- rm -f conftest.er1
27436
- cat conftest.err >&5
27437
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27438
- (exit $ac_status); } && {
27439
- test -z "$ac_c_werror_flag" ||
27440
- test ! -s conftest.err
27441
- } && test -s conftest.$ac_objext; then
27442
- if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
27443
- ac_cv_c_bigendian=yes
27445
- if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
27446
- if test "$ac_cv_c_bigendian" = unknown; then
27447
- ac_cv_c_bigendian=no
27449
- # finding both strings is unlikely to happen, but who knows?
27450
- ac_cv_c_bigendian=unknown
27454
- $as_echo "$as_me: failed program was:" >&5
27455
-sed 's/^/| /' conftest.$ac_ext >&5
27460
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27462
- cat >conftest.$ac_ext <<_ACEOF
27465
-cat confdefs.h >>conftest.$ac_ext
27466
-cat >>conftest.$ac_ext <<_ACEOF
27467
-/* end confdefs.h. */
27468
-$ac_includes_default
27473
- /* Are we little or big endian? From Harbison&Steele. */
27477
- char c[sizeof (long int)];
27480
- return u.c[sizeof (long int) - 1] == 1;
27486
-rm -f conftest$ac_exeext
27487
-if { (ac_try="$ac_link"
27488
-case "(($ac_try" in
27489
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27490
- *) ac_try_echo=$ac_try;;
27492
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27493
-$as_echo "$ac_try_echo") >&5
27494
- (eval "$ac_link") 2>&5
27496
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27497
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27498
- { (case "(($ac_try" in
27499
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27500
- *) ac_try_echo=$ac_try;;
27502
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27503
-$as_echo "$ac_try_echo") >&5
27504
- (eval "$ac_try") 2>&5
27506
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27507
- (exit $ac_status); }; }; then
27508
- ac_cv_c_bigendian=no
27510
- $as_echo "$as_me: program exited with status $ac_status" >&5
27511
-$as_echo "$as_me: failed program was:" >&5
27512
-sed 's/^/| /' conftest.$ac_ext >&5
27514
-( exit $ac_status )
27515
-ac_cv_c_bigendian=yes
27517
-rm -rf conftest.dSYM
27518
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27524
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
27525
-$as_echo "$ac_cv_c_bigendian" >&6; }
27526
- case $ac_cv_c_bigendian in #(
27528
- cat >>confdefs.h <<\_ACEOF
27529
-#define WORDS_BIGENDIAN 1
27536
-cat >>confdefs.h <<\_ACEOF
27537
-#define AC_APPLE_UNIVERSAL_BUILD 1
27542
- { { $as_echo "$as_me:$LINENO: error: unknown endianness
27543
- presetting ac_cv_c_bigendian=no (or yes) will help" >&5
27544
-$as_echo "$as_me: error: unknown endianness
27545
- presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
27546
- { (exit 1); exit 1; }; } ;;
27551
-dofus_save_libs="$LIBS"
27552
-LIBS="$ORBIT_LIBS $LIBS"
27553
-if test "$cross_compiling" = yes; then
27554
- { $as_echo "$as_me:$LINENO: WARNING: Could not check for borked linking while cross-compiling" >&5
27555
-$as_echo "$as_me: WARNING: Could not check for borked linking while cross-compiling" >&2;}
27557
- cat >conftest.$ac_ext <<_ACEOF
27560
-cat confdefs.h >>conftest.$ac_ext
27561
-cat >>conftest.$ac_ext <<_ACEOF
27562
-/* end confdefs.h. */
27563
- #include <stdio.h>
27569
-rm -f conftest$ac_exeext
27570
-if { (ac_try="$ac_link"
27571
-case "(($ac_try" in
27572
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27573
- *) ac_try_echo=$ac_try;;
27575
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27576
-$as_echo "$ac_try_echo") >&5
27577
- (eval "$ac_link") 2>&5
27579
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27580
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27581
- { (case "(($ac_try" in
27582
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27583
- *) ac_try_echo=$ac_try;;
27585
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27586
-$as_echo "$ac_try_echo") >&5
27587
- (eval "$ac_try") 2>&5
27589
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27590
- (exit $ac_status); }; }; then
27593
- $as_echo "$as_me: program exited with status $ac_status" >&5
27594
-$as_echo "$as_me: failed program was:" >&5
27595
-sed 's/^/| /' conftest.$ac_ext >&5
27597
-( exit $ac_status )
27598
-{ { $as_echo "$as_me:$LINENO: error:
27599
-Linking is badly borked on your system. Please ensure your library path is correct
27600
-Check config.log for details - check near the end of the log above 'failed program was'
27601
-Alternatively ensure that your /etc/ld.so.conf (and/or LD_LIBRARY_PATH) includes the
27602
-prefix you're compiling on: '${prefix}' " >&5
27603
-$as_echo "$as_me: error:
27604
-Linking is badly borked on your system. Please ensure your library path is correct
27605
-Check config.log for details - check near the end of the log above 'failed program was'
27606
-Alternatively ensure that your /etc/ld.so.conf (and/or LD_LIBRARY_PATH) includes the
27607
-prefix you're compiling on: '${prefix}' " >&2;}
27608
- { (exit 1); exit 1; }; }
27610
-rm -rf conftest.dSYM
27611
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27615
-LIBS="$dofus_save_libs"
27617
-orig_CPPFLAGS=$CPPFLAGS
27618
-CPPFLAGS="$CPPFLAGS $ORBIT_CFLAGS"
27619
- { $as_echo "$as_me:$LINENO: checking alignment of CORBA_octet" >&5
27620
-$as_echo_n "checking alignment of CORBA_octet... " >&6; }
27621
- align_save_libs="$LIBS"
27622
- LIBS="$ORBIT_LIBS $LIBS"
27623
- if test "${ac_cv_alignof_CORBA_octet+set}" = set; then
27624
- $as_echo_n "(cached) " >&6
27626
- if test "$cross_compiling" = yes; then
27627
- ac_cv_alignof_CORBA_octet=0
27629
- cat >conftest.$ac_ext <<_ACEOF
27632
-cat confdefs.h >>conftest.$ac_ext
27633
-cat >>conftest.$ac_ext <<_ACEOF
27634
-/* end confdefs.h. */
27635
- #include <stdio.h>
27636
- #include <stdlib.h>
27638
- #include "$srcdir/include/orbit/util/basic_types.h"
27639
- typedef struct {char s1;} CORBA_struct;
27640
- typedef void *CORBA_pointer;
27641
- struct test {char s1; CORBA_octet s2;};
27644
- FILE *f=fopen("conftestval", "w");
27646
- fprintf(f, "%d\n", &(((struct test*)0)->s2));
27650
-rm -f conftest$ac_exeext
27651
-if { (ac_try="$ac_link"
27652
-case "(($ac_try" in
27653
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27654
- *) ac_try_echo=$ac_try;;
27656
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27657
-$as_echo "$ac_try_echo") >&5
27658
- (eval "$ac_link") 2>&5
27660
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27661
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27662
- { (case "(($ac_try" in
27663
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27664
- *) ac_try_echo=$ac_try;;
27666
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27667
-$as_echo "$ac_try_echo") >&5
27668
- (eval "$ac_try") 2>&5
27670
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27671
- (exit $ac_status); }; }; then
27672
- ac_cv_alignof_CORBA_octet=`cat conftestval`
27674
- $as_echo "$as_me: program exited with status $ac_status" >&5
27675
-$as_echo "$as_me: failed program was:" >&5
27676
-sed 's/^/| /' conftest.$ac_ext >&5
27678
-( exit $ac_status )
27679
-ac_cv_alignof_CORBA_octet=0
27681
-rm -rf conftest.dSYM
27682
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27688
- { $as_echo "$as_me:$LINENO: result: $ac_cv_alignof_CORBA_octet" >&5
27689
-$as_echo "$ac_cv_alignof_CORBA_octet" >&6; }
27690
- if test "$ac_cv_alignof_CORBA_octet" = "0" ; then
27691
- { { $as_echo "$as_me:$LINENO: error: Failed to find alignment. Check config.log for details." >&5
27692
-$as_echo "$as_me: error: Failed to find alignment. Check config.log for details." >&2;}
27693
- { (exit 1); exit 1; }; }
27695
- LIBS="$align_save_libs"
27696
- ORBIT_ALIGNOF_CORBA_OCTET=$ac_cv_alignof_CORBA_octet
27699
- { $as_echo "$as_me:$LINENO: checking alignment of CORBA_boolean" >&5
27700
-$as_echo_n "checking alignment of CORBA_boolean... " >&6; }
27701
- align_save_libs="$LIBS"
27702
- LIBS="$ORBIT_LIBS $LIBS"
27703
- if test "${ac_cv_alignof_CORBA_boolean+set}" = set; then
27704
- $as_echo_n "(cached) " >&6
27706
- if test "$cross_compiling" = yes; then
27707
- ac_cv_alignof_CORBA_boolean=0
27709
- cat >conftest.$ac_ext <<_ACEOF
27712
-cat confdefs.h >>conftest.$ac_ext
27713
-cat >>conftest.$ac_ext <<_ACEOF
27714
-/* end confdefs.h. */
27715
- #include <stdio.h>
27716
- #include <stdlib.h>
27718
- #include "$srcdir/include/orbit/util/basic_types.h"
27719
- typedef struct {char s1;} CORBA_struct;
27720
- typedef void *CORBA_pointer;
27721
- struct test {char s1; CORBA_boolean s2;};
27724
- FILE *f=fopen("conftestval", "w");
27726
- fprintf(f, "%d\n", &(((struct test*)0)->s2));
27730
-rm -f conftest$ac_exeext
27731
-if { (ac_try="$ac_link"
27732
-case "(($ac_try" in
27733
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27734
- *) ac_try_echo=$ac_try;;
27736
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27737
-$as_echo "$ac_try_echo") >&5
27738
- (eval "$ac_link") 2>&5
27740
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27741
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27742
- { (case "(($ac_try" in
27743
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27744
- *) ac_try_echo=$ac_try;;
27746
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27747
-$as_echo "$ac_try_echo") >&5
27748
- (eval "$ac_try") 2>&5
27750
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27751
- (exit $ac_status); }; }; then
27752
- ac_cv_alignof_CORBA_boolean=`cat conftestval`
27754
- $as_echo "$as_me: program exited with status $ac_status" >&5
27755
-$as_echo "$as_me: failed program was:" >&5
27756
-sed 's/^/| /' conftest.$ac_ext >&5
27758
-( exit $ac_status )
27759
-ac_cv_alignof_CORBA_boolean=0
27761
-rm -rf conftest.dSYM
27762
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27768
- { $as_echo "$as_me:$LINENO: result: $ac_cv_alignof_CORBA_boolean" >&5
27769
-$as_echo "$ac_cv_alignof_CORBA_boolean" >&6; }
27770
- if test "$ac_cv_alignof_CORBA_boolean" = "0" ; then
27771
- { { $as_echo "$as_me:$LINENO: error: Failed to find alignment. Check config.log for details." >&5
27772
-$as_echo "$as_me: error: Failed to find alignment. Check config.log for details." >&2;}
27773
- { (exit 1); exit 1; }; }
27775
- LIBS="$align_save_libs"
27776
- ORBIT_ALIGNOF_CORBA_BOOLEAN=$ac_cv_alignof_CORBA_boolean
27779
- { $as_echo "$as_me:$LINENO: checking alignment of CORBA_char" >&5
27780
-$as_echo_n "checking alignment of CORBA_char... " >&6; }
27781
- align_save_libs="$LIBS"
27782
- LIBS="$ORBIT_LIBS $LIBS"
27783
- if test "${ac_cv_alignof_CORBA_char+set}" = set; then
27784
- $as_echo_n "(cached) " >&6
27786
- if test "$cross_compiling" = yes; then
27787
- ac_cv_alignof_CORBA_char=0
27789
- cat >conftest.$ac_ext <<_ACEOF
27792
-cat confdefs.h >>conftest.$ac_ext
27793
-cat >>conftest.$ac_ext <<_ACEOF
27794
-/* end confdefs.h. */
27795
- #include <stdio.h>
27796
- #include <stdlib.h>
27798
- #include "$srcdir/include/orbit/util/basic_types.h"
27799
- typedef struct {char s1;} CORBA_struct;
27800
- typedef void *CORBA_pointer;
27801
- struct test {char s1; CORBA_char s2;};
27804
- FILE *f=fopen("conftestval", "w");
27806
- fprintf(f, "%d\n", &(((struct test*)0)->s2));
27810
-rm -f conftest$ac_exeext
27811
-if { (ac_try="$ac_link"
27812
-case "(($ac_try" in
27813
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27814
- *) ac_try_echo=$ac_try;;
27816
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27817
-$as_echo "$ac_try_echo") >&5
27818
- (eval "$ac_link") 2>&5
27820
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27821
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27822
- { (case "(($ac_try" in
27823
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27824
- *) ac_try_echo=$ac_try;;
27826
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27827
-$as_echo "$ac_try_echo") >&5
27828
- (eval "$ac_try") 2>&5
27830
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27831
- (exit $ac_status); }; }; then
27832
- ac_cv_alignof_CORBA_char=`cat conftestval`
27834
- $as_echo "$as_me: program exited with status $ac_status" >&5
27835
-$as_echo "$as_me: failed program was:" >&5
27836
-sed 's/^/| /' conftest.$ac_ext >&5
27838
-( exit $ac_status )
27839
-ac_cv_alignof_CORBA_char=0
27841
-rm -rf conftest.dSYM
27842
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27848
- { $as_echo "$as_me:$LINENO: result: $ac_cv_alignof_CORBA_char" >&5
27849
-$as_echo "$ac_cv_alignof_CORBA_char" >&6; }
27850
- if test "$ac_cv_alignof_CORBA_char" = "0" ; then
27851
- { { $as_echo "$as_me:$LINENO: error: Failed to find alignment. Check config.log for details." >&5
27852
-$as_echo "$as_me: error: Failed to find alignment. Check config.log for details." >&2;}
27853
- { (exit 1); exit 1; }; }
27855
- LIBS="$align_save_libs"
27856
- ORBIT_ALIGNOF_CORBA_CHAR=$ac_cv_alignof_CORBA_char
27859
- { $as_echo "$as_me:$LINENO: checking alignment of CORBA_wchar" >&5
27860
-$as_echo_n "checking alignment of CORBA_wchar... " >&6; }
27861
- align_save_libs="$LIBS"
27862
- LIBS="$ORBIT_LIBS $LIBS"
27863
- if test "${ac_cv_alignof_CORBA_wchar+set}" = set; then
27864
- $as_echo_n "(cached) " >&6
27866
- if test "$cross_compiling" = yes; then
27867
- ac_cv_alignof_CORBA_wchar=0
27869
- cat >conftest.$ac_ext <<_ACEOF
27872
-cat confdefs.h >>conftest.$ac_ext
27873
-cat >>conftest.$ac_ext <<_ACEOF
27874
-/* end confdefs.h. */
27875
- #include <stdio.h>
27876
- #include <stdlib.h>
27878
- #include "$srcdir/include/orbit/util/basic_types.h"
27879
- typedef struct {char s1;} CORBA_struct;
27880
- typedef void *CORBA_pointer;
27881
- struct test {char s1; CORBA_wchar s2;};
27884
- FILE *f=fopen("conftestval", "w");
27886
- fprintf(f, "%d\n", &(((struct test*)0)->s2));
27890
-rm -f conftest$ac_exeext
27891
-if { (ac_try="$ac_link"
27892
-case "(($ac_try" in
27893
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27894
- *) ac_try_echo=$ac_try;;
27896
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27897
-$as_echo "$ac_try_echo") >&5
27898
- (eval "$ac_link") 2>&5
27900
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27901
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27902
- { (case "(($ac_try" in
27903
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27904
- *) ac_try_echo=$ac_try;;
27906
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27907
-$as_echo "$ac_try_echo") >&5
27908
- (eval "$ac_try") 2>&5
27910
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27911
- (exit $ac_status); }; }; then
27912
- ac_cv_alignof_CORBA_wchar=`cat conftestval`
27914
- $as_echo "$as_me: program exited with status $ac_status" >&5
27915
-$as_echo "$as_me: failed program was:" >&5
27916
-sed 's/^/| /' conftest.$ac_ext >&5
27918
-( exit $ac_status )
27919
-ac_cv_alignof_CORBA_wchar=0
27921
-rm -rf conftest.dSYM
27922
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27928
- { $as_echo "$as_me:$LINENO: result: $ac_cv_alignof_CORBA_wchar" >&5
27929
-$as_echo "$ac_cv_alignof_CORBA_wchar" >&6; }
27930
- if test "$ac_cv_alignof_CORBA_wchar" = "0" ; then
27931
- { { $as_echo "$as_me:$LINENO: error: Failed to find alignment. Check config.log for details." >&5
27932
-$as_echo "$as_me: error: Failed to find alignment. Check config.log for details." >&2;}
27933
- { (exit 1); exit 1; }; }
27935
- LIBS="$align_save_libs"
27936
- ORBIT_ALIGNOF_CORBA_WCHAR=$ac_cv_alignof_CORBA_wchar
27939
- { $as_echo "$as_me:$LINENO: checking alignment of CORBA_short" >&5
27940
-$as_echo_n "checking alignment of CORBA_short... " >&6; }
27941
- align_save_libs="$LIBS"
27942
- LIBS="$ORBIT_LIBS $LIBS"
27943
- if test "${ac_cv_alignof_CORBA_short+set}" = set; then
27944
- $as_echo_n "(cached) " >&6
27946
- if test "$cross_compiling" = yes; then
27947
- ac_cv_alignof_CORBA_short=0
27949
- cat >conftest.$ac_ext <<_ACEOF
27952
-cat confdefs.h >>conftest.$ac_ext
27953
-cat >>conftest.$ac_ext <<_ACEOF
27954
-/* end confdefs.h. */
27955
- #include <stdio.h>
27956
- #include <stdlib.h>
27958
- #include "$srcdir/include/orbit/util/basic_types.h"
27959
- typedef struct {char s1;} CORBA_struct;
27960
- typedef void *CORBA_pointer;
27961
- struct test {char s1; CORBA_short s2;};
27964
- FILE *f=fopen("conftestval", "w");
27966
- fprintf(f, "%d\n", &(((struct test*)0)->s2));
27970
-rm -f conftest$ac_exeext
27971
-if { (ac_try="$ac_link"
27972
-case "(($ac_try" in
27973
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27974
- *) ac_try_echo=$ac_try;;
27976
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27977
-$as_echo "$ac_try_echo") >&5
27978
- (eval "$ac_link") 2>&5
27980
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27981
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27982
- { (case "(($ac_try" in
27983
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27984
- *) ac_try_echo=$ac_try;;
27986
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27987
-$as_echo "$ac_try_echo") >&5
27988
- (eval "$ac_try") 2>&5
27990
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27991
- (exit $ac_status); }; }; then
27992
- ac_cv_alignof_CORBA_short=`cat conftestval`
27994
- $as_echo "$as_me: program exited with status $ac_status" >&5
27995
-$as_echo "$as_me: failed program was:" >&5
27996
-sed 's/^/| /' conftest.$ac_ext >&5
27998
-( exit $ac_status )
27999
-ac_cv_alignof_CORBA_short=0
28001
-rm -rf conftest.dSYM
28002
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28008
- { $as_echo "$as_me:$LINENO: result: $ac_cv_alignof_CORBA_short" >&5
28009
-$as_echo "$ac_cv_alignof_CORBA_short" >&6; }
28010
- if test "$ac_cv_alignof_CORBA_short" = "0" ; then
28011
- { { $as_echo "$as_me:$LINENO: error: Failed to find alignment. Check config.log for details." >&5
28012
-$as_echo "$as_me: error: Failed to find alignment. Check config.log for details." >&2;}
28013
- { (exit 1); exit 1; }; }
28015
- LIBS="$align_save_libs"
28016
- ORBIT_ALIGNOF_CORBA_SHORT=$ac_cv_alignof_CORBA_short
28019
- { $as_echo "$as_me:$LINENO: checking alignment of CORBA_long" >&5
28020
-$as_echo_n "checking alignment of CORBA_long... " >&6; }
28021
- align_save_libs="$LIBS"
28022
- LIBS="$ORBIT_LIBS $LIBS"
28023
- if test "${ac_cv_alignof_CORBA_long+set}" = set; then
28024
- $as_echo_n "(cached) " >&6
28026
- if test "$cross_compiling" = yes; then
28027
- ac_cv_alignof_CORBA_long=0
28029
- cat >conftest.$ac_ext <<_ACEOF
28032
-cat confdefs.h >>conftest.$ac_ext
28033
-cat >>conftest.$ac_ext <<_ACEOF
28034
-/* end confdefs.h. */
28035
- #include <stdio.h>
28036
- #include <stdlib.h>
28038
- #include "$srcdir/include/orbit/util/basic_types.h"
28039
- typedef struct {char s1;} CORBA_struct;
28040
- typedef void *CORBA_pointer;
28041
- struct test {char s1; CORBA_long s2;};
28044
- FILE *f=fopen("conftestval", "w");
28046
- fprintf(f, "%d\n", &(((struct test*)0)->s2));
28050
-rm -f conftest$ac_exeext
28051
-if { (ac_try="$ac_link"
28052
-case "(($ac_try" in
28053
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28054
- *) ac_try_echo=$ac_try;;
28056
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28057
-$as_echo "$ac_try_echo") >&5
28058
- (eval "$ac_link") 2>&5
28060
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28061
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28062
- { (case "(($ac_try" in
28063
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28064
- *) ac_try_echo=$ac_try;;
28066
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28067
-$as_echo "$ac_try_echo") >&5
28068
- (eval "$ac_try") 2>&5
28070
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28071
- (exit $ac_status); }; }; then
28072
- ac_cv_alignof_CORBA_long=`cat conftestval`
28074
- $as_echo "$as_me: program exited with status $ac_status" >&5
28075
-$as_echo "$as_me: failed program was:" >&5
28076
-sed 's/^/| /' conftest.$ac_ext >&5
28078
-( exit $ac_status )
28079
-ac_cv_alignof_CORBA_long=0
28081
-rm -rf conftest.dSYM
28082
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28088
- { $as_echo "$as_me:$LINENO: result: $ac_cv_alignof_CORBA_long" >&5
28089
-$as_echo "$ac_cv_alignof_CORBA_long" >&6; }
28090
- if test "$ac_cv_alignof_CORBA_long" = "0" ; then
28091
- { { $as_echo "$as_me:$LINENO: error: Failed to find alignment. Check config.log for details." >&5
28092
-$as_echo "$as_me: error: Failed to find alignment. Check config.log for details." >&2;}
28093
- { (exit 1); exit 1; }; }
28095
- LIBS="$align_save_libs"
28096
- ORBIT_ALIGNOF_CORBA_LONG=$ac_cv_alignof_CORBA_long
28099
- { $as_echo "$as_me:$LINENO: checking alignment of CORBA_long_long" >&5
28100
-$as_echo_n "checking alignment of CORBA_long_long... " >&6; }
28101
- align_save_libs="$LIBS"
28102
- LIBS="$ORBIT_LIBS $LIBS"
28103
- if test "${ac_cv_alignof_CORBA_long_long+set}" = set; then
28104
- $as_echo_n "(cached) " >&6
28106
- if test "$cross_compiling" = yes; then
28107
- ac_cv_alignof_CORBA_long_long=0
28109
- cat >conftest.$ac_ext <<_ACEOF
28112
-cat confdefs.h >>conftest.$ac_ext
28113
-cat >>conftest.$ac_ext <<_ACEOF
28114
-/* end confdefs.h. */
28115
- #include <stdio.h>
28116
- #include <stdlib.h>
28118
- #include "$srcdir/include/orbit/util/basic_types.h"
28119
- typedef struct {char s1;} CORBA_struct;
28120
- typedef void *CORBA_pointer;
28121
- struct test {char s1; CORBA_long_long s2;};
28124
- FILE *f=fopen("conftestval", "w");
28126
- fprintf(f, "%d\n", &(((struct test*)0)->s2));
28130
-rm -f conftest$ac_exeext
28131
-if { (ac_try="$ac_link"
28132
-case "(($ac_try" in
28133
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28134
- *) ac_try_echo=$ac_try;;
28136
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28137
-$as_echo "$ac_try_echo") >&5
28138
- (eval "$ac_link") 2>&5
28140
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28141
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28142
- { (case "(($ac_try" in
28143
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28144
- *) ac_try_echo=$ac_try;;
28146
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28147
-$as_echo "$ac_try_echo") >&5
28148
- (eval "$ac_try") 2>&5
28150
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28151
- (exit $ac_status); }; }; then
28152
- ac_cv_alignof_CORBA_long_long=`cat conftestval`
28154
- $as_echo "$as_me: program exited with status $ac_status" >&5
28155
-$as_echo "$as_me: failed program was:" >&5
28156
-sed 's/^/| /' conftest.$ac_ext >&5
28158
-( exit $ac_status )
28159
-ac_cv_alignof_CORBA_long_long=0
28161
-rm -rf conftest.dSYM
28162
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28168
- { $as_echo "$as_me:$LINENO: result: $ac_cv_alignof_CORBA_long_long" >&5
28169
-$as_echo "$ac_cv_alignof_CORBA_long_long" >&6; }
28170
- if test "$ac_cv_alignof_CORBA_long_long" = "0" ; then
28171
- { { $as_echo "$as_me:$LINENO: error: Failed to find alignment. Check config.log for details." >&5
28172
-$as_echo "$as_me: error: Failed to find alignment. Check config.log for details." >&2;}
28173
- { (exit 1); exit 1; }; }
28175
- LIBS="$align_save_libs"
28176
- ORBIT_ALIGNOF_CORBA_LONG_LONG=$ac_cv_alignof_CORBA_long_long
28179
- { $as_echo "$as_me:$LINENO: checking alignment of CORBA_float" >&5
28180
-$as_echo_n "checking alignment of CORBA_float... " >&6; }
28181
- align_save_libs="$LIBS"
28182
- LIBS="$ORBIT_LIBS $LIBS"
28183
- if test "${ac_cv_alignof_CORBA_float+set}" = set; then
28184
- $as_echo_n "(cached) " >&6
28186
- if test "$cross_compiling" = yes; then
28187
- ac_cv_alignof_CORBA_float=0
28189
- cat >conftest.$ac_ext <<_ACEOF
28192
-cat confdefs.h >>conftest.$ac_ext
28193
-cat >>conftest.$ac_ext <<_ACEOF
28194
-/* end confdefs.h. */
28195
- #include <stdio.h>
28196
- #include <stdlib.h>
28198
- #include "$srcdir/include/orbit/util/basic_types.h"
28199
- typedef struct {char s1;} CORBA_struct;
28200
- typedef void *CORBA_pointer;
28201
- struct test {char s1; CORBA_float s2;};
28204
- FILE *f=fopen("conftestval", "w");
28206
- fprintf(f, "%d\n", &(((struct test*)0)->s2));
28210
-rm -f conftest$ac_exeext
28211
-if { (ac_try="$ac_link"
28212
-case "(($ac_try" in
28213
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28214
- *) ac_try_echo=$ac_try;;
28216
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28217
-$as_echo "$ac_try_echo") >&5
28218
- (eval "$ac_link") 2>&5
28220
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28221
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28222
- { (case "(($ac_try" in
28223
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28224
- *) ac_try_echo=$ac_try;;
28226
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28227
-$as_echo "$ac_try_echo") >&5
28228
- (eval "$ac_try") 2>&5
28230
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28231
- (exit $ac_status); }; }; then
28232
- ac_cv_alignof_CORBA_float=`cat conftestval`
28234
- $as_echo "$as_me: program exited with status $ac_status" >&5
28235
-$as_echo "$as_me: failed program was:" >&5
28236
-sed 's/^/| /' conftest.$ac_ext >&5
28238
-( exit $ac_status )
28239
-ac_cv_alignof_CORBA_float=0
28241
-rm -rf conftest.dSYM
28242
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28248
- { $as_echo "$as_me:$LINENO: result: $ac_cv_alignof_CORBA_float" >&5
28249
-$as_echo "$ac_cv_alignof_CORBA_float" >&6; }
28250
- if test "$ac_cv_alignof_CORBA_float" = "0" ; then
28251
- { { $as_echo "$as_me:$LINENO: error: Failed to find alignment. Check config.log for details." >&5
28252
-$as_echo "$as_me: error: Failed to find alignment. Check config.log for details." >&2;}
28253
- { (exit 1); exit 1; }; }
28255
- LIBS="$align_save_libs"
28256
- ORBIT_ALIGNOF_CORBA_FLOAT=$ac_cv_alignof_CORBA_float
28259
- { $as_echo "$as_me:$LINENO: checking alignment of CORBA_double" >&5
28260
-$as_echo_n "checking alignment of CORBA_double... " >&6; }
28261
- align_save_libs="$LIBS"
28262
- LIBS="$ORBIT_LIBS $LIBS"
28263
- if test "${ac_cv_alignof_CORBA_double+set}" = set; then
28264
- $as_echo_n "(cached) " >&6
28266
- if test "$cross_compiling" = yes; then
28267
- ac_cv_alignof_CORBA_double=0
28269
- cat >conftest.$ac_ext <<_ACEOF
28272
-cat confdefs.h >>conftest.$ac_ext
28273
-cat >>conftest.$ac_ext <<_ACEOF
28274
-/* end confdefs.h. */
28275
- #include <stdio.h>
28276
- #include <stdlib.h>
28278
- #include "$srcdir/include/orbit/util/basic_types.h"
28279
- typedef struct {char s1;} CORBA_struct;
28280
- typedef void *CORBA_pointer;
28281
- struct test {char s1; CORBA_double s2;};
28284
- FILE *f=fopen("conftestval", "w");
28286
- fprintf(f, "%d\n", &(((struct test*)0)->s2));
28290
-rm -f conftest$ac_exeext
28291
-if { (ac_try="$ac_link"
28292
-case "(($ac_try" in
28293
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28294
- *) ac_try_echo=$ac_try;;
28296
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28297
-$as_echo "$ac_try_echo") >&5
28298
- (eval "$ac_link") 2>&5
28300
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28301
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28302
- { (case "(($ac_try" in
28303
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28304
- *) ac_try_echo=$ac_try;;
28306
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28307
-$as_echo "$ac_try_echo") >&5
28308
- (eval "$ac_try") 2>&5
28310
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28311
- (exit $ac_status); }; }; then
28312
- ac_cv_alignof_CORBA_double=`cat conftestval`
28314
- $as_echo "$as_me: program exited with status $ac_status" >&5
28315
-$as_echo "$as_me: failed program was:" >&5
28316
-sed 's/^/| /' conftest.$ac_ext >&5
28318
-( exit $ac_status )
28319
-ac_cv_alignof_CORBA_double=0
28321
-rm -rf conftest.dSYM
28322
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28328
- { $as_echo "$as_me:$LINENO: result: $ac_cv_alignof_CORBA_double" >&5
28329
-$as_echo "$ac_cv_alignof_CORBA_double" >&6; }
28330
- if test "$ac_cv_alignof_CORBA_double" = "0" ; then
28331
- { { $as_echo "$as_me:$LINENO: error: Failed to find alignment. Check config.log for details." >&5
28332
-$as_echo "$as_me: error: Failed to find alignment. Check config.log for details." >&2;}
28333
- { (exit 1); exit 1; }; }
28335
- LIBS="$align_save_libs"
28336
- ORBIT_ALIGNOF_CORBA_DOUBLE=$ac_cv_alignof_CORBA_double
28339
- { $as_echo "$as_me:$LINENO: checking alignment of CORBA_long_double" >&5
28340
-$as_echo_n "checking alignment of CORBA_long_double... " >&6; }
28341
- align_save_libs="$LIBS"
28342
- LIBS="$ORBIT_LIBS $LIBS"
28343
- if test "${ac_cv_alignof_CORBA_long_double+set}" = set; then
28344
- $as_echo_n "(cached) " >&6
28346
- if test "$cross_compiling" = yes; then
28347
- ac_cv_alignof_CORBA_long_double=0
28349
- cat >conftest.$ac_ext <<_ACEOF
28352
-cat confdefs.h >>conftest.$ac_ext
28353
-cat >>conftest.$ac_ext <<_ACEOF
28354
-/* end confdefs.h. */
28355
- #include <stdio.h>
28356
- #include <stdlib.h>
28358
- #include "$srcdir/include/orbit/util/basic_types.h"
28359
- typedef struct {char s1;} CORBA_struct;
28360
- typedef void *CORBA_pointer;
28361
- struct test {char s1; CORBA_long_double s2;};
28364
- FILE *f=fopen("conftestval", "w");
28366
- fprintf(f, "%d\n", &(((struct test*)0)->s2));
28370
-rm -f conftest$ac_exeext
28371
-if { (ac_try="$ac_link"
28372
-case "(($ac_try" in
28373
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28374
- *) ac_try_echo=$ac_try;;
28376
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28377
-$as_echo "$ac_try_echo") >&5
28378
- (eval "$ac_link") 2>&5
28380
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28381
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28382
- { (case "(($ac_try" in
28383
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28384
- *) ac_try_echo=$ac_try;;
28386
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28387
-$as_echo "$ac_try_echo") >&5
28388
- (eval "$ac_try") 2>&5
28390
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28391
- (exit $ac_status); }; }; then
28392
- ac_cv_alignof_CORBA_long_double=`cat conftestval`
28394
- $as_echo "$as_me: program exited with status $ac_status" >&5
28395
-$as_echo "$as_me: failed program was:" >&5
28396
-sed 's/^/| /' conftest.$ac_ext >&5
28398
-( exit $ac_status )
28399
-ac_cv_alignof_CORBA_long_double=0
28401
-rm -rf conftest.dSYM
28402
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28408
- { $as_echo "$as_me:$LINENO: result: $ac_cv_alignof_CORBA_long_double" >&5
28409
-$as_echo "$ac_cv_alignof_CORBA_long_double" >&6; }
28410
- if test "$ac_cv_alignof_CORBA_long_double" = "0" ; then
28411
- { { $as_echo "$as_me:$LINENO: error: Failed to find alignment. Check config.log for details." >&5
28412
-$as_echo "$as_me: error: Failed to find alignment. Check config.log for details." >&2;}
28413
- { (exit 1); exit 1; }; }
28415
- LIBS="$align_save_libs"
28416
- ORBIT_ALIGNOF_CORBA_LONG_DOUBLE=$ac_cv_alignof_CORBA_long_double
28419
- { $as_echo "$as_me:$LINENO: checking alignment of CORBA_struct" >&5
28420
-$as_echo_n "checking alignment of CORBA_struct... " >&6; }
28421
- align_save_libs="$LIBS"
28422
- LIBS="$ORBIT_LIBS $LIBS"
28423
- if test "${ac_cv_alignof_CORBA_struct+set}" = set; then
28424
- $as_echo_n "(cached) " >&6
28426
- if test "$cross_compiling" = yes; then
28427
- ac_cv_alignof_CORBA_struct=0
28429
- cat >conftest.$ac_ext <<_ACEOF
28432
-cat confdefs.h >>conftest.$ac_ext
28433
-cat >>conftest.$ac_ext <<_ACEOF
28434
-/* end confdefs.h. */
28435
- #include <stdio.h>
28436
- #include <stdlib.h>
28438
- #include "$srcdir/include/orbit/util/basic_types.h"
28439
- typedef struct {char s1;} CORBA_struct;
28440
- typedef void *CORBA_pointer;
28441
- struct test {char s1; CORBA_struct s2;};
28444
- FILE *f=fopen("conftestval", "w");
28446
- fprintf(f, "%d\n", &(((struct test*)0)->s2));
28450
-rm -f conftest$ac_exeext
28451
-if { (ac_try="$ac_link"
28452
-case "(($ac_try" in
28453
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28454
- *) ac_try_echo=$ac_try;;
28456
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28457
-$as_echo "$ac_try_echo") >&5
28458
- (eval "$ac_link") 2>&5
28460
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28461
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28462
- { (case "(($ac_try" in
28463
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28464
- *) ac_try_echo=$ac_try;;
28466
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28467
-$as_echo "$ac_try_echo") >&5
28468
- (eval "$ac_try") 2>&5
28470
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28471
- (exit $ac_status); }; }; then
28472
- ac_cv_alignof_CORBA_struct=`cat conftestval`
28474
- $as_echo "$as_me: program exited with status $ac_status" >&5
28475
-$as_echo "$as_me: failed program was:" >&5
28476
-sed 's/^/| /' conftest.$ac_ext >&5
28478
-( exit $ac_status )
28479
-ac_cv_alignof_CORBA_struct=0
28481
-rm -rf conftest.dSYM
28482
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28488
- { $as_echo "$as_me:$LINENO: result: $ac_cv_alignof_CORBA_struct" >&5
28489
-$as_echo "$ac_cv_alignof_CORBA_struct" >&6; }
28490
- if test "$ac_cv_alignof_CORBA_struct" = "0" ; then
28491
- { { $as_echo "$as_me:$LINENO: error: Failed to find alignment. Check config.log for details." >&5
28492
-$as_echo "$as_me: error: Failed to find alignment. Check config.log for details." >&2;}
28493
- { (exit 1); exit 1; }; }
28495
- LIBS="$align_save_libs"
28496
- ORBIT_ALIGNOF_CORBA_STRUCT=$ac_cv_alignof_CORBA_struct
28499
- { $as_echo "$as_me:$LINENO: checking alignment of CORBA_pointer" >&5
28500
-$as_echo_n "checking alignment of CORBA_pointer... " >&6; }
28501
- align_save_libs="$LIBS"
28502
- LIBS="$ORBIT_LIBS $LIBS"
28503
- if test "${ac_cv_alignof_CORBA_pointer+set}" = set; then
28504
- $as_echo_n "(cached) " >&6
28506
- if test "$cross_compiling" = yes; then
28507
- ac_cv_alignof_CORBA_pointer=0
28509
- cat >conftest.$ac_ext <<_ACEOF
28512
-cat confdefs.h >>conftest.$ac_ext
28513
-cat >>conftest.$ac_ext <<_ACEOF
28514
-/* end confdefs.h. */
28515
- #include <stdio.h>
28516
- #include <stdlib.h>
28518
- #include "$srcdir/include/orbit/util/basic_types.h"
28519
- typedef struct {char s1;} CORBA_struct;
28520
- typedef void *CORBA_pointer;
28521
- struct test {char s1; CORBA_pointer s2;};
28524
- FILE *f=fopen("conftestval", "w");
28526
- fprintf(f, "%d\n", &(((struct test*)0)->s2));
28530
-rm -f conftest$ac_exeext
28531
-if { (ac_try="$ac_link"
28532
-case "(($ac_try" in
28533
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28534
- *) ac_try_echo=$ac_try;;
28536
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28537
-$as_echo "$ac_try_echo") >&5
28538
- (eval "$ac_link") 2>&5
28540
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28541
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28542
- { (case "(($ac_try" in
28543
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28544
- *) ac_try_echo=$ac_try;;
28546
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28547
-$as_echo "$ac_try_echo") >&5
28548
- (eval "$ac_try") 2>&5
28550
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28551
- (exit $ac_status); }; }; then
28552
- ac_cv_alignof_CORBA_pointer=`cat conftestval`
28554
- $as_echo "$as_me: program exited with status $ac_status" >&5
28555
-$as_echo "$as_me: failed program was:" >&5
28556
-sed 's/^/| /' conftest.$ac_ext >&5
28558
-( exit $ac_status )
28559
-ac_cv_alignof_CORBA_pointer=0
28561
-rm -rf conftest.dSYM
28562
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28568
- { $as_echo "$as_me:$LINENO: result: $ac_cv_alignof_CORBA_pointer" >&5
28569
-$as_echo "$ac_cv_alignof_CORBA_pointer" >&6; }
28570
- if test "$ac_cv_alignof_CORBA_pointer" = "0" ; then
28571
- { { $as_echo "$as_me:$LINENO: error: Failed to find alignment. Check config.log for details." >&5
28572
-$as_echo "$as_me: error: Failed to find alignment. Check config.log for details." >&2;}
28573
- { (exit 1); exit 1; }; }
28575
- LIBS="$align_save_libs"
28576
- ORBIT_ALIGNOF_CORBA_POINTER=$ac_cv_alignof_CORBA_pointer
28579
-CPPFLAGS=$orig_CPPFLAGS
28581
-if test "x$GCC" = "xyes" -a "x$enable_compile_warnings" != "xno"; then
28582
- WARN_CFLAGS="-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations"
28587
-{ $as_echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
28588
-$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
28589
-{ $as_echo "$as_me:$LINENO: result: $WARN_CFLAGS" >&5
28590
-$as_echo "$WARN_CFLAGS" >&6; }
28595
-if test "$enable_maintainer_mode" = "yes"; then
28596
- DISABLE_DEPRECATED_CFLAGS=" \
28597
- -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES"
28604
-{ $as_echo "$as_me:$LINENO: checking for LINC" >&5
28605
-$as_echo_n "checking for LINC... " >&6; }
545
28607
-if test -n "$LINC_CFLAGS"; then
546
28608
- pkg_cv_LINC_CFLAGS="$LINC_CFLAGS"
547
28609
- elif test -n "$PKG_CONFIG"; then
548
28610
- if test -n "$PKG_CONFIG" && \
28611
- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gobject-2.0 >= \$GLIB_REQUIRED gthread-2.0 >= \$GLIB_REQUIRED\"") >&5
28612
- ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED") 2>&5
28614
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28615
- (exit $ac_status); }; then
28616
- pkg_cv_LINC_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
28621
- pkg_failed=untried
28623
-if test -n "$LINC_LIBS"; then
28624
- pkg_cv_LINC_LIBS="$LINC_LIBS"
28625
- elif test -n "$PKG_CONFIG"; then
28626
- if test -n "$PKG_CONFIG" && \
28627
- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gobject-2.0 >= \$GLIB_REQUIRED gthread-2.0 >= \$GLIB_REQUIRED\"") >&5
28628
- ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED") 2>&5
28630
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28631
- (exit $ac_status); }; then
28632
- pkg_cv_LINC_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
28637
- pkg_failed=untried
28642
-if test $pkg_failed = yes; then
28644
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28645
- _pkg_short_errors_supported=yes
28647
- _pkg_short_errors_supported=no
28649
- if test $_pkg_short_errors_supported = yes; then
28650
- LINC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED" 2>&1`
28652
- LINC_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED" 2>&1`
28654
- # Put the nasty error message in config.log where it belongs
28655
- echo "$LINC_PKG_ERRORS" >&5
28657
- { { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED) were not met:
28661
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
28662
-installed software in a non-standard prefix.
28664
-Alternatively, you may set the environment variables LINC_CFLAGS
28665
-and LINC_LIBS to avoid the need to call pkg-config.
28666
-See the pkg-config man page for more details.
28668
-$as_echo "$as_me: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED) were not met:
28672
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
28673
-installed software in a non-standard prefix.
28675
-Alternatively, you may set the environment variables LINC_CFLAGS
28676
-and LINC_LIBS to avoid the need to call pkg-config.
28677
-See the pkg-config man page for more details.
28679
- { (exit 1); exit 1; }; }
28680
-elif test $pkg_failed = untried; then
28681
- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28682
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28683
-{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
28684
-is in your PATH or set the PKG_CONFIG environment variable to the full
28685
-path to pkg-config.
28687
-Alternatively, you may set the environment variables LINC_CFLAGS
28688
-and LINC_LIBS to avoid the need to call pkg-config.
28689
-See the pkg-config man page for more details.
28691
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.
28692
-See \`config.log' for more details." >&5
28693
-$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
28694
-is in your PATH or set the PKG_CONFIG environment variable to the full
28695
-path to pkg-config.
28697
-Alternatively, you may set the environment variables LINC_CFLAGS
28698
-and LINC_LIBS to avoid the need to call pkg-config.
28699
-See the pkg-config man page for more details.
28701
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.
28702
-See \`config.log' for more details." >&2;}
28703
- { (exit 1); exit 1; }; }; }
28705
- LINC_CFLAGS=$pkg_cv_LINC_CFLAGS
28706
- LINC_LIBS=$pkg_cv_LINC_LIBS
28707
- { $as_echo "$as_me:$LINENO: result: yes" >&5
28708
-$as_echo "yes" >&6; }
28714
-{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
28715
-$as_echo_n "checking for ANSI C header files... " >&6; }
28716
-if test "${ac_cv_header_stdc+set}" = set; then
28717
- $as_echo_n "(cached) " >&6
28719
- cat >conftest.$ac_ext <<_ACEOF
28722
-cat confdefs.h >>conftest.$ac_ext
28723
-cat >>conftest.$ac_ext <<_ACEOF
28724
-/* end confdefs.h. */
28725
-#include <stdlib.h>
28726
-#include <stdarg.h>
28727
-#include <string.h>
28728
-#include <float.h>
28733
+if ac_fn_c_try_compile "$LINENO"; then :
28734
+ # It does; now see whether it defined to _BIG_ENDIAN or not.
28735
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28736
+/* end confdefs.h. */
28737
+#include <limits.h>
28742
+#ifndef _BIG_ENDIAN
28750
-rm -f conftest.$ac_objext
28751
-if { (ac_try="$ac_compile"
28752
-case "(($ac_try" in
28753
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28754
- *) ac_try_echo=$ac_try;;
28756
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28757
-$as_echo "$ac_try_echo") >&5
28758
- (eval "$ac_compile") 2>conftest.er1
28760
- grep -v '^ *+' conftest.er1 >conftest.err
28761
- rm -f conftest.er1
28762
- cat conftest.err >&5
28763
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28764
- (exit $ac_status); } && {
28765
- test -z "$ac_c_werror_flag" ||
28766
- test ! -s conftest.err
28767
- } && test -s conftest.$ac_objext; then
28768
- ac_cv_header_stdc=yes
28769
+if ac_fn_c_try_compile "$LINENO"; then :
28770
+ ac_cv_c_bigendian=yes
28772
- $as_echo "$as_me: failed program was:" >&5
28773
-sed 's/^/| /' conftest.$ac_ext >&5
28775
- ac_cv_header_stdc=no
28776
+ ac_cv_c_bigendian=no
28779
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28781
-if test $ac_cv_header_stdc = yes; then
28782
- # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
28783
- cat >conftest.$ac_ext <<_ACEOF
28786
-cat confdefs.h >>conftest.$ac_ext
28787
-cat >>conftest.$ac_ext <<_ACEOF
28788
-/* end confdefs.h. */
28789
-#include <string.h>
28792
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28793
- $EGREP "memchr" >/dev/null 2>&1; then
28796
- ac_cv_header_stdc=no
28802
-if test $ac_cv_header_stdc = yes; then
28803
- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
28804
- cat >conftest.$ac_ext <<_ACEOF
28807
-cat confdefs.h >>conftest.$ac_ext
28808
-cat >>conftest.$ac_ext <<_ACEOF
28809
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28811
+ if test $ac_cv_c_bigendian = unknown; then
28812
+ # Compile a test program.
28813
+ if test "$cross_compiling" = yes; then :
28814
+ # Try to guess by grepping values from an object file.
28815
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28816
/* end confdefs.h. */
28817
-#include <stdlib.h>
28818
+short int ascii_mm[] =
28819
+ { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
28820
+ short int ascii_ii[] =
28821
+ { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
28822
+ int use_ascii (int i) {
28823
+ return ascii_mm[i] + ascii_ii[i];
28825
+ short int ebcdic_ii[] =
28826
+ { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
28827
+ short int ebcdic_mm[] =
28828
+ { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
28829
+ int use_ebcdic (int i) {
28830
+ return ebcdic_mm[i] + ebcdic_ii[i];
28837
+return use_ascii (foo) == use_ebcdic (foo);
28842
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28843
- $EGREP "free" >/dev/null 2>&1; then
28846
- ac_cv_header_stdc=no
28850
+if ac_fn_c_try_compile "$LINENO"; then :
28851
+ if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
28852
+ ac_cv_c_bigendian=yes
28854
+ if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
28855
+ if test "$ac_cv_c_bigendian" = unknown; then
28856
+ ac_cv_c_bigendian=no
28858
+ # finding both strings is unlikely to happen, but who knows?
28859
+ ac_cv_c_bigendian=unknown
28864
-if test $ac_cv_header_stdc = yes; then
28865
- # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
28866
- if test "$cross_compiling" = yes; then
28868
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28870
- cat >conftest.$ac_ext <<_ACEOF
28873
-cat confdefs.h >>conftest.$ac_ext
28874
-cat >>conftest.$ac_ext <<_ACEOF
28875
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28876
/* end confdefs.h. */
28877
-#include <ctype.h>
28878
-#include <stdlib.h>
28879
-#if ((' ' & 0x0FF) == 0x020)
28880
-# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
28881
-# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
28883
-# define ISLOWER(c) \
28884
- (('a' <= (c) && (c) <= 'i') \
28885
- || ('j' <= (c) && (c) <= 'r') \
28886
- || ('s' <= (c) && (c) <= 'z'))
28887
-# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
28890
-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
28891
+$ac_includes_default
28896
- for (i = 0; i < 256; i++)
28897
- if (XOR (islower (i), ISLOWER (i))
28898
- || toupper (i) != TOUPPER (i))
28901
+ /* Are we little or big endian? From Harbison&Steele. */
28905
+ char c[sizeof (long int)];
28908
+ return u.c[sizeof (long int) - 1] == 1;
28914
-rm -f conftest$ac_exeext
28915
-if { (ac_try="$ac_link"
28916
-case "(($ac_try" in
28917
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28918
- *) ac_try_echo=$ac_try;;
28920
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28921
-$as_echo "$ac_try_echo") >&5
28922
- (eval "$ac_link") 2>&5
28924
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28925
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28926
- { (case "(($ac_try" in
28927
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28928
- *) ac_try_echo=$ac_try;;
28930
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28931
-$as_echo "$ac_try_echo") >&5
28932
- (eval "$ac_try") 2>&5
28934
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28935
- (exit $ac_status); }; }; then
28937
+if ac_fn_c_try_run "$LINENO"; then :
28938
+ ac_cv_c_bigendian=no
28940
- $as_echo "$as_me: program exited with status $ac_status" >&5
28941
-$as_echo "$as_me: failed program was:" >&5
28942
-sed 's/^/| /' conftest.$ac_ext >&5
28944
-( exit $ac_status )
28945
-ac_cv_header_stdc=no
28946
+ ac_cv_c_bigendian=yes
28948
-rm -rf conftest.dSYM
28949
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28950
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28951
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
28958
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
28959
-$as_echo "$ac_cv_header_stdc" >&6; }
28960
-if test $ac_cv_header_stdc = yes; then
28961
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
28962
+$as_echo "$ac_cv_c_bigendian" >&6; }
28963
+ case $ac_cv_c_bigendian in #(
28965
+ $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
28971
-cat >>confdefs.h <<\_ACEOF
28972
-#define STDC_HEADERS 1
28974
+$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
28978
+ as_fn_error "unknown endianness
28979
+ presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
28985
+dofus_save_libs="$LIBS"
28986
+LIBS="$ORBIT_LIBS $LIBS"
28987
+if test "$cross_compiling" = yes; then :
28988
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not check for borked linking while cross-compiling" >&5
28989
+$as_echo "$as_me: WARNING: Could not check for borked linking while cross-compiling" >&2;}
28991
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28992
+/* end confdefs.h. */
28993
+ #include <stdio.h>
28999
+if ac_fn_c_try_run "$LINENO"; then :
29003
+Linking is badly borked on your system. Please ensure your library path is correct
29004
+Check config.log for details - check near the end of the log above 'failed program was'
29005
+Alternatively ensure that your /etc/ld.so.conf (and/or LD_LIBRARY_PATH) includes the
29006
+prefix you're compiling on: '${prefix}' " "$LINENO" 5
29008
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29009
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
29012
+LIBS="$dofus_save_libs"
29014
+orig_CPPFLAGS=$CPPFLAGS
29015
+CPPFLAGS="$CPPFLAGS $ORBIT_CFLAGS"
29016
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of CORBA_octet" >&5
29017
+$as_echo_n "checking alignment of CORBA_octet... " >&6; }
29018
+ align_save_libs="$LIBS"
29019
+ LIBS="$ORBIT_LIBS $LIBS"
29020
+ if test "${ac_cv_alignof_CORBA_octet+set}" = set; then :
29021
+ $as_echo_n "(cached) " >&6
29023
+ if test "$cross_compiling" = yes; then :
29024
+ ac_cv_alignof_CORBA_octet=0
29026
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29027
+/* end confdefs.h. */
29028
+ #include <stdio.h>
29029
+ #include <stdlib.h>
29031
+ #include "$srcdir/include/orbit/util/basic_types.h"
29032
+ typedef struct {char s1;} CORBA_struct;
29033
+ typedef void *CORBA_pointer;
29034
+ struct test {char s1; CORBA_octet s2;};
29037
+ FILE *f=fopen("conftestval", "w");
29039
+ fprintf(f, "%d\n", &(((struct test*)0)->s2));
29043
+if ac_fn_c_try_run "$LINENO"; then :
29044
+ ac_cv_alignof_CORBA_octet=`cat conftestval`
29046
+ ac_cv_alignof_CORBA_octet=0
29048
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29049
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
29054
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_CORBA_octet" >&5
29055
+$as_echo "$ac_cv_alignof_CORBA_octet" >&6; }
29056
+ if test "$ac_cv_alignof_CORBA_octet" = "0" ; then
29057
+ as_fn_error "Failed to find alignment. Check config.log for details." "$LINENO" 5
29059
+ LIBS="$align_save_libs"
29060
+ ORBIT_ALIGNOF_CORBA_OCTET=$ac_cv_alignof_CORBA_octet
29063
-for ac_header in fcntl.h unistd.h sys/endian.h endian.h machine/endian.h sys/machine.h sys/isa_defs.h sys/poll.h
29065
-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
29066
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29067
- { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
29068
-$as_echo_n "checking for $ac_header... " >&6; }
29069
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29070
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of CORBA_boolean" >&5
29071
+$as_echo_n "checking alignment of CORBA_boolean... " >&6; }
29072
+ align_save_libs="$LIBS"
29073
+ LIBS="$ORBIT_LIBS $LIBS"
29074
+ if test "${ac_cv_alignof_CORBA_boolean+set}" = set; then :
29075
$as_echo_n "(cached) " >&6
29077
-ac_res=`eval 'as_val=${'$as_ac_Header'}
29078
- $as_echo "$as_val"'`
29079
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29080
-$as_echo "$ac_res" >&6; }
29082
- # Is the header compilable?
29083
-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
29084
-$as_echo_n "checking $ac_header usability... " >&6; }
29085
-cat >conftest.$ac_ext <<_ACEOF
29088
-cat confdefs.h >>conftest.$ac_ext
29089
-cat >>conftest.$ac_ext <<_ACEOF
29090
+ if test "$cross_compiling" = yes; then :
29091
+ ac_cv_alignof_CORBA_boolean=0
29093
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29094
/* end confdefs.h. */
29095
-$ac_includes_default
29096
-#include <$ac_header>
29097
+ #include <stdio.h>
29098
+ #include <stdlib.h>
29100
+ #include "$srcdir/include/orbit/util/basic_types.h"
29101
+ typedef struct {char s1;} CORBA_struct;
29102
+ typedef void *CORBA_pointer;
29103
+ struct test {char s1; CORBA_boolean s2;};
29106
+ FILE *f=fopen("conftestval", "w");
29108
+ fprintf(f, "%d\n", &(((struct test*)0)->s2));
29112
-rm -f conftest.$ac_objext
29113
-if { (ac_try="$ac_compile"
29114
-case "(($ac_try" in
29115
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29116
- *) ac_try_echo=$ac_try;;
29118
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29119
-$as_echo "$ac_try_echo") >&5
29120
- (eval "$ac_compile") 2>conftest.er1
29122
- grep -v '^ *+' conftest.er1 >conftest.err
29123
- rm -f conftest.er1
29124
- cat conftest.err >&5
29125
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29126
- (exit $ac_status); } && {
29127
- test -z "$ac_c_werror_flag" ||
29128
- test ! -s conftest.err
29129
- } && test -s conftest.$ac_objext; then
29130
- ac_header_compiler=yes
29131
+if ac_fn_c_try_run "$LINENO"; then :
29132
+ ac_cv_alignof_CORBA_boolean=`cat conftestval`
29134
- $as_echo "$as_me: failed program was:" >&5
29135
-sed 's/^/| /' conftest.$ac_ext >&5
29137
- ac_header_compiler=no
29138
+ ac_cv_alignof_CORBA_boolean=0
29140
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29141
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
29144
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29145
-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29146
-$as_echo "$ac_header_compiler" >&6; }
29148
-# Is the header present?
29149
-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
29150
-$as_echo_n "checking $ac_header presence... " >&6; }
29151
-cat >conftest.$ac_ext <<_ACEOF
29154
-cat confdefs.h >>conftest.$ac_ext
29155
-cat >>conftest.$ac_ext <<_ACEOF
29156
-/* end confdefs.h. */
29157
-#include <$ac_header>
29159
-if { (ac_try="$ac_cpp conftest.$ac_ext"
29160
-case "(($ac_try" in
29161
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29162
- *) ac_try_echo=$ac_try;;
29164
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29165
-$as_echo "$ac_try_echo") >&5
29166
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29168
- grep -v '^ *+' conftest.er1 >conftest.err
29169
- rm -f conftest.er1
29170
- cat conftest.err >&5
29171
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29172
- (exit $ac_status); } >/dev/null && {
29173
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29174
- test ! -s conftest.err
29176
- ac_header_preproc=yes
29178
- $as_echo "$as_me: failed program was:" >&5
29179
-sed 's/^/| /' conftest.$ac_ext >&5
29181
- ac_header_preproc=no
29183
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_CORBA_boolean" >&5
29184
+$as_echo "$ac_cv_alignof_CORBA_boolean" >&6; }
29185
+ if test "$ac_cv_alignof_CORBA_boolean" = "0" ; then
29186
+ as_fn_error "Failed to find alignment. Check config.log for details." "$LINENO" 5
29188
+ LIBS="$align_save_libs"
29189
+ ORBIT_ALIGNOF_CORBA_BOOLEAN=$ac_cv_alignof_CORBA_boolean
29191
-rm -f conftest.err conftest.$ac_ext
29192
-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29193
-$as_echo "$ac_header_preproc" >&6; }
29195
-# So? What about this header?
29196
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29198
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29199
-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29200
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29201
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29202
- ac_header_preproc=yes
29205
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29206
-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29207
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29208
-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29209
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29210
-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29211
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29212
-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29213
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29214
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29215
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29216
-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29218
-## --------------------------------------------------------------------- ##
29219
-## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=ORBit2 ##
29220
-## --------------------------------------------------------------------- ##
29222
- ) | sed "s/^/$as_me: WARNING: /" >&2
29225
-{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
29226
-$as_echo_n "checking for $ac_header... " >&6; }
29227
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29228
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of CORBA_char" >&5
29229
+$as_echo_n "checking alignment of CORBA_char... " >&6; }
29230
+ align_save_libs="$LIBS"
29231
+ LIBS="$ORBIT_LIBS $LIBS"
29232
+ if test "${ac_cv_alignof_CORBA_char+set}" = set; then :
29233
$as_echo_n "(cached) " >&6
29235
- eval "$as_ac_Header=\$ac_header_preproc"
29237
-ac_res=`eval 'as_val=${'$as_ac_Header'}
29238
- $as_echo "$as_val"'`
29239
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29240
-$as_echo "$ac_res" >&6; }
29241
+ if test "$cross_compiling" = yes; then :
29242
+ ac_cv_alignof_CORBA_char=0
29244
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29245
+/* end confdefs.h. */
29246
+ #include <stdio.h>
29247
+ #include <stdlib.h>
29250
-as_val=`eval 'as_val=${'$as_ac_Header'}
29251
- $as_echo "$as_val"'`
29252
- if test "x$as_val" = x""yes; then
29253
- cat >>confdefs.h <<_ACEOF
29254
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
29255
+ #include "$srcdir/include/orbit/util/basic_types.h"
29256
+ typedef struct {char s1;} CORBA_struct;
29257
+ typedef void *CORBA_pointer;
29258
+ struct test {char s1; CORBA_char s2;};
29261
+ FILE *f=fopen("conftestval", "w");
29263
+ fprintf(f, "%d\n", &(((struct test*)0)->s2));
29268
+if ac_fn_c_try_run "$LINENO"; then :
29269
+ ac_cv_alignof_CORBA_char=`cat conftestval`
29271
+ ac_cv_alignof_CORBA_char=0
29273
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29274
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
29283
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_CORBA_char" >&5
29284
+$as_echo "$ac_cv_alignof_CORBA_char" >&6; }
29285
+ if test "$ac_cv_alignof_CORBA_char" = "0" ; then
29286
+ as_fn_error "Failed to find alignment. Check config.log for details." "$LINENO" 5
29288
+ LIBS="$align_save_libs"
29289
+ ORBIT_ALIGNOF_CORBA_CHAR=$ac_cv_alignof_CORBA_char
29292
-for ac_header in stddef.h wchar.h wcstr.h wctype.h machine/types.h
29294
-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
29295
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29296
- { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
29297
-$as_echo_n "checking for $ac_header... " >&6; }
29298
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29299
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of CORBA_wchar" >&5
29300
+$as_echo_n "checking alignment of CORBA_wchar... " >&6; }
29301
+ align_save_libs="$LIBS"
29302
+ LIBS="$ORBIT_LIBS $LIBS"
29303
+ if test "${ac_cv_alignof_CORBA_wchar+set}" = set; then :
29304
$as_echo_n "(cached) " >&6
29306
-ac_res=`eval 'as_val=${'$as_ac_Header'}
29307
- $as_echo "$as_val"'`
29308
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29309
-$as_echo "$ac_res" >&6; }
29311
- # Is the header compilable?
29312
-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
29313
-$as_echo_n "checking $ac_header usability... " >&6; }
29314
-cat >conftest.$ac_ext <<_ACEOF
29317
-cat confdefs.h >>conftest.$ac_ext
29318
-cat >>conftest.$ac_ext <<_ACEOF
29319
+ if test "$cross_compiling" = yes; then :
29320
+ ac_cv_alignof_CORBA_wchar=0
29322
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29323
/* end confdefs.h. */
29324
-$ac_includes_default
29325
-#include <$ac_header>
29326
+ #include <stdio.h>
29327
+ #include <stdlib.h>
29329
+ #include "$srcdir/include/orbit/util/basic_types.h"
29330
+ typedef struct {char s1;} CORBA_struct;
29331
+ typedef void *CORBA_pointer;
29332
+ struct test {char s1; CORBA_wchar s2;};
29335
+ FILE *f=fopen("conftestval", "w");
29337
+ fprintf(f, "%d\n", &(((struct test*)0)->s2));
29341
-rm -f conftest.$ac_objext
29342
-if { (ac_try="$ac_compile"
29343
-case "(($ac_try" in
29344
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29345
- *) ac_try_echo=$ac_try;;
29347
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29348
-$as_echo "$ac_try_echo") >&5
29349
- (eval "$ac_compile") 2>conftest.er1
29351
- grep -v '^ *+' conftest.er1 >conftest.err
29352
- rm -f conftest.er1
29353
- cat conftest.err >&5
29354
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29355
- (exit $ac_status); } && {
29356
- test -z "$ac_c_werror_flag" ||
29357
- test ! -s conftest.err
29358
- } && test -s conftest.$ac_objext; then
29359
- ac_header_compiler=yes
29360
+if ac_fn_c_try_run "$LINENO"; then :
29361
+ ac_cv_alignof_CORBA_wchar=`cat conftestval`
29363
- $as_echo "$as_me: failed program was:" >&5
29364
-sed 's/^/| /' conftest.$ac_ext >&5
29365
+ ac_cv_alignof_CORBA_wchar=0
29367
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29368
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
29372
- ac_header_compiler=no
29374
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_CORBA_wchar" >&5
29375
+$as_echo "$ac_cv_alignof_CORBA_wchar" >&6; }
29376
+ if test "$ac_cv_alignof_CORBA_wchar" = "0" ; then
29377
+ as_fn_error "Failed to find alignment. Check config.log for details." "$LINENO" 5
29379
+ LIBS="$align_save_libs"
29380
+ ORBIT_ALIGNOF_CORBA_WCHAR=$ac_cv_alignof_CORBA_wchar
29382
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29383
-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29384
-$as_echo "$ac_header_compiler" >&6; }
29386
-# Is the header present?
29387
-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
29388
-$as_echo_n "checking $ac_header presence... " >&6; }
29389
-cat >conftest.$ac_ext <<_ACEOF
29392
-cat confdefs.h >>conftest.$ac_ext
29393
-cat >>conftest.$ac_ext <<_ACEOF
29394
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of CORBA_short" >&5
29395
+$as_echo_n "checking alignment of CORBA_short... " >&6; }
29396
+ align_save_libs="$LIBS"
29397
+ LIBS="$ORBIT_LIBS $LIBS"
29398
+ if test "${ac_cv_alignof_CORBA_short+set}" = set; then :
29399
+ $as_echo_n "(cached) " >&6
29401
+ if test "$cross_compiling" = yes; then :
29402
+ ac_cv_alignof_CORBA_short=0
29404
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29405
/* end confdefs.h. */
29406
-#include <$ac_header>
29407
+ #include <stdio.h>
29408
+ #include <stdlib.h>
29410
+ #include "$srcdir/include/orbit/util/basic_types.h"
29411
+ typedef struct {char s1;} CORBA_struct;
29412
+ typedef void *CORBA_pointer;
29413
+ struct test {char s1; CORBA_short s2;};
29416
+ FILE *f=fopen("conftestval", "w");
29418
+ fprintf(f, "%d\n", &(((struct test*)0)->s2));
29422
-if { (ac_try="$ac_cpp conftest.$ac_ext"
29423
-case "(($ac_try" in
29424
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29425
- *) ac_try_echo=$ac_try;;
29427
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29428
-$as_echo "$ac_try_echo") >&5
29429
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29431
- grep -v '^ *+' conftest.er1 >conftest.err
29432
- rm -f conftest.er1
29433
- cat conftest.err >&5
29434
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29435
- (exit $ac_status); } >/dev/null && {
29436
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29437
- test ! -s conftest.err
29439
- ac_header_preproc=yes
29440
+if ac_fn_c_try_run "$LINENO"; then :
29441
+ ac_cv_alignof_CORBA_short=`cat conftestval`
29443
- $as_echo "$as_me: failed program was:" >&5
29444
-sed 's/^/| /' conftest.$ac_ext >&5
29445
+ ac_cv_alignof_CORBA_short=0
29447
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29448
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
29452
- ac_header_preproc=no
29454
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_CORBA_short" >&5
29455
+$as_echo "$ac_cv_alignof_CORBA_short" >&6; }
29456
+ if test "$ac_cv_alignof_CORBA_short" = "0" ; then
29457
+ as_fn_error "Failed to find alignment. Check config.log for details." "$LINENO" 5
29459
+ LIBS="$align_save_libs"
29460
+ ORBIT_ALIGNOF_CORBA_SHORT=$ac_cv_alignof_CORBA_short
29462
-rm -f conftest.err conftest.$ac_ext
29463
-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29464
-$as_echo "$ac_header_preproc" >&6; }
29466
-# So? What about this header?
29467
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29469
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29470
-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29471
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29472
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29473
- ac_header_preproc=yes
29476
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29477
-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29478
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29479
-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29480
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29481
-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29482
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29483
-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29484
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29485
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29486
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29487
-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29489
-## --------------------------------------------------------------------- ##
29490
-## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=ORBit2 ##
29491
-## --------------------------------------------------------------------- ##
29493
- ) | sed "s/^/$as_me: WARNING: /" >&2
29496
-{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
29497
-$as_echo_n "checking for $ac_header... " >&6; }
29498
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29499
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of CORBA_long" >&5
29500
+$as_echo_n "checking alignment of CORBA_long... " >&6; }
29501
+ align_save_libs="$LIBS"
29502
+ LIBS="$ORBIT_LIBS $LIBS"
29503
+ if test "${ac_cv_alignof_CORBA_long+set}" = set; then :
29504
$as_echo_n "(cached) " >&6
29506
- eval "$as_ac_Header=\$ac_header_preproc"
29508
-ac_res=`eval 'as_val=${'$as_ac_Header'}
29509
- $as_echo "$as_val"'`
29510
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29511
-$as_echo "$ac_res" >&6; }
29512
+ if test "$cross_compiling" = yes; then :
29513
+ ac_cv_alignof_CORBA_long=0
29515
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29516
+/* end confdefs.h. */
29517
+ #include <stdio.h>
29518
+ #include <stdlib.h>
29520
+ #include "$srcdir/include/orbit/util/basic_types.h"
29521
+ typedef struct {char s1;} CORBA_struct;
29522
+ typedef void *CORBA_pointer;
29523
+ struct test {char s1; CORBA_long s2;};
29526
+ FILE *f=fopen("conftestval", "w");
29528
+ fprintf(f, "%d\n", &(((struct test*)0)->s2));
29532
+if ac_fn_c_try_run "$LINENO"; then :
29533
+ ac_cv_alignof_CORBA_long=`cat conftestval`
29535
+ ac_cv_alignof_CORBA_long=0
29537
-as_val=`eval 'as_val=${'$as_ac_Header'}
29538
- $as_echo "$as_val"'`
29539
- if test "x$as_val" = x""yes; then
29540
- cat >>confdefs.h <<_ACEOF
29541
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
29544
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29545
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
29552
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_CORBA_long" >&5
29553
+$as_echo "$ac_cv_alignof_CORBA_long" >&6; }
29554
+ if test "$ac_cv_alignof_CORBA_long" = "0" ; then
29555
+ as_fn_error "Failed to find alignment. Check config.log for details." "$LINENO" 5
29557
+ LIBS="$align_save_libs"
29558
+ ORBIT_ALIGNOF_CORBA_LONG=$ac_cv_alignof_CORBA_long
29561
-for ac_header in netinet/in.h netinet/tcp.h sys/un.h
29563
-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
29564
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29565
- { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
29566
-$as_echo_n "checking for $ac_header... " >&6; }
29567
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29568
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of CORBA_long_long" >&5
29569
+$as_echo_n "checking alignment of CORBA_long_long... " >&6; }
29570
+ align_save_libs="$LIBS"
29571
+ LIBS="$ORBIT_LIBS $LIBS"
29572
+ if test "${ac_cv_alignof_CORBA_long_long+set}" = set; then :
29573
$as_echo_n "(cached) " >&6
29575
-ac_res=`eval 'as_val=${'$as_ac_Header'}
29576
- $as_echo "$as_val"'`
29577
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29578
-$as_echo "$ac_res" >&6; }
29580
- # Is the header compilable?
29581
-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
29582
-$as_echo_n "checking $ac_header usability... " >&6; }
29583
-cat >conftest.$ac_ext <<_ACEOF
29586
-cat confdefs.h >>conftest.$ac_ext
29587
-cat >>conftest.$ac_ext <<_ACEOF
29588
+ if test "$cross_compiling" = yes; then :
29589
+ ac_cv_alignof_CORBA_long_long=0
29591
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29592
/* end confdefs.h. */
29593
-$ac_includes_default
29594
-#include <$ac_header>
29595
+ #include <stdio.h>
29596
+ #include <stdlib.h>
29598
+ #include "$srcdir/include/orbit/util/basic_types.h"
29599
+ typedef struct {char s1;} CORBA_struct;
29600
+ typedef void *CORBA_pointer;
29601
+ struct test {char s1; CORBA_long_long s2;};
29604
+ FILE *f=fopen("conftestval", "w");
29606
+ fprintf(f, "%d\n", &(((struct test*)0)->s2));
29610
-rm -f conftest.$ac_objext
29611
-if { (ac_try="$ac_compile"
29612
-case "(($ac_try" in
29613
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29614
- *) ac_try_echo=$ac_try;;
29616
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29617
-$as_echo "$ac_try_echo") >&5
29618
- (eval "$ac_compile") 2>conftest.er1
29620
- grep -v '^ *+' conftest.er1 >conftest.err
29621
- rm -f conftest.er1
29622
- cat conftest.err >&5
29623
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29624
- (exit $ac_status); } && {
29625
- test -z "$ac_c_werror_flag" ||
29626
- test ! -s conftest.err
29627
- } && test -s conftest.$ac_objext; then
29628
- ac_header_compiler=yes
29629
+if ac_fn_c_try_run "$LINENO"; then :
29630
+ ac_cv_alignof_CORBA_long_long=`cat conftestval`
29632
- $as_echo "$as_me: failed program was:" >&5
29633
-sed 's/^/| /' conftest.$ac_ext >&5
29635
- ac_header_compiler=no
29636
+ ac_cv_alignof_CORBA_long_long=0
29638
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29639
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
29642
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29643
-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29644
-$as_echo "$ac_header_compiler" >&6; }
29646
-# Is the header present?
29647
-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
29648
-$as_echo_n "checking $ac_header presence... " >&6; }
29649
-cat >conftest.$ac_ext <<_ACEOF
29652
-cat confdefs.h >>conftest.$ac_ext
29653
-cat >>conftest.$ac_ext <<_ACEOF
29654
-/* end confdefs.h. */
29655
-#include <$ac_header>
29657
-if { (ac_try="$ac_cpp conftest.$ac_ext"
29658
-case "(($ac_try" in
29659
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29660
- *) ac_try_echo=$ac_try;;
29662
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29663
-$as_echo "$ac_try_echo") >&5
29664
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29666
- grep -v '^ *+' conftest.er1 >conftest.err
29667
- rm -f conftest.er1
29668
- cat conftest.err >&5
29669
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29670
- (exit $ac_status); } >/dev/null && {
29671
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29672
- test ! -s conftest.err
29674
- ac_header_preproc=yes
29676
- $as_echo "$as_me: failed program was:" >&5
29677
-sed 's/^/| /' conftest.$ac_ext >&5
29679
- ac_header_preproc=no
29681
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_CORBA_long_long" >&5
29682
+$as_echo "$ac_cv_alignof_CORBA_long_long" >&6; }
29683
+ if test "$ac_cv_alignof_CORBA_long_long" = "0" ; then
29684
+ as_fn_error "Failed to find alignment. Check config.log for details." "$LINENO" 5
29686
+ LIBS="$align_save_libs"
29687
+ ORBIT_ALIGNOF_CORBA_LONG_LONG=$ac_cv_alignof_CORBA_long_long
29689
-rm -f conftest.err conftest.$ac_ext
29690
-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29691
-$as_echo "$ac_header_preproc" >&6; }
29693
-# So? What about this header?
29694
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29696
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29697
-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29698
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29699
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29700
- ac_header_preproc=yes
29703
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29704
-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29705
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29706
-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29707
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29708
-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29709
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29710
-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29711
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29712
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29713
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29714
-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29716
-## --------------------------------------------------------------------- ##
29717
-## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=ORBit2 ##
29718
-## --------------------------------------------------------------------- ##
29720
- ) | sed "s/^/$as_me: WARNING: /" >&2
29723
-{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
29724
-$as_echo_n "checking for $ac_header... " >&6; }
29725
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29726
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of CORBA_float" >&5
29727
+$as_echo_n "checking alignment of CORBA_float... " >&6; }
29728
+ align_save_libs="$LIBS"
29729
+ LIBS="$ORBIT_LIBS $LIBS"
29730
+ if test "${ac_cv_alignof_CORBA_float+set}" = set; then :
29731
$as_echo_n "(cached) " >&6
29733
- eval "$as_ac_Header=\$ac_header_preproc"
29735
-ac_res=`eval 'as_val=${'$as_ac_Header'}
29736
- $as_echo "$as_val"'`
29737
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29738
-$as_echo "$ac_res" >&6; }
29739
+ if test "$cross_compiling" = yes; then :
29740
+ ac_cv_alignof_CORBA_float=0
29742
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29743
+/* end confdefs.h. */
29744
+ #include <stdio.h>
29745
+ #include <stdlib.h>
29748
-as_val=`eval 'as_val=${'$as_ac_Header'}
29749
- $as_echo "$as_val"'`
29750
- if test "x$as_val" = x""yes; then
29751
- cat >>confdefs.h <<_ACEOF
29752
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
29753
+ #include "$srcdir/include/orbit/util/basic_types.h"
29754
+ typedef struct {char s1;} CORBA_struct;
29755
+ typedef void *CORBA_pointer;
29756
+ struct test {char s1; CORBA_float s2;};
29759
+ FILE *f=fopen("conftestval", "w");
29761
+ fprintf(f, "%d\n", &(((struct test*)0)->s2));
29766
+if ac_fn_c_try_run "$LINENO"; then :
29767
+ ac_cv_alignof_CORBA_float=`cat conftestval`
29769
+ ac_cv_alignof_CORBA_float=0
29771
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29772
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
29778
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_CORBA_float" >&5
29779
+$as_echo "$ac_cv_alignof_CORBA_float" >&6; }
29780
+ if test "$ac_cv_alignof_CORBA_float" = "0" ; then
29781
+ as_fn_error "Failed to find alignment. Check config.log for details." "$LINENO" 5
29783
+ LIBS="$align_save_libs"
29784
+ ORBIT_ALIGNOF_CORBA_FLOAT=$ac_cv_alignof_CORBA_float
29787
-for ac_header in arpa/nameser.h resolv.h
29789
-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
29790
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29791
- { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
29792
-$as_echo_n "checking for $ac_header... " >&6; }
29793
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29794
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of CORBA_double" >&5
29795
+$as_echo_n "checking alignment of CORBA_double... " >&6; }
29796
+ align_save_libs="$LIBS"
29797
+ LIBS="$ORBIT_LIBS $LIBS"
29798
+ if test "${ac_cv_alignof_CORBA_double+set}" = set; then :
29799
$as_echo_n "(cached) " >&6
29801
-ac_res=`eval 'as_val=${'$as_ac_Header'}
29802
- $as_echo "$as_val"'`
29803
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29804
-$as_echo "$ac_res" >&6; }
29806
- # Is the header compilable?
29807
-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
29808
-$as_echo_n "checking $ac_header usability... " >&6; }
29809
-cat >conftest.$ac_ext <<_ACEOF
29812
-cat confdefs.h >>conftest.$ac_ext
29813
-cat >>conftest.$ac_ext <<_ACEOF
29814
+ if test "$cross_compiling" = yes; then :
29815
+ ac_cv_alignof_CORBA_double=0
29817
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29818
/* end confdefs.h. */
29819
-$ac_includes_default
29820
-#include <$ac_header>
29821
+ #include <stdio.h>
29822
+ #include <stdlib.h>
29824
+ #include "$srcdir/include/orbit/util/basic_types.h"
29825
+ typedef struct {char s1;} CORBA_struct;
29826
+ typedef void *CORBA_pointer;
29827
+ struct test {char s1; CORBA_double s2;};
29830
+ FILE *f=fopen("conftestval", "w");
29832
+ fprintf(f, "%d\n", &(((struct test*)0)->s2));
29836
-rm -f conftest.$ac_objext
29837
-if { (ac_try="$ac_compile"
29838
-case "(($ac_try" in
29839
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29840
- *) ac_try_echo=$ac_try;;
29842
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29843
-$as_echo "$ac_try_echo") >&5
29844
- (eval "$ac_compile") 2>conftest.er1
29846
- grep -v '^ *+' conftest.er1 >conftest.err
29847
- rm -f conftest.er1
29848
- cat conftest.err >&5
29849
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29850
- (exit $ac_status); } && {
29851
- test -z "$ac_c_werror_flag" ||
29852
- test ! -s conftest.err
29853
- } && test -s conftest.$ac_objext; then
29854
- ac_header_compiler=yes
29855
+if ac_fn_c_try_run "$LINENO"; then :
29856
+ ac_cv_alignof_CORBA_double=`cat conftestval`
29858
- $as_echo "$as_me: failed program was:" >&5
29859
-sed 's/^/| /' conftest.$ac_ext >&5
29860
+ ac_cv_alignof_CORBA_double=0
29862
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29863
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
29867
- ac_header_compiler=no
29869
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_CORBA_double" >&5
29870
+$as_echo "$ac_cv_alignof_CORBA_double" >&6; }
29871
+ if test "$ac_cv_alignof_CORBA_double" = "0" ; then
29872
+ as_fn_error "Failed to find alignment. Check config.log for details." "$LINENO" 5
29874
+ LIBS="$align_save_libs"
29875
+ ORBIT_ALIGNOF_CORBA_DOUBLE=$ac_cv_alignof_CORBA_double
29877
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29878
-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29879
-$as_echo "$ac_header_compiler" >&6; }
29881
-# Is the header present?
29882
-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
29883
-$as_echo_n "checking $ac_header presence... " >&6; }
29884
-cat >conftest.$ac_ext <<_ACEOF
29887
-cat confdefs.h >>conftest.$ac_ext
29888
-cat >>conftest.$ac_ext <<_ACEOF
29889
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of CORBA_long_double" >&5
29890
+$as_echo_n "checking alignment of CORBA_long_double... " >&6; }
29891
+ align_save_libs="$LIBS"
29892
+ LIBS="$ORBIT_LIBS $LIBS"
29893
+ if test "${ac_cv_alignof_CORBA_long_double+set}" = set; then :
29894
+ $as_echo_n "(cached) " >&6
29896
+ if test "$cross_compiling" = yes; then :
29897
+ ac_cv_alignof_CORBA_long_double=0
29899
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29900
/* end confdefs.h. */
29901
-#include <$ac_header>
29902
+ #include <stdio.h>
29903
+ #include <stdlib.h>
29905
+ #include "$srcdir/include/orbit/util/basic_types.h"
29906
+ typedef struct {char s1;} CORBA_struct;
29907
+ typedef void *CORBA_pointer;
29908
+ struct test {char s1; CORBA_long_double s2;};
29911
+ FILE *f=fopen("conftestval", "w");
29913
+ fprintf(f, "%d\n", &(((struct test*)0)->s2));
29917
-if { (ac_try="$ac_cpp conftest.$ac_ext"
29918
-case "(($ac_try" in
29919
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29920
- *) ac_try_echo=$ac_try;;
29922
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29923
-$as_echo "$ac_try_echo") >&5
29924
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29926
- grep -v '^ *+' conftest.er1 >conftest.err
29927
- rm -f conftest.er1
29928
- cat conftest.err >&5
29929
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29930
- (exit $ac_status); } >/dev/null && {
29931
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29932
- test ! -s conftest.err
29934
- ac_header_preproc=yes
29935
+if ac_fn_c_try_run "$LINENO"; then :
29936
+ ac_cv_alignof_CORBA_long_double=`cat conftestval`
29938
- $as_echo "$as_me: failed program was:" >&5
29939
-sed 's/^/| /' conftest.$ac_ext >&5
29940
+ ac_cv_alignof_CORBA_long_double=0
29942
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29943
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
29947
- ac_header_preproc=no
29949
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_CORBA_long_double" >&5
29950
+$as_echo "$ac_cv_alignof_CORBA_long_double" >&6; }
29951
+ if test "$ac_cv_alignof_CORBA_long_double" = "0" ; then
29952
+ as_fn_error "Failed to find alignment. Check config.log for details." "$LINENO" 5
29954
+ LIBS="$align_save_libs"
29955
+ ORBIT_ALIGNOF_CORBA_LONG_DOUBLE=$ac_cv_alignof_CORBA_long_double
29957
-rm -f conftest.err conftest.$ac_ext
29958
-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29959
-$as_echo "$ac_header_preproc" >&6; }
29961
-# So? What about this header?
29962
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29964
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29965
-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29966
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29967
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29968
- ac_header_preproc=yes
29971
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29972
-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29973
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29974
-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29975
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29976
-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29977
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29978
-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29979
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29980
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29981
- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29982
-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29984
-## --------------------------------------------------------------------- ##
29985
-## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=ORBit2 ##
29986
-## --------------------------------------------------------------------- ##
29988
- ) | sed "s/^/$as_me: WARNING: /" >&2
29991
-{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
29992
-$as_echo_n "checking for $ac_header... " >&6; }
29993
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29994
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of CORBA_struct" >&5
29995
+$as_echo_n "checking alignment of CORBA_struct... " >&6; }
29996
+ align_save_libs="$LIBS"
29997
+ LIBS="$ORBIT_LIBS $LIBS"
29998
+ if test "${ac_cv_alignof_CORBA_struct+set}" = set; then :
29999
$as_echo_n "(cached) " >&6
30001
- eval "$as_ac_Header=\$ac_header_preproc"
30003
-ac_res=`eval 'as_val=${'$as_ac_Header'}
30004
- $as_echo "$as_val"'`
30005
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
30006
-$as_echo "$ac_res" >&6; }
30008
+ if test "$cross_compiling" = yes; then :
30009
+ ac_cv_alignof_CORBA_struct=0
30011
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30012
+/* end confdefs.h. */
30013
+ #include <stdio.h>
30014
+ #include <stdlib.h>
30016
+ #include "$srcdir/include/orbit/util/basic_types.h"
30017
+ typedef struct {char s1;} CORBA_struct;
30018
+ typedef void *CORBA_pointer;
30019
+ struct test {char s1; CORBA_struct s2;};
30022
+ FILE *f=fopen("conftestval", "w");
30024
+ fprintf(f, "%d\n", &(((struct test*)0)->s2));
30028
+if ac_fn_c_try_run "$LINENO"; then :
30029
+ ac_cv_alignof_CORBA_struct=`cat conftestval`
30031
+ ac_cv_alignof_CORBA_struct=0
30033
-as_val=`eval 'as_val=${'$as_ac_Header'}
30034
- $as_echo "$as_val"'`
30035
- if test "x$as_val" = x""yes; then
30036
- cat >>confdefs.h <<_ACEOF
30037
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
30040
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30041
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
30048
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_CORBA_struct" >&5
30049
+$as_echo "$ac_cv_alignof_CORBA_struct" >&6; }
30050
+ if test "$ac_cv_alignof_CORBA_struct" = "0" ; then
30051
+ as_fn_error "Failed to find alignment. Check config.log for details." "$LINENO" 5
30053
+ LIBS="$align_save_libs"
30054
+ ORBIT_ALIGNOF_CORBA_STRUCT=$ac_cv_alignof_CORBA_struct
30057
-for ac_func in poll basename
30059
-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30060
-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
30061
-$as_echo_n "checking for $ac_func... " >&6; }
30062
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30063
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of CORBA_pointer" >&5
30064
+$as_echo_n "checking alignment of CORBA_pointer... " >&6; }
30065
+ align_save_libs="$LIBS"
30066
+ LIBS="$ORBIT_LIBS $LIBS"
30067
+ if test "${ac_cv_alignof_CORBA_pointer+set}" = set; then :
30068
$as_echo_n "(cached) " >&6
30070
- cat >conftest.$ac_ext <<_ACEOF
30073
-cat confdefs.h >>conftest.$ac_ext
30074
-cat >>conftest.$ac_ext <<_ACEOF
30075
+ if test "$cross_compiling" = yes; then :
30076
+ ac_cv_alignof_CORBA_pointer=0
30078
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30079
/* end confdefs.h. */
30080
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30081
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
30082
-#define $ac_func innocuous_$ac_func
30083
+ #include <stdio.h>
30084
+ #include <stdlib.h>
30086
-/* System header to define __stub macros and hopefully few prototypes,
30087
- which can conflict with char $ac_func (); below.
30088
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30089
- <limits.h> exists even on freestanding compilers. */
30090
+ #include "$srcdir/include/orbit/util/basic_types.h"
30091
+ typedef struct {char s1;} CORBA_struct;
30092
+ typedef void *CORBA_pointer;
30093
+ struct test {char s1; CORBA_pointer s2;};
30096
+ FILE *f=fopen("conftestval", "w");
30098
+ fprintf(f, "%d\n", &(((struct test*)0)->s2));
30102
+if ac_fn_c_try_run "$LINENO"; then :
30103
+ ac_cv_alignof_CORBA_pointer=`cat conftestval`
30105
+ ac_cv_alignof_CORBA_pointer=0
30107
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30108
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
30112
-# include <limits.h>
30114
-# include <assert.h>
30119
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_CORBA_pointer" >&5
30120
+$as_echo "$ac_cv_alignof_CORBA_pointer" >&6; }
30121
+ if test "$ac_cv_alignof_CORBA_pointer" = "0" ; then
30122
+ as_fn_error "Failed to find alignment. Check config.log for details." "$LINENO" 5
30124
+ LIBS="$align_save_libs"
30125
+ ORBIT_ALIGNOF_CORBA_POINTER=$ac_cv_alignof_CORBA_pointer
30127
-/* Override any GCC internal prototype to avoid an error.
30128
- Use char because int might match the return type of a GCC
30129
- builtin and then its argument prototype would still apply. */
30130
-#ifdef __cplusplus
30134
-/* The GNU C library defines this for functions which it implements
30135
- to always fail with ENOSYS. Some functions are actually named
30136
- something starting with __ and the normal name is an alias. */
30137
-#if defined __stub_$ac_func || defined __stub___$ac_func
30144
-return $ac_func ();
30149
-rm -f conftest.$ac_objext conftest$ac_exeext
30150
-if { (ac_try="$ac_link"
30151
-case "(($ac_try" in
30152
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30153
- *) ac_try_echo=$ac_try;;
30155
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30156
-$as_echo "$ac_try_echo") >&5
30157
- (eval "$ac_link") 2>conftest.er1
30159
- grep -v '^ *+' conftest.er1 >conftest.err
30160
- rm -f conftest.er1
30161
- cat conftest.err >&5
30162
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30163
- (exit $ac_status); } && {
30164
- test -z "$ac_c_werror_flag" ||
30165
- test ! -s conftest.err
30166
- } && test -s conftest$ac_exeext && {
30167
- test "$cross_compiling" = yes ||
30168
- $as_test_x conftest$ac_exeext
30170
- eval "$as_ac_var=yes"
30172
- $as_echo "$as_me: failed program was:" >&5
30173
-sed 's/^/| /' conftest.$ac_ext >&5
30174
+CPPFLAGS=$orig_CPPFLAGS
30176
- eval "$as_ac_var=no"
30177
+if test "x$GCC" = "xyes" -a "x$enable_compile_warnings" != "xno"; then
30178
+ WARN_CFLAGS="-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations"
30183
-rm -rf conftest.dSYM
30184
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30185
- conftest$ac_exeext conftest.$ac_ext
30187
-ac_res=`eval 'as_val=${'$as_ac_var'}
30188
- $as_echo "$as_val"'`
30189
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
30190
-$as_echo "$ac_res" >&6; }
30191
-as_val=`eval 'as_val=${'$as_ac_var'}
30192
- $as_echo "$as_val"'`
30193
- if test "x$as_val" = x""yes; then
30194
- cat >>confdefs.h <<_ACEOF
30195
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30197
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
30198
+$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
30199
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $WARN_CFLAGS" >&5
30200
+$as_echo "$WARN_CFLAGS" >&6; }
30205
-{ $as_echo "$as_me:$LINENO: checking for res_init" >&5
30206
-$as_echo_n "checking for res_init... " >&6; }
30207
-if test "${ac_cv_func_res_init+set}" = set; then
30208
- $as_echo_n "(cached) " >&6
30210
- cat >conftest.$ac_ext <<_ACEOF
30213
-cat confdefs.h >>conftest.$ac_ext
30214
-cat >>conftest.$ac_ext <<_ACEOF
30215
-/* end confdefs.h. */
30216
-/* Define res_init to an innocuous variant, in case <limits.h> declares res_init.
30217
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
30218
-#define res_init innocuous_res_init
30220
-/* System header to define __stub macros and hopefully few prototypes,
30221
- which can conflict with char res_init (); below.
30222
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30223
- <limits.h> exists even on freestanding compilers. */
30226
-# include <limits.h>
30228
-# include <assert.h>
30230
+if test "$enable_maintainer_mode" = "yes"; then
30231
+ DISABLE_DEPRECATED_CFLAGS=" \
30232
+ -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES"
30237
-/* Override any GCC internal prototype to avoid an error.
30238
- Use char because int might match the return type of a GCC
30239
- builtin and then its argument prototype would still apply. */
30240
-#ifdef __cplusplus
30244
-/* The GNU C library defines this for functions which it implements
30245
- to always fail with ENOSYS. Some functions are actually named
30246
- something starting with __ and the normal name is an alias. */
30247
-#if defined __stub_res_init || defined __stub___res_init
30254
-return res_init ();
30259
-rm -f conftest.$ac_objext conftest$ac_exeext
30260
-if { (ac_try="$ac_link"
30261
-case "(($ac_try" in
30262
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30263
- *) ac_try_echo=$ac_try;;
30265
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30266
-$as_echo "$ac_try_echo") >&5
30267
- (eval "$ac_link") 2>conftest.er1
30270
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LINC" >&5
30271
+$as_echo_n "checking for LINC... " >&6; }
549
30273
+if test -n "$PKG_CONFIG"; then
550
30274
+ if test -n "$LINC_CFLAGS"; then
551
30275
+ pkg_cv_LINC_CFLAGS="$LINC_CFLAGS"
553
30277
+ if test -n "$PKG_CONFIG" && \
554
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gobject-2.0 >= \$GLIB_REQUIRED gthread-2.0 >= \$GLIB_REQUIRED\"") >&5
555
($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED") 2>&5
30278
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gobject-2.0 >= \$GLIB_REQUIRED gthread-2.0 >= \$GLIB_REQUIRED\""; } >&5
30279
+ ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED") 2>&5
557
@@ -16465,13 +16488,15 @@
30281
- grep -v '^ *+' conftest.er1 >conftest.err
30282
- rm -f conftest.er1
30283
- cat conftest.err >&5
30284
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30285
- (exit $ac_status); } && {
30286
- test -z "$ac_c_werror_flag" ||
30287
- test ! -s conftest.err
30288
- } && test -s conftest$ac_exeext && {
30289
- test "$cross_compiling" = yes ||
30290
- $as_test_x conftest$ac_exeext
30292
- ac_cv_func_res_init=yes
30293
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30294
+ test $ac_status = 0; }; then
30295
+ pkg_cv_LINC_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
30297
- $as_echo "$as_me: failed program was:" >&5
30298
-sed 's/^/| /' conftest.$ac_ext >&5
30300
- ac_cv_func_res_init=no
30304
-rm -rf conftest.dSYM
30305
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30306
- conftest$ac_exeext conftest.$ac_ext
565
30309
+ pkg_failed=untried
567
-if test -n "$LINC_LIBS"; then
568
- pkg_cv_LINC_LIBS="$LINC_LIBS"
569
- elif test -n "$PKG_CONFIG"; then
570
- if test -n "$PKG_CONFIG" && \
30311
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_res_init" >&5
30312
-$as_echo "$ac_cv_func_res_init" >&6; }
30313
-if test "x$ac_cv_func_res_init" = x""yes; then
571
30315
+if test -n "$PKG_CONFIG"; then
572
30316
+ if test -n "$LINC_LIBS"; then
573
30317
+ pkg_cv_LINC_LIBS="$LINC_LIBS"
575
30319
+ if test -n "$PKG_CONFIG" && \
576
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gobject-2.0 >= \$GLIB_REQUIRED gthread-2.0 >= \$GLIB_REQUIRED\"") >&5
577
($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED") 2>&5
579
@@ -16481,8 +16506,9 @@
30320
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gobject-2.0 >= \$GLIB_REQUIRED gthread-2.0 >= \$GLIB_REQUIRED\""; } >&5
30321
+ ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED") 2>&5
30323
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30324
+ test $ac_status = 0; }; then
30325
+ pkg_cv_LINC_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
30328
-{ $as_echo "$as_me:$LINENO: checking for res_init in -lresolv" >&5
30329
-$as_echo_n "checking for res_init in -lresolv... " >&6; }
30330
-if test "${ac_cv_lib_resolv_res_init+set}" = set; then
30331
- $as_echo_n "(cached) " >&6
30336
- ac_check_lib_save_LIBS=$LIBS
30337
-LIBS="-lresolv $LIBS"
30338
-cat >conftest.$ac_ext <<_ACEOF
30341
-cat confdefs.h >>conftest.$ac_ext
30342
-cat >>conftest.$ac_ext <<_ACEOF
30343
-/* end confdefs.h. */
30344
+ pkg_failed=untried
30347
-/* Override any GCC internal prototype to avoid an error.
30348
- Use char because int might match the return type of a GCC
30349
- builtin and then its argument prototype would still apply. */
30350
-#ifdef __cplusplus
30357
-return res_init ();
30362
-rm -f conftest.$ac_objext conftest$ac_exeext
30363
-if { (ac_try="$ac_link"
30364
-case "(($ac_try" in
30365
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30366
- *) ac_try_echo=$ac_try;;
30368
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30369
-$as_echo "$ac_try_echo") >&5
30370
- (eval "$ac_link") 2>conftest.er1
30372
- grep -v '^ *+' conftest.er1 >conftest.err
30373
- rm -f conftest.er1
30374
- cat conftest.err >&5
30375
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30376
- (exit $ac_status); } && {
30377
- test -z "$ac_c_werror_flag" ||
30378
- test ! -s conftest.err
30379
- } && test -s conftest$ac_exeext && {
30380
- test "$cross_compiling" = yes ||
30381
- $as_test_x conftest$ac_exeext
30383
- ac_cv_lib_resolv_res_init=yes
30385
- $as_echo "$as_me: failed program was:" >&5
30386
-sed 's/^/| /' conftest.$ac_ext >&5
30388
- ac_cv_lib_resolv_res_init=no
30391
-rm -rf conftest.dSYM
30392
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30393
- conftest$ac_exeext conftest.$ac_ext
30394
-LIBS=$ac_check_lib_save_LIBS
30395
+if test $pkg_failed = yes; then
30397
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30398
+ _pkg_short_errors_supported=yes
591
@@ -16495,9 +16521,9 @@
592
_pkg_short_errors_supported=no
594
if test $_pkg_short_errors_supported = yes; then
595
- LINC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED" 2>&1`
30400
+ _pkg_short_errors_supported=no
30402
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_init" >&5
30403
-$as_echo "$ac_cv_lib_resolv_res_init" >&6; }
30404
-if test "x$ac_cv_lib_resolv_res_init" = x""yes; then
30405
- cat >>confdefs.h <<_ACEOF
30406
-#define HAVE_LIBRESOLV 1
30408
+ if test $_pkg_short_errors_supported = yes; then
596
30409
+ LINC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED"`
598
- LINC_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED" 2>&1`
599
30411
+ LINC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED"`
601
# Put the nasty error message in config.log where it belongs
602
echo "$LINC_PKG_ERRORS" >&5
603
@@ -20409,16 +20435,7 @@
606
case $ac_file$ac_mode in
607
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
608
-# are listed without --file. Let's play safe and only enable the eval
609
-# if we detect the quoting.
610
-case $CONFIG_FILES in
611
-*\'*) eval set x "$CONFIG_FILES" ;;
612
-*) set x $CONFIG_FILES ;;
617
+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
618
# Strip MF so we end up with the name of the file.
619
mf=`echo "$mf" | sed -e 's/:.*$//'`
620
# Check whether this is an Automake generated Makefile or not.
621
diff -Naur orbit2-2.14.17.old/docs/api/Makefile.in orbit2-2.14.17/docs/api/Makefile.in
622
--- orbit2-2.14.17.old/docs/api/Makefile.in 2009-03-05 13:43:02.000000000 +0100
623
+++ orbit2-2.14.17/docs/api/Makefile.in 2009-03-06 18:43:05.000000000 +0100
625
-# Makefile.in generated by automake 1.10.2 from Makefile.am.
626
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
629
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
632
case '$(am__configure_deps)' in \
634
- ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
635
- && { if test -f $@; then exit 0; else break; fi; }; \
636
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
641
diff -Naur orbit2-2.14.17.old/docs/devel/Makefile.in orbit2-2.14.17/docs/devel/Makefile.in
642
--- orbit2-2.14.17.old/docs/devel/Makefile.in 2009-03-05 13:43:02.000000000 +0100
643
+++ orbit2-2.14.17/docs/devel/Makefile.in 2009-03-06 18:43:05.000000000 +0100
645
-# Makefile.in generated by automake 1.10.2 from Makefile.am.
646
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
649
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
652
case '$(am__configure_deps)' in \
654
- ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
655
- && { if test -f $@; then exit 0; else break; fi; }; \
656
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
661
diff -Naur orbit2-2.14.17.old/docs/internals/Makefile.in orbit2-2.14.17/docs/internals/Makefile.in
662
--- orbit2-2.14.17.old/docs/internals/Makefile.in 2009-03-05 13:43:02.000000000 +0100
663
+++ orbit2-2.14.17/docs/internals/Makefile.in 2009-03-06 18:43:05.000000000 +0100
665
-# Makefile.in generated by automake 1.10.2 from Makefile.am.
666
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
669
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
672
case '$(am__configure_deps)' in \
674
- ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
675
- && { if test -f $@; then exit 0; else break; fi; }; \
676
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
681
diff -Naur orbit2-2.14.17.old/docs/Makefile.in orbit2-2.14.17/docs/Makefile.in
682
--- orbit2-2.14.17.old/docs/Makefile.in 2009-03-05 13:43:02.000000000 +0100
683
+++ orbit2-2.14.17/docs/Makefile.in 2009-03-06 18:43:05.000000000 +0100
685
-# Makefile.in generated by automake 1.10.2 from Makefile.am.
686
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
689
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
692
case '$(am__configure_deps)' in \
694
- ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
695
- && { if test -f $@; then exit 0; else break; fi; }; \
696
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
702
unique=`for i in $$list; do \
703
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
705
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
706
+ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
707
END { if (nonempty) { for (i in files) print i; }; }'`; \
710
diff -Naur orbit2-2.14.17.old/include/Makefile.in orbit2-2.14.17/include/Makefile.in
711
--- orbit2-2.14.17.old/include/Makefile.in 2009-03-05 13:43:02.000000000 +0100
712
+++ orbit2-2.14.17/include/Makefile.in 2009-03-06 18:43:05.000000000 +0100
714
-# Makefile.in generated by automake 1.10.2 from Makefile.am.
715
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
718
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
721
case '$(am__configure_deps)' in \
723
- ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
724
- && { if test -f $@; then exit 0; else break; fi; }; \
725
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
731
unique=`for i in $$list; do \
732
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
734
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
735
+ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
736
END { if (nonempty) { for (i in files) print i; }; }'`; \
739
diff -Naur orbit2-2.14.17.old/include/orbit/dynamic/Makefile.in orbit2-2.14.17/include/orbit/dynamic/Makefile.in
740
--- orbit2-2.14.17.old/include/orbit/dynamic/Makefile.in 2009-03-05 13:43:02.000000000 +0100
741
+++ orbit2-2.14.17/include/orbit/dynamic/Makefile.in 2009-03-06 18:43:05.000000000 +0100
743
-# Makefile.in generated by automake 1.10.2 from Makefile.am.
744
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
747
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
750
case '$(am__configure_deps)' in \
752
- ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
753
- && { if test -f $@; then exit 0; else break; fi; }; \
754
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
760
unique=`for i in $$list; do \
761
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
763
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
764
+ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
765
END { if (nonempty) { for (i in files) print i; }; }'`; \
768
diff -Naur orbit2-2.14.17.old/include/orbit/GIOP/Makefile.in orbit2-2.14.17/include/orbit/GIOP/Makefile.in
769
--- orbit2-2.14.17.old/include/orbit/GIOP/Makefile.in 2009-03-05 13:43:02.000000000 +0100
770
+++ orbit2-2.14.17/include/orbit/GIOP/Makefile.in 2009-03-06 18:43:05.000000000 +0100
772
-# Makefile.in generated by automake 1.10.2 from Makefile.am.
773
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
776
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
779
case '$(am__configure_deps)' in \
781
- ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
782
- && { if test -f $@; then exit 0; else break; fi; }; \
783
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
788
diff -Naur orbit2-2.14.17.old/include/orbit/Makefile.in orbit2-2.14.17/include/orbit/Makefile.in
789
--- orbit2-2.14.17.old/include/orbit/Makefile.in 2009-03-05 13:43:02.000000000 +0100
790
+++ orbit2-2.14.17/include/orbit/Makefile.in 2009-03-06 18:43:05.000000000 +0100
792
-# Makefile.in generated by automake 1.10.2 from Makefile.am.
793
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
796
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
799
case '$(am__configure_deps)' in \
801
- ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
802
- && { if test -f $@; then exit 0; else break; fi; }; \
803
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
809
unique=`for i in $$list; do \
810
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
812
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
813
+ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
814
END { if (nonempty) { for (i in files) print i; }; }'`; \
817
diff -Naur orbit2-2.14.17.old/include/orbit/orb-core/Makefile.in orbit2-2.14.17/include/orbit/orb-core/Makefile.in
818
--- orbit2-2.14.17.old/include/orbit/orb-core/Makefile.in 2009-03-05 13:43:02.000000000 +0100
819
+++ orbit2-2.14.17/include/orbit/orb-core/Makefile.in 2009-03-06 18:43:05.000000000 +0100
821
-# Makefile.in generated by automake 1.10.2 from Makefile.am.
822
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
825
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
828
case '$(am__configure_deps)' in \
830
- ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
831
- && { if test -f $@; then exit 0; else break; fi; }; \
832
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
838
unique=`for i in $$list; do \
839
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
841
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
842
+ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
843
END { if (nonempty) { for (i in files) print i; }; }'`; \
846
diff -Naur orbit2-2.14.17.old/include/orbit/poa/Makefile.in orbit2-2.14.17/include/orbit/poa/Makefile.in
847
--- orbit2-2.14.17.old/include/orbit/poa/Makefile.in 2009-03-05 13:43:02.000000000 +0100
848
+++ orbit2-2.14.17/include/orbit/poa/Makefile.in 2009-03-06 18:43:05.000000000 +0100
850
-# Makefile.in generated by automake 1.10.2 from Makefile.am.
851
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
854
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
857
case '$(am__configure_deps)' in \
859
- ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
860
- && { if test -f $@; then exit 0; else break; fi; }; \
861
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
867
unique=`for i in $$list; do \
868
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
870
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
871
+ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
872
END { if (nonempty) { for (i in files) print i; }; }'`; \
875
diff -Naur orbit2-2.14.17.old/include/orbit/util/Makefile.in orbit2-2.14.17/include/orbit/util/Makefile.in
876
--- orbit2-2.14.17.old/include/orbit/util/Makefile.in 2009-03-05 13:43:03.000000000 +0100
877
+++ orbit2-2.14.17/include/orbit/util/Makefile.in 2009-03-06 18:43:05.000000000 +0100
879
-# Makefile.in generated by automake 1.10.2 from Makefile.am.
880
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
883
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
886
case '$(am__configure_deps)' in \
888
- ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
889
- && { if test -f $@; then exit 0; else break; fi; }; \
890
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
896
unique=`for i in $$list; do \
897
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
899
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
900
+ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
901
END { if (nonempty) { for (i in files) print i; }; }'`; \
904
diff -Naur orbit2-2.14.17.old/linc2/include/linc/Makefile.in orbit2-2.14.17/linc2/include/linc/Makefile.in
905
--- orbit2-2.14.17.old/linc2/include/linc/Makefile.in 2009-03-05 13:43:03.000000000 +0100
906
+++ orbit2-2.14.17/linc2/include/linc/Makefile.in 2009-03-06 18:43:06.000000000 +0100
908
-# Makefile.in generated by automake 1.10.2 from Makefile.am.
909
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
912
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
915
case '$(am__configure_deps)' in \
917
- ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
918
- && { if test -f $@; then exit 0; else break; fi; }; \
919
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
924
diff -Naur orbit2-2.14.17.old/linc2/include/Makefile.in orbit2-2.14.17/linc2/include/Makefile.in
925
--- orbit2-2.14.17.old/linc2/include/Makefile.in 2009-03-05 13:43:03.000000000 +0100
926
+++ orbit2-2.14.17/linc2/include/Makefile.in 2009-03-06 18:43:05.000000000 +0100
928
-# Makefile.in generated by automake 1.10.2 from Makefile.am.
929
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
932
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
935
case '$(am__configure_deps)' in \
937
- ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
938
- && { if test -f $@; then exit 0; else break; fi; }; \
939
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
945
unique=`for i in $$list; do \
946
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
948
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
949
+ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
950
END { if (nonempty) { for (i in files) print i; }; }'`; \
953
diff -Naur orbit2-2.14.17.old/linc2/Makefile.in orbit2-2.14.17/linc2/Makefile.in
954
--- orbit2-2.14.17.old/linc2/Makefile.in 2009-03-05 13:43:03.000000000 +0100
955
+++ orbit2-2.14.17/linc2/Makefile.in 2009-03-06 18:43:05.000000000 +0100
957
-# Makefile.in generated by automake 1.10.2 from Makefile.am.
958
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
961
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
964
case '$(am__configure_deps)' in \
966
- ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
967
- && { if test -f $@; then exit 0; else break; fi; }; \
968
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
974
unique=`for i in $$list; do \
975
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
977
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
978
+ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
979
END { if (nonempty) { for (i in files) print i; }; }'`; \
982
diff -Naur orbit2-2.14.17.old/linc2/src/Makefile.in orbit2-2.14.17/linc2/src/Makefile.in
983
--- orbit2-2.14.17.old/linc2/src/Makefile.in 2009-03-05 13:43:03.000000000 +0100
984
+++ orbit2-2.14.17/linc2/src/Makefile.in 2009-03-06 18:43:06.000000000 +0100
986
-# Makefile.in generated by automake 1.10.2 from Makefile.am.
987
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
990
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
993
case '$(am__configure_deps)' in \
995
- ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
996
- && { if test -f $@; then exit 0; else break; fi; }; \
997
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
1003
unique=`for i in $$list; do \
1004
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1006
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1007
+ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
1008
END { if (nonempty) { for (i in files) print i; }; }'`; \
1011
diff -Naur orbit2-2.14.17.old/linc2/test/Makefile.in orbit2-2.14.17/linc2/test/Makefile.in
1012
--- orbit2-2.14.17.old/linc2/test/Makefile.in 2009-03-05 13:43:03.000000000 +0100
1013
+++ orbit2-2.14.17/linc2/test/Makefile.in 2009-03-06 18:43:06.000000000 +0100
1015
-# Makefile.in generated by automake 1.10.2 from Makefile.am.
1016
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
1019
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1021
@for dep in $?; do \
1022
case '$(am__configure_deps)' in \
1024
- ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
1025
- && { if test -f $@; then exit 0; else break; fi; }; \
1026
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
1032
unique=`for i in $$list; do \
1033
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1035
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1036
+ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
1037
END { if (nonempty) { for (i in files) print i; }; }'`; \
1041
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1043
check-TESTS: $(TESTS)
1044
- @failed=0; all=0; xfail=0; xpass=0; skip=0; \
1045
+ @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \
1046
srcdir=$(srcdir); export srcdir; \
1047
list=' $(TESTS) '; \
1048
if test -n "$$list"; then \
1050
if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
1051
all=`expr $$all + 1`; \
1052
case " $(XFAIL_TESTS) " in \
1053
- *[\ \ ]$$tst[\ \ ]*) \
1054
+ *$$ws$$tst$$ws*) \
1055
xpass=`expr $$xpass + 1`; \
1056
failed=`expr $$failed + 1`; \
1057
echo "XPASS: $$tst"; \
1059
elif test $$? -ne 77; then \
1060
all=`expr $$all + 1`; \
1061
case " $(XFAIL_TESTS) " in \
1062
- *[\ \ ]$$tst[\ \ ]*) \
1063
+ *$$ws$$tst$$ws*) \
1064
xfail=`expr $$xfail + 1`; \
1065
echo "XFAIL: $$tst"; \
1067
@@ -393,36 +393,23 @@
1068
echo "SKIP: $$tst"; \
1071
- if test "$$all" -eq 1; then \
1078
if test "$$failed" -eq 0; then \
1079
if test "$$xfail" -eq 0; then \
1080
- banner="$$All$$all $$tests passed"; \
1081
+ banner="All $$all tests passed"; \
1083
- if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
1084
- banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
1085
+ banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
1088
if test "$$xpass" -eq 0; then \
1089
- banner="$$failed of $$all $$tests failed"; \
1090
+ banner="$$failed of $$all tests failed"; \
1092
- if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
1093
- banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
1094
+ banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
1097
dashes="$$banner"; \
1099
if test "$$skip" -ne 0; then \
1100
- if test "$$skip" -eq 1; then \
1101
- skipped="($$skip test was not run)"; \
1103
- skipped="($$skip tests were not run)"; \
1105
+ skipped="($$skip tests were not run)"; \
1106
test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
1107
dashes="$$skipped"; \
1109
diff -Naur orbit2-2.14.17.old/ltmain.sh orbit2-2.14.17/ltmain.sh
1110
--- orbit2-2.14.17.old/ltmain.sh 2009-03-05 13:42:55.000000000 +0100
1111
+++ orbit2-2.14.17/ltmain.sh 2009-03-06 18:43:00.000000000 +0100
30413
+ # Put the nasty error message in config.log where it belongs
30414
+ echo "$LINC_PKG_ERRORS" >&5
30416
- LIBS="-lresolv $LIBS"
30417
+ as_fn_error "Package requirements (glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED) were not met:
30422
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
30423
+installed software in a non-standard prefix.
30425
+Alternatively, you may set the environment variables LINC_CFLAGS
30426
+and LINC_LIBS to avoid the need to call pkg-config.
30427
+See the pkg-config man page for more details.
30429
+elif test $pkg_failed = untried; then
30430
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
30431
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30432
+as_fn_error "The pkg-config script could not be found or is too old. Make sure it
30433
+is in your PATH or set the PKG_CONFIG environment variable to the full
30434
+path to pkg-config.
30436
+Alternatively, you may set the environment variables LINC_CFLAGS
30437
+and LINC_LIBS to avoid the need to call pkg-config.
30438
+See the pkg-config man page for more details.
30440
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
30441
+See \`config.log' for more details." "$LINENO" 5; }
30443
+ LINC_CFLAGS=$pkg_cv_LINC_CFLAGS
30444
+ LINC_LIBS=$pkg_cv_LINC_LIBS
30445
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30446
+$as_echo "yes" >&6; }
30451
-{ $as_echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
30452
-$as_echo_n "checking for res_9_init in -lresolv... " >&6; }
30453
-if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
30455
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
30456
+$as_echo_n "checking for ANSI C header files... " >&6; }
30457
+if test "${ac_cv_header_stdc+set}" = set; then :
30458
$as_echo_n "(cached) " >&6
30460
- ac_check_lib_save_LIBS=$LIBS
30461
-LIBS="-lresolv $LIBS"
30462
-cat >conftest.$ac_ext <<_ACEOF
30465
-cat confdefs.h >>conftest.$ac_ext
30466
-cat >>conftest.$ac_ext <<_ACEOF
30467
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30468
/* end confdefs.h. */
30469
+#include <stdlib.h>
30470
+#include <stdarg.h>
30471
+#include <string.h>
30472
+#include <float.h>
30474
-/* Override any GCC internal prototype to avoid an error.
30475
- Use char because int might match the return type of a GCC
30476
- builtin and then its argument prototype would still apply. */
30477
-#ifdef __cplusplus
30480
-char res_9_init ();
30484
-return res_9_init ();
30490
-rm -f conftest.$ac_objext conftest$ac_exeext
30491
-if { (ac_try="$ac_link"
30492
-case "(($ac_try" in
30493
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30494
- *) ac_try_echo=$ac_try;;
30496
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30497
-$as_echo "$ac_try_echo") >&5
30498
- (eval "$ac_link") 2>conftest.er1
30500
- grep -v '^ *+' conftest.er1 >conftest.err
30501
- rm -f conftest.er1
30502
- cat conftest.err >&5
30503
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30504
- (exit $ac_status); } && {
30505
- test -z "$ac_c_werror_flag" ||
30506
- test ! -s conftest.err
30507
- } && test -s conftest$ac_exeext && {
30508
- test "$cross_compiling" = yes ||
30509
- $as_test_x conftest$ac_exeext
30511
- ac_cv_lib_resolv_res_9_init=yes
30512
+if ac_fn_c_try_compile "$LINENO"; then :
30513
+ ac_cv_header_stdc=yes
30515
- $as_echo "$as_me: failed program was:" >&5
30516
-sed 's/^/| /' conftest.$ac_ext >&5
30518
- ac_cv_lib_resolv_res_9_init=no
30519
+ ac_cv_header_stdc=no
30521
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30523
+if test $ac_cv_header_stdc = yes; then
30524
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
30525
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30526
+/* end confdefs.h. */
30527
+#include <string.h>
30529
-rm -rf conftest.dSYM
30530
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30531
- conftest$ac_exeext conftest.$ac_ext
30532
-LIBS=$ac_check_lib_save_LIBS
30534
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
30535
-$as_echo "$ac_cv_lib_resolv_res_9_init" >&6; }
30536
-if test "x$ac_cv_lib_resolv_res_9_init" = x""yes; then
30537
- cat >>confdefs.h <<_ACEOF
30538
-#define HAVE_LIBRESOLV 1
30540
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30541
+ $EGREP "memchr" >/dev/null 2>&1; then :
30543
- LIBS="-lresolv $LIBS"
30545
+ ac_cv_header_stdc=no
30551
-{ $as_echo "$as_me:$LINENO: checking for socket" >&5
30552
-$as_echo_n "checking for socket... " >&6; }
30553
-if test "${ac_cv_func_socket+set}" = set; then
30554
- $as_echo_n "(cached) " >&6
30556
- cat >conftest.$ac_ext <<_ACEOF
30559
-cat confdefs.h >>conftest.$ac_ext
30560
-cat >>conftest.$ac_ext <<_ACEOF
30561
+if test $ac_cv_header_stdc = yes; then
30562
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
30563
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30564
/* end confdefs.h. */
30565
-/* Define socket to an innocuous variant, in case <limits.h> declares socket.
30566
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
30567
-#define socket innocuous_socket
30568
+#include <stdlib.h>
30570
-/* System header to define __stub macros and hopefully few prototypes,
30571
- which can conflict with char socket (); below.
30572
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30573
- <limits.h> exists even on freestanding compilers. */
30575
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30576
+ $EGREP "free" >/dev/null 2>&1; then :
30579
-# include <limits.h>
30581
-# include <assert.h>
30584
+ ac_cv_header_stdc=no
30591
-/* Override any GCC internal prototype to avoid an error.
30592
- Use char because int might match the return type of a GCC
30593
- builtin and then its argument prototype would still apply. */
30594
-#ifdef __cplusplus
30598
-/* The GNU C library defines this for functions which it implements
30599
- to always fail with ENOSYS. Some functions are actually named
30600
- something starting with __ and the normal name is an alias. */
30601
-#if defined __stub_socket || defined __stub___socket
30603
+if test $ac_cv_header_stdc = yes; then
30604
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
30605
+ if test "$cross_compiling" = yes; then :
30608
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30609
+/* end confdefs.h. */
30610
+#include <ctype.h>
30611
+#include <stdlib.h>
30612
+#if ((' ' & 0x0FF) == 0x020)
30613
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
30614
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
30616
+# define ISLOWER(c) \
30617
+ (('a' <= (c) && (c) <= 'i') \
30618
+ || ('j' <= (c) && (c) <= 'r') \
30619
+ || ('s' <= (c) && (c) <= 'z'))
30620
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
30623
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
30630
+ for (i = 0; i < 256; i++)
30631
+ if (XOR (islower (i), ISLOWER (i))
30632
+ || toupper (i) != TOUPPER (i))
30637
-rm -f conftest.$ac_objext conftest$ac_exeext
30638
-if { (ac_try="$ac_link"
30639
-case "(($ac_try" in
30640
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30641
- *) ac_try_echo=$ac_try;;
30643
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30644
-$as_echo "$ac_try_echo") >&5
30645
- (eval "$ac_link") 2>conftest.er1
30647
- grep -v '^ *+' conftest.er1 >conftest.err
30648
- rm -f conftest.er1
30649
- cat conftest.err >&5
30650
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30651
- (exit $ac_status); } && {
30652
- test -z "$ac_c_werror_flag" ||
30653
- test ! -s conftest.err
30654
- } && test -s conftest$ac_exeext && {
30655
- test "$cross_compiling" = yes ||
30656
- $as_test_x conftest$ac_exeext
30658
- ac_cv_func_socket=yes
30659
+if ac_fn_c_try_run "$LINENO"; then :
30662
- $as_echo "$as_me: failed program was:" >&5
30663
-sed 's/^/| /' conftest.$ac_ext >&5
30664
+ ac_cv_header_stdc=no
30666
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30667
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
30670
- ac_cv_func_socket=no
30673
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
30674
+$as_echo "$ac_cv_header_stdc" >&6; }
30675
+if test $ac_cv_header_stdc = yes; then
30677
+$as_echo "#define STDC_HEADERS 1" >>confdefs.h
30679
-rm -rf conftest.dSYM
30680
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30681
- conftest$ac_exeext conftest.$ac_ext
30683
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
30684
-$as_echo "$ac_cv_func_socket" >&6; }
30685
-if test "x$ac_cv_func_socket" = x""yes; then
30689
-{ $as_echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
30690
-$as_echo_n "checking for socket in -lsocket... " >&6; }
30691
-if test "${ac_cv_lib_socket_socket+set}" = set; then
30692
- $as_echo_n "(cached) " >&6
30694
- ac_check_lib_save_LIBS=$LIBS
30695
-LIBS="-lsocket $LIBS"
30696
-cat >conftest.$ac_ext <<_ACEOF
30698
+for ac_header in fcntl.h unistd.h sys/endian.h endian.h machine/endian.h sys/machine.h sys/isa_defs.h sys/poll.h
30700
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
30701
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
30702
+eval as_val=\$$as_ac_Header
30703
+ if test "x$as_val" = x""yes; then :
30704
+ cat >>confdefs.h <<_ACEOF
30705
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
30707
-cat confdefs.h >>conftest.$ac_ext
30708
-cat >>conftest.$ac_ext <<_ACEOF
30709
-/* end confdefs.h. */
30711
-/* Override any GCC internal prototype to avoid an error.
30712
- Use char because int might match the return type of a GCC
30713
- builtin and then its argument prototype would still apply. */
30714
-#ifdef __cplusplus
30729
+for ac_header in stddef.h wchar.h wcstr.h wctype.h machine/types.h
30731
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
30732
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
30733
+eval as_val=\$$as_ac_Header
30734
+ if test "x$as_val" = x""yes; then :
30735
+ cat >>confdefs.h <<_ACEOF
30736
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
30738
-rm -f conftest.$ac_objext conftest$ac_exeext
30739
-if { (ac_try="$ac_link"
30740
-case "(($ac_try" in
30741
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30742
- *) ac_try_echo=$ac_try;;
30744
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30745
-$as_echo "$ac_try_echo") >&5
30746
- (eval "$ac_link") 2>conftest.er1
30748
- grep -v '^ *+' conftest.er1 >conftest.err
30749
- rm -f conftest.er1
30750
- cat conftest.err >&5
30751
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30752
- (exit $ac_status); } && {
30753
- test -z "$ac_c_werror_flag" ||
30754
- test ! -s conftest.err
30755
- } && test -s conftest$ac_exeext && {
30756
- test "$cross_compiling" = yes ||
30757
- $as_test_x conftest$ac_exeext
30759
- ac_cv_lib_socket_socket=yes
30761
- $as_echo "$as_me: failed program was:" >&5
30762
-sed 's/^/| /' conftest.$ac_ext >&5
30764
- ac_cv_lib_socket_socket=no
30767
-rm -rf conftest.dSYM
30768
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30769
- conftest$ac_exeext conftest.$ac_ext
30770
-LIBS=$ac_check_lib_save_LIBS
30772
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
30773
-$as_echo "$ac_cv_lib_socket_socket" >&6; }
30774
-if test "x$ac_cv_lib_socket_socket" = x""yes; then
30777
+for ac_header in netinet/in.h netinet/tcp.h sys/un.h
30779
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
30780
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
30781
+eval as_val=\$$as_ac_Header
30782
+ if test "x$as_val" = x""yes; then :
30783
cat >>confdefs.h <<_ACEOF
30784
-#define HAVE_LIBSOCKET 1
30785
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
30788
- LIBS="-lsocket $LIBS"
30794
+for ac_header in arpa/nameser.h resolv.h
30796
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
30797
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
30798
+eval as_val=\$$as_ac_Header
30799
+ if test "x$as_val" = x""yes; then :
30800
+ cat >>confdefs.h <<_ACEOF
30801
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
30806
-{ $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
30807
-$as_echo_n "checking for gethostbyname... " >&6; }
30808
-if test "${ac_cv_func_gethostbyname+set}" = set; then
30809
- $as_echo_n "(cached) " >&6
30811
- cat >conftest.$ac_ext <<_ACEOF
30816
+for ac_func in poll basename
30818
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30819
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30820
+eval as_val=\$$as_ac_var
30821
+ if test "x$as_val" = x""yes; then :
30822
+ cat >>confdefs.h <<_ACEOF
30823
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30825
-cat confdefs.h >>conftest.$ac_ext
30826
-cat >>conftest.$ac_ext <<_ACEOF
30827
-/* end confdefs.h. */
30828
-/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30829
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
30830
-#define gethostbyname innocuous_gethostbyname
30832
-/* System header to define __stub macros and hopefully few prototypes,
30833
- which can conflict with char gethostbyname (); below.
30834
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30835
- <limits.h> exists even on freestanding compilers. */
30840
-# include <limits.h>
30842
-# include <assert.h>
30844
+ac_fn_c_check_func "$LINENO" "res_init" "ac_cv_func_res_init"
30845
+if test "x$ac_cv_func_res_init" = x""yes; then :
30847
-#undef gethostbyname
30849
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_init in -lresolv" >&5
30850
+$as_echo_n "checking for res_init in -lresolv... " >&6; }
30851
+if test "${ac_cv_lib_resolv_res_init+set}" = set; then :
30852
+ $as_echo_n "(cached) " >&6
30854
+ ac_check_lib_save_LIBS=$LIBS
30855
+LIBS="-lresolv $LIBS"
30856
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30857
+/* end confdefs.h. */
30859
/* Override any GCC internal prototype to avoid an error.
30860
Use char because int might match the return type of a GCC
30861
@@ -17959,73 +13262,45 @@
30865
-char gethostbyname ();
30866
-/* The GNU C library defines this for functions which it implements
30867
- to always fail with ENOSYS. Some functions are actually named
30868
- something starting with __ and the normal name is an alias. */
30869
-#if defined __stub_gethostbyname || defined __stub___gethostbyname
30877
-return gethostbyname ();
30878
+return res_init ();
30883
-rm -f conftest.$ac_objext conftest$ac_exeext
30884
-if { (ac_try="$ac_link"
30885
-case "(($ac_try" in
30886
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30887
- *) ac_try_echo=$ac_try;;
30889
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30890
-$as_echo "$ac_try_echo") >&5
30891
- (eval "$ac_link") 2>conftest.er1
30893
- grep -v '^ *+' conftest.er1 >conftest.err
30894
- rm -f conftest.er1
30895
- cat conftest.err >&5
30896
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30897
- (exit $ac_status); } && {
30898
- test -z "$ac_c_werror_flag" ||
30899
- test ! -s conftest.err
30900
- } && test -s conftest$ac_exeext && {
30901
- test "$cross_compiling" = yes ||
30902
- $as_test_x conftest$ac_exeext
30904
- ac_cv_func_gethostbyname=yes
30905
+if ac_fn_c_try_link "$LINENO"; then :
30906
+ ac_cv_lib_resolv_res_init=yes
30908
- $as_echo "$as_me: failed program was:" >&5
30909
-sed 's/^/| /' conftest.$ac_ext >&5
30910
+ ac_cv_lib_resolv_res_init=no
30912
+rm -f core conftest.err conftest.$ac_objext \
30913
+ conftest$ac_exeext conftest.$ac_ext
30914
+LIBS=$ac_check_lib_save_LIBS
30916
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_init" >&5
30917
+$as_echo "$ac_cv_lib_resolv_res_init" >&6; }
30918
+if test "x$ac_cv_lib_resolv_res_init" = x""yes; then :
30919
+ cat >>confdefs.h <<_ACEOF
30920
+#define HAVE_LIBRESOLV 1
30923
+ LIBS="-lresolv $LIBS"
30925
- ac_cv_func_gethostbyname=no
30928
-rm -rf conftest.dSYM
30929
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30930
- conftest$ac_exeext conftest.$ac_ext
30932
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30933
-$as_echo "$ac_cv_func_gethostbyname" >&6; }
30934
-if test "x$ac_cv_func_gethostbyname" = x""yes; then
30938
-{ $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30939
-$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
30940
-if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30941
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_9_init in -lresolv" >&5
30942
+$as_echo_n "checking for res_9_init in -lresolv... " >&6; }
30943
+if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then :
30944
$as_echo_n "(cached) " >&6
30946
ac_check_lib_save_LIBS=$LIBS
30947
-LIBS="-lnsl $LIBS"
30948
-cat >conftest.$ac_ext <<_ACEOF
30951
-cat confdefs.h >>conftest.$ac_ext
30952
-cat >>conftest.$ac_ext <<_ACEOF
30953
+LIBS="-lresolv $LIBS"
30954
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30955
/* end confdefs.h. */
30957
/* Override any GCC internal prototype to avoid an error.
30958
@@ -18034,89 +13309,48 @@
30962
-char gethostbyname ();
30963
+char res_9_init ();
30967
-return gethostbyname ();
30968
+return res_9_init ();
30973
-rm -f conftest.$ac_objext conftest$ac_exeext
30974
-if { (ac_try="$ac_link"
30975
-case "(($ac_try" in
30976
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30977
- *) ac_try_echo=$ac_try;;
30979
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30980
-$as_echo "$ac_try_echo") >&5
30981
- (eval "$ac_link") 2>conftest.er1
30983
- grep -v '^ *+' conftest.er1 >conftest.err
30984
- rm -f conftest.er1
30985
- cat conftest.err >&5
30986
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30987
- (exit $ac_status); } && {
30988
- test -z "$ac_c_werror_flag" ||
30989
- test ! -s conftest.err
30990
- } && test -s conftest$ac_exeext && {
30991
- test "$cross_compiling" = yes ||
30992
- $as_test_x conftest$ac_exeext
30994
- ac_cv_lib_nsl_gethostbyname=yes
30995
+if ac_fn_c_try_link "$LINENO"; then :
30996
+ ac_cv_lib_resolv_res_9_init=yes
30998
- $as_echo "$as_me: failed program was:" >&5
30999
-sed 's/^/| /' conftest.$ac_ext >&5
31001
- ac_cv_lib_nsl_gethostbyname=no
31002
+ ac_cv_lib_resolv_res_9_init=no
31005
-rm -rf conftest.dSYM
31006
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31007
- conftest$ac_exeext conftest.$ac_ext
31008
+rm -f core conftest.err conftest.$ac_objext \
31009
+ conftest$ac_exeext conftest.$ac_ext
31010
LIBS=$ac_check_lib_save_LIBS
31012
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31013
-$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
31014
-if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
31015
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_9_init" >&5
31016
+$as_echo "$ac_cv_lib_resolv_res_9_init" >&6; }
31017
+if test "x$ac_cv_lib_resolv_res_9_init" = x""yes; then :
31018
cat >>confdefs.h <<_ACEOF
31019
-#define HAVE_LIBNSL 1
31020
+#define HAVE_LIBRESOLV 1
31023
- LIBS="-lnsl $LIBS"
31024
+ LIBS="-lresolv $LIBS"
31029
+ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
31030
+if test "x$ac_cv_func_socket" = x""yes; then :
31032
-{ $as_echo "$as_me:$LINENO: checking for getaddrinfo" >&5
31033
-$as_echo_n "checking for getaddrinfo... " >&6; }
31034
-if test "${ac_cv_func_getaddrinfo+set}" = set; then
31036
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
31037
+$as_echo_n "checking for socket in -lsocket... " >&6; }
31038
+if test "${ac_cv_lib_socket_socket+set}" = set; then :
31039
$as_echo_n "(cached) " >&6
31041
- cat >conftest.$ac_ext <<_ACEOF
31044
-cat confdefs.h >>conftest.$ac_ext
31045
-cat >>conftest.$ac_ext <<_ACEOF
31046
+ ac_check_lib_save_LIBS=$LIBS
31047
+LIBS="-lsocket $LIBS"
31048
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31049
/* end confdefs.h. */
31050
-/* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
31051
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
31052
-#define getaddrinfo innocuous_getaddrinfo
31054
-/* System header to define __stub macros and hopefully few prototypes,
31055
- which can conflict with char getaddrinfo (); below.
31056
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31057
- <limits.h> exists even on freestanding compilers. */
31060
-# include <limits.h>
31062
-# include <assert.h>
31065
-#undef getaddrinfo
31067
/* Override any GCC internal prototype to avoid an error.
31068
Use char because int might match the return type of a GCC
31069
@@ -18124,73 +13358,49 @@
31073
-char getaddrinfo ();
31074
-/* The GNU C library defines this for functions which it implements
31075
- to always fail with ENOSYS. Some functions are actually named
31076
- something starting with __ and the normal name is an alias. */
31077
-#if defined __stub_getaddrinfo || defined __stub___getaddrinfo
31085
-return getaddrinfo ();
31091
-rm -f conftest.$ac_objext conftest$ac_exeext
31092
-if { (ac_try="$ac_link"
31093
-case "(($ac_try" in
31094
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31095
- *) ac_try_echo=$ac_try;;
31097
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31098
-$as_echo "$ac_try_echo") >&5
31099
- (eval "$ac_link") 2>conftest.er1
31101
- grep -v '^ *+' conftest.er1 >conftest.err
31102
- rm -f conftest.er1
31103
- cat conftest.err >&5
31104
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31105
- (exit $ac_status); } && {
31106
- test -z "$ac_c_werror_flag" ||
31107
- test ! -s conftest.err
31108
- } && test -s conftest$ac_exeext && {
31109
- test "$cross_compiling" = yes ||
31110
- $as_test_x conftest$ac_exeext
31112
- ac_cv_func_getaddrinfo=yes
31113
+if ac_fn_c_try_link "$LINENO"; then :
31114
+ ac_cv_lib_socket_socket=yes
31116
- $as_echo "$as_me: failed program was:" >&5
31117
-sed 's/^/| /' conftest.$ac_ext >&5
31118
+ ac_cv_lib_socket_socket=no
31120
+rm -f core conftest.err conftest.$ac_objext \
31121
+ conftest$ac_exeext conftest.$ac_ext
31122
+LIBS=$ac_check_lib_save_LIBS
31124
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
31125
+$as_echo "$ac_cv_lib_socket_socket" >&6; }
31126
+if test "x$ac_cv_lib_socket_socket" = x""yes; then :
31127
+ cat >>confdefs.h <<_ACEOF
31128
+#define HAVE_LIBSOCKET 1
31131
+ LIBS="-lsocket $LIBS"
31133
- ac_cv_func_getaddrinfo=no
31136
-rm -rf conftest.dSYM
31137
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31138
- conftest$ac_exeext conftest.$ac_ext
31140
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
31141
-$as_echo "$ac_cv_func_getaddrinfo" >&6; }
31142
-if test "x$ac_cv_func_getaddrinfo" = x""yes; then
31146
-{ $as_echo "$as_me:$LINENO: checking for getaddrinfo in -lnsl" >&5
31147
-$as_echo_n "checking for getaddrinfo in -lnsl... " >&6; }
31148
-if test "${ac_cv_lib_nsl_getaddrinfo+set}" = set; then
31149
+ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
31150
+if test "x$ac_cv_func_gethostbyname" = x""yes; then :
31153
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
31154
+$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
31155
+if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
31156
$as_echo_n "(cached) " >&6
31158
ac_check_lib_save_LIBS=$LIBS
31160
-cat >conftest.$ac_ext <<_ACEOF
31163
-cat confdefs.h >>conftest.$ac_ext
31164
-cat >>conftest.$ac_ext <<_ACEOF
31165
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31166
/* end confdefs.h. */
31168
/* Override any GCC internal prototype to avoid an error.
31169
@@ -18199,52 +13409,27 @@
31173
-char getaddrinfo ();
31174
+char gethostbyname ();
31178
-return getaddrinfo ();
31179
+return gethostbyname ();
31184
-rm -f conftest.$ac_objext conftest$ac_exeext
31185
-if { (ac_try="$ac_link"
31186
-case "(($ac_try" in
31187
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31188
- *) ac_try_echo=$ac_try;;
31190
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31191
-$as_echo "$ac_try_echo") >&5
31192
- (eval "$ac_link") 2>conftest.er1
31194
- grep -v '^ *+' conftest.er1 >conftest.err
31195
- rm -f conftest.er1
31196
- cat conftest.err >&5
31197
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31198
- (exit $ac_status); } && {
31199
- test -z "$ac_c_werror_flag" ||
31200
- test ! -s conftest.err
31201
- } && test -s conftest$ac_exeext && {
31202
- test "$cross_compiling" = yes ||
31203
- $as_test_x conftest$ac_exeext
31205
- ac_cv_lib_nsl_getaddrinfo=yes
31206
+if ac_fn_c_try_link "$LINENO"; then :
31207
+ ac_cv_lib_nsl_gethostbyname=yes
31209
- $as_echo "$as_me: failed program was:" >&5
31210
-sed 's/^/| /' conftest.$ac_ext >&5
31212
- ac_cv_lib_nsl_getaddrinfo=no
31213
+ ac_cv_lib_nsl_gethostbyname=no
31216
-rm -rf conftest.dSYM
31217
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31218
- conftest$ac_exeext conftest.$ac_ext
31219
+rm -f core conftest.err conftest.$ac_objext \
31220
+ conftest$ac_exeext conftest.$ac_ext
31221
LIBS=$ac_check_lib_save_LIBS
31223
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_getaddrinfo" >&5
31224
-$as_echo "$ac_cv_lib_nsl_getaddrinfo" >&6; }
31225
-if test "x$ac_cv_lib_nsl_getaddrinfo" = x""yes; then
31226
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
31227
+$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
31228
+if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
31229
cat >>confdefs.h <<_ACEOF
31230
#define HAVE_LIBNSL 1
31232
@@ -18255,40 +13440,19 @@
31236
-if test x"$ac_cv_func_getaddrinfo" = "xyes" ; then
31238
-cat >>confdefs.h <<\_ACEOF
31239
-#define HAVE_GETADDRINFO 1
31241
+ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
31242
+if test "x$ac_cv_func_getaddrinfo" = x""yes; then :
31245
-{ $as_echo "$as_me:$LINENO: checking for getnameinfo" >&5
31246
-$as_echo_n "checking for getnameinfo... " >&6; }
31247
-if test "${ac_cv_func_getnameinfo+set}" = set; then
31249
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -lnsl" >&5
31250
+$as_echo_n "checking for getaddrinfo in -lnsl... " >&6; }
31251
+if test "${ac_cv_lib_nsl_getaddrinfo+set}" = set; then :
31252
$as_echo_n "(cached) " >&6
31254
- cat >conftest.$ac_ext <<_ACEOF
31257
-cat confdefs.h >>conftest.$ac_ext
31258
-cat >>conftest.$ac_ext <<_ACEOF
31259
+ ac_check_lib_save_LIBS=$LIBS
31260
+LIBS="-lnsl $LIBS"
31261
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31262
/* end confdefs.h. */
31263
-/* Define getnameinfo to an innocuous variant, in case <limits.h> declares getnameinfo.
31264
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
31265
-#define getnameinfo innocuous_getnameinfo
31267
-/* System header to define __stub macros and hopefully few prototypes,
31268
- which can conflict with char getnameinfo (); below.
31269
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31270
- <limits.h> exists even on freestanding compilers. */
31273
-# include <limits.h>
31275
-# include <assert.h>
31278
-#undef getnameinfo
31280
/* Override any GCC internal prototype to avoid an error.
31281
Use char because int might match the return type of a GCC
31282
@@ -18296,73 +13460,54 @@
31286
-char getnameinfo ();
31287
-/* The GNU C library defines this for functions which it implements
31288
- to always fail with ENOSYS. Some functions are actually named
31289
- something starting with __ and the normal name is an alias. */
31290
-#if defined __stub_getnameinfo || defined __stub___getnameinfo
31294
+char getaddrinfo ();
31298
-return getnameinfo ();
31299
+return getaddrinfo ();
31304
-rm -f conftest.$ac_objext conftest$ac_exeext
31305
-if { (ac_try="$ac_link"
31306
-case "(($ac_try" in
31307
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31308
- *) ac_try_echo=$ac_try;;
31310
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31311
-$as_echo "$ac_try_echo") >&5
31312
- (eval "$ac_link") 2>conftest.er1
31314
- grep -v '^ *+' conftest.er1 >conftest.err
31315
- rm -f conftest.er1
31316
- cat conftest.err >&5
31317
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31318
- (exit $ac_status); } && {
31319
- test -z "$ac_c_werror_flag" ||
31320
- test ! -s conftest.err
31321
- } && test -s conftest$ac_exeext && {
31322
- test "$cross_compiling" = yes ||
31323
- $as_test_x conftest$ac_exeext
31325
- ac_cv_func_getnameinfo=yes
31326
+if ac_fn_c_try_link "$LINENO"; then :
31327
+ ac_cv_lib_nsl_getaddrinfo=yes
31329
- $as_echo "$as_me: failed program was:" >&5
31330
-sed 's/^/| /' conftest.$ac_ext >&5
31331
+ ac_cv_lib_nsl_getaddrinfo=no
31333
+rm -f core conftest.err conftest.$ac_objext \
31334
+ conftest$ac_exeext conftest.$ac_ext
31335
+LIBS=$ac_check_lib_save_LIBS
31337
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_getaddrinfo" >&5
31338
+$as_echo "$ac_cv_lib_nsl_getaddrinfo" >&6; }
31339
+if test "x$ac_cv_lib_nsl_getaddrinfo" = x""yes; then :
31340
+ cat >>confdefs.h <<_ACEOF
31341
+#define HAVE_LIBNSL 1
31344
+ LIBS="-lnsl $LIBS"
31346
- ac_cv_func_getnameinfo=no
31349
-rm -rf conftest.dSYM
31350
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31351
- conftest$ac_exeext conftest.$ac_ext
31353
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getnameinfo" >&5
31354
-$as_echo "$ac_cv_func_getnameinfo" >&6; }
31355
-if test "x$ac_cv_func_getnameinfo" = x""yes; then
31359
-{ $as_echo "$as_me:$LINENO: checking for getnameinfo in -lnsl" >&5
31360
+if test x"$ac_cv_func_getaddrinfo" = "xyes" ; then
31362
+$as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h
31365
+ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
31366
+if test "x$ac_cv_func_getnameinfo" = x""yes; then :
31369
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getnameinfo in -lnsl" >&5
31370
$as_echo_n "checking for getnameinfo in -lnsl... " >&6; }
31371
-if test "${ac_cv_lib_nsl_getnameinfo+set}" = set; then
31372
+if test "${ac_cv_lib_nsl_getnameinfo+set}" = set; then :
31373
$as_echo_n "(cached) " >&6
31375
ac_check_lib_save_LIBS=$LIBS
31377
-cat >conftest.$ac_ext <<_ACEOF
31380
-cat confdefs.h >>conftest.$ac_ext
31381
-cat >>conftest.$ac_ext <<_ACEOF
31382
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31383
/* end confdefs.h. */
31385
/* Override any GCC internal prototype to avoid an error.
31386
@@ -18380,43 +13525,18 @@
31390
-rm -f conftest.$ac_objext conftest$ac_exeext
31391
-if { (ac_try="$ac_link"
31392
-case "(($ac_try" in
31393
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31394
- *) ac_try_echo=$ac_try;;
31396
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31397
-$as_echo "$ac_try_echo") >&5
31398
- (eval "$ac_link") 2>conftest.er1
31400
- grep -v '^ *+' conftest.er1 >conftest.err
31401
- rm -f conftest.er1
31402
- cat conftest.err >&5
31403
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31404
- (exit $ac_status); } && {
31405
- test -z "$ac_c_werror_flag" ||
31406
- test ! -s conftest.err
31407
- } && test -s conftest$ac_exeext && {
31408
- test "$cross_compiling" = yes ||
31409
- $as_test_x conftest$ac_exeext
31411
+if ac_fn_c_try_link "$LINENO"; then :
31412
ac_cv_lib_nsl_getnameinfo=yes
31414
- $as_echo "$as_me: failed program was:" >&5
31415
-sed 's/^/| /' conftest.$ac_ext >&5
31417
- ac_cv_lib_nsl_getnameinfo=no
31418
+ ac_cv_lib_nsl_getnameinfo=no
31421
-rm -rf conftest.dSYM
31422
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31423
- conftest$ac_exeext conftest.$ac_ext
31424
+rm -f core conftest.err conftest.$ac_objext \
31425
+ conftest$ac_exeext conftest.$ac_ext
31426
LIBS=$ac_check_lib_save_LIBS
31428
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_getnameinfo" >&5
31429
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_getnameinfo" >&5
31430
$as_echo "$ac_cv_lib_nsl_getnameinfo" >&6; }
31431
-if test "x$ac_cv_lib_nsl_getnameinfo" = x""yes; then
31432
+if test "x$ac_cv_lib_nsl_getnameinfo" = x""yes; then :
31433
cat >>confdefs.h <<_ACEOF
31434
#define HAVE_LIBNSL 1
31436
@@ -18429,115 +13549,26 @@
31438
if test x"$ac_cv_func_getnameinfo" = "xyes" ; then
31440
-cat >>confdefs.h <<\_ACEOF
31441
-#define HAVE_GETNAMEINFO 1
31443
+$as_echo "#define HAVE_GETNAMEINFO 1" >>confdefs.h
31447
-{ $as_echo "$as_me:$LINENO: checking for inet_pton" >&5
31448
-$as_echo_n "checking for inet_pton... " >&6; }
31449
-if test "${ac_cv_func_inet_pton+set}" = set; then
31450
- $as_echo_n "(cached) " >&6
31452
- cat >conftest.$ac_ext <<_ACEOF
31455
-cat confdefs.h >>conftest.$ac_ext
31456
-cat >>conftest.$ac_ext <<_ACEOF
31457
-/* end confdefs.h. */
31458
-/* Define inet_pton to an innocuous variant, in case <limits.h> declares inet_pton.
31459
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
31460
-#define inet_pton innocuous_inet_pton
31462
-/* System header to define __stub macros and hopefully few prototypes,
31463
- which can conflict with char inet_pton (); below.
31464
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31465
- <limits.h> exists even on freestanding compilers. */
31468
-# include <limits.h>
31470
-# include <assert.h>
31475
-/* Override any GCC internal prototype to avoid an error.
31476
- Use char because int might match the return type of a GCC
31477
- builtin and then its argument prototype would still apply. */
31478
-#ifdef __cplusplus
31481
-char inet_pton ();
31482
-/* The GNU C library defines this for functions which it implements
31483
- to always fail with ENOSYS. Some functions are actually named
31484
- something starting with __ and the normal name is an alias. */
31485
-#if defined __stub_inet_pton || defined __stub___inet_pton
31492
-return inet_pton ();
31497
-rm -f conftest.$ac_objext conftest$ac_exeext
31498
-if { (ac_try="$ac_link"
31499
-case "(($ac_try" in
31500
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31501
- *) ac_try_echo=$ac_try;;
31503
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31504
-$as_echo "$ac_try_echo") >&5
31505
- (eval "$ac_link") 2>conftest.er1
31507
- grep -v '^ *+' conftest.er1 >conftest.err
31508
- rm -f conftest.er1
31509
- cat conftest.err >&5
31510
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31511
- (exit $ac_status); } && {
31512
- test -z "$ac_c_werror_flag" ||
31513
- test ! -s conftest.err
31514
- } && test -s conftest$ac_exeext && {
31515
- test "$cross_compiling" = yes ||
31516
- $as_test_x conftest$ac_exeext
31518
- ac_cv_func_inet_pton=yes
31520
- $as_echo "$as_me: failed program was:" >&5
31521
-sed 's/^/| /' conftest.$ac_ext >&5
31523
- ac_cv_func_inet_pton=no
31525
+ac_fn_c_check_func "$LINENO" "inet_pton" "ac_cv_func_inet_pton"
31526
+if test "x$ac_cv_func_inet_pton" = x""yes; then :
31528
-rm -rf conftest.dSYM
31529
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31530
- conftest$ac_exeext conftest.$ac_ext
31532
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_inet_pton" >&5
31533
-$as_echo "$ac_cv_func_inet_pton" >&6; }
31535
if test x"$ac_cv_func_inet_pton" = "xyes" ; then
31538
-cat >>confdefs.h <<\_ACEOF
31539
-#define HAVE_INET_PTON 1
31541
+$as_echo "#define HAVE_INET_PTON 1" >>confdefs.h
31545
# AC_CHECK_TYPE doesn't work here.
31546
-{ $as_echo "$as_me:$LINENO: checking for socklen_t" >&5
31547
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
31548
$as_echo_n "checking for socklen_t... " >&6; }
31549
-cat >conftest.$ac_ext <<_ACEOF
31552
-cat confdefs.h >>conftest.$ac_ext
31553
-cat >>conftest.$ac_ext <<_ACEOF
31554
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31555
/* end confdefs.h. */
31557
#include <ws2tcpip.h>
31558
@@ -18551,55 +13582,28 @@
31564
-rm -f conftest.$ac_objext
31565
-if { (ac_try="$ac_compile"
31566
-case "(($ac_try" in
31567
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31568
- *) ac_try_echo=$ac_try;;
31570
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31571
-$as_echo "$ac_try_echo") >&5
31572
- (eval "$ac_compile") 2>conftest.er1
31574
- grep -v '^ *+' conftest.er1 >conftest.err
31575
- rm -f conftest.er1
31576
- cat conftest.err >&5
31577
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31578
- (exit $ac_status); } && {
31579
- test -z "$ac_c_werror_flag" ||
31580
- test ! -s conftest.err
31581
- } && test -s conftest.$ac_objext; then
31582
- { $as_echo "$as_me:$LINENO: result: yes" >&5
31585
+if ac_fn_c_try_compile "$LINENO"; then :
31586
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31587
$as_echo "yes" >&6; }
31589
- $as_echo "$as_me: failed program was:" >&5
31590
-sed 's/^/| /' conftest.$ac_ext >&5
31592
+$as_echo "#define socklen_t size_t" >>confdefs.h
31594
-cat >>confdefs.h <<\_ACEOF
31595
-#define socklen_t size_t
31598
- { $as_echo "$as_me:$LINENO: result: no" >&5
31599
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31600
$as_echo "no" >&6; }
31603
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31605
# Blatantly stolen from configure.in in the sample code from
31606
# "UNIX Network Programming, Volume 1" by W. Richard Stevens
31607
-{ $as_echo "$as_me:$LINENO: checking if sockaddr has sa_len member" >&5
31608
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr has sa_len member" >&5
31609
$as_echo_n "checking if sockaddr has sa_len member... " >&6; }
31610
-if test "${ac_cv_sockaddr_has_sa_len+set}" = set; then
31611
+if test "${ac_cv_sockaddr_has_sa_len+set}" = set; then :
31612
$as_echo_n "(cached) " >&6
31614
- cat >conftest.$ac_ext <<_ACEOF
31617
-cat confdefs.h >>conftest.$ac_ext
31618
-cat >>conftest.$ac_ext <<_ACEOF
31619
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31620
/* end confdefs.h. */
31622
# include <sys/types.h>
31623
@@ -18612,48 +13616,25 @@
31627
-rm -f conftest.$ac_objext
31628
-if { (ac_try="$ac_compile"
31629
-case "(($ac_try" in
31630
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31631
- *) ac_try_echo=$ac_try;;
31633
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31634
-$as_echo "$ac_try_echo") >&5
31635
- (eval "$ac_compile") 2>conftest.er1
31637
- grep -v '^ *+' conftest.er1 >conftest.err
31638
- rm -f conftest.er1
31639
- cat conftest.err >&5
31640
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31641
- (exit $ac_status); } && {
31642
- test -z "$ac_c_werror_flag" ||
31643
- test ! -s conftest.err
31644
- } && test -s conftest.$ac_objext; then
31645
+if ac_fn_c_try_compile "$LINENO"; then :
31646
ac_cv_sockaddr_has_sa_len=yes
31648
- $as_echo "$as_me: failed program was:" >&5
31649
-sed 's/^/| /' conftest.$ac_ext >&5
31651
- ac_cv_sockaddr_has_sa_len=no
31652
+ ac_cv_sockaddr_has_sa_len=no
31655
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31657
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_sockaddr_has_sa_len" >&5
31658
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sockaddr_has_sa_len" >&5
31659
$as_echo "$ac_cv_sockaddr_has_sa_len" >&6; }
31660
if test x"$ac_cv_sockaddr_has_sa_len" = "xyes" ; then
31662
-cat >>confdefs.h <<\_ACEOF
31663
-#define HAVE_SOCKADDR_SA_LEN 1
31665
+$as_echo "#define HAVE_SOCKADDR_SA_LEN 1" >>confdefs.h
31670
-{ $as_echo "$as_me:$LINENO: checking CFLAGS for gcc -Werror-implicit-function-declaration" >&5
31671
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for gcc -Werror-implicit-function-declaration" >&5
31672
$as_echo_n "checking CFLAGS for gcc -Werror-implicit-function-declaration... " >&6; }
31673
-if test "${ac_cv_cflags_gcc_option__Werror_implicit_function_declaration+set}" = set; then
31674
+if test "${ac_cv_cflags_gcc_option__Werror_implicit_function_declaration+set}" = set; then :
31675
$as_echo_n "(cached) " >&6
31677
ac_cv_cflags_gcc_option__Werror_implicit_function_declaration="no, unknown"
31678
@@ -18667,11 +13648,7 @@
31679
ac_save_CFLAGS="$CFLAGS"
31680
for ac_arg in "-pedantic % -Werror-implicit-function-declaration" #
31681
do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
31682
- cat >conftest.$ac_ext <<_ACEOF
31685
-cat confdefs.h >>conftest.$ac_ext
31686
-cat >>conftest.$ac_ext <<_ACEOF
31687
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31688
/* end confdefs.h. */
31691
@@ -18682,32 +13659,9 @@
31695
-rm -f conftest.$ac_objext
31696
-if { (ac_try="$ac_compile"
31697
-case "(($ac_try" in
31698
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31699
- *) ac_try_echo=$ac_try;;
31701
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31702
-$as_echo "$ac_try_echo") >&5
31703
- (eval "$ac_compile") 2>conftest.er1
31705
- grep -v '^ *+' conftest.er1 >conftest.err
31706
- rm -f conftest.er1
31707
- cat conftest.err >&5
31708
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31709
- (exit $ac_status); } && {
31710
- test -z "$ac_c_werror_flag" ||
31711
- test ! -s conftest.err
31712
- } && test -s conftest.$ac_objext; then
31713
+if ac_fn_c_try_compile "$LINENO"; then :
31714
ac_cv_cflags_gcc_option__Werror_implicit_function_declaration=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
31716
- $as_echo "$as_me: failed program was:" >&5
31717
-sed 's/^/| /' conftest.$ac_ext >&5
31722
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31724
CFLAGS="$ac_save_CFLAGS"
31725
@@ -18719,23 +13673,23 @@
31729
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_cflags_gcc_option__Werror_implicit_function_declaration" >&5
31730
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_gcc_option__Werror_implicit_function_declaration" >&5
31731
$as_echo "$ac_cv_cflags_gcc_option__Werror_implicit_function_declaration" >&6; }
31732
case ".$ac_cv_cflags_gcc_option__Werror_implicit_function_declaration" in
31736
if echo " $CFLAGS " | grep " $ac_cv_cflags_gcc_option__Werror_implicit_function_declaration " 2>&1 >/dev/null
31737
- then { ($as_echo "$as_me:$LINENO: : CFLAGS does contain \$ac_cv_cflags_gcc_option__Werror_implicit_function_declaration") >&5
31738
+ then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS does contain \$ac_cv_cflags_gcc_option__Werror_implicit_function_declaration"; } >&5
31739
(: CFLAGS does contain $ac_cv_cflags_gcc_option__Werror_implicit_function_declaration) 2>&5
31741
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31742
- (exit $ac_status); }
31743
- else { ($as_echo "$as_me:$LINENO: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__Werror_implicit_function_declaration\"") >&5
31744
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31745
+ test $ac_status = 0; }
31746
+ else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__Werror_implicit_function_declaration\""; } >&5
31747
(: CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Werror_implicit_function_declaration") 2>&5
31749
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31750
- (exit $ac_status); }
31751
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31752
+ test $ac_status = 0; }
31753
CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Werror_implicit_function_declaration"
31756
@@ -18749,9 +13703,9 @@
31758
# Extract the first word of "gtkdoc-check", so it can be a program name with args.
31759
set dummy gtkdoc-check; ac_word=$2
31760
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
31761
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31762
$as_echo_n "checking for $ac_word... " >&6; }
31763
-if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then
31764
+if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
31765
$as_echo_n "(cached) " >&6
31767
case $GTKDOC_CHECK in
31768
@@ -18764,14 +13718,14 @@
31771
test -z "$as_dir" && as_dir=.
31772
- for ac_exec_ext in '' $ac_executable_extensions; do
31773
+ for ac_exec_ext in '' $ac_executable_extensions; do
31774
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31775
ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
31776
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31777
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
31786
@@ -18779,10 +13733,10 @@
31788
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
31789
if test -n "$GTKDOC_CHECK"; then
31790
- { $as_echo "$as_me:$LINENO: result: $GTKDOC_CHECK" >&5
31791
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
31792
$as_echo "$GTKDOC_CHECK" >&6; }
31794
- { $as_echo "$as_me:$LINENO: result: no" >&5
31795
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31796
$as_echo "no" >&6; }
31799
@@ -18791,9 +13745,9 @@
31801
# Extract the first word of "$ac_prog", so it can be a program name with args.
31802
set dummy $ac_prog; ac_word=$2
31803
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
31804
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31805
$as_echo_n "checking for $ac_word... " >&6; }
31806
-if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then
31807
+if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then :
31808
$as_echo_n "(cached) " >&6
31810
case $GTKDOC_REBASE in
31811
@@ -18806,14 +13760,14 @@
31814
test -z "$as_dir" && as_dir=.
31815
- for ac_exec_ext in '' $ac_executable_extensions; do
31816
+ for ac_exec_ext in '' $ac_executable_extensions; do
31817
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31818
ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
31819
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31820
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
31829
@@ -18821,10 +13775,10 @@
31831
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
31832
if test -n "$GTKDOC_REBASE"; then
31833
- { $as_echo "$as_me:$LINENO: result: $GTKDOC_REBASE" >&5
31834
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
31835
$as_echo "$GTKDOC_REBASE" >&6; }
31837
- { $as_echo "$as_me:$LINENO: result: no" >&5
31838
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31839
$as_echo "no" >&6; }
31842
@@ -18835,9 +13789,9 @@
31844
# Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
31845
set dummy gtkdoc-mkpdf; ac_word=$2
31846
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
31847
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31848
$as_echo_n "checking for $ac_word... " >&6; }
31849
-if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then
31850
+if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then :
31851
$as_echo_n "(cached) " >&6
31853
case $GTKDOC_MKPDF in
31854
@@ -18850,14 +13804,14 @@
31857
test -z "$as_dir" && as_dir=.
31858
- for ac_exec_ext in '' $ac_executable_extensions; do
31859
+ for ac_exec_ext in '' $ac_executable_extensions; do
31860
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31861
ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
31862
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31863
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
31872
@@ -18865,10 +13819,10 @@
31874
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
31875
if test -n "$GTKDOC_MKPDF"; then
31876
- { $as_echo "$as_me:$LINENO: result: $GTKDOC_MKPDF" >&5
31877
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
31878
$as_echo "$GTKDOC_MKPDF" >&6; }
31880
- { $as_echo "$as_me:$LINENO: result: no" >&5
31881
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31882
$as_echo "no" >&6; }
31885
@@ -18876,7 +13830,7 @@
31888
# Check whether --with-html-dir was given.
31889
-if test "${with_html_dir+set}" = set; then
31890
+if test "${with_html_dir+set}" = set; then :
31891
withval=$with_html_dir;
31893
with_html_dir='${datadir}/gtk-doc/html'
31894
@@ -18886,7 +13840,7 @@
31897
# Check whether --enable-gtk-doc was given.
31898
-if test "${enable_gtk_doc+set}" = set; then
31899
+if test "${enable_gtk_doc+set}" = set; then :
31900
enableval=$enable_gtk_doc;
31903
@@ -18895,33 +13849,31 @@
31905
if test x$enable_gtk_doc = xyes; then
31906
if test -n "$PKG_CONFIG" && \
31907
- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\"") >&5
31908
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5
31909
($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
31911
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31912
- (exit $ac_status); }; then
31913
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31914
+ test $ac_status = 0; }; then
31917
- { { $as_echo "$as_me:$LINENO: error: You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" >&5
31918
-$as_echo "$as_me: error: You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" >&2;}
31919
- { (exit 1); exit 1; }; }
31920
+ as_fn_error "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5
31924
- { $as_echo "$as_me:$LINENO: checking whether to build gtk-doc documentation" >&5
31925
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
31926
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
31927
- { $as_echo "$as_me:$LINENO: result: $enable_gtk_doc" >&5
31928
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
31929
$as_echo "$enable_gtk_doc" >&6; }
31931
# Check whether --enable-gtk-doc-html was given.
31932
-if test "${enable_gtk_doc_html+set}" = set; then
31933
+if test "${enable_gtk_doc_html+set}" = set; then :
31934
enableval=$enable_gtk_doc_html;
31936
enable_gtk_doc_html=yes
31939
# Check whether --enable-gtk-doc-pdf was given.
31940
-if test "${enable_gtk_doc_pdf+set}" = set; then
31941
+if test "${enable_gtk_doc_pdf+set}" = set; then :
31942
enableval=$enable_gtk_doc_pdf;
31944
enable_gtk_doc_pdf=no
31945
@@ -19006,13 +13958,13 @@
31949
- *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
31950
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31951
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31954
_ | IFS | as_nl) ;; #(
31955
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31956
- *) $as_unset $ac_var ;;
31957
+ *) { eval $ac_var=; unset $ac_var;} ;;
31961
@@ -19020,8 +13972,8 @@
31963
case $as_nl`(ac_space=' '; set) 2>&1` in #(
31964
*${as_nl}ac_space=\ *)
31965
- # `set' does not quote correctly, so add quotes (double-quote
31966
- # substitution turns \\\\ into \\, and sed turns \\ into \).
31967
+ # `set' does not quote correctly, so add quotes: double-quote
31968
+ # substitution turns \\\\ into \\, and sed turns \\ into \.
31971
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31972
@@ -19044,11 +13996,11 @@
31973
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31974
if test -w "$cache_file"; then
31975
test "x$cache_file" != "x/dev/null" &&
31976
- { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
31977
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31978
$as_echo "$as_me: updating cache $cache_file" >&6;}
31979
cat confcache >$cache_file
31981
- { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
31982
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31983
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31986
@@ -19068,8 +14020,8 @@
31987
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
31988
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
31989
# will be set to the directory where LIBOBJS objects are built.
31990
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
31991
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
31992
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
31993
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
31995
LIBOBJS=$ac_libobjs
31997
@@ -19085,84 +14037,55 @@
32000
if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
32001
- { { $as_echo "$as_me:$LINENO: error: conditional \"OS_WIN32\" was never defined.
32002
-Usually this means the macro was only invoked conditionally." >&5
32003
-$as_echo "$as_me: error: conditional \"OS_WIN32\" was never defined.
32004
-Usually this means the macro was only invoked conditionally." >&2;}
32005
- { (exit 1); exit 1; }; }
32006
+ as_fn_error "conditional \"OS_WIN32\" was never defined.
32007
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
32009
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
32010
- { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
32011
-Usually this means the macro was only invoked conditionally." >&5
32012
-$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
32013
-Usually this means the macro was only invoked conditionally." >&2;}
32014
- { (exit 1); exit 1; }; }
32015
+ as_fn_error "conditional \"AMDEP\" was never defined.
32016
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
32018
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
32019
- { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
32020
-Usually this means the macro was only invoked conditionally." >&5
32021
-$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
32022
-Usually this means the macro was only invoked conditionally." >&2;}
32023
- { (exit 1); exit 1; }; }
32024
+ as_fn_error "conditional \"am__fastdepCC\" was never defined.
32025
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
32027
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
32028
- { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
32029
-Usually this means the macro was only invoked conditionally." >&5
32030
-$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
32031
-Usually this means the macro was only invoked conditionally." >&2;}
32032
- { (exit 1); exit 1; }; }
32033
+ as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
32034
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
32036
if test -z "${ENABLE_HTTP_TRUE}" && test -z "${ENABLE_HTTP_FALSE}"; then
32037
- { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_HTTP\" was never defined.
32038
-Usually this means the macro was only invoked conditionally." >&5
32039
-$as_echo "$as_me: error: conditional \"ENABLE_HTTP\" was never defined.
32040
-Usually this means the macro was only invoked conditionally." >&2;}
32041
- { (exit 1); exit 1; }; }
32042
+ as_fn_error "conditional \"ENABLE_HTTP\" was never defined.
32043
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
32046
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
32047
- { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_GTK_DOC\" was never defined.
32048
-Usually this means the macro was only invoked conditionally." >&5
32049
-$as_echo "$as_me: error: conditional \"ENABLE_GTK_DOC\" was never defined.
32050
-Usually this means the macro was only invoked conditionally." >&2;}
32051
- { (exit 1); exit 1; }; }
32052
+ as_fn_error "conditional \"ENABLE_GTK_DOC\" was never defined.
32053
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
32055
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
32056
- { { $as_echo "$as_me:$LINENO: error: conditional \"GTK_DOC_BUILD_HTML\" was never defined.
32057
-Usually this means the macro was only invoked conditionally." >&5
32058
-$as_echo "$as_me: error: conditional \"GTK_DOC_BUILD_HTML\" was never defined.
32059
-Usually this means the macro was only invoked conditionally." >&2;}
32060
- { (exit 1); exit 1; }; }
32061
+ as_fn_error "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
32062
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
32064
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
32065
- { { $as_echo "$as_me:$LINENO: error: conditional \"GTK_DOC_BUILD_PDF\" was never defined.
32066
-Usually this means the macro was only invoked conditionally." >&5
32067
-$as_echo "$as_me: error: conditional \"GTK_DOC_BUILD_PDF\" was never defined.
32068
-Usually this means the macro was only invoked conditionally." >&2;}
32069
- { (exit 1); exit 1; }; }
32070
+ as_fn_error "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
32071
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
32073
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
32074
- { { $as_echo "$as_me:$LINENO: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
32075
-Usually this means the macro was only invoked conditionally." >&5
32076
-$as_echo "$as_me: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
32077
-Usually this means the macro was only invoked conditionally." >&2;}
32078
- { (exit 1); exit 1; }; }
32079
+ as_fn_error "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
32080
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
32082
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
32083
- { { $as_echo "$as_me:$LINENO: error: conditional \"GTK_DOC_USE_REBASE\" was never defined.
32084
-Usually this means the macro was only invoked conditionally." >&5
32085
-$as_echo "$as_me: error: conditional \"GTK_DOC_USE_REBASE\" was never defined.
32086
-Usually this means the macro was only invoked conditionally." >&2;}
32087
- { (exit 1); exit 1; }; }
32088
+ as_fn_error "conditional \"GTK_DOC_USE_REBASE\" was never defined.
32089
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
32092
: ${CONFIG_STATUS=./config.status}
32094
ac_clean_files_save=$ac_clean_files
32095
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
32096
-{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
32097
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
32098
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
32099
-cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32101
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
32103
# Generated by $as_me.
32104
# Run this file to recreate the current configuration.
32105
@@ -19172,17 +14095,18 @@
32107
ac_cs_recheck=false
32109
-SHELL=\${CONFIG_SHELL-$SHELL}
32112
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32113
-## --------------------- ##
32114
-## M4sh Initialization. ##
32115
-## --------------------- ##
32116
+SHELL=\${CONFIG_SHELL-$SHELL}
32119
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
32120
+## -------------------- ##
32121
+## M4sh Initialization. ##
32122
+## -------------------- ##
32124
# Be more Bourne compatible
32125
DUALCASE=1; export DUALCASE # for MKS sh
32126
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
32127
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
32130
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
32131
@@ -19190,23 +14114,15 @@
32132
alias -g '${1+"$@"}'='"$@"'
32133
setopt NO_GLOB_SUBST
32135
- case `(set -o) 2>/dev/null` in
32136
- *posix*) set -o posix ;;
32137
+ case `(set -o) 2>/dev/null` in #(
32139
+ set -o posix ;; #(
32150
-# Avoid depending upon Character Ranges.
32151
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
32152
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32153
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
32154
-as_cr_digits='0123456789'
32155
-as_cr_alnum=$as_cr_Letters$as_cr_digits
32160
@@ -19214,7 +14130,13 @@
32161
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
32162
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
32163
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
32164
-if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
32165
+# Prefer a ksh shell builtin over an external printf program on Solaris,
32166
+# but without wasting forks for bash or zsh.
32167
+if test -z "$BASH_VERSION$ZSH_VERSION" \
32168
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
32169
+ as_echo='print -r --'
32170
+ as_echo_n='print -rn --'
32171
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
32172
as_echo='printf %s\n'
32173
as_echo_n='printf %s'
32175
@@ -19225,7 +14147,7 @@
32176
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
32177
as_echo_n_body='eval
32182
expr "X$arg" : "X\\(.*\\)$as_nl";
32183
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
32184
@@ -19248,13 +14170,6 @@
32188
-# Support unset when possible.
32189
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32197
# We need space, tab and new line, in precisely that order. Quoting is
32198
@@ -19264,15 +14179,15 @@
32201
# Find who we are. Look in the path if we contain no directory separator.
32204
*[\\/]* ) as_myself=$0 ;;
32205
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32206
for as_dir in $PATH
32209
test -z "$as_dir" && as_dir=.
32210
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
32212
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
32217
@@ -19284,12 +14199,16 @@
32219
if test ! -f "$as_myself"; then
32220
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
32221
- { (exit 1); exit 1; }
32225
-# Work around bugs in pre-3.0 UWIN ksh.
32226
-for as_var in ENV MAIL MAILPATH
32227
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
32228
+# Unset variables that we do not need and which cause bugs (e.g. in
32229
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
32230
+# suppresses any "Segmentation fault" message there. '((' could
32231
+# trigger a bug in pdksh 5.2.14.
32232
+for as_var in BASH_ENV ENV MAIL MAILPATH
32233
+do eval test x\${$as_var+set} = xset \
32234
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
32238
@@ -19301,7 +14220,89 @@
32242
-# Required to use basename.
32244
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32247
+# as_fn_error ERROR [LINENO LOG_FD]
32248
+# ---------------------------------
32249
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
32250
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
32251
+# script with status $?, using 1 if that was 0.
32254
+ as_status=$?; test $as_status -eq 0 && as_status=1
32255
+ if test "$3"; then
32256
+ as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
32257
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
32259
+ $as_echo "$as_me: error: $1" >&2
32260
+ as_fn_exit $as_status
32264
+# as_fn_set_status STATUS
32265
+# -----------------------
32266
+# Set $? to STATUS, without forking.
32267
+as_fn_set_status ()
32270
+} # as_fn_set_status
32272
+# as_fn_exit STATUS
32273
+# -----------------
32274
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
32278
+ as_fn_set_status $1
32284
+# Portably unset VAR.
32287
+ { eval $1=; unset $1;}
32289
+as_unset=as_fn_unset
32290
+# as_fn_append VAR VALUE
32291
+# ----------------------
32292
+# Append the text in VALUE to the end of the definition contained in VAR. Take
32293
+# advantage of any shell optimizations that allow amortized linear growth over
32294
+# repeated appends, instead of the typical quadratic growth present in naive
32295
+# implementations.
32296
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
32297
+ eval 'as_fn_append ()
32308
+# as_fn_arith ARG...
32309
+# ------------------
32310
+# Perform arithmetic evaluation on the ARGs, and store the result in the
32311
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
32312
+# must be portable across $(()) and expr.
32313
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
32314
+ eval 'as_fn_arith ()
32321
+ as_val=`expr "$@" || test $? -eq 1`
32326
if expr a : '\(a\)' >/dev/null 2>&1 &&
32327
test "X`expr 00001 : '.*\(...\)'`" = X001; then
32329
@@ -19315,8 +14316,12 @@
32333
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
32334
+ as_dirname=dirname
32339
-# Name of the executable.
32340
as_me=`$as_basename -- "$0" ||
32341
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
32342
X"$0" : 'X\(//\)$' \| \
32343
@@ -19336,76 +14341,25 @@
32352
- as_lineno_1=$LINENO
32353
- as_lineno_2=$LINENO
32354
- test "x$as_lineno_1" != "x$as_lineno_2" &&
32355
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
32357
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
32358
- # uniformly replaced by the line number. The first 'sed' inserts a
32359
- # line-number line after each line using $LINENO; the second 'sed'
32360
- # does the real work. The second script uses 'N' to pair each
32361
- # line-number line with the line containing $LINENO, and appends
32362
- # trailing '-' during substitution so that $LINENO is not a special
32363
- # case at line end.
32364
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
32365
- # scripts with optimization help from Paolo Bonzini. Blame Lee
32366
- # E. McMahon (1931-1989) for sed's syntax. :-)
32372
- s/[$]LINENO.*/&-/
32378
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
32381
- ' >$as_me.lineno &&
32382
- chmod +x "$as_me.lineno" ||
32383
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
32384
- { (exit 1); exit 1; }; }
32386
- # Don't try to exec as it changes $[0], causing all sort of problems
32387
- # (the dirname of $[0] is not the place where we might find the
32388
- # original and so on. Autoconf is especially sensitive to this).
32389
- . "./$as_me.lineno"
32390
- # Exit status is that of the last command.
32395
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
32396
- as_dirname=dirname
32400
+# Avoid depending upon Character Ranges.
32401
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
32402
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32403
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
32404
+as_cr_digits='0123456789'
32405
+as_cr_alnum=$as_cr_Letters$as_cr_digits
32407
ECHO_C= ECHO_N= ECHO_T=
32408
-case `echo -n x` in
32409
+case `echo -n x` in #(((((
32411
- case `echo 'x\c'` in
32412
+ case `echo 'xy\c'` in
32413
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
32415
+ xy) ECHO_C='\c';;
32416
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
32422
-if expr a : '\(a\)' >/dev/null 2>&1 &&
32423
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
32429
rm -f conf$$ conf$$.exe conf$$.file
32430
if test -d conf$$.dir; then
32431
@@ -19434,8 +14388,56 @@
32432
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
32433
rmdir conf$$.dir 2>/dev/null
32438
+# Create "$as_dir" as a directory, including parents if necessary.
32442
+ case $as_dir in #(
32443
+ -*) as_dir=./$as_dir;;
32445
+ test -d "$as_dir" || eval $as_mkdir_p || {
32448
+ case $as_dir in #(
32449
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
32450
+ *) as_qdir=$as_dir;;
32452
+ as_dirs="'$as_qdir' $as_dirs"
32453
+ as_dir=`$as_dirname -- "$as_dir" ||
32454
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32455
+ X"$as_dir" : 'X\(//\)[^/]' \| \
32456
+ X"$as_dir" : 'X\(//\)$' \| \
32457
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
32458
+$as_echo X"$as_dir" |
32459
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32463
+ /^X\(\/\/\)[^/].*/{
32476
+ test -d "$as_dir" && break
32478
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
32479
+ } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
32483
if mkdir -p . 2>/dev/null; then
32485
+ as_mkdir_p='mkdir -p "$as_dir"'
32487
test -d ./-p && rmdir ./-p
32489
@@ -19454,10 +14456,10 @@
32490
if test -d "$1"; then
32497
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
32498
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
32499
???[sx]*):;;*)false;;esac;fi
32502
@@ -19472,13 +14474,19 @@
32506
+## ----------------------------------- ##
32507
+## Main body of $CONFIG_STATUS script. ##
32508
+## ----------------------------------- ##
32510
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
32512
-# Save the log message, to keep $[0] and so on meaningful, and to
32513
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32514
+# Save the log message, to keep $0 and so on meaningful, and to
32515
# report actual input values of CONFIG_FILES etc. instead of their
32516
# values after options handling.
32518
This file was extended by ORBit2 $as_me 2.14.18, which was
32519
-generated by GNU Autoconf 2.63. Invocation command line was
32520
+generated by GNU Autoconf 2.65. Invocation command line was
32522
CONFIG_FILES = $CONFIG_FILES
32523
CONFIG_HEADERS = $CONFIG_HEADERS
32524
@@ -19510,13 +14518,15 @@
32526
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32528
-\`$as_me' instantiates files from templates according to the
32529
-current configuration.
32530
+\`$as_me' instantiates files and other configuration actions
32531
+from templates according to the current configuration. Unless the files
32532
+and actions are specified as TAGs, all are instantiated by default.
32534
-Usage: $0 [OPTION]... [FILE]...
32535
+Usage: $0 [OPTION]... [TAG]...
32537
-h, --help print this help, then exit
32538
-V, --version print version number and configuration settings, then exit
32539
+ --config print configuration, then exit
32540
-q, --quiet, --silent
32541
do not print progress messages
32542
-d, --debug don't remove temporary files
32543
@@ -19535,16 +14545,17 @@
32544
Configuration commands:
32547
-Report bugs to <bug-autoconf@gnu.org>."
32548
+Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=ORBit2>."
32551
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32552
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
32554
ORBit2 config.status 2.14.18
32555
-configured by $0, generated by GNU Autoconf 2.63,
32556
- with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
32557
+configured by $0, generated by GNU Autoconf 2.65,
32558
+ with options \\"\$ac_cs_config\\"
32560
-Copyright (C) 2008 Free Software Foundation, Inc.
32561
+Copyright (C) 2009 Free Software Foundation, Inc.
32562
This config.status script is free software; the Free Software Foundation
32563
gives unlimited permission to copy, distribute and modify it."
32565
@@ -19580,6 +14591,8 @@
32567
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
32568
$as_echo "$ac_cs_version"; exit ;;
32569
+ --config | --confi | --conf | --con | --co | --c )
32570
+ $as_echo "$ac_cs_config"; exit ;;
32571
--debug | --debu | --deb | --de | --d | -d )
32573
--file | --fil | --fi | --f )
32574
@@ -19587,20 +14600,19 @@
32576
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32578
- CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
32579
+ as_fn_append CONFIG_FILES " '$ac_optarg'"
32580
ac_need_defaults=false;;
32581
--header | --heade | --head | --hea )
32584
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32586
- CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
32587
+ as_fn_append CONFIG_HEADERS " '$ac_optarg'"
32588
ac_need_defaults=false;;
32590
# Conflict between --help and --header
32591
- { $as_echo "$as_me: error: ambiguous option: $1
32592
-Try \`$0 --help' for more information." >&2
32593
- { (exit 1); exit 1; }; };;
32594
+ as_fn_error "ambiguous option: \`$1'
32595
+Try \`$0 --help' for more information.";;
32596
--help | --hel | -h )
32597
$as_echo "$ac_cs_usage"; exit ;;
32598
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
32599
@@ -19608,11 +14620,10 @@
32602
# This is an error.
32603
- -*) { $as_echo "$as_me: error: unrecognized option: $1
32604
-Try \`$0 --help' for more information." >&2
32605
- { (exit 1); exit 1; }; } ;;
32606
+ -*) as_fn_error "unrecognized option: \`$1'
32607
+Try \`$0 --help' for more information." ;;
32609
- *) ac_config_targets="$ac_config_targets $1"
32610
+ *) as_fn_append ac_config_targets " $1"
32611
ac_need_defaults=false ;;
32614
@@ -19973,9 +14984,7 @@
32615
"linc2/include/linc/Makefile") CONFIG_FILES="$CONFIG_FILES linc2/include/linc/Makefile" ;;
32616
"linc2/include/linc/linc-config.h") CONFIG_FILES="$CONFIG_FILES linc2/include/linc/linc-config.h" ;;
32618
- *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
32619
-$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
32620
- { (exit 1); exit 1; }; };;
32621
+ *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
32625
@@ -20002,7 +15011,7 @@
32626
trap 'exit_status=$?
32627
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
32629
- trap '{ (exit 1); exit 1; }' 1 2 13 15
32630
+ trap 'as_fn_exit 1' 1 2 13 15
32632
# Create a (secure) tmp directory for tmp files.
32634
@@ -20013,11 +15022,7 @@
32636
tmp=./conf$$-$RANDOM
32637
(umask 077 && mkdir "$tmp")
32640
- $as_echo "$as_me: cannot create a temporary directory in ." >&2
32641
- { (exit 1); exit 1; }
32643
+} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
32645
# Set up the scripts for CONFIG_FILES section.
32646
# No need to generate them if there are no CONFIG_FILES.
32647
@@ -20025,10 +15030,16 @@
32648
if test -n "$CONFIG_FILES"; then
32652
+ac_cr=`echo X | tr X '\015'`
32653
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
32654
+# But we know of no other shell where ac_cr would be empty at this
32655
+# point, so we can use a bashism as a fallback.
32656
+if test "x$ac_cr" = x; then
32657
+ eval ac_cr=\$\'\\r\'
32659
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
32660
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
32661
- ac_cs_awk_cr='\\r'
32662
+ ac_cs_awk_cr='\r'
32664
ac_cs_awk_cr=$ac_cr
32666
@@ -20042,24 +15053,18 @@
32667
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
32669
} >conf$$subs.sh ||
32670
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
32671
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
32672
- { (exit 1); exit 1; }; }
32673
+ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
32674
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
32676
for ac_last_try in false false false false false :; do
32677
. ./conf$$subs.sh ||
32678
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
32679
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
32680
- { (exit 1); exit 1; }; }
32681
+ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
32683
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
32684
if test $ac_delim_n = $ac_delim_num; then
32686
elif $ac_last_try; then
32687
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
32688
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
32689
- { (exit 1); exit 1; }; }
32690
+ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
32692
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32694
@@ -20081,7 +15086,7 @@
32698
-s/\(.\{148\}\).*/\1/
32699
+s/\(.\{148\}\)..*/\1/
32701
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
32703
@@ -20095,7 +15100,7 @@
32707
-s/\(.\{148\}\).*/\1/
32708
+s/\(.\{148\}\)..*/\1/
32710
s/["\\]/\\&/g; s/^/"/; s/$/"/
32712
@@ -20148,9 +15153,7 @@
32715
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
32716
- || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
32717
-$as_echo "$as_me: error: could not setup config files machinery" >&2;}
32718
- { (exit 1); exit 1; }; }
32719
+ || as_fn_error "could not setup config files machinery" "$LINENO" 5
32722
# VPATH may cause trouble with some makes, so we remove $(srcdir),
32723
@@ -20191,9 +15194,7 @@
32724
if test -z "$ac_t"; then
32726
elif $ac_last_try; then
32727
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
32728
-$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
32729
- { (exit 1); exit 1; }; }
32730
+ as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
32732
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32734
@@ -20278,9 +15279,7 @@
32737
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32738
- { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
32739
-$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
32740
- { (exit 1); exit 1; }; }
32741
+ as_fn_error "could not setup config headers machinery" "$LINENO" 5
32742
fi # test -n "$CONFIG_HEADERS"
32745
@@ -20293,9 +15292,7 @@
32747
case $ac_mode$ac_tag in
32749
- :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
32750
-$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
32751
- { (exit 1); exit 1; }; };;
32752
+ :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
32753
:[FH]-) ac_tag=-:-;;
32754
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
32756
@@ -20323,12 +15320,10 @@
32758
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
32760
- { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
32761
-$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
32762
- { (exit 1); exit 1; }; };;
32763
+ as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
32765
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
32766
- ac_file_inputs="$ac_file_inputs '$ac_f'"
32767
+ as_fn_append ac_file_inputs " '$ac_f'"
32770
# Let's still pretend it is `configure' which instantiates (i.e., don't
32771
@@ -20339,7 +15334,7 @@
32773
if test x"$ac_file" != x-; then
32774
configure_input="$ac_file. $configure_input"
32775
- { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
32776
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
32777
$as_echo "$as_me: creating $ac_file" >&6;}
32779
# Neutralize special characters interpreted by sed in replacement strings.
32780
@@ -20352,9 +15347,7 @@
32783
*:-:* | *:-) cat >"$tmp/stdin" \
32784
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
32785
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
32786
- { (exit 1); exit 1; }; } ;;
32787
+ || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
32791
@@ -20382,47 +15375,7 @@
32795
- { as_dir="$ac_dir"
32796
- case $as_dir in #(
32797
- -*) as_dir=./$as_dir;;
32799
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
32802
- case $as_dir in #(
32803
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
32804
- *) as_qdir=$as_dir;;
32806
- as_dirs="'$as_qdir' $as_dirs"
32807
- as_dir=`$as_dirname -- "$as_dir" ||
32808
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32809
- X"$as_dir" : 'X\(//\)[^/]' \| \
32810
- X"$as_dir" : 'X\(//\)$' \| \
32811
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
32812
-$as_echo X"$as_dir" |
32813
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32817
- /^X\(\/\/\)[^/].*/{
32830
- test -d "$as_dir" && break
32832
- test -z "$as_dirs" || eval "mkdir $as_dirs"
32833
- } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
32834
-$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
32835
- { (exit 1); exit 1; }; }; }
32836
+ as_dir="$ac_dir"; as_fn_mkdir_p
32840
@@ -20479,7 +15432,6 @@
32841
# If the template does not know about datarootdir, expand it.
32842
# FIXME: This hack should be removed a few years after 2.60.
32843
ac_datarootdir_hack=; ac_datarootdir_seen=
32848
@@ -20489,12 +15441,11 @@
32855
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
32856
*datarootdir*) ac_datarootdir_seen=yes;;
32857
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
32858
- { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
32859
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
32860
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
32862
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32863
@@ -20504,7 +15455,7 @@
32864
s&@infodir@&$infodir&g
32865
s&@localedir@&$localedir&g
32866
s&@mandir@&$mandir&g
32867
- s&\\\${datarootdir}&$datarootdir&g' ;;
32868
+ s&\\\${datarootdir}&$datarootdir&g' ;;
32872
@@ -20533,14 +15484,12 @@
32873
$ac_datarootdir_hack
32875
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
32876
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
32877
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
32878
- { (exit 1); exit 1; }; }
32879
+ || as_fn_error "could not create $ac_file" "$LINENO" 5
32881
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
32882
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
32883
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
32884
- { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
32885
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
32886
which seems to be undefined. Please make sure it is defined." >&5
32887
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
32888
which seems to be undefined. Please make sure it is defined." >&2;}
32889
@@ -20550,9 +15499,7 @@
32890
-) cat "$tmp/out" && rm -f "$tmp/out";;
32891
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
32893
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
32894
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
32895
- { (exit 1); exit 1; }; }
32896
+ || as_fn_error "could not create $ac_file" "$LINENO" 5
32900
@@ -20563,25 +15510,19 @@
32901
$as_echo "/* $configure_input */" \
32902
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
32903
} >"$tmp/config.h" \
32904
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
32905
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
32906
- { (exit 1); exit 1; }; }
32907
+ || as_fn_error "could not create $ac_file" "$LINENO" 5
32908
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
32909
- { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
32910
+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
32911
$as_echo "$as_me: $ac_file is unchanged" >&6;}
32914
mv "$tmp/config.h" "$ac_file" \
32915
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
32916
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
32917
- { (exit 1); exit 1; }; }
32918
+ || as_fn_error "could not create $ac_file" "$LINENO" 5
32921
$as_echo "/* $configure_input */" \
32922
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
32923
- || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
32924
-$as_echo "$as_me: error: could not create -" >&2;}
32925
- { (exit 1); exit 1; }; }
32926
+ || as_fn_error "could not create -" "$LINENO" 5
32928
# Compute "$ac_file"'s index in $config_headers.
32930
@@ -20619,7 +15560,7 @@
32931
s/.*/./; q'`/stamp-h$_am_stamp_count
32934
- :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
32935
+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
32936
$as_echo "$as_me: executing $ac_file commands" >&6;}
32939
@@ -20714,47 +15655,7 @@
32943
- { as_dir=$dirpart/$fdir
32944
- case $as_dir in #(
32945
- -*) as_dir=./$as_dir;;
32947
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
32950
- case $as_dir in #(
32951
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
32952
- *) as_qdir=$as_dir;;
32954
- as_dirs="'$as_qdir' $as_dirs"
32955
- as_dir=`$as_dirname -- "$as_dir" ||
32956
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32957
- X"$as_dir" : 'X\(//\)[^/]' \| \
32958
- X"$as_dir" : 'X\(//\)$' \| \
32959
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
32960
-$as_echo X"$as_dir" |
32961
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32965
- /^X\(\/\/\)[^/].*/{
32978
- test -d "$as_dir" && break
32980
- test -z "$as_dirs" || eval "mkdir $as_dirs"
32981
- } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
32982
-$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
32983
- { (exit 1); exit 1; }; }; }
32984
+ as_dir=$dirpart/$fdir; as_fn_mkdir_p
32985
# echo "creating $dirpart/$file"
32986
echo '# dummy' > "$dirpart/$file"
32988
@@ -21407,15 +16308,12 @@
32992
-{ (exit 0); exit 0; }
32995
-chmod +x $CONFIG_STATUS
32996
ac_clean_files=$ac_clean_files_save
32998
test $ac_write_fail = 0 ||
32999
- { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
33000
-$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
33001
- { (exit 1); exit 1; }; }
33002
+ as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
33005
# configure is writing to config.log, and then calls config.status.
33006
@@ -21436,10 +16334,10 @@
33008
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
33009
# would make configure fail if this is the last instruction.
33010
- $ac_cs_success || { (exit 1); exit 1; }
33011
+ $ac_cs_success || as_fn_exit $?
33013
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
33014
- { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
33015
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
33016
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
33019
diff -Naur '-x*config.guess' '-x*config.sub' orbit2-2.14.18.old/docs/api/Makefile.in orbit2-2.14.18/docs/api/Makefile.in
33020
--- orbit2-2.14.18.old/docs/api/Makefile.in 2010-03-30 12:52:19.000000000 +0200
33021
+++ orbit2-2.14.18/docs/api/Makefile.in 2010-04-08 12:32:06.546304118 +0200
33023
-# Makefile.in generated by automake 1.11 from Makefile.am.
33024
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
33025
# @configure_input@
33027
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
33028
@@ -145,6 +145,7 @@
33029
PACKAGE_NAME = @PACKAGE_NAME@
33030
PACKAGE_STRING = @PACKAGE_STRING@
33031
PACKAGE_TARNAME = @PACKAGE_TARNAME@
33032
+PACKAGE_URL = @PACKAGE_URL@
33033
PACKAGE_VERSION = @PACKAGE_VERSION@
33034
PATH_SEPARATOR = @PATH_SEPARATOR@
33035
PKG_CONFIG = @PKG_CONFIG@
33036
diff -Naur '-x*config.guess' '-x*config.sub' orbit2-2.14.18.old/docs/devel/Makefile.in orbit2-2.14.18/docs/devel/Makefile.in
33037
--- orbit2-2.14.18.old/docs/devel/Makefile.in 2010-03-30 12:52:19.000000000 +0200
33038
+++ orbit2-2.14.18/docs/devel/Makefile.in 2010-04-08 12:32:06.586304102 +0200
33040
-# Makefile.in generated by automake 1.11 from Makefile.am.
33041
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
33042
# @configure_input@
33044
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
33045
@@ -138,6 +138,7 @@
33046
PACKAGE_NAME = @PACKAGE_NAME@
33047
PACKAGE_STRING = @PACKAGE_STRING@
33048
PACKAGE_TARNAME = @PACKAGE_TARNAME@
33049
+PACKAGE_URL = @PACKAGE_URL@
33050
PACKAGE_VERSION = @PACKAGE_VERSION@
33051
PATH_SEPARATOR = @PATH_SEPARATOR@
33052
PKG_CONFIG = @PKG_CONFIG@
33053
diff -Naur '-x*config.guess' '-x*config.sub' orbit2-2.14.18.old/docs/internals/Makefile.in orbit2-2.14.18/docs/internals/Makefile.in
33054
--- orbit2-2.14.18.old/docs/internals/Makefile.in 2010-03-30 12:52:19.000000000 +0200
33055
+++ orbit2-2.14.18/docs/internals/Makefile.in 2010-04-08 12:32:06.626304504 +0200
33057
-# Makefile.in generated by automake 1.11 from Makefile.am.
33058
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
33059
# @configure_input@
33061
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
33062
@@ -138,6 +138,7 @@
33063
PACKAGE_NAME = @PACKAGE_NAME@
33064
PACKAGE_STRING = @PACKAGE_STRING@
33065
PACKAGE_TARNAME = @PACKAGE_TARNAME@
33066
+PACKAGE_URL = @PACKAGE_URL@
33067
PACKAGE_VERSION = @PACKAGE_VERSION@
33068
PATH_SEPARATOR = @PATH_SEPARATOR@
33069
PKG_CONFIG = @PKG_CONFIG@
33070
diff -Naur '-x*config.guess' '-x*config.sub' orbit2-2.14.18.old/docs/Makefile.in orbit2-2.14.18/docs/Makefile.in
33071
--- orbit2-2.14.18.old/docs/Makefile.in 2010-03-30 12:52:19.000000000 +0200
33072
+++ orbit2-2.14.18/docs/Makefile.in 2010-04-08 12:32:06.490304194 +0200
33074
-# Makefile.in generated by automake 1.11 from Makefile.am.
33075
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
33076
# @configure_input@
33078
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
33079
@@ -178,6 +178,7 @@
33080
PACKAGE_NAME = @PACKAGE_NAME@
33081
PACKAGE_STRING = @PACKAGE_STRING@
33082
PACKAGE_TARNAME = @PACKAGE_TARNAME@
33083
+PACKAGE_URL = @PACKAGE_URL@
33084
PACKAGE_VERSION = @PACKAGE_VERSION@
33085
PATH_SEPARATOR = @PATH_SEPARATOR@
33086
PKG_CONFIG = @PKG_CONFIG@
33087
@@ -288,7 +289,7 @@
33088
# (which will cause the Makefiles to be regenerated when you run `make');
33089
# (2) otherwise, pass the desired values on the `make' command line.
33090
$(RECURSIVE_TARGETS):
33091
- @failcom='exit 1'; \
33092
+ @fail= failcom='exit 1'; \
33093
for f in x $$MAKEFLAGS; do \
33096
@@ -313,7 +314,7 @@
33097
fi; test -z "$$fail"
33099
$(RECURSIVE_CLEAN_TARGETS):
33100
- @failcom='exit 1'; \
33101
+ @fail= failcom='exit 1'; \
33102
for f in x $$MAKEFLAGS; do \
33105
diff -Naur '-x*config.guess' '-x*config.sub' orbit2-2.14.18.old/include/Makefile.in orbit2-2.14.18/include/Makefile.in
33106
--- orbit2-2.14.18.old/include/Makefile.in 2010-03-30 12:52:19.000000000 +0200
33107
+++ orbit2-2.14.18/include/Makefile.in 2010-04-08 12:32:06.670304296 +0200
33109
-# Makefile.in generated by automake 1.11 from Makefile.am.
33110
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
33111
# @configure_input@
33113
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
33114
@@ -178,6 +178,7 @@
33115
PACKAGE_NAME = @PACKAGE_NAME@
33116
PACKAGE_STRING = @PACKAGE_STRING@
33117
PACKAGE_TARNAME = @PACKAGE_TARNAME@
33118
+PACKAGE_URL = @PACKAGE_URL@
33119
PACKAGE_VERSION = @PACKAGE_VERSION@
33120
PATH_SEPARATOR = @PATH_SEPARATOR@
33121
PKG_CONFIG = @PKG_CONFIG@
33122
@@ -288,7 +289,7 @@
33123
# (which will cause the Makefiles to be regenerated when you run `make');
33124
# (2) otherwise, pass the desired values on the `make' command line.
33125
$(RECURSIVE_TARGETS):
33126
- @failcom='exit 1'; \
33127
+ @fail= failcom='exit 1'; \
33128
for f in x $$MAKEFLAGS; do \
33131
@@ -313,7 +314,7 @@
33132
fi; test -z "$$fail"
33134
$(RECURSIVE_CLEAN_TARGETS):
33135
- @failcom='exit 1'; \
33136
+ @fail= failcom='exit 1'; \
33137
for f in x $$MAKEFLAGS; do \
33140
diff -Naur '-x*config.guess' '-x*config.sub' orbit2-2.14.18.old/include/orbit/dynamic/Makefile.in orbit2-2.14.18/include/orbit/dynamic/Makefile.in
33141
--- orbit2-2.14.18.old/include/orbit/dynamic/Makefile.in 2010-03-30 12:52:19.000000000 +0200
33142
+++ orbit2-2.14.18/include/orbit/dynamic/Makefile.in 2010-04-08 12:32:06.814304304 +0200
33144
-# Makefile.in generated by automake 1.11 from Makefile.am.
33145
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
33146
# @configure_input@
33148
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
33149
@@ -165,6 +165,7 @@
33150
PACKAGE_NAME = @PACKAGE_NAME@
33151
PACKAGE_STRING = @PACKAGE_STRING@
33152
PACKAGE_TARNAME = @PACKAGE_TARNAME@
33153
+PACKAGE_URL = @PACKAGE_URL@
33154
PACKAGE_VERSION = @PACKAGE_VERSION@
33155
PATH_SEPARATOR = @PATH_SEPARATOR@
33156
PKG_CONFIG = @PKG_CONFIG@
33157
diff -Naur '-x*config.guess' '-x*config.sub' orbit2-2.14.18.old/include/orbit/GIOP/Makefile.in orbit2-2.14.18/include/orbit/GIOP/Makefile.in
33158
--- orbit2-2.14.18.old/include/orbit/GIOP/Makefile.in 2010-03-30 12:52:19.000000000 +0200
33159
+++ orbit2-2.14.18/include/orbit/GIOP/Makefile.in 2010-04-08 12:32:06.714303951 +0200
33161
-# Makefile.in generated by automake 1.11 from Makefile.am.
33162
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
33163
# @configure_input@
33165
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
33166
@@ -138,6 +138,7 @@
33167
PACKAGE_NAME = @PACKAGE_NAME@
33168
PACKAGE_STRING = @PACKAGE_STRING@
33169
PACKAGE_TARNAME = @PACKAGE_TARNAME@
33170
+PACKAGE_URL = @PACKAGE_URL@
33171
PACKAGE_VERSION = @PACKAGE_VERSION@
33172
PATH_SEPARATOR = @PATH_SEPARATOR@
33173
PKG_CONFIG = @PKG_CONFIG@
33174
diff -Naur '-x*config.guess' '-x*config.sub' orbit2-2.14.18.old/include/orbit/Makefile.in orbit2-2.14.18/include/orbit/Makefile.in
33175
--- orbit2-2.14.18.old/include/orbit/Makefile.in 2010-03-30 12:52:19.000000000 +0200
33176
+++ orbit2-2.14.18/include/orbit/Makefile.in 2010-04-08 12:32:06.766304278 +0200
33178
-# Makefile.in generated by automake 1.11 from Makefile.am.
33179
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
33180
# @configure_input@
33182
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
33183
@@ -203,6 +203,7 @@
33184
PACKAGE_NAME = @PACKAGE_NAME@
33185
PACKAGE_STRING = @PACKAGE_STRING@
33186
PACKAGE_TARNAME = @PACKAGE_TARNAME@
33187
+PACKAGE_URL = @PACKAGE_URL@
33188
PACKAGE_VERSION = @PACKAGE_VERSION@
33189
PATH_SEPARATOR = @PATH_SEPARATOR@
33190
PKG_CONFIG = @PKG_CONFIG@
33191
@@ -339,7 +340,7 @@
33192
# (which will cause the Makefiles to be regenerated when you run `make');
33193
# (2) otherwise, pass the desired values on the `make' command line.
33194
$(RECURSIVE_TARGETS):
33195
- @failcom='exit 1'; \
33196
+ @fail= failcom='exit 1'; \
33197
for f in x $$MAKEFLAGS; do \
33200
@@ -364,7 +365,7 @@
33201
fi; test -z "$$fail"
33203
$(RECURSIVE_CLEAN_TARGETS):
33204
- @failcom='exit 1'; \
33205
+ @fail= failcom='exit 1'; \
33206
for f in x $$MAKEFLAGS; do \
33209
diff -Naur '-x*config.guess' '-x*config.sub' orbit2-2.14.18.old/include/orbit/orb-core/Makefile.in orbit2-2.14.18/include/orbit/orb-core/Makefile.in
33210
--- orbit2-2.14.18.old/include/orbit/orb-core/Makefile.in 2010-03-30 12:52:19.000000000 +0200
33211
+++ orbit2-2.14.18/include/orbit/orb-core/Makefile.in 2010-04-08 12:32:06.866304070 +0200
33213
-# Makefile.in generated by automake 1.11 from Makefile.am.
33214
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
33215
# @configure_input@
33217
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
33218
@@ -165,6 +165,7 @@
33219
PACKAGE_NAME = @PACKAGE_NAME@
33220
PACKAGE_STRING = @PACKAGE_STRING@
33221
PACKAGE_TARNAME = @PACKAGE_TARNAME@
33222
+PACKAGE_URL = @PACKAGE_URL@
33223
PACKAGE_VERSION = @PACKAGE_VERSION@
33224
PATH_SEPARATOR = @PATH_SEPARATOR@
33225
PKG_CONFIG = @PKG_CONFIG@
33226
diff -Naur '-x*config.guess' '-x*config.sub' orbit2-2.14.18.old/include/orbit/poa/Makefile.in orbit2-2.14.18/include/orbit/poa/Makefile.in
33227
--- orbit2-2.14.18.old/include/orbit/poa/Makefile.in 2010-03-30 12:52:19.000000000 +0200
33228
+++ orbit2-2.14.18/include/orbit/poa/Makefile.in 2010-04-08 12:32:06.914304239 +0200
33230
-# Makefile.in generated by automake 1.11 from Makefile.am.
33231
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
33232
# @configure_input@
33234
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
33235
@@ -165,6 +165,7 @@
33236
PACKAGE_NAME = @PACKAGE_NAME@
33237
PACKAGE_STRING = @PACKAGE_STRING@
33238
PACKAGE_TARNAME = @PACKAGE_TARNAME@
33239
+PACKAGE_URL = @PACKAGE_URL@
33240
PACKAGE_VERSION = @PACKAGE_VERSION@
33241
PATH_SEPARATOR = @PATH_SEPARATOR@
33242
PKG_CONFIG = @PKG_CONFIG@
33243
diff -Naur '-x*config.guess' '-x*config.sub' orbit2-2.14.18.old/include/orbit/util/Makefile.in orbit2-2.14.18/include/orbit/util/Makefile.in
33244
--- orbit2-2.14.18.old/include/orbit/util/Makefile.in 2010-03-30 12:52:20.000000000 +0200
33245
+++ orbit2-2.14.18/include/orbit/util/Makefile.in 2010-04-08 12:32:06.958304248 +0200
33247
-# Makefile.in generated by automake 1.11 from Makefile.am.
33248
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
33249
# @configure_input@
33251
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
33252
@@ -165,6 +165,7 @@
33253
PACKAGE_NAME = @PACKAGE_NAME@
33254
PACKAGE_STRING = @PACKAGE_STRING@
33255
PACKAGE_TARNAME = @PACKAGE_TARNAME@
33256
+PACKAGE_URL = @PACKAGE_URL@
33257
PACKAGE_VERSION = @PACKAGE_VERSION@
33258
PATH_SEPARATOR = @PATH_SEPARATOR@
33259
PKG_CONFIG = @PKG_CONFIG@
33260
diff -Naur '-x*config.guess' '-x*config.sub' orbit2-2.14.18.old/linc2/include/linc/Makefile.in orbit2-2.14.18/linc2/include/linc/Makefile.in
33261
--- orbit2-2.14.18.old/linc2/include/linc/Makefile.in 2010-03-30 12:52:20.000000000 +0200
33262
+++ orbit2-2.14.18/linc2/include/linc/Makefile.in 2010-04-08 12:32:07.090304124 +0200
33264
-# Makefile.in generated by automake 1.11 from Makefile.am.
33265
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
33266
# @configure_input@
33268
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
33269
@@ -142,6 +142,7 @@
33270
PACKAGE_NAME = @PACKAGE_NAME@
33271
PACKAGE_STRING = @PACKAGE_STRING@
33272
PACKAGE_TARNAME = @PACKAGE_TARNAME@
33273
+PACKAGE_URL = @PACKAGE_URL@
33274
PACKAGE_VERSION = @PACKAGE_VERSION@
33275
PATH_SEPARATOR = @PATH_SEPARATOR@
33276
PKG_CONFIG = @PKG_CONFIG@
33277
diff -Naur '-x*config.guess' '-x*config.sub' orbit2-2.14.18.old/linc2/include/Makefile.in orbit2-2.14.18/linc2/include/Makefile.in
33278
--- orbit2-2.14.18.old/linc2/include/Makefile.in 2010-03-30 12:52:20.000000000 +0200
33279
+++ orbit2-2.14.18/linc2/include/Makefile.in 2010-04-08 12:32:07.050304280 +0200
33281
-# Makefile.in generated by automake 1.11 from Makefile.am.
33282
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
33283
# @configure_input@
33285
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
33286
@@ -178,6 +178,7 @@
33287
PACKAGE_NAME = @PACKAGE_NAME@
33288
PACKAGE_STRING = @PACKAGE_STRING@
33289
PACKAGE_TARNAME = @PACKAGE_TARNAME@
33290
+PACKAGE_URL = @PACKAGE_URL@
33291
PACKAGE_VERSION = @PACKAGE_VERSION@
33292
PATH_SEPARATOR = @PATH_SEPARATOR@
33293
PKG_CONFIG = @PKG_CONFIG@
33294
@@ -288,7 +289,7 @@
33295
# (which will cause the Makefiles to be regenerated when you run `make');
33296
# (2) otherwise, pass the desired values on the `make' command line.
33297
$(RECURSIVE_TARGETS):
33298
- @failcom='exit 1'; \
33299
+ @fail= failcom='exit 1'; \
33300
for f in x $$MAKEFLAGS; do \
33303
@@ -313,7 +314,7 @@
33304
fi; test -z "$$fail"
33306
$(RECURSIVE_CLEAN_TARGETS):
33307
- @failcom='exit 1'; \
33308
+ @fail= failcom='exit 1'; \
33309
for f in x $$MAKEFLAGS; do \
33312
diff -Naur '-x*config.guess' '-x*config.sub' orbit2-2.14.18.old/linc2/Makefile.in orbit2-2.14.18/linc2/Makefile.in
33313
--- orbit2-2.14.18.old/linc2/Makefile.in 2010-03-30 12:52:20.000000000 +0200
33314
+++ orbit2-2.14.18/linc2/Makefile.in 2010-04-08 12:32:07.002304116 +0200
33316
-# Makefile.in generated by automake 1.11 from Makefile.am.
33317
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
33318
# @configure_input@
33320
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
33321
@@ -179,6 +179,7 @@
33322
PACKAGE_NAME = @PACKAGE_NAME@
33323
PACKAGE_STRING = @PACKAGE_STRING@
33324
PACKAGE_TARNAME = @PACKAGE_TARNAME@
33325
+PACKAGE_URL = @PACKAGE_URL@
33326
PACKAGE_VERSION = @PACKAGE_VERSION@
33327
PATH_SEPARATOR = @PATH_SEPARATOR@
33328
PKG_CONFIG = @PKG_CONFIG@
33329
@@ -289,7 +290,7 @@
33330
# (which will cause the Makefiles to be regenerated when you run `make');
33331
# (2) otherwise, pass the desired values on the `make' command line.
33332
$(RECURSIVE_TARGETS):
33333
- @failcom='exit 1'; \
33334
+ @fail= failcom='exit 1'; \
33335
for f in x $$MAKEFLAGS; do \
33338
@@ -314,7 +315,7 @@
33339
fi; test -z "$$fail"
33341
$(RECURSIVE_CLEAN_TARGETS):
33342
- @failcom='exit 1'; \
33343
+ @fail= failcom='exit 1'; \
33344
for f in x $$MAKEFLAGS; do \
33347
diff -Naur '-x*config.guess' '-x*config.sub' orbit2-2.14.18.old/linc2/src/Makefile.in orbit2-2.14.18/linc2/src/Makefile.in
33348
--- orbit2-2.14.18.old/linc2/src/Makefile.in 2010-03-30 12:52:20.000000000 +0200
33349
+++ orbit2-2.14.18/linc2/src/Makefile.in 2010-04-08 12:32:07.242303740 +0200
33351
-# Makefile.in generated by automake 1.11 from Makefile.am.
33352
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
33353
# @configure_input@
33355
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
33356
@@ -173,6 +173,7 @@
33357
PACKAGE_NAME = @PACKAGE_NAME@
33358
PACKAGE_STRING = @PACKAGE_STRING@
33359
PACKAGE_TARNAME = @PACKAGE_TARNAME@
33360
+PACKAGE_URL = @PACKAGE_URL@
33361
PACKAGE_VERSION = @PACKAGE_VERSION@
33362
PATH_SEPARATOR = @PATH_SEPARATOR@
33363
PKG_CONFIG = @PKG_CONFIG@
33364
diff -Naur '-x*config.guess' '-x*config.sub' orbit2-2.14.18.old/linc2/test/Makefile.in orbit2-2.14.18/linc2/test/Makefile.in
33365
--- orbit2-2.14.18.old/linc2/test/Makefile.in 2010-03-30 12:52:20.000000000 +0200
33366
+++ orbit2-2.14.18/linc2/test/Makefile.in 2010-04-08 12:32:07.302304245 +0200
33368
-# Makefile.in generated by automake 1.11 from Makefile.am.
33369
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
33370
# @configure_input@
33372
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
33373
@@ -163,6 +163,7 @@
33374
PACKAGE_NAME = @PACKAGE_NAME@
33375
PACKAGE_STRING = @PACKAGE_STRING@
33376
PACKAGE_TARNAME = @PACKAGE_TARNAME@
33377
+PACKAGE_URL = @PACKAGE_URL@
33378
PACKAGE_VERSION = @PACKAGE_VERSION@
33379
PATH_SEPARATOR = @PATH_SEPARATOR@
33380
PKG_CONFIG = @PKG_CONFIG@
33381
diff -Naur '-x*config.guess' '-x*config.sub' orbit2-2.14.18.old/ltmain.sh orbit2-2.14.18/ltmain.sh
33382
--- orbit2-2.14.18.old/ltmain.sh 2010-03-30 12:52:14.000000000 +0200
33383
+++ orbit2-2.14.18/ltmain.sh 2010-04-08 12:31:59.742344594 +0200
33385
# Generated from ltmain.m4sh.
33387
-# ltmain.sh (GNU libtool) 2.2.6
33388
+# ltmain.sh (GNU libtool) 2.2.6b
33389
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
33391
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
1112
33392
@@ -65,7 +65,7 @@
1113
33393
# compiler: $LTCC
1114
33394
# compiler flags: $LTCFLAGS
1115
33395
# linker: $LD (gnu? $with_gnu_ld)
1116
33396
-# $progname: (GNU libtool) 2.2.6
1117
+# $progname: (GNU libtool) 2.2.6 Debian-2.2.6a-1
33397
+# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2
1118
33398
# automake: $automake_version
1119
33399
# autoconf: $autoconf_version
1123
33403
PROGRAM=ltmain.sh
1124
33404
PACKAGE=libtool
1125
33405
-VERSION=2.2.6
1126
+VERSION="2.2.6 Debian-2.2.6a-1"
33406
+VERSION="2.2.6b Debian-2.2.6b-2"
1128
package_revision=1.3012
33408
-package_revision=1.3012
33409
+package_revision=1.3017
33411
# Be Bourne compatible
33412
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33413
@@ -116,15 +116,15 @@
33417
-: ${EGREP="/usr/bin/grep -E"}
33418
-: ${FGREP="/usr/bin/grep -F"}
33419
-: ${GREP="/usr/bin/grep"}
33420
+: ${EGREP="/bin/grep -E"}
33421
+: ${FGREP="/bin/grep -F"}
33422
+: ${GREP="/bin/grep"}
33428
-: ${SED="/opt/local/bin/gsed"}
33429
+: ${SED="/bin/sed"}
33430
: ${SHELL="${CONFIG_SHELL-/bin/sh}"}
33431
: ${Xsed="$SED -e 1s/^X//"}
1130
33433
@@ -5033,7 +5033,10 @@