1 diff -pruN uptimed-0.3.13.orig/aclocal.m4 uptimed-0.3.13/aclocal.m4
2 --- uptimed-0.3.13.orig/aclocal.m4 1970-01-01 10:00:00.000000000 +1000
3 +++ uptimed-0.3.13/aclocal.m4 2008-12-19 03:11:33.713549932 +1100
4 @@ -0,0 +1,8835 @@
5 +# generated automatically by aclocal 1.10.2 -*- Autoconf -*-
6 +
7 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
8 +# 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 +# This file is free software; the Free Software Foundation
10 +# gives unlimited permission to copy and/or distribute it,
11 +# with or without modifications, as long as this notice is preserved.
12 +
13 +# This program is distributed in the hope that it will be useful,
14 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
15 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
16 +# PARTICULAR PURPOSE.
17 +
18 +m4_ifndef([AC_AUTOCONF_VERSION],
19 + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
20 +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
21 +[m4_warning([this file was generated for autoconf 2.63.
22 +You have another version of autoconf. It may work, but is not guaranteed to.
23 +If you have problems, you may need to regenerate the build system entirely.
24 +To do so, use the procedure documented by the package, typically `autoreconf'.])])
25 +
26 +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
27 +#
28 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
29 +# 2006, 2007, 2008 Free Software Foundation, Inc.
30 +# Written by Gordon Matzigkeit, 1996
31 +#
32 +# This file is free software; the Free Software Foundation gives
33 +# unlimited permission to copy and/or distribute it, with or without
34 +# modifications, as long as this notice is preserved.
35 +
36 +m4_define([_LT_COPYING], [dnl
37 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
38 +# 2006, 2007, 2008 Free Software Foundation, Inc.
39 +# Written by Gordon Matzigkeit, 1996
40 +#
41 +# This file is part of GNU Libtool.
42 +#
43 +# GNU Libtool is free software; you can redistribute it and/or
44 +# modify it under the terms of the GNU General Public License as
45 +# published by the Free Software Foundation; either version 2 of
46 +# the License, or (at your option) any later version.
47 +#
48 +# As a special exception to the GNU General Public License,
49 +# if you distribute this file as part of a program or library that
50 +# is built using GNU Libtool, you may include this file under the
51 +# same distribution terms that you use for the rest of that program.
52 +#
53 +# GNU Libtool is distributed in the hope that it will be useful,
54 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
55 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
56 +# GNU General Public License for more details.
57 +#
58 +# You should have received a copy of the GNU General Public License
59 +# along with GNU Libtool; see the file COPYING. If not, a copy
60 +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
61 +# obtained by writing to the Free Software Foundation, Inc.,
62 +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
63 +])
64 +
65 +# serial 56 LT_INIT
66 +
67 +
68 +# LT_PREREQ(VERSION)
69 +# ------------------
70 +# Complain and exit if this libtool version is less that VERSION.
71 +m4_defun([LT_PREREQ],
72 +[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
73 + [m4_default([$3],
74 + [m4_fatal([Libtool version $1 or higher is required],
75 + 63)])],
76 + [$2])])
77 +
78 +
79 +# _LT_CHECK_BUILDDIR
80 +# ------------------
81 +# Complain if the absolute build directory name contains unusual characters
82 +m4_defun([_LT_CHECK_BUILDDIR],
83 +[case `pwd` in
84 + *\ * | *\ *)
85 + AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
86 +esac
87 +])
88 +
89 +
90 +# LT_INIT([OPTIONS])
91 +# ------------------
92 +AC_DEFUN([LT_INIT],
93 +[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
94 +AC_BEFORE([$0], [LT_LANG])dnl
95 +AC_BEFORE([$0], [LT_OUTPUT])dnl
96 +AC_BEFORE([$0], [LTDL_INIT])dnl
97 +m4_require([_LT_CHECK_BUILDDIR])dnl
98 +
99 +dnl Autoconf doesn't catch unexpanded LT_ macros by default:
100 +m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
101 +m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
102 +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
103 +dnl unless we require an AC_DEFUNed macro:
104 +AC_REQUIRE([LTOPTIONS_VERSION])dnl
105 +AC_REQUIRE([LTSUGAR_VERSION])dnl
106 +AC_REQUIRE([LTVERSION_VERSION])dnl
107 +AC_REQUIRE([LTOBSOLETE_VERSION])dnl
108 +m4_require([_LT_PROG_LTMAIN])dnl
109 +
110 +dnl Parse OPTIONS
111 +_LT_SET_OPTIONS([$0], [$1])
112 +
113 +# This can be used to rebuild libtool when needed
114 +LIBTOOL_DEPS="$ltmain"
115 +
116 +# Always use our own libtool.
117 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
118 +AC_SUBST(LIBTOOL)dnl
119 +
120 +_LT_SETUP
121 +
122 +# Only expand once:
123 +m4_define([LT_INIT])
124 +])# LT_INIT
125 +
126 +# Old names:
127 +AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
128 +AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
129 +dnl aclocal-1.4 backwards compatibility:
130 +dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
131 +dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
132 +
133 +
134 +# _LT_CC_BASENAME(CC)
135 +# -------------------
136 +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
137 +m4_defun([_LT_CC_BASENAME],
138 +[for cc_temp in $1""; do
139 + case $cc_temp in
140 + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
141 + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
142 + \-*) ;;
143 + *) break;;
144 + esac
145 +done
146 +cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
147 +])
148 +
149 +
150 +# _LT_FILEUTILS_DEFAULTS
151 +# ----------------------
152 +# It is okay to use these file commands and assume they have been set
153 +# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
154 +m4_defun([_LT_FILEUTILS_DEFAULTS],
155 +[: ${CP="cp -f"}
156 +: ${MV="mv -f"}
157 +: ${RM="rm -f"}
158 +])# _LT_FILEUTILS_DEFAULTS
159 +
160 +
161 +# _LT_SETUP
162 +# ---------
163 +m4_defun([_LT_SETUP],
164 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
165 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
166 +_LT_DECL([], [host_alias], [0], [The host system])dnl
167 +_LT_DECL([], [host], [0])dnl
168 +_LT_DECL([], [host_os], [0])dnl
169 +dnl
170 +_LT_DECL([], [build_alias], [0], [The build system])dnl
171 +_LT_DECL([], [build], [0])dnl
172 +_LT_DECL([], [build_os], [0])dnl
173 +dnl
174 +AC_REQUIRE([AC_PROG_CC])dnl
175 +AC_REQUIRE([LT_PATH_LD])dnl
176 +AC_REQUIRE([LT_PATH_NM])dnl
177 +dnl
178 +AC_REQUIRE([AC_PROG_LN_S])dnl
179 +test -z "$LN_S" && LN_S="ln -s"
180 +_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
181 +dnl
182 +AC_REQUIRE([LT_CMD_MAX_LEN])dnl
183 +_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
184 +_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
185 +dnl
186 +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
187 +m4_require([_LT_CHECK_SHELL_FEATURES])dnl
188 +m4_require([_LT_CMD_RELOAD])dnl
189 +m4_require([_LT_CHECK_MAGIC_METHOD])dnl
190 +m4_require([_LT_CMD_OLD_ARCHIVE])dnl
191 +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
192 +
193 +_LT_CONFIG_LIBTOOL_INIT([
194 +# See if we are running on zsh, and set the options which allow our
195 +# commands through without removal of \ escapes INIT.
196 +if test -n "\${ZSH_VERSION+set}" ; then
197 + setopt NO_GLOB_SUBST
198 +fi
199 +])
200 +if test -n "${ZSH_VERSION+set}" ; then
201 + setopt NO_GLOB_SUBST
202 +fi
203 +
204 +_LT_CHECK_OBJDIR
205 +
206 +m4_require([_LT_TAG_COMPILER])dnl
207 +_LT_PROG_ECHO_BACKSLASH
208 +
209 +case $host_os in
210 +aix3*)
211 + # AIX sometimes has problems with the GCC collect2 program. For some
212 + # reason, if we set the COLLECT_NAMES environment variable, the problems
213 + # vanish in a puff of smoke.
214 + if test "X${COLLECT_NAMES+set}" != Xset; then
215 + COLLECT_NAMES=
216 + export COLLECT_NAMES
217 + fi
218 + ;;
219 +esac
220 +
221 +# Sed substitution that helps us do robust quoting. It backslashifies
222 +# metacharacters that are still active within double-quoted strings.
223 +sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
224 +
225 +# Same as above, but do not quote variable references.
226 +double_quote_subst='s/\([["`\\]]\)/\\\1/g'
227 +
228 +# Sed substitution to delay expansion of an escaped shell variable in a
229 +# double_quote_subst'ed string.
230 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
231 +
232 +# Sed substitution to delay expansion of an escaped single quote.
233 +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
234 +
235 +# Sed substitution to avoid accidental globbing in evaled expressions
236 +no_glob_subst='s/\*/\\\*/g'
237 +
238 +# Global variables:
239 +ofile=libtool
240 +can_build_shared=yes
241 +
242 +# All known linkers require a `.a' archive for static linking (except MSVC,
243 +# which needs '.lib').
244 +libext=a
245 +
246 +with_gnu_ld="$lt_cv_prog_gnu_ld"
247 +
248 +old_CC="$CC"
249 +old_CFLAGS="$CFLAGS"
250 +
251 +# Set sane defaults for various variables
252 +test -z "$CC" && CC=cc
253 +test -z "$LTCC" && LTCC=$CC
254 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
255 +test -z "$LD" && LD=ld
256 +test -z "$ac_objext" && ac_objext=o
257 +
258 +_LT_CC_BASENAME([$compiler])
259 +
260 +# Only perform the check for file, if the check method requires it
261 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
262 +case $deplibs_check_method in
263 +file_magic*)
264 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
265 + _LT_PATH_MAGIC
266 + fi
267 + ;;
268 +esac
269 +
270 +# Use C for the default configuration in the libtool script
271 +LT_SUPPORTED_TAG([CC])
272 +_LT_LANG_C_CONFIG
273 +_LT_LANG_DEFAULT_CONFIG
274 +_LT_CONFIG_COMMANDS
275 +])# _LT_SETUP
276 +
277 +
278 +# _LT_PROG_LTMAIN
279 +# ---------------
280 +# Note that this code is called both from `configure', and `config.status'
281 +# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
282 +# `config.status' has no value for ac_aux_dir unless we are using Automake,
283 +# so we pass a copy along to make sure it has a sensible value anyway.
284 +m4_defun([_LT_PROG_LTMAIN],
285 +[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
286 +_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
287 +ltmain="$ac_aux_dir/ltmain.sh"
288 +])# _LT_PROG_LTMAIN
289 +
290 +
291 +
292 +# So that we can recreate a full libtool script including additional
293 +# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
294 +# in macros and then make a single call at the end using the `libtool'
295 +# label.
296 +
297 +
298 +# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
299 +# ----------------------------------------
300 +# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
301 +m4_define([_LT_CONFIG_LIBTOOL_INIT],
302 +[m4_ifval([$1],
303 + [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
304 + [$1
305 +])])])
306 +
307 +# Initialize.
308 +m4_define([_LT_OUTPUT_LIBTOOL_INIT])
309 +
310 +
311 +# _LT_CONFIG_LIBTOOL([COMMANDS])
312 +# ------------------------------
313 +# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
314 +m4_define([_LT_CONFIG_LIBTOOL],
315 +[m4_ifval([$1],
316 + [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
317 + [$1
318 +])])])
319 +
320 +# Initialize.
321 +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
322 +
323 +
324 +# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
325 +# -----------------------------------------------------
326 +m4_defun([_LT_CONFIG_SAVE_COMMANDS],
327 +[_LT_CONFIG_LIBTOOL([$1])
328 +_LT_CONFIG_LIBTOOL_INIT([$2])
329 +])
330 +
331 +
332 +# _LT_FORMAT_COMMENT([COMMENT])
333 +# -----------------------------
334 +# Add leading comment marks to the start of each line, and a trailing
335 +# full-stop to the whole comment if one is not present already.
336 +m4_define([_LT_FORMAT_COMMENT],
337 +[m4_ifval([$1], [
338 +m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
339 + [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
340 +)])
341 +
342 +
343 +
344 +
345 +
346 +# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
347 +# -------------------------------------------------------------------
348 +# CONFIGNAME is the name given to the value in the libtool script.
349 +# VARNAME is the (base) name used in the configure script.
350 +# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
351 +# VARNAME. Any other value will be used directly.
352 +m4_define([_LT_DECL],
353 +[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
354 + [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
355 + [m4_ifval([$1], [$1], [$2])])
356 + lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
357 + m4_ifval([$4],
358 + [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
359 + lt_dict_add_subkey([lt_decl_dict], [$2],
360 + [tagged?], [m4_ifval([$5], [yes], [no])])])
361 +])
362 +
363 +
364 +# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
365 +# --------------------------------------------------------
366 +m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
367 +
368 +
369 +# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
370 +# ------------------------------------------------
371 +m4_define([lt_decl_tag_varnames],
372 +[_lt_decl_filter([tagged?], [yes], $@)])
373 +
374 +
375 +# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
376 +# ---------------------------------------------------------
377 +m4_define([_lt_decl_filter],
378 +[m4_case([$#],
379 + [0], [m4_fatal([$0: too few arguments: $#])],
380 + [1], [m4_fatal([$0: too few arguments: $#: $1])],
381 + [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
382 + [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
383 + [lt_dict_filter([lt_decl_dict], $@)])[]dnl
384 +])
385 +
386 +
387 +# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
388 +# --------------------------------------------------
389 +m4_define([lt_decl_quote_varnames],
390 +[_lt_decl_filter([value], [1], $@)])
391 +
392 +
393 +# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
394 +# ---------------------------------------------------
395 +m4_define([lt_decl_dquote_varnames],
396 +[_lt_decl_filter([value], [2], $@)])
397 +
398 +
399 +# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
400 +# ---------------------------------------------------
401 +m4_define([lt_decl_varnames_tagged],
402 +[m4_assert([$# <= 2])dnl
403 +_$0(m4_quote(m4_default([$1], [[, ]])),
404 + m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
405 + m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
406 +m4_define([_lt_decl_varnames_tagged],
407 +[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
408 +
409 +
410 +# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
411 +# ------------------------------------------------
412 +m4_define([lt_decl_all_varnames],
413 +[_$0(m4_quote(m4_default([$1], [[, ]])),
414 + m4_if([$2], [],
415 + m4_quote(lt_decl_varnames),
416 + m4_quote(m4_shift($@))))[]dnl
417 +])
418 +m4_define([_lt_decl_all_varnames],
419 +[lt_join($@, lt_decl_varnames_tagged([$1],
420 + lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
421 +])
422 +
423 +
424 +# _LT_CONFIG_STATUS_DECLARE([VARNAME])
425 +# ------------------------------------
426 +# Quote a variable value, and forward it to `config.status' so that its
427 +# declaration there will have the same value as in `configure'. VARNAME
428 +# must have a single quote delimited value for this to work.
429 +m4_define([_LT_CONFIG_STATUS_DECLARE],
430 +[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
431 +
432 +
433 +# _LT_CONFIG_STATUS_DECLARATIONS
434 +# ------------------------------
435 +# We delimit libtool config variables with single quotes, so when
436 +# we write them to config.status, we have to be sure to quote all
437 +# embedded single quotes properly. In configure, this macro expands
438 +# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
439 +#
440 +# <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
441 +m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
442 +[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
443 + [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
444 +
445 +
446 +# _LT_LIBTOOL_TAGS
447 +# ----------------
448 +# Output comment and list of tags supported by the script
449 +m4_defun([_LT_LIBTOOL_TAGS],
450 +[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
451 +available_tags="_LT_TAGS"dnl
452 +])
453 +
454 +
455 +# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
456 +# -----------------------------------
457 +# Extract the dictionary values for VARNAME (optionally with TAG) and
458 +# expand to a commented shell variable setting:
459 +#
460 +# # Some comment about what VAR is for.
461 +# visible_name=$lt_internal_name
462 +m4_define([_LT_LIBTOOL_DECLARE],
463 +[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
464 + [description])))[]dnl
465 +m4_pushdef([_libtool_name],
466 + m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
467 +m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
468 + [0], [_libtool_name=[$]$1],
469 + [1], [_libtool_name=$lt_[]$1],
470 + [2], [_libtool_name=$lt_[]$1],
471 + [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
472 +m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
473 +])
474 +
475 +
476 +# _LT_LIBTOOL_CONFIG_VARS
477 +# -----------------------
478 +# Produce commented declarations of non-tagged libtool config variables
479 +# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
480 +# script. Tagged libtool config variables (even for the LIBTOOL CONFIG
481 +# section) are produced by _LT_LIBTOOL_TAG_VARS.
482 +m4_defun([_LT_LIBTOOL_CONFIG_VARS],
483 +[m4_foreach([_lt_var],
484 + m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
485 + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
486 +
487 +
488 +# _LT_LIBTOOL_TAG_VARS(TAG)
489 +# -------------------------
490 +m4_define([_LT_LIBTOOL_TAG_VARS],
491 +[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
492 + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
493 +
494 +
495 +# _LT_TAGVAR(VARNAME, [TAGNAME])
496 +# ------------------------------
497 +m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
498 +
499 +
500 +# _LT_CONFIG_COMMANDS
501 +# -------------------
502 +# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
503 +# variables for single and double quote escaping we saved from calls
504 +# to _LT_DECL, we can put quote escaped variables declarations
505 +# into `config.status', and then the shell code to quote escape them in
506 +# for loops in `config.status'. Finally, any additional code accumulated
507 +# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
508 +m4_defun([_LT_CONFIG_COMMANDS],
509 +[AC_PROVIDE_IFELSE([LT_OUTPUT],
510 + dnl If the libtool generation code has been placed in $CONFIG_LT,
511 + dnl instead of duplicating it all over again into config.status,
512 + dnl then we will have config.status run $CONFIG_LT later, so it
513 + dnl needs to know what name is stored there:
514 + [AC_CONFIG_COMMANDS([libtool],
515 + [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
516 + dnl If the libtool generation code is destined for config.status,
517 + dnl expand the accumulated commands and init code now:
518 + [AC_CONFIG_COMMANDS([libtool],
519 + [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
520 +])#_LT_CONFIG_COMMANDS
521 +
522 +
523 +# Initialize.
524 +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
525 +[
526 +
527 +# The HP-UX ksh and POSIX shell print the target directory to stdout
528 +# if CDPATH is set.
529 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
530 +
531 +sed_quote_subst='$sed_quote_subst'
532 +double_quote_subst='$double_quote_subst'
533 +delay_variable_subst='$delay_variable_subst'
534 +_LT_CONFIG_STATUS_DECLARATIONS
535 +LTCC='$LTCC'
536 +LTCFLAGS='$LTCFLAGS'
537 +compiler='$compiler_DEFAULT'
538 +
539 +# Quote evaled strings.
540 +for var in lt_decl_all_varnames([[ \
541 +]], lt_decl_quote_varnames); do
542 + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
543 + *[[\\\\\\\`\\"\\\$]]*)
544 + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
545 + ;;
546 + *)
547 + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
548 + ;;
549 + esac
550 +done
551 +
552 +# Double-quote double-evaled strings.
553 +for var in lt_decl_all_varnames([[ \
554 +]], lt_decl_dquote_varnames); do
555 + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
556 + *[[\\\\\\\`\\"\\\$]]*)
557 + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
558 + ;;
559 + *)
560 + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
561 + ;;
562 + esac
563 +done
564 +
565 +# Fix-up fallback echo if it was mangled by the above quoting rules.
566 +case \$lt_ECHO in
567 +*'\\\[$]0 --fallback-echo"')dnl "
568 + lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
569 + ;;
570 +esac
571 +
572 +_LT_OUTPUT_LIBTOOL_INIT
573 +])
574 +
575 +
576 +# LT_OUTPUT
577 +# ---------
578 +# This macro allows early generation of the libtool script (before
579 +# AC_OUTPUT is called), incase it is used in configure for compilation
580 +# tests.
581 +AC_DEFUN([LT_OUTPUT],
582 +[: ${CONFIG_LT=./config.lt}
583 +AC_MSG_NOTICE([creating $CONFIG_LT])
584 +cat >"$CONFIG_LT" <<_LTEOF
585 +#! $SHELL
586 +# Generated by $as_me.
587 +# Run this file to recreate a libtool stub with the current configuration.
588 +
589 +lt_cl_silent=false
590 +SHELL=\${CONFIG_SHELL-$SHELL}
591 +_LTEOF
592 +
593 +cat >>"$CONFIG_LT" <<\_LTEOF
594 +AS_SHELL_SANITIZE
595 +_AS_PREPARE
596 +
597 +exec AS_MESSAGE_FD>&1
598 +exec AS_MESSAGE_LOG_FD>>config.log
599 +{
600 + echo
601 + AS_BOX([Running $as_me.])
602 +} >&AS_MESSAGE_LOG_FD
603 +
604 +lt_cl_help="\
605 +\`$as_me' creates a local libtool stub from the current configuration,
606 +for use in further configure time tests before the real libtool is
607 +generated.
608 +
609 +Usage: $[0] [[OPTIONS]]
610 +
611 + -h, --help print this help, then exit
612 + -V, --version print version number, then exit
613 + -q, --quiet do not print progress messages
614 + -d, --debug don't remove temporary files
615 +
616 +Report bugs to <bug-libtool@gnu.org>."
617 +
618 +lt_cl_version="\
619 +m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
620 +m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
621 +configured by $[0], generated by m4_PACKAGE_STRING.
622 +
623 +Copyright (C) 2008 Free Software Foundation, Inc.
624 +This config.lt script is free software; the Free Software Foundation
625 +gives unlimited permision to copy, distribute and modify it."
626 +
627 +while test $[#] != 0
628 +do
629 + case $[1] in
630 + --version | --v* | -V )
631 + echo "$lt_cl_version"; exit 0 ;;
632 + --help | --h* | -h )
633 + echo "$lt_cl_help"; exit 0 ;;
634 + --debug | --d* | -d )
635 + debug=: ;;
636 + --quiet | --q* | --silent | --s* | -q )
637 + lt_cl_silent=: ;;
638 +
639 + -*) AC_MSG_ERROR([unrecognized option: $[1]
640 +Try \`$[0] --help' for more information.]) ;;
641 +
642 + *) AC_MSG_ERROR([unrecognized argument: $[1]
643 +Try \`$[0] --help' for more information.]) ;;
644 + esac
645 + shift
646 +done
647 +
648 +if $lt_cl_silent; then
649 + exec AS_MESSAGE_FD>/dev/null
650 +fi
651 +_LTEOF
652 +
653 +cat >>"$CONFIG_LT" <<_LTEOF
654 +_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
655 +_LTEOF
656 +
657 +cat >>"$CONFIG_LT" <<\_LTEOF
658 +AC_MSG_NOTICE([creating $ofile])
659 +_LT_OUTPUT_LIBTOOL_COMMANDS
660 +AS_EXIT(0)
661 +_LTEOF
662 +chmod +x "$CONFIG_LT"
663 +
664 +# configure is writing to config.log, but config.lt does its own redirection,
665 +# appending to config.log, which fails on DOS, as config.log is still kept
666 +# open by configure. Here we exec the FD to /dev/null, effectively closing
667 +# config.log, so it can be properly (re)opened and appended to by config.lt.
668 +if test "$no_create" != yes; then
669 + lt_cl_success=:
670 + test "$silent" = yes &&
671 + lt_config_lt_args="$lt_config_lt_args --quiet"
672 + exec AS_MESSAGE_LOG_FD>/dev/null
673 + $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
674 + exec AS_MESSAGE_LOG_FD>>config.log
675 + $lt_cl_success || AS_EXIT(1)
676 +fi
677 +])# LT_OUTPUT
678 +
679 +
680 +# _LT_CONFIG(TAG)
681 +# ---------------
682 +# If TAG is the built-in tag, create an initial libtool script with a
683 +# default configuration from the untagged config vars. Otherwise add code
684 +# to config.status for appending the configuration named by TAG from the
685 +# matching tagged config vars.
686 +m4_defun([_LT_CONFIG],
687 +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
688 +_LT_CONFIG_SAVE_COMMANDS([
689 + m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
690 + m4_if(_LT_TAG, [C], [
691 + # See if we are running on zsh, and set the options which allow our
692 + # commands through without removal of \ escapes.
693 + if test -n "${ZSH_VERSION+set}" ; then
694 + setopt NO_GLOB_SUBST
695 + fi
696 +
697 + cfgfile="${ofile}T"
698 + trap "$RM \"$cfgfile\"; exit 1" 1 2 15
699 + $RM "$cfgfile"
700 +
701 + cat <<_LT_EOF >> "$cfgfile"
702 +#! $SHELL
703 +
704 +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
705 +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
706 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
707 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
708 +#
709 +_LT_COPYING
710 +_LT_LIBTOOL_TAGS
711 +
712 +# ### BEGIN LIBTOOL CONFIG
713 +_LT_LIBTOOL_CONFIG_VARS
714 +_LT_LIBTOOL_TAG_VARS
715 +# ### END LIBTOOL CONFIG
716 +
717 +_LT_EOF
718 +
719 + case $host_os in
720 + aix3*)
721 + cat <<\_LT_EOF >> "$cfgfile"
722 +# AIX sometimes has problems with the GCC collect2 program. For some
723 +# reason, if we set the COLLECT_NAMES environment variable, the problems
724 +# vanish in a puff of smoke.
725 +if test "X${COLLECT_NAMES+set}" != Xset; then
726 + COLLECT_NAMES=
727 + export COLLECT_NAMES
728 +fi
729 +_LT_EOF
730 + ;;
731 + esac
732 +
733 + _LT_PROG_LTMAIN
734 +
735 + # We use sed instead of cat because bash on DJGPP gets confused if
736 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
737 + # text mode, it properly converts lines to CR/LF. This bash problem
738 + # is reportedly fixed, but why not run on old versions too?
739 + sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
740 + || (rm -f "$cfgfile"; exit 1)
741 +
742 + _LT_PROG_XSI_SHELLFNS
743 +
744 + sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
745 + || (rm -f "$cfgfile"; exit 1)
746 +
747 + mv -f "$cfgfile" "$ofile" ||
748 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
749 + chmod +x "$ofile"
750 +],
751 +[cat <<_LT_EOF >> "$ofile"
752 +
753 +dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
754 +dnl in a comment (ie after a #).
755 +# ### BEGIN LIBTOOL TAG CONFIG: $1
756 +_LT_LIBTOOL_TAG_VARS(_LT_TAG)
757 +# ### END LIBTOOL TAG CONFIG: $1
758 +_LT_EOF
759 +])dnl /m4_if
760 +],
761 +[m4_if([$1], [], [
762 + PACKAGE='$PACKAGE'
763 + VERSION='$VERSION'
764 + TIMESTAMP='$TIMESTAMP'
765 + RM='$RM'
766 + ofile='$ofile'], [])
767 +])dnl /_LT_CONFIG_SAVE_COMMANDS
768 +])# _LT_CONFIG
769 +
770 +
771 +# LT_SUPPORTED_TAG(TAG)
772 +# ---------------------
773 +# Trace this macro to discover what tags are supported by the libtool
774 +# --tag option, using:
775 +# autoconf --trace 'LT_SUPPORTED_TAG:$1'
776 +AC_DEFUN([LT_SUPPORTED_TAG], [])
777 +
778 +
779 +# C support is built-in for now
780 +m4_define([_LT_LANG_C_enabled], [])
781 +m4_define([_LT_TAGS], [])
782 +
783 +
784 +# LT_LANG(LANG)
785 +# -------------
786 +# Enable libtool support for the given language if not already enabled.
787 +AC_DEFUN([LT_LANG],
788 +[AC_BEFORE([$0], [LT_OUTPUT])dnl
789 +m4_case([$1],
790 + [C], [_LT_LANG(C)],
791 + [C++], [_LT_LANG(CXX)],
792 + [Java], [_LT_LANG(GCJ)],
793 + [Fortran 77], [_LT_LANG(F77)],
794 + [Fortran], [_LT_LANG(FC)],
795 + [Windows Resource], [_LT_LANG(RC)],
796 + [m4_ifdef([_LT_LANG_]$1[_CONFIG],
797 + [_LT_LANG($1)],
798 + [m4_fatal([$0: unsupported language: "$1"])])])dnl
799 +])# LT_LANG
800 +
801 +
802 +# _LT_LANG(LANGNAME)
803 +# ------------------
804 +m4_defun([_LT_LANG],
805 +[m4_ifdef([_LT_LANG_]$1[_enabled], [],
806 + [LT_SUPPORTED_TAG([$1])dnl
807 + m4_append([_LT_TAGS], [$1 ])dnl
808 + m4_define([_LT_LANG_]$1[_enabled], [])dnl
809 + _LT_LANG_$1_CONFIG($1)])dnl
810 +])# _LT_LANG
811 +
812 +
813 +# _LT_LANG_DEFAULT_CONFIG
814 +# -----------------------
815 +m4_defun([_LT_LANG_DEFAULT_CONFIG],
816 +[AC_PROVIDE_IFELSE([AC_PROG_CXX],
817 + [LT_LANG(CXX)],
818 + [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
819 +
820 +AC_PROVIDE_IFELSE([AC_PROG_F77],
821 + [LT_LANG(F77)],
822 + [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
823 +
824 +AC_PROVIDE_IFELSE([AC_PROG_FC],
825 + [LT_LANG(FC)],
826 + [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
827 +
828 +dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
829 +dnl pulling things in needlessly.
830 +AC_PROVIDE_IFELSE([AC_PROG_GCJ],
831 + [LT_LANG(GCJ)],
832 + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
833 + [LT_LANG(GCJ)],
834 + [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
835 + [LT_LANG(GCJ)],
836 + [m4_ifdef([AC_PROG_GCJ],
837 + [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
838 + m4_ifdef([A][M_PROG_GCJ],
839 + [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
840 + m4_ifdef([LT_PROG_GCJ],
841 + [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
842 +
843 +AC_PROVIDE_IFELSE([LT_PROG_RC],
844 + [LT_LANG(RC)],
845 + [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
846 +])# _LT_LANG_DEFAULT_CONFIG
847 +
848 +# Obsolete macros:
849 +AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
850 +AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
851 +AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
852 +AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
853 +dnl aclocal-1.4 backwards compatibility:
854 +dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
855 +dnl AC_DEFUN([AC_LIBTOOL_F77], [])
856 +dnl AC_DEFUN([AC_LIBTOOL_FC], [])
857 +dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
858 +
859 +
860 +# _LT_TAG_COMPILER
861 +# ----------------
862 +m4_defun([_LT_TAG_COMPILER],
863 +[AC_REQUIRE([AC_PROG_CC])dnl
864 +
865 +_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
866 +_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
867 +_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
868 +_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
869 +
870 +# If no C compiler was specified, use CC.
871 +LTCC=${LTCC-"$CC"}
872 +
873 +# If no C compiler flags were specified, use CFLAGS.
874 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
875 +
876 +# Allow CC to be a program name with arguments.
877 +compiler=$CC
878 +])# _LT_TAG_COMPILER
879 +
880 +
881 +# _LT_COMPILER_BOILERPLATE
882 +# ------------------------
883 +# Check for compiler boilerplate output or warnings with
884 +# the simple compiler test code.
885 +m4_defun([_LT_COMPILER_BOILERPLATE],
886 +[m4_require([_LT_DECL_SED])dnl
887 +ac_outfile=conftest.$ac_objext
888 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
889 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
890 +_lt_compiler_boilerplate=`cat conftest.err`
891 +$RM conftest*
892 +])# _LT_COMPILER_BOILERPLATE
893 +
894 +
895 +# _LT_LINKER_BOILERPLATE
896 +# ----------------------
897 +# Check for linker boilerplate output or warnings with
898 +# the simple link test code.
899 +m4_defun([_LT_LINKER_BOILERPLATE],
900 +[m4_require([_LT_DECL_SED])dnl
901 +ac_outfile=conftest.$ac_objext
902 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
903 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
904 +_lt_linker_boilerplate=`cat conftest.err`
905 +$RM -r conftest*
906 +])# _LT_LINKER_BOILERPLATE
907 +
908 +# _LT_REQUIRED_DARWIN_CHECKS
909 +# -------------------------
910 +m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
911 + case $host_os in
912 + rhapsody* | darwin*)
913 + AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
914 + AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
915 + AC_CHECK_TOOL([LIPO], [lipo], [:])
916 + AC_CHECK_TOOL([OTOOL], [otool], [:])
917 + AC_CHECK_TOOL([OTOOL64], [otool64], [:])
918 + _LT_DECL([], [DSYMUTIL], [1],
919 + [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
920 + _LT_DECL([], [NMEDIT], [1],
921 + [Tool to change global to local symbols on Mac OS X])
922 + _LT_DECL([], [LIPO], [1],
923 + [Tool to manipulate fat objects and archives on Mac OS X])
924 + _LT_DECL([], [OTOOL], [1],
925 + [ldd/readelf like tool for Mach-O binaries on Mac OS X])
926 + _LT_DECL([], [OTOOL64], [1],
927 + [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
928 +
929 + AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
930 + [lt_cv_apple_cc_single_mod=no
931 + if test -z "${LT_MULTI_MODULE}"; then
932 + # By default we will add the -single_module flag. You can override
933 + # by either setting the environment variable LT_MULTI_MODULE
934 + # non-empty at configure time, or by adding -multi_module to the
935 + # link flags.
936 + rm -rf libconftest.dylib*
937 + echo "int foo(void){return 1;}" > conftest.c
938 + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
939 +-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
940 + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
941 + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
942 + _lt_result=$?
943 + if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
944 + lt_cv_apple_cc_single_mod=yes
945 + else
946 + cat conftest.err >&AS_MESSAGE_LOG_FD
947 + fi
948 + rm -rf libconftest.dylib*
949 + rm -f conftest.*
950 + fi])
951 + AC_CACHE_CHECK([for -exported_symbols_list linker flag],
952 + [lt_cv_ld_exported_symbols_list],
953 + [lt_cv_ld_exported_symbols_list=no
954 + save_LDFLAGS=$LDFLAGS
955 + echo "_main" > conftest.sym
956 + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
957 + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
958 + [lt_cv_ld_exported_symbols_list=yes],
959 + [lt_cv_ld_exported_symbols_list=no])
960 + LDFLAGS="$save_LDFLAGS"
961 + ])
962 + case $host_os in
963 + rhapsody* | darwin1.[[012]])
964 + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
965 + darwin1.*)
966 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
967 + darwin*) # darwin 5.x on
968 + # if running on 10.5 or later, the deployment target defaults
969 + # to the OS version, if on x86, and 10.4, the deployment
970 + # target defaults to 10.4. Don't you love it?
971 + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
972 + 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
973 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
974 + 10.[[012]]*)
975 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
976 + 10.*)
977 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
978 + esac
979 + ;;
980 + esac
981 + if test "$lt_cv_apple_cc_single_mod" = "yes"; then
982 + _lt_dar_single_mod='$single_module'
983 + fi
984 + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
985 + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
986 + else
987 + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
988 + fi
989 + if test "$DSYMUTIL" != ":"; then
990 + _lt_dsymutil='~$DSYMUTIL $lib || :'
991 + else
992 + _lt_dsymutil=
993 + fi
994 + ;;
995 + esac
996 +])
997 +
998 +
999 +# _LT_DARWIN_LINKER_FEATURES
1000 +# --------------------------
1001 +# Checks for linker and compiler features on darwin
1002 +m4_defun([_LT_DARWIN_LINKER_FEATURES],
1003 +[
1004 + m4_require([_LT_REQUIRED_DARWIN_CHECKS])
1005 + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
1006 + _LT_TAGVAR(hardcode_direct, $1)=no
1007 + _LT_TAGVAR(hardcode_automatic, $1)=yes
1008 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1009 + _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1010 + _LT_TAGVAR(link_all_deplibs, $1)=yes
1011 + _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
1012 + case $cc_basename in
1013 + ifort*) _lt_dar_can_shared=yes ;;
1014 + *) _lt_dar_can_shared=$GCC ;;
1015 + esac
1016 + if test "$_lt_dar_can_shared" = "yes"; then
1017 + output_verbose_link_cmd=echo
1018 + _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}"
1019 + _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
1020 + _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}"
1021 + _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}"
1022 + m4_if([$1], [CXX],
1023 +[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then
1024 + _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}"
1025 + _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}"
1026 + fi
1027 +],[])
1028 + else
1029 + _LT_TAGVAR(ld_shlibs, $1)=no
1030 + fi
1031 +])
1032 +
1033 +# _LT_SYS_MODULE_PATH_AIX
1034 +# -----------------------
1035 +# Links a minimal program and checks the executable
1036 +# for the system default hardcoded library path. In most cases,
1037 +# this is /usr/lib:/lib, but when the MPI compilers are used
1038 +# the location of the communication and MPI libs are included too.
1039 +# If we don't find anything, use the default library path according
1040 +# to the aix ld manual.
1041 +m4_defun([_LT_SYS_MODULE_PATH_AIX],
1042 +[m4_require([_LT_DECL_SED])dnl
1043 +AC_LINK_IFELSE(AC_LANG_PROGRAM,[
1044 +lt_aix_libpath_sed='
1045 + /Import File Strings/,/^$/ {
1046 + /^0/ {
1047 + s/^0 *\(.*\)$/\1/
1048 + p
1049 + }
1050 + }'
1051 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1052 +# Check for a 64-bit object if we didn't find anything.
1053 +if test -z "$aix_libpath"; then
1054 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1055 +fi],[])
1056 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1057 +])# _LT_SYS_MODULE_PATH_AIX
1058 +
1059 +
1060 +# _LT_SHELL_INIT(ARG)
1061 +# -------------------
1062 +m4_define([_LT_SHELL_INIT],
1063 +[ifdef([AC_DIVERSION_NOTICE],
1064 + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
1065 + [AC_DIVERT_PUSH(NOTICE)])
1066 +$1
1067 +AC_DIVERT_POP
1068 +])# _LT_SHELL_INIT
1069 +
1070 +
1071 +# _LT_PROG_ECHO_BACKSLASH
1072 +# -----------------------
1073 +# Add some code to the start of the generated configure script which
1074 +# will find an echo command which doesn't interpret backslashes.
1075 +m4_defun([_LT_PROG_ECHO_BACKSLASH],
1076 +[_LT_SHELL_INIT([
1077 +# Check that we are running under the correct shell.
1078 +SHELL=${CONFIG_SHELL-/bin/sh}
1079 +
1080 +case X$lt_ECHO in
1081 +X*--fallback-echo)
1082 + # Remove one level of quotation (which was required for Make).
1083 + ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
1084 + ;;
1085 +esac
1086 +
1087 +ECHO=${lt_ECHO-echo}
1088 +if test "X[$]1" = X--no-reexec; then
1089 + # Discard the --no-reexec flag, and continue.
1090 + shift
1091 +elif test "X[$]1" = X--fallback-echo; then
1092 + # Avoid inline document here, it may be left over
1093 + :
1094 +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
1095 + # Yippee, $ECHO works!
1096 + :
1097 +else
1098 + # Restart under the correct shell.
1099 + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
1100 +fi
1101 +
1102 +if test "X[$]1" = X--fallback-echo; then
1103 + # used as fallback echo
1104 + shift
1105 + cat <<_LT_EOF
1106 +[$]*
1107 +_LT_EOF
1108 + exit 0
1109 +fi
1110 +
1111 +# The HP-UX ksh and POSIX shell print the target directory to stdout
1112 +# if CDPATH is set.
1113 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1114 +
1115 +if test -z "$lt_ECHO"; then
1116 + if test "X${echo_test_string+set}" != Xset; then
1117 + # find a string as large as possible, as long as the shell can cope with it
1118 + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
1119 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
1120 + if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
1121 + { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
1122 + then
1123 + break
1124 + fi
1125 + done
1126 + fi
1127 +
1128 + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
1129 + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
1130 + test "X$echo_testing_string" = "X$echo_test_string"; then
1131 + :
1132 + else
1133 + # The Solaris, AIX, and Digital Unix default echo programs unquote
1134 + # backslashes. This makes it impossible to quote backslashes using
1135 + # echo "$something" | sed 's/\\/\\\\/g'
1136 + #
1137 + # So, first we look for a working echo in the user's PATH.
1138 +
1139 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1140 + for dir in $PATH /usr/ucb; do
1141 + IFS="$lt_save_ifs"
1142 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
1143 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
1144 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
1145 + test "X$echo_testing_string" = "X$echo_test_string"; then
1146 + ECHO="$dir/echo"
1147 + break
1148 + fi
1149 + done
1150 + IFS="$lt_save_ifs"
1151 +
1152 + if test "X$ECHO" = Xecho; then
1153 + # We didn't find a better echo, so look for alternatives.
1154 + if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
1155 + echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
1156 + test "X$echo_testing_string" = "X$echo_test_string"; then
1157 + # This shell has a builtin print -r that does the trick.
1158 + ECHO='print -r'
1159 + elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
1160 + test "X$CONFIG_SHELL" != X/bin/ksh; then
1161 + # If we have ksh, try running configure again with it.
1162 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
1163 + export ORIGINAL_CONFIG_SHELL
1164 + CONFIG_SHELL=/bin/ksh
1165 + export CONFIG_SHELL
1166 + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
1167 + else
1168 + # Try using printf.
1169 + ECHO='printf %s\n'
1170 + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
1171 + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
1172 + test "X$echo_testing_string" = "X$echo_test_string"; then
1173 + # Cool, printf works
1174 + :
1175 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1176 + test "X$echo_testing_string" = 'X\t' &&
1177 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1178 + test "X$echo_testing_string" = "X$echo_test_string"; then
1179 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
1180 + export CONFIG_SHELL
1181 + SHELL="$CONFIG_SHELL"
1182 + export SHELL
1183 + ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
1184 + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1185 + test "X$echo_testing_string" = 'X\t' &&
1186 + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1187 + test "X$echo_testing_string" = "X$echo_test_string"; then
1188 + ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
1189 + else
1190 + # maybe with a smaller string...
1191 + prev=:
1192 +
1193 + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
1194 + if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
1195 + then
1196 + break
1197 + fi
1198 + prev="$cmd"
1199 + done
1200 +
1201 + if test "$prev" != 'sed 50q "[$]0"'; then
1202 + echo_test_string=`eval $prev`
1203 + export echo_test_string
1204 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
1205 + else
1206 + # Oops. We lost completely, so just stick with echo.
1207 + ECHO=echo
1208 + fi
1209 + fi
1210 + fi
1211 + fi
1212 + fi
1213 +fi
1214 +
1215 +# Copy echo and quote the copy suitably for passing to libtool from
1216 +# the Makefile, instead of quoting the original, which is used later.
1217 +lt_ECHO=$ECHO
1218 +if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
1219 + lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
1220 +fi
1221 +
1222 +AC_SUBST(lt_ECHO)
1223 +])
1224 +_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
1225 +_LT_DECL([], [ECHO], [1],
1226 + [An echo program that does not interpret backslashes])
1227 +])# _LT_PROG_ECHO_BACKSLASH
1228 +
1229 +
1230 +# _LT_ENABLE_LOCK
1231 +# ---------------
1232 +m4_defun([_LT_ENABLE_LOCK],
1233 +[AC_ARG_ENABLE([libtool-lock],
1234 + [AS_HELP_STRING([--disable-libtool-lock],
1235 + [avoid locking (might break parallel builds)])])
1236 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1237 +
1238 +# Some flags need to be propagated to the compiler or linker for good
1239 +# libtool support.
1240 +case $host in
1241 +ia64-*-hpux*)
1242 + # Find out which ABI we are using.
1243 + echo 'int i;' > conftest.$ac_ext
1244 + if AC_TRY_EVAL(ac_compile); then
1245 + case `/usr/bin/file conftest.$ac_objext` in
1246 + *ELF-32*)
1247 + HPUX_IA64_MODE="32"
1248 + ;;
1249 + *ELF-64*)
1250 + HPUX_IA64_MODE="64"
1251 + ;;
1252 + esac
1253 + fi
1254 + rm -rf conftest*
1255 + ;;
1256 +*-*-irix6*)
1257 + # Find out which ABI we are using.
1258 + echo '[#]line __oline__ "configure"' > conftest.$ac_ext
1259 + if AC_TRY_EVAL(ac_compile); then
1260 + if test "$lt_cv_prog_gnu_ld" = yes; then
1261 + case `/usr/bin/file conftest.$ac_objext` in
1262 + *32-bit*)
1263 + LD="${LD-ld} -melf32bsmip"
1264 + ;;
1265 + *N32*)
1266 + LD="${LD-ld} -melf32bmipn32"
1267 + ;;
1268 + *64-bit*)
1269 + LD="${LD-ld} -melf64bmip"
1270 + ;;
1271 + esac
1272 + else
1273 + case `/usr/bin/file conftest.$ac_objext` in
1274 + *32-bit*)
1275 + LD="${LD-ld} -32"
1276 + ;;
1277 + *N32*)
1278 + LD="${LD-ld} -n32"
1279 + ;;
1280 + *64-bit*)
1281 + LD="${LD-ld} -64"
1282 + ;;
1283 + esac
1284 + fi
1285 + fi
1286 + rm -rf conftest*
1287 + ;;
1288 +
1289 +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
1290 +s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1291 + # Find out which ABI we are using.
1292 + echo 'int i;' > conftest.$ac_ext
1293 + if AC_TRY_EVAL(ac_compile); then
1294 + case `/usr/bin/file conftest.o` in
1295 + *32-bit*)
1296 + case $host in
1297 + x86_64-*kfreebsd*-gnu)
1298 + LD="${LD-ld} -m elf_i386_fbsd"
1299 + ;;
1300 + x86_64-*linux*)
1301 + LD="${LD-ld} -m elf_i386"
1302 + ;;
1303 + ppc64-*linux*|powerpc64-*linux*)
1304 + LD="${LD-ld} -m elf32ppclinux"
1305 + ;;
1306 + s390x-*linux*)
1307 + LD="${LD-ld} -m elf_s390"
1308 + ;;
1309 + sparc64-*linux*)
1310 + LD="${LD-ld} -m elf32_sparc"
1311 + ;;
1312 + esac
1313 + ;;
1314 + *64-bit*)
1315 + case $host in
1316 + x86_64-*kfreebsd*-gnu)
1317 + LD="${LD-ld} -m elf_x86_64_fbsd"
1318 + ;;
1319 + x86_64-*linux*)
1320 + LD="${LD-ld} -m elf_x86_64"
1321 + ;;
1322 + ppc*-*linux*|powerpc*-*linux*)
1323 + LD="${LD-ld} -m elf64ppc"
1324 + ;;
1325 + s390*-*linux*|s390*-*tpf*)
1326 + LD="${LD-ld} -m elf64_s390"
1327 + ;;
1328 + sparc*-*linux*)
1329 + LD="${LD-ld} -m elf64_sparc"
1330 + ;;
1331 + esac
1332 + ;;
1333 + esac
1334 + fi
1335 + rm -rf conftest*
1336 + ;;
1337 +
1338 +*-*-sco3.2v5*)
1339 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1340 + SAVE_CFLAGS="$CFLAGS"
1341 + CFLAGS="$CFLAGS -belf"
1342 + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
1343 + [AC_LANG_PUSH(C)
1344 + AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
1345 + AC_LANG_POP])
1346 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
1347 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1348 + CFLAGS="$SAVE_CFLAGS"
1349 + fi
1350 + ;;
1351 +sparc*-*solaris*)
1352 + # Find out which ABI we are using.
1353 + echo 'int i;' > conftest.$ac_ext
1354 + if AC_TRY_EVAL(ac_compile); then
1355 + case `/usr/bin/file conftest.o` in
1356 + *64-bit*)
1357 + case $lt_cv_prog_gnu_ld in
1358 + yes*) LD="${LD-ld} -m elf64_sparc" ;;
1359 + *)
1360 + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1361 + LD="${LD-ld} -64"
1362 + fi
1363 + ;;
1364 + esac
1365 + ;;
1366 + esac
1367 + fi
1368 + rm -rf conftest*
1369 + ;;
1370 +esac
1371 +
1372 +need_locks="$enable_libtool_lock"
1373 +])# _LT_ENABLE_LOCK
1374 +
1375 +
1376 +# _LT_CMD_OLD_ARCHIVE
1377 +# -------------------
1378 +m4_defun([_LT_CMD_OLD_ARCHIVE],
1379 +[AC_CHECK_TOOL(AR, ar, false)
1380 +test -z "$AR" && AR=ar
1381 +test -z "$AR_FLAGS" && AR_FLAGS=cru
1382 +_LT_DECL([], [AR], [1], [The archiver])
1383 +_LT_DECL([], [AR_FLAGS], [1])
1384 +
1385 +AC_CHECK_TOOL(STRIP, strip, :)
1386 +test -z "$STRIP" && STRIP=:
1387 +_LT_DECL([], [STRIP], [1], [A symbol stripping program])
1388 +
1389 +AC_CHECK_TOOL(RANLIB, ranlib, :)
1390 +test -z "$RANLIB" && RANLIB=:
1391 +_LT_DECL([], [RANLIB], [1],
1392 + [Commands used to install an old-style archive])
1393 +
1394 +# Determine commands to create old-style static archives.
1395 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
1396 +old_postinstall_cmds='chmod 644 $oldlib'
1397 +old_postuninstall_cmds=
1398 +
1399 +if test -n "$RANLIB"; then
1400 + case $host_os in
1401 + openbsd*)
1402 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
1403 + ;;
1404 + *)
1405 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
1406 + ;;
1407 + esac
1408 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1409 +fi
1410 +_LT_DECL([], [old_postinstall_cmds], [2])
1411 +_LT_DECL([], [old_postuninstall_cmds], [2])
1412 +_LT_TAGDECL([], [old_archive_cmds], [2],
1413 + [Commands used to build an old-style archive])
1414 +])# _LT_CMD_OLD_ARCHIVE
1415 +
1416 +
1417 +# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1418 +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
1419 +# ----------------------------------------------------------------
1420 +# Check whether the given compiler option works
1421 +AC_DEFUN([_LT_COMPILER_OPTION],
1422 +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1423 +m4_require([_LT_DECL_SED])dnl
1424 +AC_CACHE_CHECK([$1], [$2],
1425 + [$2=no
1426 + m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
1427 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1428 + lt_compiler_flag="$3"
1429 + # Insert the option either (1) after the last *FLAGS variable, or
1430 + # (2) before a word containing "conftest.", or (3) at the end.
1431 + # Note that $ac_compile itself does not contain backslashes and begins
1432 + # with a dollar sign (not a hyphen), so the echo should work correctly.
1433 + # The option is referenced via a variable to avoid confusing sed.
1434 + lt_compile=`echo "$ac_compile" | $SED \
1435 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1436 + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1437 + -e 's:$: $lt_compiler_flag:'`
1438 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1439 + (eval "$lt_compile" 2>conftest.err)
1440 + ac_status=$?
1441 + cat conftest.err >&AS_MESSAGE_LOG_FD
1442 + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1443 + if (exit $ac_status) && test -s "$ac_outfile"; then
1444 + # The compiler can only warn and ignore the option if not recognized
1445 + # So say no if there are warnings other than the usual output.
1446 + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
1447 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1448 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1449 + $2=yes
1450 + fi
1451 + fi
1452 + $RM conftest*
1453 +])
1454 +
1455 +if test x"[$]$2" = xyes; then
1456 + m4_if([$5], , :, [$5])
1457 +else
1458 + m4_if([$6], , :, [$6])
1459 +fi
1460 +])# _LT_COMPILER_OPTION
1461 +
1462 +# Old name:
1463 +AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
1464 +dnl aclocal-1.4 backwards compatibility:
1465 +dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
1466 +
1467 +
1468 +# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1469 +# [ACTION-SUCCESS], [ACTION-FAILURE])
1470 +# ----------------------------------------------------
1471 +# Check whether the given linker option works
1472 +AC_DEFUN([_LT_LINKER_OPTION],
1473 +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1474 +m4_require([_LT_DECL_SED])dnl
1475 +AC_CACHE_CHECK([$1], [$2],
1476 + [$2=no
1477 + save_LDFLAGS="$LDFLAGS"
1478 + LDFLAGS="$LDFLAGS $3"
1479 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
1480 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1481 + # The linker can only warn and ignore the option if not recognized
1482 + # So say no if there are warnings
1483 + if test -s conftest.err; then
1484 + # Append any errors to the config.log.
1485 + cat conftest.err 1>&AS_MESSAGE_LOG_FD
1486 + $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
1487 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1488 + if diff conftest.exp conftest.er2 >/dev/null; then
1489 + $2=yes
1490 + fi
1491 + else
1492 + $2=yes
1493 + fi
1494 + fi
1495 + $RM -r conftest*
1496 + LDFLAGS="$save_LDFLAGS"
1497 +])
1498 +
1499 +if test x"[$]$2" = xyes; then
1500 + m4_if([$4], , :, [$4])
1501 +else
1502 + m4_if([$5], , :, [$5])
1503 +fi
1504 +])# _LT_LINKER_OPTION
1505 +
1506 +# Old name:
1507 +AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
1508 +dnl aclocal-1.4 backwards compatibility:
1509 +dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
1510 +
1511 +
1512 +# LT_CMD_MAX_LEN
1513 +#---------------
1514 +AC_DEFUN([LT_CMD_MAX_LEN],
1515 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
1516 +# find the maximum length of command line arguments
1517 +AC_MSG_CHECKING([the maximum length of command line arguments])
1518 +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
1519 + i=0
1520 + teststring="ABCD"
1521 +
1522 + case $build_os in
1523 + msdosdjgpp*)
1524 + # On DJGPP, this test can blow up pretty badly due to problems in libc
1525 + # (any single argument exceeding 2000 bytes causes a buffer overrun
1526 + # during glob expansion). Even if it were fixed, the result of this
1527 + # check would be larger than it should be.
1528 + lt_cv_sys_max_cmd_len=12288; # 12K is about right
1529 + ;;
1530 +
1531 + gnu*)
1532 + # Under GNU Hurd, this test is not required because there is
1533 + # no limit to the length of command line arguments.
1534 + # Libtool will interpret -1 as no limit whatsoever
1535 + lt_cv_sys_max_cmd_len=-1;
1536 + ;;
1537 +
1538 + cygwin* | mingw* | cegcc*)
1539 + # On Win9x/ME, this test blows up -- it succeeds, but takes
1540 + # about 5 minutes as the teststring grows exponentially.
1541 + # Worse, since 9x/ME are not pre-emptively multitasking,
1542 + # you end up with a "frozen" computer, even though with patience
1543 + # the test eventually succeeds (with a max line length of 256k).
1544 + # Instead, let's just punt: use the minimum linelength reported by
1545 + # all of the supported platforms: 8192 (on NT/2K/XP).
1546 + lt_cv_sys_max_cmd_len=8192;
1547 + ;;
1548 +
1549 + amigaos*)
1550 + # On AmigaOS with pdksh, this test takes hours, literally.
1551 + # So we just punt and use a minimum line length of 8192.
1552 + lt_cv_sys_max_cmd_len=8192;
1553 + ;;
1554 +
1555 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
1556 + # This has been around since 386BSD, at least. Likely further.
1557 + if test -x /sbin/sysctl; then
1558 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
1559 + elif test -x /usr/sbin/sysctl; then
1560 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
1561 + else
1562 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
1563 + fi
1564 + # And add a safety zone
1565 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
1566 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1567 + ;;
1568 +
1569 + interix*)
1570 + # We know the value 262144 and hardcode it with a safety zone (like BSD)
1571 + lt_cv_sys_max_cmd_len=196608
1572 + ;;
1573 +
1574 + osf*)
1575 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
1576 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
1577 + # nice to cause kernel panics so lets avoid the loop below.
1578 + # First set a reasonable default.
1579 + lt_cv_sys_max_cmd_len=16384
1580 + #
1581 + if test -x /sbin/sysconfig; then
1582 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
1583 + *1*) lt_cv_sys_max_cmd_len=-1 ;;
1584 + esac
1585 + fi
1586 + ;;
1587 + sco3.2v5*)
1588 + lt_cv_sys_max_cmd_len=102400
1589 + ;;
1590 + sysv5* | sco5v6* | sysv4.2uw2*)
1591 + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
1592 + if test -n "$kargmax"; then
1593 + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
1594 + else
1595 + lt_cv_sys_max_cmd_len=32768
1596 + fi
1597 + ;;
1598 + *)
1599 + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
1600 + if test -n "$lt_cv_sys_max_cmd_len"; then
1601 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
1602 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1603 + else
1604 + # Make teststring a little bigger before we do anything with it.
1605 + # a 1K string should be a reasonable start.
1606 + for i in 1 2 3 4 5 6 7 8 ; do
1607 + teststring=$teststring$teststring
1608 + done
1609 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
1610 + # If test is not a shell built-in, we'll probably end up computing a
1611 + # maximum length that is only half of the actual maximum length, but
1612 + # we can't tell.
1613 + while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
1614 + = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
1615 + test $i != 17 # 1/2 MB should be enough
1616 + do
1617 + i=`expr $i + 1`
1618 + teststring=$teststring$teststring
1619 + done
1620 + # Only check the string length outside the loop.
1621 + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
1622 + teststring=
1623 + # Add a significant safety factor because C++ compilers can tack on
1624 + # massive amounts of additional arguments before passing them to the
1625 + # linker. It appears as though 1/2 is a usable value.
1626 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
1627 + fi
1628 + ;;
1629 + esac
1630 +])
1631 +if test -n $lt_cv_sys_max_cmd_len ; then
1632 + AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
1633 +else
1634 + AC_MSG_RESULT(none)
1635 +fi
1636 +max_cmd_len=$lt_cv_sys_max_cmd_len
1637 +_LT_DECL([], [max_cmd_len], [0],
1638 + [What is the maximum length of a command?])
1639 +])# LT_CMD_MAX_LEN
1640 +
1641 +# Old name:
1642 +AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
1643 +dnl aclocal-1.4 backwards compatibility:
1644 +dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
1645 +
1646 +
1647 +# _LT_HEADER_DLFCN
1648 +# ----------------
1649 +m4_defun([_LT_HEADER_DLFCN],
1650 +[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
1651 +])# _LT_HEADER_DLFCN
1652 +
1653 +
1654 +# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1655 +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1656 +# ----------------------------------------------------------------
1657 +m4_defun([_LT_TRY_DLOPEN_SELF],
1658 +[m4_require([_LT_HEADER_DLFCN])dnl
1659 +if test "$cross_compiling" = yes; then :
1660 + [$4]
1661 +else
1662 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1663 + lt_status=$lt_dlunknown
1664 + cat > conftest.$ac_ext <<_LT_EOF
1665 +[#line __oline__ "configure"
1666 +#include "confdefs.h"
1667 +
1668 +#if HAVE_DLFCN_H
1669 +#include <dlfcn.h>
1670 +#endif
1671 +
1672 +#include <stdio.h>
1673 +
1674 +#ifdef RTLD_GLOBAL
1675 +# define LT_DLGLOBAL RTLD_GLOBAL
1676 +#else
1677 +# ifdef DL_GLOBAL
1678 +# define LT_DLGLOBAL DL_GLOBAL
1679 +# else
1680 +# define LT_DLGLOBAL 0
1681 +# endif
1682 +#endif
1683 +
1684 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1685 + find out it does not work in some platform. */
1686 +#ifndef LT_DLLAZY_OR_NOW
1687 +# ifdef RTLD_LAZY
1688 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
1689 +# else
1690 +# ifdef DL_LAZY
1691 +# define LT_DLLAZY_OR_NOW DL_LAZY
1692 +# else
1693 +# ifdef RTLD_NOW
1694 +# define LT_DLLAZY_OR_NOW RTLD_NOW
1695 +# else
1696 +# ifdef DL_NOW
1697 +# define LT_DLLAZY_OR_NOW DL_NOW
1698 +# else
1699 +# define LT_DLLAZY_OR_NOW 0
1700 +# endif
1701 +# endif
1702 +# endif
1703 +# endif
1704 +#endif
1705 +
1706 +void fnord() { int i=42;}
1707 +int main ()
1708 +{
1709 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1710 + int status = $lt_dlunknown;
1711 +
1712 + if (self)
1713 + {
1714 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1715 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1716 + /* dlclose (self); */
1717 + }
1718 + else
1719 + puts (dlerror ());
1720 +
1721 + return status;
1722 +}]
1723 +_LT_EOF
1724 + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
1725 + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
1726 + lt_status=$?
1727 + case x$lt_status in
1728 + x$lt_dlno_uscore) $1 ;;
1729 + x$lt_dlneed_uscore) $2 ;;
1730 + x$lt_dlunknown|x*) $3 ;;
1731 + esac
1732 + else :
1733 + # compilation failed
1734 + $3
1735 + fi
1736 +fi
1737 +rm -fr conftest*
1738 +])# _LT_TRY_DLOPEN_SELF
1739 +
1740 +
1741 +# LT_SYS_DLOPEN_SELF
1742 +# ------------------
1743 +AC_DEFUN([LT_SYS_DLOPEN_SELF],
1744 +[m4_require([_LT_HEADER_DLFCN])dnl
1745 +if test "x$enable_dlopen" != xyes; then
1746 + enable_dlopen=unknown
1747 + enable_dlopen_self=unknown
1748 + enable_dlopen_self_static=unknown
1749 +else
1750 + lt_cv_dlopen=no
1751 + lt_cv_dlopen_libs=
1752 +
1753 + case $host_os in
1754 + beos*)
1755 + lt_cv_dlopen="load_add_on"
1756 + lt_cv_dlopen_libs=
1757 + lt_cv_dlopen_self=yes
1758 + ;;
1759 +
1760 + mingw* | pw32* | cegcc*)
1761 + lt_cv_dlopen="LoadLibrary"
1762 + lt_cv_dlopen_libs=
1763 + ;;
1764 +
1765 + cygwin*)
1766 + lt_cv_dlopen="dlopen"
1767 + lt_cv_dlopen_libs=
1768 + ;;
1769 +
1770 + darwin*)
1771 + # if libdl is installed we need to link against it
1772 + AC_CHECK_LIB([dl], [dlopen],
1773 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
1774 + lt_cv_dlopen="dyld"
1775 + lt_cv_dlopen_libs=
1776 + lt_cv_dlopen_self=yes
1777 + ])
1778 + ;;
1779 +
1780 + *)
1781 + AC_CHECK_FUNC([shl_load],
1782 + [lt_cv_dlopen="shl_load"],
1783 + [AC_CHECK_LIB([dld], [shl_load],
1784 + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
1785 + [AC_CHECK_FUNC([dlopen],
1786 + [lt_cv_dlopen="dlopen"],
1787 + [AC_CHECK_LIB([dl], [dlopen],
1788 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
1789 + [AC_CHECK_LIB([svld], [dlopen],
1790 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
1791 + [AC_CHECK_LIB([dld], [dld_link],
1792 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
1793 + ])
1794 + ])
1795 + ])
1796 + ])
1797 + ])
1798 + ;;
1799 + esac
1800 +
1801 + if test "x$lt_cv_dlopen" != xno; then
1802 + enable_dlopen=yes
1803 + else
1804 + enable_dlopen=no
1805 + fi
1806 +
1807 + case $lt_cv_dlopen in
1808 + dlopen)
1809 + save_CPPFLAGS="$CPPFLAGS"
1810 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1811 +
1812 + save_LDFLAGS="$LDFLAGS"
1813 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1814 +
1815 + save_LIBS="$LIBS"
1816 + LIBS="$lt_cv_dlopen_libs $LIBS"
1817 +
1818 + AC_CACHE_CHECK([whether a program can dlopen itself],
1819 + lt_cv_dlopen_self, [dnl
1820 + _LT_TRY_DLOPEN_SELF(
1821 + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
1822 + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
1823 + ])
1824 +
1825 + if test "x$lt_cv_dlopen_self" = xyes; then
1826 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1827 + AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
1828 + lt_cv_dlopen_self_static, [dnl
1829 + _LT_TRY_DLOPEN_SELF(
1830 + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
1831 + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
1832 + ])
1833 + fi
1834 +
1835 + CPPFLAGS="$save_CPPFLAGS"
1836 + LDFLAGS="$save_LDFLAGS"
1837 + LIBS="$save_LIBS"
1838 + ;;
1839 + esac
1840 +
1841 + case $lt_cv_dlopen_self in
1842 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
1843 + *) enable_dlopen_self=unknown ;;
1844 + esac
1845 +
1846 + case $lt_cv_dlopen_self_static in
1847 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
1848 + *) enable_dlopen_self_static=unknown ;;
1849 + esac
1850 +fi
1851 +_LT_DECL([dlopen_support], [enable_dlopen], [0],
1852 + [Whether dlopen is supported])
1853 +_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
1854 + [Whether dlopen of programs is supported])
1855 +_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
1856 + [Whether dlopen of statically linked programs is supported])
1857 +])# LT_SYS_DLOPEN_SELF
1858 +
1859 +# Old name:
1860 +AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
1861 +dnl aclocal-1.4 backwards compatibility:
1862 +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
1863 +
1864 +
1865 +# _LT_COMPILER_C_O([TAGNAME])
1866 +# ---------------------------
1867 +# Check to see if options -c and -o are simultaneously supported by compiler.
1868 +# This macro does not hard code the compiler like AC_PROG_CC_C_O.
1869 +m4_defun([_LT_COMPILER_C_O],
1870 +[m4_require([_LT_DECL_SED])dnl
1871 +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1872 +m4_require([_LT_TAG_COMPILER])dnl
1873 +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
1874 + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
1875 + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
1876 + $RM -r conftest 2>/dev/null
1877 + mkdir conftest
1878 + cd conftest
1879 + mkdir out
1880 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1881 +
1882 + lt_compiler_flag="-o out/conftest2.$ac_objext"
1883 + # Insert the option either (1) after the last *FLAGS variable, or
1884 + # (2) before a word containing "conftest.", or (3) at the end.
1885 + # Note that $ac_compile itself does not contain backslashes and begins
1886 + # with a dollar sign (not a hyphen), so the echo should work correctly.
1887 + lt_compile=`echo "$ac_compile" | $SED \
1888 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1889 + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1890 + -e 's:$: $lt_compiler_flag:'`
1891 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1892 + (eval "$lt_compile" 2>out/conftest.err)
1893 + ac_status=$?
1894 + cat out/conftest.err >&AS_MESSAGE_LOG_FD
1895 + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1896 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
1897 + then
1898 + # The compiler can only warn and ignore the option if not recognized
1899 + # So say no if there are warnings
1900 + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
1901 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
1902 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1903 + _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
1904 + fi
1905 + fi
1906 + chmod u+w . 2>&AS_MESSAGE_LOG_FD
1907 + $RM conftest*
1908 + # SGI C++ compiler will create directory out/ii_files/ for
1909 + # template instantiation
1910 + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
1911 + $RM out/* && rmdir out
1912 + cd ..
1913 + $RM -r conftest
1914 + $RM conftest*
1915 +])
1916 +_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
1917 + [Does compiler simultaneously support -c and -o options?])
1918 +])# _LT_COMPILER_C_O
1919 +
1920 +
1921 +# _LT_COMPILER_FILE_LOCKS([TAGNAME])
1922 +# ----------------------------------
1923 +# Check to see if we can do hard links to lock some files if needed
1924 +m4_defun([_LT_COMPILER_FILE_LOCKS],
1925 +[m4_require([_LT_ENABLE_LOCK])dnl
1926 +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1927 +_LT_COMPILER_C_O([$1])
1928 +
1929 +hard_links="nottested"
1930 +if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
1931 + # do not overwrite the value of need_locks provided by the user
1932 + AC_MSG_CHECKING([if we can lock with hard links])
1933 + hard_links=yes
1934 + $RM conftest*
1935 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
1936 + touch conftest.a
1937 + ln conftest.a conftest.b 2>&5 || hard_links=no
1938 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
1939 + AC_MSG_RESULT([$hard_links])
1940 + if test "$hard_links" = no; then
1941 + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
1942 + need_locks=warn
1943 + fi
1944 +else
1945 + need_locks=no
1946 +fi
1947 +_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
1948 +])# _LT_COMPILER_FILE_LOCKS
1949 +
1950 +
1951 +# _LT_CHECK_OBJDIR
1952 +# ----------------
1953 +m4_defun([_LT_CHECK_OBJDIR],
1954 +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
1955 +[rm -f .libs 2>/dev/null
1956 +mkdir .libs 2>/dev/null
1957 +if test -d .libs; then
1958 + lt_cv_objdir=.libs
1959 +else
1960 + # MS-DOS does not allow filenames that begin with a dot.
1961 + lt_cv_objdir=_libs
1962 +fi
1963 +rmdir .libs 2>/dev/null])
1964 +objdir=$lt_cv_objdir
1965 +_LT_DECL([], [objdir], [0],
1966 + [The name of the directory that contains temporary libtool files])dnl
1967 +m4_pattern_allow([LT_OBJDIR])dnl
1968 +AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
1969 + [Define to the sub-directory in which libtool stores uninstalled libraries.])
1970 +])# _LT_CHECK_OBJDIR
1971 +
1972 +
1973 +# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
1974 +# --------------------------------------
1975 +# Check hardcoding attributes.
1976 +m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
1977 +[AC_MSG_CHECKING([how to hardcode library paths into programs])
1978 +_LT_TAGVAR(hardcode_action, $1)=
1979 +if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
1980 + test -n "$_LT_TAGVAR(runpath_var, $1)" ||
1981 + test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
1982 +
1983 + # We can hardcode non-existent directories.
1984 + if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
1985 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
1986 + # have to relink, otherwise we might link with an installed library
1987 + # when we should be linking with a yet-to-be-installed one
1988 + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
1989 + test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
1990 + # Linking always hardcodes the temporary library directory.
1991 + _LT_TAGVAR(hardcode_action, $1)=relink
1992 + else
1993 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
1994 + _LT_TAGVAR(hardcode_action, $1)=immediate
1995 + fi
1996 +else
1997 + # We cannot hardcode anything, or else we can only hardcode existing
1998 + # directories.
1999 + _LT_TAGVAR(hardcode_action, $1)=unsupported
2000 +fi
2001 +AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
2002 +
2003 +if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
2004 + test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
2005 + # Fast installation is not supported
2006 + enable_fast_install=no
2007 +elif test "$shlibpath_overrides_runpath" = yes ||
2008 + test "$enable_shared" = no; then
2009 + # Fast installation is not necessary
2010 + enable_fast_install=needless
2011 +fi
2012 +_LT_TAGDECL([], [hardcode_action], [0],
2013 + [How to hardcode a shared library path into an executable])
2014 +])# _LT_LINKER_HARDCODE_LIBPATH
2015 +
2016 +
2017 +# _LT_CMD_STRIPLIB
2018 +# ----------------
2019 +m4_defun([_LT_CMD_STRIPLIB],
2020 +[m4_require([_LT_DECL_EGREP])
2021 +striplib=
2022 +old_striplib=
2023 +AC_MSG_CHECKING([whether stripping libraries is possible])
2024 +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
2025 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
2026 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
2027 + AC_MSG_RESULT([yes])
2028 +else
2029 +# FIXME - insert some real tests, host_os isn't really good enough
2030 + case $host_os in
2031 + darwin*)
2032 + if test -n "$STRIP" ; then
2033 + striplib="$STRIP -x"
2034 + old_striplib="$STRIP -S"
2035 + AC_MSG_RESULT([yes])
2036 + else
2037 + AC_MSG_RESULT([no])
2038 + fi
2039 + ;;
2040 + *)
2041 + AC_MSG_RESULT([no])
2042 + ;;
2043 + esac
2044 +fi
2045 +_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
2046 +_LT_DECL([], [striplib], [1])
2047 +])# _LT_CMD_STRIPLIB
2048 +
2049 +
2050 +# _LT_SYS_DYNAMIC_LINKER([TAG])
2051 +# -----------------------------
2052 +# PORTME Fill in your ld.so characteristics
2053 +m4_defun([_LT_SYS_DYNAMIC_LINKER],
2054 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
2055 +m4_require([_LT_DECL_EGREP])dnl
2056 +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2057 +m4_require([_LT_DECL_OBJDUMP])dnl
2058 +m4_require([_LT_DECL_SED])dnl
2059 +AC_MSG_CHECKING([dynamic linker characteristics])
2060 +m4_if([$1],
2061 + [], [
2062 +if test "$GCC" = yes; then
2063 + case $host_os in
2064 + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
2065 + *) lt_awk_arg="/^libraries:/" ;;
2066 + esac
2067 + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2068 + if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
2069 + # if the path contains ";" then we assume it to be the separator
2070 + # otherwise default to the standard path separator (i.e. ":") - it is
2071 + # assumed that no part of a normal pathname contains ";" but that should
2072 + # okay in the real world where ";" in dirpaths is itself problematic.
2073 + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
2074 + else
2075 + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2076 + fi
2077 + # Ok, now we have the path, separated by spaces, we can step through it
2078 + # and add multilib dir if necessary.
2079 + lt_tmp_lt_search_path_spec=
2080 + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
2081 + for lt_sys_path in $lt_search_path_spec; do
2082 + if test -d "$lt_sys_path/$lt_multi_os_dir"; then
2083 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
2084 + else
2085 + test -d "$lt_sys_path" && \
2086 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
2087 + fi
2088 + done
2089 + lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
2090 +BEGIN {RS=" "; FS="/|\n";} {
2091 + lt_foo="";
2092 + lt_count=0;
2093 + for (lt_i = NF; lt_i > 0; lt_i--) {
2094 + if ($lt_i != "" && $lt_i != ".") {
2095 + if ($lt_i == "..") {
2096 + lt_count++;
2097 + } else {
2098 + if (lt_count == 0) {
2099 + lt_foo="/" $lt_i lt_foo;
2100 + } else {
2101 + lt_count--;
2102 + }
2103 + }
2104 + }
2105 + }
2106 + if (lt_foo != "") { lt_freq[[lt_foo]]++; }
2107 + if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
2108 +}'`
2109 + sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
2110 +else
2111 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
2112 +fi])
2113 +library_names_spec=
2114 +libname_spec='lib$name'
2115 +soname_spec=
2116 +shrext_cmds=".so"
2117 +postinstall_cmds=
2118 +postuninstall_cmds=
2119 +finish_cmds=
2120 +finish_eval=
2121 +shlibpath_var=
2122 +shlibpath_overrides_runpath=unknown
2123 +version_type=none
2124 +dynamic_linker="$host_os ld.so"
2125 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
2126 +need_lib_prefix=unknown
2127 +hardcode_into_libs=no
2128 +
2129 +# when you set need_version to no, make sure it does not cause -set_version
2130 +# flags to be left without arguments
2131 +need_version=unknown
2132 +
2133 +case $host_os in
2134 +aix3*)
2135 + version_type=linux
2136 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
2137 + shlibpath_var=LIBPATH
2138 +
2139 + # AIX 3 has no versioning support, so we append a major version to the name.
2140 + soname_spec='${libname}${release}${shared_ext}$major'
2141 + ;;
2142 +
2143 +aix[[4-9]]*)
2144 + version_type=linux
2145 + need_lib_prefix=no
2146 + need_version=no
2147 + hardcode_into_libs=yes
2148 + if test "$host_cpu" = ia64; then
2149 + # AIX 5 supports IA64
2150 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
2151 + shlibpath_var=LD_LIBRARY_PATH
2152 + else
2153 + # With GCC up to 2.95.x, collect2 would create an import file
2154 + # for dependence libraries. The import file would start with
2155 + # the line `#! .'. This would cause the generated library to
2156 + # depend on `.', always an invalid library. This was fixed in
2157 + # development snapshots of GCC prior to 3.0.
2158 + case $host_os in
2159 + aix4 | aix4.[[01]] | aix4.[[01]].*)
2160 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
2161 + echo ' yes '
2162 + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
2163 + :
2164 + else
2165 + can_build_shared=no
2166 + fi
2167 + ;;
2168 + esac
2169 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
2170 + # soname into executable. Probably we can add versioning support to
2171 + # collect2, so additional links can be useful in future.
2172 + if test "$aix_use_runtimelinking" = yes; then
2173 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
2174 + # instead of lib<name>.a to let people know that these are not
2175 + # typical AIX shared libraries.
2176 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2177 + else
2178 + # We preserve .a as extension for shared libraries through AIX4.2
2179 + # and later when we are not doing run time linking.
2180 + library_names_spec='${libname}${release}.a $libname.a'
2181 + soname_spec='${libname}${release}${shared_ext}$major'
2182 + fi
2183 + shlibpath_var=LIBPATH
2184 + fi
2185 + ;;
2186 +
2187 +amigaos*)
2188 + case $host_cpu in
2189 + powerpc)
2190 + # Since July 2007 AmigaOS4 officially supports .so libraries.
2191 + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
2192 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2193 + ;;
2194 + m68k)
2195 + library_names_spec='$libname.ixlibrary $libname.a'
2196 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
2197 + 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'
2198 + ;;
2199 + esac
2200 + ;;
2201 +
2202 +beos*)
2203 + library_names_spec='${libname}${shared_ext}'
2204 + dynamic_linker="$host_os ld.so"
2205 + shlibpath_var=LIBRARY_PATH
2206 + ;;
2207 +
2208 +bsdi[[45]]*)
2209 + version_type=linux
2210 + need_version=no
2211 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2212 + soname_spec='${libname}${release}${shared_ext}$major'
2213 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
2214 + shlibpath_var=LD_LIBRARY_PATH
2215 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
2216 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
2217 + # the default ld.so.conf also contains /usr/contrib/lib and
2218 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
2219 + # libtool to hard-code these into programs
2220 + ;;
2221 +
2222 +cygwin* | mingw* | pw32* | cegcc*)
2223 + version_type=windows
2224 + shrext_cmds=".dll"
2225 + need_version=no
2226 + need_lib_prefix=no
2227 +
2228 + case $GCC,$host_os in
2229 + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
2230 + library_names_spec='$libname.dll.a'
2231 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
2232 + postinstall_cmds='base_file=`basename \${file}`~
2233 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
2234 + dldir=$destdir/`dirname \$dlpath`~
2235 + test -d \$dldir || mkdir -p \$dldir~
2236 + $install_prog $dir/$dlname \$dldir/$dlname~
2237 + chmod a+x \$dldir/$dlname~
2238 + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2239 + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
2240 + fi'
2241 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2242 + dlpath=$dir/\$dldll~
2243 + $RM \$dlpath'
2244 + shlibpath_overrides_runpath=yes
2245 +
2246 + case $host_os in
2247 + cygwin*)
2248 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
2249 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2250 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
2251 + ;;
2252 + mingw* | cegcc*)
2253 + # MinGW DLLs use traditional 'lib' prefix
2254 + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2255 + sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2256 + if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
2257 + # It is most probably a Windows format PATH printed by
2258 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
2259 + # path with ; separators, and with drive letters. We can handle the
2260 + # drive letters (cygwin fileutils understands them), so leave them,
2261 + # especially as we might pass files found there to a mingw objdump,
2262 + # which wouldn't understand a cygwinified path. Ahh.
2263 + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2264 + else
2265 + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2266 + fi
2267 + ;;
2268 + pw32*)
2269 + # pw32 DLLs use 'pw' prefix rather than 'lib'
2270 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2271 + ;;
2272 + esac
2273 + ;;
2274 +
2275 + *)
2276 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
2277 + ;;
2278 + esac
2279 + dynamic_linker='Win32 ld.exe'
2280 + # FIXME: first we should search . and the directory the executable is in
2281 + shlibpath_var=PATH
2282 + ;;
2283 +
2284 +darwin* | rhapsody*)
2285 + dynamic_linker="$host_os dyld"
2286 + version_type=darwin
2287 + need_lib_prefix=no
2288 + need_version=no
2289 + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
2290 + soname_spec='${libname}${release}${major}$shared_ext'
2291 + shlibpath_overrides_runpath=yes
2292 + shlibpath_var=DYLD_LIBRARY_PATH
2293 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
2294 +m4_if([$1], [],[
2295 + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
2296 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
2297 + ;;
2298 +
2299 +dgux*)
2300 + version_type=linux
2301 + need_lib_prefix=no
2302 + need_version=no
2303 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
2304 + soname_spec='${libname}${release}${shared_ext}$major'
2305 + shlibpath_var=LD_LIBRARY_PATH
2306 + ;;
2307 +
2308 +freebsd1*)
2309 + dynamic_linker=no
2310 + ;;
2311 +
2312 +freebsd* | dragonfly*)
2313 + # DragonFly does not have aout. When/if they implement a new
2314 + # versioning mechanism, adjust this.
2315 + if test -x /usr/bin/objformat; then
2316 + objformat=`/usr/bin/objformat`
2317 + else
2318 + case $host_os in
2319 + freebsd[[123]]*) objformat=aout ;;
2320 + *) objformat=elf ;;
2321 + esac
2322 + fi
2323 + version_type=freebsd-$objformat
2324 + case $version_type in
2325 + freebsd-elf*)
2326 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
2327 + need_version=no
2328 + need_lib_prefix=no
2329 + ;;
2330 + freebsd-*)
2331 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
2332 + need_version=yes
2333 + ;;
2334 + esac
2335 + shlibpath_var=LD_LIBRARY_PATH
2336 + case $host_os in
2337 + freebsd2*)
2338 + shlibpath_overrides_runpath=yes
2339 + ;;
2340 + freebsd3.[[01]]* | freebsdelf3.[[01]]*)
2341 + shlibpath_overrides_runpath=yes
2342 + hardcode_into_libs=yes
2343 + ;;
2344 + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
2345 + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
2346 + shlibpath_overrides_runpath=no
2347 + hardcode_into_libs=yes
2348 + ;;
2349 + *) # from 4.6 on, and DragonFly
2350 + shlibpath_overrides_runpath=yes
2351 + hardcode_into_libs=yes
2352 + ;;
2353 + esac
2354 + ;;
2355 +
2356 +gnu*)
2357 + version_type=linux
2358 + need_lib_prefix=no
2359 + need_version=no
2360 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
2361 + soname_spec='${libname}${release}${shared_ext}$major'
2362 + shlibpath_var=LD_LIBRARY_PATH
2363 + hardcode_into_libs=yes
2364 + ;;
2365 +
2366 +hpux9* | hpux10* | hpux11*)
2367 + # Give a soname corresponding to the major version so that dld.sl refuses to
2368 + # link against other versions.
2369 + version_type=sunos
2370 + need_lib_prefix=no
2371 + need_version=no
2372 + case $host_cpu in
2373 + ia64*)
2374 + shrext_cmds='.so'
2375 + hardcode_into_libs=yes
2376 + dynamic_linker="$host_os dld.so"
2377 + shlibpath_var=LD_LIBRARY_PATH
2378 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
2379 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2380 + soname_spec='${libname}${release}${shared_ext}$major'
2381 + if test "X$HPUX_IA64_MODE" = X32; then
2382 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
2383 + else
2384 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
2385 + fi
2386 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2387 + ;;
2388 + hppa*64*)
2389 + shrext_cmds='.sl'
2390 + hardcode_into_libs=yes
2391 + dynamic_linker="$host_os dld.sl"
2392 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
2393 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
2394 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2395 + soname_spec='${libname}${release}${shared_ext}$major'
2396 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
2397 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2398 + ;;
2399 + *)
2400 + shrext_cmds='.sl'
2401 + dynamic_linker="$host_os dld.sl"
2402 + shlibpath_var=SHLIB_PATH
2403 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
2404 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2405 + soname_spec='${libname}${release}${shared_ext}$major'
2406 + ;;
2407 + esac
2408 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
2409 + postinstall_cmds='chmod 555 $lib'
2410 + ;;
2411 +
2412 +interix[[3-9]]*)
2413 + version_type=linux
2414 + need_lib_prefix=no
2415 + need_version=no
2416 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2417 + soname_spec='${libname}${release}${shared_ext}$major'
2418 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
2419 + shlibpath_var=LD_LIBRARY_PATH
2420 + shlibpath_overrides_runpath=no
2421 + hardcode_into_libs=yes
2422 + ;;
2423 +
2424 +irix5* | irix6* | nonstopux*)
2425 + case $host_os in
2426 + nonstopux*) version_type=nonstopux ;;
2427 + *)
2428 + if test "$lt_cv_prog_gnu_ld" = yes; then
2429 + version_type=linux
2430 + else
2431 + version_type=irix
2432 + fi ;;
2433 + esac
2434 + need_lib_prefix=no
2435 + need_version=no
2436 + soname_spec='${libname}${release}${shared_ext}$major'
2437 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
2438 + case $host_os in
2439 + irix5* | nonstopux*)
2440 + libsuff= shlibsuff=
2441 + ;;
2442 + *)
2443 + case $LD in # libtool.m4 will add one of these switches to LD
2444 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
2445 + libsuff= shlibsuff= libmagic=32-bit;;
2446 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
2447 + libsuff=32 shlibsuff=N32 libmagic=N32;;
2448 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
2449 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
2450 + *) libsuff= shlibsuff= libmagic=never-match;;
2451 + esac
2452 + ;;
2453 + esac
2454 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
2455 + shlibpath_overrides_runpath=no
2456 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
2457 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
2458 + hardcode_into_libs=yes
2459 + ;;
2460 +
2461 +# No shared lib support for Linux oldld, aout, or coff.
2462 +linux*oldld* | linux*aout* | linux*coff*)
2463 + dynamic_linker=no
2464 + ;;
2465 +
2466 +# This must be Linux ELF.
2467 +linux* | k*bsd*-gnu)
2468 + version_type=linux
2469 + need_lib_prefix=no
2470 + need_version=no
2471 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2472 + soname_spec='${libname}${release}${shared_ext}$major'
2473 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2474 + shlibpath_var=LD_LIBRARY_PATH
2475 + shlibpath_overrides_runpath=no
2476 + # Some binutils ld are patched to set DT_RUNPATH
2477 + save_LDFLAGS=$LDFLAGS
2478 + save_libdir=$libdir
2479 + eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
2480 + LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
2481 + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
2482 + [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
2483 + [shlibpath_overrides_runpath=yes])])
2484 + LDFLAGS=$save_LDFLAGS
2485 + libdir=$save_libdir
2486 +
2487 + # This implies no fast_install, which is unacceptable.
2488 + # Some rework will be needed to allow for fast_install
2489 + # before this can be enabled.
2490 + hardcode_into_libs=yes
2491 +
2492 + # Append ld.so.conf contents to the search path
2493 + if test -f /etc/ld.so.conf; then
2494 + 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' ' '`
2495 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
2496 + fi
2497 +
2498 + # We used to test for /lib/ld.so.1 and disable shared libraries on
2499 + # powerpc, because MkLinux only supported shared libraries with the
2500 + # GNU dynamic linker. Since this was broken with cross compilers,
2501 + # most powerpc-linux boxes support dynamic linking these days and
2502 + # people can always --disable-shared, the test was removed, and we
2503 + # assume the GNU/Linux dynamic linker is in use.
2504 + dynamic_linker='GNU/Linux ld.so'
2505 + ;;
2506 +
2507 +netbsd*)
2508 + version_type=sunos
2509 + need_lib_prefix=no
2510 + need_version=no
2511 + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
2512 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
2513 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2514 + dynamic_linker='NetBSD (a.out) ld.so'
2515 + else
2516 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2517 + soname_spec='${libname}${release}${shared_ext}$major'
2518 + dynamic_linker='NetBSD ld.elf_so'
2519 + fi
2520 + shlibpath_var=LD_LIBRARY_PATH
2521 + shlibpath_overrides_runpath=yes
2522 + hardcode_into_libs=yes
2523 + ;;
2524 +
2525 +newsos6)
2526 + version_type=linux
2527 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2528 + shlibpath_var=LD_LIBRARY_PATH
2529 + shlibpath_overrides_runpath=yes
2530 + ;;
2531 +
2532 +*nto* | *qnx*)
2533 + version_type=qnx
2534 + need_lib_prefix=no
2535 + need_version=no
2536 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2537 + soname_spec='${libname}${release}${shared_ext}$major'
2538 + shlibpath_var=LD_LIBRARY_PATH
2539 + shlibpath_overrides_runpath=no
2540 + hardcode_into_libs=yes
2541 + dynamic_linker='ldqnx.so'
2542 + ;;
2543 +
2544 +openbsd*)
2545 + version_type=sunos
2546 + sys_lib_dlsearch_path_spec="/usr/lib"
2547 + need_lib_prefix=no
2548 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
2549 + case $host_os in
2550 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
2551 + *) need_version=no ;;
2552 + esac
2553 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
2554 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2555 + shlibpath_var=LD_LIBRARY_PATH
2556 + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
2557 + case $host_os in
2558 + openbsd2.[[89]] | openbsd2.[[89]].*)
2559 + shlibpath_overrides_runpath=no
2560 + ;;
2561 + *)
2562 + shlibpath_overrides_runpath=yes
2563 + ;;
2564 + esac
2565 + else
2566 + shlibpath_overrides_runpath=yes
2567 + fi
2568 + ;;
2569 +
2570 +os2*)
2571 + libname_spec='$name'
2572 + shrext_cmds=".dll"
2573 + need_lib_prefix=no
2574 + library_names_spec='$libname${shared_ext} $libname.a'
2575 + dynamic_linker='OS/2 ld.exe'
2576 + shlibpath_var=LIBPATH
2577 + ;;
2578 +
2579 +osf3* | osf4* | osf5*)
2580 + version_type=osf
2581 + need_lib_prefix=no
2582 + need_version=no
2583 + soname_spec='${libname}${release}${shared_ext}$major'
2584 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2585 + shlibpath_var=LD_LIBRARY_PATH
2586 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
2587 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
2588 + ;;
2589 +
2590 +rdos*)
2591 + dynamic_linker=no
2592 + ;;
2593 +
2594 +solaris*)
2595 + version_type=linux
2596 + need_lib_prefix=no
2597 + need_version=no
2598 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2599 + soname_spec='${libname}${release}${shared_ext}$major'
2600 + shlibpath_var=LD_LIBRARY_PATH
2601 + shlibpath_overrides_runpath=yes
2602 + hardcode_into_libs=yes
2603 + # ldd complains unless libraries are executable
2604 + postinstall_cmds='chmod +x $lib'
2605 + ;;
2606 +
2607 +sunos4*)
2608 + version_type=sunos
2609 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
2610 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
2611 + shlibpath_var=LD_LIBRARY_PATH
2612 + shlibpath_overrides_runpath=yes
2613 + if test "$with_gnu_ld" = yes; then
2614 + need_lib_prefix=no
2615 + fi
2616 + need_version=yes
2617 + ;;
2618 +
2619 +sysv4 | sysv4.3*)
2620 + version_type=linux
2621 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2622 + soname_spec='${libname}${release}${shared_ext}$major'
2623 + shlibpath_var=LD_LIBRARY_PATH
2624 + case $host_vendor in
2625 + sni)
2626 + shlibpath_overrides_runpath=no
2627 + need_lib_prefix=no
2628 + runpath_var=LD_RUN_PATH
2629 + ;;
2630 + siemens)
2631 + need_lib_prefix=no
2632 + ;;
2633 + motorola)
2634 + need_lib_prefix=no
2635 + need_version=no
2636 + shlibpath_overrides_runpath=no
2637 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
2638 + ;;
2639 + esac
2640 + ;;
2641 +
2642 +sysv4*MP*)
2643 + if test -d /usr/nec ;then
2644 + version_type=linux
2645 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
2646 + soname_spec='$libname${shared_ext}.$major'
2647 + shlibpath_var=LD_LIBRARY_PATH
2648 + fi
2649 + ;;
2650 +
2651 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
2652 + version_type=freebsd-elf
2653 + need_lib_prefix=no
2654 + need_version=no
2655 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
2656 + soname_spec='${libname}${release}${shared_ext}$major'
2657 + shlibpath_var=LD_LIBRARY_PATH
2658 + shlibpath_overrides_runpath=yes
2659 + hardcode_into_libs=yes
2660 + if test "$with_gnu_ld" = yes; then
2661 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
2662 + else
2663 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
2664 + case $host_os in
2665 + sco3.2v5*)
2666 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
2667 + ;;
2668 + esac
2669 + fi
2670 + sys_lib_dlsearch_path_spec='/usr/lib'
2671 + ;;
2672 +
2673 +tpf*)
2674 + # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
2675 + version_type=linux
2676 + need_lib_prefix=no
2677 + need_version=no
2678 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2679 + shlibpath_var=LD_LIBRARY_PATH
2680 + shlibpath_overrides_runpath=no
2681 + hardcode_into_libs=yes
2682 + ;;
2683 +
2684 +uts4*)
2685 + version_type=linux
2686 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2687 + soname_spec='${libname}${release}${shared_ext}$major'
2688 + shlibpath_var=LD_LIBRARY_PATH
2689 + ;;
2690 +
2691 +*)
2692 + dynamic_linker=no
2693 + ;;
2694 +esac
2695 +AC_MSG_RESULT([$dynamic_linker])
2696 +test "$dynamic_linker" = no && can_build_shared=no
2697 +
2698 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
2699 +if test "$GCC" = yes; then
2700 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
2701 +fi
2702 +
2703 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
2704 + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
2705 +fi
2706 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
2707 + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
2708 +fi
2709 +
2710 +_LT_DECL([], [variables_saved_for_relink], [1],
2711 + [Variables whose values should be saved in libtool wrapper scripts and
2712 + restored at link time])
2713 +_LT_DECL([], [need_lib_prefix], [0],
2714 + [Do we need the "lib" prefix for modules?])
2715 +_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
2716 +_LT_DECL([], [version_type], [0], [Library versioning type])
2717 +_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable])
2718 +_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
2719 +_LT_DECL([], [shlibpath_overrides_runpath], [0],
2720 + [Is shlibpath searched before the hard-coded library search path?])
2721 +_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
2722 +_LT_DECL([], [library_names_spec], [1],
2723 + [[List of archive names. First name is the real one, the rest are links.
2724 + The last name is the one that the linker finds with -lNAME]])
2725 +_LT_DECL([], [soname_spec], [1],
2726 + [[The coded name of the library, if different from the real name]])
2727 +_LT_DECL([], [postinstall_cmds], [2],
2728 + [Command to use after installation of a shared archive])
2729 +_LT_DECL([], [postuninstall_cmds], [2],
2730 + [Command to use after uninstallation of a shared archive])
2731 +_LT_DECL([], [finish_cmds], [2],
2732 + [Commands used to finish a libtool library installation in a directory])
2733 +_LT_DECL([], [finish_eval], [1],
2734 + [[As "finish_cmds", except a single script fragment to be evaled but
2735 + not shown]])
2736 +_LT_DECL([], [hardcode_into_libs], [0],
2737 + [Whether we should hardcode library paths into libraries])
2738 +_LT_DECL([], [sys_lib_search_path_spec], [2],
2739 + [Compile-time system search path for libraries])
2740 +_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
2741 + [Run-time system search path for libraries])
2742 +])# _LT_SYS_DYNAMIC_LINKER
2743 +
2744 +
2745 +# _LT_PATH_TOOL_PREFIX(TOOL)
2746 +# --------------------------
2747 +# find a file program which can recognize shared library
2748 +AC_DEFUN([_LT_PATH_TOOL_PREFIX],
2749 +[m4_require([_LT_DECL_EGREP])dnl
2750 +AC_MSG_CHECKING([for $1])
2751 +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
2752 +[case $MAGIC_CMD in
2753 +[[\\/*] | ?:[\\/]*])
2754 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2755 + ;;
2756 +*)
2757 + lt_save_MAGIC_CMD="$MAGIC_CMD"
2758 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2759 +dnl $ac_dummy forces splitting on constant user-supplied paths.
2760 +dnl POSIX.2 word splitting is done only on the output of word expansions,
2761 +dnl not every word. This closes a longstanding sh security hole.
2762 + ac_dummy="m4_if([$2], , $PATH, [$2])"
2763 + for ac_dir in $ac_dummy; do
2764 + IFS="$lt_save_ifs"
2765 + test -z "$ac_dir" && ac_dir=.
2766 + if test -f $ac_dir/$1; then
2767 + lt_cv_path_MAGIC_CMD="$ac_dir/$1"
2768 + if test -n "$file_magic_test_file"; then
2769 + case $deplibs_check_method in
2770 + "file_magic "*)
2771 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
2772 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2773 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2774 + $EGREP "$file_magic_regex" > /dev/null; then
2775 + :
2776 + else
2777 + cat <<_LT_EOF 1>&2
2778 +
2779 +*** Warning: the command libtool uses to detect shared libraries,
2780 +*** $file_magic_cmd, produces output that libtool cannot recognize.
2781 +*** The result is that libtool may fail to recognize shared libraries
2782 +*** as such. This will affect the creation of libtool libraries that
2783 +*** depend on shared libraries, but programs linked with such libtool
2784 +*** libraries will work regardless of this problem. Nevertheless, you
2785 +*** may want to report the problem to your system manager and/or to
2786 +*** bug-libtool@gnu.org
2787 +
2788 +_LT_EOF
2789 + fi ;;
2790 + esac
2791 + fi
2792 + break
2793 + fi
2794 + done
2795 + IFS="$lt_save_ifs"
2796 + MAGIC_CMD="$lt_save_MAGIC_CMD"
2797 + ;;
2798 +esac])
2799 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2800 +if test -n "$MAGIC_CMD"; then
2801 + AC_MSG_RESULT($MAGIC_CMD)
2802 +else
2803 + AC_MSG_RESULT(no)
2804 +fi
2805 +_LT_DECL([], [MAGIC_CMD], [0],
2806 + [Used to examine libraries when file_magic_cmd begins with "file"])dnl
2807 +])# _LT_PATH_TOOL_PREFIX
2808 +
2809 +# Old name:
2810 +AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
2811 +dnl aclocal-1.4 backwards compatibility:
2812 +dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
2813 +
2814 +
2815 +# _LT_PATH_MAGIC
2816 +# --------------
2817 +# find a file program which can recognize a shared library
2818 +m4_defun([_LT_PATH_MAGIC],
2819 +[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
2820 +if test -z "$lt_cv_path_MAGIC_CMD"; then
2821 + if test -n "$ac_tool_prefix"; then
2822 + _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
2823 + else
2824 + MAGIC_CMD=:
2825 + fi
2826 +fi
2827 +])# _LT_PATH_MAGIC
2828 +
2829 +
2830 +# LT_PATH_LD
2831 +# ----------
2832 +# find the pathname to the GNU or non-GNU linker
2833 +AC_DEFUN([LT_PATH_LD],
2834 +[AC_REQUIRE([AC_PROG_CC])dnl
2835 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
2836 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
2837 +m4_require([_LT_DECL_SED])dnl
2838 +m4_require([_LT_DECL_EGREP])dnl
2839 +
2840 +AC_ARG_WITH([gnu-ld],
2841 + [AS_HELP_STRING([--with-gnu-ld],
2842 + [assume the C compiler uses GNU ld @<:@default=no@:>@])],
2843 + [test "$withval" = no || with_gnu_ld=yes],
2844 + [with_gnu_ld=no])dnl
2845 +
2846 +ac_prog=ld
2847 +if test "$GCC" = yes; then
2848 + # Check if gcc -print-prog-name=ld gives a path.
2849 + AC_MSG_CHECKING([for ld used by $CC])
2850 + case $host in
2851 + *-*-mingw*)
2852 + # gcc leaves a trailing carriage return which upsets mingw
2853 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2854 + *)
2855 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
2856 + esac
2857 + case $ac_prog in
2858 + # Accept absolute paths.
2859 + [[\\/]]* | ?:[[\\/]]*)
2860 + re_direlt='/[[^/]][[^/]]*/\.\./'
2861 + # Canonicalize the pathname of ld
2862 + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
2863 + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
2864 + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
2865 + done
2866 + test -z "$LD" && LD="$ac_prog"
2867 + ;;
2868 + "")
2869 + # If it fails, then pretend we aren't using GCC.
2870 + ac_prog=ld
2871 + ;;
2872 + *)
2873 + # If it is relative, then search for the first ld in PATH.
2874 + with_gnu_ld=unknown
2875 + ;;
2876 + esac
2877 +elif test "$with_gnu_ld" = yes; then
2878 + AC_MSG_CHECKING([for GNU ld])
2879 +else
2880 + AC_MSG_CHECKING([for non-GNU ld])
2881 +fi
2882 +AC_CACHE_VAL(lt_cv_path_LD,
2883 +[if test -z "$LD"; then
2884 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2885 + for ac_dir in $PATH; do
2886 + IFS="$lt_save_ifs"
2887 + test -z "$ac_dir" && ac_dir=.
2888 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
2889 + lt_cv_path_LD="$ac_dir/$ac_prog"
2890 + # Check to see if the program is GNU ld. I'd rather use --version,
2891 + # but apparently some variants of GNU ld only accept -v.
2892 + # Break only if it was the GNU/non-GNU ld that we prefer.
2893 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
2894 + *GNU* | *'with BFD'*)
2895 + test "$with_gnu_ld" != no && break
2896 + ;;
2897 + *)
2898 + test "$with_gnu_ld" != yes && break
2899 + ;;
2900 + esac
2901 + fi
2902 + done
2903 + IFS="$lt_save_ifs"
2904 +else
2905 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
2906 +fi])
2907 +LD="$lt_cv_path_LD"
2908 +if test -n "$LD"; then
2909 + AC_MSG_RESULT($LD)
2910 +else
2911 + AC_MSG_RESULT(no)
2912 +fi
2913 +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
2914 +_LT_PATH_LD_GNU
2915 +AC_SUBST([LD])
2916 +
2917 +_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
2918 +])# LT_PATH_LD
2919 +
2920 +# Old names:
2921 +AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
2922 +AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
2923 +dnl aclocal-1.4 backwards compatibility:
2924 +dnl AC_DEFUN([AM_PROG_LD], [])
2925 +dnl AC_DEFUN([AC_PROG_LD], [])
2926 +
2927 +
2928 +# _LT_PATH_LD_GNU
2929 +#- --------------
2930 +m4_defun([_LT_PATH_LD_GNU],
2931 +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
2932 +[# I'd rather use --version here, but apparently some GNU lds only accept -v.
2933 +case `$LD -v 2>&1 </dev/null` in
2934 +*GNU* | *'with BFD'*)
2935 + lt_cv_prog_gnu_ld=yes
2936 + ;;
2937 +*)
2938 + lt_cv_prog_gnu_ld=no
2939 + ;;
2940 +esac])
2941 +with_gnu_ld=$lt_cv_prog_gnu_ld
2942 +])# _LT_PATH_LD_GNU
2943 +
2944 +
2945 +# _LT_CMD_RELOAD
2946 +# --------------
2947 +# find reload flag for linker
2948 +# -- PORTME Some linkers may need a different reload flag.
2949 +m4_defun([_LT_CMD_RELOAD],
2950 +[AC_CACHE_CHECK([for $LD option to reload object files],
2951 + lt_cv_ld_reload_flag,
2952 + [lt_cv_ld_reload_flag='-r'])
2953 +reload_flag=$lt_cv_ld_reload_flag
2954 +case $reload_flag in
2955 +"" | " "*) ;;
2956 +*) reload_flag=" $reload_flag" ;;
2957 +esac
2958 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
2959 +case $host_os in
2960 + darwin*)
2961 + if test "$GCC" = yes; then
2962 + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
2963 + else
2964 + reload_cmds='$LD$reload_flag -o $output$reload_objs'
2965 + fi
2966 + ;;
2967 +esac
2968 +_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
2969 +_LT_DECL([], [reload_cmds], [2])dnl
2970 +])# _LT_CMD_RELOAD
2971 +
2972 +
2973 +# _LT_CHECK_MAGIC_METHOD
2974 +# ----------------------
2975 +# how to check for library dependencies
2976 +# -- PORTME fill in with the dynamic library characteristics
2977 +m4_defun([_LT_CHECK_MAGIC_METHOD],
2978 +[m4_require([_LT_DECL_EGREP])
2979 +m4_require([_LT_DECL_OBJDUMP])
2980 +AC_CACHE_CHECK([how to recognize dependent libraries],
2981 +lt_cv_deplibs_check_method,
2982 +[lt_cv_file_magic_cmd='$MAGIC_CMD'
2983 +lt_cv_file_magic_test_file=
2984 +lt_cv_deplibs_check_method='unknown'
2985 +# Need to set the preceding variable on all platforms that support
2986 +# interlibrary dependencies.
2987 +# 'none' -- dependencies not supported.
2988 +# `unknown' -- same as none, but documents that we really don't know.
2989 +# 'pass_all' -- all dependencies passed with no checks.
2990 +# 'test_compile' -- check by making test program.
2991 +# 'file_magic [[regex]]' -- check by looking for files in library path
2992 +# which responds to the $file_magic_cmd with a given extended regex.
2993 +# If you have `file' or equivalent on your system and you're not sure
2994 +# whether `pass_all' will *always* work, you probably want this one.
2995 +
2996 +case $host_os in
2997 +aix[[4-9]]*)
2998 + lt_cv_deplibs_check_method=pass_all
2999 + ;;
3000 +
3001 +beos*)
3002 + lt_cv_deplibs_check_method=pass_all
3003 + ;;
3004 +
3005 +bsdi[[45]]*)
3006 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
3007 + lt_cv_file_magic_cmd='/usr/bin/file -L'
3008 + lt_cv_file_magic_test_file=/shlib/libc.so
3009 + ;;
3010 +
3011 +cygwin*)
3012 + # func_win32_libid is a shell function defined in ltmain.sh
3013 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3014 + lt_cv_file_magic_cmd='func_win32_libid'
3015 + ;;
3016 +
3017 +mingw* | pw32*)
3018 + # Base MSYS/MinGW do not provide the 'file' command needed by
3019 + # func_win32_libid shell function, so use a weaker test based on 'objdump',
3020 + # unless we find 'file', for example because we are cross-compiling.
3021 + if ( file / ) >/dev/null 2>&1; then
3022 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3023 + lt_cv_file_magic_cmd='func_win32_libid'
3024 + else
3025 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3026 + lt_cv_file_magic_cmd='$OBJDUMP -f'
3027 + fi
3028 + ;;
3029 +
3030 +cegcc)
3031 + # use the weaker test based on 'objdump'. See mingw*.
3032 + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3033 + lt_cv_file_magic_cmd='$OBJDUMP -f'
3034 + ;;
3035 +
3036 +darwin* | rhapsody*)
3037 + lt_cv_deplibs_check_method=pass_all
3038 + ;;
3039 +
3040 +freebsd* | dragonfly*)
3041 + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3042 + case $host_cpu in
3043 + i*86 )
3044 + # Not sure whether the presence of OpenBSD here was a mistake.
3045 + # Let's accept both of them until this is cleared up.
3046 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
3047 + lt_cv_file_magic_cmd=/usr/bin/file
3048 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3049 + ;;
3050 + esac
3051 + else
3052 + lt_cv_deplibs_check_method=pass_all
3053 + fi
3054 + ;;
3055 +
3056 +gnu*)
3057 + lt_cv_deplibs_check_method=pass_all
3058 + ;;
3059 +
3060 +hpux10.20* | hpux11*)
3061 + lt_cv_file_magic_cmd=/usr/bin/file
3062 + case $host_cpu in
3063 + ia64*)
3064 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
3065 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3066 + ;;
3067 + hppa*64*)
3068 + [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]']
3069 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3070 + ;;
3071 + *)
3072 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
3073 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
3074 + ;;
3075 + esac
3076 + ;;
3077 +
3078 +interix[[3-9]]*)
3079 + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3080 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
3081 + ;;
3082 +
3083 +irix5* | irix6* | nonstopux*)
3084 + case $LD in
3085 + *-32|*"-32 ") libmagic=32-bit;;
3086 + *-n32|*"-n32 ") libmagic=N32;;
3087 + *-64|*"-64 ") libmagic=64-bit;;
3088 + *) libmagic=never-match;;
3089 + esac
3090 + lt_cv_deplibs_check_method=pass_all
3091 + ;;
3092 +
3093 +# This must be Linux ELF.
3094 +linux* | k*bsd*-gnu)
3095 + lt_cv_deplibs_check_method=pass_all
3096 + ;;
3097 +
3098 +netbsd*)
3099 + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3100 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3101 + else
3102 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
3103 + fi
3104 + ;;
3105 +
3106 +newos6*)
3107 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3108 + lt_cv_file_magic_cmd=/usr/bin/file
3109 + lt_cv_file_magic_test_file=/usr/lib/libnls.so
3110 + ;;
3111 +
3112 +*nto* | *qnx*)
3113 + lt_cv_deplibs_check_method=pass_all
3114 + ;;
3115 +
3116 +openbsd*)
3117 + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3118 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
3119 + else
3120 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3121 + fi
3122 + ;;
3123 +
3124 +osf3* | osf4* | osf5*)
3125 + lt_cv_deplibs_check_method=pass_all
3126 + ;;
3127 +
3128 +rdos*)
3129 + lt_cv_deplibs_check_method=pass_all
3130 + ;;
3131 +
3132 +solaris*)
3133 + lt_cv_deplibs_check_method=pass_all
3134 + ;;
3135 +
3136 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3137 + lt_cv_deplibs_check_method=pass_all
3138 + ;;
3139 +
3140 +sysv4 | sysv4.3*)
3141 + case $host_vendor in
3142 + motorola)
3143 + 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]]'
3144 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3145 + ;;
3146 + ncr)
3147 + lt_cv_deplibs_check_method=pass_all
3148 + ;;
3149 + sequent)
3150 + lt_cv_file_magic_cmd='/bin/file'
3151 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
3152 + ;;
3153 + sni)
3154 + lt_cv_file_magic_cmd='/bin/file'
3155 + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
3156 + lt_cv_file_magic_test_file=/lib/libc.so
3157 + ;;
3158 + siemens)
3159 + lt_cv_deplibs_check_method=pass_all
3160 + ;;
3161 + pc)
3162 + lt_cv_deplibs_check_method=pass_all
3163 + ;;
3164 + esac
3165 + ;;
3166 +
3167 +tpf*)
3168 + lt_cv_deplibs_check_method=pass_all
3169 + ;;
3170 +esac
3171 +])
3172 +file_magic_cmd=$lt_cv_file_magic_cmd
3173 +deplibs_check_method=$lt_cv_deplibs_check_method
3174 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
3175 +
3176 +_LT_DECL([], [deplibs_check_method], [1],
3177 + [Method to check whether dependent libraries are shared objects])
3178 +_LT_DECL([], [file_magic_cmd], [1],
3179 + [Command to use when deplibs_check_method == "file_magic"])
3180 +])# _LT_CHECK_MAGIC_METHOD
3181 +
3182 +
3183 +# LT_PATH_NM
3184 +# ----------
3185 +# find the pathname to a BSD- or MS-compatible name lister
3186 +AC_DEFUN([LT_PATH_NM],
3187 +[AC_REQUIRE([AC_PROG_CC])dnl
3188 +AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
3189 +[if test -n "$NM"; then
3190 + # Let the user override the test.
3191 + lt_cv_path_NM="$NM"
3192 +else
3193 + lt_nm_to_check="${ac_tool_prefix}nm"
3194 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3195 + lt_nm_to_check="$lt_nm_to_check nm"
3196 + fi
3197 + for lt_tmp_nm in $lt_nm_to_check; do
3198 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3199 + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3200 + IFS="$lt_save_ifs"
3201 + test -z "$ac_dir" && ac_dir=.
3202 + tmp_nm="$ac_dir/$lt_tmp_nm"
3203 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3204 + # Check to see if the nm accepts a BSD-compat flag.
3205 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3206 + # nm: unknown option "B" ignored
3207 + # Tru64's nm complains that /dev/null is an invalid object file
3208 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3209 + */dev/null* | *'Invalid file or object type'*)
3210 + lt_cv_path_NM="$tmp_nm -B"
3211 + break
3212 + ;;
3213 + *)
3214 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3215 + */dev/null*)
3216 + lt_cv_path_NM="$tmp_nm -p"
3217 + break
3218 + ;;
3219 + *)
3220 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3221 + continue # so that we can try to find one that supports BSD flags
3222 + ;;
3223 + esac
3224 + ;;
3225 + esac
3226 + fi
3227 + done
3228 + IFS="$lt_save_ifs"
3229 + done
3230 + : ${lt_cv_path_NM=no}
3231 +fi])
3232 +if test "$lt_cv_path_NM" != "no"; then
3233 + NM="$lt_cv_path_NM"
3234 +else
3235 + # Didn't find any BSD compatible name lister, look for dumpbin.
3236 + AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
3237 + AC_SUBST([DUMPBIN])
3238 + if test "$DUMPBIN" != ":"; then
3239 + NM="$DUMPBIN"
3240 + fi
3241 +fi
3242 +test -z "$NM" && NM=nm
3243 +AC_SUBST([NM])
3244 +_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
3245 +
3246 +AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
3247 + [lt_cv_nm_interface="BSD nm"
3248 + echo "int some_variable = 0;" > conftest.$ac_ext
3249 + (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
3250 + (eval "$ac_compile" 2>conftest.err)
3251 + cat conftest.err >&AS_MESSAGE_LOG_FD
3252 + (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
3253 + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
3254 + cat conftest.err >&AS_MESSAGE_LOG_FD
3255 + (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
3256 + cat conftest.out >&AS_MESSAGE_LOG_FD
3257 + if $GREP 'External.*some_variable' conftest.out > /dev/null; then
3258 + lt_cv_nm_interface="MS dumpbin"
3259 + fi
3260 + rm -f conftest*])
3261 +])# LT_PATH_NM
3262 +
3263 +# Old names:
3264 +AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
3265 +AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
3266 +dnl aclocal-1.4 backwards compatibility:
3267 +dnl AC_DEFUN([AM_PROG_NM], [])
3268 +dnl AC_DEFUN([AC_PROG_NM], [])
3269 +
3270 +
3271 +# LT_LIB_M
3272 +# --------
3273 +# check for math library
3274 +AC_DEFUN([LT_LIB_M],
3275 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
3276 +LIBM=
3277 +case $host in
3278 +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
3279 + # These system don't have libm, or don't need it
3280 + ;;
3281 +*-ncr-sysv4.3*)
3282 + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
3283 + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
3284 + ;;
3285 +*)
3286 + AC_CHECK_LIB(m, cos, LIBM="-lm")
3287 + ;;
3288 +esac
3289 +AC_SUBST([LIBM])
3290 +])# LT_LIB_M
3291 +
3292 +# Old name:
3293 +AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
3294 +dnl aclocal-1.4 backwards compatibility:
3295 +dnl AC_DEFUN([AC_CHECK_LIBM], [])
3296 +
3297 +
3298 +# _LT_COMPILER_NO_RTTI([TAGNAME])
3299 +# -------------------------------
3300 +m4_defun([_LT_COMPILER_NO_RTTI],
3301 +[m4_require([_LT_TAG_COMPILER])dnl
3302 +
3303 +_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
3304 +
3305 +if test "$GCC" = yes; then
3306 + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
3307 +
3308 + _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
3309 + lt_cv_prog_compiler_rtti_exceptions,
3310 + [-fno-rtti -fno-exceptions], [],
3311 + [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
3312 +fi
3313 +_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
3314 + [Compiler flag to turn off builtin functions])
3315 +])# _LT_COMPILER_NO_RTTI
3316 +
3317 +
3318 +# _LT_CMD_GLOBAL_SYMBOLS
3319 +# ----------------------
3320 +m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
3321 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
3322 +AC_REQUIRE([AC_PROG_CC])dnl
3323 +AC_REQUIRE([LT_PATH_NM])dnl
3324 +AC_REQUIRE([LT_PATH_LD])dnl
3325 +m4_require([_LT_DECL_SED])dnl
3326 +m4_require([_LT_DECL_EGREP])dnl
3327 +m4_require([_LT_TAG_COMPILER])dnl
3328 +
3329 +# Check for command to grab the raw symbol name followed by C symbol from nm.
3330 +AC_MSG_CHECKING([command to parse $NM output from $compiler object])
3331 +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
3332 +[
3333 +# These are sane defaults that work on at least a few old systems.
3334 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
3335 +
3336 +# Character class describing NM global symbol codes.
3337 +symcode='[[BCDEGRST]]'
3338 +
3339 +# Regexp to match symbols that can be accessed directly from C.
3340 +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
3341 +
3342 +# Define system-specific variables.
3343 +case $host_os in
3344 +aix*)
3345 + symcode='[[BCDT]]'
3346 + ;;
3347 +cygwin* | mingw* | pw32* | cegcc*)
3348 + symcode='[[ABCDGISTW]]'
3349 + ;;
3350 +hpux*)
3351 + if test "$host_cpu" = ia64; then
3352 + symcode='[[ABCDEGRST]]'
3353 + fi
3354 + ;;
3355 +irix* | nonstopux*)
3356 + symcode='[[BCDEGRST]]'
3357 + ;;
3358 +osf*)
3359 + symcode='[[BCDEGQRST]]'
3360 + ;;
3361 +solaris*)
3362 + symcode='[[BDRT]]'
3363 + ;;
3364 +sco3.2v5*)
3365 + symcode='[[DT]]'
3366 + ;;
3367 +sysv4.2uw2*)
3368 + symcode='[[DT]]'
3369 + ;;
3370 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
3371 + symcode='[[ABDT]]'
3372 + ;;
3373 +sysv4)
3374 + symcode='[[DFNSTU]]'
3375 + ;;
3376 +esac
3377 +
3378 +# If we're using GNU nm, then use its standard symbol codes.
3379 +case `$NM -V 2>&1` in
3380 +*GNU* | *'with BFD'*)
3381 + symcode='[[ABCDGIRSTW]]' ;;
3382 +esac
3383 +
3384 +# Transform an extracted symbol line into a proper C declaration.
3385 +# Some systems (esp. on ia64) link data and code symbols differently,
3386 +# so use this general approach.
3387 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
3388 +
3389 +# Transform an extracted symbol line into symbol name and symbol address
3390 +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'"
3391 +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'"
3392 +
3393 +# Handle CRLF in mingw tool chain
3394 +opt_cr=
3395 +case $build_os in
3396 +mingw*)
3397 + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
3398 + ;;
3399 +esac
3400 +
3401 +# Try without a prefix underscore, then with it.
3402 +for ac_symprfx in "" "_"; do
3403 +
3404 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
3405 + symxfrm="\\1 $ac_symprfx\\2 \\2"
3406 +
3407 + # Write the raw and C identifiers.
3408 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
3409 + # Fake it for dumpbin and say T for any non-static function
3410 + # and D for any global variable.
3411 + # Also find C++ and __fastcall symbols from MSVC++,
3412 + # which start with @ or ?.
3413 + lt_cv_sys_global_symbol_pipe="$AWK ['"\
3414 +" {last_section=section; section=\$ 3};"\
3415 +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
3416 +" \$ 0!~/External *\|/{next};"\
3417 +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
3418 +" {if(hide[section]) next};"\
3419 +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
3420 +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
3421 +" s[1]~/^[@?]/{print s[1], s[1]; next};"\
3422 +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
3423 +" ' prfx=^$ac_symprfx]"
3424 + else
3425 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
3426 + fi
3427 +
3428 + # Check to see that the pipe works correctly.
3429 + pipe_works=no
3430 +
3431 + rm -f conftest*
3432 + cat > conftest.$ac_ext <<_LT_EOF
3433 +#ifdef __cplusplus
3434 +extern "C" {
3435 +#endif
3436 +char nm_test_var;
3437 +void nm_test_func(void);
3438 +void nm_test_func(void){}
3439 +#ifdef __cplusplus
3440 +}
3441 +#endif
3442 +int main(){nm_test_var='a';nm_test_func();return(0);}
3443 +_LT_EOF
3444 +
3445 + if AC_TRY_EVAL(ac_compile); then
3446 + # Now try to grab the symbols.
3447 + nlist=conftest.nm
3448 + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
3449 + # Try sorting and uniquifying the output.
3450 + if sort "$nlist" | uniq > "$nlist"T; then
3451 + mv -f "$nlist"T "$nlist"
3452 + else
3453 + rm -f "$nlist"T
3454 + fi
3455 +
3456 + # Make sure that we snagged all the symbols we need.
3457 + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
3458 + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
3459 + cat <<_LT_EOF > conftest.$ac_ext
3460 +#ifdef __cplusplus
3461 +extern "C" {
3462 +#endif
3463 +
3464 +_LT_EOF
3465 + # Now generate the symbol file.
3466 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
3467 +
3468 + cat <<_LT_EOF >> conftest.$ac_ext
3469 +
3470 +/* The mapping between symbol names and symbols. */
3471 +const struct {
3472 + const char *name;
3473 + void *address;
3474 +}
3475 +lt__PROGRAM__LTX_preloaded_symbols[[]] =
3476 +{
3477 + { "@PROGRAM@", (void *) 0 },
3478 +_LT_EOF
3479 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
3480 + cat <<\_LT_EOF >> conftest.$ac_ext
3481 + {0, (void *) 0}
3482 +};
3483 +
3484 +/* This works around a problem in FreeBSD linker */
3485 +#ifdef FREEBSD_WORKAROUND
3486 +static const void *lt_preloaded_setup() {
3487 + return lt__PROGRAM__LTX_preloaded_symbols;
3488 +}
3489 +#endif
3490 +
3491 +#ifdef __cplusplus
3492 +}
3493 +#endif
3494 +_LT_EOF
3495 + # Now try linking the two files.
3496 + mv conftest.$ac_objext conftstm.$ac_objext
3497 + lt_save_LIBS="$LIBS"
3498 + lt_save_CFLAGS="$CFLAGS"
3499 + LIBS="conftstm.$ac_objext"
3500 + CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
3501 + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
3502 + pipe_works=yes
3503 + fi
3504 + LIBS="$lt_save_LIBS"
3505 + CFLAGS="$lt_save_CFLAGS"
3506 + else
3507 + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
3508 + fi
3509 + else
3510 + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
3511 + fi
3512 + else
3513 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
3514 + fi
3515 + else
3516 + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
3517 + cat conftest.$ac_ext >&5
3518 + fi
3519 + rm -rf conftest* conftst*
3520 +
3521 + # Do not use the global_symbol_pipe unless it works.
3522 + if test "$pipe_works" = yes; then
3523 + break
3524 + else
3525 + lt_cv_sys_global_symbol_pipe=
3526 + fi
3527 +done
3528 +])
3529 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
3530 + lt_cv_sys_global_symbol_to_cdecl=
3531 +fi
3532 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
3533 + AC_MSG_RESULT(failed)
3534 +else
3535 + AC_MSG_RESULT(ok)
3536 +fi
3537 +
3538 +_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
3539 + [Take the output of nm and produce a listing of raw symbols and C names])
3540 +_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
3541 + [Transform the output of nm in a proper C declaration])
3542 +_LT_DECL([global_symbol_to_c_name_address],
3543 + [lt_cv_sys_global_symbol_to_c_name_address], [1],
3544 + [Transform the output of nm in a C name address pair])
3545 +_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
3546 + [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
3547 + [Transform the output of nm in a C name address pair when lib prefix is needed])
3548 +]) # _LT_CMD_GLOBAL_SYMBOLS
3549 +
3550 +
3551 +# _LT_COMPILER_PIC([TAGNAME])
3552 +# ---------------------------
3553 +m4_defun([_LT_COMPILER_PIC],
3554 +[m4_require([_LT_TAG_COMPILER])dnl
3555 +_LT_TAGVAR(lt_prog_compiler_wl, $1)=
3556 +_LT_TAGVAR(lt_prog_compiler_pic, $1)=
3557 +_LT_TAGVAR(lt_prog_compiler_static, $1)=
3558 +
3559 +AC_MSG_CHECKING([for $compiler option to produce PIC])
3560 +m4_if([$1], [CXX], [
3561 + # C++ specific cases for pic, static, wl, etc.
3562 + if test "$GXX" = yes; then
3563 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3564 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
3565 +
3566 + case $host_os in
3567 + aix*)
3568 + # All AIX code is PIC.
3569 + if test "$host_cpu" = ia64; then
3570 + # AIX 5 now supports IA64 processor
3571 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3572 + fi
3573 + ;;
3574 +
3575 + amigaos*)
3576 + case $host_cpu in
3577 + powerpc)
3578 + # see comment about AmigaOS4 .so support
3579 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3580 + ;;
3581 + m68k)
3582 + # FIXME: we need at least 68020 code to build shared libraries, but
3583 + # adding the `-m68020' flag to GCC prevents building anything better,
3584 + # like `-m68040'.
3585 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
3586 + ;;
3587 + esac
3588 + ;;
3589 +
3590 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
3591 + # PIC is the default for these OSes.
3592 + ;;
3593 + mingw* | cygwin* | os2* | pw32* | cegcc*)
3594 + # This hack is so that the source file can tell whether it is being
3595 + # built for inclusion in a dll (and should export symbols for example).
3596 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
3597 + # (--disable-auto-import) libraries
3598 + m4_if([$1], [GCJ], [],
3599 + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
3600 + ;;
3601 + darwin* | rhapsody*)
3602 + # PIC is the default on this platform
3603 + # Common symbols not allowed in MH_DYLIB files
3604 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
3605 + ;;
3606 + *djgpp*)
3607 + # DJGPP does not support shared libraries at all
3608 + _LT_TAGVAR(lt_prog_compiler_pic, $1)=
3609 + ;;
3610 + interix[[3-9]]*)
3611 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
3612 + # Instead, we relocate shared libraries at runtime.
3613 + ;;
3614 + sysv4*MP*)
3615 + if test -d /usr/nec; then
3616 + _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
3617 + fi
3618 + ;;
3619 + hpux*)
3620 + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
3621 + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
3622 + # sets the default TLS model and affects inlining.
3623 + case $host_cpu in
3624 + hppa*64*)
3625 + ;;
3626 + *)
3627 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3628 + ;;
3629 + esac
3630 + ;;
3631 + *qnx* | *nto*)
3632 + # QNX uses GNU C++, but need to define -shared option too, otherwise
3633 + # it will coredump.
3634 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
3635 + ;;
3636 + *)
3637 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3638 + ;;
3639 + esac
3640 + else
3641 + case $host_os in
3642 + aix[[4-9]]*)
3643 + # All AIX code is PIC.
3644 + if test "$host_cpu" = ia64; then
3645 + # AIX 5 now supports IA64 processor
3646 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3647 + else
3648 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
3649 + fi
3650 + ;;
3651 + chorus*)
3652 + case $cc_basename in
3653 + cxch68*)
3654 + # Green Hills C++ Compiler
3655 + # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
3656 + ;;
3657 + esac
3658 + ;;
3659 + dgux*)
3660 + case $cc_basename in
3661 + ec++*)
3662 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3663 + ;;
3664 + ghcx*)
3665 + # Green Hills C++ Compiler
3666 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3667 + ;;
3668 + *)
3669 + ;;
3670 + esac
3671 + ;;
3672 + freebsd* | dragonfly*)
3673 + # FreeBSD uses GNU C++
3674 + ;;
3675 + hpux9* | hpux10* | hpux11*)
3676 + case $cc_basename in
3677 + CC*)
3678 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3679 + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
3680 + if test "$host_cpu" != ia64; then
3681 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
3682 + fi
3683 + ;;
3684 + aCC*)
3685 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3686 + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
3687 + case $host_cpu in
3688 + hppa*64*|ia64*)
3689 + # +Z the default
3690 + ;;
3691 + *)
3692 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
3693 + ;;
3694 + esac
3695 + ;;
3696 + *)
3697 + ;;
3698 + esac
3699 + ;;
3700 + interix*)
3701 + # This is c89, which is MS Visual C++ (no shared libs)
3702 + # Anyone wants to do a port?
3703 + ;;
3704 + irix5* | irix6* | nonstopux*)
3705 + case $cc_basename in
3706 + CC*)
3707 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3708 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3709 + # CC pic flag -KPIC is the default.
3710 + ;;
3711 + *)
3712 + ;;
3713 + esac
3714 + ;;
3715 + linux* | k*bsd*-gnu)
3716 + case $cc_basename in
3717 + KCC*)
3718 + # KAI C++ Compiler
3719 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
3720 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3721 + ;;
3722 + ecpc* )
3723 + # old Intel C++ for x86_64 which still supported -KPIC.
3724 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3725 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3726 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
3727 + ;;
3728 + icpc* )
3729 + # Intel C++, used to be incompatible with GCC.
3730 + # ICC 10 doesn't accept -KPIC any more.
3731 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3732 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3733 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
3734 + ;;
3735 + pgCC* | pgcpp*)
3736 + # Portland Group C++ compiler
3737 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3738 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
3739 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3740 + ;;
3741 + cxx*)
3742 + # Compaq C++
3743 + # Make sure the PIC flag is empty. It appears that all Alpha
3744 + # Linux and Compaq Tru64 Unix objects are PIC.
3745 + _LT_TAGVAR(lt_prog_compiler_pic, $1)=
3746 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3747 + ;;
3748 + xlc* | xlC*)
3749 + # IBM XL 8.0 on PPC
3750 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3751 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
3752 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
3753 + ;;
3754 + *)
3755 + case `$CC -V 2>&1 | sed 5q` in
3756 + *Sun\ C*)
3757 + # Sun C++ 5.9
3758 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3759 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3760 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
3761 + ;;
3762 + esac
3763 + ;;
3764 + esac
3765 + ;;
3766 + lynxos*)
3767 + ;;
3768 + m88k*)
3769 + ;;
3770 + mvs*)
3771 + case $cc_basename in
3772 + cxx*)
3773 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
3774 + ;;
3775 + *)
3776 + ;;
3777 + esac
3778 + ;;
3779 + netbsd*)
3780 + ;;
3781 + *qnx* | *nto*)
3782 + # QNX uses GNU C++, but need to define -shared option too, otherwise
3783 + # it will coredump.
3784 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
3785 + ;;
3786 + osf3* | osf4* | osf5*)
3787 + case $cc_basename in
3788 + KCC*)
3789 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
3790 + ;;
3791 + RCC*)
3792 + # Rational C++ 2.4.1
3793 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3794 + ;;
3795 + cxx*)
3796 + # Digital/Compaq C++
3797 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3798 + # Make sure the PIC flag is empty. It appears that all Alpha
3799 + # Linux and Compaq Tru64 Unix objects are PIC.
3800 + _LT_TAGVAR(lt_prog_compiler_pic, $1)=
3801 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3802 + ;;
3803 + *)
3804 + ;;
3805 + esac
3806 + ;;
3807 + psos*)
3808 + ;;
3809 + solaris*)
3810 + case $cc_basename in
3811 + CC*)
3812 + # Sun C++ 4.2, 5.x and Centerline C++
3813 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3814 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3815 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
3816 + ;;
3817 + gcx*)
3818 + # Green Hills C++ Compiler
3819 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
3820 + ;;
3821 + *)
3822 + ;;
3823 + esac
3824 + ;;
3825 + sunos4*)
3826 + case $cc_basename in
3827 + CC*)
3828 + # Sun C++ 4.x
3829 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3830 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3831 + ;;
3832 + lcc*)
3833 + # Lucid
3834 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3835 + ;;
3836 + *)
3837 + ;;
3838 + esac
3839 + ;;
3840 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
3841 + case $cc_basename in
3842 + CC*)
3843 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3844 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3845 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3846 + ;;
3847 + esac
3848 + ;;
3849 + tandem*)
3850 + case $cc_basename in
3851 + NCC*)
3852 + # NonStop-UX NCC 3.20
3853 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3854 + ;;
3855 + *)
3856 + ;;
3857 + esac
3858 + ;;
3859 + vxworks*)
3860 + ;;
3861 + *)
3862 + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
3863 + ;;
3864 + esac
3865 + fi
3866 +],
3867 +[
3868 + if test "$GCC" = yes; then
3869 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3870 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
3871 +
3872 + case $host_os in
3873 + aix*)
3874 + # All AIX code is PIC.
3875 + if test "$host_cpu" = ia64; then
3876 + # AIX 5 now supports IA64 processor
3877 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3878 + fi
3879 + ;;
3880 +
3881 + amigaos*)
3882 + case $host_cpu in
3883 + powerpc)
3884 + # see comment about AmigaOS4 .so support
3885 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3886 + ;;
3887 + m68k)
3888 + # FIXME: we need at least 68020 code to build shared libraries, but
3889 + # adding the `-m68020' flag to GCC prevents building anything better,
3890 + # like `-m68040'.
3891 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
3892 + ;;
3893 + esac
3894 + ;;
3895 +
3896 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
3897 + # PIC is the default for these OSes.
3898 + ;;
3899 +
3900 + mingw* | cygwin* | pw32* | os2* | cegcc*)
3901 + # This hack is so that the source file can tell whether it is being
3902 + # built for inclusion in a dll (and should export symbols for example).
3903 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
3904 + # (--disable-auto-import) libraries
3905 + m4_if([$1], [GCJ], [],
3906 + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
3907 + ;;
3908 +
3909 + darwin* | rhapsody*)
3910 + # PIC is the default on this platform
3911 + # Common symbols not allowed in MH_DYLIB files
3912 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
3913 + ;;
3914 +
3915 + hpux*)
3916 + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
3917 + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
3918 + # sets the default TLS model and affects inlining.
3919 + case $host_cpu in
3920 + hppa*64*)
3921 + # +Z the default
3922 + ;;
3923 + *)
3924 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3925 + ;;
3926 + esac
3927 + ;;
3928 +
3929 + interix[[3-9]]*)
3930 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
3931 + # Instead, we relocate shared libraries at runtime.
3932 + ;;
3933 +
3934 + msdosdjgpp*)
3935 + # Just because we use GCC doesn't mean we suddenly get shared libraries
3936 + # on systems that don't support them.
3937 + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
3938 + enable_shared=no
3939 + ;;
3940 +
3941 + *nto* | *qnx*)
3942 + # QNX uses GNU C++, but need to define -shared option too, otherwise
3943 + # it will coredump.
3944 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
3945 + ;;
3946 +
3947 + sysv4*MP*)
3948 + if test -d /usr/nec; then
3949 + _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
3950 + fi
3951 + ;;
3952 +
3953 + *)
3954 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3955 + ;;
3956 + esac
3957 + else
3958 + # PORTME Check for flag to pass linker flags through the system compiler.
3959 + case $host_os in
3960 + aix*)
3961 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3962 + if test "$host_cpu" = ia64; then
3963 + # AIX 5 now supports IA64 processor
3964 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3965 + else
3966 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
3967 + fi
3968 + ;;
3969 +
3970 + mingw* | cygwin* | pw32* | os2* | cegcc*)
3971 + # This hack is so that the source file can tell whether it is being
3972 + # built for inclusion in a dll (and should export symbols for example).
3973 + m4_if([$1], [GCJ], [],
3974 + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
3975 + ;;
3976 +
3977 + hpux9* | hpux10* | hpux11*)
3978 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3979 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
3980 + # not for PA HP-UX.
3981 + case $host_cpu in
3982 + hppa*64*|ia64*)
3983 + # +Z the default
3984 + ;;
3985 + *)
3986 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
3987 + ;;
3988 + esac
3989 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
3990 + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
3991 + ;;
3992 +
3993 + irix5* | irix6* | nonstopux*)
3994 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3995 + # PIC (with -KPIC) is the default.
3996 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3997 + ;;
3998 +
3999 + linux* | k*bsd*-gnu)
4000 + case $cc_basename in
4001 + # old Intel for x86_64 which still supported -KPIC.
4002 + ecc*)
4003 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4004 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4005 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4006 + ;;
4007 + # icc used to be incompatible with GCC.
4008 + # ICC 10 doesn't accept -KPIC any more.
4009 + icc* | ifort*)
4010 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4011 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4012 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4013 + ;;
4014 + # Lahey Fortran 8.1.
4015 + lf95*)
4016 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4017 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
4018 + _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
4019 + ;;
4020 + pgcc* | pgf77* | pgf90* | pgf95*)
4021 + # Portland Group compilers (*not* the Pentium gcc compiler,
4022 + # which looks to be a dead project)
4023 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4024 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4025 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4026 + ;;
4027 + ccc*)
4028 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4029 + # All Alpha code is PIC.
4030 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4031 + ;;
4032 + xl*)
4033 + # IBM XL C 8.0/Fortran 10.1 on PPC
4034 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4035 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4036 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4037 + ;;
4038 + *)
4039 + case `$CC -V 2>&1 | sed 5q` in
4040 + *Sun\ C*)
4041 + # Sun C 5.9
4042 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4043 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4044 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4045 + ;;
4046 + *Sun\ F*)
4047 + # Sun Fortran 8.3 passes all unrecognized flags to the linker
4048 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4049 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4050 + _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
4051 + ;;
4052 + esac
4053 + ;;
4054 + esac
4055 + ;;
4056 +
4057 + newsos6)
4058 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4059 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4060 + ;;
4061 +
4062 + *nto* | *qnx*)
4063 + # QNX uses GNU C++, but need to define -shared option too, otherwise
4064 + # it will coredump.
4065 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4066 + ;;
4067 +
4068 + osf3* | osf4* | osf5*)
4069 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4070 + # All OSF/1 code is PIC.
4071 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4072 + ;;
4073 +
4074 + rdos*)
4075 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4076 + ;;
4077 +
4078 + solaris*)
4079 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4080 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4081 + case $cc_basename in
4082 + f77* | f90* | f95*)
4083 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
4084 + *)
4085 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
4086 + esac
4087 + ;;
4088 +
4089 + sunos4*)
4090 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4091 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4092 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4093 + ;;
4094 +
4095 + sysv4 | sysv4.2uw2* | sysv4.3*)
4096 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4097 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4098 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4099 + ;;
4100 +
4101 + sysv4*MP*)
4102 + if test -d /usr/nec ;then
4103 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
4104 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4105 + fi
4106 + ;;
4107 +
4108 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
4109 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4110 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4111 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4112 + ;;
4113 +
4114 + unicos*)
4115 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4116 + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4117 + ;;
4118 +
4119 + uts4*)
4120 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4121 + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4122 + ;;
4123 +
4124 + *)
4125 + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4126 + ;;
4127 + esac
4128 + fi
4129 +])
4130 +case $host_os in
4131 + # For platforms which do not support PIC, -DPIC is meaningless:
4132 + *djgpp*)
4133 + _LT_TAGVAR(lt_prog_compiler_pic, $1)=
4134 + ;;
4135 + *)
4136 + _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
4137 + ;;
4138 +esac
4139 +AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
4140 +_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
4141 + [How to pass a linker flag through the compiler])
4142 +
4143 +#
4144 +# Check to make sure the PIC flag actually works.
4145 +#
4146 +if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4147 + _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
4148 + [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
4149 + [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
4150 + [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
4151 + "" | " "*) ;;
4152 + *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
4153 + esac],
4154 + [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
4155 + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
4156 +fi
4157 +_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
4158 + [Additional compiler flags for building library objects])
4159 +
4160 +#
4161 +# Check to make sure the static flag actually works.
4162 +#
4163 +wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
4164 +_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
4165 + _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
4166 + $lt_tmp_static_flag,
4167 + [],
4168 + [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
4169 +_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
4170 + [Compiler flag to prevent dynamic linking])
4171 +])# _LT_COMPILER_PIC
4172 +
4173 +
4174 +# _LT_LINKER_SHLIBS([TAGNAME])
4175 +# ----------------------------
4176 +# See if the linker supports building shared libraries.
4177 +m4_defun([_LT_LINKER_SHLIBS],
4178 +[AC_REQUIRE([LT_PATH_LD])dnl
4179 +AC_REQUIRE([LT_PATH_NM])dnl
4180 +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
4181 +m4_require([_LT_DECL_EGREP])dnl
4182 +m4_require([_LT_DECL_SED])dnl
4183 +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
4184 +m4_require([_LT_TAG_COMPILER])dnl
4185 +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
4186 +m4_if([$1], [CXX], [
4187 + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4188 + case $host_os in
4189 + aix[[4-9]]*)
4190 + # If we're using GNU nm, then we don't want the "-C" option.
4191 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
4192 + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
4193 + _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'
4194 + else
4195 + _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'
4196 + fi
4197 + ;;
4198 + pw32*)
4199 + _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
4200 + ;;
4201 + cygwin* | mingw* | cegcc*)
4202 + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
4203 + ;;
4204 + *)
4205 + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4206 + ;;
4207 + esac
4208 + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
4209 +], [
4210 + runpath_var=
4211 + _LT_TAGVAR(allow_undefined_flag, $1)=
4212 + _LT_TAGVAR(always_export_symbols, $1)=no
4213 + _LT_TAGVAR(archive_cmds, $1)=
4214 + _LT_TAGVAR(archive_expsym_cmds, $1)=
4215 + _LT_TAGVAR(compiler_needs_object, $1)=no
4216 + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
4217 + _LT_TAGVAR(export_dynamic_flag_spec, $1)=
4218 + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4219 + _LT_TAGVAR(hardcode_automatic, $1)=no
4220 + _LT_TAGVAR(hardcode_direct, $1)=no
4221 + _LT_TAGVAR(hardcode_direct_absolute, $1)=no
4222 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
4223 + _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
4224 + _LT_TAGVAR(hardcode_libdir_separator, $1)=
4225 + _LT_TAGVAR(hardcode_minus_L, $1)=no
4226 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
4227 + _LT_TAGVAR(inherit_rpath, $1)=no
4228 + _LT_TAGVAR(link_all_deplibs, $1)=unknown
4229 + _LT_TAGVAR(module_cmds, $1)=
4230 + _LT_TAGVAR(module_expsym_cmds, $1)=
4231 + _LT_TAGVAR(old_archive_from_new_cmds, $1)=
4232 + _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
4233 + _LT_TAGVAR(thread_safe_flag_spec, $1)=
4234 + _LT_TAGVAR(whole_archive_flag_spec, $1)=
4235 + # include_expsyms should be a list of space-separated symbols to be *always*
4236 + # included in the symbol list
4237 + _LT_TAGVAR(include_expsyms, $1)=
4238 + # exclude_expsyms can be an extended regexp of symbols to exclude
4239 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
4240 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
4241 + # as well as any symbol that contains `d'.
4242 + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
4243 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
4244 + # platforms (ab)use it in PIC code, but their linkers get confused if
4245 + # the symbol is explicitly referenced. Since portable code cannot
4246 + # rely on this symbol name, it's probably fine to never include it in
4247 + # preloaded symbol tables.
4248 + # Exclude shared library initialization/finalization symbols.
4249 +dnl Note also adjust exclude_expsyms for C++ above.
4250 + extract_expsyms_cmds=
4251 +
4252 + case $host_os in
4253 + cygwin* | mingw* | pw32* | cegcc*)
4254 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
4255 + # When not using gcc, we currently assume that we are using
4256 + # Microsoft Visual C++.
4257 + if test "$GCC" != yes; then
4258 + with_gnu_ld=no
4259 + fi
4260 + ;;
4261 + interix*)
4262 + # we just hope/assume this is gcc and not c89 (= MSVC++)
4263 + with_gnu_ld=yes
4264 + ;;
4265 + openbsd*)
4266 + with_gnu_ld=no
4267 + ;;
4268 + esac
4269 +
4270 + _LT_TAGVAR(ld_shlibs, $1)=yes
4271 + if test "$with_gnu_ld" = yes; then
4272 + # If archive_cmds runs LD, not CC, wlarc should be empty
4273 + wlarc='${wl}'
4274 +
4275 + # Set some defaults for GNU ld with shared library support. These
4276 + # are reset later if shared libraries are not supported. Putting them
4277 + # here allows them to be overridden if necessary.
4278 + runpath_var=LD_RUN_PATH
4279 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4280 + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4281 + # ancient GNU ld didn't support --whole-archive et. al.
4282 + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
4283 + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
4284 + else
4285 + _LT_TAGVAR(whole_archive_flag_spec, $1)=
4286 + fi
4287 + supports_anon_versioning=no
4288 + case `$LD -v 2>&1` in
4289 + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
4290 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
4291 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
4292 + *\ 2.11.*) ;; # other 2.11 versions
4293 + *) supports_anon_versioning=yes ;;
4294 + esac
4295 +
4296 + # See if GNU ld supports shared libraries.
4297 + case $host_os in
4298 + aix[[3-9]]*)
4299 + # On AIX/PPC, the GNU linker is very broken
4300 + if test "$host_cpu" != ia64; then
4301 + _LT_TAGVAR(ld_shlibs, $1)=no
4302 + cat <<_LT_EOF 1>&2
4303 +
4304 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
4305 +*** to be unable to reliably create shared libraries on AIX.
4306 +*** Therefore, libtool is disabling shared libraries support. If you
4307 +*** really care for shared libraries, you may want to modify your PATH
4308 +*** so that a non-GNU linker is found, and then restart.
4309 +
4310 +_LT_EOF
4311 + fi
4312 + ;;
4313 +
4314 + amigaos*)
4315 + case $host_cpu in
4316 + powerpc)
4317 + # see comment about AmigaOS4 .so support
4318 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4319 + _LT_TAGVAR(archive_expsym_cmds, $1)=''
4320 + ;;
4321 + m68k)
4322 + _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)'
4323 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4324 + _LT_TAGVAR(hardcode_minus_L, $1)=yes
4325 + ;;
4326 + esac
4327 + ;;
4328 +
4329 + beos*)
4330 + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
4331 + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
4332 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
4333 + # support --undefined. This deserves some investigation. FIXME
4334 + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4335 + else
4336 + _LT_TAGVAR(ld_shlibs, $1)=no
4337 + fi
4338 + ;;
4339 +
4340 + cygwin* | mingw* | pw32* | cegcc*)
4341 + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
4342 + # as there is no search path for DLLs.
4343 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4344 + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
4345 + _LT_TAGVAR(always_export_symbols, $1)=no
4346 + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
4347 + _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'
4348 +
4349 + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
4350 + _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'
4351 + # If the export-symbols file already is a .def file (1st line
4352 + # is EXPORTS), use it as is; otherwise, prepend...
4353 + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
4354 + cp $export_symbols $output_objdir/$soname.def;
4355 + else
4356 + echo EXPORTS > $output_objdir/$soname.def;
4357 + cat $export_symbols >> $output_objdir/$soname.def;
4358 + fi~
4359 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
4360 + else
4361 + _LT_TAGVAR(ld_shlibs, $1)=no
4362 + fi
4363 + ;;
4364 +
4365 + interix[[3-9]]*)
4366 + _LT_TAGVAR(hardcode_direct, $1)=no
4367 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
4368 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4369 + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4370 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
4371 + # Instead, shared libraries are loaded at an image base (0x10000000 by
4372 + # default) and relocated if they conflict, which is a slow very memory
4373 + # consuming and fragmenting process. To avoid this, we pick a random,
4374 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
4375 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
4376 + _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'
4377 + _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'
4378 + ;;
4379 +
4380 + gnu* | linux* | tpf* | k*bsd*-gnu)
4381 + tmp_diet=no
4382 + if test "$host_os" = linux-dietlibc; then
4383 + case $cc_basename in
4384 + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
4385 + esac
4386 + fi
4387 + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
4388 + && test "$tmp_diet" = no
4389 + then
4390 + tmp_addflag=
4391 + tmp_sharedflag='-shared'
4392 + case $cc_basename,$host_cpu in
4393 + pgcc*) # Portland Group C compiler
4394 + _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'
4395 + tmp_addflag=' $pic_flag'
4396 + ;;
4397 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
4398 + _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'
4399 + tmp_addflag=' $pic_flag -Mnomain' ;;
4400 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
4401 + tmp_addflag=' -i_dynamic' ;;
4402 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
4403 + tmp_addflag=' -i_dynamic -nofor_main' ;;
4404 + ifc* | ifort*) # Intel Fortran compiler
4405 + tmp_addflag=' -nofor_main' ;;
4406 + lf95*) # Lahey Fortran 8.1
4407 + _LT_TAGVAR(whole_archive_flag_spec, $1)=
4408 + tmp_sharedflag='--shared' ;;
4409 + xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
4410 + tmp_sharedflag='-qmkshrobj'
4411 + tmp_addflag= ;;
4412 + esac
4413 + case `$CC -V 2>&1 | sed 5q` in
4414 + *Sun\ C*) # Sun C 5.9
4415 + _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'
4416 + _LT_TAGVAR(compiler_needs_object, $1)=yes
4417 + tmp_sharedflag='-G' ;;
4418 + *Sun\ F*) # Sun Fortran 8.3
4419 + tmp_sharedflag='-G' ;;
4420 + esac
4421 + _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4422 +
4423 + if test "x$supports_anon_versioning" = xyes; then
4424 + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
4425 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
4426 + echo "local: *; };" >> $output_objdir/$libname.ver~
4427 + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
4428 + fi
4429 +
4430 + case $cc_basename in
4431 + xlf*)
4432 + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
4433 + _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
4434 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
4435 + _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
4436 + _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
4437 + if test "x$supports_anon_versioning" = xyes; then
4438 + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
4439 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
4440 + echo "local: *; };" >> $output_objdir/$libname.ver~
4441 + $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
4442 + fi
4443 + ;;
4444 + esac
4445 + else
4446 + _LT_TAGVAR(ld_shlibs, $1)=no
4447 + fi
4448 + ;;
4449 +
4450 + netbsd*)
4451 + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4452 + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
4453 + wlarc=
4454 + else
4455 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4456 + _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'
4457 + fi
4458 + ;;
4459 +
4460 + solaris*)
4461 + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
4462 + _LT_TAGVAR(ld_shlibs, $1)=no
4463 + cat <<_LT_EOF 1>&2
4464 +
4465 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
4466 +*** create shared libraries on Solaris systems. Therefore, libtool
4467 +*** is disabling shared libraries support. We urge you to upgrade GNU
4468 +*** binutils to release 2.9.1 or newer. Another option is to modify
4469 +*** your PATH or compiler configuration so that the native linker is
4470 +*** used, and then restart.
4471 +
4472 +_LT_EOF
4473 + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
4474 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4475 + _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'
4476 + else
4477 + _LT_TAGVAR(ld_shlibs, $1)=no
4478 + fi
4479 + ;;
4480 +
4481 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
4482 + case `$LD -v 2>&1` in
4483 + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
4484 + _LT_TAGVAR(ld_shlibs, $1)=no
4485 + cat <<_LT_EOF 1>&2
4486 +
4487 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
4488 +*** reliably create shared libraries on SCO systems. Therefore, libtool
4489 +*** is disabling shared libraries support. We urge you to upgrade GNU
4490 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
4491 +*** your PATH or compiler configuration so that the native linker is
4492 +*** used, and then restart.
4493 +
4494 +_LT_EOF
4495 + ;;
4496 + *)
4497 + # For security reasons, it is highly recommended that you always
4498 + # use absolute paths for naming shared libraries, and exclude the
4499 + # DT_RUNPATH tag from executables and libraries. But doing so
4500 + # requires that you compile everything twice, which is a pain.
4501 + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
4502 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4503 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4504 + _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'
4505 + else
4506 + _LT_TAGVAR(ld_shlibs, $1)=no
4507 + fi
4508 + ;;
4509 + esac
4510 + ;;
4511 +
4512 + sunos4*)
4513 + _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
4514 + wlarc=
4515 + _LT_TAGVAR(hardcode_direct, $1)=yes
4516 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
4517 + ;;
4518 +
4519 + *)
4520 + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
4521 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4522 + _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'
4523 + else
4524 + _LT_TAGVAR(ld_shlibs, $1)=no
4525 + fi
4526 + ;;
4527 + esac
4528 +
4529 + if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
4530 + runpath_var=
4531 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
4532 + _LT_TAGVAR(export_dynamic_flag_spec, $1)=
4533 + _LT_TAGVAR(whole_archive_flag_spec, $1)=
4534 + fi
4535 + else
4536 + # PORTME fill in a description of your system's linker (not GNU ld)
4537 + case $host_os in
4538 + aix3*)
4539 + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
4540 + _LT_TAGVAR(always_export_symbols, $1)=yes
4541 + _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'
4542 + # Note: this linker hardcodes the directories in LIBPATH if there
4543 + # are no directories specified by -L.
4544 + _LT_TAGVAR(hardcode_minus_L, $1)=yes
4545 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
4546 + # Neither direct hardcoding nor static linking is supported with a
4547 + # broken collect2.
4548 + _LT_TAGVAR(hardcode_direct, $1)=unsupported
4549 + fi
4550 + ;;
4551 +
4552 + aix[[4-9]]*)
4553 + if test "$host_cpu" = ia64; then
4554 + # On IA64, the linker does run time linking by default, so we don't
4555 + # have to do anything special.
4556 + aix_use_runtimelinking=no
4557 + exp_sym_flag='-Bexport'
4558 + no_entry_flag=""
4559 + else
4560 + # If we're using GNU nm, then we don't want the "-C" option.
4561 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
4562 + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
4563 + _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'
4564 + else
4565 + _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'
4566 + fi
4567 + aix_use_runtimelinking=no
4568 +
4569 + # Test if we are trying to use run time linking or normal
4570 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
4571 + # need to do runtime linking.
4572 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
4573 + for ld_flag in $LDFLAGS; do
4574 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
4575 + aix_use_runtimelinking=yes
4576 + break
4577 + fi
4578 + done
4579 + ;;
4580 + esac
4581 +
4582 + exp_sym_flag='-bexport'
4583 + no_entry_flag='-bnoentry'
4584 + fi
4585 +
4586 + # When large executables or shared objects are built, AIX ld can
4587 + # have problems creating the table of contents. If linking a library
4588 + # or program results in "error TOC overflow" add -mminimal-toc to
4589 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
4590 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
4591 +
4592 + _LT_TAGVAR(archive_cmds, $1)=''
4593 + _LT_TAGVAR(hardcode_direct, $1)=yes
4594 + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
4595 + _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
4596 + _LT_TAGVAR(link_all_deplibs, $1)=yes
4597 + _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
4598 +
4599 + if test "$GCC" = yes; then
4600 + case $host_os in aix4.[[012]]|aix4.[[012]].*)
4601 + # We only want to do this on AIX 4.2 and lower, the check
4602 + # below for broken collect2 doesn't work under 4.3+
4603 + collect2name=`${CC} -print-prog-name=collect2`
4604 + if test -f "$collect2name" &&
4605 + strings "$collect2name" | $GREP resolve_lib_name >/dev/null
4606 + then
4607 + # We have reworked collect2
4608 + :
4609 + else
4610 + # We have old collect2
4611 + _LT_TAGVAR(hardcode_direct, $1)=unsupported
4612 + # It fails to find uninstalled libraries when the uninstalled
4613 + # path is not listed in the libpath. Setting hardcode_minus_L
4614 + # to unsupported forces relinking
4615 + _LT_TAGVAR(hardcode_minus_L, $1)=yes
4616 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4617 + _LT_TAGVAR(hardcode_libdir_separator, $1)=
4618 + fi
4619 + ;;
4620 + esac
4621 + shared_flag='-shared'
4622 + if test "$aix_use_runtimelinking" = yes; then
4623 + shared_flag="$shared_flag "'${wl}-G'
4624 + fi
4625 + else
4626 + # not using gcc
4627 + if test "$host_cpu" = ia64; then
4628 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
4629 + # chokes on -Wl,-G. The following line is correct:
4630 + shared_flag='-G'
4631 + else
4632 + if test "$aix_use_runtimelinking" = yes; then
4633 + shared_flag='${wl}-G'
4634 + else
4635 + shared_flag='${wl}-bM:SRE'
4636 + fi
4637 + fi
4638 + fi
4639 +
4640 + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
4641 + # It seems that -bexpall does not export symbols beginning with
4642 + # underscore (_), so it is better to generate a list of symbols to export.
4643 + _LT_TAGVAR(always_export_symbols, $1)=yes
4644 + if test "$aix_use_runtimelinking" = yes; then
4645 + # Warning - without using the other runtime loading flags (-brtl),
4646 + # -berok will link without error, but may produce a broken library.
4647 + _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
4648 + # Determine the default libpath from the value encoded in an
4649 + # empty executable.
4650 + _LT_SYS_MODULE_PATH_AIX
4651 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
4652 + _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"
4653 + else
4654 + if test "$host_cpu" = ia64; then
4655 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
4656 + _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
4657 + _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"
4658 + else
4659 + # Determine the default libpath from the value encoded in an
4660 + # empty executable.
4661 + _LT_SYS_MODULE_PATH_AIX
4662 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
4663 + # Warning - without using the other run time loading flags,
4664 + # -berok will link without error, but may produce a broken library.
4665 + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
4666 + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
4667 + # Exported symbols can be pulled into shared objects from archives
4668 + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
4669 + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
4670 + # This is similar to how AIX traditionally builds its shared libraries.
4671 + _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'
4672 + fi
4673 + fi
4674 + ;;
4675 +
4676 + amigaos*)
4677 + case $host_cpu in
4678 + powerpc)
4679 + # see comment about AmigaOS4 .so support
4680 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4681 + _LT_TAGVAR(archive_expsym_cmds, $1)=''
4682 + ;;
4683 + m68k)
4684 + _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)'
4685 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4686 + _LT_TAGVAR(hardcode_minus_L, $1)=yes
4687 + ;;
4688 + esac
4689 + ;;
4690 +
4691 + bsdi[[45]]*)
4692 + _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
4693 + ;;
4694 +
4695 + cygwin* | mingw* | pw32* | cegcc*)
4696 + # When not using gcc, we currently assume that we are using
4697 + # Microsoft Visual C++.
4698 + # hardcode_libdir_flag_spec is actually meaningless, as there is
4699 + # no search path for DLLs.
4700 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
4701 + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
4702 + # Tell ltmain to make .lib files, not .a files.
4703 + libext=lib
4704 + # Tell ltmain to make .dll files, not .so files.
4705 + shrext_cmds=".dll"
4706 + # FIXME: Setting linknames here is a bad hack.
4707 + _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
4708 + # The linker will automatically build a .lib file if we build a DLL.
4709 + _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
4710 + # FIXME: Should let the user specify the lib program.
4711 + _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
4712 + _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
4713 + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
4714 + ;;
4715 +
4716 + darwin* | rhapsody*)
4717 + _LT_DARWIN_LINKER_FEATURES($1)
4718 + ;;
4719 +
4720 + dgux*)
4721 + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4722 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4723 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
4724 + ;;
4725 +
4726 + freebsd1*)
4727 + _LT_TAGVAR(ld_shlibs, $1)=no
4728 + ;;
4729 +
4730 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
4731 + # support. Future versions do this automatically, but an explicit c++rt0.o
4732 + # does not break anything, and helps significantly (at the cost of a little
4733 + # extra space).
4734 + freebsd2.2*)
4735 + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
4736 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4737 + _LT_TAGVAR(hardcode_direct, $1)=yes
4738 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
4739 + ;;
4740 +
4741 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
4742 + freebsd2*)
4743 + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
4744 + _LT_TAGVAR(hardcode_direct, $1)=yes
4745 + _LT_TAGVAR(hardcode_minus_L, $1)=yes
4746 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
4747 + ;;
4748 +
4749 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
4750 + freebsd* | dragonfly*)
4751 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
4752 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4753 + _LT_TAGVAR(hardcode_direct, $1)=yes
4754 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
4755 + ;;
4756 +
4757 + hpux9*)
4758 + if test "$GCC" = yes; then
4759 + _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'
4760 + else
4761 + _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'
4762 + fi
4763 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4764 + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
4765 + _LT_TAGVAR(hardcode_direct, $1)=yes
4766 +
4767 + # hardcode_minus_L: Not really in the search PATH,
4768 + # but as the default location of the library.
4769 + _LT_TAGVAR(hardcode_minus_L, $1)=yes
4770 + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4771 + ;;
4772 +
4773 + hpux10*)
4774 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
4775 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
4776 + else
4777 + _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
4778 + fi
4779 + if test "$with_gnu_ld" = no; then
4780 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4781 + _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
4782 + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
4783 + _LT_TAGVAR(hardcode_direct, $1)=yes
4784 + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
4785 + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4786 + # hardcode_minus_L: Not really in the search PATH,
4787 + # but as the default location of the library.
4788 + _LT_TAGVAR(hardcode_minus_L, $1)=yes
4789 + fi
4790 + ;;
4791 +
4792 + hpux11*)
4793 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
4794 + case $host_cpu in
4795 + hppa*64*)
4796 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
4797 + ;;
4798 + ia64*)
4799 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
4800 + ;;
4801 + *)
4802 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
4803 + ;;
4804 + esac
4805 + else
4806 + case $host_cpu in
4807 + hppa*64*)
4808 + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
4809 + ;;
4810 + ia64*)
4811 + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
4812 + ;;
4813 + *)
4814 + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
4815 + ;;
4816 + esac
4817 + fi
4818 + if test "$with_gnu_ld" = no; then
4819 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4820 + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
4821 +
4822 + case $host_cpu in
4823 + hppa*64*|ia64*)
4824 + _LT_TAGVAR(hardcode_direct, $1)=no
4825 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
4826 + ;;
4827 + *)
4828 + _LT_TAGVAR(hardcode_direct, $1)=yes
4829 + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
4830 + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4831 +
4832 + # hardcode_minus_L: Not really in the search PATH,
4833 + # but as the default location of the library.
4834 + _LT_TAGVAR(hardcode_minus_L, $1)=yes
4835 + ;;
4836 + esac
4837 + fi
4838 + ;;
4839 +
4840 + irix5* | irix6* | nonstopux*)
4841 + if test "$GCC" = yes; then
4842 + _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'
4843 + # Try to use the -exported_symbol ld option, if it does not
4844 + # work, assume that -exports_file does not work either and
4845 + # implicitly export all symbols.
4846 + save_LDFLAGS="$LDFLAGS"
4847 + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
4848 + AC_LINK_IFELSE(int foo(void) {},
4849 + _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'
4850 + )
4851 + LDFLAGS="$save_LDFLAGS"
4852 + else
4853 + _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'
4854 + _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'
4855 + fi
4856 + _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
4857 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4858 + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
4859 + _LT_TAGVAR(inherit_rpath, $1)=yes
4860 + _LT_TAGVAR(link_all_deplibs, $1)=yes
4861 + ;;
4862 +
4863 + netbsd*)
4864 + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4865 + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
4866 + else
4867 + _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
4868 + fi
4869 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4870 + _LT_TAGVAR(hardcode_direct, $1)=yes
4871 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
4872 + ;;
4873 +
4874 + newsos6)
4875 + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4876 + _LT_TAGVAR(hardcode_direct, $1)=yes
4877 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4878 + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
4879 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
4880 + ;;
4881 +
4882 + *nto* | *qnx*)
4883 + ;;
4884 +
4885 + openbsd*)
4886 + if test -f /usr/libexec/ld.so; then
4887 + _LT_TAGVAR(hardcode_direct, $1)=yes
4888 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
4889 + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
4890 + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4891 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
4892 + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
4893 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4894 + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4895 + else
4896 + case $host_os in
4897 + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
4898 + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
4899 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4900 + ;;
4901 + *)
4902 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
4903 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4904 + ;;
4905 + esac
4906 + fi
4907 + else
4908 + _LT_TAGVAR(ld_shlibs, $1)=no
4909 + fi
4910 + ;;
4911 +
4912 + os2*)
4913 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4914 + _LT_TAGVAR(hardcode_minus_L, $1)=yes
4915 + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
4916 + _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'
4917 + _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
4918 + ;;
4919 +
4920 + osf3*)
4921 + if test "$GCC" = yes; then
4922 + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
4923 + _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'
4924 + else
4925 + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
4926 + _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'
4927 + fi
4928 + _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
4929 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4930 + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
4931 + ;;
4932 +
4933 + osf4* | osf5*) # as osf3* with the addition of -msym flag
4934 + if test "$GCC" = yes; then
4935 + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
4936 + _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'
4937 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4938 + else
4939 + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
4940 + _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'
4941 + _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~
4942 + $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'
4943 +
4944 + # Both c and cxx compiler support -rpath directly
4945 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
4946 + fi
4947 + _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
4948 + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
4949 + ;;
4950 +
4951 + solaris*)
4952 + _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
4953 + if test "$GCC" = yes; then
4954 + wlarc='${wl}'
4955 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
4956 + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
4957 + $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
4958 + else
4959 + case `$CC -V 2>&1` in
4960 + *"Compilers 5.0"*)
4961 + wlarc=''
4962 + _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
4963 + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
4964 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
4965 + ;;
4966 + *)
4967 + wlarc='${wl}'
4968 + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
4969 + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
4970 + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
4971 + ;;
4972 + esac
4973 + fi
4974 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4975 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
4976 + case $host_os in
4977 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
4978 + *)
4979 + # The compiler driver will combine and reorder linker options,
4980 + # but understands `-z linker_flag'. GCC discards it without `$wl',
4981 + # but is careful enough not to reorder.
4982 + # Supported since Solaris 2.6 (maybe 2.5.1?)
4983 + if test "$GCC" = yes; then
4984 + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
4985 + else
4986 + _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
4987 + fi
4988 + ;;
4989 + esac
4990 + _LT_TAGVAR(link_all_deplibs, $1)=yes
4991 + ;;
4992 +
4993 + sunos4*)
4994 + if test "x$host_vendor" = xsequent; then
4995 + # Use $CC to link under sequent, because it throws in some extra .o
4996 + # files that make .init and .fini sections work.
4997 + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
4998 + else
4999 + _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
5000 + fi
5001 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5002 + _LT_TAGVAR(hardcode_direct, $1)=yes
5003 + _LT_TAGVAR(hardcode_minus_L, $1)=yes
5004 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5005 + ;;
5006 +
5007 + sysv4)
5008 + case $host_vendor in
5009 + sni)
5010 + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5011 + _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
5012 + ;;
5013 + siemens)
5014 + ## LD is ld it makes a PLAMLIB
5015 + ## CC just makes a GrossModule.
5016 + _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5017 + _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
5018 + _LT_TAGVAR(hardcode_direct, $1)=no
5019 + ;;
5020 + motorola)
5021 + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5022 + _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
5023 + ;;
5024 + esac
5025 + runpath_var='LD_RUN_PATH'
5026 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5027 + ;;
5028 +
5029 + sysv4.3*)
5030 + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5031 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5032 + _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
5033 + ;;
5034 +
5035 + sysv4*MP*)
5036 + if test -d /usr/nec; then
5037 + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5038 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5039 + runpath_var=LD_RUN_PATH
5040 + hardcode_runpath_var=yes
5041 + _LT_TAGVAR(ld_shlibs, $1)=yes
5042 + fi
5043 + ;;
5044 +
5045 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
5046 + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
5047 + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
5048 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5049 + runpath_var='LD_RUN_PATH'
5050 +
5051 + if test "$GCC" = yes; then
5052 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5053 + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5054 + else
5055 + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5056 + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5057 + fi
5058 + ;;
5059 +
5060 + sysv5* | sco3.2v5* | sco5v6*)
5061 + # Note: We can NOT use -z defs as we might desire, because we do not
5062 + # link with -lc, and that would cause any symbols used from libc to
5063 + # always be unresolved, which means just about no library would
5064 + # ever link correctly. If we're not using GNU ld we use -z text
5065 + # though, which does catch some bad symbols but isn't as heavy-handed
5066 + # as -z defs.
5067 + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
5068 + _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
5069 + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
5070 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5071 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
5072 + _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
5073 + _LT_TAGVAR(link_all_deplibs, $1)=yes
5074 + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
5075 + runpath_var='LD_RUN_PATH'
5076 +
5077 + if test "$GCC" = yes; then
5078 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5079 + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5080 + else
5081 + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5082 + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5083 + fi
5084 + ;;
5085 +
5086 + uts4*)
5087 + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5088 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5089 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5090 + ;;
5091 +
5092 + *)
5093 + _LT_TAGVAR(ld_shlibs, $1)=no
5094 + ;;
5095 + esac
5096 +
5097 + if test x$host_vendor = xsni; then
5098 + case $host in
5099 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5100 + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
5101 + ;;
5102 + esac
5103 + fi
5104 + fi
5105 +])
5106 +AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
5107 +test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
5108 +
5109 +_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
5110 +
5111 +_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
5112 +_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
5113 +_LT_DECL([], [extract_expsyms_cmds], [2],
5114 + [The commands to extract the exported symbol list from a shared archive])
5115 +
5116 +#
5117 +# Do we need to explicitly link libc?
5118 +#
5119 +case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
5120 +x|xyes)
5121 + # Assume -lc should be added
5122 + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
5123 +
5124 + if test "$enable_shared" = yes && test "$GCC" = yes; then
5125 + case $_LT_TAGVAR(archive_cmds, $1) in
5126 + *'~'*)
5127 + # FIXME: we may have to deal with multi-command sequences.
5128 + ;;
5129 + '$CC '*)
5130 + # Test whether the compiler implicitly links with -lc since on some
5131 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
5132 + # to ld, don't add -lc before -lgcc.
5133 + AC_MSG_CHECKING([whether -lc should be explicitly linked in])
5134 + $RM conftest*
5135 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
5136 +
5137 + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
5138 + soname=conftest
5139 + lib=conftest
5140 + libobjs=conftest.$ac_objext
5141 + deplibs=
5142 + wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
5143 + pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
5144 + compiler_flags=-v
5145 + linker_flags=-v
5146 + verstring=
5147 + output_objdir=.
5148 + libname=conftest
5149 + lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
5150 + _LT_TAGVAR(allow_undefined_flag, $1)=
5151 + if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
5152 + then
5153 + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
5154 + else
5155 + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
5156 + fi
5157 + _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
5158 + else
5159 + cat conftest.err 1>&5
5160 + fi
5161 + $RM conftest*
5162 + AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
5163 + ;;
5164 + esac
5165 + fi
5166 + ;;
5167 +esac
5168 +
5169 +_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
5170 + [Whether or not to add -lc for building shared libraries])
5171 +_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
5172 + [enable_shared_with_static_runtimes], [0],
5173 + [Whether or not to disallow shared libs when runtime libs are static])
5174 +_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
5175 + [Compiler flag to allow reflexive dlopens])
5176 +_LT_TAGDECL([], [whole_archive_flag_spec], [1],
5177 + [Compiler flag to generate shared objects directly from archives])
5178 +_LT_TAGDECL([], [compiler_needs_object], [1],
5179 + [Whether the compiler copes with passing no objects directly])
5180 +_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
5181 + [Create an old-style archive from a shared archive])
5182 +_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
5183 + [Create a temporary old-style archive to link instead of a shared archive])
5184 +_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
5185 +_LT_TAGDECL([], [archive_expsym_cmds], [2])
5186 +_LT_TAGDECL([], [module_cmds], [2],
5187 + [Commands used to build a loadable module if different from building
5188 + a shared archive.])
5189 +_LT_TAGDECL([], [module_expsym_cmds], [2])
5190 +_LT_TAGDECL([], [with_gnu_ld], [1],
5191 + [Whether we are building with GNU ld or not])
5192 +_LT_TAGDECL([], [allow_undefined_flag], [1],
5193 + [Flag that allows shared libraries with undefined symbols to be built])
5194 +_LT_TAGDECL([], [no_undefined_flag], [1],
5195 + [Flag that enforces no undefined symbols])
5196 +_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
5197 + [Flag to hardcode $libdir into a binary during linking.
5198 + This must work even if $libdir does not exist])
5199 +_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
5200 + [[If ld is used when linking, flag to hardcode $libdir into a binary
5201 + during linking. This must work even if $libdir does not exist]])
5202 +_LT_TAGDECL([], [hardcode_libdir_separator], [1],
5203 + [Whether we need a single "-rpath" flag with a separated argument])
5204 +_LT_TAGDECL([], [hardcode_direct], [0],
5205 + [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
5206 + DIR into the resulting binary])
5207 +_LT_TAGDECL([], [hardcode_direct_absolute], [0],
5208 + [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
5209 + DIR into the resulting binary and the resulting library dependency is
5210 + "absolute", i.e impossible to change by setting ${shlibpath_var} if the
5211 + library is relocated])
5212 +_LT_TAGDECL([], [hardcode_minus_L], [0],
5213 + [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
5214 + into the resulting binary])
5215 +_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
5216 + [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
5217 + into the resulting binary])
5218 +_LT_TAGDECL([], [hardcode_automatic], [0],
5219 + [Set to "yes" if building a shared library automatically hardcodes DIR
5220 + into the library and all subsequent libraries and executables linked
5221 + against it])
5222 +_LT_TAGDECL([], [inherit_rpath], [0],
5223 + [Set to yes if linker adds runtime paths of dependent libraries
5224 + to runtime path list])
5225 +_LT_TAGDECL([], [link_all_deplibs], [0],
5226 + [Whether libtool must link a program against all its dependency libraries])
5227 +_LT_TAGDECL([], [fix_srcfile_path], [1],
5228 + [Fix the shell variable $srcfile for the compiler])
5229 +_LT_TAGDECL([], [always_export_symbols], [0],
5230 + [Set to "yes" if exported symbols are required])
5231 +_LT_TAGDECL([], [export_symbols_cmds], [2],
5232 + [The commands to list exported symbols])
5233 +_LT_TAGDECL([], [exclude_expsyms], [1],
5234 + [Symbols that should not be listed in the preloaded symbols])
5235 +_LT_TAGDECL([], [include_expsyms], [1],
5236 + [Symbols that must always be exported])
5237 +_LT_TAGDECL([], [prelink_cmds], [2],
5238 + [Commands necessary for linking programs (against libraries) with templates])
5239 +_LT_TAGDECL([], [file_list_spec], [1],
5240 + [Specify filename containing input files])
5241 +dnl FIXME: Not yet implemented
5242 +dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
5243 +dnl [Compiler flag to generate thread safe objects])
5244 +])# _LT_LINKER_SHLIBS
5245 +
5246 +
5247 +# _LT_LANG_C_CONFIG([TAG])
5248 +# ------------------------
5249 +# Ensure that the configuration variables for a C compiler are suitably
5250 +# defined. These variables are subsequently used by _LT_CONFIG to write
5251 +# the compiler configuration to `libtool'.
5252 +m4_defun([_LT_LANG_C_CONFIG],
5253 +[m4_require([_LT_DECL_EGREP])dnl
5254 +lt_save_CC="$CC"
5255 +AC_LANG_PUSH(C)
5256 +
5257 +# Source file extension for C test sources.
5258 +ac_ext=c
5259 +
5260 +# Object file extension for compiled C test sources.
5261 +objext=o
5262 +_LT_TAGVAR(objext, $1)=$objext
5263 +
5264 +# Code to be used in simple compile tests
5265 +lt_simple_compile_test_code="int some_variable = 0;"
5266 +
5267 +# Code to be used in simple link tests
5268 +lt_simple_link_test_code='int main(){return(0);}'
5269 +
5270 +_LT_TAG_COMPILER
5271 +# Save the default compiler, since it gets overwritten when the other
5272 +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
5273 +compiler_DEFAULT=$CC
5274 +
5275 +# save warnings/boilerplate of simple test code
5276 +_LT_COMPILER_BOILERPLATE
5277 +_LT_LINKER_BOILERPLATE
5278 +
5279 +if test -n "$compiler"; then
5280 + _LT_COMPILER_NO_RTTI($1)
5281 + _LT_COMPILER_PIC($1)
5282 + _LT_COMPILER_C_O($1)
5283 + _LT_COMPILER_FILE_LOCKS($1)
5284 + _LT_LINKER_SHLIBS($1)
5285 + _LT_SYS_DYNAMIC_LINKER($1)
5286 + _LT_LINKER_HARDCODE_LIBPATH($1)
5287 + LT_SYS_DLOPEN_SELF
5288 + _LT_CMD_STRIPLIB
5289 +
5290 + # Report which library types will actually be built
5291 + AC_MSG_CHECKING([if libtool supports shared libraries])
5292 + AC_MSG_RESULT([$can_build_shared])
5293 +
5294 + AC_MSG_CHECKING([whether to build shared libraries])
5295 + test "$can_build_shared" = "no" && enable_shared=no
5296 +
5297 + # On AIX, shared libraries and static libraries use the same namespace, and
5298 + # are all built from PIC.
5299 + case $host_os in
5300 + aix3*)
5301 + test "$enable_shared" = yes && enable_static=no
5302 + if test -n "$RANLIB"; then
5303 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
5304 + postinstall_cmds='$RANLIB $lib'
5305 + fi
5306 + ;;
5307 +
5308 + aix[[4-9]]*)
5309 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
5310 + test "$enable_shared" = yes && enable_static=no
5311 + fi
5312 + ;;
5313 + esac
5314 + AC_MSG_RESULT([$enable_shared])
5315 +
5316 + AC_MSG_CHECKING([whether to build static libraries])
5317 + # Make sure either enable_shared or enable_static is yes.
5318 + test "$enable_shared" = yes || enable_static=yes
5319 + AC_MSG_RESULT([$enable_static])
5320 +
5321 + _LT_CONFIG($1)
5322 +fi
5323 +AC_LANG_POP
5324 +CC="$lt_save_CC"
5325 +])# _LT_LANG_C_CONFIG
5326 +
5327 +
5328 +# _LT_PROG_CXX
5329 +# ------------
5330 +# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
5331 +# compiler, we have our own version here.
5332 +m4_defun([_LT_PROG_CXX],
5333 +[
5334 +pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
5335 +AC_PROG_CXX
5336 +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5337 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5338 + (test "X$CXX" != "Xg++"))) ; then
5339 + AC_PROG_CXXCPP
5340 +else
5341 + _lt_caught_CXX_error=yes
5342 +fi
5343 +popdef([AC_MSG_ERROR])
5344 +])# _LT_PROG_CXX
5345 +
5346 +dnl aclocal-1.4 backwards compatibility:
5347 +dnl AC_DEFUN([_LT_PROG_CXX], [])
5348 +
5349 +
5350 +# _LT_LANG_CXX_CONFIG([TAG])
5351 +# --------------------------
5352 +# Ensure that the configuration variables for a C++ compiler are suitably
5353 +# defined. These variables are subsequently used by _LT_CONFIG to write
5354 +# the compiler configuration to `libtool'.
5355 +m4_defun([_LT_LANG_CXX_CONFIG],
5356 +[AC_REQUIRE([_LT_PROG_CXX])dnl
5357 +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
5358 +m4_require([_LT_DECL_EGREP])dnl
5359 +
5360 +AC_LANG_PUSH(C++)
5361 +_LT_TAGVAR(archive_cmds_need_lc, $1)=no
5362 +_LT_TAGVAR(allow_undefined_flag, $1)=
5363 +_LT_TAGVAR(always_export_symbols, $1)=no
5364 +_LT_TAGVAR(archive_expsym_cmds, $1)=
5365 +_LT_TAGVAR(compiler_needs_object, $1)=no
5366 +_LT_TAGVAR(export_dynamic_flag_spec, $1)=
5367 +_LT_TAGVAR(hardcode_direct, $1)=no
5368 +_LT_TAGVAR(hardcode_direct_absolute, $1)=no
5369 +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
5370 +_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
5371 +_LT_TAGVAR(hardcode_libdir_separator, $1)=
5372 +_LT_TAGVAR(hardcode_minus_L, $1)=no
5373 +_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
5374 +_LT_TAGVAR(hardcode_automatic, $1)=no
5375 +_LT_TAGVAR(inherit_rpath, $1)=no
5376 +_LT_TAGVAR(module_cmds, $1)=
5377 +_LT_TAGVAR(module_expsym_cmds, $1)=
5378 +_LT_TAGVAR(link_all_deplibs, $1)=unknown
5379 +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
5380 +_LT_TAGVAR(no_undefined_flag, $1)=
5381 +_LT_TAGVAR(whole_archive_flag_spec, $1)=
5382 +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
5383 +
5384 +# Source file extension for C++ test sources.
5385 +ac_ext=cpp
5386 +
5387 +# Object file extension for compiled C++ test sources.
5388 +objext=o
5389 +_LT_TAGVAR(objext, $1)=$objext
5390 +
5391 +# No sense in running all these tests if we already determined that
5392 +# the CXX compiler isn't working. Some variables (like enable_shared)
5393 +# are currently assumed to apply to all compilers on this platform,
5394 +# and will be corrupted by setting them based on a non-working compiler.
5395 +if test "$_lt_caught_CXX_error" != yes; then
5396 + # Code to be used in simple compile tests
5397 + lt_simple_compile_test_code="int some_variable = 0;"
5398 +
5399 + # Code to be used in simple link tests
5400 + lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
5401 +
5402 + # ltmain only uses $CC for tagged configurations so make sure $CC is set.
5403 + _LT_TAG_COMPILER
5404 +
5405 + # save warnings/boilerplate of simple test code
5406 + _LT_COMPILER_BOILERPLATE
5407 + _LT_LINKER_BOILERPLATE
5408 +
5409 + # Allow CC to be a program name with arguments.
5410 + lt_save_CC=$CC
5411 + lt_save_LD=$LD
5412 + lt_save_GCC=$GCC
5413 + GCC=$GXX
5414 + lt_save_with_gnu_ld=$with_gnu_ld
5415 + lt_save_path_LD=$lt_cv_path_LD
5416 + if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
5417 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
5418 + else
5419 + $as_unset lt_cv_prog_gnu_ld
5420 + fi
5421 + if test -n "${lt_cv_path_LDCXX+set}"; then
5422 + lt_cv_path_LD=$lt_cv_path_LDCXX
5423 + else
5424 + $as_unset lt_cv_path_LD
5425 + fi
5426 + test -z "${LDCXX+set}" || LD=$LDCXX
5427 + CC=${CXX-"c++"}
5428 + compiler=$CC
5429 + _LT_TAGVAR(compiler, $1)=$CC
5430 + _LT_CC_BASENAME([$compiler])
5431 +
5432 + if test -n "$compiler"; then
5433 + # We don't want -fno-exception when compiling C++ code, so set the
5434 + # no_builtin_flag separately
5435 + if test "$GXX" = yes; then
5436 + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
5437 + else
5438 + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
5439 + fi
5440 +
5441 + if test "$GXX" = yes; then
5442 + # Set up default GNU C++ configuration
5443 +
5444 + LT_PATH_LD
5445 +
5446 + # Check if GNU C++ uses GNU ld as the underlying linker, since the
5447 + # archiving commands below assume that GNU ld is being used.
5448 + if test "$with_gnu_ld" = yes; then
5449 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
5450 + _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'
5451 +
5452 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5453 + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
5454 +
5455 + # If archive_cmds runs LD, not CC, wlarc should be empty
5456 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
5457 + # investigate it a little bit more. (MM)
5458 + wlarc='${wl}'
5459 +
5460 + # ancient GNU ld didn't support --whole-archive et. al.
5461 + if eval "`$CC -print-prog-name=ld` --help 2>&1" |
5462 + $GREP 'no-whole-archive' > /dev/null; then
5463 + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
5464 + else
5465 + _LT_TAGVAR(whole_archive_flag_spec, $1)=
5466 + fi
5467 + else
5468 + with_gnu_ld=no
5469 + wlarc=
5470 +
5471 + # A generic and very simple default shared library creation
5472 + # command for GNU C++ for the case where it uses the native
5473 + # linker, instead of GNU ld. If possible, this setting should
5474 + # overridden to take advantage of the native linker features on
5475 + # the platform it is being used on.
5476 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
5477 + fi
5478 +
5479 + # Commands to make compiler produce verbose output that lists
5480 + # what "hidden" libraries, object files and flags are used when
5481 + # linking a shared library.
5482 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
5483 +
5484 + else
5485 + GXX=no
5486 + with_gnu_ld=no
5487 + wlarc=
5488 + fi
5489 +
5490 + # PORTME: fill in a description of your system's C++ link characteristics
5491 + AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
5492 + _LT_TAGVAR(ld_shlibs, $1)=yes
5493 + case $host_os in
5494 + aix3*)
5495 + # FIXME: insert proper C++ library support
5496 + _LT_TAGVAR(ld_shlibs, $1)=no
5497 + ;;
5498 + aix[[4-9]]*)
5499 + if test "$host_cpu" = ia64; then
5500 + # On IA64, the linker does run time linking by default, so we don't
5501 + # have to do anything special.
5502 + aix_use_runtimelinking=no
5503 + exp_sym_flag='-Bexport'
5504 + no_entry_flag=""
5505 + else
5506 + aix_use_runtimelinking=no
5507 +
5508 + # Test if we are trying to use run time linking or normal
5509 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5510 + # need to do runtime linking.
5511 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
5512 + for ld_flag in $LDFLAGS; do
5513 + case $ld_flag in
5514 + *-brtl*)
5515 + aix_use_runtimelinking=yes
5516 + break
5517 + ;;
5518 + esac
5519 + done
5520 + ;;
5521 + esac
5522 +
5523 + exp_sym_flag='-bexport'
5524 + no_entry_flag='-bnoentry'
5525 + fi
5526 +
5527 + # When large executables or shared objects are built, AIX ld can
5528 + # have problems creating the table of contents. If linking a library
5529 + # or program results in "error TOC overflow" add -mminimal-toc to
5530 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
5531 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5532 +
5533 + _LT_TAGVAR(archive_cmds, $1)=''
5534 + _LT_TAGVAR(hardcode_direct, $1)=yes
5535 + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5536 + _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
5537 + _LT_TAGVAR(link_all_deplibs, $1)=yes
5538 + _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
5539 +
5540 + if test "$GXX" = yes; then
5541 + case $host_os in aix4.[[012]]|aix4.[[012]].*)
5542 + # We only want to do this on AIX 4.2 and lower, the check
5543 + # below for broken collect2 doesn't work under 4.3+
5544 + collect2name=`${CC} -print-prog-name=collect2`
5545 + if test -f "$collect2name" &&
5546 + strings "$collect2name" | $GREP resolve_lib_name >/dev/null
5547 + then
5548 + # We have reworked collect2
5549 + :
5550 + else
5551 + # We have old collect2
5552 + _LT_TAGVAR(hardcode_direct, $1)=unsupported
5553 + # It fails to find uninstalled libraries when the uninstalled
5554 + # path is not listed in the libpath. Setting hardcode_minus_L
5555 + # to unsupported forces relinking
5556 + _LT_TAGVAR(hardcode_minus_L, $1)=yes
5557 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5558 + _LT_TAGVAR(hardcode_libdir_separator, $1)=
5559 + fi
5560 + esac
5561 + shared_flag='-shared'
5562 + if test "$aix_use_runtimelinking" = yes; then
5563 + shared_flag="$shared_flag "'${wl}-G'
5564 + fi
5565 + else
5566 + # not using gcc
5567 + if test "$host_cpu" = ia64; then
5568 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
5569 + # chokes on -Wl,-G. The following line is correct:
5570 + shared_flag='-G'
5571 + else
5572 + if test "$aix_use_runtimelinking" = yes; then
5573 + shared_flag='${wl}-G'
5574 + else
5575 + shared_flag='${wl}-bM:SRE'
5576 + fi
5577 + fi
5578 + fi
5579 +
5580 + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
5581 + # It seems that -bexpall does not export symbols beginning with
5582 + # underscore (_), so it is better to generate a list of symbols to
5583 + # export.
5584 + _LT_TAGVAR(always_export_symbols, $1)=yes
5585 + if test "$aix_use_runtimelinking" = yes; then
5586 + # Warning - without using the other runtime loading flags (-brtl),
5587 + # -berok will link without error, but may produce a broken library.
5588 + _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
5589 + # Determine the default libpath from the value encoded in an empty
5590 + # executable.
5591 + _LT_SYS_MODULE_PATH_AIX
5592 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
5593 +
5594 + _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"
5595 + else
5596 + if test "$host_cpu" = ia64; then
5597 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
5598 + _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
5599 + _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"
5600 + else
5601 + # Determine the default libpath from the value encoded in an
5602 + # empty executable.
5603 + _LT_SYS_MODULE_PATH_AIX
5604 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
5605 + # Warning - without using the other run time loading flags,
5606 + # -berok will link without error, but may produce a broken library.
5607 + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
5608 + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
5609 + # Exported symbols can be pulled into shared objects from archives
5610 + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
5611 + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
5612 + # This is similar to how AIX traditionally builds its shared
5613 + # libraries.
5614 + _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'
5615 + fi
5616 + fi
5617 + ;;
5618 +
5619 + beos*)
5620 + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5621 + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5622 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
5623 + # support --undefined. This deserves some investigation. FIXME
5624 + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5625 + else
5626 + _LT_TAGVAR(ld_shlibs, $1)=no
5627 + fi
5628 + ;;
5629 +
5630 + chorus*)
5631 + case $cc_basename in
5632 + *)
5633 + # FIXME: insert proper C++ library support
5634 + _LT_TAGVAR(ld_shlibs, $1)=no
5635 + ;;
5636 + esac
5637 + ;;
5638 +
5639 + cygwin* | mingw* | pw32* | cegcc*)
5640 + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
5641 + # as there is no search path for DLLs.
5642 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5643 + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5644 + _LT_TAGVAR(always_export_symbols, $1)=no
5645 + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5646 +
5647 + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
5648 + _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'
5649 + # If the export-symbols file already is a .def file (1st line
5650 + # is EXPORTS), use it as is; otherwise, prepend...
5651 + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
5652 + cp $export_symbols $output_objdir/$soname.def;
5653 + else
5654 + echo EXPORTS > $output_objdir/$soname.def;
5655 + cat $export_symbols >> $output_objdir/$soname.def;
5656 + fi~
5657 + $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'
5658 + else
5659 + _LT_TAGVAR(ld_shlibs, $1)=no
5660 + fi
5661 + ;;
5662 + darwin* | rhapsody*)
5663 + _LT_DARWIN_LINKER_FEATURES($1)
5664 + ;;
5665 +
5666 + dgux*)
5667 + case $cc_basename in
5668 + ec++*)
5669 + # FIXME: insert proper C++ library support
5670 + _LT_TAGVAR(ld_shlibs, $1)=no
5671 + ;;
5672 + ghcx*)
5673 + # Green Hills C++ Compiler
5674 + # FIXME: insert proper C++ library support
5675 + _LT_TAGVAR(ld_shlibs, $1)=no
5676 + ;;
5677 + *)
5678 + # FIXME: insert proper C++ library support
5679 + _LT_TAGVAR(ld_shlibs, $1)=no
5680 + ;;
5681 + esac
5682 + ;;
5683 +
5684 + freebsd[[12]]*)
5685 + # C++ shared libraries reported to be fairly broken before
5686 + # switch to ELF
5687 + _LT_TAGVAR(ld_shlibs, $1)=no
5688 + ;;
5689 +
5690 + freebsd-elf*)
5691 + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
5692 + ;;
5693 +
5694 + freebsd* | dragonfly*)
5695 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
5696 + # conventions
5697 + _LT_TAGVAR(ld_shlibs, $1)=yes
5698 + ;;
5699 +
5700 + gnu*)
5701 + ;;
5702 +
5703 + hpux9*)
5704 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5705 + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5706 + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5707 + _LT_TAGVAR(hardcode_direct, $1)=yes
5708 + _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
5709 + # but as the default
5710 + # location of the library.
5711 +
5712 + case $cc_basename in
5713 + CC*)
5714 + # FIXME: insert proper C++ library support
5715 + _LT_TAGVAR(ld_shlibs, $1)=no
5716 + ;;
5717 + aCC*)
5718 + _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'
5719 + # Commands to make compiler produce verbose output that lists
5720 + # what "hidden" libraries, object files and flags are used when
5721 + # linking a shared library.
5722 + #
5723 + # There doesn't appear to be a way to prevent this compiler from
5724 + # explicitly linking system object files so we need to strip them
5725 + # from the output so that they don't get included in the library
5726 + # dependencies.
5727 + 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'
5728 + ;;
5729 + *)
5730 + if test "$GXX" = yes; then
5731 + _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'
5732 + else
5733 + # FIXME: insert proper C++ library support
5734 + _LT_TAGVAR(ld_shlibs, $1)=no
5735 + fi
5736 + ;;
5737 + esac
5738 + ;;
5739 +
5740 + hpux10*|hpux11*)
5741 + if test $with_gnu_ld = no; then
5742 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5743 + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5744 +
5745 + case $host_cpu in
5746 + hppa*64*|ia64*)
5747 + ;;
5748 + *)
5749 + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5750 + ;;
5751 + esac
5752 + fi
5753 + case $host_cpu in
5754 + hppa*64*|ia64*)
5755 + _LT_TAGVAR(hardcode_direct, $1)=no
5756 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5757 + ;;
5758 + *)
5759 + _LT_TAGVAR(hardcode_direct, $1)=yes
5760 + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5761 + _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
5762 + # but as the default
5763 + # location of the library.
5764 + ;;
5765 + esac
5766 +
5767 + case $cc_basename in
5768 + CC*)
5769 + # FIXME: insert proper C++ library support
5770 + _LT_TAGVAR(ld_shlibs, $1)=no
5771 + ;;
5772 + aCC*)
5773 + case $host_cpu in
5774 + hppa*64*)
5775 + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
5776 + ;;
5777 + ia64*)
5778 + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
5779 + ;;
5780 + *)
5781 + _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'
5782 + ;;
5783 + esac
5784 + # Commands to make compiler produce verbose output that lists
5785 + # what "hidden" libraries, object files and flags are used when
5786 + # linking a shared library.
5787 + #
5788 + # There doesn't appear to be a way to prevent this compiler from
5789 + # explicitly linking system object files so we need to strip them
5790 + # from the output so that they don't get included in the library
5791 + # dependencies.
5792 + 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'
5793 + ;;
5794 + *)
5795 + if test "$GXX" = yes; then
5796 + if test $with_gnu_ld = no; then
5797 + case $host_cpu in
5798 + hppa*64*)
5799 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
5800 + ;;
5801 + ia64*)
5802 + _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'
5803 + ;;
5804 + *)
5805 + _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'
5806 + ;;
5807 + esac
5808 + fi
5809 + else
5810 + # FIXME: insert proper C++ library support
5811 + _LT_TAGVAR(ld_shlibs, $1)=no
5812 + fi
5813 + ;;
5814 + esac
5815 + ;;
5816 +
5817 + interix[[3-9]]*)
5818 + _LT_TAGVAR(hardcode_direct, $1)=no
5819 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5820 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5821 + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5822 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
5823 + # Instead, shared libraries are loaded at an image base (0x10000000 by
5824 + # default) and relocated if they conflict, which is a slow very memory
5825 + # consuming and fragmenting process. To avoid this, we pick a random,
5826 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
5827 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
5828 + _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'
5829 + _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'
5830 + ;;
5831 + irix5* | irix6*)
5832 + case $cc_basename in
5833 + CC*)
5834 + # SGI C++
5835 + _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'
5836 +
5837 + # Archives containing C++ object files must be created using
5838 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
5839 + # necessary to make sure instantiated templates are included
5840 + # in the archive.
5841 + _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
5842 + ;;
5843 + *)
5844 + if test "$GXX" = yes; then
5845 + if test "$with_gnu_ld" = no; then
5846 + _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'
5847 + else
5848 + _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'
5849 + fi
5850 + fi
5851 + _LT_TAGVAR(link_all_deplibs, $1)=yes
5852 + ;;
5853 + esac
5854 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5855 + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5856 + _LT_TAGVAR(inherit_rpath, $1)=yes
5857 + ;;
5858 +
5859 + linux* | k*bsd*-gnu)
5860 + case $cc_basename in
5861 + KCC*)
5862 + # Kuck and Associates, Inc. (KAI) C++ Compiler
5863 +
5864 + # KCC will only create a shared library if the output file
5865 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
5866 + # to its proper name (with version) after linking.
5867 + _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'
5868 + _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'
5869 + # Commands to make compiler produce verbose output that lists
5870 + # what "hidden" libraries, object files and flags are used when
5871 + # linking a shared library.
5872 + #
5873 + # There doesn't appear to be a way to prevent this compiler from
5874 + # explicitly linking system object files so we need to strip them
5875 + # from the output so that they don't get included in the library
5876 + # dependencies.
5877 + 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'
5878 +
5879 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5880 + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
5881 +
5882 + # Archives containing C++ object files must be created using
5883 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
5884 + _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
5885 + ;;
5886 + icpc* | ecpc* )
5887 + # Intel C++
5888 + with_gnu_ld=yes
5889 + # version 8.0 and above of icpc choke on multiply defined symbols
5890 + # if we add $predep_objects and $postdep_objects, however 7.1 and
5891 + # earlier do not add the objects themselves.
5892 + case `$CC -V 2>&1` in
5893 + *"Version 7."*)
5894 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
5895 + _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'
5896 + ;;
5897 + *) # Version 8.0 or newer
5898 + tmp_idyn=
5899 + case $host_cpu in
5900 + ia64*) tmp_idyn=' -i_dynamic';;
5901 + esac
5902 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5903 + _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'
5904 + ;;
5905 + esac
5906 + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
5907 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5908 + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
5909 + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
5910 + ;;
5911 + pgCC* | pgcpp*)
5912 + # Portland Group C++ compiler
5913 + case `$CC -V` in
5914 + *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
5915 + _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
5916 + rm -rf $tpldir~
5917 + $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
5918 + compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
5919 + _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
5920 + rm -rf $tpldir~
5921 + $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
5922 + $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
5923 + $RANLIB $oldlib'
5924 + _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
5925 + rm -rf $tpldir~
5926 + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
5927 + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
5928 + _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
5929 + rm -rf $tpldir~
5930 + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
5931 + $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'
5932 + ;;
5933 + *) # Version 6 will use weak symbols
5934 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
5935 + _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'
5936 + ;;
5937 + esac
5938 +
5939 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
5940 + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
5941 + _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'
5942 + ;;
5943 + cxx*)
5944 + # Compaq C++
5945 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
5946 + _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'
5947 +
5948 + runpath_var=LD_RUN_PATH
5949 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
5950 + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5951 +
5952 + # Commands to make compiler produce verbose output that lists
5953 + # what "hidden" libraries, object files and flags are used when
5954 + # linking a shared library.
5955 + #
5956 + # There doesn't appear to be a way to prevent this compiler from
5957 + # explicitly linking system object files so we need to strip them
5958 + # from the output so that they don't get included in the library
5959 + # dependencies.
5960 + 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'
5961 + ;;
5962 + xl*)
5963 + # IBM XL 8.0 on PPC, with GNU ld
5964 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5965 + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
5966 + _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5967 + if test "x$supports_anon_versioning" = xyes; then
5968 + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
5969 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5970 + echo "local: *; };" >> $output_objdir/$libname.ver~
5971 + $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
5972 + fi
5973 + ;;
5974 + *)
5975 + case `$CC -V 2>&1 | sed 5q` in
5976 + *Sun\ C*)
5977 + # Sun C++ 5.9
5978 + _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
5979 + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
5980 + _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'
5981 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5982 + _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'
5983 + _LT_TAGVAR(compiler_needs_object, $1)=yes
5984 +
5985 + # Not sure whether something based on
5986 + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
5987 + # would be better.
5988 + output_verbose_link_cmd='echo'
5989 +
5990 + # Archives containing C++ object files must be created using
5991 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
5992 + # necessary to make sure instantiated templates are included
5993 + # in the archive.
5994 + _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
5995 + ;;
5996 + esac
5997 + ;;
5998 + esac
5999 + ;;
6000 +
6001 + lynxos*)
6002 + # FIXME: insert proper C++ library support
6003 + _LT_TAGVAR(ld_shlibs, $1)=no
6004 + ;;
6005 +
6006 + m88k*)
6007 + # FIXME: insert proper C++ library support
6008 + _LT_TAGVAR(ld_shlibs, $1)=no
6009 + ;;
6010 +
6011 + mvs*)
6012 + case $cc_basename in
6013 + cxx*)
6014 + # FIXME: insert proper C++ library support
6015 + _LT_TAGVAR(ld_shlibs, $1)=no
6016 + ;;
6017 + *)
6018 + # FIXME: insert proper C++ library support
6019 + _LT_TAGVAR(ld_shlibs, $1)=no
6020 + ;;
6021 + esac
6022 + ;;
6023 +
6024 + netbsd*)
6025 + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
6026 + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
6027 + wlarc=
6028 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6029 + _LT_TAGVAR(hardcode_direct, $1)=yes
6030 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6031 + fi
6032 + # Workaround some broken pre-1.5 toolchains
6033 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
6034 + ;;
6035 +
6036 + *nto* | *qnx*)
6037 + _LT_TAGVAR(ld_shlibs, $1)=yes
6038 + ;;
6039 +
6040 + openbsd2*)
6041 + # C++ shared libraries are fairly broken
6042 + _LT_TAGVAR(ld_shlibs, $1)=no
6043 + ;;
6044 +
6045 + openbsd*)
6046 + if test -f /usr/libexec/ld.so; then
6047 + _LT_TAGVAR(hardcode_direct, $1)=yes
6048 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6049 + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
6050 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
6051 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6052 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6053 + _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'
6054 + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6055 + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6056 + fi
6057 + output_verbose_link_cmd=echo
6058 + else
6059 + _LT_TAGVAR(ld_shlibs, $1)=no
6060 + fi
6061 + ;;
6062 +
6063 + osf3* | osf4* | osf5*)
6064 + case $cc_basename in
6065 + KCC*)
6066 + # Kuck and Associates, Inc. (KAI) C++ Compiler
6067 +
6068 + # KCC will only create a shared library if the output file
6069 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
6070 + # to its proper name (with version) after linking.
6071 + _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'
6072 +
6073 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6074 + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
6075 +
6076 + # Archives containing C++ object files must be created using
6077 + # the KAI C++ compiler.
6078 + case $host in
6079 + osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
6080 + *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
6081 + esac
6082 + ;;
6083 + RCC*)
6084 + # Rational C++ 2.4.1
6085 + # FIXME: insert proper C++ library support
6086 + _LT_TAGVAR(ld_shlibs, $1)=no
6087 + ;;
6088 + cxx*)
6089 + case $host in
6090 + osf3*)
6091 + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
6092 + _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'
6093 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6094 + ;;
6095 + *)
6096 + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
6097 + _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'
6098 + _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
6099 + echo "-hidden">> $lib.exp~
6100 + $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~
6101 + $RM $lib.exp'
6102 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
6103 + ;;
6104 + esac
6105 +
6106 + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
6107 +
6108 + # Commands to make compiler produce verbose output that lists
6109 + # what "hidden" libraries, object files and flags are used when
6110 + # linking a shared library.
6111 + #
6112 + # There doesn't appear to be a way to prevent this compiler from
6113 + # explicitly linking system object files so we need to strip them
6114 + # from the output so that they don't get included in the library
6115 + # dependencies.
6116 + 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'
6117 + ;;
6118 + *)
6119 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
6120 + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
6121 + case $host in
6122 + osf3*)
6123 + _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'
6124 + ;;
6125 + *)
6126 + _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'
6127 + ;;
6128 + esac
6129 +
6130 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6131 + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
6132 +
6133 + # Commands to make compiler produce verbose output that lists
6134 + # what "hidden" libraries, object files and flags are used when
6135 + # linking a shared library.
6136 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
6137 +
6138 + else
6139 + # FIXME: insert proper C++ library support
6140 + _LT_TAGVAR(ld_shlibs, $1)=no
6141 + fi
6142 + ;;
6143 + esac
6144 + ;;
6145 +
6146 + psos*)
6147 + # FIXME: insert proper C++ library support
6148 + _LT_TAGVAR(ld_shlibs, $1)=no
6149 + ;;
6150 +
6151 + sunos4*)
6152 + case $cc_basename in
6153 + CC*)
6154 + # Sun C++ 4.x
6155 + # FIXME: insert proper C++ library support
6156 + _LT_TAGVAR(ld_shlibs, $1)=no
6157 + ;;
6158 + lcc*)
6159 + # Lucid
6160 + # FIXME: insert proper C++ library support
6161 + _LT_TAGVAR(ld_shlibs, $1)=no
6162 + ;;
6163 + *)
6164 + # FIXME: insert proper C++ library support
6165 + _LT_TAGVAR(ld_shlibs, $1)=no
6166 + ;;
6167 + esac
6168 + ;;
6169 +
6170 + solaris*)
6171 + case $cc_basename in
6172 + CC*)
6173 + # Sun C++ 4.2, 5.x and Centerline C++
6174 + _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
6175 + _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
6176 + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6177 + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
6178 + $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'
6179 +
6180 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6181 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6182 + case $host_os in
6183 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
6184 + *)
6185 + # The compiler driver will combine and reorder linker options,
6186 + # but understands `-z linker_flag'.
6187 + # Supported since Solaris 2.6 (maybe 2.5.1?)
6188 + _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
6189 + ;;
6190 + esac
6191 + _LT_TAGVAR(link_all_deplibs, $1)=yes
6192 +
6193 + output_verbose_link_cmd='echo'
6194 +
6195 + # Archives containing C++ object files must be created using
6196 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
6197 + # necessary to make sure instantiated templates are included
6198 + # in the archive.
6199 + _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
6200 + ;;
6201 + gcx*)
6202 + # Green Hills C++ Compiler
6203 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
6204 +
6205 + # The C++ compiler must be used to create the archive.
6206 + _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
6207 + ;;
6208 + *)
6209 + # GNU C++ compiler with Solaris linker
6210 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
6211 + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
6212 + if $CC --version | $GREP -v '^2\.7' > /dev/null; then
6213 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
6214 + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
6215 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
6216 +
6217 + # Commands to make compiler produce verbose output that lists
6218 + # what "hidden" libraries, object files and flags are used when
6219 + # linking a shared library.
6220 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
6221 + else
6222 + # g++ 2.7 appears to require `-G' NOT `-shared' on this
6223 + # platform.
6224 + _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
6225 + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
6226 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
6227 +
6228 + # Commands to make compiler produce verbose output that lists
6229 + # what "hidden" libraries, object files and flags are used when
6230 + # linking a shared library.
6231 + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
6232 + fi
6233 +
6234 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
6235 + case $host_os in
6236 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
6237 + *)
6238 + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
6239 + ;;
6240 + esac
6241 + fi
6242 + ;;
6243 + esac
6244 + ;;
6245 +
6246 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
6247 + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
6248 + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6249 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6250 + runpath_var='LD_RUN_PATH'
6251 +
6252 + case $cc_basename in
6253 + CC*)
6254 + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6255 + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6256 + ;;
6257 + *)
6258 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6259 + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6260 + ;;
6261 + esac
6262 + ;;
6263 +
6264 + sysv5* | sco3.2v5* | sco5v6*)
6265 + # Note: We can NOT use -z defs as we might desire, because we do not
6266 + # link with -lc, and that would cause any symbols used from libc to
6267 + # always be unresolved, which means just about no library would
6268 + # ever link correctly. If we're not using GNU ld we use -z text
6269 + # though, which does catch some bad symbols but isn't as heavy-handed
6270 + # as -z defs.
6271 + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
6272 + _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
6273 + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6274 + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6275 + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
6276 + _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
6277 + _LT_TAGVAR(link_all_deplibs, $1)=yes
6278 + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
6279 + runpath_var='LD_RUN_PATH'
6280 +
6281 + case $cc_basename in
6282 + CC*)
6283 + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6284 + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6285 + ;;
6286 + *)
6287 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6288 + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6289 + ;;
6290 + esac
6291 + ;;
6292 +
6293 + tandem*)
6294 + case $cc_basename in
6295 + NCC*)
6296 + # NonStop-UX NCC 3.20
6297 + # FIXME: insert proper C++ library support
6298 + _LT_TAGVAR(ld_shlibs, $1)=no
6299 + ;;
6300 + *)
6301 + # FIXME: insert proper C++ library support
6302 + _LT_TAGVAR(ld_shlibs, $1)=no
6303 + ;;
6304 + esac
6305 + ;;
6306 +
6307 + vxworks*)
6308 + # FIXME: insert proper C++ library support
6309 + _LT_TAGVAR(ld_shlibs, $1)=no
6310 + ;;
6311 +
6312 + *)
6313 + # FIXME: insert proper C++ library support
6314 + _LT_TAGVAR(ld_shlibs, $1)=no
6315 + ;;
6316 + esac
6317 +
6318 + AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
6319 + test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
6320 +
6321 + _LT_TAGVAR(GCC, $1)="$GXX"
6322 + _LT_TAGVAR(LD, $1)="$LD"
6323 +
6324 + ## CAVEAT EMPTOR:
6325 + ## There is no encapsulation within the following macros, do not change
6326 + ## the running order or otherwise move them around unless you know exactly
6327 + ## what you are doing...
6328 + _LT_SYS_HIDDEN_LIBDEPS($1)
6329 + _LT_COMPILER_PIC($1)
6330 + _LT_COMPILER_C_O($1)
6331 + _LT_COMPILER_FILE_LOCKS($1)
6332 + _LT_LINKER_SHLIBS($1)
6333 + _LT_SYS_DYNAMIC_LINKER($1)
6334 + _LT_LINKER_HARDCODE_LIBPATH($1)
6335 +
6336 + _LT_CONFIG($1)
6337 + fi # test -n "$compiler"
6338 +
6339 + CC=$lt_save_CC
6340 + LDCXX=$LD
6341 + LD=$lt_save_LD
6342 + GCC=$lt_save_GCC
6343 + with_gnu_ld=$lt_save_with_gnu_ld
6344 + lt_cv_path_LDCXX=$lt_cv_path_LD
6345 + lt_cv_path_LD=$lt_save_path_LD
6346 + lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
6347 + lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
6348 +fi # test "$_lt_caught_CXX_error" != yes
6349 +
6350 +AC_LANG_POP
6351 +])# _LT_LANG_CXX_CONFIG
6352 +
6353 +
6354 +# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
6355 +# ---------------------------------
6356 +# Figure out "hidden" library dependencies from verbose
6357 +# compiler output when linking a shared library.
6358 +# Parse the compiler output and extract the necessary
6359 +# objects, libraries and library flags.
6360 +m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
6361 +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
6362 +# Dependencies to place before and after the object being linked:
6363 +_LT_TAGVAR(predep_objects, $1)=
6364 +_LT_TAGVAR(postdep_objects, $1)=
6365 +_LT_TAGVAR(predeps, $1)=
6366 +_LT_TAGVAR(postdeps, $1)=
6367 +_LT_TAGVAR(compiler_lib_search_path, $1)=
6368 +
6369 +dnl we can't use the lt_simple_compile_test_code here,
6370 +dnl because it contains code intended for an executable,
6371 +dnl not a library. It's possible we should let each
6372 +dnl tag define a new lt_????_link_test_code variable,
6373 +dnl but it's only used here...
6374 +m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
6375 +int a;
6376 +void foo (void) { a = 0; }
6377 +_LT_EOF
6378 +], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
6379 +class Foo
6380 +{
6381 +public:
6382 + Foo (void) { a = 0; }
6383 +private:
6384 + int a;
6385 +};
6386 +_LT_EOF
6387 +], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
6388 + subroutine foo
6389 + implicit none
6390 + integer*4 a
6391 + a=0
6392 + return
6393 + end
6394 +_LT_EOF
6395 +], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
6396 + subroutine foo
6397 + implicit none
6398 + integer a
6399 + a=0
6400 + return
6401 + end
6402 +_LT_EOF
6403 +], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
6404 +public class foo {
6405 + private int a;
6406 + public void bar (void) {
6407 + a = 0;
6408 + }
6409 +};
6410 +_LT_EOF
6411 +])
6412 +dnl Parse the compiler output and extract the necessary
6413 +dnl objects, libraries and library flags.
6414 +if AC_TRY_EVAL(ac_compile); then
6415 + # Parse the compiler output and extract the necessary
6416 + # objects, libraries and library flags.
6417 +
6418 + # Sentinel used to keep track of whether or not we are before
6419 + # the conftest object file.
6420 + pre_test_object_deps_done=no
6421 +
6422 + for p in `eval "$output_verbose_link_cmd"`; do
6423 + case $p in
6424 +
6425 + -L* | -R* | -l*)
6426 + # Some compilers place space between "-{L,R}" and the path.
6427 + # Remove the space.
6428 + if test $p = "-L" ||
6429 + test $p = "-R"; then
6430 + prev=$p
6431 + continue
6432 + else
6433 + prev=
6434 + fi
6435 +
6436 + if test "$pre_test_object_deps_done" = no; then
6437 + case $p in
6438 + -L* | -R*)
6439 + # Internal compiler library paths should come after those
6440 + # provided the user. The postdeps already come after the
6441 + # user supplied libs so there is no need to process them.
6442 + if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
6443 + _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
6444 + else
6445 + _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
6446 + fi
6447 + ;;
6448 + # The "-l" case would never come before the object being
6449 + # linked, so don't bother handling this case.
6450 + esac
6451 + else
6452 + if test -z "$_LT_TAGVAR(postdeps, $1)"; then
6453 + _LT_TAGVAR(postdeps, $1)="${prev}${p}"
6454 + else
6455 + _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
6456 + fi
6457 + fi
6458 + ;;
6459 +
6460 + *.$objext)
6461 + # This assumes that the test object file only shows up
6462 + # once in the compiler output.
6463 + if test "$p" = "conftest.$objext"; then
6464 + pre_test_object_deps_done=yes
6465 + continue
6466 + fi
6467 +
6468 + if test "$pre_test_object_deps_done" = no; then
6469 + if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
6470 + _LT_TAGVAR(predep_objects, $1)="$p"
6471 + else
6472 + _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
6473 + fi
6474 + else
6475 + if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
6476 + _LT_TAGVAR(postdep_objects, $1)="$p"
6477 + else
6478 + _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
6479 + fi
6480 + fi
6481 + ;;
6482 +
6483 + *) ;; # Ignore the rest.
6484 +
6485 + esac
6486 + done
6487 +
6488 + # Clean up.
6489 + rm -f a.out a.exe
6490 +else
6491 + echo "libtool.m4: error: problem compiling $1 test program"
6492 +fi
6493 +
6494 +$RM -f confest.$objext
6495 +
6496 +# PORTME: override above test on systems where it is broken
6497 +m4_if([$1], [CXX],
6498 +[case $host_os in
6499 +interix[[3-9]]*)
6500 + # Interix 3.5 installs completely hosed .la files for C++, so rather than
6501 + # hack all around it, let's just trust "g++" to DTRT.
6502 + _LT_TAGVAR(predep_objects,$1)=
6503 + _LT_TAGVAR(postdep_objects,$1)=
6504 + _LT_TAGVAR(postdeps,$1)=
6505 + ;;
6506 +
6507 +linux*)
6508 + case `$CC -V 2>&1 | sed 5q` in
6509 + *Sun\ C*)
6510 + # Sun C++ 5.9
6511 +
6512 + # The more standards-conforming stlport4 library is
6513 + # incompatible with the Cstd library. Avoid specifying
6514 + # it if it's in CXXFLAGS. Ignore libCrun as
6515 + # -library=stlport4 depends on it.
6516 + case " $CXX $CXXFLAGS " in
6517 + *" -library=stlport4 "*)
6518 + solaris_use_stlport4=yes
6519 + ;;
6520 + esac
6521 +
6522 + if test "$solaris_use_stlport4" != yes; then
6523 + _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
6524 + fi
6525 + ;;
6526 + esac
6527 + ;;
6528 +
6529 +solaris*)
6530 + case $cc_basename in
6531 + CC*)
6532 + # The more standards-conforming stlport4 library is
6533 + # incompatible with the Cstd library. Avoid specifying
6534 + # it if it's in CXXFLAGS. Ignore libCrun as
6535 + # -library=stlport4 depends on it.
6536 + case " $CXX $CXXFLAGS " in
6537 + *" -library=stlport4 "*)
6538 + solaris_use_stlport4=yes
6539 + ;;
6540 + esac
6541 +
6542 + # Adding this requires a known-good setup of shared libraries for
6543 + # Sun compiler versions before 5.6, else PIC objects from an old
6544 + # archive will be linked into the output, leading to subtle bugs.
6545 + if test "$solaris_use_stlport4" != yes; then
6546 + _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
6547 + fi
6548 + ;;
6549 + esac
6550 + ;;
6551 +esac
6552 +])
6553 +
6554 +case " $_LT_TAGVAR(postdeps, $1) " in
6555 +*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
6556 +esac
6557 + _LT_TAGVAR(compiler_lib_search_dirs, $1)=
6558 +if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
6559 + _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
6560 +fi
6561 +_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
6562 + [The directories searched by this compiler when creating a shared library])
6563 +_LT_TAGDECL([], [predep_objects], [1],
6564 + [Dependencies to place before and after the objects being linked to
6565 + create a shared library])
6566 +_LT_TAGDECL([], [postdep_objects], [1])
6567 +_LT_TAGDECL([], [predeps], [1])
6568 +_LT_TAGDECL([], [postdeps], [1])
6569 +_LT_TAGDECL([], [compiler_lib_search_path], [1],
6570 + [The library search path used internally by the compiler when linking
6571 + a shared library])
6572 +])# _LT_SYS_HIDDEN_LIBDEPS
6573 +
6574 +
6575 +# _LT_PROG_F77
6576 +# ------------
6577 +# Since AC_PROG_F77 is broken, in that it returns the empty string
6578 +# if there is no fortran compiler, we have our own version here.
6579 +m4_defun([_LT_PROG_F77],
6580 +[
6581 +pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
6582 +AC_PROG_F77
6583 +if test -z "$F77" || test "X$F77" = "Xno"; then
6584 + _lt_disable_F77=yes
6585 +fi
6586 +popdef([AC_MSG_ERROR])
6587 +])# _LT_PROG_F77
6588 +
6589 +dnl aclocal-1.4 backwards compatibility:
6590 +dnl AC_DEFUN([_LT_PROG_F77], [])
6591 +
6592 +
6593 +# _LT_LANG_F77_CONFIG([TAG])
6594 +# --------------------------
6595 +# Ensure that the configuration variables for a Fortran 77 compiler are
6596 +# suitably defined. These variables are subsequently used by _LT_CONFIG
6597 +# to write the compiler configuration to `libtool'.
6598 +m4_defun([_LT_LANG_F77_CONFIG],
6599 +[AC_REQUIRE([_LT_PROG_F77])dnl
6600 +AC_LANG_PUSH(Fortran 77)
6601 +
6602 +_LT_TAGVAR(archive_cmds_need_lc, $1)=no
6603 +_LT_TAGVAR(allow_undefined_flag, $1)=
6604 +_LT_TAGVAR(always_export_symbols, $1)=no
6605 +_LT_TAGVAR(archive_expsym_cmds, $1)=
6606 +_LT_TAGVAR(export_dynamic_flag_spec, $1)=
6607 +_LT_TAGVAR(hardcode_direct, $1)=no
6608 +_LT_TAGVAR(hardcode_direct_absolute, $1)=no
6609 +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
6610 +_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
6611 +_LT_TAGVAR(hardcode_libdir_separator, $1)=
6612 +_LT_TAGVAR(hardcode_minus_L, $1)=no
6613 +_LT_TAGVAR(hardcode_automatic, $1)=no
6614 +_LT_TAGVAR(inherit_rpath, $1)=no
6615 +_LT_TAGVAR(module_cmds, $1)=
6616 +_LT_TAGVAR(module_expsym_cmds, $1)=
6617 +_LT_TAGVAR(link_all_deplibs, $1)=unknown
6618 +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
6619 +_LT_TAGVAR(no_undefined_flag, $1)=
6620 +_LT_TAGVAR(whole_archive_flag_spec, $1)=
6621 +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
6622 +
6623 +# Source file extension for f77 test sources.
6624 +ac_ext=f
6625 +
6626 +# Object file extension for compiled f77 test sources.
6627 +objext=o
6628 +_LT_TAGVAR(objext, $1)=$objext
6629 +
6630 +# No sense in running all these tests if we already determined that
6631 +# the F77 compiler isn't working. Some variables (like enable_shared)
6632 +# are currently assumed to apply to all compilers on this platform,
6633 +# and will be corrupted by setting them based on a non-working compiler.
6634 +if test "$_lt_disable_F77" != yes; then
6635 + # Code to be used in simple compile tests
6636 + lt_simple_compile_test_code="\
6637 + subroutine t
6638 + return
6639 + end
6640 +"
6641 +
6642 + # Code to be used in simple link tests
6643 + lt_simple_link_test_code="\
6644 + program t
6645 + end
6646 +"
6647 +
6648 + # ltmain only uses $CC for tagged configurations so make sure $CC is set.
6649 + _LT_TAG_COMPILER
6650 +
6651 + # save warnings/boilerplate of simple test code
6652 + _LT_COMPILER_BOILERPLATE
6653 + _LT_LINKER_BOILERPLATE
6654 +
6655 + # Allow CC to be a program name with arguments.
6656 + lt_save_CC="$CC"
6657 + lt_save_GCC=$GCC
6658 + CC=${F77-"f77"}
6659 + compiler=$CC
6660 + _LT_TAGVAR(compiler, $1)=$CC
6661 + _LT_CC_BASENAME([$compiler])
6662 + GCC=$G77
6663 + if test -n "$compiler"; then
6664 + AC_MSG_CHECKING([if libtool supports shared libraries])
6665 + AC_MSG_RESULT([$can_build_shared])
6666 +
6667 + AC_MSG_CHECKING([whether to build shared libraries])
6668 + test "$can_build_shared" = "no" && enable_shared=no
6669 +
6670 + # On AIX, shared libraries and static libraries use the same namespace, and
6671 + # are all built from PIC.
6672 + case $host_os in
6673 + aix3*)
6674 + test "$enable_shared" = yes && enable_static=no
6675 + if test -n "$RANLIB"; then
6676 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
6677 + postinstall_cmds='$RANLIB $lib'
6678 + fi
6679 + ;;
6680 + aix[[4-9]]*)
6681 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
6682 + test "$enable_shared" = yes && enable_static=no
6683 + fi
6684 + ;;
6685 + esac
6686 + AC_MSG_RESULT([$enable_shared])
6687 +
6688 + AC_MSG_CHECKING([whether to build static libraries])
6689 + # Make sure either enable_shared or enable_static is yes.
6690 + test "$enable_shared" = yes || enable_static=yes
6691 + AC_MSG_RESULT([$enable_static])
6692 +
6693 + _LT_TAGVAR(GCC, $1)="$G77"
6694 + _LT_TAGVAR(LD, $1)="$LD"
6695 +
6696 + ## CAVEAT EMPTOR:
6697 + ## There is no encapsulation within the following macros, do not change
6698 + ## the running order or otherwise move them around unless you know exactly
6699 + ## what you are doing...
6700 + _LT_COMPILER_PIC($1)
6701 + _LT_COMPILER_C_O($1)
6702 + _LT_COMPILER_FILE_LOCKS($1)
6703 + _LT_LINKER_SHLIBS($1)
6704 + _LT_SYS_DYNAMIC_LINKER($1)
6705 + _LT_LINKER_HARDCODE_LIBPATH($1)
6706 +
6707 + _LT_CONFIG($1)
6708 + fi # test -n "$compiler"
6709 +
6710 + GCC=$lt_save_GCC
6711 + CC="$lt_save_CC"
6712 +fi # test "$_lt_disable_F77" != yes
6713 +
6714 +AC_LANG_POP
6715 +])# _LT_LANG_F77_CONFIG
6716 +
6717 +
6718 +# _LT_PROG_FC
6719 +# -----------
6720 +# Since AC_PROG_FC is broken, in that it returns the empty string
6721 +# if there is no fortran compiler, we have our own version here.
6722 +m4_defun([_LT_PROG_FC],
6723 +[
6724 +pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
6725 +AC_PROG_FC
6726 +if test -z "$FC" || test "X$FC" = "Xno"; then
6727 + _lt_disable_FC=yes
6728 +fi
6729 +popdef([AC_MSG_ERROR])
6730 +])# _LT_PROG_FC
6731 +
6732 +dnl aclocal-1.4 backwards compatibility:
6733 +dnl AC_DEFUN([_LT_PROG_FC], [])
6734 +
6735 +
6736 +# _LT_LANG_FC_CONFIG([TAG])
6737 +# -------------------------
6738 +# Ensure that the configuration variables for a Fortran compiler are
6739 +# suitably defined. These variables are subsequently used by _LT_CONFIG
6740 +# to write the compiler configuration to `libtool'.
6741 +m4_defun([_LT_LANG_FC_CONFIG],
6742 +[AC_REQUIRE([_LT_PROG_FC])dnl
6743 +AC_LANG_PUSH(Fortran)
6744 +
6745 +_LT_TAGVAR(archive_cmds_need_lc, $1)=no
6746 +_LT_TAGVAR(allow_undefined_flag, $1)=
6747 +_LT_TAGVAR(always_export_symbols, $1)=no
6748 +_LT_TAGVAR(archive_expsym_cmds, $1)=
6749 +_LT_TAGVAR(export_dynamic_flag_spec, $1)=
6750 +_LT_TAGVAR(hardcode_direct, $1)=no
6751 +_LT_TAGVAR(hardcode_direct_absolute, $1)=no
6752 +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
6753 +_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
6754 +_LT_TAGVAR(hardcode_libdir_separator, $1)=
6755 +_LT_TAGVAR(hardcode_minus_L, $1)=no
6756 +_LT_TAGVAR(hardcode_automatic, $1)=no
6757 +_LT_TAGVAR(inherit_rpath, $1)=no
6758 +_LT_TAGVAR(module_cmds, $1)=
6759 +_LT_TAGVAR(module_expsym_cmds, $1)=
6760 +_LT_TAGVAR(link_all_deplibs, $1)=unknown
6761 +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
6762 +_LT_TAGVAR(no_undefined_flag, $1)=
6763 +_LT_TAGVAR(whole_archive_flag_spec, $1)=
6764 +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
6765 +
6766 +# Source file extension for fc test sources.
6767 +ac_ext=${ac_fc_srcext-f}
6768 +
6769 +# Object file extension for compiled fc test sources.
6770 +objext=o
6771 +_LT_TAGVAR(objext, $1)=$objext
6772 +
6773 +# No sense in running all these tests if we already determined that
6774 +# the FC compiler isn't working. Some variables (like enable_shared)
6775 +# are currently assumed to apply to all compilers on this platform,
6776 +# and will be corrupted by setting them based on a non-working compiler.
6777 +if test "$_lt_disable_FC" != yes; then
6778 + # Code to be used in simple compile tests
6779 + lt_simple_compile_test_code="\
6780 + subroutine t
6781 + return
6782 + end
6783 +"
6784 +
6785 + # Code to be used in simple link tests
6786 + lt_simple_link_test_code="\
6787 + program t
6788 + end
6789 +"
6790 +
6791 + # ltmain only uses $CC for tagged configurations so make sure $CC is set.
6792 + _LT_TAG_COMPILER
6793 +
6794 + # save warnings/boilerplate of simple test code
6795 + _LT_COMPILER_BOILERPLATE
6796 + _LT_LINKER_BOILERPLATE
6797 +
6798 + # Allow CC to be a program name with arguments.
6799 + lt_save_CC="$CC"
6800 + lt_save_GCC=$GCC
6801 + CC=${FC-"f95"}
6802 + compiler=$CC
6803 + GCC=$ac_cv_fc_compiler_gnu
6804 +
6805 + _LT_TAGVAR(compiler, $1)=$CC
6806 + _LT_CC_BASENAME([$compiler])
6807 +
6808 + if test -n "$compiler"; then
6809 + AC_MSG_CHECKING([if libtool supports shared libraries])
6810 + AC_MSG_RESULT([$can_build_shared])
6811 +
6812 + AC_MSG_CHECKING([whether to build shared libraries])
6813 + test "$can_build_shared" = "no" && enable_shared=no
6814 +
6815 + # On AIX, shared libraries and static libraries use the same namespace, and
6816 + # are all built from PIC.
6817 + case $host_os in
6818 + aix3*)
6819 + test "$enable_shared" = yes && enable_static=no
6820 + if test -n "$RANLIB"; then
6821 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
6822 + postinstall_cmds='$RANLIB $lib'
6823 + fi
6824 + ;;
6825 + aix[[4-9]]*)
6826 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
6827 + test "$enable_shared" = yes && enable_static=no
6828 + fi
6829 + ;;
6830 + esac
6831 + AC_MSG_RESULT([$enable_shared])
6832 +
6833 + AC_MSG_CHECKING([whether to build static libraries])
6834 + # Make sure either enable_shared or enable_static is yes.
6835 + test "$enable_shared" = yes || enable_static=yes
6836 + AC_MSG_RESULT([$enable_static])
6837 +
6838 + _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
6839 + _LT_TAGVAR(LD, $1)="$LD"
6840 +
6841 + ## CAVEAT EMPTOR:
6842 + ## There is no encapsulation within the following macros, do not change
6843 + ## the running order or otherwise move them around unless you know exactly
6844 + ## what you are doing...
6845 + _LT_SYS_HIDDEN_LIBDEPS($1)
6846 + _LT_COMPILER_PIC($1)
6847 + _LT_COMPILER_C_O($1)
6848 + _LT_COMPILER_FILE_LOCKS($1)
6849 + _LT_LINKER_SHLIBS($1)
6850 + _LT_SYS_DYNAMIC_LINKER($1)
6851 + _LT_LINKER_HARDCODE_LIBPATH($1)
6852 +
6853 + _LT_CONFIG($1)
6854 + fi # test -n "$compiler"
6855 +
6856 + GCC=$lt_save_GCC
6857 + CC="$lt_save_CC"
6858 +fi # test "$_lt_disable_FC" != yes
6859 +
6860 +AC_LANG_POP
6861 +])# _LT_LANG_FC_CONFIG
6862 +
6863 +
6864 +# _LT_LANG_GCJ_CONFIG([TAG])
6865 +# --------------------------
6866 +# Ensure that the configuration variables for the GNU Java Compiler compiler
6867 +# are suitably defined. These variables are subsequently used by _LT_CONFIG
6868 +# to write the compiler configuration to `libtool'.
6869 +m4_defun([_LT_LANG_GCJ_CONFIG],
6870 +[AC_REQUIRE([LT_PROG_GCJ])dnl
6871 +AC_LANG_SAVE
6872 +
6873 +# Source file extension for Java test sources.
6874 +ac_ext=java
6875 +
6876 +# Object file extension for compiled Java test sources.
6877 +objext=o
6878 +_LT_TAGVAR(objext, $1)=$objext
6879 +
6880 +# Code to be used in simple compile tests
6881 +lt_simple_compile_test_code="class foo {}"
6882 +
6883 +# Code to be used in simple link tests
6884 +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
6885 +
6886 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
6887 +_LT_TAG_COMPILER
6888 +
6889 +# save warnings/boilerplate of simple test code
6890 +_LT_COMPILER_BOILERPLATE
6891 +_LT_LINKER_BOILERPLATE
6892 +
6893 +# Allow CC to be a program name with arguments.
6894 +lt_save_CC="$CC"
6895 +lt_save_GCC=$GCC
6896 +GCC=yes
6897 +CC=${GCJ-"gcj"}
6898 +compiler=$CC
6899 +_LT_TAGVAR(compiler, $1)=$CC
6900 +_LT_TAGVAR(LD, $1)="$LD"
6901 +_LT_CC_BASENAME([$compiler])
6902 +
6903 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
6904 +_LT_TAGVAR(archive_cmds_need_lc, $1)=no
6905 +
6906 +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
6907 +
6908 +if test -n "$compiler"; then
6909 + _LT_COMPILER_NO_RTTI($1)
6910 + _LT_COMPILER_PIC($1)
6911 + _LT_COMPILER_C_O($1)
6912 + _LT_COMPILER_FILE_LOCKS($1)
6913 + _LT_LINKER_SHLIBS($1)
6914 + _LT_LINKER_HARDCODE_LIBPATH($1)
6915 +
6916 + _LT_CONFIG($1)
6917 +fi
6918 +
6919 +AC_LANG_RESTORE
6920 +
6921 +GCC=$lt_save_GCC
6922 +CC="$lt_save_CC"
6923 +])# _LT_LANG_GCJ_CONFIG
6924 +
6925 +
6926 +# _LT_LANG_RC_CONFIG([TAG])
6927 +# -------------------------
6928 +# Ensure that the configuration variables for the Windows resource compiler
6929 +# are suitably defined. These variables are subsequently used by _LT_CONFIG
6930 +# to write the compiler configuration to `libtool'.
6931 +m4_defun([_LT_LANG_RC_CONFIG],
6932 +[AC_REQUIRE([LT_PROG_RC])dnl
6933 +AC_LANG_SAVE
6934 +
6935 +# Source file extension for RC test sources.
6936 +ac_ext=rc
6937 +
6938 +# Object file extension for compiled RC test sources.
6939 +objext=o
6940 +_LT_TAGVAR(objext, $1)=$objext
6941 +
6942 +# Code to be used in simple compile tests
6943 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
6944 +
6945 +# Code to be used in simple link tests
6946 +lt_simple_link_test_code="$lt_simple_compile_test_code"
6947 +
6948 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
6949 +_LT_TAG_COMPILER
6950 +
6951 +# save warnings/boilerplate of simple test code
6952 +_LT_COMPILER_BOILERPLATE
6953 +_LT_LINKER_BOILERPLATE
6954 +
6955 +# Allow CC to be a program name with arguments.
6956 +lt_save_CC="$CC"
6957 +lt_save_GCC=$GCC
6958 +GCC=
6959 +CC=${RC-"windres"}
6960 +compiler=$CC
6961 +_LT_TAGVAR(compiler, $1)=$CC
6962 +_LT_CC_BASENAME([$compiler])
6963 +_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
6964 +
6965 +if test -n "$compiler"; then
6966 + :
6967 + _LT_CONFIG($1)
6968 +fi
6969 +
6970 +GCC=$lt_save_GCC
6971 +AC_LANG_RESTORE
6972 +CC="$lt_save_CC"
6973 +])# _LT_LANG_RC_CONFIG
6974 +
6975 +
6976 +# LT_PROG_GCJ
6977 +# -----------
6978 +AC_DEFUN([LT_PROG_GCJ],
6979 +[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
6980 + [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
6981 + [AC_CHECK_TOOL(GCJ, gcj,)
6982 + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
6983 + AC_SUBST(GCJFLAGS)])])[]dnl
6984 +])
6985 +
6986 +# Old name:
6987 +AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
6988 +dnl aclocal-1.4 backwards compatibility:
6989 +dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
6990 +
6991 +
6992 +# LT_PROG_RC
6993 +# ----------
6994 +AC_DEFUN([LT_PROG_RC],
6995 +[AC_CHECK_TOOL(RC, windres,)
6996 +])
6997 +
6998 +# Old name:
6999 +AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
7000 +dnl aclocal-1.4 backwards compatibility:
7001 +dnl AC_DEFUN([LT_AC_PROG_RC], [])
7002 +
7003 +
7004 +# _LT_DECL_EGREP
7005 +# --------------
7006 +# If we don't have a new enough Autoconf to choose the best grep
7007 +# available, choose the one first in the user's PATH.
7008 +m4_defun([_LT_DECL_EGREP],
7009 +[AC_REQUIRE([AC_PROG_EGREP])dnl
7010 +AC_REQUIRE([AC_PROG_FGREP])dnl
7011 +test -z "$GREP" && GREP=grep
7012 +_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
7013 +_LT_DECL([], [EGREP], [1], [An ERE matcher])
7014 +_LT_DECL([], [FGREP], [1], [A literal string matcher])
7015 +dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
7016 +AC_SUBST([GREP])
7017 +])
7018 +
7019 +
7020 +# _LT_DECL_OBJDUMP
7021 +# --------------
7022 +# If we don't have a new enough Autoconf to choose the best objdump
7023 +# available, choose the one first in the user's PATH.
7024 +m4_defun([_LT_DECL_OBJDUMP],
7025 +[AC_CHECK_TOOL(OBJDUMP, objdump, false)
7026 +test -z "$OBJDUMP" && OBJDUMP=objdump
7027 +_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
7028 +AC_SUBST([OBJDUMP])
7029 +])
7030 +
7031 +
7032 +# _LT_DECL_SED
7033 +# ------------
7034 +# Check for a fully-functional sed program, that truncates
7035 +# as few characters as possible. Prefer GNU sed if found.
7036 +m4_defun([_LT_DECL_SED],
7037 +[AC_PROG_SED
7038 +test -z "$SED" && SED=sed
7039 +Xsed="$SED -e 1s/^X//"
7040 +_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
7041 +_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
7042 + [Sed that helps us avoid accidentally triggering echo(1) options like -n])
7043 +])# _LT_DECL_SED
7044 +
7045 +m4_ifndef([AC_PROG_SED], [
7046 +# NOTE: This macro has been submitted for inclusion into #
7047 +# GNU Autoconf as AC_PROG_SED. When it is available in #
7048 +# a released version of Autoconf we should remove this #
7049 +# macro and use it instead. #
7050 +
7051 +m4_defun([AC_PROG_SED],
7052 +[AC_MSG_CHECKING([for a sed that does not truncate output])
7053 +AC_CACHE_VAL(lt_cv_path_SED,
7054 +[# Loop through the user's path and test for sed and gsed.
7055 +# Then use that list of sed's as ones to test for truncation.
7056 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7057 +for as_dir in $PATH
7058 +do
7059 + IFS=$as_save_IFS
7060 + test -z "$as_dir" && as_dir=.
7061 + for lt_ac_prog in sed gsed; do
7062 + for ac_exec_ext in '' $ac_executable_extensions; do
7063 + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
7064 + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
7065 + fi
7066 + done
7067 + done
7068 +done
7069 +IFS=$as_save_IFS
7070 +lt_ac_max=0
7071 +lt_ac_count=0
7072 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
7073 +# along with /bin/sed that truncates output.
7074 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
7075 + test ! -f $lt_ac_sed && continue
7076 + cat /dev/null > conftest.in
7077 + lt_ac_count=0
7078 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
7079 + # Check for GNU sed and select it if it is found.
7080 + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
7081 + lt_cv_path_SED=$lt_ac_sed
7082 + break
7083 + fi
7084 + while true; do
7085 + cat conftest.in conftest.in >conftest.tmp
7086 + mv conftest.tmp conftest.in
7087 + cp conftest.in conftest.nl
7088 + echo >>conftest.nl
7089 + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
7090 + cmp -s conftest.out conftest.nl || break
7091 + # 10000 chars as input seems more than enough
7092 + test $lt_ac_count -gt 10 && break
7093 + lt_ac_count=`expr $lt_ac_count + 1`
7094 + if test $lt_ac_count -gt $lt_ac_max; then
7095 + lt_ac_max=$lt_ac_count
7096 + lt_cv_path_SED=$lt_ac_sed
7097 + fi
7098 + done
7099 +done
7100 +])
7101 +SED=$lt_cv_path_SED
7102 +AC_SUBST([SED])
7103 +AC_MSG_RESULT([$SED])
7104 +])#AC_PROG_SED
7105 +])#m4_ifndef
7106 +
7107 +# Old name:
7108 +AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
7109 +dnl aclocal-1.4 backwards compatibility:
7110 +dnl AC_DEFUN([LT_AC_PROG_SED], [])
7111 +
7112 +
7113 +# _LT_CHECK_SHELL_FEATURES
7114 +# ------------------------
7115 +# Find out whether the shell is Bourne or XSI compatible,
7116 +# or has some other useful features.
7117 +m4_defun([_LT_CHECK_SHELL_FEATURES],
7118 +[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
7119 +# Try some XSI features
7120 +xsi_shell=no
7121 +( _lt_dummy="a/b/c"
7122 + test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7123 + = c,a/b,, \
7124 + && eval 'test $(( 1 + 1 )) -eq 2 \
7125 + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7126 + && xsi_shell=yes
7127 +AC_MSG_RESULT([$xsi_shell])
7128 +_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
7129 +
7130 +AC_MSG_CHECKING([whether the shell understands "+="])
7131 +lt_shell_append=no
7132 +( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
7133 + >/dev/null 2>&1 \
7134 + && lt_shell_append=yes
7135 +AC_MSG_RESULT([$lt_shell_append])
7136 +_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
7137 +
7138 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7139 + lt_unset=unset
7140 +else
7141 + lt_unset=false
7142 +fi
7143 +_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
7144 +
7145 +# test EBCDIC or ASCII
7146 +case `echo X|tr X '\101'` in
7147 + A) # ASCII based system
7148 + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7149 + lt_SP2NL='tr \040 \012'
7150 + lt_NL2SP='tr \015\012 \040\040'
7151 + ;;
7152 + *) # EBCDIC based system
7153 + lt_SP2NL='tr \100 \n'
7154 + lt_NL2SP='tr \r\n \100\100'
7155 + ;;
7156 +esac
7157 +_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
7158 +_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
7159 +])# _LT_CHECK_SHELL_FEATURES
7160 +
7161 +
7162 +# _LT_PROG_XSI_SHELLFNS
7163 +# ---------------------
7164 +# Bourne and XSI compatible variants of some useful shell functions.
7165 +m4_defun([_LT_PROG_XSI_SHELLFNS],
7166 +[case $xsi_shell in
7167 + yes)
7168 + cat << \_LT_EOF >> "$cfgfile"
7169 +
7170 +# func_dirname file append nondir_replacement
7171 +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
7172 +# otherwise set result to NONDIR_REPLACEMENT.
7173 +func_dirname ()
7174 +{
7175 + case ${1} in
7176 + */*) func_dirname_result="${1%/*}${2}" ;;
7177 + * ) func_dirname_result="${3}" ;;
7178 + esac
7179 +}
7180 +
7181 +# func_basename file
7182 +func_basename ()
7183 +{
7184 + func_basename_result="${1##*/}"
7185 +}
7186 +
7187 +# func_dirname_and_basename file append nondir_replacement
7188 +# perform func_basename and func_dirname in a single function
7189 +# call:
7190 +# dirname: Compute the dirname of FILE. If nonempty,
7191 +# add APPEND to the result, otherwise set result
7192 +# to NONDIR_REPLACEMENT.
7193 +# value returned in "$func_dirname_result"
7194 +# basename: Compute filename of FILE.
7195 +# value retuned in "$func_basename_result"
7196 +# Implementation must be kept synchronized with func_dirname
7197 +# and func_basename. For efficiency, we do not delegate to
7198 +# those functions but instead duplicate the functionality here.
7199 +func_dirname_and_basename ()
7200 +{
7201 + case ${1} in
7202 + */*) func_dirname_result="${1%/*}${2}" ;;
7203 + * ) func_dirname_result="${3}" ;;
7204 + esac
7205 + func_basename_result="${1##*/}"
7206 +}
7207 +
7208 +# func_stripname prefix suffix name
7209 +# strip PREFIX and SUFFIX off of NAME.
7210 +# PREFIX and SUFFIX must not contain globbing or regex special
7211 +# characters, hashes, percent signs, but SUFFIX may contain a leading
7212 +# dot (in which case that matches only a dot).
7213 +func_stripname ()
7214 +{
7215 + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
7216 + # positional parameters, so assign one to ordinary parameter first.
7217 + func_stripname_result=${3}
7218 + func_stripname_result=${func_stripname_result#"${1}"}
7219 + func_stripname_result=${func_stripname_result%"${2}"}
7220 +}
7221 +
7222 +# func_opt_split
7223 +func_opt_split ()
7224 +{
7225 + func_opt_split_opt=${1%%=*}
7226 + func_opt_split_arg=${1#*=}
7227 +}
7228 +
7229 +# func_lo2o object
7230 +func_lo2o ()
7231 +{
7232 + case ${1} in
7233 + *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
7234 + *) func_lo2o_result=${1} ;;
7235 + esac
7236 +}
7237 +
7238 +# func_xform libobj-or-source
7239 +func_xform ()
7240 +{
7241 + func_xform_result=${1%.*}.lo
7242 +}
7243 +
7244 +# func_arith arithmetic-term...
7245 +func_arith ()
7246 +{
7247 + func_arith_result=$(( $[*] ))
7248 +}
7249 +
7250 +# func_len string
7251 +# STRING may not start with a hyphen.
7252 +func_len ()
7253 +{
7254 + func_len_result=${#1}
7255 +}
7256 +
7257 +_LT_EOF
7258 + ;;
7259 + *) # Bourne compatible functions.
7260 + cat << \_LT_EOF >> "$cfgfile"
7261 +
7262 +# func_dirname file append nondir_replacement
7263 +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
7264 +# otherwise set result to NONDIR_REPLACEMENT.
7265 +func_dirname ()
7266 +{
7267 + # Extract subdirectory from the argument.
7268 + func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
7269 + if test "X$func_dirname_result" = "X${1}"; then
7270 + func_dirname_result="${3}"
7271 + else
7272 + func_dirname_result="$func_dirname_result${2}"
7273 + fi
7274 +}
7275 +
7276 +# func_basename file
7277 +func_basename ()
7278 +{
7279 + func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
7280 +}
7281 +
7282 +dnl func_dirname_and_basename
7283 +dnl A portable version of this function is already defined in general.m4sh
7284 +dnl so there is no need for it here.
7285 +
7286 +# func_stripname prefix suffix name
7287 +# strip PREFIX and SUFFIX off of NAME.
7288 +# PREFIX and SUFFIX must not contain globbing or regex special
7289 +# characters, hashes, percent signs, but SUFFIX may contain a leading
7290 +# dot (in which case that matches only a dot).
7291 +# func_strip_suffix prefix name
7292 +func_stripname ()
7293 +{
7294 + case ${2} in
7295 + .*) func_stripname_result=`$ECHO "X${3}" \
7296 + | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
7297 + *) func_stripname_result=`$ECHO "X${3}" \
7298 + | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
7299 + esac
7300 +}
7301 +
7302 +# sed scripts:
7303 +my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
7304 +my_sed_long_arg='1s/^-[[^=]]*=//'
7305 +
7306 +# func_opt_split
7307 +func_opt_split ()
7308 +{
7309 + func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
7310 + func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
7311 +}
7312 +
7313 +# func_lo2o object
7314 +func_lo2o ()
7315 +{
7316 + func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
7317 +}
7318 +
7319 +# func_xform libobj-or-source
7320 +func_xform ()
7321 +{
7322 + func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
7323 +}
7324 +
7325 +# func_arith arithmetic-term...
7326 +func_arith ()
7327 +{
7328 + func_arith_result=`expr "$[@]"`
7329 +}
7330 +
7331 +# func_len string
7332 +# STRING may not start with a hyphen.
7333 +func_len ()
7334 +{
7335 + func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
7336 +}
7337 +
7338 +_LT_EOF
7339 +esac
7340 +
7341 +case $lt_shell_append in
7342 + yes)
7343 + cat << \_LT_EOF >> "$cfgfile"
7344 +
7345 +# func_append var value
7346 +# Append VALUE to the end of shell variable VAR.
7347 +func_append ()
7348 +{
7349 + eval "$[1]+=\$[2]"
7350 +}
7351 +_LT_EOF
7352 + ;;
7353 + *)
7354 + cat << \_LT_EOF >> "$cfgfile"
7355 +
7356 +# func_append var value
7357 +# Append VALUE to the end of shell variable VAR.
7358 +func_append ()
7359 +{
7360 + eval "$[1]=\$$[1]\$[2]"
7361 +}
7362 +
7363 +_LT_EOF
7364 + ;;
7365 + esac
7366 +])
7367 +
7368 +# Helper functions for option handling. -*- Autoconf -*-
7369 +#
7370 +# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
7371 +# Written by Gary V. Vaughan, 2004
7372 +#
7373 +# This file is free software; the Free Software Foundation gives
7374 +# unlimited permission to copy and/or distribute it, with or without
7375 +# modifications, as long as this notice is preserved.
7376 +
7377 +# serial 6 ltoptions.m4
7378 +
7379 +# This is to help aclocal find these macros, as it can't see m4_define.
7380 +AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
7381 +
7382 +
7383 +# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
7384 +# ------------------------------------------
7385 +m4_define([_LT_MANGLE_OPTION],
7386 +[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
7387 +
7388 +
7389 +# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
7390 +# ---------------------------------------
7391 +# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
7392 +# matching handler defined, dispatch to it. Other OPTION-NAMEs are
7393 +# saved as a flag.
7394 +m4_define([_LT_SET_OPTION],
7395 +[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
7396 +m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
7397 + _LT_MANGLE_DEFUN([$1], [$2]),
7398 + [m4_warning([Unknown $1 option `$2'])])[]dnl
7399 +])
7400 +
7401 +
7402 +# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
7403 +# ------------------------------------------------------------
7404 +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
7405 +m4_define([_LT_IF_OPTION],
7406 +[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
7407 +
7408 +
7409 +# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
7410 +# -------------------------------------------------------
7411 +# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
7412 +# are set.
7413 +m4_define([_LT_UNLESS_OPTIONS],
7414 +[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
7415 + [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
7416 + [m4_define([$0_found])])])[]dnl
7417 +m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
7418 +])[]dnl
7419 +])
7420 +
7421 +
7422 +# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
7423 +# ----------------------------------------
7424 +# OPTION-LIST is a space-separated list of Libtool options associated
7425 +# with MACRO-NAME. If any OPTION has a matching handler declared with
7426 +# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
7427 +# the unknown option and exit.
7428 +m4_defun([_LT_SET_OPTIONS],
7429 +[# Set options
7430 +m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
7431 + [_LT_SET_OPTION([$1], _LT_Option)])
7432 +
7433 +m4_if([$1],[LT_INIT],[
7434 + dnl
7435 + dnl Simply set some default values (i.e off) if boolean options were not
7436 + dnl specified:
7437 + _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
7438 + ])
7439 + _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
7440 + ])
7441 + dnl
7442 + dnl If no reference was made to various pairs of opposing options, then
7443 + dnl we run the default mode handler for the pair. For example, if neither
7444 + dnl `shared' nor `disable-shared' was passed, we enable building of shared
7445 + dnl archives by default:
7446 + _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
7447 + _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
7448 + _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
7449 + _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
7450 + [_LT_ENABLE_FAST_INSTALL])
7451 + ])
7452 +])# _LT_SET_OPTIONS
7453 +
7454 +
7455 +
7456 +# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
7457 +# -----------------------------------------
7458 +m4_define([_LT_MANGLE_DEFUN],
7459 +[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
7460 +
7461 +
7462 +# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
7463 +# -----------------------------------------------
7464 +m4_define([LT_OPTION_DEFINE],
7465 +[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
7466 +])# LT_OPTION_DEFINE
7467 +
7468 +
7469 +# dlopen
7470 +# ------
7471 +LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
7472 +])
7473 +
7474 +AU_DEFUN([AC_LIBTOOL_DLOPEN],
7475 +[_LT_SET_OPTION([LT_INIT], [dlopen])
7476 +AC_DIAGNOSE([obsolete],
7477 +[$0: Remove this warning and the call to _LT_SET_OPTION when you
7478 +put the `dlopen' option into LT_INIT's first parameter.])
7479 +])
7480 +
7481 +dnl aclocal-1.4 backwards compatibility:
7482 +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
7483 +
7484 +
7485 +# win32-dll
7486 +# ---------
7487 +# Declare package support for building win32 dll's.
7488 +LT_OPTION_DEFINE([LT_INIT], [win32-dll],
7489 +[enable_win32_dll=yes
7490 +
7491 +case $host in
7492 +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
7493 + AC_CHECK_TOOL(AS, as, false)
7494 + AC_CHECK_TOOL(DLLTOOL, dlltool, false)
7495 + AC_CHECK_TOOL(OBJDUMP, objdump, false)
7496 + ;;
7497 +esac
7498 +
7499 +test -z "$AS" && AS=as
7500 +_LT_DECL([], [AS], [0], [Assembler program])dnl
7501 +
7502 +test -z "$DLLTOOL" && DLLTOOL=dlltool
7503 +_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
7504 +
7505 +test -z "$OBJDUMP" && OBJDUMP=objdump
7506 +_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
7507 +])# win32-dll
7508 +
7509 +AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
7510 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
7511 +_LT_SET_OPTION([LT_INIT], [win32-dll])
7512 +AC_DIAGNOSE([obsolete],
7513 +[$0: Remove this warning and the call to _LT_SET_OPTION when you
7514 +put the `win32-dll' option into LT_INIT's first parameter.])
7515 +])
7516 +
7517 +dnl aclocal-1.4 backwards compatibility:
7518 +dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
7519 +
7520 +
7521 +# _LT_ENABLE_SHARED([DEFAULT])
7522 +# ----------------------------
7523 +# implement the --enable-shared flag, and supports the `shared' and
7524 +# `disable-shared' LT_INIT options.
7525 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
7526 +m4_define([_LT_ENABLE_SHARED],
7527 +[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
7528 +AC_ARG_ENABLE([shared],
7529 + [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
7530 + [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
7531 + [p=${PACKAGE-default}
7532 + case $enableval in
7533 + yes) enable_shared=yes ;;
7534 + no) enable_shared=no ;;
7535 + *)
7536 + enable_shared=no
7537 + # Look at the argument we got. We use all the common list separators.
7538 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7539 + for pkg in $enableval; do
7540 + IFS="$lt_save_ifs"
7541 + if test "X$pkg" = "X$p"; then
7542 + enable_shared=yes
7543 + fi
7544 + done
7545 + IFS="$lt_save_ifs"
7546 + ;;
7547 + esac],
7548 + [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
7549 +
7550 + _LT_DECL([build_libtool_libs], [enable_shared], [0],
7551 + [Whether or not to build shared libraries])
7552 +])# _LT_ENABLE_SHARED
7553 +
7554 +LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
7555 +LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
7556 +
7557 +# Old names:
7558 +AC_DEFUN([AC_ENABLE_SHARED],
7559 +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
7560 +])
7561 +
7562 +AC_DEFUN([AC_DISABLE_SHARED],
7563 +[_LT_SET_OPTION([LT_INIT], [disable-shared])
7564 +])
7565 +
7566 +AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
7567 +AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
7568 +
7569 +dnl aclocal-1.4 backwards compatibility:
7570 +dnl AC_DEFUN([AM_ENABLE_SHARED], [])
7571 +dnl AC_DEFUN([AM_DISABLE_SHARED], [])
7572 +
7573 +
7574 +
7575 +# _LT_ENABLE_STATIC([DEFAULT])
7576 +# ----------------------------
7577 +# implement the --enable-static flag, and support the `static' and
7578 +# `disable-static' LT_INIT options.
7579 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
7580 +m4_define([_LT_ENABLE_STATIC],
7581 +[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
7582 +AC_ARG_ENABLE([static],
7583 + [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
7584 + [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
7585 + [p=${PACKAGE-default}
7586 + case $enableval in
7587 + yes) enable_static=yes ;;
7588 + no) enable_static=no ;;
7589 + *)
7590 + enable_static=no
7591 + # Look at the argument we got. We use all the common list separators.
7592 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7593 + for pkg in $enableval; do
7594 + IFS="$lt_save_ifs"
7595 + if test "X$pkg" = "X$p"; then
7596 + enable_static=yes
7597 + fi
7598 + done
7599 + IFS="$lt_save_ifs"
7600 + ;;
7601 + esac],
7602 + [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
7603 +
7604 + _LT_DECL([build_old_libs], [enable_static], [0],
7605 + [Whether or not to build static libraries])
7606 +])# _LT_ENABLE_STATIC
7607 +
7608 +LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
7609 +LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
7610 +
7611 +# Old names:
7612 +AC_DEFUN([AC_ENABLE_STATIC],
7613 +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
7614 +])
7615 +
7616 +AC_DEFUN([AC_DISABLE_STATIC],
7617 +[_LT_SET_OPTION([LT_INIT], [disable-static])
7618 +])
7619 +
7620 +AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
7621 +AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
7622 +
7623 +dnl aclocal-1.4 backwards compatibility:
7624 +dnl AC_DEFUN([AM_ENABLE_STATIC], [])
7625 +dnl AC_DEFUN([AM_DISABLE_STATIC], [])
7626 +
7627 +
7628 +
7629 +# _LT_ENABLE_FAST_INSTALL([DEFAULT])
7630 +# ----------------------------------
7631 +# implement the --enable-fast-install flag, and support the `fast-install'
7632 +# and `disable-fast-install' LT_INIT options.
7633 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
7634 +m4_define([_LT_ENABLE_FAST_INSTALL],
7635 +[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
7636 +AC_ARG_ENABLE([fast-install],
7637 + [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
7638 + [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
7639 + [p=${PACKAGE-default}
7640 + case $enableval in
7641 + yes) enable_fast_install=yes ;;
7642 + no) enable_fast_install=no ;;
7643 + *)
7644 + enable_fast_install=no
7645 + # Look at the argument we got. We use all the common list separators.
7646 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7647 + for pkg in $enableval; do
7648 + IFS="$lt_save_ifs"
7649 + if test "X$pkg" = "X$p"; then
7650 + enable_fast_install=yes
7651 + fi
7652 + done
7653 + IFS="$lt_save_ifs"
7654 + ;;
7655 + esac],
7656 + [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
7657 +
7658 +_LT_DECL([fast_install], [enable_fast_install], [0],
7659 + [Whether or not to optimize for fast installation])dnl
7660 +])# _LT_ENABLE_FAST_INSTALL
7661 +
7662 +LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
7663 +LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
7664 +
7665 +# Old names:
7666 +AU_DEFUN([AC_ENABLE_FAST_INSTALL],
7667 +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
7668 +AC_DIAGNOSE([obsolete],
7669 +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
7670 +the `fast-install' option into LT_INIT's first parameter.])
7671 +])
7672 +
7673 +AU_DEFUN([AC_DISABLE_FAST_INSTALL],
7674 +[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
7675 +AC_DIAGNOSE([obsolete],
7676 +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
7677 +the `disable-fast-install' option into LT_INIT's first parameter.])
7678 +])
7679 +
7680 +dnl aclocal-1.4 backwards compatibility:
7681 +dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
7682 +dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
7683 +
7684 +
7685 +# _LT_WITH_PIC([MODE])
7686 +# --------------------
7687 +# implement the --with-pic flag, and support the `pic-only' and `no-pic'
7688 +# LT_INIT options.
7689 +# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
7690 +m4_define([_LT_WITH_PIC],
7691 +[AC_ARG_WITH([pic],
7692 + [AS_HELP_STRING([--with-pic],
7693 + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
7694 + [pic_mode="$withval"],
7695 + [pic_mode=default])
7696 +
7697 +test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
7698 +
7699 +_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
7700 +])# _LT_WITH_PIC
7701 +
7702 +LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
7703 +LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
7704 +
7705 +# Old name:
7706 +AU_DEFUN([AC_LIBTOOL_PICMODE],
7707 +[_LT_SET_OPTION([LT_INIT], [pic-only])
7708 +AC_DIAGNOSE([obsolete],
7709 +[$0: Remove this warning and the call to _LT_SET_OPTION when you
7710 +put the `pic-only' option into LT_INIT's first parameter.])
7711 +])
7712 +
7713 +dnl aclocal-1.4 backwards compatibility:
7714 +dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
7715 +
7716 +
7717 +m4_define([_LTDL_MODE], [])
7718 +LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
7719 + [m4_define([_LTDL_MODE], [nonrecursive])])
7720 +LT_OPTION_DEFINE([LTDL_INIT], [recursive],
7721 + [m4_define([_LTDL_MODE], [recursive])])
7722 +LT_OPTION_DEFINE([LTDL_INIT], [subproject],
7723 + [m4_define([_LTDL_MODE], [subproject])])
7724 +
7725 +m4_define([_LTDL_TYPE], [])
7726 +LT_OPTION_DEFINE([LTDL_INIT], [installable],
7727 + [m4_define([_LTDL_TYPE], [installable])])
7728 +LT_OPTION_DEFINE([LTDL_INIT], [convenience],
7729 + [m4_define([_LTDL_TYPE], [convenience])])
7730 +
7731 +# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
7732 +#
7733 +# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
7734 +# Written by Gary V. Vaughan, 2004
7735 +#
7736 +# This file is free software; the Free Software Foundation gives
7737 +# unlimited permission to copy and/or distribute it, with or without
7738 +# modifications, as long as this notice is preserved.
7739 +
7740 +# serial 6 ltsugar.m4
7741 +
7742 +# This is to help aclocal find these macros, as it can't see m4_define.
7743 +AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
7744 +
7745 +
7746 +# lt_join(SEP, ARG1, [ARG2...])
7747 +# -----------------------------
7748 +# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
7749 +# associated separator.
7750 +# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
7751 +# versions in m4sugar had bugs.
7752 +m4_define([lt_join],
7753 +[m4_if([$#], [1], [],
7754 + [$#], [2], [[$2]],
7755 + [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
7756 +m4_define([_lt_join],
7757 +[m4_if([$#$2], [2], [],
7758 + [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
7759 +
7760 +
7761 +# lt_car(LIST)
7762 +# lt_cdr(LIST)
7763 +# ------------
7764 +# Manipulate m4 lists.
7765 +# These macros are necessary as long as will still need to support
7766 +# Autoconf-2.59 which quotes differently.
7767 +m4_define([lt_car], [[$1]])
7768 +m4_define([lt_cdr],
7769 +[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
7770 + [$#], 1, [],
7771 + [m4_dquote(m4_shift($@))])])
7772 +m4_define([lt_unquote], $1)
7773 +
7774 +
7775 +# lt_append(MACRO-NAME, STRING, [SEPARATOR])
7776 +# ------------------------------------------
7777 +# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
7778 +# Note that neither SEPARATOR nor STRING are expanded; they are appended
7779 +# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
7780 +# No SEPARATOR is output if MACRO-NAME was previously undefined (different
7781 +# than defined and empty).
7782 +#
7783 +# This macro is needed until we can rely on Autoconf 2.62, since earlier
7784 +# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
7785 +m4_define([lt_append],
7786 +[m4_define([$1],
7787 + m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
7788 +
7789 +
7790 +
7791 +# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
7792 +# ----------------------------------------------------------
7793 +# Produce a SEP delimited list of all paired combinations of elements of
7794 +# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
7795 +# has the form PREFIXmINFIXSUFFIXn.
7796 +# Needed until we can rely on m4_combine added in Autoconf 2.62.
7797 +m4_define([lt_combine],
7798 +[m4_if(m4_eval([$# > 3]), [1],
7799 + [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
7800 +[[m4_foreach([_Lt_prefix], [$2],
7801 + [m4_foreach([_Lt_suffix],
7802 + ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
7803 + [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
7804 +
7805 +
7806 +# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
7807 +# -----------------------------------------------------------------------
7808 +# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
7809 +# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
7810 +m4_define([lt_if_append_uniq],
7811 +[m4_ifdef([$1],
7812 + [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
7813 + [lt_append([$1], [$2], [$3])$4],
7814 + [$5])],
7815 + [lt_append([$1], [$2], [$3])$4])])
7816 +
7817 +
7818 +# lt_dict_add(DICT, KEY, VALUE)
7819 +# -----------------------------
7820 +m4_define([lt_dict_add],
7821 +[m4_define([$1($2)], [$3])])
7822 +
7823 +
7824 +# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
7825 +# --------------------------------------------
7826 +m4_define([lt_dict_add_subkey],
7827 +[m4_define([$1($2:$3)], [$4])])
7828 +
7829 +
7830 +# lt_dict_fetch(DICT, KEY, [SUBKEY])
7831 +# ----------------------------------
7832 +m4_define([lt_dict_fetch],
7833 +[m4_ifval([$3],
7834 + m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
7835 + m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
7836 +
7837 +
7838 +# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
7839 +# -----------------------------------------------------------------
7840 +m4_define([lt_if_dict_fetch],
7841 +[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
7842 + [$5],
7843 + [$6])])
7844 +
7845 +
7846 +# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
7847 +# --------------------------------------------------------------
7848 +m4_define([lt_dict_filter],
7849 +[m4_if([$5], [], [],
7850 + [lt_join(m4_quote(m4_default([$4], [[, ]])),
7851 + lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
7852 + [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
7853 +])
7854 +
7855 +# ltversion.m4 -- version numbers -*- Autoconf -*-
7856 +#
7857 +# Copyright (C) 2004 Free Software Foundation, Inc.
7858 +# Written by Scott James Remnant, 2004
7859 +#
7860 +# This file is free software; the Free Software Foundation gives
7861 +# unlimited permission to copy and/or distribute it, with or without
7862 +# modifications, as long as this notice is preserved.
7863 +
7864 +# Generated from ltversion.in.
7865 +
7866 +# serial 3012 ltversion.m4
7867 +# This file is part of GNU Libtool
7868 +
7869 +m4_define([LT_PACKAGE_VERSION], [2.2.6])
7870 +m4_define([LT_PACKAGE_REVISION], [1.3012])
7871 +
7872 +AC_DEFUN([LTVERSION_VERSION],
7873 +[macro_version='2.2.6'
7874 +macro_revision='1.3012'
7875 +_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
7876 +_LT_DECL(, macro_revision, 0)
7877 +])
7878 +
7879 +# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
7880 +#
7881 +# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
7882 +# Written by Scott James Remnant, 2004.
7883 +#
7884 +# This file is free software; the Free Software Foundation gives
7885 +# unlimited permission to copy and/or distribute it, with or without
7886 +# modifications, as long as this notice is preserved.
7887 +
7888 +# serial 4 lt~obsolete.m4
7889 +
7890 +# These exist entirely to fool aclocal when bootstrapping libtool.
7891 +#
7892 +# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
7893 +# which have later been changed to m4_define as they aren't part of the
7894 +# exported API, or moved to Autoconf or Automake where they belong.
7895 +#
7896 +# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
7897 +# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
7898 +# using a macro with the same name in our local m4/libtool.m4 it'll
7899 +# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
7900 +# and doesn't know about Autoconf macros at all.)
7901 +#
7902 +# So we provide this file, which has a silly filename so it's always
7903 +# included after everything else. This provides aclocal with the
7904 +# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
7905 +# because those macros already exist, or will be overwritten later.
7906 +# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
7907 +#
7908 +# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
7909 +# Yes, that means every name once taken will need to remain here until
7910 +# we give up compatibility with versions before 1.7, at which point
7911 +# we need to keep only those names which we still refer to.
7912 +
7913 +# This is to help aclocal find these macros, as it can't see m4_define.
7914 +AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
7915 +
7916 +m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
7917 +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
7918 +m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
7919 +m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
7920 +m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
7921 +m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
7922 +m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
7923 +m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
7924 +m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
7925 +m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
7926 +m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
7927 +m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
7928 +m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
7929 +m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
7930 +m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
7931 +m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
7932 +m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
7933 +m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
7934 +m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
7935 +m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
7936 +m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
7937 +m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
7938 +m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
7939 +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
7940 +m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
7941 +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
7942 +m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
7943 +m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
7944 +m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
7945 +m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
7946 +m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
7947 +m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
7948 +m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
7949 +m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
7950 +m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
7951 +m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
7952 +m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
7953 +m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
7954 +m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
7955 +m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
7956 +m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
7957 +m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
7958 +m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])])
7959 +m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
7960 +m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
7961 +m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
7962 +m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
7963 +m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
7964 +m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
7965 +m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
7966 +m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
7967 +m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
7968 +m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
7969 +m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
7970 +m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
7971 +
7972 +# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7973 +#
7974 +# This file is free software; the Free Software Foundation
7975 +# gives unlimited permission to copy and/or distribute it,
7976 +# with or without modifications, as long as this notice is preserved.
7977 +
7978 +# AM_AUTOMAKE_VERSION(VERSION)
7979 +# ----------------------------
7980 +# Automake X.Y traces this macro to ensure aclocal.m4 has been
7981 +# generated from the m4 files accompanying Automake X.Y.
7982 +# (This private macro should not be called outside this file.)
7983 +AC_DEFUN([AM_AUTOMAKE_VERSION],
7984 +[am__api_version='1.10'
7985 +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
7986 +dnl require some minimum version. Point them to the right macro.
7987 +m4_if([$1], [1.10.2], [],
7988 + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
7989 +])
7990 +
7991 +# _AM_AUTOCONF_VERSION(VERSION)
7992 +# -----------------------------
7993 +# aclocal traces this macro to find the Autoconf version.
7994 +# This is a private macro too. Using m4_define simplifies
7995 +# the logic in aclocal, which can simply ignore this definition.
7996 +m4_define([_AM_AUTOCONF_VERSION], [])
7997 +
7998 +# AM_SET_CURRENT_AUTOMAKE_VERSION
7999 +# -------------------------------
8000 +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
8001 +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
8002 +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
8003 +[AM_AUTOMAKE_VERSION([1.10.2])dnl
8004 +m4_ifndef([AC_AUTOCONF_VERSION],
8005 + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
8006 +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
8007 +
8008 +# AM_AUX_DIR_EXPAND -*- Autoconf -*-
8009 +
8010 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
8011 +#
8012 +# This file is free software; the Free Software Foundation
8013 +# gives unlimited permission to copy and/or distribute it,
8014 +# with or without modifications, as long as this notice is preserved.
8015 +
8016 +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
8017 +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
8018 +# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
8019 +#
8020 +# Of course, Automake must honor this variable whenever it calls a
8021 +# tool from the auxiliary directory. The problem is that $srcdir (and
8022 +# therefore $ac_aux_dir as well) can be either absolute or relative,
8023 +# depending on how configure is run. This is pretty annoying, since
8024 +# it makes $ac_aux_dir quite unusable in subdirectories: in the top
8025 +# source directory, any form will work fine, but in subdirectories a
8026 +# relative path needs to be adjusted first.
8027 +#
8028 +# $ac_aux_dir/missing
8029 +# fails when called from a subdirectory if $ac_aux_dir is relative
8030 +# $top_srcdir/$ac_aux_dir/missing
8031 +# fails if $ac_aux_dir is absolute,
8032 +# fails when called from a subdirectory in a VPATH build with
8033 +# a relative $ac_aux_dir
8034 +#
8035 +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
8036 +# are both prefixed by $srcdir. In an in-source build this is usually
8037 +# harmless because $srcdir is `.', but things will broke when you
8038 +# start a VPATH build or use an absolute $srcdir.
8039 +#
8040 +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
8041 +# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
8042 +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
8043 +# and then we would define $MISSING as
8044 +# MISSING="\${SHELL} $am_aux_dir/missing"
8045 +# This will work as long as MISSING is not called from configure, because
8046 +# unfortunately $(top_srcdir) has no meaning in configure.
8047 +# However there are other variables, like CC, which are often used in
8048 +# configure, and could therefore not use this "fixed" $ac_aux_dir.
8049 +#
8050 +# Another solution, used here, is to always expand $ac_aux_dir to an
8051 +# absolute PATH. The drawback is that using absolute paths prevent a
8052 +# configured tree to be moved without reconfiguration.
8053 +
8054 +AC_DEFUN([AM_AUX_DIR_EXPAND],
8055 +[dnl Rely on autoconf to set up CDPATH properly.
8056 +AC_PREREQ([2.50])dnl
8057 +# expand $ac_aux_dir to an absolute path
8058 +am_aux_dir=`cd $ac_aux_dir && pwd`
8059 +])
8060 +
8061 +# AM_CONDITIONAL -*- Autoconf -*-
8062 +
8063 +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
8064 +# Free Software Foundation, Inc.
8065 +#
8066 +# This file is free software; the Free Software Foundation
8067 +# gives unlimited permission to copy and/or distribute it,
8068 +# with or without modifications, as long as this notice is preserved.
8069 +
8070 +# serial 8
8071 +
8072 +# AM_CONDITIONAL(NAME, SHELL-CONDITION)
8073 +# -------------------------------------
8074 +# Define a conditional.
8075 +AC_DEFUN([AM_CONDITIONAL],
8076 +[AC_PREREQ(2.52)dnl
8077 + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
8078 + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
8079 +AC_SUBST([$1_TRUE])dnl
8080 +AC_SUBST([$1_FALSE])dnl
8081 +_AM_SUBST_NOTMAKE([$1_TRUE])dnl
8082 +_AM_SUBST_NOTMAKE([$1_FALSE])dnl
8083 +if $2; then
8084 + $1_TRUE=
8085 + $1_FALSE='#'
8086 +else
8087 + $1_TRUE='#'
8088 + $1_FALSE=
8089 +fi
8090 +AC_CONFIG_COMMANDS_PRE(
8091 +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
8092 + AC_MSG_ERROR([[conditional "$1" was never defined.
8093 +Usually this means the macro was only invoked conditionally.]])
8094 +fi])])
8095 +
8096 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
8097 +# Free Software Foundation, Inc.
8098 +#
8099 +# This file is free software; the Free Software Foundation
8100 +# gives unlimited permission to copy and/or distribute it,
8101 +# with or without modifications, as long as this notice is preserved.
8102 +
8103 +# serial 9
8104 +
8105 +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
8106 +# written in clear, in which case automake, when reading aclocal.m4,
8107 +# will think it sees a *use*, and therefore will trigger all it's
8108 +# C support machinery. Also note that it means that autoscan, seeing
8109 +# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
8110 +
8111 +
8112 +# _AM_DEPENDENCIES(NAME)
8113 +# ----------------------
8114 +# See how the compiler implements dependency checking.
8115 +# NAME is "CC", "CXX", "GCJ", or "OBJC".
8116 +# We try a few techniques and use that to set a single cache variable.
8117 +#
8118 +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
8119 +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
8120 +# dependency, and given that the user is not expected to run this macro,
8121 +# just rely on AC_PROG_CC.
8122 +AC_DEFUN([_AM_DEPENDENCIES],
8123 +[AC_REQUIRE([AM_SET_DEPDIR])dnl
8124 +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
8125 +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
8126 +AC_REQUIRE([AM_DEP_TRACK])dnl
8127 +
8128 +ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
8129 + [$1], CXX, [depcc="$CXX" am_compiler_list=],
8130 + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
8131 + [$1], UPC, [depcc="$UPC" am_compiler_list=],
8132 + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
8133 + [depcc="$$1" am_compiler_list=])
8134 +
8135 +AC_CACHE_CHECK([dependency style of $depcc],
8136 + [am_cv_$1_dependencies_compiler_type],
8137 +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8138 + # We make a subdir and do the tests there. Otherwise we can end up
8139 + # making bogus files that we don't know about and never remove. For
8140 + # instance it was reported that on HP-UX the gcc test will end up
8141 + # making a dummy file named `D' -- because `-MD' means `put the output
8142 + # in D'.
8143 + mkdir conftest.dir
8144 + # Copy depcomp to subdir because otherwise we won't find it if we're
8145 + # using a relative directory.
8146 + cp "$am_depcomp" conftest.dir
8147 + cd conftest.dir
8148 + # We will build objects and dependencies in a subdirectory because
8149 + # it helps to detect inapplicable dependency modes. For instance
8150 + # both Tru64's cc and ICC support -MD to output dependencies as a
8151 + # side effect of compilation, but ICC will put the dependencies in
8152 + # the current directory while Tru64 will put them in the object
8153 + # directory.
8154 + mkdir sub
8155 +
8156 + am_cv_$1_dependencies_compiler_type=none
8157 + if test "$am_compiler_list" = ""; then
8158 + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
8159 + fi
8160 + for depmode in $am_compiler_list; do
8161 + # Setup a source with many dependencies, because some compilers
8162 + # like to wrap large dependency lists on column 80 (with \), and
8163 + # we should not choose a depcomp mode which is confused by this.
8164 + #
8165 + # We need to recreate these files for each test, as the compiler may
8166 + # overwrite some of them when testing with obscure command lines.
8167 + # This happens at least with the AIX C compiler.
8168 + : > sub/conftest.c
8169 + for i in 1 2 3 4 5 6; do
8170 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
8171 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
8172 + # Solaris 8's {/usr,}/bin/sh.
8173 + touch sub/conftst$i.h
8174 + done
8175 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8176 +
8177 + case $depmode in
8178 + nosideeffect)
8179 + # after this tag, mechanisms are not by side-effect, so they'll
8180 + # only be used when explicitly requested
8181 + if test "x$enable_dependency_tracking" = xyes; then
8182 + continue
8183 + else
8184 + break
8185 + fi
8186 + ;;
8187 + none) break ;;
8188 + esac
8189 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
8190 + # mode. It turns out that the SunPro C++ compiler does not properly
8191 + # handle `-M -o', and we need to detect this.
8192 + if depmode=$depmode \
8193 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
8194 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8195 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
8196 + >/dev/null 2>conftest.err &&
8197 + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8198 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8199 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
8200 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8201 + # icc doesn't choke on unknown options, it will just issue warnings
8202 + # or remarks (even with -Werror). So we grep stderr for any message
8203 + # that says an option was ignored or not supported.
8204 + # When given -MP, icc 7.0 and 7.1 complain thusly:
8205 + # icc: Command line warning: ignoring option '-M'; no argument required
8206 + # The diagnosis changed in icc 8.0:
8207 + # icc: Command line remark: option '-MP' not supported
8208 + if (grep 'ignoring option' conftest.err ||
8209 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8210 + am_cv_$1_dependencies_compiler_type=$depmode
8211 + break
8212 + fi
8213 + fi
8214 + done
8215 +
8216 + cd ..
8217 + rm -rf conftest.dir
8218 +else
8219 + am_cv_$1_dependencies_compiler_type=none
8220 +fi
8221 +])
8222 +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
8223 +AM_CONDITIONAL([am__fastdep$1], [
8224 + test "x$enable_dependency_tracking" != xno \
8225 + && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
8226 +])
8227 +
8228 +
8229 +# AM_SET_DEPDIR
8230 +# -------------
8231 +# Choose a directory name for dependency files.
8232 +# This macro is AC_REQUIREd in _AM_DEPENDENCIES
8233 +AC_DEFUN([AM_SET_DEPDIR],
8234 +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
8235 +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
8236 +])
8237 +
8238 +
8239 +# AM_DEP_TRACK
8240 +# ------------
8241 +AC_DEFUN([AM_DEP_TRACK],
8242 +[AC_ARG_ENABLE(dependency-tracking,
8243 +[ --disable-dependency-tracking speeds up one-time build
8244 + --enable-dependency-tracking do not reject slow dependency extractors])
8245 +if test "x$enable_dependency_tracking" != xno; then
8246 + am_depcomp="$ac_aux_dir/depcomp"
8247 + AMDEPBACKSLASH='\'
8248 +fi
8249 +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
8250 +AC_SUBST([AMDEPBACKSLASH])dnl
8251 +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
8252 +])
8253 +
8254 +# Generate code to set up dependency tracking. -*- Autoconf -*-
8255 +
8256 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
8257 +# Free Software Foundation, Inc.
8258 +#
8259 +# This file is free software; the Free Software Foundation
8260 +# gives unlimited permission to copy and/or distribute it,
8261 +# with or without modifications, as long as this notice is preserved.
8262 +
8263 +#serial 4
8264 +
8265 +# _AM_OUTPUT_DEPENDENCY_COMMANDS
8266 +# ------------------------------
8267 +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
8268 +[# Autoconf 2.62 quotes --file arguments for eval, but not when files
8269 +# are listed without --file. Let's play safe and only enable the eval
8270 +# if we detect the quoting.
8271 +case $CONFIG_FILES in
8272 +*\'*) eval set x "$CONFIG_FILES" ;;
8273 +*) set x $CONFIG_FILES ;;
8274 +esac
8275 +shift
8276 +for mf
8277 +do
8278 + # Strip MF so we end up with the name of the file.
8279 + mf=`echo "$mf" | sed -e 's/:.*$//'`
8280 + # Check whether this is an Automake generated Makefile or not.
8281 + # We used to match only the files named `Makefile.in', but
8282 + # some people rename them; so instead we look at the file content.
8283 + # Grep'ing the first line is not enough: some people post-process
8284 + # each Makefile.in and add a new line on top of each file to say so.
8285 + # Grep'ing the whole file is not good either: AIX grep has a line
8286 + # limit of 2048, but all sed's we know have understand at least 4000.
8287 + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8288 + dirpart=`AS_DIRNAME("$mf")`
8289 + else
8290 + continue
8291 + fi
8292 + # Extract the definition of DEPDIR, am__include, and am__quote
8293 + # from the Makefile without running `make'.
8294 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8295 + test -z "$DEPDIR" && continue
8296 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
8297 + test -z "am__include" && continue
8298 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8299 + # When using ansi2knr, U may be empty or an underscore; expand it
8300 + U=`sed -n 's/^U = //p' < "$mf"`
8301 + # Find all dependency output files, they are included files with
8302 + # $(DEPDIR) in their names. We invoke sed twice because it is the
8303 + # simplest approach to changing $(DEPDIR) to its actual value in the
8304 + # expansion.
8305 + for file in `sed -n "
8306 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8307 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8308 + # Make sure the directory exists.
8309 + test -f "$dirpart/$file" && continue
8310 + fdir=`AS_DIRNAME(["$file"])`
8311 + AS_MKDIR_P([$dirpart/$fdir])
8312 + # echo "creating $dirpart/$file"
8313 + echo '# dummy' > "$dirpart/$file"
8314 + done
8315 +done
8316 +])# _AM_OUTPUT_DEPENDENCY_COMMANDS
8317 +
8318 +
8319 +# AM_OUTPUT_DEPENDENCY_COMMANDS
8320 +# -----------------------------
8321 +# This macro should only be invoked once -- use via AC_REQUIRE.
8322 +#
8323 +# This code is only required when automatic dependency tracking
8324 +# is enabled. FIXME. This creates each `.P' file that we will
8325 +# need in order to bootstrap the dependency handling code.
8326 +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
8327 +[AC_CONFIG_COMMANDS([depfiles],
8328 + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
8329 + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
8330 +])
8331 +
8332 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
8333 +# Free Software Foundation, Inc.
8334 +#
8335 +# This file is free software; the Free Software Foundation
8336 +# gives unlimited permission to copy and/or distribute it,
8337 +# with or without modifications, as long as this notice is preserved.
8338 +
8339 +# serial 8
8340 +
8341 +# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
8342 +AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
8343 +
8344 +# Do all the work for Automake. -*- Autoconf -*-
8345 +
8346 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
8347 +# 2005, 2006, 2008 Free Software Foundation, Inc.
8348 +#
8349 +# This file is free software; the Free Software Foundation
8350 +# gives unlimited permission to copy and/or distribute it,
8351 +# with or without modifications, as long as this notice is preserved.
8352 +
8353 +# serial 13
8354 +
8355 +# This macro actually does too much. Some checks are only needed if
8356 +# your package does certain things. But this isn't really a big deal.
8357 +
8358 +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
8359 +# AM_INIT_AUTOMAKE([OPTIONS])
8360 +# -----------------------------------------------
8361 +# The call with PACKAGE and VERSION arguments is the old style
8362 +# call (pre autoconf-2.50), which is being phased out. PACKAGE
8363 +# and VERSION should now be passed to AC_INIT and removed from
8364 +# the call to AM_INIT_AUTOMAKE.
8365 +# We support both call styles for the transition. After
8366 +# the next Automake release, Autoconf can make the AC_INIT
8367 +# arguments mandatory, and then we can depend on a new Autoconf
8368 +# release and drop the old call support.
8369 +AC_DEFUN([AM_INIT_AUTOMAKE],
8370 +[AC_PREREQ([2.60])dnl
8371 +dnl Autoconf wants to disallow AM_ names. We explicitly allow
8372 +dnl the ones we care about.
8373 +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
8374 +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
8375 +AC_REQUIRE([AC_PROG_INSTALL])dnl
8376 +if test "`cd $srcdir && pwd`" != "`pwd`"; then
8377 + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
8378 + # is not polluted with repeated "-I."
8379 + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
8380 + # test to see if srcdir already configured
8381 + if test -f $srcdir/config.status; then
8382 + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
8383 + fi
8384 +fi
8385 +
8386 +# test whether we have cygpath
8387 +if test -z "$CYGPATH_W"; then
8388 + if (cygpath --version) >/dev/null 2>/dev/null; then
8389 + CYGPATH_W='cygpath -w'
8390 + else
8391 + CYGPATH_W=echo
8392 + fi
8393 +fi
8394 +AC_SUBST([CYGPATH_W])
8395 +
8396 +# Define the identity of the package.
8397 +dnl Distinguish between old-style and new-style calls.
8398 +m4_ifval([$2],
8399 +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
8400 + AC_SUBST([PACKAGE], [$1])dnl
8401 + AC_SUBST([VERSION], [$2])],
8402 +[_AM_SET_OPTIONS([$1])dnl
8403 +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
8404 +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
8405 + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
8406 + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
8407 + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
8408 +
8409 +_AM_IF_OPTION([no-define],,
8410 +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
8411 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
8412 +
8413 +# Some tools Automake needs.
8414 +AC_REQUIRE([AM_SANITY_CHECK])dnl
8415 +AC_REQUIRE([AC_ARG_PROGRAM])dnl
8416 +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
8417 +AM_MISSING_PROG(AUTOCONF, autoconf)
8418 +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
8419 +AM_MISSING_PROG(AUTOHEADER, autoheader)
8420 +AM_MISSING_PROG(MAKEINFO, makeinfo)
8421 +AM_PROG_INSTALL_SH
8422 +AM_PROG_INSTALL_STRIP
8423 +AC_REQUIRE([AM_PROG_MKDIR_P])dnl
8424 +# We need awk for the "check" target. The system "awk" is bad on
8425 +# some platforms.
8426 +AC_REQUIRE([AC_PROG_AWK])dnl
8427 +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
8428 +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
8429 +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
8430 + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
8431 + [_AM_PROG_TAR([v7])])])
8432 +_AM_IF_OPTION([no-dependencies],,
8433 +[AC_PROVIDE_IFELSE([AC_PROG_CC],
8434 + [_AM_DEPENDENCIES(CC)],
8435 + [define([AC_PROG_CC],
8436 + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
8437 +AC_PROVIDE_IFELSE([AC_PROG_CXX],
8438 + [_AM_DEPENDENCIES(CXX)],
8439 + [define([AC_PROG_CXX],
8440 + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
8441 +AC_PROVIDE_IFELSE([AC_PROG_OBJC],
8442 + [_AM_DEPENDENCIES(OBJC)],
8443 + [define([AC_PROG_OBJC],
8444 + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
8445 +])
8446 +])
8447 +
8448 +
8449 +# When config.status generates a header, we must update the stamp-h file.
8450 +# This file resides in the same directory as the config header
8451 +# that is generated. The stamp files are numbered to have different names.
8452 +
8453 +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
8454 +# loop where config.status creates the headers, so we can generate
8455 +# our stamp files there.
8456 +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
8457 +[# Compute $1's index in $config_headers.
8458 +_am_arg=$1
8459 +_am_stamp_count=1
8460 +for _am_header in $config_headers :; do
8461 + case $_am_header in
8462 + $_am_arg | $_am_arg:* )
8463 + break ;;
8464 + * )
8465 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8466 + esac
8467 +done
8468 +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
8469 +
8470 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
8471 +#
8472 +# This file is free software; the Free Software Foundation
8473 +# gives unlimited permission to copy and/or distribute it,
8474 +# with or without modifications, as long as this notice is preserved.
8475 +
8476 +# AM_PROG_INSTALL_SH
8477 +# ------------------
8478 +# Define $install_sh.
8479 +AC_DEFUN([AM_PROG_INSTALL_SH],
8480 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
8481 +install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
8482 +AC_SUBST(install_sh)])
8483 +
8484 +# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
8485 +#
8486 +# This file is free software; the Free Software Foundation
8487 +# gives unlimited permission to copy and/or distribute it,
8488 +# with or without modifications, as long as this notice is preserved.
8489 +
8490 +# serial 2
8491 +
8492 +# Check whether the underlying file-system supports filenames
8493 +# with a leading dot. For instance MS-DOS doesn't.
8494 +AC_DEFUN([AM_SET_LEADING_DOT],
8495 +[rm -rf .tst 2>/dev/null
8496 +mkdir .tst 2>/dev/null
8497 +if test -d .tst; then
8498 + am__leading_dot=.
8499 +else
8500 + am__leading_dot=_
8501 +fi
8502 +rmdir .tst 2>/dev/null
8503 +AC_SUBST([am__leading_dot])])
8504 +
8505 +# Check to see how 'make' treats includes. -*- Autoconf -*-
8506 +
8507 +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
8508 +#
8509 +# This file is free software; the Free Software Foundation
8510 +# gives unlimited permission to copy and/or distribute it,
8511 +# with or without modifications, as long as this notice is preserved.
8512 +
8513 +# serial 3
8514 +
8515 +# AM_MAKE_INCLUDE()
8516 +# -----------------
8517 +# Check to see how make treats includes.
8518 +AC_DEFUN([AM_MAKE_INCLUDE],
8519 +[am_make=${MAKE-make}
8520 +cat > confinc << 'END'
8521 +am__doit:
8522 + @echo done
8523 +.PHONY: am__doit
8524 +END
8525 +# If we don't find an include directive, just comment out the code.
8526 +AC_MSG_CHECKING([for style of include used by $am_make])
8527 +am__include="#"
8528 +am__quote=
8529 +_am_result=none
8530 +# First try GNU make style include.
8531 +echo "include confinc" > confmf
8532 +# We grep out `Entering directory' and `Leaving directory'
8533 +# messages which can occur if `w' ends up in MAKEFLAGS.
8534 +# In particular we don't look at `^make:' because GNU make might
8535 +# be invoked under some other name (usually "gmake"), in which
8536 +# case it prints its new name instead of `make'.
8537 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
8538 + am__include=include
8539 + am__quote=
8540 + _am_result=GNU
8541 +fi
8542 +# Now try BSD make style include.
8543 +if test "$am__include" = "#"; then
8544 + echo '.include "confinc"' > confmf
8545 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
8546 + am__include=.include
8547 + am__quote="\""
8548 + _am_result=BSD
8549 + fi
8550 +fi
8551 +AC_SUBST([am__include])
8552 +AC_SUBST([am__quote])
8553 +AC_MSG_RESULT([$_am_result])
8554 +rm -f confinc confmf
8555 +])
8556 +
8557 +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
8558 +
8559 +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
8560 +# Free Software Foundation, Inc.
8561 +#
8562 +# This file is free software; the Free Software Foundation
8563 +# gives unlimited permission to copy and/or distribute it,
8564 +# with or without modifications, as long as this notice is preserved.
8565 +
8566 +# serial 5
8567 +
8568 +# AM_MISSING_PROG(NAME, PROGRAM)
8569 +# ------------------------------
8570 +AC_DEFUN([AM_MISSING_PROG],
8571 +[AC_REQUIRE([AM_MISSING_HAS_RUN])
8572 +$1=${$1-"${am_missing_run}$2"}
8573 +AC_SUBST($1)])
8574 +
8575 +
8576 +# AM_MISSING_HAS_RUN
8577 +# ------------------
8578 +# Define MISSING if not defined so far and test if it supports --run.
8579 +# If it does, set am_missing_run to use it, otherwise, to nothing.
8580 +AC_DEFUN([AM_MISSING_HAS_RUN],
8581 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
8582 +AC_REQUIRE_AUX_FILE([missing])dnl
8583 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
8584 +# Use eval to expand $SHELL
8585 +if eval "$MISSING --run true"; then
8586 + am_missing_run="$MISSING --run "
8587 +else
8588 + am_missing_run=
8589 + AC_MSG_WARN([`missing' script is too old or missing])
8590 +fi
8591 +])
8592 +
8593 +# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8594 +#
8595 +# This file is free software; the Free Software Foundation
8596 +# gives unlimited permission to copy and/or distribute it,
8597 +# with or without modifications, as long as this notice is preserved.
8598 +
8599 +# AM_PROG_MKDIR_P
8600 +# ---------------
8601 +# Check for `mkdir -p'.
8602 +AC_DEFUN([AM_PROG_MKDIR_P],
8603 +[AC_PREREQ([2.60])dnl
8604 +AC_REQUIRE([AC_PROG_MKDIR_P])dnl
8605 +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
8606 +dnl while keeping a definition of mkdir_p for backward compatibility.
8607 +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
8608 +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
8609 +dnl Makefile.ins that do not define MKDIR_P, so we do our own
8610 +dnl adjustment using top_builddir (which is defined more often than
8611 +dnl MKDIR_P).
8612 +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
8613 +case $mkdir_p in
8614 + [[\\/$]]* | ?:[[\\/]]*) ;;
8615 + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
8616 +esac
8617 +])
8618 +
8619 +# Helper functions for option handling. -*- Autoconf -*-
8620 +
8621 +# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
8622 +#
8623 +# This file is free software; the Free Software Foundation
8624 +# gives unlimited permission to copy and/or distribute it,
8625 +# with or without modifications, as long as this notice is preserved.
8626 +
8627 +# serial 4
8628 +
8629 +# _AM_MANGLE_OPTION(NAME)
8630 +# -----------------------
8631 +AC_DEFUN([_AM_MANGLE_OPTION],
8632 +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
8633 +
8634 +# _AM_SET_OPTION(NAME)
8635 +# ------------------------------
8636 +# Set option NAME. Presently that only means defining a flag for this option.
8637 +AC_DEFUN([_AM_SET_OPTION],
8638 +[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
8639 +
8640 +# _AM_SET_OPTIONS(OPTIONS)
8641 +# ----------------------------------
8642 +# OPTIONS is a space-separated list of Automake options.
8643 +AC_DEFUN([_AM_SET_OPTIONS],
8644 +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
8645 +
8646 +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
8647 +# -------------------------------------------
8648 +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
8649 +AC_DEFUN([_AM_IF_OPTION],
8650 +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
8651 +
8652 +# Check to make sure that the build environment is sane. -*- Autoconf -*-
8653 +
8654 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
8655 +# Free Software Foundation, Inc.
8656 +#
8657 +# This file is free software; the Free Software Foundation
8658 +# gives unlimited permission to copy and/or distribute it,
8659 +# with or without modifications, as long as this notice is preserved.
8660 +
8661 +# serial 4
8662 +
8663 +# AM_SANITY_CHECK
8664 +# ---------------
8665 +AC_DEFUN([AM_SANITY_CHECK],
8666 +[AC_MSG_CHECKING([whether build environment is sane])
8667 +# Just in case
8668 +sleep 1
8669 +echo timestamp > conftest.file
8670 +# Do `set' in a subshell so we don't clobber the current shell's
8671 +# arguments. Must try -L first in case configure is actually a
8672 +# symlink; some systems play weird games with the mod time of symlinks
8673 +# (eg FreeBSD returns the mod time of the symlink's containing
8674 +# directory).
8675 +if (
8676 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
8677 + if test "$[*]" = "X"; then
8678 + # -L didn't work.
8679 + set X `ls -t $srcdir/configure conftest.file`
8680 + fi
8681 + rm -f conftest.file
8682 + if test "$[*]" != "X $srcdir/configure conftest.file" \
8683 + && test "$[*]" != "X conftest.file $srcdir/configure"; then
8684 +
8685 + # If neither matched, then we have a broken ls. This can happen
8686 + # if, for instance, CONFIG_SHELL is bash and it inherits a
8687 + # broken ls alias from the environment. This has actually
8688 + # happened. Such a system could not be considered "sane".
8689 + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
8690 +alias in your environment])
8691 + fi
8692 +
8693 + test "$[2]" = conftest.file
8694 + )
8695 +then
8696 + # Ok.
8697 + :
8698 +else
8699 + AC_MSG_ERROR([newly created file is older than distributed files!
8700 +Check your system clock])
8701 +fi
8702 +AC_MSG_RESULT(yes)])
8703 +
8704 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
8705 +#
8706 +# This file is free software; the Free Software Foundation
8707 +# gives unlimited permission to copy and/or distribute it,
8708 +# with or without modifications, as long as this notice is preserved.
8709 +
8710 +# AM_PROG_INSTALL_STRIP
8711 +# ---------------------
8712 +# One issue with vendor `install' (even GNU) is that you can't
8713 +# specify the program used to strip binaries. This is especially
8714 +# annoying in cross-compiling environments, where the build's strip
8715 +# is unlikely to handle the host's binaries.
8716 +# Fortunately install-sh will honor a STRIPPROG variable, so we
8717 +# always use install-sh in `make install-strip', and initialize
8718 +# STRIPPROG with the value of the STRIP variable (set by the user).
8719 +AC_DEFUN([AM_PROG_INSTALL_STRIP],
8720 +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
8721 +# Installed binaries are usually stripped using `strip' when the user
8722 +# run `make install-strip'. However `strip' might not be the right
8723 +# tool to use in cross-compilation environments, therefore Automake
8724 +# will honor the `STRIP' environment variable to overrule this program.
8725 +dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
8726 +if test "$cross_compiling" != no; then
8727 + AC_CHECK_TOOL([STRIP], [strip], :)
8728 +fi
8729 +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
8730 +AC_SUBST([INSTALL_STRIP_PROGRAM])])
8731 +
8732 +# Copyright (C) 2006 Free Software Foundation, Inc.
8733 +#
8734 +# This file is free software; the Free Software Foundation
8735 +# gives unlimited permission to copy and/or distribute it,
8736 +# with or without modifications, as long as this notice is preserved.
8737 +
8738 +# _AM_SUBST_NOTMAKE(VARIABLE)
8739 +# ---------------------------
8740 +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
8741 +# This macro is traced by Automake.
8742 +AC_DEFUN([_AM_SUBST_NOTMAKE])
8743 +
8744 +# Check how to create a tarball. -*- Autoconf -*-
8745 +
8746 +# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
8747 +#
8748 +# This file is free software; the Free Software Foundation
8749 +# gives unlimited permission to copy and/or distribute it,
8750 +# with or without modifications, as long as this notice is preserved.
8751 +
8752 +# serial 2
8753 +
8754 +# _AM_PROG_TAR(FORMAT)
8755 +# --------------------
8756 +# Check how to create a tarball in format FORMAT.
8757 +# FORMAT should be one of `v7', `ustar', or `pax'.
8758 +#
8759 +# Substitute a variable $(am__tar) that is a command
8760 +# writing to stdout a FORMAT-tarball containing the directory
8761 +# $tardir.
8762 +# tardir=directory && $(am__tar) > result.tar
8763 +#
8764 +# Substitute a variable $(am__untar) that extract such
8765 +# a tarball read from stdin.
8766 +# $(am__untar) < result.tar
8767 +AC_DEFUN([_AM_PROG_TAR],
8768 +[# Always define AMTAR for backward compatibility.
8769 +AM_MISSING_PROG([AMTAR], [tar])
8770 +m4_if([$1], [v7],
8771 + [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
8772 + [m4_case([$1], [ustar],, [pax],,
8773 + [m4_fatal([Unknown tar format])])
8774 +AC_MSG_CHECKING([how to create a $1 tar archive])
8775 +# Loop over all known methods to create a tar archive until one works.
8776 +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
8777 +_am_tools=${am_cv_prog_tar_$1-$_am_tools}
8778 +# Do not fold the above two line into one, because Tru64 sh and
8779 +# Solaris sh will not grok spaces in the rhs of `-'.
8780 +for _am_tool in $_am_tools
8781 +do
8782 + case $_am_tool in
8783 + gnutar)
8784 + for _am_tar in tar gnutar gtar;
8785 + do
8786 + AM_RUN_LOG([$_am_tar --version]) && break
8787 + done
8788 + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
8789 + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
8790 + am__untar="$_am_tar -xf -"
8791 + ;;
8792 + plaintar)
8793 + # Must skip GNU tar: if it does not support --format= it doesn't create
8794 + # ustar tarball either.
8795 + (tar --version) >/dev/null 2>&1 && continue
8796 + am__tar='tar chf - "$$tardir"'
8797 + am__tar_='tar chf - "$tardir"'
8798 + am__untar='tar xf -'
8799 + ;;
8800 + pax)
8801 + am__tar='pax -L -x $1 -w "$$tardir"'
8802 + am__tar_='pax -L -x $1 -w "$tardir"'
8803 + am__untar='pax -r'
8804 + ;;
8805 + cpio)
8806 + am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
8807 + am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
8808 + am__untar='cpio -i -H $1 -d'
8809 + ;;
8810 + none)
8811 + am__tar=false
8812 + am__tar_=false
8813 + am__untar=false
8814 + ;;
8815 + esac
8816 +
8817 + # If the value was cached, stop now. We just wanted to have am__tar
8818 + # and am__untar set.
8819 + test -n "${am_cv_prog_tar_$1}" && break
8820 +
8821 + # tar/untar a dummy directory, and stop if the command works
8822 + rm -rf conftest.dir
8823 + mkdir conftest.dir
8824 + echo GrepMe > conftest.dir/file
8825 + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
8826 + rm -rf conftest.dir
8827 + if test -s conftest.tar; then
8828 + AM_RUN_LOG([$am__untar <conftest.tar])
8829 + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
8830 + fi
8831 +done
8832 +rm -rf conftest.dir
8833 +
8834 +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
8835 +AC_MSG_RESULT([$am_cv_prog_tar_$1])])
8836 +AC_SUBST([am__tar])
8837 +AC_SUBST([am__untar])
8838 +]) # _AM_PROG_TAR
8839 +
8840 diff -pruN uptimed-0.3.13.orig/configure uptimed-0.3.13/configure
8841 --- uptimed-0.3.13.orig/configure 1970-01-01 10:00:00.000000000 +1000
8842 +++ uptimed-0.3.13/configure 2008-12-19 03:11:35.274924198 +1100
8843 @@ -0,0 +1,13673 @@
8844 +#! /bin/sh
8845 +# Guess values for system-dependent variables and create Makefiles.
8846 +# Generated by GNU Autoconf 2.63 for uptimed 0.3.12.
8847 +#
8848 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8849 +# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
8850 +# This configure script is free software; the Free Software Foundation
8851 +# gives unlimited permission to copy, distribute and modify it.
8852 +## --------------------- ##
8853 +## M4sh Initialization. ##
8854 +## --------------------- ##
8855 +
8856 +# Be more Bourne compatible
8857 +DUALCASE=1; export DUALCASE # for MKS sh
8858 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8859 + emulate sh
8860 + NULLCMD=:
8861 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8862 + # is contrary to our usage. Disable this feature.
8863 + alias -g '${1+"$@"}'='"$@"'
8864 + setopt NO_GLOB_SUBST
8865 +else
8866 + case `(set -o) 2>/dev/null` in
8867 + *posix*) set -o posix ;;
8868 +esac
8869 +
8870 +fi
8871 +
8872 +
8873 +
8874 +
8875 +# PATH needs CR
8876 +# Avoid depending upon Character Ranges.
8877 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8878 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8879 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8880 +as_cr_digits='0123456789'
8881 +as_cr_alnum=$as_cr_Letters$as_cr_digits
8882 +
8883 +as_nl='
8884 +'
8885 +export as_nl
8886 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
8887 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8888 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8889 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8890 +if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8891 + as_echo='printf %s\n'
8892 + as_echo_n='printf %s'
8893 +else
8894 + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8895 + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8896 + as_echo_n='/usr/ucb/echo -n'
8897 + else
8898 + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8899 + as_echo_n_body='eval
8900 + arg=$1;
8901 + case $arg in
8902 + *"$as_nl"*)
8903 + expr "X$arg" : "X\\(.*\\)$as_nl";
8904 + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8905 + esac;
8906 + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8907 + '
8908 + export as_echo_n_body
8909 + as_echo_n='sh -c $as_echo_n_body as_echo'
8910 + fi
8911 + export as_echo_body
8912 + as_echo='sh -c $as_echo_body as_echo'
8913 +fi
8914 +
8915 +# The user is always right.
8916 +if test "${PATH_SEPARATOR+set}" != set; then
8917 + PATH_SEPARATOR=:
8918 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8919 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8920 + PATH_SEPARATOR=';'
8921 + }
8922 +fi
8923 +
8924 +# Support unset when possible.
8925 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8926 + as_unset=unset
8927 +else
8928 + as_unset=false
8929 +fi
8930 +
8931 +
8932 +# IFS
8933 +# We need space, tab and new line, in precisely that order. Quoting is
8934 +# there to prevent editors from complaining about space-tab.
8935 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8936 +# splitting by setting IFS to empty value.)
8937 +IFS=" "" $as_nl"
8938 +
8939 +# Find who we are. Look in the path if we contain no directory separator.
8940 +case $0 in
8941 + *[\\/]* ) as_myself=$0 ;;
8942 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8943 +for as_dir in $PATH
8944 +do
8945 + IFS=$as_save_IFS
8946 + test -z "$as_dir" && as_dir=.
8947 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8948 +done
8949 +IFS=$as_save_IFS
8950 +
8951 + ;;
8952 +esac
8953 +# We did not find ourselves, most probably we were run as `sh COMMAND'
8954 +# in which case we are not to be found in the path.
8955 +if test "x$as_myself" = x; then
8956 + as_myself=$0
8957 +fi
8958 +if test ! -f "$as_myself"; then
8959 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8960 + { (exit 1); exit 1; }
8961 +fi
8962 +
8963 +# Work around bugs in pre-3.0 UWIN ksh.
8964 +for as_var in ENV MAIL MAILPATH
8965 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
8966 +done
8967 +PS1='$ '
8968 +PS2='> '
8969 +PS4='+ '
8970 +
8971 +# NLS nuisances.
8972 +LC_ALL=C
8973 +export LC_ALL
8974 +LANGUAGE=C
8975 +export LANGUAGE
8976 +
8977 +# Required to use basename.
8978 +if expr a : '\(a\)' >/dev/null 2>&1 &&
8979 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
8980 + as_expr=expr
8981 +else
8982 + as_expr=false
8983 +fi
8984 +
8985 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8986 + as_basename=basename
8987 +else
8988 + as_basename=false
8989 +fi
8990 +
8991 +
8992 +# Name of the executable.
8993 +as_me=`$as_basename -- "$0" ||
8994 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8995 + X"$0" : 'X\(//\)$' \| \
8996 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8997 +$as_echo X/"$0" |
8998 + sed '/^.*\/\([^/][^/]*\)\/*$/{
8999 + s//\1/
9000 + q
9001 + }
9002 + /^X\/\(\/\/\)$/{
9003 + s//\1/
9004 + q
9005 + }
9006 + /^X\/\(\/\).*/{
9007 + s//\1/
9008 + q
9009 + }
9010 + s/.*/./; q'`
9011 +
9012 +# CDPATH.
9013 +$as_unset CDPATH
9014 +
9015 +
9016 +if test "x$CONFIG_SHELL" = x; then
9017 + if (eval ":") 2>/dev/null; then
9018 + as_have_required=yes
9019 +else
9020 + as_have_required=no
9021 +fi
9022 +
9023 + if test $as_have_required = yes && (eval ":
9024 +(as_func_return () {
9025 + (exit \$1)
9026 +}
9027 +as_func_success () {
9028 + as_func_return 0
9029 +}
9030 +as_func_failure () {
9031 + as_func_return 1
9032 +}
9033 +as_func_ret_success () {
9034 + return 0
9035 +}
9036 +as_func_ret_failure () {
9037 + return 1
9038 +}
9039 +
9040 +exitcode=0
9041 +if as_func_success; then
9042 + :
9043 +else
9044 + exitcode=1
9045 + echo as_func_success failed.
9046 +fi
9047 +
9048 +if as_func_failure; then
9049 + exitcode=1
9050 + echo as_func_failure succeeded.
9051 +fi
9052 +
9053 +if as_func_ret_success; then
9054 + :
9055 +else
9056 + exitcode=1
9057 + echo as_func_ret_success failed.
9058 +fi
9059 +
9060 +if as_func_ret_failure; then
9061 + exitcode=1
9062 + echo as_func_ret_failure succeeded.
9063 +fi
9064 +
9065 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
9066 + :
9067 +else
9068 + exitcode=1
9069 + echo positional parameters were not saved.
9070 +fi
9071 +
9072 +test \$exitcode = 0) || { (exit 1); exit 1; }
9073 +
9074 +(
9075 + as_lineno_1=\$LINENO
9076 + as_lineno_2=\$LINENO
9077 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
9078 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
9079 +") 2> /dev/null; then
9080 + :
9081 +else
9082 + as_candidate_shells=
9083 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9084 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
9085 +do
9086 + IFS=$as_save_IFS
9087 + test -z "$as_dir" && as_dir=.
9088 + case $as_dir in
9089 + /*)
9090 + for as_base in sh bash ksh sh5; do
9091 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
9092 + done;;
9093 + esac
9094 +done
9095 +IFS=$as_save_IFS
9096 +
9097 +
9098 + for as_shell in $as_candidate_shells $SHELL; do
9099 + # Try only shells that exist, to save several forks.
9100 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
9101 + { ("$as_shell") 2> /dev/null <<\_ASEOF
9102 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9103 + emulate sh
9104 + NULLCMD=:
9105 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9106 + # is contrary to our usage. Disable this feature.
9107 + alias -g '${1+"$@"}'='"$@"'
9108 + setopt NO_GLOB_SUBST
9109 +else
9110 + case `(set -o) 2>/dev/null` in
9111 + *posix*) set -o posix ;;
9112 +esac
9113 +
9114 +fi
9115 +
9116 +
9117 +:
9118 +_ASEOF
9119 +}; then
9120 + CONFIG_SHELL=$as_shell
9121 + as_have_required=yes
9122 + if { "$as_shell" 2> /dev/null <<\_ASEOF
9123 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9124 + emulate sh
9125 + NULLCMD=:
9126 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9127 + # is contrary to our usage. Disable this feature.
9128 + alias -g '${1+"$@"}'='"$@"'
9129 + setopt NO_GLOB_SUBST
9130 +else
9131 + case `(set -o) 2>/dev/null` in
9132 + *posix*) set -o posix ;;
9133 +esac
9134 +
9135 +fi
9136 +
9137 +
9138 +:
9139 +(as_func_return () {
9140 + (exit $1)
9141 +}
9142 +as_func_success () {
9143 + as_func_return 0
9144 +}
9145 +as_func_failure () {
9146 + as_func_return 1
9147 +}
9148 +as_func_ret_success () {
9149 + return 0
9150 +}
9151 +as_func_ret_failure () {
9152 + return 1
9153 +}
9154 +
9155 +exitcode=0
9156 +if as_func_success; then
9157 + :
9158 +else
9159 + exitcode=1
9160 + echo as_func_success failed.
9161 +fi
9162 +
9163 +if as_func_failure; then
9164 + exitcode=1
9165 + echo as_func_failure succeeded.
9166 +fi
9167 +
9168 +if as_func_ret_success; then
9169 + :
9170 +else
9171 + exitcode=1
9172 + echo as_func_ret_success failed.
9173 +fi
9174 +
9175 +if as_func_ret_failure; then
9176 + exitcode=1
9177 + echo as_func_ret_failure succeeded.
9178 +fi
9179 +
9180 +if ( set x; as_func_ret_success y && test x = "$1" ); then
9181 + :
9182 +else
9183 + exitcode=1
9184 + echo positional parameters were not saved.
9185 +fi
9186 +
9187 +test $exitcode = 0) || { (exit 1); exit 1; }
9188 +
9189 +(
9190 + as_lineno_1=$LINENO
9191 + as_lineno_2=$LINENO
9192 + test "x$as_lineno_1" != "x$as_lineno_2" &&
9193 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
9194 +
9195 +_ASEOF
9196 +}; then
9197 + break
9198 +fi
9199 +
9200 +fi
9201 +
9202 + done
9203 +
9204 + if test "x$CONFIG_SHELL" != x; then
9205 + for as_var in BASH_ENV ENV
9206 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9207 + done
9208 + export CONFIG_SHELL
9209 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
9210 +fi
9211 +
9212 +
9213 + if test $as_have_required = no; then
9214 + echo This script requires a shell more modern than all the
9215 + echo shells that I found on your system. Please install a
9216 + echo modern shell, or manually run the script under such a
9217 + echo shell if you do have one.
9218 + { (exit 1); exit 1; }
9219 +fi
9220 +
9221 +
9222 +fi
9223 +
9224 +fi
9225 +
9226 +
9227 +
9228 +(eval "as_func_return () {
9229 + (exit \$1)
9230 +}
9231 +as_func_success () {
9232 + as_func_return 0
9233 +}
9234 +as_func_failure () {
9235 + as_func_return 1
9236 +}
9237 +as_func_ret_success () {
9238 + return 0
9239 +}
9240 +as_func_ret_failure () {
9241 + return 1
9242 +}
9243 +
9244 +exitcode=0
9245 +if as_func_success; then
9246 + :
9247 +else
9248 + exitcode=1
9249 + echo as_func_success failed.
9250 +fi
9251 +
9252 +if as_func_failure; then
9253 + exitcode=1
9254 + echo as_func_failure succeeded.
9255 +fi
9256 +
9257 +if as_func_ret_success; then
9258 + :
9259 +else
9260 + exitcode=1
9261 + echo as_func_ret_success failed.
9262 +fi
9263 +
9264 +if as_func_ret_failure; then
9265 + exitcode=1
9266 + echo as_func_ret_failure succeeded.
9267 +fi
9268 +
9269 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
9270 + :
9271 +else
9272 + exitcode=1
9273 + echo positional parameters were not saved.
9274 +fi
9275 +
9276 +test \$exitcode = 0") || {
9277 + echo No shell found that supports shell functions.
9278 + echo Please tell bug-autoconf@gnu.org about your system,
9279 + echo including any error possibly output before this message.
9280 + echo This can help us improve future autoconf versions.
9281 + echo Configuration will now proceed without shell functions.
9282 +}
9283 +
9284 +
9285 +
9286 + as_lineno_1=$LINENO
9287 + as_lineno_2=$LINENO
9288 + test "x$as_lineno_1" != "x$as_lineno_2" &&
9289 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
9290 +
9291 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9292 + # uniformly replaced by the line number. The first 'sed' inserts a
9293 + # line-number line after each line using $LINENO; the second 'sed'
9294 + # does the real work. The second script uses 'N' to pair each
9295 + # line-number line with the line containing $LINENO, and appends
9296 + # trailing '-' during substitution so that $LINENO is not a special
9297 + # case at line end.
9298 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9299 + # scripts with optimization help from Paolo Bonzini. Blame Lee
9300 + # E. McMahon (1931-1989) for sed's syntax. :-)
9301 + sed -n '
9302 + p
9303 + /[$]LINENO/=
9304 + ' <$as_myself |
9305 + sed '
9306 + s/[$]LINENO.*/&-/
9307 + t lineno
9308 + b
9309 + :lineno
9310 + N
9311 + :loop
9312 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9313 + t loop
9314 + s/-\n.*//
9315 + ' >$as_me.lineno &&
9316 + chmod +x "$as_me.lineno" ||
9317 + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9318 + { (exit 1); exit 1; }; }
9319 +
9320 + # Don't try to exec as it changes $[0], causing all sort of problems
9321 + # (the dirname of $[0] is not the place where we might find the
9322 + # original and so on. Autoconf is especially sensitive to this).
9323 + . "./$as_me.lineno"
9324 + # Exit status is that of the last command.
9325 + exit
9326 +}
9327 +
9328 +
9329 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9330 + as_dirname=dirname
9331 +else
9332 + as_dirname=false
9333 +fi
9334 +
9335 +ECHO_C= ECHO_N= ECHO_T=
9336 +case `echo -n x` in
9337 +-n*)
9338 + case `echo 'x\c'` in
9339 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9340 + *) ECHO_C='\c';;
9341 + esac;;
9342 +*)
9343 + ECHO_N='-n';;
9344 +esac
9345 +if expr a : '\(a\)' >/dev/null 2>&1 &&
9346 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
9347 + as_expr=expr
9348 +else
9349 + as_expr=false
9350 +fi
9351 +
9352 +rm -f conf$$ conf$$.exe conf$$.file
9353 +if test -d conf$$.dir; then
9354 + rm -f conf$$.dir/conf$$.file
9355 +else
9356 + rm -f conf$$.dir
9357 + mkdir conf$$.dir 2>/dev/null
9358 +fi
9359 +if (echo >conf$$.file) 2>/dev/null; then
9360 + if ln -s conf$$.file conf$$ 2>/dev/null; then
9361 + as_ln_s='ln -s'
9362 + # ... but there are two gotchas:
9363 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9364 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9365 + # In both cases, we have to default to `cp -p'.
9366 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9367 + as_ln_s='cp -p'
9368 + elif ln conf$$.file conf$$ 2>/dev/null; then
9369 + as_ln_s=ln
9370 + else
9371 + as_ln_s='cp -p'
9372 + fi
9373 +else
9374 + as_ln_s='cp -p'
9375 +fi
9376 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9377 +rmdir conf$$.dir 2>/dev/null
9378 +
9379 +if mkdir -p . 2>/dev/null; then
9380 + as_mkdir_p=:
9381 +else
9382 + test -d ./-p && rmdir ./-p
9383 + as_mkdir_p=false
9384 +fi
9385 +
9386 +if test -x / >/dev/null 2>&1; then
9387 + as_test_x='test -x'
9388 +else
9389 + if ls -dL / >/dev/null 2>&1; then
9390 + as_ls_L_option=L
9391 + else
9392 + as_ls_L_option=
9393 + fi
9394 + as_test_x='
9395 + eval sh -c '\''
9396 + if test -d "$1"; then
9397 + test -d "$1/.";
9398 + else
9399 + case $1 in
9400 + -*)set "./$1";;
9401 + esac;
9402 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9403 + ???[sx]*):;;*)false;;esac;fi
9404 + '\'' sh
9405 + '
9406 +fi
9407 +as_executable_p=$as_test_x
9408 +
9409 +# Sed expression to map a string onto a valid CPP name.
9410 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9411 +
9412 +# Sed expression to map a string onto a valid variable name.
9413 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9414 +
9415 +
9416 +
9417 +
9418 +# Check that we are running under the correct shell.
9419 +SHELL=${CONFIG_SHELL-/bin/sh}
9420 +
9421 +case X$lt_ECHO in
9422 +X*--fallback-echo)
9423 + # Remove one level of quotation (which was required for Make).
9424 + ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
9425 + ;;
9426 +esac
9427 +
9428 +ECHO=${lt_ECHO-echo}
9429 +if test "X$1" = X--no-reexec; then
9430 + # Discard the --no-reexec flag, and continue.
9431 + shift
9432 +elif test "X$1" = X--fallback-echo; then
9433 + # Avoid inline document here, it may be left over
9434 + :
9435 +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
9436 + # Yippee, $ECHO works!
9437 + :
9438 +else
9439 + # Restart under the correct shell.
9440 + exec $SHELL "$0" --no-reexec ${1+"$@"}
9441 +fi
9442 +
9443 +if test "X$1" = X--fallback-echo; then
9444 + # used as fallback echo
9445 + shift
9446 + cat <<_LT_EOF
9447 +$*
9448 +_LT_EOF
9449 + exit 0
9450 +fi
9451 +
9452 +# The HP-UX ksh and POSIX shell print the target directory to stdout
9453 +# if CDPATH is set.
9454 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9455 +
9456 +if test -z "$lt_ECHO"; then
9457 + if test "X${echo_test_string+set}" != Xset; then
9458 + # find a string as large as possible, as long as the shell can cope with it
9459 + for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
9460 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
9461 + if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
9462 + { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
9463 + then
9464 + break
9465 + fi
9466 + done
9467 + fi
9468 +
9469 + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
9470 + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
9471 + test "X$echo_testing_string" = "X$echo_test_string"; then
9472 + :
9473 + else
9474 + # The Solaris, AIX, and Digital Unix default echo programs unquote
9475 + # backslashes. This makes it impossible to quote backslashes using
9476 + # echo "$something" | sed 's/\\/\\\\/g'
9477 + #
9478 + # So, first we look for a working echo in the user's PATH.
9479 +
9480 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9481 + for dir in $PATH /usr/ucb; do
9482 + IFS="$lt_save_ifs"
9483 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
9484 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
9485 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
9486 + test "X$echo_testing_string" = "X$echo_test_string"; then
9487 + ECHO="$dir/echo"
9488 + break
9489 + fi
9490 + done
9491 + IFS="$lt_save_ifs"
9492 +
9493 + if test "X$ECHO" = Xecho; then
9494 + # We didn't find a better echo, so look for alternatives.
9495 + if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
9496 + echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
9497 + test "X$echo_testing_string" = "X$echo_test_string"; then
9498 + # This shell has a builtin print -r that does the trick.
9499 + ECHO='print -r'
9500 + elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
9501 + test "X$CONFIG_SHELL" != X/bin/ksh; then
9502 + # If we have ksh, try running configure again with it.
9503 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
9504 + export ORIGINAL_CONFIG_SHELL
9505 + CONFIG_SHELL=/bin/ksh
9506 + export CONFIG_SHELL
9507 + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
9508 + else
9509 + # Try using printf.
9510 + ECHO='printf %s\n'
9511 + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
9512 + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
9513 + test "X$echo_testing_string" = "X$echo_test_string"; then
9514 + # Cool, printf works
9515 + :
9516 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
9517 + test "X$echo_testing_string" = 'X\t' &&
9518 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
9519 + test "X$echo_testing_string" = "X$echo_test_string"; then
9520 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
9521 + export CONFIG_SHELL
9522 + SHELL="$CONFIG_SHELL"
9523 + export SHELL
9524 + ECHO="$CONFIG_SHELL $0 --fallback-echo"
9525 + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
9526 + test "X$echo_testing_string" = 'X\t' &&
9527 + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
9528 + test "X$echo_testing_string" = "X$echo_test_string"; then
9529 + ECHO="$CONFIG_SHELL $0 --fallback-echo"
9530 + else
9531 + # maybe with a smaller string...
9532 + prev=:
9533 +
9534 + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
9535 + if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
9536 + then
9537 + break
9538 + fi
9539 + prev="$cmd"
9540 + done
9541 +
9542 + if test "$prev" != 'sed 50q "$0"'; then
9543 + echo_test_string=`eval $prev`
9544 + export echo_test_string
9545 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
9546 + else
9547 + # Oops. We lost completely, so just stick with echo.
9548 + ECHO=echo
9549 + fi
9550 + fi
9551 + fi
9552 + fi
9553 + fi
9554 +fi
9555 +
9556 +# Copy echo and quote the copy suitably for passing to libtool from
9557 +# the Makefile, instead of quoting the original, which is used later.
9558 +lt_ECHO=$ECHO
9559 +if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
9560 + lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
9561 +fi
9562 +
9563 +
9564 +
9565 +
9566 +exec 7<&0 </dev/null 6>&1
9567 +
9568 +# Name of the host.
9569 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
9570 +# so uname gets run too.
9571 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
9572 +
9573 +#
9574 +# Initializations.
9575 +#
9576 +ac_default_prefix=/usr/local
9577 +ac_clean_files=
9578 +ac_config_libobj_dir=.
9579 +LIBOBJS=
9580 +cross_compiling=no
9581 +subdirs=
9582 +MFLAGS=
9583 +MAKEFLAGS=
9584 +SHELL=${CONFIG_SHELL-/bin/sh}
9585 +
9586 +# Identity of this package.
9587 +PACKAGE_NAME='uptimed'
9588 +PACKAGE_TARNAME='uptimed'
9589 +PACKAGE_VERSION='0.3.12'
9590 +PACKAGE_STRING='uptimed 0.3.12'
9591 +PACKAGE_BUGREPORT=''
9592 +
9593 +# Factoring default headers for most tests.
9594 +ac_includes_default="\
9595 +#include <stdio.h>
9596 +#ifdef HAVE_SYS_TYPES_H
9597 +# include <sys/types.h>
9598 +#endif
9599 +#ifdef HAVE_SYS_STAT_H
9600 +# include <sys/stat.h>
9601 +#endif
9602 +#ifdef STDC_HEADERS
9603 +# include <stdlib.h>
9604 +# include <stddef.h>
9605 +#else
9606 +# ifdef HAVE_STDLIB_H
9607 +# include <stdlib.h>
9608 +# endif
9609 +#endif
9610 +#ifdef HAVE_STRING_H
9611 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
9612 +# include <memory.h>
9613 +# endif
9614 +# include <string.h>
9615 +#endif
9616 +#ifdef HAVE_STRINGS_H
9617 +# include <strings.h>
9618 +#endif
9619 +#ifdef HAVE_INTTYPES_H
9620 +# include <inttypes.h>
9621 +#endif
9622 +#ifdef HAVE_STDINT_H
9623 +# include <stdint.h>
9624 +#endif
9625 +#ifdef HAVE_UNISTD_H
9626 +# include <unistd.h>
9627 +#endif"
9628 +
9629 +ac_subst_vars='LTLIBOBJS
9630 +LIBOBJS
9631 +am__fastdepCC_FALSE
9632 +am__fastdepCC_TRUE
9633 +CCDEPMODE
9634 +AMDEPBACKSLASH
9635 +AMDEP_FALSE
9636 +AMDEP_TRUE
9637 +am__quote
9638 +am__include
9639 +DEPDIR
9640 +am__untar
9641 +am__tar
9642 +AMTAR
9643 +am__leading_dot
9644 +SET_MAKE
9645 +AWK
9646 +mkdir_p
9647 +MKDIR_P
9648 +INSTALL_STRIP_PROGRAM
9649 +install_sh
9650 +MAKEINFO
9651 +AUTOHEADER
9652 +AUTOMAKE
9653 +AUTOCONF
9654 +ACLOCAL
9655 +VERSION
9656 +PACKAGE
9657 +CYGPATH_W
9658 +am__isrc
9659 +INSTALL_DATA
9660 +INSTALL_SCRIPT
9661 +INSTALL_PROGRAM
9662 +CPP
9663 +OTOOL64
9664 +OTOOL
9665 +LIPO
9666 +NMEDIT
9667 +DSYMUTIL
9668 +lt_ECHO
9669 +RANLIB
9670 +STRIP
9671 +AR
9672 +OBJDUMP
9673 +LN_S
9674 +NM
9675 +ac_ct_DUMPBIN
9676 +DUMPBIN
9677 +LD
9678 +FGREP
9679 +EGREP
9680 +GREP
9681 +SED
9682 +host_os
9683 +host_vendor
9684 +host_cpu
9685 +host
9686 +build_os
9687 +build_vendor
9688 +build_cpu
9689 +build
9690 +LIBTOOL
9691 +OBJEXT
9692 +EXEEXT
9693 +ac_ct_CC
9694 +CPPFLAGS
9695 +LDFLAGS
9696 +CFLAGS
9697 +CC
9698 +target_alias
9699 +host_alias
9700 +build_alias
9701 +LIBS
9702 +ECHO_T
9703 +ECHO_N
9704 +ECHO_C
9705 +DEFS
9706 +mandir
9707 +localedir
9708 +libdir
9709 +psdir
9710 +pdfdir
9711 +dvidir
9712 +htmldir
9713 +infodir
9714 +docdir
9715 +oldincludedir
9716 +includedir
9717 +localstatedir
9718 +sharedstatedir
9719 +sysconfdir
9720 +datadir
9721 +datarootdir
9722 +libexecdir
9723 +sbindir
9724 +bindir
9725 +program_transform_name
9726 +prefix
9727 +exec_prefix
9728 +PACKAGE_BUGREPORT
9729 +PACKAGE_STRING
9730 +PACKAGE_VERSION
9731 +PACKAGE_TARNAME
9732 +PACKAGE_NAME
9733 +PATH_SEPARATOR
9734 +SHELL'
9735 +ac_subst_files=''
9736 +ac_user_opts='
9737 +enable_option_checking
9738 +enable_shared
9739 +enable_static
9740 +with_pic
9741 +enable_fast_install
9742 +with_gnu_ld
9743 +enable_libtool_lock
9744 +enable_dependency_tracking
9745 +'
9746 + ac_precious_vars='build_alias
9747 +host_alias
9748 +target_alias
9749 +CC
9750 +CFLAGS
9751 +LDFLAGS
9752 +LIBS
9753 +CPPFLAGS
9754 +CPP'
9755 +
9756 +
9757 +# Initialize some variables set by options.
9758 +ac_init_help=
9759 +ac_init_version=false
9760 +ac_unrecognized_opts=
9761 +ac_unrecognized_sep=
9762 +# The variables have the same names as the options, with
9763 +# dashes changed to underlines.
9764 +cache_file=/dev/null
9765 +exec_prefix=NONE
9766 +no_create=
9767 +no_recursion=
9768 +prefix=NONE
9769 +program_prefix=NONE
9770 +program_suffix=NONE
9771 +program_transform_name=s,x,x,
9772 +silent=
9773 +site=
9774 +srcdir=
9775 +verbose=
9776 +x_includes=NONE
9777 +x_libraries=NONE
9778 +
9779 +# Installation directory options.
9780 +# These are left unexpanded so users can "make install exec_prefix=/foo"
9781 +# and all the variables that are supposed to be based on exec_prefix
9782 +# by default will actually change.
9783 +# Use braces instead of parens because sh, perl, etc. also accept them.
9784 +# (The list follows the same order as the GNU Coding Standards.)
9785 +bindir='${exec_prefix}/bin'
9786 +sbindir='${exec_prefix}/sbin'
9787 +libexecdir='${exec_prefix}/libexec'
9788 +datarootdir='${prefix}/share'
9789 +datadir='${datarootdir}'
9790 +sysconfdir='${prefix}/etc'
9791 +sharedstatedir='${prefix}/com'
9792 +localstatedir='${prefix}/var'
9793 +includedir='${prefix}/include'
9794 +oldincludedir='/usr/include'
9795 +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
9796 +infodir='${datarootdir}/info'
9797 +htmldir='${docdir}'
9798 +dvidir='${docdir}'
9799 +pdfdir='${docdir}'
9800 +psdir='${docdir}'
9801 +libdir='${exec_prefix}/lib'
9802 +localedir='${datarootdir}/locale'
9803 +mandir='${datarootdir}/man'
9804 +
9805 +ac_prev=
9806 +ac_dashdash=
9807 +for ac_option
9808 +do
9809 + # If the previous option needs an argument, assign it.
9810 + if test -n "$ac_prev"; then
9811 + eval $ac_prev=\$ac_option
9812 + ac_prev=
9813 + continue
9814 + fi
9815 +
9816 + case $ac_option in
9817 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
9818 + *) ac_optarg=yes ;;
9819 + esac
9820 +
9821 + # Accept the important Cygnus configure options, so we can diagnose typos.
9822 +
9823 + case $ac_dashdash$ac_option in
9824 + --)
9825 + ac_dashdash=yes ;;
9826 +
9827 + -bindir | --bindir | --bindi | --bind | --bin | --bi)
9828 + ac_prev=bindir ;;
9829 + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
9830 + bindir=$ac_optarg ;;
9831 +
9832 + -build | --build | --buil | --bui | --bu)
9833 + ac_prev=build_alias ;;
9834 + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
9835 + build_alias=$ac_optarg ;;
9836 +
9837 + -cache-file | --cache-file | --cache-fil | --cache-fi \
9838 + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
9839 + ac_prev=cache_file ;;
9840 + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
9841 + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
9842 + cache_file=$ac_optarg ;;
9843 +
9844 + --config-cache | -C)
9845 + cache_file=config.cache ;;
9846 +
9847 + -datadir | --datadir | --datadi | --datad)
9848 + ac_prev=datadir ;;
9849 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
9850 + datadir=$ac_optarg ;;
9851 +
9852 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
9853 + | --dataroo | --dataro | --datar)
9854 + ac_prev=datarootdir ;;
9855 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
9856 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
9857 + datarootdir=$ac_optarg ;;
9858 +
9859 + -disable-* | --disable-*)
9860 + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
9861 + # Reject names that are not valid shell variable names.
9862 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
9863 + { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
9864 + { (exit 1); exit 1; }; }
9865 + ac_useropt_orig=$ac_useropt
9866 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
9867 + case $ac_user_opts in
9868 + *"
9869 +"enable_$ac_useropt"
9870 +"*) ;;
9871 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
9872 + ac_unrecognized_sep=', ';;
9873 + esac
9874 + eval enable_$ac_useropt=no ;;
9875 +
9876 + -docdir | --docdir | --docdi | --doc | --do)
9877 + ac_prev=docdir ;;
9878 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
9879 + docdir=$ac_optarg ;;
9880 +
9881 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
9882 + ac_prev=dvidir ;;
9883 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
9884 + dvidir=$ac_optarg ;;
9885 +
9886 + -enable-* | --enable-*)
9887 + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
9888 + # Reject names that are not valid shell variable names.
9889 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
9890 + { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
9891 + { (exit 1); exit 1; }; }
9892 + ac_useropt_orig=$ac_useropt
9893 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
9894 + case $ac_user_opts in
9895 + *"
9896 +"enable_$ac_useropt"
9897 +"*) ;;
9898 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
9899 + ac_unrecognized_sep=', ';;
9900 + esac
9901 + eval enable_$ac_useropt=\$ac_optarg ;;
9902 +
9903 + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
9904 + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
9905 + | --exec | --exe | --ex)
9906 + ac_prev=exec_prefix ;;
9907 + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
9908 + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
9909 + | --exec=* | --exe=* | --ex=*)
9910 + exec_prefix=$ac_optarg ;;
9911 +
9912 + -gas | --gas | --ga | --g)
9913 + # Obsolete; use --with-gas.
9914 + with_gas=yes ;;
9915 +
9916 + -help | --help | --hel | --he | -h)
9917 + ac_init_help=long ;;
9918 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
9919 + ac_init_help=recursive ;;
9920 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
9921 + ac_init_help=short ;;
9922 +
9923 + -host | --host | --hos | --ho)
9924 + ac_prev=host_alias ;;
9925 + -host=* | --host=* | --hos=* | --ho=*)
9926 + host_alias=$ac_optarg ;;
9927 +
9928 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
9929 + ac_prev=htmldir ;;
9930 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
9931 + | --ht=*)
9932 + htmldir=$ac_optarg ;;
9933 +
9934 + -includedir | --includedir | --includedi | --included | --include \
9935 + | --includ | --inclu | --incl | --inc)
9936 + ac_prev=includedir ;;
9937 + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
9938 + | --includ=* | --inclu=* | --incl=* | --inc=*)
9939 + includedir=$ac_optarg ;;
9940 +
9941 + -infodir | --infodir | --infodi | --infod | --info | --inf)
9942 + ac_prev=infodir ;;
9943 + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
9944 + infodir=$ac_optarg ;;
9945 +
9946 + -libdir | --libdir | --libdi | --libd)
9947 + ac_prev=libdir ;;
9948 + -libdir=* | --libdir=* | --libdi=* | --libd=*)
9949 + libdir=$ac_optarg ;;
9950 +
9951 + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
9952 + | --libexe | --libex | --libe)
9953 + ac_prev=libexecdir ;;
9954 + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
9955 + | --libexe=* | --libex=* | --libe=*)
9956 + libexecdir=$ac_optarg ;;
9957 +
9958 + -localedir | --localedir | --localedi | --localed | --locale)
9959 + ac_prev=localedir ;;
9960 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
9961 + localedir=$ac_optarg ;;
9962 +
9963 + -localstatedir | --localstatedir | --localstatedi | --localstated \
9964 + | --localstate | --localstat | --localsta | --localst | --locals)
9965 + ac_prev=localstatedir ;;
9966 + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
9967 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
9968 + localstatedir=$ac_optarg ;;
9969 +
9970 + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
9971 + ac_prev=mandir ;;
9972 + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
9973 + mandir=$ac_optarg ;;
9974 +
9975 + -nfp | --nfp | --nf)
9976 + # Obsolete; use --without-fp.
9977 + with_fp=no ;;
9978 +
9979 + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
9980 + | --no-cr | --no-c | -n)
9981 + no_create=yes ;;
9982 +
9983 + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
9984 + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
9985 + no_recursion=yes ;;
9986 +
9987 + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
9988 + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
9989 + | --oldin | --oldi | --old | --ol | --o)
9990 + ac_prev=oldincludedir ;;
9991 + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
9992 + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
9993 + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
9994 + oldincludedir=$ac_optarg ;;
9995 +
9996 + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
9997 + ac_prev=prefix ;;
9998 + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
9999 + prefix=$ac_optarg ;;
10000 +
10001 + -program-prefix | --program-prefix | --program-prefi | --program-pref \
10002 + | --program-pre | --program-pr | --program-p)
10003 + ac_prev=program_prefix ;;
10004 + -program-prefix=* | --program-prefix=* | --program-prefi=* \
10005 + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
10006 + program_prefix=$ac_optarg ;;
10007 +
10008 + -program-suffix | --program-suffix | --program-suffi | --program-suff \
10009 + | --program-suf | --program-su | --program-s)
10010 + ac_prev=program_suffix ;;
10011 + -program-suffix=* | --program-suffix=* | --program-suffi=* \
10012 + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
10013 + program_suffix=$ac_optarg ;;
10014 +
10015 + -program-transform-name | --program-transform-name \
10016 + | --program-transform-nam | --program-transform-na \
10017 + | --program-transform-n | --program-transform- \
10018 + | --program-transform | --program-transfor \
10019 + | --program-transfo | --program-transf \
10020 + | --program-trans | --program-tran \
10021 + | --progr-tra | --program-tr | --program-t)
10022 + ac_prev=program_transform_name ;;
10023 + -program-transform-name=* | --program-transform-name=* \
10024 + | --program-transform-nam=* | --program-transform-na=* \
10025 + | --program-transform-n=* | --program-transform-=* \
10026 + | --program-transform=* | --program-transfor=* \
10027 + | --program-transfo=* | --program-transf=* \
10028 + | --program-trans=* | --program-tran=* \
10029 + | --progr-tra=* | --program-tr=* | --program-t=*)
10030 + program_transform_name=$ac_optarg ;;
10031 +
10032 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
10033 + ac_prev=pdfdir ;;
10034 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
10035 + pdfdir=$ac_optarg ;;
10036 +
10037 + -psdir | --psdir | --psdi | --psd | --ps)
10038 + ac_prev=psdir ;;
10039 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
10040 + psdir=$ac_optarg ;;
10041 +
10042 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10043 + | -silent | --silent | --silen | --sile | --sil)
10044 + silent=yes ;;
10045 +
10046 + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
10047 + ac_prev=sbindir ;;
10048 + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
10049 + | --sbi=* | --sb=*)
10050 + sbindir=$ac_optarg ;;
10051 +
10052 + -sharedstatedir | --sharedstatedir | --sharedstatedi \
10053 + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
10054 + | --sharedst | --shareds | --shared | --share | --shar \
10055 + | --sha | --sh)
10056 + ac_prev=sharedstatedir ;;
10057 + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
10058 + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
10059 + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
10060 + | --sha=* | --sh=*)
10061 + sharedstatedir=$ac_optarg ;;
10062 +
10063 + -site | --site | --sit)
10064 + ac_prev=site ;;
10065 + -site=* | --site=* | --sit=*)
10066 + site=$ac_optarg ;;
10067 +
10068 + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
10069 + ac_prev=srcdir ;;
10070 + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
10071 + srcdir=$ac_optarg ;;
10072 +
10073 + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
10074 + | --syscon | --sysco | --sysc | --sys | --sy)
10075 + ac_prev=sysconfdir ;;
10076 + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
10077 + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
10078 + sysconfdir=$ac_optarg ;;
10079 +
10080 + -target | --target | --targe | --targ | --tar | --ta | --t)
10081 + ac_prev=target_alias ;;
10082 + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
10083 + target_alias=$ac_optarg ;;
10084 +
10085 + -v | -verbose | --verbose | --verbos | --verbo | --verb)
10086 + verbose=yes ;;
10087 +
10088 + -version | --version | --versio | --versi | --vers | -V)
10089 + ac_init_version=: ;;
10090 +
10091 + -with-* | --with-*)
10092 + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10093 + # Reject names that are not valid shell variable names.
10094 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10095 + { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
10096 + { (exit 1); exit 1; }; }
10097 + ac_useropt_orig=$ac_useropt
10098 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10099 + case $ac_user_opts in
10100 + *"
10101 +"with_$ac_useropt"
10102 +"*) ;;
10103 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
10104 + ac_unrecognized_sep=', ';;
10105 + esac
10106 + eval with_$ac_useropt=\$ac_optarg ;;
10107 +
10108 + -without-* | --without-*)
10109 + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10110 + # Reject names that are not valid shell variable names.
10111 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10112 + { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
10113 + { (exit 1); exit 1; }; }
10114 + ac_useropt_orig=$ac_useropt
10115 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10116 + case $ac_user_opts in
10117 + *"
10118 +"with_$ac_useropt"
10119 +"*) ;;
10120 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
10121 + ac_unrecognized_sep=', ';;
10122 + esac
10123 + eval with_$ac_useropt=no ;;
10124 +
10125 + --x)
10126 + # Obsolete; use --with-x.
10127 + with_x=yes ;;
10128 +
10129 + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
10130 + | --x-incl | --x-inc | --x-in | --x-i)
10131 + ac_prev=x_includes ;;
10132 + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
10133 + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
10134 + x_includes=$ac_optarg ;;
10135 +
10136 + -x-libraries | --x-libraries | --x-librarie | --x-librari \
10137 + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
10138 + ac_prev=x_libraries ;;
10139 + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
10140 + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
10141 + x_libraries=$ac_optarg ;;
10142 +
10143 + -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
10144 +Try \`$0 --help' for more information." >&2
10145 + { (exit 1); exit 1; }; }
10146 + ;;
10147 +
10148 + *=*)
10149 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
10150 + # Reject names that are not valid shell variable names.
10151 + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
10152 + { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
10153 + { (exit 1); exit 1; }; }
10154 + eval $ac_envvar=\$ac_optarg
10155 + export $ac_envvar ;;
10156 +
10157 + *)
10158 + # FIXME: should be removed in autoconf 3.0.
10159 + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
10160 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10161 + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
10162 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
10163 + ;;
10164 +
10165 + esac
10166 +done
10167 +
10168 +if test -n "$ac_prev"; then
10169 + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
10170 + { $as_echo "$as_me: error: missing argument to $ac_option" >&2
10171 + { (exit 1); exit 1; }; }
10172 +fi
10173 +
10174 +if test -n "$ac_unrecognized_opts"; then
10175 + case $enable_option_checking in
10176 + no) ;;
10177 + fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
10178 + { (exit 1); exit 1; }; } ;;
10179 + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
10180 + esac
10181 +fi
10182 +
10183 +# Check all directory arguments for consistency.
10184 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
10185 + datadir sysconfdir sharedstatedir localstatedir includedir \
10186 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
10187 + libdir localedir mandir
10188 +do
10189 + eval ac_val=\$$ac_var
10190 + # Remove trailing slashes.
10191 + case $ac_val in
10192 + */ )
10193 + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
10194 + eval $ac_var=\$ac_val;;
10195 + esac
10196 + # Be sure to have absolute directory names.
10197 + case $ac_val in
10198 + [\\/$]* | ?:[\\/]* ) continue;;
10199 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
10200 + esac
10201 + { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
10202 + { (exit 1); exit 1; }; }
10203 +done
10204 +
10205 +# There might be people who depend on the old broken behavior: `$host'
10206 +# used to hold the argument of --host etc.
10207 +# FIXME: To remove some day.
10208 +build=$build_alias
10209 +host=$host_alias
10210 +target=$target_alias
10211 +
10212 +# FIXME: To remove some day.
10213 +if test "x$host_alias" != x; then
10214 + if test "x$build_alias" = x; then
10215 + cross_compiling=maybe
10216 + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
10217 + If a cross compiler is detected then cross compile mode will be used." >&2
10218 + elif test "x$build_alias" != "x$host_alias"; then
10219 + cross_compiling=yes
10220 + fi
10221 +fi
10222 +
10223 +ac_tool_prefix=
10224 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
10225 +
10226 +test "$silent" = yes && exec 6>/dev/null
10227 +
10228 +
10229 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
10230 +ac_ls_di=`ls -di .` &&
10231 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
10232 + { $as_echo "$as_me: error: working directory cannot be determined" >&2
10233 + { (exit 1); exit 1; }; }
10234 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
10235 + { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
10236 + { (exit 1); exit 1; }; }
10237 +
10238 +
10239 +# Find the source files, if location was not specified.
10240 +if test -z "$srcdir"; then
10241 + ac_srcdir_defaulted=yes
10242 + # Try the directory containing this script, then the parent directory.
10243 + ac_confdir=`$as_dirname -- "$as_myself" ||
10244 +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10245 + X"$as_myself" : 'X\(//\)[^/]' \| \
10246 + X"$as_myself" : 'X\(//\)$' \| \
10247 + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
10248 +$as_echo X"$as_myself" |
10249 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10250 + s//\1/
10251 + q
10252 + }
10253 + /^X\(\/\/\)[^/].*/{
10254 + s//\1/
10255 + q
10256 + }
10257 + /^X\(\/\/\)$/{
10258 + s//\1/
10259 + q
10260 + }
10261 + /^X\(\/\).*/{
10262 + s//\1/
10263 + q
10264 + }
10265 + s/.*/./; q'`
10266 + srcdir=$ac_confdir
10267 + if test ! -r "$srcdir/$ac_unique_file"; then
10268 + srcdir=..
10269 + fi
10270 +else
10271 + ac_srcdir_defaulted=no
10272 +fi
10273 +if test ! -r "$srcdir/$ac_unique_file"; then
10274 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
10275 + { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
10276 + { (exit 1); exit 1; }; }
10277 +fi
10278 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
10279 +ac_abs_confdir=`(
10280 + cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
10281 + { (exit 1); exit 1; }; }
10282 + pwd)`
10283 +# When building in place, set srcdir=.
10284 +if test "$ac_abs_confdir" = "$ac_pwd"; then
10285 + srcdir=.
10286 +fi
10287 +# Remove unnecessary trailing slashes from srcdir.
10288 +# Double slashes in file names in object file debugging info
10289 +# mess up M-x gdb in Emacs.
10290 +case $srcdir in
10291 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
10292 +esac
10293 +for ac_var in $ac_precious_vars; do
10294 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
10295 + eval ac_env_${ac_var}_value=\$${ac_var}
10296 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
10297 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
10298 +done
10299 +
10300 +#
10301 +# Report the --help message.
10302 +#
10303 +if test "$ac_init_help" = "long"; then
10304 + # Omit some internal or obsolete options to make the list less imposing.
10305 + # This message is too long to be a string in the A/UX 3.1 sh.
10306 + cat <<_ACEOF
10307 +\`configure' configures uptimed 0.3.12 to adapt to many kinds of systems.
10308 +
10309 +Usage: $0 [OPTION]... [VAR=VALUE]...
10310 +
10311 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
10312 +VAR=VALUE. See below for descriptions of some of the useful variables.
10313 +
10314 +Defaults for the options are specified in brackets.
10315 +
10316 +Configuration:
10317 + -h, --help display this help and exit
10318 + --help=short display options specific to this package
10319 + --help=recursive display the short help of all the included packages
10320 + -V, --version display version information and exit
10321 + -q, --quiet, --silent do not print \`checking...' messages
10322 + --cache-file=FILE cache test results in FILE [disabled]
10323 + -C, --config-cache alias for \`--cache-file=config.cache'
10324 + -n, --no-create do not create output files
10325 + --srcdir=DIR find the sources in DIR [configure dir or \`..']
10326 +
10327 +Installation directories:
10328 + --prefix=PREFIX install architecture-independent files in PREFIX
10329 + [$ac_default_prefix]
10330 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
10331 + [PREFIX]
10332 +
10333 +By default, \`make install' will install all the files in
10334 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
10335 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
10336 +for instance \`--prefix=\$HOME'.
10337 +
10338 +For better control, use the options below.
10339 +
10340 +Fine tuning of the installation directories:
10341 + --bindir=DIR user executables [EPREFIX/bin]
10342 + --sbindir=DIR system admin executables [EPREFIX/sbin]
10343 + --libexecdir=DIR program executables [EPREFIX/libexec]
10344 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
10345 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
10346 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
10347 + --libdir=DIR object code libraries [EPREFIX/lib]
10348 + --includedir=DIR C header files [PREFIX/include]
10349 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
10350 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
10351 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
10352 + --infodir=DIR info documentation [DATAROOTDIR/info]
10353 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
10354 + --mandir=DIR man documentation [DATAROOTDIR/man]
10355 + --docdir=DIR documentation root [DATAROOTDIR/doc/uptimed]
10356 + --htmldir=DIR html documentation [DOCDIR]
10357 + --dvidir=DIR dvi documentation [DOCDIR]
10358 + --pdfdir=DIR pdf documentation [DOCDIR]
10359 + --psdir=DIR ps documentation [DOCDIR]
10360 +_ACEOF
10361 +
10362 + cat <<\_ACEOF
10363 +
10364 +Program names:
10365 + --program-prefix=PREFIX prepend PREFIX to installed program names
10366 + --program-suffix=SUFFIX append SUFFIX to installed program names
10367 + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
10368 +
10369 +System types:
10370 + --build=BUILD configure for building on BUILD [guessed]
10371 + --host=HOST cross-compile to build programs to run on HOST [BUILD]
10372 +_ACEOF
10373 +fi
10374 +
10375 +if test -n "$ac_init_help"; then
10376 + case $ac_init_help in
10377 + short | recursive ) echo "Configuration of uptimed 0.3.12:";;
10378 + esac
10379 + cat <<\_ACEOF
10380 +
10381 +Optional Features:
10382 + --disable-option-checking ignore unrecognized --enable/--with options
10383 + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
10384 + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
10385 + --enable-shared[=PKGS] build shared libraries [default=yes]
10386 + --enable-static[=PKGS] build static libraries [default=yes]
10387 + --enable-fast-install[=PKGS]
10388 + optimize for fast installation [default=yes]
10389 + --disable-libtool-lock avoid locking (might break parallel builds)
10390 + --disable-dependency-tracking speeds up one-time build
10391 + --enable-dependency-tracking do not reject slow dependency extractors
10392 +
10393 +Optional Packages:
10394 + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
10395 + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
10396 + --with-pic try to use only PIC/non-PIC objects [default=use
10397 + both]
10398 + --with-gnu-ld assume the C compiler uses GNU ld [default=no]
10399 +
10400 +Some influential environment variables:
10401 + CC C compiler command
10402 + CFLAGS C compiler flags
10403 + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
10404 + nonstandard directory <lib dir>
10405 + LIBS libraries to pass to the linker, e.g. -l<library>
10406 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
10407 + you have headers in a nonstandard directory <include dir>
10408 + CPP C preprocessor
10409 +
10410 +Use these variables to override the choices made by `configure' or to help
10411 +it to find libraries and programs with nonstandard names/locations.
10412 +
10413 +_ACEOF
10414 +ac_status=$?
10415 +fi
10416 +
10417 +if test "$ac_init_help" = "recursive"; then
10418 + # If there are subdirs, report their specific --help.
10419 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
10420 + test -d "$ac_dir" ||
10421 + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
10422 + continue
10423 + ac_builddir=.
10424 +
10425 +case "$ac_dir" in
10426 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10427 +*)
10428 + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10429 + # A ".." for each directory in $ac_dir_suffix.
10430 + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10431 + case $ac_top_builddir_sub in
10432 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10433 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10434 + esac ;;
10435 +esac
10436 +ac_abs_top_builddir=$ac_pwd
10437 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
10438 +# for backward compatibility:
10439 +ac_top_builddir=$ac_top_build_prefix
10440 +
10441 +case $srcdir in
10442 + .) # We are building in place.
10443 + ac_srcdir=.
10444 + ac_top_srcdir=$ac_top_builddir_sub
10445 + ac_abs_top_srcdir=$ac_pwd ;;
10446 + [\\/]* | ?:[\\/]* ) # Absolute name.
10447 + ac_srcdir=$srcdir$ac_dir_suffix;
10448 + ac_top_srcdir=$srcdir
10449 + ac_abs_top_srcdir=$srcdir ;;
10450 + *) # Relative name.
10451 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10452 + ac_top_srcdir=$ac_top_build_prefix$srcdir
10453 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10454 +esac
10455 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10456 +
10457 + cd "$ac_dir" || { ac_status=$?; continue; }
10458 + # Check for guested configure.
10459 + if test -f "$ac_srcdir/configure.gnu"; then
10460 + echo &&
10461 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
10462 + elif test -f "$ac_srcdir/configure"; then
10463 + echo &&
10464 + $SHELL "$ac_srcdir/configure" --help=recursive
10465 + else
10466 + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
10467 + fi || ac_status=$?
10468 + cd "$ac_pwd" || { ac_status=$?; break; }
10469 + done
10470 +fi
10471 +
10472 +test -n "$ac_init_help" && exit $ac_status
10473 +if $ac_init_version; then
10474 + cat <<\_ACEOF
10475 +uptimed configure 0.3.12
10476 +generated by GNU Autoconf 2.63
10477 +
10478 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10479 +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
10480 +This configure script is free software; the Free Software Foundation
10481 +gives unlimited permission to copy, distribute and modify it.
10482 +_ACEOF
10483 + exit
10484 +fi
10485 +cat >config.log <<_ACEOF
10486 +This file contains any messages produced by compilers while
10487 +running configure, to aid debugging if configure makes a mistake.
10488 +
10489 +It was created by uptimed $as_me 0.3.12, which was
10490 +generated by GNU Autoconf 2.63. Invocation command line was
10491 +
10492 + $ $0 $@
10493 +
10494 +_ACEOF
10495 +exec 5>>config.log
10496 +{
10497 +cat <<_ASUNAME
10498 +## --------- ##
10499 +## Platform. ##
10500 +## --------- ##
10501 +
10502 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
10503 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
10504 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
10505 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
10506 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
10507 +
10508 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
10509 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
10510 +
10511 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
10512 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
10513 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
10514 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
10515 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
10516 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
10517 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
10518 +
10519 +_ASUNAME
10520 +
10521 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10522 +for as_dir in $PATH
10523 +do
10524 + IFS=$as_save_IFS
10525 + test -z "$as_dir" && as_dir=.
10526 + $as_echo "PATH: $as_dir"
10527 +done
10528 +IFS=$as_save_IFS
10529 +
10530 +} >&5
10531 +
10532 +cat >&5 <<_ACEOF
10533 +
10534 +
10535 +## ----------- ##
10536 +## Core tests. ##
10537 +## ----------- ##
10538 +
10539 +_ACEOF
10540 +
10541 +
10542 +# Keep a trace of the command line.
10543 +# Strip out --no-create and --no-recursion so they do not pile up.
10544 +# Strip out --silent because we don't want to record it for future runs.
10545 +# Also quote any args containing shell meta-characters.
10546 +# Make two passes to allow for proper duplicate-argument suppression.
10547 +ac_configure_args=
10548 +ac_configure_args0=
10549 +ac_configure_args1=
10550 +ac_must_keep_next=false
10551 +for ac_pass in 1 2
10552 +do
10553 + for ac_arg
10554 + do
10555 + case $ac_arg in
10556 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
10557 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10558 + | -silent | --silent | --silen | --sile | --sil)
10559 + continue ;;
10560 + *\'*)
10561 + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10562 + esac
10563 + case $ac_pass in
10564 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
10565 + 2)
10566 + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
10567 + if test $ac_must_keep_next = true; then
10568 + ac_must_keep_next=false # Got value, back to normal.
10569 + else
10570 + case $ac_arg in
10571 + *=* | --config-cache | -C | -disable-* | --disable-* \
10572 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
10573 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
10574 + | -with-* | --with-* | -without-* | --without-* | --x)
10575 + case "$ac_configure_args0 " in
10576 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
10577 + esac
10578 + ;;
10579 + -* ) ac_must_keep_next=true ;;
10580 + esac
10581 + fi
10582 + ac_configure_args="$ac_configure_args '$ac_arg'"
10583 + ;;
10584 + esac
10585 + done
10586 +done
10587 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
10588 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
10589 +
10590 +# When interrupted or exit'd, cleanup temporary files, and complete
10591 +# config.log. We remove comments because anyway the quotes in there
10592 +# would cause problems or look ugly.
10593 +# WARNING: Use '\'' to represent an apostrophe within the trap.
10594 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
10595 +trap 'exit_status=$?
10596 + # Save into config.log some information that might help in debugging.
10597 + {
10598 + echo
10599 +
10600 + cat <<\_ASBOX
10601 +## ---------------- ##
10602 +## Cache variables. ##
10603 +## ---------------- ##
10604 +_ASBOX
10605 + echo
10606 + # The following way of writing the cache mishandles newlines in values,
10607 +(
10608 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
10609 + eval ac_val=\$$ac_var
10610 + case $ac_val in #(
10611 + *${as_nl}*)
10612 + case $ac_var in #(
10613 + *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
10614 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
10615 + esac
10616 + case $ac_var in #(
10617 + _ | IFS | as_nl) ;; #(
10618 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
10619 + *) $as_unset $ac_var ;;
10620 + esac ;;
10621 + esac
10622 + done
10623 + (set) 2>&1 |
10624 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
10625 + *${as_nl}ac_space=\ *)
10626 + sed -n \
10627 + "s/'\''/'\''\\\\'\'''\''/g;
10628 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
10629 + ;; #(
10630 + *)
10631 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10632 + ;;
10633 + esac |
10634 + sort
10635 +)
10636 + echo
10637 +
10638 + cat <<\_ASBOX
10639 +## ----------------- ##
10640 +## Output variables. ##
10641 +## ----------------- ##
10642 +_ASBOX
10643 + echo
10644 + for ac_var in $ac_subst_vars
10645 + do
10646 + eval ac_val=\$$ac_var
10647 + case $ac_val in
10648 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
10649 + esac
10650 + $as_echo "$ac_var='\''$ac_val'\''"
10651 + done | sort
10652 + echo
10653 +
10654 + if test -n "$ac_subst_files"; then
10655 + cat <<\_ASBOX
10656 +## ------------------- ##
10657 +## File substitutions. ##
10658 +## ------------------- ##
10659 +_ASBOX
10660 + echo
10661 + for ac_var in $ac_subst_files
10662 + do
10663 + eval ac_val=\$$ac_var
10664 + case $ac_val in
10665 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
10666 + esac
10667 + $as_echo "$ac_var='\''$ac_val'\''"
10668 + done | sort
10669 + echo
10670 + fi
10671 +
10672 + if test -s confdefs.h; then
10673 + cat <<\_ASBOX
10674 +## ----------- ##
10675 +## confdefs.h. ##
10676 +## ----------- ##
10677 +_ASBOX
10678 + echo
10679 + cat confdefs.h
10680 + echo
10681 + fi
10682 + test "$ac_signal" != 0 &&
10683 + $as_echo "$as_me: caught signal $ac_signal"
10684 + $as_echo "$as_me: exit $exit_status"
10685 + } >&5
10686 + rm -f core *.core core.conftest.* &&
10687 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
10688 + exit $exit_status
10689 +' 0
10690 +for ac_signal in 1 2 13 15; do
10691 + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
10692 +done
10693 +ac_signal=0
10694 +
10695 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
10696 +rm -f -r conftest* confdefs.h
10697 +
10698 +# Predefined preprocessor variables.
10699 +
10700 +cat >>confdefs.h <<_ACEOF
10701 +#define PACKAGE_NAME "$PACKAGE_NAME"
10702 +_ACEOF
10703 +
10704 +
10705 +cat >>confdefs.h <<_ACEOF
10706 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
10707 +_ACEOF
10708 +
10709 +
10710 +cat >>confdefs.h <<_ACEOF
10711 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
10712 +_ACEOF
10713 +
10714 +
10715 +cat >>confdefs.h <<_ACEOF
10716 +#define PACKAGE_STRING "$PACKAGE_STRING"
10717 +_ACEOF
10718 +
10719 +
10720 +cat >>confdefs.h <<_ACEOF
10721 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
10722 +_ACEOF
10723 +
10724 +
10725 +# Let the site file select an alternate cache file if it wants to.
10726 +# Prefer an explicitly selected file to automatically selected ones.
10727 +ac_site_file1=NONE
10728 +ac_site_file2=NONE
10729 +if test -n "$CONFIG_SITE"; then
10730 + ac_site_file1=$CONFIG_SITE
10731 +elif test "x$prefix" != xNONE; then
10732 + ac_site_file1=$prefix/share/config.site
10733 + ac_site_file2=$prefix/etc/config.site
10734 +else
10735 + ac_site_file1=$ac_default_prefix/share/config.site
10736 + ac_site_file2=$ac_default_prefix/etc/config.site
10737 +fi
10738 +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
10739 +do
10740 + test "x$ac_site_file" = xNONE && continue
10741 + if test -r "$ac_site_file"; then
10742 + { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
10743 +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
10744 + sed 's/^/| /' "$ac_site_file" >&5
10745 + . "$ac_site_file"
10746 + fi
10747 +done
10748 +
10749 +if test -r "$cache_file"; then
10750 + # Some versions of bash will fail to source /dev/null (special
10751 + # files actually), so we avoid doing that.
10752 + if test -f "$cache_file"; then
10753 + { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
10754 +$as_echo "$as_me: loading cache $cache_file" >&6;}
10755 + case $cache_file in
10756 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
10757 + *) . "./$cache_file";;
10758 + esac
10759 + fi
10760 +else
10761 + { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
10762 +$as_echo "$as_me: creating cache $cache_file" >&6;}
10763 + >$cache_file
10764 +fi
10765 +
10766 +# Check that the precious variables saved in the cache have kept the same
10767 +# value.
10768 +ac_cache_corrupted=false
10769 +for ac_var in $ac_precious_vars; do
10770 + eval ac_old_set=\$ac_cv_env_${ac_var}_set
10771 + eval ac_new_set=\$ac_env_${ac_var}_set
10772 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
10773 + eval ac_new_val=\$ac_env_${ac_var}_value
10774 + case $ac_old_set,$ac_new_set in
10775 + set,)
10776 + { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
10777 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
10778 + ac_cache_corrupted=: ;;
10779 + ,set)
10780 + { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
10781 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
10782 + ac_cache_corrupted=: ;;
10783 + ,);;
10784 + *)
10785 + if test "x$ac_old_val" != "x$ac_new_val"; then
10786 + # differences in whitespace do not lead to failure.
10787 + ac_old_val_w=`echo x $ac_old_val`
10788 + ac_new_val_w=`echo x $ac_new_val`
10789 + if test "$ac_old_val_w" != "$ac_new_val_w"; then
10790 + { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
10791 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
10792 + ac_cache_corrupted=:
10793 + else
10794 + { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
10795 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
10796 + eval $ac_var=\$ac_old_val
10797 + fi
10798 + { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
10799 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
10800 + { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
10801 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
10802 + fi;;
10803 + esac
10804 + # Pass precious variables to config.status.
10805 + if test "$ac_new_set" = set; then
10806 + case $ac_new_val in
10807 + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
10808 + *) ac_arg=$ac_var=$ac_new_val ;;
10809 + esac
10810 + case " $ac_configure_args " in
10811 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
10812 + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
10813 + esac
10814 + fi
10815 +done
10816 +if $ac_cache_corrupted; then
10817 + { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
10818 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10819 + { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
10820 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
10821 + { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
10822 +$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
10823 + { (exit 1); exit 1; }; }
10824 +fi
10825 +
10826 +
10827 +
10828 +
10829 +
10830 +
10831 +
10832 +
10833 +
10834 +
10835 +
10836 +
10837 +
10838 +
10839 +
10840 +
10841 +
10842 +
10843 +
10844 +
10845 +
10846 +
10847 +
10848 +
10849 +
10850 +ac_ext=c
10851 +ac_cpp='$CPP $CPPFLAGS'
10852 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10853 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10854 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10855 +
10856 +
10857 +ac_config_headers="$ac_config_headers config.h"
10858 +
10859 +ac_ext=c
10860 +ac_cpp='$CPP $CPPFLAGS'
10861 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10862 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10863 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10864 +if test -n "$ac_tool_prefix"; then
10865 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10866 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
10867 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10868 +$as_echo_n "checking for $ac_word... " >&6; }
10869 +if test "${ac_cv_prog_CC+set}" = set; then
10870 + $as_echo_n "(cached) " >&6
10871 +else
10872 + if test -n "$CC"; then
10873 + ac_cv_prog_CC="$CC" # Let the user override the test.
10874 +else
10875 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10876 +for as_dir in $PATH
10877 +do
10878 + IFS=$as_save_IFS
10879 + test -z "$as_dir" && as_dir=.
10880 + for ac_exec_ext in '' $ac_executable_extensions; do
10881 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10882 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
10883 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10884 + break 2
10885 + fi
10886 +done
10887 +done
10888 +IFS=$as_save_IFS
10889 +
10890 +fi
10891 +fi
10892 +CC=$ac_cv_prog_CC
10893 +if test -n "$CC"; then
10894 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
10895 +$as_echo "$CC" >&6; }
10896 +else
10897 + { $as_echo "$as_me:$LINENO: result: no" >&5
10898 +$as_echo "no" >&6; }
10899 +fi
10900 +
10901 +
10902 +fi
10903 +if test -z "$ac_cv_prog_CC"; then
10904 + ac_ct_CC=$CC
10905 + # Extract the first word of "gcc", so it can be a program name with args.
10906 +set dummy gcc; ac_word=$2
10907 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10908 +$as_echo_n "checking for $ac_word... " >&6; }
10909 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10910 + $as_echo_n "(cached) " >&6
10911 +else
10912 + if test -n "$ac_ct_CC"; then
10913 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10914 +else
10915 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10916 +for as_dir in $PATH
10917 +do
10918 + IFS=$as_save_IFS
10919 + test -z "$as_dir" && as_dir=.
10920 + for ac_exec_ext in '' $ac_executable_extensions; do
10921 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10922 + ac_cv_prog_ac_ct_CC="gcc"
10923 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10924 + break 2
10925 + fi
10926 +done
10927 +done
10928 +IFS=$as_save_IFS
10929 +
10930 +fi
10931 +fi
10932 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
10933 +if test -n "$ac_ct_CC"; then
10934 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10935 +$as_echo "$ac_ct_CC" >&6; }
10936 +else
10937 + { $as_echo "$as_me:$LINENO: result: no" >&5
10938 +$as_echo "no" >&6; }
10939 +fi
10940 +
10941 + if test "x$ac_ct_CC" = x; then
10942 + CC=""
10943 + else
10944 + case $cross_compiling:$ac_tool_warned in
10945 +yes:)
10946 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
10947 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10948 +ac_tool_warned=yes ;;
10949 +esac
10950 + CC=$ac_ct_CC
10951 + fi
10952 +else
10953 + CC="$ac_cv_prog_CC"
10954 +fi
10955 +
10956 +if test -z "$CC"; then
10957 + if test -n "$ac_tool_prefix"; then
10958 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10959 +set dummy ${ac_tool_prefix}cc; ac_word=$2
10960 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10961 +$as_echo_n "checking for $ac_word... " >&6; }
10962 +if test "${ac_cv_prog_CC+set}" = set; then
10963 + $as_echo_n "(cached) " >&6
10964 +else
10965 + if test -n "$CC"; then
10966 + ac_cv_prog_CC="$CC" # Let the user override the test.
10967 +else
10968 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10969 +for as_dir in $PATH
10970 +do
10971 + IFS=$as_save_IFS
10972 + test -z "$as_dir" && as_dir=.
10973 + for ac_exec_ext in '' $ac_executable_extensions; do
10974 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10975 + ac_cv_prog_CC="${ac_tool_prefix}cc"
10976 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10977 + break 2
10978 + fi
10979 +done
10980 +done
10981 +IFS=$as_save_IFS
10982 +
10983 +fi
10984 +fi
10985 +CC=$ac_cv_prog_CC
10986 +if test -n "$CC"; then
10987 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
10988 +$as_echo "$CC" >&6; }
10989 +else
10990 + { $as_echo "$as_me:$LINENO: result: no" >&5
10991 +$as_echo "no" >&6; }
10992 +fi
10993 +
10994 +
10995 + fi
10996 +fi
10997 +if test -z "$CC"; then
10998 + # Extract the first word of "cc", so it can be a program name with args.
10999 +set dummy cc; ac_word=$2
11000 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11001 +$as_echo_n "checking for $ac_word... " >&6; }
11002 +if test "${ac_cv_prog_CC+set}" = set; then
11003 + $as_echo_n "(cached) " >&6
11004 +else
11005 + if test -n "$CC"; then
11006 + ac_cv_prog_CC="$CC" # Let the user override the test.
11007 +else
11008 + ac_prog_rejected=no
11009 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11010 +for as_dir in $PATH
11011 +do
11012 + IFS=$as_save_IFS
11013 + test -z "$as_dir" && as_dir=.
11014 + for ac_exec_ext in '' $ac_executable_extensions; do
11015 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11016 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11017 + ac_prog_rejected=yes
11018 + continue
11019 + fi
11020 + ac_cv_prog_CC="cc"
11021 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11022 + break 2
11023 + fi
11024 +done
11025 +done
11026 +IFS=$as_save_IFS
11027 +
11028 +if test $ac_prog_rejected = yes; then
11029 + # We found a bogon in the path, so make sure we never use it.
11030 + set dummy $ac_cv_prog_CC
11031 + shift
11032 + if test $# != 0; then
11033 + # We chose a different compiler from the bogus one.
11034 + # However, it has the same basename, so the bogon will be chosen
11035 + # first if we set CC to just the basename; use the full file name.
11036 + shift
11037 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11038 + fi
11039 +fi
11040 +fi
11041 +fi
11042 +CC=$ac_cv_prog_CC
11043 +if test -n "$CC"; then
11044 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
11045 +$as_echo "$CC" >&6; }
11046 +else
11047 + { $as_echo "$as_me:$LINENO: result: no" >&5
11048 +$as_echo "no" >&6; }
11049 +fi
11050 +
11051 +
11052 +fi
11053 +if test -z "$CC"; then
11054 + if test -n "$ac_tool_prefix"; then
11055 + for ac_prog in cl.exe
11056 + do
11057 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11058 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11059 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11060 +$as_echo_n "checking for $ac_word... " >&6; }
11061 +if test "${ac_cv_prog_CC+set}" = set; then
11062 + $as_echo_n "(cached) " >&6
11063 +else
11064 + if test -n "$CC"; then
11065 + ac_cv_prog_CC="$CC" # Let the user override the test.
11066 +else
11067 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11068 +for as_dir in $PATH
11069 +do
11070 + IFS=$as_save_IFS
11071 + test -z "$as_dir" && as_dir=.
11072 + for ac_exec_ext in '' $ac_executable_extensions; do
11073 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11074 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11075 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11076 + break 2
11077 + fi
11078 +done
11079 +done
11080 +IFS=$as_save_IFS
11081 +
11082 +fi
11083 +fi
11084 +CC=$ac_cv_prog_CC
11085 +if test -n "$CC"; then
11086 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
11087 +$as_echo "$CC" >&6; }
11088 +else
11089 + { $as_echo "$as_me:$LINENO: result: no" >&5
11090 +$as_echo "no" >&6; }
11091 +fi
11092 +
11093 +
11094 + test -n "$CC" && break
11095 + done
11096 +fi
11097 +if test -z "$CC"; then
11098 + ac_ct_CC=$CC
11099 + for ac_prog in cl.exe
11100 +do
11101 + # Extract the first word of "$ac_prog", so it can be a program name with args.
11102 +set dummy $ac_prog; ac_word=$2
11103 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11104 +$as_echo_n "checking for $ac_word... " >&6; }
11105 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11106 + $as_echo_n "(cached) " >&6
11107 +else
11108 + if test -n "$ac_ct_CC"; then
11109 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11110 +else
11111 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11112 +for as_dir in $PATH
11113 +do
11114 + IFS=$as_save_IFS
11115 + test -z "$as_dir" && as_dir=.
11116 + for ac_exec_ext in '' $ac_executable_extensions; do
11117 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11118 + ac_cv_prog_ac_ct_CC="$ac_prog"
11119 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11120 + break 2
11121 + fi
11122 +done
11123 +done
11124 +IFS=$as_save_IFS
11125 +
11126 +fi
11127 +fi
11128 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
11129 +if test -n "$ac_ct_CC"; then
11130 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11131 +$as_echo "$ac_ct_CC" >&6; }
11132 +else
11133 + { $as_echo "$as_me:$LINENO: result: no" >&5
11134 +$as_echo "no" >&6; }
11135 +fi
11136 +
11137 +
11138 + test -n "$ac_ct_CC" && break
11139 +done
11140 +
11141 + if test "x$ac_ct_CC" = x; then
11142 + CC=""
11143 + else
11144 + case $cross_compiling:$ac_tool_warned in
11145 +yes:)
11146 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11147 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11148 +ac_tool_warned=yes ;;
11149 +esac
11150 + CC=$ac_ct_CC
11151 + fi
11152 +fi
11153 +
11154 +fi
11155 +
11156 +
11157 +test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11158 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11159 +{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11160 +See \`config.log' for more details." >&5
11161 +$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
11162 +See \`config.log' for more details." >&2;}
11163 + { (exit 1); exit 1; }; }; }
11164 +
11165 +# Provide some information about the compiler.
11166 +$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
11167 +set X $ac_compile
11168 +ac_compiler=$2
11169 +{ (ac_try="$ac_compiler --version >&5"
11170 +case "(($ac_try" in
11171 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11172 + *) ac_try_echo=$ac_try;;
11173 +esac
11174 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11175 +$as_echo "$ac_try_echo") >&5
11176 + (eval "$ac_compiler --version >&5") 2>&5
11177 + ac_status=$?
11178 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11179 + (exit $ac_status); }
11180 +{ (ac_try="$ac_compiler -v >&5"
11181 +case "(($ac_try" in
11182 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11183 + *) ac_try_echo=$ac_try;;
11184 +esac
11185 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11186 +$as_echo "$ac_try_echo") >&5
11187 + (eval "$ac_compiler -v >&5") 2>&5
11188 + ac_status=$?
11189 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11190 + (exit $ac_status); }
11191 +{ (ac_try="$ac_compiler -V >&5"
11192 +case "(($ac_try" in
11193 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11194 + *) ac_try_echo=$ac_try;;
11195 +esac
11196 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11197 +$as_echo "$ac_try_echo") >&5
11198 + (eval "$ac_compiler -V >&5") 2>&5
11199 + ac_status=$?
11200 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11201 + (exit $ac_status); }
11202 +
11203 +cat >conftest.$ac_ext <<_ACEOF
11204 +/* confdefs.h. */
11205 +_ACEOF
11206 +cat confdefs.h >>conftest.$ac_ext
11207 +cat >>conftest.$ac_ext <<_ACEOF
11208 +/* end confdefs.h. */
11209 +
11210 +int
11211 +main ()
11212 +{
11213 +
11214 + ;
11215 + return 0;
11216 +}
11217 +_ACEOF
11218 +ac_clean_files_save=$ac_clean_files
11219 +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
11220 +# Try to create an executable without -o first, disregard a.out.
11221 +# It will help us diagnose broken compilers, and finding out an intuition
11222 +# of exeext.
11223 +{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11224 +$as_echo_n "checking for C compiler default output file name... " >&6; }
11225 +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11226 +
11227 +# The possible output files:
11228 +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
11229 +
11230 +ac_rmfiles=
11231 +for ac_file in $ac_files
11232 +do
11233 + case $ac_file in
11234 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
11235 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
11236 + esac
11237 +done
11238 +rm -f $ac_rmfiles
11239 +
11240 +if { (ac_try="$ac_link_default"
11241 +case "(($ac_try" in
11242 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11243 + *) ac_try_echo=$ac_try;;
11244 +esac
11245 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11246 +$as_echo "$ac_try_echo") >&5
11247 + (eval "$ac_link_default") 2>&5
11248 + ac_status=$?
11249 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11250 + (exit $ac_status); }; then
11251 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
11252 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
11253 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
11254 +# so that the user can short-circuit this test for compilers unknown to
11255 +# Autoconf.
11256 +for ac_file in $ac_files ''
11257 +do
11258 + test -f "$ac_file" || continue
11259 + case $ac_file in
11260 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
11261 + ;;
11262 + [ab].out )
11263 + # We found the default executable, but exeext='' is most
11264 + # certainly right.
11265 + break;;
11266 + *.* )
11267 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
11268 + then :; else
11269 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11270 + fi
11271 + # We set ac_cv_exeext here because the later test for it is not
11272 + # safe: cross compilers may not add the suffix if given an `-o'
11273 + # argument, so we may need to know it at that point already.
11274 + # Even if this section looks crufty: it has the advantage of
11275 + # actually working.
11276 + break;;
11277 + * )
11278 + break;;
11279 + esac
11280 +done
11281 +test "$ac_cv_exeext" = no && ac_cv_exeext=
11282 +
11283 +else
11284 + ac_file=''
11285 +fi
11286 +
11287 +{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
11288 +$as_echo "$ac_file" >&6; }
11289 +if test -z "$ac_file"; then
11290 + $as_echo "$as_me: failed program was:" >&5
11291 +sed 's/^/| /' conftest.$ac_ext >&5
11292 +
11293 +{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11294 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11295 +{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
11296 +See \`config.log' for more details." >&5
11297 +$as_echo "$as_me: error: C compiler cannot create executables
11298 +See \`config.log' for more details." >&2;}
11299 + { (exit 77); exit 77; }; }; }
11300 +fi
11301 +
11302 +ac_exeext=$ac_cv_exeext
11303 +
11304 +# Check that the compiler produces executables we can run. If not, either
11305 +# the compiler is broken, or we cross compile.
11306 +{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11307 +$as_echo_n "checking whether the C compiler works... " >&6; }
11308 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11309 +# If not cross compiling, check that we can run a simple program.
11310 +if test "$cross_compiling" != yes; then
11311 + if { ac_try='./$ac_file'
11312 + { (case "(($ac_try" in
11313 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11314 + *) ac_try_echo=$ac_try;;
11315 +esac
11316 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11317 +$as_echo "$ac_try_echo") >&5
11318 + (eval "$ac_try") 2>&5
11319 + ac_status=$?
11320 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11321 + (exit $ac_status); }; }; then
11322 + cross_compiling=no
11323 + else
11324 + if test "$cross_compiling" = maybe; then
11325 + cross_compiling=yes
11326 + else
11327 + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11328 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11329 +{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
11330 +If you meant to cross compile, use \`--host'.
11331 +See \`config.log' for more details." >&5
11332 +$as_echo "$as_me: error: cannot run C compiled programs.
11333 +If you meant to cross compile, use \`--host'.
11334 +See \`config.log' for more details." >&2;}
11335 + { (exit 1); exit 1; }; }; }
11336 + fi
11337 + fi
11338 +fi
11339 +{ $as_echo "$as_me:$LINENO: result: yes" >&5
11340 +$as_echo "yes" >&6; }
11341 +
11342 +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
11343 +ac_clean_files=$ac_clean_files_save
11344 +# Check that the compiler produces executables we can run. If not, either
11345 +# the compiler is broken, or we cross compile.
11346 +{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11347 +$as_echo_n "checking whether we are cross compiling... " >&6; }
11348 +{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
11349 +$as_echo "$cross_compiling" >&6; }
11350 +
11351 +{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
11352 +$as_echo_n "checking for suffix of executables... " >&6; }
11353 +if { (ac_try="$ac_link"
11354 +case "(($ac_try" in
11355 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11356 + *) ac_try_echo=$ac_try;;
11357 +esac
11358 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11359 +$as_echo "$ac_try_echo") >&5
11360 + (eval "$ac_link") 2>&5
11361 + ac_status=$?
11362 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11363 + (exit $ac_status); }; then
11364 + # If both `conftest.exe' and `conftest' are `present' (well, observable)
11365 +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11366 +# work properly (i.e., refer to `conftest.exe'), while it won't with
11367 +# `rm'.
11368 +for ac_file in conftest.exe conftest conftest.*; do
11369 + test -f "$ac_file" || continue
11370 + case $ac_file in
11371 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
11372 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11373 + break;;
11374 + * ) break;;
11375 + esac
11376 +done
11377 +else
11378 + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11379 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11380 +{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11381 +See \`config.log' for more details." >&5
11382 +$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11383 +See \`config.log' for more details." >&2;}
11384 + { (exit 1); exit 1; }; }; }
11385 +fi
11386 +
11387 +rm -f conftest$ac_cv_exeext
11388 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11389 +$as_echo "$ac_cv_exeext" >&6; }
11390 +
11391 +rm -f conftest.$ac_ext
11392 +EXEEXT=$ac_cv_exeext
11393 +ac_exeext=$EXEEXT
11394 +{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
11395 +$as_echo_n "checking for suffix of object files... " >&6; }
11396 +if test "${ac_cv_objext+set}" = set; then
11397 + $as_echo_n "(cached) " >&6
11398 +else
11399 + cat >conftest.$ac_ext <<_ACEOF
11400 +/* confdefs.h. */
11401 +_ACEOF
11402 +cat confdefs.h >>conftest.$ac_ext
11403 +cat >>conftest.$ac_ext <<_ACEOF
11404 +/* end confdefs.h. */
11405 +
11406 +int
11407 +main ()
11408 +{
11409 +
11410 + ;
11411 + return 0;
11412 +}
11413 +_ACEOF
11414 +rm -f conftest.o conftest.obj
11415 +if { (ac_try="$ac_compile"
11416 +case "(($ac_try" in
11417 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11418 + *) ac_try_echo=$ac_try;;
11419 +esac
11420 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11421 +$as_echo "$ac_try_echo") >&5
11422 + (eval "$ac_compile") 2>&5
11423 + ac_status=$?
11424 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11425 + (exit $ac_status); }; then
11426 + for ac_file in conftest.o conftest.obj conftest.*; do
11427 + test -f "$ac_file" || continue;
11428 + case $ac_file in
11429 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
11430 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11431 + break;;
11432 + esac
11433 +done
11434 +else
11435 + $as_echo "$as_me: failed program was:" >&5
11436 +sed 's/^/| /' conftest.$ac_ext >&5
11437 +
11438 +{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11439 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11440 +{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11441 +See \`config.log' for more details." >&5
11442 +$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
11443 +See \`config.log' for more details." >&2;}
11444 + { (exit 1); exit 1; }; }; }
11445 +fi
11446 +
11447 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
11448 +fi
11449 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11450 +$as_echo "$ac_cv_objext" >&6; }
11451 +OBJEXT=$ac_cv_objext
11452 +ac_objext=$OBJEXT
11453 +{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11454 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11455 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
11456 + $as_echo_n "(cached) " >&6
11457 +else
11458 + cat >conftest.$ac_ext <<_ACEOF
11459 +/* confdefs.h. */
11460 +_ACEOF
11461 +cat confdefs.h >>conftest.$ac_ext
11462 +cat >>conftest.$ac_ext <<_ACEOF
11463 +/* end confdefs.h. */
11464 +
11465 +int
11466 +main ()
11467 +{
11468 +#ifndef __GNUC__
11469 + choke me
11470 +#endif
11471 +
11472 + ;
11473 + return 0;
11474 +}
11475 +_ACEOF
11476 +rm -f conftest.$ac_objext
11477 +if { (ac_try="$ac_compile"
11478 +case "(($ac_try" in
11479 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11480 + *) ac_try_echo=$ac_try;;
11481 +esac
11482 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11483 +$as_echo "$ac_try_echo") >&5
11484 + (eval "$ac_compile") 2>conftest.er1
11485 + ac_status=$?
11486 + grep -v '^ *+' conftest.er1 >conftest.err
11487 + rm -f conftest.er1
11488 + cat conftest.err >&5
11489 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 + (exit $ac_status); } && {
11491 + test -z "$ac_c_werror_flag" ||
11492 + test ! -s conftest.err
11493 + } && test -s conftest.$ac_objext; then
11494 + ac_compiler_gnu=yes
11495 +else
11496 + $as_echo "$as_me: failed program was:" >&5
11497 +sed 's/^/| /' conftest.$ac_ext >&5
11498 +
11499 + ac_compiler_gnu=no
11500 +fi
11501 +
11502 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11503 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
11504 +
11505 +fi
11506 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11507 +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
11508 +if test $ac_compiler_gnu = yes; then
11509 + GCC=yes
11510 +else
11511 + GCC=
11512 +fi
11513 +ac_test_CFLAGS=${CFLAGS+set}
11514 +ac_save_CFLAGS=$CFLAGS
11515 +{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11516 +$as_echo_n "checking whether $CC accepts -g... " >&6; }
11517 +if test "${ac_cv_prog_cc_g+set}" = set; then
11518 + $as_echo_n "(cached) " >&6
11519 +else
11520 + ac_save_c_werror_flag=$ac_c_werror_flag
11521 + ac_c_werror_flag=yes
11522 + ac_cv_prog_cc_g=no
11523 + CFLAGS="-g"
11524 + cat >conftest.$ac_ext <<_ACEOF
11525 +/* confdefs.h. */
11526 +_ACEOF
11527 +cat confdefs.h >>conftest.$ac_ext
11528 +cat >>conftest.$ac_ext <<_ACEOF
11529 +/* end confdefs.h. */
11530 +
11531 +int
11532 +main ()
11533 +{
11534 +
11535 + ;
11536 + return 0;
11537 +}
11538 +_ACEOF
11539 +rm -f conftest.$ac_objext
11540 +if { (ac_try="$ac_compile"
11541 +case "(($ac_try" in
11542 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11543 + *) ac_try_echo=$ac_try;;
11544 +esac
11545 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11546 +$as_echo "$ac_try_echo") >&5
11547 + (eval "$ac_compile") 2>conftest.er1
11548 + ac_status=$?
11549 + grep -v '^ *+' conftest.er1 >conftest.err
11550 + rm -f conftest.er1
11551 + cat conftest.err >&5
11552 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11553 + (exit $ac_status); } && {
11554 + test -z "$ac_c_werror_flag" ||
11555 + test ! -s conftest.err
11556 + } && test -s conftest.$ac_objext; then
11557 + ac_cv_prog_cc_g=yes
11558 +else
11559 + $as_echo "$as_me: failed program was:" >&5
11560 +sed 's/^/| /' conftest.$ac_ext >&5
11561 +
11562 + CFLAGS=""
11563 + cat >conftest.$ac_ext <<_ACEOF
11564 +/* confdefs.h. */
11565 +_ACEOF
11566 +cat confdefs.h >>conftest.$ac_ext
11567 +cat >>conftest.$ac_ext <<_ACEOF
11568 +/* end confdefs.h. */
11569 +
11570 +int
11571 +main ()
11572 +{
11573 +
11574 + ;
11575 + return 0;
11576 +}
11577 +_ACEOF
11578 +rm -f conftest.$ac_objext
11579 +if { (ac_try="$ac_compile"
11580 +case "(($ac_try" in
11581 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11582 + *) ac_try_echo=$ac_try;;
11583 +esac
11584 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11585 +$as_echo "$ac_try_echo") >&5
11586 + (eval "$ac_compile") 2>conftest.er1
11587 + ac_status=$?
11588 + grep -v '^ *+' conftest.er1 >conftest.err
11589 + rm -f conftest.er1
11590 + cat conftest.err >&5
11591 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11592 + (exit $ac_status); } && {
11593 + test -z "$ac_c_werror_flag" ||
11594 + test ! -s conftest.err
11595 + } && test -s conftest.$ac_objext; then
11596 + :
11597 +else
11598 + $as_echo "$as_me: failed program was:" >&5
11599 +sed 's/^/| /' conftest.$ac_ext >&5
11600 +
11601 + ac_c_werror_flag=$ac_save_c_werror_flag
11602 + CFLAGS="-g"
11603 + cat >conftest.$ac_ext <<_ACEOF
11604 +/* confdefs.h. */
11605 +_ACEOF
11606 +cat confdefs.h >>conftest.$ac_ext
11607 +cat >>conftest.$ac_ext <<_ACEOF
11608 +/* end confdefs.h. */
11609 +
11610 +int
11611 +main ()
11612 +{
11613 +
11614 + ;
11615 + return 0;
11616 +}
11617 +_ACEOF
11618 +rm -f conftest.$ac_objext
11619 +if { (ac_try="$ac_compile"
11620 +case "(($ac_try" in
11621 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11622 + *) ac_try_echo=$ac_try;;
11623 +esac
11624 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11625 +$as_echo "$ac_try_echo") >&5
11626 + (eval "$ac_compile") 2>conftest.er1
11627 + ac_status=$?
11628 + grep -v '^ *+' conftest.er1 >conftest.err
11629 + rm -f conftest.er1
11630 + cat conftest.err >&5
11631 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11632 + (exit $ac_status); } && {
11633 + test -z "$ac_c_werror_flag" ||
11634 + test ! -s conftest.err
11635 + } && test -s conftest.$ac_objext; then
11636 + ac_cv_prog_cc_g=yes
11637 +else
11638 + $as_echo "$as_me: failed program was:" >&5
11639 +sed 's/^/| /' conftest.$ac_ext >&5
11640 +
11641 +
11642 +fi
11643 +
11644 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11645 +fi
11646 +
11647 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11648 +fi
11649 +
11650 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11651 + ac_c_werror_flag=$ac_save_c_werror_flag
11652 +fi
11653 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11654 +$as_echo "$ac_cv_prog_cc_g" >&6; }
11655 +if test "$ac_test_CFLAGS" = set; then
11656 + CFLAGS=$ac_save_CFLAGS
11657 +elif test $ac_cv_prog_cc_g = yes; then
11658 + if test "$GCC" = yes; then
11659 + CFLAGS="-g -O2"
11660 + else
11661 + CFLAGS="-g"
11662 + fi
11663 +else
11664 + if test "$GCC" = yes; then
11665 + CFLAGS="-O2"
11666 + else
11667 + CFLAGS=
11668 + fi
11669 +fi
11670 +{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
11671 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11672 +if test "${ac_cv_prog_cc_c89+set}" = set; then
11673 + $as_echo_n "(cached) " >&6
11674 +else
11675 + ac_cv_prog_cc_c89=no
11676 +ac_save_CC=$CC
11677 +cat >conftest.$ac_ext <<_ACEOF
11678 +/* confdefs.h. */
11679 +_ACEOF
11680 +cat confdefs.h >>conftest.$ac_ext
11681 +cat >>conftest.$ac_ext <<_ACEOF
11682 +/* end confdefs.h. */
11683 +#include <stdarg.h>
11684 +#include <stdio.h>
11685 +#include <sys/types.h>
11686 +#include <sys/stat.h>
11687 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11688 +struct buf { int x; };
11689 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
11690 +static char *e (p, i)
11691 + char **p;
11692 + int i;
11693 +{
11694 + return p[i];
11695 +}
11696 +static char *f (char * (*g) (char **, int), char **p, ...)
11697 +{
11698 + char *s;
11699 + va_list v;
11700 + va_start (v,p);
11701 + s = g (p, va_arg (v,int));
11702 + va_end (v);
11703 + return s;
11704 +}
11705 +
11706 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11707 + function prototypes and stuff, but not '\xHH' hex character constants.
11708 + These don't provoke an error unfortunately, instead are silently treated
11709 + as 'x'. The following induces an error, until -std is added to get
11710 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11711 + array size at least. It's necessary to write '\x00'==0 to get something
11712 + that's true only with -std. */
11713 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11714 +
11715 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11716 + inside strings and character constants. */
11717 +#define FOO(x) 'x'
11718 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11719 +
11720 +int test (int i, double x);
11721 +struct s1 {int (*f) (int a);};
11722 +struct s2 {int (*f) (double a);};
11723 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11724 +int argc;
11725 +char **argv;
11726 +int
11727 +main ()
11728 +{
11729 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11730 + ;
11731 + return 0;
11732 +}
11733 +_ACEOF
11734 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11735 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11736 +do
11737 + CC="$ac_save_CC $ac_arg"
11738 + rm -f conftest.$ac_objext
11739 +if { (ac_try="$ac_compile"
11740 +case "(($ac_try" in
11741 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11742 + *) ac_try_echo=$ac_try;;
11743 +esac
11744 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11745 +$as_echo "$ac_try_echo") >&5
11746 + (eval "$ac_compile") 2>conftest.er1
11747 + ac_status=$?
11748 + grep -v '^ *+' conftest.er1 >conftest.err
11749 + rm -f conftest.er1
11750 + cat conftest.err >&5
11751 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11752 + (exit $ac_status); } && {
11753 + test -z "$ac_c_werror_flag" ||
11754 + test ! -s conftest.err
11755 + } && test -s conftest.$ac_objext; then
11756 + ac_cv_prog_cc_c89=$ac_arg
11757 +else
11758 + $as_echo "$as_me: failed program was:" >&5
11759 +sed 's/^/| /' conftest.$ac_ext >&5
11760 +
11761 +
11762 +fi
11763 +
11764 +rm -f core conftest.err conftest.$ac_objext
11765 + test "x$ac_cv_prog_cc_c89" != "xno" && break
11766 +done
11767 +rm -f conftest.$ac_ext
11768 +CC=$ac_save_CC
11769 +
11770 +fi
11771 +# AC_CACHE_VAL
11772 +case "x$ac_cv_prog_cc_c89" in
11773 + x)
11774 + { $as_echo "$as_me:$LINENO: result: none needed" >&5
11775 +$as_echo "none needed" >&6; } ;;
11776 + xno)
11777 + { $as_echo "$as_me:$LINENO: result: unsupported" >&5
11778 +$as_echo "unsupported" >&6; } ;;
11779 + *)
11780 + CC="$CC $ac_cv_prog_cc_c89"
11781 + { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
11782 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11783 +esac
11784 +
11785 +
11786 +ac_ext=c
11787 +ac_cpp='$CPP $CPPFLAGS'
11788 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11789 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11790 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11791 +
11792 +case `pwd` in
11793 + *\ * | *\ *)
11794 + { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
11795 +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
11796 +esac
11797 +
11798 +
11799 +
11800 +macro_version='2.2.6'
11801 +macro_revision='1.3012'
11802 +
11803 +
11804 +
11805 +
11806 +
11807 +
11808 +
11809 +
11810 +
11811 +
11812 +
11813 +
11814 +
11815 +ltmain="$ac_aux_dir/ltmain.sh"
11816 +
11817 +ac_aux_dir=
11818 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
11819 + if test -f "$ac_dir/install-sh"; then
11820 + ac_aux_dir=$ac_dir
11821 + ac_install_sh="$ac_aux_dir/install-sh -c"
11822 + break
11823 + elif test -f "$ac_dir/install.sh"; then
11824 + ac_aux_dir=$ac_dir
11825 + ac_install_sh="$ac_aux_dir/install.sh -c"
11826 + break
11827 + elif test -f "$ac_dir/shtool"; then
11828 + ac_aux_dir=$ac_dir
11829 + ac_install_sh="$ac_aux_dir/shtool install -c"
11830 + break
11831 + fi
11832 +done
11833 +if test -z "$ac_aux_dir"; then
11834 + { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
11835 +$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
11836 + { (exit 1); exit 1; }; }
11837 +fi
11838 +
11839 +# These three variables are undocumented and unsupported,
11840 +# and are intended to be withdrawn in a future Autoconf release.
11841 +# They can cause serious problems if a builder's source tree is in a directory
11842 +# whose full name contains unusual characters.
11843 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
11844 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
11845 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
11846 +
11847 +
11848 +# Make sure we can run config.sub.
11849 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
11850 + { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
11851 +$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
11852 + { (exit 1); exit 1; }; }
11853 +
11854 +{ $as_echo "$as_me:$LINENO: checking build system type" >&5
11855 +$as_echo_n "checking build system type... " >&6; }
11856 +if test "${ac_cv_build+set}" = set; then
11857 + $as_echo_n "(cached) " >&6
11858 +else
11859 + ac_build_alias=$build_alias
11860 +test "x$ac_build_alias" = x &&
11861 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
11862 +test "x$ac_build_alias" = x &&
11863 + { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
11864 +$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
11865 + { (exit 1); exit 1; }; }
11866 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
11867 + { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
11868 +$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
11869 + { (exit 1); exit 1; }; }
11870 +
11871 +fi
11872 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
11873 +$as_echo "$ac_cv_build" >&6; }
11874 +case $ac_cv_build in
11875 +*-*-*) ;;
11876 +*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
11877 +$as_echo "$as_me: error: invalid value of canonical build" >&2;}
11878 + { (exit 1); exit 1; }; };;
11879 +esac
11880 +build=$ac_cv_build
11881 +ac_save_IFS=$IFS; IFS='-'
11882 +set x $ac_cv_build
11883 +shift
11884 +build_cpu=$1
11885 +build_vendor=$2
11886 +shift; shift
11887 +# Remember, the first character of IFS is used to create $*,
11888 +# except with old shells:
11889 +build_os=$*
11890 +IFS=$ac_save_IFS
11891 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
11892 +
11893 +
11894 +{ $as_echo "$as_me:$LINENO: checking host system type" >&5
11895 +$as_echo_n "checking host system type... " >&6; }
11896 +if test "${ac_cv_host+set}" = set; then
11897 + $as_echo_n "(cached) " >&6
11898 +else
11899 + if test "x$host_alias" = x; then
11900 + ac_cv_host=$ac_cv_build
11901 +else
11902 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
11903 + { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
11904 +$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
11905 + { (exit 1); exit 1; }; }
11906 +fi
11907 +
11908 +fi
11909 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
11910 +$as_echo "$ac_cv_host" >&6; }
11911 +case $ac_cv_host in
11912 +*-*-*) ;;
11913 +*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
11914 +$as_echo "$as_me: error: invalid value of canonical host" >&2;}
11915 + { (exit 1); exit 1; }; };;
11916 +esac
11917 +host=$ac_cv_host
11918 +ac_save_IFS=$IFS; IFS='-'
11919 +set x $ac_cv_host
11920 +shift
11921 +host_cpu=$1
11922 +host_vendor=$2
11923 +shift; shift
11924 +# Remember, the first character of IFS is used to create $*,
11925 +# except with old shells:
11926 +host_os=$*
11927 +IFS=$ac_save_IFS
11928 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
11929 +
11930 +
11931 +{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
11932 +$as_echo_n "checking for a sed that does not truncate output... " >&6; }
11933 +if test "${ac_cv_path_SED+set}" = set; then
11934 + $as_echo_n "(cached) " >&6
11935 +else
11936 + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
11937 + for ac_i in 1 2 3 4 5 6 7; do
11938 + ac_script="$ac_script$as_nl$ac_script"
11939 + done
11940 + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
11941 + $as_unset ac_script || ac_script=
11942 + if test -z "$SED"; then
11943 + ac_path_SED_found=false
11944 + # Loop through the user's path and test for each of PROGNAME-LIST
11945 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11946 +for as_dir in $PATH
11947 +do
11948 + IFS=$as_save_IFS
11949 + test -z "$as_dir" && as_dir=.
11950 + for ac_prog in sed gsed; do
11951 + for ac_exec_ext in '' $ac_executable_extensions; do
11952 + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
11953 + { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
11954 +# Check for GNU ac_path_SED and select it if it is found.
11955 + # Check for GNU $ac_path_SED
11956 +case `"$ac_path_SED" --version 2>&1` in
11957 +*GNU*)
11958 + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
11959 +*)
11960 + ac_count=0
11961 + $as_echo_n 0123456789 >"conftest.in"
11962 + while :
11963 + do
11964 + cat "conftest.in" "conftest.in" >"conftest.tmp"
11965 + mv "conftest.tmp" "conftest.in"
11966 + cp "conftest.in" "conftest.nl"
11967 + $as_echo '' >> "conftest.nl"
11968 + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
11969 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
11970 + ac_count=`expr $ac_count + 1`
11971 + if test $ac_count -gt ${ac_path_SED_max-0}; then
11972 + # Best one so far, save it but keep looking for a better one
11973 + ac_cv_path_SED="$ac_path_SED"
11974 + ac_path_SED_max=$ac_count
11975 + fi
11976 + # 10*(2^10) chars as input seems more than enough
11977 + test $ac_count -gt 10 && break
11978 + done
11979 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
11980 +esac
11981 +
11982 + $ac_path_SED_found && break 3
11983 + done
11984 + done
11985 +done
11986 +IFS=$as_save_IFS
11987 + if test -z "$ac_cv_path_SED"; then
11988 + { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
11989 +$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
11990 + { (exit 1); exit 1; }; }
11991 + fi
11992 +else
11993 + ac_cv_path_SED=$SED
11994 +fi
11995 +
11996 +fi
11997 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
11998 +$as_echo "$ac_cv_path_SED" >&6; }
11999 + SED="$ac_cv_path_SED"
12000 + rm -f conftest.sed
12001 +
12002 +test -z "$SED" && SED=sed
12003 +Xsed="$SED -e 1s/^X//"
12004 +
12005 +
12006 +
12007 +
12008 +
12009 +
12010 +
12011 +
12012 +
12013 +
12014 +
12015 +{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
12016 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
12017 +if test "${ac_cv_path_GREP+set}" = set; then
12018 + $as_echo_n "(cached) " >&6
12019 +else
12020 + if test -z "$GREP"; then
12021 + ac_path_GREP_found=false
12022 + # Loop through the user's path and test for each of PROGNAME-LIST
12023 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12024 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
12025 +do
12026 + IFS=$as_save_IFS
12027 + test -z "$as_dir" && as_dir=.
12028 + for ac_prog in grep ggrep; do
12029 + for ac_exec_ext in '' $ac_executable_extensions; do
12030 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
12031 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
12032 +# Check for GNU ac_path_GREP and select it if it is found.
12033 + # Check for GNU $ac_path_GREP
12034 +case `"$ac_path_GREP" --version 2>&1` in
12035 +*GNU*)
12036 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
12037 +*)
12038 + ac_count=0
12039 + $as_echo_n 0123456789 >"conftest.in"
12040 + while :
12041 + do
12042 + cat "conftest.in" "conftest.in" >"conftest.tmp"
12043 + mv "conftest.tmp" "conftest.in"
12044 + cp "conftest.in" "conftest.nl"
12045 + $as_echo 'GREP' >> "conftest.nl"
12046 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
12047 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
12048 + ac_count=`expr $ac_count + 1`
12049 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
12050 + # Best one so far, save it but keep looking for a better one
12051 + ac_cv_path_GREP="$ac_path_GREP"
12052 + ac_path_GREP_max=$ac_count
12053 + fi
12054 + # 10*(2^10) chars as input seems more than enough
12055 + test $ac_count -gt 10 && break
12056 + done
12057 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
12058 +esac
12059 +
12060 + $ac_path_GREP_found && break 3
12061 + done
12062 + done
12063 +done
12064 +IFS=$as_save_IFS
12065 + if test -z "$ac_cv_path_GREP"; then
12066 + { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
12067 +$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
12068 + { (exit 1); exit 1; }; }
12069 + fi
12070 +else
12071 + ac_cv_path_GREP=$GREP
12072 +fi
12073 +
12074 +fi
12075 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
12076 +$as_echo "$ac_cv_path_GREP" >&6; }
12077 + GREP="$ac_cv_path_GREP"
12078 +
12079 +
12080 +{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
12081 +$as_echo_n "checking for egrep... " >&6; }
12082 +if test "${ac_cv_path_EGREP+set}" = set; then
12083 + $as_echo_n "(cached) " >&6
12084 +else
12085 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
12086 + then ac_cv_path_EGREP="$GREP -E"
12087 + else
12088 + if test -z "$EGREP"; then
12089 + ac_path_EGREP_found=false
12090 + # Loop through the user's path and test for each of PROGNAME-LIST
12091 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12092 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
12093 +do
12094 + IFS=$as_save_IFS
12095 + test -z "$as_dir" && as_dir=.
12096 + for ac_prog in egrep; do
12097 + for ac_exec_ext in '' $ac_executable_extensions; do
12098 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
12099 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
12100 +# Check for GNU ac_path_EGREP and select it if it is found.
12101 + # Check for GNU $ac_path_EGREP
12102 +case `"$ac_path_EGREP" --version 2>&1` in
12103 +*GNU*)
12104 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
12105 +*)
12106 + ac_count=0
12107 + $as_echo_n 0123456789 >"conftest.in"
12108 + while :
12109 + do
12110 + cat "conftest.in" "conftest.in" >"conftest.tmp"
12111 + mv "conftest.tmp" "conftest.in"
12112 + cp "conftest.in" "conftest.nl"
12113 + $as_echo 'EGREP' >> "conftest.nl"
12114 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
12115 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
12116 + ac_count=`expr $ac_count + 1`
12117 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
12118 + # Best one so far, save it but keep looking for a better one
12119 + ac_cv_path_EGREP="$ac_path_EGREP"
12120 + ac_path_EGREP_max=$ac_count
12121 + fi
12122 + # 10*(2^10) chars as input seems more than enough
12123 + test $ac_count -gt 10 && break
12124 + done
12125 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
12126 +esac
12127 +
12128 + $ac_path_EGREP_found && break 3
12129 + done
12130 + done
12131 +done
12132 +IFS=$as_save_IFS
12133 + if test -z "$ac_cv_path_EGREP"; then
12134 + { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
12135 +$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
12136 + { (exit 1); exit 1; }; }
12137 + fi
12138 +else
12139 + ac_cv_path_EGREP=$EGREP
12140 +fi
12141 +
12142 + fi
12143 +fi
12144 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
12145 +$as_echo "$ac_cv_path_EGREP" >&6; }
12146 + EGREP="$ac_cv_path_EGREP"
12147 +
12148 +
12149 +{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
12150 +$as_echo_n "checking for fgrep... " >&6; }
12151 +if test "${ac_cv_path_FGREP+set}" = set; then
12152 + $as_echo_n "(cached) " >&6
12153 +else
12154 + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
12155 + then ac_cv_path_FGREP="$GREP -F"
12156 + else
12157 + if test -z "$FGREP"; then
12158 + ac_path_FGREP_found=false
12159 + # Loop through the user's path and test for each of PROGNAME-LIST
12160 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12161 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
12162 +do
12163 + IFS=$as_save_IFS
12164 + test -z "$as_dir" && as_dir=.
12165 + for ac_prog in fgrep; do
12166 + for ac_exec_ext in '' $ac_executable_extensions; do
12167 + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
12168 + { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
12169 +# Check for GNU ac_path_FGREP and select it if it is found.
12170 + # Check for GNU $ac_path_FGREP
12171 +case `"$ac_path_FGREP" --version 2>&1` in
12172 +*GNU*)
12173 + ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
12174 +*)
12175 + ac_count=0
12176 + $as_echo_n 0123456789 >"conftest.in"
12177 + while :
12178 + do
12179 + cat "conftest.in" "conftest.in" >"conftest.tmp"
12180 + mv "conftest.tmp" "conftest.in"
12181 + cp "conftest.in" "conftest.nl"
12182 + $as_echo 'FGREP' >> "conftest.nl"
12183 + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
12184 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
12185 + ac_count=`expr $ac_count + 1`
12186 + if test $ac_count -gt ${ac_path_FGREP_max-0}; then
12187 + # Best one so far, save it but keep looking for a better one
12188 + ac_cv_path_FGREP="$ac_path_FGREP"
12189 + ac_path_FGREP_max=$ac_count
12190 + fi
12191 + # 10*(2^10) chars as input seems more than enough
12192 + test $ac_count -gt 10 && break
12193 + done
12194 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
12195 +esac
12196 +
12197 + $ac_path_FGREP_found && break 3
12198 + done
12199 + done
12200 +done
12201 +IFS=$as_save_IFS
12202 + if test -z "$ac_cv_path_FGREP"; then
12203 + { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
12204 +$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
12205 + { (exit 1); exit 1; }; }
12206 + fi
12207 +else
12208 + ac_cv_path_FGREP=$FGREP
12209 +fi
12210 +
12211 + fi
12212 +fi
12213 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
12214 +$as_echo "$ac_cv_path_FGREP" >&6; }
12215 + FGREP="$ac_cv_path_FGREP"
12216 +
12217 +
12218 +test -z "$GREP" && GREP=grep
12219 +
12220 +
12221 +
12222 +
12223 +
12224 +
12225 +
12226 +
12227 +
12228 +
12229 +
12230 +
12231 +
12232 +
12233 +
12234 +
12235 +
12236 +
12237 +
12238 +# Check whether --with-gnu-ld was given.
12239 +if test "${with_gnu_ld+set}" = set; then
12240 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12241 +else
12242 + with_gnu_ld=no
12243 +fi
12244 +
12245 +ac_prog=ld
12246 +if test "$GCC" = yes; then
12247 + # Check if gcc -print-prog-name=ld gives a path.
12248 + { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12249 +$as_echo_n "checking for ld used by $CC... " >&6; }
12250 + case $host in
12251 + *-*-mingw*)
12252 + # gcc leaves a trailing carriage return which upsets mingw
12253 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12254 + *)
12255 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12256 + esac
12257 + case $ac_prog in
12258 + # Accept absolute paths.
12259 + [\\/]* | ?:[\\/]*)
12260 + re_direlt='/[^/][^/]*/\.\./'
12261 + # Canonicalize the pathname of ld
12262 + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12263 + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12264 + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12265 + done
12266 + test -z "$LD" && LD="$ac_prog"
12267 + ;;
12268 + "")
12269 + # If it fails, then pretend we aren't using GCC.
12270 + ac_prog=ld
12271 + ;;
12272 + *)
12273 + # If it is relative, then search for the first ld in PATH.
12274 + with_gnu_ld=unknown
12275 + ;;
12276 + esac
12277 +elif test "$with_gnu_ld" = yes; then
12278 + { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
12279 +$as_echo_n "checking for GNU ld... " >&6; }
12280 +else
12281 + { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12282 +$as_echo_n "checking for non-GNU ld... " >&6; }
12283 +fi
12284 +if test "${lt_cv_path_LD+set}" = set; then
12285 + $as_echo_n "(cached) " >&6
12286 +else
12287 + if test -z "$LD"; then
12288 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12289 + for ac_dir in $PATH; do
12290 + IFS="$lt_save_ifs"
12291 + test -z "$ac_dir" && ac_dir=.
12292 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12293 + lt_cv_path_LD="$ac_dir/$ac_prog"
12294 + # Check to see if the program is GNU ld. I'd rather use --version,
12295 + # but apparently some variants of GNU ld only accept -v.
12296 + # Break only if it was the GNU/non-GNU ld that we prefer.
12297 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12298 + *GNU* | *'with BFD'*)
12299 + test "$with_gnu_ld" != no && break
12300 + ;;
12301 + *)
12302 + test "$with_gnu_ld" != yes && break
12303 + ;;
12304 + esac
12305 + fi
12306 + done
12307 + IFS="$lt_save_ifs"
12308 +else
12309 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
12310 +fi
12311 +fi
12312 +
12313 +LD="$lt_cv_path_LD"
12314 +if test -n "$LD"; then
12315 + { $as_echo "$as_me:$LINENO: result: $LD" >&5
12316 +$as_echo "$LD" >&6; }
12317 +else
12318 + { $as_echo "$as_me:$LINENO: result: no" >&5
12319 +$as_echo "no" >&6; }
12320 +fi
12321 +test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12322 +$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12323 + { (exit 1); exit 1; }; }
12324 +{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12325 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12326 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
12327 + $as_echo_n "(cached) " >&6
12328 +else
12329 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
12330 +case `$LD -v 2>&1 </dev/null` in
12331 +*GNU* | *'with BFD'*)
12332 + lt_cv_prog_gnu_ld=yes
12333 + ;;
12334 +*)
12335 + lt_cv_prog_gnu_ld=no
12336 + ;;
12337 +esac
12338 +fi
12339 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12340 +$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12341 +with_gnu_ld=$lt_cv_prog_gnu_ld
12342 +
12343 +
12344 +
12345 +
12346 +
12347 +
12348 +
12349 +
12350 +
12351 +{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
12352 +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
12353 +if test "${lt_cv_path_NM+set}" = set; then
12354 + $as_echo_n "(cached) " >&6
12355 +else
12356 + if test -n "$NM"; then
12357 + # Let the user override the test.
12358 + lt_cv_path_NM="$NM"
12359 +else
12360 + lt_nm_to_check="${ac_tool_prefix}nm"
12361 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
12362 + lt_nm_to_check="$lt_nm_to_check nm"
12363 + fi
12364 + for lt_tmp_nm in $lt_nm_to_check; do
12365 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12366 + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
12367 + IFS="$lt_save_ifs"
12368 + test -z "$ac_dir" && ac_dir=.
12369 + tmp_nm="$ac_dir/$lt_tmp_nm"
12370 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
12371 + # Check to see if the nm accepts a BSD-compat flag.
12372 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
12373 + # nm: unknown option "B" ignored
12374 + # Tru64's nm complains that /dev/null is an invalid object file
12375 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
12376 + */dev/null* | *'Invalid file or object type'*)
12377 + lt_cv_path_NM="$tmp_nm -B"
12378 + break
12379 + ;;
12380 + *)
12381 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
12382 + */dev/null*)
12383 + lt_cv_path_NM="$tmp_nm -p"
12384 + break
12385 + ;;
12386 + *)
12387 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
12388 + continue # so that we can try to find one that supports BSD flags
12389 + ;;
12390 + esac
12391 + ;;
12392 + esac
12393 + fi
12394 + done
12395 + IFS="$lt_save_ifs"
12396 + done
12397 + : ${lt_cv_path_NM=no}
12398 +fi
12399 +fi
12400 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
12401 +$as_echo "$lt_cv_path_NM" >&6; }
12402 +if test "$lt_cv_path_NM" != "no"; then
12403 + NM="$lt_cv_path_NM"
12404 +else
12405 + # Didn't find any BSD compatible name lister, look for dumpbin.
12406 + if test -n "$ac_tool_prefix"; then
12407 + for ac_prog in "dumpbin -symbols" "link -dump -symbols"
12408 + do
12409 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12410 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12411 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12412 +$as_echo_n "checking for $ac_word... " >&6; }
12413 +if test "${ac_cv_prog_DUMPBIN+set}" = set; then
12414 + $as_echo_n "(cached) " >&6
12415 +else
12416 + if test -n "$DUMPBIN"; then
12417 + ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
12418 +else
12419 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12420 +for as_dir in $PATH
12421 +do
12422 + IFS=$as_save_IFS
12423 + test -z "$as_dir" && as_dir=.
12424 + for ac_exec_ext in '' $ac_executable_extensions; do
12425 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12426 + ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
12427 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12428 + break 2
12429 + fi
12430 +done
12431 +done
12432 +IFS=$as_save_IFS
12433 +
12434 +fi
12435 +fi
12436 +DUMPBIN=$ac_cv_prog_DUMPBIN
12437 +if test -n "$DUMPBIN"; then
12438 + { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
12439 +$as_echo "$DUMPBIN" >&6; }
12440 +else
12441 + { $as_echo "$as_me:$LINENO: result: no" >&5
12442 +$as_echo "no" >&6; }
12443 +fi
12444 +
12445 +
12446 + test -n "$DUMPBIN" && break
12447 + done
12448 +fi
12449 +if test -z "$DUMPBIN"; then
12450 + ac_ct_DUMPBIN=$DUMPBIN
12451 + for ac_prog in "dumpbin -symbols" "link -dump -symbols"
12452 +do
12453 + # Extract the first word of "$ac_prog", so it can be a program name with args.
12454 +set dummy $ac_prog; ac_word=$2
12455 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12456 +$as_echo_n "checking for $ac_word... " >&6; }
12457 +if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
12458 + $as_echo_n "(cached) " >&6
12459 +else
12460 + if test -n "$ac_ct_DUMPBIN"; then
12461 + ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
12462 +else
12463 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12464 +for as_dir in $PATH
12465 +do
12466 + IFS=$as_save_IFS
12467 + test -z "$as_dir" && as_dir=.
12468 + for ac_exec_ext in '' $ac_executable_extensions; do
12469 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12470 + ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
12471 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12472 + break 2
12473 + fi
12474 +done
12475 +done
12476 +IFS=$as_save_IFS
12477 +
12478 +fi
12479 +fi
12480 +ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
12481 +if test -n "$ac_ct_DUMPBIN"; then
12482 + { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
12483 +$as_echo "$ac_ct_DUMPBIN" >&6; }
12484 +else
12485 + { $as_echo "$as_me:$LINENO: result: no" >&5
12486 +$as_echo "no" >&6; }
12487 +fi
12488 +
12489 +
12490 + test -n "$ac_ct_DUMPBIN" && break
12491 +done
12492 +
12493 + if test "x$ac_ct_DUMPBIN" = x; then
12494 + DUMPBIN=":"
12495 + else
12496 + case $cross_compiling:$ac_tool_warned in
12497 +yes:)
12498 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12499 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12500 +ac_tool_warned=yes ;;
12501 +esac
12502 + DUMPBIN=$ac_ct_DUMPBIN
12503 + fi
12504 +fi
12505 +
12506 +
12507 + if test "$DUMPBIN" != ":"; then
12508 + NM="$DUMPBIN"
12509 + fi
12510 +fi
12511 +test -z "$NM" && NM=nm
12512 +
12513 +
12514 +
12515 +
12516 +
12517 +
12518 +{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
12519 +$as_echo_n "checking the name lister ($NM) interface... " >&6; }
12520 +if test "${lt_cv_nm_interface+set}" = set; then
12521 + $as_echo_n "(cached) " >&6
12522 +else
12523 + lt_cv_nm_interface="BSD nm"
12524 + echo "int some_variable = 0;" > conftest.$ac_ext
12525 + (eval echo "\"\$as_me:3682: $ac_compile\"" >&5)
12526 + (eval "$ac_compile" 2>conftest.err)
12527 + cat conftest.err >&5
12528 + (eval echo "\"\$as_me:3685: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
12529 + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
12530 + cat conftest.err >&5
12531 + (eval echo "\"\$as_me:3688: output\"" >&5)
12532 + cat conftest.out >&5
12533 + if $GREP 'External.*some_variable' conftest.out > /dev/null; then
12534 + lt_cv_nm_interface="MS dumpbin"
12535 + fi
12536 + rm -f conftest*
12537 +fi
12538 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
12539 +$as_echo "$lt_cv_nm_interface" >&6; }
12540 +
12541 +{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
12542 +$as_echo_n "checking whether ln -s works... " >&6; }
12543 +LN_S=$as_ln_s
12544 +if test "$LN_S" = "ln -s"; then
12545 + { $as_echo "$as_me:$LINENO: result: yes" >&5
12546 +$as_echo "yes" >&6; }
12547 +else
12548 + { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12549 +$as_echo "no, using $LN_S" >&6; }
12550 +fi
12551 +
12552 +# find the maximum length of command line arguments
12553 +{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
12554 +$as_echo_n "checking the maximum length of command line arguments... " >&6; }
12555 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then
12556 + $as_echo_n "(cached) " >&6
12557 +else
12558 + i=0
12559 + teststring="ABCD"
12560 +
12561 + case $build_os in
12562 + msdosdjgpp*)
12563 + # On DJGPP, this test can blow up pretty badly due to problems in libc
12564 + # (any single argument exceeding 2000 bytes causes a buffer overrun
12565 + # during glob expansion). Even if it were fixed, the result of this
12566 + # check would be larger than it should be.
12567 + lt_cv_sys_max_cmd_len=12288; # 12K is about right
12568 + ;;
12569 +
12570 + gnu*)
12571 + # Under GNU Hurd, this test is not required because there is
12572 + # no limit to the length of command line arguments.
12573 + # Libtool will interpret -1 as no limit whatsoever
12574 + lt_cv_sys_max_cmd_len=-1;
12575 + ;;
12576 +
12577 + cygwin* | mingw* | cegcc*)
12578 + # On Win9x/ME, this test blows up -- it succeeds, but takes
12579 + # about 5 minutes as the teststring grows exponentially.
12580 + # Worse, since 9x/ME are not pre-emptively multitasking,
12581 + # you end up with a "frozen" computer, even though with patience
12582 + # the test eventually succeeds (with a max line length of 256k).
12583 + # Instead, let's just punt: use the minimum linelength reported by
12584 + # all of the supported platforms: 8192 (on NT/2K/XP).
12585 + lt_cv_sys_max_cmd_len=8192;
12586 + ;;
12587 +
12588 + amigaos*)
12589 + # On AmigaOS with pdksh, this test takes hours, literally.
12590 + # So we just punt and use a minimum line length of 8192.
12591 + lt_cv_sys_max_cmd_len=8192;
12592 + ;;
12593 +
12594 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
12595 + # This has been around since 386BSD, at least. Likely further.
12596 + if test -x /sbin/sysctl; then
12597 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
12598 + elif test -x /usr/sbin/sysctl; then
12599 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
12600 + else
12601 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
12602 + fi
12603 + # And add a safety zone
12604 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
12605 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
12606 + ;;
12607 +
12608 + interix*)
12609 + # We know the value 262144 and hardcode it with a safety zone (like BSD)
12610 + lt_cv_sys_max_cmd_len=196608
12611 + ;;
12612 +
12613 + osf*)
12614 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
12615 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
12616 + # nice to cause kernel panics so lets avoid the loop below.
12617 + # First set a reasonable default.
12618 + lt_cv_sys_max_cmd_len=16384
12619 + #
12620 + if test -x /sbin/sysconfig; then
12621 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
12622 + *1*) lt_cv_sys_max_cmd_len=-1 ;;
12623 + esac
12624 + fi
12625 + ;;
12626 + sco3.2v5*)
12627 + lt_cv_sys_max_cmd_len=102400
12628 + ;;
12629 + sysv5* | sco5v6* | sysv4.2uw2*)
12630 + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
12631 + if test -n "$kargmax"; then
12632 + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
12633 + else
12634 + lt_cv_sys_max_cmd_len=32768
12635 + fi
12636 + ;;
12637 + *)
12638 + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
12639 + if test -n "$lt_cv_sys_max_cmd_len"; then
12640 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
12641 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
12642 + else
12643 + # Make teststring a little bigger before we do anything with it.
12644 + # a 1K string should be a reasonable start.
12645 + for i in 1 2 3 4 5 6 7 8 ; do
12646 + teststring=$teststring$teststring
12647 + done
12648 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
12649 + # If test is not a shell built-in, we'll probably end up computing a
12650 + # maximum length that is only half of the actual maximum length, but
12651 + # we can't tell.
12652 + while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
12653 + = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
12654 + test $i != 17 # 1/2 MB should be enough
12655 + do
12656 + i=`expr $i + 1`
12657 + teststring=$teststring$teststring
12658 + done
12659 + # Only check the string length outside the loop.
12660 + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
12661 + teststring=
12662 + # Add a significant safety factor because C++ compilers can tack on
12663 + # massive amounts of additional arguments before passing them to the
12664 + # linker. It appears as though 1/2 is a usable value.
12665 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
12666 + fi
12667 + ;;
12668 + esac
12669 +
12670 +fi
12671 +
12672 +if test -n $lt_cv_sys_max_cmd_len ; then
12673 + { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
12674 +$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
12675 +else
12676 + { $as_echo "$as_me:$LINENO: result: none" >&5
12677 +$as_echo "none" >&6; }
12678 +fi
12679 +max_cmd_len=$lt_cv_sys_max_cmd_len
12680 +
12681 +
12682 +
12683 +
12684 +
12685 +
12686 +: ${CP="cp -f"}
12687 +: ${MV="mv -f"}
12688 +: ${RM="rm -f"}
12689 +
12690 +{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
12691 +$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
12692 +# Try some XSI features
12693 +xsi_shell=no
12694 +( _lt_dummy="a/b/c"
12695 + test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
12696 + = c,a/b,, \
12697 + && eval 'test $(( 1 + 1 )) -eq 2 \
12698 + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
12699 + && xsi_shell=yes
12700 +{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
12701 +$as_echo "$xsi_shell" >&6; }
12702 +
12703 +
12704 +{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
12705 +$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
12706 +lt_shell_append=no
12707 +( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
12708 + >/dev/null 2>&1 \
12709 + && lt_shell_append=yes
12710 +{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
12711 +$as_echo "$lt_shell_append" >&6; }
12712 +
12713 +
12714 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12715 + lt_unset=unset
12716 +else
12717 + lt_unset=false
12718 +fi
12719 +
12720 +
12721 +
12722 +
12723 +
12724 +# test EBCDIC or ASCII
12725 +case `echo X|tr X '\101'` in
12726 + A) # ASCII based system
12727 + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
12728 + lt_SP2NL='tr \040 \012'
12729 + lt_NL2SP='tr \015\012 \040\040'
12730 + ;;
12731 + *) # EBCDIC based system
12732 + lt_SP2NL='tr \100 \n'
12733 + lt_NL2SP='tr \r\n \100\100'
12734 + ;;
12735 +esac
12736 +
12737 +
12738 +
12739 +
12740 +
12741 +
12742 +
12743 +
12744 +
12745 +{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
12746 +$as_echo_n "checking for $LD option to reload object files... " >&6; }
12747 +if test "${lt_cv_ld_reload_flag+set}" = set; then
12748 + $as_echo_n "(cached) " >&6
12749 +else
12750 + lt_cv_ld_reload_flag='-r'
12751 +fi
12752 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
12753 +$as_echo "$lt_cv_ld_reload_flag" >&6; }
12754 +reload_flag=$lt_cv_ld_reload_flag
12755 +case $reload_flag in
12756 +"" | " "*) ;;
12757 +*) reload_flag=" $reload_flag" ;;
12758 +esac
12759 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
12760 +case $host_os in
12761 + darwin*)
12762 + if test "$GCC" = yes; then
12763 + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
12764 + else
12765 + reload_cmds='$LD$reload_flag -o $output$reload_objs'
12766 + fi
12767 + ;;
12768 +esac
12769 +
12770 +
12771 +
12772 +
12773 +
12774 +
12775 +
12776 +
12777 +
12778 +if test -n "$ac_tool_prefix"; then
12779 + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
12780 +set dummy ${ac_tool_prefix}objdump; ac_word=$2
12781 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12782 +$as_echo_n "checking for $ac_word... " >&6; }
12783 +if test "${ac_cv_prog_OBJDUMP+set}" = set; then
12784 + $as_echo_n "(cached) " >&6
12785 +else
12786 + if test -n "$OBJDUMP"; then
12787 + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
12788 +else
12789 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12790 +for as_dir in $PATH
12791 +do
12792 + IFS=$as_save_IFS
12793 + test -z "$as_dir" && as_dir=.
12794 + for ac_exec_ext in '' $ac_executable_extensions; do
12795 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12796 + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
12797 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12798 + break 2
12799 + fi
12800 +done
12801 +done
12802 +IFS=$as_save_IFS
12803 +
12804 +fi
12805 +fi
12806 +OBJDUMP=$ac_cv_prog_OBJDUMP
12807 +if test -n "$OBJDUMP"; then
12808 + { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
12809 +$as_echo "$OBJDUMP" >&6; }
12810 +else
12811 + { $as_echo "$as_me:$LINENO: result: no" >&5
12812 +$as_echo "no" >&6; }
12813 +fi
12814 +
12815 +
12816 +fi
12817 +if test -z "$ac_cv_prog_OBJDUMP"; then
12818 + ac_ct_OBJDUMP=$OBJDUMP
12819 + # Extract the first word of "objdump", so it can be a program name with args.
12820 +set dummy objdump; ac_word=$2
12821 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12822 +$as_echo_n "checking for $ac_word... " >&6; }
12823 +if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
12824 + $as_echo_n "(cached) " >&6
12825 +else
12826 + if test -n "$ac_ct_OBJDUMP"; then
12827 + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
12828 +else
12829 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12830 +for as_dir in $PATH
12831 +do
12832 + IFS=$as_save_IFS
12833 + test -z "$as_dir" && as_dir=.
12834 + for ac_exec_ext in '' $ac_executable_extensions; do
12835 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12836 + ac_cv_prog_ac_ct_OBJDUMP="objdump"
12837 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12838 + break 2
12839 + fi
12840 +done
12841 +done
12842 +IFS=$as_save_IFS
12843 +
12844 +fi
12845 +fi
12846 +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
12847 +if test -n "$ac_ct_OBJDUMP"; then
12848 + { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
12849 +$as_echo "$ac_ct_OBJDUMP" >&6; }
12850 +else
12851 + { $as_echo "$as_me:$LINENO: result: no" >&5
12852 +$as_echo "no" >&6; }
12853 +fi
12854 +
12855 + if test "x$ac_ct_OBJDUMP" = x; then
12856 + OBJDUMP="false"
12857 + else
12858 + case $cross_compiling:$ac_tool_warned in
12859 +yes:)
12860 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12861 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12862 +ac_tool_warned=yes ;;
12863 +esac
12864 + OBJDUMP=$ac_ct_OBJDUMP
12865 + fi
12866 +else
12867 + OBJDUMP="$ac_cv_prog_OBJDUMP"
12868 +fi
12869 +
12870 +test -z "$OBJDUMP" && OBJDUMP=objdump
12871 +
12872 +
12873 +
12874 +
12875 +
12876 +
12877 +
12878 +
12879 +
12880 +{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
12881 +$as_echo_n "checking how to recognize dependent libraries... " >&6; }
12882 +if test "${lt_cv_deplibs_check_method+set}" = set; then
12883 + $as_echo_n "(cached) " >&6
12884 +else
12885 + lt_cv_file_magic_cmd='$MAGIC_CMD'
12886 +lt_cv_file_magic_test_file=
12887 +lt_cv_deplibs_check_method='unknown'
12888 +# Need to set the preceding variable on all platforms that support
12889 +# interlibrary dependencies.
12890 +# 'none' -- dependencies not supported.
12891 +# `unknown' -- same as none, but documents that we really don't know.
12892 +# 'pass_all' -- all dependencies passed with no checks.
12893 +# 'test_compile' -- check by making test program.
12894 +# 'file_magic [[regex]]' -- check by looking for files in library path
12895 +# which responds to the $file_magic_cmd with a given extended regex.
12896 +# If you have `file' or equivalent on your system and you're not sure
12897 +# whether `pass_all' will *always* work, you probably want this one.
12898 +
12899 +case $host_os in
12900 +aix[4-9]*)
12901 + lt_cv_deplibs_check_method=pass_all
12902 + ;;
12903 +
12904 +beos*)
12905 + lt_cv_deplibs_check_method=pass_all
12906 + ;;
12907 +
12908 +bsdi[45]*)
12909 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
12910 + lt_cv_file_magic_cmd='/usr/bin/file -L'
12911 + lt_cv_file_magic_test_file=/shlib/libc.so
12912 + ;;
12913 +
12914 +cygwin*)
12915 + # func_win32_libid is a shell function defined in ltmain.sh
12916 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12917 + lt_cv_file_magic_cmd='func_win32_libid'
12918 + ;;
12919 +
12920 +mingw* | pw32*)
12921 + # Base MSYS/MinGW do not provide the 'file' command needed by
12922 + # func_win32_libid shell function, so use a weaker test based on 'objdump',
12923 + # unless we find 'file', for example because we are cross-compiling.
12924 + if ( file / ) >/dev/null 2>&1; then
12925 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12926 + lt_cv_file_magic_cmd='func_win32_libid'
12927 + else
12928 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
12929 + lt_cv_file_magic_cmd='$OBJDUMP -f'
12930 + fi
12931 + ;;
12932 +
12933 +cegcc)
12934 + # use the weaker test based on 'objdump'. See mingw*.
12935 + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
12936 + lt_cv_file_magic_cmd='$OBJDUMP -f'
12937 + ;;
12938 +
12939 +darwin* | rhapsody*)
12940 + lt_cv_deplibs_check_method=pass_all
12941 + ;;
12942 +
12943 +freebsd* | dragonfly*)
12944 + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
12945 + case $host_cpu in
12946 + i*86 )
12947 + # Not sure whether the presence of OpenBSD here was a mistake.
12948 + # Let's accept both of them until this is cleared up.
12949 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
12950 + lt_cv_file_magic_cmd=/usr/bin/file
12951 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
12952 + ;;
12953 + esac
12954 + else
12955 + lt_cv_deplibs_check_method=pass_all
12956 + fi
12957 + ;;
12958 +
12959 +gnu*)
12960 + lt_cv_deplibs_check_method=pass_all
12961 + ;;
12962 +
12963 +hpux10.20* | hpux11*)
12964 + lt_cv_file_magic_cmd=/usr/bin/file
12965 + case $host_cpu in
12966 + ia64*)
12967 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
12968 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
12969 + ;;
12970 + hppa*64*)
12971 + 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]'
12972 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
12973 + ;;
12974 + *)
12975 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
12976 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
12977 + ;;
12978 + esac
12979 + ;;
12980 +
12981 +interix[3-9]*)
12982 + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
12983 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
12984 + ;;
12985 +
12986 +irix5* | irix6* | nonstopux*)
12987 + case $LD in
12988 + *-32|*"-32 ") libmagic=32-bit;;
12989 + *-n32|*"-n32 ") libmagic=N32;;
12990 + *-64|*"-64 ") libmagic=64-bit;;
12991 + *) libmagic=never-match;;
12992 + esac
12993 + lt_cv_deplibs_check_method=pass_all
12994 + ;;
12995 +
12996 +# This must be Linux ELF.
12997 +linux* | k*bsd*-gnu)
12998 + lt_cv_deplibs_check_method=pass_all
12999 + ;;
13000 +
13001 +netbsd*)
13002 + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
13003 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
13004 + else
13005 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
13006 + fi
13007 + ;;
13008 +
13009 +newos6*)
13010 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
13011 + lt_cv_file_magic_cmd=/usr/bin/file
13012 + lt_cv_file_magic_test_file=/usr/lib/libnls.so
13013 + ;;
13014 +
13015 +*nto* | *qnx*)
13016 + lt_cv_deplibs_check_method=pass_all
13017 + ;;
13018 +
13019 +openbsd*)
13020 + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13021 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
13022 + else
13023 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
13024 + fi
13025 + ;;
13026 +
13027 +osf3* | osf4* | osf5*)
13028 + lt_cv_deplibs_check_method=pass_all
13029 + ;;
13030 +
13031 +rdos*)
13032 + lt_cv_deplibs_check_method=pass_all
13033 + ;;
13034 +
13035 +solaris*)
13036 + lt_cv_deplibs_check_method=pass_all
13037 + ;;
13038 +
13039 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13040 + lt_cv_deplibs_check_method=pass_all
13041 + ;;
13042 +
13043 +sysv4 | sysv4.3*)
13044 + case $host_vendor in
13045 + motorola)
13046 + 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]'
13047 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
13048 + ;;
13049 + ncr)
13050 + lt_cv_deplibs_check_method=pass_all
13051 + ;;
13052 + sequent)
13053 + lt_cv_file_magic_cmd='/bin/file'
13054 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
13055 + ;;
13056 + sni)
13057 + lt_cv_file_magic_cmd='/bin/file'
13058 + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
13059 + lt_cv_file_magic_test_file=/lib/libc.so
13060 + ;;
13061 + siemens)
13062 + lt_cv_deplibs_check_method=pass_all
13063 + ;;
13064 + pc)
13065 + lt_cv_deplibs_check_method=pass_all
13066 + ;;
13067 + esac
13068 + ;;
13069 +
13070 +tpf*)
13071 + lt_cv_deplibs_check_method=pass_all
13072 + ;;
13073 +esac
13074 +
13075 +fi
13076 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
13077 +$as_echo "$lt_cv_deplibs_check_method" >&6; }
13078 +file_magic_cmd=$lt_cv_file_magic_cmd
13079 +deplibs_check_method=$lt_cv_deplibs_check_method
13080 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
13081 +
13082 +
13083 +
13084 +
13085 +
13086 +
13087 +
13088 +
13089 +
13090 +
13091 +
13092 +
13093 +if test -n "$ac_tool_prefix"; then
13094 + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13095 +set dummy ${ac_tool_prefix}ar; ac_word=$2
13096 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13097 +$as_echo_n "checking for $ac_word... " >&6; }
13098 +if test "${ac_cv_prog_AR+set}" = set; then
13099 + $as_echo_n "(cached) " >&6
13100 +else
13101 + if test -n "$AR"; then
13102 + ac_cv_prog_AR="$AR" # Let the user override the test.
13103 +else
13104 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13105 +for as_dir in $PATH
13106 +do
13107 + IFS=$as_save_IFS
13108 + test -z "$as_dir" && as_dir=.
13109 + for ac_exec_ext in '' $ac_executable_extensions; do
13110 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13111 + ac_cv_prog_AR="${ac_tool_prefix}ar"
13112 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13113 + break 2
13114 + fi
13115 +done
13116 +done
13117 +IFS=$as_save_IFS
13118 +
13119 +fi
13120 +fi
13121 +AR=$ac_cv_prog_AR
13122 +if test -n "$AR"; then
13123 + { $as_echo "$as_me:$LINENO: result: $AR" >&5
13124 +$as_echo "$AR" >&6; }
13125 +else
13126 + { $as_echo "$as_me:$LINENO: result: no" >&5
13127 +$as_echo "no" >&6; }
13128 +fi
13129 +
13130 +
13131 +fi
13132 +if test -z "$ac_cv_prog_AR"; then
13133 + ac_ct_AR=$AR
13134 + # Extract the first word of "ar", so it can be a program name with args.
13135 +set dummy ar; ac_word=$2
13136 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13137 +$as_echo_n "checking for $ac_word... " >&6; }
13138 +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
13139 + $as_echo_n "(cached) " >&6
13140 +else
13141 + if test -n "$ac_ct_AR"; then
13142 + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
13143 +else
13144 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13145 +for as_dir in $PATH
13146 +do
13147 + IFS=$as_save_IFS
13148 + test -z "$as_dir" && as_dir=.
13149 + for ac_exec_ext in '' $ac_executable_extensions; do
13150 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13151 + ac_cv_prog_ac_ct_AR="ar"
13152 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13153 + break 2
13154 + fi
13155 +done
13156 +done
13157 +IFS=$as_save_IFS
13158 +
13159 +fi
13160 +fi
13161 +ac_ct_AR=$ac_cv_prog_ac_ct_AR
13162 +if test -n "$ac_ct_AR"; then
13163 + { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
13164 +$as_echo "$ac_ct_AR" >&6; }
13165 +else
13166 + { $as_echo "$as_me:$LINENO: result: no" >&5
13167 +$as_echo "no" >&6; }
13168 +fi
13169 +
13170 + if test "x$ac_ct_AR" = x; then
13171 + AR="false"
13172 + else
13173 + case $cross_compiling:$ac_tool_warned in
13174 +yes:)
13175 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
13176 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13177 +ac_tool_warned=yes ;;
13178 +esac
13179 + AR=$ac_ct_AR
13180 + fi
13181 +else
13182 + AR="$ac_cv_prog_AR"
13183 +fi
13184 +
13185 +test -z "$AR" && AR=ar
13186 +test -z "$AR_FLAGS" && AR_FLAGS=cru
13187 +
13188 +
13189 +
13190 +
13191 +
13192 +
13193 +
13194 +
13195 +
13196 +
13197 +
13198 +if test -n "$ac_tool_prefix"; then
13199 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
13200 +set dummy ${ac_tool_prefix}strip; ac_word=$2
13201 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13202 +$as_echo_n "checking for $ac_word... " >&6; }
13203 +if test "${ac_cv_prog_STRIP+set}" = set; then
13204 + $as_echo_n "(cached) " >&6
13205 +else
13206 + if test -n "$STRIP"; then
13207 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
13208 +else
13209 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13210 +for as_dir in $PATH
13211 +do
13212 + IFS=$as_save_IFS
13213 + test -z "$as_dir" && as_dir=.
13214 + for ac_exec_ext in '' $ac_executable_extensions; do
13215 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13216 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
13217 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13218 + break 2
13219 + fi
13220 +done
13221 +done
13222 +IFS=$as_save_IFS
13223 +
13224 +fi
13225 +fi
13226 +STRIP=$ac_cv_prog_STRIP
13227 +if test -n "$STRIP"; then
13228 + { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
13229 +$as_echo "$STRIP" >&6; }
13230 +else
13231 + { $as_echo "$as_me:$LINENO: result: no" >&5
13232 +$as_echo "no" >&6; }
13233 +fi
13234 +
13235 +
13236 +fi
13237 +if test -z "$ac_cv_prog_STRIP"; then
13238 + ac_ct_STRIP=$STRIP
13239 + # Extract the first word of "strip", so it can be a program name with args.
13240 +set dummy strip; ac_word=$2
13241 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13242 +$as_echo_n "checking for $ac_word... " >&6; }
13243 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
13244 + $as_echo_n "(cached) " >&6
13245 +else
13246 + if test -n "$ac_ct_STRIP"; then
13247 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
13248 +else
13249 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13250 +for as_dir in $PATH
13251 +do
13252 + IFS=$as_save_IFS
13253 + test -z "$as_dir" && as_dir=.
13254 + for ac_exec_ext in '' $ac_executable_extensions; do
13255 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13256 + ac_cv_prog_ac_ct_STRIP="strip"
13257 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13258 + break 2
13259 + fi
13260 +done
13261 +done
13262 +IFS=$as_save_IFS
13263 +
13264 +fi
13265 +fi
13266 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
13267 +if test -n "$ac_ct_STRIP"; then
13268 + { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
13269 +$as_echo "$ac_ct_STRIP" >&6; }
13270 +else
13271 + { $as_echo "$as_me:$LINENO: result: no" >&5
13272 +$as_echo "no" >&6; }
13273 +fi
13274 +
13275 + if test "x$ac_ct_STRIP" = x; then
13276 + STRIP=":"
13277 + else
13278 + case $cross_compiling:$ac_tool_warned in
13279 +yes:)
13280 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
13281 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13282 +ac_tool_warned=yes ;;
13283 +esac
13284 + STRIP=$ac_ct_STRIP
13285 + fi
13286 +else
13287 + STRIP="$ac_cv_prog_STRIP"
13288 +fi
13289 +
13290 +test -z "$STRIP" && STRIP=:
13291 +
13292 +
13293 +
13294 +
13295 +
13296 +
13297 +if test -n "$ac_tool_prefix"; then
13298 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13299 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13300 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13301 +$as_echo_n "checking for $ac_word... " >&6; }
13302 +if test "${ac_cv_prog_RANLIB+set}" = set; then
13303 + $as_echo_n "(cached) " >&6
13304 +else
13305 + if test -n "$RANLIB"; then
13306 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13307 +else
13308 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13309 +for as_dir in $PATH
13310 +do
13311 + IFS=$as_save_IFS
13312 + test -z "$as_dir" && as_dir=.
13313 + for ac_exec_ext in '' $ac_executable_extensions; do
13314 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13315 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
13316 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13317 + break 2
13318 + fi
13319 +done
13320 +done
13321 +IFS=$as_save_IFS
13322 +
13323 +fi
13324 +fi
13325 +RANLIB=$ac_cv_prog_RANLIB
13326 +if test -n "$RANLIB"; then
13327 + { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
13328 +$as_echo "$RANLIB" >&6; }
13329 +else
13330 + { $as_echo "$as_me:$LINENO: result: no" >&5
13331 +$as_echo "no" >&6; }
13332 +fi
13333 +
13334 +
13335 +fi
13336 +if test -z "$ac_cv_prog_RANLIB"; then
13337 + ac_ct_RANLIB=$RANLIB
13338 + # Extract the first word of "ranlib", so it can be a program name with args.
13339 +set dummy ranlib; ac_word=$2
13340 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13341 +$as_echo_n "checking for $ac_word... " >&6; }
13342 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13343 + $as_echo_n "(cached) " >&6
13344 +else
13345 + if test -n "$ac_ct_RANLIB"; then
13346 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
13347 +else
13348 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13349 +for as_dir in $PATH
13350 +do
13351 + IFS=$as_save_IFS
13352 + test -z "$as_dir" && as_dir=.
13353 + for ac_exec_ext in '' $ac_executable_extensions; do
13354 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13355 + ac_cv_prog_ac_ct_RANLIB="ranlib"
13356 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13357 + break 2
13358 + fi
13359 +done
13360 +done
13361 +IFS=$as_save_IFS
13362 +
13363 +fi
13364 +fi
13365 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
13366 +if test -n "$ac_ct_RANLIB"; then
13367 + { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13368 +$as_echo "$ac_ct_RANLIB" >&6; }
13369 +else
13370 + { $as_echo "$as_me:$LINENO: result: no" >&5
13371 +$as_echo "no" >&6; }
13372 +fi
13373 +
13374 + if test "x$ac_ct_RANLIB" = x; then
13375 + RANLIB=":"
13376 + else
13377 + case $cross_compiling:$ac_tool_warned in
13378 +yes:)
13379 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
13380 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13381 +ac_tool_warned=yes ;;
13382 +esac
13383 + RANLIB=$ac_ct_RANLIB
13384 + fi
13385 +else
13386 + RANLIB="$ac_cv_prog_RANLIB"
13387 +fi
13388 +
13389 +test -z "$RANLIB" && RANLIB=:
13390 +
13391 +
13392 +
13393 +
13394 +
13395 +
13396 +# Determine commands to create old-style static archives.
13397 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
13398 +old_postinstall_cmds='chmod 644 $oldlib'
13399 +old_postuninstall_cmds=
13400 +
13401 +if test -n "$RANLIB"; then
13402 + case $host_os in
13403 + openbsd*)
13404 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
13405 + ;;
13406 + *)
13407 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
13408 + ;;
13409 + esac
13410 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
13411 +fi
13412 +
13413 +
13414 +
13415 +
13416 +
13417 +
13418 +
13419 +
13420 +
13421 +
13422 +
13423 +
13424 +
13425 +
13426 +
13427 +
13428 +
13429 +
13430 +
13431 +
13432 +
13433 +
13434 +
13435 +
13436 +
13437 +
13438 +
13439 +
13440 +
13441 +
13442 +
13443 +
13444 +
13445 +
13446 +# If no C compiler was specified, use CC.
13447 +LTCC=${LTCC-"$CC"}
13448 +
13449 +# If no C compiler flags were specified, use CFLAGS.
13450 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13451 +
13452 +# Allow CC to be a program name with arguments.
13453 +compiler=$CC
13454 +
13455 +
13456 +# Check for command to grab the raw symbol name followed by C symbol from nm.
13457 +{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
13458 +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
13459 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
13460 + $as_echo_n "(cached) " >&6
13461 +else
13462 +
13463 +# These are sane defaults that work on at least a few old systems.
13464 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
13465 +
13466 +# Character class describing NM global symbol codes.
13467 +symcode='[BCDEGRST]'
13468 +
13469 +# Regexp to match symbols that can be accessed directly from C.
13470 +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
13471 +
13472 +# Define system-specific variables.
13473 +case $host_os in
13474 +aix*)
13475 + symcode='[BCDT]'
13476 + ;;
13477 +cygwin* | mingw* | pw32* | cegcc*)
13478 + symcode='[ABCDGISTW]'
13479 + ;;
13480 +hpux*)
13481 + if test "$host_cpu" = ia64; then
13482 + symcode='[ABCDEGRST]'
13483 + fi
13484 + ;;
13485 +irix* | nonstopux*)
13486 + symcode='[BCDEGRST]'
13487 + ;;
13488 +osf*)
13489 + symcode='[BCDEGQRST]'
13490 + ;;
13491 +solaris*)
13492 + symcode='[BDRT]'
13493 + ;;
13494 +sco3.2v5*)
13495 + symcode='[DT]'
13496 + ;;
13497 +sysv4.2uw2*)
13498 + symcode='[DT]'
13499 + ;;
13500 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
13501 + symcode='[ABDT]'
13502 + ;;
13503 +sysv4)
13504 + symcode='[DFNSTU]'
13505 + ;;
13506 +esac
13507 +
13508 +# If we're using GNU nm, then use its standard symbol codes.
13509 +case `$NM -V 2>&1` in
13510 +*GNU* | *'with BFD'*)
13511 + symcode='[ABCDGIRSTW]' ;;
13512 +esac
13513 +
13514 +# Transform an extracted symbol line into a proper C declaration.
13515 +# Some systems (esp. on ia64) link data and code symbols differently,
13516 +# so use this general approach.
13517 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13518 +
13519 +# Transform an extracted symbol line into symbol name and symbol address
13520 +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
13521 +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'"
13522 +
13523 +# Handle CRLF in mingw tool chain
13524 +opt_cr=
13525 +case $build_os in
13526 +mingw*)
13527 + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
13528 + ;;
13529 +esac
13530 +
13531 +# Try without a prefix underscore, then with it.
13532 +for ac_symprfx in "" "_"; do
13533 +
13534 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
13535 + symxfrm="\\1 $ac_symprfx\\2 \\2"
13536 +
13537 + # Write the raw and C identifiers.
13538 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
13539 + # Fake it for dumpbin and say T for any non-static function
13540 + # and D for any global variable.
13541 + # Also find C++ and __fastcall symbols from MSVC++,
13542 + # which start with @ or ?.
13543 + lt_cv_sys_global_symbol_pipe="$AWK '"\
13544 +" {last_section=section; section=\$ 3};"\
13545 +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
13546 +" \$ 0!~/External *\|/{next};"\
13547 +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
13548 +" {if(hide[section]) next};"\
13549 +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
13550 +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
13551 +" s[1]~/^[@?]/{print s[1], s[1]; next};"\
13552 +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
13553 +" ' prfx=^$ac_symprfx"
13554 + else
13555 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
13556 + fi
13557 +
13558 + # Check to see that the pipe works correctly.
13559 + pipe_works=no
13560 +
13561 + rm -f conftest*
13562 + cat > conftest.$ac_ext <<_LT_EOF
13563 +#ifdef __cplusplus
13564 +extern "C" {
13565 +#endif
13566 +char nm_test_var;
13567 +void nm_test_func(void);
13568 +void nm_test_func(void){}
13569 +#ifdef __cplusplus
13570 +}
13571 +#endif
13572 +int main(){nm_test_var='a';nm_test_func();return(0);}
13573 +_LT_EOF
13574 +
13575 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13576 + (eval $ac_compile) 2>&5
13577 + ac_status=$?
13578 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13579 + (exit $ac_status); }; then
13580 + # Now try to grab the symbols.
13581 + nlist=conftest.nm
13582 + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
13583 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
13584 + ac_status=$?
13585 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13586 + (exit $ac_status); } && test -s "$nlist"; then
13587 + # Try sorting and uniquifying the output.
13588 + if sort "$nlist" | uniq > "$nlist"T; then
13589 + mv -f "$nlist"T "$nlist"
13590 + else
13591 + rm -f "$nlist"T
13592 + fi
13593 +
13594 + # Make sure that we snagged all the symbols we need.
13595 + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
13596 + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
13597 + cat <<_LT_EOF > conftest.$ac_ext
13598 +#ifdef __cplusplus
13599 +extern "C" {
13600 +#endif
13601 +
13602 +_LT_EOF
13603 + # Now generate the symbol file.
13604 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
13605 +
13606 + cat <<_LT_EOF >> conftest.$ac_ext
13607 +
13608 +/* The mapping between symbol names and symbols. */
13609 +const struct {
13610 + const char *name;
13611 + void *address;
13612 +}
13613 +lt__PROGRAM__LTX_preloaded_symbols[] =
13614 +{
13615 + { "@PROGRAM@", (void *) 0 },
13616 +_LT_EOF
13617 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
13618 + cat <<\_LT_EOF >> conftest.$ac_ext
13619 + {0, (void *) 0}
13620 +};
13621 +
13622 +/* This works around a problem in FreeBSD linker */
13623 +#ifdef FREEBSD_WORKAROUND
13624 +static const void *lt_preloaded_setup() {
13625 + return lt__PROGRAM__LTX_preloaded_symbols;
13626 +}
13627 +#endif
13628 +
13629 +#ifdef __cplusplus
13630 +}
13631 +#endif
13632 +_LT_EOF
13633 + # Now try linking the two files.
13634 + mv conftest.$ac_objext conftstm.$ac_objext
13635 + lt_save_LIBS="$LIBS"
13636 + lt_save_CFLAGS="$CFLAGS"
13637 + LIBS="conftstm.$ac_objext"
13638 + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
13639 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13640 + (eval $ac_link) 2>&5
13641 + ac_status=$?
13642 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13643 + (exit $ac_status); } && test -s conftest${ac_exeext}; then
13644 + pipe_works=yes
13645 + fi
13646 + LIBS="$lt_save_LIBS"
13647 + CFLAGS="$lt_save_CFLAGS"
13648 + else
13649 + echo "cannot find nm_test_func in $nlist" >&5
13650 + fi
13651 + else
13652 + echo "cannot find nm_test_var in $nlist" >&5
13653 + fi
13654 + else
13655 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
13656 + fi
13657 + else
13658 + echo "$progname: failed program was:" >&5
13659 + cat conftest.$ac_ext >&5
13660 + fi
13661 + rm -rf conftest* conftst*
13662 +
13663 + # Do not use the global_symbol_pipe unless it works.
13664 + if test "$pipe_works" = yes; then
13665 + break
13666 + else
13667 + lt_cv_sys_global_symbol_pipe=
13668 + fi
13669 +done
13670 +
13671 +fi
13672 +
13673 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
13674 + lt_cv_sys_global_symbol_to_cdecl=
13675 +fi
13676 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
13677 + { $as_echo "$as_me:$LINENO: result: failed" >&5
13678 +$as_echo "failed" >&6; }
13679 +else
13680 + { $as_echo "$as_me:$LINENO: result: ok" >&5
13681 +$as_echo "ok" >&6; }
13682 +fi
13683 +
13684 +
13685 +
13686 +
13687 +
13688 +
13689 +
13690 +
13691 +
13692 +
13693 +
13694 +
13695 +
13696 +
13697 +
13698 +
13699 +
13700 +
13701 +
13702 +
13703 +
13704 +
13705 +
13706 +# Check whether --enable-libtool-lock was given.
13707 +if test "${enable_libtool_lock+set}" = set; then
13708 + enableval=$enable_libtool_lock;
13709 +fi
13710 +
13711 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
13712 +
13713 +# Some flags need to be propagated to the compiler or linker for good
13714 +# libtool support.
13715 +case $host in
13716 +ia64-*-hpux*)
13717 + # Find out which ABI we are using.
13718 + echo 'int i;' > conftest.$ac_ext
13719 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13720 + (eval $ac_compile) 2>&5
13721 + ac_status=$?
13722 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723 + (exit $ac_status); }; then
13724 + case `/usr/bin/file conftest.$ac_objext` in
13725 + *ELF-32*)
13726 + HPUX_IA64_MODE="32"
13727 + ;;
13728 + *ELF-64*)
13729 + HPUX_IA64_MODE="64"
13730 + ;;
13731 + esac
13732 + fi
13733 + rm -rf conftest*
13734 + ;;
13735 +*-*-irix6*)
13736 + # Find out which ABI we are using.
13737 + echo '#line 4894 "configure"' > conftest.$ac_ext
13738 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13739 + (eval $ac_compile) 2>&5
13740 + ac_status=$?
13741 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13742 + (exit $ac_status); }; then
13743 + if test "$lt_cv_prog_gnu_ld" = yes; then
13744 + case `/usr/bin/file conftest.$ac_objext` in
13745 + *32-bit*)
13746 + LD="${LD-ld} -melf32bsmip"
13747 + ;;
13748 + *N32*)
13749 + LD="${LD-ld} -melf32bmipn32"
13750 + ;;
13751 + *64-bit*)
13752 + LD="${LD-ld} -melf64bmip"
13753 + ;;
13754 + esac
13755 + else
13756 + case `/usr/bin/file conftest.$ac_objext` in
13757 + *32-bit*)
13758 + LD="${LD-ld} -32"
13759 + ;;
13760 + *N32*)
13761 + LD="${LD-ld} -n32"
13762 + ;;
13763 + *64-bit*)
13764 + LD="${LD-ld} -64"
13765 + ;;
13766 + esac
13767 + fi
13768 + fi
13769 + rm -rf conftest*
13770 + ;;
13771 +
13772 +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
13773 +s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
13774 + # Find out which ABI we are using.
13775 + echo 'int i;' > conftest.$ac_ext
13776 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13777 + (eval $ac_compile) 2>&5
13778 + ac_status=$?
13779 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780 + (exit $ac_status); }; then
13781 + case `/usr/bin/file conftest.o` in
13782 + *32-bit*)
13783 + case $host in
13784 + x86_64-*kfreebsd*-gnu)
13785 + LD="${LD-ld} -m elf_i386_fbsd"
13786 + ;;
13787 + x86_64-*linux*)
13788 + LD="${LD-ld} -m elf_i386"
13789 + ;;
13790 + ppc64-*linux*|powerpc64-*linux*)
13791 + LD="${LD-ld} -m elf32ppclinux"
13792 + ;;
13793 + s390x-*linux*)
13794 + LD="${LD-ld} -m elf_s390"
13795 + ;;
13796 + sparc64-*linux*)
13797 + LD="${LD-ld} -m elf32_sparc"
13798 + ;;
13799 + esac
13800 + ;;
13801 + *64-bit*)
13802 + case $host in
13803 + x86_64-*kfreebsd*-gnu)
13804 + LD="${LD-ld} -m elf_x86_64_fbsd"
13805 + ;;
13806 + x86_64-*linux*)
13807 + LD="${LD-ld} -m elf_x86_64"
13808 + ;;
13809 + ppc*-*linux*|powerpc*-*linux*)
13810 + LD="${LD-ld} -m elf64ppc"
13811 + ;;
13812 + s390*-*linux*|s390*-*tpf*)
13813 + LD="${LD-ld} -m elf64_s390"
13814 + ;;
13815 + sparc*-*linux*)
13816 + LD="${LD-ld} -m elf64_sparc"
13817 + ;;
13818 + esac
13819 + ;;
13820 + esac
13821 + fi
13822 + rm -rf conftest*
13823 + ;;
13824 +
13825 +*-*-sco3.2v5*)
13826 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
13827 + SAVE_CFLAGS="$CFLAGS"
13828 + CFLAGS="$CFLAGS -belf"
13829 + { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
13830 +$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
13831 +if test "${lt_cv_cc_needs_belf+set}" = set; then
13832 + $as_echo_n "(cached) " >&6
13833 +else
13834 + ac_ext=c
13835 +ac_cpp='$CPP $CPPFLAGS'
13836 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13837 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13838 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
13839 +
13840 + cat >conftest.$ac_ext <<_ACEOF
13841 +/* confdefs.h. */
13842 +_ACEOF
13843 +cat confdefs.h >>conftest.$ac_ext
13844 +cat >>conftest.$ac_ext <<_ACEOF
13845 +/* end confdefs.h. */
13846 +
13847 +int
13848 +main ()
13849 +{
13850 +
13851 + ;
13852 + return 0;
13853 +}
13854 +_ACEOF
13855 +rm -f conftest.$ac_objext conftest$ac_exeext
13856 +if { (ac_try="$ac_link"
13857 +case "(($ac_try" in
13858 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13859 + *) ac_try_echo=$ac_try;;
13860 +esac
13861 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13862 +$as_echo "$ac_try_echo") >&5
13863 + (eval "$ac_link") 2>conftest.er1
13864 + ac_status=$?
13865 + grep -v '^ *+' conftest.er1 >conftest.err
13866 + rm -f conftest.er1
13867 + cat conftest.err >&5
13868 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13869 + (exit $ac_status); } && {
13870 + test -z "$ac_c_werror_flag" ||
13871 + test ! -s conftest.err
13872 + } && test -s conftest$ac_exeext && {
13873 + test "$cross_compiling" = yes ||
13874 + $as_test_x conftest$ac_exeext
13875 + }; then
13876 + lt_cv_cc_needs_belf=yes
13877 +else
13878 + $as_echo "$as_me: failed program was:" >&5
13879 +sed 's/^/| /' conftest.$ac_ext >&5
13880 +
13881 + lt_cv_cc_needs_belf=no
13882 +fi
13883 +
13884 +rm -rf conftest.dSYM
13885 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13886 + conftest$ac_exeext conftest.$ac_ext
13887 + ac_ext=c
13888 +ac_cpp='$CPP $CPPFLAGS'
13889 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13890 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13891 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
13892 +
13893 +fi
13894 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
13895 +$as_echo "$lt_cv_cc_needs_belf" >&6; }
13896 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
13897 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
13898 + CFLAGS="$SAVE_CFLAGS"
13899 + fi
13900 + ;;
13901 +sparc*-*solaris*)
13902 + # Find out which ABI we are using.
13903 + echo 'int i;' > conftest.$ac_ext
13904 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13905 + (eval $ac_compile) 2>&5
13906 + ac_status=$?
13907 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13908 + (exit $ac_status); }; then
13909 + case `/usr/bin/file conftest.o` in
13910 + *64-bit*)
13911 + case $lt_cv_prog_gnu_ld in
13912 + yes*) LD="${LD-ld} -m elf64_sparc" ;;
13913 + *)
13914 + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
13915 + LD="${LD-ld} -64"
13916 + fi
13917 + ;;
13918 + esac
13919 + ;;
13920 + esac
13921 + fi
13922 + rm -rf conftest*
13923 + ;;
13924 +esac
13925 +
13926 +need_locks="$enable_libtool_lock"
13927 +
13928 +
13929 + case $host_os in
13930 + rhapsody* | darwin*)
13931 + if test -n "$ac_tool_prefix"; then
13932 + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
13933 +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
13934 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13935 +$as_echo_n "checking for $ac_word... " >&6; }
13936 +if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
13937 + $as_echo_n "(cached) " >&6
13938 +else
13939 + if test -n "$DSYMUTIL"; then
13940 + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
13941 +else
13942 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13943 +for as_dir in $PATH
13944 +do
13945 + IFS=$as_save_IFS
13946 + test -z "$as_dir" && as_dir=.
13947 + for ac_exec_ext in '' $ac_executable_extensions; do
13948 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13949 + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
13950 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13951 + break 2
13952 + fi
13953 +done
13954 +done
13955 +IFS=$as_save_IFS
13956 +
13957 +fi
13958 +fi
13959 +DSYMUTIL=$ac_cv_prog_DSYMUTIL
13960 +if test -n "$DSYMUTIL"; then
13961 + { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
13962 +$as_echo "$DSYMUTIL" >&6; }
13963 +else
13964 + { $as_echo "$as_me:$LINENO: result: no" >&5
13965 +$as_echo "no" >&6; }
13966 +fi
13967 +
13968 +
13969 +fi
13970 +if test -z "$ac_cv_prog_DSYMUTIL"; then
13971 + ac_ct_DSYMUTIL=$DSYMUTIL
13972 + # Extract the first word of "dsymutil", so it can be a program name with args.
13973 +set dummy dsymutil; ac_word=$2
13974 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13975 +$as_echo_n "checking for $ac_word... " >&6; }
13976 +if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
13977 + $as_echo_n "(cached) " >&6
13978 +else
13979 + if test -n "$ac_ct_DSYMUTIL"; then
13980 + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
13981 +else
13982 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13983 +for as_dir in $PATH
13984 +do
13985 + IFS=$as_save_IFS
13986 + test -z "$as_dir" && as_dir=.
13987 + for ac_exec_ext in '' $ac_executable_extensions; do
13988 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13989 + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
13990 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13991 + break 2
13992 + fi
13993 +done
13994 +done
13995 +IFS=$as_save_IFS
13996 +
13997 +fi
13998 +fi
13999 +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
14000 +if test -n "$ac_ct_DSYMUTIL"; then
14001 + { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
14002 +$as_echo "$ac_ct_DSYMUTIL" >&6; }
14003 +else
14004 + { $as_echo "$as_me:$LINENO: result: no" >&5
14005 +$as_echo "no" >&6; }
14006 +fi
14007 +
14008 + if test "x$ac_ct_DSYMUTIL" = x; then
14009 + DSYMUTIL=":"
14010 + else
14011 + case $cross_compiling:$ac_tool_warned in
14012 +yes:)
14013 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
14014 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14015 +ac_tool_warned=yes ;;
14016 +esac
14017 + DSYMUTIL=$ac_ct_DSYMUTIL
14018 + fi
14019 +else
14020 + DSYMUTIL="$ac_cv_prog_DSYMUTIL"
14021 +fi
14022 +
14023 + if test -n "$ac_tool_prefix"; then
14024 + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
14025 +set dummy ${ac_tool_prefix}nmedit; ac_word=$2
14026 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14027 +$as_echo_n "checking for $ac_word... " >&6; }
14028 +if test "${ac_cv_prog_NMEDIT+set}" = set; then
14029 + $as_echo_n "(cached) " >&6
14030 +else
14031 + if test -n "$NMEDIT"; then
14032 + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
14033 +else
14034 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14035 +for as_dir in $PATH
14036 +do
14037 + IFS=$as_save_IFS
14038 + test -z "$as_dir" && as_dir=.
14039 + for ac_exec_ext in '' $ac_executable_extensions; do
14040 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14041 + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
14042 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14043 + break 2
14044 + fi
14045 +done
14046 +done
14047 +IFS=$as_save_IFS
14048 +
14049 +fi
14050 +fi
14051 +NMEDIT=$ac_cv_prog_NMEDIT
14052 +if test -n "$NMEDIT"; then
14053 + { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
14054 +$as_echo "$NMEDIT" >&6; }
14055 +else
14056 + { $as_echo "$as_me:$LINENO: result: no" >&5
14057 +$as_echo "no" >&6; }
14058 +fi
14059 +
14060 +
14061 +fi
14062 +if test -z "$ac_cv_prog_NMEDIT"; then
14063 + ac_ct_NMEDIT=$NMEDIT
14064 + # Extract the first word of "nmedit", so it can be a program name with args.
14065 +set dummy nmedit; ac_word=$2
14066 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14067 +$as_echo_n "checking for $ac_word... " >&6; }
14068 +if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
14069 + $as_echo_n "(cached) " >&6
14070 +else
14071 + if test -n "$ac_ct_NMEDIT"; then
14072 + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
14073 +else
14074 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14075 +for as_dir in $PATH
14076 +do
14077 + IFS=$as_save_IFS
14078 + test -z "$as_dir" && as_dir=.
14079 + for ac_exec_ext in '' $ac_executable_extensions; do
14080 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14081 + ac_cv_prog_ac_ct_NMEDIT="nmedit"
14082 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14083 + break 2
14084 + fi
14085 +done
14086 +done
14087 +IFS=$as_save_IFS
14088 +
14089 +fi
14090 +fi
14091 +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
14092 +if test -n "$ac_ct_NMEDIT"; then
14093 + { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
14094 +$as_echo "$ac_ct_NMEDIT" >&6; }
14095 +else
14096 + { $as_echo "$as_me:$LINENO: result: no" >&5
14097 +$as_echo "no" >&6; }
14098 +fi
14099 +
14100 + if test "x$ac_ct_NMEDIT" = x; then
14101 + NMEDIT=":"
14102 + else
14103 + case $cross_compiling:$ac_tool_warned in
14104 +yes:)
14105 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
14106 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14107 +ac_tool_warned=yes ;;
14108 +esac
14109 + NMEDIT=$ac_ct_NMEDIT
14110 + fi
14111 +else
14112 + NMEDIT="$ac_cv_prog_NMEDIT"
14113 +fi
14114 +
14115 + if test -n "$ac_tool_prefix"; then
14116 + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
14117 +set dummy ${ac_tool_prefix}lipo; ac_word=$2
14118 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14119 +$as_echo_n "checking for $ac_word... " >&6; }
14120 +if test "${ac_cv_prog_LIPO+set}" = set; then
14121 + $as_echo_n "(cached) " >&6
14122 +else
14123 + if test -n "$LIPO"; then
14124 + ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
14125 +else
14126 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14127 +for as_dir in $PATH
14128 +do
14129 + IFS=$as_save_IFS
14130 + test -z "$as_dir" && as_dir=.
14131 + for ac_exec_ext in '' $ac_executable_extensions; do
14132 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14133 + ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
14134 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14135 + break 2
14136 + fi
14137 +done
14138 +done
14139 +IFS=$as_save_IFS
14140 +
14141 +fi
14142 +fi
14143 +LIPO=$ac_cv_prog_LIPO
14144 +if test -n "$LIPO"; then
14145 + { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
14146 +$as_echo "$LIPO" >&6; }
14147 +else
14148 + { $as_echo "$as_me:$LINENO: result: no" >&5
14149 +$as_echo "no" >&6; }
14150 +fi
14151 +
14152 +
14153 +fi
14154 +if test -z "$ac_cv_prog_LIPO"; then
14155 + ac_ct_LIPO=$LIPO
14156 + # Extract the first word of "lipo", so it can be a program name with args.
14157 +set dummy lipo; ac_word=$2
14158 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14159 +$as_echo_n "checking for $ac_word... " >&6; }
14160 +if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
14161 + $as_echo_n "(cached) " >&6
14162 +else
14163 + if test -n "$ac_ct_LIPO"; then
14164 + ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
14165 +else
14166 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14167 +for as_dir in $PATH
14168 +do
14169 + IFS=$as_save_IFS
14170 + test -z "$as_dir" && as_dir=.
14171 + for ac_exec_ext in '' $ac_executable_extensions; do
14172 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14173 + ac_cv_prog_ac_ct_LIPO="lipo"
14174 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14175 + break 2
14176 + fi
14177 +done
14178 +done
14179 +IFS=$as_save_IFS
14180 +
14181 +fi
14182 +fi
14183 +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
14184 +if test -n "$ac_ct_LIPO"; then
14185 + { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
14186 +$as_echo "$ac_ct_LIPO" >&6; }
14187 +else
14188 + { $as_echo "$as_me:$LINENO: result: no" >&5
14189 +$as_echo "no" >&6; }
14190 +fi
14191 +
14192 + if test "x$ac_ct_LIPO" = x; then
14193 + LIPO=":"
14194 + else
14195 + case $cross_compiling:$ac_tool_warned in
14196 +yes:)
14197 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
14198 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14199 +ac_tool_warned=yes ;;
14200 +esac
14201 + LIPO=$ac_ct_LIPO
14202 + fi
14203 +else
14204 + LIPO="$ac_cv_prog_LIPO"
14205 +fi
14206 +
14207 + if test -n "$ac_tool_prefix"; then
14208 + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
14209 +set dummy ${ac_tool_prefix}otool; ac_word=$2
14210 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14211 +$as_echo_n "checking for $ac_word... " >&6; }
14212 +if test "${ac_cv_prog_OTOOL+set}" = set; then
14213 + $as_echo_n "(cached) " >&6
14214 +else
14215 + if test -n "$OTOOL"; then
14216 + ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
14217 +else
14218 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14219 +for as_dir in $PATH
14220 +do
14221 + IFS=$as_save_IFS
14222 + test -z "$as_dir" && as_dir=.
14223 + for ac_exec_ext in '' $ac_executable_extensions; do
14224 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14225 + ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
14226 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14227 + break 2
14228 + fi
14229 +done
14230 +done
14231 +IFS=$as_save_IFS
14232 +
14233 +fi
14234 +fi
14235 +OTOOL=$ac_cv_prog_OTOOL
14236 +if test -n "$OTOOL"; then
14237 + { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
14238 +$as_echo "$OTOOL" >&6; }
14239 +else
14240 + { $as_echo "$as_me:$LINENO: result: no" >&5
14241 +$as_echo "no" >&6; }
14242 +fi
14243 +
14244 +
14245 +fi
14246 +if test -z "$ac_cv_prog_OTOOL"; then
14247 + ac_ct_OTOOL=$OTOOL
14248 + # Extract the first word of "otool", so it can be a program name with args.
14249 +set dummy otool; ac_word=$2
14250 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14251 +$as_echo_n "checking for $ac_word... " >&6; }
14252 +if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
14253 + $as_echo_n "(cached) " >&6
14254 +else
14255 + if test -n "$ac_ct_OTOOL"; then
14256 + ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
14257 +else
14258 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14259 +for as_dir in $PATH
14260 +do
14261 + IFS=$as_save_IFS
14262 + test -z "$as_dir" && as_dir=.
14263 + for ac_exec_ext in '' $ac_executable_extensions; do
14264 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14265 + ac_cv_prog_ac_ct_OTOOL="otool"
14266 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14267 + break 2
14268 + fi
14269 +done
14270 +done
14271 +IFS=$as_save_IFS
14272 +
14273 +fi
14274 +fi
14275 +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
14276 +if test -n "$ac_ct_OTOOL"; then
14277 + { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
14278 +$as_echo "$ac_ct_OTOOL" >&6; }
14279 +else
14280 + { $as_echo "$as_me:$LINENO: result: no" >&5
14281 +$as_echo "no" >&6; }
14282 +fi
14283 +
14284 + if test "x$ac_ct_OTOOL" = x; then
14285 + OTOOL=":"
14286 + else
14287 + case $cross_compiling:$ac_tool_warned in
14288 +yes:)
14289 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
14290 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14291 +ac_tool_warned=yes ;;
14292 +esac
14293 + OTOOL=$ac_ct_OTOOL
14294 + fi
14295 +else
14296 + OTOOL="$ac_cv_prog_OTOOL"
14297 +fi
14298 +
14299 + if test -n "$ac_tool_prefix"; then
14300 + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
14301 +set dummy ${ac_tool_prefix}otool64; ac_word=$2
14302 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14303 +$as_echo_n "checking for $ac_word... " >&6; }
14304 +if test "${ac_cv_prog_OTOOL64+set}" = set; then
14305 + $as_echo_n "(cached) " >&6
14306 +else
14307 + if test -n "$OTOOL64"; then
14308 + ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
14309 +else
14310 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14311 +for as_dir in $PATH
14312 +do
14313 + IFS=$as_save_IFS
14314 + test -z "$as_dir" && as_dir=.
14315 + for ac_exec_ext in '' $ac_executable_extensions; do
14316 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14317 + ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
14318 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14319 + break 2
14320 + fi
14321 +done
14322 +done
14323 +IFS=$as_save_IFS
14324 +
14325 +fi
14326 +fi
14327 +OTOOL64=$ac_cv_prog_OTOOL64
14328 +if test -n "$OTOOL64"; then
14329 + { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
14330 +$as_echo "$OTOOL64" >&6; }
14331 +else
14332 + { $as_echo "$as_me:$LINENO: result: no" >&5
14333 +$as_echo "no" >&6; }
14334 +fi
14335 +
14336 +
14337 +fi
14338 +if test -z "$ac_cv_prog_OTOOL64"; then
14339 + ac_ct_OTOOL64=$OTOOL64
14340 + # Extract the first word of "otool64", so it can be a program name with args.
14341 +set dummy otool64; ac_word=$2
14342 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14343 +$as_echo_n "checking for $ac_word... " >&6; }
14344 +if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
14345 + $as_echo_n "(cached) " >&6
14346 +else
14347 + if test -n "$ac_ct_OTOOL64"; then
14348 + ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
14349 +else
14350 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14351 +for as_dir in $PATH
14352 +do
14353 + IFS=$as_save_IFS
14354 + test -z "$as_dir" && as_dir=.
14355 + for ac_exec_ext in '' $ac_executable_extensions; do
14356 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14357 + ac_cv_prog_ac_ct_OTOOL64="otool64"
14358 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14359 + break 2
14360 + fi
14361 +done
14362 +done
14363 +IFS=$as_save_IFS
14364 +
14365 +fi
14366 +fi
14367 +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
14368 +if test -n "$ac_ct_OTOOL64"; then
14369 + { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
14370 +$as_echo "$ac_ct_OTOOL64" >&6; }
14371 +else
14372 + { $as_echo "$as_me:$LINENO: result: no" >&5
14373 +$as_echo "no" >&6; }
14374 +fi
14375 +
14376 + if test "x$ac_ct_OTOOL64" = x; then
14377 + OTOOL64=":"
14378 + else
14379 + case $cross_compiling:$ac_tool_warned in
14380 +yes:)
14381 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
14382 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14383 +ac_tool_warned=yes ;;
14384 +esac
14385 + OTOOL64=$ac_ct_OTOOL64
14386 + fi
14387 +else
14388 + OTOOL64="$ac_cv_prog_OTOOL64"
14389 +fi
14390 +
14391 +
14392 +
14393 +
14394 +
14395 +
14396 +
14397 +
14398 +
14399 +
14400 +
14401 +
14402 +
14403 +
14404 +
14405 +
14406 +
14407 +
14408 +
14409 +
14410 +
14411 +
14412 +
14413 +
14414 +
14415 +
14416 +
14417 + { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
14418 +$as_echo_n "checking for -single_module linker flag... " >&6; }
14419 +if test "${lt_cv_apple_cc_single_mod+set}" = set; then
14420 + $as_echo_n "(cached) " >&6
14421 +else
14422 + lt_cv_apple_cc_single_mod=no
14423 + if test -z "${LT_MULTI_MODULE}"; then
14424 + # By default we will add the -single_module flag. You can override
14425 + # by either setting the environment variable LT_MULTI_MODULE
14426 + # non-empty at configure time, or by adding -multi_module to the
14427 + # link flags.
14428 + rm -rf libconftest.dylib*
14429 + echo "int foo(void){return 1;}" > conftest.c
14430 + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
14431 +-dynamiclib -Wl,-single_module conftest.c" >&5
14432 + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
14433 + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
14434 + _lt_result=$?
14435 + if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
14436 + lt_cv_apple_cc_single_mod=yes
14437 + else
14438 + cat conftest.err >&5
14439 + fi
14440 + rm -rf libconftest.dylib*
14441 + rm -f conftest.*
14442 + fi
14443 +fi
14444 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
14445 +$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
14446 + { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
14447 +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
14448 +if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
14449 + $as_echo_n "(cached) " >&6
14450 +else
14451 + lt_cv_ld_exported_symbols_list=no
14452 + save_LDFLAGS=$LDFLAGS
14453 + echo "_main" > conftest.sym
14454 + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
14455 + cat >conftest.$ac_ext <<_ACEOF
14456 +/* confdefs.h. */
14457 +_ACEOF
14458 +cat confdefs.h >>conftest.$ac_ext
14459 +cat >>conftest.$ac_ext <<_ACEOF
14460 +/* end confdefs.h. */
14461 +
14462 +int
14463 +main ()
14464 +{
14465 +
14466 + ;
14467 + return 0;
14468 +}
14469 +_ACEOF
14470 +rm -f conftest.$ac_objext conftest$ac_exeext
14471 +if { (ac_try="$ac_link"
14472 +case "(($ac_try" in
14473 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14474 + *) ac_try_echo=$ac_try;;
14475 +esac
14476 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14477 +$as_echo "$ac_try_echo") >&5
14478 + (eval "$ac_link") 2>conftest.er1
14479 + ac_status=$?
14480 + grep -v '^ *+' conftest.er1 >conftest.err
14481 + rm -f conftest.er1
14482 + cat conftest.err >&5
14483 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14484 + (exit $ac_status); } && {
14485 + test -z "$ac_c_werror_flag" ||
14486 + test ! -s conftest.err
14487 + } && test -s conftest$ac_exeext && {
14488 + test "$cross_compiling" = yes ||
14489 + $as_test_x conftest$ac_exeext
14490 + }; then
14491 + lt_cv_ld_exported_symbols_list=yes
14492 +else
14493 + $as_echo "$as_me: failed program was:" >&5
14494 +sed 's/^/| /' conftest.$ac_ext >&5
14495 +
14496 + lt_cv_ld_exported_symbols_list=no
14497 +fi
14498 +
14499 +rm -rf conftest.dSYM
14500 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14501 + conftest$ac_exeext conftest.$ac_ext
14502 + LDFLAGS="$save_LDFLAGS"
14503 +
14504 +fi
14505 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
14506 +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
14507 + case $host_os in
14508 + rhapsody* | darwin1.[012])
14509 + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
14510 + darwin1.*)
14511 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
14512 + darwin*) # darwin 5.x on
14513 + # if running on 10.5 or later, the deployment target defaults
14514 + # to the OS version, if on x86, and 10.4, the deployment
14515 + # target defaults to 10.4. Don't you love it?
14516 + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
14517 + 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
14518 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
14519 + 10.[012]*)
14520 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
14521 + 10.*)
14522 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
14523 + esac
14524 + ;;
14525 + esac
14526 + if test "$lt_cv_apple_cc_single_mod" = "yes"; then
14527 + _lt_dar_single_mod='$single_module'
14528 + fi
14529 + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
14530 + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
14531 + else
14532 + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
14533 + fi
14534 + if test "$DSYMUTIL" != ":"; then
14535 + _lt_dsymutil='~$DSYMUTIL $lib || :'
14536 + else
14537 + _lt_dsymutil=
14538 + fi
14539 + ;;
14540 + esac
14541 +
14542 +ac_ext=c
14543 +ac_cpp='$CPP $CPPFLAGS'
14544 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14545 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14546 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
14547 +{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14548 +$as_echo_n "checking how to run the C preprocessor... " >&6; }
14549 +# On Suns, sometimes $CPP names a directory.
14550 +if test -n "$CPP" && test -d "$CPP"; then
14551 + CPP=
14552 +fi
14553 +if test -z "$CPP"; then
14554 + if test "${ac_cv_prog_CPP+set}" = set; then
14555 + $as_echo_n "(cached) " >&6
14556 +else
14557 + # Double quotes because CPP needs to be expanded
14558 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14559 + do
14560 + ac_preproc_ok=false
14561 +for ac_c_preproc_warn_flag in '' yes
14562 +do
14563 + # Use a header file that comes with gcc, so configuring glibc
14564 + # with a fresh cross-compiler works.
14565 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14566 + # <limits.h> exists even on freestanding compilers.
14567 + # On the NeXT, cc -E runs the code through the compiler's parser,
14568 + # not just through cpp. "Syntax error" is here to catch this case.
14569 + cat >conftest.$ac_ext <<_ACEOF
14570 +/* confdefs.h. */
14571 +_ACEOF
14572 +cat confdefs.h >>conftest.$ac_ext
14573 +cat >>conftest.$ac_ext <<_ACEOF
14574 +/* end confdefs.h. */
14575 +#ifdef __STDC__
14576 +# include <limits.h>
14577 +#else
14578 +# include <assert.h>
14579 +#endif
14580 + Syntax error
14581 +_ACEOF
14582 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14583 +case "(($ac_try" in
14584 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14585 + *) ac_try_echo=$ac_try;;
14586 +esac
14587 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14588 +$as_echo "$ac_try_echo") >&5
14589 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14590 + ac_status=$?
14591 + grep -v '^ *+' conftest.er1 >conftest.err
14592 + rm -f conftest.er1
14593 + cat conftest.err >&5
14594 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 + (exit $ac_status); } >/dev/null && {
14596 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14597 + test ! -s conftest.err
14598 + }; then
14599 + :
14600 +else
14601 + $as_echo "$as_me: failed program was:" >&5
14602 +sed 's/^/| /' conftest.$ac_ext >&5
14603 +
14604 + # Broken: fails on valid input.
14605 +continue
14606 +fi
14607 +
14608 +rm -f conftest.err conftest.$ac_ext
14609 +
14610 + # OK, works on sane cases. Now check whether nonexistent headers
14611 + # can be detected and how.
14612 + cat >conftest.$ac_ext <<_ACEOF
14613 +/* confdefs.h. */
14614 +_ACEOF
14615 +cat confdefs.h >>conftest.$ac_ext
14616 +cat >>conftest.$ac_ext <<_ACEOF
14617 +/* end confdefs.h. */
14618 +#include <ac_nonexistent.h>
14619 +_ACEOF
14620 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14621 +case "(($ac_try" in
14622 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14623 + *) ac_try_echo=$ac_try;;
14624 +esac
14625 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14626 +$as_echo "$ac_try_echo") >&5
14627 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14628 + ac_status=$?
14629 + grep -v '^ *+' conftest.er1 >conftest.err
14630 + rm -f conftest.er1
14631 + cat conftest.err >&5
14632 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 + (exit $ac_status); } >/dev/null && {
14634 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14635 + test ! -s conftest.err
14636 + }; then
14637 + # Broken: success on invalid input.
14638 +continue
14639 +else
14640 + $as_echo "$as_me: failed program was:" >&5
14641 +sed 's/^/| /' conftest.$ac_ext >&5
14642 +
14643 + # Passes both tests.
14644 +ac_preproc_ok=:
14645 +break
14646 +fi
14647 +
14648 +rm -f conftest.err conftest.$ac_ext
14649 +
14650 +done
14651 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14652 +rm -f conftest.err conftest.$ac_ext
14653 +if $ac_preproc_ok; then
14654 + break
14655 +fi
14656 +
14657 + done
14658 + ac_cv_prog_CPP=$CPP
14659 +
14660 +fi
14661 + CPP=$ac_cv_prog_CPP
14662 +else
14663 + ac_cv_prog_CPP=$CPP
14664 +fi
14665 +{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
14666 +$as_echo "$CPP" >&6; }
14667 +ac_preproc_ok=false
14668 +for ac_c_preproc_warn_flag in '' yes
14669 +do
14670 + # Use a header file that comes with gcc, so configuring glibc
14671 + # with a fresh cross-compiler works.
14672 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14673 + # <limits.h> exists even on freestanding compilers.
14674 + # On the NeXT, cc -E runs the code through the compiler's parser,
14675 + # not just through cpp. "Syntax error" is here to catch this case.
14676 + cat >conftest.$ac_ext <<_ACEOF
14677 +/* confdefs.h. */
14678 +_ACEOF
14679 +cat confdefs.h >>conftest.$ac_ext
14680 +cat >>conftest.$ac_ext <<_ACEOF
14681 +/* end confdefs.h. */
14682 +#ifdef __STDC__
14683 +# include <limits.h>
14684 +#else
14685 +# include <assert.h>
14686 +#endif
14687 + Syntax error
14688 +_ACEOF
14689 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14690 +case "(($ac_try" in
14691 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14692 + *) ac_try_echo=$ac_try;;
14693 +esac
14694 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14695 +$as_echo "$ac_try_echo") >&5
14696 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14697 + ac_status=$?
14698 + grep -v '^ *+' conftest.er1 >conftest.err
14699 + rm -f conftest.er1
14700 + cat conftest.err >&5
14701 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14702 + (exit $ac_status); } >/dev/null && {
14703 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14704 + test ! -s conftest.err
14705 + }; then
14706 + :
14707 +else
14708 + $as_echo "$as_me: failed program was:" >&5
14709 +sed 's/^/| /' conftest.$ac_ext >&5
14710 +
14711 + # Broken: fails on valid input.
14712 +continue
14713 +fi
14714 +
14715 +rm -f conftest.err conftest.$ac_ext
14716 +
14717 + # OK, works on sane cases. Now check whether nonexistent headers
14718 + # can be detected and how.
14719 + cat >conftest.$ac_ext <<_ACEOF
14720 +/* confdefs.h. */
14721 +_ACEOF
14722 +cat confdefs.h >>conftest.$ac_ext
14723 +cat >>conftest.$ac_ext <<_ACEOF
14724 +/* end confdefs.h. */
14725 +#include <ac_nonexistent.h>
14726 +_ACEOF
14727 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14728 +case "(($ac_try" in
14729 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14730 + *) ac_try_echo=$ac_try;;
14731 +esac
14732 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14733 +$as_echo "$ac_try_echo") >&5
14734 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14735 + ac_status=$?
14736 + grep -v '^ *+' conftest.er1 >conftest.err
14737 + rm -f conftest.er1
14738 + cat conftest.err >&5
14739 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14740 + (exit $ac_status); } >/dev/null && {
14741 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14742 + test ! -s conftest.err
14743 + }; then
14744 + # Broken: success on invalid input.
14745 +continue
14746 +else
14747 + $as_echo "$as_me: failed program was:" >&5
14748 +sed 's/^/| /' conftest.$ac_ext >&5
14749 +
14750 + # Passes both tests.
14751 +ac_preproc_ok=:
14752 +break
14753 +fi
14754 +
14755 +rm -f conftest.err conftest.$ac_ext
14756 +
14757 +done
14758 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14759 +rm -f conftest.err conftest.$ac_ext
14760 +if $ac_preproc_ok; then
14761 + :
14762 +else
14763 + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14764 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14765 +{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14766 +See \`config.log' for more details." >&5
14767 +$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14768 +See \`config.log' for more details." >&2;}
14769 + { (exit 1); exit 1; }; }; }
14770 +fi
14771 +
14772 +ac_ext=c
14773 +ac_cpp='$CPP $CPPFLAGS'
14774 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14775 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14776 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
14777 +
14778 +
14779 +{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14780 +$as_echo_n "checking for ANSI C header files... " >&6; }
14781 +if test "${ac_cv_header_stdc+set}" = set; then
14782 + $as_echo_n "(cached) " >&6
14783 +else
14784 + cat >conftest.$ac_ext <<_ACEOF
14785 +/* confdefs.h. */
14786 +_ACEOF
14787 +cat confdefs.h >>conftest.$ac_ext
14788 +cat >>conftest.$ac_ext <<_ACEOF
14789 +/* end confdefs.h. */
14790 +#include <stdlib.h>
14791 +#include <stdarg.h>
14792 +#include <string.h>
14793 +#include <float.h>
14794 +
14795 +int
14796 +main ()
14797 +{
14798 +
14799 + ;
14800 + return 0;
14801 +}
14802 +_ACEOF
14803 +rm -f conftest.$ac_objext
14804 +if { (ac_try="$ac_compile"
14805 +case "(($ac_try" in
14806 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14807 + *) ac_try_echo=$ac_try;;
14808 +esac
14809 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14810 +$as_echo "$ac_try_echo") >&5
14811 + (eval "$ac_compile") 2>conftest.er1
14812 + ac_status=$?
14813 + grep -v '^ *+' conftest.er1 >conftest.err
14814 + rm -f conftest.er1
14815 + cat conftest.err >&5
14816 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14817 + (exit $ac_status); } && {
14818 + test -z "$ac_c_werror_flag" ||
14819 + test ! -s conftest.err
14820 + } && test -s conftest.$ac_objext; then
14821 + ac_cv_header_stdc=yes
14822 +else
14823 + $as_echo "$as_me: failed program was:" >&5
14824 +sed 's/^/| /' conftest.$ac_ext >&5
14825 +
14826 + ac_cv_header_stdc=no
14827 +fi
14828 +
14829 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14830 +
14831 +if test $ac_cv_header_stdc = yes; then
14832 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14833 + cat >conftest.$ac_ext <<_ACEOF
14834 +/* confdefs.h. */
14835 +_ACEOF
14836 +cat confdefs.h >>conftest.$ac_ext
14837 +cat >>conftest.$ac_ext <<_ACEOF
14838 +/* end confdefs.h. */
14839 +#include <string.h>
14840 +
14841 +_ACEOF
14842 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14843 + $EGREP "memchr" >/dev/null 2>&1; then
14844 + :
14845 +else
14846 + ac_cv_header_stdc=no
14847 +fi
14848 +rm -f conftest*
14849 +
14850 +fi
14851 +
14852 +if test $ac_cv_header_stdc = yes; then
14853 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14854 + cat >conftest.$ac_ext <<_ACEOF
14855 +/* confdefs.h. */
14856 +_ACEOF
14857 +cat confdefs.h >>conftest.$ac_ext
14858 +cat >>conftest.$ac_ext <<_ACEOF
14859 +/* end confdefs.h. */
14860 +#include <stdlib.h>
14861 +
14862 +_ACEOF
14863 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14864 + $EGREP "free" >/dev/null 2>&1; then
14865 + :
14866 +else
14867 + ac_cv_header_stdc=no
14868 +fi
14869 +rm -f conftest*
14870 +
14871 +fi
14872 +
14873 +if test $ac_cv_header_stdc = yes; then
14874 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14875 + if test "$cross_compiling" = yes; then
14876 + :
14877 +else
14878 + cat >conftest.$ac_ext <<_ACEOF
14879 +/* confdefs.h. */
14880 +_ACEOF
14881 +cat confdefs.h >>conftest.$ac_ext
14882 +cat >>conftest.$ac_ext <<_ACEOF
14883 +/* end confdefs.h. */
14884 +#include <ctype.h>
14885 +#include <stdlib.h>
14886 +#if ((' ' & 0x0FF) == 0x020)
14887 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14888 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14889 +#else
14890 +# define ISLOWER(c) \
14891 + (('a' <= (c) && (c) <= 'i') \
14892 + || ('j' <= (c) && (c) <= 'r') \
14893 + || ('s' <= (c) && (c) <= 'z'))
14894 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14895 +#endif
14896 +
14897 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14898 +int
14899 +main ()
14900 +{
14901 + int i;
14902 + for (i = 0; i < 256; i++)
14903 + if (XOR (islower (i), ISLOWER (i))
14904 + || toupper (i) != TOUPPER (i))
14905 + return 2;
14906 + return 0;
14907 +}
14908 +_ACEOF
14909 +rm -f conftest$ac_exeext
14910 +if { (ac_try="$ac_link"
14911 +case "(($ac_try" in
14912 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14913 + *) ac_try_echo=$ac_try;;
14914 +esac
14915 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14916 +$as_echo "$ac_try_echo") >&5
14917 + (eval "$ac_link") 2>&5
14918 + ac_status=$?
14919 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14921 + { (case "(($ac_try" in
14922 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14923 + *) ac_try_echo=$ac_try;;
14924 +esac
14925 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14926 +$as_echo "$ac_try_echo") >&5
14927 + (eval "$ac_try") 2>&5
14928 + ac_status=$?
14929 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14930 + (exit $ac_status); }; }; then
14931 + :
14932 +else
14933 + $as_echo "$as_me: program exited with status $ac_status" >&5
14934 +$as_echo "$as_me: failed program was:" >&5
14935 +sed 's/^/| /' conftest.$ac_ext >&5
14936 +
14937 +( exit $ac_status )
14938 +ac_cv_header_stdc=no
14939 +fi
14940 +rm -rf conftest.dSYM
14941 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14942 +fi
14943 +
14944 +
14945 +fi
14946 +fi
14947 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14948 +$as_echo "$ac_cv_header_stdc" >&6; }
14949 +if test $ac_cv_header_stdc = yes; then
14950 +
14951 +cat >>confdefs.h <<\_ACEOF
14952 +#define STDC_HEADERS 1
14953 +_ACEOF
14954 +
14955 +fi
14956 +
14957 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
14958 +
14959 +
14960 +
14961 +
14962 +
14963 +
14964 +
14965 +
14966 +
14967 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
14968 + inttypes.h stdint.h unistd.h
14969 +do
14970 +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14971 +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14972 +$as_echo_n "checking for $ac_header... " >&6; }
14973 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14974 + $as_echo_n "(cached) " >&6
14975 +else
14976 + cat >conftest.$ac_ext <<_ACEOF
14977 +/* confdefs.h. */
14978 +_ACEOF
14979 +cat confdefs.h >>conftest.$ac_ext
14980 +cat >>conftest.$ac_ext <<_ACEOF
14981 +/* end confdefs.h. */
14982 +$ac_includes_default
14983 +
14984 +#include <$ac_header>
14985 +_ACEOF
14986 +rm -f conftest.$ac_objext
14987 +if { (ac_try="$ac_compile"
14988 +case "(($ac_try" in
14989 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14990 + *) ac_try_echo=$ac_try;;
14991 +esac
14992 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14993 +$as_echo "$ac_try_echo") >&5
14994 + (eval "$ac_compile") 2>conftest.er1
14995 + ac_status=$?
14996 + grep -v '^ *+' conftest.er1 >conftest.err
14997 + rm -f conftest.er1
14998 + cat conftest.err >&5
14999 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15000 + (exit $ac_status); } && {
15001 + test -z "$ac_c_werror_flag" ||
15002 + test ! -s conftest.err
15003 + } && test -s conftest.$ac_objext; then
15004 + eval "$as_ac_Header=yes"
15005 +else
15006 + $as_echo "$as_me: failed program was:" >&5
15007 +sed 's/^/| /' conftest.$ac_ext >&5
15008 +
15009 + eval "$as_ac_Header=no"
15010 +fi
15011 +
15012 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15013 +fi
15014 +ac_res=`eval 'as_val=${'$as_ac_Header'}
15015 + $as_echo "$as_val"'`
15016 + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15017 +$as_echo "$ac_res" >&6; }
15018 +as_val=`eval 'as_val=${'$as_ac_Header'}
15019 + $as_echo "$as_val"'`
15020 + if test "x$as_val" = x""yes; then
15021 + cat >>confdefs.h <<_ACEOF
15022 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15023 +_ACEOF
15024 +
15025 +fi
15026 +
15027 +done
15028 +
15029 +
15030 +
15031 +for ac_header in dlfcn.h
15032 +do
15033 +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15034 +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15035 +$as_echo_n "checking for $ac_header... " >&6; }
15036 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15037 + $as_echo_n "(cached) " >&6
15038 +else
15039 + cat >conftest.$ac_ext <<_ACEOF
15040 +/* confdefs.h. */
15041 +_ACEOF
15042 +cat confdefs.h >>conftest.$ac_ext
15043 +cat >>conftest.$ac_ext <<_ACEOF
15044 +/* end confdefs.h. */
15045 +$ac_includes_default
15046 +
15047 +#include <$ac_header>
15048 +_ACEOF
15049 +rm -f conftest.$ac_objext
15050 +if { (ac_try="$ac_compile"
15051 +case "(($ac_try" in
15052 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15053 + *) ac_try_echo=$ac_try;;
15054 +esac
15055 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15056 +$as_echo "$ac_try_echo") >&5
15057 + (eval "$ac_compile") 2>conftest.er1
15058 + ac_status=$?
15059 + grep -v '^ *+' conftest.er1 >conftest.err
15060 + rm -f conftest.er1
15061 + cat conftest.err >&5
15062 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 + (exit $ac_status); } && {
15064 + test -z "$ac_c_werror_flag" ||
15065 + test ! -s conftest.err
15066 + } && test -s conftest.$ac_objext; then
15067 + eval "$as_ac_Header=yes"
15068 +else
15069 + $as_echo "$as_me: failed program was:" >&5
15070 +sed 's/^/| /' conftest.$ac_ext >&5
15071 +
15072 + eval "$as_ac_Header=no"
15073 +fi
15074 +
15075 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15076 +fi
15077 +ac_res=`eval 'as_val=${'$as_ac_Header'}
15078 + $as_echo "$as_val"'`
15079 + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15080 +$as_echo "$ac_res" >&6; }
15081 +as_val=`eval 'as_val=${'$as_ac_Header'}
15082 + $as_echo "$as_val"'`
15083 + if test "x$as_val" = x""yes; then
15084 + cat >>confdefs.h <<_ACEOF
15085 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15086 +_ACEOF
15087 +
15088 +fi
15089 +
15090 +done
15091 +
15092 +
15093 +
15094 +# Set options
15095 +
15096 +
15097 +
15098 + enable_dlopen=no
15099 +
15100 +
15101 + enable_win32_dll=no
15102 +
15103 +
15104 + # Check whether --enable-shared was given.
15105 +if test "${enable_shared+set}" = set; then
15106 + enableval=$enable_shared; p=${PACKAGE-default}
15107 + case $enableval in
15108 + yes) enable_shared=yes ;;
15109 + no) enable_shared=no ;;
15110 + *)
15111 + enable_shared=no
15112 + # Look at the argument we got. We use all the common list separators.
15113 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
15114 + for pkg in $enableval; do
15115 + IFS="$lt_save_ifs"
15116 + if test "X$pkg" = "X$p"; then
15117 + enable_shared=yes
15118 + fi
15119 + done
15120 + IFS="$lt_save_ifs"
15121 + ;;
15122 + esac
15123 +else
15124 + enable_shared=yes
15125 +fi
15126 +
15127 +
15128 +
15129 +
15130 +
15131 +
15132 +
15133 +
15134 +
15135 + # Check whether --enable-static was given.
15136 +if test "${enable_static+set}" = set; then
15137 + enableval=$enable_static; p=${PACKAGE-default}
15138 + case $enableval in
15139 + yes) enable_static=yes ;;
15140 + no) enable_static=no ;;
15141 + *)
15142 + enable_static=no
15143 + # Look at the argument we got. We use all the common list separators.
15144 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
15145 + for pkg in $enableval; do
15146 + IFS="$lt_save_ifs"
15147 + if test "X$pkg" = "X$p"; then
15148 + enable_static=yes
15149 + fi
15150 + done
15151 + IFS="$lt_save_ifs"
15152 + ;;
15153 + esac
15154 +else
15155 + enable_static=yes
15156 +fi
15157 +
15158 +
15159 +
15160 +
15161 +
15162 +
15163 +
15164 +
15165 +
15166 +
15167 +# Check whether --with-pic was given.
15168 +if test "${with_pic+set}" = set; then
15169 + withval=$with_pic; pic_mode="$withval"
15170 +else
15171 + pic_mode=default
15172 +fi
15173 +
15174 +
15175 +test -z "$pic_mode" && pic_mode=default
15176 +
15177 +
15178 +
15179 +
15180 +
15181 +
15182 +
15183 + # Check whether --enable-fast-install was given.
15184 +if test "${enable_fast_install+set}" = set; then
15185 + enableval=$enable_fast_install; p=${PACKAGE-default}
15186 + case $enableval in
15187 + yes) enable_fast_install=yes ;;
15188 + no) enable_fast_install=no ;;
15189 + *)
15190 + enable_fast_install=no
15191 + # Look at the argument we got. We use all the common list separators.
15192 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
15193 + for pkg in $enableval; do
15194 + IFS="$lt_save_ifs"
15195 + if test "X$pkg" = "X$p"; then
15196 + enable_fast_install=yes
15197 + fi
15198 + done
15199 + IFS="$lt_save_ifs"
15200 + ;;
15201 + esac
15202 +else
15203 + enable_fast_install=yes
15204 +fi
15205 +
15206 +
15207 +
15208 +
15209 +
15210 +
15211 +
15212 +
15213 +
15214 +
15215 +
15216 +# This can be used to rebuild libtool when needed
15217 +LIBTOOL_DEPS="$ltmain"
15218 +
15219 +# Always use our own libtool.
15220 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
15221 +
15222 +
15223 +
15224 +
15225 +
15226 +
15227 +
15228 +
15229 +
15230 +
15231 +
15232 +
15233 +
15234 +
15235 +
15236 +
15237 +
15238 +
15239 +
15240 +
15241 +
15242 +
15243 +
15244 +
15245 +
15246 +test -z "$LN_S" && LN_S="ln -s"
15247 +
15248 +
15249 +
15250 +
15251 +
15252 +
15253 +
15254 +
15255 +
15256 +
15257 +
15258 +
15259 +
15260 +
15261 +if test -n "${ZSH_VERSION+set}" ; then
15262 + setopt NO_GLOB_SUBST
15263 +fi
15264 +
15265 +{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
15266 +$as_echo_n "checking for objdir... " >&6; }
15267 +if test "${lt_cv_objdir+set}" = set; then
15268 + $as_echo_n "(cached) " >&6
15269 +else
15270 + rm -f .libs 2>/dev/null
15271 +mkdir .libs 2>/dev/null
15272 +if test -d .libs; then
15273 + lt_cv_objdir=.libs
15274 +else
15275 + # MS-DOS does not allow filenames that begin with a dot.
15276 + lt_cv_objdir=_libs
15277 +fi
15278 +rmdir .libs 2>/dev/null
15279 +fi
15280 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
15281 +$as_echo "$lt_cv_objdir" >&6; }
15282 +objdir=$lt_cv_objdir
15283 +
15284 +
15285 +
15286 +
15287 +
15288 +cat >>confdefs.h <<_ACEOF
15289 +#define LT_OBJDIR "$lt_cv_objdir/"
15290 +_ACEOF
15291 +
15292 +
15293 +
15294 +
15295 +
15296 +
15297 +
15298 +
15299 +
15300 +
15301 +
15302 +
15303 +
15304 +
15305 +
15306 +
15307 +
15308 +case $host_os in
15309 +aix3*)
15310 + # AIX sometimes has problems with the GCC collect2 program. For some
15311 + # reason, if we set the COLLECT_NAMES environment variable, the problems
15312 + # vanish in a puff of smoke.
15313 + if test "X${COLLECT_NAMES+set}" != Xset; then
15314 + COLLECT_NAMES=
15315 + export COLLECT_NAMES
15316 + fi
15317 + ;;
15318 +esac
15319 +
15320 +# Sed substitution that helps us do robust quoting. It backslashifies
15321 +# metacharacters that are still active within double-quoted strings.
15322 +sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
15323 +
15324 +# Same as above, but do not quote variable references.
15325 +double_quote_subst='s/\(["`\\]\)/\\\1/g'
15326 +
15327 +# Sed substitution to delay expansion of an escaped shell variable in a
15328 +# double_quote_subst'ed string.
15329 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
15330 +
15331 +# Sed substitution to delay expansion of an escaped single quote.
15332 +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
15333 +
15334 +# Sed substitution to avoid accidental globbing in evaled expressions
15335 +no_glob_subst='s/\*/\\\*/g'
15336 +
15337 +# Global variables:
15338 +ofile=libtool
15339 +can_build_shared=yes
15340 +
15341 +# All known linkers require a `.a' archive for static linking (except MSVC,
15342 +# which needs '.lib').
15343 +libext=a
15344 +
15345 +with_gnu_ld="$lt_cv_prog_gnu_ld"
15346 +
15347 +old_CC="$CC"
15348 +old_CFLAGS="$CFLAGS"
15349 +
15350 +# Set sane defaults for various variables
15351 +test -z "$CC" && CC=cc
15352 +test -z "$LTCC" && LTCC=$CC
15353 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
15354 +test -z "$LD" && LD=ld
15355 +test -z "$ac_objext" && ac_objext=o
15356 +
15357 +for cc_temp in $compiler""; do
15358 + case $cc_temp in
15359 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15360 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15361 + \-*) ;;
15362 + *) break;;
15363 + esac
15364 +done
15365 +cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15366 +
15367 +
15368 +# Only perform the check for file, if the check method requires it
15369 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
15370 +case $deplibs_check_method in
15371 +file_magic*)
15372 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
15373 + { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
15374 +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
15375 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
15376 + $as_echo_n "(cached) " >&6
15377 +else
15378 + case $MAGIC_CMD in
15379 +[\\/*] | ?:[\\/]*)
15380 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
15381 + ;;
15382 +*)
15383 + lt_save_MAGIC_CMD="$MAGIC_CMD"
15384 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15385 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
15386 + for ac_dir in $ac_dummy; do
15387 + IFS="$lt_save_ifs"
15388 + test -z "$ac_dir" && ac_dir=.
15389 + if test -f $ac_dir/${ac_tool_prefix}file; then
15390 + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
15391 + if test -n "$file_magic_test_file"; then
15392 + case $deplibs_check_method in
15393 + "file_magic "*)
15394 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
15395 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
15396 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
15397 + $EGREP "$file_magic_regex" > /dev/null; then
15398 + :
15399 + else
15400 + cat <<_LT_EOF 1>&2
15401 +
15402 +*** Warning: the command libtool uses to detect shared libraries,
15403 +*** $file_magic_cmd, produces output that libtool cannot recognize.
15404 +*** The result is that libtool may fail to recognize shared libraries
15405 +*** as such. This will affect the creation of libtool libraries that
15406 +*** depend on shared libraries, but programs linked with such libtool
15407 +*** libraries will work regardless of this problem. Nevertheless, you
15408 +*** may want to report the problem to your system manager and/or to
15409 +*** bug-libtool@gnu.org
15410 +
15411 +_LT_EOF
15412 + fi ;;
15413 + esac
15414 + fi
15415 + break
15416 + fi
15417 + done
15418 + IFS="$lt_save_ifs"
15419 + MAGIC_CMD="$lt_save_MAGIC_CMD"
15420 + ;;
15421 +esac
15422 +fi
15423 +
15424 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
15425 +if test -n "$MAGIC_CMD"; then
15426 + { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
15427 +$as_echo "$MAGIC_CMD" >&6; }
15428 +else
15429 + { $as_echo "$as_me:$LINENO: result: no" >&5
15430 +$as_echo "no" >&6; }
15431 +fi
15432 +
15433 +
15434 +
15435 +
15436 +
15437 +if test -z "$lt_cv_path_MAGIC_CMD"; then
15438 + if test -n "$ac_tool_prefix"; then
15439 + { $as_echo "$as_me:$LINENO: checking for file" >&5
15440 +$as_echo_n "checking for file... " >&6; }
15441 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
15442 + $as_echo_n "(cached) " >&6
15443 +else
15444 + case $MAGIC_CMD in
15445 +[\\/*] | ?:[\\/]*)
15446 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
15447 + ;;
15448 +*)
15449 + lt_save_MAGIC_CMD="$MAGIC_CMD"
15450 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15451 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
15452 + for ac_dir in $ac_dummy; do
15453 + IFS="$lt_save_ifs"
15454 + test -z "$ac_dir" && ac_dir=.
15455 + if test -f $ac_dir/file; then
15456 + lt_cv_path_MAGIC_CMD="$ac_dir/file"
15457 + if test -n "$file_magic_test_file"; then
15458 + case $deplibs_check_method in
15459 + "file_magic "*)
15460 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
15461 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
15462 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
15463 + $EGREP "$file_magic_regex" > /dev/null; then
15464 + :
15465 + else
15466 + cat <<_LT_EOF 1>&2
15467 +
15468 +*** Warning: the command libtool uses to detect shared libraries,
15469 +*** $file_magic_cmd, produces output that libtool cannot recognize.
15470 +*** The result is that libtool may fail to recognize shared libraries
15471 +*** as such. This will affect the creation of libtool libraries that
15472 +*** depend on shared libraries, but programs linked with such libtool
15473 +*** libraries will work regardless of this problem. Nevertheless, you
15474 +*** may want to report the problem to your system manager and/or to
15475 +*** bug-libtool@gnu.org
15476 +
15477 +_LT_EOF
15478 + fi ;;
15479 + esac
15480 + fi
15481 + break
15482 + fi
15483 + done
15484 + IFS="$lt_save_ifs"
15485 + MAGIC_CMD="$lt_save_MAGIC_CMD"
15486 + ;;
15487 +esac
15488 +fi
15489 +
15490 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
15491 +if test -n "$MAGIC_CMD"; then
15492 + { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
15493 +$as_echo "$MAGIC_CMD" >&6; }
15494 +else
15495 + { $as_echo "$as_me:$LINENO: result: no" >&5
15496 +$as_echo "no" >&6; }
15497 +fi
15498 +
15499 +
15500 + else
15501 + MAGIC_CMD=:
15502 + fi
15503 +fi
15504 +
15505 + fi
15506 + ;;
15507 +esac
15508 +
15509 +# Use C for the default configuration in the libtool script
15510 +
15511 +lt_save_CC="$CC"
15512 +ac_ext=c
15513 +ac_cpp='$CPP $CPPFLAGS'
15514 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15515 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15516 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
15517 +
15518 +
15519 +# Source file extension for C test sources.
15520 +ac_ext=c
15521 +
15522 +# Object file extension for compiled C test sources.
15523 +objext=o
15524 +objext=$objext
15525 +
15526 +# Code to be used in simple compile tests
15527 +lt_simple_compile_test_code="int some_variable = 0;"
15528 +
15529 +# Code to be used in simple link tests
15530 +lt_simple_link_test_code='int main(){return(0);}'
15531 +
15532 +
15533 +
15534 +
15535 +
15536 +
15537 +
15538 +# If no C compiler was specified, use CC.
15539 +LTCC=${LTCC-"$CC"}
15540 +
15541 +# If no C compiler flags were specified, use CFLAGS.
15542 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15543 +
15544 +# Allow CC to be a program name with arguments.
15545 +compiler=$CC
15546 +
15547 +# Save the default compiler, since it gets overwritten when the other
15548 +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
15549 +compiler_DEFAULT=$CC
15550 +
15551 +# save warnings/boilerplate of simple test code
15552 +ac_outfile=conftest.$ac_objext
15553 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15554 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15555 +_lt_compiler_boilerplate=`cat conftest.err`
15556 +$RM conftest*
15557 +
15558 +ac_outfile=conftest.$ac_objext
15559 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
15560 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15561 +_lt_linker_boilerplate=`cat conftest.err`
15562 +$RM -r conftest*
15563 +
15564 +
15565 +if test -n "$compiler"; then
15566 +
15567 +lt_prog_compiler_no_builtin_flag=
15568 +
15569 +if test "$GCC" = yes; then
15570 + lt_prog_compiler_no_builtin_flag=' -fno-builtin'
15571 +
15572 + { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15573 +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
15574 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15575 + $as_echo_n "(cached) " >&6
15576 +else
15577 + lt_cv_prog_compiler_rtti_exceptions=no
15578 + ac_outfile=conftest.$ac_objext
15579 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15580 + lt_compiler_flag="-fno-rtti -fno-exceptions"
15581 + # Insert the option either (1) after the last *FLAGS variable, or
15582 + # (2) before a word containing "conftest.", or (3) at the end.
15583 + # Note that $ac_compile itself does not contain backslashes and begins
15584 + # with a dollar sign (not a hyphen), so the echo should work correctly.
15585 + # The option is referenced via a variable to avoid confusing sed.
15586 + lt_compile=`echo "$ac_compile" | $SED \
15587 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15588 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15589 + -e 's:$: $lt_compiler_flag:'`
15590 + (eval echo "\"\$as_me:6747: $lt_compile\"" >&5)
15591 + (eval "$lt_compile" 2>conftest.err)
15592 + ac_status=$?
15593 + cat conftest.err >&5
15594 + echo "$as_me:6751: \$? = $ac_status" >&5
15595 + if (exit $ac_status) && test -s "$ac_outfile"; then
15596 + # The compiler can only warn and ignore the option if not recognized
15597 + # So say no if there are warnings other than the usual output.
15598 + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15599 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15600 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15601 + lt_cv_prog_compiler_rtti_exceptions=yes
15602 + fi
15603 + fi
15604 + $RM conftest*
15605 +
15606 +fi
15607 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15608 +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15609 +
15610 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15611 + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
15612 +else
15613 + :
15614 +fi
15615 +
15616 +fi
15617 +
15618 +
15619 +
15620 +
15621 +
15622 +
15623 + lt_prog_compiler_wl=
15624 +lt_prog_compiler_pic=
15625 +lt_prog_compiler_static=
15626 +
15627 +{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15628 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15629 +
15630 + if test "$GCC" = yes; then
15631 + lt_prog_compiler_wl='-Wl,'
15632 + lt_prog_compiler_static='-static'
15633 +
15634 + case $host_os in
15635 + aix*)
15636 + # All AIX code is PIC.
15637 + if test "$host_cpu" = ia64; then
15638 + # AIX 5 now supports IA64 processor
15639 + lt_prog_compiler_static='-Bstatic'
15640 + fi
15641 + ;;
15642 +
15643 + amigaos*)
15644 + case $host_cpu in
15645 + powerpc)
15646 + # see comment about AmigaOS4 .so support
15647 + lt_prog_compiler_pic='-fPIC'
15648 + ;;
15649 + m68k)
15650 + # FIXME: we need at least 68020 code to build shared libraries, but
15651 + # adding the `-m68020' flag to GCC prevents building anything better,
15652 + # like `-m68040'.
15653 + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
15654 + ;;
15655 + esac
15656 + ;;
15657 +
15658 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15659 + # PIC is the default for these OSes.
15660 + ;;
15661 +
15662 + mingw* | cygwin* | pw32* | os2* | cegcc*)
15663 + # This hack is so that the source file can tell whether it is being
15664 + # built for inclusion in a dll (and should export symbols for example).
15665 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
15666 + # (--disable-auto-import) libraries
15667 + lt_prog_compiler_pic='-DDLL_EXPORT'
15668 + ;;
15669 +
15670 + darwin* | rhapsody*)
15671 + # PIC is the default on this platform
15672 + # Common symbols not allowed in MH_DYLIB files
15673 + lt_prog_compiler_pic='-fno-common'
15674 + ;;
15675 +
15676 + hpux*)
15677 + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15678 + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15679 + # sets the default TLS model and affects inlining.
15680 + case $host_cpu in
15681 + hppa*64*)
15682 + # +Z the default
15683 + ;;
15684 + *)
15685 + lt_prog_compiler_pic='-fPIC'
15686 + ;;
15687 + esac
15688 + ;;
15689 +
15690 + interix[3-9]*)
15691 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15692 + # Instead, we relocate shared libraries at runtime.
15693 + ;;
15694 +
15695 + msdosdjgpp*)
15696 + # Just because we use GCC doesn't mean we suddenly get shared libraries
15697 + # on systems that don't support them.
15698 + lt_prog_compiler_can_build_shared=no
15699 + enable_shared=no
15700 + ;;
15701 +
15702 + *nto* | *qnx*)
15703 + # QNX uses GNU C++, but need to define -shared option too, otherwise
15704 + # it will coredump.
15705 + lt_prog_compiler_pic='-fPIC -shared'
15706 + ;;
15707 +
15708 + sysv4*MP*)
15709 + if test -d /usr/nec; then
15710 + lt_prog_compiler_pic=-Kconform_pic
15711 + fi
15712 + ;;
15713 +
15714 + *)
15715 + lt_prog_compiler_pic='-fPIC'
15716 + ;;
15717 + esac
15718 + else
15719 + # PORTME Check for flag to pass linker flags through the system compiler.
15720 + case $host_os in
15721 + aix*)
15722 + lt_prog_compiler_wl='-Wl,'
15723 + if test "$host_cpu" = ia64; then
15724 + # AIX 5 now supports IA64 processor
15725 + lt_prog_compiler_static='-Bstatic'
15726 + else
15727 + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
15728 + fi
15729 + ;;
15730 +
15731 + mingw* | cygwin* | pw32* | os2* | cegcc*)
15732 + # This hack is so that the source file can tell whether it is being
15733 + # built for inclusion in a dll (and should export symbols for example).
15734 + lt_prog_compiler_pic='-DDLL_EXPORT'
15735 + ;;
15736 +
15737 + hpux9* | hpux10* | hpux11*)
15738 + lt_prog_compiler_wl='-Wl,'
15739 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15740 + # not for PA HP-UX.
15741 + case $host_cpu in
15742 + hppa*64*|ia64*)
15743 + # +Z the default
15744 + ;;
15745 + *)
15746 + lt_prog_compiler_pic='+Z'
15747 + ;;
15748 + esac
15749 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
15750 + lt_prog_compiler_static='${wl}-a ${wl}archive'
15751 + ;;
15752 +
15753 + irix5* | irix6* | nonstopux*)
15754 + lt_prog_compiler_wl='-Wl,'
15755 + # PIC (with -KPIC) is the default.
15756 + lt_prog_compiler_static='-non_shared'
15757 + ;;
15758 +
15759 + linux* | k*bsd*-gnu)
15760 + case $cc_basename in
15761 + # old Intel for x86_64 which still supported -KPIC.
15762 + ecc*)
15763 + lt_prog_compiler_wl='-Wl,'
15764 + lt_prog_compiler_pic='-KPIC'
15765 + lt_prog_compiler_static='-static'
15766 + ;;
15767 + # icc used to be incompatible with GCC.
15768 + # ICC 10 doesn't accept -KPIC any more.
15769 + icc* | ifort*)
15770 + lt_prog_compiler_wl='-Wl,'
15771 + lt_prog_compiler_pic='-fPIC'
15772 + lt_prog_compiler_static='-static'
15773 + ;;
15774 + # Lahey Fortran 8.1.
15775 + lf95*)
15776 + lt_prog_compiler_wl='-Wl,'
15777 + lt_prog_compiler_pic='--shared'
15778 + lt_prog_compiler_static='--static'
15779 + ;;
15780 + pgcc* | pgf77* | pgf90* | pgf95*)
15781 + # Portland Group compilers (*not* the Pentium gcc compiler,
15782 + # which looks to be a dead project)
15783 + lt_prog_compiler_wl='-Wl,'
15784 + lt_prog_compiler_pic='-fpic'
15785 + lt_prog_compiler_static='-Bstatic'
15786 + ;;
15787 + ccc*)
15788 + lt_prog_compiler_wl='-Wl,'
15789 + # All Alpha code is PIC.
15790 + lt_prog_compiler_static='-non_shared'
15791 + ;;
15792 + xl*)
15793 + # IBM XL C 8.0/Fortran 10.1 on PPC
15794 + lt_prog_compiler_wl='-Wl,'
15795 + lt_prog_compiler_pic='-qpic'
15796 + lt_prog_compiler_static='-qstaticlink'
15797 + ;;
15798 + *)
15799 + case `$CC -V 2>&1 | sed 5q` in
15800 + *Sun\ C*)
15801 + # Sun C 5.9
15802 + lt_prog_compiler_pic='-KPIC'
15803 + lt_prog_compiler_static='-Bstatic'
15804 + lt_prog_compiler_wl='-Wl,'
15805 + ;;
15806 + *Sun\ F*)
15807 + # Sun Fortran 8.3 passes all unrecognized flags to the linker
15808 + lt_prog_compiler_pic='-KPIC'
15809 + lt_prog_compiler_static='-Bstatic'
15810 + lt_prog_compiler_wl=''
15811 + ;;
15812 + esac
15813 + ;;
15814 + esac
15815 + ;;
15816 +
15817 + newsos6)
15818 + lt_prog_compiler_pic='-KPIC'
15819 + lt_prog_compiler_static='-Bstatic'
15820 + ;;
15821 +
15822 + *nto* | *qnx*)
15823 + # QNX uses GNU C++, but need to define -shared option too, otherwise
15824 + # it will coredump.
15825 + lt_prog_compiler_pic='-fPIC -shared'
15826 + ;;
15827 +
15828 + osf3* | osf4* | osf5*)
15829 + lt_prog_compiler_wl='-Wl,'
15830 + # All OSF/1 code is PIC.
15831 + lt_prog_compiler_static='-non_shared'
15832 + ;;
15833 +
15834 + rdos*)
15835 + lt_prog_compiler_static='-non_shared'
15836 + ;;
15837 +
15838 + solaris*)
15839 + lt_prog_compiler_pic='-KPIC'
15840 + lt_prog_compiler_static='-Bstatic'
15841 + case $cc_basename in
15842 + f77* | f90* | f95*)
15843 + lt_prog_compiler_wl='-Qoption ld ';;
15844 + *)
15845 + lt_prog_compiler_wl='-Wl,';;
15846 + esac
15847 + ;;
15848 +
15849 + sunos4*)
15850 + lt_prog_compiler_wl='-Qoption ld '
15851 + lt_prog_compiler_pic='-PIC'
15852 + lt_prog_compiler_static='-Bstatic'
15853 + ;;
15854 +
15855 + sysv4 | sysv4.2uw2* | sysv4.3*)
15856 + lt_prog_compiler_wl='-Wl,'
15857 + lt_prog_compiler_pic='-KPIC'
15858 + lt_prog_compiler_static='-Bstatic'
15859 + ;;
15860 +
15861 + sysv4*MP*)
15862 + if test -d /usr/nec ;then
15863 + lt_prog_compiler_pic='-Kconform_pic'
15864 + lt_prog_compiler_static='-Bstatic'
15865 + fi
15866 + ;;
15867 +
15868 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15869 + lt_prog_compiler_wl='-Wl,'
15870 + lt_prog_compiler_pic='-KPIC'
15871 + lt_prog_compiler_static='-Bstatic'
15872 + ;;
15873 +
15874 + unicos*)
15875 + lt_prog_compiler_wl='-Wl,'
15876 + lt_prog_compiler_can_build_shared=no
15877 + ;;
15878 +
15879 + uts4*)
15880 + lt_prog_compiler_pic='-pic'
15881 + lt_prog_compiler_static='-Bstatic'
15882 + ;;
15883 +
15884 + *)
15885 + lt_prog_compiler_can_build_shared=no
15886 + ;;
15887 + esac
15888 + fi
15889 +
15890 +case $host_os in
15891 + # For platforms which do not support PIC, -DPIC is meaningless:
15892 + *djgpp*)
15893 + lt_prog_compiler_pic=
15894 + ;;
15895 + *)
15896 + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
15897 + ;;
15898 +esac
15899 +{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
15900 +$as_echo "$lt_prog_compiler_pic" >&6; }
15901 +
15902 +
15903 +
15904 +
15905 +
15906 +
15907 +#
15908 +# Check to make sure the PIC flag actually works.
15909 +#
15910 +if test -n "$lt_prog_compiler_pic"; then
15911 + { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
15912 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
15913 +if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
15914 + $as_echo_n "(cached) " >&6
15915 +else
15916 + lt_cv_prog_compiler_pic_works=no
15917 + ac_outfile=conftest.$ac_objext
15918 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15919 + lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
15920 + # Insert the option either (1) after the last *FLAGS variable, or
15921 + # (2) before a word containing "conftest.", or (3) at the end.
15922 + # Note that $ac_compile itself does not contain backslashes and begins
15923 + # with a dollar sign (not a hyphen), so the echo should work correctly.
15924 + # The option is referenced via a variable to avoid confusing sed.
15925 + lt_compile=`echo "$ac_compile" | $SED \
15926 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15927 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15928 + -e 's:$: $lt_compiler_flag:'`
15929 + (eval echo "\"\$as_me:7086: $lt_compile\"" >&5)
15930 + (eval "$lt_compile" 2>conftest.err)
15931 + ac_status=$?
15932 + cat conftest.err >&5
15933 + echo "$as_me:7090: \$? = $ac_status" >&5
15934 + if (exit $ac_status) && test -s "$ac_outfile"; then
15935 + # The compiler can only warn and ignore the option if not recognized
15936 + # So say no if there are warnings other than the usual output.
15937 + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15938 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15939 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15940 + lt_cv_prog_compiler_pic_works=yes
15941 + fi
15942 + fi
15943 + $RM conftest*
15944 +
15945 +fi
15946 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
15947 +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
15948 +
15949 +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
15950 + case $lt_prog_compiler_pic in
15951 + "" | " "*) ;;
15952 + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
15953 + esac
15954 +else
15955 + lt_prog_compiler_pic=
15956 + lt_prog_compiler_can_build_shared=no
15957 +fi
15958 +
15959 +fi
15960 +
15961 +
15962 +
15963 +
15964 +
15965 +
15966 +#
15967 +# Check to make sure the static flag actually works.
15968 +#
15969 +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
15970 +{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15971 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15972 +if test "${lt_cv_prog_compiler_static_works+set}" = set; then
15973 + $as_echo_n "(cached) " >&6
15974 +else
15975 + lt_cv_prog_compiler_static_works=no
15976 + save_LDFLAGS="$LDFLAGS"
15977 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15978 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
15979 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15980 + # The linker can only warn and ignore the option if not recognized
15981 + # So say no if there are warnings
15982 + if test -s conftest.err; then
15983 + # Append any errors to the config.log.
15984 + cat conftest.err 1>&5
15985 + $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15986 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15987 + if diff conftest.exp conftest.er2 >/dev/null; then
15988 + lt_cv_prog_compiler_static_works=yes
15989 + fi
15990 + else
15991 + lt_cv_prog_compiler_static_works=yes
15992 + fi
15993 + fi
15994 + $RM -r conftest*
15995 + LDFLAGS="$save_LDFLAGS"
15996 +
15997 +fi
15998 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
15999 +$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
16000 +
16001 +if test x"$lt_cv_prog_compiler_static_works" = xyes; then
16002 + :
16003 +else
16004 + lt_prog_compiler_static=
16005 +fi
16006 +
16007 +
16008 +
16009 +
16010 +
16011 +
16012 +
16013 + { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16014 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16015 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then
16016 + $as_echo_n "(cached) " >&6
16017 +else
16018 + lt_cv_prog_compiler_c_o=no
16019 + $RM -r conftest 2>/dev/null
16020 + mkdir conftest
16021 + cd conftest
16022 + mkdir out
16023 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16024 +
16025 + lt_compiler_flag="-o out/conftest2.$ac_objext"
16026 + # Insert the option either (1) after the last *FLAGS variable, or
16027 + # (2) before a word containing "conftest.", or (3) at the end.
16028 + # Note that $ac_compile itself does not contain backslashes and begins
16029 + # with a dollar sign (not a hyphen), so the echo should work correctly.
16030 + lt_compile=`echo "$ac_compile" | $SED \
16031 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16032 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16033 + -e 's:$: $lt_compiler_flag:'`
16034 + (eval echo "\"\$as_me:7191: $lt_compile\"" >&5)
16035 + (eval "$lt_compile" 2>out/conftest.err)
16036 + ac_status=$?
16037 + cat out/conftest.err >&5
16038 + echo "$as_me:7195: \$? = $ac_status" >&5
16039 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
16040 + then
16041 + # The compiler can only warn and ignore the option if not recognized
16042 + # So say no if there are warnings
16043 + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16044 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16045 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16046 + lt_cv_prog_compiler_c_o=yes
16047 + fi
16048 + fi
16049 + chmod u+w . 2>&5
16050 + $RM conftest*
16051 + # SGI C++ compiler will create directory out/ii_files/ for
16052 + # template instantiation
16053 + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16054 + $RM out/* && rmdir out
16055 + cd ..
16056 + $RM -r conftest
16057 + $RM conftest*
16058 +
16059 +fi
16060 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
16061 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
16062 +
16063 +
16064 +
16065 +
16066 +
16067 +
16068 + { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16069 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16070 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then
16071 + $as_echo_n "(cached) " >&6
16072 +else
16073 + lt_cv_prog_compiler_c_o=no
16074 + $RM -r conftest 2>/dev/null
16075 + mkdir conftest
16076 + cd conftest
16077 + mkdir out
16078 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16079 +
16080 + lt_compiler_flag="-o out/conftest2.$ac_objext"
16081 + # Insert the option either (1) after the last *FLAGS variable, or
16082 + # (2) before a word containing "conftest.", or (3) at the end.
16083 + # Note that $ac_compile itself does not contain backslashes and begins
16084 + # with a dollar sign (not a hyphen), so the echo should work correctly.
16085 + lt_compile=`echo "$ac_compile" | $SED \
16086 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16087 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16088 + -e 's:$: $lt_compiler_flag:'`
16089 + (eval echo "\"\$as_me:7246: $lt_compile\"" >&5)
16090 + (eval "$lt_compile" 2>out/conftest.err)
16091 + ac_status=$?
16092 + cat out/conftest.err >&5
16093 + echo "$as_me:7250: \$? = $ac_status" >&5
16094 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
16095 + then
16096 + # The compiler can only warn and ignore the option if not recognized
16097 + # So say no if there are warnings
16098 + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16099 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16100 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16101 + lt_cv_prog_compiler_c_o=yes
16102 + fi
16103 + fi
16104 + chmod u+w . 2>&5
16105 + $RM conftest*
16106 + # SGI C++ compiler will create directory out/ii_files/ for
16107 + # template instantiation
16108 + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16109 + $RM out/* && rmdir out
16110 + cd ..
16111 + $RM -r conftest
16112 + $RM conftest*
16113 +
16114 +fi
16115 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
16116 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
16117 +
16118 +
16119 +
16120 +
16121 +hard_links="nottested"
16122 +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
16123 + # do not overwrite the value of need_locks provided by the user
16124 + { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16125 +$as_echo_n "checking if we can lock with hard links... " >&6; }
16126 + hard_links=yes
16127 + $RM conftest*
16128 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
16129 + touch conftest.a
16130 + ln conftest.a conftest.b 2>&5 || hard_links=no
16131 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
16132 + { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
16133 +$as_echo "$hard_links" >&6; }
16134 + if test "$hard_links" = no; then
16135 + { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16136 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16137 + need_locks=warn
16138 + fi
16139 +else
16140 + need_locks=no
16141 +fi
16142 +
16143 +
16144 +
16145 +
16146 +
16147 +
16148 + { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16149 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16150 +
16151 + runpath_var=
16152 + allow_undefined_flag=
16153 + always_export_symbols=no
16154 + archive_cmds=
16155 + archive_expsym_cmds=
16156 + compiler_needs_object=no
16157 + enable_shared_with_static_runtimes=no
16158 + export_dynamic_flag_spec=
16159 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16160 + hardcode_automatic=no
16161 + hardcode_direct=no
16162 + hardcode_direct_absolute=no
16163 + hardcode_libdir_flag_spec=
16164 + hardcode_libdir_flag_spec_ld=
16165 + hardcode_libdir_separator=
16166 + hardcode_minus_L=no
16167 + hardcode_shlibpath_var=unsupported
16168 + inherit_rpath=no
16169 + link_all_deplibs=unknown
16170 + module_cmds=
16171 + module_expsym_cmds=
16172 + old_archive_from_new_cmds=
16173 + old_archive_from_expsyms_cmds=
16174 + thread_safe_flag_spec=
16175 + whole_archive_flag_spec=
16176 + # include_expsyms should be a list of space-separated symbols to be *always*
16177 + # included in the symbol list
16178 + include_expsyms=
16179 + # exclude_expsyms can be an extended regexp of symbols to exclude
16180 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
16181 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16182 + # as well as any symbol that contains `d'.
16183 + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16184 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16185 + # platforms (ab)use it in PIC code, but their linkers get confused if
16186 + # the symbol is explicitly referenced. Since portable code cannot
16187 + # rely on this symbol name, it's probably fine to never include it in
16188 + # preloaded symbol tables.
16189 + # Exclude shared library initialization/finalization symbols.
16190 + extract_expsyms_cmds=
16191 +
16192 + case $host_os in
16193 + cygwin* | mingw* | pw32* | cegcc*)
16194 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
16195 + # When not using gcc, we currently assume that we are using
16196 + # Microsoft Visual C++.
16197 + if test "$GCC" != yes; then
16198 + with_gnu_ld=no
16199 + fi
16200 + ;;
16201 + interix*)
16202 + # we just hope/assume this is gcc and not c89 (= MSVC++)
16203 + with_gnu_ld=yes
16204 + ;;
16205 + openbsd*)
16206 + with_gnu_ld=no
16207 + ;;
16208 + esac
16209 +
16210 + ld_shlibs=yes
16211 + if test "$with_gnu_ld" = yes; then
16212 + # If archive_cmds runs LD, not CC, wlarc should be empty
16213 + wlarc='${wl}'
16214 +
16215 + # Set some defaults for GNU ld with shared library support. These
16216 + # are reset later if shared libraries are not supported. Putting them
16217 + # here allows them to be overridden if necessary.
16218 + runpath_var=LD_RUN_PATH
16219 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16220 + export_dynamic_flag_spec='${wl}--export-dynamic'
16221 + # ancient GNU ld didn't support --whole-archive et. al.
16222 + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
16223 + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16224 + else
16225 + whole_archive_flag_spec=
16226 + fi
16227 + supports_anon_versioning=no
16228 + case `$LD -v 2>&1` in
16229 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16230 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16231 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16232 + *\ 2.11.*) ;; # other 2.11 versions
16233 + *) supports_anon_versioning=yes ;;
16234 + esac
16235 +
16236 + # See if GNU ld supports shared libraries.
16237 + case $host_os in
16238 + aix[3-9]*)
16239 + # On AIX/PPC, the GNU linker is very broken
16240 + if test "$host_cpu" != ia64; then
16241 + ld_shlibs=no
16242 + cat <<_LT_EOF 1>&2
16243 +
16244 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
16245 +*** to be unable to reliably create shared libraries on AIX.
16246 +*** Therefore, libtool is disabling shared libraries support. If you
16247 +*** really care for shared libraries, you may want to modify your PATH
16248 +*** so that a non-GNU linker is found, and then restart.
16249 +
16250 +_LT_EOF
16251 + fi
16252 + ;;
16253 +
16254 + amigaos*)
16255 + case $host_cpu in
16256 + powerpc)
16257 + # see comment about AmigaOS4 .so support
16258 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16259 + archive_expsym_cmds=''
16260 + ;;
16261 + m68k)
16262 + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
16263 + hardcode_libdir_flag_spec='-L$libdir'
16264 + hardcode_minus_L=yes
16265 + ;;
16266 + esac
16267 + ;;
16268 +
16269 + beos*)
16270 + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
16271 + allow_undefined_flag=unsupported
16272 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16273 + # support --undefined. This deserves some investigation. FIXME
16274 + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16275 + else
16276 + ld_shlibs=no
16277 + fi
16278 + ;;
16279 +
16280 + cygwin* | mingw* | pw32* | cegcc*)
16281 + # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
16282 + # as there is no search path for DLLs.
16283 + hardcode_libdir_flag_spec='-L$libdir'
16284 + allow_undefined_flag=unsupported
16285 + always_export_symbols=no
16286 + enable_shared_with_static_runtimes=yes
16287 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16288 +
16289 + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
16290 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16291 + # If the export-symbols file already is a .def file (1st line
16292 + # is EXPORTS), use it as is; otherwise, prepend...
16293 + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16294 + cp $export_symbols $output_objdir/$soname.def;
16295 + else
16296 + echo EXPORTS > $output_objdir/$soname.def;
16297 + cat $export_symbols >> $output_objdir/$soname.def;
16298 + fi~
16299 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16300 + else
16301 + ld_shlibs=no
16302 + fi
16303 + ;;
16304 +
16305 + interix[3-9]*)
16306 + hardcode_direct=no
16307 + hardcode_shlibpath_var=no
16308 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
16309 + export_dynamic_flag_spec='${wl}-E'
16310 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16311 + # Instead, shared libraries are loaded at an image base (0x10000000 by
16312 + # default) and relocated if they conflict, which is a slow very memory
16313 + # consuming and fragmenting process. To avoid this, we pick a random,
16314 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16315 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16316 + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16317 + archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16318 + ;;
16319 +
16320 + gnu* | linux* | tpf* | k*bsd*-gnu)
16321 + tmp_diet=no
16322 + if test "$host_os" = linux-dietlibc; then
16323 + case $cc_basename in
16324 + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
16325 + esac
16326 + fi
16327 + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
16328 + && test "$tmp_diet" = no
16329 + then
16330 + tmp_addflag=
16331 + tmp_sharedflag='-shared'
16332 + case $cc_basename,$host_cpu in
16333 + pgcc*) # Portland Group C compiler
16334 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
16335 + tmp_addflag=' $pic_flag'
16336 + ;;
16337 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
16338 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
16339 + tmp_addflag=' $pic_flag -Mnomain' ;;
16340 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
16341 + tmp_addflag=' -i_dynamic' ;;
16342 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
16343 + tmp_addflag=' -i_dynamic -nofor_main' ;;
16344 + ifc* | ifort*) # Intel Fortran compiler
16345 + tmp_addflag=' -nofor_main' ;;
16346 + lf95*) # Lahey Fortran 8.1
16347 + whole_archive_flag_spec=
16348 + tmp_sharedflag='--shared' ;;
16349 + xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
16350 + tmp_sharedflag='-qmkshrobj'
16351 + tmp_addflag= ;;
16352 + esac
16353 + case `$CC -V 2>&1 | sed 5q` in
16354 + *Sun\ C*) # Sun C 5.9
16355 + whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
16356 + compiler_needs_object=yes
16357 + tmp_sharedflag='-G' ;;
16358 + *Sun\ F*) # Sun Fortran 8.3
16359 + tmp_sharedflag='-G' ;;
16360 + esac
16361 + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16362 +
16363 + if test "x$supports_anon_versioning" = xyes; then
16364 + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
16365 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16366 + echo "local: *; };" >> $output_objdir/$libname.ver~
16367 + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16368 + fi
16369 +
16370 + case $cc_basename in
16371 + xlf*)
16372 + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
16373 + whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
16374 + hardcode_libdir_flag_spec=
16375 + hardcode_libdir_flag_spec_ld='-rpath $libdir'
16376 + archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
16377 + if test "x$supports_anon_versioning" = xyes; then
16378 + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
16379 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16380 + echo "local: *; };" >> $output_objdir/$libname.ver~
16381 + $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
16382 + fi
16383 + ;;
16384 + esac
16385 + else
16386 + ld_shlibs=no
16387 + fi
16388 + ;;
16389 +
16390 + netbsd*)
16391 + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16392 + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16393 + wlarc=
16394 + else
16395 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16396 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16397 + fi
16398 + ;;
16399 +
16400 + solaris*)
16401 + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
16402 + ld_shlibs=no
16403 + cat <<_LT_EOF 1>&2
16404 +
16405 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
16406 +*** create shared libraries on Solaris systems. Therefore, libtool
16407 +*** is disabling shared libraries support. We urge you to upgrade GNU
16408 +*** binutils to release 2.9.1 or newer. Another option is to modify
16409 +*** your PATH or compiler configuration so that the native linker is
16410 +*** used, and then restart.
16411 +
16412 +_LT_EOF
16413 + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
16414 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16415 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16416 + else
16417 + ld_shlibs=no
16418 + fi
16419 + ;;
16420 +
16421 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
16422 + case `$LD -v 2>&1` in
16423 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
16424 + ld_shlibs=no
16425 + cat <<_LT_EOF 1>&2
16426 +
16427 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16428 +*** reliably create shared libraries on SCO systems. Therefore, libtool
16429 +*** is disabling shared libraries support. We urge you to upgrade GNU
16430 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16431 +*** your PATH or compiler configuration so that the native linker is
16432 +*** used, and then restart.
16433 +
16434 +_LT_EOF
16435 + ;;
16436 + *)
16437 + # For security reasons, it is highly recommended that you always
16438 + # use absolute paths for naming shared libraries, and exclude the
16439 + # DT_RUNPATH tag from executables and libraries. But doing so
16440 + # requires that you compile everything twice, which is a pain.
16441 + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
16442 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16443 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16444 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16445 + else
16446 + ld_shlibs=no
16447 + fi
16448 + ;;
16449 + esac
16450 + ;;
16451 +
16452 + sunos4*)
16453 + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16454 + wlarc=
16455 + hardcode_direct=yes
16456 + hardcode_shlibpath_var=no
16457 + ;;
16458 +
16459 + *)
16460 + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
16461 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16462 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16463 + else
16464 + ld_shlibs=no
16465 + fi
16466 + ;;
16467 + esac
16468 +
16469 + if test "$ld_shlibs" = no; then
16470 + runpath_var=
16471 + hardcode_libdir_flag_spec=
16472 + export_dynamic_flag_spec=
16473 + whole_archive_flag_spec=
16474 + fi
16475 + else
16476 + # PORTME fill in a description of your system's linker (not GNU ld)
16477 + case $host_os in
16478 + aix3*)
16479 + allow_undefined_flag=unsupported
16480 + always_export_symbols=yes
16481 + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
16482 + # Note: this linker hardcodes the directories in LIBPATH if there
16483 + # are no directories specified by -L.
16484 + hardcode_minus_L=yes
16485 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16486 + # Neither direct hardcoding nor static linking is supported with a
16487 + # broken collect2.
16488 + hardcode_direct=unsupported
16489 + fi
16490 + ;;
16491 +
16492 + aix[4-9]*)
16493 + if test "$host_cpu" = ia64; then
16494 + # On IA64, the linker does run time linking by default, so we don't
16495 + # have to do anything special.
16496 + aix_use_runtimelinking=no
16497 + exp_sym_flag='-Bexport'
16498 + no_entry_flag=""
16499 + else
16500 + # If we're using GNU nm, then we don't want the "-C" option.
16501 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
16502 + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16503 + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16504 + else
16505 + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16506 + fi
16507 + aix_use_runtimelinking=no
16508 +
16509 + # Test if we are trying to use run time linking or normal
16510 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16511 + # need to do runtime linking.
16512 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
16513 + for ld_flag in $LDFLAGS; do
16514 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
16515 + aix_use_runtimelinking=yes
16516 + break
16517 + fi
16518 + done
16519 + ;;
16520 + esac
16521 +
16522 + exp_sym_flag='-bexport'
16523 + no_entry_flag='-bnoentry'
16524 + fi
16525 +
16526 + # When large executables or shared objects are built, AIX ld can
16527 + # have problems creating the table of contents. If linking a library
16528 + # or program results in "error TOC overflow" add -mminimal-toc to
16529 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16530 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16531 +
16532 + archive_cmds=''
16533 + hardcode_direct=yes
16534 + hardcode_direct_absolute=yes
16535 + hardcode_libdir_separator=':'
16536 + link_all_deplibs=yes
16537 + file_list_spec='${wl}-f,'
16538 +
16539 + if test "$GCC" = yes; then
16540 + case $host_os in aix4.[012]|aix4.[012].*)
16541 + # We only want to do this on AIX 4.2 and lower, the check
16542 + # below for broken collect2 doesn't work under 4.3+
16543 + collect2name=`${CC} -print-prog-name=collect2`
16544 + if test -f "$collect2name" &&
16545 + strings "$collect2name" | $GREP resolve_lib_name >/dev/null
16546 + then
16547 + # We have reworked collect2
16548 + :
16549 + else
16550 + # We have old collect2
16551 + hardcode_direct=unsupported
16552 + # It fails to find uninstalled libraries when the uninstalled
16553 + # path is not listed in the libpath. Setting hardcode_minus_L
16554 + # to unsupported forces relinking
16555 + hardcode_minus_L=yes
16556 + hardcode_libdir_flag_spec='-L$libdir'
16557 + hardcode_libdir_separator=
16558 + fi
16559 + ;;
16560 + esac
16561 + shared_flag='-shared'
16562 + if test "$aix_use_runtimelinking" = yes; then
16563 + shared_flag="$shared_flag "'${wl}-G'
16564 + fi
16565 + else
16566 + # not using gcc
16567 + if test "$host_cpu" = ia64; then
16568 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16569 + # chokes on -Wl,-G. The following line is correct:
16570 + shared_flag='-G'
16571 + else
16572 + if test "$aix_use_runtimelinking" = yes; then
16573 + shared_flag='${wl}-G'
16574 + else
16575 + shared_flag='${wl}-bM:SRE'
16576 + fi
16577 + fi
16578 + fi
16579 +
16580 + export_dynamic_flag_spec='${wl}-bexpall'
16581 + # It seems that -bexpall does not export symbols beginning with
16582 + # underscore (_), so it is better to generate a list of symbols to export.
16583 + always_export_symbols=yes
16584 + if test "$aix_use_runtimelinking" = yes; then
16585 + # Warning - without using the other runtime loading flags (-brtl),
16586 + # -berok will link without error, but may produce a broken library.
16587 + allow_undefined_flag='-berok'
16588 + # Determine the default libpath from the value encoded in an
16589 + # empty executable.
16590 + cat >conftest.$ac_ext <<_ACEOF
16591 +/* confdefs.h. */
16592 +_ACEOF
16593 +cat confdefs.h >>conftest.$ac_ext
16594 +cat >>conftest.$ac_ext <<_ACEOF
16595 +/* end confdefs.h. */
16596 +
16597 +int
16598 +main ()
16599 +{
16600 +
16601 + ;
16602 + return 0;
16603 +}
16604 +_ACEOF
16605 +rm -f conftest.$ac_objext conftest$ac_exeext
16606 +if { (ac_try="$ac_link"
16607 +case "(($ac_try" in
16608 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16609 + *) ac_try_echo=$ac_try;;
16610 +esac
16611 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16612 +$as_echo "$ac_try_echo") >&5
16613 + (eval "$ac_link") 2>conftest.er1
16614 + ac_status=$?
16615 + grep -v '^ *+' conftest.er1 >conftest.err
16616 + rm -f conftest.er1
16617 + cat conftest.err >&5
16618 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 + (exit $ac_status); } && {
16620 + test -z "$ac_c_werror_flag" ||
16621 + test ! -s conftest.err
16622 + } && test -s conftest$ac_exeext && {
16623 + test "$cross_compiling" = yes ||
16624 + $as_test_x conftest$ac_exeext
16625 + }; then
16626 +
16627 +lt_aix_libpath_sed='
16628 + /Import File Strings/,/^$/ {
16629 + /^0/ {
16630 + s/^0 *\(.*\)$/\1/
16631 + p
16632 + }
16633 + }'
16634 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16635 +# Check for a 64-bit object if we didn't find anything.
16636 +if test -z "$aix_libpath"; then
16637 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16638 +fi
16639 +else
16640 + $as_echo "$as_me: failed program was:" >&5
16641 +sed 's/^/| /' conftest.$ac_ext >&5
16642 +
16643 +
16644 +fi
16645 +
16646 +rm -rf conftest.dSYM
16647 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16648 + conftest$ac_exeext conftest.$ac_ext
16649 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16650 +
16651 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
16652 + archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16653 + else
16654 + if test "$host_cpu" = ia64; then
16655 + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
16656 + allow_undefined_flag="-z nodefs"
16657 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
16658 + else
16659 + # Determine the default libpath from the value encoded in an
16660 + # empty executable.
16661 + cat >conftest.$ac_ext <<_ACEOF
16662 +/* confdefs.h. */
16663 +_ACEOF
16664 +cat confdefs.h >>conftest.$ac_ext
16665 +cat >>conftest.$ac_ext <<_ACEOF
16666 +/* end confdefs.h. */
16667 +
16668 +int
16669 +main ()
16670 +{
16671 +
16672 + ;
16673 + return 0;
16674 +}
16675 +_ACEOF
16676 +rm -f conftest.$ac_objext conftest$ac_exeext
16677 +if { (ac_try="$ac_link"
16678 +case "(($ac_try" in
16679 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16680 + *) ac_try_echo=$ac_try;;
16681 +esac
16682 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16683 +$as_echo "$ac_try_echo") >&5
16684 + (eval "$ac_link") 2>conftest.er1
16685 + ac_status=$?
16686 + grep -v '^ *+' conftest.er1 >conftest.err
16687 + rm -f conftest.er1
16688 + cat conftest.err >&5
16689 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 + (exit $ac_status); } && {
16691 + test -z "$ac_c_werror_flag" ||
16692 + test ! -s conftest.err
16693 + } && test -s conftest$ac_exeext && {
16694 + test "$cross_compiling" = yes ||
16695 + $as_test_x conftest$ac_exeext
16696 + }; then
16697 +
16698 +lt_aix_libpath_sed='
16699 + /Import File Strings/,/^$/ {
16700 + /^0/ {
16701 + s/^0 *\(.*\)$/\1/
16702 + p
16703 + }
16704 + }'
16705 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16706 +# Check for a 64-bit object if we didn't find anything.
16707 +if test -z "$aix_libpath"; then
16708 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16709 +fi
16710 +else
16711 + $as_echo "$as_me: failed program was:" >&5
16712 +sed 's/^/| /' conftest.$ac_ext >&5
16713 +
16714 +
16715 +fi
16716 +
16717 +rm -rf conftest.dSYM
16718 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16719 + conftest$ac_exeext conftest.$ac_ext
16720 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16721 +
16722 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
16723 + # Warning - without using the other run time loading flags,
16724 + # -berok will link without error, but may produce a broken library.
16725 + no_undefined_flag=' ${wl}-bernotok'
16726 + allow_undefined_flag=' ${wl}-berok'
16727 + # Exported symbols can be pulled into shared objects from archives
16728 + whole_archive_flag_spec='$convenience'
16729 + archive_cmds_need_lc=yes
16730 + # This is similar to how AIX traditionally builds its shared libraries.
16731 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16732 + fi
16733 + fi
16734 + ;;
16735 +
16736 + amigaos*)
16737 + case $host_cpu in
16738 + powerpc)
16739 + # see comment about AmigaOS4 .so support
16740 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16741 + archive_expsym_cmds=''
16742 + ;;
16743 + m68k)
16744 + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
16745 + hardcode_libdir_flag_spec='-L$libdir'
16746 + hardcode_minus_L=yes
16747 + ;;
16748 + esac
16749 + ;;
16750 +
16751 + bsdi[45]*)
16752 + export_dynamic_flag_spec=-rdynamic
16753 + ;;
16754 +
16755 + cygwin* | mingw* | pw32* | cegcc*)
16756 + # When not using gcc, we currently assume that we are using
16757 + # Microsoft Visual C++.
16758 + # hardcode_libdir_flag_spec is actually meaningless, as there is
16759 + # no search path for DLLs.
16760 + hardcode_libdir_flag_spec=' '
16761 + allow_undefined_flag=unsupported
16762 + # Tell ltmain to make .lib files, not .a files.
16763 + libext=lib
16764 + # Tell ltmain to make .dll files, not .so files.
16765 + shrext_cmds=".dll"
16766 + # FIXME: Setting linknames here is a bad hack.
16767 + archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
16768 + # The linker will automatically build a .lib file if we build a DLL.
16769 + old_archive_from_new_cmds='true'
16770 + # FIXME: Should let the user specify the lib program.
16771 + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
16772 + fix_srcfile_path='`cygpath -w "$srcfile"`'
16773 + enable_shared_with_static_runtimes=yes
16774 + ;;
16775 +
16776 + darwin* | rhapsody*)
16777 +
16778 +
16779 + archive_cmds_need_lc=no
16780 + hardcode_direct=no
16781 + hardcode_automatic=yes
16782 + hardcode_shlibpath_var=unsupported
16783 + whole_archive_flag_spec=''
16784 + link_all_deplibs=yes
16785 + allow_undefined_flag="$_lt_dar_allow_undefined"
16786 + case $cc_basename in
16787 + ifort*) _lt_dar_can_shared=yes ;;
16788 + *) _lt_dar_can_shared=$GCC ;;
16789 + esac
16790 + if test "$_lt_dar_can_shared" = "yes"; then
16791 + output_verbose_link_cmd=echo
16792 + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
16793 + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
16794 + archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
16795 + module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
16796 +
16797 + else
16798 + ld_shlibs=no
16799 + fi
16800 +
16801 + ;;
16802 +
16803 + dgux*)
16804 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16805 + hardcode_libdir_flag_spec='-L$libdir'
16806 + hardcode_shlibpath_var=no
16807 + ;;
16808 +
16809 + freebsd1*)
16810 + ld_shlibs=no
16811 + ;;
16812 +
16813 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16814 + # support. Future versions do this automatically, but an explicit c++rt0.o
16815 + # does not break anything, and helps significantly (at the cost of a little
16816 + # extra space).
16817 + freebsd2.2*)
16818 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16819 + hardcode_libdir_flag_spec='-R$libdir'
16820 + hardcode_direct=yes
16821 + hardcode_shlibpath_var=no
16822 + ;;
16823 +
16824 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16825 + freebsd2*)
16826 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16827 + hardcode_direct=yes
16828 + hardcode_minus_L=yes
16829 + hardcode_shlibpath_var=no
16830 + ;;
16831 +
16832 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16833 + freebsd* | dragonfly*)
16834 + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16835 + hardcode_libdir_flag_spec='-R$libdir'
16836 + hardcode_direct=yes
16837 + hardcode_shlibpath_var=no
16838 + ;;
16839 +
16840 + hpux9*)
16841 + if test "$GCC" = yes; then
16842 + archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16843 + else
16844 + archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16845 + fi
16846 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
16847 + hardcode_libdir_separator=:
16848 + hardcode_direct=yes
16849 +
16850 + # hardcode_minus_L: Not really in the search PATH,
16851 + # but as the default location of the library.
16852 + hardcode_minus_L=yes
16853 + export_dynamic_flag_spec='${wl}-E'
16854 + ;;
16855 +
16856 + hpux10*)
16857 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16858 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16859 + else
16860 + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16861 + fi
16862 + if test "$with_gnu_ld" = no; then
16863 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
16864 + hardcode_libdir_flag_spec_ld='+b $libdir'
16865 + hardcode_libdir_separator=:
16866 + hardcode_direct=yes
16867 + hardcode_direct_absolute=yes
16868 + export_dynamic_flag_spec='${wl}-E'
16869 + # hardcode_minus_L: Not really in the search PATH,
16870 + # but as the default location of the library.
16871 + hardcode_minus_L=yes
16872 + fi
16873 + ;;
16874 +
16875 + hpux11*)
16876 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16877 + case $host_cpu in
16878 + hppa*64*)
16879 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16880 + ;;
16881 + ia64*)
16882 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16883 + ;;
16884 + *)
16885 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16886 + ;;
16887 + esac
16888 + else
16889 + case $host_cpu in
16890 + hppa*64*)
16891 + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16892 + ;;
16893 + ia64*)
16894 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16895 + ;;
16896 + *)
16897 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16898 + ;;
16899 + esac
16900 + fi
16901 + if test "$with_gnu_ld" = no; then
16902 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
16903 + hardcode_libdir_separator=:
16904 +
16905 + case $host_cpu in
16906 + hppa*64*|ia64*)
16907 + hardcode_direct=no
16908 + hardcode_shlibpath_var=no
16909 + ;;
16910 + *)
16911 + hardcode_direct=yes
16912 + hardcode_direct_absolute=yes
16913 + export_dynamic_flag_spec='${wl}-E'
16914 +
16915 + # hardcode_minus_L: Not really in the search PATH,
16916 + # but as the default location of the library.
16917 + hardcode_minus_L=yes
16918 + ;;
16919 + esac
16920 + fi
16921 + ;;
16922 +
16923 + irix5* | irix6* | nonstopux*)
16924 + if test "$GCC" = yes; then
16925 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16926 + # Try to use the -exported_symbol ld option, if it does not
16927 + # work, assume that -exports_file does not work either and
16928 + # implicitly export all symbols.
16929 + save_LDFLAGS="$LDFLAGS"
16930 + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
16931 + cat >conftest.$ac_ext <<_ACEOF
16932 +int foo(void) {}
16933 +_ACEOF
16934 +rm -f conftest.$ac_objext conftest$ac_exeext
16935 +if { (ac_try="$ac_link"
16936 +case "(($ac_try" in
16937 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16938 + *) ac_try_echo=$ac_try;;
16939 +esac
16940 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16941 +$as_echo "$ac_try_echo") >&5
16942 + (eval "$ac_link") 2>conftest.er1
16943 + ac_status=$?
16944 + grep -v '^ *+' conftest.er1 >conftest.err
16945 + rm -f conftest.er1
16946 + cat conftest.err >&5
16947 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 + (exit $ac_status); } && {
16949 + test -z "$ac_c_werror_flag" ||
16950 + test ! -s conftest.err
16951 + } && test -s conftest$ac_exeext && {
16952 + test "$cross_compiling" = yes ||
16953 + $as_test_x conftest$ac_exeext
16954 + }; then
16955 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
16956 +
16957 +else
16958 + $as_echo "$as_me: failed program was:" >&5
16959 +sed 's/^/| /' conftest.$ac_ext >&5
16960 +
16961 +
16962 +fi
16963 +
16964 +rm -rf conftest.dSYM
16965 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16966 + conftest$ac_exeext conftest.$ac_ext
16967 + LDFLAGS="$save_LDFLAGS"
16968 + else
16969 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
16970 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
16971 + fi
16972 + archive_cmds_need_lc='no'
16973 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16974 + hardcode_libdir_separator=:
16975 + inherit_rpath=yes
16976 + link_all_deplibs=yes
16977 + ;;
16978 +
16979 + netbsd*)
16980 + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16981 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16982 + else
16983 + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16984 + fi
16985 + hardcode_libdir_flag_spec='-R$libdir'
16986 + hardcode_direct=yes
16987 + hardcode_shlibpath_var=no
16988 + ;;
16989 +
16990 + newsos6)
16991 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16992 + hardcode_direct=yes
16993 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16994 + hardcode_libdir_separator=:
16995 + hardcode_shlibpath_var=no
16996 + ;;
16997 +
16998 + *nto* | *qnx*)
16999 + ;;
17000 +
17001 + openbsd*)
17002 + if test -f /usr/libexec/ld.so; then
17003 + hardcode_direct=yes
17004 + hardcode_shlibpath_var=no
17005 + hardcode_direct_absolute=yes
17006 + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17007 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17008 + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17009 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
17010 + export_dynamic_flag_spec='${wl}-E'
17011 + else
17012 + case $host_os in
17013 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17014 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17015 + hardcode_libdir_flag_spec='-R$libdir'
17016 + ;;
17017 + *)
17018 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17019 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
17020 + ;;
17021 + esac
17022 + fi
17023 + else
17024 + ld_shlibs=no
17025 + fi
17026 + ;;
17027 +
17028 + os2*)
17029 + hardcode_libdir_flag_spec='-L$libdir'
17030 + hardcode_minus_L=yes
17031 + allow_undefined_flag=unsupported
17032 + archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
17033 + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17034 + ;;
17035 +
17036 + osf3*)
17037 + if test "$GCC" = yes; then
17038 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
17039 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17040 + else
17041 + allow_undefined_flag=' -expect_unresolved \*'
17042 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
17043 + fi
17044 + archive_cmds_need_lc='no'
17045 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
17046 + hardcode_libdir_separator=:
17047 + ;;
17048 +
17049 + osf4* | osf5*) # as osf3* with the addition of -msym flag
17050 + if test "$GCC" = yes; then
17051 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
17052 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17053 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
17054 + else
17055 + allow_undefined_flag=' -expect_unresolved \*'
17056 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
17057 + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
17058 + $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'
17059 +
17060 + # Both c and cxx compiler support -rpath directly
17061 + hardcode_libdir_flag_spec='-rpath $libdir'
17062 + fi
17063 + archive_cmds_need_lc='no'
17064 + hardcode_libdir_separator=:
17065 + ;;
17066 +
17067 + solaris*)
17068 + no_undefined_flag=' -z defs'
17069 + if test "$GCC" = yes; then
17070 + wlarc='${wl}'
17071 + archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17072 + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17073 + $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
17074 + else
17075 + case `$CC -V 2>&1` in
17076 + *"Compilers 5.0"*)
17077 + wlarc=''
17078 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17079 + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17080 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
17081 + ;;
17082 + *)
17083 + wlarc='${wl}'
17084 + archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
17085 + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17086 + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
17087 + ;;
17088 + esac
17089 + fi
17090 + hardcode_libdir_flag_spec='-R$libdir'
17091 + hardcode_shlibpath_var=no
17092 + case $host_os in
17093 + solaris2.[0-5] | solaris2.[0-5].*) ;;
17094 + *)
17095 + # The compiler driver will combine and reorder linker options,
17096 + # but understands `-z linker_flag'. GCC discards it without `$wl',
17097 + # but is careful enough not to reorder.
17098 + # Supported since Solaris 2.6 (maybe 2.5.1?)
17099 + if test "$GCC" = yes; then
17100 + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17101 + else
17102 + whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
17103 + fi
17104 + ;;
17105 + esac
17106 + link_all_deplibs=yes
17107 + ;;
17108 +
17109 + sunos4*)
17110 + if test "x$host_vendor" = xsequent; then
17111 + # Use $CC to link under sequent, because it throws in some extra .o
17112 + # files that make .init and .fini sections work.
17113 + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17114 + else
17115 + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17116 + fi
17117 + hardcode_libdir_flag_spec='-L$libdir'
17118 + hardcode_direct=yes
17119 + hardcode_minus_L=yes
17120 + hardcode_shlibpath_var=no
17121 + ;;
17122 +
17123 + sysv4)
17124 + case $host_vendor in
17125 + sni)
17126 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17127 + hardcode_direct=yes # is this really true???
17128 + ;;
17129 + siemens)
17130 + ## LD is ld it makes a PLAMLIB
17131 + ## CC just makes a GrossModule.
17132 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17133 + reload_cmds='$CC -r -o $output$reload_objs'
17134 + hardcode_direct=no
17135 + ;;
17136 + motorola)
17137 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17138 + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
17139 + ;;
17140 + esac
17141 + runpath_var='LD_RUN_PATH'
17142 + hardcode_shlibpath_var=no
17143 + ;;
17144 +
17145 + sysv4.3*)
17146 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17147 + hardcode_shlibpath_var=no
17148 + export_dynamic_flag_spec='-Bexport'
17149 + ;;
17150 +
17151 + sysv4*MP*)
17152 + if test -d /usr/nec; then
17153 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17154 + hardcode_shlibpath_var=no
17155 + runpath_var=LD_RUN_PATH
17156 + hardcode_runpath_var=yes
17157 + ld_shlibs=yes
17158 + fi
17159 + ;;
17160 +
17161 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
17162 + no_undefined_flag='${wl}-z,text'
17163 + archive_cmds_need_lc=no
17164 + hardcode_shlibpath_var=no
17165 + runpath_var='LD_RUN_PATH'
17166 +
17167 + if test "$GCC" = yes; then
17168 + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17169 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17170 + else
17171 + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17172 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17173 + fi
17174 + ;;
17175 +
17176 + sysv5* | sco3.2v5* | sco5v6*)
17177 + # Note: We can NOT use -z defs as we might desire, because we do not
17178 + # link with -lc, and that would cause any symbols used from libc to
17179 + # always be unresolved, which means just about no library would
17180 + # ever link correctly. If we're not using GNU ld we use -z text
17181 + # though, which does catch some bad symbols but isn't as heavy-handed
17182 + # as -z defs.
17183 + no_undefined_flag='${wl}-z,text'
17184 + allow_undefined_flag='${wl}-z,nodefs'
17185 + archive_cmds_need_lc=no
17186 + hardcode_shlibpath_var=no
17187 + hardcode_libdir_flag_spec='${wl}-R,$libdir'
17188 + hardcode_libdir_separator=':'
17189 + link_all_deplibs=yes
17190 + export_dynamic_flag_spec='${wl}-Bexport'
17191 + runpath_var='LD_RUN_PATH'
17192 +
17193 + if test "$GCC" = yes; then
17194 + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17195 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17196 + else
17197 + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17198 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17199 + fi
17200 + ;;
17201 +
17202 + uts4*)
17203 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17204 + hardcode_libdir_flag_spec='-L$libdir'
17205 + hardcode_shlibpath_var=no
17206 + ;;
17207 +
17208 + *)
17209 + ld_shlibs=no
17210 + ;;
17211 + esac
17212 +
17213 + if test x$host_vendor = xsni; then
17214 + case $host in
17215 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
17216 + export_dynamic_flag_spec='${wl}-Blargedynsym'
17217 + ;;
17218 + esac
17219 + fi
17220 + fi
17221 +
17222 +{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
17223 +$as_echo "$ld_shlibs" >&6; }
17224 +test "$ld_shlibs" = no && can_build_shared=no
17225 +
17226 +with_gnu_ld=$with_gnu_ld
17227 +
17228 +
17229 +
17230 +
17231 +
17232 +
17233 +
17234 +
17235 +
17236 +
17237 +
17238 +
17239 +
17240 +
17241 +
17242 +#
17243 +# Do we need to explicitly link libc?
17244 +#
17245 +case "x$archive_cmds_need_lc" in
17246 +x|xyes)
17247 + # Assume -lc should be added
17248 + archive_cmds_need_lc=yes
17249 +
17250 + if test "$enable_shared" = yes && test "$GCC" = yes; then
17251 + case $archive_cmds in
17252 + *'~'*)
17253 + # FIXME: we may have to deal with multi-command sequences.
17254 + ;;
17255 + '$CC '*)
17256 + # Test whether the compiler implicitly links with -lc since on some
17257 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
17258 + # to ld, don't add -lc before -lgcc.
17259 + { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17260 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17261 + $RM conftest*
17262 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17263 +
17264 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17265 + (eval $ac_compile) 2>&5
17266 + ac_status=$?
17267 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 + (exit $ac_status); } 2>conftest.err; then
17269 + soname=conftest
17270 + lib=conftest
17271 + libobjs=conftest.$ac_objext
17272 + deplibs=
17273 + wl=$lt_prog_compiler_wl
17274 + pic_flag=$lt_prog_compiler_pic
17275 + compiler_flags=-v
17276 + linker_flags=-v
17277 + verstring=
17278 + output_objdir=.
17279 + libname=conftest
17280 + lt_save_allow_undefined_flag=$allow_undefined_flag
17281 + allow_undefined_flag=
17282 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
17283 + (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
17284 + ac_status=$?
17285 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17286 + (exit $ac_status); }
17287 + then
17288 + archive_cmds_need_lc=no
17289 + else
17290 + archive_cmds_need_lc=yes
17291 + fi
17292 + allow_undefined_flag=$lt_save_allow_undefined_flag
17293 + else
17294 + cat conftest.err 1>&5
17295 + fi
17296 + $RM conftest*
17297 + { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
17298 +$as_echo "$archive_cmds_need_lc" >&6; }
17299 + ;;
17300 + esac
17301 + fi
17302 + ;;
17303 +esac
17304 +
17305 +
17306 +
17307 +
17308 +
17309 +
17310 +
17311 +
17312 +
17313 +
17314 +
17315 +
17316 +
17317 +
17318 +
17319 +
17320 +
17321 +
17322 +
17323 +
17324 +
17325 +
17326 +
17327 +
17328 +
17329 +
17330 +
17331 +
17332 +
17333 +
17334 +
17335 +
17336 +
17337 +
17338 +
17339 +
17340 +
17341 +
17342 +
17343 +
17344 +
17345 +
17346 +
17347 +
17348 +
17349 +
17350 +
17351 +
17352 +
17353 +
17354 +
17355 +
17356 +
17357 +
17358 +
17359 +
17360 +
17361 +
17362 +
17363 +
17364 +
17365 +
17366 +
17367 +
17368 +
17369 +
17370 +
17371 +
17372 +
17373 +
17374 +
17375 +
17376 +
17377 +
17378 +
17379 +
17380 +
17381 +
17382 +
17383 +
17384 +
17385 +
17386 +
17387 +
17388 +
17389 +
17390 +
17391 +
17392 +
17393 +
17394 +
17395 +
17396 +
17397 +
17398 +
17399 +
17400 +
17401 +
17402 +
17403 +
17404 +
17405 +
17406 +
17407 +
17408 +
17409 +
17410 +
17411 +
17412 +
17413 +
17414 +
17415 +
17416 +
17417 +
17418 +
17419 +
17420 +
17421 +
17422 +
17423 +
17424 +
17425 +
17426 +
17427 +
17428 +
17429 +
17430 +
17431 +
17432 +
17433 +
17434 +
17435 +
17436 +
17437 +
17438 +
17439 +
17440 +
17441 +
17442 +
17443 +
17444 +
17445 +
17446 +
17447 +
17448 +
17449 +
17450 +
17451 +
17452 +
17453 +
17454 +
17455 +
17456 +
17457 +
17458 +
17459 +
17460 +
17461 + { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17462 +$as_echo_n "checking dynamic linker characteristics... " >&6; }
17463 +
17464 +if test "$GCC" = yes; then
17465 + case $host_os in
17466 + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
17467 + *) lt_awk_arg="/^libraries:/" ;;
17468 + esac
17469 + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17470 + if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
17471 + # if the path contains ";" then we assume it to be the separator
17472 + # otherwise default to the standard path separator (i.e. ":") - it is
17473 + # assumed that no part of a normal pathname contains ";" but that should
17474 + # okay in the real world where ";" in dirpaths is itself problematic.
17475 + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
17476 + else
17477 + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17478 + fi
17479 + # Ok, now we have the path, separated by spaces, we can step through it
17480 + # and add multilib dir if necessary.
17481 + lt_tmp_lt_search_path_spec=
17482 + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
17483 + for lt_sys_path in $lt_search_path_spec; do
17484 + if test -d "$lt_sys_path/$lt_multi_os_dir"; then
17485 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
17486 + else
17487 + test -d "$lt_sys_path" && \
17488 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
17489 + fi
17490 + done
17491 + lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
17492 +BEGIN {RS=" "; FS="/|\n";} {
17493 + lt_foo="";
17494 + lt_count=0;
17495 + for (lt_i = NF; lt_i > 0; lt_i--) {
17496 + if ($lt_i != "" && $lt_i != ".") {
17497 + if ($lt_i == "..") {
17498 + lt_count++;
17499 + } else {
17500 + if (lt_count == 0) {
17501 + lt_foo="/" $lt_i lt_foo;
17502 + } else {
17503 + lt_count--;
17504 + }
17505 + }
17506 + }
17507 + }
17508 + if (lt_foo != "") { lt_freq[lt_foo]++; }
17509 + if (lt_freq[lt_foo] == 1) { print lt_foo; }
17510 +}'`
17511 + sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
17512 +else
17513 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17514 +fi
17515 +library_names_spec=
17516 +libname_spec='lib$name'
17517 +soname_spec=
17518 +shrext_cmds=".so"
17519 +postinstall_cmds=
17520 +postuninstall_cmds=
17521 +finish_cmds=
17522 +finish_eval=
17523 +shlibpath_var=
17524 +shlibpath_overrides_runpath=unknown
17525 +version_type=none
17526 +dynamic_linker="$host_os ld.so"
17527 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
17528 +need_lib_prefix=unknown
17529 +hardcode_into_libs=no
17530 +
17531 +# when you set need_version to no, make sure it does not cause -set_version
17532 +# flags to be left without arguments
17533 +need_version=unknown
17534 +
17535 +case $host_os in
17536 +aix3*)
17537 + version_type=linux
17538 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17539 + shlibpath_var=LIBPATH
17540 +
17541 + # AIX 3 has no versioning support, so we append a major version to the name.
17542 + soname_spec='${libname}${release}${shared_ext}$major'
17543 + ;;
17544 +
17545 +aix[4-9]*)
17546 + version_type=linux
17547 + need_lib_prefix=no
17548 + need_version=no
17549 + hardcode_into_libs=yes
17550 + if test "$host_cpu" = ia64; then
17551 + # AIX 5 supports IA64
17552 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17553 + shlibpath_var=LD_LIBRARY_PATH
17554 + else
17555 + # With GCC up to 2.95.x, collect2 would create an import file
17556 + # for dependence libraries. The import file would start with
17557 + # the line `#! .'. This would cause the generated library to
17558 + # depend on `.', always an invalid library. This was fixed in
17559 + # development snapshots of GCC prior to 3.0.
17560 + case $host_os in
17561 + aix4 | aix4.[01] | aix4.[01].*)
17562 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17563 + echo ' yes '
17564 + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
17565 + :
17566 + else
17567 + can_build_shared=no
17568 + fi
17569 + ;;
17570 + esac
17571 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17572 + # soname into executable. Probably we can add versioning support to
17573 + # collect2, so additional links can be useful in future.
17574 + if test "$aix_use_runtimelinking" = yes; then
17575 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17576 + # instead of lib<name>.a to let people know that these are not
17577 + # typical AIX shared libraries.
17578 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17579 + else
17580 + # We preserve .a as extension for shared libraries through AIX4.2
17581 + # and later when we are not doing run time linking.
17582 + library_names_spec='${libname}${release}.a $libname.a'
17583 + soname_spec='${libname}${release}${shared_ext}$major'
17584 + fi
17585 + shlibpath_var=LIBPATH
17586 + fi
17587 + ;;
17588 +
17589 +amigaos*)
17590 + case $host_cpu in
17591 + powerpc)
17592 + # Since July 2007 AmigaOS4 officially supports .so libraries.
17593 + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17594 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17595 + ;;
17596 + m68k)
17597 + library_names_spec='$libname.ixlibrary $libname.a'
17598 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
17599 + 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'
17600 + ;;
17601 + esac
17602 + ;;
17603 +
17604 +beos*)
17605 + library_names_spec='${libname}${shared_ext}'
17606 + dynamic_linker="$host_os ld.so"
17607 + shlibpath_var=LIBRARY_PATH
17608 + ;;
17609 +
17610 +bsdi[45]*)
17611 + version_type=linux
17612 + need_version=no
17613 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17614 + soname_spec='${libname}${release}${shared_ext}$major'
17615 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17616 + shlibpath_var=LD_LIBRARY_PATH
17617 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17618 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17619 + # the default ld.so.conf also contains /usr/contrib/lib and
17620 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17621 + # libtool to hard-code these into programs
17622 + ;;
17623 +
17624 +cygwin* | mingw* | pw32* | cegcc*)
17625 + version_type=windows
17626 + shrext_cmds=".dll"
17627 + need_version=no
17628 + need_lib_prefix=no
17629 +
17630 + case $GCC,$host_os in
17631 + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
17632 + library_names_spec='$libname.dll.a'
17633 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
17634 + postinstall_cmds='base_file=`basename \${file}`~
17635 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17636 + dldir=$destdir/`dirname \$dlpath`~
17637 + test -d \$dldir || mkdir -p \$dldir~
17638 + $install_prog $dir/$dlname \$dldir/$dlname~
17639 + chmod a+x \$dldir/$dlname~
17640 + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17641 + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17642 + fi'
17643 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17644 + dlpath=$dir/\$dldll~
17645 + $RM \$dlpath'
17646 + shlibpath_overrides_runpath=yes
17647 +
17648 + case $host_os in
17649 + cygwin*)
17650 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17651 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17652 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17653 + ;;
17654 + mingw* | cegcc*)
17655 + # MinGW DLLs use traditional 'lib' prefix
17656 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17657 + sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17658 + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17659 + # It is most probably a Windows format PATH printed by
17660 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
17661 + # path with ; separators, and with drive letters. We can handle the
17662 + # drive letters (cygwin fileutils understands them), so leave them,
17663 + # especially as we might pass files found there to a mingw objdump,
17664 + # which wouldn't understand a cygwinified path. Ahh.
17665 + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17666 + else
17667 + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17668 + fi
17669 + ;;
17670 + pw32*)
17671 + # pw32 DLLs use 'pw' prefix rather than 'lib'
17672 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17673 + ;;
17674 + esac
17675 + ;;
17676 +
17677 + *)
17678 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17679 + ;;
17680 + esac
17681 + dynamic_linker='Win32 ld.exe'
17682 + # FIXME: first we should search . and the directory the executable is in
17683 + shlibpath_var=PATH
17684 + ;;
17685 +
17686 +darwin* | rhapsody*)
17687 + dynamic_linker="$host_os dyld"
17688 + version_type=darwin
17689 + need_lib_prefix=no
17690 + need_version=no
17691 + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17692 + soname_spec='${libname}${release}${major}$shared_ext'
17693 + shlibpath_overrides_runpath=yes
17694 + shlibpath_var=DYLD_LIBRARY_PATH
17695 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17696 +
17697 + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
17698 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17699 + ;;
17700 +
17701 +dgux*)
17702 + version_type=linux
17703 + need_lib_prefix=no
17704 + need_version=no
17705 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17706 + soname_spec='${libname}${release}${shared_ext}$major'
17707 + shlibpath_var=LD_LIBRARY_PATH
17708 + ;;
17709 +
17710 +freebsd1*)
17711 + dynamic_linker=no
17712 + ;;
17713 +
17714 +freebsd* | dragonfly*)
17715 + # DragonFly does not have aout. When/if they implement a new
17716 + # versioning mechanism, adjust this.
17717 + if test -x /usr/bin/objformat; then
17718 + objformat=`/usr/bin/objformat`
17719 + else
17720 + case $host_os in
17721 + freebsd[123]*) objformat=aout ;;
17722 + *) objformat=elf ;;
17723 + esac
17724 + fi
17725 + version_type=freebsd-$objformat
17726 + case $version_type in
17727 + freebsd-elf*)
17728 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17729 + need_version=no
17730 + need_lib_prefix=no
17731 + ;;
17732 + freebsd-*)
17733 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17734 + need_version=yes
17735 + ;;
17736 + esac
17737 + shlibpath_var=LD_LIBRARY_PATH
17738 + case $host_os in
17739 + freebsd2*)
17740 + shlibpath_overrides_runpath=yes
17741 + ;;
17742 + freebsd3.[01]* | freebsdelf3.[01]*)
17743 + shlibpath_overrides_runpath=yes
17744 + hardcode_into_libs=yes
17745 + ;;
17746 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17747 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17748 + shlibpath_overrides_runpath=no
17749 + hardcode_into_libs=yes
17750 + ;;
17751 + *) # from 4.6 on, and DragonFly
17752 + shlibpath_overrides_runpath=yes
17753 + hardcode_into_libs=yes
17754 + ;;
17755 + esac
17756 + ;;
17757 +
17758 +gnu*)
17759 + version_type=linux
17760 + need_lib_prefix=no
17761 + need_version=no
17762 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17763 + soname_spec='${libname}${release}${shared_ext}$major'
17764 + shlibpath_var=LD_LIBRARY_PATH
17765 + hardcode_into_libs=yes
17766 + ;;
17767 +
17768 +hpux9* | hpux10* | hpux11*)
17769 + # Give a soname corresponding to the major version so that dld.sl refuses to
17770 + # link against other versions.
17771 + version_type=sunos
17772 + need_lib_prefix=no
17773 + need_version=no
17774 + case $host_cpu in
17775 + ia64*)
17776 + shrext_cmds='.so'
17777 + hardcode_into_libs=yes
17778 + dynamic_linker="$host_os dld.so"
17779 + shlibpath_var=LD_LIBRARY_PATH
17780 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17781 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17782 + soname_spec='${libname}${release}${shared_ext}$major'
17783 + if test "X$HPUX_IA64_MODE" = X32; then
17784 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17785 + else
17786 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17787 + fi
17788 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17789 + ;;
17790 + hppa*64*)
17791 + shrext_cmds='.sl'
17792 + hardcode_into_libs=yes
17793 + dynamic_linker="$host_os dld.sl"
17794 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17795 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17796 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17797 + soname_spec='${libname}${release}${shared_ext}$major'
17798 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17799 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17800 + ;;
17801 + *)
17802 + shrext_cmds='.sl'
17803 + dynamic_linker="$host_os dld.sl"
17804 + shlibpath_var=SHLIB_PATH
17805 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17806 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17807 + soname_spec='${libname}${release}${shared_ext}$major'
17808 + ;;
17809 + esac
17810 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
17811 + postinstall_cmds='chmod 555 $lib'
17812 + ;;
17813 +
17814 +interix[3-9]*)
17815 + version_type=linux
17816 + need_lib_prefix=no
17817 + need_version=no
17818 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17819 + soname_spec='${libname}${release}${shared_ext}$major'
17820 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17821 + shlibpath_var=LD_LIBRARY_PATH
17822 + shlibpath_overrides_runpath=no
17823 + hardcode_into_libs=yes
17824 + ;;
17825 +
17826 +irix5* | irix6* | nonstopux*)
17827 + case $host_os in
17828 + nonstopux*) version_type=nonstopux ;;
17829 + *)
17830 + if test "$lt_cv_prog_gnu_ld" = yes; then
17831 + version_type=linux
17832 + else
17833 + version_type=irix
17834 + fi ;;
17835 + esac
17836 + need_lib_prefix=no
17837 + need_version=no
17838 + soname_spec='${libname}${release}${shared_ext}$major'
17839 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17840 + case $host_os in
17841 + irix5* | nonstopux*)
17842 + libsuff= shlibsuff=
17843 + ;;
17844 + *)
17845 + case $LD in # libtool.m4 will add one of these switches to LD
17846 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17847 + libsuff= shlibsuff= libmagic=32-bit;;
17848 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17849 + libsuff=32 shlibsuff=N32 libmagic=N32;;
17850 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17851 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
17852 + *) libsuff= shlibsuff= libmagic=never-match;;
17853 + esac
17854 + ;;
17855 + esac
17856 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17857 + shlibpath_overrides_runpath=no
17858 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17859 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17860 + hardcode_into_libs=yes
17861 + ;;
17862 +
17863 +# No shared lib support for Linux oldld, aout, or coff.
17864 +linux*oldld* | linux*aout* | linux*coff*)
17865 + dynamic_linker=no
17866 + ;;
17867 +
17868 +# This must be Linux ELF.
17869 +linux* | k*bsd*-gnu)
17870 + version_type=linux
17871 + need_lib_prefix=no
17872 + need_version=no
17873 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17874 + soname_spec='${libname}${release}${shared_ext}$major'
17875 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17876 + shlibpath_var=LD_LIBRARY_PATH
17877 + shlibpath_overrides_runpath=no
17878 + # Some binutils ld are patched to set DT_RUNPATH
17879 + save_LDFLAGS=$LDFLAGS
17880 + save_libdir=$libdir
17881 + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
17882 + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
17883 + cat >conftest.$ac_ext <<_ACEOF
17884 +/* confdefs.h. */
17885 +_ACEOF
17886 +cat confdefs.h >>conftest.$ac_ext
17887 +cat >>conftest.$ac_ext <<_ACEOF
17888 +/* end confdefs.h. */
17889 +
17890 +int
17891 +main ()
17892 +{
17893 +
17894 + ;
17895 + return 0;
17896 +}
17897 +_ACEOF
17898 +rm -f conftest.$ac_objext conftest$ac_exeext
17899 +if { (ac_try="$ac_link"
17900 +case "(($ac_try" in
17901 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17902 + *) ac_try_echo=$ac_try;;
17903 +esac
17904 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17905 +$as_echo "$ac_try_echo") >&5
17906 + (eval "$ac_link") 2>conftest.er1
17907 + ac_status=$?
17908 + grep -v '^ *+' conftest.er1 >conftest.err
17909 + rm -f conftest.er1
17910 + cat conftest.err >&5
17911 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 + (exit $ac_status); } && {
17913 + test -z "$ac_c_werror_flag" ||
17914 + test ! -s conftest.err
17915 + } && test -s conftest$ac_exeext && {
17916 + test "$cross_compiling" = yes ||
17917 + $as_test_x conftest$ac_exeext
17918 + }; then
17919 + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
17920 + shlibpath_overrides_runpath=yes
17921 +fi
17922 +
17923 +else
17924 + $as_echo "$as_me: failed program was:" >&5
17925 +sed 's/^/| /' conftest.$ac_ext >&5
17926 +
17927 +
17928 +fi
17929 +
17930 +rm -rf conftest.dSYM
17931 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17932 + conftest$ac_exeext conftest.$ac_ext
17933 + LDFLAGS=$save_LDFLAGS
17934 + libdir=$save_libdir
17935 +
17936 + # This implies no fast_install, which is unacceptable.
17937 + # Some rework will be needed to allow for fast_install
17938 + # before this can be enabled.
17939 + hardcode_into_libs=yes
17940 +
17941 + # Append ld.so.conf contents to the search path
17942 + if test -f /etc/ld.so.conf; then
17943 + 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' ' '`
17944 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17945 + fi
17946 +
17947 + # We used to test for /lib/ld.so.1 and disable shared libraries on
17948 + # powerpc, because MkLinux only supported shared libraries with the
17949 + # GNU dynamic linker. Since this was broken with cross compilers,
17950 + # most powerpc-linux boxes support dynamic linking these days and
17951 + # people can always --disable-shared, the test was removed, and we
17952 + # assume the GNU/Linux dynamic linker is in use.
17953 + dynamic_linker='GNU/Linux ld.so'
17954 + ;;
17955 +
17956 +netbsd*)
17957 + version_type=sunos
17958 + need_lib_prefix=no
17959 + need_version=no
17960 + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17961 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17962 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17963 + dynamic_linker='NetBSD (a.out) ld.so'
17964 + else
17965 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17966 + soname_spec='${libname}${release}${shared_ext}$major'
17967 + dynamic_linker='NetBSD ld.elf_so'
17968 + fi
17969 + shlibpath_var=LD_LIBRARY_PATH
17970 + shlibpath_overrides_runpath=yes
17971 + hardcode_into_libs=yes
17972 + ;;
17973 +
17974 +newsos6)
17975 + version_type=linux
17976 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17977 + shlibpath_var=LD_LIBRARY_PATH
17978 + shlibpath_overrides_runpath=yes
17979 + ;;
17980 +
17981 +*nto* | *qnx*)
17982 + version_type=qnx
17983 + need_lib_prefix=no
17984 + need_version=no
17985 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17986 + soname_spec='${libname}${release}${shared_ext}$major'
17987 + shlibpath_var=LD_LIBRARY_PATH
17988 + shlibpath_overrides_runpath=no
17989 + hardcode_into_libs=yes
17990 + dynamic_linker='ldqnx.so'
17991 + ;;
17992 +
17993 +openbsd*)
17994 + version_type=sunos
17995 + sys_lib_dlsearch_path_spec="/usr/lib"
17996 + need_lib_prefix=no
17997 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17998 + case $host_os in
17999 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18000 + *) need_version=no ;;
18001 + esac
18002 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18003 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18004 + shlibpath_var=LD_LIBRARY_PATH
18005 + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18006 + case $host_os in
18007 + openbsd2.[89] | openbsd2.[89].*)
18008 + shlibpath_overrides_runpath=no
18009 + ;;
18010 + *)
18011 + shlibpath_overrides_runpath=yes
18012 + ;;
18013 + esac
18014 + else
18015 + shlibpath_overrides_runpath=yes
18016 + fi
18017 + ;;
18018 +
18019 +os2*)
18020 + libname_spec='$name'
18021 + shrext_cmds=".dll"
18022 + need_lib_prefix=no
18023 + library_names_spec='$libname${shared_ext} $libname.a'
18024 + dynamic_linker='OS/2 ld.exe'
18025 + shlibpath_var=LIBPATH
18026 + ;;
18027 +
18028 +osf3* | osf4* | osf5*)
18029 + version_type=osf
18030 + need_lib_prefix=no
18031 + need_version=no
18032 + soname_spec='${libname}${release}${shared_ext}$major'
18033 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18034 + shlibpath_var=LD_LIBRARY_PATH
18035 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18036 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18037 + ;;
18038 +
18039 +rdos*)
18040 + dynamic_linker=no
18041 + ;;
18042 +
18043 +solaris*)
18044 + version_type=linux
18045 + need_lib_prefix=no
18046 + need_version=no
18047 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18048 + soname_spec='${libname}${release}${shared_ext}$major'
18049 + shlibpath_var=LD_LIBRARY_PATH
18050 + shlibpath_overrides_runpath=yes
18051 + hardcode_into_libs=yes
18052 + # ldd complains unless libraries are executable
18053 + postinstall_cmds='chmod +x $lib'
18054 + ;;
18055 +
18056 +sunos4*)
18057 + version_type=sunos
18058 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18059 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18060 + shlibpath_var=LD_LIBRARY_PATH
18061 + shlibpath_overrides_runpath=yes
18062 + if test "$with_gnu_ld" = yes; then
18063 + need_lib_prefix=no
18064 + fi
18065 + need_version=yes
18066 + ;;
18067 +
18068 +sysv4 | sysv4.3*)
18069 + version_type=linux
18070 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18071 + soname_spec='${libname}${release}${shared_ext}$major'
18072 + shlibpath_var=LD_LIBRARY_PATH
18073 + case $host_vendor in
18074 + sni)
18075 + shlibpath_overrides_runpath=no
18076 + need_lib_prefix=no
18077 + runpath_var=LD_RUN_PATH
18078 + ;;
18079 + siemens)
18080 + need_lib_prefix=no
18081 + ;;
18082 + motorola)
18083 + need_lib_prefix=no
18084 + need_version=no
18085 + shlibpath_overrides_runpath=no
18086 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18087 + ;;
18088 + esac
18089 + ;;
18090 +
18091 +sysv4*MP*)
18092 + if test -d /usr/nec ;then
18093 + version_type=linux
18094 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18095 + soname_spec='$libname${shared_ext}.$major'
18096 + shlibpath_var=LD_LIBRARY_PATH
18097 + fi
18098 + ;;
18099 +
18100 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18101 + version_type=freebsd-elf
18102 + need_lib_prefix=no
18103 + need_version=no
18104 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18105 + soname_spec='${libname}${release}${shared_ext}$major'
18106 + shlibpath_var=LD_LIBRARY_PATH
18107 + shlibpath_overrides_runpath=yes
18108 + hardcode_into_libs=yes
18109 + if test "$with_gnu_ld" = yes; then
18110 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18111 + else
18112 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18113 + case $host_os in
18114 + sco3.2v5*)
18115 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18116 + ;;
18117 + esac
18118 + fi
18119 + sys_lib_dlsearch_path_spec='/usr/lib'
18120 + ;;
18121 +
18122 +tpf*)
18123 + # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
18124 + version_type=linux
18125 + need_lib_prefix=no
18126 + need_version=no
18127 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18128 + shlibpath_var=LD_LIBRARY_PATH
18129 + shlibpath_overrides_runpath=no
18130 + hardcode_into_libs=yes
18131 + ;;
18132 +
18133 +uts4*)
18134 + version_type=linux
18135 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18136 + soname_spec='${libname}${release}${shared_ext}$major'
18137 + shlibpath_var=LD_LIBRARY_PATH
18138 + ;;
18139 +
18140 +*)
18141 + dynamic_linker=no
18142 + ;;
18143 +esac
18144 +{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18145 +$as_echo "$dynamic_linker" >&6; }
18146 +test "$dynamic_linker" = no && can_build_shared=no
18147 +
18148 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18149 +if test "$GCC" = yes; then
18150 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18151 +fi
18152 +
18153 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18154 + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
18155 +fi
18156 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18157 + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
18158 +fi
18159 +
18160 +
18161 +
18162 +
18163 +
18164 +
18165 +
18166 +
18167 +
18168 +
18169 +
18170 +
18171 +
18172 +
18173 +
18174 +
18175 +
18176 +
18177 +
18178 +
18179 +
18180 +
18181 +
18182 +
18183 +
18184 +
18185 +
18186 +
18187 +
18188 +
18189 +
18190 +
18191 +
18192 +
18193 +
18194 +
18195 +
18196 +
18197 +
18198 +
18199 +
18200 +
18201 +
18202 +
18203 +
18204 +
18205 +
18206 +
18207 +
18208 +
18209 +
18210 +
18211 +
18212 +
18213 +
18214 +
18215 +
18216 +
18217 +
18218 +
18219 +
18220 +
18221 +
18222 +
18223 +
18224 +
18225 +
18226 +
18227 +
18228 +
18229 +
18230 +
18231 +
18232 +
18233 +
18234 +
18235 +
18236 +
18237 +
18238 +
18239 +
18240 +
18241 +
18242 +
18243 +
18244 +
18245 +
18246 + { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18247 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18248 +hardcode_action=
18249 +if test -n "$hardcode_libdir_flag_spec" ||
18250 + test -n "$runpath_var" ||
18251 + test "X$hardcode_automatic" = "Xyes" ; then
18252 +
18253 + # We can hardcode non-existent directories.
18254 + if test "$hardcode_direct" != no &&
18255 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
18256 + # have to relink, otherwise we might link with an installed library
18257 + # when we should be linking with a yet-to-be-installed one
18258 + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
18259 + test "$hardcode_minus_L" != no; then
18260 + # Linking always hardcodes the temporary library directory.
18261 + hardcode_action=relink
18262 + else
18263 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
18264 + hardcode_action=immediate
18265 + fi
18266 +else
18267 + # We cannot hardcode anything, or else we can only hardcode existing
18268 + # directories.
18269 + hardcode_action=unsupported
18270 +fi
18271 +{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
18272 +$as_echo "$hardcode_action" >&6; }
18273 +
18274 +if test "$hardcode_action" = relink ||
18275 + test "$inherit_rpath" = yes; then
18276 + # Fast installation is not supported
18277 + enable_fast_install=no
18278 +elif test "$shlibpath_overrides_runpath" = yes ||
18279 + test "$enable_shared" = no; then
18280 + # Fast installation is not necessary
18281 + enable_fast_install=needless
18282 +fi
18283 +
18284 +
18285 +
18286 +
18287 +
18288 +
18289 + if test "x$enable_dlopen" != xyes; then
18290 + enable_dlopen=unknown
18291 + enable_dlopen_self=unknown
18292 + enable_dlopen_self_static=unknown
18293 +else
18294 + lt_cv_dlopen=no
18295 + lt_cv_dlopen_libs=
18296 +
18297 + case $host_os in
18298 + beos*)
18299 + lt_cv_dlopen="load_add_on"
18300 + lt_cv_dlopen_libs=
18301 + lt_cv_dlopen_self=yes
18302 + ;;
18303 +
18304 + mingw* | pw32* | cegcc*)
18305 + lt_cv_dlopen="LoadLibrary"
18306 + lt_cv_dlopen_libs=
18307 + ;;
18308 +
18309 + cygwin*)
18310 + lt_cv_dlopen="dlopen"
18311 + lt_cv_dlopen_libs=
18312 + ;;
18313 +
18314 + darwin*)
18315 + # if libdl is installed we need to link against it
18316 + { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18317 +$as_echo_n "checking for dlopen in -ldl... " >&6; }
18318 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18319 + $as_echo_n "(cached) " >&6
18320 +else
18321 + ac_check_lib_save_LIBS=$LIBS
18322 +LIBS="-ldl $LIBS"
18323 +cat >conftest.$ac_ext <<_ACEOF
18324 +/* confdefs.h. */
18325 +_ACEOF
18326 +cat confdefs.h >>conftest.$ac_ext
18327 +cat >>conftest.$ac_ext <<_ACEOF
18328 +/* end confdefs.h. */
18329 +
18330 +/* Override any GCC internal prototype to avoid an error.
18331 + Use char because int might match the return type of a GCC
18332 + builtin and then its argument prototype would still apply. */
18333 +#ifdef __cplusplus
18334 +extern "C"
18335 +#endif
18336 +char dlopen ();
18337 +int
18338 +main ()
18339 +{
18340 +return dlopen ();
18341 + ;
18342 + return 0;
18343 +}
18344 +_ACEOF
18345 +rm -f conftest.$ac_objext conftest$ac_exeext
18346 +if { (ac_try="$ac_link"
18347 +case "(($ac_try" in
18348 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18349 + *) ac_try_echo=$ac_try;;
18350 +esac
18351 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18352 +$as_echo "$ac_try_echo") >&5
18353 + (eval "$ac_link") 2>conftest.er1
18354 + ac_status=$?
18355 + grep -v '^ *+' conftest.er1 >conftest.err
18356 + rm -f conftest.er1
18357 + cat conftest.err >&5
18358 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18359 + (exit $ac_status); } && {
18360 + test -z "$ac_c_werror_flag" ||
18361 + test ! -s conftest.err
18362 + } && test -s conftest$ac_exeext && {
18363 + test "$cross_compiling" = yes ||
18364 + $as_test_x conftest$ac_exeext
18365 + }; then
18366 + ac_cv_lib_dl_dlopen=yes
18367 +else
18368 + $as_echo "$as_me: failed program was:" >&5
18369 +sed 's/^/| /' conftest.$ac_ext >&5
18370 +
18371 + ac_cv_lib_dl_dlopen=no
18372 +fi
18373 +
18374 +rm -rf conftest.dSYM
18375 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18376 + conftest$ac_exeext conftest.$ac_ext
18377 +LIBS=$ac_check_lib_save_LIBS
18378 +fi
18379 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18380 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
18381 +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
18382 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18383 +else
18384 +
18385 + lt_cv_dlopen="dyld"
18386 + lt_cv_dlopen_libs=
18387 + lt_cv_dlopen_self=yes
18388 +
18389 +fi
18390 +
18391 + ;;
18392 +
18393 + *)
18394 + { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
18395 +$as_echo_n "checking for shl_load... " >&6; }
18396 +if test "${ac_cv_func_shl_load+set}" = set; then
18397 + $as_echo_n "(cached) " >&6
18398 +else
18399 + cat >conftest.$ac_ext <<_ACEOF
18400 +/* confdefs.h. */
18401 +_ACEOF
18402 +cat confdefs.h >>conftest.$ac_ext
18403 +cat >>conftest.$ac_ext <<_ACEOF
18404 +/* end confdefs.h. */
18405 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
18406 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
18407 +#define shl_load innocuous_shl_load
18408 +
18409 +/* System header to define __stub macros and hopefully few prototypes,
18410 + which can conflict with char shl_load (); below.
18411 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18412 + <limits.h> exists even on freestanding compilers. */
18413 +
18414 +#ifdef __STDC__
18415 +# include <limits.h>
18416 +#else
18417 +# include <assert.h>
18418 +#endif
18419 +
18420 +#undef shl_load
18421 +
18422 +/* Override any GCC internal prototype to avoid an error.
18423 + Use char because int might match the return type of a GCC
18424 + builtin and then its argument prototype would still apply. */
18425 +#ifdef __cplusplus
18426 +extern "C"
18427 +#endif
18428 +char shl_load ();
18429 +/* The GNU C library defines this for functions which it implements
18430 + to always fail with ENOSYS. Some functions are actually named
18431 + something starting with __ and the normal name is an alias. */
18432 +#if defined __stub_shl_load || defined __stub___shl_load
18433 +choke me
18434 +#endif
18435 +
18436 +int
18437 +main ()
18438 +{
18439 +return shl_load ();
18440 + ;
18441 + return 0;
18442 +}
18443 +_ACEOF
18444 +rm -f conftest.$ac_objext conftest$ac_exeext
18445 +if { (ac_try="$ac_link"
18446 +case "(($ac_try" in
18447 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18448 + *) ac_try_echo=$ac_try;;
18449 +esac
18450 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18451 +$as_echo "$ac_try_echo") >&5
18452 + (eval "$ac_link") 2>conftest.er1
18453 + ac_status=$?
18454 + grep -v '^ *+' conftest.er1 >conftest.err
18455 + rm -f conftest.er1
18456 + cat conftest.err >&5
18457 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18458 + (exit $ac_status); } && {
18459 + test -z "$ac_c_werror_flag" ||
18460 + test ! -s conftest.err
18461 + } && test -s conftest$ac_exeext && {
18462 + test "$cross_compiling" = yes ||
18463 + $as_test_x conftest$ac_exeext
18464 + }; then
18465 + ac_cv_func_shl_load=yes
18466 +else
18467 + $as_echo "$as_me: failed program was:" >&5
18468 +sed 's/^/| /' conftest.$ac_ext >&5
18469 +
18470 + ac_cv_func_shl_load=no
18471 +fi
18472 +
18473 +rm -rf conftest.dSYM
18474 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18475 + conftest$ac_exeext conftest.$ac_ext
18476 +fi
18477 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18478 +$as_echo "$ac_cv_func_shl_load" >&6; }
18479 +if test "x$ac_cv_func_shl_load" = x""yes; then
18480 + lt_cv_dlopen="shl_load"
18481 +else
18482 + { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18483 +$as_echo_n "checking for shl_load in -ldld... " >&6; }
18484 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18485 + $as_echo_n "(cached) " >&6
18486 +else
18487 + ac_check_lib_save_LIBS=$LIBS
18488 +LIBS="-ldld $LIBS"
18489 +cat >conftest.$ac_ext <<_ACEOF
18490 +/* confdefs.h. */
18491 +_ACEOF
18492 +cat confdefs.h >>conftest.$ac_ext
18493 +cat >>conftest.$ac_ext <<_ACEOF
18494 +/* end confdefs.h. */
18495 +
18496 +/* Override any GCC internal prototype to avoid an error.
18497 + Use char because int might match the return type of a GCC
18498 + builtin and then its argument prototype would still apply. */
18499 +#ifdef __cplusplus
18500 +extern "C"
18501 +#endif
18502 +char shl_load ();
18503 +int
18504 +main ()
18505 +{
18506 +return shl_load ();
18507 + ;
18508 + return 0;
18509 +}
18510 +_ACEOF
18511 +rm -f conftest.$ac_objext conftest$ac_exeext
18512 +if { (ac_try="$ac_link"
18513 +case "(($ac_try" in
18514 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18515 + *) ac_try_echo=$ac_try;;
18516 +esac
18517 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18518 +$as_echo "$ac_try_echo") >&5
18519 + (eval "$ac_link") 2>conftest.er1
18520 + ac_status=$?
18521 + grep -v '^ *+' conftest.er1 >conftest.err
18522 + rm -f conftest.er1
18523 + cat conftest.err >&5
18524 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 + (exit $ac_status); } && {
18526 + test -z "$ac_c_werror_flag" ||
18527 + test ! -s conftest.err
18528 + } && test -s conftest$ac_exeext && {
18529 + test "$cross_compiling" = yes ||
18530 + $as_test_x conftest$ac_exeext
18531 + }; then
18532 + ac_cv_lib_dld_shl_load=yes
18533 +else
18534 + $as_echo "$as_me: failed program was:" >&5
18535 +sed 's/^/| /' conftest.$ac_ext >&5
18536 +
18537 + ac_cv_lib_dld_shl_load=no
18538 +fi
18539 +
18540 +rm -rf conftest.dSYM
18541 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18542 + conftest$ac_exeext conftest.$ac_ext
18543 +LIBS=$ac_check_lib_save_LIBS
18544 +fi
18545 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18546 +$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
18547 +if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
18548 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
18549 +else
18550 + { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
18551 +$as_echo_n "checking for dlopen... " >&6; }
18552 +if test "${ac_cv_func_dlopen+set}" = set; then
18553 + $as_echo_n "(cached) " >&6
18554 +else
18555 + cat >conftest.$ac_ext <<_ACEOF
18556 +/* confdefs.h. */
18557 +_ACEOF
18558 +cat confdefs.h >>conftest.$ac_ext
18559 +cat >>conftest.$ac_ext <<_ACEOF
18560 +/* end confdefs.h. */
18561 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18562 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
18563 +#define dlopen innocuous_dlopen
18564 +
18565 +/* System header to define __stub macros and hopefully few prototypes,
18566 + which can conflict with char dlopen (); below.
18567 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18568 + <limits.h> exists even on freestanding compilers. */
18569 +
18570 +#ifdef __STDC__
18571 +# include <limits.h>
18572 +#else
18573 +# include <assert.h>
18574 +#endif
18575 +
18576 +#undef dlopen
18577 +
18578 +/* Override any GCC internal prototype to avoid an error.
18579 + Use char because int might match the return type of a GCC
18580 + builtin and then its argument prototype would still apply. */
18581 +#ifdef __cplusplus
18582 +extern "C"
18583 +#endif
18584 +char dlopen ();
18585 +/* The GNU C library defines this for functions which it implements
18586 + to always fail with ENOSYS. Some functions are actually named
18587 + something starting with __ and the normal name is an alias. */
18588 +#if defined __stub_dlopen || defined __stub___dlopen
18589 +choke me
18590 +#endif
18591 +
18592 +int
18593 +main ()
18594 +{
18595 +return dlopen ();
18596 + ;
18597 + return 0;
18598 +}
18599 +_ACEOF
18600 +rm -f conftest.$ac_objext conftest$ac_exeext
18601 +if { (ac_try="$ac_link"
18602 +case "(($ac_try" in
18603 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18604 + *) ac_try_echo=$ac_try;;
18605 +esac
18606 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18607 +$as_echo "$ac_try_echo") >&5
18608 + (eval "$ac_link") 2>conftest.er1
18609 + ac_status=$?
18610 + grep -v '^ *+' conftest.er1 >conftest.err
18611 + rm -f conftest.er1
18612 + cat conftest.err >&5
18613 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 + (exit $ac_status); } && {
18615 + test -z "$ac_c_werror_flag" ||
18616 + test ! -s conftest.err
18617 + } && test -s conftest$ac_exeext && {
18618 + test "$cross_compiling" = yes ||
18619 + $as_test_x conftest$ac_exeext
18620 + }; then
18621 + ac_cv_func_dlopen=yes
18622 +else
18623 + $as_echo "$as_me: failed program was:" >&5
18624 +sed 's/^/| /' conftest.$ac_ext >&5
18625 +
18626 + ac_cv_func_dlopen=no
18627 +fi
18628 +
18629 +rm -rf conftest.dSYM
18630 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18631 + conftest$ac_exeext conftest.$ac_ext
18632 +fi
18633 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18634 +$as_echo "$ac_cv_func_dlopen" >&6; }
18635 +if test "x$ac_cv_func_dlopen" = x""yes; then
18636 + lt_cv_dlopen="dlopen"
18637 +else
18638 + { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18639 +$as_echo_n "checking for dlopen in -ldl... " >&6; }
18640 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18641 + $as_echo_n "(cached) " >&6
18642 +else
18643 + ac_check_lib_save_LIBS=$LIBS
18644 +LIBS="-ldl $LIBS"
18645 +cat >conftest.$ac_ext <<_ACEOF
18646 +/* confdefs.h. */
18647 +_ACEOF
18648 +cat confdefs.h >>conftest.$ac_ext
18649 +cat >>conftest.$ac_ext <<_ACEOF
18650 +/* end confdefs.h. */
18651 +
18652 +/* Override any GCC internal prototype to avoid an error.
18653 + Use char because int might match the return type of a GCC
18654 + builtin and then its argument prototype would still apply. */
18655 +#ifdef __cplusplus
18656 +extern "C"
18657 +#endif
18658 +char dlopen ();
18659 +int
18660 +main ()
18661 +{
18662 +return dlopen ();
18663 + ;
18664 + return 0;
18665 +}
18666 +_ACEOF
18667 +rm -f conftest.$ac_objext conftest$ac_exeext
18668 +if { (ac_try="$ac_link"
18669 +case "(($ac_try" in
18670 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18671 + *) ac_try_echo=$ac_try;;
18672 +esac
18673 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18674 +$as_echo "$ac_try_echo") >&5
18675 + (eval "$ac_link") 2>conftest.er1
18676 + ac_status=$?
18677 + grep -v '^ *+' conftest.er1 >conftest.err
18678 + rm -f conftest.er1
18679 + cat conftest.err >&5
18680 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18681 + (exit $ac_status); } && {
18682 + test -z "$ac_c_werror_flag" ||
18683 + test ! -s conftest.err
18684 + } && test -s conftest$ac_exeext && {
18685 + test "$cross_compiling" = yes ||
18686 + $as_test_x conftest$ac_exeext
18687 + }; then
18688 + ac_cv_lib_dl_dlopen=yes
18689 +else
18690 + $as_echo "$as_me: failed program was:" >&5
18691 +sed 's/^/| /' conftest.$ac_ext >&5
18692 +
18693 + ac_cv_lib_dl_dlopen=no
18694 +fi
18695 +
18696 +rm -rf conftest.dSYM
18697 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18698 + conftest$ac_exeext conftest.$ac_ext
18699 +LIBS=$ac_check_lib_save_LIBS
18700 +fi
18701 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18702 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
18703 +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
18704 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18705 +else
18706 + { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18707 +$as_echo_n "checking for dlopen in -lsvld... " >&6; }
18708 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18709 + $as_echo_n "(cached) " >&6
18710 +else
18711 + ac_check_lib_save_LIBS=$LIBS
18712 +LIBS="-lsvld $LIBS"
18713 +cat >conftest.$ac_ext <<_ACEOF
18714 +/* confdefs.h. */
18715 +_ACEOF
18716 +cat confdefs.h >>conftest.$ac_ext
18717 +cat >>conftest.$ac_ext <<_ACEOF
18718 +/* end confdefs.h. */
18719 +
18720 +/* Override any GCC internal prototype to avoid an error.
18721 + Use char because int might match the return type of a GCC
18722 + builtin and then its argument prototype would still apply. */
18723 +#ifdef __cplusplus
18724 +extern "C"
18725 +#endif
18726 +char dlopen ();
18727 +int
18728 +main ()
18729 +{
18730 +return dlopen ();
18731 + ;
18732 + return 0;
18733 +}
18734 +_ACEOF
18735 +rm -f conftest.$ac_objext conftest$ac_exeext
18736 +if { (ac_try="$ac_link"
18737 +case "(($ac_try" in
18738 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18739 + *) ac_try_echo=$ac_try;;
18740 +esac
18741 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18742 +$as_echo "$ac_try_echo") >&5
18743 + (eval "$ac_link") 2>conftest.er1
18744 + ac_status=$?
18745 + grep -v '^ *+' conftest.er1 >conftest.err
18746 + rm -f conftest.er1
18747 + cat conftest.err >&5
18748 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18749 + (exit $ac_status); } && {
18750 + test -z "$ac_c_werror_flag" ||
18751 + test ! -s conftest.err
18752 + } && test -s conftest$ac_exeext && {
18753 + test "$cross_compiling" = yes ||
18754 + $as_test_x conftest$ac_exeext
18755 + }; then
18756 + ac_cv_lib_svld_dlopen=yes
18757 +else
18758 + $as_echo "$as_me: failed program was:" >&5
18759 +sed 's/^/| /' conftest.$ac_ext >&5
18760 +
18761 + ac_cv_lib_svld_dlopen=no
18762 +fi
18763 +
18764 +rm -rf conftest.dSYM
18765 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18766 + conftest$ac_exeext conftest.$ac_ext
18767 +LIBS=$ac_check_lib_save_LIBS
18768 +fi
18769 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18770 +$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
18771 +if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
18772 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
18773 +else
18774 + { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18775 +$as_echo_n "checking for dld_link in -ldld... " >&6; }
18776 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18777 + $as_echo_n "(cached) " >&6
18778 +else
18779 + ac_check_lib_save_LIBS=$LIBS
18780 +LIBS="-ldld $LIBS"
18781 +cat >conftest.$ac_ext <<_ACEOF
18782 +/* confdefs.h. */
18783 +_ACEOF
18784 +cat confdefs.h >>conftest.$ac_ext
18785 +cat >>conftest.$ac_ext <<_ACEOF
18786 +/* end confdefs.h. */
18787 +
18788 +/* Override any GCC internal prototype to avoid an error.
18789 + Use char because int might match the return type of a GCC
18790 + builtin and then its argument prototype would still apply. */
18791 +#ifdef __cplusplus
18792 +extern "C"
18793 +#endif
18794 +char dld_link ();
18795 +int
18796 +main ()
18797 +{
18798 +return dld_link ();
18799 + ;
18800 + return 0;
18801 +}
18802 +_ACEOF
18803 +rm -f conftest.$ac_objext conftest$ac_exeext
18804 +if { (ac_try="$ac_link"
18805 +case "(($ac_try" in
18806 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18807 + *) ac_try_echo=$ac_try;;
18808 +esac
18809 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18810 +$as_echo "$ac_try_echo") >&5
18811 + (eval "$ac_link") 2>conftest.er1
18812 + ac_status=$?
18813 + grep -v '^ *+' conftest.er1 >conftest.err
18814 + rm -f conftest.er1
18815 + cat conftest.err >&5
18816 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18817 + (exit $ac_status); } && {
18818 + test -z "$ac_c_werror_flag" ||
18819 + test ! -s conftest.err
18820 + } && test -s conftest$ac_exeext && {
18821 + test "$cross_compiling" = yes ||
18822 + $as_test_x conftest$ac_exeext
18823 + }; then
18824 + ac_cv_lib_dld_dld_link=yes
18825 +else
18826 + $as_echo "$as_me: failed program was:" >&5
18827 +sed 's/^/| /' conftest.$ac_ext >&5
18828 +
18829 + ac_cv_lib_dld_dld_link=no
18830 +fi
18831 +
18832 +rm -rf conftest.dSYM
18833 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18834 + conftest$ac_exeext conftest.$ac_ext
18835 +LIBS=$ac_check_lib_save_LIBS
18836 +fi
18837 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18838 +$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
18839 +if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
18840 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
18841 +fi
18842 +
18843 +
18844 +fi
18845 +
18846 +
18847 +fi
18848 +
18849 +
18850 +fi
18851 +
18852 +
18853 +fi
18854 +
18855 +
18856 +fi
18857 +
18858 + ;;
18859 + esac
18860 +
18861 + if test "x$lt_cv_dlopen" != xno; then
18862 + enable_dlopen=yes
18863 + else
18864 + enable_dlopen=no
18865 + fi
18866 +
18867 + case $lt_cv_dlopen in
18868 + dlopen)
18869 + save_CPPFLAGS="$CPPFLAGS"
18870 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
18871 +
18872 + save_LDFLAGS="$LDFLAGS"
18873 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18874 +
18875 + save_LIBS="$LIBS"
18876 + LIBS="$lt_cv_dlopen_libs $LIBS"
18877 +
18878 + { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18879 +$as_echo_n "checking whether a program can dlopen itself... " >&6; }
18880 +if test "${lt_cv_dlopen_self+set}" = set; then
18881 + $as_echo_n "(cached) " >&6
18882 +else
18883 + if test "$cross_compiling" = yes; then :
18884 + lt_cv_dlopen_self=cross
18885 +else
18886 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18887 + lt_status=$lt_dlunknown
18888 + cat > conftest.$ac_ext <<_LT_EOF
18889 +#line 10046 "configure"
18890 +#include "confdefs.h"
18891 +
18892 +#if HAVE_DLFCN_H
18893 +#include <dlfcn.h>
18894 +#endif
18895 +
18896 +#include <stdio.h>
18897 +
18898 +#ifdef RTLD_GLOBAL
18899 +# define LT_DLGLOBAL RTLD_GLOBAL
18900 +#else
18901 +# ifdef DL_GLOBAL
18902 +# define LT_DLGLOBAL DL_GLOBAL
18903 +# else
18904 +# define LT_DLGLOBAL 0
18905 +# endif
18906 +#endif
18907 +
18908 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18909 + find out it does not work in some platform. */
18910 +#ifndef LT_DLLAZY_OR_NOW
18911 +# ifdef RTLD_LAZY
18912 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
18913 +# else
18914 +# ifdef DL_LAZY
18915 +# define LT_DLLAZY_OR_NOW DL_LAZY
18916 +# else
18917 +# ifdef RTLD_NOW
18918 +# define LT_DLLAZY_OR_NOW RTLD_NOW
18919 +# else
18920 +# ifdef DL_NOW
18921 +# define LT_DLLAZY_OR_NOW DL_NOW
18922 +# else
18923 +# define LT_DLLAZY_OR_NOW 0
18924 +# endif
18925 +# endif
18926 +# endif
18927 +# endif
18928 +#endif
18929 +
18930 +void fnord() { int i=42;}
18931 +int main ()
18932 +{
18933 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18934 + int status = $lt_dlunknown;
18935 +
18936 + if (self)
18937 + {
18938 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18939 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18940 + /* dlclose (self); */
18941 + }
18942 + else
18943 + puts (dlerror ());
18944 +
18945 + return status;
18946 +}
18947 +_LT_EOF
18948 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18949 + (eval $ac_link) 2>&5
18950 + ac_status=$?
18951 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18953 + (./conftest; exit; ) >&5 2>/dev/null
18954 + lt_status=$?
18955 + case x$lt_status in
18956 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
18957 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
18958 + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
18959 + esac
18960 + else :
18961 + # compilation failed
18962 + lt_cv_dlopen_self=no
18963 + fi
18964 +fi
18965 +rm -fr conftest*
18966 +
18967 +
18968 +fi
18969 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18970 +$as_echo "$lt_cv_dlopen_self" >&6; }
18971 +
18972 + if test "x$lt_cv_dlopen_self" = xyes; then
18973 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
18974 + { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18975 +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
18976 +if test "${lt_cv_dlopen_self_static+set}" = set; then
18977 + $as_echo_n "(cached) " >&6
18978 +else
18979 + if test "$cross_compiling" = yes; then :
18980 + lt_cv_dlopen_self_static=cross
18981 +else
18982 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18983 + lt_status=$lt_dlunknown
18984 + cat > conftest.$ac_ext <<_LT_EOF
18985 +#line 10142 "configure"
18986 +#include "confdefs.h"
18987 +
18988 +#if HAVE_DLFCN_H
18989 +#include <dlfcn.h>
18990 +#endif
18991 +
18992 +#include <stdio.h>
18993 +
18994 +#ifdef RTLD_GLOBAL
18995 +# define LT_DLGLOBAL RTLD_GLOBAL
18996 +#else
18997 +# ifdef DL_GLOBAL
18998 +# define LT_DLGLOBAL DL_GLOBAL
18999 +# else
19000 +# define LT_DLGLOBAL 0
19001 +# endif
19002 +#endif
19003 +
19004 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19005 + find out it does not work in some platform. */
19006 +#ifndef LT_DLLAZY_OR_NOW
19007 +# ifdef RTLD_LAZY
19008 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
19009 +# else
19010 +# ifdef DL_LAZY
19011 +# define LT_DLLAZY_OR_NOW DL_LAZY
19012 +# else
19013 +# ifdef RTLD_NOW
19014 +# define LT_DLLAZY_OR_NOW RTLD_NOW
19015 +# else
19016 +# ifdef DL_NOW
19017 +# define LT_DLLAZY_OR_NOW DL_NOW
19018 +# else
19019 +# define LT_DLLAZY_OR_NOW 0
19020 +# endif
19021 +# endif
19022 +# endif
19023 +# endif
19024 +#endif
19025 +
19026 +void fnord() { int i=42;}
19027 +int main ()
19028 +{
19029 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19030 + int status = $lt_dlunknown;
19031 +
19032 + if (self)
19033 + {
19034 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19035 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19036 + /* dlclose (self); */
19037 + }
19038 + else
19039 + puts (dlerror ());
19040 +
19041 + return status;
19042 +}
19043 +_LT_EOF
19044 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19045 + (eval $ac_link) 2>&5
19046 + ac_status=$?
19047 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19049 + (./conftest; exit; ) >&5 2>/dev/null
19050 + lt_status=$?
19051 + case x$lt_status in
19052 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
19053 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
19054 + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
19055 + esac
19056 + else :
19057 + # compilation failed
19058 + lt_cv_dlopen_self_static=no
19059 + fi
19060 +fi
19061 +rm -fr conftest*
19062 +
19063 +
19064 +fi
19065 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
19066 +$as_echo "$lt_cv_dlopen_self_static" >&6; }
19067 + fi
19068 +
19069 + CPPFLAGS="$save_CPPFLAGS"
19070 + LDFLAGS="$save_LDFLAGS"
19071 + LIBS="$save_LIBS"
19072 + ;;
19073 + esac
19074 +
19075 + case $lt_cv_dlopen_self in
19076 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
19077 + *) enable_dlopen_self=unknown ;;
19078 + esac
19079 +
19080 + case $lt_cv_dlopen_self_static in
19081 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
19082 + *) enable_dlopen_self_static=unknown ;;
19083 + esac
19084 +fi
19085 +
19086 +
19087 +
19088 +
19089 +
19090 +
19091 +
19092 +
19093 +
19094 +
19095 +
19096 +
19097 +
19098 +
19099 +
19100 +
19101 +
19102 +striplib=
19103 +old_striplib=
19104 +{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
19105 +$as_echo_n "checking whether stripping libraries is possible... " >&6; }
19106 +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
19107 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
19108 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
19109 + { $as_echo "$as_me:$LINENO: result: yes" >&5
19110 +$as_echo "yes" >&6; }
19111 +else
19112 +# FIXME - insert some real tests, host_os isn't really good enough
19113 + case $host_os in
19114 + darwin*)
19115 + if test -n "$STRIP" ; then
19116 + striplib="$STRIP -x"
19117 + old_striplib="$STRIP -S"
19118 + { $as_echo "$as_me:$LINENO: result: yes" >&5
19119 +$as_echo "yes" >&6; }
19120 + else
19121 + { $as_echo "$as_me:$LINENO: result: no" >&5
19122 +$as_echo "no" >&6; }
19123 + fi
19124 + ;;
19125 + *)
19126 + { $as_echo "$as_me:$LINENO: result: no" >&5
19127 +$as_echo "no" >&6; }
19128 + ;;
19129 + esac
19130 +fi
19131 +
19132 +
19133 +
19134 +
19135 +
19136 +
19137 +
19138 +
19139 +
19140 +
19141 +
19142 +
19143 + # Report which library types will actually be built
19144 + { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
19145 +$as_echo_n "checking if libtool supports shared libraries... " >&6; }
19146 + { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
19147 +$as_echo "$can_build_shared" >&6; }
19148 +
19149 + { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
19150 +$as_echo_n "checking whether to build shared libraries... " >&6; }
19151 + test "$can_build_shared" = "no" && enable_shared=no
19152 +
19153 + # On AIX, shared libraries and static libraries use the same namespace, and
19154 + # are all built from PIC.
19155 + case $host_os in
19156 + aix3*)
19157 + test "$enable_shared" = yes && enable_static=no
19158 + if test -n "$RANLIB"; then
19159 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
19160 + postinstall_cmds='$RANLIB $lib'
19161 + fi
19162 + ;;
19163 +
19164 + aix[4-9]*)
19165 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
19166 + test "$enable_shared" = yes && enable_static=no
19167 + fi
19168 + ;;
19169 + esac
19170 + { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
19171 +$as_echo "$enable_shared" >&6; }
19172 +
19173 + { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
19174 +$as_echo_n "checking whether to build static libraries... " >&6; }
19175 + # Make sure either enable_shared or enable_static is yes.
19176 + test "$enable_shared" = yes || enable_static=yes
19177 + { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
19178 +$as_echo "$enable_static" >&6; }
19179 +
19180 +
19181 +
19182 +
19183 +fi
19184 +ac_ext=c
19185 +ac_cpp='$CPP $CPPFLAGS'
19186 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19187 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19188 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
19189 +
19190 +CC="$lt_save_CC"
19191 +
19192 +
19193 +
19194 +
19195 +
19196 +
19197 +
19198 +
19199 +
19200 +
19201 +
19202 +
19203 +
19204 + ac_config_commands="$ac_config_commands libtool"
19205 +
19206 +
19207 +
19208 +
19209 +# Only expand once:
19210 +
19211 +
19212 +am__api_version='1.10'
19213 +
19214 +# Find a good install program. We prefer a C program (faster),
19215 +# so one script is as good as another. But avoid the broken or
19216 +# incompatible versions:
19217 +# SysV /etc/install, /usr/sbin/install
19218 +# SunOS /usr/etc/install
19219 +# IRIX /sbin/install
19220 +# AIX /bin/install
19221 +# AmigaOS /C/install, which installs bootblocks on floppy discs
19222 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19223 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
19224 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19225 +# OS/2's system install, which has a completely different semantic
19226 +# ./install, which can be erroneously created by make from ./install.sh.
19227 +# Reject install programs that cannot install multiple files.
19228 +{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19229 +$as_echo_n "checking for a BSD-compatible install... " >&6; }
19230 +if test -z "$INSTALL"; then
19231 +if test "${ac_cv_path_install+set}" = set; then
19232 + $as_echo_n "(cached) " >&6
19233 +else
19234 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19235 +for as_dir in $PATH
19236 +do
19237 + IFS=$as_save_IFS
19238 + test -z "$as_dir" && as_dir=.
19239 + # Account for people who put trailing slashes in PATH elements.
19240 +case $as_dir/ in
19241 + ./ | .// | /cC/* | \
19242 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19243 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19244 + /usr/ucb/* ) ;;
19245 + *)
19246 + # OSF1 and SCO ODT 3.0 have their own names for install.
19247 + # Don't use installbsd from OSF since it installs stuff as root
19248 + # by default.
19249 + for ac_prog in ginstall scoinst install; do
19250 + for ac_exec_ext in '' $ac_executable_extensions; do
19251 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19252 + if test $ac_prog = install &&
19253 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19254 + # AIX install. It has an incompatible calling convention.
19255 + :
19256 + elif test $ac_prog = install &&
19257 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19258 + # program-specific install script used by HP pwplus--don't use.
19259 + :
19260 + else
19261 + rm -rf conftest.one conftest.two conftest.dir
19262 + echo one > conftest.one
19263 + echo two > conftest.two
19264 + mkdir conftest.dir
19265 + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
19266 + test -s conftest.one && test -s conftest.two &&
19267 + test -s conftest.dir/conftest.one &&
19268 + test -s conftest.dir/conftest.two
19269 + then
19270 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19271 + break 3
19272 + fi
19273 + fi
19274 + fi
19275 + done
19276 + done
19277 + ;;
19278 +esac
19279 +
19280 +done
19281 +IFS=$as_save_IFS
19282 +
19283 +rm -rf conftest.one conftest.two conftest.dir
19284 +
19285 +fi
19286 + if test "${ac_cv_path_install+set}" = set; then
19287 + INSTALL=$ac_cv_path_install
19288 + else
19289 + # As a last resort, use the slow shell script. Don't cache a
19290 + # value for INSTALL within a source directory, because that will
19291 + # break other packages using the cache if that directory is
19292 + # removed, or if the value is a relative name.
19293 + INSTALL=$ac_install_sh
19294 + fi
19295 +fi
19296 +{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
19297 +$as_echo "$INSTALL" >&6; }
19298 +
19299 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19300 +# It thinks the first close brace ends the variable substitution.
19301 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19302 +
19303 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19304 +
19305 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19306 +
19307 +{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
19308 +$as_echo_n "checking whether build environment is sane... " >&6; }
19309 +# Just in case
19310 +sleep 1
19311 +echo timestamp > conftest.file
19312 +# Do `set' in a subshell so we don't clobber the current shell's
19313 +# arguments. Must try -L first in case configure is actually a
19314 +# symlink; some systems play weird games with the mod time of symlinks
19315 +# (eg FreeBSD returns the mod time of the symlink's containing
19316 +# directory).
19317 +if (
19318 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
19319 + if test "$*" = "X"; then
19320 + # -L didn't work.
19321 + set X `ls -t $srcdir/configure conftest.file`
19322 + fi
19323 + rm -f conftest.file
19324 + if test "$*" != "X $srcdir/configure conftest.file" \
19325 + && test "$*" != "X conftest.file $srcdir/configure"; then
19326 +
19327 + # If neither matched, then we have a broken ls. This can happen
19328 + # if, for instance, CONFIG_SHELL is bash and it inherits a
19329 + # broken ls alias from the environment. This has actually
19330 + # happened. Such a system could not be considered "sane".
19331 + { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
19332 +alias in your environment" >&5
19333 +$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
19334 +alias in your environment" >&2;}
19335 + { (exit 1); exit 1; }; }
19336 + fi
19337 +
19338 + test "$2" = conftest.file
19339 + )
19340 +then
19341 + # Ok.
19342 + :
19343 +else
19344 + { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
19345 +Check your system clock" >&5
19346 +$as_echo "$as_me: error: newly created file is older than distributed files!
19347 +Check your system clock" >&2;}
19348 + { (exit 1); exit 1; }; }
19349 +fi
19350 +{ $as_echo "$as_me:$LINENO: result: yes" >&5
19351 +$as_echo "yes" >&6; }
19352 +test "$program_prefix" != NONE &&
19353 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
19354 +# Use a double $ so make ignores it.
19355 +test "$program_suffix" != NONE &&
19356 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
19357 +# Double any \ or $.
19358 +# By default was `s,x,x', remove it if useless.
19359 +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
19360 +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
19361 +
19362 +# expand $ac_aux_dir to an absolute path
19363 +am_aux_dir=`cd $ac_aux_dir && pwd`
19364 +
19365 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
19366 +# Use eval to expand $SHELL
19367 +if eval "$MISSING --run true"; then
19368 + am_missing_run="$MISSING --run "
19369 +else
19370 + am_missing_run=
19371 + { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
19372 +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
19373 +fi
19374 +
19375 +{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
19376 +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
19377 +if test -z "$MKDIR_P"; then
19378 + if test "${ac_cv_path_mkdir+set}" = set; then
19379 + $as_echo_n "(cached) " >&6
19380 +else
19381 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19382 +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
19383 +do
19384 + IFS=$as_save_IFS
19385 + test -z "$as_dir" && as_dir=.
19386 + for ac_prog in mkdir gmkdir; do
19387 + for ac_exec_ext in '' $ac_executable_extensions; do
19388 + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
19389 + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
19390 + 'mkdir (GNU coreutils) '* | \
19391 + 'mkdir (coreutils) '* | \
19392 + 'mkdir (fileutils) '4.1*)
19393 + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
19394 + break 3;;
19395 + esac
19396 + done
19397 + done
19398 +done
19399 +IFS=$as_save_IFS
19400 +
19401 +fi
19402 +
19403 + if test "${ac_cv_path_mkdir+set}" = set; then
19404 + MKDIR_P="$ac_cv_path_mkdir -p"
19405 + else
19406 + # As a last resort, use the slow shell script. Don't cache a
19407 + # value for MKDIR_P within a source directory, because that will
19408 + # break other packages using the cache if that directory is
19409 + # removed, or if the value is a relative name.
19410 + test -d ./--version && rmdir ./--version
19411 + MKDIR_P="$ac_install_sh -d"
19412 + fi
19413 +fi
19414 +{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
19415 +$as_echo "$MKDIR_P" >&6; }
19416 +
19417 +mkdir_p="$MKDIR_P"
19418 +case $mkdir_p in
19419 + [\\/$]* | ?:[\\/]*) ;;
19420 + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
19421 +esac
19422 +
19423 +for ac_prog in gawk mawk nawk awk
19424 +do
19425 + # Extract the first word of "$ac_prog", so it can be a program name with args.
19426 +set dummy $ac_prog; ac_word=$2
19427 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
19428 +$as_echo_n "checking for $ac_word... " >&6; }
19429 +if test "${ac_cv_prog_AWK+set}" = set; then
19430 + $as_echo_n "(cached) " >&6
19431 +else
19432 + if test -n "$AWK"; then
19433 + ac_cv_prog_AWK="$AWK" # Let the user override the test.
19434 +else
19435 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19436 +for as_dir in $PATH
19437 +do
19438 + IFS=$as_save_IFS
19439 + test -z "$as_dir" && as_dir=.
19440 + for ac_exec_ext in '' $ac_executable_extensions; do
19441 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19442 + ac_cv_prog_AWK="$ac_prog"
19443 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19444 + break 2
19445 + fi
19446 +done
19447 +done
19448 +IFS=$as_save_IFS
19449 +
19450 +fi
19451 +fi
19452 +AWK=$ac_cv_prog_AWK
19453 +if test -n "$AWK"; then
19454 + { $as_echo "$as_me:$LINENO: result: $AWK" >&5
19455 +$as_echo "$AWK" >&6; }
19456 +else
19457 + { $as_echo "$as_me:$LINENO: result: no" >&5
19458 +$as_echo "no" >&6; }
19459 +fi
19460 +
19461 +
19462 + test -n "$AWK" && break
19463 +done
19464 +
19465 +{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
19466 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
19467 +set x ${MAKE-make}
19468 +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
19469 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
19470 + $as_echo_n "(cached) " >&6
19471 +else
19472 + cat >conftest.make <<\_ACEOF
19473 +SHELL = /bin/sh
19474 +all:
19475 + @echo '@@@%%%=$(MAKE)=@@@%%%'
19476 +_ACEOF
19477 +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19478 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
19479 + *@@@%%%=?*=@@@%%%*)
19480 + eval ac_cv_prog_make_${ac_make}_set=yes;;
19481 + *)
19482 + eval ac_cv_prog_make_${ac_make}_set=no;;
19483 +esac
19484 +rm -f conftest.make
19485 +fi
19486 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
19487 + { $as_echo "$as_me:$LINENO: result: yes" >&5
19488 +$as_echo "yes" >&6; }
19489 + SET_MAKE=
19490 +else
19491 + { $as_echo "$as_me:$LINENO: result: no" >&5
19492 +$as_echo "no" >&6; }
19493 + SET_MAKE="MAKE=${MAKE-make}"
19494 +fi
19495 +
19496 +rm -rf .tst 2>/dev/null
19497 +mkdir .tst 2>/dev/null
19498 +if test -d .tst; then
19499 + am__leading_dot=.
19500 +else
19501 + am__leading_dot=_
19502 +fi
19503 +rmdir .tst 2>/dev/null
19504 +
19505 +DEPDIR="${am__leading_dot}deps"
19506 +
19507 +ac_config_commands="$ac_config_commands depfiles"
19508 +
19509 +
19510 +am_make=${MAKE-make}
19511 +cat > confinc << 'END'
19512 +am__doit:
19513 + @echo done
19514 +.PHONY: am__doit
19515 +END
19516 +# If we don't find an include directive, just comment out the code.
19517 +{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
19518 +$as_echo_n "checking for style of include used by $am_make... " >&6; }
19519 +am__include="#"
19520 +am__quote=
19521 +_am_result=none
19522 +# First try GNU make style include.
19523 +echo "include confinc" > confmf
19524 +# We grep out `Entering directory' and `Leaving directory'
19525 +# messages which can occur if `w' ends up in MAKEFLAGS.
19526 +# In particular we don't look at `^make:' because GNU make might
19527 +# be invoked under some other name (usually "gmake"), in which
19528 +# case it prints its new name instead of `make'.
19529 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
19530 + am__include=include
19531 + am__quote=
19532 + _am_result=GNU
19533 +fi
19534 +# Now try BSD make style include.
19535 +if test "$am__include" = "#"; then
19536 + echo '.include "confinc"' > confmf
19537 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
19538 + am__include=.include
19539 + am__quote="\""
19540 + _am_result=BSD
19541 + fi
19542 +fi
19543 +
19544 +
19545 +{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
19546 +$as_echo "$_am_result" >&6; }
19547 +rm -f confinc confmf
19548 +
19549 +# Check whether --enable-dependency-tracking was given.
19550 +if test "${enable_dependency_tracking+set}" = set; then
19551 + enableval=$enable_dependency_tracking;
19552 +fi
19553 +
19554 +if test "x$enable_dependency_tracking" != xno; then
19555 + am_depcomp="$ac_aux_dir/depcomp"
19556 + AMDEPBACKSLASH='\'
19557 +fi
19558 + if test "x$enable_dependency_tracking" != xno; then
19559 + AMDEP_TRUE=
19560 + AMDEP_FALSE='#'
19561 +else
19562 + AMDEP_TRUE='#'
19563 + AMDEP_FALSE=
19564 +fi
19565 +
19566 +
19567 +if test "`cd $srcdir && pwd`" != "`pwd`"; then
19568 + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
19569 + # is not polluted with repeated "-I."
19570 + am__isrc=' -I$(srcdir)'
19571 + # test to see if srcdir already configured
19572 + if test -f $srcdir/config.status; then
19573 + { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
19574 +$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
19575 + { (exit 1); exit 1; }; }
19576 + fi
19577 +fi
19578 +
19579 +# test whether we have cygpath
19580 +if test -z "$CYGPATH_W"; then
19581 + if (cygpath --version) >/dev/null 2>/dev/null; then
19582 + CYGPATH_W='cygpath -w'
19583 + else
19584 + CYGPATH_W=echo
19585 + fi
19586 +fi
19587 +
19588 +
19589 +# Define the identity of the package.
19590 + PACKAGE='uptimed'
19591 + VERSION='0.3.12'
19592 +
19593 +
19594 +cat >>confdefs.h <<_ACEOF
19595 +#define PACKAGE "$PACKAGE"
19596 +_ACEOF
19597 +
19598 +
19599 +cat >>confdefs.h <<_ACEOF
19600 +#define VERSION "$VERSION"
19601 +_ACEOF
19602 +
19603 +# Some tools Automake needs.
19604 +
19605 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
19606 +
19607 +
19608 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
19609 +
19610 +
19611 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
19612 +
19613 +
19614 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
19615 +
19616 +
19617 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
19618 +
19619 +install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
19620 +
19621 +# Installed binaries are usually stripped using `strip' when the user
19622 +# run `make install-strip'. However `strip' might not be the right
19623 +# tool to use in cross-compilation environments, therefore Automake
19624 +# will honor the `STRIP' environment variable to overrule this program.
19625 +if test "$cross_compiling" != no; then
19626 + if test -n "$ac_tool_prefix"; then
19627 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19628 +set dummy ${ac_tool_prefix}strip; ac_word=$2
19629 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
19630 +$as_echo_n "checking for $ac_word... " >&6; }
19631 +if test "${ac_cv_prog_STRIP+set}" = set; then
19632 + $as_echo_n "(cached) " >&6
19633 +else
19634 + if test -n "$STRIP"; then
19635 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19636 +else
19637 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19638 +for as_dir in $PATH
19639 +do
19640 + IFS=$as_save_IFS
19641 + test -z "$as_dir" && as_dir=.
19642 + for ac_exec_ext in '' $ac_executable_extensions; do
19643 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19644 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19645 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19646 + break 2
19647 + fi
19648 +done
19649 +done
19650 +IFS=$as_save_IFS
19651 +
19652 +fi
19653 +fi
19654 +STRIP=$ac_cv_prog_STRIP
19655 +if test -n "$STRIP"; then
19656 + { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
19657 +$as_echo "$STRIP" >&6; }
19658 +else
19659 + { $as_echo "$as_me:$LINENO: result: no" >&5
19660 +$as_echo "no" >&6; }
19661 +fi
19662 +
19663 +
19664 +fi
19665 +if test -z "$ac_cv_prog_STRIP"; then
19666 + ac_ct_STRIP=$STRIP
19667 + # Extract the first word of "strip", so it can be a program name with args.
19668 +set dummy strip; ac_word=$2
19669 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
19670 +$as_echo_n "checking for $ac_word... " >&6; }
19671 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19672 + $as_echo_n "(cached) " >&6
19673 +else
19674 + if test -n "$ac_ct_STRIP"; then
19675 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19676 +else
19677 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19678 +for as_dir in $PATH
19679 +do
19680 + IFS=$as_save_IFS
19681 + test -z "$as_dir" && as_dir=.
19682 + for ac_exec_ext in '' $ac_executable_extensions; do
19683 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19684 + ac_cv_prog_ac_ct_STRIP="strip"
19685 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19686 + break 2
19687 + fi
19688 +done
19689 +done
19690 +IFS=$as_save_IFS
19691 +
19692 +fi
19693 +fi
19694 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19695 +if test -n "$ac_ct_STRIP"; then
19696 + { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19697 +$as_echo "$ac_ct_STRIP" >&6; }
19698 +else
19699 + { $as_echo "$as_me:$LINENO: result: no" >&5
19700 +$as_echo "no" >&6; }
19701 +fi
19702 +
19703 + if test "x$ac_ct_STRIP" = x; then
19704 + STRIP=":"
19705 + else
19706 + case $cross_compiling:$ac_tool_warned in
19707 +yes:)
19708 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
19709 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19710 +ac_tool_warned=yes ;;
19711 +esac
19712 + STRIP=$ac_ct_STRIP
19713 + fi
19714 +else
19715 + STRIP="$ac_cv_prog_STRIP"
19716 +fi
19717 +
19718 +fi
19719 +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
19720 +
19721 +# We need awk for the "check" target. The system "awk" is bad on
19722 +# some platforms.
19723 +# Always define AMTAR for backward compatibility.
19724 +
19725 +AMTAR=${AMTAR-"${am_missing_run}tar"}
19726 +
19727 +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
19728 +
19729 +
19730 +
19731 +
19732 +depcc="$CC" am_compiler_list=
19733 +
19734 +{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
19735 +$as_echo_n "checking dependency style of $depcc... " >&6; }
19736 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
19737 + $as_echo_n "(cached) " >&6
19738 +else
19739 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
19740 + # We make a subdir and do the tests there. Otherwise we can end up
19741 + # making bogus files that we don't know about and never remove. For
19742 + # instance it was reported that on HP-UX the gcc test will end up
19743 + # making a dummy file named `D' -- because `-MD' means `put the output
19744 + # in D'.
19745 + mkdir conftest.dir
19746 + # Copy depcomp to subdir because otherwise we won't find it if we're
19747 + # using a relative directory.
19748 + cp "$am_depcomp" conftest.dir
19749 + cd conftest.dir
19750 + # We will build objects and dependencies in a subdirectory because
19751 + # it helps to detect inapplicable dependency modes. For instance
19752 + # both Tru64's cc and ICC support -MD to output dependencies as a
19753 + # side effect of compilation, but ICC will put the dependencies in
19754 + # the current directory while Tru64 will put them in the object
19755 + # directory.
19756 + mkdir sub
19757 +
19758 + am_cv_CC_dependencies_compiler_type=none
19759 + if test "$am_compiler_list" = ""; then
19760 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
19761 + fi
19762 + for depmode in $am_compiler_list; do
19763 + # Setup a source with many dependencies, because some compilers
19764 + # like to wrap large dependency lists on column 80 (with \), and
19765 + # we should not choose a depcomp mode which is confused by this.
19766 + #
19767 + # We need to recreate these files for each test, as the compiler may
19768 + # overwrite some of them when testing with obscure command lines.
19769 + # This happens at least with the AIX C compiler.
19770 + : > sub/conftest.c
19771 + for i in 1 2 3 4 5 6; do
19772 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
19773 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
19774 + # Solaris 8's {/usr,}/bin/sh.
19775 + touch sub/conftst$i.h
19776 + done
19777 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
19778 +
19779 + case $depmode in
19780 + nosideeffect)
19781 + # after this tag, mechanisms are not by side-effect, so they'll
19782 + # only be used when explicitly requested
19783 + if test "x$enable_dependency_tracking" = xyes; then
19784 + continue
19785 + else
19786 + break
19787 + fi
19788 + ;;
19789 + none) break ;;
19790 + esac
19791 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
19792 + # mode. It turns out that the SunPro C++ compiler does not properly
19793 + # handle `-M -o', and we need to detect this.
19794 + if depmode=$depmode \
19795 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
19796 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
19797 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
19798 + >/dev/null 2>conftest.err &&
19799 + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
19800 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
19801 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
19802 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
19803 + # icc doesn't choke on unknown options, it will just issue warnings
19804 + # or remarks (even with -Werror). So we grep stderr for any message
19805 + # that says an option was ignored or not supported.
19806 + # When given -MP, icc 7.0 and 7.1 complain thusly:
19807 + # icc: Command line warning: ignoring option '-M'; no argument required
19808 + # The diagnosis changed in icc 8.0:
19809 + # icc: Command line remark: option '-MP' not supported
19810 + if (grep 'ignoring option' conftest.err ||
19811 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
19812 + am_cv_CC_dependencies_compiler_type=$depmode
19813 + break
19814 + fi
19815 + fi
19816 + done
19817 +
19818 + cd ..
19819 + rm -rf conftest.dir
19820 +else
19821 + am_cv_CC_dependencies_compiler_type=none
19822 +fi
19823 +
19824 +fi
19825 +{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
19826 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
19827 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
19828 +
19829 + if
19830 + test "x$enable_dependency_tracking" != xno \
19831 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
19832 + am__fastdepCC_TRUE=
19833 + am__fastdepCC_FALSE='#'
19834 +else
19835 + am__fastdepCC_TRUE='#'
19836 + am__fastdepCC_FALSE=
19837 +fi
19838 +
19839 +
19840 +
19841 +
19842 +case "$host" in
19843 + *-linux*)
19844 +
19845 +cat >>confdefs.h <<\_ACEOF
19846 +#define PLATFORM_LINUX 1
19847 +_ACEOF
19848 +
19849 + ;;
19850 + *-hpux*)
19851 +
19852 +cat >>confdefs.h <<\_ACEOF
19853 +#define PLATFORM_HPUX 1
19854 +_ACEOF
19855 +
19856 + ;;
19857 + *-solaris*)
19858 +
19859 +cat >>confdefs.h <<\_ACEOF
19860 +#define PLATFORM_SOLARIS 1
19861 +_ACEOF
19862 +
19863 + ;;
19864 + *-freebsd*)
19865 +
19866 +cat >>confdefs.h <<\_ACEOF
19867 +#define PLATFORM_BSD 1
19868 +_ACEOF
19869 +
19870 + ;;
19871 + *-bsdi*)
19872 +
19873 +cat >>confdefs.h <<\_ACEOF
19874 +#define PLATFORM_BSD 1
19875 +_ACEOF
19876 +
19877 + ;;
19878 + *-netbsd*)
19879 +
19880 +cat >>confdefs.h <<\_ACEOF
19881 +#define PLATFORM_BSD 1
19882 +_ACEOF
19883 +
19884 + ;;
19885 + *-openbsd*)
19886 +
19887 +cat >>confdefs.h <<\_ACEOF
19888 +#define PLATFORM_BSD 1
19889 +_ACEOF
19890 +
19891 + ;;
19892 + *-darwin*)
19893 +
19894 +cat >>confdefs.h <<\_ACEOF
19895 +#define PLATFORM_BSD 1
19896 +_ACEOF
19897 +
19898 + ;;
19899 + *)
19900 +
19901 +cat >>confdefs.h <<\_ACEOF
19902 +#define PLATFORM_UNKNOWN 1
19903 +_ACEOF
19904 +
19905 + ;;
19906 +esac
19907 +
19908 +
19909 +for ac_func in getopt
19910 +do
19911 +as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19912 +{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19913 +$as_echo_n "checking for $ac_func... " >&6; }
19914 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19915 + $as_echo_n "(cached) " >&6
19916 +else
19917 + cat >conftest.$ac_ext <<_ACEOF
19918 +/* confdefs.h. */
19919 +_ACEOF
19920 +cat confdefs.h >>conftest.$ac_ext
19921 +cat >>conftest.$ac_ext <<_ACEOF
19922 +/* end confdefs.h. */
19923 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19924 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
19925 +#define $ac_func innocuous_$ac_func
19926 +
19927 +/* System header to define __stub macros and hopefully few prototypes,
19928 + which can conflict with char $ac_func (); below.
19929 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19930 + <limits.h> exists even on freestanding compilers. */
19931 +
19932 +#ifdef __STDC__
19933 +# include <limits.h>
19934 +#else
19935 +# include <assert.h>
19936 +#endif
19937 +
19938 +#undef $ac_func
19939 +
19940 +/* Override any GCC internal prototype to avoid an error.
19941 + Use char because int might match the return type of a GCC
19942 + builtin and then its argument prototype would still apply. */
19943 +#ifdef __cplusplus
19944 +extern "C"
19945 +#endif
19946 +char $ac_func ();
19947 +/* The GNU C library defines this for functions which it implements
19948 + to always fail with ENOSYS. Some functions are actually named
19949 + something starting with __ and the normal name is an alias. */
19950 +#if defined __stub_$ac_func || defined __stub___$ac_func
19951 +choke me
19952 +#endif
19953 +
19954 +int
19955 +main ()
19956 +{
19957 +return $ac_func ();
19958 + ;
19959 + return 0;
19960 +}
19961 +_ACEOF
19962 +rm -f conftest.$ac_objext conftest$ac_exeext
19963 +if { (ac_try="$ac_link"
19964 +case "(($ac_try" in
19965 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19966 + *) ac_try_echo=$ac_try;;
19967 +esac
19968 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19969 +$as_echo "$ac_try_echo") >&5
19970 + (eval "$ac_link") 2>conftest.er1
19971 + ac_status=$?
19972 + grep -v '^ *+' conftest.er1 >conftest.err
19973 + rm -f conftest.er1
19974 + cat conftest.err >&5
19975 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 + (exit $ac_status); } && {
19977 + test -z "$ac_c_werror_flag" ||
19978 + test ! -s conftest.err
19979 + } && test -s conftest$ac_exeext && {
19980 + test "$cross_compiling" = yes ||
19981 + $as_test_x conftest$ac_exeext
19982 + }; then
19983 + eval "$as_ac_var=yes"
19984 +else
19985 + $as_echo "$as_me: failed program was:" >&5
19986 +sed 's/^/| /' conftest.$ac_ext >&5
19987 +
19988 + eval "$as_ac_var=no"
19989 +fi
19990 +
19991 +rm -rf conftest.dSYM
19992 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19993 + conftest$ac_exeext conftest.$ac_ext
19994 +fi
19995 +ac_res=`eval 'as_val=${'$as_ac_var'}
19996 + $as_echo "$as_val"'`
19997 + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19998 +$as_echo "$ac_res" >&6; }
19999 +as_val=`eval 'as_val=${'$as_ac_var'}
20000 + $as_echo "$as_val"'`
20001 + if test "x$as_val" = x""yes; then
20002 + cat >>confdefs.h <<_ACEOF
20003 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20004 +_ACEOF
20005 +
20006 +else
20007 + case " $LIBOBJS " in
20008 + *" $ac_func.$ac_objext "* ) ;;
20009 + *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
20010 + ;;
20011 +esac
20012 +
20013 +fi
20014 +done
20015 +
20016 +
20017 +
20018 +for ac_header in getopt.h
20019 +do
20020 +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20021 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20022 + { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20023 +$as_echo_n "checking for $ac_header... " >&6; }
20024 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20025 + $as_echo_n "(cached) " >&6
20026 +fi
20027 +ac_res=`eval 'as_val=${'$as_ac_Header'}
20028 + $as_echo "$as_val"'`
20029 + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20030 +$as_echo "$ac_res" >&6; }
20031 +else
20032 + # Is the header compilable?
20033 +{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20034 +$as_echo_n "checking $ac_header usability... " >&6; }
20035 +cat >conftest.$ac_ext <<_ACEOF
20036 +/* confdefs.h. */
20037 +_ACEOF
20038 +cat confdefs.h >>conftest.$ac_ext
20039 +cat >>conftest.$ac_ext <<_ACEOF
20040 +/* end confdefs.h. */
20041 +$ac_includes_default
20042 +#include <$ac_header>
20043 +_ACEOF
20044 +rm -f conftest.$ac_objext
20045 +if { (ac_try="$ac_compile"
20046 +case "(($ac_try" in
20047 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20048 + *) ac_try_echo=$ac_try;;
20049 +esac
20050 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20051 +$as_echo "$ac_try_echo") >&5
20052 + (eval "$ac_compile") 2>conftest.er1
20053 + ac_status=$?
20054 + grep -v '^ *+' conftest.er1 >conftest.err
20055 + rm -f conftest.er1
20056 + cat conftest.err >&5
20057 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20058 + (exit $ac_status); } && {
20059 + test -z "$ac_c_werror_flag" ||
20060 + test ! -s conftest.err
20061 + } && test -s conftest.$ac_objext; then
20062 + ac_header_compiler=yes
20063 +else
20064 + $as_echo "$as_me: failed program was:" >&5
20065 +sed 's/^/| /' conftest.$ac_ext >&5
20066 +
20067 + ac_header_compiler=no
20068 +fi
20069 +
20070 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20071 +{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20072 +$as_echo "$ac_header_compiler" >&6; }
20073 +
20074 +# Is the header present?
20075 +{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20076 +$as_echo_n "checking $ac_header presence... " >&6; }
20077 +cat >conftest.$ac_ext <<_ACEOF
20078 +/* confdefs.h. */
20079 +_ACEOF
20080 +cat confdefs.h >>conftest.$ac_ext
20081 +cat >>conftest.$ac_ext <<_ACEOF
20082 +/* end confdefs.h. */
20083 +#include <$ac_header>
20084 +_ACEOF
20085 +if { (ac_try="$ac_cpp conftest.$ac_ext"
20086 +case "(($ac_try" in
20087 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20088 + *) ac_try_echo=$ac_try;;
20089 +esac
20090 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20091 +$as_echo "$ac_try_echo") >&5
20092 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20093 + ac_status=$?
20094 + grep -v '^ *+' conftest.er1 >conftest.err
20095 + rm -f conftest.er1
20096 + cat conftest.err >&5
20097 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098 + (exit $ac_status); } >/dev/null && {
20099 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20100 + test ! -s conftest.err
20101 + }; then
20102 + ac_header_preproc=yes
20103 +else
20104 + $as_echo "$as_me: failed program was:" >&5
20105 +sed 's/^/| /' conftest.$ac_ext >&5
20106 +
20107 + ac_header_preproc=no
20108 +fi
20109 +
20110 +rm -f conftest.err conftest.$ac_ext
20111 +{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20112 +$as_echo "$ac_header_preproc" >&6; }
20113 +
20114 +# So? What about this header?
20115 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20116 + yes:no: )
20117 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20118 +$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20119 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20120 +$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20121 + ac_header_preproc=yes
20122 + ;;
20123 + no:yes:* )
20124 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20125 +$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20126 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20127 +$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20128 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20129 +$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20130 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20131 +$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20132 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20133 +$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20134 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20135 +$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20136 +
20137 + ;;
20138 +esac
20139 +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20140 +$as_echo_n "checking for $ac_header... " >&6; }
20141 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20142 + $as_echo_n "(cached) " >&6
20143 +else
20144 + eval "$as_ac_Header=\$ac_header_preproc"
20145 +fi
20146 +ac_res=`eval 'as_val=${'$as_ac_Header'}
20147 + $as_echo "$as_val"'`
20148 + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20149 +$as_echo "$ac_res" >&6; }
20150 +
20151 +fi
20152 +as_val=`eval 'as_val=${'$as_ac_Header'}
20153 + $as_echo "$as_val"'`
20154 + if test "x$as_val" = x""yes; then
20155 + cat >>confdefs.h <<_ACEOF
20156 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20157 +_ACEOF
20158 +
20159 +fi
20160 +
20161 +done
20162 +
20163 +
20164 +ac_config_files="$ac_config_files Makefile libuptimed/Makefile src/Makefile man/Makefile etc/Makefile uptimed.spec"
20165 +
20166 +cat >confcache <<\_ACEOF
20167 +# This file is a shell script that caches the results of configure
20168 +# tests run on this system so they can be shared between configure
20169 +# scripts and configure runs, see configure's option --config-cache.
20170 +# It is not useful on other systems. If it contains results you don't
20171 +# want to keep, you may remove or edit it.
20172 +#
20173 +# config.status only pays attention to the cache file if you give it
20174 +# the --recheck option to rerun configure.
20175 +#
20176 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
20177 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
20178 +# following values.
20179 +
20180 +_ACEOF
20181 +
20182 +# The following way of writing the cache mishandles newlines in values,
20183 +# but we know of no workaround that is simple, portable, and efficient.
20184 +# So, we kill variables containing newlines.
20185 +# Ultrix sh set writes to stderr and can't be redirected directly,
20186 +# and sets the high bit in the cache file unless we assign to the vars.
20187 +(
20188 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20189 + eval ac_val=\$$ac_var
20190 + case $ac_val in #(
20191 + *${as_nl}*)
20192 + case $ac_var in #(
20193 + *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
20194 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20195 + esac
20196 + case $ac_var in #(
20197 + _ | IFS | as_nl) ;; #(
20198 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20199 + *) $as_unset $ac_var ;;
20200 + esac ;;
20201 + esac
20202 + done
20203 +
20204 + (set) 2>&1 |
20205 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
20206 + *${as_nl}ac_space=\ *)
20207 + # `set' does not quote correctly, so add quotes (double-quote
20208 + # substitution turns \\\\ into \\, and sed turns \\ into \).
20209 + sed -n \
20210 + "s/'/'\\\\''/g;
20211 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20212 + ;; #(
20213 + *)
20214 + # `set' quotes correctly as required by POSIX, so do not add quotes.
20215 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20216 + ;;
20217 + esac |
20218 + sort
20219 +) |
20220 + sed '
20221 + /^ac_cv_env_/b end
20222 + t clear
20223 + :clear
20224 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20225 + t end
20226 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20227 + :end' >>confcache
20228 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20229 + if test -w "$cache_file"; then
20230 + test "x$cache_file" != "x/dev/null" &&
20231 + { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
20232 +$as_echo "$as_me: updating cache $cache_file" >&6;}
20233 + cat confcache >$cache_file
20234 + else
20235 + { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20236 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20237 + fi
20238 +fi
20239 +rm -f confcache
20240 +
20241 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
20242 +# Let make expand exec_prefix.
20243 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20244 +
20245 +DEFS=-DHAVE_CONFIG_H
20246 +
20247 +ac_libobjs=
20248 +ac_ltlibobjs=
20249 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20250 + # 1. Remove the extension, and $U if already installed.
20251 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20252 + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20253 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20254 + # will be set to the directory where LIBOBJS objects are built.
20255 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20256 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20257 +done
20258 +LIBOBJS=$ac_libobjs
20259 +
20260 +LTLIBOBJS=$ac_ltlibobjs
20261 +
20262 +
20263 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20264 + { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20265 +Usually this means the macro was only invoked conditionally." >&5
20266 +$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
20267 +Usually this means the macro was only invoked conditionally." >&2;}
20268 + { (exit 1); exit 1; }; }
20269 +fi
20270 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20271 + { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20272 +Usually this means the macro was only invoked conditionally." >&5
20273 +$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20274 +Usually this means the macro was only invoked conditionally." >&2;}
20275 + { (exit 1); exit 1; }; }
20276 +fi
20277 +
20278 +: ${CONFIG_STATUS=./config.status}
20279 +ac_write_fail=0
20280 +ac_clean_files_save=$ac_clean_files
20281 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20282 +{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20283 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20284 +cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20285 +#! $SHELL
20286 +# Generated by $as_me.
20287 +# Run this file to recreate the current configuration.
20288 +# Compiler output produced by configure, useful for debugging
20289 +# configure, is in config.log if it exists.
20290 +
20291 +debug=false
20292 +ac_cs_recheck=false
20293 +ac_cs_silent=false
20294 +SHELL=\${CONFIG_SHELL-$SHELL}
20295 +_ACEOF
20296 +
20297 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20298 +## --------------------- ##
20299 +## M4sh Initialization. ##
20300 +## --------------------- ##
20301 +
20302 +# Be more Bourne compatible
20303 +DUALCASE=1; export DUALCASE # for MKS sh
20304 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20305 + emulate sh
20306 + NULLCMD=:
20307 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20308 + # is contrary to our usage. Disable this feature.
20309 + alias -g '${1+"$@"}'='"$@"'
20310 + setopt NO_GLOB_SUBST
20311 +else
20312 + case `(set -o) 2>/dev/null` in
20313 + *posix*) set -o posix ;;
20314 +esac
20315 +
20316 +fi
20317 +
20318 +
20319 +
20320 +
20321 +# PATH needs CR
20322 +# Avoid depending upon Character Ranges.
20323 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20324 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20325 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20326 +as_cr_digits='0123456789'
20327 +as_cr_alnum=$as_cr_Letters$as_cr_digits
20328 +
20329 +as_nl='
20330 +'
20331 +export as_nl
20332 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
20333 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20334 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20335 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20336 +if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20337 + as_echo='printf %s\n'
20338 + as_echo_n='printf %s'
20339 +else
20340 + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20341 + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20342 + as_echo_n='/usr/ucb/echo -n'
20343 + else
20344 + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20345 + as_echo_n_body='eval
20346 + arg=$1;
20347 + case $arg in
20348 + *"$as_nl"*)
20349 + expr "X$arg" : "X\\(.*\\)$as_nl";
20350 + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20351 + esac;
20352 + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20353 + '
20354 + export as_echo_n_body
20355 + as_echo_n='sh -c $as_echo_n_body as_echo'
20356 + fi
20357 + export as_echo_body
20358 + as_echo='sh -c $as_echo_body as_echo'
20359 +fi
20360 +
20361 +# The user is always right.
20362 +if test "${PATH_SEPARATOR+set}" != set; then
20363 + PATH_SEPARATOR=:
20364 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20365 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20366 + PATH_SEPARATOR=';'
20367 + }
20368 +fi
20369 +
20370 +# Support unset when possible.
20371 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20372 + as_unset=unset
20373 +else
20374 + as_unset=false
20375 +fi
20376 +
20377 +
20378 +# IFS
20379 +# We need space, tab and new line, in precisely that order. Quoting is
20380 +# there to prevent editors from complaining about space-tab.
20381 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
20382 +# splitting by setting IFS to empty value.)
20383 +IFS=" "" $as_nl"
20384 +
20385 +# Find who we are. Look in the path if we contain no directory separator.
20386 +case $0 in
20387 + *[\\/]* ) as_myself=$0 ;;
20388 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20389 +for as_dir in $PATH
20390 +do
20391 + IFS=$as_save_IFS
20392 + test -z "$as_dir" && as_dir=.
20393 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20394 +done
20395 +IFS=$as_save_IFS
20396 +
20397 + ;;
20398 +esac
20399 +# We did not find ourselves, most probably we were run as `sh COMMAND'
20400 +# in which case we are not to be found in the path.
20401 +if test "x$as_myself" = x; then
20402 + as_myself=$0
20403 +fi
20404 +if test ! -f "$as_myself"; then
20405 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20406 + { (exit 1); exit 1; }
20407 +fi
20408 +
20409 +# Work around bugs in pre-3.0 UWIN ksh.
20410 +for as_var in ENV MAIL MAILPATH
20411 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
20412 +done
20413 +PS1='$ '
20414 +PS2='> '
20415 +PS4='+ '
20416 +
20417 +# NLS nuisances.
20418 +LC_ALL=C
20419 +export LC_ALL
20420 +LANGUAGE=C
20421 +export LANGUAGE
20422 +
20423 +# Required to use basename.
20424 +if expr a : '\(a\)' >/dev/null 2>&1 &&
20425 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
20426 + as_expr=expr
20427 +else
20428 + as_expr=false
20429 +fi
20430 +
20431 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20432 + as_basename=basename
20433 +else
20434 + as_basename=false
20435 +fi
20436 +
20437 +
20438 +# Name of the executable.
20439 +as_me=`$as_basename -- "$0" ||
20440 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20441 + X"$0" : 'X\(//\)$' \| \
20442 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20443 +$as_echo X/"$0" |
20444 + sed '/^.*\/\([^/][^/]*\)\/*$/{
20445 + s//\1/
20446 + q
20447 + }
20448 + /^X\/\(\/\/\)$/{
20449 + s//\1/
20450 + q
20451 + }
20452 + /^X\/\(\/\).*/{
20453 + s//\1/
20454 + q
20455 + }
20456 + s/.*/./; q'`
20457 +
20458 +# CDPATH.
20459 +$as_unset CDPATH
20460 +
20461 +
20462 +
20463 + as_lineno_1=$LINENO
20464 + as_lineno_2=$LINENO
20465 + test "x$as_lineno_1" != "x$as_lineno_2" &&
20466 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
20467 +
20468 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20469 + # uniformly replaced by the line number. The first 'sed' inserts a
20470 + # line-number line after each line using $LINENO; the second 'sed'
20471 + # does the real work. The second script uses 'N' to pair each
20472 + # line-number line with the line containing $LINENO, and appends
20473 + # trailing '-' during substitution so that $LINENO is not a special
20474 + # case at line end.
20475 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20476 + # scripts with optimization help from Paolo Bonzini. Blame Lee
20477 + # E. McMahon (1931-1989) for sed's syntax. :-)
20478 + sed -n '
20479 + p
20480 + /[$]LINENO/=
20481 + ' <$as_myself |
20482 + sed '
20483 + s/[$]LINENO.*/&-/
20484 + t lineno
20485 + b
20486 + :lineno
20487 + N
20488 + :loop
20489 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20490 + t loop
20491 + s/-\n.*//
20492 + ' >$as_me.lineno &&
20493 + chmod +x "$as_me.lineno" ||
20494 + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20495 + { (exit 1); exit 1; }; }
20496 +
20497 + # Don't try to exec as it changes $[0], causing all sort of problems
20498 + # (the dirname of $[0] is not the place where we might find the
20499 + # original and so on. Autoconf is especially sensitive to this).
20500 + . "./$as_me.lineno"
20501 + # Exit status is that of the last command.
20502 + exit
20503 +}
20504 +
20505 +
20506 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20507 + as_dirname=dirname
20508 +else
20509 + as_dirname=false
20510 +fi
20511 +
20512 +ECHO_C= ECHO_N= ECHO_T=
20513 +case `echo -n x` in
20514 +-n*)
20515 + case `echo 'x\c'` in
20516 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20517 + *) ECHO_C='\c';;
20518 + esac;;
20519 +*)
20520 + ECHO_N='-n';;
20521 +esac
20522 +if expr a : '\(a\)' >/dev/null 2>&1 &&
20523 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
20524 + as_expr=expr
20525 +else
20526 + as_expr=false
20527 +fi
20528 +
20529 +rm -f conf$$ conf$$.exe conf$$.file
20530 +if test -d conf$$.dir; then
20531 + rm -f conf$$.dir/conf$$.file
20532 +else
20533 + rm -f conf$$.dir
20534 + mkdir conf$$.dir 2>/dev/null
20535 +fi
20536 +if (echo >conf$$.file) 2>/dev/null; then
20537 + if ln -s conf$$.file conf$$ 2>/dev/null; then
20538 + as_ln_s='ln -s'
20539 + # ... but there are two gotchas:
20540 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20541 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20542 + # In both cases, we have to default to `cp -p'.
20543 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20544 + as_ln_s='cp -p'
20545 + elif ln conf$$.file conf$$ 2>/dev/null; then
20546 + as_ln_s=ln
20547 + else
20548 + as_ln_s='cp -p'
20549 + fi
20550 +else
20551 + as_ln_s='cp -p'
20552 +fi
20553 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20554 +rmdir conf$$.dir 2>/dev/null
20555 +
20556 +if mkdir -p . 2>/dev/null; then
20557 + as_mkdir_p=:
20558 +else
20559 + test -d ./-p && rmdir ./-p
20560 + as_mkdir_p=false
20561 +fi
20562 +
20563 +if test -x / >/dev/null 2>&1; then
20564 + as_test_x='test -x'
20565 +else
20566 + if ls -dL / >/dev/null 2>&1; then
20567 + as_ls_L_option=L
20568 + else
20569 + as_ls_L_option=
20570 + fi
20571 + as_test_x='
20572 + eval sh -c '\''
20573 + if test -d "$1"; then
20574 + test -d "$1/.";
20575 + else
20576 + case $1 in
20577 + -*)set "./$1";;
20578 + esac;
20579 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20580 + ???[sx]*):;;*)false;;esac;fi
20581 + '\'' sh
20582 + '
20583 +fi
20584 +as_executable_p=$as_test_x
20585 +
20586 +# Sed expression to map a string onto a valid CPP name.
20587 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20588 +
20589 +# Sed expression to map a string onto a valid variable name.
20590 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20591 +
20592 +
20593 +exec 6>&1
20594 +
20595 +# Save the log message, to keep $[0] and so on meaningful, and to
20596 +# report actual input values of CONFIG_FILES etc. instead of their
20597 +# values after options handling.
20598 +ac_log="
20599 +This file was extended by uptimed $as_me 0.3.12, which was
20600 +generated by GNU Autoconf 2.63. Invocation command line was
20601 +
20602 + CONFIG_FILES = $CONFIG_FILES
20603 + CONFIG_HEADERS = $CONFIG_HEADERS
20604 + CONFIG_LINKS = $CONFIG_LINKS
20605 + CONFIG_COMMANDS = $CONFIG_COMMANDS
20606 + $ $0 $@
20607 +
20608 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
20609 +"
20610 +
20611 +_ACEOF
20612 +
20613 +case $ac_config_files in *"
20614 +"*) set x $ac_config_files; shift; ac_config_files=$*;;
20615 +esac
20616 +
20617 +case $ac_config_headers in *"
20618 +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20619 +esac
20620 +
20621 +
20622 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20623 +# Files that config.status was made for.
20624 +config_files="$ac_config_files"
20625 +config_headers="$ac_config_headers"
20626 +config_commands="$ac_config_commands"
20627 +
20628 +_ACEOF
20629 +
20630 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20631 +ac_cs_usage="\
20632 +\`$as_me' instantiates files from templates according to the
20633 +current configuration.
20634 +
20635 +Usage: $0 [OPTION]... [FILE]...
20636 +
20637 + -h, --help print this help, then exit
20638 + -V, --version print version number and configuration settings, then exit
20639 + -q, --quiet, --silent
20640 + do not print progress messages
20641 + -d, --debug don't remove temporary files
20642 + --recheck update $as_me by reconfiguring in the same conditions
20643 + --file=FILE[:TEMPLATE]
20644 + instantiate the configuration file FILE
20645 + --header=FILE[:TEMPLATE]
20646 + instantiate the configuration header FILE
20647 +
20648 +Configuration files:
20649 +$config_files
20650 +
20651 +Configuration headers:
20652 +$config_headers
20653 +
20654 +Configuration commands:
20655 +$config_commands
20656 +
20657 +Report bugs to <bug-autoconf@gnu.org>."
20658 +
20659 +_ACEOF
20660 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20661 +ac_cs_version="\\
20662 +uptimed config.status 0.3.12
20663 +configured by $0, generated by GNU Autoconf 2.63,
20664 + with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20665 +
20666 +Copyright (C) 2008 Free Software Foundation, Inc.
20667 +This config.status script is free software; the Free Software Foundation
20668 +gives unlimited permission to copy, distribute and modify it."
20669 +
20670 +ac_pwd='$ac_pwd'
20671 +srcdir='$srcdir'
20672 +INSTALL='$INSTALL'
20673 +MKDIR_P='$MKDIR_P'
20674 +AWK='$AWK'
20675 +test -n "\$AWK" || AWK=awk
20676 +_ACEOF
20677 +
20678 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20679 +# The default lists apply if the user does not specify any file.
20680 +ac_need_defaults=:
20681 +while test $# != 0
20682 +do
20683 + case $1 in
20684 + --*=*)
20685 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
20686 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20687 + ac_shift=:
20688 + ;;
20689 + *)
20690 + ac_option=$1
20691 + ac_optarg=$2
20692 + ac_shift=shift
20693 + ;;
20694 + esac
20695 +
20696 + case $ac_option in
20697 + # Handling of the options.
20698 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20699 + ac_cs_recheck=: ;;
20700 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20701 + $as_echo "$ac_cs_version"; exit ;;
20702 + --debug | --debu | --deb | --de | --d | -d )
20703 + debug=: ;;
20704 + --file | --fil | --fi | --f )
20705 + $ac_shift
20706 + case $ac_optarg in
20707 + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20708 + esac
20709 + CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
20710 + ac_need_defaults=false;;
20711 + --header | --heade | --head | --hea )
20712 + $ac_shift
20713 + case $ac_optarg in
20714 + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20715 + esac
20716 + CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
20717 + ac_need_defaults=false;;
20718 + --he | --h)
20719 + # Conflict between --help and --header
20720 + { $as_echo "$as_me: error: ambiguous option: $1
20721 +Try \`$0 --help' for more information." >&2
20722 + { (exit 1); exit 1; }; };;
20723 + --help | --hel | -h )
20724 + $as_echo "$ac_cs_usage"; exit ;;
20725 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20726 + | -silent | --silent | --silen | --sile | --sil | --si | --s)
20727 + ac_cs_silent=: ;;
20728 +
20729 + # This is an error.
20730 + -*) { $as_echo "$as_me: error: unrecognized option: $1
20731 +Try \`$0 --help' for more information." >&2
20732 + { (exit 1); exit 1; }; } ;;
20733 +
20734 + *) ac_config_targets="$ac_config_targets $1"
20735 + ac_need_defaults=false ;;
20736 +
20737 + esac
20738 + shift
20739 +done
20740 +
20741 +ac_configure_extra_args=
20742 +
20743 +if $ac_cs_silent; then
20744 + exec 6>/dev/null
20745 + ac_configure_extra_args="$ac_configure_extra_args --silent"
20746 +fi
20747 +
20748 +_ACEOF
20749 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20750 +if \$ac_cs_recheck; then
20751 + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20752 + shift
20753 + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20754 + CONFIG_SHELL='$SHELL'
20755 + export CONFIG_SHELL
20756 + exec "\$@"
20757 +fi
20758 +
20759 +_ACEOF
20760 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20761 +exec 5>>config.log
20762 +{
20763 + echo
20764 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20765 +## Running $as_me. ##
20766 +_ASBOX
20767 + $as_echo "$ac_log"
20768 +} >&5
20769 +
20770 +_ACEOF
20771 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20772 +#
20773 +# INIT-COMMANDS
20774 +#
20775 +
20776 +
20777 +# The HP-UX ksh and POSIX shell print the target directory to stdout
20778 +# if CDPATH is set.
20779 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20780 +
20781 +sed_quote_subst='$sed_quote_subst'
20782 +double_quote_subst='$double_quote_subst'
20783 +delay_variable_subst='$delay_variable_subst'
20784 +macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
20785 +macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
20786 +enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
20787 +enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
20788 +pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
20789 +enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
20790 +host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
20791 +host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
20792 +host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
20793 +build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
20794 +build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
20795 +build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
20796 +SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
20797 +Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
20798 +GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
20799 +EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
20800 +FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
20801 +LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
20802 +NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
20803 +LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
20804 +max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
20805 +ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
20806 +exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
20807 +lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
20808 +lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
20809 +lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
20810 +reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
20811 +reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20812 +OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
20813 +deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
20814 +file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
20815 +AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
20816 +AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20817 +STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
20818 +RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
20819 +old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20820 +old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20821 +old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20822 +CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
20823 +CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20824 +compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
20825 +GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
20826 +lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
20827 +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
20828 +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
20829 +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20830 +objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
20831 +SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
20832 +ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
20833 +MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
20834 +lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
20835 +lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
20836 +lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
20837 +lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
20838 +lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
20839 +need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
20840 +DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
20841 +NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
20842 +LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
20843 +OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
20844 +OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
20845 +libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
20846 +shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20847 +extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20848 +archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
20849 +enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
20850 +export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20851 +whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20852 +compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
20853 +old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20854 +old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20855 +archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20856 +archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20857 +module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20858 +module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20859 +with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
20860 +allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20861 +no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20862 +hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20863 +hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
20864 +hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
20865 +hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
20866 +hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
20867 +hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
20868 +hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20869 +hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
20870 +inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
20871 +link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
20872 +fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
20873 +always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
20874 +export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20875 +exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20876 +include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20877 +prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20878 +file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
20879 +variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
20880 +need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20881 +need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
20882 +version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
20883 +runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20884 +shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20885 +shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
20886 +libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20887 +library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
20888 +soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20889 +postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20890 +postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20891 +finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20892 +finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
20893 +hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
20894 +sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20895 +sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20896 +hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
20897 +enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
20898 +enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
20899 +enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
20900 +old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
20901 +striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
20902 +
20903 +LTCC='$LTCC'
20904 +LTCFLAGS='$LTCFLAGS'
20905 +compiler='$compiler_DEFAULT'
20906 +
20907 +# Quote evaled strings.
20908 +for var in SED \
20909 +GREP \
20910 +EGREP \
20911 +FGREP \
20912 +LD \
20913 +NM \
20914 +LN_S \
20915 +lt_SP2NL \
20916 +lt_NL2SP \
20917 +reload_flag \
20918 +OBJDUMP \
20919 +deplibs_check_method \
20920 +file_magic_cmd \
20921 +AR \
20922 +AR_FLAGS \
20923 +STRIP \
20924 +RANLIB \
20925 +CC \
20926 +CFLAGS \
20927 +compiler \
20928 +lt_cv_sys_global_symbol_pipe \
20929 +lt_cv_sys_global_symbol_to_cdecl \
20930 +lt_cv_sys_global_symbol_to_c_name_address \
20931 +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20932 +SHELL \
20933 +ECHO \
20934 +lt_prog_compiler_no_builtin_flag \
20935 +lt_prog_compiler_wl \
20936 +lt_prog_compiler_pic \
20937 +lt_prog_compiler_static \
20938 +lt_cv_prog_compiler_c_o \
20939 +need_locks \
20940 +DSYMUTIL \
20941 +NMEDIT \
20942 +LIPO \
20943 +OTOOL \
20944 +OTOOL64 \
20945 +shrext_cmds \
20946 +export_dynamic_flag_spec \
20947 +whole_archive_flag_spec \
20948 +compiler_needs_object \
20949 +with_gnu_ld \
20950 +allow_undefined_flag \
20951 +no_undefined_flag \
20952 +hardcode_libdir_flag_spec \
20953 +hardcode_libdir_flag_spec_ld \
20954 +hardcode_libdir_separator \
20955 +fix_srcfile_path \
20956 +exclude_expsyms \
20957 +include_expsyms \
20958 +file_list_spec \
20959 +variables_saved_for_relink \
20960 +libname_spec \
20961 +library_names_spec \
20962 +soname_spec \
20963 +finish_eval \
20964 +old_striplib \
20965 +striplib; do
20966 + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20967 + *[\\\\\\\`\\"\\\$]*)
20968 + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20969 + ;;
20970 + *)
20971 + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20972 + ;;
20973 + esac
20974 +done
20975 +
20976 +# Double-quote double-evaled strings.
20977 +for var in reload_cmds \
20978 +old_postinstall_cmds \
20979 +old_postuninstall_cmds \
20980 +old_archive_cmds \
20981 +extract_expsyms_cmds \
20982 +old_archive_from_new_cmds \
20983 +old_archive_from_expsyms_cmds \
20984 +archive_cmds \
20985 +archive_expsym_cmds \
20986 +module_cmds \
20987 +module_expsym_cmds \
20988 +export_symbols_cmds \
20989 +prelink_cmds \
20990 +postinstall_cmds \
20991 +postuninstall_cmds \
20992 +finish_cmds \
20993 +sys_lib_search_path_spec \
20994 +sys_lib_dlsearch_path_spec; do
20995 + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20996 + *[\\\\\\\`\\"\\\$]*)
20997 + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20998 + ;;
20999 + *)
21000 + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21001 + ;;
21002 + esac
21003 +done
21004 +
21005 +# Fix-up fallback echo if it was mangled by the above quoting rules.
21006 +case \$lt_ECHO in
21007 +*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
21008 + ;;
21009 +esac
21010 +
21011 +ac_aux_dir='$ac_aux_dir'
21012 +xsi_shell='$xsi_shell'
21013 +lt_shell_append='$lt_shell_append'
21014 +
21015 +# See if we are running on zsh, and set the options which allow our
21016 +# commands through without removal of \ escapes INIT.
21017 +if test -n "\${ZSH_VERSION+set}" ; then
21018 + setopt NO_GLOB_SUBST
21019 +fi
21020 +
21021 +
21022 + PACKAGE='$PACKAGE'
21023 + VERSION='$VERSION'
21024 + TIMESTAMP='$TIMESTAMP'
21025 + RM='$RM'
21026 + ofile='$ofile'
21027 +
21028 +
21029 +
21030 +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21031 +
21032 +_ACEOF
21033 +
21034 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21035 +
21036 +# Handling of arguments.
21037 +for ac_config_target in $ac_config_targets
21038 +do
21039 + case $ac_config_target in
21040 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
21041 + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
21042 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
21043 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21044 + "libuptimed/Makefile") CONFIG_FILES="$CONFIG_FILES libuptimed/Makefile" ;;
21045 + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
21046 + "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
21047 + "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
21048 + "uptimed.spec") CONFIG_FILES="$CONFIG_FILES uptimed.spec" ;;
21049 +
21050 + *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21051 +$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21052 + { (exit 1); exit 1; }; };;
21053 + esac
21054 +done
21055 +
21056 +
21057 +# If the user did not use the arguments to specify the items to instantiate,
21058 +# then the envvar interface is used. Set only those that are not.
21059 +# We use the long form for the default assignment because of an extremely
21060 +# bizarre bug on SunOS 4.1.3.
21061 +if $ac_need_defaults; then
21062 + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21063 + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21064 + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21065 +fi
21066 +
21067 +# Have a temporary directory for convenience. Make it in the build tree
21068 +# simply because there is no reason against having it here, and in addition,
21069 +# creating and moving files from /tmp can sometimes cause problems.
21070 +# Hook for its removal unless debugging.
21071 +# Note that there is a small window in which the directory will not be cleaned:
21072 +# after its creation but before its name has been assigned to `$tmp'.
21073 +$debug ||
21074 +{
21075 + tmp=
21076 + trap 'exit_status=$?
21077 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21078 +' 0
21079 + trap '{ (exit 1); exit 1; }' 1 2 13 15
21080 +}
21081 +# Create a (secure) tmp directory for tmp files.
21082 +
21083 +{
21084 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21085 + test -n "$tmp" && test -d "$tmp"
21086 +} ||
21087 +{
21088 + tmp=./conf$$-$RANDOM
21089 + (umask 077 && mkdir "$tmp")
21090 +} ||
21091 +{
21092 + $as_echo "$as_me: cannot create a temporary directory in ." >&2
21093 + { (exit 1); exit 1; }
21094 +}
21095 +
21096 +# Set up the scripts for CONFIG_FILES section.
21097 +# No need to generate them if there are no CONFIG_FILES.
21098 +# This happens for instance with `./config.status config.h'.
21099 +if test -n "$CONFIG_FILES"; then
21100 +
21101 +
21102 +ac_cr='
'
21103 +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21104 +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21105 + ac_cs_awk_cr='\\r'
21106 +else
21107 + ac_cs_awk_cr=$ac_cr
21108 +fi
21109 +
21110 +echo 'BEGIN {' >"$tmp/subs1.awk" &&
21111 +_ACEOF
21112 +
21113 +
21114 +{
21115 + echo "cat >conf$$subs.awk <<_ACEOF" &&
21116 + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21117 + echo "_ACEOF"
21118 +} >conf$$subs.sh ||
21119 + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21120 +$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21121 + { (exit 1); exit 1; }; }
21122 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
21123 +ac_delim='%!_!# '
21124 +for ac_last_try in false false false false false :; do
21125 + . ./conf$$subs.sh ||
21126 + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21127 +$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21128 + { (exit 1); exit 1; }; }
21129 +
21130 + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21131 + if test $ac_delim_n = $ac_delim_num; then
21132 + break
21133 + elif $ac_last_try; then
21134 + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21135 +$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21136 + { (exit 1); exit 1; }; }
21137 + else
21138 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21139 + fi
21140 +done
21141 +rm -f conf$$subs.sh
21142 +
21143 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21144 +cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
21145 +_ACEOF
21146 +sed -n '
21147 +h
21148 +s/^/S["/; s/!.*/"]=/
21149 +p
21150 +g
21151 +s/^[^!]*!//
21152 +:repl
21153 +t repl
21154 +s/'"$ac_delim"'$//
21155 +t delim
21156 +:nl
21157 +h
21158 +s/\(.\{148\}\).*/\1/
21159 +t more1
21160 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21161 +p
21162 +n
21163 +b repl
21164 +:more1
21165 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21166 +p
21167 +g
21168 +s/.\{148\}//
21169 +t nl
21170 +:delim
21171 +h
21172 +s/\(.\{148\}\).*/\1/
21173 +t more2
21174 +s/["\\]/\\&/g; s/^/"/; s/$/"/
21175 +p
21176 +b
21177 +:more2
21178 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21179 +p
21180 +g
21181 +s/.\{148\}//
21182 +t delim
21183 +' <conf$$subs.awk | sed '
21184 +/^[^""]/{
21185 + N
21186 + s/\n//
21187 +}
21188 +' >>$CONFIG_STATUS || ac_write_fail=1
21189 +rm -f conf$$subs.awk
21190 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21191 +_ACAWK
21192 +cat >>"\$tmp/subs1.awk" <<_ACAWK &&
21193 + for (key in S) S_is_set[key] = 1
21194 + FS = ""
21195 +
21196 +}
21197 +{
21198 + line = $ 0
21199 + nfields = split(line, field, "@")
21200 + substed = 0
21201 + len = length(field[1])
21202 + for (i = 2; i < nfields; i++) {
21203 + key = field[i]
21204 + keylen = length(key)
21205 + if (S_is_set[key]) {
21206 + value = S[key]
21207 + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21208 + len += length(value) + length(field[++i])
21209 + substed = 1
21210 + } else
21211 + len += 1 + keylen
21212 + }
21213 +
21214 + print line
21215 +}
21216 +
21217 +_ACAWK
21218 +_ACEOF
21219 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21220 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21221 + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21222 +else
21223 + cat
21224 +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
21225 + || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
21226 +$as_echo "$as_me: error: could not setup config files machinery" >&2;}
21227 + { (exit 1); exit 1; }; }
21228 +_ACEOF
21229 +
21230 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
21231 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21232 +# trailing colons and then remove the whole line if VPATH becomes empty
21233 +# (actually we leave an empty line to preserve line numbers).
21234 +if test "x$srcdir" = x.; then
21235 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
21236 +s/:*\$(srcdir):*/:/
21237 +s/:*\${srcdir}:*/:/
21238 +s/:*@srcdir@:*/:/
21239 +s/^\([^=]*=[ ]*\):*/\1/
21240 +s/:*$//
21241 +s/^[^=]*=[ ]*$//
21242 +}'
21243 +fi
21244 +
21245 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21246 +fi # test -n "$CONFIG_FILES"
21247 +
21248 +# Set up the scripts for CONFIG_HEADERS section.
21249 +# No need to generate them if there are no CONFIG_HEADERS.
21250 +# This happens for instance with `./config.status Makefile'.
21251 +if test -n "$CONFIG_HEADERS"; then
21252 +cat >"$tmp/defines.awk" <<\_ACAWK ||
21253 +BEGIN {
21254 +_ACEOF
21255 +
21256 +# Transform confdefs.h into an awk script `defines.awk', embedded as
21257 +# here-document in config.status, that substitutes the proper values into
21258 +# config.h.in to produce config.h.
21259 +
21260 +# Create a delimiter string that does not exist in confdefs.h, to ease
21261 +# handling of long lines.
21262 +ac_delim='%!_!# '
21263 +for ac_last_try in false false :; do
21264 + ac_t=`sed -n "/$ac_delim/p" confdefs.h`
21265 + if test -z "$ac_t"; then
21266 + break
21267 + elif $ac_last_try; then
21268 + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
21269 +$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
21270 + { (exit 1); exit 1; }; }
21271 + else
21272 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21273 + fi
21274 +done
21275 +
21276 +# For the awk script, D is an array of macro values keyed by name,
21277 +# likewise P contains macro parameters if any. Preserve backslash
21278 +# newline sequences.
21279 +
21280 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21281 +sed -n '
21282 +s/.\{148\}/&'"$ac_delim"'/g
21283 +t rset
21284 +:rset
21285 +s/^[ ]*#[ ]*define[ ][ ]*/ /
21286 +t def
21287 +d
21288 +:def
21289 +s/\\$//
21290 +t bsnl
21291 +s/["\\]/\\&/g
21292 +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21293 +D["\1"]=" \3"/p
21294 +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21295 +d
21296 +:bsnl
21297 +s/["\\]/\\&/g
21298 +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21299 +D["\1"]=" \3\\\\\\n"\\/p
21300 +t cont
21301 +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21302 +t cont
21303 +d
21304 +:cont
21305 +n
21306 +s/.\{148\}/&'"$ac_delim"'/g
21307 +t clear
21308 +:clear
21309 +s/\\$//
21310 +t bsnlc
21311 +s/["\\]/\\&/g; s/^/"/; s/$/"/p
21312 +d
21313 +:bsnlc
21314 +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21315 +b cont
21316 +' <confdefs.h | sed '
21317 +s/'"$ac_delim"'/"\\\
21318 +"/g' >>$CONFIG_STATUS || ac_write_fail=1
21319 +
21320 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21321 + for (key in D) D_is_set[key] = 1
21322 + FS = ""
21323 +}
21324 +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21325 + line = \$ 0
21326 + split(line, arg, " ")
21327 + if (arg[1] == "#") {
21328 + defundef = arg[2]
21329 + mac1 = arg[3]
21330 + } else {
21331 + defundef = substr(arg[1], 2)
21332 + mac1 = arg[2]
21333 + }
21334 + split(mac1, mac2, "(") #)
21335 + macro = mac2[1]
21336 + prefix = substr(line, 1, index(line, defundef) - 1)
21337 + if (D_is_set[macro]) {
21338 + # Preserve the white space surrounding the "#".
21339 + print prefix "define", macro P[macro] D[macro]
21340 + next
21341 + } else {
21342 + # Replace #undef with comments. This is necessary, for example,
21343 + # in the case of _POSIX_SOURCE, which is predefined and required
21344 + # on some systems where configure will not decide to define it.
21345 + if (defundef == "undef") {
21346 + print "/*", prefix defundef, macro, "*/"
21347 + next
21348 + }
21349 + }
21350 +}
21351 +{ print }
21352 +_ACAWK
21353 +_ACEOF
21354 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21355 + { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
21356 +$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
21357 + { (exit 1); exit 1; }; }
21358 +fi # test -n "$CONFIG_HEADERS"
21359 +
21360 +
21361 +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21362 +shift
21363 +for ac_tag
21364 +do
21365 + case $ac_tag in
21366 + :[FHLC]) ac_mode=$ac_tag; continue;;
21367 + esac
21368 + case $ac_mode$ac_tag in
21369 + :[FHL]*:*);;
21370 + :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
21371 +$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
21372 + { (exit 1); exit 1; }; };;
21373 + :[FH]-) ac_tag=-:-;;
21374 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21375 + esac
21376 + ac_save_IFS=$IFS
21377 + IFS=:
21378 + set x $ac_tag
21379 + IFS=$ac_save_IFS
21380 + shift
21381 + ac_file=$1
21382 + shift
21383 +
21384 + case $ac_mode in
21385 + :L) ac_source=$1;;
21386 + :[FH])
21387 + ac_file_inputs=
21388 + for ac_f
21389 + do
21390 + case $ac_f in
21391 + -) ac_f="$tmp/stdin";;
21392 + *) # Look for the file first in the build tree, then in the source tree
21393 + # (if the path is not absolute). The absolute path cannot be DOS-style,
21394 + # because $ac_f cannot contain `:'.
21395 + test -f "$ac_f" ||
21396 + case $ac_f in
21397 + [\\/$]*) false;;
21398 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21399 + esac ||
21400 + { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21401 +$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21402 + { (exit 1); exit 1; }; };;
21403 + esac
21404 + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21405 + ac_file_inputs="$ac_file_inputs '$ac_f'"
21406 + done
21407 +
21408 + # Let's still pretend it is `configure' which instantiates (i.e., don't
21409 + # use $as_me), people would be surprised to read:
21410 + # /* config.h. Generated by config.status. */
21411 + configure_input='Generated from '`
21412 + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21413 + `' by configure.'
21414 + if test x"$ac_file" != x-; then
21415 + configure_input="$ac_file. $configure_input"
21416 + { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
21417 +$as_echo "$as_me: creating $ac_file" >&6;}
21418 + fi
21419 + # Neutralize special characters interpreted by sed in replacement strings.
21420 + case $configure_input in #(
21421 + *\&* | *\|* | *\\* )
21422 + ac_sed_conf_input=`$as_echo "$configure_input" |
21423 + sed 's/[\\\\&|]/\\\\&/g'`;; #(
21424 + *) ac_sed_conf_input=$configure_input;;
21425 + esac
21426 +
21427 + case $ac_tag in
21428 + *:-:* | *:-) cat >"$tmp/stdin" \
21429 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
21430 +$as_echo "$as_me: error: could not create $ac_file" >&2;}
21431 + { (exit 1); exit 1; }; } ;;
21432 + esac
21433 + ;;
21434 + esac
21435 +
21436 + ac_dir=`$as_dirname -- "$ac_file" ||
21437 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21438 + X"$ac_file" : 'X\(//\)[^/]' \| \
21439 + X"$ac_file" : 'X\(//\)$' \| \
21440 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21441 +$as_echo X"$ac_file" |
21442 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21443 + s//\1/
21444 + q
21445 + }
21446 + /^X\(\/\/\)[^/].*/{
21447 + s//\1/
21448 + q
21449 + }
21450 + /^X\(\/\/\)$/{
21451 + s//\1/
21452 + q
21453 + }
21454 + /^X\(\/\).*/{
21455 + s//\1/
21456 + q
21457 + }
21458 + s/.*/./; q'`
21459 + { as_dir="$ac_dir"
21460 + case $as_dir in #(
21461 + -*) as_dir=./$as_dir;;
21462 + esac
21463 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21464 + as_dirs=
21465 + while :; do
21466 + case $as_dir in #(
21467 + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21468 + *) as_qdir=$as_dir;;
21469 + esac
21470 + as_dirs="'$as_qdir' $as_dirs"
21471 + as_dir=`$as_dirname -- "$as_dir" ||
21472 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21473 + X"$as_dir" : 'X\(//\)[^/]' \| \
21474 + X"$as_dir" : 'X\(//\)$' \| \
21475 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21476 +$as_echo X"$as_dir" |
21477 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21478 + s//\1/
21479 + q
21480 + }
21481 + /^X\(\/\/\)[^/].*/{
21482 + s//\1/
21483 + q
21484 + }
21485 + /^X\(\/\/\)$/{
21486 + s//\1/
21487 + q
21488 + }
21489 + /^X\(\/\).*/{
21490 + s//\1/
21491 + q
21492 + }
21493 + s/.*/./; q'`
21494 + test -d "$as_dir" && break
21495 + done
21496 + test -z "$as_dirs" || eval "mkdir $as_dirs"
21497 + } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21498 +$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
21499 + { (exit 1); exit 1; }; }; }
21500 + ac_builddir=.
21501 +
21502 +case "$ac_dir" in
21503 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21504 +*)
21505 + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21506 + # A ".." for each directory in $ac_dir_suffix.
21507 + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21508 + case $ac_top_builddir_sub in
21509 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21510 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21511 + esac ;;
21512 +esac
21513 +ac_abs_top_builddir=$ac_pwd
21514 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
21515 +# for backward compatibility:
21516 +ac_top_builddir=$ac_top_build_prefix
21517 +
21518 +case $srcdir in
21519 + .) # We are building in place.
21520 + ac_srcdir=.
21521 + ac_top_srcdir=$ac_top_builddir_sub
21522 + ac_abs_top_srcdir=$ac_pwd ;;
21523 + [\\/]* | ?:[\\/]* ) # Absolute name.
21524 + ac_srcdir=$srcdir$ac_dir_suffix;
21525 + ac_top_srcdir=$srcdir
21526 + ac_abs_top_srcdir=$srcdir ;;
21527 + *) # Relative name.
21528 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21529 + ac_top_srcdir=$ac_top_build_prefix$srcdir
21530 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21531 +esac
21532 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21533 +
21534 +
21535 + case $ac_mode in
21536 + :F)
21537 + #
21538 + # CONFIG_FILE
21539 + #
21540 +
21541 + case $INSTALL in
21542 + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21543 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21544 + esac
21545 + ac_MKDIR_P=$MKDIR_P
21546 + case $MKDIR_P in
21547 + [\\/$]* | ?:[\\/]* ) ;;
21548 + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21549 + esac
21550 +_ACEOF
21551 +
21552 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21553 +# If the template does not know about datarootdir, expand it.
21554 +# FIXME: This hack should be removed a few years after 2.60.
21555 +ac_datarootdir_hack=; ac_datarootdir_seen=
21556 +
21557 +ac_sed_dataroot='
21558 +/datarootdir/ {
21559 + p
21560 + q
21561 +}
21562 +/@datadir@/p
21563 +/@docdir@/p
21564 +/@infodir@/p
21565 +/@localedir@/p
21566 +/@mandir@/p
21567 +'
21568 +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21569 +*datarootdir*) ac_datarootdir_seen=yes;;
21570 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21571 + { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21572 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21573 +_ACEOF
21574 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21575 + ac_datarootdir_hack='
21576 + s&@datadir@&$datadir&g
21577 + s&@docdir@&$docdir&g
21578 + s&@infodir@&$infodir&g
21579 + s&@localedir@&$localedir&g
21580 + s&@mandir@&$mandir&g
21581 + s&\\\${datarootdir}&$datarootdir&g' ;;
21582 +esac
21583 +_ACEOF
21584 +
21585 +# Neutralize VPATH when `$srcdir' = `.'.
21586 +# Shell code in configure.ac might set extrasub.
21587 +# FIXME: do we really want to maintain this feature?
21588 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21589 +ac_sed_extra="$ac_vpsub
21590 +$extrasub
21591 +_ACEOF
21592 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21593 +:t
21594 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21595 +s|@configure_input@|$ac_sed_conf_input|;t t
21596 +s&@top_builddir@&$ac_top_builddir_sub&;t t
21597 +s&@top_build_prefix@&$ac_top_build_prefix&;t t
21598 +s&@srcdir@&$ac_srcdir&;t t
21599 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
21600 +s&@top_srcdir@&$ac_top_srcdir&;t t
21601 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21602 +s&@builddir@&$ac_builddir&;t t
21603 +s&@abs_builddir@&$ac_abs_builddir&;t t
21604 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21605 +s&@INSTALL@&$ac_INSTALL&;t t
21606 +s&@MKDIR_P@&$ac_MKDIR_P&;t t
21607 +$ac_datarootdir_hack
21608 +"
21609 +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
21610 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
21611 +$as_echo "$as_me: error: could not create $ac_file" >&2;}
21612 + { (exit 1); exit 1; }; }
21613 +
21614 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21615 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
21616 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
21617 + { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21618 +which seems to be undefined. Please make sure it is defined." >&5
21619 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21620 +which seems to be undefined. Please make sure it is defined." >&2;}
21621 +
21622 + rm -f "$tmp/stdin"
21623 + case $ac_file in
21624 + -) cat "$tmp/out" && rm -f "$tmp/out";;
21625 + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
21626 + esac \
21627 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
21628 +$as_echo "$as_me: error: could not create $ac_file" >&2;}
21629 + { (exit 1); exit 1; }; }
21630 + ;;
21631 + :H)
21632 + #
21633 + # CONFIG_HEADER
21634 + #
21635 + if test x"$ac_file" != x-; then
21636 + {
21637 + $as_echo "/* $configure_input */" \
21638 + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
21639 + } >"$tmp/config.h" \
21640 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
21641 +$as_echo "$as_me: error: could not create $ac_file" >&2;}
21642 + { (exit 1); exit 1; }; }
21643 + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
21644 + { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21645 +$as_echo "$as_me: $ac_file is unchanged" >&6;}
21646 + else
21647 + rm -f "$ac_file"
21648 + mv "$tmp/config.h" "$ac_file" \
21649 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
21650 +$as_echo "$as_me: error: could not create $ac_file" >&2;}
21651 + { (exit 1); exit 1; }; }
21652 + fi
21653 + else
21654 + $as_echo "/* $configure_input */" \
21655 + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
21656 + || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
21657 +$as_echo "$as_me: error: could not create -" >&2;}
21658 + { (exit 1); exit 1; }; }
21659 + fi
21660 +# Compute "$ac_file"'s index in $config_headers.
21661 +_am_arg="$ac_file"
21662 +_am_stamp_count=1
21663 +for _am_header in $config_headers :; do
21664 + case $_am_header in
21665 + $_am_arg | $_am_arg:* )
21666 + break ;;
21667 + * )
21668 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21669 + esac
21670 +done
21671 +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21672 +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21673 + X"$_am_arg" : 'X\(//\)[^/]' \| \
21674 + X"$_am_arg" : 'X\(//\)$' \| \
21675 + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21676 +$as_echo X"$_am_arg" |
21677 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21678 + s//\1/
21679 + q
21680 + }
21681 + /^X\(\/\/\)[^/].*/{
21682 + s//\1/
21683 + q
21684 + }
21685 + /^X\(\/\/\)$/{
21686 + s//\1/
21687 + q
21688 + }
21689 + /^X\(\/\).*/{
21690 + s//\1/
21691 + q
21692 + }
21693 + s/.*/./; q'`/stamp-h$_am_stamp_count
21694 + ;;
21695 +
21696 + :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
21697 +$as_echo "$as_me: executing $ac_file commands" >&6;}
21698 + ;;
21699 + esac
21700 +
21701 +
21702 + case $ac_file$ac_mode in
21703 + "libtool":C)
21704 +
21705 + # See if we are running on zsh, and set the options which allow our
21706 + # commands through without removal of \ escapes.
21707 + if test -n "${ZSH_VERSION+set}" ; then
21708 + setopt NO_GLOB_SUBST
21709 + fi
21710 +
21711 + cfgfile="${ofile}T"
21712 + trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21713 + $RM "$cfgfile"
21714 +
21715 + cat <<_LT_EOF >> "$cfgfile"
21716 +#! $SHELL
21717 +
21718 +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21719 +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21720 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21721 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
21722 +#
21723 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21724 +# 2006, 2007, 2008 Free Software Foundation, Inc.
21725 +# Written by Gordon Matzigkeit, 1996
21726 +#
21727 +# This file is part of GNU Libtool.
21728 +#
21729 +# GNU Libtool is free software; you can redistribute it and/or
21730 +# modify it under the terms of the GNU General Public License as
21731 +# published by the Free Software Foundation; either version 2 of
21732 +# the License, or (at your option) any later version.
21733 +#
21734 +# As a special exception to the GNU General Public License,
21735 +# if you distribute this file as part of a program or library that
21736 +# is built using GNU Libtool, you may include this file under the
21737 +# same distribution terms that you use for the rest of that program.
21738 +#
21739 +# GNU Libtool is distributed in the hope that it will be useful,
21740 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
21741 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21742 +# GNU General Public License for more details.
21743 +#
21744 +# You should have received a copy of the GNU General Public License
21745 +# along with GNU Libtool; see the file COPYING. If not, a copy
21746 +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21747 +# obtained by writing to the Free Software Foundation, Inc.,
21748 +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21749 +
21750 +
21751 +# The names of the tagged configurations supported by this script.
21752 +available_tags=""
21753 +
21754 +# ### BEGIN LIBTOOL CONFIG
21755 +
21756 +# Which release of libtool.m4 was used?
21757 +macro_version=$macro_version
21758 +macro_revision=$macro_revision
21759 +
21760 +# Whether or not to build shared libraries.
21761 +build_libtool_libs=$enable_shared
21762 +
21763 +# Whether or not to build static libraries.
21764 +build_old_libs=$enable_static
21765 +
21766 +# What type of objects to build.
21767 +pic_mode=$pic_mode
21768 +
21769 +# Whether or not to optimize for fast installation.
21770 +fast_install=$enable_fast_install
21771 +
21772 +# The host system.
21773 +host_alias=$host_alias
21774 +host=$host
21775 +host_os=$host_os
21776 +
21777 +# The build system.
21778 +build_alias=$build_alias
21779 +build=$build
21780 +build_os=$build_os
21781 +
21782 +# A sed program that does not truncate output.
21783 +SED=$lt_SED
21784 +
21785 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
21786 +Xsed="\$SED -e 1s/^X//"
21787 +
21788 +# A grep program that handles long lines.
21789 +GREP=$lt_GREP
21790 +
21791 +# An ERE matcher.
21792 +EGREP=$lt_EGREP
21793 +
21794 +# A literal string matcher.
21795 +FGREP=$lt_FGREP
21796 +
21797 +# A BSD- or MS-compatible name lister.
21798 +NM=$lt_NM
21799 +
21800 +# Whether we need soft or hard links.
21801 +LN_S=$lt_LN_S
21802 +
21803 +# What is the maximum length of a command?
21804 +max_cmd_len=$max_cmd_len
21805 +
21806 +# Object file suffix (normally "o").
21807 +objext=$ac_objext
21808 +
21809 +# Executable file suffix (normally "").
21810 +exeext=$exeext
21811 +
21812 +# whether the shell understands "unset".
21813 +lt_unset=$lt_unset
21814 +
21815 +# turn spaces into newlines.
21816 +SP2NL=$lt_lt_SP2NL
21817 +
21818 +# turn newlines into spaces.
21819 +NL2SP=$lt_lt_NL2SP
21820 +
21821 +# How to create reloadable object files.
21822 +reload_flag=$lt_reload_flag
21823 +reload_cmds=$lt_reload_cmds
21824 +
21825 +# An object symbol dumper.
21826 +OBJDUMP=$lt_OBJDUMP
21827 +
21828 +# Method to check whether dependent libraries are shared objects.
21829 +deplibs_check_method=$lt_deplibs_check_method
21830 +
21831 +# Command to use when deplibs_check_method == "file_magic".
21832 +file_magic_cmd=$lt_file_magic_cmd
21833 +
21834 +# The archiver.
21835 +AR=$lt_AR
21836 +AR_FLAGS=$lt_AR_FLAGS
21837 +
21838 +# A symbol stripping program.
21839 +STRIP=$lt_STRIP
21840 +
21841 +# Commands used to install an old-style archive.
21842 +RANLIB=$lt_RANLIB
21843 +old_postinstall_cmds=$lt_old_postinstall_cmds
21844 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
21845 +
21846 +# A C compiler.
21847 +LTCC=$lt_CC
21848 +
21849 +# LTCC compiler flags.
21850 +LTCFLAGS=$lt_CFLAGS
21851 +
21852 +# Take the output of nm and produce a listing of raw symbols and C names.
21853 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21854 +
21855 +# Transform the output of nm in a proper C declaration.
21856 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21857 +
21858 +# Transform the output of nm in a C name address pair.
21859 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21860 +
21861 +# Transform the output of nm in a C name address pair when lib prefix is needed.
21862 +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21863 +
21864 +# The name of the directory that contains temporary libtool files.
21865 +objdir=$objdir
21866 +
21867 +# Shell to use when invoking shell scripts.
21868 +SHELL=$lt_SHELL
21869 +
21870 +# An echo program that does not interpret backslashes.
21871 +ECHO=$lt_ECHO
21872 +
21873 +# Used to examine libraries when file_magic_cmd begins with "file".
21874 +MAGIC_CMD=$MAGIC_CMD
21875 +
21876 +# Must we lock files when doing compilation?
21877 +need_locks=$lt_need_locks
21878 +
21879 +# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21880 +DSYMUTIL=$lt_DSYMUTIL
21881 +
21882 +# Tool to change global to local symbols on Mac OS X.
21883 +NMEDIT=$lt_NMEDIT
21884 +
21885 +# Tool to manipulate fat objects and archives on Mac OS X.
21886 +LIPO=$lt_LIPO
21887 +
21888 +# ldd/readelf like tool for Mach-O binaries on Mac OS X.
21889 +OTOOL=$lt_OTOOL
21890 +
21891 +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21892 +OTOOL64=$lt_OTOOL64
21893 +
21894 +# Old archive suffix (normally "a").
21895 +libext=$libext
21896 +
21897 +# Shared library suffix (normally ".so").
21898 +shrext_cmds=$lt_shrext_cmds
21899 +
21900 +# The commands to extract the exported symbol list from a shared archive.
21901 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
21902 +
21903 +# Variables whose values should be saved in libtool wrapper scripts and
21904 +# restored at link time.
21905 +variables_saved_for_relink=$lt_variables_saved_for_relink
21906 +
21907 +# Do we need the "lib" prefix for modules?
21908 +need_lib_prefix=$need_lib_prefix
21909 +
21910 +# Do we need a version for libraries?
21911 +need_version=$need_version
21912 +
21913 +# Library versioning type.
21914 +version_type=$version_type
21915 +
21916 +# Shared library runtime path variable.
21917 +runpath_var=$runpath_var
21918 +
21919 +# Shared library path variable.
21920 +shlibpath_var=$shlibpath_var
21921 +
21922 +# Is shlibpath searched before the hard-coded library search path?
21923 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21924 +
21925 +# Format of library name prefix.
21926 +libname_spec=$lt_libname_spec
21927 +
21928 +# List of archive names. First name is the real one, the rest are links.
21929 +# The last name is the one that the linker finds with -lNAME
21930 +library_names_spec=$lt_library_names_spec
21931 +
21932 +# The coded name of the library, if different from the real name.
21933 +soname_spec=$lt_soname_spec
21934 +
21935 +# Command to use after installation of a shared archive.
21936 +postinstall_cmds=$lt_postinstall_cmds
21937 +
21938 +# Command to use after uninstallation of a shared archive.
21939 +postuninstall_cmds=$lt_postuninstall_cmds
21940 +
21941 +# Commands used to finish a libtool library installation in a directory.
21942 +finish_cmds=$lt_finish_cmds
21943 +
21944 +# As "finish_cmds", except a single script fragment to be evaled but
21945 +# not shown.
21946 +finish_eval=$lt_finish_eval
21947 +
21948 +# Whether we should hardcode library paths into libraries.
21949 +hardcode_into_libs=$hardcode_into_libs
21950 +
21951 +# Compile-time system search path for libraries.
21952 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21953 +
21954 +# Run-time system search path for libraries.
21955 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21956 +
21957 +# Whether dlopen is supported.
21958 +dlopen_support=$enable_dlopen
21959 +
21960 +# Whether dlopen of programs is supported.
21961 +dlopen_self=$enable_dlopen_self
21962 +
21963 +# Whether dlopen of statically linked programs is supported.
21964 +dlopen_self_static=$enable_dlopen_self_static
21965 +
21966 +# Commands to strip libraries.
21967 +old_striplib=$lt_old_striplib
21968 +striplib=$lt_striplib
21969 +
21970 +
21971 +# The linker used to build libraries.
21972 +LD=$lt_LD
21973 +
21974 +# Commands used to build an old-style archive.
21975 +old_archive_cmds=$lt_old_archive_cmds
21976 +
21977 +# A language specific compiler.
21978 +CC=$lt_compiler
21979 +
21980 +# Is the compiler the GNU compiler?
21981 +with_gcc=$GCC
21982 +
21983 +# Compiler flag to turn off builtin functions.
21984 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21985 +
21986 +# How to pass a linker flag through the compiler.
21987 +wl=$lt_lt_prog_compiler_wl
21988 +
21989 +# Additional compiler flags for building library objects.
21990 +pic_flag=$lt_lt_prog_compiler_pic
21991 +
21992 +# Compiler flag to prevent dynamic linking.
21993 +link_static_flag=$lt_lt_prog_compiler_static
21994 +
21995 +# Does compiler simultaneously support -c and -o options?
21996 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21997 +
21998 +# Whether or not to add -lc for building shared libraries.
21999 +build_libtool_need_lc=$archive_cmds_need_lc
22000 +
22001 +# Whether or not to disallow shared libs when runtime libs are static.
22002 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22003 +
22004 +# Compiler flag to allow reflexive dlopens.
22005 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22006 +
22007 +# Compiler flag to generate shared objects directly from archives.
22008 +whole_archive_flag_spec=$lt_whole_archive_flag_spec
22009 +
22010 +# Whether the compiler copes with passing no objects directly.
22011 +compiler_needs_object=$lt_compiler_needs_object
22012 +
22013 +# Create an old-style archive from a shared archive.
22014 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22015 +
22016 +# Create a temporary old-style archive to link instead of a shared archive.
22017 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22018 +
22019 +# Commands used to build a shared archive.
22020 +archive_cmds=$lt_archive_cmds
22021 +archive_expsym_cmds=$lt_archive_expsym_cmds
22022 +
22023 +# Commands used to build a loadable module if different from building
22024 +# a shared archive.
22025 +module_cmds=$lt_module_cmds
22026 +module_expsym_cmds=$lt_module_expsym_cmds
22027 +
22028 +# Whether we are building with GNU ld or not.
22029 +with_gnu_ld=$lt_with_gnu_ld
22030 +
22031 +# Flag that allows shared libraries with undefined symbols to be built.
22032 +allow_undefined_flag=$lt_allow_undefined_flag
22033 +
22034 +# Flag that enforces no undefined symbols.
22035 +no_undefined_flag=$lt_no_undefined_flag
22036 +
22037 +# Flag to hardcode \$libdir into a binary during linking.
22038 +# This must work even if \$libdir does not exist
22039 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22040 +
22041 +# If ld is used when linking, flag to hardcode \$libdir into a binary
22042 +# during linking. This must work even if \$libdir does not exist.
22043 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
22044 +
22045 +# Whether we need a single "-rpath" flag with a separated argument.
22046 +hardcode_libdir_separator=$lt_hardcode_libdir_separator
22047 +
22048 +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22049 +# DIR into the resulting binary.
22050 +hardcode_direct=$hardcode_direct
22051 +
22052 +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22053 +# DIR into the resulting binary and the resulting library dependency is
22054 +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22055 +# library is relocated.
22056 +hardcode_direct_absolute=$hardcode_direct_absolute
22057 +
22058 +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22059 +# into the resulting binary.
22060 +hardcode_minus_L=$hardcode_minus_L
22061 +
22062 +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22063 +# into the resulting binary.
22064 +hardcode_shlibpath_var=$hardcode_shlibpath_var
22065 +
22066 +# Set to "yes" if building a shared library automatically hardcodes DIR
22067 +# into the library and all subsequent libraries and executables linked
22068 +# against it.
22069 +hardcode_automatic=$hardcode_automatic
22070 +
22071 +# Set to yes if linker adds runtime paths of dependent libraries
22072 +# to runtime path list.
22073 +inherit_rpath=$inherit_rpath
22074 +
22075 +# Whether libtool must link a program against all its dependency libraries.
22076 +link_all_deplibs=$link_all_deplibs
22077 +
22078 +# Fix the shell variable \$srcfile for the compiler.
22079 +fix_srcfile_path=$lt_fix_srcfile_path
22080 +
22081 +# Set to "yes" if exported symbols are required.
22082 +always_export_symbols=$always_export_symbols
22083 +
22084 +# The commands to list exported symbols.
22085 +export_symbols_cmds=$lt_export_symbols_cmds
22086 +
22087 +# Symbols that should not be listed in the preloaded symbols.
22088 +exclude_expsyms=$lt_exclude_expsyms
22089 +
22090 +# Symbols that must always be exported.
22091 +include_expsyms=$lt_include_expsyms
22092 +
22093 +# Commands necessary for linking programs (against libraries) with templates.
22094 +prelink_cmds=$lt_prelink_cmds
22095 +
22096 +# Specify filename containing input files.
22097 +file_list_spec=$lt_file_list_spec
22098 +
22099 +# How to hardcode a shared library path into an executable.
22100 +hardcode_action=$hardcode_action
22101 +
22102 +# ### END LIBTOOL CONFIG
22103 +
22104 +_LT_EOF
22105 +
22106 + case $host_os in
22107 + aix3*)
22108 + cat <<\_LT_EOF >> "$cfgfile"
22109 +# AIX sometimes has problems with the GCC collect2 program. For some
22110 +# reason, if we set the COLLECT_NAMES environment variable, the problems
22111 +# vanish in a puff of smoke.
22112 +if test "X${COLLECT_NAMES+set}" != Xset; then
22113 + COLLECT_NAMES=
22114 + export COLLECT_NAMES
22115 +fi
22116 +_LT_EOF
22117 + ;;
22118 + esac
22119 +
22120 +
22121 +ltmain="$ac_aux_dir/ltmain.sh"
22122 +
22123 +
22124 + # We use sed instead of cat because bash on DJGPP gets confused if
22125 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
22126 + # text mode, it properly converts lines to CR/LF. This bash problem
22127 + # is reportedly fixed, but why not run on old versions too?
22128 + sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
22129 + || (rm -f "$cfgfile"; exit 1)
22130 +
22131 + case $xsi_shell in
22132 + yes)
22133 + cat << \_LT_EOF >> "$cfgfile"
22134 +
22135 +# func_dirname file append nondir_replacement
22136 +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
22137 +# otherwise set result to NONDIR_REPLACEMENT.
22138 +func_dirname ()
22139 +{
22140 + case ${1} in
22141 + */*) func_dirname_result="${1%/*}${2}" ;;
22142 + * ) func_dirname_result="${3}" ;;
22143 + esac
22144 +}
22145 +
22146 +# func_basename file
22147 +func_basename ()
22148 +{
22149 + func_basename_result="${1##*/}"
22150 +}
22151 +
22152 +# func_dirname_and_basename file append nondir_replacement
22153 +# perform func_basename and func_dirname in a single function
22154 +# call:
22155 +# dirname: Compute the dirname of FILE. If nonempty,
22156 +# add APPEND to the result, otherwise set result
22157 +# to NONDIR_REPLACEMENT.
22158 +# value returned in "$func_dirname_result"
22159 +# basename: Compute filename of FILE.
22160 +# value retuned in "$func_basename_result"
22161 +# Implementation must be kept synchronized with func_dirname
22162 +# and func_basename. For efficiency, we do not delegate to
22163 +# those functions but instead duplicate the functionality here.
22164 +func_dirname_and_basename ()
22165 +{
22166 + case ${1} in
22167 + */*) func_dirname_result="${1%/*}${2}" ;;
22168 + * ) func_dirname_result="${3}" ;;
22169 + esac
22170 + func_basename_result="${1##*/}"
22171 +}
22172 +
22173 +# func_stripname prefix suffix name
22174 +# strip PREFIX and SUFFIX off of NAME.
22175 +# PREFIX and SUFFIX must not contain globbing or regex special
22176 +# characters, hashes, percent signs, but SUFFIX may contain a leading
22177 +# dot (in which case that matches only a dot).
22178 +func_stripname ()
22179 +{
22180 + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
22181 + # positional parameters, so assign one to ordinary parameter first.
22182 + func_stripname_result=${3}
22183 + func_stripname_result=${func_stripname_result#"${1}"}
22184 + func_stripname_result=${func_stripname_result%"${2}"}
22185 +}
22186 +
22187 +# func_opt_split
22188 +func_opt_split ()
22189 +{
22190 + func_opt_split_opt=${1%%=*}
22191 + func_opt_split_arg=${1#*=}
22192 +}
22193 +
22194 +# func_lo2o object
22195 +func_lo2o ()
22196 +{
22197 + case ${1} in
22198 + *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
22199 + *) func_lo2o_result=${1} ;;
22200 + esac
22201 +}
22202 +
22203 +# func_xform libobj-or-source
22204 +func_xform ()
22205 +{
22206 + func_xform_result=${1%.*}.lo
22207 +}
22208 +
22209 +# func_arith arithmetic-term...
22210 +func_arith ()
22211 +{
22212 + func_arith_result=$(( $* ))
22213 +}
22214 +
22215 +# func_len string
22216 +# STRING may not start with a hyphen.
22217 +func_len ()
22218 +{
22219 + func_len_result=${#1}
22220 +}
22221 +
22222 +_LT_EOF
22223 + ;;
22224 + *) # Bourne compatible functions.
22225 + cat << \_LT_EOF >> "$cfgfile"
22226 +
22227 +# func_dirname file append nondir_replacement
22228 +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
22229 +# otherwise set result to NONDIR_REPLACEMENT.
22230 +func_dirname ()
22231 +{
22232 + # Extract subdirectory from the argument.
22233 + func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
22234 + if test "X$func_dirname_result" = "X${1}"; then
22235 + func_dirname_result="${3}"
22236 + else
22237 + func_dirname_result="$func_dirname_result${2}"
22238 + fi
22239 +}
22240 +
22241 +# func_basename file
22242 +func_basename ()
22243 +{
22244 + func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
22245 +}
22246 +
22247 +
22248 +# func_stripname prefix suffix name
22249 +# strip PREFIX and SUFFIX off of NAME.
22250 +# PREFIX and SUFFIX must not contain globbing or regex special
22251 +# characters, hashes, percent signs, but SUFFIX may contain a leading
22252 +# dot (in which case that matches only a dot).
22253 +# func_strip_suffix prefix name
22254 +func_stripname ()
22255 +{
22256 + case ${2} in
22257 + .*) func_stripname_result=`$ECHO "X${3}" \
22258 + | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
22259 + *) func_stripname_result=`$ECHO "X${3}" \
22260 + | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
22261 + esac
22262 +}
22263 +
22264 +# sed scripts:
22265 +my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
22266 +my_sed_long_arg='1s/^-[^=]*=//'
22267 +
22268 +# func_opt_split
22269 +func_opt_split ()
22270 +{
22271 + func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
22272 + func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
22273 +}
22274 +
22275 +# func_lo2o object
22276 +func_lo2o ()
22277 +{
22278 + func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
22279 +}
22280 +
22281 +# func_xform libobj-or-source
22282 +func_xform ()
22283 +{
22284 + func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
22285 +}
22286 +
22287 +# func_arith arithmetic-term...
22288 +func_arith ()
22289 +{
22290 + func_arith_result=`expr "$@"`
22291 +}
22292 +
22293 +# func_len string
22294 +# STRING may not start with a hyphen.
22295 +func_len ()
22296 +{
22297 + func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
22298 +}
22299 +
22300 +_LT_EOF
22301 +esac
22302 +
22303 +case $lt_shell_append in
22304 + yes)
22305 + cat << \_LT_EOF >> "$cfgfile"
22306 +
22307 +# func_append var value
22308 +# Append VALUE to the end of shell variable VAR.
22309 +func_append ()
22310 +{
22311 + eval "$1+=\$2"
22312 +}
22313 +_LT_EOF
22314 + ;;
22315 + *)
22316 + cat << \_LT_EOF >> "$cfgfile"
22317 +
22318 +# func_append var value
22319 +# Append VALUE to the end of shell variable VAR.
22320 +func_append ()
22321 +{
22322 + eval "$1=\$$1\$2"
22323 +}
22324 +
22325 +_LT_EOF
22326 + ;;
22327 + esac
22328 +
22329 +
22330 + sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
22331 + || (rm -f "$cfgfile"; exit 1)
22332 +
22333 + mv -f "$cfgfile" "$ofile" ||
22334 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22335 + chmod +x "$ofile"
22336 +
22337 + ;;
22338 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
22339 +# are listed without --file. Let's play safe and only enable the eval
22340 +# if we detect the quoting.
22341 +case $CONFIG_FILES in
22342 +*\'*) eval set x "$CONFIG_FILES" ;;
22343 +*) set x $CONFIG_FILES ;;
22344 +esac
22345 +shift
22346 +for mf
22347 +do
22348 + # Strip MF so we end up with the name of the file.
22349 + mf=`echo "$mf" | sed -e 's/:.*$//'`
22350 + # Check whether this is an Automake generated Makefile or not.
22351 + # We used to match only the files named `Makefile.in', but
22352 + # some people rename them; so instead we look at the file content.
22353 + # Grep'ing the first line is not enough: some people post-process
22354 + # each Makefile.in and add a new line on top of each file to say so.
22355 + # Grep'ing the whole file is not good either: AIX grep has a line
22356 + # limit of 2048, but all sed's we know have understand at least 4000.
22357 + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
22358 + dirpart=`$as_dirname -- "$mf" ||
22359 +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22360 + X"$mf" : 'X\(//\)[^/]' \| \
22361 + X"$mf" : 'X\(//\)$' \| \
22362 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22363 +$as_echo X"$mf" |
22364 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22365 + s//\1/
22366 + q
22367 + }
22368 + /^X\(\/\/\)[^/].*/{
22369 + s//\1/
22370 + q
22371 + }
22372 + /^X\(\/\/\)$/{
22373 + s//\1/
22374 + q
22375 + }
22376 + /^X\(\/\).*/{
22377 + s//\1/
22378 + q
22379 + }
22380 + s/.*/./; q'`
22381 + else
22382 + continue
22383 + fi
22384 + # Extract the definition of DEPDIR, am__include, and am__quote
22385 + # from the Makefile without running `make'.
22386 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
22387 + test -z "$DEPDIR" && continue
22388 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
22389 + test -z "am__include" && continue
22390 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
22391 + # When using ansi2knr, U may be empty or an underscore; expand it
22392 + U=`sed -n 's/^U = //p' < "$mf"`
22393 + # Find all dependency output files, they are included files with
22394 + # $(DEPDIR) in their names. We invoke sed twice because it is the
22395 + # simplest approach to changing $(DEPDIR) to its actual value in the
22396 + # expansion.
22397 + for file in `sed -n "
22398 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22399 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22400 + # Make sure the directory exists.
22401 + test -f "$dirpart/$file" && continue
22402 + fdir=`$as_dirname -- "$file" ||
22403 +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22404 + X"$file" : 'X\(//\)[^/]' \| \
22405 + X"$file" : 'X\(//\)$' \| \
22406 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22407 +$as_echo X"$file" |
22408 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22409 + s//\1/
22410 + q
22411 + }
22412 + /^X\(\/\/\)[^/].*/{
22413 + s//\1/
22414 + q
22415 + }
22416 + /^X\(\/\/\)$/{
22417 + s//\1/
22418 + q
22419 + }
22420 + /^X\(\/\).*/{
22421 + s//\1/
22422 + q
22423 + }
22424 + s/.*/./; q'`
22425 + { as_dir=$dirpart/$fdir
22426 + case $as_dir in #(
22427 + -*) as_dir=./$as_dir;;
22428 + esac
22429 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22430 + as_dirs=
22431 + while :; do
22432 + case $as_dir in #(
22433 + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22434 + *) as_qdir=$as_dir;;
22435 + esac
22436 + as_dirs="'$as_qdir' $as_dirs"
22437 + as_dir=`$as_dirname -- "$as_dir" ||
22438 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22439 + X"$as_dir" : 'X\(//\)[^/]' \| \
22440 + X"$as_dir" : 'X\(//\)$' \| \
22441 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22442 +$as_echo X"$as_dir" |
22443 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22444 + s//\1/
22445 + q
22446 + }
22447 + /^X\(\/\/\)[^/].*/{
22448 + s//\1/
22449 + q
22450 + }
22451 + /^X\(\/\/\)$/{
22452 + s//\1/
22453 + q
22454 + }
22455 + /^X\(\/\).*/{
22456 + s//\1/
22457 + q
22458 + }
22459 + s/.*/./; q'`
22460 + test -d "$as_dir" && break
22461 + done
22462 + test -z "$as_dirs" || eval "mkdir $as_dirs"
22463 + } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22464 +$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
22465 + { (exit 1); exit 1; }; }; }
22466 + # echo "creating $dirpart/$file"
22467 + echo '# dummy' > "$dirpart/$file"
22468 + done
22469 +done
22470 + ;;
22471 +
22472 + esac
22473 +done # for ac_tag
22474 +
22475 +
22476 +{ (exit 0); exit 0; }
22477 +_ACEOF
22478 +chmod +x $CONFIG_STATUS
22479 +ac_clean_files=$ac_clean_files_save
22480 +
22481 +test $ac_write_fail = 0 ||
22482 + { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
22483 +$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
22484 + { (exit 1); exit 1; }; }
22485 +
22486 +
22487 +# configure is writing to config.log, and then calls config.status.
22488 +# config.status does its own redirection, appending to config.log.
22489 +# Unfortunately, on DOS this fails, as config.log is still kept open
22490 +# by configure, so config.status won't be able to write to it; its
22491 +# output is simply discarded. So we exec the FD to /dev/null,
22492 +# effectively closing config.log, so it can be properly (re)opened and
22493 +# appended to by config.status. When coming back to configure, we
22494 +# need to make the FD available again.
22495 +if test "$no_create" != yes; then
22496 + ac_cs_success=:
22497 + ac_config_status_args=
22498 + test "$silent" = yes &&
22499 + ac_config_status_args="$ac_config_status_args --quiet"
22500 + exec 5>/dev/null
22501 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22502 + exec 5>>config.log
22503 + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22504 + # would make configure fail if this is the last instruction.
22505 + $ac_cs_success || { (exit 1); exit 1; }
22506 +fi
22507 +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22508 + { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22509 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22510 +fi
22511 +
22512 +
22513 +echo ""
22514 +echo "--- Now type \"gmake\" to build Uptimed ---"
22515 +echo "--- If gmake is not working, try \"make\" ---"
22516 +echo ""
22517 diff -pruN uptimed-0.3.13.orig/etc/Makefile.in uptimed-0.3.13/etc/Makefile.in
22518 --- uptimed-0.3.13.orig/etc/Makefile.in 1970-01-01 10:00:00.000000000 +1000
22519 +++ uptimed-0.3.13/etc/Makefile.in 2008-12-19 03:11:36.338924612 +1100
22520 @@ -0,0 +1,357 @@
22521 +# Makefile.in generated by automake 1.10.2 from Makefile.am.
22522 +# @configure_input@
22523 +
22524 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
22525 +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
22526 +# This Makefile.in is free software; the Free Software Foundation
22527 +# gives unlimited permission to copy and/or distribute it,
22528 +# with or without modifications, as long as this notice is preserved.
22529 +
22530 +# This program is distributed in the hope that it will be useful,
22531 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
22532 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
22533 +# PARTICULAR PURPOSE.
22534 +
22535 +@SET_MAKE@
22536 +
22537 +VPATH = @srcdir@
22538 +pkgdatadir = $(datadir)/@PACKAGE@
22539 +pkglibdir = $(libdir)/@PACKAGE@
22540 +pkgincludedir = $(includedir)/@PACKAGE@
22541 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
22542 +install_sh_DATA = $(install_sh) -c -m 644
22543 +install_sh_PROGRAM = $(install_sh) -c
22544 +install_sh_SCRIPT = $(install_sh) -c
22545 +INSTALL_HEADER = $(INSTALL_DATA)
22546 +transform = $(program_transform_name)
22547 +NORMAL_INSTALL = :
22548 +PRE_INSTALL = :
22549 +POST_INSTALL = :
22550 +NORMAL_UNINSTALL = :
22551 +PRE_UNINSTALL = :
22552 +POST_UNINSTALL = :
22553 +build_triplet = @build@
22554 +host_triplet = @host@
22555 +subdir = etc
22556 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
22557 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
22558 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac
22559 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
22560 + $(ACLOCAL_M4)
22561 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
22562 +CONFIG_HEADER = $(top_builddir)/config.h
22563 +CONFIG_CLEAN_FILES =
22564 +SOURCES =
22565 +DIST_SOURCES =
22566 +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
22567 +am__vpath_adj = case $$p in \
22568 + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
22569 + *) f=$$p;; \
22570 + esac;
22571 +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
22572 +am__installdirs = "$(DESTDIR)$(sysconfdir)"
22573 +sysconfDATA_INSTALL = $(INSTALL_DATA)
22574 +DATA = $(sysconf_DATA)
22575 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
22576 +ACLOCAL = @ACLOCAL@
22577 +AMTAR = @AMTAR@
22578 +AR = @AR@
22579 +AUTOCONF = @AUTOCONF@
22580 +AUTOHEADER = @AUTOHEADER@
22581 +AUTOMAKE = @AUTOMAKE@
22582 +AWK = @AWK@
22583 +CC = @CC@
22584 +CCDEPMODE = @CCDEPMODE@
22585 +CFLAGS = @CFLAGS@
22586 +CPP = @CPP@
22587 +CPPFLAGS = @CPPFLAGS@
22588 +CYGPATH_W = @CYGPATH_W@
22589 +DEFS = @DEFS@
22590 +DEPDIR = @DEPDIR@
22591 +DSYMUTIL = @DSYMUTIL@
22592 +DUMPBIN = @DUMPBIN@
22593 +ECHO_C = @ECHO_C@
22594 +ECHO_N = @ECHO_N@
22595 +ECHO_T = @ECHO_T@
22596 +EGREP = @EGREP@
22597 +EXEEXT = @EXEEXT@
22598 +FGREP = @FGREP@
22599 +GREP = @GREP@
22600 +INSTALL = @INSTALL@
22601 +INSTALL_DATA = @INSTALL_DATA@
22602 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
22603 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
22604 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
22605 +LD = @LD@
22606 +LDFLAGS = @LDFLAGS@
22607 +LIBOBJS = @LIBOBJS@
22608 +LIBS = @LIBS@
22609 +LIBTOOL = @LIBTOOL@
22610 +LIPO = @LIPO@
22611 +LN_S = @LN_S@
22612 +LTLIBOBJS = @LTLIBOBJS@
22613 +MAKEINFO = @MAKEINFO@
22614 +MKDIR_P = @MKDIR_P@
22615 +NM = @NM@
22616 +NMEDIT = @NMEDIT@
22617 +OBJDUMP = @OBJDUMP@
22618 +OBJEXT = @OBJEXT@
22619 +OTOOL = @OTOOL@
22620 +OTOOL64 = @OTOOL64@
22621 +PACKAGE = @PACKAGE@
22622 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
22623 +PACKAGE_NAME = @PACKAGE_NAME@
22624 +PACKAGE_STRING = @PACKAGE_STRING@
22625 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
22626 +PACKAGE_VERSION = @PACKAGE_VERSION@
22627 +PATH_SEPARATOR = @PATH_SEPARATOR@
22628 +RANLIB = @RANLIB@
22629 +SED = @SED@
22630 +SET_MAKE = @SET_MAKE@
22631 +SHELL = @SHELL@
22632 +STRIP = @STRIP@
22633 +VERSION = @VERSION@
22634 +abs_builddir = @abs_builddir@
22635 +abs_srcdir = @abs_srcdir@
22636 +abs_top_builddir = @abs_top_builddir@
22637 +abs_top_srcdir = @abs_top_srcdir@
22638 +ac_ct_CC = @ac_ct_CC@
22639 +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
22640 +am__include = @am__include@
22641 +am__leading_dot = @am__leading_dot@
22642 +am__quote = @am__quote@
22643 +am__tar = @am__tar@
22644 +am__untar = @am__untar@
22645 +bindir = @bindir@
22646 +build = @build@
22647 +build_alias = @build_alias@
22648 +build_cpu = @build_cpu@
22649 +build_os = @build_os@
22650 +build_vendor = @build_vendor@
22651 +builddir = @builddir@
22652 +datadir = @datadir@
22653 +datarootdir = @datarootdir@
22654 +docdir = @docdir@
22655 +dvidir = @dvidir@
22656 +exec_prefix = @exec_prefix@
22657 +host = @host@
22658 +host_alias = @host_alias@
22659 +host_cpu = @host_cpu@
22660 +host_os = @host_os@
22661 +host_vendor = @host_vendor@
22662 +htmldir = @htmldir@
22663 +includedir = @includedir@
22664 +infodir = @infodir@
22665 +install_sh = @install_sh@
22666 +libdir = @libdir@
22667 +libexecdir = @libexecdir@
22668 +localedir = @localedir@
22669 +localstatedir = @localstatedir@
22670 +lt_ECHO = @lt_ECHO@
22671 +mandir = @mandir@
22672 +mkdir_p = @mkdir_p@
22673 +oldincludedir = @oldincludedir@
22674 +pdfdir = @pdfdir@
22675 +prefix = @prefix@
22676 +program_transform_name = @program_transform_name@
22677 +psdir = @psdir@
22678 +sbindir = @sbindir@
22679 +sharedstatedir = @sharedstatedir@
22680 +srcdir = @srcdir@
22681 +sysconfdir = @sysconfdir@
22682 +target_alias = @target_alias@
22683 +top_build_prefix = @top_build_prefix@
22684 +top_builddir = @top_builddir@
22685 +top_srcdir = @top_srcdir@
22686 +sysconf_DATA = uptimed.conf-dist
22687 +EXTRA_DIST = uptimed.conf-dist rc.uptimed
22688 +all: all-am
22689 +
22690 +.SUFFIXES:
22691 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
22692 + @for dep in $?; do \
22693 + case '$(am__configure_deps)' in \
22694 + *$$dep*) \
22695 + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
22696 + && { if test -f $@; then exit 0; else break; fi; }; \
22697 + exit 1;; \
22698 + esac; \
22699 + done; \
22700 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu etc/Makefile'; \
22701 + cd $(top_srcdir) && \
22702 + $(AUTOMAKE) --gnu etc/Makefile
22703 +.PRECIOUS: Makefile
22704 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
22705 + @case '$?' in \
22706 + *config.status*) \
22707 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
22708 + *) \
22709 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
22710 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
22711 + esac;
22712 +
22713 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
22714 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
22715 +
22716 +$(top_srcdir)/configure: $(am__configure_deps)
22717 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
22718 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
22719 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
22720 +
22721 +mostlyclean-libtool:
22722 + -rm -f *.lo
22723 +
22724 +clean-libtool:
22725 + -rm -rf .libs _libs
22726 +install-sysconfDATA: $(sysconf_DATA)
22727 + @$(NORMAL_INSTALL)
22728 + test -z "$(sysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(sysconfdir)"
22729 + @list='$(sysconf_DATA)'; for p in $$list; do \
22730 + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
22731 + f=$(am__strip_dir) \
22732 + echo " $(sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \
22733 + $(sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \
22734 + done
22735 +
22736 +uninstall-sysconfDATA:
22737 + @$(NORMAL_UNINSTALL)
22738 + @list='$(sysconf_DATA)'; for p in $$list; do \
22739 + f=$(am__strip_dir) \
22740 + echo " rm -f '$(DESTDIR)$(sysconfdir)/$$f'"; \
22741 + rm -f "$(DESTDIR)$(sysconfdir)/$$f"; \
22742 + done
22743 +tags: TAGS
22744 +TAGS:
22745 +
22746 +ctags: CTAGS
22747 +CTAGS:
22748 +
22749 +
22750 +distdir: $(DISTFILES)
22751 + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
22752 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
22753 + list='$(DISTFILES)'; \
22754 + dist_files=`for file in $$list; do echo $$file; done | \
22755 + sed -e "s|^$$srcdirstrip/||;t" \
22756 + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
22757 + case $$dist_files in \
22758 + */*) $(MKDIR_P) `echo "$$dist_files" | \
22759 + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
22760 + sort -u` ;; \
22761 + esac; \
22762 + for file in $$dist_files; do \
22763 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
22764 + if test -d $$d/$$file; then \
22765 + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
22766 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
22767 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
22768 + fi; \
22769 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
22770 + else \
22771 + test -f $(distdir)/$$file \
22772 + || cp -p $$d/$$file $(distdir)/$$file \
22773 + || exit 1; \
22774 + fi; \
22775 + done
22776 +check-am: all-am
22777 +check: check-am
22778 +all-am: Makefile $(DATA)
22779 +installdirs:
22780 + for dir in "$(DESTDIR)$(sysconfdir)"; do \
22781 + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
22782 + done
22783 +install: install-am
22784 +install-exec: install-exec-am
22785 +install-data: install-data-am
22786 +uninstall: uninstall-am
22787 +
22788 +install-am: all-am
22789 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
22790 +
22791 +installcheck: installcheck-am
22792 +install-strip:
22793 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
22794 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
22795 + `test -z '$(STRIP)' || \
22796 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
22797 +mostlyclean-generic:
22798 +
22799 +clean-generic:
22800 +
22801 +distclean-generic:
22802 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
22803 +
22804 +maintainer-clean-generic:
22805 + @echo "This command is intended for maintainers to use"
22806 + @echo "it deletes files that may require special tools to rebuild."
22807 +clean: clean-am
22808 +
22809 +clean-am: clean-generic clean-libtool mostlyclean-am
22810 +
22811 +distclean: distclean-am
22812 + -rm -f Makefile
22813 +distclean-am: clean-am distclean-generic
22814 +
22815 +dvi: dvi-am
22816 +
22817 +dvi-am:
22818 +
22819 +html: html-am
22820 +
22821 +info: info-am
22822 +
22823 +info-am:
22824 +
22825 +install-data-am:
22826 +
22827 +install-dvi: install-dvi-am
22828 +
22829 +install-exec-am: install-sysconfDATA
22830 +
22831 +install-html: install-html-am
22832 +
22833 +install-info: install-info-am
22834 +
22835 +install-man:
22836 +
22837 +install-pdf: install-pdf-am
22838 +
22839 +install-ps: install-ps-am
22840 +
22841 +installcheck-am:
22842 +
22843 +maintainer-clean: maintainer-clean-am
22844 + -rm -f Makefile
22845 +maintainer-clean-am: distclean-am maintainer-clean-generic
22846 +
22847 +mostlyclean: mostlyclean-am
22848 +
22849 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
22850 +
22851 +pdf: pdf-am
22852 +
22853 +pdf-am:
22854 +
22855 +ps: ps-am
22856 +
22857 +ps-am:
22858 +
22859 +uninstall-am: uninstall-sysconfDATA
22860 +
22861 +.MAKE: install-am install-strip
22862 +
22863 +.PHONY: all all-am check check-am clean clean-generic clean-libtool \
22864 + distclean distclean-generic distclean-libtool distdir dvi \
22865 + dvi-am html html-am info info-am install install-am \
22866 + install-data install-data-am install-dvi install-dvi-am \
22867 + install-exec install-exec-am install-html install-html-am \
22868 + install-info install-info-am install-man install-pdf \
22869 + install-pdf-am install-ps install-ps-am install-strip \
22870 + install-sysconfDATA installcheck installcheck-am installdirs \
22871 + maintainer-clean maintainer-clean-generic mostlyclean \
22872 + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
22873 + uninstall uninstall-am uninstall-sysconfDATA
22874 +
22875 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
22876 +# Otherwise a system limit (for SysV at least) may be exceeded.
22877 +.NOEXPORT:
22878 diff -pruN uptimed-0.3.13.orig/etc/uptimed.conf-dist uptimed-0.3.13/etc/uptimed.conf-dist
22879 --- uptimed-0.3.13.orig/etc/uptimed.conf-dist 2008-12-19 03:07:05.159800149 +1100
22880 +++ uptimed-0.3.13/etc/uptimed.conf-dist 2008-12-19 03:10:36.255550656 +1100
22881 @@ -25,10 +25,10 @@ EMAIL=root@localhost
22882 SEND_EMAIL=0
22883
22884 # We need a sendmail compatible mailer, though.
22885 -SENDMAIL=/usr/lib/sendmail -t
22886 +SENDMAIL=/usr/sbin/sendmail -t
22887
22888 # Where to note our PID
22889 -PIDFILE=/var/run/uptimed
22890 +PIDFILE=/var/run/uptimed.pid
22891
22892 # Milestones are configurable now.
22893 # Syntax is pretty easy: MILESTONE=time:description
22894 diff -pruN uptimed-0.3.13.orig/libuptimed/Makefile.in uptimed-0.3.13/libuptimed/Makefile.in
22895 --- uptimed-0.3.13.orig/libuptimed/Makefile.in 1970-01-01 10:00:00.000000000 +1000
22896 +++ uptimed-0.3.13/libuptimed/Makefile.in 2008-12-19 03:11:36.410928140 +1100
22897 @@ -0,0 +1,474 @@
22898 +# Makefile.in generated by automake 1.10.2 from Makefile.am.
22899 +# @configure_input@
22900 +
22901 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
22902 +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
22903 +# This Makefile.in is free software; the Free Software Foundation
22904 +# gives unlimited permission to copy and/or distribute it,
22905 +# with or without modifications, as long as this notice is preserved.
22906 +
22907 +# This program is distributed in the hope that it will be useful,
22908 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
22909 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
22910 +# PARTICULAR PURPOSE.
22911 +
22912 +@SET_MAKE@
22913 +
22914 +
22915 +VPATH = @srcdir@
22916 +pkgdatadir = $(datadir)/@PACKAGE@
22917 +pkglibdir = $(libdir)/@PACKAGE@
22918 +pkgincludedir = $(includedir)/@PACKAGE@
22919 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
22920 +install_sh_DATA = $(install_sh) -c -m 644
22921 +install_sh_PROGRAM = $(install_sh) -c
22922 +install_sh_SCRIPT = $(install_sh) -c
22923 +INSTALL_HEADER = $(INSTALL_DATA)
22924 +transform = $(program_transform_name)
22925 +NORMAL_INSTALL = :
22926 +PRE_INSTALL = :
22927 +POST_INSTALL = :
22928 +NORMAL_UNINSTALL = :
22929 +PRE_UNINSTALL = :
22930 +POST_UNINSTALL = :
22931 +build_triplet = @build@
22932 +host_triplet = @host@
22933 +subdir = libuptimed
22934 +DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
22935 + $(srcdir)/Makefile.in
22936 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
22937 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac
22938 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
22939 + $(ACLOCAL_M4)
22940 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
22941 +CONFIG_HEADER = $(top_builddir)/config.h
22942 +CONFIG_CLEAN_FILES =
22943 +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
22944 +am__vpath_adj = case $$p in \
22945 + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
22946 + *) f=$$p;; \
22947 + esac;
22948 +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
22949 +am__installdirs = "$(DESTDIR)$(libdir)"
22950 +libLTLIBRARIES_INSTALL = $(INSTALL)
22951 +LTLIBRARIES = $(lib_LTLIBRARIES)
22952 +libuptimed_la_LIBADD =
22953 +am_libuptimed_la_OBJECTS = misc.lo milestone.lo urec.lo
22954 +libuptimed_la_OBJECTS = $(am_libuptimed_la_OBJECTS)
22955 +libuptimed_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
22956 + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
22957 + $(libuptimed_la_LDFLAGS) $(LDFLAGS) -o $@
22958 +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
22959 +depcomp = $(SHELL) $(top_srcdir)/depcomp
22960 +am__depfiles_maybe = depfiles
22961 +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
22962 + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
22963 +LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
22964 + --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
22965 + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
22966 +CCLD = $(CC)
22967 +LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
22968 + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
22969 + $(LDFLAGS) -o $@
22970 +SOURCES = $(libuptimed_la_SOURCES)
22971 +DIST_SOURCES = $(libuptimed_la_SOURCES)
22972 +HEADERS = $(noinst_HEADERS)
22973 +ETAGS = etags
22974 +CTAGS = ctags
22975 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
22976 +ACLOCAL = @ACLOCAL@
22977 +AMTAR = @AMTAR@
22978 +AR = @AR@
22979 +AUTOCONF = @AUTOCONF@
22980 +AUTOHEADER = @AUTOHEADER@
22981 +AUTOMAKE = @AUTOMAKE@
22982 +AWK = @AWK@
22983 +CC = @CC@
22984 +CCDEPMODE = @CCDEPMODE@
22985 +CFLAGS = @CFLAGS@
22986 +CPP = @CPP@
22987 +CPPFLAGS = @CPPFLAGS@
22988 +CYGPATH_W = @CYGPATH_W@
22989 +DEFS = @DEFS@
22990 +DEPDIR = @DEPDIR@
22991 +DSYMUTIL = @DSYMUTIL@
22992 +DUMPBIN = @DUMPBIN@
22993 +ECHO_C = @ECHO_C@
22994 +ECHO_N = @ECHO_N@
22995 +ECHO_T = @ECHO_T@
22996 +EGREP = @EGREP@
22997 +EXEEXT = @EXEEXT@
22998 +FGREP = @FGREP@
22999 +GREP = @GREP@
23000 +INSTALL = @INSTALL@
23001 +INSTALL_DATA = @INSTALL_DATA@
23002 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
23003 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
23004 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
23005 +LD = @LD@
23006 +LDFLAGS = @LDFLAGS@
23007 +LIBOBJS = @LIBOBJS@
23008 +LIBS = @LIBS@
23009 +LIBTOOL = @LIBTOOL@
23010 +LIPO = @LIPO@
23011 +LN_S = @LN_S@
23012 +LTLIBOBJS = @LTLIBOBJS@
23013 +MAKEINFO = @MAKEINFO@
23014 +MKDIR_P = @MKDIR_P@
23015 +NM = @NM@
23016 +NMEDIT = @NMEDIT@
23017 +OBJDUMP = @OBJDUMP@
23018 +OBJEXT = @OBJEXT@
23019 +OTOOL = @OTOOL@
23020 +OTOOL64 = @OTOOL64@
23021 +PACKAGE = @PACKAGE@
23022 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
23023 +PACKAGE_NAME = @PACKAGE_NAME@
23024 +PACKAGE_STRING = @PACKAGE_STRING@
23025 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
23026 +PACKAGE_VERSION = @PACKAGE_VERSION@
23027 +PATH_SEPARATOR = @PATH_SEPARATOR@
23028 +RANLIB = @RANLIB@
23029 +SED = @SED@
23030 +SET_MAKE = @SET_MAKE@
23031 +SHELL = @SHELL@
23032 +STRIP = @STRIP@
23033 +VERSION = @VERSION@
23034 +abs_builddir = @abs_builddir@
23035 +abs_srcdir = @abs_srcdir@
23036 +abs_top_builddir = @abs_top_builddir@
23037 +abs_top_srcdir = @abs_top_srcdir@
23038 +ac_ct_CC = @ac_ct_CC@
23039 +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
23040 +am__include = @am__include@
23041 +am__leading_dot = @am__leading_dot@
23042 +am__quote = @am__quote@
23043 +am__tar = @am__tar@
23044 +am__untar = @am__untar@
23045 +bindir = @bindir@
23046 +build = @build@
23047 +build_alias = @build_alias@
23048 +build_cpu = @build_cpu@
23049 +build_os = @build_os@
23050 +build_vendor = @build_vendor@
23051 +builddir = @builddir@
23052 +datadir = @datadir@
23053 +datarootdir = @datarootdir@
23054 +docdir = @docdir@
23055 +dvidir = @dvidir@
23056 +exec_prefix = @exec_prefix@
23057 +host = @host@
23058 +host_alias = @host_alias@
23059 +host_cpu = @host_cpu@
23060 +host_os = @host_os@
23061 +host_vendor = @host_vendor@
23062 +htmldir = @htmldir@
23063 +includedir = @includedir@
23064 +infodir = @infodir@
23065 +install_sh = @install_sh@
23066 +libdir = @libdir@
23067 +libexecdir = @libexecdir@
23068 +localedir = @localedir@
23069 +localstatedir = @localstatedir@
23070 +lt_ECHO = @lt_ECHO@
23071 +mandir = @mandir@
23072 +mkdir_p = @mkdir_p@
23073 +oldincludedir = @oldincludedir@
23074 +pdfdir = @pdfdir@
23075 +prefix = @prefix@
23076 +program_transform_name = @program_transform_name@
23077 +psdir = @psdir@
23078 +sbindir = @sbindir@
23079 +sharedstatedir = @sharedstatedir@
23080 +srcdir = @srcdir@
23081 +sysconfdir = @sysconfdir@
23082 +target_alias = @target_alias@
23083 +top_build_prefix = @top_build_prefix@
23084 +top_builddir = @top_builddir@
23085 +top_srcdir = @top_srcdir@
23086 +lib_LTLIBRARIES = libuptimed.la
23087 +libuptimed_la_SOURCES = misc.c milestone.c urec.c
23088 +libuptimed_la_LDFLAGS = -version-info 0:0:0
23089 +noinst_HEADERS = milestone.h misc.h urec.h
23090 +all: all-am
23091 +
23092 +.SUFFIXES:
23093 +.SUFFIXES: .c .lo .o .obj
23094 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
23095 + @for dep in $?; do \
23096 + case '$(am__configure_deps)' in \
23097 + *$$dep*) \
23098 + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
23099 + && { if test -f $@; then exit 0; else break; fi; }; \
23100 + exit 1;; \
23101 + esac; \
23102 + done; \
23103 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libuptimed/Makefile'; \
23104 + cd $(top_srcdir) && \
23105 + $(AUTOMAKE) --gnu libuptimed/Makefile
23106 +.PRECIOUS: Makefile
23107 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
23108 + @case '$?' in \
23109 + *config.status*) \
23110 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
23111 + *) \
23112 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
23113 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
23114 + esac;
23115 +
23116 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
23117 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
23118 +
23119 +$(top_srcdir)/configure: $(am__configure_deps)
23120 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
23121 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
23122 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
23123 +install-libLTLIBRARIES: $(lib_LTLIBRARIES)
23124 + @$(NORMAL_INSTALL)
23125 + test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
23126 + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
23127 + if test -f $$p; then \
23128 + f=$(am__strip_dir) \
23129 + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
23130 + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
23131 + else :; fi; \
23132 + done
23133 +
23134 +uninstall-libLTLIBRARIES:
23135 + @$(NORMAL_UNINSTALL)
23136 + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
23137 + p=$(am__strip_dir) \
23138 + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
23139 + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
23140 + done
23141 +
23142 +clean-libLTLIBRARIES:
23143 + -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
23144 + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
23145 + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
23146 + test "$$dir" != "$$p" || dir=.; \
23147 + echo "rm -f \"$${dir}/so_locations\""; \
23148 + rm -f "$${dir}/so_locations"; \
23149 + done
23150 +libuptimed.la: $(libuptimed_la_OBJECTS) $(libuptimed_la_DEPENDENCIES)
23151 + $(libuptimed_la_LINK) -rpath $(libdir) $(libuptimed_la_OBJECTS) $(libuptimed_la_LIBADD) $(LIBS)
23152 +
23153 +mostlyclean-compile:
23154 + -rm -f *.$(OBJEXT)
23155 +
23156 +distclean-compile:
23157 + -rm -f *.tab.c
23158 +
23159 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/milestone.Plo@am__quote@
23160 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Plo@am__quote@
23161 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/urec.Plo@am__quote@
23162 +
23163 +.c.o:
23164 +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
23165 +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
23166 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
23167 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
23168 +@am__fastdepCC_FALSE@ $(COMPILE) -c $<
23169 +
23170 +.c.obj:
23171 +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
23172 +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
23173 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
23174 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
23175 +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
23176 +
23177 +.c.lo:
23178 +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
23179 +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
23180 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
23181 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
23182 +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
23183 +
23184 +mostlyclean-libtool:
23185 + -rm -f *.lo
23186 +
23187 +clean-libtool:
23188 + -rm -rf .libs _libs
23189 +
23190 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
23191 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
23192 + unique=`for i in $$list; do \
23193 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
23194 + done | \
23195 + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
23196 + END { if (nonempty) { for (i in files) print i; }; }'`; \
23197 + mkid -fID $$unique
23198 +tags: TAGS
23199 +
23200 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
23201 + $(TAGS_FILES) $(LISP)
23202 + tags=; \
23203 + here=`pwd`; \
23204 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
23205 + unique=`for i in $$list; do \
23206 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
23207 + done | \
23208 + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
23209 + END { if (nonempty) { for (i in files) print i; }; }'`; \
23210 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
23211 + test -n "$$unique" || unique=$$empty_fix; \
23212 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
23213 + $$tags $$unique; \
23214 + fi
23215 +ctags: CTAGS
23216 +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
23217 + $(TAGS_FILES) $(LISP)
23218 + tags=; \
23219 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
23220 + unique=`for i in $$list; do \
23221 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
23222 + done | \
23223 + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
23224 + END { if (nonempty) { for (i in files) print i; }; }'`; \
23225 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
23226 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
23227 + $$tags $$unique
23228 +
23229 +GTAGS:
23230 + here=`$(am__cd) $(top_builddir) && pwd` \
23231 + && cd $(top_srcdir) \
23232 + && gtags -i $(GTAGS_ARGS) $$here
23233 +
23234 +distclean-tags:
23235 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
23236 +
23237 +distdir: $(DISTFILES)
23238 + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
23239 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
23240 + list='$(DISTFILES)'; \
23241 + dist_files=`for file in $$list; do echo $$file; done | \
23242 + sed -e "s|^$$srcdirstrip/||;t" \
23243 + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
23244 + case $$dist_files in \
23245 + */*) $(MKDIR_P) `echo "$$dist_files" | \
23246 + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
23247 + sort -u` ;; \
23248 + esac; \
23249 + for file in $$dist_files; do \
23250 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
23251 + if test -d $$d/$$file; then \
23252 + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
23253 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
23254 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
23255 + fi; \
23256 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
23257 + else \
23258 + test -f $(distdir)/$$file \
23259 + || cp -p $$d/$$file $(distdir)/$$file \
23260 + || exit 1; \
23261 + fi; \
23262 + done
23263 +check-am: all-am
23264 +check: check-am
23265 +all-am: Makefile $(LTLIBRARIES) $(HEADERS)
23266 +installdirs:
23267 + for dir in "$(DESTDIR)$(libdir)"; do \
23268 + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
23269 + done
23270 +install: install-am
23271 +install-exec: install-exec-am
23272 +install-data: install-data-am
23273 +uninstall: uninstall-am
23274 +
23275 +install-am: all-am
23276 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
23277 +
23278 +installcheck: installcheck-am
23279 +install-strip:
23280 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
23281 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
23282 + `test -z '$(STRIP)' || \
23283 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
23284 +mostlyclean-generic:
23285 +
23286 +clean-generic:
23287 +
23288 +distclean-generic:
23289 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
23290 +
23291 +maintainer-clean-generic:
23292 + @echo "This command is intended for maintainers to use"
23293 + @echo "it deletes files that may require special tools to rebuild."
23294 +clean: clean-am
23295 +
23296 +clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
23297 + mostlyclean-am
23298 +
23299 +distclean: distclean-am
23300 + -rm -rf ./$(DEPDIR)
23301 + -rm -f Makefile
23302 +distclean-am: clean-am distclean-compile distclean-generic \
23303 + distclean-tags
23304 +
23305 +dvi: dvi-am
23306 +
23307 +dvi-am:
23308 +
23309 +html: html-am
23310 +
23311 +info: info-am
23312 +
23313 +info-am:
23314 +
23315 +install-data-am:
23316 +
23317 +install-dvi: install-dvi-am
23318 +
23319 +install-exec-am: install-libLTLIBRARIES
23320 +
23321 +install-html: install-html-am
23322 +
23323 +install-info: install-info-am
23324 +
23325 +install-man:
23326 +
23327 +install-pdf: install-pdf-am
23328 +
23329 +install-ps: install-ps-am
23330 +
23331 +installcheck-am:
23332 +
23333 +maintainer-clean: maintainer-clean-am
23334 + -rm -rf ./$(DEPDIR)
23335 + -rm -f Makefile
23336 +maintainer-clean-am: distclean-am maintainer-clean-generic
23337 +
23338 +mostlyclean: mostlyclean-am
23339 +
23340 +mostlyclean-am: mostlyclean-compile mostlyclean-generic \
23341 + mostlyclean-libtool
23342 +
23343 +pdf: pdf-am
23344 +
23345 +pdf-am:
23346 +
23347 +ps: ps-am
23348 +
23349 +ps-am:
23350 +
23351 +uninstall-am: uninstall-libLTLIBRARIES
23352 +
23353 +.MAKE: install-am install-strip
23354 +
23355 +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
23356 + clean-libLTLIBRARIES clean-libtool ctags distclean \
23357 + distclean-compile distclean-generic distclean-libtool \
23358 + distclean-tags distdir dvi dvi-am html html-am info info-am \
23359 + install install-am install-data install-data-am install-dvi \
23360 + install-dvi-am install-exec install-exec-am install-html \
23361 + install-html-am install-info install-info-am \
23362 + install-libLTLIBRARIES install-man install-pdf install-pdf-am \
23363 + install-ps install-ps-am install-strip installcheck \
23364 + installcheck-am installdirs maintainer-clean \
23365 + maintainer-clean-generic mostlyclean mostlyclean-compile \
23366 + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
23367 + tags uninstall uninstall-am uninstall-libLTLIBRARIES
23368 +
23369 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
23370 +# Otherwise a system limit (for SysV at least) may be exceeded.
23371 +.NOEXPORT:
23372 diff -pruN uptimed-0.3.13.orig/Makefile.in uptimed-0.3.13/Makefile.in
23373 --- uptimed-0.3.13.orig/Makefile.in 1970-01-01 10:00:00.000000000 +1000
23374 +++ uptimed-0.3.13/Makefile.in 2008-12-19 03:11:36.603924409 +1100
23375 @@ -0,0 +1,653 @@
23376 +# Makefile.in generated by automake 1.10.2 from Makefile.am.
23377 +# @configure_input@
23378 +
23379 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
23380 +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
23381 +# This Makefile.in is free software; the Free Software Foundation
23382 +# gives unlimited permission to copy and/or distribute it,
23383 +# with or without modifications, as long as this notice is preserved.
23384 +
23385 +# This program is distributed in the hope that it will be useful,
23386 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
23387 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
23388 +# PARTICULAR PURPOSE.
23389 +
23390 +@SET_MAKE@
23391 +
23392 +# Makefile.am for uptimed
23393 +VPATH = @srcdir@
23394 +pkgdatadir = $(datadir)/@PACKAGE@
23395 +pkglibdir = $(libdir)/@PACKAGE@
23396 +pkgincludedir = $(includedir)/@PACKAGE@
23397 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
23398 +install_sh_DATA = $(install_sh) -c -m 644
23399 +install_sh_PROGRAM = $(install_sh) -c
23400 +install_sh_SCRIPT = $(install_sh) -c
23401 +INSTALL_HEADER = $(INSTALL_DATA)
23402 +transform = $(program_transform_name)
23403 +NORMAL_INSTALL = :
23404 +PRE_INSTALL = :
23405 +POST_INSTALL = :
23406 +NORMAL_UNINSTALL = :
23407 +PRE_UNINSTALL = :
23408 +POST_UNINSTALL = :
23409 +build_triplet = @build@
23410 +host_triplet = @host@
23411 +subdir = .
23412 +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
23413 + $(srcdir)/Makefile.in $(srcdir)/config.h.in \
23414 + $(srcdir)/uptimed.spec.in $(top_srcdir)/configure AUTHORS \
23415 + COPYING ChangeLog INSTALL NEWS TODO config.guess config.sub \
23416 + depcomp install-sh ltmain.sh missing mkinstalldirs
23417 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
23418 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac
23419 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
23420 + $(ACLOCAL_M4)
23421 +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
23422 + configure.lineno config.status.lineno
23423 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
23424 +CONFIG_HEADER = config.h
23425 +CONFIG_CLEAN_FILES = uptimed.spec
23426 +SOURCES =
23427 +DIST_SOURCES =
23428 +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
23429 + html-recursive info-recursive install-data-recursive \
23430 + install-dvi-recursive install-exec-recursive \
23431 + install-html-recursive install-info-recursive \
23432 + install-pdf-recursive install-ps-recursive install-recursive \
23433 + installcheck-recursive installdirs-recursive pdf-recursive \
23434 + ps-recursive uninstall-recursive
23435 +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
23436 + distclean-recursive maintainer-clean-recursive
23437 +ETAGS = etags
23438 +CTAGS = ctags
23439 +DIST_SUBDIRS = $(SUBDIRS)
23440 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
23441 +distdir = $(PACKAGE)-$(VERSION)
23442 +top_distdir = $(distdir)
23443 +am__remove_distdir = \
23444 + { test ! -d $(distdir) \
23445 + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
23446 + && rm -fr $(distdir); }; }
23447 +DIST_ARCHIVES = $(distdir).tar.gz
23448 +GZIP_ENV = --best
23449 +distuninstallcheck_listfiles = find . -type f -print
23450 +distcleancheck_listfiles = find . -type f -print
23451 +ACLOCAL = @ACLOCAL@
23452 +AMTAR = @AMTAR@
23453 +AR = @AR@
23454 +AUTOCONF = @AUTOCONF@
23455 +AUTOHEADER = @AUTOHEADER@
23456 +AUTOMAKE = @AUTOMAKE@
23457 +AWK = @AWK@
23458 +CC = @CC@
23459 +CCDEPMODE = @CCDEPMODE@
23460 +CFLAGS = @CFLAGS@
23461 +CPP = @CPP@
23462 +CPPFLAGS = @CPPFLAGS@
23463 +CYGPATH_W = @CYGPATH_W@
23464 +DEFS = @DEFS@
23465 +DEPDIR = @DEPDIR@
23466 +DSYMUTIL = @DSYMUTIL@
23467 +DUMPBIN = @DUMPBIN@
23468 +ECHO_C = @ECHO_C@
23469 +ECHO_N = @ECHO_N@
23470 +ECHO_T = @ECHO_T@
23471 +EGREP = @EGREP@
23472 +EXEEXT = @EXEEXT@
23473 +FGREP = @FGREP@
23474 +GREP = @GREP@
23475 +INSTALL = @INSTALL@
23476 +INSTALL_DATA = @INSTALL_DATA@
23477 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
23478 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
23479 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
23480 +LD = @LD@
23481 +LDFLAGS = @LDFLAGS@
23482 +LIBOBJS = @LIBOBJS@
23483 +LIBS = @LIBS@
23484 +LIBTOOL = @LIBTOOL@
23485 +LIPO = @LIPO@
23486 +LN_S = @LN_S@
23487 +LTLIBOBJS = @LTLIBOBJS@
23488 +MAKEINFO = @MAKEINFO@
23489 +MKDIR_P = @MKDIR_P@
23490 +NM = @NM@
23491 +NMEDIT = @NMEDIT@
23492 +OBJDUMP = @OBJDUMP@
23493 +OBJEXT = @OBJEXT@
23494 +OTOOL = @OTOOL@
23495 +OTOOL64 = @OTOOL64@
23496 +PACKAGE = @PACKAGE@
23497 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
23498 +PACKAGE_NAME = @PACKAGE_NAME@
23499 +PACKAGE_STRING = @PACKAGE_STRING@
23500 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
23501 +PACKAGE_VERSION = @PACKAGE_VERSION@
23502 +PATH_SEPARATOR = @PATH_SEPARATOR@
23503 +RANLIB = @RANLIB@
23504 +SED = @SED@
23505 +SET_MAKE = @SET_MAKE@
23506 +SHELL = @SHELL@
23507 +STRIP = @STRIP@
23508 +VERSION = @VERSION@
23509 +abs_builddir = @abs_builddir@
23510 +abs_srcdir = @abs_srcdir@
23511 +abs_top_builddir = @abs_top_builddir@
23512 +abs_top_srcdir = @abs_top_srcdir@
23513 +ac_ct_CC = @ac_ct_CC@
23514 +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
23515 +am__include = @am__include@
23516 +am__leading_dot = @am__leading_dot@
23517 +am__quote = @am__quote@
23518 +am__tar = @am__tar@
23519 +am__untar = @am__untar@
23520 +bindir = @bindir@
23521 +build = @build@
23522 +build_alias = @build_alias@
23523 +build_cpu = @build_cpu@
23524 +build_os = @build_os@
23525 +build_vendor = @build_vendor@
23526 +builddir = @builddir@
23527 +datadir = @datadir@
23528 +datarootdir = @datarootdir@
23529 +docdir = @docdir@
23530 +dvidir = @dvidir@
23531 +exec_prefix = @exec_prefix@
23532 +host = @host@
23533 +host_alias = @host_alias@
23534 +host_cpu = @host_cpu@
23535 +host_os = @host_os@
23536 +host_vendor = @host_vendor@
23537 +htmldir = @htmldir@
23538 +includedir = @includedir@
23539 +infodir = @infodir@
23540 +install_sh = @install_sh@
23541 +libdir = @libdir@
23542 +libexecdir = @libexecdir@
23543 +localedir = @localedir@
23544 +localstatedir = @localstatedir@
23545 +lt_ECHO = @lt_ECHO@
23546 +mandir = @mandir@
23547 +mkdir_p = @mkdir_p@
23548 +oldincludedir = @oldincludedir@
23549 +pdfdir = @pdfdir@
23550 +prefix = @prefix@
23551 +program_transform_name = @program_transform_name@
23552 +psdir = @psdir@
23553 +sbindir = @sbindir@
23554 +sharedstatedir = @sharedstatedir@
23555 +srcdir = @srcdir@
23556 +sysconfdir = @sysconfdir@
23557 +target_alias = @target_alias@
23558 +top_build_prefix = @top_build_prefix@
23559 +top_builddir = @top_builddir@
23560 +top_srcdir = @top_srcdir@
23561 +SUBDIRS = libuptimed src man etc
23562 +EXTRA_DIST = CREDITS INSTALL.cgi INSTALL.upgrade README.unsupported \
23563 + sample-cgi/uprecords.conf sample-cgi/uprecords.header \
23564 + sample-cgi/uprecords.footer uptimed.spec depcomp
23565 +
23566 +AM_CFLAGS = @CFLAGS@ -DFILE_CONFIG=\"$(sysconfdir)/uptimed.conf\"
23567 +all: config.h
23568 + $(MAKE) $(AM_MAKEFLAGS) all-recursive
23569 +
23570 +.SUFFIXES:
23571 +am--refresh:
23572 + @:
23573 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
23574 + @for dep in $?; do \
23575 + case '$(am__configure_deps)' in \
23576 + *$$dep*) \
23577 + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
23578 + cd $(srcdir) && $(AUTOMAKE) --gnu \
23579 + && exit 0; \
23580 + exit 1;; \
23581 + esac; \
23582 + done; \
23583 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
23584 + cd $(top_srcdir) && \
23585 + $(AUTOMAKE) --gnu Makefile
23586 +.PRECIOUS: Makefile
23587 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
23588 + @case '$?' in \
23589 + *config.status*) \
23590 + echo ' $(SHELL) ./config.status'; \
23591 + $(SHELL) ./config.status;; \
23592 + *) \
23593 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
23594 + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
23595 + esac;
23596 +
23597 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
23598 + $(SHELL) ./config.status --recheck
23599 +
23600 +$(top_srcdir)/configure: $(am__configure_deps)
23601 + cd $(srcdir) && $(AUTOCONF)
23602 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
23603 + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
23604 +
23605 +config.h: stamp-h1
23606 + @if test ! -f $@; then \
23607 + rm -f stamp-h1; \
23608 + $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
23609 + else :; fi
23610 +
23611 +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
23612 + @rm -f stamp-h1
23613 + cd $(top_builddir) && $(SHELL) ./config.status config.h
23614 +$(srcdir)/config.h.in: $(am__configure_deps)
23615 + cd $(top_srcdir) && $(AUTOHEADER)
23616 + rm -f stamp-h1
23617 + touch $@
23618 +
23619 +distclean-hdr:
23620 + -rm -f config.h stamp-h1
23621 +uptimed.spec: $(top_builddir)/config.status $(srcdir)/uptimed.spec.in
23622 + cd $(top_builddir) && $(SHELL) ./config.status $@
23623 +
23624 +mostlyclean-libtool:
23625 + -rm -f *.lo
23626 +
23627 +clean-libtool:
23628 + -rm -rf .libs _libs
23629 +
23630 +distclean-libtool:
23631 + -rm -f libtool config.lt
23632 +
23633 +# This directory's subdirectories are mostly independent; you can cd
23634 +# into them and run `make' without going through this Makefile.
23635 +# To change the values of `make' variables: instead of editing Makefiles,
23636 +# (1) if the variable is set in `config.status', edit `config.status'
23637 +# (which will cause the Makefiles to be regenerated when you run `make');
23638 +# (2) otherwise, pass the desired values on the `make' command line.
23639 +$(RECURSIVE_TARGETS):
23640 + @failcom='exit 1'; \
23641 + for f in x $$MAKEFLAGS; do \
23642 + case $$f in \
23643 + *=* | --[!k]*);; \
23644 + *k*) failcom='fail=yes';; \
23645 + esac; \
23646 + done; \
23647 + dot_seen=no; \
23648 + target=`echo $@ | sed s/-recursive//`; \
23649 + list='$(SUBDIRS)'; for subdir in $$list; do \
23650 + echo "Making $$target in $$subdir"; \
23651 + if test "$$subdir" = "."; then \
23652 + dot_seen=yes; \
23653 + local_target="$$target-am"; \
23654 + else \
23655 + local_target="$$target"; \
23656 + fi; \
23657 + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
23658 + || eval $$failcom; \
23659 + done; \
23660 + if test "$$dot_seen" = "no"; then \
23661 + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
23662 + fi; test -z "$$fail"
23663 +
23664 +$(RECURSIVE_CLEAN_TARGETS):
23665 + @failcom='exit 1'; \
23666 + for f in x $$MAKEFLAGS; do \
23667 + case $$f in \
23668 + *=* | --[!k]*);; \
23669 + *k*) failcom='fail=yes';; \
23670 + esac; \
23671 + done; \
23672 + dot_seen=no; \
23673 + case "$@" in \
23674 + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
23675 + *) list='$(SUBDIRS)' ;; \
23676 + esac; \
23677 + rev=''; for subdir in $$list; do \
23678 + if test "$$subdir" = "."; then :; else \
23679 + rev="$$subdir $$rev"; \
23680 + fi; \
23681 + done; \
23682 + rev="$$rev ."; \
23683 + target=`echo $@ | sed s/-recursive//`; \
23684 + for subdir in $$rev; do \
23685 + echo "Making $$target in $$subdir"; \
23686 + if test "$$subdir" = "."; then \
23687 + local_target="$$target-am"; \
23688 + else \
23689 + local_target="$$target"; \
23690 + fi; \
23691 + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
23692 + || eval $$failcom; \
23693 + done && test -z "$$fail"
23694 +tags-recursive:
23695 + list='$(SUBDIRS)'; for subdir in $$list; do \
23696 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
23697 + done
23698 +ctags-recursive:
23699 + list='$(SUBDIRS)'; for subdir in $$list; do \
23700 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
23701 + done
23702 +
23703 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
23704 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
23705 + unique=`for i in $$list; do \
23706 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
23707 + done | \
23708 + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
23709 + END { if (nonempty) { for (i in files) print i; }; }'`; \
23710 + mkid -fID $$unique
23711 +tags: TAGS
23712 +
23713 +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
23714 + $(TAGS_FILES) $(LISP)
23715 + tags=; \
23716 + here=`pwd`; \
23717 + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
23718 + include_option=--etags-include; \
23719 + empty_fix=.; \
23720 + else \
23721 + include_option=--include; \
23722 + empty_fix=; \
23723 + fi; \
23724 + list='$(SUBDIRS)'; for subdir in $$list; do \
23725 + if test "$$subdir" = .; then :; else \
23726 + test ! -f $$subdir/TAGS || \
23727 + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
23728 + fi; \
23729 + done; \
23730 + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
23731 + unique=`for i in $$list; do \
23732 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
23733 + done | \
23734 + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
23735 + END { if (nonempty) { for (i in files) print i; }; }'`; \
23736 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
23737 + test -n "$$unique" || unique=$$empty_fix; \
23738 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
23739 + $$tags $$unique; \
23740 + fi
23741 +ctags: CTAGS
23742 +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
23743 + $(TAGS_FILES) $(LISP)
23744 + tags=; \
23745 + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
23746 + unique=`for i in $$list; do \
23747 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
23748 + done | \
23749 + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
23750 + END { if (nonempty) { for (i in files) print i; }; }'`; \
23751 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
23752 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
23753 + $$tags $$unique
23754 +
23755 +GTAGS:
23756 + here=`$(am__cd) $(top_builddir) && pwd` \
23757 + && cd $(top_srcdir) \
23758 + && gtags -i $(GTAGS_ARGS) $$here
23759 +
23760 +distclean-tags:
23761 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
23762 +
23763 +distdir: $(DISTFILES)
23764 + $(am__remove_distdir)
23765 + test -d $(distdir) || mkdir $(distdir)
23766 + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
23767 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
23768 + list='$(DISTFILES)'; \
23769 + dist_files=`for file in $$list; do echo $$file; done | \
23770 + sed -e "s|^$$srcdirstrip/||;t" \
23771 + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
23772 + case $$dist_files in \
23773 + */*) $(MKDIR_P) `echo "$$dist_files" | \
23774 + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
23775 + sort -u` ;; \
23776 + esac; \
23777 + for file in $$dist_files; do \
23778 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
23779 + if test -d $$d/$$file; then \
23780 + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
23781 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
23782 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
23783 + fi; \
23784 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
23785 + else \
23786 + test -f $(distdir)/$$file \
23787 + || cp -p $$d/$$file $(distdir)/$$file \
23788 + || exit 1; \
23789 + fi; \
23790 + done
23791 + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
23792 + if test "$$subdir" = .; then :; else \
23793 + test -d "$(distdir)/$$subdir" \
23794 + || $(MKDIR_P) "$(distdir)/$$subdir" \
23795 + || exit 1; \
23796 + distdir=`$(am__cd) $(distdir) && pwd`; \
23797 + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
23798 + (cd $$subdir && \
23799 + $(MAKE) $(AM_MAKEFLAGS) \
23800 + top_distdir="$$top_distdir" \
23801 + distdir="$$distdir/$$subdir" \
23802 + am__remove_distdir=: \
23803 + am__skip_length_check=: \
23804 + distdir) \
23805 + || exit 1; \
23806 + fi; \
23807 + done
23808 + -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
23809 + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
23810 + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
23811 + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
23812 + || chmod -R a+r $(distdir)
23813 +dist-gzip: distdir
23814 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
23815 + $(am__remove_distdir)
23816 +
23817 +dist-bzip2: distdir
23818 + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
23819 + $(am__remove_distdir)
23820 +
23821 +dist-lzma: distdir
23822 + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
23823 + $(am__remove_distdir)
23824 +
23825 +dist-tarZ: distdir
23826 + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
23827 + $(am__remove_distdir)
23828 +
23829 +dist-shar: distdir
23830 + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
23831 + $(am__remove_distdir)
23832 +
23833 +dist-zip: distdir
23834 + -rm -f $(distdir).zip
23835 + zip -rq $(distdir).zip $(distdir)
23836 + $(am__remove_distdir)
23837 +
23838 +dist dist-all: distdir
23839 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
23840 + $(am__remove_distdir)
23841 +
23842 +# This target untars the dist file and tries a VPATH configuration. Then
23843 +# it guarantees that the distribution is self-contained by making another
23844 +# tarfile.
23845 +distcheck: dist
23846 + case '$(DIST_ARCHIVES)' in \
23847 + *.tar.gz*) \
23848 + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
23849 + *.tar.bz2*) \
23850 + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
23851 + *.tar.lzma*) \
23852 + unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
23853 + *.tar.Z*) \
23854 + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
23855 + *.shar.gz*) \
23856 + GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
23857 + *.zip*) \
23858 + unzip $(distdir).zip ;;\
23859 + esac
23860 + chmod -R a-w $(distdir); chmod a+w $(distdir)
23861 + mkdir $(distdir)/_build
23862 + mkdir $(distdir)/_inst
23863 + chmod a-w $(distdir)
23864 + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
23865 + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
23866 + && cd $(distdir)/_build \
23867 + && ../configure --srcdir=.. --prefix="$$dc_install_base" \
23868 + $(DISTCHECK_CONFIGURE_FLAGS) \
23869 + && $(MAKE) $(AM_MAKEFLAGS) \
23870 + && $(MAKE) $(AM_MAKEFLAGS) dvi \
23871 + && $(MAKE) $(AM_MAKEFLAGS) check \
23872 + && $(MAKE) $(AM_MAKEFLAGS) install \
23873 + && $(MAKE) $(AM_MAKEFLAGS) installcheck \
23874 + && $(MAKE) $(AM_MAKEFLAGS) uninstall \
23875 + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
23876 + distuninstallcheck \
23877 + && chmod -R a-w "$$dc_install_base" \
23878 + && ({ \
23879 + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
23880 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
23881 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
23882 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
23883 + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
23884 + } || { rm -rf "$$dc_destdir"; exit 1; }) \
23885 + && rm -rf "$$dc_destdir" \
23886 + && $(MAKE) $(AM_MAKEFLAGS) dist \
23887 + && rm -rf $(DIST_ARCHIVES) \
23888 + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
23889 + $(am__remove_distdir)
23890 + @(echo "$(distdir) archives ready for distribution: "; \
23891 + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
23892 + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
23893 +distuninstallcheck:
23894 + @cd $(distuninstallcheck_dir) \
23895 + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
23896 + || { echo "ERROR: files left after uninstall:" ; \
23897 + if test -n "$(DESTDIR)"; then \
23898 + echo " (check DESTDIR support)"; \
23899 + fi ; \
23900 + $(distuninstallcheck_listfiles) ; \
23901 + exit 1; } >&2
23902 +distcleancheck: distclean
23903 + @if test '$(srcdir)' = . ; then \
23904 + echo "ERROR: distcleancheck can only run from a VPATH build" ; \
23905 + exit 1 ; \
23906 + fi
23907 + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
23908 + || { echo "ERROR: files left in build directory after distclean:" ; \
23909 + $(distcleancheck_listfiles) ; \
23910 + exit 1; } >&2
23911 +check-am: all-am
23912 +check: check-recursive
23913 +all-am: Makefile config.h
23914 +installdirs: installdirs-recursive
23915 +installdirs-am:
23916 +install: install-recursive
23917 +install-exec: install-exec-recursive
23918 +install-data: install-data-recursive
23919 +uninstall: uninstall-recursive
23920 +
23921 +install-am: all-am
23922 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
23923 +
23924 +installcheck: installcheck-recursive
23925 +install-strip:
23926 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
23927 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
23928 + `test -z '$(STRIP)' || \
23929 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
23930 +mostlyclean-generic:
23931 +
23932 +clean-generic:
23933 +
23934 +distclean-generic:
23935 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
23936 +
23937 +maintainer-clean-generic:
23938 + @echo "This command is intended for maintainers to use"
23939 + @echo "it deletes files that may require special tools to rebuild."
23940 +clean: clean-recursive
23941 +
23942 +clean-am: clean-generic clean-libtool mostlyclean-am
23943 +
23944 +distclean: distclean-recursive
23945 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
23946 + -rm -f Makefile
23947 +distclean-am: clean-am distclean-generic distclean-hdr \
23948 + distclean-libtool distclean-tags
23949 +
23950 +dvi: dvi-recursive
23951 +
23952 +dvi-am:
23953 +
23954 +html: html-recursive
23955 +
23956 +info: info-recursive
23957 +
23958 +info-am:
23959 +
23960 +install-data-am: install-data-local
23961 +
23962 +install-dvi: install-dvi-recursive
23963 +
23964 +install-exec-am:
23965 +
23966 +install-html: install-html-recursive
23967 +
23968 +install-info: install-info-recursive
23969 +
23970 +install-man:
23971 +
23972 +install-pdf: install-pdf-recursive
23973 +
23974 +install-ps: install-ps-recursive
23975 +
23976 +installcheck-am:
23977 +
23978 +maintainer-clean: maintainer-clean-recursive
23979 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
23980 + -rm -rf $(top_srcdir)/autom4te.cache
23981 + -rm -f Makefile
23982 +maintainer-clean-am: distclean-am maintainer-clean-generic
23983 +
23984 +mostlyclean: mostlyclean-recursive
23985 +
23986 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
23987 +
23988 +pdf: pdf-recursive
23989 +
23990 +pdf-am:
23991 +
23992 +ps: ps-recursive
23993 +
23994 +ps-am:
23995 +
23996 +uninstall-am:
23997 +
23998 +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
23999 + install-strip
24000 +
24001 +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
24002 + all all-am am--refresh check check-am clean clean-generic \
24003 + clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
24004 + dist-gzip dist-lzma dist-shar dist-tarZ dist-zip distcheck \
24005 + distclean distclean-generic distclean-hdr distclean-libtool \
24006 + distclean-tags distcleancheck distdir distuninstallcheck dvi \
24007 + dvi-am html html-am info info-am install install-am \
24008 + install-data install-data-am install-data-local install-dvi \
24009 + install-dvi-am install-exec install-exec-am install-html \
24010 + install-html-am install-info install-info-am install-man \
24011 + install-pdf install-pdf-am install-ps install-ps-am \
24012 + install-strip installcheck installcheck-am installdirs \
24013 + installdirs-am maintainer-clean maintainer-clean-generic \
24014 + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
24015 + ps ps-am tags tags-recursive uninstall uninstall-am
24016 +
24017 +
24018 +install-data-local:
24019 + $(INSTALL) -d $(DESTDIR)/var/spool/uptimed
24020 +
24021 +srpm: dist
24022 + @(rpmbuild -ts uptimed-$(PACKAGE_VERSION).tar.gz)
24023 +
24024 +rpm: dist
24025 + @(rpmbuild -ta uptimed-$(PACKAGE_VERSION).tar.gz)
24026 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
24027 +# Otherwise a system limit (for SysV at least) may be exceeded.
24028 +.NOEXPORT:
24029 diff -pruN uptimed-0.3.13.orig/man/Makefile.in uptimed-0.3.13/man/Makefile.in
24030 --- uptimed-0.3.13.orig/man/Makefile.in 1970-01-01 10:00:00.000000000 +1000
24031 +++ uptimed-0.3.13/man/Makefile.in 2008-12-19 03:11:36.464930138 +1100
24032 @@ -0,0 +1,428 @@
24033 +# Makefile.in generated by automake 1.10.2 from Makefile.am.
24034 +# @configure_input@
24035 +
24036 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
24037 +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
24038 +# This Makefile.in is free software; the Free Software Foundation
24039 +# gives unlimited permission to copy and/or distribute it,
24040 +# with or without modifications, as long as this notice is preserved.
24041 +
24042 +# This program is distributed in the hope that it will be useful,
24043 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
24044 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
24045 +# PARTICULAR PURPOSE.
24046 +
24047 +@SET_MAKE@
24048 +VPATH = @srcdir@
24049 +pkgdatadir = $(datadir)/@PACKAGE@
24050 +pkglibdir = $(libdir)/@PACKAGE@
24051 +pkgincludedir = $(includedir)/@PACKAGE@
24052 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24053 +install_sh_DATA = $(install_sh) -c -m 644
24054 +install_sh_PROGRAM = $(install_sh) -c
24055 +install_sh_SCRIPT = $(install_sh) -c
24056 +INSTALL_HEADER = $(INSTALL_DATA)
24057 +transform = $(program_transform_name)
24058 +NORMAL_INSTALL = :
24059 +PRE_INSTALL = :
24060 +POST_INSTALL = :
24061 +NORMAL_UNINSTALL = :
24062 +PRE_UNINSTALL = :
24063 +POST_UNINSTALL = :
24064 +build_triplet = @build@
24065 +host_triplet = @host@
24066 +subdir = man
24067 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
24068 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
24069 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac
24070 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
24071 + $(ACLOCAL_M4)
24072 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
24073 +CONFIG_HEADER = $(top_builddir)/config.h
24074 +CONFIG_CLEAN_FILES =
24075 +SOURCES =
24076 +DIST_SOURCES =
24077 +man1dir = $(mandir)/man1
24078 +am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)"
24079 +man8dir = $(mandir)/man8
24080 +NROFF = nroff
24081 +MANS = $(man_MANS)
24082 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
24083 +ACLOCAL = @ACLOCAL@
24084 +AMTAR = @AMTAR@
24085 +AR = @AR@
24086 +AUTOCONF = @AUTOCONF@
24087 +AUTOHEADER = @AUTOHEADER@
24088 +AUTOMAKE = @AUTOMAKE@
24089 +AWK = @AWK@
24090 +CC = @CC@
24091 +CCDEPMODE = @CCDEPMODE@
24092 +CFLAGS = @CFLAGS@
24093 +CPP = @CPP@
24094 +CPPFLAGS = @CPPFLAGS@
24095 +CYGPATH_W = @CYGPATH_W@
24096 +DEFS = @DEFS@
24097 +DEPDIR = @DEPDIR@
24098 +DSYMUTIL = @DSYMUTIL@
24099 +DUMPBIN = @DUMPBIN@
24100 +ECHO_C = @ECHO_C@
24101 +ECHO_N = @ECHO_N@
24102 +ECHO_T = @ECHO_T@
24103 +EGREP = @EGREP@
24104 +EXEEXT = @EXEEXT@
24105 +FGREP = @FGREP@
24106 +GREP = @GREP@
24107 +INSTALL = @INSTALL@
24108 +INSTALL_DATA = @INSTALL_DATA@
24109 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
24110 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
24111 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
24112 +LD = @LD@
24113 +LDFLAGS = @LDFLAGS@
24114 +LIBOBJS = @LIBOBJS@
24115 +LIBS = @LIBS@
24116 +LIBTOOL = @LIBTOOL@
24117 +LIPO = @LIPO@
24118 +LN_S = @LN_S@
24119 +LTLIBOBJS = @LTLIBOBJS@
24120 +MAKEINFO = @MAKEINFO@
24121 +MKDIR_P = @MKDIR_P@
24122 +NM = @NM@
24123 +NMEDIT = @NMEDIT@
24124 +OBJDUMP = @OBJDUMP@
24125 +OBJEXT = @OBJEXT@
24126 +OTOOL = @OTOOL@
24127 +OTOOL64 = @OTOOL64@
24128 +PACKAGE = @PACKAGE@
24129 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
24130 +PACKAGE_NAME = @PACKAGE_NAME@
24131 +PACKAGE_STRING = @PACKAGE_STRING@
24132 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
24133 +PACKAGE_VERSION = @PACKAGE_VERSION@
24134 +PATH_SEPARATOR = @PATH_SEPARATOR@
24135 +RANLIB = @RANLIB@
24136 +SED = @SED@
24137 +SET_MAKE = @SET_MAKE@
24138 +SHELL = @SHELL@
24139 +STRIP = @STRIP@
24140 +VERSION = @VERSION@
24141 +abs_builddir = @abs_builddir@
24142 +abs_srcdir = @abs_srcdir@
24143 +abs_top_builddir = @abs_top_builddir@
24144 +abs_top_srcdir = @abs_top_srcdir@
24145 +ac_ct_CC = @ac_ct_CC@
24146 +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
24147 +am__include = @am__include@
24148 +am__leading_dot = @am__leading_dot@
24149 +am__quote = @am__quote@
24150 +am__tar = @am__tar@
24151 +am__untar = @am__untar@
24152 +bindir = @bindir@
24153 +build = @build@
24154 +build_alias = @build_alias@
24155 +build_cpu = @build_cpu@
24156 +build_os = @build_os@
24157 +build_vendor = @build_vendor@
24158 +builddir = @builddir@
24159 +datadir = @datadir@
24160 +datarootdir = @datarootdir@
24161 +docdir = @docdir@
24162 +dvidir = @dvidir@
24163 +exec_prefix = @exec_prefix@
24164 +host = @host@
24165 +host_alias = @host_alias@
24166 +host_cpu = @host_cpu@
24167 +host_os = @host_os@
24168 +host_vendor = @host_vendor@
24169 +htmldir = @htmldir@
24170 +includedir = @includedir@
24171 +infodir = @infodir@
24172 +install_sh = @install_sh@
24173 +libdir = @libdir@
24174 +libexecdir = @libexecdir@
24175 +localedir = @localedir@
24176 +localstatedir = @localstatedir@
24177 +lt_ECHO = @lt_ECHO@
24178 +mandir = @mandir@
24179 +mkdir_p = @mkdir_p@
24180 +oldincludedir = @oldincludedir@
24181 +pdfdir = @pdfdir@
24182 +prefix = @prefix@
24183 +program_transform_name = @program_transform_name@
24184 +psdir = @psdir@
24185 +sbindir = @sbindir@
24186 +sharedstatedir = @sharedstatedir@
24187 +srcdir = @srcdir@
24188 +sysconfdir = @sysconfdir@
24189 +target_alias = @target_alias@
24190 +top_build_prefix = @top_build_prefix@
24191 +top_builddir = @top_builddir@
24192 +top_srcdir = @top_srcdir@
24193 +man_MANS = uptimed.8 uprecords.1
24194 +EXTRA_DIST = uptimed.8 uprecords.1
24195 +all: all-am
24196 +
24197 +.SUFFIXES:
24198 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
24199 + @for dep in $?; do \
24200 + case '$(am__configure_deps)' in \
24201 + *$$dep*) \
24202 + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
24203 + && { if test -f $@; then exit 0; else break; fi; }; \
24204 + exit 1;; \
24205 + esac; \
24206 + done; \
24207 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/Makefile'; \
24208 + cd $(top_srcdir) && \
24209 + $(AUTOMAKE) --gnu man/Makefile
24210 +.PRECIOUS: Makefile
24211 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
24212 + @case '$?' in \
24213 + *config.status*) \
24214 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
24215 + *) \
24216 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
24217 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
24218 + esac;
24219 +
24220 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
24221 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
24222 +
24223 +$(top_srcdir)/configure: $(am__configure_deps)
24224 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
24225 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
24226 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
24227 +
24228 +mostlyclean-libtool:
24229 + -rm -f *.lo
24230 +
24231 +clean-libtool:
24232 + -rm -rf .libs _libs
24233 +install-man1: $(man1_MANS) $(man_MANS)
24234 + @$(NORMAL_INSTALL)
24235 + test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
24236 + @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
24237 + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
24238 + for i in $$l2; do \
24239 + case "$$i" in \
24240 + *.1*) list="$$list $$i" ;; \
24241 + esac; \
24242 + done; \
24243 + for i in $$list; do \
24244 + if test -f $$i; then file=$$i; \
24245 + else file=$(srcdir)/$$i; fi; \
24246 + ext=`echo $$i | sed -e 's/^.*\\.//'`; \
24247 + case "$$ext" in \
24248 + 1*) ;; \
24249 + *) ext='1' ;; \
24250 + esac; \
24251 + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
24252 + inst=`echo $$inst | sed -e 's/^.*\///'`; \
24253 + inst=`echo $$inst | sed '$(transform)'`.$$ext; \
24254 + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
24255 + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
24256 + done
24257 +uninstall-man1:
24258 + @$(NORMAL_UNINSTALL)
24259 + @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
24260 + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
24261 + for i in $$l2; do \
24262 + case "$$i" in \
24263 + *.1*) list="$$list $$i" ;; \
24264 + esac; \
24265 + done; \
24266 + for i in $$list; do \
24267 + ext=`echo $$i | sed -e 's/^.*\\.//'`; \
24268 + case "$$ext" in \
24269 + 1*) ;; \
24270 + *) ext='1' ;; \
24271 + esac; \
24272 + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
24273 + inst=`echo $$inst | sed -e 's/^.*\///'`; \
24274 + inst=`echo $$inst | sed '$(transform)'`.$$ext; \
24275 + echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
24276 + rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
24277 + done
24278 +install-man8: $(man8_MANS) $(man_MANS)
24279 + @$(NORMAL_INSTALL)
24280 + test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)"
24281 + @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
24282 + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
24283 + for i in $$l2; do \
24284 + case "$$i" in \
24285 + *.8*) list="$$list $$i" ;; \
24286 + esac; \
24287 + done; \
24288 + for i in $$list; do \
24289 + if test -f $$i; then file=$$i; \
24290 + else file=$(srcdir)/$$i; fi; \
24291 + ext=`echo $$i | sed -e 's/^.*\\.//'`; \
24292 + case "$$ext" in \
24293 + 8*) ;; \
24294 + *) ext='8' ;; \
24295 + esac; \
24296 + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
24297 + inst=`echo $$inst | sed -e 's/^.*\///'`; \
24298 + inst=`echo $$inst | sed '$(transform)'`.$$ext; \
24299 + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
24300 + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
24301 + done
24302 +uninstall-man8:
24303 + @$(NORMAL_UNINSTALL)
24304 + @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
24305 + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
24306 + for i in $$l2; do \
24307 + case "$$i" in \
24308 + *.8*) list="$$list $$i" ;; \
24309 + esac; \
24310 + done; \
24311 + for i in $$list; do \
24312 + ext=`echo $$i | sed -e 's/^.*\\.//'`; \
24313 + case "$$ext" in \
24314 + 8*) ;; \
24315 + *) ext='8' ;; \
24316 + esac; \
24317 + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
24318 + inst=`echo $$inst | sed -e 's/^.*\///'`; \
24319 + inst=`echo $$inst | sed '$(transform)'`.$$ext; \
24320 + echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
24321 + rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
24322 + done
24323 +tags: TAGS
24324 +TAGS:
24325 +
24326 +ctags: CTAGS
24327 +CTAGS:
24328 +
24329 +
24330 +distdir: $(DISTFILES)
24331 + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
24332 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
24333 + list='$(DISTFILES)'; \
24334 + dist_files=`for file in $$list; do echo $$file; done | \
24335 + sed -e "s|^$$srcdirstrip/||;t" \
24336 + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
24337 + case $$dist_files in \
24338 + */*) $(MKDIR_P) `echo "$$dist_files" | \
24339 + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
24340 + sort -u` ;; \
24341 + esac; \
24342 + for file in $$dist_files; do \
24343 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
24344 + if test -d $$d/$$file; then \
24345 + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
24346 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
24347 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
24348 + fi; \
24349 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
24350 + else \
24351 + test -f $(distdir)/$$file \
24352 + || cp -p $$d/$$file $(distdir)/$$file \
24353 + || exit 1; \
24354 + fi; \
24355 + done
24356 +check-am: all-am
24357 +check: check-am
24358 +all-am: Makefile $(MANS)
24359 +installdirs:
24360 + for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)"; do \
24361 + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
24362 + done
24363 +install: install-am
24364 +install-exec: install-exec-am
24365 +install-data: install-data-am
24366 +uninstall: uninstall-am
24367 +
24368 +install-am: all-am
24369 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
24370 +
24371 +installcheck: installcheck-am
24372 +install-strip:
24373 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
24374 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
24375 + `test -z '$(STRIP)' || \
24376 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
24377 +mostlyclean-generic:
24378 +
24379 +clean-generic:
24380 +
24381 +distclean-generic:
24382 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
24383 +
24384 +maintainer-clean-generic:
24385 + @echo "This command is intended for maintainers to use"
24386 + @echo "it deletes files that may require special tools to rebuild."
24387 +clean: clean-am
24388 +
24389 +clean-am: clean-generic clean-libtool mostlyclean-am
24390 +
24391 +distclean: distclean-am
24392 + -rm -f Makefile
24393 +distclean-am: clean-am distclean-generic
24394 +
24395 +dvi: dvi-am
24396 +
24397 +dvi-am:
24398 +
24399 +html: html-am
24400 +
24401 +info: info-am
24402 +
24403 +info-am:
24404 +
24405 +install-data-am: install-man
24406 +
24407 +install-dvi: install-dvi-am
24408 +
24409 +install-exec-am:
24410 +
24411 +install-html: install-html-am
24412 +
24413 +install-info: install-info-am
24414 +
24415 +install-man: install-man1 install-man8
24416 +
24417 +install-pdf: install-pdf-am
24418 +
24419 +install-ps: install-ps-am
24420 +
24421 +installcheck-am:
24422 +
24423 +maintainer-clean: maintainer-clean-am
24424 + -rm -f Makefile
24425 +maintainer-clean-am: distclean-am maintainer-clean-generic
24426 +
24427 +mostlyclean: mostlyclean-am
24428 +
24429 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
24430 +
24431 +pdf: pdf-am
24432 +
24433 +pdf-am:
24434 +
24435 +ps: ps-am
24436 +
24437 +ps-am:
24438 +
24439 +uninstall-am: uninstall-man
24440 +
24441 +uninstall-man: uninstall-man1 uninstall-man8
24442 +
24443 +.MAKE: install-am install-strip
24444 +
24445 +.PHONY: all all-am check check-am clean clean-generic clean-libtool \
24446 + distclean distclean-generic distclean-libtool distdir dvi \
24447 + dvi-am html html-am info info-am install install-am \
24448 + install-data install-data-am install-dvi install-dvi-am \
24449 + install-exec install-exec-am install-html install-html-am \
24450 + install-info install-info-am install-man install-man1 \
24451 + install-man8 install-pdf install-pdf-am install-ps \
24452 + install-ps-am install-strip installcheck installcheck-am \
24453 + installdirs maintainer-clean maintainer-clean-generic \
24454 + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
24455 + ps ps-am uninstall uninstall-am uninstall-man uninstall-man1 \
24456 + uninstall-man8
24457 +
24458 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
24459 +# Otherwise a system limit (for SysV at least) may be exceeded.
24460 +.NOEXPORT:
24461 diff -pruN uptimed-0.3.13.orig/src/Makefile.am uptimed-0.3.13/src/Makefile.am
24462 --- uptimed-0.3.13.orig/src/Makefile.am 2008-12-19 03:07:05.158800302 +1100
24463 +++ uptimed-0.3.13/src/Makefile.am 2008-12-19 03:08:55.863550772 +1100
24464 @@ -14,4 +14,4 @@ noinst_HEADERS = uprecords.h uptimed.h
24465 EXTRA_DIST = getopt.c getopt.h
24466
24467 uptimed.o uprecords.o:
24468 -CFLAGS = @CFLAGS@ -DFILE_CONFIG=\"$(sysconfdir)/uptimed.conf\"
24469 +AM_CFLAGS = @CFLAGS@ -DFILE_CONFIG=\"$(sysconfdir)/uptimed.conf\"
24470 diff -pruN uptimed-0.3.13.orig/src/Makefile.in uptimed-0.3.13/src/Makefile.in
24471 --- uptimed-0.3.13.orig/src/Makefile.in 1970-01-01 10:00:00.000000000 +1000
24472 +++ uptimed-0.3.13/src/Makefile.in 2008-12-19 03:11:36.540929726 +1100
24473 @@ -0,0 +1,513 @@
24474 +# Makefile.in generated by automake 1.10.2 from Makefile.am.
24475 +# @configure_input@
24476 +
24477 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
24478 +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
24479 +# This Makefile.in is free software; the Free Software Foundation
24480 +# gives unlimited permission to copy and/or distribute it,
24481 +# with or without modifications, as long as this notice is preserved.
24482 +
24483 +# This program is distributed in the hope that it will be useful,
24484 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
24485 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
24486 +# PARTICULAR PURPOSE.
24487 +
24488 +@SET_MAKE@
24489 +
24490 +
24491 +VPATH = @srcdir@
24492 +pkgdatadir = $(datadir)/@PACKAGE@
24493 +pkglibdir = $(libdir)/@PACKAGE@
24494 +pkgincludedir = $(includedir)/@PACKAGE@
24495 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24496 +install_sh_DATA = $(install_sh) -c -m 644
24497 +install_sh_PROGRAM = $(install_sh) -c
24498 +install_sh_SCRIPT = $(install_sh) -c
24499 +INSTALL_HEADER = $(INSTALL_DATA)
24500 +transform = $(program_transform_name)
24501 +NORMAL_INSTALL = :
24502 +PRE_INSTALL = :
24503 +POST_INSTALL = :
24504 +NORMAL_UNINSTALL = :
24505 +PRE_UNINSTALL = :
24506 +POST_UNINSTALL = :
24507 +build_triplet = @build@
24508 +host_triplet = @host@
24509 +bin_PROGRAMS = uprecords$(EXEEXT)
24510 +sbin_PROGRAMS = uptimed$(EXEEXT)
24511 +subdir = src
24512 +DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
24513 + $(srcdir)/Makefile.in getopt.c
24514 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
24515 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac
24516 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
24517 + $(ACLOCAL_M4)
24518 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
24519 +CONFIG_HEADER = $(top_builddir)/config.h
24520 +CONFIG_CLEAN_FILES =
24521 +am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)"
24522 +binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
24523 +sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
24524 +PROGRAMS = $(bin_PROGRAMS) $(sbin_PROGRAMS)
24525 +am_uprecords_OBJECTS = uprecords.$(OBJEXT)
24526 +uprecords_OBJECTS = $(am_uprecords_OBJECTS)
24527 +uprecords_DEPENDENCIES = @LIBOBJS@ \
24528 + $(top_builddir)/libuptimed/libuptimed.la
24529 +am_uptimed_OBJECTS = uptimed.$(OBJEXT)
24530 +uptimed_OBJECTS = $(am_uptimed_OBJECTS)
24531 +uptimed_DEPENDENCIES = @LIBOBJS@ \
24532 + $(top_builddir)/libuptimed/libuptimed.la
24533 +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
24534 +depcomp = $(SHELL) $(top_srcdir)/depcomp
24535 +am__depfiles_maybe = depfiles
24536 +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
24537 + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
24538 +LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
24539 + --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
24540 + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
24541 +CCLD = $(CC)
24542 +LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
24543 + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
24544 + $(LDFLAGS) -o $@
24545 +SOURCES = $(uprecords_SOURCES) $(uptimed_SOURCES)
24546 +DIST_SOURCES = $(uprecords_SOURCES) $(uptimed_SOURCES)
24547 +HEADERS = $(noinst_HEADERS)
24548 +ETAGS = etags
24549 +CTAGS = ctags
24550 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
24551 +ACLOCAL = @ACLOCAL@
24552 +AMTAR = @AMTAR@
24553 +AR = @AR@
24554 +AUTOCONF = @AUTOCONF@
24555 +AUTOHEADER = @AUTOHEADER@
24556 +AUTOMAKE = @AUTOMAKE@
24557 +AWK = @AWK@
24558 +CC = @CC@
24559 +CCDEPMODE = @CCDEPMODE@
24560 +CFLAGS = @CFLAGS@
24561 +CPP = @CPP@
24562 +CPPFLAGS = @CPPFLAGS@
24563 +CYGPATH_W = @CYGPATH_W@
24564 +DEFS = @DEFS@
24565 +DEPDIR = @DEPDIR@
24566 +DSYMUTIL = @DSYMUTIL@
24567 +DUMPBIN = @DUMPBIN@
24568 +ECHO_C = @ECHO_C@
24569 +ECHO_N = @ECHO_N@
24570 +ECHO_T = @ECHO_T@
24571 +EGREP = @EGREP@
24572 +EXEEXT = @EXEEXT@
24573 +FGREP = @FGREP@
24574 +GREP = @GREP@
24575 +INSTALL = @INSTALL@
24576 +INSTALL_DATA = @INSTALL_DATA@
24577 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
24578 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
24579 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
24580 +LD = @LD@
24581 +LDFLAGS = @LDFLAGS@
24582 +LIBOBJS = @LIBOBJS@
24583 +LIBS = @LIBS@
24584 +LIBTOOL = @LIBTOOL@
24585 +LIPO = @LIPO@
24586 +LN_S = @LN_S@
24587 +LTLIBOBJS = @LTLIBOBJS@
24588 +MAKEINFO = @MAKEINFO@
24589 +MKDIR_P = @MKDIR_P@
24590 +NM = @NM@
24591 +NMEDIT = @NMEDIT@
24592 +OBJDUMP = @OBJDUMP@
24593 +OBJEXT = @OBJEXT@
24594 +OTOOL = @OTOOL@
24595 +OTOOL64 = @OTOOL64@
24596 +PACKAGE = @PACKAGE@
24597 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
24598 +PACKAGE_NAME = @PACKAGE_NAME@
24599 +PACKAGE_STRING = @PACKAGE_STRING@
24600 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
24601 +PACKAGE_VERSION = @PACKAGE_VERSION@
24602 +PATH_SEPARATOR = @PATH_SEPARATOR@
24603 +RANLIB = @RANLIB@
24604 +SED = @SED@
24605 +SET_MAKE = @SET_MAKE@
24606 +SHELL = @SHELL@
24607 +STRIP = @STRIP@
24608 +VERSION = @VERSION@
24609 +abs_builddir = @abs_builddir@
24610 +abs_srcdir = @abs_srcdir@
24611 +abs_top_builddir = @abs_top_builddir@
24612 +abs_top_srcdir = @abs_top_srcdir@
24613 +ac_ct_CC = @ac_ct_CC@
24614 +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
24615 +am__include = @am__include@
24616 +am__leading_dot = @am__leading_dot@
24617 +am__quote = @am__quote@
24618 +am__tar = @am__tar@
24619 +am__untar = @am__untar@
24620 +bindir = @bindir@
24621 +build = @build@
24622 +build_alias = @build_alias@
24623 +build_cpu = @build_cpu@
24624 +build_os = @build_os@
24625 +build_vendor = @build_vendor@
24626 +builddir = @builddir@
24627 +datadir = @datadir@
24628 +datarootdir = @datarootdir@
24629 +docdir = @docdir@
24630 +dvidir = @dvidir@
24631 +exec_prefix = @exec_prefix@
24632 +host = @host@
24633 +host_alias = @host_alias@
24634 +host_cpu = @host_cpu@
24635 +host_os = @host_os@
24636 +host_vendor = @host_vendor@
24637 +htmldir = @htmldir@
24638 +includedir = @includedir@
24639 +infodir = @infodir@
24640 +install_sh = @install_sh@
24641 +libdir = @libdir@
24642 +libexecdir = @libexecdir@
24643 +localedir = @localedir@
24644 +localstatedir = @localstatedir@
24645 +lt_ECHO = @lt_ECHO@
24646 +mandir = @mandir@
24647 +mkdir_p = @mkdir_p@
24648 +oldincludedir = @oldincludedir@
24649 +pdfdir = @pdfdir@
24650 +prefix = @prefix@
24651 +program_transform_name = @program_transform_name@
24652 +psdir = @psdir@
24653 +sbindir = @sbindir@
24654 +sharedstatedir = @sharedstatedir@
24655 +srcdir = @srcdir@
24656 +sysconfdir = @sysconfdir@
24657 +target_alias = @target_alias@
24658 +top_build_prefix = @top_build_prefix@
24659 +top_builddir = @top_builddir@
24660 +top_srcdir = @top_srcdir@
24661 +uptimed_SOURCES = uptimed.c
24662 +uprecords_SOURCES = uprecords.c
24663 +uptimed_LDADD = @LIBOBJS@ $(top_builddir)/libuptimed/libuptimed.la
24664 +uprecords_LDADD = @LIBOBJS@ $(top_builddir)/libuptimed/libuptimed.la
24665 +INCLUDES = -I$(top_srcdir)/libuptimed
24666 +noinst_HEADERS = uprecords.h uptimed.h
24667 +EXTRA_DIST = getopt.c getopt.h
24668 +AM_CFLAGS = @CFLAGS@ -DFILE_CONFIG=\"$(sysconfdir)/uptimed.conf\"
24669 +all: all-am
24670 +
24671 +.SUFFIXES:
24672 +.SUFFIXES: .c .lo .o .obj
24673 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
24674 + @for dep in $?; do \
24675 + case '$(am__configure_deps)' in \
24676 + *$$dep*) \
24677 + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
24678 + && { if test -f $@; then exit 0; else break; fi; }; \
24679 + exit 1;; \
24680 + esac; \
24681 + done; \
24682 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
24683 + cd $(top_srcdir) && \
24684 + $(AUTOMAKE) --gnu src/Makefile
24685 +.PRECIOUS: Makefile
24686 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
24687 + @case '$?' in \
24688 + *config.status*) \
24689 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
24690 + *) \
24691 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
24692 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
24693 + esac;
24694 +
24695 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
24696 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
24697 +
24698 +$(top_srcdir)/configure: $(am__configure_deps)
24699 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
24700 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
24701 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
24702 +install-binPROGRAMS: $(bin_PROGRAMS)
24703 + @$(NORMAL_INSTALL)
24704 + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
24705 + @list='$(bin_PROGRAMS)'; for p in $$list; do \
24706 + p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
24707 + if test -f $$p \
24708 + || test -f $$p1 \
24709 + ; then \
24710 + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
24711 + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
24712 + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
24713 + else :; fi; \
24714 + done
24715 +
24716 +uninstall-binPROGRAMS:
24717 + @$(NORMAL_UNINSTALL)
24718 + @list='$(bin_PROGRAMS)'; for p in $$list; do \
24719 + f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
24720 + echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
24721 + rm -f "$(DESTDIR)$(bindir)/$$f"; \
24722 + done
24723 +
24724 +clean-binPROGRAMS:
24725 + @list='$(bin_PROGRAMS)'; for p in $$list; do \
24726 + f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
24727 + echo " rm -f $$p $$f"; \
24728 + rm -f $$p $$f ; \
24729 + done
24730 +install-sbinPROGRAMS: $(sbin_PROGRAMS)
24731 + @$(NORMAL_INSTALL)
24732 + test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)"
24733 + @list='$(sbin_PROGRAMS)'; for p in $$list; do \
24734 + p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
24735 + if test -f $$p \
24736 + || test -f $$p1 \
24737 + ; then \
24738 + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
24739 + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(sbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
24740 + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(sbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \
24741 + else :; fi; \
24742 + done
24743 +
24744 +uninstall-sbinPROGRAMS:
24745 + @$(NORMAL_UNINSTALL)
24746 + @list='$(sbin_PROGRAMS)'; for p in $$list; do \
24747 + f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
24748 + echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \
24749 + rm -f "$(DESTDIR)$(sbindir)/$$f"; \
24750 + done
24751 +
24752 +clean-sbinPROGRAMS:
24753 + @list='$(sbin_PROGRAMS)'; for p in $$list; do \
24754 + f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
24755 + echo " rm -f $$p $$f"; \
24756 + rm -f $$p $$f ; \
24757 + done
24758 +uprecords$(EXEEXT): $(uprecords_OBJECTS) $(uprecords_DEPENDENCIES)
24759 + @rm -f uprecords$(EXEEXT)
24760 + $(LINK) $(uprecords_OBJECTS) $(uprecords_LDADD) $(LIBS)
24761 +uptimed$(EXEEXT): $(uptimed_OBJECTS) $(uptimed_DEPENDENCIES)
24762 + @rm -f uptimed$(EXEEXT)
24763 + $(LINK) $(uptimed_OBJECTS) $(uptimed_LDADD) $(LIBS)
24764 +
24765 +mostlyclean-compile:
24766 + -rm -f *.$(OBJEXT)
24767 +
24768 +distclean-compile:
24769 + -rm -f *.tab.c
24770 +
24771 +@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/getopt.Po@am__quote@
24772 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/uprecords.Po@am__quote@
24773 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/uptimed.Po@am__quote@
24774 +
24775 +.c.o:
24776 +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
24777 +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
24778 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
24779 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
24780 +@am__fastdepCC_FALSE@ $(COMPILE) -c $<
24781 +
24782 +.c.obj:
24783 +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
24784 +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
24785 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
24786 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
24787 +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
24788 +
24789 +.c.lo:
24790 +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
24791 +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
24792 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
24793 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
24794 +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
24795 +
24796 +mostlyclean-libtool:
24797 + -rm -f *.lo
24798 +
24799 +clean-libtool:
24800 + -rm -rf .libs _libs
24801 +
24802 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
24803 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
24804 + unique=`for i in $$list; do \
24805 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
24806 + done | \
24807 + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
24808 + END { if (nonempty) { for (i in files) print i; }; }'`; \
24809 + mkid -fID $$unique
24810 +tags: TAGS
24811 +
24812 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
24813 + $(TAGS_FILES) $(LISP)
24814 + tags=; \
24815 + here=`pwd`; \
24816 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
24817 + unique=`for i in $$list; do \
24818 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
24819 + done | \
24820 + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
24821 + END { if (nonempty) { for (i in files) print i; }; }'`; \
24822 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
24823 + test -n "$$unique" || unique=$$empty_fix; \
24824 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
24825 + $$tags $$unique; \
24826 + fi
24827 +ctags: CTAGS
24828 +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
24829 + $(TAGS_FILES) $(LISP)
24830 + tags=; \
24831 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
24832 + unique=`for i in $$list; do \
24833 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
24834 + done | \
24835 + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
24836 + END { if (nonempty) { for (i in files) print i; }; }'`; \
24837 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
24838 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
24839 + $$tags $$unique
24840 +
24841 +GTAGS:
24842 + here=`$(am__cd) $(top_builddir) && pwd` \
24843 + && cd $(top_srcdir) \
24844 + && gtags -i $(GTAGS_ARGS) $$here
24845 +
24846 +distclean-tags:
24847 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
24848 +
24849 +distdir: $(DISTFILES)
24850 + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
24851 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
24852 + list='$(DISTFILES)'; \
24853 + dist_files=`for file in $$list; do echo $$file; done | \
24854 + sed -e "s|^$$srcdirstrip/||;t" \
24855 + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
24856 + case $$dist_files in \
24857 + */*) $(MKDIR_P) `echo "$$dist_files" | \
24858 + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
24859 + sort -u` ;; \
24860 + esac; \
24861 + for file in $$dist_files; do \
24862 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
24863 + if test -d $$d/$$file; then \
24864 + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
24865 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
24866 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
24867 + fi; \
24868 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
24869 + else \
24870 + test -f $(distdir)/$$file \
24871 + || cp -p $$d/$$file $(distdir)/$$file \
24872 + || exit 1; \
24873 + fi; \
24874 + done
24875 +check-am: all-am
24876 +check: check-am
24877 +all-am: Makefile $(PROGRAMS) $(HEADERS)
24878 +installdirs:
24879 + for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)"; do \
24880 + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
24881 + done
24882 +install: install-am
24883 +install-exec: install-exec-am
24884 +install-data: install-data-am
24885 +uninstall: uninstall-am
24886 +
24887 +install-am: all-am
24888 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
24889 +
24890 +installcheck: installcheck-am
24891 +install-strip:
24892 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
24893 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
24894 + `test -z '$(STRIP)' || \
24895 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
24896 +mostlyclean-generic:
24897 +
24898 +clean-generic:
24899 +
24900 +distclean-generic:
24901 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
24902 +
24903 +maintainer-clean-generic:
24904 + @echo "This command is intended for maintainers to use"
24905 + @echo "it deletes files that may require special tools to rebuild."
24906 +clean: clean-am
24907 +
24908 +clean-am: clean-binPROGRAMS clean-generic clean-libtool \
24909 + clean-sbinPROGRAMS mostlyclean-am
24910 +
24911 +distclean: distclean-am
24912 + -rm -rf $(DEPDIR) ./$(DEPDIR)
24913 + -rm -f Makefile
24914 +distclean-am: clean-am distclean-compile distclean-generic \
24915 + distclean-tags
24916 +
24917 +dvi: dvi-am
24918 +
24919 +dvi-am:
24920 +
24921 +html: html-am
24922 +
24923 +info: info-am
24924 +
24925 +info-am:
24926 +
24927 +install-data-am:
24928 +
24929 +install-dvi: install-dvi-am
24930 +
24931 +install-exec-am: install-binPROGRAMS install-sbinPROGRAMS
24932 +
24933 +install-html: install-html-am
24934 +
24935 +install-info: install-info-am
24936 +
24937 +install-man:
24938 +
24939 +install-pdf: install-pdf-am
24940 +
24941 +install-ps: install-ps-am
24942 +
24943 +installcheck-am:
24944 +
24945 +maintainer-clean: maintainer-clean-am
24946 + -rm -rf $(DEPDIR) ./$(DEPDIR)
24947 + -rm -f Makefile
24948 +maintainer-clean-am: distclean-am maintainer-clean-generic
24949 +
24950 +mostlyclean: mostlyclean-am
24951 +
24952 +mostlyclean-am: mostlyclean-compile mostlyclean-generic \
24953 + mostlyclean-libtool
24954 +
24955 +pdf: pdf-am
24956 +
24957 +pdf-am:
24958 +
24959 +ps: ps-am
24960 +
24961 +ps-am:
24962 +
24963 +uninstall-am: uninstall-binPROGRAMS uninstall-sbinPROGRAMS
24964 +
24965 +.MAKE: install-am install-strip
24966 +
24967 +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
24968 + clean-generic clean-libtool clean-sbinPROGRAMS ctags distclean \
24969 + distclean-compile distclean-generic distclean-libtool \
24970 + distclean-tags distdir dvi dvi-am html html-am info info-am \
24971 + install install-am install-binPROGRAMS install-data \
24972 + install-data-am install-dvi install-dvi-am install-exec \
24973 + install-exec-am install-html install-html-am install-info \
24974 + install-info-am install-man install-pdf install-pdf-am \
24975 + install-ps install-ps-am install-sbinPROGRAMS install-strip \
24976 + installcheck installcheck-am installdirs maintainer-clean \
24977 + maintainer-clean-generic mostlyclean mostlyclean-compile \
24978 + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
24979 + tags uninstall uninstall-am uninstall-binPROGRAMS \
24980 + uninstall-sbinPROGRAMS
24981 +
24982 +
24983 +uptimed.o uprecords.o:
24984 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
24985 +# Otherwise a system limit (for SysV at least) may be exceeded.
24986 +.NOEXPORT:
|